/* =============================================
       リセット・変数
    ============================================= */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --navy:   #0F1E3C;
      --navy-d: #081428;
      --orange: #F97316;
      --orange-h: #fb8f3d;
      --blue:   #2563EB;
      --white:  #ffffff;
      --gray:   #F4F6F9;
      --text:   #1a1a2e;
      --muted:  #6b7280;
      --max:    1140px;
      --inner:  980px;
    }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: 'Noto Sans JP', sans-serif;
      color: var(--text);
      background: var(--white);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    /* =============================================
       共通ユーティリティ
    ============================================= */
    .inner {
      max-width: var(--inner);
      margin: 0 auto;
      padding: 0 32px;
    }
    .section { padding: 96px 0; }
    .section--gray { background: var(--gray); }
    .section--navy { background: var(--navy); color: var(--white); margin-top: 17%;}

    .section-label {
      display: block;
      text-align: center;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.22em;
      color: var(--orange);
      text-transform: uppercase;
      margin-bottom: 14px;
    }
    .section-title {
      font-size: clamp(24px, 3vw, 38px);
      font-weight: 700;
      line-height: 1.35;
      margin-bottom: 56px;
      color: var(--navy);
      text-align: center;   }
    .section--navy .section-title { color: var(--white); }

    /* フェードインアニメ */
    .fade-in {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s ease, transform 0.65s ease;
    }
    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* CTAボタン共通 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 32px;
      border-radius: 6px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.22s, color 0.22s, border-color 0.22s, opacity 0.22s;
      border: 2px solid transparent;
      white-space: nowrap;
    }
    .btn--orange {
      background: var(--orange);
      color: var(--white);
      border-color: var(--orange);
    }
    .btn--orange:hover { background: var(--orange-h); border-color: var(--orange-h); }
    .btn--outline {
      background: transparent;
      color: var(--white);
      border-color: rgba(255,255,255,0.55);
    }
    .btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

    /* =============================================
       中間CTA
    ============================================= */
    .mid-cta {
      background: #F97316;
      padding: 52px 0;
    }
    .mid-cta__inner {
      text-align: center;
    }
    .mid-cta__title {
      font-size: clamp(24px, 2.8vw, 36px);
      font-weight: 700;
      color: var(--white);
      line-height: 1.35;
    }
    .mid-cta__sub {
      margin-top: 12px;
      font-size: 15px;
      color: rgba(255,255,255,0.9);
    }
    .mid-cta__btn {
      margin-top: 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 30px;
      border-radius: 8px;
      border: 2px solid var(--navy);
      background: var(--navy);
      color: var(--white);
      font-size: 15px;
      font-weight: 700;
      transition: transform 0.22s, background 0.22s, border-color 0.22s;
    }
    .mid-cta__btn:hover {
      transform: translateY(-2px);
      background: #0b1833;
      border-color: #0b1833;
    }

    /* =============================================
       01 ヘッダー
    ============================================= */
    #header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--white);
      transition: box-shadow 0.3s;
    }
    #header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
    .header-inner {
      max-width: var(--inner);
      margin: 0 auto;
      padding: 0 32px;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .header-logo {
      font-size: 26px;
      font-weight: 700;
      color: var(--navy);
      letter-spacing: -0.02em;
    }
    .header-logo span { color: var(--orange); }
    .header-nav {
      display: flex;
      align-items: center;
      gap: 36px;
    }
    .header-nav a {
      font-size: 14px;
      font-weight: 700;
      color: var(--navy);
      transition: color 0.2s;
    }
    .header-nav a:hover { color: var(--orange); }
    .header-cta { margin-left: 20px; padding: 10px 22px; font-size: 14px; }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--navy);
      border-radius: 2px;
      transition: transform 0.3s, opacity 0.3s;
    }
    .mobile-nav {
      display: none;
      flex-direction: column;
      background: var(--white);
      padding: 16px 32px 24px;
      border-top: 1px solid #e5e7eb;
      gap: 16px;
    }
    .mobile-nav a {
      font-size: 15px;
      font-weight: 700;
      color: var(--navy);
      padding: 8px 0;
    }
    .mobile-nav.open { display: flex; }

    /* =============================================
       02 FV
    ============================================= */
    #fv {
      background: #65a1ff;
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding: 80px 0;
    }
    #fv::before {
      content: '';
      position: absolute;
      right: -120px;
      top: -80px;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: rgba(37,99,235,0.12);
    }
    #fv::after {
      content: '';
      position: absolute;
      left: -80px;
      bottom: -100px;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: rgba(249,115,22,0.07);
    }
    .fv-inner {
      position: relative;
      z-index: 1;
      max-width: var(--inner);
      margin: 0 auto;
      padding: 0 32px;
    }
    .fv-eyebrow {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.2em;
      color: var(--orange);
      text-transform: uppercase;
      margin-bottom: 24px;
    }
    .fv-catch {
      font-size: clamp(36px, 5.5vw, 72px);
      font-weight: 700;
      line-height: 1.25;
      color: var(--white);
      margin-bottom: 8px;
      display: block;
    }
    .fv-catch-line2 {
      position: relative;
      display: inline-block;
    }
    .fv-catch-line2::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 100%;
      height: 5px;
      background: var(--orange);
      border-radius: 3px;
    }
    .fv-sub {
      font-size: clamp(14px, 1.5vw, 17px);
      color: rgba(255,255,255,0.75);
      max-width: 540px;
      line-height: 1.85;
      margin-top: 36px;
      margin-bottom: 44px;
    }
    .fv-cta-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 64px;
    }
    .fv-cta-wrap .btn { padding: 16px 36px; font-size: 16px; }
    .fv-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
    }
    .fv-stat-num {
      display: block;
      font-size: 40px;
      font-weight: 700;
      color: var(--orange);
      line-height: 1;
      margin-bottom: 6px;
    }
    .fv-stat-label {
      font-size: 12px;
      color: rgba(255,255,255,0.6);
      letter-spacing: 0.05em;
    }

    /* =============================================
       03 課題提示
    ============================================= */
    .problem-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .problem-text {
      background: var(--white);
      border-radius: 4px;
      padding: 28px 24px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.06);
      display: flex;
      gap: 18px;
      align-items: flex-start;
      border-left: 4px solid var(--orange);
      transition: box-shadow 0.25s, transform 0.25s;
    }

    .pricing-card {
      display: inline-block;
    }

    .problem-card {
      display: flex;
      width: 800px;
      margin: 0 auto;
      align-items: center;
      justify-content: center;
      gap: 20px;
    }

    .problem-card:hover { 
      /* box-shadow: 0 8px 28px rgba(0,0,0,0.1);  */
      transform: translateY(-2px);
     }
     
    .problem-num {
      font-size: 40px;
      font-weight: 700;
      color: var(--orange);
      background: #fff3e8;
      border-radius: 50%;
      width: 84px;
      height: 84px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .problem-text { 
      display: block;
      font-size: 15px; 
      font-weight: 700; 
      color: var(--navy); 
      line-height: 1.55; 
      text-align: left;
      flex: 1;
    }

    /* =============================================
       04 選ばれる理由
    ============================================= */
    .reason-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 28px;
    }
    .reason-card {
      background: var(--white);
      border-radius: 14px;
      padding: 36px 32px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.06);
      position: relative;
      overflow: hidden;
      transition: transform 0.25s, box-shadow 0.25s;

    }
    .reason-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(15,30,60,0.1); }
    .reason-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--orange), var(--blue));
    }
    .reason-num-label {
      font-size: 12px;
      font-weight: 700;
      color: var(--orange);
      letter-spacing: 0.15em;
      margin-bottom: 12px;
    }
    .reason-title {
      font-size: 19px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 14px;
      line-height: 1.4;
    }
    .reason-text { font-size: 14px; color: var(--muted); line-height: 1.85; }

    /* =============================================
       05 自己紹介（ネイビー）
    ============================================= */
    .about-wrap {
      max-width: 760px;
      margin: 0 auto;
      padding: 0 32px;
      position: relative;
      padding-left: 56px;
    }
    .about-wrap::before {
      content: '';
      position: absolute;
      left: 32px;
      top: 0; bottom: 0;
      width: 4px;
      background: var(--orange);
      border-radius: 2px;
    }
    .about-pre {
      font-size: 15px;
      color: rgba(255,255,255,0.7);
      line-height: 1.9;
      margin-bottom: 28px;
    }
    .about-quote {
      font-size: clamp(20px, 2.5vw, 30px);
      font-weight: 700;
      color: var(--white);
      line-height: 1.5;
      margin-bottom: 28px;
    }
    .about-post {
      font-size: 15px;
      color: rgba(255,255,255,0.7);
      line-height: 1.9;
      margin-bottom: 32px;
    }
    .about-name {
      font-size: 14px;
      font-weight: 700;
      color: rgba(255,255,255,0.5);
      letter-spacing: 0.1em;
    }
    .about-name span { color: var(--white); margin-left: 4px; }

    /* =============================================
       06 制作フロー
    ============================================= */
    .flow-steps {
      display: flex;
      align-items: stretch;
      gap: 0;
      margin-bottom: 40px;
      overflow-x: auto;
      padding-bottom: 4px;
    }
    .flow-step {
      flex: 1;
      min-width: 140px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      padding: 0 12px;
    }
    .flow-step:not(:last-child)::after {
      content: '';
      position: absolute;
      right: -1px;
      top: 28px;
      width: 2px;
      height: 24px;
      background: #d1d5db;
    }
    .flow-circle {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--navy);
      color: var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.05em;
      margin-bottom: 16px;
      flex-shrink: 0;
    }
    .flow-step--accent .flow-circle { background: var(--orange); }
    .flow-arrow {
      position: absolute;
      right: -13px;
      top: 20px;
      font-size: 22px;
      color: #d1d5db;
      z-index: 1;
    }
    .flow-step-num {
      font-size: 11px;
      font-weight: 700;
      color: var(--orange);
      letter-spacing: 0.1em;
      margin-bottom: 4px;
    }
    .flow-step--accent .flow-step-num { color: var(--orange); }
    .flow-step-label {
      font-size: 13px;
      font-weight: 700;
      color: var(--navy);
      line-height: 1.4;
    }
    .flow-step--accent .flow-step-label { color: var(--orange); }
    .flow-note {
      background: var(--white);
      border-radius: 4px;
      padding: 20px 28px;
      font-size: 14px;
      color: var(--muted);
      line-height: 1.75;
      border-left: 4px solid var(--orange);
    }

    /* =============================================
       07 ポートフォリオ
    ============================================= */
    .works-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .works-card {
      border-radius: 4px;
      overflow: hidden;
      box-shadow: 0 2px 16px rgba(0,0,0,0.07);
      background: var(--white);
      transition: transform 0.25s, box-shadow 0.25s;
      cursor: pointer;
    }
    .works-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.13); }
    .works-thumb {
      background: var(--navy);
      height: 180px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      position: relative;
      overflow: hidden;
    }
    .works-thumb-icon { font-size: 42px; }
    .works-thumb-url {
      font-size: 11px;
      color: rgba(255,255,255,0.4);
      letter-spacing: 0.04em;
    }
    .works-body { padding: 20px; }
    .works-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
    .works-tag {
      font-size: 11px;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 4px;
      background: #f0f4ff;
      color: var(--blue);
    }
    .works-name { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4; }
    .works-link-row {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: 12px;
      font-size: 12px;
      color: var(--orange);
      font-weight: 700;
    }

    /* =============================================
       08 料金プラン
    ============================================= */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      align-items: start;
    }
    .pricing-card {
      border-radius: 4px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.07);
      background: var(--white);
      border: 2px solid #e5e7eb;
      transition: transform 0.25s, box-shadow 0.25s;
    }
    .pricing-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.1); }
    .pricing-card--featured {
      background: var(--navy);
      border-color: var(--navy);
      transform: scale(1.04);
    }
    .pricing-card--featured:hover { transform: scale(1.04) translateY(-4px); }
    .pricing-header { padding: 32px 28px 24px; }
    .pricing-badge {
      display: inline-block;
      background: var(--orange);
      color: var(--white);
      font-size: 11px;
      font-weight: 700;
      padding: 3px 12px;
      border-radius: 20px;
      letter-spacing: 0.05em;
      margin-bottom: 12px;
    }
    .pricing-plan { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
    .pricing-card--featured .pricing-plan { color: var(--white); }
    .pricing-sub { font-size: 12px; color: var(--muted); }
    .pricing-card--featured .pricing-sub { color: rgba(255,255,255,0.6); }
    .pricing-price {
      font-size: 36px;
      font-weight: 700;
      color: var(--navy);
      margin-top: 16px;
      line-height: 1;
    }
    .pricing-card--featured .pricing-price { color: var(--orange); }
    .pricing-price small { font-size: 15px; font-weight: 400; color: var(--muted); }
    .pricing-card--featured .pricing-price small { color: rgba(255,255,255,0.55); }
    .pricing-divider { height: 1px; background: #e5e7eb; margin: 0 28px; }
    .pricing-card--featured .pricing-divider { background: rgba(255,255,255,0.12); }
    .pricing-body { padding: 24px 28px 32px; }
    .pricing-feature {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      color: #374151;
      margin-bottom: 10px;
      line-height: 1.5;
    }
    .pricing-card--featured .pricing-feature { color: rgba(255,255,255,0.8); }
    .pricing-feature::before {
      content: '✓';
      color: var(--orange);
      font-weight: 700;
      flex-shrink: 0;
    }
    .pricing-note {
      text-align: center;
      font-size: 13px;
      color: var(--muted);
      margin-top: 36px;
    }

    /* =============================================
       09 FAQ
    ============================================= */
    .faq-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .faq-card {
      background: var(--white);
      border-radius: 4px;
      padding: 28px 24px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    }
    .faq-q {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      margin-bottom: 14px;
    }
    .faq-icon {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .faq-icon--q { background: var(--navy); color: var(--white); }
    .faq-icon--a { background: #fff3e8; color: var(--orange); }
    .faq-q-text { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.5; padding-top: 3px; }
    .faq-a {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }
    .faq-a-text { font-size: 14px; color: var(--muted); line-height: 1.8; padding-top: 3px; }

    /* =============================================
       10 お問い合わせ（ネイビー）
    ============================================= */
    .contact-wrap { max-width: 680px; margin: 0 auto; }
    .contact-sub {
      font-size: 15px;
      color: rgba(255,255,255,0.65);
      margin-top: -36px;
      margin-bottom: 48px;
    }
    .form-group { margin-bottom: 20px; }
    .form-label {
      display: block;
      font-size: 13px;
      font-weight: 700;
      color: rgba(255,255,255,0.85);
      margin-bottom: 8px;
    }
    .form-label .req {
      color: var(--orange);
      font-size: 11px;
      margin-left: 4px;
    }
    .form-control {
      width: 100%;
      padding: 13px 16px;
      border: 2px solid rgba(255,255,255,0.15);
      border-radius: 4px;
      font-size: 14px;
      font-family: inherit;
      color: var(--white);
      background: rgba(255,255,255,0.07);
      outline: none;
      transition: border-color 0.2s, background 0.2s;
    }
    .form-control::placeholder { color: rgba(255,255,255,0.3); }
    .form-control:focus { border-color: var(--orange); background: rgba(255,255,255,0.1); }
    select.form-control { cursor: pointer; }
    select.form-control option { background: var(--navy); color: var(--white); }
    textarea.form-control { resize: vertical; min-height: 130px; }
    .btn-submit {
      display: block;
      width: 100%;
      max-width: 360px;
      margin: 32px auto 0;
      padding: 17px;
      background: var(--orange);
      color: var(--white);
      font-size: 16px;
      font-weight: 700;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      transition: background 0.22s, transform 0.22s;
      letter-spacing: 0.05em;
    }
    .btn-submit:hover { background: var(--orange-h); transform: translateY(-2px); }

    /* =============================================
       11 フッター
    ============================================= */
    #footer {
      background: var(--navy-d);
      padding: 28px 0;
    }
    .footer-inner {
      max-width: var(--inner);
      margin: 0 auto;
      padding: 0 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .footer-logo {
      font-size: 22px;
      font-weight: 700;
      color: var(--white);
    }
    .footer-logo span { color: var(--orange); }
    .footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

    /* =============================================
       視線誘導 シェブロン（reason → about）
    ============================================= */
    .chevron-guide {
      --chevron-size: 102px;
      --chevron-thickness: 5px;
      --chevron-color: var(--orange);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      padding: 0;
      /* background: linear-gradient(to bottom, var(--white) 0%, var(--navy) 100%); */
      line-height: 1;
    }
    .chevron-guide__arrow {
      display: block;
      width: var(--chevron-size);
      height: calc(var(--chevron-size) * 0.62);
      position: relative;
      opacity: 0;
      animation: chevron-flow 1.8s ease-in-out infinite;
    }
    .chevron-guide__arrow::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: calc(var(--chevron-size) * 0.72);
      height: calc(var(--chevron-size) * 0.72);
      border-right: var(--chevron-thickness) solid var(--chevron-color);
      border-bottom: var(--chevron-thickness) solid var(--chevron-color);
      transform: translate(-50%, -62%) rotate(45deg);
      box-sizing: border-box;
    }
    .chevron-guide__arrow:nth-child(1) { animation-delay: 0s; }
    .chevron-guide__arrow:nth-child(2) { animation-delay: 0.3s; }
    .chevron-guide__arrow:nth-child(3) { animation-delay: 0.6s; }
    @keyframes chevron-flow {
      0%   { opacity: 0; transform: translateY(-8px); }
      40%  { opacity: 1; transform: translateY(0); }
      70%  { opacity: 1; transform: translateY(0); }
      100% { opacity: 0; transform: translateY(8px); }
    }

    /* =============================================
       レスポンシブ
    ============================================= */
    @media (max-width: 900px) {
      .inner { padding: 0 24px; }
      .section { padding: 72px 0; }

      .header-nav { display: none; }
      .hamburger { display: flex; }

      .reason-grid { grid-template-columns: 1fr; }
      .works-grid { grid-template-columns: repeat(2, 1fr); }
      .pricing-grid { grid-template-columns: 1fr; }
      .pricing-card--featured { transform: none; }
      .pricing-card--featured:hover { transform: translateY(-4px); }
      .faq-grid { grid-template-columns: 1fr; }

      .flow-steps { gap: 4px; }
      .flow-step { min-width: 120px; }
    }

    @media (max-width: 640px) {
      .section { padding: 56px 0; }
      .inner { padding: 0 20px; }
      .header-inner { padding: 0 20px; }

      .mid-cta { padding: 44px 0; }
      .mid-cta__sub { font-size: 14px; }
      .mid-cta__btn { width: 100%; max-width: 320px; }

      .fv-cta-wrap { flex-direction: column; }
      .fv-cta-wrap .btn { width: 100%; }
      .fv-stats { gap: 24px; }

      .problem-grid { grid-template-columns: 1fr; }
      .works-grid { grid-template-columns: 1fr; }
      .about-wrap { padding-left: 36px; }
      .about-wrap::before { left: 20px; }

      .footer-inner { flex-direction: column; gap: 12px; text-align: center; }

      .flow-steps { flex-direction: column; align-items: flex-start; gap: 16px; }
      .flow-step { flex-direction: row; text-align: left; min-width: auto; padding: 0; gap: 16px; align-items: center; }
      .flow-step:not(:last-child)::after { display: none; }
      .flow-arrow { display: none; }
    }