/* =========================================
   Base & Reset
========================================= */
:root {
    /* Color Palette Extracted from Logo */
    --color-brown-dark: #6e4e3b;    /* 幹・テキストのブラウン */
    --color-brown-base: #865d45;
    --color-green-main: #00a040;    /* 葉・「おとな」のグリーン */
    --color-green-light: #8dc63f;   /* 明るい葉のグリーン */
    --color-orange: #f59800;        /* 葉・「こども」のオレンジ */
    --color-cyan: #00a4ce;          /* 葉のシアン */
    --color-yellow: #f2c000;        /* 葉のイエロー */
    
    --color-bg-light: #ffffff;      /* 純粋な白に変更 */
    --color-bg-section: #f4f7f7;    /* セクション背景用・非常に薄い青みのあるグレーに変更 */
    --color-text: #2d2621;          /* コントラストを少し上げて清潔感を出す */
    --color-text-light: #6d6159;
    --color-white: #ffffff;
    
    /* Layout */
    --container-width: 1200px;
    --header-width: 1400px;
    --border-radius: 8px;
    
    /* Font */
    --font-family: 'Zen Kaku Gothic New', "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

html {
    font-size: 18px;
    height: 100%; /* フルスクリーンの基準 */
    overflow-x: hidden;
    scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-bg-light);
    line-height: 1.8;
    min-height: 100%; /* flexコンテナとして最低限の高さ */
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
h1, h2, h3, h4 { line-height: 1.4; color: var(--color-brown-dark); }

/* =========================================
   Screen Switching Logic & Loader
========================================= */
.screen { opacity: 0; transition: opacity 0.8s ease; position: relative; width: 100%; min-height: 100vh; }
.screen.show { opacity: 1; z-index: 10; }
.screen.hidden { display: none !important; }

/* =========================================
   Buttons & Badges
========================================= */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 14px 40px; border-radius: 30px; font-weight: 700;
    transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--color-green-main); color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 160, 64, 0.2);
}
.btn-primary:hover {
    background-color: var(--color-white); color: var(--color-green-main);
    border-color: var(--color-green-main); transform: translateY(-2px);
}
.btn-accent {
    background-color: var(--color-orange); color: var(--color-white);
    box-shadow: 0 4px 10px rgba(245, 152, 0, 0.2);
}
.btn-accent:hover {
    background-color: var(--color-white); color: var(--color-orange);
    border-color: var(--color-orange); transform: translateY(-2px);
}
.badge { background: var(--color-cyan); color: white; padding: 4px 12px; border-radius: 4px; font-size: 0.85rem; font-weight: bold; }

/* =========================================
   Header (Main Site)
========================================= */
header {
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 25px 5%; 
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(110, 78, 59, 0.08);
}
.header-logo { display: flex; align-items: center; }
.header-logo h1 { margin: 0; padding: 0; line-height: 1; display: block; }
.header-logo a { display: block; line-height: 1; transition: opacity 0.2s; }
.header-logo a:hover { opacity: 0.8; }
.header-logo img { height: 75px; width: auto; object-fit: contain; max-width: 100%; }

.header-contact { display: flex; align-items: center; gap: 24px; }
.header-contact .tel { font-size: 1rem; color: var(--color-text-light); }
.header-contact .tel strong { font-size: 1.8rem; color: var(--color-brown-dark); display: block; }
.header-reserve { background: var(--color-orange); color: white; padding: 14px 32px; border-radius: 30px; font-weight: bold; font-size: 1.15rem; transition: opacity 0.2s; }
.header-reserve:hover { opacity: 0.8; }

.header-nav { background-color: rgba(0, 164, 206, 0.72); width: 100%; }
.header-nav ul { display: flex; justify-content: center; width: 100%; margin: 0 auto; padding: 0 2%; }
.header-nav li a { display: block; padding: 18px 5vw; color: var(--color-white); font-weight: 600; font-size: 1.15rem; transition: background 0.2s; letter-spacing: 0.05em; }
.header-nav li a:hover { background-color: rgba(255,255,255,0.2); }

.hero { 
    display: flex; 
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: url('img/KVClinicFrontView.webp') center top / cover no-repeat;
    position: relative;
    min-height: 72vh;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}
