/* --- 基本設定 & 変数 --- */
        :root {
            --primary-color: #937960; /* メインの茶色 */
            --secondary-color: #d9a5b3; /* アクセントのピンク */
            --accent-color: #f7ce68; /* お知らせバナーの黄色 */
            --bg-color-light: #f4f1ef; /* 薄い背景色 */
            --text-color: #333333;
            --text-color-light: #555555;
            --border-color: #dddddd;
            --white: #ffffff;
            --black: #000000;
            --font-main: 'Noto Sans JP', 'Noto Sans', sans-serif;
        }

        body {
            font-family: var(--font-main);
            color: var(--text-color);
            background-color: var(--white);
            margin: 0;
            /* ヘッダーがオーバーレイするため、bodyのpaddingは不要 */
        }

        .container {
            width: 90%;
            max-width: 1100px;
            margin-left: auto;
            margin-right: auto;
        }

@media (max-width: 767px) {
  .container {
    /* 幅を100%に、左右10pxずつパディング */
    width: auto;
    padding: 0 20px;
    box-sizing: border-box; /* パディング込みでmax-widthを維持 */
  }
}

        /* --- ヘッダー --- */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            /* 初期状態は透明 */
            background-color: transparent;
            z-index: 1000;
            transition: background-color 0.4s ease, box-shadow 0.4s ease;
        }
        /* スクロール後のヘッダー */
        .header.is-scrolled {
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(5px);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 74px;
        }
        /* 初期状態のロゴ */
        .header-logo {
            font-family: var(--font-main);
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--white); /* 初期色は白 */
            text-decoration: none;
            transition: color 0.4s ease;
            width: 120px;
        }
        /* スクロール後のロゴ */
        .header.is-scrolled .header-logo {
            color: var(--text-color);
        }

        .header-nav {
            display: none; /* モバイルでは非表示 */
        }
        /* 初期状態のナビリンク */
        .header-nav a {
            text-decoration: none;
            color: var(--white); /* 初期色は白 */
            font-weight: 500;
            transition: color 0.4s ease;
        }
        /* 初期状態のホバー色 */
        .header:not(.is-scrolled) .header-nav a:not(.btn):hover {
            color: var(--secondary-color);
        }
        /* スクロール後のホバー色 */
        .header.is-scrolled .header-nav a:not(.btn):hover {
            color: var(--secondary-color);
        }
        /* スクロール後のナビリンク */
        .header.is-scrolled .header-nav a:not(.btn) {
             color: var(--text-color-light);
        }
        
        /* --- ハンバーガーメニュー --- */
        .hamburger-btn {
            display: block;
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            z-index: 1001;
        }
        /* 初期状態のハンバーガー */
        .hamburger-line {
            display: block;
            width: 25px;
            height: 2px;
            background-color: var(--white); /* 初期色は白 */
            margin: 5px 0;
            transition: all 0.3s ease-in-out;
        }
