@charset "UTF-8";

/* =========================================================
   Reset & Base
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-text-main: #333333;
    --color-text-sub: #666666;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-bg-light: #f8f8f8;
    
    /* 共通カラー */
    --color-header-bg: #9d9189;    /* グレージュ */
    --color-dark-brown: #3f2c22;  /* 焦げ茶 */
    --color-border-gray: #e5e5e5; /* 薄いグレーの境界線 */
    
    --font-family: 'Noto Serif JP', serif;
}

/* スムーススクロール有効化 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    line-height: 1.8;
    font-size: 14px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

.inner-narrow {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 20px;
}

/* PC表示ではスマホ専用の改行（.sp-only）を非表示にする */
.sp-only {
    display: none;
}

/* =========================================================
   Components (Buttons)
========================================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.btn-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.link-en {
    display: inline-block;
    font-size: 12px;
    color: var(--color-text-sub);
    text-decoration: underline;
    margin-top: 15px;
}

/* =========================================================
   Header & Hamburger Menu
========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: var(--color-white);
    border-bottom: 1px solid #eee;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 24px;
    display: block;
}

.hamburger-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--color-black);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s;
}

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

/* Overlay Nav */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    background-image: url("images/nav_bg_text.png");
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

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

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.close-btn::before,
.close-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--color-black);
}

.close-btn::before { transform: translate(-50%, -50%) rotate(45deg); }
.close-btn::after { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-overlay-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.nav-list {
    text-align: center;
    margin-bottom: 40px;
}

.nav-list li {
    margin-bottom: 20px;
}

.nav-list a {
    font-size: 16px;
    letter-spacing: 0.1em;
}

.nav-reservation {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   Page Specific Styles ("費用")
========================================================= */
.page-main {
    padding-top: 80px; /* ヘッダー固定の高さ分余白 */
}

/* Page Header */
.page-header {
    background-color: var(--color-dark-brown);
    text-align: center;
    padding: 20px 0;
}

.page-title {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.15em;
}

/* ページ内アンカーリンクナビ */
.price-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.price-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-header-bg);
    color: var(--color-white);
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 30px;
    transition: background-color 0.3s, opacity 0.3s;
    min-width: 120px;
}

.price-nav-btn:hover {
    background-color: var(--color-dark-brown);
    opacity: 1;
}

/* 各費用セクション */
.price-section {
    padding: 60px 0;
    /* 固定ヘッダー（80px）に被らないための調整 */
    scroll-margin-top: 80px;
}

/* 背景色出し分け */
.sec-light {
    background-color: var(--color-white);
}

.sec-dark {
    background-color: var(--color-dark-brown);
    color: var(--color-white);
}

/* セクションタイトル */
.section-title {
    font-size: 26px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
}

.section-title.text-white {
    color: var(--color-white);
}

/* リード文 */
.section-lead {
    text-align: center;
    font-size: 13px;
    line-height: 2.0;
    color: var(--color-text-main);
    margin-bottom: 40px;
}

.sec-dark .section-lead {
    color: #e5e5e5;
}

/* 初期・検査費用 料金項目ボックス（上下境界線） */
.price-item-box {
    border-top: 1px solid var(--color-border-gray);
    border-bottom: 1px solid var(--color-border-gray);
    padding: 30px 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.price-item-left {
    max-width: 60%;
}

.price-item-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}

.price-item-title .sub-title {
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
    margin-top: 4px;
}

.price-item-desc {
    font-size: 13px;
    color: var(--color-text-sub);
    line-height: 1.8;
}

.price-item-right {
    text-align: right;
    white-space: nowrap;
}

.price-num {
    font-size: 20px;
    font-weight: 500;
}

.price-tax {
    font-size: 13px;
    color: var(--color-text-sub);
    margin-left: 5px;
}

/* 初期費用セクション内専用ご予約ボタン */
.center-btn-wrap {
    text-align: center;
}

.btn-dark-brown {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-dark-brown);
    color: var(--color-white);
    width: 280px;
    height: 50px;
    font-size: 14px;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: opacity 0.3s;
}

/* 治療費用グループ */
.treatment-group {
    margin-bottom: 60px;
}

.treatment-group:last-of-type {
    margin-bottom: 0;
}

.treatment-group-title {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
    color: #fcf9f5;
}

.treatment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

