/* ========================================
   セルフホワイトニングページ専用スタイル
   ミントテーマ — datsumouと同じ構造
======================================== */

:root {
    --w-primary:    #50C9CE;
    --w-secondary:  #28A745;
    --w-gradient:   linear-gradient(135deg, #2EB8BD 0%, #50C9CE 50%, #28A745 100%);
    --w-bg:         #F0FFFC;
}

.whitening-page { background: #F0FFFC; }

/* ヒーロー */
.hero-whitening {
    background: var(--w-gradient);
    min-height: 70vh;
    position: relative;
    padding-top: 80px;
}
.hero-whitening .hero-title {
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 3px 12px rgba(0,0,0,0.15);
}
.hero-whitening .hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
}
.hero-whitening .price-highlight {
    display: block;
    background: rgba(255,255,255,0.3);
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: white;
    font-size: 1.6rem;
    max-width: 500px;
    margin: 10px auto;
}
.hero-whitening .hero-label {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    letter-spacing: 2px;
}
.hero-whitening .hero-features {
    justify-content: flex-start;
    padding-left: 10px;
}
.whitening-page .nav-links a.active {
    color: var(--w-primary);
    font-weight: 700;
    position: relative;
}
.whitening-page .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 100%; height: 3px;
    background: var(--w-gradient);
    border-radius: 3px;
}
.hero-whitening::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 50px;
    background: #F0FFFC;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* BeautySmileセクション */