.hero-content { 
    text-align: center; 
    max-width: 850px; 
    animation: fadeUp 1s ease;
    position: relative;
    z-index: 2;
}
.hero-content h2 { 
    font-size: 4rem;
    line-height: 1.3;
    margin-bottom: 28px;
    color: #fff;
    letter-spacing: 5px;
    font-weight: 700; 
    filter: drop-shadow(0 2px 12px rgba(0, 60, 100, 0.55)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}
.hero-content p { 
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #fff;
    filter: drop-shadow(0 1px 6px rgba(0, 40, 80, 0.5)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.hero-info { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-label { 
    background: rgba(255, 255, 255, 0.92); 
    color: var(--color-green-main); 
    padding: 12px 30px; 
    border-radius: 25px; 
    font-weight: bold; 
    font-size: 1.2rem; 
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* =========================================
   Sections
========================================= */
.section { padding: 100px 0; }
.section-light { background-color: var(--color-bg-section); }
.section-title { font-size: 2.4rem; text-align: center; margin-bottom: 55px; position: relative; padding-bottom: 18px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--color-green-light); }

/* News Section */
.news-list { border-top: none; }
.news-item { 
    border: 1px solid #eee; 
    border-radius: 12px; 
    margin-bottom: 24px; 
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-item:hover { 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.news-header { 
    display: flex; 
    align-items: center; 
    padding: 20px 10px; 
    cursor: pointer; 
    transition: background 0.3s; 
    position: relative;
    gap: 20px;
}
.news-header:hover { background: #fcfcfc; }
.news-date { font-size: 1rem; color: var(--color-text-light); font-weight: 500; min-width: 100px; }
.news-title { font-size: 1.1rem; color: var(--color-text); flex: 1; font-weight: 600; }

/* Improved Toggle Button */
.news-toggle { 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    background: var(--color-green-main); 
    border: none; 
    position: relative; 
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 160, 64, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}
.news-header:hover .news-toggle { 
    background: var(--color-orange); 
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(245, 152, 0, 0.3);
}
.icon-arrow { 
    width: 10px; 
    height: 10px; 
    border-right: 2px solid #fff; 
    border-bottom: 2px solid #fff; 
    transform: rotate(45deg); 
    margin-top: -3px;
    transition: all 0.4s ease;
}
.news-item.is-active .icon-arrow { transform: rotate(-135deg) translate(-1px, -1px); }
.news-item.is-active .news-toggle { 
    background: var(--color-orange); 
    box-shadow: 0 4px 12px rgba(245, 152, 0, 0.4);
}

/* Body Accordion */
.news-body { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease, opacity 0.4s ease; 
    opacity: 0;
    background: #fbfdfc; /* 非常に淡いグリーン味のある白 */
    border-top: 1px solid #f0f4f2;
}
.news-item.is-active .news-body { 
    max-height: 500px; /* 十分な高さ */
    opacity: 1;
}
.news-content { padding: 24px 80px 48px 130px; } /* 左右のバランスを調整 */
.news-content p { font-size: 1.05rem; color: var(--color-text-light); line-height: 1.9; }

/* Concept / Points */
.concept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.concept-item { background: var(--color-white); padding: 40px 30px; border-radius: var(--border-radius); box-shadow: 0 4px 15px rgba(0,0,0,0.03); text-align: center; border-top: 5px solid var(--color-green-light); transition: transform 0.3s; }
.concept-item:hover { transform: translateY(-5px); }
.concept-item:nth-child(2) { border-top-color: var(--color-orange); }
.concept-item:nth-child(3) { border-top-color: var(--color-cyan); }
.concept-item h3 { font-size: 1.4rem; margin-bottom: 15px; }
.concept-item p { text-align: left; font-size: 1.05rem; color: var(--color-text-light); line-height: 1.8; }

/* Departments */
.dept-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dept-card { display: flex; align-items: stretch; background: var(--color-white); border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.dept-color { width: 10px; background: var(--color-green-main); }
.dept-card:nth-child(2) .dept-color { background: var(--color-orange); }
.dept-card:nth-child(3) .dept-color { background: var(--color-cyan); }
.dept-card:nth-child(4) .dept-color { background: var(--color-yellow); }
.dept-content { padding: 30px; flex: 1; text-align: left; }
.dept-content h4 { font-size: 1.5rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px;}
.dept-content h4::before { content: '■'; color: inherit; font-size: 0.8em; }

/* Doctor Link Styling */
.doctor-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.doctor-link:hover .doctor-wrap {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(110, 78, 59, 0.1);
    border-color: var(--color-cyan);
}
.doctor-wrap { display: flex; gap: 50px; align-items: flex-start; background: var(--color-white); padding: 60px; border-radius: var(--border-radius); border: 1px solid #edf2f2; transition: all 0.3s ease; position: relative; overflow: hidden; }
.doctor-photo { flex: 0 0 300px; height: 350px; border-radius: var(--border-radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.doctor-wrap .read-more { 
    position: absolute; bottom: 25px; right: 40px; 
    color: var(--color-cyan); font-weight: bold; border-bottom: 2px solid var(--color-cyan);
    font-size: 1rem;
}

/* Doctor Detail Page */
.doctor-detail-wrap { background: var(--color-white); padding: 60px; border-radius: var(--border-radius); box-shadow: 0 10px 40px rgba(110, 78, 59, 0.05); }
.doctor-header-info { display: flex; gap: 60px; margin-bottom: 50px; }
.doctor-main-photo { flex: 0 0 320px; }
.doctor-main-photo img { width: 100%; border-radius: var(--border-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.doctor-main-profile { flex: 1; }
.doctor-main-profile .kana { font-size: 1rem; font-weight: normal; color: var(--color-text-light); }
.doctor-intro-text p { margin-bottom: 1.5rem; }
.doctor-detail-content .content-block { border-bottom: 2px solid var(--color-bg-section); padding-bottom: 40px; margin-bottom: 40px; }
.career-block .block-title { font-size: 1.6rem; border-left: 5px solid var(--color-cyan); padding-left: 20px; margin-bottom: 30px; }
.career-list li { margin-bottom: 12px; display: flex; gap: 20px; font-size: 1.05rem; }
.career-list li span { font-weight: bold; color: var(--color-cyan); flex: 0 0 100px; font-size: 1.05rem; }
.career-description { font-size: 1.05rem; color: var(--color-text-light); line-height: 1.9; margin-top: 20px; text-align: justify; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; list-style: none; }
.check-list li::before { content: '✓'; color: var(--color-green-main); margin-right: 10px; font-weight: bold; }

.doctor-info { flex: 1; }
.doctor-info h3 { font-size: 1.8rem; margin-bottom: 5px; }
.doctor-info .title { color: var(--color-orange); font-weight: bold; margin-bottom: 20px; display: block; }
.doctor-msg { margin-bottom: 30px; }

/* Access & Info */
#access {


    background: var(--color-bg-section);
    padding-bottom: 150px;
}
.container--access { max-width: 1300px; margin: 0 auto; padding: 0 30px; }
.access-flex { display: flex; gap: 35px; align-items: stretch; margin-top: 50px; }
.access-box { background: var(--color-white); padding: 40px; border-radius: var(--border-radius); box-shadow: 0 4px 20px rgba(0,0,0,0.04); flex: 1; }
.clinic-box { flex: 1.6; } /* 地図があるため広めに設定 */
.access-box h3 { border-bottom: 2px solid var(--color-brown-base); padding-bottom: 12px; margin-bottom: 30px; font-size: 1.4rem; }

/* Access Cards Layout */
.clinic-text { line-height: 1.8; }
.clinic-text ul { list-style: none; padding: 0; margin-top: 15px; }
.clinic-text li { margin-bottom: 8px; font-size: 0.95rem; color: var(--color-text-light); }

/* Full Width Map Section */
.cs-access-map {
    margin-top: 40px;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid #edf2f2;
    background: #fff;
    width: 100%;
}
.cs-access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Time Table section specifics to match image */
.access-box.time-box h3.time-title { 
    border-bottom: 2px solid #58c9b9;
    color: #58c9b9; 
}
.dept-subtitle { font-weight: bold; margin: 15px 0; color: var(--color-text); font-size: 1.05rem; }
.time-table { width: 100%; border-collapse: collapse; text-align: center; margin-bottom: 15px; font-size: 1.05rem; }
.time-table th, .time-table td { border: 1px solid #58c9b9; padding: 12px 5px; }
.time-table th { background: #f9f9f9; font-weight: normal; color: var(--color-text-light); }
.time-table th:first-child, .time-table td:first-child { background: #f9f9f9; }
.time-table .circle { color: #555; font-size: 1.2rem; }
.time-table .cross { color: #555; }
.last-reception { font-size: 1rem; color: var(--color-text); text-align: left; }

/* Footer */
footer { background: var(--color-cyan); color: var(--color-bg-light); padding: 60px 0 20px; text-align: center; }
.footer-logo { font-size: 1.5rem; margin-bottom: 15px; font-weight: 700; color: white; }
.footer-links { margin-bottom: 30px; display: flex; justify-content: center; gap: 20px;}
.footer-links a { font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--color-orange); }
.copyright { font-size: 0.8rem; opacity: 0.6; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 20px; }

/* =========================================
   Coming Soon Page overrides & specific
========================================= */
#coming-soon { display: flex; justify-content: center; align-items: center; background: linear-gradient(135deg, var(--color-bg-section) 0%, var(--color-white) 100%); overflow: hidden; }
.coming-soon-container { padding: 60px 40px; max-width: 600px; text-align: center; z-index: 2; position: relative; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 12px; box-shadow: 0 10px 40px rgba(110, 78, 59, 0.08); }
.new-badge { background-color: var(--color-orange); color: white; padding: 6px 16px; border-radius: 20px; font-size: 0.9rem; font-weight: 700; display: inline-block; margin-bottom: 20px; }
.coming-soon-container .clinic-name { font-size: 2.2rem; color: var(--color-brown-dark); margin: 10px 0 25px; }
.opening-date { font-size: 1.5rem; font-weight: 700; color: var(--color-green-main); border: 2px solid var(--color-green-main); padding: 10px 30px; border-radius: 30px; display: inline-block; }
.divider { width: 40px; height: 3px; background-color: var(--color-green-light); margin: 30px auto; }
.coming-soon-container .message { color: var(--color-text); line-height: 1.8; }
.bg-shape { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 1; opacity: 0.4; }
.shape-1 { width: 400px; height: 400px; background-color: var(--color-green-light); top: -100px; right: -100px; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background-color: var(--color-orange); bottom: -50px; left: -50px; animation: float 10s ease-in-out infinite reverse; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0); } }

/* =========================================
   Responsive 
========================================= */

/* タブレット: 900px以下 */
@media (max-width: 900px) {
    html { font-size: 16px; } /* スマホ・タブレットはデフォルトの16pxに戻す */
    .dept-list, .info-grid { grid-template-columns: 1fr; }
    .doctor-wrap { flex-direction: column; padding: 30px; gap: 30px; }
    .doctor-photo { width: 100%; flex-basis: auto; height: 260px; }
    .doctor-header-info { flex-direction: column; gap: 30px; }
    .doctor-main-photo { flex: none; width: 100%; }
    .check-list { grid-template-columns: 1fr; }
    .doctor-detail-wrap { padding: 30px; }
}

/* スマホ: 768px以下 */
@media (max-width: 768px) {
    /* Header */
    .header-top { 
        flex-direction: column; 
        gap: 10px; 
        padding: 14px 16px; 
        text-align: center; 
    }
    .header-logo img { height: 44px; }
    .header-contact { gap: 14px; }
    .header-contact .tel { font-size: 0.82rem; }
    .header-contact .tel strong { font-size: 1.25rem; display: inline; }
    .header-reserve { padding: 10px 22px; font-size: 0.9rem; }

    /* Nav */
    .header-nav ul { flex-wrap: wrap; }
    .header-nav li { width: 50%; text-align: center; }
    .header-nav li a { padding: 11px 10px; font-size: 0.88rem; letter-spacing: 0; }

    /* Hero */
    .hero { padding: 30px 16px; min-height: 55vh; }
    .hero-content h2 { 
        font-size: 1.9rem; 
        letter-spacing: 1px; 
        margin-bottom: 14px;
    }
    .hero-content p { font-size: 1.15rem; margin-bottom: 22px; }
    .hero-label { font-size: 0.9rem; padding: 8px 16px; }
    .hero-info { gap: 10px; }

    /* Sections */
    .section { padding: 70px 0; }
    .section-title { font-size: 1.9rem; margin-bottom: 40px; }

    /* Concept */
    .concept-item { padding: 28px 20px; }
    .concept-item h3 { font-size: 1.15rem; }
    .concept-item p { font-size: 0.95rem; }

    /* Dept */
    .dept-content { padding: 22px; }
    .dept-content h4 { font-size: 1.25rem; }

    /* Doctor */
    .doctor-wrap { padding: 24px; gap: 24px; }
    .doctor-photo { height: 220px; }

    /* Access */
    .container--access { padding: 0 15px; }
    .access-flex { flex-direction: column; gap: 30px; }
    .access-box { padding: 25px 20px; }
    .clinic-content { flex-direction: column; gap: 20px; }
    .clinic-map { height: 280px; min-height: auto; }
    .time-table th, .time-table td { padding: 8px 4px; font-size: 0.83rem; }

    #access {


        background: var(--color-bg-section);
        padding-bottom: 110px;
    }

    /* Footer */
    .footer-links { flex-wrap: wrap; gap: 12px; }

    /* News Mobile */
    .news-header { flex-wrap: wrap; gap: 15px; padding: 15px 5px; }
    .news-date { min-width: 80px; font-size: 0.9rem; }
    .news-title { width: 100%; order: 3; font-size: 1rem; }
    .news-toggle { width: 36px; height: 36px; order: 2; margin-left: auto; }
    .news-item { margin-bottom: 16px; border-radius: 10px; }
    .news-body { background: #fcfcfc; border-top: 1px solid #eee; }
    .news-content { padding: 20px 20px 30px; }
    .news-content p { font-size: 0.95rem; }
}

/* Coming Soon Specifics */
html, body { height: 100%; }
.coming-soon-main { 
    background-color: var(--color-bg-section); 
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100vw; /* 画面幅を超えない */
    position: relative;
}
.coming-soon-main main {
    flex-grow: 1;
}

/* Leafをフッターに「接する」ように配置するためのWrapper（フッター直前の独立した行） */
.cs-ornament-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
    margin-bottom: 0;
    line-height: 0;
    overflow: hidden; /* wrapper外にはみ出す箇所を防止 */
    max-width: 100%; /* 画面幅超過を防止 */
}
.cs-ornament {
    width: 250px;
    flex-shrink: 0;
    line-height: 0;
}
.cs-ornament img { width: 100%; height: auto; display: block; }

.cs-hero { 
    height: 90vh; 
    min-height: 850px; 
    background: url('img/ClinicMV.webp') center/cover no-repeat; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.cs-hero::before { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: none; 
}

.cs-hero-card { 
    z-index: 10; 
    width: calc(100% - 40px); 
    max-width: 1200px; 
    position: relative; 
    color: #fff;
}
.cs-card-header { display: none; }
.cs-logo { display: none; }
.cs-card-body { padding: 0; }

.cs-label { 
    display: inline-block; 
    padding: 17px 50px;
    background: var(--color-orange); 
    color: white; 
    border-radius: 200px; 
    font-weight: 700; 
    margin-bottom: 60px; /* マットとの間に山をしっかり空ける */
    font-size: 2.24rem;
    letter-spacing: 4px;
    filter: drop-shadow(5px 5px 20px rgba(0,0,0,0.85));
}
/* 白半透明マット（h1＋メッセージをこの中に包む） */
.cs-text-mat {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 19px;
    padding: 32px 45px 38px;
    display: block; /* inline-blockからblockに変更で超過防止 */
    width: 100%;
    max-width: 100%; /* 超過防止 */
    box-sizing: border-box;
    overflow: hidden; /* 内容のはみ出しの防止 */
}

.cs-title { 
    font-size: 3.94rem;
    margin-bottom: 24px;
    word-break: break-all; /* 文字の切り返しを強制 */
    overflow-wrap: break-word;
    color: #fff; 
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 4px;
    text-shadow: 5px 5px 20px rgba(0, 0, 0, 0.95);
}

.cs-message { 
    font-size: 1.6rem; /* 2rem * 0.8 */
    color: #fff; 
    line-height: 2; 
    margin: 0 auto; 
    max-width: 1000px; 
    font-weight: 500;
}
.cs-message p {
    /* 指示数値（5, 5, 20）を極限まで鮮明に適用 */
    text-shadow: 5px 5px 20px rgba(0, 0, 0, 0.95);
    font-weight: 500;
}

/* 内覧会お知らせセクション */
.cs-nairankai-section {
    background: transparent;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}
.cs-nairankai-card {
    background: #fff;
    max-width: 800px;
    width: 100%;
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 40px 100px rgba(0, 164, 206, 0.15);
    text-align: center;
    border: 1px solid rgba(0, 164, 206, 0.1);
    position: relative;
    overflow: hidden;
}
.cs-nairankai-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 8px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-green-main));
}
.cs-nairankai-label {
    display: inline-block;
    background: rgba(0, 164, 206, 0.1);
    color: var(--color-cyan);
    padding: 6px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.cs-nairankai-title {
    font-size: 3rem;
    color: var(--color-cyan);
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
}
.cs-nairankai-lead {
    font-size: 1.5rem;
    color: var(--color-brown-dark);
    font-weight: 700;
    margin-bottom: 40px;
}
.cs-nairankai-datetime {
    background: #f8fcfd;
    border-radius: 20px;
    padding: 40px 20px;
    margin-bottom: 40px;
    border: 1px dashed var(--color-cyan);
}
.cs-nairankai-datetime .cs-date {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}
.cs-nairankai-datetime .number {
    font-size: 5rem;
    color: var(--color-cyan);
    margin: 0 5px;
}
.cs-nairankai-datetime .unit {
    font-size: 1.5rem;
    color: var(--color-text-light);
}
.cs-nairankai-datetime .cs-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 1px;
}
.cs-nairankai-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 30px;
}
.cs-nairankai-insta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-brown-dark);
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.cs-nairankai-insta-link i {
    font-size: 1.4rem;
    color: #E1306C; /* Instagram color */
}
.cs-nairankai-insta-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}
.cs-nairankai-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.cs-nairankai-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--color-orange);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(245, 152, 0, 0.2);
    transition: all 0.3s ease;
}
.cs-nairankai-detail-link:hover {
    opacity: 0.86;
    transform: translateY(-2px);
}

.cs-info-section { padding: 0 0 60px; background: transparent; position: relative; z-index: 10; }
.cs-address-marker {
    border-bottom: 2px solid var(--color-orange);
    display: inline-block;
}
.cs-flex-stretch { align-items: stretch; }
.cs-box-shadow { box-shadow: 0 30px 80px rgba(0,0,0,0.15) !important; border: 1px solid #eee; }

.cs-footer { 
    text-align: center; 
    padding: 60px 20px;
    background-color: #00a4ce;
    position: relative; /* 他の背景要素（診療時間カードの影など）に隠れないように */
    z-index: 10;
}
.cs-footer p { color: #ffffff !important; font-weight: 700; font-size: 1.2rem; opacity: 1 !important; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

/* Specialized Time Notes */
.cs-time-notes {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    text-align: left;
    display: grid;
    gap: 16px;
}
.cs-time-note-item {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}
.cs-time-note-badge {
    background-color: var(--color-cyan);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}
.cs-time-note-badge.cs-bg-orange { background-color: var(--color-orange); }
.cs-time-note-badge.cs-bg-green { background-color: var(--color-green-main); }
.cs-time-note-content {
    font-size: 0.95rem;
    color: var(--color-text);
}
.cs-time-note-content strong {
    color: var(--color-text);
    font-weight: 700;
}

/* ========== RESPONSIVE: Coming Soon ========== */

@media (max-width: 1200px) {
    .cs-label { font-size: 1.8rem; padding: 17px 50px; }
    .cs-title { font-size: 4.2rem; letter-spacing: 2px; }
    .cs-message { font-size: 1.6rem; }
    .cs-ornament { width: 180px; }
}

@media (max-width: 768px) {
    .coming-soon-main { background: var(--color-bg-section); }

    /* Hero */
    .cs-hero { height: auto; min-height: 0; padding: 60px 0; }
    .cs-hero-card { width: calc(100% - 32px); max-width: 100%; }

    /* バナー */
    .cs-label {
        font-size: 1.15rem;
        padding: 11px 28px;
        margin-bottom: 32px;
        letter-spacing: 1px;
    }

    /* 白マット */
    .cs-text-mat {
        padding: 22px 19px 26px;
        border-radius: 13px;
    }

    /* タイトル */
    .cs-title {
        font-size: 1.76rem;
        margin-bottom: 16px;
        letter-spacing: 0; /* モバイルでは文字間隔ゼロに */
        word-break: break-all;
    }

    /* メッセージ */
    .cs-message { font-size: 0.8rem; line-height: 1.9; max-width: 100%; letter-spacing: 0; }

    /* 内覧会セクション */
    .cs-nairankai-section { padding: 40px 16px; }
    .cs-nairankai-card { padding: 40px 20px; border-radius: 20px; }
    .cs-nairankai-title { font-size: 1.8rem; margin-bottom: 20px; }
    .cs-nairankai-lead { font-size: 1rem; margin-bottom: 24px; }
    .cs-nairankai-datetime { padding: 24px 10px; margin-bottom: 24px; }
    .cs-nairankai-datetime .cs-date { font-size: 2rem; }
    .cs-nairankai-datetime .number { font-size: 2.8rem; }
    .cs-nairankai-datetime .cs-time { font-size: 1.6rem; }
    .cs-nairankai-text { font-size: 0.95rem; margin-bottom: 20px; }
    .cs-nairankai-insta { font-size: 0.95rem; }

    /* クリニック情報 */
    .cs-info-section { padding: 0 0 48px; }

    /* Leafデコレーション */
    .cs-ornament { width: 110px; }
    .cs-ornament-wrapper { overflow: visible; }

    .cs-footer p { font-size: 0.9rem; }

    /* Time Notes Responsive */
    .cs-time-notes { margin-top: 24px; padding-top: 20px; gap: 12px; }
    .cs-time-note-item { gap: 10px; }
    .cs-time-note-badge { min-width: 70px; font-size: 0.7rem; padding: 2px 8px; }
    .cs-time-note-content { font-size: 0.85rem; }

    /* Map Responsive */
    .cs-access-map { height: 350px; margin-top: 30px; }
}

@media (max-width: 480px) {
    /* バナー */
    .cs-label {
        font-size: 0.95rem;
        padding: 9px 20px;
        margin-bottom: 24px;
        letter-spacing: 1px;
    }

    /* 白マット */
    .cs-text-mat {
        padding: 20px 16px 24px;
        border-radius: 12px;
    }

    /* タイトル */
    .cs-title {
        font-size: 1.7rem;
        letter-spacing: 0px;
        margin-bottom: 16px;
    }

    /* メッセージ */
    .cs-message { font-size: 0.9rem; line-height: 1.85; }

    /* 内覧会 */
    .cs-nairankai-section { padding: 20px 10px; }
    .cs-nairankai-card { padding: 32px 16px; }
    .cs-nairankai-title { font-size: 1.6rem; }
    .cs-nairankai-datetime .cs-date { font-size: 1.8rem; }
    .cs-nairankai-datetime .number { font-size: 2.4rem; }
    .cs-nairankai-datetime .cs-time { font-size: 1.4rem; }

    /* Leaf */
    .cs-ornament { width: 80px; }

    /* テーブル */
    .time-table th, .time-table td { padding: 6px 2px; font-size: 0.76rem; }
    .time-table td:first-child { font-size: 0.72rem; white-space: nowrap; }

    /* フッター */
    .cs-footer { padding: 36px 16px; }
    .cs-footer p { font-size: 0.8rem; }

    /* Map Responsive */
    .cs-access-map { height: 280px; margin-top: 20px; }
}

/* =========================================
   Nairankai LP
========================================= */
.nairankai-page {
    min-height: 100vh;
    background:
        linear-gradient(rgba(255,255,255,0.62), rgba(255,255,255,0.62)),
        radial-gradient(circle at 20% 20%, rgba(0, 164, 206, 0.08), transparent 32%),
        linear-gradient(135deg, #f4f7f7 0%, #ffffff 56%, #eff8f4 100%);
    color: var(--color-text);
}

.nairankai-page main {
    overflow: hidden;
}

.nairankai-page {
    scroll-behavior: smooth;
}

.nlp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 5%;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 164, 206, 0.08);
}

.nlp-header-logo {
    display: inline-flex;
    align-items: center;
    max-width: 420px;
}

.nlp-header-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.nlp-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nlp-header-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 18px;
    border-radius: 999px;
    color: var(--color-brown-dark);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.nlp-header-nav a:hover {
    background: rgba(0, 164, 206, 0.1);
    color: var(--color-cyan);
}

.nlp-hero {
    position: relative;
    padding: 0;
    min-height: 480px;
    background: #fff;
    display: flex;
    overflow: hidden;
}

.nlp-hero-left {
    flex: 0 0 42%;
    background: linear-gradient(135deg, #007fa0 0%, #005f7a 100%);
    color: #fff;
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.nlp-hero-right {
    flex: 1;
    position: relative;
    background: #f4f7f7;
}

.nlp-hero-right img.nlp-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.nlp-hero-copy {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.nlp-hero-subtitle {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
}

.nlp-hero h1 {
    margin: 0 0 16px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    color: #fff;
    display: block;
}

.nlp-hero .nlp-title-main {
    font-size: 4.2rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: block;
}

.nlp-hero-dates {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
}

.nlp-hero-month {
    font-size: 2.0rem;
    font-weight: 700;
    opacity: 0.95;
}

.nlp-hero-day {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1;
}

.nlp-hero-day small {
    font-size: 1.5rem;
    margin-left: 4px;
    font-weight: 700;
}

.nlp-hero-time {
    font-size: 2.0rem; /* Matched with month for harmony */
    font-weight: 700;
    margin-left: 16px;
    opacity: 0.95;
    letter-spacing: 0.05em;
}

.nlp-hero-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin: 20px 0;
    width: 100%;
}

.nlp-hero-lead {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.7;
}

.nlp-cta-row {
    margin-bottom: 24px;
}

.nlp-social-row {
    margin-top: 12px;
    opacity: 0.9;
}

.nlp-hero-right .nlp-doctor-chip {
    left: -60px;
    bottom: 40px;
    z-index: 20;
    width: 280px;
    transform: rotate(-3deg);
    filter: drop-shadow(12px 18px 25px rgba(0, 0, 0, 0.2));
}

.nlp-hero-right .nlp-sticker {
    z-index: 25;
}

.nlp-hero-right .nlp-sticker-orange {
    top: 40px;
    right: 40px;
}

.nlp-hero-right .nlp-sticker-green {
    top: 110px;
    right: 40px;
    bottom: auto;
}

.nlp-present-chip {
    position: absolute;
    top: 175px;
    right: 50px;
    z-index: 25;
    width: 100px;
    transform: rotate(10deg);
    filter: drop-shadow(10px 14px 20px rgba(0, 0, 0, 0.2));
}

.nlp-present-chip img {
    width: 100%;
    height: auto;
    filter: url(#solid-white-border);
}

.paper-cut {
    position: relative;
    background: #fff;
    border: 10px solid #fff;
    box-shadow: 0 18px 35px rgba(110, 78, 59, 0.16), 0 0 0 1px rgba(255,255,255,0.75);
}

.paper-cut::after {
    content: "";
    position: absolute;
    inset: -9px;
    border: 2px dashed rgba(255, 255, 255, 0.9);
    border-radius: inherit;
    pointer-events: none;
}

.nlp-cta-row,
.nlp-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.nlp-social-row {
    margin-top: 14px;
}

.nlp-btn,
.nlp-social-row a,
.nlp-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.3;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nlp-btn:hover,
.nlp-social-row a:hover,
.nlp-map-link:hover {
    transform: translateY(-2px);
}

.nlp-btn-primary {
    background: var(--color-orange);
    color: #fff;
    box-shadow: 0 10px 22px rgba(245, 152, 0, 0.22);
}

.nlp-btn-secondary {
    background: var(--color-cyan);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 164, 206, 0.18);
}

.nlp-social-row a {
    min-height: 46px;
    padding: 10px 18px;
    background: #fff;
    color: var(--color-brown-dark);
    border: 1px solid rgba(0, 164, 206, 0.16);
    box-shadow: 0 8px 18px rgba(110, 78, 59, 0.08);
}

.nlp-social-row .fa-instagram {
    color: #e1306c;
}

.nlp-social-row .fa-youtube {
    color: #ff0033;
}

.nlp-hero-collage {
    position: relative;
    min-height: 590px;
}

.nlp-photo-cut {
    overflow: hidden;
    border-radius: 34px 26px 38px 24px;
    clip-path: polygon(2% 4%, 96% 0, 100% 91%, 88% 100%, 7% 96%, 0 18%);
}

.nlp-photo-cut img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nlp-clinic-cut {
    position: absolute;
    inset: 34px 0 92px 32px;
    transform: rotate(1.2deg);
    border-radius: 0;
    clip-path: none;
}

.nlp-logo-chip {
    position: absolute;
    top: 0;
    left: 0;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg);
    filter: drop-shadow(8px 12px 18px rgba(110, 78, 59, 0.15));
}

.nlp-logo-chip img {
    width: 94px;
    filter: url(#solid-white-border);
}

.nlp-doctor-chip {
    position: absolute;
    left: 0;
    bottom: 8px;
    z-index: 50; /* Topmost layer */
    width: 240px;
    transform: rotate(-4deg);
}

.nlp-doctor-chip img {
    width: 100%;
    height: auto;
    display: block;
    filter: url(#solid-white-border);
}

.nlp-doctor-label {
    position: relative;
    display: block;
    margin-top: -16px;
    margin-left: 4px;
    margin-right: 4px;
    padding: 14px 18px;
    color: var(--color-brown-dark);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
    z-index: 52;
    filter: drop-shadow(8px 12px 18px rgba(0, 50, 70, 0.18));
}

.nlp-doctor-label::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    /* フリーハンド切り抜き風の不整形なマット */
    clip-path: polygon(2% 6%, 97% 0%, 100% 82%, 94% 98%, 6% 100%, 0% 52%);
    z-index: -1;
    border-radius: 2px;
}

.nlp-sticker {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 26px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: 0;
    background: transparent !important;
    filter: drop-shadow(10px 14px 20px rgba(0, 0, 0, 0.18));
}

.nlp-sticker::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    clip-path: polygon(0 8%, 96% 0, 100% 88%, 8% 100%);
    border-radius: 3px;
}

.nlp-sticker-orange {
    top: 124px;
    right: 12px;
    transform: rotate(5deg);
}

.nlp-sticker-orange::before {
    background: var(--color-orange);
}

.nlp-sticker-green {
    right: 90px;
    bottom: 86px;
    transform: rotate(-5deg);
}

.nlp-sticker-green::before {
    background: var(--color-green-main);
}

.nlp-section {
    padding: 82px 0;
    position: relative;
}

.nlp-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 4px 16px;
    border-radius: 999px;
    background: #f59800;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

.nlp-section-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.nlp-section-head h2 {
    margin: 16px 0 14px;
    color: var(--color-brown-dark);
    font-size: 2.35rem;
    letter-spacing: 0;
}

.nlp-section-head p {
    color: var(--color-text-light);
    font-weight: 500;
}

.nlp-point-grid,
.nlp-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.nlp-point-card,
.nlp-event-card,
.nlp-access-info,
.nlp-trust-card,
.nlp-faq-list details {
    background: #fff;
    border: 1px solid rgba(0, 164, 206, 0.1);
    box-shadow: 0 12px 34px rgba(110, 78, 59, 0.06);
}

.nlp-point-card {
    padding: 34px 28px;
    border-radius: 8px;
    text-align: center;
}

.nlp-point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--color-cyan);
    color: #fff;
    font-size: 1.75rem;
}

.nlp-bg-orange {
    background: var(--color-orange);
}

.nlp-bg-green {
    background: var(--color-green-main);
}

.nlp-point-card h3,
.nlp-event-card h3 {
    margin-bottom: 10px;
    color: var(--color-brown-dark);
    font-size: 1.32rem;
}

.nlp-point-card p,
.nlp-event-card p {
    color: var(--color-text-light);
    font-size: 0.98rem;
    line-height: 1.75;
}

.nlp-events {
    background: rgba(255, 255, 255, 0.54);
}

.nlp-event-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: stretch;
}

.nlp-event-visuals {
    position: relative;
    min-height: 500px;
}

.nlp-event-photo-card {
    position: absolute;
}

.nlp-event-photo-card img {
    display: block;
    width: 100%;
    height: auto;
    /* 透明PNGの不透明部分に沿って白フチと影をつける */
    filter: url(#solid-white-border) drop-shadow(0 10px 15px rgba(0,0,0,0.15));
}

.nlp-photo-1 {
    width: 65%;
    top: 10px;
    left: 0;
    transform: rotate(-3deg);
    z-index: 3;
}

.nlp-photo-2 {
    width: 60%;
    bottom: 20px;
    left: 30%;
    transform: rotate(4deg);
    z-index: 2;
}

.nlp-photo-3 {
    width: 55%;
    top: 25%;
    right: 0;
    transform: rotate(-2deg);
    z-index: 1;
}

.nlp-photo-4 {
    width: 48%;
    top: 45%;
    left: 5%;
    transform: rotate(6deg);
    z-index: 4;
}

.nlp-event-details-area {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(110, 78, 59, 0.06);
}

.nlp-event-title {
    font-size: 1.8rem;
    color: var(--color-brown-dark);
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 3px dashed var(--color-yellow);
    padding-bottom: 12px;
}

.nlp-event-title span {
    color: var(--color-orange);
}

.nlp-event-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.nlp-event-list-modern li {
    position: relative;
    padding-left: 20px;
}

.nlp-event-list-modern li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px; /* text height adjustment */
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-cyan);
}

.nlp-event-list-text h4 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    color: var(--color-brown-dark);
    border-bottom: 2px solid var(--color-yellow);
    display: inline-block;
    padding-bottom: 2px;
}

.nlp-event-list-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.nlp-event-notice-box {
    margin-top: 30px;
    padding: 20px;
    border: 3px dashed var(--color-green-main);
    border-radius: 12px;
    background: #fdfdfd;
}

.nlp-event-notice-box h4 {
    text-align: center;
    color: var(--color-brown-dark);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.nlp-event-notice-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.7;
}

.nlp-event-notice-box li {
    margin-bottom: 6px;
}




.nlp-event-badge {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--color-orange);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.nlp-badge-green {
    background: var(--color-green-main);
}

.nlp-badge-cyan {
    background: var(--color-cyan);
}

.nlp-badge-yellow {
    background: var(--color-yellow);
    color: var(--color-brown-dark);
}

.nlp-trust-card {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    padding: 44px;
    border-radius: 8px;
    /* Removed the arbitrary negative margin to handle spacing via wrapper */
    position: relative;
    z-index: 20;
}

.nlp-trust {
    padding-bottom: 0;
}

.nlp-trust-photo {
    overflow: hidden;
    border-radius: 30px;
}

.nlp-trust-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
}

.nlp-trust-text h2 {
    margin: 14px 0 18px;
    font-size: 2rem;
}

.nlp-trust-text p {
    color: var(--color-text-light);
}

.nlp-feature-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.nlp-trust-profile {
    text-align: center;
}

.nlp-trust-name {
    margin-top: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-brown-dark);
    letter-spacing: 0.05em;
}

.nlp-official-link-box {
    margin-top: 32px;
    padding: 24px;
    background: #fdfdfd;
    border: 2px solid rgba(0, 164, 206, 0.15);
    border-radius: 12px;
}

.nlp-official-name {
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
}

.nlp-official-url {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-cyan);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nlp-official-url:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.nlp-feature-list li {
    position: relative;
    padding-left: 28px;
    font-weight: 700;
    color: var(--color-text);
}

.nlp-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-green-light);
}

