/*
Theme Name: Hanamura Theme
Theme URI: https://hanamurachiro205.com/
Description: 花村カイロプラクティック・リニューアル用テーマ（ヘッダー・フッター調整版）
Author: Your Name
Version: 1.1
*/

/* ====================================
   1. 基本設定・変数
   ==================================== */
   :root {
    --main-orange: #f39800;       /* 信頼と温かみのオレンジ */
    --accent-red: #e60012;        /* キャンペーンなどの強調色 */
    --bg-beige: #fff9f0;          /* 優しい背景色 */
    --text-black: #333333;        /* 通常文字色 */
    --text-gray: #666666;
    --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

body {
    font-family: var(--font-base);
    color: var(--text-black);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fff;
}

a {
    color: var(--text-black);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    opacity: 0.7;
    cursor: pointer;
}

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

h1, h2, h3 {
    margin: 0;
    font-weight: bold;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* ====================================
   2. ヘッダー（PC・スマホ ハンバーガー対応版）
   ==================================== */
   header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* --- ロゴ --- */
.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px; /* PCでのサイズ */
    width: auto;
}

/* --- PC用ナビゲーション --- */
.global-nav ul {
    display: flex;
    gap: 25px;
}

.global-nav a {
    font-weight: bold;
    font-size: 15px;
    position: relative;
    padding-bottom: 5px;
    color: var(--text-black);
    display: block;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main-orange);
    transition: 0.3s;
}

.global-nav a:hover {
    color: var(--main-orange);
}

.global-nav a:hover::after {
    width: 100%;
}

/* --- ハンバーガーボタン（PCでは非表示） --- */
.hamburger-btn {
    display: none; /* デフォルト非表示 */
}

/* --- スマホメニューエリア（PCでは非表示） --- */
.sp-nav {
    display: none;
}

/* ====================================
   スマホ表示時のヘッダー調整 (max-width: 900pxあたりから切り替え推奨)
   今回はスマホサイズ(767px)で切り替えます
   ==================================== */
   @media screen and (max-width: 767px) {
    header {
        padding: 10px 0;
    }

    .header-inner {
        padding: 0 15px;
        position: relative; /* ボタン配置の基準 */
    }

    /* ロゴ調整 */
    .logo {
        position: relative;
        z-index: 1001; /* メニューより手前 */
    }
    
    .logo img {
        max-height: 45px; /* スマホでは少し小さく */
    }

    /* PCメニューは隠す */
    .global-nav {
        display: none;
    }

    /* --- ハンバーガーボタン --- */
    .hamburger-btn {
        display: block;
        position: relative;
        z-index: 1002; /* 最前面 */
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    /* 3本線 */
    .hamburger-btn span {
        position: absolute;
        left: 50%;
        width: 25px;
        height: 2px;
        background-color: var(--main-orange); /* オレンジ色 */
        transform: translateX(-50%);
        transition: 0.3s;
    }

    .hamburger-btn span:nth-of-type(1) { top: 12px; }
    .hamburger-btn span:nth-of-type(2) { top: 19px; }
    .hamburger-btn span:nth-of-type(3) { top: 26px; }

    /* ×印になるアニメーション */
    .hamburger-btn.active span:nth-of-type(1) {
        top: 19px;
        transform: translateX(-50%) rotate(45deg);
    }
    .hamburger-btn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .hamburger-btn.active span:nth-of-type(3) {
        top: 19px;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* --- スマホ用全画面メニュー --- */
    .sp-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff; /* 背景色 */
        z-index: 1000; /* ヘッダーの下、コンテンツの上 */
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        overflow-y: auto; /* 縦スクロール可 */
        padding-top: 50px; /* ヘッダー分の余白 */
        padding-bottom: 180px;
    }

    .sp-nav.active {
        opacity: 1;
        visibility: visible;
    }

    .sp-nav-inner {
        padding: 20px;
        padding-bottom: 60px;
    }

    /* メニューリスト */
    .sp-nav-list {
        margin-bottom: 10px;
        border-bottom: 1px solid #eee;
    }

    .sp-nav-list li {
        border-top: 1px solid #eee;
    }

    .sp-nav-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        font-size: 15px;
        font-weight: bold;
        color: #333;
    }

    .sp-nav-list a span {
        font-size: 12px;
        color: var(--main-orange);
        font-family: Arial, sans-serif;
        font-weight: normal;
        letter-spacing: 1px;
    }

    /* 矢印アイコン */
    .sp-nav-list a::after {
        content: '›';
        font-size: 20px;
        color: #ccc;
        margin-left: 10px;
    }

    /* インフォーメーションエリア */
    .sp-nav-info {
        background: var(--bg-beige);
        padding: 15px;
        border-radius: 10px;
        text-align: center;
    }

    .sp-shop-name {
        font-weight: bold;
        font-size: 18px;
        color: var(--main-orange);
        margin-bottom: 10px;
    }

    .sp-address, .sp-time {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 10px;
        color: #666;
    }

    .sp-btn-area {
        display: flex;
        gap: 10px;
        margin-top: 20px;
    }

    .sp-btn {
        flex: 1;
        display: block;
        padding: 12px 0;
        border-radius: 30px;
        font-weight: bold;
        font-size: 14px;
        text-align: center;
    }

    .sp-btn.tel {
        background: #fff;
        border: 2px solid var(--main-orange);
        color: var(--main-orange);
    }

    .sp-btn.web {
        background: var(--main-orange);
        color: #fff !important;
        border: 2px solid var(--main-orange);
    }
}
/* ====================================
   3. 共通パーツ（レイアウト・ボタン）
   ==================================== */
   .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.pb80 {
    padding-bottom: 80px;
}

