/* メザメ（Me THE Me）ワイヤーフレーム用スタイル */

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* グローバルヘッダー */
.global-header {
    background-color: #fff;
    border-bottom: 2px solid #ddd;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease;
}

.global-header.scrolled-down {
    padding: 0px 0;
}

.header-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* ロゴとナビゲーションを横並びにする */
.logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
    color: #333;
    display: inline-block;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.global-nav {
    margin-left: auto;
}

.global-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.global-nav a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
}

/* PC表示時はBLOGとNEWS、よくあるご質問、お問い合わせを非表示 */
@media (min-width: 769px) {
    .global-nav a[href*="blog.html"],
    .global-nav a[href*="news.html"],
    .global-nav a[href*="faq.html"],
    .global-nav a[href*="contact.html"] {
        display: none;
    }
}

/* ハンバーガーボタン */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 固定CTA（ページ右側中央） */
.fixed-cta {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.fixed-cta.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.fixed-cta:not(.show) {
    transform: translateY(-50%) translateX(20px);
}

.fixed-cta .btn-cta {
    white-space: nowrap;
    padding: 12px 20px;
    font-size: 14px;
}

/* SP時は固定CTAを非表示 */
@media (max-width: 768px) {
    .fixed-cta {
        display: none !important;
    }
}

/* スマホ用追従CTA（画面下部） */
.mobile-fixed-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-fixed-cta {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        background-color: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        padding: 10px;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-btn-cta {
        flex: 1;
        padding: 12px 8px;
        font-size: 14px;
        text-align: center;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        transition: opacity 0.3s;
        white-space: nowrap;
    }

    .mobile-btn-cta:active {
        opacity: 0.7;
    }

    .mobile-btn-cta.btn-reservation {
        background-color: #007bff;
        color: #fff;
    }

    .mobile-btn-cta.btn-experience {
        background-color: #28a745;
        color: #fff;
    }

    .mobile-btn-cta:not(.btn-reservation):not(.btn-experience) {
        background-color: #007bff;
        color: #fff;
    }

    /* スマホ用追従CTAの下にコンテンツが隠れないようにbodyにpadding-bottomを追加 */
    body {
        padding-bottom: 70px;
    }
}

/* 電話モーダル */
/* キャンペーンバナーモーダル */
.campaign-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.campaign-modal.active {
    opacity: 1;
    visibility: visible;
}

.campaign-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.campaign-modal.active .campaign-modal-overlay {
    opacity: 1;
}

.campaign-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    z-index: 10002;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.campaign-modal.active .campaign-modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.campaign-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    z-index: 10003;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.campaign-modal-close:hover {
    background-color: #f0f0f0;
    color: #007bff;
}

.campaign-modal-body {
    width: 100%;
}

.campaign-modal-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.campaign-modal-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    display: block;
    object-fit: cover;
}

.campaign-modal-text {
    padding: 30px;
    text-align: center;
    background-color: #fff;
}

.campaign-modal-text h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.campaign-modal-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.campaign-modal-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.campaign-modal-link:hover .campaign-modal-cta {
    background-color: #0056b3;
}

/* 電話モーダル */
.phone-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.phone-modal.active {
    opacity: 1;
    visibility: visible;
}

.phone-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phone-modal.active .phone-modal-overlay {
    opacity: 1;
}

.phone-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10002;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.phone-modal.active .phone-modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.phone-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    z-index: 10003;
    transition: color 0.3s;
}

.phone-modal-close:hover {
    color: #007bff;
}

.phone-modal-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.phone-modal-text h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.phone-modal-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.phone-modal-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.phone-modal-info-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
}

.phone-modal-info-item dt {
    font-weight: bold;
    color: #333;
    min-width: 100px;
    font-size: 16px;
}

.phone-modal-info-item dd {
    color: #333;
    font-size: 16px;
    margin: 0;
}

.phone-modal-info-item dd a {
    color: #007bff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.phone-modal-info-item dd a:hover {
    text-decoration: underline;
}