.nlp-access {
    background: var(--color-bg-section);
}

.nlp-access-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
    gap: 28px;
    align-items: stretch;
}

.nlp-access-info {
    padding: 34px;
    border-radius: 28px 20px 32px 22px;
}

.nlp-access-info h3 {
    margin-bottom: 16px;
    font-size: 1.45rem;
}

.nlp-address {
    margin-bottom: 18px;
    color: var(--color-brown-dark);
    font-weight: 700;
}

.nlp-access-info ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 24px;
}

.nlp-access-info li {
    position: relative;
    padding-left: 22px;
    color: var(--color-text-light);
}

.nlp-access-info li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan);
}

.nlp-map-link {
    background: var(--color-cyan);
    color: #fff;
}

.nlp-map-card {
    min-height: 430px;
    border: 10px solid #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 42px rgba(110, 78, 59, 0.12);
}

.nlp-faq {
    background: #fff;
}

.nlp-faq-list {
    display: grid;
    gap: 14px;
}

.nlp-faq-list details {
    border-radius: 8px;
    overflow: hidden;
}

.nlp-faq-list summary {
    cursor: pointer;
    padding: 20px 24px;
    color: var(--color-brown-dark);
    font-weight: 700;
    list-style: none;
}

.nlp-faq-list summary::-webkit-details-marker {
    display: none;
}

