/* Mirai Seed - Figmaデザイン準拠スタイルシート */

/* ========================================
   カラー変数
   ======================================== */
:root {
    --primary-color: #25B15F;
    --secondary-color: #22C3B0;
    --accent-color: #FAA642;
    --text-color: #4D4D4D;
    --text-secondary: #808080;
    --bg-white: #FFFFFF;
    --bg-mint: #D3F3EF;
    --bg-beige: #FFF8F0;
    --bg-gray: #F6F6F6;
    --bg-peach: #FEEDD9;
    --bg-dark: #212529;
    --border-color: #B3B3B3;
    --border-light: #F6F6F6;
}

/* ========================================
   女性会員ページ
   ======================================== */

/* タイトルセクション */
.profiles-title-section {
    padding: 16px;
}

.profiles-title-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profiles-title-header {
    display: flex;
    align-items: flex-end;
    padding: 0 8px;
}

.profiles-main-title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.profiles-title-divider {
    width: 2px;
    height: 36px;
    background-color: var(--text-color);
}

.profiles-description {
    flex: 1;
    padding: 0 8px;
}

.profiles-description p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* 装飾SVG */
.profiles-decoration {
    padding: 8px 0;
}

/* 国籍タブ */
.nationality-tabs-section {
    padding: 24px 24px 0;
}

.nationality-tabs {
    display: flex;
    gap: 2px;
}

