@charset "UTF-8";

/* =========================================
   1. Variables & Global Reset
   ========================================= */
:root {
    --primary-color: #0A246A;
    /* Deep Navy (Trust) */
    --secondary-color: #06c755;
    /* LINE Green / Action */
    --accent-color: #D32F2F;
    /* Red for Urgency/Campaign */
    --accent-gold: #FFD700;
    /* Gold for Authority */
    --bg-light: #f9f9f9;
    --text-color: #333;
    --font-base: "Noto Sans JP", sans-serif;
    --section-padding: 60px 0;
    --section-padding-mobile: 40px 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    /* Global Reset for white line issue */
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;

    /* 横揺れ防止の鉄則設定 */
    overflow-x: hidden !important;
    /* 横スクロールを強制禁止 */
    position: relative;
}

html {
    overflow-x: hidden !important;
    width: 100%;
}

/* CRITICAL: Force images to be responsive */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: bottom;
}

/* 人物写真の歪み防止 */
.director-img img,
.instructor-img,
.side-profile img {
    object-fit: cover;
    /* 枠に合わせてトリミング */
    object-position: center top;
    /* 顔（上の方）を中心に */
}

/* バナー画像の調整 */
.auth-img img {
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

/* =========================================
   2. Typography & Section Titles
   ========================================= */
.section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    /* Force center */
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

/* Ensure fit-text titles are also centered and full width to allow text-align to work */
.section-title.fit-text {
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.accent {
    color: var(--accent-color);
}

.accent-gold {
    color: #b8860b;
}

.text-red {
    color: #ffe600;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
}

/* Section Spacing */
.section-padding {
    padding: var(--section-padding);
}

/* =========================================
   3. Header & Navigation (SWELL Style - Transparent)
   ========================================= */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    box-shadow: none;
    padding: 15px 20px;
    border-bottom: 1px solid transparent;
    /* 線を完全消去 */
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 26px;
    /* PC Default */
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: 0.05em;
    font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
    border-bottom: 2px solid #D4AF37;
    padding-bottom: 2px;
}

.logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: none !important;
}

.logo-main {
    display: inline-block;
    white-space: nowrap;
    /* Force no line break */
}

.logo-sub {
    display: block;
    color: #ffffff;
    font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    background: transparent;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    margin-top: 8px;
    border-bottom: none;
    letter-spacing: 0;
    padding-bottom: 0;
}

.logo-location {
    font-size: 0.7em;
    /* 70% of parent */
    font-weight: normal;
    color: #FFD700;
    /* Gold */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    margin-left: 5px;
}

@media (max-width: 959px) {
    .logo-main {
        font-size: 5vw;
        /* Responsive sizing */
        font-size: min(5vw, 22px);
        /* Cap size at 22px */
        display: block;
        /* Force single line block */
        margin-bottom: 2px;
    }

    .logo-sub {
        white-space: nowrap;
        /* Force single line */
        font-size: 18px;
        /* Base size */
        display: flex;
        /* Horizontal align */
        align-items: baseline;
        /* Align bottom */
        justify-content: center;
        /* Center align */
        width: 100%;
        margin-top: 5px;
    }

    .logo-location {
        font-size: 11px !important;
        /* Smallest legible size */
        color: #ffff00;
        /* Bright yellow for mobile visibility */
    }

    .logo a {
        width: 100%;
        display: flex;
        flex-direction: column;
        /* Force vertical stack */
        align-items: center;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 22px;
    }
}

.header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-tel {
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    display: none;
    /* Hidden on mobile initially */
}

.btn-header {
    background: var(--secondary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    display: none;
    /* Hidden on mobile initially */
}

/* Old Hamburger Button Removed */
.hamburger-btn {
    display: none !important;
}

/* Navigation Bar (PC) */
.main-nav {
    display: none;
    /* Hidden on mobile by default */
}

/* MOBILE DRAWER MENU */
@media (max-width: 959px) {
    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        /* Full Screen Overlay */
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        /* Translucent White */
        z-index: 10000;
        /* Higher than button */
        transform: translateX(100%);
        /* Slide out */
        transition: transform 0.3s ease-in-out;
        padding-top: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    /* Close Button */
    /* Close Button */
    .nav-close-btn {
        display: none;
    }

    .main-nav.active .nav-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: 2px solid #333;
        color: #333;
        padding: 5px 15px;
        border-radius: 4px;
        font-weight: bold;
        font-size: 16px;
        cursor: pointer;
    }

    .main-nav ul {
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    .main-nav li {
        border-bottom: 1px solid #eee;
    }

    .main-nav li a {
        display: block;
        padding: 20px;
        font-size: 18px;
        color: #333;
        font-weight: bold;
    }
}

/* PC Navigation (Sticky Bar) */
@media (min-width: 960px) {
    .mobile-bottom-nav {
        display: none !important;
    }

    .nav-close-btn {
        display: none !important;
    }

    .main-nav {
        display: block;
        position: sticky;
        top: 0;
        background: #0A246A;
        /* Deep Navy */
        width: 100%;
        height: auto;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: none;
        padding: 0;
        border-bottom: 2px solid #000;
    }

    .main-nav ul {
        display: flex;
        justify-content: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .main-nav li {
        border: none;
    }

    .main-nav li a {
        display: block;
        padding: 18px 25px;
        color: white;
        font-size: 1rem;
        font-weight: 500;
        transition: background 0.2s;
    }

    .main-nav li a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-reserve a {
        background: var(--accent-color);
        font-weight: bold;
        color: white;
    }
}

/* =========================================
   5. Components & Sections
   ========================================= */

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    background: transparent;
    /* 背景削除 */
    padding: 30px;
    border-radius: 4px;
    box-shadow: none;
    /* 影削除 */
}

.hero-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: 0.15em;
    /* SWELL風タイポグラフィ */
}