.nlp-faq-list summary::after {
    content: "+";
    float: right;
    color: var(--color-cyan);
    font-size: 1.3rem;
    line-height: 1;
}

.nlp-faq-list details[open] summary::after {
    content: "-";
}

.nlp-faq-list p {
    padding: 0 24px 22px;
    color: var(--color-text-light);
}

.nlp-ornament-wrapper {
    /* 白背景を削除し、ネガティブマージンでフッターごと上に引き上げて空間を詰める */
    margin-top: -180px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .nlp-ornament-wrapper {
        margin-top: -80px; /* スマホ時は引き上げ量を調整 */
    }
}

.nlp-footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.nlp-footer-links a {
    color: #fff;
    font-weight: 700;
    border-bottom: 2px solid rgba(255,255,255,0.7);
}

@media (max-width: 1300px) {
    .nlp-hero .nlp-title-main,
    .nlp-hero-day {
        font-size: 3.8rem;
    }
}

@media (max-width: 1300px) {
    .nlp-hero .nlp-title-main,
    .nlp-hero-day {
        font-size: 3.8rem;
    }
}

@media (max-width: 1100px) {
    .nlp-header {
        padding: 8px 4%;
        gap: 16px;
    }

    .nlp-header-logo img {
        height: 44px;
    }

    .nlp-header-nav {
        gap: 4px;
        background: #f8fbfc;
        padding: 3px;
        border-radius: 999px;
        border: 1px solid rgba(0, 164, 206, 0.15);
    }

    .nlp-header-nav a {
        padding: 6px 14px;
        font-size: 0.88rem;
        min-height: 34px;
        border-radius: 999px;
    }

    p {
        font-size: 1.05rem;
    }

    .nlp-hero {
        flex-direction: column;
        display: block;
    }

    .nlp-hero-left {
        width: 100% !important;
        flex: none !important;
        padding: 48px 24px 64px;
    }

    .nlp-hero h1 {
        font-size: 2.65rem;
    }

    .nlp-hero-lead {
        font-size: 1.15rem;
    }

    .nlp-hero-dates {
        flex-wrap: wrap;
        gap: 0 10px;
    }

    .nlp-hero-month,
    .nlp-hero-day,
    .nlp-hero-day small,
    .nlp-hero-time {
        font-size: 2.8rem;
        margin: 0;
        line-height: 1.2;
    }

    .nlp-hero-right {
        width: 100% !important;
        flex: none !important;
        min-height: 500px;
    }

    .nlp-event-split {
        grid-template-columns: 1fr;
    }

    .nlp-event-visuals {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        min-height: 650px; /* Increased to allow vertical spread */
    }

    /* Tablet specific photo adjustments to reduce overlap to 1-5% */
    .nlp-photo-1 { top: 0 !important; }
    .nlp-photo-3 { top: 22% !important; }
    .nlp-photo-4 { 
        top: 45% !important; 
        left: 2% !important; 
    }
    .nlp-photo-2 { 
        top: auto !important; 
        bottom: 0 !important; 
        left: 38% !important; /* Moved right to avoid overlap with photo 4 */
    }

    .nlp-event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}