.beautysm-section { padding: 80px 0; background: white; }
.beautysm-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}
.beautysm-logo-area { text-align: center; }
.bs-brand { font-size: 2rem; font-weight: 700; color: var(--w-primary); line-height: 1.3; margin-bottom: 10px; }
.bs-lead { font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; }
.bs-logo {
    width: 120px; height: 120px;
    background: var(--w-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    font-size: 3.5rem; color: white;
}
.beautysm-description p { font-size: 1.05rem; line-height: 1.9; color: var(--text-light); margin-bottom: 30px; }
.bs-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bs-feature {
    background: linear-gradient(135deg, #f0fffc 0%, #ffffff 100%);
    border-radius: 12px; padding: 20px;
    box-shadow: 0 5px 15px rgba(80,201,206,0.1);
}
.bs-feature-icon { font-size: 1.8rem; color: var(--w-primary); margin-bottom: 10px; }
.bs-feature h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.bs-feature p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* 比較表 */
.comparison-section { padding: 80px 0; background: linear-gradient(180deg, #ffffff 0%, #F0FFFC 100%); }
.comparison-table-wrapper { overflow-x: auto; margin-top: 50px; }
.comparison-table {
    width: 100%; border-collapse: collapse;
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.comparison-table thead { background: var(--w-gradient); color: white; }
.comparison-table th { padding: 20px; font-size: 1.1rem; font-weight: 600; text-align: center; }
.comparison-table td { padding: 18px 20px; text-align: center; border-bottom: 1px solid #e9ecef; font-size: 1.05rem; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .highlight-col { background: linear-gradient(135deg, rgba(80,201,206,0.05), rgba(40,167,69,0.05)); font-weight: 700; color: var(--w-primary); }
.comparison-table thead th.highlight-col { background: rgba(255,255,255,0.25); color: white; }

/* 施術の流れ */
.steps-section-detail { padding: 80px 0; background: white; }
.steps-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.step-detail-card {
    background: linear-gradient(135deg, #f0fffc 0%, #ffffff 100%);
    border-radius: 20px; padding: 40px 30px; text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(80,201,206,0.1);
    transition: all 0.4s ease;
}
.step-detail-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(80,201,206,0.2); }
.step-detail-card.important {
    border: 3px solid var(--w-primary);
    background: linear-gradient(135deg, rgba(80,201,206,0.08), rgba(40,167,69,0.08));
}
.step-number {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 60px;
    background: var(--w-gradient); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700;
    box-shadow: 0 5px 20px rgba(80,201,206,0.4);
}
.step-icon {
    width: 100px; height: 100px;
    background: white; border: 3px solid var(--w-primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 30px auto 25px; font-size: 3rem; color: var(--w-primary);
}
.step-title { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.step-badge {
    display: inline-block; background: var(--w-gradient); color: white;
    border-radius: 20px; padding: 3px 12px; font-size: 0.78rem; font-weight: 700;
    margin-left: 8px; vertical-align: middle;
}
.step-description { font-size: 1.05rem; line-height: 1.8; color: var(--text-light); text-align: left; }
.step-time {
    display: inline-block; margin-top: 15px;
    background: white; border: 2px solid var(--w-primary);
    padding: 6px 20px; border-radius: 20px;
    font-size: 0.95rem; font-weight: 600; color: #1a3a4a;
}
.step-note {
    max-width: 800px; margin: 50px auto 0;
    background: linear-gradient(135deg, rgba(80,201,206,0.1), rgba(40,167,69,0.1));
    padding: 25px 35px; border-radius: 15px;
    border-left: 5px solid var(--w-primary);
    display: flex; align-items: center; gap: 20px;
}
.step-note i { font-size: 2rem; color: var(--w-primary); flex-shrink: 0; }
.step-note p { font-size: 1.1rem; line-height: 1.7; color: var(--text-dark); margin: 0; }
.flow-time-summary {
    text-align: center; margin: 35px auto 0;
    padding: 10px 0; max-width: 600px;
}
.flow-time-main { font-size: 1.6rem; font-weight: 700; color: var(--w-primary); margin-bottom: 8px; }
.flow-time-sub { font-size: 1rem; color: var(--text-light); }

/* 料金プラン */
.pricing-section-detail { padding: 80px 0; background: linear-gradient(180deg, #F0FFFC 0%, #ffffff 100%); }
.pricing-basic {
    max-width: 600px; margin: 0 auto 25px; text-align: center;
    background: rgba(80,201,206,0.08); border: 2px solid var(--w-primary);
    border-radius: 15px; padding: 18px 30px;
}
.pricing-basic p { font-size: 1.05rem; color: var(--text-dark); margin: 0; }
.pricing-notice {
    max-width: 600px; margin: 0 auto 50px;
    background: var(--w-gradient); color: white;
    padding: 20px 30px; border-radius: 50px; text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 15px;
    box-shadow: 0 10px 30px rgba(80,201,206,0.3);
}
.pricing-notice i { font-size: 1.8rem; }
.pricing-notice p { margin: 0; font-size: 1.15rem; font-weight: 600; }
.pricing-grid-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-bottom: 60px; }
.pricing-card-detail {
    background: white; border-radius: 20px; padding: 40px 30px; text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); transition: all 0.4s ease;
    position: relative; border: 3px solid transparent;
}
.pricing-card-detail:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(80,201,206,0.2); border-color: var(--w-primary); }
.pricing-card-detail.popular { border-color: var(--w-primary); transform: scale(1.05); }
.popular-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--w-gradient); color: white;
    padding: 8px 25px; border-radius: 30px;
    font-size: 0.9rem; font-weight: 700; white-space: nowrap;
    box-shadow: 0 5px 15px rgba(80,201,206,0.4);
}
.plan-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(80,201,206,0.1), rgba(40,167,69,0.1));
    color: var(--w-primary); padding: 6px 18px; border-radius: 20px;
    font-size: 0.9rem; font-weight: 600; margin-bottom: 20px;
}
.plan-name { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin-bottom: 15px; }
.plan-time { font-size: 1.1rem; color: var(--text-light); margin-bottom: 20px; }
.plan-price { margin: 25px 0; }
.price-original { display: block; font-size: 1.2rem; color: #999; text-decoration: line-through; margin-bottom: 8px; }
.price-current { display: block; font-size: 3rem; font-weight: 700; color: var(--w-primary); }
.plan-description { font-size: 1rem; line-height: 1.7; color: var(--text-light); margin: 20px 0 30px; text-align: left; }
.btn-plan {
    display: inline-block; padding: 15px 35px;
    background: var(--w-gradient); color: white;
    border-radius: 50px; font-weight: 600; transition: all 0.3s ease;
    text-decoration: none;
}
.btn-plan:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(80,201,206,0.4); }

/* 回数券 */
.ticket-section {
    max-width: 1000px; margin: 60px auto 0;
    background: white; padding: 50px 40px;
    border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.ticket-title {
    text-align: center; font-size: 2rem; font-weight: 700; color: var(--text-dark);
    margin-bottom: 40px; display: flex; align-items: center; justify-content: center; gap: 15px;
}
.ticket-title i { color: var(--w-primary); font-size: 2.2rem; }
.ticket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ticket-card {
    background: linear-gradient(135deg, #f0fffc 0%, #ffffff 100%);
    border: 2px solid #e0f5f5; border-radius: 15px; padding: 30px 25px;
    text-align: center; transition: all 0.3s ease; position: relative;
}
.ticket-card:hover { transform: translateY(-5px); border-color: var(--w-primary); box-shadow: 0 10px 30px rgba(80,201,206,0.15); }
.ticket-card.recommended { border-color: var(--w-primary); border-width: 3px; }
.ticket-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--w-gradient); color: white;
    padding: 5px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; white-space: nowrap;
}
.ticket-name { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 15px; }
.ticket-price { font-size: 2.5rem; font-weight: 700; color: var(--w-primary); margin: 15px 0; }
.ticket-unit { font-size: 1rem; color: var(--text-light); margin-bottom: 10px; }
.ticket-save {
    display: inline-block;
    background: linear-gradient(135deg, rgba(80,201,206,0.1), rgba(40,167,69,0.1));
    color: var(--w-primary); padding: 8px 15px; border-radius: 20px;
    font-size: 0.95rem; font-weight: 600; margin-top: 10px;
}
.discount-notice {
    max-width: 600px; margin: 50px auto 0;
    background: linear-gradient(135deg, rgba(80,201,206,0.1), rgba(40,167,69,0.1));
    padding: 20px 30px; border-radius: 50px; text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 15px;
    border: 2px solid var(--w-primary);
}
.discount-notice i { font-size: 1.8rem; color: var(--w-primary); }
.discount-notice p { margin: 0; font-size: 1.1rem; color: var(--text-dark); }

/* FAQ */
.faq-section-detail { padding: 80px 0; background: white; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: white; border: 2px solid #e9ecef;
    border-radius: 15px; margin-bottom: 20px;
    overflow: hidden; transition: all 0.3s ease;
}
.faq-item:hover { border-color: var(--w-primary); box-shadow: 0 5px 20px rgba(80,201,206,0.1); }
.faq-question {
    display: flex; align-items: center; padding: 25px 30px;
    cursor: pointer; background: linear-gradient(135deg, #f0fffc 0%, #ffffff 100%);
    transition: all 0.3s ease;
}
.faq-question:hover { background: linear-gradient(135deg, rgba(80,201,206,0.05), rgba(40,167,69,0.05)); }
.faq-question i.fa-question-circle { font-size: 1.5rem; color: var(--w-primary); margin-right: 15px; flex-shrink: 0; }
.faq-question h3 { flex: 1; font-size: 1.15rem; font-weight: 600; color: var(--text-dark); margin: 0; }
.faq-toggle { font-size: 1.2rem; color: var(--w-primary); transition: transform 0.3s ease; }
.faq-item.active .faq-toggle { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: white; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 30px 25px 70px; font-size: 1.05rem; line-height: 1.8; color: var(--text-light); margin: 0; }

/* お客様の声 */
.reviews-section-detail { padding: 80px 0; background: linear-gradient(180deg, #F0FFFC 0%, #ffffff 100%); }
.review-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 900px; margin: 50px auto; }
.stat-box { background: white; padding: 40px 30px; border-radius: 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.stat-number { font-size: 3.5rem; font-weight: 700; color: var(--w-primary); margin-bottom: 10px; }
.stat-label { font-size: 1.1rem; color: var(--text-light); margin-bottom: 10px; }
.stat-stars { font-size: 1.3rem; color: #FFD700; }
.reviews-grid-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 50px; }
.review-card-detail { background: white; border-radius: 20px; padding: 35px 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; }
.review-card-detail:hover { transform: translateY(-5px); box-shadow: 0 15px 45px rgba(80,201,206,0.15); }
.review-rating { font-size: 1.2rem; color: #FFD700; margin-bottom: 20px; }
.review-text { font-size: 1.05rem; line-height: 1.8; color: var(--text-dark); margin-bottom: 20px; font-style: italic; }
.review-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid #e9ecef; font-size: 0.95rem; color: var(--text-light); }

/* 予約・アクセス */
.reserve-section-detail { padding: 80px 0; background: white; }
.reserve-content { max-width: 1100px; margin: 0 auto; }
.reserve-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 60px; }
.reserve-method {
    background: linear-gradient(135deg, #f0fffc 0%, #ffffff 100%);
    border: 2px solid #e0f5f5; border-radius: 20px; padding: 40px 35px;
    text-align: center; transition: all 0.3s ease;
}
.reserve-method:hover { border-color: var(--w-primary); box-shadow: 0 10px 30px rgba(80,201,206,0.15); }
.reserve-method i { font-size: 3rem; color: var(--w-primary); margin-bottom: 20px; }
.reserve-method h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 15px; }
.reserve-method p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 25px; }
.btn-reserve { display: inline-flex; align-items: center; gap: 12px; padding: 16px 40px; border-radius: 50px; font-size: 1.1rem; font-weight: 600; text-decoration: none; color: white; transition: all 0.3s ease; }
.btn-hotpepper { background: linear-gradient(135deg, #FF6B9D, #C44569); }
.btn-hotpepper:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(255,107,157,0.4); }
.btn-phone-wh { background: var(--w-gradient); }
.btn-phone-wh:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(80,201,206,0.4); }
.reserve-hours { font-size: 0.95rem; color: var(--text-light); margin-top: 15px; }
.access-info { background: linear-gradient(135deg, #f0fffc 0%, #ffffff 100%); border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.access-title { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }
.access-title i { color: var(--w-primary); }
.access-details { margin-bottom: 30px; line-height: 1.9; font-size: 1.05rem; }
.access-details p { margin-bottom: 10px; }
.access-details strong { font-size: 1.2rem; color: var(--text-dark); }
.access-details i { color: var(--w-primary); margin-right: 8px; }
.map-container { border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

/* レスポンシブ */
@media (max-width: 1024px) {
    .beautysm-main { grid-template-columns: 1fr; }
    .steps-detail-grid, .pricing-grid-detail { grid-template-columns: repeat(2, 1fr); }
    .pricing-card-detail.popular { transform: scale(1); }
    .reviews-grid-detail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-whitening .hero-title { font-size: 2.2rem; }
    .hero-whitening .hero-subtitle { font-size: 1.1rem; }
    .hero-whitening .price-highlight { font-size: 1.3rem; }
    .steps-detail-grid, .pricing-grid-detail, .ticket-grid,
    .review-stats, .reviews-grid-detail, .reserve-methods, .bs-features-grid { grid-template-columns: 1fr; }
    .comparison-table { font-size: 0.9rem; }
    .comparison-table th, .comparison-table td { padding: 12px 10px; }
    .step-note { flex-direction: column; text-align: center; }
    .faq-answer p { padding-left: 30px; }
    .pricing-notice { flex-direction: column; text-align: center; border-radius: 20px; padding: 20px; }
    .whitening-page .nav-links.active { background: rgba(0,0,0,0.85); }
}
@media (max-width: 480px) {
    .hero-whitening .hero-title { font-size: 1.8rem; }
    .step-detail-card, .pricing-card-detail, .review-card-detail { padding: 30px 20px; }
    .discount-notice { flex-direction: column; text-align: center; padding: 20px; border-radius: 20px; }
}

/* ========================================
   追加定義（補完）
======================================== */

/* スキップリンク */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--w-primary);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s;
}
.skip-to-content:focus {
    top: 0;
}

/* BeautySmile説明エリア */
.beautysm-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* フッター内カラム（style.cssのfooter-contentのgrid子要素） */
.footer-info p,
.footer-links ul,
.footer-links ul li,
.footer-links ul li a {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.8;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links ul li a:hover {
    color: white;
    padding-left: 4px;
}
.footer-links h4,
.footer-info p:first-of-type {
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* トップへ戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--w-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(80,201,206,0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(80,201,206,0.5);
}
.back-to-top.visible {
    display: flex;
}

/* footer-info / footer-links 単独セレクタ（grid子要素として機能） */
.footer-info,
.footer-links {
    display: flex;
    flex-direction: column;
}

/* ── Before/After セクション ── */
.ba-section {
    padding: 80px 0;
    background: #FFFDF5;
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.ba-grid-single {
    display: flex;
    justify-content: center;
    grid-template-columns: unset;
    max-width: 100%;
}

.ba-grid-single .ba-card {
    width: 240px;
    flex-shrink: 0;
}

.ba-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.ba-card img {
    width: 100%;
    height: auto;
    display: block;
}

.ba-caption {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    padding: 10px 12px;
    background: #fff;
    margin: 0;
}

@media (max-width: 600px) {
    .ba-grid {
        grid-template-columns: 1fr;
    }
}