.hero-text {
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    /* SWELL風タイポグラフィ */
}

/* 黒帯テキスト修正 */
.offer-text {
    display: block;
    /* ブロック要素にして */
    width: fit-content;
    /* 中身に合わせて幅を決め */
    margin: 0 auto 15px auto;
    /* 左右自動マージンで中央へ */
    max-width: 90%;
    /* スマホではみ出さないように */
}

.btn-primary {
    display: inline-block;
    background: #e60000;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Problem List */
.problem-list {
    max-width: 700px;
    margin: 0 auto;
}

.problem-item {
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
    font-weight: bold;
}

.problem-item::before {
    content: '✔';
    position: absolute;
    left: 10px;
    top: 15px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Categories (Symptoms) */
.category-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.category-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.cat-header {
    padding: 10px;
    text-align: center;
    color: white;
    font-weight: bold;
}

.cat-a {
    background: #555;
}

.cat-b {
    background: #0A246A;
}

.cat-c {
    background: #d81b60;
}

.cat-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.cat-list li .material-icons {
    color: #888;
    font-size: 18px;
}

/* Authority */
.auth-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.auth-text h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    border-left: 5px solid var(--accent-gold);
    padding-left: 15px;
    margin-bottom: 15px;
}

@media(min-width: 768px) {
    .auth-block {
        flex-direction: row;
    }

    .auth-block.reverse {
        flex-direction: row-reverse;
    }

    .auth-img {
        width: 300px;
        flex-shrink: 0;
    }
}

/* Review / Smile Grid */
.smile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.review-card {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Sidebar Elements */
.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.side-profile {
    text-align: center;
}

.side-profile h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #333;
}

.side-profile img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /* 完全な円形 */
    object-fit: cover;
    /* 枠いっぱいに表示 */
    object-position: center 15%;
    /* 【重要】顔の位置（上から15%）にフォーカス */
    transform: scale(1.1);
    /* 少しだけズームして表情を強調 */
    margin-bottom: 10px;
    border: 3px solid #0A246A;
    /* 紺色の枠で引き締める */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.side-smiles h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.smile-grid-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.sticky-box {
    background: white;
    padding: 20px;
    border: 3px solid var(--accent-color);
    border-radius: 8px;
    text-align: center;
    /* position: static;  <-- Removed to allow sticky override in PC media query if needed, though usually handled there */
}

.side-cta-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.side-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.side-btn.btn-line {
    background: #06c755;
}

.side-btn.btn-web {
    background: var(--primary-color);
}

.side-tel {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

/* Campaign Box */
.campaign-box {
    background: #fff5f5;
    border: 3px solid red;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    margin: 40px 0;
}

.campaign-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: red;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
}

.big-red {
    font-size: 2.5rem;
    color: red;
    font-weight: bold;
    display: block;
    margin: 10px 0;
}

/* Table Optimization */
.table-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 10px;
}

