:root {
      --bg-dark: #070d18;
      --bg-dark-secondary: #0b1424;
      --bg-card: rgba(16, 26, 44, 0.6);
      --gold-primary: #d4af67;
      --gold-light: #edd59b;
      --gold-dark: #9d7c3b;
      --text-sub: #F4E5D2;
      --text-muted: #b0b8c6;
      --border-gold: rgba(212, 175, 103, 0.4);

      /* Typography */
      --font-mincho: "dnp-shuei-mincho-pr6", serif;
      --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-sub);
      font-family: var(--font-sans);
      line-height: 1.6;
      letter-spacing: 0.05em;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: opacity 0.3s ease;
    }

    a:hover {
      opacity: 0.8;
      color: var(--gold-primary);
    }

    .container {
      width: 100%;
      max-width: 1040px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Common Placeholder */
    .img-placeholder {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.12));
      border: 1px dashed var(--border-gold);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gold-light);
      font-size: 13px;
      text-align: center;
      border-radius: 8px;
      position: relative;
    }

    /* Common Section Heading */
    .section-title {
      font-family: var(--font-mincho);
      color: var(--gold-primary);
      text-align: center;
      font-size: 32px;
      font-weight: 500;
      letter-spacing: 0.12em;
      margin-bottom: 48px;
    }

    /* ==========================================================================
       Hero Section
       ========================================================================== */
    .hero {
      position: relative;
      min-height: 50vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 100px 0 60px;
      overflow: hidden;
    }

    /* メインビジュアル差し替え用背景 */
    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.45) 40%,
      rgba(0, 0, 0, 0) 75%
    ), url('img/hero_background.png');
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      border: none;
      border-radius: 0;
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }

    .hero-content {
      max-width: 580px;
    }

    /* ロゴ */
    .hero-logo {
      width: 64px;
      height: 64px;
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.4);
      margin-bottom: 36px;
    }

    /* キャッチコピー（抑揚つき） */
    .hero-copy {
      font-family: var(--font-mincho);
      color: var(--gold-primary);
      line-height: 1.6;
      margin-bottom: 32px;
      text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
      font-style: italic;
      font-weight: 400;
    }

    .hero-copy .line {
      display: block;
      white-space: nowrap;
    }

    .hero-copy .line-1 {
      font-size: 38px;
    }

    .hero-copy .line-2 {
      font-size: 32px;
      color: var(--text-sub);
    }

    /* 抑揚のための文字サイズ調整 */
    .hero-copy .font-emphasis {
      font-size: 1.15em;
      font-weight: 400;
    }
    .hero-copy .font-sub {
      font-size: 0.85em;
      opacity: 0.9;
    }

    /* 検索キーワード（コーディング作成） */
    .search-pill {
      display: inline-flex;
      align-items: center;
      background: #ffffff;
      color: #333333;
      padding: 6px 20px 6px 20px;
      border-radius: 9999px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
      margin-bottom: 24px;
      font-family: var(--font-sans);
      font-size: 14px;
      font-weight: 700;
    }

    .search-pill .search-icon {
      width: 16px;
      height: 16px;
      stroke: var(--gold-primary);
      margin-left:30px;
    }

    /* アプリストアボタン */
    .app-buttons {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 16px;
    }

    .store-badge {
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .hero-note {
      font-size: 11px;
      color: var(--text-muted);
      letter-spacing: 0.08em;
    }

    /* ==========================================================================
       Features Section (会いたい目的で探せる)
       ========================================================================== */
    .features {
      padding: 120px 0;
      background-color: var(--bg-dark);
    }

    .features-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }

    .features-text .section-title {
      text-align: left;
      margin-bottom: 24px;
    }

    .features-desc {
      font-family: var(--font-mincho);
      color: var(--text-sub);
      font-size: 16px;
      line-height: 2.2;
      letter-spacing: 0.08em;
    }

    .features-mockups {
      display: flex;
      justify-content: center;
      gap: 20px;
    }

    .phone-mockup {
      width: 190px;
      height: 380px;
      border-radius: 2rem;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
      flex-shrink: 0;
    }

    /* ==========================================================================
       Flow Section (出会うまでの流れ)
       ========================================================================== */
    .flow {
      padding: 120px 0;
      background-color: var(--bg-dark-secondary);
    }

    .flow-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
    }

    .flow-card {
      text-align: center;
    }

    .step-number {
      font-family: var(--font-mincho);
      font-size: 50px;
      color: var(--gold-primary);
      margin-bottom: 4px;
      font-weight: 400;
      font-style: italic;
    }

    .step-title {
      font-family: var(--font-mincho);
      font-weight: 400;
      font-style: italic;
      font-size: 18px;
      color: var(--gold-primary);
      margin-bottom: 28px;
      letter-spacing: 0.1em;
    }

    .flow-card .phone-mockup-placeholder {
      margin: 0 auto;
    }

    /* ==========================================================================
       Security Section (安心して使える万全のセキュリティ)
       ========================================================================== */
    .security {
      padding: 120px 0;
      background-color: var(--bg-dark);
    }

    .security-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 40px;
    }

    .security-item {
      text-align: center;
    }

    /* アイコンボックス（コーディング作成） */
    .security-icon-box {
      width: 120px;
      height: 120px;
      margin: 0 auto 20px;
      border: 1px solid var(--border-gold);
      background: var(--bg-card);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 0 15px rgba(212, 175, 103, 0.05);
      position: relative;
    }

    .security-icon {
      width:80px;
      height:80px;
    }

    .security-text {
      font-family: var(--font-sans);
      font-size: 13px;
      color: var(--text-sub);
      line-height: 1.6;
      letter-spacing: 0.04em;
    }

    /* ==========================================================================
       Footer
       ========================================================================== */
    .footer {
      padding: 60px 0 40px;
      background-color: #04070d;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      text-align: center;
      font-family: var(--font-sans);
      font-size: 12px;
      color: var(--text-muted);
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 28px;
      margin-bottom: 24px;
    }

    .footer-links a {
      color: var(--text-muted);
    }

    .footer-links a:hover {
      color: var(--gold-primary);
    }

    .footer-info {
      margin-bottom: 24px;
      line-height: 1.8;
      font-size: 11px;
    }

    .copyright {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.4);
    }

    /* ==========================================================================
       Effect-fade
       ========================================================================== */

    .effect-fade {
      opacity : 0;
      transform : translate(0, 45px);
      transition : all 2000ms;
      }

    .effect-scroll {
        opacity : 1;
        transform : translate(0, 0);
    }

    /* ==========================================================================
       Responsive Styles (SP)
       ========================================================================== */
    @media (max-width: 768px) {
      .section-title {
        font-size: 24px;
        margin-bottom: 36px;
      }

      /* Hero SP */
      .hero {
        min-height: auto;
        padding: 40px 0 60px;
        text-align: center;
      }

      .hero-bg {
        background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.8)),
        url('img/hero_background.png');


        /* 位置調整コード */
        background-position: 58% 20%; /* ← ここで位置を調整 */
        background-size: cover;
        background-repeat: no-repeat;
      }

      .hero-inner {
        flex-direction: column;
        align-items: center;
      }

      .hero-logo {
        margin: 0 auto 30px;
      }

      .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .hero-copy .line-1 {
        font-size: 26px;
      }

      .hero-copy .line-2 {
        font-size: 22px;
      }

      /* Features SP */
      .features {
        padding: 80px 0;
      }

      .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
      }

      .features-text .section-title {
        text-align: center;
      }

      .features-desc {
        font-size: 14px;
        line-height: 2;
      }

      .phone-mockup {
        width: 140px;
        height: 280px;
        border-radius: 1rem;
      }

      /* Flow SP (ジグザグ配置) */
      .flow {
        padding: 80px 0;
      }

      .flow-steps {
        display: flex;
        flex-direction: column;
        gap: 48px;
      }

      .flow-card {
        display: flex;
        align-items: center;
        justify-content: space-around;
        text-align: center;
      }

      /* Step 2 は左右反転（画像が左、テキストが右） */
      .flow-card.reverse {
        flex-direction: row-reverse;
      }

      .flow-card-text {
        width: 45%;
      }

      .flow-card .step-title {
        margin-bottom: 0;
      }

      .flow-card .phone-mockup {
        width: 130px;
        height: 260px;
        margin: 0;
      }

      /* Security SP (2x2 グリッド) */
      .security {
        padding: 80px 0;
      }

      .security-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
      }

      .security-icon-box {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
      }

      .security-text {
        font-size: 11px;
      }

      /* Footer SP */
      .footer-links {
        flex-direction: column;
        gap: 12px;
      }
    }