/* セクション設定 */
section {
    padding: 80px 0;
}

/* セクションタイトル（英語＋日本語） */
.section-title {
    text-align: center;
    font-size: 24px;
    color: var(--main-orange);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title span {
    color: #333;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    font-weight: normal;
    letter-spacing: 0.1em;
    font-family: 'Arial', sans-serif;
}

/* CTAボタン（光るアニメーション付き） */
.btn-cta {
    display: block;
    width: auto;
    max-width: 500px;
    margin: 30px auto 0;
    background-color: var(--main-orange);
    color: #fff !important;
    text-align: center;
    padding: 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(243, 152, 0, 0.4);
    font-weight: bold;
    font-size: 20px;
    position: relative;
    overflow: hidden;
    line-height: 1.4;
}

@media screen and (max-width: 767px) {
    .btn-cta {
        display: block;
        width: auto;
        max-width: 500px;
        margin: 30px auto 0;
        background-color: var(--main-orange);
        color: #fff !important;
        text-align: center;
        padding: 15px;
        border-radius: 50px;
        box-shadow: 0 5px 15px rgba(243, 152, 0, 0.4);
        font-weight: bold;
        font-size: 16px;
        position: relative;
        overflow: hidden;
        line-height: 1.4;
    }
}


.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 152, 0, 0.5);
}
/* ====================================
   4. ヒーローエリア（インパクト版）
   ==================================== */
   .hero {
    position: relative;
    width: 100%;
    /* 画面の高さの80%を使って迫力を出す（PC） */
    min-height: 80vh; 
    display: flex;
    align-items: center; /* 上下中央寄せ */
    
    /* 背景画像の設定 */
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center top; /* 人物の顔が上に来ることが多いのでtop基準 */
    background-repeat: no-repeat;
    color: #333;
}

/* PC用：左側を白くぼかして文字を読みやすくするグラデーション */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 左から白、右へ行くほど透明になるグラデーション */
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 40%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* 背景より手前に表示 */
    width: 100%;
}

.hero-content {
    max-width: 600px; /* 文字が右側の写真に被りすぎないように幅制限 */
    padding: 20px 0;
}

