/* === ヘッダー === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 10px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.header-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s ease;
    z-index: 1011;
    flex-shrink: 0;
}
.site-header.scrolled .header-logo {
    color: var(--text-dark);
}

/* モバイルメニュー */
.header-nav, .header-cta { display: none; }
.hamburger-menu { display: flex; flex-direction: column; gap: 5px; width: 30px; height: 22px; background: none; border: none; cursor: pointer; padding: 0; z-index: 1010; }
.hamburger-menu span { display: block; width: 100%; height: 3px; background-color: var(--white); border-radius: 3px; transition: all 0.3s ease-in-out; }
.site-header.scrolled .hamburger-menu span { background-color: var(--text-dark); }
.hamburger-menu.active span:nth-of-type(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active span:nth-of-type(2) { opacity: 0; }
.hamburger-menu.active span:nth-of-type(3) { transform: translateY(-8px) rotate(-45deg); }
.header-nav.active { display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(253, 249, 247, 0.98); backdrop-filter: blur(5px); flex-direction: column; justify-content: center; align-items: center; }
.header-nav.active ul { flex-direction: column; text-align: center; gap: 25px; padding: 0; list-style: none; }
.header-nav.active a { color: var(--text-dark); font-size: 1.5rem; text-decoration: none; font-weight: 700; }

/* PC用ナビゲーション */
@media (min-width: 993px) {
    .hamburger-menu { display: none; }
    .header-nav, .header-cta { display: block; }
    .header-nav { margin-right: auto; margin-left: 50px; }
    .header-nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: row; gap: 35px; }
    .header-nav a { text-decoration: none; color: var(--white); font-weight: 700; font-size: 0.95rem; position: relative; padding-bottom: 5px; transition: color 0.3s ease; }
    .site-header.scrolled .header-nav a { color: var(--text-dark); }
    .header-nav a:hover { color: var(--primary-color); }
    .header-cta .cta-button { padding: 8px 20px; font-size: 0.9rem; box-shadow: none; }
}

/* === 基本設定 === */
:root {
    --base-bg: #FDF9F7;
    --white: #fff;
    --text-dark: #444;
    --text-gray: #777;
    --primary-color: #C18F8F;
    --primary-color-dark: #A57E7E;
    --accent-color: #B18E66;
    --secondary-bg: #F5F1EF;
    --line-green: #00C300;
    --line-green-dark: #00A300;
    --header-height: 74px; 
}

*, *::before, *::after { box-sizing: border-box; }
body { padding-top: var(--header-height); font-family: 'Noto Serif JP', serif; font-weight: 400; color: var(--text-dark); line-height: 1.9; font-size: 16px; letter-spacing: 0.06em; margin: 0; background-color: var(--base-bg); overflow-x: hidden; scroll-behavior: smooth; }
.container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 25px; }
img { max-width: 100%; height: auto; display: block; }
.py-100 { padding: 80px 0; }
.text-center { text-align: center; }
.section-subtitle { max-width: 600px; margin: -40px auto 40px; color: var(--text-gray); line-height: 1.8; text-align: center; }
.disclaimer { font-size: 0.8rem; color: var(--text-gray); margin: 15px 0; }
strong { font-weight: 700; color: var(--primary-color-dark); }

/* === セクションタイトル === */
h2.section-title, h3 { font-family: 'Noto Serif JP', serif; font-weight: 700; }
h2.section-title { font-size: 1.6rem; line-height: 1.5; letter-spacing: 0.08em; text-align: center; margin-bottom: 60px; position: relative; }
h2.section-title::after { content: ''; position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); width: 70px; height: 2px; background-color: var(--accent-color); }

/* === CTAボタン === */
.cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: all 0.3s ease; box-shadow: 0 5px 20px rgba(0,0,0,0.1); font-size: 1rem; border: none; cursor: pointer; font-family: sans-serif; }
.cta-button.primary { background-color: var(--primary-color); color: var(--white); }
.cta-button.primary:hover { background-color: var(--primary-color-dark); transform: translateY(-3px); }
.cta-button.line { background-color: var(--line-green); color: #fff; }
.cta-button.line:hover { background-color: var(--line-green-dark); transform: translateY(-3px); }

/* === 最終CTAエリアのデザイン === */
.final-cta-area {
    margin-top: 50px;
}
.cta-lead-text {
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.8;
    color: var(--text-dark);
}
.final-cta-area .cta-button {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* === ヒーローセクション === */
.hero-section { margin-top: calc(-1 * var(--header-height)); position: relative; height: 75vh; min-height: 550px; display: flex; align-items: center; justify-content: center; background-image: url('images/main-visual.jpg'); background-size: cover; background-position: center; text-align: center; color: var(--white); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1; }
.hero-content-container { position: relative; z-index: 2; }
.site-descriptor { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; text-shadow: 0 1px 3px rgba(0,0,0,0.4); margin-bottom: 20px; padding: 0 10px; }
.hero-content h1 { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 1.65rem; text-shadow: 0 2px 5px rgba(0,0,0,0.4); margin: 0 0 15px 0; line-height: 1.6; }
.hero-content p { text-shadow: 0 1px 3px rgba(0,0,0,0.4); margin: 15px 0; }
.scroll-down-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--white); text-decoration: none; }
.scroll-down-indicator i { animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }

/* === 本文レイアウト === */
.problem-section .container,
.care-section .container,
.profile-section .container,
.price-section .container,
.faq-section .container {
    text-align: left;
}
.text-center, .care-section .text-center, .price-section .text-center { text-align: center; }

/* === お悩みセクション === */
.problem-section { background-color: var(--white); }
.problem-list { list-style: none; padding-left: 0; margin: 0; }
.problem-list li { position: relative; padding-left: 30px; margin-bottom: 20px; font-size: 1rem; }
.problem-list li i { position: absolute; left: 0; top: 5px; color: var(--primary-color); font-size: 1.4rem; }
.bridge-text { text-align: center; font-size: 1.2rem; font-weight: 700; margin-top: 50px; background: var(--secondary-bg); padding: 25px; border-radius: 12px; }

/* === 動画セクション === */
.salon-movie-section { background-color: var(--base-bg); }
.video-popup-trigger { position: relative; max-width: 800px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.15); cursor: pointer; }
.video-popup-trigger img { width: 100%; display: block; }
.play-button-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.3); display: flex; justify-content: center; align-items: center; transition: background-color 0.3s ease; }
.video-popup-trigger:hover .play-button-overlay { background-color: rgba(0,0,0,0.1); }
.play-button-icon { background-color: rgba(255, 255, 255, 0.2); border: 2px solid var(--white); border-radius: 50%; width: 70px; height: 70px; display: flex; justify-content: center; align-items: center; color: var(--white); font-size: 2rem; backdrop-filter: blur(5px); transition: transform 0.3s ease; }
.play-button-icon i { margin-left: 5px; }
.video-popup-trigger:hover .play-button-icon { transform: scale(1.1); }