/* 白背景の角丸カード（他家・自家・エクソソーム用） */
.treatment-card {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 18px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* 常に上下中央揃え */
    min-height: 80px; /* PC・スマホ共通で高さを確保 */
}

/* 自家iPS作成カードのような複数行用 */
.treatment-card.tall-card {
    align-items: center;
}

.t-name {
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    line-height: 1.6;
}

.t-name .t-sub-desc {
    font-size: 11px;
    font-weight: 400;
    color: var(--color-text-sub);
    display: inline-block;
    margin-top: 2px;
}

.t-price {
    font-size: 15px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap; /* 料金表示の改行を防ぐ */
}

.t-tax {
    font-size: 12px;
    color: var(--color-text-sub);
}

.treatment-note {
    text-align: right;
    font-size: 12px;
    color: #e5e5e5;
    margin-top: 10px;
}

/* お支払い方法 */
.payment-lead {
    text-align: center;
    font-size: 14px;
    margin-bottom: 40px;
}

.payment-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.payment-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.payment-bullet {
    font-size: 10px;
    color: var(--color-black);
    margin-top: 5px;
}

.payment-content {
    flex: 1;
}

.payment-title {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.payment-detail {
    font-size: 13px;
    color: var(--color-text-sub);
    line-height: 1.6;
}

/* =========================================================
   Contact Area (共通)
========================================================= */
.contact-area {
    background-color: var(--color-bg-light);
    padding: 80px 20px;
    text-align: center;
}

.contact-lead {
    margin-bottom: 20px;
    font-size: 15px;
}

.contact-tel {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tel-label {
    font-family: serif;
    font-style: italic;
    font-size: 18px;
}

.tel-number {
    font-size: 32px;
    font-family: serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.contact-time {
    font-size: 13px;
    color: var(--color-text-sub);
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.contact-en {
    margin-top: 20px;
}

/* =========================================================
   Footer (共通)
========================================================= */
.footer {
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-logo img {
    height: 20px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 50px;
    font-size: 12px;
}

.copyright {
    font-size: 10px;
    color: var(--color-text-sub);
    letter-spacing: 0.05em;
}

/* =========================================================
   Responsive (スマホ向け調整)
========================================================= */
@media screen and (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    /* SP時のロゴサイズ縮小 */
    .header-logo img {
        height: 18px;
    }

    .hamburger-btn {
        right: 20px;
    }

    /* スマホ画面のときのみ改行を有効化する */
    .sp-only {
        display: inline;
    }

    /* ナビゲーションボタン：スマホ時に2列×2行に変更 */
    .price-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 30px 20px;
    }

    .price-nav-btn {
        font-size: 13px;
        padding: 10px 10px;
        min-width: 0; /* grid幅に追従させるため */
        width: 100%;
        border-radius: 30px;
    }

    .price-section {
        padding: 45px 0;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* リード文：スマホでも中央揃えを維持 */
    .section-lead {
        font-size: 12px;
        text-align: center;
        margin-bottom: 30px;
    }

    /* 初期・検査費用 スマホレイアウト（中央揃え調整） */
    .price-item-box {
        flex-direction: column;
        align-items: center;  /* 枠内の要素を中央に配置 */
        text-align: center;   /* テキストを中央揃えに設定 */
        gap: 15px;
        padding: 20px 10px;
    }

    .price-item-left {
        max-width: 100%;
    }

    .price-item-right {
        text-align: center;  /* 価格と税込表記を中央揃えに設定 */
    }

    .price-item-title {
        font-size: 16px;
    }

    /* 治療一覧：スマホでもテキストを枠の上下中央に配置 */
    .treatment-card {
        flex-direction: row; /* 横並びを維持 */
        justify-content: space-between;
        align-items: center; /* 上下中央揃えを強制 */
        padding: 15px 20px;
        min-height: 80px; /* 最低限の高さを確保して真ん中に配置 */
        gap: 15px;
    }

    .t-name {
        font-size: 12px;
        flex: 1; /* 左側テキスト領域を広げる */
    }

    .t-name .t-sub-desc {
        font-size: 10px;
    }

    .t-price {
        font-size: 13px;
        text-align: right;
        flex-shrink: 0; /* 右側の価格枠を縮ませない */
    }

    .treatment-note {
        font-size: 11px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}