.nationality-tab {
    flex: 1;
    padding: 8px;
    background-color: var(--bg-gray);
    border: none;
    border-radius: 16px 16px 0 0;
    font-size: 18px;
    font-weight: 600;
    color: rgba(77, 77, 77, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.nationality-tab.active {
    background-color: var(--accent-color);
    color: #FFFFFF;
}

.nationality-tab:hover {
    opacity: 0.8;
}

/* フィルターセクション */
.profiles-filter-section {
    padding: 0 24px;
}

.profiles-filter {
    background-color: var(--bg-beige);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.filter-select {
    width: 240px;
    height: 32px;
    padding: 4px 16px;
    border: 1px solid var(--text-color);
    border-radius: 1000px;
    background-color: white;
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 5.25L7 8.75L10.5 5.25' stroke='%234D4D4D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 国籍フィルター（PC版では非表示） */
.filter-nationality-mobile {
    display: none;
}

/* プロフィールカードグリッド */
.profiles-grid-section {
    padding: 0 24px;
}

.profiles-grid {
    background-color: var(--bg-beige);
    padding: 16px 32px 32px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.profile-card {
    width: 176px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
}

.profile-photo {
    position: relative;
    width: 100%;
    height: 235px;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: rgba(37, 177, 95, 0.9);
    color: #FFFFFF;
    padding: 2px 9px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

.profile-info {
    padding: 0 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.profile-details {
    display: flex;
    gap: 8px;
}

.profile-details span {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
}

.profile-status,
.profile-occupation {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* ページネーション */
.profiles-pagination-section {
    padding: 0 24px;
}

.profiles-pagination {
    background-color: var(--bg-beige);
    padding: 16px 0 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
}

.page-number.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #FFFFFF;
}

.page-number:hover {
    opacity: 0.8;
}

/* ========================================
   基本スタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'Meiryo', 'メイリオ', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    font-size: 16px;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   トップバー
   ======================================== */
.top-bar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.top-bar a {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 300;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* ========================================
   ヘッダー
   ======================================== */
.header-main {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-main nav {
    margin-left: auto;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-link-custom {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link-custom:hover {
    color: var(--primary-color);
}

.nav-link-custom.active {
    border-bottom: 2px solid var(--secondary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 16px;
    border-radius: 1000px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--border-light);
    margin-left: 40px;
    transition: all 0.3s;
}

.btn-contact:hover {
    background-color: #1e8e4a;
    transform: translateY(-2px);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero-section {
    background-image: url('../images/wedding.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 56px 24px;
    min-height: 328px;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 243, 239, 0.3) 0%, rgba(254, 237, 217, 0.3) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding-left: 80px;
}

.hero-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--bg-white);
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 26px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--bg-white);
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 16px 22px;
    border-radius: 8px;
    width: 450px;
    max-width: 100%;
}

.hero-badge {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
}

/* ========================================
   最新情報セクション
   ======================================== */
.news-section {
    padding: 24px 0;
}

.news-list {
    max-width: 100%;
}

.news-item {
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-date {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
}

.news-text {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
}

.news-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0;
}

/* ========================================
   リード文セクション
   ======================================== */
.lead-section {
    padding: 24px 0;
}

.lead-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.lead-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

.lead-decoration {
    max-width: 100%;
    height: auto;
}

.lead-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    text-align: center;
}

/* ========================================
   女性会員セクション
   ======================================== */
.member-section {
    padding: 24px 0;
}

.member-section .row {
    align-items: flex-start;
}

.member-section .col-lg-3 img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
}

.member-content {
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.member-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.member-line {
    width: 184px;
    height: 2px;
    background-color: var(--accent-color);
}

.member-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
}

.member-link {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
    transition: color 0.3s;
}

.member-link:hover {
    color: var(--primary-color);
}

.member-decoration-bg {
    background-color: rgba(254, 237, 217, 0.4);
    padding: 0 0 24px;
}

/* 女性画像ギャラリー */
.member-gallery {
    background-color: #F5F1EB;
    margin: 0 -32px;
    padding: 32px 32px;
    overflow-x: auto;
}

/* プロフィールページ用ギャラリー */
.profiles-gallery-section .member-gallery {
    background-color: #FEEDD9;
    margin: 0;
    padding: 32px 32px;
}

.member-gallery-scroll {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 0 32px;
}

.member-gallery-scroll img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   STORYセクション
   ======================================== */
.story-section {
    background-color: var(--bg-beige);
    padding: 0 120px;
}

.story-content {
    padding: 24px 0;
}

.story-decoration {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px;
}

.story-badge {
    font-size: 44px;
    font-weight: 600;
    color: rgba(77, 77, 77, 0.2);
    text-align: center;
}

.story-divider {
    width: 2px;
    height: 36px;
    background-color: rgba(77, 77, 77, 0.2);
}

.story-description {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: rgba(77, 77, 77, 0.4);
    padding: 0 8px;
    flex: 1;
    border: 2px solid var(--bg-beige);
}

.story-card {
    display: flex;
    gap: 16px;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(77, 77, 77, 0.2);
    margin-top: 24px;
}

.story-card-image {
    width: 104px;
    height: 104px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.story-year-badge {
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 4px 8px;
    border-radius: 1000px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
}

.story-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
}

.story-card-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
}

.story-more-link {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
    transition: color 0.3s;
}

.story-more-link:hover {
    color: var(--primary-color);
}

/* ========================================
   MiraiSeedを選ぶ理由セクション
   ======================================== */
.reasons-section {
    padding: 32px 0 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-large {
    font-size: 44px;
    font-weight: 600;
    color: var(--text-color);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background-color: var(--bg-mint);
    padding: 40px 48px 24px;
    border-radius: 4px;
}

.reasons-grid-2 {
    grid-template-columns: repeat(3, 1fr);
    padding: 16px 48px 24px;
}

.reason-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 0 0 16px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.reason-card-image {
    width: 100%;
    height: 196px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}

/* 非婚プランカードの画像位置調整（PC版） */
.reasons-grid-2 .reason-card:nth-child(3) .reason-card-image {
    background-position: center 65%;
}

.reason-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    text-align: center;
    padding: 0 16px;
}

.reason-card-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    text-align: center;
    padding: 0 16px;
}

.service-link {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-color);
}

/* ========================================
   FAQセクション
   ======================================== */
.faq-section {
    padding: 40px 120px;
}

.faq-container {
    border-radius: 8px;
    overflow: hidden;
}

.faq-header {
    background-color: var(--bg-gray);
    padding: 8px 16px;
}

.faq-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.faq-item {
    border: 2px solid var(--border-light);
    border-top: none;
}

.faq-item:last-child {
    border-radius: 0 0 8px 8px;
}

.faq-question {
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--bg-gray);
}

.faq-question span {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
}

.faq-question i {
    color: var(--text-color);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 16px;
}

.faq-answer p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* ========================================
   お問い合わせフォーム
   ======================================== */
.contact-form-section {
    padding: 40px 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../images/couple-hero.jpg');
    background-size: cover;
    background-position: center;
}

.contact-form-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 48px 24px;
    border-radius: 8px;
}

.contact-form-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    display: block;
    margin-bottom: 8px;
}

.form-control-custom {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary-color);
}

.textarea-custom {
    height: 152px;
    resize: vertical;
}

.form-hint {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
    display: block;
    margin-top: 8px;
}

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
}

.radio-label span {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    justify-content: center;
}

.checkbox-label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-color);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 1000px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 144px;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #1e8e4a;
    transform: translateY(-2px);
}

/* ========================================
   CTAセクション
   ======================================== */
.cta-section {
    background-color: var(--primary-color);
    padding: 24px 8px;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 14px;
    font-weight: 300;
    color: var(--bg-white);
    margin-bottom: 32px;
}