.phone-modal-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.phone-modal-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* レスポンシブ：キャンペーンバナーモーダル */
@media (max-width: 768px) {
    .campaign-modal-content {
        max-width: 90%;
        width: 90%;
    }

    .campaign-modal-close {
        top: 8px;
        right: 8px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .campaign-modal-image {
        max-height: 150px;
    }

    .campaign-modal-text {
        padding: 20px;
    }

    .campaign-modal-text h2 {
        font-size: 20px;
    }

    .campaign-modal-text p {
        font-size: 14px;
    }

    .campaign-modal-cta {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* レスポンシブ：電話モーダル */
@media (max-width: 768px) {
    .phone-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .phone-modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .phone-modal-text h2 {
        font-size: 20px;
    }

    .phone-modal-text p {
        font-size: 14px;
    }

    .phone-modal-info-item {
        flex-direction: column;
        gap: 5px;
    }

    .phone-modal-info-item dt {
        min-width: auto;
    }
}

/* ボタンスタイル */
.btn-primary,
.btn-secondary,
.btn-cta {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

/* 来店予約と体験・診断サービス以外のボタンは青色を維持 */
.btn-primary:not(.btn-reservation):not(.btn-experience),
.btn-secondary:not(.btn-reservation):not(.btn-experience),
.btn-cta:not(.btn-reservation):not(.btn-experience) {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:not(.btn-reservation):not(.btn-experience):hover,
.btn-secondary:not(.btn-reservation):not(.btn-experience):hover,
.btn-cta:not(.btn-reservation):not(.btn-experience):hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-cta {
    background-color: #007bff;
    color: #fff;
    font-size: 14px;
}

/* 来店予約ボタン（緑色） - ボタンクラスのみに適用 */
.btn-reservation,
.btn-primary.btn-reservation,
.btn-secondary.btn-reservation,
.btn-cta.btn-reservation,
a.btn-primary[href*="reservation.html"],
a.btn-secondary[href*="reservation.html"],
a.btn-cta[href*="reservation.html"] {
    background-color: #28a745 !important;
    color: #fff !important;
}

.btn-reservation:hover,
.btn-primary.btn-reservation:hover,
.btn-secondary.btn-reservation:hover,
.btn-cta.btn-reservation:hover,
a.btn-primary[href*="reservation.html"]:hover,
a.btn-secondary[href*="reservation.html"]:hover,
a.btn-cta[href*="reservation.html"]:hover {
    background-color: #218838 !important;
}

/* 体験・診断サービスボタン（オレンジ色） - ボタンクラスのみに適用 */
.btn-experience,
.btn-primary.btn-experience,
.btn-secondary.btn-experience,
.btn-cta.btn-experience,
a.btn-primary[href*="experience.html"],
a.btn-secondary[href*="experience.html"],
a.btn-cta[href*="experience.html"],
a.btn-primary[href*="#consultation"],
a.btn-secondary[href*="#consultation"],
a.btn-cta[href*="#consultation"],
a.btn-primary[href*="#reservation"],
a.btn-secondary[href*="#reservation"],
a.btn-cta[href*="#reservation"] {
    background-color: #ff8c00 !important;
    color: #fff !important;
}

.btn-experience:hover,
.btn-primary.btn-experience:hover,
.btn-secondary.btn-experience:hover,
.btn-cta.btn-experience:hover,
a.btn-primary[href*="experience.html"]:hover,
a.btn-secondary[href*="experience.html"]:hover,
a.btn-cta[href*="experience.html"]:hover,
a.btn-primary[href*="#consultation"]:hover,
a.btn-secondary[href*="#consultation"]:hover,
a.btn-cta[href*="#consultation"]:hover,
a.btn-primary[href*="#reservation"]:hover,
a.btn-secondary[href*="#reservation"]:hover,
a.btn-cta[href*="#reservation"]:hover {
    background-color: #e67e00 !important;
}

/* それ以外のボタンは青色（デフォルト） - ボタンクラスのみに適用 */
/* ただし、experience.htmlや#reservation、#consultationを含むリンクは除外 */
.btn-primary:not(.btn-reservation):not(.btn-experience):not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
.btn-secondary:not(.btn-reservation):not(.btn-experience):not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
.btn-cta:not(.btn-reservation):not(.btn-experience):not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-primary[href^="tel:"],
a.btn-secondary[href^="tel:"],
a.btn-cta[href^="tel:"],
a.btn-primary[href*="campaign.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-secondary[href*="campaign.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-cta[href*="campaign.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-primary[href*="store.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-secondary[href*="store.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-cta[href*="store.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-primary[href*="brand-comparison.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-secondary[href*="brand-comparison.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-cta[href*="brand-comparison.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-primary[href*="testimonials.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-secondary[href*="testimonials.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-cta[href*="testimonials.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-primary[href*="guide.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-secondary[href*="guide.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-cta[href*="guide.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-primary[href*="blog.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-secondary[href*="blog.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-cta[href*="blog.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-primary[href*="news.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-secondary[href*="news.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]),
a.btn-cta[href*="news.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]) {
    background-color: #007bff !important;
    color: #fff !important;
}

.btn-primary:not(.btn-reservation):not(.btn-experience):not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
.btn-secondary:not(.btn-reservation):not(.btn-experience):not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
.btn-cta:not(.btn-reservation):not(.btn-experience):not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-primary[href^="tel:"]:hover,
a.btn-secondary[href^="tel:"]:hover,
a.btn-cta[href^="tel:"]:hover,
a.btn-primary[href*="campaign.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-secondary[href*="campaign.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-cta[href*="campaign.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-primary[href*="store.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-secondary[href*="store.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-cta[href*="store.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-primary[href*="brand-comparison.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-secondary[href*="brand-comparison.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-cta[href*="brand-comparison.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-primary[href*="testimonials.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-secondary[href*="testimonials.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-cta[href*="testimonials.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-primary[href*="guide.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-secondary[href*="guide.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-cta[href*="guide.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-primary[href*="blog.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-secondary[href*="blog.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-cta[href*="blog.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-primary[href*="news.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-secondary[href*="news.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover,
a.btn-cta[href*="news.html"]:not([href*="experience.html"]):not([href*="#reservation"]):not([href*="#consultation"]):hover {
    background-color: #0056b3 !important;
}

/* ヒーローセクション */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-align: center;
}

.hero-content .container {
    padding: 60px 20px;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: normal;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ページヘッダー */
.page-header {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* セクション */
section {
    background-color: #fff;
    margin: 20px 0;
    padding: 40px 0;
}

/* heroセクションは除外 */
section.hero {
    margin: 0;
    padding: 0;
}

section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

section h3 {
    font-size: 22px;
    margin: 20px 0 10px;
}

/* グリッドレイアウト */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.flow-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}

.testimonials-grid,
.models-grid,
.reviews-grid,
.fairs-grid,
.benefits-grid,
.cases-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.why-choose-us-message {
    text-align: center;
    margin: 40px 0;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.why-choose-us-cta {
    text-align: center;
    margin-top: 30px;
}

/* ステップ表示 */
.step {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 30px;
    align-items: start;
}

.step-left {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.step-image {
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1 / 1;
    position: relative;
}

.step-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.step-right {
    display: flex;
    flex-direction: column;
}

.step h3 {
    margin-top: 0;
    margin-bottom: 12px;
    text-align: left;
}

.step-lead {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: left;
}

.step p {
    line-height: 1.8;
    color: #555;
    text-align: left;
}

/* 診断内容・所要時間 */
.diagnosis-section {
    padding: 60px 0;
}

.diagnosis-content {
    margin-top: 30px;
}

.diagnosis-items {
    margin-bottom: 40px;
}

.diagnosis-items h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
}

.diagnosis-items-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.diagnosis-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diagnosis-items-image {
    width: 100%;
}

.diagnosis-items-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.diagnosis-items li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.8;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.diagnosis-items li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.diagnosis-items li:last-child {
    border-bottom: none;
}

.diagnosis-note {
    font-style: italic;
    color: #666;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #007bff;
    border-radius: 5px;
    margin-top: 20px;
}

.duration-info {
    padding: 25px;
    background-color: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.duration-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 22px;
}

.duration-time {
    font-size: 32px;
    font-weight: bold;
    color: #007bff;
    margin: 15px 0;
    text-align: center;
}

.duration-note {
    margin: 15px 0 0 0;
    line-height: 1.8;
    color: #555;
}

/* 試し寝ブース紹介 */
.try-sleep-booth {
    padding: 60px 0;
}

.booth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.booth-item {
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.booth-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

.booth-item-image {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.booth-item-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.booth-item p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

/* スタッフ紹介 */
.staff-introduction {
    padding: 60px 0;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.staff-item {
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.staff-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

.staff-item-image {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.staff-item-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.staff-role {
    font-weight: 600;
    color: #007bff;
    margin-bottom: 12px;
    font-size: 16px;
}

.staff-item p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

/* 予約フォーム */
.reservation-form-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.reservation-form-section h2 {
    margin-bottom: 15px;
}

.cta-text {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.experience-flow-message {
    text-align: center;
    margin: 40px 0;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.experience-flow-cta {
    text-align: center;
    margin-top: 30px;
}

/* 来店予約ページ */
.reservation-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.reservation-section h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-lead {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
}

.reservation-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
}

.form-section h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
}

.required {
    color: #e74c3c;
    font-size: 14px;
    margin-left: 5px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-note {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    line-height: 1.6;
}

.checkbox-group {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label span {
    line-height: 1.6;
}

.checkbox-label a {
    color: #007bff;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #0056b3;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
    font-weight: bold;
}

.form-submit .form-note {
    margin-top: 15px;
    text-align: center;
}

/* テーブル */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* CTAセクション */
.final-cta {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.final-cta-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.final-cta-image {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.final-cta-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.final-cta-text {
    text-align: left;
}

.final-cta-text h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.4;
}

.final-cta-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.final-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.final-cta-buttons .btn-primary {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-block;
}

.store-access-cta {
    padding: 60px 0;
}

.store-access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
}

.map-container {
    width: 100%;
    min-height: 300px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.map-container p {
    color: #999;
    font-size: 14px;
}

.store-access-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.store-info-list {
    margin: 0;
    padding: 0;
}

.store-info-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.store-info-item:last-child {
    margin-bottom: 0;
}

.store-info-item dt {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    min-width: 100px;
    flex-shrink: 0;
}

.store-info-item dd {
    margin: 0;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
    flex: 1;
}

.store-info-item dd a {
    color: #007bff;
    text-decoration: none;
}

.store-info-item dd a:hover {
    text-decoration: underline;
}

/* index.htmlのBlog & Newsセクション */
.blog-news-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.blog-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.blog-news-column {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.blog-news-column h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd;
}

.blog-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.blog-news-item:last-child {
    border-bottom: none;
}

.blog-news-date {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.blog-news-title {
    display: block;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s;
}

.blog-news-title:hover {
    color: #007bff;
    text-decoration: underline;
}

.blog-news-cta {
    margin-top: 25px;
    text-align: center;
}

/* store.htmlのinfo-content（2カラムレイアウト：左画像、右テキスト） */
.info-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

.info-content-image {
    width: 100%;
}

.info-content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    object-fit: cover;
}

.info-content-text {
    flex: 1;
}

/* store.htmlのstore-photos */
.store-photos {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.photos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

.floor {
    padding: 30px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.floor h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

.floor-description {
    margin: 0 0 15px 0;
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

.floor-brands {
    margin: 0 0 20px 0;
    line-height: 1.8;
    color: #666;
    font-size: 15px;
    font-weight: bold;
}

.floor-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.floor-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* ガイドページ */
.guide-section {
    padding: 60px 0;
}

.guide-section h2 {
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.guide-content {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ベッド選びの考え方のみ2カラム */
.guide-content-approach {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.guide-content-image {
    width: 100%;
}

.guide-content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.guide-content-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.guide-item {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.guide-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

.guide-item p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

/* 体型別の選び方 */
.body-type-section {
    margin-bottom: 40px;
}

.body-type-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
}

.body-type-item-image {
    width: 100%;
}

.body-type-item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.body-type-item-text {
    display: flex;
    flex-direction: column;
}

.body-type-item-text h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #333;
    font-size: 18px;
}

.body-type-item-text p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

.posture-section {
    padding: 25px;
    background-color: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.posture-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.posture-section-image {
    width: 100%;
    margin-bottom: 20px;
}

.posture-section-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16 / 6;
}

.posture-section p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

/* 硬さ・素材・構造 */
.hardness-section,
.structure-section {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.hardness-section h3,
.structure-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.hardness-section p,
.structure-section p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

.material-section {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.material-section h3 {
    grid-column: 1 / -1;
    margin-top: 0;
    margin-bottom: 20px;
}

.material-item {
    margin-bottom: 0;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.material-item h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.material-item-image {
    width: 100%;
    margin-bottom: 15px;
}

.material-item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.material-item p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

/* 失敗例 */
.failure-item {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    align-items: start;
}

.failure-item-image {
    width: 100%;
}

.failure-item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.failure-item-text {
    display: flex;
    flex-direction: column;
}

.failure-item-text h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #dc3545;
    font-size: 20px;
}

.failure-item-text h4 {
    margin-top: 20px;
    margin-bottom: 12px;
    color: #007bff;
    font-size: 18px;
}

.failure-item-text p {
    margin: 0 0 10px 0;
    line-height: 1.8;
    color: #555;
}

.guide-cta,
.testimonials-cta,
.campaign-cta,
.blog-cta,
.brand-comparison-cta {
    text-align: center;
    padding: 60px 0;
}

.brand-comparison-cta {
    text-align: left;
}

.brand-comparison-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.brand-comparison-image {
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

.brand-comparison-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.brand-comparison-text {
    text-align: left;
}

.brand-comparison-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.brand-comparison-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 16px;
    text-align: left;
}

.brand-comparison-text .btn-primary {
    margin-top: 20px;
}

.brand-comparison-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0 30px;
}

.brand-feature-item {
    text-align: center;
}

.brand-feature-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    margin-bottom: 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.brand-feature-item p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Before/After */
.before-section,
.after-section {
    padding: 20px;
    margin: 10px 0;
    border-radius: 5px;
}

.before-section {
    background-color: #ffe6e6;
}

.after-section {
    background-color: #e6f7e6;
}

/* testimonials.htmlのstory-case-title */
.story-case-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

/* testimonials.htmlのbefore-section/after-section内のh4 */
.before-section h4,
.after-section h4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.before-section p,
.after-section p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

/* testimonials.htmlのcustomer-info */
.customer-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.customer-info p {
    margin: 0;
    line-height: 1.8;
    color: #555;
    font-size: 14px;
}

.customer-info strong {
    color: #333;
    font-weight: bold;
}

/* 購入後の体験ストーリー */
.before-after-story {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* before-after-story内のstory-itemsは3カラム */
.before-after-story .story-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.story-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.stories-grid {
    margin: 30px 0;
}

/* before-after-story内のstory-itemはgridなし（画像とテキストが縦に並ぶ） */
.before-after-story .story-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    display: block;
}

.before-after-story .story-image-container {
    margin-bottom: 15px;
}

.before-after-story .story-item p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

.story-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
}

/* story-itemの左側（画像と商品情報） */
.story-item-left {
    display: flex;
    flex-direction: column;
}

.story-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 5px;
}

.story-sample-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-product-info {
    text-align: center;
}

.story-brand-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
}

.story-product-name {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* story-itemの右側（Before/Afterコンテンツ） */
.story-item-right {
    display: flex;
    flex-direction: column;
}

.story-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-image.before-img {
    opacity: 1;
    z-index: 2;
    animation: fadeSwitch 8s ease-in-out infinite;
}

.story-image.after-img {
    opacity: 0;
    z-index: 1;
    animation: fadeSwitch 8s ease-in-out infinite reverse;
}

@keyframes fadeSwitch {
    0%, 45% {
        opacity: 1;
    }
    50%, 95% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.story-item p {
    margin: 0;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.story-message {
    text-align: center;
    margin: 40px 0;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.story-cta {
    text-align: center;
    margin-top: 30px;
}

/* グローバルフッター */
.global-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-nav h3,
.footer-info h3,
.footer-brands h3 {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}

.footer-nav ul,
.footer-brands ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-brands a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-brands a:hover {
    color: #fff;
}

.footer-info {
    padding: 0;
}

.footer-info dl {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-info-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.footer-info dt {
    font-weight: bold;
    margin: 0;
    color: #fff;
    font-size: 14px;
    display: inline-block;
    min-width: 80px;
    flex-shrink: 0;
}

.footer-info dd {
    margin: 0;
    color: #ccc;
    line-height: 1.8;
    font-size: 14px;
    display: inline-block;
    flex: 1;
}

.footer-info dd a {
    color: #fff;
    text-decoration: none;
}

.footer-info dd a:hover {
    text-decoration: underline;
}

.footer-divider {
    border-top: 1px solid #555;
    margin: 30px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.copyright {
    text-align: left;
    color: #aaa;
    margin: 0;
}

.privacy-policy {
    margin: 0;
}

.privacy-policy a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-policy a:hover {
    color: #fff;
}

/* プライバシーポリシーページ */
.privacy-policy-section {
    padding: 60px 0;
    background-color: #fff;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.privacy-updated {
    text-align: right;
    color: #666;
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.privacy-section p {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.privacy-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.privacy-section li {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
}

.privacy-contact {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 5px;
    margin-top: 20px;
}

.privacy-contact p {
    margin-bottom: 10px;
    color: #333;
}

.privacy-contact strong {
    font-size: 18px;
    color: #333;
}

.privacy-contact a {
    color: #007bff;
    text-decoration: none;
}

.privacy-contact a:hover {
    text-decoration: underline;
}

/* レスポンシブ：プライバシーポリシーページ */
@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 40px 0;
    }

    .privacy-content {
        padding: 0 20px;
    }

    .privacy-updated {
        text-align: left;
        font-size: 12px;
    }

    .privacy-section h2 {
        font-size: 20px;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 14px;
    }

    .privacy-contact {
        padding: 20px;
    }
}

/* ページトップへ戻るボタン */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    cursor: pointer;
}

.page-top.show {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
}

.page-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

/* ページトップへ戻るボタン */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    cursor: pointer;
}

.page-top.show {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
}

.page-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

/* プレースホルダー */
.map-placeholder,
.characteristics-map {
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 取扱いブランド一覧 */
.all-brands-link {
    padding: 60px 0;
}

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

.brand-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.brand-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f5f5f5;
}

.brand-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.brand-link:hover .brand-thumbnail img {
    transform: scale(1.05);
}

.brand-name {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

/* 目的別おすすめ */
.purpose-category {
    margin-bottom: 60px;
}

.purpose-category h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.purpose-category-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: flex-start;
}

.purpose-category-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

.purpose-category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.recommended-brands {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-card {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
}

.brand-card h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.brand-card p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

/* ワイヤーフレーム用の視覚的区別 */
.reason-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
    text-align: center;
}

.reason-image {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1 / 1;
}

.reason-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.reason-item h3 {
    margin-top: 0;
}

.testimonial-item,
.model-item,
.review-item,
.fair-item,
.benefit-item,
.case-item,
.article-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
}

/* testimonials.htmlのcase-category */
.case-category {
    margin-bottom: 40px;
}

.case-category h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

.case-item h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.case-item p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

/* testimonials.htmlのfollow-up-experience */
.follow-up-experience {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.follow-up-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.follow-up-item {
    padding: 25px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.follow-up-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.follow-up-voice {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    margin: 0 0 10px 0;
}

.follow-up-item p:not(.follow-up-voice) {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

/* レスポンシブ */
@media (max-width: 768px) {
    /* スマートフォン時の基本フォントサイズ調整 */
    body {
        font-size: 14px;
        padding-bottom: 70px;
    }

    .global-header {
        padding: 0px 0;
    }

    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 0;
    }

    .logo img {
        max-height: 50px;
    }

    /* ハンバーガーボタンを表示 */
    .hamburger-btn {
        display: flex;
    }

    /* 通常のナビゲーションを非表示 */
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
        margin-left: 0;
    }

    .global-nav.active {
        right: 0;
    }

    .global-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .global-nav li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .global-nav a {
        display: block;
        padding: 15px 10px;
        width: 100%;
        font-size: 16px;
    }

    /* メニューオーバーレイ */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }

    .fixed-cta {
        display: none !important;
    }

    .hero {
        height: 100vh;
    }

    .hero-content {
        height: 100%;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

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

    .reasons-grid,
    .flow-steps,
    .testimonials-grid,
    .models-grid,
    .reviews-grid,
    .fairs-grid,
    .benefits-grid,
    .cases-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-comparison-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-comparison-text {
        text-align: center;
    }

    .brand-comparison-text h2 {
        text-align: center;
    }

    .brand-comparison-text p {
        text-align: center;
    }

    .brand-comparison-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* before-after-story内のstory-itemsもスマホで1カラム */
    .before-after-story .story-items {
        grid-template-columns: 1fr;
    }

    .story-items {
        grid-template-columns: 1fr;
    }

    /* before-after-story内のstory-itemはgridなし（スマホ） */
    /* gridなしなのでスタイル不要 */

    /* story-itemをスマホで1カラムに変更 */
    .story-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-item-left {
        order: 1;
    }

    .story-item-right {
        order: 2;
    }

    .footer-info-item {
        flex-direction: column;
        gap: 5px;
    }

    .footer-info dt {
        min-width: auto;
    }

    .page-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .final-cta-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .final-cta-text h2 {
        font-size: 20px;
    }

    .final-cta-text p {
        font-size: 14px;
    }

    .final-cta-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .final-cta-buttons .btn-primary {
        width: 100%;
        text-align: center;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .purpose-category-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .purpose-category-image {
        order: 2;
    }

    .recommended-brands {
        order: 1;
    }

    .store-access-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* index.htmlのBlog & Newsセクションのスマホ対応 */
    .blog-news-section {
        padding: 40px 0;
    }

    .blog-news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-news-column {
        padding: 20px;
    }

    .blog-news-column h3 {
        font-size: 20px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .blog-news-item {
        padding: 12px 0;
    }

    .blog-news-date {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .blog-news-title {
        font-size: 14px;
    }

    .blog-news-cta {
        margin-top: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .copyright {
        text-align: center;
    }

    .privacy-policy {
        text-align: center;
    }

    .reservation-section {
        padding: 40px 0;
    }

    .reservation-section h1 {
        font-size: 24px;
    }

    .section-lead {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .reservation-form {
        max-width: 100%;
        padding: 30px 20px;
        margin: 0 20px;
    }

    .form-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .form-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

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

    .btn-large {
        padding: 15px 40px;
        font-size: 16px;
        width: 100%;
    }

    /* ページヘッダー */
    .page-header {
        padding: 30px 0;
    }

    .page-header h1 {
        font-size: 24px;
    }

    /* セクション */
    section h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    section h3 {
        font-size: 18px;
        margin: 15px 0 8px;
    }

    /* 見出しと本文のサイズ調整 */
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* ボタンのサイズ調整 */
    .btn-primary,
    .btn-secondary,
    .btn-cta {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* その他のテキスト要素 */
    .why-choose-us-message,
    .experience-flow-message,
    .story-message {
        font-size: 16px;
    }

    .reason-item h3,
    .step h3,
    .brand-card h4 {
        font-size: 18px;
    }

    .reason-item p,
    .step p,
    .brand-card p,
    .testimonial-item p,
    .model-item p,
    .review-item p {
        font-size: 14px;
    }

    /* CTAセクション */
    .guide-cta h2,
    .testimonials-cta h2,
    .campaign-cta h2,
    .blog-cta h2,
    .brand-comparison-cta h2 {
        font-size: 20px;
    }

    .guide-cta p,
    .testimonials-cta p,
    .campaign-cta p,
    .blog-cta p,
    .brand-comparison-cta p {
        font-size: 14px;
    }

    /* ガイドページのスマホ対応 */
    .guide-section {
        padding: 40px 0;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    /* guide-content-approachを1カラムに変更（スマホ） */
    .guide-content-approach {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .guide-content-image {
        order: 1;
    }

    .guide-content-text {
        order: 2;
        gap: 20px;
    }

    .guide-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .guide-item h3 {
        font-size: 18px;
    }

    .guide-item p {
        font-size: 14px;
    }

    /* body-type-itemを1カラムに変更 */
    .body-type-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .body-type-item-image {
        order: 1;
    }

    .body-type-item-text {
        order: 2;
    }

    .body-type-item-text h4 {
        font-size: 16px;
    }

    .body-type-item-text p {
        font-size: 14px;
    }

    /* material-sectionを1カラムに変更（スマホ） */
    .material-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .material-item {
        padding: 15px;
        margin-bottom: 0;
    }

    .material-item h4 {
        font-size: 16px;
    }

    .material-item-image {
        margin-bottom: 12px;
    }

    .material-item p {
        font-size: 14px;
    }

    .posture-section,
    .hardness-section,
    .structure-section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .posture-section h3,
    .hardness-section h3,
    .structure-section h3 {
        font-size: 18px;
    }

    .posture-section-image {
        margin-bottom: 15px;
    }

    .posture-section p,
    .hardness-section p,
    .structure-section p {
        font-size: 14px;
    }

    /* failure-itemを1カラムに変更 */
    .failure-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .failure-item-image {
        order: 1;
    }

    .failure-item-text {
        order: 2;
    }

    .failure-item-text h3 {
        font-size: 18px;
    }

    .failure-item-text h4 {
        font-size: 16px;
        margin-top: 15px;
    }

    .failure-item-text p {
        font-size: 14px;
    }

    /* フッター */
    .footer-nav h3,
    .footer-info h3,
    .footer-brands h3 {
        font-size: 16px;
    }

    .footer-nav a,
    .footer-brands a,
    .footer-info dt,
    .footer-info dd {
        font-size: 13px;
    }

    /* ストーリーセクション */
    .story-item p {
        font-size: 14px;
    }

    /* testimonials.htmlのスマホ対応 */
    .story-case-title {
        font-size: 18px;
    }

    .before-section h4,
    .after-section h4 {
        font-size: 15px;
    }

    .before-section p,
    .after-section p {
        font-size: 14px;
    }

    .customer-info p {
        font-size: 13px;
    }

    .case-category h3 {
        font-size: 20px;
    }

    .case-item h4 {
        font-size: 16px;
    }

    .case-item p {
        font-size: 14px;
    }

    .follow-up-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .follow-up-item {
        padding: 20px;
    }

    .follow-up-item h3 {
        font-size: 16px;
    }

    .follow-up-item p:not(.follow-up-voice) {
        font-size: 14px;
    }

    /* ブランド比較 */
    .brand-comparison-text h2 {
        font-size: 20px;
    }

    .brand-comparison-text p {
        font-size: 14px;
    }

    .brand-feature-item p {
        font-size: 13px;
    }

    /* 店舗情報 */
    .store-info-item dt,
    .store-info-item dd {
        font-size: 14px;
    }

    /* store.htmlのスマホ対応 */
    .info-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-content-image {
        order: 1;
    }

    .info-content-text {
        order: 2;
    }

    .floor {
        padding: 20px;
    }

    .floor h3 {
        font-size: 20px;
    }

    .floor-description {
        font-size: 14px;
    }

    .floor-brands {
        font-size: 13px;
    }

    .floor-images {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* フォーム要素 */
    .form-group label {
        font-size: 14px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"],
    .form-group input[type="date"],
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }

    /* テーブル */
    table th,
    table td {
        font-size: 13px;
        padding: 8px;
    }

    /* stepを2カラム維持（スマホ） */
    .step {
        grid-template-columns: 100px 1fr;
        gap: 20px;
        padding: 15px;
    }

    /* ステップ番号 */
    .step-number {
        font-size: 10px;
        width: 28px;
        height: 28px;
        top: 8px;
        left: 8px;
    }

    .step-image {
        margin-bottom: 0;
    }

    .step-lead {
        font-size: 15px;
    }

    .step p {
        font-size: 14px;
    }

    /* 診断内容・所要時間のスマホ対応 */
    .diagnosis-section {
        padding: 40px 0;
    }

    .diagnosis-items-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .diagnosis-items-image {
        order: 1;
    }

    .diagnosis-items ul {
        order: 2;
        margin-bottom: 0;
    }

    .diagnosis-items h3 {
        font-size: 20px;
    }

    .diagnosis-items li {
        font-size: 14px;
        padding: 10px 0 10px 20px;
    }

    .diagnosis-note {
        font-size: 14px;
        padding: 12px;
    }

    .duration-info {
        padding: 20px;
    }

    .duration-info h3 {
        font-size: 20px;
    }

    .duration-time {
        font-size: 24px;
    }

    .duration-note {
        font-size: 14px;
    }

    /* 試し寝ブース紹介のスマホ対応 */
    .try-sleep-booth {
        padding: 40px 0;
    }

    .booth-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .booth-item {
        padding: 20px;
    }

    .booth-item h3 {
        font-size: 18px;
    }

    .booth-item-image {
        margin-bottom: 12px;
    }

    .booth-item p {
        font-size: 14px;
    }

    /* スタッフ紹介のスマホ対応 */
    .staff-introduction {
        padding: 40px 0;
    }

    .staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .staff-item {
        padding: 20px;
    }

    .staff-item h3 {
        font-size: 18px;
    }

    .staff-item-image {
        margin-bottom: 12px;
    }

    .staff-role {
        font-size: 15px;
    }

    .staff-item p {
        font-size: 14px;
    }

    /* 予約フォームのスマホ対応 */
    .reservation-form-section {
        padding: 40px 0;
    }

    .cta-text {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .form-note {
        font-size: 12px;
    }
}

/* FAQページ */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.faq-cta {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.faq-cta h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.faq-cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.faq-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* お問い合わせページ */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    margin-bottom: 60px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.contact-info > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-method-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.contact-method-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.contact-method-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.contact-phone {
    font-size: 24px;
    font-weight: bold;
    margin: 15px 0;
}

.contact-phone a {
    color: #007bff;
    text-decoration: none;
}

.contact-phone a:hover {
    text-decoration: underline;
}

.contact-hours {
    font-size: 14px;
    color: #666;
}

.contact-address {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.contact-form-wrapper {
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: 8px;
}

.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.form-lead {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-form {
    max-width: 100%;
}

.contact-form .form-section h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.checkbox-label a {
    color: #007bff;
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-submit .btn-primary {
    padding: 15px 50px;
    font-size: 18px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .faq-cta {
        padding: 40px 0;
    }

    .faq-cta h2 {
        font-size: 24px;
    }

    .faq-cta p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .faq-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .faq-cta .cta-buttons .btn-primary,
    .faq-cta .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-info {
        margin-bottom: 40px;
    }

    .contact-info h2 {
        font-size: 24px;
    }

    .contact-info > p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-method-item {
        padding: 20px;
    }

    .contact-method-item h3 {
        font-size: 18px;
    }

    .contact-method-item p {
        font-size: 14px;
    }

    .contact-phone {
        font-size: 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-form-wrapper h2 {
        font-size: 24px;
    }

    .form-lead {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .contact-form .form-section h3 {
        font-size: 18px;
    }

    .form-submit .btn-primary {
        width: 100%;
        padding: 15px 30px;
        font-size: 16px;
    }
}