/* 金色のラベルバッジ */
.hero-label {
    display: inline-block;
    background: linear-gradient(45deg, #f39800, #ffb84d);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    letter-spacing: 0.1em;
}

/* メインタイトル */
.hero h1 {
    font-size: 40px; /* 大きく！ */
    line-height: 1.4;
    font-weight: 900; /* 極太 */
    color: #333;
    margin-bottom: 25px;
    text-shadow: 2px 2px 0 #fff; /* 文字の縁取り効果 */
}

/* 強調したい文字（赤字＋下線） */
.hero h1 .highlight {
    color: #e60012;
    background: linear-gradient(transparent 70%, #ffdfdf 70%); /* マーカー線 */
}

/* 説明文 */
.hero-desc {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.8;
    text-shadow: 1px 1px 0 #fff;
}

.hero-desc strong {
    color: var(--main-orange);
    border-bottom: 2px solid var(--main-orange);
}

/* --- ボタンのアニメーションとデザイン --- */
.hero-btn {
    max-width: 100%; /* 親要素に合わせる */
    width: auto;
    display: inline-block;
    padding: 20px 60px; /* 横幅を広めに */
    box-shadow: 0 10px 20px rgba(243, 152, 0, 0.4);
    animation: pulseBtn 2s infinite; /* ドクンドクンと動く */
    text-decoration: none;
}

.hero-btn .btn-main {
    display: block;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
}

.hero-btn .btn-sub {
    display: block;
    font-size: 14px;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 5px;
}

/* ボタンの脈打ちアニメーション定義 */
@keyframes pulseBtn {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(243, 152, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(243, 152, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(243, 152, 0, 0); }
}

/* --- スマホ・タブレット対応 --- */
@media screen and (max-width: 768px) {
    .hero {
        min-height: auto; /* 高さは自動 */
        padding: 60px 0;
        background-position: center center;
    }

    /* スマホでは全体を少し暗くして、白文字にするパターンが読みやすい */
    .hero-overlay {
        background: rgba(0, 0, 0, 0.5); /* 黒の半透明 */
    }

    .hero-content {
        max-width: 100%;
        text-align: center; /* 中央揃え */
        color: #fff; /* 文字色を白に */
    }

    .hero h1 {
        font-size: 22px !important; /* スマホ用にサイズ調整 */
        color: #fff;
        text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    }
    
    .hero h1 .highlight {
        color: #ffeb3b; /* スマホ背景が暗い場合、赤より黄色が見やすい */
        background: none;
    }

    .hero-desc {
        font-size: 13px;
        color: #fff;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }
    
    .hero-desc strong {
        color: #ffb84d; /* オレンジ */
    }

    .hero-btn {
        width: auto;
        padding: 15px 20px;
    }
    
    .hero-btn .btn-main {
        font-size: 20px;
    }
}
/* ====================================
   5. お悩みチェックリスト（共感）
   ==================================== */
   .worries-section {
    background-color: #fff;
}

.check-list {
    background-color: var(--bg-beige);
    padding: 40px;
    border-radius: 15px;
    border: 3px solid var(--main-orange);
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--main-orange);
    font-size: 24px;
}

.worries-message {
    text-align: center;
    margin-top: 40px;
}

.worries-message p {
    font-size: 22px;
    font-weight: bold;
    color: var(--main-orange);
}
/* ====================================
   6. 当院の特徴（スタイリッシュ＆優しい雰囲気）
   ==================================== */
   .features-section {
    background-color: var(--bg-beige);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    gap: 20px; /* カード間の隙間を少し広げてゆったりさせる */
    max-width: 1200px;
    margin: 0 auto;
}

/* PCで3列表示 */
@media screen and (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* カード本体のデザイン */
.feature-item {
    background: #fff;
    border-radius: 15px; /* 角を優しく丸く */
    overflow: hidden; /* 画像が角からはみ出ないように */
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* ふんわりとした優しい影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* 高さを揃える */
    display: flex;
    flex-direction: column;
}

/* マウスを乗せた時にふわっと浮く */
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(243, 152, 0, 0.15); /* 影に少しオレンジを混ぜて温かみを出す */
}

/* 画像エリア */
.feature-img {
    position: relative; /* 番号を配置するための基準 */
    width: 100%;
    height: 220px;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の比率を崩さずトリミング */
    transition: transform 0.5s ease;
}

/* ホバー時に画像が少しズームする演出 */
.feature-item:hover .feature-img img {
    transform: scale(1.05);
}

/* 番号バッジ（おしゃれポイント） */
.feature-num {
    position: absolute;
    bottom: -25px; /* 画像の下にはみ出させる */
    right: 20px;
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--main-orange);
    border-radius: 50%; /* 丸 */
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    font-weight: bold;
    font-family: "Georgia", serif; /* 数字だけ明朝体系にして上品に */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

/* テキストエリア */
.feature-content {
    padding: 35px 25px 25px; /* 上の余白を多めにして番号との被りを防ぐ */
    text-align: center;
    flex-grow: 1; /* 高さを揃える設定 */
}

.feature-content h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

/* タイトルの下の装飾線（オレンジの短い線） */
.feature-content h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--main-orange);
    margin: 10px auto 0;
    border-radius: 2px;
}

.feature-content p {
    font-size: 15px;
    text-align: left; /* 文章は左揃えで読みやすく */
    color: #666;
    line-height: 1.8;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
    .features-grid {
        gap: 30px;
    }
    .feature-item {
        max-width: 400px; /* スマホで横に広がりすぎないように */
        margin: 0 auto;
    }
    .feature-img {
        height: 200px;
    }
}
/* ====================================
   7. 初回限定オファー（料金表）
   ==================================== */
   .offer-section {
    background: linear-gradient(135deg, #fff 0%, #fff9f0 100%);
}

.offer-box {
    border: 5px solid var(--main-orange);
    border-radius: 15px;
    padding: 50px 20px;
    text-align: center;
    background: #fff;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.offer-title {
    background: var(--main-orange);
    color: #fff;
    padding: 12px 40px;
    display: inline-block;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50px;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(243,152,0,0.3);
}

@media screen and (max-width: 767px) {
    .offer-title {
        background: var(--main-orange);
        color: #fff;
        padding: 12px 10px;
        display: inline-block;
        font-size: 15px;
        font-weight: bold;
        border-radius: 50px;
        position: absolute;
        top: -28px;
        left: 20%;
        transform: translateX(-10%);
        box-shadow: 0 4px 10px rgba(243,152,0,0.3);
    }
}


.offer-box h3 {
    font-size: 24px;
    margin: 30px 0 20px;
}

.offer-price {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.price-before {
    text-decoration: line-through;
    color: #888;
    font-size: 16px;
}

.price-after {
    color: var(--accent-red);
    font-size: 50px;
    font-weight: bold;
    line-height: 1.1;
}

.price-after span {
    font-size: 20px;
    color: #333;
}

/* ====================================
   8. 院長紹介
   ==================================== */
   .staff-section {
    background-color: #fff;
}

.staff-box {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.staff-img {
    flex: 1;
    min-width: 300px;
}

.staff-img img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.staff-info {
    flex: 1;
    min-width: 300px;
}

.staff-info h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--main-orange);
}

.staff-message {
    margin-top: 25px;
    background: var(--bg-beige);
    padding: 25px;
    border-radius: 10px;
    position: relative;
}

/* 吹き出しの三角 */
.staff-message::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 30px;
    border: 10px solid transparent;
    border-bottom: 10px solid var(--bg-beige);
}

/* ====================================
   9. フッター
   ==================================== */
   footer {
    background-color: var(--main-orange);
    color: #fff;
    padding: 60px 20px 100px; /* スマホ固定バーのために下余白を多めに */
    text-align: center;
}

.footer-info {
    font-size: 16px;
    line-height: 2;
}

.copyright {
    margin-top: 30px;
    font-size: 12px;
    opacity: 0.8;
}
/* ====================================
   10. スマホ用固定フッター（CVエリア）
   ==================================== */
   .mobile-fixed-footer {
    display: none; /* PCでは非表示 */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* ▼▼ 修正ポイント：あらゆる状態で白文字を強制する ▼▼ */
.mobile-fixed-footer a,
.mobile-fixed-footer a:visited,
.mobile-fixed-footer a:hover,
.mobile-fixed-footer a:active,
.mobile-fixed-footer a[href^="tel"] {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-btn {
    width: 50%;
    text-align: center;
    padding: 18px 0;
    font-weight: bold;
    display: block;
    font-size: 16px;
    line-height: 1.2;
}

/* 電話ボタン（オレンジ） */
.footer-btn.tel {
    background-color: var(--main-orange);
    border-right: 1px solid rgba(255,255,255,0.2);
}

/* LINEボタン（緑） */
.footer-btn.line {
    background-color: #06c755;
}

/* レスポンシブ調整 */
@media screen and (min-width: 768px) {
    .mobile-fixed-footer {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .mobile-fixed-footer {
        display: flex;
    }
}
/* ====================================
   下層ページ
   ==================================== */
   .page-header {
    background-color: var(--light-beige);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 0px;
}

.page-header h1 {
    color: var(--main-orange);
    margin: 0;
}

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


/* ====================================
   5. アクセスページ専用スタイル
   ==================================== */
/* Googleマップ */
.access-map-area {
    padding-top: 0;
    text-align: center;
}

.map-frame {
    position: relative;
    padding-bottom: 56.25%; /* 16:9比率 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #eee;
}

.map-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.btn-outline {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    border: 2px solid var(--main-orange);
    color: var(--main-orange);
    border-radius: 30px;
    font-weight: bold;
    background: #fff;
}

.btn-outline:hover {
    background: var(--main-orange);
    color: #fff;
}

/* ====================================
   店舗情報テーブル（崩れないGrid版）
   ==================================== */
   .shop-info-area {
    background: #fff;
    padding: 60px 0;
}

.sub-title {
    text-align: center;
    font-size: 28px;
    color: var(--main-orange); /* 定義済みのオレンジ色 */
    margin-bottom: 40px;
    font-weight: bold;
}

.info-list {
    display: grid;
    /* 左(項目名)は30%、右(内容)は残り全部 という指定 */
    grid-template-columns: 30% 1fr;
    
    border-top: 1px solid #ddd;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.info-list dt {
    /* 背景色をつけてテーブルっぽくする */
    background-color: #fdf9f2; /* 薄いオレンジベージュ */
    color: #333;
    font-weight: bold;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    
    /* 上下中央揃えにしたい場合は以下を有効化 */
    /* display: flex; align-items: center; */
}

.info-list dd {
    background-color: #fff;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    margin: 0; /* デフォルトの余白を消す */
    line-height: 1.8;
}

/* 注釈用の文字サイズ調整 */
.small-note {
    font-size: 13px;
    color: #666;
    display: block; /* 改行させる */
    margin-top: 5px;
}

/* --- スマホ対応（縦並びにする） --- */
@media screen and (max-width: 767px) {
    .info-list {
        display: block; /* グリッド解除 */
    }
    
    .info-list dt {
        width: 100%;
        box-sizing: border-box;
        border-bottom: none; /* スマホ時は区切り線を消す */
        padding: 15px 15px 5px; /* 下の余白を詰める */
        background: #fff; /* 背景を白にして一体感を出す */
        color: var(--main-orange); /* 文字色で区別 */
    }
    
    .info-list dd {
        width: 100%;
        box-sizing: border-box;
        padding: 5px 15px 20px; /* 上の余白を詰める */
    }
}

/* 道案内（ステップ） */
.access-guide-area {
    background-color: var(--bg-beige);
    padding: 60px 20px;
    border-radius: 20px;
}

.guide-intro {
    text-align: center;
    margin-bottom: 40px;
}

.guide-step {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.step-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--main-orange);
    color: #fff;
    padding: 5px 20px;
    font-weight: bold;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
}

.step-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.step-img {
    flex: 1;
    min-width: 300px;
}

.step-img img {
    border-radius: 8px;
    width: 100%;
    border: 1px solid #eee;
}

.step-text {
    flex: 1;
}

.step-text h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--main-orange);
    border-bottom: 2px solid var(--bg-beige);
    display: inline-block;
}

.alert-box {
    margin-top: 15px;
    background: #fff4f4;
    border: 2px solid var(--accent-red);
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.alert-box strong {
    color: var(--accent-red);
    font-size: 16px;
}

/* アクセスページのスマホ対応 */
@media screen and (max-width: 767px) {
    .page-header h1 { font-size: 24px; }
    
    .info-list dt { float: none; width: 100%; border-bottom: none; padding-bottom: 0; }
    .info-list dd { margin-left: 0; padding: 5px 0 15px 0; padding-left: 0; }
    
    .step-content { display: block; }
    .step-img { margin-bottom: 15px; min-width: auto; }
}



/* ====================================
   メニューページ専用スタイル (menu.php)
   ==================================== */

/* コンセプトエリア */
.menu-concept {
    text-align: center;
    margin-bottom: 60px;
}

.menu-concept h2 {
    font-size: 24px;
    color: var(--main-orange);
    margin-bottom: 20px;
    font-weight: bold;
}

.menu-concept p {
    font-size: 16px;
    line-height: 2;
}

/* キャンペーンボックス（強調） */
.menu-campaign {
    margin-bottom: 80px;
}

.campaign-box {
    border: 5px solid var(--main-orange);
    border-radius: 15px;
    padding: 40px 20px;
    background: #fff;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.campaign-label {
    background: var(--accent-red);
    color: #fff;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    border-radius: 30px;
    position: absolute;
    top: -20px;
    left: 40%;
    transform: translateX(-30%);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}


/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .campaign-box {
        border: 5px solid var(--main-orange);
        border-radius: 15px;
        padding: 40px 10px;
        background: #fff;
        position: relative;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        text-align: center;
    }
    .campaign-label {
        background: var(--accent-red);
        color: #fff;
        padding: 10px 10px;
        font-size: 14px;
        font-weight: bold;
        display: inline-block;
        border-radius: 30px;
        position: absolute;
        top: -20px;
        left: 34%;
        width: 80%;
        transform: translateX(-30%);
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

}



.campaign-box h3 {
    margin-top: 20px;
    font-size: 22px;
    color: #333;
    margin-bottom: 30px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 20px;
}

.campaign-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.campaign-left {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.campaign-menu {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-orange);
    border-left: 5px solid var(--main-orange);
    padding-left: 10px;
    margin-bottom: 10px;
}

.campaign-right {
    flex: 1;
    min-width: 280px;
    background: #fff9f0;
    padding: 20px;
    border-radius: 10px;
}

.price-original {
    text-decoration: line-through;
    color: #888;
    font-size: 16px;
}

.price-arrow {
    color: var(--accent-red);
    font-size: 20px;
    line-height: 1;
    margin: 5px 0;
}

.price-special {
    color: var(--accent-red);
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
}

.price-special span {
    font-size: 16px;
    color: #333;
    margin: 0 5px;
}

.campaign-note {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* メニューリスト（カード型） */
.menu-list-area {
    margin-bottom: 80px;
}

.menu-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.menu-card-header {
    background: var(--main-orange);
    color: #fff;
    padding: 15px 20px;
}

.menu-card-header h3 {
    font-size: 20px;
    margin: 0;
}

.menu-card-body {
    padding: 30px;
    background: #fff;
}

.menu-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.price-label {
    font-size: 18px;
    font-weight: bold;
}

.price-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--main-orange);
}

.price-value span {
    font-size: 14px;
    color: #333;
}

.menu-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.menu-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    color: #555;
}

.menu-features li::before {
    content: "●";
    color: var(--main-orange);
    position: absolute;
    left: 0;
    top: 0;
}

/* 施術の流れ */
.flow-area {
    margin-bottom: 60px;
}

.flow-item {
    display: flex;
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    align-items: flex-start;
}

.flow-num {
    background: var(--main-orange);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 20px;
}

.flow-text h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--main-orange);
}