.cta-button {
    background-color: var(--bg-white);
    color: var(--text-color);
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 1000px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-note {
    font-size: 12px;
    font-weight: 300;
    color: var(--bg-white);
    margin-top: 32px;
    margin-bottom: 32px;
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.cta-contact-item {
    font-size: 16px;
    font-weight: 300;
    color: var(--bg-white);
    transition: opacity 0.3s;
}

.cta-contact-item:hover {
    opacity: 0.8;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: var(--bg-dark);
    padding: 24px 0;
}

.footer-text {
    font-size: 12px;
    font-weight: 300;
    color: var(--bg-white);
    text-align: center;
    margin: 0;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 1200px) {
    .story-section {
        padding: 0 60px;
    }
    
    .faq-section {
        padding: 40px 60px;
    }
}

@media (max-width: 992px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reasons-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .story-section {
        padding: 0 30px;
    }
    
    .faq-section {
        padding: 40px 30px;
    }
    
    .contact-form-section {
        padding: 40px 30px;
    }
}

/* モバイル版（Top-sp準拠） */
@media (max-width: 768px) {
    /* ========================================
       女性会員ページ - モバイル版
       ======================================== */
    
    /* タイトルセクション */
    .profiles-title-section {
        padding: 16px;
    }
    
    .profiles-title-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .profiles-title-header {
        padding: 0;
    }
    
    .profiles-main-title {
        font-size: 20px;
        text-align: center;
    }
    
    .profiles-title-divider {
        display: none;
    }
    
    .profiles-description {
        padding: 0;
    }
    
    .profiles-description p {
        font-size: 12px;
        text-align: center;
    }
    
    /* 装飾SVG */
    .profiles-decoration {
        padding: 8px 0;
    }
    
    /* 国籍タブ - モバイルではドロップダウンに */
    .nationality-tabs-section {
        padding: 16px;
    }
    
    .nationality-tabs {
        display: none;
    }
    
    /* フィルターセクション */
    .profiles-filter-section {
        padding: 0 16px;
    }
    
    .profiles-filter {
        padding: 16px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    /* 国籍フィルター（モバイル専用、PC版では非表示） */
    .filter-nationality-mobile {
        display: none;
    }
    
    /* モバイルでは国籍フィルターを表示 */
    @media (max-width: 768px) {
        .filter-nationality-mobile {
            display: flex !important;
            flex-basis: 100% !important;
            width: 100% !important;
        }
        
        /* 年齢とステータスを2行目に横並び（各50%） */
        .profiles-filter > .filter-item:nth-child(2),
        .profiles-filter > .filter-item:nth-child(3) {
            flex-basis: calc(50% - 4px) !important;
            width: calc(50% - 4px) !important;
        }
    }
    
    .filter-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .filter-select {
        width: 100% !important;
    }
    
    /* ブログページ - カテゴリセレクトの幅調整 */
    .search-category-group .search-input {
        width: 100% !important;
    }
    
    .filter-dropdown {
        width: 100%;
    }
    
    /* プロフィールカードグリッド */
    .profiles-grid-section {
        padding: 0 16px;
    }
    
    .profiles-grid {
        display: flex !important;
        flex-direction: column !important;
        padding: 16px 16px 32px;
        gap: 8px;
    }
    
    .profile-card {
        width: 100%;
        height: 184px;
        overflow: visible !important;
    }
    
    .profile-card a {
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
        height: 100%;
        text-decoration: none;
    }
    
    .profile-photo {
        width: 120px;
        height: 184px;
        flex-shrink: 0;
    }
    
    .profile-photo img {
        height: 160px;
        object-fit: cover;
        object-position: center;
    }
    
    .profile-badge {
        top: 2px;
        right: auto;
        left: 2px;
        padding: 0 6px;
    }
    
    .profile-info {
        flex: 1;
        padding: 0 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }
    
    .profile-name {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: var(--text-color) !important;
        margin: 0 !important;
    }
    
    .profile-details {
        display: flex !important;
        gap: 8px !important;
    }
    
    .profile-details span {
        font-size: 12px !important;
        font-weight: 300 !important;
        color: var(--text-color) !important;
    }
    
    .profile-status,
    .profile-occupation {
        font-size: 12px !important;
        font-weight: 300 !important;
        color: var(--text-color) !important;
        margin: 0 !important;
    }
    
    /* ブログページ - モバイル版カードレイアウト */
    .blog-card {
        width: 100%;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px;
        padding: 8px 4px 8px 0;
    }
    
    .blog-card > a {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }
    
    .blog-card-image {
        width: 96px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .blog-card-title {
        font-size: 16px !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
        flex: 1;
    }
    
    .blog-card-content {
        display: block !important;
        padding: 0 8px 8px !important;
    }
    
    .blog-card-content p {
        font-size: 12px !important;
        text-align: left !important;
        margin: 0 !important;
    }
    
    /* ページネーション */
    .profiles-pagination-section {
        padding: 0 16px;
    }
    
    .profiles-pagination {
        padding: 16px 0 48px;
        gap: 8px;
    }
    
    /* ヘッダー */
    .header-main {
        padding: 8px 0;
    }
    
    .header-main .container > div {
        gap: 32px;
    }
    
    .header-main nav {
        display: none !important;
    }
    
    /* ハンバーガーメニュー表示 */
    .mobile-menu-icon {
        display: block !important;
        width: 32px;
        height: 32px;
        cursor: pointer;
    }
    
    /* ヒーローセクション */
    .hero-section {
        padding: 16px;
        min-height: auto;
    }
    
    .hero-section::before {
        background: rgba(0, 0, 0, 0.2);
    }
    
    .hero-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-content {
        gap: 32px;
    }
    
    .hero-badge {
        width: 100%;
        padding: 8px 0;
        font-size: 12px;
        border-radius: 8px;
        text-align: center;
    }
    
    /* 最新情報 */
    .news-section {
        padding: 8px 0;
    }
    
    .news-section .container {
        padding: 0 24px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 0;
    }
    
    .news-date {
        font-size: 12px;
    }
    
    .news-text {
        font-size: 14px;
    }
    
    /* リード文 */
    .lead-section {
        padding: 24px 0;
    }
    
    .lead-content {
        padding: 24px 0;
    }
    
    .lead-title {
        font-size: 18px;
    }
    
    .lead-text {
        font-size: 14px;
    }
    
    /* 女性会員セクション */
    .member-section {
        padding: 8px 0 0;
    }
    
    .member-section .row {
        margin: 0;
    }
    
    .member-section .col-lg-3 {
        display: none;
    }
    
    .member-content {
        padding: 0 16px;
    }
    
    .member-title {
        font-size: 18px;
        text-align: center;
    }
    
    .member-line {
        margin: 0 auto;
    }
    
    .member-text {
        font-size: 14px;
        text-align: center;
    }
    
    .member-link {
        font-size: 14px;
        text-align: center;
    }
    
    .member-decoration-bg {
        padding: 8px 0;
    }
    
    /* 女性画像ギャラリー - モバイル */
    .member-gallery {
        margin: 0 -16px;
        padding: 24px 16px;
    }
    
    .member-gallery-scroll {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0;
    }
    
    .member-gallery-scroll img {
        width: 96px;
        height: 128px;
    }
    
    /* STORYセクション */
    .story-section {
        padding: 0;
    }
    
    .story-content {
        padding: 16px 0 0;
    }
    
    .story-header {
        display: none;
    }
    
    .story-description {
        font-size: 14px;
        padding: 0 8px;
        text-align: center;
    }
    
    .story-card {
        flex-direction: row;
        gap: 16px;
        padding: 16px;
    }
    
    .story-card-image {
        width: 80px;
        height: 80px;
    }
    
    .story-year-badge {
        font-size: 12px;
    }
    
    .story-card-title {
        font-size: 14px;
    }
    
    .story-card-text {
        font-size: 12px;
    }
    
    .story-more-link {
        font-size: 14px;
    }
    
    /* MiraiSeedを選ぶ理由 */
    .reasons-section {
        padding: 32px 0 0;
    }
    
    .section-title-large {
        font-size: 28px;
        padding: 0 8px;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
        padding: 24px 16px 8px;
        gap: 24px;
    }
    
    .reasons-grid-2 {
        padding: 0 16px 40px;
    }
    
    .reason-card {
        padding: 8px 4px 8px 0;
    }
    
    .reason-card-image {
        height: 60px;
    }
    
    /* 非婚プランカードの画像位置調整（モバイル版のみ） */
    .reasons-grid-2 .reason-card:nth-child(3) .reason-card-image {
        background-position: center 85%;
    }
    
    .reason-card-title {
        font-size: 16px;
        padding: 0 16px;
    }
    
    .reason-card-text {
        font-size: 14px;
        padding: 0 8px;
    }
    
    /* FAQ */
    .faq-section {
        padding: 40px 16px;
    }
    
    .faq-title {
        font-size: 14px;
    }
    
    .faq-question span {
        font-size: 14px;
    }
    
    /* お問い合わせフォーム */
    .contact-form-section {
        padding: 8px;
        background-position: center;
    }
    
    .contact-form-container {
        padding: 48px 24px;
    }
    
    .contact-form-title {
        font-size: 20px;
    }
    
    .form-label {
        font-size: 16px;
    }
    
    .checkbox-label span {
        font-size: 16px;
    }
    
    /* CTA */
    .cta-section {
        padding: 24px 8px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-text {
        font-size: 14px;
    }
    
    .cta-note {
        font-size: 12px;
    }
    
    .cta-contact {
        flex-direction: row;
        gap: 24px;
    }
    
    .cta-contact-item {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 16px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .section-title-large {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-contact {
        flex-direction: row;
        gap: 24px;
    }
}

/* ハンバーガーメニューアイコン（デスクトップでは非表示） */
.mobile-menu-icon {
    display: none;
}

/* ========================================
   成約事例ページ
   ======================================== */

/* タイトルセクション */
.testimonials-title-section {
    padding: 16px;
}

.testimonials-title-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.testimonials-title-header {
    display: flex;
    align-items: flex-end;
    padding: 0 8px;
}

.testimonials-main-title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.testimonials-title-divider {
    width: 2px;
    height: 36px;
    background-color: var(--text-color);
}

.testimonials-description {
    flex: 1;
    padding: 0 8px;
}

.testimonials-description p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* ストーリーセクション */
.testimonials-stories-section {
    background-color: var(--bg-beige);
}

.testimonials-decoration-top,
.testimonials-decoration-bottom {
    padding: 0;
}

.testimonials-stories-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 32px;
}

.testimonial-card {
    display: flex;
    gap: 8px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
    padding: 16px;
}

.testimonial-image-section {
    width: 104px;
    height: 104px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.testimonial-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-year-badge {
    display: inline-block;
    width: fit-content;
    background-color: var(--accent-color);
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 1000px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.testimonial-names {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.testimonial-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* FAQセクション */
.testimonials-faq-section {
    padding: 40px 120px;
}

.testimonials-faq-container {
    border-radius: 8px;
    overflow: hidden;
}

.testimonials-faq-container .faq-header {
    background-color: var(--bg-gray);
    padding: 8px 16px;
}

.testimonials-faq-container .faq-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.testimonials-faq-container .faq-item {
    border: 2px solid var(--border-light);
    border-top: none;
}

.testimonials-faq-container .faq-item:last-child {
    border-radius: 0 0 8px 8px;
}

.testimonials-faq-container .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    gap: 8px;
}

.testimonials-faq-container .faq-question span {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
    flex: 1;
}

.testimonials-faq-container .faq-question svg {
    flex-shrink: 0;
}

/* 成約事例ページ - モバイル版 */
@media (max-width: 768px) {
    /* タイトルセクション */
    .testimonials-title-section {
        padding: 16px;
    }
    
    .testimonials-title-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .testimonials-main-title {
        font-size: 20px;
        text-align: center;
    }
    
    .testimonials-title-divider {
        display: none;
    }
    
    .testimonials-description p {
        font-size: 12px;
        text-align: center;
    }
    
    /* ストーリーセクション */
    .testimonials-stories-grid {
        padding: 0 16px;
        gap: 8px;
    }
    
    .testimonial-card {
        flex-direction: column;
        padding: 8px 16px;
        gap: 8px;
    }
    
    .testimonial-image-section {
        width: 104px;
        height: 104px;
        align-self: flex-start;
    }
    
    .testimonial-content {
        gap: 8px;
    }
    
    .testimonial-year-badge {
        font-size: 12px;
    }
    
    .testimonial-names {
        font-size: 14px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    /* FAQセクション */
    .testimonials-faq-section {
        padding: 40px 16px;
    }
}

/* ========================================
   ブログページ
   ======================================== */

/* タイトルセクション */
.blog-title-section {
    padding: 16px;
}

.blog-title-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-title-header {
    display: flex;
    align-items: flex-end;
    padding: 0 8px;
}

.blog-main-title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.blog-title-divider {
    width: 2px;
    height: 36px;
    background-color: var(--text-color);
}

.blog-description {
    flex: 1;
    padding: 0 8px;
}

.blog-description p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* 検索セクション */
.blog-search-section {
    padding: 24px;
}

.blog-search-container {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    background-color: var(--bg-gray);
    border-radius: 9999px;
    padding: 16px 48px;
}

.search-category-group,
.search-keyword-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-category-group {
    flex-shrink: 0;
}

.search-keyword-group {
    flex: 1;
}

.search-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.search-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 240px;
    height: 40px;
    padding: 4px 16px;
    border: 1px solid var(--text-color);
    border-radius: 1000px;
    background-color: white;
    cursor: pointer;
}

.search-dropdown span {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-button {
    width: 104px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
    flex-shrink: 0;
}

.search-button:hover {
    background-color: #1e8e4a;
}

/* ブログカードグリッド */
.blog-cards-section {
    padding: 32px 24px;
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

/* PC版：縦並びレイアウト */
.blog-card {
    width: 328px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    padding-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.blog-card > a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    width: 100%;
    height: 206px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    text-align: left;
    padding: 0 16px;
    margin: 16px 0 0 0;
}

.blog-card-content {
    padding: 0 16px;
    margin-top: 16px;
}

.blog-card-content p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    text-align: center;
    margin: 0;
}

/* ブログページネーション */
.blog-pagination-section {
    padding: 24px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.blog-page-button {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
}

.blog-page-button:hover:not(:disabled) {
    background-color: var(--bg-gray);
}

.blog-page-button.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #FFFFFF;
}

.blog-page-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* FAQセクション */
.blog-faq-section {
    padding: 40px 16px;
}

.blog-faq-container {
    border-radius: 8px;
    overflow: hidden;
}

/* お問い合わせフォームセクション */
.blog-contact-form-section {
    padding: 8px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../images/couple-hero.jpg');
    background-size: cover;
    background-position: center;
}

.blog-contact-form-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 48px 24px;
    border-radius: 8px;
}

.blog-contact-form-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    margin-bottom: 24px;
}

.blog-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-form-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.blog-form-control {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.blog-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.blog-textarea {
    height: 152px;
    resize: vertical;
}

.blog-form-hint {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
    margin: 0;
}

.blog-radio-group {
    display: flex;
    gap: 16px;
}

.blog-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.blog-radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.blog-radio-label span {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-color);
}

.blog-checkbox-group {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.blog-checkbox-label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.blog-checkbox-label span {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-color);
}

.blog-btn-submit {
    width: 144px;
    height: auto;
    padding: 12px 16px;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--border-light);
    border-radius: 1000px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    align-self: center;
}

.blog-btn-submit:hover {
    background-color: #1e8e4a;
}

/* CTAセクション */
.blog-cta-section {
    background-color: var(--primary-color);
    padding: 24px 8px;
}

.blog-cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.blog-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.blog-cta-title {
    font-size: 28px;
    font-weight: 600;
    color: white;
    text-align: center;
    margin: 0;
}

.blog-cta-text {
    font-size: 14px;
    font-weight: 300;
    color: white;
    text-align: center;
    margin: 0;
}

.blog-cta-button {
    background-color: white;
    color: var(--text-color);
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 1000px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.blog-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-cta-note {
    font-size: 12px;
    font-weight: 300;
    color: white;
    text-align: center;
    margin: 0;
}

.blog-cta-contact {
    display: flex;
    gap: 24px;
}

.blog-cta-contact-item {
    font-size: 16px;
    font-weight: 300;
    color: white;
    text-decoration: none;
}

.blog-cta-contact-item:hover {
    opacity: 0.8;
}

/* ブログページ - モバイル版 */
@media (max-width: 768px) {
    /* タイトルセクション */
    .blog-title-section {
        padding: 16px;
    }
    
    .blog-title-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .blog-main-title {
        font-size: 20px;
        text-align: center;
    }
    
    .blog-title-divider {
        display: none;
    }
    
    .blog-description p {
        font-size: 12px;
        text-align: center;
    }
    
    /* 検索セクション */
    .blog-search-section {
        padding: 16px;
    }
    
    .blog-search-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        background-color: var(--bg-gray);
        border-radius: 0;
        padding: 16px;
    }
    
    .search-category-group,
    .search-keyword-group {
        gap: 4px;
    }
    
    .search-label {
        font-size: 14px;
        text-align: center;
    }
    
    .search-dropdown {
        width: 100%;
        height: 32px;
    }
    
    .search-dropdown span {
        font-size: 12px;
    }
    
    .search-input {
        height: 32px;
        font-size: 14px;
    }
    
    .search-button {
        width: 104px;
        height: 32px;
        font-size: 16px;
        margin: 0 auto;
    }
    
    /* ブログカードグリッド */
    .blog-cards-section {
        padding: 24px 16px;
        background-color: rgba(34, 195, 176, 0.05);
    }
    
    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .blog-card {
        width: 100%;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px;
        padding: 8px 4px 8px 0;
    }
    
    .blog-card > a {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px;
        align-items: flex-start;
    }
    
    .blog-card-image {
        width: 96px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .blog-card-title {
        font-size: 16px !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
        flex: 1;
    }
    
    .blog-card-content {
        display: block !important;
        padding: 0 8px 8px !important;
    }
    
    .blog-card-content p {
        font-size: 12px !important;
        text-align: left !important;
        margin: 0 !important;
    }
    
    /* ブログページネーション */
    .blog-pagination-section {
        padding: 16px;
    }
    
    .blog-pagination {
        gap: 8px;
    }
    
    .blog-page-button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* FAQセクション */
    .blog-faq-section {
        padding: 40px 16px;
    }
    
    /* お問い合わせフォーム */
    .blog-contact-form-section {
        padding: 8px;
    }
    
    .blog-contact-form-container {
        padding: 48px 24px;
    }
    
    /* CTAセクション */
    .blog-cta-section {
        padding: 24px 8px;
    }
    
    .blog-cta-title {
        font-size: 28px;
    }
    
    .blog-cta-text {
        font-size: 14px;
    }
}

/* ========================================
   モバイルメニュー
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 208px;
    height: 100%;
    background-color: var(--bg-white);
    box-shadow: -6px 0px 8px 0px rgba(0, 0, 0, 0.1);
    padding: 56px 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: 296px;
}

.mobile-menu-item {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    transition: color 0.3s;
}

.mobile-menu-item:hover {
    color: var(--primary-color);
}

.mobile-menu-item.active {
    border-bottom: 2px solid var(--secondary-color);
}

/* ========================================
   サービス案内ページ
   ======================================== */

/* タイトルセクション */
.service-title-section {
    padding: 16px;
}

.service-title-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-title-header {
    display: flex;
    align-items: flex-end;
    padding: 0 8px;
}

.service-main-title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.service-title-divider {
    width: 2px;
    height: 36px;
    background-color: var(--text-color);
}

.service-description {
    flex: 1;
    padding: 0 8px;
}

.service-description p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* メインタブ */
.service-tabs-section {
    padding: 32px 40px 24px;
}

.service-main-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-light);
}

.service-tab {
    flex: 1;
    padding: 8px 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 20px;
    font-weight: 600;
    color: rgba(77, 77, 77, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.service-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.service-tab:hover {
    color: var(--primary-color);
}

/* 比較表セクション */
.comparison-section {
    padding: 32px 120px 48px;
}

.comparison-title {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 24px;
}

.comparison-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--bg-gray);
}

.comparison-header-cell {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    border-right: 2px solid #FFFFFF;
}

.comparison-header-cell:last-child {
    border-right: none;
}

.comparison-header-cell.miraiseed {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 2px solid var(--border-light);
}

.comparison-row:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.comparison-cell {
    padding: 10px 16px;
    border: 2px solid var(--border-light);
    border-top: none;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-cell:first-child {
    border-left: 2px solid var(--border-light);
}

.comparison-cell:last-child {
    border-right: 2px solid var(--border-light);
}

.comparison-row:last-child .comparison-cell:last-child {
    border-radius: 0 0 8px 0;
}

.comparison-cell p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.comparison-cell svg {
    flex-shrink: 0;
}

/* 特徴カードセクション */
.features-section {
    padding: 40px 32px 0;
    background-color: var(--bg-gray);
}

.features-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background-color: var(--bg-mint);
    padding: 40px 48px 24px;
    border-radius: 24px 24px 0 0;
}

.features-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    background-color: var(--bg-mint);
    padding: 0 48px 24px;
    border-radius: 0 0 24px 24px;
}

.feature-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px;
}

.feature-card-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}

.feature-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    text-align: center;
    padding: 0 16px;
    margin: 0;
}

.feature-card-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    text-align: center;
    padding: 0 16px;
    margin: 0;
}