/* === モーダルビデオ === */
.video-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); display: none; justify-content: center; align-items: center; z-index: 2000; }
.video-modal-content { position: relative; width: 90%; max-width: 960px; background-color: #000; box-shadow: 0 10px 50px rgba(0,0,0,0.5); }
.video-modal-content video { width: 100%; height: auto; display: block; }
.close-video-button { position: absolute; top: -40px; right: 0; background: none; border: none; color: var(--white); font-size: 2.5rem; font-weight: bold; cursor: pointer; opacity: 0.8; transition: opacity 0.3s ease; }
.close-video-button:hover { opacity: 1; }

/* === ケアの流れ === */
.care-section { background-color: var(--secondary-bg); }
.care-flow { display: grid; grid-template-columns: 1fr; gap: 30px; }
.care-step { background-color: var(--white); padding: 30px 20px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: center; }
.care-image-wrapper { margin-bottom: 25px; }
.care-image-wrapper img { border-radius: 12px; }
.care-content { display: flex; flex-direction: column; align-items: center; width: 100%; text-align: left;}
.care-step-number-box { margin-bottom: 15px; text-align: center; }
.care-step-number { font-family: 'Noto Serif JP', serif; font-size: 1.2rem; font-weight: 700; color: var(--accent-color); letter-spacing: 0.1em; }
.care-content h3 { font-size: 1.5rem; color: var(--primary-color-dark); margin: 0 0 10px 0; line-height: 1.5; text-align: center;}
.care-content p { margin: 0; color: var(--text-gray); max-width: 450px; }

/* === プロフィール === */
.profile-section { background-color: var(--white); }
.story-section-wrapper { background: var(--secondary-bg); padding: 30px; border-radius: 16px; margin-top: 0; }
.story-profile { text-align: center; margin-bottom: 30px; }
.story-profile img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 5px solid var(--white); box-shadow: 0 5px 20px rgba(193, 143, 143, 0.3); margin: 0 auto 20px; }
.profile-content h3 { font-size: 1.5rem; color: var(--primary-color-dark); text-align: center; margin-bottom: 20px; }
.profile-accordion { margin: 30px 0; }
.profile-accordion details { border-bottom: 1px solid #ddd; margin-bottom: 10px; }
.profile-accordion summary { font-weight: 700; font-size: 1.1rem; cursor: pointer; padding: 15px 0; outline: none; position: relative; list-style: none; }
.profile-accordion summary::after { content: '+'; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; }
.profile-accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.profile-about, .profile-qualifications, .profile-story { padding: 15px; margin-top: 10px; border-radius: 8px; background: var(--white); }
.profile-story p + p { margin-top: 1em; }
.profile-about ul, .profile-qualifications ul { list-style: disc; padding-left: 20px; }
.btn-group { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* === お客様の声・料金 === */
.reviews-grid, .price-grid { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 20px; 
    margin: 20px 0 0 0;  /* <-- 変更（マイナスマージンを削除） */
    padding: 20px 0;    /* <-- 変更（左右のパディングを削除） */
    -webkit-overflow-scrolling: touch; 
}
.reviews-grid::-webkit-scrollbar, .price-grid::-webkit-scrollbar { display: none; }
.review-card, .price-card { flex: 0 0 85%; scroll-snap-align: start; max-width: 340px; }
.review-section { background-color: var(--white); }
.review-card { padding: 30px; border-left: 5px solid var(--primary-color); background-color: var(--secondary-bg); border-radius: 8px; text-align: left; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.review-card blockquote { font-style: italic; color: var(--text-gray); margin: 0 0 20px; padding: 0; border: none; }
.star-rating { color: gold; margin-bottom: 15px; }
.reviewer-info { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 0.9rem; }
.reviewer-info img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); }

.price-section { background-color: var(--secondary-bg); }
.price-card { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); text-align: center; border-top: 5px solid var(--primary-color); display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; }
.price-card .course-description { text-align: left; }
.price-card .course-description .small-text { font-size: 0.8rem; opacity: 0.8; margin-top: 1em; }
.price-card.featured { border-top-color: var(--accent-color); box-shadow: 0 15px 40px rgba(177, 142, 102, 0.2); }
.price-card h3 { font-size: 1.5rem; color: var(--primary-color-dark); line-height: 1.3; margin-bottom: 10px; }
.price-card .price { font-size: 2rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; }
.limited-offer { color: #d9534f; font-weight: 700; font-size: 0.9rem; margin-bottom: 5px; font-family: sans-serif; }
.price-card .strike { text-decoration: line-through; color: var(--text-gray); }
.price-card .recommend-text { font-size: 0.95rem; font-weight: 700; color: var(--accent-color); margin-top: 20px; }

/* === FAQ === */
.faq-section { background-color: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; padding: 15px 0; }
.faq-item summary { font-weight: 700; font-size: 1.1rem; cursor: pointer; outline: none; position: relative; padding-right: 30px; list-style: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 15px 0 0 10px; color: var(--text-gray); }

/* === フッター & フローティングボタン === */
footer { text-align: center; padding: 40px 20px; background: var(--secondary-bg); color: var(--text-gray); margin-bottom: 100px; }
footer .sns-links a { color: var(--primary-color); font-size: 1.5rem; margin: 0 10px; text-decoration: none; }
.cta-floating { position: fixed; bottom: 20px; right: 20px; z-index: 1000; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s ease; }
.cta-floating.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.cta-floating .cta-button { padding: 12px 25px; font-size: 0.9rem; }

/* === PC向けスタイル === */
@media (min-width: 993px) {
    body { font-size: 16px; }
    .py-100 { padding: 120px 0; }
    h2.section-title { font-size: 2.8rem; }
    .hero-section { height: 90vh; }
    .hero-content h1 { font-size: 3rem; }
    
    .reviews-grid, .price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); overflow-x: visible; margin: 20px auto 0; padding: 0; }
    .review-card, .price-card { flex: 1; }
    .price-card.featured { transform: scale(1.05); }
    
    .care-flow { grid-template-columns: 1fr; gap: 80px; }
    .care-step { flex-direction: row; text-align: left; background-color: transparent; padding: 0; box-shadow: none; border-radius: 0; align-items: center; }
    .care-step:nth-child(even) { flex-direction: row-reverse; }
    .care-image-wrapper { flex: 1; min-width: 0; margin-bottom: 0; }
    .care-image-wrapper img { max-width: 400px; margin: 0; border-radius: 12px; }
    .care-content { flex: 1.2; align-items: flex-start; padding: 0 40px; text-align: left; }
    .care-content h3 { text-align: left; font-size: 1.6rem;}
    
    .story-section-wrapper { display: flex; align-items: flex-start; gap: 40px; }
    .story-profile { flex: 1; min-width: 0; }
    .profile-content { flex: 2; min-width: 0; }
    .profile-content h3 { text-align: left; }
    .btn-group { justify-content: flex-start; }
    
    .faq-item summary { text-align: left; }
}

