/* ==========================================================================
 * PicoLP - Ultra Lightweight Landing Page CMS
 *
 * @file      assets/css/style.css
 * @version   1.3.0
 * @author    PicoLP Project
 * @license   Commercial / Proprietary
 * @description 公開LP用コアスタイル（CSS構文完全正規化・全28パーツ・サンクスページ・リッチテキスト装飾標準搭載版）
 * ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--pico-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif);
  line-height: var(--pico-line-height, 1.85);
  color: var(--pico-font, #1e293b);
  background-color: var(--pico-bg, #ffffff);
  word-break: break-word;
}

/* ==========================================================================
 * レイアウトコンテナ ＆ セクション共通
 * ========================================================================== */
.pico-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.pico-container-sm {
  max-width: 820px;
}

.pico-section {
  padding: 90px 0;
  position: relative;
}

@media (max-width: 768px) {
  .pico-section {
    padding: 60px 0;
  }
}

.pico-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.35;
  color: #0f172a;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .pico-section-title {
    font-size: 1.65rem;
    margin-bottom: 18px;
  }
}

.pico-section-desc {
  text-align: center;
  color: #64748b;
  margin-bottom: 44px;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ==========================================================================
 * 1. ファーストビュー (FV)
 * ========================================================================== */
.pico-fv {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  padding: 120px 0 100px;
  overflow: hidden;
}

.pico-fv-inner {
  max-width: 900px;
}

.pico-fv-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.pico-fv-subtitle {
  font-size: 1.35rem;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .pico-fv {
    min-height: 75vh;
    padding: 90px 0 70px;
  }
  .pico-fv-title {
    font-size: 2rem;
  }
  .pico-fv-subtitle {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }
}

/* ==========================================================================
 * ボタン
 * ========================================================================== */
.pico-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.pico-btn-primary {
  background: var(--pico-primary, #2563eb);
  color: #ffffff;
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.45);
}

.pico-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(37, 99, 235, 0.55);
}

.pico-btn-block {
  width: 100%;
}

/* ==========================================================================
 * 2. グリッド ＆ カード
 * ========================================================================== */
.pico-grid {
  display: grid;
  gap: 30px;
}

.pico-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pico-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pico-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .pico-grid-3, .pico-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pico-grid-2, .pico-grid-3, .pico-grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pico-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pico-radius, 16px);
  padding: 36px 28px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.pico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
}

.pico-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--pico-primary, #2563eb);
  background: #eff6ff;
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-family: monospace;
}

.pico-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.pico-card-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
}

/* ==========================================================================
 * 3. 数字実績（採用LP）
 * ========================================================================== */
.pico-number-card {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}

.pico-number-val {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--pico-primary, #2563eb);
  line-height: 1.2;
  margin-bottom: 8px;
}

.pico-number-label {
  font-size: 1rem;
  font-weight: 700;
  color: #475569;
}

/* ==========================================================================
 * 4. お悩み共感チェック
 * ========================================================================== */
.pico-empathy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pico-empathy-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
}

.pico-empathy-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
 * 5. 料金・メニュー表
 * ========================================================================== */
.pico-menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pico-menu-card {
  padding: 28px;
}

.pico-menu-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.pico-menu-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.pico-menu-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pico-primary, #2563eb);
}

/* ==========================================================================
 * 6. ご利用の流れ / フロー
 * ========================================================================== */
.pico-flow-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.pico-flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
}

.pico-flow-badge {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--pico-primary, #2563eb);
  padding: 8px 16px;
  border-radius: 10px;
  font-family: monospace;
}

.pico-flow-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.pico-flow-desc {
  font-size: 0.95rem;
  color: #475569;
}

/* ==========================================================================
 * 7. FAQ アコーディオン
 * ========================================================================== */
.pico-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pico-faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.pico-faq-q {
  padding: 22px 26px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.pico-faq-q::-webkit-details-marker {
  display: none;
}

.pico-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pico-primary, #2563eb);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pico-faq-a {
  padding: 18px 26px 22px 74px;
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  gap: 16px;
}

.pico-faq-icon-a {
  font-weight: 800;
  color: var(--pico-accent, #f97316);
}

/* ==========================================================================
 * 8. 会社概要・募集要項テーブル
 * ========================================================================== */
.pico-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.pico-table th,
.pico-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.pico-table th {
  width: 30%;
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
  font-size: 0.95rem;
}

.pico-table td {
  color: #1e293b;
  font-size: 1rem;
}

/* ==========================================================================
 * 9. 追従CTAバー（スマホ専用）
 * ========================================================================== */
.pico-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .pico-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
  .pico-sticky-tel {
    flex: 1;
    background: #334155;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pico-btn-sticky {
    flex: 2;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  body:has(.pico-sticky-bar) .pico-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
 * 10. お問い合わせフォーム ＆ サンクスページ
 * ========================================================================== */
.pico-form-section {
  background: #f8fafc;
}

.pico-form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .pico-form {
    padding: 24px;
  }
}

.pico-form-group {
  margin-bottom: 24px;
}

.pico-form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.pico-required {
  color: #ef4444;
  margin-left: 4px;
}

.pico-input,
.pico-textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 1.05rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.pico-input:focus,
.pico-textarea:focus {
  border-color: var(--pico-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.pico-thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: var(--pico-custom-bg, var(--pico-bg, #faf8f5));
}

.pico-thanks-box {
  max-width: 640px;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--pico-radius, 24px);
  padding: clamp(36px, 6vw, 60px) clamp(24px, 5vw, 48px);
  text-align: center;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.08);
}

.pico-thanks-title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--pico-primary, #0f172a);
  margin-bottom: 16px;
  line-height: 1.4;
}

.pico-thanks-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 32px;
}

.pico-thanks-action {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
 * 11. パララックス効果（PC表示時のみGPU支援付きで有効化）
 * ========================================================================== */
@media (min-width: 769px) {
  .pico-parallax {
    background-attachment: fixed !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .pico-parallax {
    background-attachment: scroll !important;
  }
}

/* ==========================================================================
 * 12. リッチテキスト装飾 ＆ レスポンシブ改行制御（全スキン共通）
 * ========================================================================== */
mark.pico-mark,
.pico-mark {
  background-color: transparent;
  background-image: linear-gradient(to top, rgba(250, 204, 21, 0.65) 0%, rgba(250, 204, 21, 0.65) 42%, transparent 42%, transparent 100%);
  background-repeat: no-repeat;
  padding: 0 0.15em;
  border-radius: 0;
  color: inherit;
  font-weight: 700;
}

.pico-color-red {
  color: #e11d48 !important;
  font-weight: 700;
}

.pico-color-blue {
  color: #2563eb !important;
  font-weight: 700;
}

.pico-phrase {
  display: inline-block;
  white-space: nowrap;
}

.pico-br-sp {
  display: none;
}

.pico-br-pc {
  display: inline;
}

@media (max-width: 767px) {
  .pico-br-sp {
    display: inline;
  }
  .pico-br-pc {
    display: none;
  }
}

/* ==========================================================================
 * 13. フッター
 * ========================================================================== */
.pico-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0;
  text-align: center;
  font-size: 0.9rem;
}