span.hamburger-line.is-open {
    background-color: #333333;
}
        /* スクロール後のハンバーガー */
        .header.is-scrolled .hamburger-line {
            background-color: var(--text-color);
        }
        .hamburger-line.is-open:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }
        .hamburger-line.is-open:nth-child(2) {
            opacity: 0;
        }
        .hamburger-line.is-open:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* --- モバイルナビゲーション --- */
        .mobile-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(5px);
            z-index: 999;
            transform: translateX(-100%);
            transition: transform 0.3s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .mobile-nav.is-open {
            transform: translateX(0);
        }
        .mobile-nav-list {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .mobile-nav-list a {
            font-size: 1.2rem;
            color: var(--text-color);
            text-decoration: none;
            margin: 1.5rem 0;
        }

        /* --- ボタン --- */
        .btn {
            display: inline-block;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            cursor: pointer;
            text-align: center;
        }
        .btn-primary {
            background-color: var(--primary-color);
            color: var(--white);
            border-color: var(--primary-color);
        }
        .btn-primary:hover {
            background-color: #7d654c;
            border-color: #7d654c;
        }
        .btn-secondary {
            background-color: var(--secondary-color);
            color: var(--white);
            border-color: var(--secondary-color);
        }
        .btn-secondary:hover {
            background-color: #c895a2;
            border-color: #c895a2;
        }

        /* ヘッダーボタンの特別スタイル */
        /* 初期状態（透明ヘッダー）のボタンはアウトライン */
        .header:not(.is-scrolled) .header-nav .btn-secondary {
            background-color: transparent;
            color: var(--white);
            border-color: var(--white);
        }
        /* 初期状態のボタンのホバーエフェクト */
        .header:not(.is-scrolled) .header-nav .btn-secondary:hover {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
            color: var(--white);
        }
        
        /* モバイルメニュー内のボタンは常に塗りつぶし */
        .mobile-nav .btn-secondary {
             color: var(--white) !important;
             background-color: var(--secondary-color);
             border-color: var(--secondary-color);
        }
        .mobile-nav .btn-secondary:hover {
            background-color: #c895a2;
            border-color: #c895a2;
        }

        /* --- セクション共通 --- */
        .section {
            padding: 5rem 0;
        }
        .section.bg-light {
            background-color: var(--bg-color-light);
        }
        .section-header, .section-header-left {
            text-align: center;
            margin-bottom: 4rem;
        }
        .section-header-left { text-align: left; }
        .section-title {
            font-family: var(--font-main);
            font-size: 2.5rem;
            font-weight: 500;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        .section-subtitle {
            font-size: 1rem;
            color: var(--text-color-light);
        }


        /* --- ヒーローセクション --- */
        .hero {
            height: 100vh; /* 画面全体の高さ */
            background-image: url('https://arinner.com/images/arinner-top.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            color: var(--white);
        }
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgb(147 121 96 / 30%);
        }
        .hero-inner {
            position: relative;
            z-index: 1;
            padding: 1rem;
            color: #4d4d4d;
        }
        .hero-subtitle {
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }
        .hero-title {
            font-family: var(--font-main);
            font-weight: 500;
            font-size: 2.5rem;
            line-height: 1.3;
            margin-bottom: 1.5rem;
        }
        .hero-description {
            max-width: 600px;
            margin: 0 auto 2rem;
            line-height: 1.8;
        }

        /* --- お知らせバナー --- */
        .info-banner {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 1rem;
            text-align: center;
            font-weight: 500;
        }

        /* --- 特徴セクション --- */
        .feature-grid {
            display: grid;
            gap: 2rem;
        }
        .feature-card {
            background-color: var(--white);
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            text-align: center;
        }
        /* ▼▼▼ アイコンのスタイルを追加 ▼▼▼ */
        .feature-icon {
            color: var(--primary-color);
            margin-bottom: 1.5rem;
        }
        .feature-icon svg {
            width: 50px;
            height: 50px;
            stroke-width: 1.5;
            margin: 0 auto;
        }
        /* ▲▲▲ アイコンのスタイルを追加 ▲▲▲ */
        .feature-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        /* --- ご成婚までの流れ --- */
        /* Flow Section */
        .flow-container {
            display: flex;
            flex-direction: column;
            gap: 4rem;
            position: relative;
        }
        /* 縦の点線 */
        .flow-container::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 2rem;
            bottom: 2rem;
            width: 2px;
            background-image: linear-gradient(var(--secondary-color) 40%, transparent 0%);
            background-size: 2px 10px;
            background-repeat: repeat-y;
            transform: translateX(-50%);
            display: none; /* スマホでは非表示 */
        }
        @media (min-width: 768px) {
            .flow-container::before {
                display: block; /* PCで表示 */
            }
        }
        .flow-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        .flow-item.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        @media (min-width: 768px) {
            .flow-item {
                flex-direction: row;
                gap: 4rem;
                align-items: stretch;
            }
            .flow-item.reverse {
                flex-direction: row-reverse;
            }
        }
        .flow-img-wrapper, .flow-text-wrapper {
            flex: 1;
            width: 100%;
        }
        .flow-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        }
        .flow-text-wrapper {
            background-color: #f4f1ef;
            padding: 2rem;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .flow-step {
            font-weight: bold;
            color: var(--secondary-color);
            margin-bottom: 0.5rem;
            display: block;
        }
        .flow-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-color);
            margin: 0 0 1rem 0;
        }
        .flow-desc {
            line-height: 1.8;
            margin: 0;
        }

        /* --- 代表カウンセラー --- */
        .counselor-profile {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            text-align: center;
        }
        .counselor-img {
            width: 250px;
            height: 250px;
        }
        .counselor-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        .counselor-name {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }
        .counselor-text p {
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        /* --- 料金プラン --- */
        .price-table-wrapper {
            max-width: 800px;
            margin: 0 auto;
            background-color: var(--white);
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            overflow: hidden;
        }
        .price-table {
            width: 100%;
            border-collapse: collapse;
        }
        .price-table th, .price-table td {
            padding: 1.25rem;
            text-align: left;
            border-bottom: 1px solid #f0f0f0;
        }
        .price-table thead th {
            background-color: var(--primary-color);
            color: var(--white);
        }
        .price-table thead th:last-child {
            text-align: right;
        }
        .price-table td:last-child {
            text-align: right;
            font-weight: 600;
        }
        .price-table .total-row {
            background-color: var(--bg-color-light);
            font-weight: bold;
            color: var(--primary-color);
        }
        .price-note {
            text-align: center;
            margin-top: 2rem;
            font-size: 0.9rem;
            color: var(--text-color-light);
        }

        /* --- お問い合わせ --- */
        .contact-lead {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 3rem;
            line-height: 1.8;
        }
        .form-wrapper {
            max-width: 700px;
            margin: 0 auto;
        }
        .form-grid {
            display: grid;
            gap: 1.5rem;
        }
        .form-label {
            display: block;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }
        .form-label.required::after {
            content: '*';
            color: var(--secondary-color);
            margin-left: 0.25rem;
        }
        .form-input, .form-select, .form-textarea {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            background-color: var(--white);
            transition: border-color 0.3s, box-shadow 0.3s;
            box-sizing: border-box;
            font-family: inherit;
        }
        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }
        .form-input:focus, .form-select:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(217, 165, 179, 0.2);
        }
        .radio-group {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            align-items: flex-start;
        }
        .radio-label {
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        .form-radio {
            margin-right: 0.5rem;
            accent-color: var(--primary-color);
        }
        .form-submit {
            text-align: center;
            margin-top: 2.5rem;
        }
        .message-area {
            margin-top: 2rem;
            text-align: left;
        }
        .message-area .success {
            padding: 1.5rem;
            background-color: #e6f4ea;
            border: 1px solid #cce8d2;
            color: #2b6b3e;
            border-radius: 8px;
        }
        .message-area .success h3 {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }
        .message-area .error {
            padding: 1rem;
            background-color: #fce8e6;
            border: 1px solid #f7c5c0;
            color: #c5221f;
            border-radius: 8px;
        }
        .contact-note {
            text-align: center;
            margin-top: 2rem;
            font-size: 0.9rem;
            color: var(--text-color-light);
        }


        /* --- フッター --- */
        .footer {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 3rem 0;
            text-align: center;
        }
        .footer-logo {
            font-family: var(--font-main);
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--white);
            text-decoration: none;
            margin-bottom: 1.5rem;
            display: inline-block;
        }
        .footer-logo-img>img {
            width: 120px;
            font-family: var(--font-main);
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--white);
            text-decoration: none;
            margin-bottom: 1.5rem;
            display: inline-block;
        }
        .footer-nav {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem 1.5rem;
            margin-bottom: 1.5rem;
        }
        .footer-nav a {
            color: var(--white);
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s;
        }
        .footer-nav a:hover {
            opacity: 1;
        }
        .copyright {
            font-size: 0.8rem;
            opacity: 0.6;
        }

        /* --- アニメーション --- */
        .scroll-fade {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        .scroll-fade.is-visible {
            opacity: 1;
            transform: translateY(0);
        }


        /* --- レスポンシブ対応 (メディアクエリ) --- */
        @media (min-width: 768px) {
            .hamburger-btn { display: none; }
            .header-nav { display: flex; align-items: center; gap: 1.5rem; }

            .hero-title { font-size: 4rem; }

            .feature-grid { grid-template-columns: repeat(3, 1fr); }
            
            .flow-steps { grid-template-columns: repeat(5, 1fr); }
            .flow-steps::before { display: block; }
            
            .counselor-profile {
                flex-direction: row;
                gap: 4rem;
                text-align: left;
            }
            .counselor-img {
                width: 300px;
                height: 300px;
                flex-shrink: 0;
            }
        }

.page-section { padding: 4rem 0; }
.page-title { font-size: 2.2rem; font-weight: bold; text-align: center; margin-bottom: 3rem; color: var(--primary-color); }

/* Plan Cards */
.plan-contents {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch; /* カードの高さを揃える */
}
@media (min-width: 992px) {
    .plan-contents {
        grid-template-columns: repeat(3, 1fr);
    }
}
.plan-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.plan-card.is-recommended {
    border-color: var(--secondary-color);
    transform: scale(1.02);
}
.plan-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}
.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
}
.plan-price span {
    font-size: 1rem;
    font-weight: normal;
    color: #555;
}
.plan-body {
    padding: 1.5rem;
    flex-grow: 1;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.plan-features li svg {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}
.plan-footer {
    padding: 1.5rem;
    text-align: center;
}
.btn { display: inline-block; padding: 0.75rem 2rem; border-radius: 50px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-secondary { background-color: var(--secondary-color); color: var(--white); border-color: var(--secondary-color); }
.btn-secondary:hover { background-color: #c895a2; border-color: #c895a2; }
.price-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #555;
}

        /* Documents Section */
        .documents-container { display: flex; flex-direction: column; gap: 2rem; }
        @media (min-width: 768px) { .documents-container { flex-direction: row; align-items: center; gap: 4rem; } }
        .documents-img, .documents-list { flex: 1; }
        .documents-img img { width: 100%; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
        .documents-list ul { list-style: none; padding: 0; margin: 0; }
        .documents-list li { display: flex; align-items: center; margin-bottom: 1rem; font-weight: 500; }
        .documents-list li svg { width: 22px; height: 22px; color: var(--primary-color); margin-right: 0.75rem; flex-shrink: 0; }
        .documents-note { font-size: 0.9rem; color: #555; margin-top: 1.5rem; }