.hours-table {
    width: 100%;
    min-width: 300px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.hours-table th,
.hours-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

.hours-table th {
    background: #eee;
    white-space: nowrap;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

/* =========================================
   6. Mobile Only Tweaks (< 768px)
   ========================================= */
@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }

    .hero {
        height: 400px;
    }

    .hero-content {
        width: 95%;
        padding: 20px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    /* Mobile Hero Fix: Prevent button overlap */
    .hero {
        height: auto !important;
        /* Adapt to content height */
        min-height: 100vh;
        /* Minimum full screen */
        padding-bottom: 80px;
        /* Space for buttons */
    }

    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding-top: 150px;
        /* Avoid header overlap */
        padding-bottom: 40px;
        text-align: center;
        width: 100%;
        box-shadow: none;
        /* Optional: cleaner look on mobile */
        background: transparent;
        /* スマホでも背景なし */
        /* Slight darkening if needed, or keep transparent */
    }

    /* 黒帯テキストのスマホ微調整 */
    .hero-cta {
        text-align: center;
        /* 親要素も中央揃え */
    }

    .offer-text {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .video-container {
        height: 100%;
        min-height: 100vh;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .main-nav {
        display: none;
        /* Changed from block to none for safety if JS fails, JS toggles class */
    }
}

/* --- 改行禁止＆自動サイズ調整クラス --- */
.fit-text {
    display: inline-block;
    white-space: nowrap;
    /* 絶対に改行させない */
}

@media (max-width: 959px) {
    .fit-text {
        /* 画面幅に合わせてフォントサイズを縮小（最小14pxまで） */
        font-size: clamp(14px, 5vw, 100%);
        width: 100%;
        text-align: center;
    }

    /* 見出し用（少し大きめ） */
    h2.fit-text,
    h3.fit-text,
    .section-title.fit-text {
        font-size: clamp(18px, 6vw, 100%);
    }

    /* ボタン用 */
    .btn-large.fit-text,
    .btn-primary.fit-text {
        width: auto;
        /* ボタンは幅いっぱいにしない */
    }
}

/* Mobile Menu Styles (Restored) */
@media (max-width: 959px) {

    /* メニュー展開時の背景と文字色 */
    nav.main-nav ul {
        background-color: #ffffff;
        /* 背景は白 */
        display: block;
        padding: 20px;
    }

    nav.main-nav ul li {
        border-bottom: 1px solid #eee;
        /* 区切り線 */
    }

    nav.main-nav ul li a {
        padding: 12px 10px;
        font-size: 14px;
        color: #0A246A !important;
        /* 文字は濃紺にして見えるように */
        display: block;
    }

    /* 閉じるボタンも見やすく */
    #menu-close {
        color: #333;
        background: #f0f0f0;
    }

    .main-nav.active {
        display: block;
        transform: translateX(0);
    }

    /* Hero Subtext Adjustment */
    .hero-sub {
        font-size: 14px;
        /* 少し小さくして改行を減らす */
        line-height: 1.6;
        width: 90%;
        /* 画面端ギリギリにならないように */
        margin: 0 auto 15px auto;
        /* 中央揃え */
    }

    .sticky-footer {
        display: none !important;
    }

    .sticky-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 60px;
        font-size: 10px;
        font-weight: bold;
        color: #333;
    }

    .sticky-btn .material-icons {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .btn-tel {
        background: #f9f9f9;
        color: var(--primary-color);
    }

    .btn-line {
        background: #06c755;
        color: white;
    }
}

/* PC Layout Overrides */
@media (min-width: 960px) {
    .content-wrapper {
        display: grid !important;
        grid-template-columns: 300px 1fr !important;
        gap: 40px;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 50px 20px;
        align-items: start;
    }

    .main-content {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2;
        width: 100% !important;
        min-width: 0;
        margin: 0;
    }

    aside.sidebar {
        display: block !important;
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2;
        width: 100% !important;
        position: sticky;
        top: 100px;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: white;
        height: fit-content;
    }

    .btn-web {
        background: var(--secondary-color);
        color: white;
    }
}

/* =========================================
   8. ULTIMATE LAYOUT OVERRIDE (Strict Grid/Flex)
   ========================================= */

/* --- Base Settings (Mobile / Common) --- */
.content-wrapper {
    display: flex;
    flex-direction: column;
    /* Mobile: Stack Vertical */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.main-content {
    order: 1;
    /* Article First */
    width: 100%;
}

aside.sidebar {
    order: 2;
    /* Sidebar Second */
    width: 100%;
    margin-top: 40px;
}

/* --- PC Settings (>= 960px Force Grid) --- */
@media (min-width: 960px) {
    .content-wrapper {
        display: grid !important;
        /* Force Grid */
        grid-template-columns: 300px 1fr !important;
        /* Left 300px, Right Auto */
        gap: 40px;
        align-items: start;
        padding: 50px 20px;
        flex-direction: initial;
        /* Reset Flex */
    }

    aside.sidebar {
        grid-column: 1 / 2 !important;
        /* Force Column 1 (Left) */
        grid-row: 1 / 2;
        margin-top: 0;
        position: sticky;
        top: 100px;
        /* Sticky */
        width: 100% !important;
        height: fit-content;
    }

    .main-content {
        grid-column: 2 / 3 !important;
        /* Force Column 2 (Right) */
        grid-row: 1 / 2;
        width: 100% !important;
        margin: 0;
    }
}

/* =========================================
   7. Mobile Layout Enforcement (max-width: 959px)
   ========================================= */
@media (max-width: 959px) {
    .content-wrapper {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Main Content on Top */
    .main-content {
        order: 1;
        width: 100% !important;
    }

    /* Sidebar on Bottom */
    aside.sidebar {
        order: 2;
        width: 100% !important;
        margin-top: 50px;
        position: static !important;
        /* No sticky on mobile */
        padding: 20px 15px;
        background: #f4f6f9;
        border: none;
    }
}

/* =========================================
   8. New Sections (Video Hero, Achievements, Story, Checklist)
   ========================================= */

/* Video Hero Styles */
.video-container {
    position: absolute;
    /* Fix white line gap */
    top: -5px;
    /* Forced pull up */
    left: 0;
    width: 100%;
    height: calc(100% + 5px);
    /* Compensate height */
    overflow: hidden;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background: transparent;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    /* Lighter overlay (15%) per request */
    z-index: 1;
}

/* Overwrite Hero Background for Video */
.hero {
    background: transparent !important;
    z-index: 1;
}

/*video.hero-video {
    background: #000;
}*/

/* Updated Hero Content for Video Background */
.hero-content {
    background: transparent !important;
    /* Remove white box */
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    /* Stronger shadow per request */
    width: 95%;
    max-width: 900px;
    padding: 0;
    padding-top: 120px;
    /* Add padding to prevent overlaps with transparent header */
    z-index: 2;
    position: absolute;
}

/* Mobile Bottom Navigation (Hidden on PC) */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 959px) {
    .mobile-bottom-nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1.2fr 1fr;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #333;
        font-size: 10px;
        border: none;
        background: none;
        cursor: pointer;
    }

    .nav-item .material-icons {
        font-size: 24px;
        margin-bottom: 2px;
        color: #0A246A;
    }

    .nav-item.highlight {
        background: #06c755;
        color: #fff;
    }

    .nav-item.highlight .material-icons {
        color: #fff;
    }
}

.hero-title,
.hero-sub,
.hero-text {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    /* Stronger shadow per request */
}

.hero-sub {
    color: #f0f0f0 !important;
}

.hero-cta .btn-primary {
    margin-top: 30px;
    /* Add space above button */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Second Visit Price Card */
.price-second-card {
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    max-width: 500px;
    margin: 20px auto 0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.price-second-card h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    display: inline-block;
}

.price-second-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.price-second-card .time {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.price-second-msg {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

/* Spacing Adjustments (Premium Layout) */
.drt-lead {
    padding-bottom: 60px;
}

.solution-text {
    margin-bottom: 50px;
}


/* Achievements Section */
.achievements-section {
    background: linear-gradient(135deg, #b8860b, #daa520, #ffd700, #daa520, #b8860b);
    padding: 30px 0;
    color: white;
    text-align: center;
    margin-top: -5px;
    /* Remove white line gap - Adjusted for PC */
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .achievements-section {
        margin-top: -1px;
    }
}

.achievements-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.achievement-item {
    flex: 1;
    min-width: 250px;
}

.achieve-label {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.achieve-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Arial', sans-serif;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.achieve-number .unit {
    font-size: 1.2rem;
    font-weight: normal;
    margin-left: 5px;
}

.achieve-number .suffix {
    font-size: 1.0rem;
    background: #d32f2f;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
}


/* Story Section */
.story-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.story-img {
    flex: 1;
}

.story-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.story-text {
    flex: 1.5;
}

.story-text h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.story-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Global Content Image Style */
.content-image {
    max-width: 100%;
    width: 500px;
    /* Limit max width on PC */
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .content-image {
        width: 100%;
        /* Full width on mobile */
    }
}


@media (max-width: 768px) {
    .story-content {
        flex-direction: column;
    }
}


/* Comparison Cards (Checklist) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.compare-card {
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.compare-card .card-header {
    padding: 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.compare-card.bad .card-header {
    background: #777;
}

.compare-card.good .card-header {
    background: #ff69b4;
    /* Hot pink */
}

.compare-card .icon {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.compare-card h3 {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
    color: white !important;
}

.compare-card .check-list {
    padding: 30px;
}

.compare-card li {
    margin-bottom: 15px;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
}

.compare-card.bad li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #777;
}

.compare-card.good li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #ff69b4;
}

.compare-card.bad {
    background: #f9f9f9;
    border: 1px solid #ddd;
}

.compare-card.good {
    background: #fff0f5;
    border: 2px solid #ff69b4;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}


/* Google Reviews Static */
.google-reviews-static {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
}

.google-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.stars {
    color: #fbbc04;
    /* Google Star Yellow */
    font-size: 1.2rem;
}

.review-count {
    color: #666;
    font-size: 0.9rem;
}

.google-review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.g-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
}

.g-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.g-icon {
    width: 32px;
    height: 32px;
    background: #555;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.g-info {
    display: flex;
    flex-direction: column;
}

.g-name {
    font-size: 0.9rem;
    font-weight: bold;
}

.g-stars {
    color: #fbbc04;
    font-size: 0.8rem;
}

.g-text {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.5;
}


/* Premium Price Card */
.price-premium-card {
    background: white;
    border: 2px solid #DAA520;
    /* Gold */
    border-radius: 12px;
    overflow: hidden;
    max-width: 600px;
    margin: 30px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.price-header {
    background: #0A246A;
    color: white;
    padding: 20px;
    text-align: center;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: white;
}

.price-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

.price-body {
    padding: 30px;
    text-align: center;
}

.regular-price {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.campaign-highlight {
    background: #fffcf5;
    border: 1px dashed #DAA520;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    border-radius: 8px;
}

.badge-limit {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #E60000;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.campaign-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    margin-top: 5px;
}

.campaign-price {
    color: #E60000;
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    line-height: 1;
}

.campaign-price .yen {
    font-size: 1.5rem;
    margin-left: 2px;
}

.campaign-price .tax {
    font-size: 0.8rem;
    color: #666;
    margin-left: 5px;
    font-weight: normal;
}

.guarantee-box {
    margin-bottom: 25px;
    color: #333;
}

.guarantee-box .small {
    font-size: 0.8rem;
    color: #666;
}

.btn-gold-shadow {
    box-shadow: 0 4px 10px rgba(218, 165, 32, 0.4);
}

.payment-methods {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #888;
}

/* --- PC Layout Fix (960px+) --- */
@media (min-width: 960px) {
    .director-profile {
        display: flex;
        align-items: center;
        /* 上揃えではなく中央揃えでバランス良く */
        gap: 40px;
    }

    .director-img {
        flex: 0 0 350px;
        /* 幅を350pxに固定（以前より小さく） */
        max-width: 40%;
    }

    .director-img img {
        width: 100%;
        border-radius: 8px;
        /* 角丸で優しく */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        /* 影で浮き上がらせる */
    }
}

/* --- PC Layout Fix (960px+) --- */
@media (min-width: 960px) {

    /* Hide unnecessary close button */
    #menu-close,
    .nav-close-btn {
        display: none !important;
    }

    /* 2-Column Layout (Left Sidebar, Right Main) - FLEXBOX FIX for STICKY */
    .content-wrapper {
        display: flex !important;
        /* サイドバーの高さを確保するために stretch に戻す（または指定なしでデフォルト） */
        align-items: stretch;
        gap: 40px;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 50px 20px;
        position: relative;
    }

    /* Sidebar Positioning */
    aside.sidebar {
        /* Flex Item Properties */
        order: 1;
        width: 300px !important;
        flex-shrink: 0;
        /* Prevent shrinking */

        /* Sidebar Styles */
        display: block !important;
        height: 100%;
        /* 親要素の高さに合わせる */
        border: none;
        background: transparent;
        padding: 0;
        overflow: visible;
        /* Stickyを効かせるためにoverflowは厳禁 */
    }

    .sidebar-inner {
        position: static;
        /* Inner全体は追従させない */
    }

    /* Sticker Box Only */
    .sticky-box {
        position: -webkit-sticky;
        position: sticky;
        top: 100px;
        /* ヘッダー高さ考慮 */
        z-index: 10;
    }

    /* Main Content Positioning */
    .main-content {
        /* Flex Item Properties */
        order: 2;
        flex: 1;
        /* Take remaining space */
        width: auto !important;
        /* Let flex handle width */
        min-width: 0;
        /* Prevents flex blowout */
    }
}

/* --- Mobile Layout Safeguard (max-width: 959px) --- */
@media (max-width: 959px) {
    .content-wrapper {
        display: flex !important;
        flex-direction: column;
    }

    /* Main Content First */
    .main-content {
        order: 1;
        width: 100% !important;
    }

    /* Sidebar Second */
    aside.sidebar {
        order: 2;
        width: 100% !important;
        margin-top: 40px;
        position: static !important;
    }
}

/* ボトムナビの幅ズレ防止 */
.mobile-bottom-nav {
    display: none;
    /* Default for PC */
}

@media (max-width: 959px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        height: 60px;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;

        box-sizing: border-box;
        /* パディングを含めて100%にする */
        margin: 0;
        padding: 0;
    }

    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #333;
        font-size: 10px;
        height: 100%;
    }

    .nav-item .material-icons {
        font-size: 24px;
        margin-bottom: 2px;
    }

    .nav-item.highlight {
        background: var(--accent-color);
        color: white;
    }
}

/* --- セミナーページ用 改行禁止＆自動調整 --- */
.seminar-title-fit {
    white-space: nowrap;
    font-size: clamp(20px, 5vw, 32px);
    /* 画面幅に合わせて伸縮 */
    margin-bottom: 10px;
    color: #ffeb3b;
    text-align: center;
}

.seminar-sub-fit {
    white-space: nowrap;
    font-size: clamp(12px, 3.5vw, 16px);
    display: inline-block;
}

/* --- サブページ ヘッダー被り解消 (Updated) --- */
/* PC Default */
.res-container {
    margin-top: 60px;
}

.seminar-hero {
    padding-top: 80px;
}

@media (max-width: 959px) {
    .res-container {
        margin-top: 60px;
    }

    .seminar-hero {
        padding-top: 80px;
    }

    /* 長い見出しは自然に改行させる */
    .section-title,
    h2.fit-text {
        white-space: normal !important;
        /* 改行許可 */
        line-height: 1.4;
        /* 行間を空ける */
        word-wrap: break-word;
        width: 90%;
        /* 左右に余白 */
        margin-left: auto;
        margin-right: auto;
    }

    /* セミナー見出しのレスポンシブ調整 */
    .seminar-title-fit {
        white-space: normal !important;
        /* 改行を許可 */
        font-size: 24px !important;
        /* 読みやすいサイズに固定 */
        line-height: 1.4;
        width: 90%;
        margin: 0 auto 15px auto;
    }

    /* その下の小見出しも同様に */
    .seminar-sub-fit {
        white-space: normal !important;
        display: block;
        line-height: 1.5;
    }

    /* ヘッダー全体を中央寄せ */
    .header-inner {
        justify-content: center !important;
        text-align: center !important;
    }

    /* ロゴのリンクブロックを中央配置 */
    .logo a {
        display: flex !important;
        flex-direction: column;
        align-items: center !important;
        /* 左右中央 */
        margin: 0 auto !important;
        width: 100%;
    }

    /* 店名テキストを中央寄せ */
    .logo-main,
    .logo-sub,
    .logo-location {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto;
    }
}

/* --- Scroll Down Animation --- */
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: "Shippori Mincho", serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-align: center;
    z-index: 2;
    animation: float 2s infinite ease-in-out;
}

/* 下に伸びる線の演出 */
.scroll-down::after {
    content: "";
    display: block;
    width: 1px;
    height: 30px;
    background: #fff;
    margin: 10px auto 0;
    animation: extend 2s infinite;
}

/* ふわふわ動くアニメーション */
@keyframes extend {
    0% {
        height: 0;
        opacity: 0;
    }

    50% {
        height: 30px;
        opacity: 1;
    }

    100% {
        height: 0;
        opacity: 0;
        transform: translateY(10px);
    }
}

/* --- PC Hero 100vh Fix (Updated) --- */
@media (min-width: 960px) {
    .hero {
        height: auto !important;
        /* コンテンツに合わせて伸びるように */
        min-height: 100vh;
        /* 基本は全画面 */
        display: flex;
        align-items: center;
        /* 中身を上下中央に配置 */
        justify-content: center;
        padding-top: 80px;
        /* ヘッダー被り調整 */
        padding-bottom: 120px !important;
        /* 下のScroll文字との距離確保（ボタン被り回避） */
        box-sizing: border-box;
    }

    /* 動画コンテナも追従 */
    .video-container {
        height: 100%;
    }

    /* 顔が見えるように、基準位置を「上から20%」の位置にずらす */
    .hero-video {
        object-position: center 20% !important;
    }

    /* Scroll文字の位置調整 */
    .scroll-down {
        bottom: 30px;
        /* 少し上に上げて見やすく */
    }
}

/* --- Navigation Menu Refinement --- */
/* 補足テキスト（smallタグ）のスタイル */
.main-nav li a small {
    font-size: 0.7em;
    color: #888;
    margin-left: 5px;
    font-weight: normal;
}

/* スマホ表示時の微調整 */
@media (max-width: 959px) {
    .main-nav li a {
        font-size: 14px;
        /* スマホでは少し小さめにして改行を防ぐ */
    }
}

/* =========================================
   7. Flow Section
   ========================================= */
.flow-intro {
    text-align: center;
    margin-bottom: 40px;
}

.flow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    min-width: 140px;
    max-width: 150px;
    background: white;
    padding: 20px 10px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    border: 1px solid #eee;
}

.step-num {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-content h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: bold;
}

.step-content p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.flow-arrow::after {
    content: '▶';
    color: #ccc;
    font-size: 1.2rem;
}

/* Mobile Flow: Vertical */
/* Mobile Flow: Vertical & Centered (User Request) */
@media (max-width: 959px) {
    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .flow-step {
        width: 100%;
        max-width: 100%;
        /* 全幅を使う */
        display: block;
        /* Flex解除してブロック表示（中央揃えのため） */
        text-align: center;
        /* 中身全体を中央揃え */
        padding: 20px;
    }

    .step-num {
        margin: 0 auto 10px auto;
        /* 数字アイコンを中央配置し、下に余白 */
    }

    .step-content {
        text-align: center;
        /* テキストも中央揃え */
    }

    .step-content h3 {
        margin-bottom: 5px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: -10px 0;
    }
}

/* --- Flow Steps PC Height Fix --- */
/* --- Flow Steps PC Height Fix & 4-Column Layout --- */
@media (min-width: 960px) {
    .flow-steps {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .flow-step {
        /* 4カラム構成: (100% - gap*3) / 4 */
        width: calc(25% - 40px);
        min-width: 200px;
        height: auto;
        /* 高さは内容なり（align-items: stretchを使わない場合） */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px;
        box-sizing: border-box;
        margin-top: 0;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    /* 矢印の位置調整 */
    .flow-arrow {
        display: flex;
        align-items: center;
        align-self: center;
    }

    /* 4番目の後の矢印を消す (4カラムレイアウト用) */
    .flow-step:nth-child(4n)+.flow-arrow {
        display: none;
    }

    /* 2段目以降のマージン調整（必要なら） */
    .flow-step:nth-child(n+5) {
        margin-top: 20px;
    }
}

/* =========================================
   8. PC Navigation Refinement (2-Row)
   ========================================= */
@media (min-width: 960px) {
    .main-nav ul {
        display: flex;
        justify-content: space-between;
        /* 均等配置 */
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .main-nav li {
        flex: 1;
        /* 各項目の幅を均等にする */
        text-align: center;
    }

    .main-nav li a {
        display: flex;
        flex-direction: column;
        /* 縦並びにする */
        justify-content: center;
        align-items: center;
        padding: 10px 5px;
        /* 上下の余白確保、左右は詰める */
        font-size: 14px;
        /* メイン文字サイズ */
        white-space: nowrap;
        /* 勝手な改行を禁止 */
        line-height: 1.2;
    }

    /* 補足テキスト（smallタグ）のデザイン */
    .main-nav li a small {
        display: block;
        /* 改行して下に表示 */
        font-size: 10px;
        /* 小さく控えめに */
        color: #accbee;
        /* 薄い水色（または白の透過）で見やすく */
        margin-top: 3px;
        margin-left: 0;
        /* 横並び用マージンをリセット */
        font-weight: normal;
    }

    /* 予約ボタンだけは特別扱い */
    .btn-nav-res {
        width: auto;
        padding: 10px 20px !important;
        margin-left: 10px;
        color: #5d4037 !important;
        /* ボタン文字色 (ここではデザインに合わせて調整) */
        background: #fff;
        /* 背景白 */
    }
}

/* Fixed Achievement Item specific styles */
.achieve-main-display {
    line-height: 1;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 3px;
}

.enormous-num {
    font-size: 3.8rem;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.achieve-sub-text {
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    opacity: 0.95;
    margin-top: 0;
}

/* --- ロードマップエリア（レスポンシブ対応版） --- */
.roadmap-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed #ccc;
}

/* 見出し */
.roadmap-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* スマホで折り返し許可 */
    gap: 10px;
    color: #0A246A;
    margin-bottom: 30px;
    font-size: 1.5rem;
    line-height: 1.4;
    text-align: center;
}

.roadmap-title .icon-flag {
    color: #d32f2f;
    font-size: 2rem;
}

/* コンテンツ枠 */
.roadmap-content {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #eef;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-intro {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

/* グリッドシステム */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* 幅に合わせて自動伸縮 */
    gap: 15px;
    margin-top: 20px;
}

/* カードデザイン */
.roadmap-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eee;
}

.card-head {
    padding: 10px;
    font-weight: bold;
    font-size: 1rem;
    color: white;
}

.head-light {
    background: #0A246A;
}

/* 軽症色修正:見やすく紺に */
.head-middle {
    background: #e65100;
}

.head-heavy {
    background: #c62828;
}

.card-body {
    padding: 15px;
}

.freq {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.arrow-down {
    display: block;
    color: #ccc;
    margin: 5px 0;
    font-size: 1.2rem;
}

.goal {
    color: #333;
    font-size: 0.9rem;
}

/* コンセプトボックスの強調 */
.concept-box {
    background: #fffbf0 !important;
    /* 薄いクリーム色で温かみを出す */
    border-left: 6px solid #d32f2f !important;
    /* 赤ラインで注意を引く */
    position: relative;
}

.concept-box::before {
    content: "Point";
    position: absolute;
    top: -12px;
    left: 10px;
    background: #d32f2f;
    color: white;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
}

/* 下部情報 */
.roadmap-info {
    margin-top: 30px;
}

.info-title {
    border-left: 4px solid #0A246A;
    padding-left: 10px;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.info-text {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ロードマップの矢印フロー調整 */
.step-flow {
    display: inline-block;
    /* 塊として扱う */
    background: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.arrow-icon {
    font-size: 14px;
    vertical-align: middle;
}

.goal-box {
    margin-top: 20px;
    font-weight: bold;
    color: #0A246A;
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.goal-highlight {
    font-size: 1.3rem;
    color: #d32f2f;
    display: block;
    margin-top: 5px;
}

.note-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
    text-align: right;
}

/* 【重要】スマホ専用調整 (600px以下) */
@media (max-width: 600px) {
    .roadmap-section {
        margin-top: 30px;
    }

    .roadmap-title {
        font-size: 1.25rem;
        /* タイトル文字を小さく */
        flex-direction: column;
        /* アイコンと文字を縦積みに */
        gap: 5px;
    }

    .roadmap-content {
        padding: 20px 15px;
        /* 枠の内側の余白を減らす */
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
        /* 完全に縦積みにする */
    }

    .step-flow {
        font-size: 0.9rem;
        color: #333;
        font-family: "Shippori Mincho", serif;
        /* 明朝体で品格を */
    }
}

/* =========================================
   医師推薦エリア（高級デザイン完全版）
   ========================================= */
.auth-doctors-area {
    margin-top: 60px;
    margin-bottom: 60px;
    font-family: "Noto Sans JP", sans-serif;
}

/* --- カード共通設定 --- */
.doctor-card {
    max-width: 800px;
    margin: 0 auto 40px;
    /* 中央揃え */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* 浮き上がるような影 */
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- ヘッダー（金・紺） --- */
.card-header-gold {
    background: linear-gradient(135deg, #b8860b, #daa520, #ffd700, #daa520, #b8860b);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-header-navy {
    background: linear-gradient(135deg, #0A246A, #153e91);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.header-icon {
    font-size: 0.9rem;
    vertical-align: middle;
    margin: 0 8px;
    opacity: 0.9;
}

/* --- ボディ --- */
.card-body {
    padding: 40px;
    text-align: center;
}

/* 推薦文 */
.recommendation-text {
    margin-bottom: 40px;
}

.main-quote {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.8;
    color: #333;
    font-family: "Shippori Mincho", serif;
}

.marker-line {
    background: linear-gradient(transparent 60%, #fff59d 60%);
    padding: 0 5px;
}

/* --- 医師プロフィール（金カード：2名横並び） --- */
.doctors-row {
    display: flex;
    justify-content: center;
    /* 中央寄せ */
    align-items: flex-start;
    /* 上端揃え */
    gap: 50px;
    /* 2人の間隔 */
    flex-wrap: wrap;
    /* スマホで折り返し */
}

.doctor-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    /* 1人の幅 */
}

/* --- 写真フレーム（PC・スマホ共通） --- */
.doctor-img-frame {
    width: 140px;
    /* ★PCで顔枠が出ない原因修正 */
    height: 140px;
    /* ★サイズ固定 */
    border-radius: 50%;
    /* ★正円にする */
    overflow: hidden;
    /* ★はみ出しカット */
    margin: 0 auto 15px;
    /* 中央配置 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    /* 影 */
    position: relative;
    z-index: 1;
    background: #f0f0f0;
    flex-shrink: 0;
    /* 縮小防止 */
}

/* 枠線の色 */
.gold-frame {
    border: 5px solid #d4af37;
}

.navy-frame {
    border: 5px solid #0A246A;
}

/* 写真本体 */
.doctor-face {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 枠いっぱいにトリミング */
    object-position: center top;
    /* 顔の位置調整 */
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-face {
    transform: scale(1.1);
}

/* --- 医師情報テキスト --- */
.doctor-info {
    text-align: center;
}

.doc-job {
    font-size: 0.9rem;
    color: #0A246A;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.doc-name {
    font-size: 1.4rem;
    color: #000;
    font-family: "Shippori Mincho", serif;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    display: inline-block;
}

.sensei {
    font-size: 1rem;
    font-family: sans-serif;
    font-weight: normal;
    margin-left: 5px;
}

/* --- 上原先生用（紺カード：横配置レイアウト） --- */
.horizontal-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    /* PCでは左揃え */
}

.doctor-info-wide {
    text-align: left;
    /* PCでは左揃え */
}

.doc-job-en {
    color: #0A246A;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.doc-name-large {
    font-size: 1.8rem;
    font-family: "Shippori Mincho", serif;
    margin: 0 0 10px 0;
}

.doc-divider {
    width: 60px;
    height: 3px;
    background: #0A246A;
    margin-bottom: 15px;
}

.doc-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* =========================================
   スマホ専用調整（600px以下）
   ========================================= */
@media (max-width: 600px) {
    .card-body {
        padding: 25px 20px;
    }

    /* 推薦文 */
    .main-quote {
        font-size: 1.1rem;
        text-align: left;
    }

    /* 2人並び */
    .doctors-row {
        gap: 30px;
        /* 間隔を狭める */
    }

    .doctor-profile {
        width: 100%;
        /* 横幅いっぱいにして縦積みも許容 -> もし横並び維持したい場合は width: 45%; にする */
    }

    /* 上原先生 */
    .horizontal-layout {
        flex-direction: column;
        /* 縦積みに変更 */
        text-align: center;
    }

    .doctor-info-wide {
        text-align: center;
    }

    .doc-divider {
        margin: 10px auto;
        /* 中央揃え */
    }
}

/* =========================================
   Unified Bottom Navigation (PC hidden, Mobile fixed)
   ========================================= */
/* PCでは絶対に表示させない設定 */
.bottom-nav {
    display: none !important;
    /* PCでは強制非表示 */
}

/* スマホ（600px以下）の時だけ表示させる設定 */
@media (max-width: 600px) {
    .bottom-nav {
        display: block !important;
        /* スマホでは強制表示 */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .bottom-nav ul {
        display: flex;
        justify-content: space-around;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .bottom-nav li {
        width: 100%;
    }

    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #333;
        font-size: 0.7rem;
        padding: 10px 0;
        transition: background 0.2s;
    }

    .bottom-nav a:active {
        background: #f0f0f0;
    }

    .bottom-nav .material-icons {
        font-size: 1.5rem;
        margin-bottom: 2px;
        color: #555;
    }

    /* 予約ボタンだけ目立たせる */
    .bottom-nav .nav-reserve {
        background: #0A246A;
        color: #fff !important;
    }

    .bottom-nav .nav-reserve .material-icons {
        color: #fff !important;
    }

    /* Body padding for mobile */
    body {
        padding-bottom: 70px;
    }

    .site-footer {
        padding-bottom: 80px;
    }
}

/* =========================================
   Universal Mobile Menu (Fix)
   ========================================= */
/* PC/Tablet: Hide completely */
#universal-mobile-nav {
    display: none !important;
}

/* Mobile: Overlay styles */
@media screen and (max-width: 600px) {
    #universal-mobile-nav {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateY(100%);
    }

    #universal-mobile-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #universal-mobile-nav .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
    }

    #universal-mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #universal-mobile-nav li {
        margin: 20px 0;
    }

    #universal-mobile-nav a {
        display: block;
        font-size: 1.2rem;
        font-weight: bold;
        color: #333;
        text-decoration: none;
        padding: 10px;
    }

    .nav-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
    }
}

/* サイト全体の文字選択を禁止 */
body,
body * {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
    user-select: none;
    /* 標準 */
}

/* ★例外：コピーを許可したい場所（住所など）のクラス */
.allow-copy,
.allow-copy * {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}