@media (max-width: 860px) {
    .nlp-hero-right {
        min-height: 540px;
    }

    .nlp-clinic-cut {
        inset: 32px 0 90px 0;
    }

    .nlp-logo-chip {
        width: 100px;
        height: 100px;
    }

    .nlp-logo-chip img {
        width: 72px;
    }

    .nlp-doctor-chip {
        width: 190px;
        left: 10px;
        bottom: 10px;
    }

    .nlp-doctor-chip img {
        width: 50%;
        margin: 0 auto;
    }

    .nlp-hero-right .nlp-sticker-orange {
        position: absolute;
        top: 8px;
        right: -8px;
        transform: rotate(4deg);
        z-index: 30;
    }

    .nlp-hero-right .nlp-sticker-green {
        position: absolute;
        top: 58px;
        right: -10px;
        bottom: auto;
        transform: rotate(-2deg);
        z-index: 25;
    }

    .nlp-present-chip {
        position: absolute;
        top: 112px;
        right: 22px;
        width: 82px;
        transform: rotate(8deg);
        z-index: 20;
    }
    .nlp-point-grid,
    .nlp-access-grid,
    .nlp-trust-card {
        grid-template-columns: 1fr !important;
    }

    .nlp-section {
        padding: 60px 0;
    }

    .nlp-section-head {
        margin-bottom: 30px;
    }

    .nlp-section-head h2 {
        font-size: 1.8rem;
    }

    .nlp-trust-card {
        padding: 28px;
    }

    .nlp-trust-profile {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .nlp-header {
        flex-direction: column;
        padding: 12px 20px 16px;
        gap: 12px;
        align-items: center;
    }

    .nlp-header-logo img {
        height: 38px;
    }

    .nlp-header-nav {
        width: 100%;
        background: transparent;
        border: none;
        padding: 0;
        gap: 6px;
        justify-content: center;
    }

    .nlp-header-nav a {
        flex: 1;
        padding: 6px 4px;
        font-size: 0.8rem;
        min-height: 36px;
        background: #fff;
        border: 1px solid rgba(0, 164, 206, 0.1);
        border-radius: 6px;
        text-align: center;
        justify-content: center;
    }

    .nlp-cta-row,
    .nlp-social-row {
        align-items: stretch;
        flex-direction: column;
    }

    .nlp-btn,
    .nlp-social-row a,
    .nlp-map-link {
        width: 100%;
    }

    .nlp-event-grid {
        grid-template-columns: 1fr;
    }

    .nlp-hero h1 {
        font-size: 2.15rem;
    }

    .nlp-hero-dates {
        flex-wrap: wrap;
        gap: 0 8px;
    }
    
    .nlp-hero-month,
    .nlp-hero-day,
    .nlp-hero-day small,
    .nlp-hero-time {
        font-size: 2.3rem;
        margin: 0;
    }

    .nlp-hero-right {
        min-height: 450px;
    }

    .nlp-hero-right .nlp-sticker-orange {
        top: 6px;
        right: -8px;
    }

    .nlp-hero-right .nlp-sticker-green {
        top: 56px;
        right: -10px;
    }

    .nlp-present-chip {
        top: 108px;
        right: 20px;
        width: 82px;
    }

    .nlp-doctor-chip {
        width: 150px;
        font-size: 0.78rem;
        left: 10px;
        bottom: 10px;
    }

    .nlp-doctor-chip img {
        width: 50%;
        margin: 0 auto;
    }

    .nlp-map-card {
        min-height: 280px;
        border-width: 5px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .nlp-access-info {
        padding: 24px 15px; /* Reduced to avoid overflow on narrow screens */
        width: 100%;
        box-sizing: border-box;
    }

    .nlp-trust-card {
        padding: 24px 15px; /* Reduced padding */
        grid-template-columns: 1fr !important; /* Force stack if not already */
        width: 100%;
        box-sizing: border-box;
    }

    .nlp-trust-profile {
        max-width: 100%;
        width: 100%;
        margin: 0 auto 20px;
    }

    .nlp-logo-chip {
        width: 80px;
        height: 80px;
    }

    .nlp-logo-chip img {
        width: 56px;
    }

    .nlp-event-visuals {
        min-height: 420px;
    }

    .nlp-photo-1 {
        width: 58%;
        top: 8px;
        left: 1%;
    }

    .nlp-photo-3 {
        width: 48%;
        top: 92px;
        right: 2%;
    }

    .nlp-photo-4 {
        width: 49%;
        top: 158px;
        left: 3%;
    }

    .nlp-photo-2 {
        width: 50%;
        top: 286px;
        left: 31%;
        bottom: auto;
    }

    .nlp-official-link-box {
        padding: 16px;
    }

    .nlp-official-url {
        font-size: 0.95rem;
        word-break: break-all;
    }
}