/* === 見出しの自動改行最適化 === */
h2.section-title,
.hero-content h1,         
.site-descriptor,         
.sub-headline,           
.section-subtitle,     
.care-content h3,
.profile-content h3,
.price-card h3,
.cta-lead-text 
{
    text-wrap: balance;
    word-break: keep-all;
} 

.bridge-text {
    word-break: keep-all;
}

p.section-subtitle {
    word-break: normal;
}
/* === 料金セクションのスタイル（完全版） === */

/* カードのデザイン */
.price-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    border-top: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}
.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.price-card h3 { font-size: 1.6rem; margin-bottom: 20px; }
.price-text { margin-bottom: 15px; font-size: 1.1rem; color: var(--text-gray); }
.price-text .price-value { font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin-right: 5px; }
.price-text .price { font-size: 2.2rem; color: var(--primary-color); }
.limited-offer { font-weight: 700; color: #d9534f; margin-bottom: 20px; }
.card-description { font-size: 0.95rem; color: var(--text-gray); line-height: 1.8; text-align: left; flex-grow: 1; min-height: 100px; }

/* 特典リスト */
.features-list { list-style: none; padding: 0; margin-top: 25px; text-align: left; }
.features-list li { padding-left: 28px; position: relative; margin-bottom: 12px; font-size: 0.95rem; }
.features-list li::before { font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; }
.features-list li.included::before { content: "\f00c"; color: var(--primary-color); }
.features-list li.excluded { color: #aaa; text-decoration: line-through; }
.features-list li.excluded::before { content: "\f00d"; color: #ccc; }
.features-list li.info-item { text-decoration: none; color: #aaa; }

/* バッジ */
.price-card .badge { position: absolute; top: 18px; right: -35px; transform: rotate(45deg); background-color: var(--primary-color); color: white; padding: 5px 35px; font-size: 0.8rem; font-weight: 700; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.price-card.featured { border-top-color: var(--accent-color); }
.price-card .badge.recommend { background-color: var(--accent-color); }

/* PCで「一番人気」を際立たせる */
@media (min-width: 993px) {
    .price-card.standard-plan { transform: scale(1.05); box-shadow: 0 20px 50px rgba(177, 142, 102, 0.2); }
    .price-card.standard-plan:hover { transform: scale(1.05) translateY(-8px); }
}

/* サービス詳細欄 */
.service-details-wrapper { margin-top: 60px; }
.details-title { font-size: 1.5rem; color: var(--primary-color-dark); margin-bottom: 25px; }
.service-details-box { display: grid; grid-template-columns: 1fr; gap: 20px; text-align: left; }
.service-detail-item { background: #F8F5F3; padding: 25px; border-radius: 8px; border-left: 4px solid var(--accent-color); }
.service-detail-item h4 { font-size: 1.1rem; color: var(--primary-color-dark); margin: 0 0 10px 0; }
.service-detail-item h4 i { margin-right: 8px; color: var(--accent-color); width: 20px; text-align: center; }
.service-detail-item p { font-size: 0.95rem; color: var(--text-gray); margin: 0; line-height: 1.8; }
@media (min-width: 768px) { .service-details-box { grid-template-columns: 1fr 1fr; } }

/* 比較表 */
.comparison-table-wrapper { margin-top: 60px; }
.table-title { font-size: 1.5rem; color: var(--primary-color-dark); margin-bottom: 25px; }
.table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; min-width: 600px; border-collapse: collapse; background: var(--white); box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden; font-size: 0.9rem; }
.comparison-table th, .comparison-table td { padding: 15px 10px; text-align: center; border-bottom: 1px solid #f0e9e9; white-space: nowrap; }
.comparison-table th { background-color: #F8F5F3; font-weight: 700; }
.comparison-table td:first-child { text-align: left; font-weight: 700; color: var(--text-dark); padding-left: 20px; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .symbol-yes { color: var(--primary-color); font-weight: bold; font-size: 1.2em; }
.comparison-table .symbol-no { color: #ccc; font-weight: bold; font-size: 1.2em; }
/* ▼▼▼ 一般整体のスタイル ▼▼▼ */
.sub-price-info {
    margin-top: 60px;
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}
.sub-price-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color-dark);
    margin: 0 0 10px;
}
.sub-price-info .sub-price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px;
}
.sub-price-info .sub-price-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}
/* ▲▲▲ 一般整体のスタイルここまで ▲▲▲ */
/* 安心メッセージ */
.reassurance-message { margin-top: 50px; padding: 25px; background: #F8F5F3; border-left: 5px solid var(--accent-color); border-radius: 8px; font-size: 0.95rem; line-height: 1.8; }
.reassurance-message p { margin: 0; }