/* メニューページCTA */
.menu-cta-wrap {
    text-align: center;
    margin-top: 60px;
}

/* スマホ対応調整 */
@media screen and (max-width: 767px) {
    .menu-price-row {
        flex-direction: column;
    }
    .price-value {
        margin-top: 5px;
    }
    .flow-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .flow-num {
        margin-right: 0;
        margin-bottom: 15px;
    }
}



/* ====================================
   当院についてページ専用スタイル (about.php)
   ==================================== */

/* 見出しスタイル（共通） */
.about-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    border-left: 5px solid var(--main-orange);
    padding-left: 15px;
    line-height: 1.2;
}

.about-title span {
    display: block;
    font-size: 14px;
    color: var(--main-orange);
    font-weight: normal;
    margin-top: 5px;
    letter-spacing: 0.1em;
}

/* コンセプトエリア */
.about-concept {
    margin-bottom: 80px;
}

.concept-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: top;
}

.concept-img {
    flex: 1;
    min-width: 300px;
}

.concept-img img {
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.concept-text {
    flex: 1;
    min-width: 300px;
}

.concept-text h3 {
    font-size: 20px;
    color: var(--main-orange);
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* スタッフ紹介エリア */
.about-staff {
    margin-bottom: 80px;
    background: #fafafa;
    padding: 40px;
    border-radius: 10px;
}

.staff-card {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.staff-img {
    width: 250px;
    flex-shrink: 0;
}

.staff-img img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.staff-info {
    flex: 1;
    min-width: 300px;
}

.staff-header {
    margin-bottom: 20px;
}

.staff-role {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.staff-header h3 {
    font-size: 24px;
    margin: 5px 0 0;
}

.staff-header h3 span {
    font-size: 14px;
    color: #999;
    margin-left: 10px;
    font-weight: normal;
}

/* スタッフデータリスト */
.staff-data {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-top: 1px solid #eee;
}

.staff-data dt {
    width: 30%;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--main-orange);
}

.staff-data dd {
    width: 70%;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.staff-message {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #eee;
    font-size: 14px;
    line-height: 1.8;
}

/* ギャラリー（院内の雰囲気） */
.about-gallery {
    margin-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.gallery-item p {
    font-size: 14px;
    text-align: center;
    color: #666;
}

/* 店舗情報テーブル（ホットペッパー風） */
.about-data {
    margin-bottom: 60px;
}

.shop-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #ddd;
    font-size: 15px;
}

.shop-table th,
.shop-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.shop-table th {
    background-color: #fdf9f2; /* 薄いオレンジベージュ */
    color: #333;
    width: 25%;
    font-weight: bold;
    white-space: nowrap; /* 見出しを折り返さない */
}

.shop-table td {
    background-color: #fff;
    color: #333;
}

.about-cta {
    text-align: center;
    margin-top: 40px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .about-staff {
        padding: 20px;
    }
    .staff-img {
        width: 100%;
        text-align: center;
    }
    .staff-img img {
        max-width: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr; /* スマホは1列 */
    }
    /* 1. テーブル全体をブロック要素にして、幅を強制的に100%にする */
    .shop-table,
    .shop-table tbody,
    .shop-table tr {
        display: block;
        width: 100%;
    }

    /* 2. セル（th, td）の設定 */
    .shop-table th,
    .shop-table td {
        display: block;       /* 縦並びにする */
        width: 100%;          /* 幅いっぱい */
        box-sizing: border-box; /* パディングを含めて幅100%にする（重要） */
        border-bottom: none;
        word-break: break-all; /* 長い文章（こだわり条件など）がはみ出ないように改行させる */
    }
    
    /* ▲▲ 修正箇所：ここまで ▲▲ */


    /* 以下はデザインの調整（元のコードと同じ意図） */
    .about-staff {
        padding: 20px;
    }
    .staff-img {
        width: 100%;
        text-align: center;
    }
    .staff-img img {
        max-width: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* スマホでのテーブル装飾 */
    .shop-table th {
        background: #fdf9f2;
        padding: 10px 15px;
        border-top: 1px solid #ddd;
    }
    .shop-table td {
        padding: 10px 15px 20px;
        border-bottom: 1px solid #ddd;
    }
    
    .staff-data dt, .staff-data dd {
        width: 100%;
        border-bottom: none;
        padding: 5px 0;
    }
    .staff-data dt {
        border-top: 1px solid #eee;
        padding-top: 10px;
    }
}


/* ====================================
   お客様の声ページ専用スタイル (voice.php)
   ==================================== */

/* イントロダクション */
.voice-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 16px;
    line-height: 2;
}

/* カードリスト */
.voice-list {
    display: flex;
    flex-direction: column;
    gap: 50px; /* カード間の余白 */
    max-width: 1000px;
    margin: 0 auto 80px;
}

/* 感想カード本体 */
.voice-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* ふんわりした影 */
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

/* カードヘッダー（タイトル部分） */
.voice-header {
    background: #fdf9f2; /* 薄いベージュ */
    padding: 20px 30px;
    border-bottom: 2px solid var(--main-orange);
}

.voice-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

/* 症状タグ */
.voice-tag {
    background: var(--main-orange);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 20px;
}

/* 患者情報 */
.voice-info {
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

/* キャッチコピー */
.voice-title {
    font-size: 20px;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

/* カードボディ（中身） */
.voice-body {
    padding: 30px;
    display: flex;
    gap: 30px;
}

/* 左側：画像エリア */
.voice-images {
    width: 35%; /* PCでは左側35% */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.voice-photo img,
.voice-paper img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.voice-paper {
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s;
}

.voice-paper:hover {
    opacity: 0.9;
}

.paper-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px 0 4px 0;
}

/* 右側：テキストエリア */
.voice-text {
    flex: 1; /* 残りの幅全部 */
}

/* Q&Aスタイル */
.qa-box dl {
    margin: 0;
}

.qa-box dt {
    color: var(--main-orange);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    margin-top: 20px;
    border-bottom: 1px dashed #ddd; /* 点線の下線 */
    padding-bottom: 5px;
}

.qa-box dt:first-child {
    margin-top: 0;
}

.qa-box dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* 下部CTA */
.voice-cta {
    text-align: center;
    margin-top: 60px;
    background: var(--bg-beige);
    padding: 40px 20px;
    border-radius: 10px;
}

.voice-cta p {
    font-size: 20px;
    font-weight: bold;
    color: var(--main-orange);
    margin-bottom: 20px;
}

/* スマホ対応（レスポンシブ） */
@media screen and (max-width: 767px) {
    .voice-body {
        flex-direction: column; /* 縦並びにする */
        padding: 20px;
    }

    .voice-images {
        width: 100%; /* 横幅いっぱいに */
        flex-direction: row; /* スマホでは写真を横並びにしても良いかも */
        gap: 10px;
    }

    /* スマホで写真とアンケートを横に並べる場合 */
    .voice-photo, .voice-paper {
        width: 50%;
    }

    .voice-header {
        padding: 15px;
    }

    .voice-title {
        font-size: 18px;
    }

    .qa-box dt {
        font-size: 15px;
    }
}


/* ====================================
   よくある質問ページ専用スタイル (faq.php)
   ==================================== */

   .faq-page-wrapper {
    max-width: 900px; /* 読みやすいように少し幅を絞る */
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* --- Q&Aリスト --- */
.faq-list {
    margin-bottom: 80px;
}

.faq-item {
    margin-bottom: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

/* 質問エリア */
.faq-question {
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: default;
    border-bottom: 1px solid #f5f5f5;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
    margin-right: 15px;
    font-family: Arial, sans-serif;
}

.faq-icon.q {
    background-color: var(--main-orange);
    color: #fff;
}

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

/* 回答エリア */
.faq-answer {
    background-color: #fff9f0; /* 薄いベージュ背景 */
    padding: 25px 20px;
    display: flex;
    align-items: flex-start;
}

.faq-icon.a {
    background-color: #fff;
    color: var(--main-orange);
    border: 2px solid var(--main-orange);
}

.faq-text {
    flex: 1;
}

.faq-text p {
    margin: 0 0 10px 0;
    font-size: 15px;
    line-height: 1.8;
}

.faq-text p:last-child {
    margin-bottom: 0;
}

.marker {
    background: linear-gradient(transparent 60%, #ffe6a0 60%); /* 黄色マーカー */
    font-weight: bold;
}

/* --- 3つの道セクション（クロージング） --- */
.three-paths-section {
    background-color: #fcfcfc;
    padding: 50px 30px;
    border-radius: 15px;
    border: 5px solid #eee;
    text-align: center;
}

.path-title {
    font-size: 26px;
    margin-bottom: 20px;
    color: #333;
}

.path-title span {
    color: var(--accent-red); /* 強調色（赤） */
    font-size: 30px;
}

.path-intro {
    margin-bottom: 40px;
    font-size: 16px;
}

.path-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

/* 3つの道のカードデザイン */
.path-card {
    flex: 1;
    background: #fff;
    padding: 25px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.path-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.path-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* 3つ目の道（正解）だけ目立たせる */
.path-card.path-03 {
    border: 3px solid var(--main-orange);
    background-color: #fff9f0;
    transform: scale(1.05); /* 少し大きく */
    box-shadow: 0 10px 20px rgba(243, 152, 0, 0.2);
    position: relative;
    z-index: 1;
}

.path-card.path-03 h3 {
    color: var(--main-orange);
    border-color: var(--main-orange);
}

.path-message {
    margin-top: 50px;
    font-size: 16px;
}

.highlight-msg {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-red);
    background: #fff;
    display: inline-block;
    padding: 5px 20px;
    border: 2px solid var(--accent-red);
    border-radius: 50px;
    margin: 20px 0;
}

.faq-cta {
    margin-top: 30px;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
    .faq-page-wrapper {
        padding: 0 15px 60px;
    }

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

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

    .path-cards {
        flex-direction: column; /* 縦積み */
        gap: 20px;
    }

    .path-card.path-03 {
        transform: scale(1); /* 拡大を戻す */
        margin-top: 10px;
    }

    .path-title {
        font-size: 22px;
    }

    .highlight-msg {
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .three-paths-section {
        padding: 30px 15px;
    }
}


/* ====================================
   iPhone用 電話リンクの文字色 強制修正
   ==================================== */
   .mobile-fixed-footer a.footer-btn.tel {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important; /* これがiPhoneに効きます */
    opacity: 1 !important;
    text-decoration: none !important;
}

/* 念のため、全ての電話リンクに対しての保険 */
a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}