/* サービスの流れ */
.flow-section {
    padding: 40px 120px;
    background-color: var(--bg-gray);
}

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

.flow-step {
    display: flex;
    gap: 32px;
    align-items: center;
    background-color: #FFFFFF;
    padding: 0 40px 0 0;
    border-radius: 9999px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03);
}

.flow-step-number {
    width: 56px;
    height: 56px;
    background-color: #FFFFFF;
    border-radius: 50%;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    flex-shrink: 0;
}

.flow-step-content {
    flex: 1;
    padding: 8px 0;
}

.flow-step-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0 0 8px 0;
}

.flow-step-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* 国別タブ */
.country-tabs-section {
    padding: 24px 24px 0;
}

.country-tabs {
    display: flex;
    gap: 2px;
}

.country-tab {
    flex: 1;
    padding: 8px;
    background-color: var(--bg-gray);
    border: none;
    border-radius: 16px 16px 0 0;
    font-size: 18px;
    font-weight: 600;
    color: rgba(77, 77, 77, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.country-tab.active {
    background-color: rgba(34, 195, 176, 0.05);
    color: var(--primary-color);
}

.country-tab:hover {
    color: var(--primary-color);
}

.country-content {
    display: none;
    padding: 0 24px;
}

.country-content.active {
    display: block;
}

.price-content {
    padding: 40px 0;
}

.price-table-image {
    width: 100%;
    min-height: 400px;
    background-color: #F6F6F6;
    border-radius: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .comparison-section {
        padding: 32px 60px 48px;
    }
    
    .flow-section {
        padding: 40px 60px;
    }
}

@media (max-width: 992px) {
    .features-grid-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* サービスタイトルセクション */
    .service-title-section {
        padding: 16px;
    }
    
    .service-title-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .service-main-title {
        font-size: 20px;
    }
    
    .service-title-divider {
        display: none;
    }
    
    .service-description p {
        font-size: 12px;
        text-align: center;
    }
    
    /* メインタブ */
    .service-tabs-section {
        padding: 8px 0;
    }
    
    .service-tab {
        font-size: 16px;
        padding: 8px 0;
    }
    
    /* 比較表 */
    .comparison-section {
        padding: 24px 8px;
    }
    
    .comparison-title {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .comparison-header-cell,
    .comparison-cell p {
        font-size: 12px;
    }
    
    .comparison-cell {
        padding: 4px;
    }
    
    /* 特徴カード */
    .features-section {
        padding: 24px 16px 8px;
    }
    
    .features-grid-top,
    .features-grid-bottom {
        grid-template-columns: 1fr;
        padding: 24px 16px 8px;
        gap: 8px;
    }
    
    .feature-card {
        padding: 8px 4px 8px 0;
    }
    
    .feature-card-image {
        height: 60px;
    }
    
    .feature-card-title {
        font-size: 16px;
        padding: 0 16px;
    }
    
    .feature-card-text {
        font-size: 14px;
        padding: 0 16px;
    }
    
    /* サービスの流れ */
    .flow-section {
        padding: 24px 16px;
    }
    
    .flow-steps {
        gap: 8px;
    }
    
    .flow-step {
        flex-direction: column;
        gap: 4px;
        padding: 8px 0;
        border-radius: 16px;
        padding: 0 40px 0 16px;
    }
    
    .flow-step-number {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .flow-step-title {
        font-size: 14px;
    }
    
    .flow-step-text {
        font-size: 12px;
    }
    
    /* 国別タブ */
    .country-tabs-section {
        padding: 24px 0 0;
    }
    
    .country-tabs {
        gap: 2px;
    }
    
    .country-tab {
        font-size: 14px;
        padding: 8px;
    }
    
    .country-tab.active {
        background-color: #F4FCFB;
    }
    
    .country-content {
        padding: 0;
    }
    
    .price-content {
        padding: 8px 8px 24px;
    }
    
    /* 料金表のテーブル */
    .country-content .card {
        margin: 0 8px 24px;
    }
    
    .country-content .card-body {
        padding: 16px;
    }
    
    .country-content h3 {
        font-size: 18px;
    }
    
    .country-content p {
        font-size: 12px;
    }
    
    .country-content .h5 {
        font-size: 14px;
    }
    
    .country-content .table {
        font-size: 12px;
    }
    
    .country-content .table th,
    .country-content .table td {
        padding: 8px 4px;
    }
    
    /* FAQ */
    .faq-section {
        padding: 40px 16px;
    }
    
    .faq-title {
        font-size: 14px;
    }
    
    .faq-question span {
        font-size: 14px;
    }
    
    /* お問い合わせフォーム */
    .contact-form-section {
        padding: 8px;
    }
    
    .contact-form-container {
        padding: 48px 24px;
    }
    
    .contact-form-title {
        font-size: 20px;
    }
    
    .form-label {
        font-size: 16px;
    }
    
    .form-control-custom {
        font-size: 14px;
    }
    
    .checkbox-label span {
        font-size: 16px;
    }
    
    /* CTA */
    .cta-section {
        padding: 24px 8px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-text {
        font-size: 14px;
    }
    
    .cta-note {
        font-size: 12px;
    }
    
    .cta-contact {
        flex-direction: row;
        gap: 24px;
    }
    
    .cta-contact-item {
        font-size: 16px;
    }
}
