/* ------------------------------------------------
* 共通設定
------------------------------------------------ */
* {
    font-family: 'Noto Serif JP', serif;
    box-sizing: border-box;
}

:root {
    --ink: #f7f7f7;
    --ink-dim: #d7dbe0;
    --bg: #2F353A;
    --bg-hover: #262c31;
    --accent: #C0A146;
    --gap: clamp(12px, 2vw, 20px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sp_only {
    display: none;
}

.pc_only {
    display: block;
}
.line_p{
border-bottom: 1.5px solid #C0A146;
}
.small_p{
        font-size: 0.7em;
    }

/* スマホ表示の切り替え (768px以下) */
@media (max-width: 768px) {
    .sp_only {
        display: block;
    }

    .pc_only {
        display: none;
    }
 .small_p{
        font-size: 0.85em;
    }
}

/* ------------------------------------------------
* ヘッダー (PC版)
------------------------------------------------ */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

.header-inner {
    margin: 0 auto;
    padding: 0.75em clamp(14px, 4vw, 28px);
    /* emをpx換算で調整 */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1em;
}

.header-left {
    position: relative;
}

.logo-text {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    text-decoration: none;
    color: #333;
    letter-spacing: 0.05em;
    line-height: 1.25;
}

.logo-text_name {
    font-size: clamp(1.25rem, 4vw, 1.625rem);
    font-weight: 600;
    color: #3e2c2e;
}

.logo-text_line {
    width: 100%;
    max-width: 260px;
    /* 16.25em = 260px */
    height: 1px;
    background: rgba(0, 0, 0, .5);
    margin: 0.5em 0 0.375em 2em;
}

.logo-text_tagline {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: #3e2c2e;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.header-right {
    display: flex;
    align-items: flex-start;
    gap: 0.75em;
    position: relative;
}

.header-banner {
    display: inline-block;
    text-decoration: none;
}

.header-banner img {
    display: block;
    width: min(220px, 28vw);
    /* 13.75em = 220px */
    height: auto;
    transition: all 0.1s;
}

.header-banner img:hover {
    opacity: 0.8;
    transform: translateY(3px);
}

/* ハンバーガーボタン (PC非表示) */
/* ====== ハンバーガー（デフォルトは非表示） ====== */
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 2.75em;
  height: 2.75em;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
}

.nav-toggle_line {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle_line--1 {
  top: calc(50% - 8px);
}

.nav-toggle_line--2 {
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.nav-toggle_line--3 {
  top: calc(50% + 8px);
}

/* 開いた時に × にする */
.nav-toggle.is-active .nav-toggle_line--1,
.nav-toggle[aria-expanded="true"] .nav-toggle_line--1 {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle_line--2,
.nav-toggle[aria-expanded="true"] .nav-toggle_line--2 {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle_line--3,
.nav-toggle[aria-expanded="true"] .nav-toggle_line--3 {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

/* ------------------------------------------------
*【噛み合わせ、顎関節症治療】
------------------------------------------------ */
/* ------------------------------------------------
* メインビジュアル (PC版)
------------------------------------------------ */
.fv-unit {
    width: 100%;
    aspect-ratio: 1440 / 563;
    background-image: url(../images/others_fv.png);
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
}

.fv-unit p {
    position: absolute;
    top: 80%;
    left: clamp(14px, 4vw, 28px);
    margin: 0;
    color: #5B4A2B;
    font-size: 2.4vw;
    font-weight: 500;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.fv-unit p::after {
    content: '';
    width: 650px;
    max-width: 80vw;
    height: 1px;
    display: block;
    background-color: #C0A146;
    position: absolute;
    bottom: -10px;
    left: 0;
}

/* ------------------------------------------------
* ナビゲーション (PC版)
------------------------------------------------ */
.nav {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    display: flex;
    align-items: center;
}

/* --- メインリンク設定 ＆ 下線アニメーション --- */
.nav-list a {
    display: block;
    padding: 1.25em 1.5em;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    position: relative; /* アニメーションの基準 */
    transition: opacity .25s ease;
}
.nav-list li a:hover{
    color: #C0A146;
}
.nav-list a.nav-gaku{
color:#b20014;	
}

.header-right {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  position: relative;
}

.header-right {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  position: relative;
}

/* 共通 */
.header-banner {
  display: inline-block;
  text-decoration: none;
}

.header-banner img {
  display: block;
  width: min(13.75em, 28vw);
  height: auto;
  transition: all 0.1s;
}

/* 無料相談バナーのみホバー */
.header-banner--consult img:hover {
  opacity: 0.8;
  transform: translateY(3px);
}

/* 診療時間バナーは動かさない */
.header-banner--time img,
.header-banner--time img:hover {
  opacity: 1;
  transform: none;
}

/* PC版：ホバーで左から右に伸びる下線 */
@media (min-width: 961px) {
.nav-list a:not(.btn--primary)::after {
        content: "";
        position: absolute;
        left: 1.875em;
        right: 1.875em;
        bottom: 12px;
        height: 2px;
        background: #C0A146;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s ease;
    }

    .nav-list a:not(.btn--primary):hover::after {
        transform: scaleX(1);
    }

    /* --- 2列プルダウン設定 --- */
    .nav-item--hasSub {
        position: relative;
    }

.nav-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: grid;
    grid-template-columns: 1fr; /* 2列 → 1列 */
    gap: 0;
    min-width: 280px; /* 必要に応じて調整 */
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
    z-index: 1000;
    list-style: none;
    background-color: #faf8f1;
  }

  .nav-item--hasSub:hover .nav-sub {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .nav-list .nav-sub li {
    display: block;
    width: 100%;
  }

  .nav-list .nav-sub a {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid #ffffff;
    color: #333;
  }

    /* 子メニューの下線の位置と太さを微調整 */
    .nav-list .nav-sub a::after {
        left: 15px;   /* paddingに合わせて調整 */
        right: 15px;
        bottom: 8px;
        height: 1px;  /* 子メニューは少し細く */
    }

    .nav-list .nav-sub a:hover {
        background: #F5EFDE;
        color: #C0A146;
    }
  .header-right {
    /* 固定される無料相談バナー分のスペースを確保 */
    padding-right: calc(min(13.75em, 28vw) + 0.75em);
  }

  .header-banner-fixed {
    position: fixed;
    top: 12px;
    right: clamp(14px, 2vw, 28px);
    z-index: 1200;
    width: min(13.75em, 28vw);
  }

  .header-banner-fixed img {
    width: 100%;
  }
}
/* --- スマホ版アコーディオン設定 (960px以下) --- */
@media (max-width: 960px) {
    .nav-item--hasSub .nav-sub {
        display: none; /* JSで.is-subOpenをtoggleして制御 */
        list-style: none;
        padding: 0;
        background: #F2EBE1;
    }

    .nav-item--hasSub.is-subOpen .nav-sub {
        display: block;
    }

    /* 矢印アイコン追加 */
    .sub-trigger::after {
        content: "▼";
        font-size: 0.6rem;
        margin-left: 8px;
        display: inline-block;
        transition: transform 0.3s;
    }

    .nav-item--hasSub.is-subOpen .sub-trigger::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 960px) {

    /* ヘッダーレイアウト */
    .site-header .header-inner {
        display: block;
        position: relative;
        padding: 0;
        height: auto;
    }

    /* 左側ロゴエリア */
    .site-header .header-left {
        display: block;
        padding: 10px 0 0 10px;
        width: calc(100% - 70px);
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .logo-text_name {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .logo-text_line {
        max-width: 180px;
        margin: 4px 0;
    }

    .logo-text_tagline {
        position: static;
        writing-mode: horizontal-tb;
        background: rgba(255, 255, 255, 0.5);
		padding: 5px 10px;
        font-size: 0.6rem;
        color: #3e2c2e;
    }

    /* 右側エリア（予約バナー消去） */
    .header-banner {
        display: none !important;
    }

    .header-right {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
    }

    .site-header .header-inner .header-right .nav-toggle {
display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 65px;
        height: 65px;
        background-color: #C0A146;
        z-index: 2001;
        margin: 0;
        justify-content: center;
        align-items: center;
        border: none;
    }

    /* FVテキスト */
    .fv-unit p {
        left: 15px;
        top: 75%;
        font-size: 0.9rem;
    }

    .fv-unit p::after {
        width: 240px;
        bottom: -5px;
        max-width: 70vw;
    }
}

@media (max-width:960px) {
 
   .nav-toggle {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 65px;
    height: 65px;
    background-color: #C0A146;
    z-index: 3000;
    margin: 0;
    justify-content: center;
    align-items: center;
    border: none;
}

  /* --- 4. ハンバーガーを右上固定配置（absolute） --- */
  .site-header .header-inner .header-right .nav-toggle {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 65px;
    height: 65px;
    background-color: #C0A146;
    margin: 0;
    justify-content: center;
    align-items: center;
    border: none;
  }

  .site-header .nav-toggle_line {
    background-color: #ffffff;
  }

  .header-banner img {
    display: none;
  }
  
}
/* ------------------------------------------------
* ドロワーメニュー (タブレット・スマホ共通 960px以下)
------------------------------------------------ */
@media (max-width: 960px) {
    #global-nav.nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100dvh;
        background: #F2EBE1;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        border: none;
        overflow-y: auto;
    }

    #global-nav.nav.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column !important;
        padding: 80px 20px 40px;
        align-items: stretch;
        justify-content: flex-start;
    }

    .nav-list li {
        width: 100%;
        display: block; /* 区切り線対策 */
    }

    .nav-list li::after {
        display: none;
    }

    .nav-list a {
        padding: 1.25em 1em;
        border-bottom: 0.6px solid rgba(153, 154, 154, 0.3);
        width: 100%;
        font-size: 1.1rem;
        color: #333333;
        font-weight: 400;
    }

    /* --- スマホ版アコーディオン設定 --- */
    .nav-item--hasSub .nav-sub {
        display: none; /* JSのclassList.toggle('is-subOpen')で制御 */
        list-style: none;
        padding: 0;
        background: #F2EBE1;
    }

    .nav-item--hasSub.is-subOpen .nav-sub {
        display: block;
    }

    .nav-sub a {
        padding-left: 2.5em ;
        font-size: 0.95rem ;
        border-bottom: 0.6px solid rgba(153, 154, 154, 0.3) ;
    }

    /* スマホ用プルダウン矢印 */
    .sub-trigger::after {
        content: "▼";
        font-size: 0.6rem;
        margin-left: 8px;
        display: inline-block;
        transition: transform 0.3s;
    }

    .nav-item--hasSub.is-subOpen .sub-trigger::after {
        transform: rotate(180deg);
    }
}

/* ------------------------------------------------

*フッターCSS

　------------------------------------------------ */
.footer * {
    color: #fff;
}

.footer {
    position: relative;
    /* 疑似要素を適切に配置するために relative を設定 */
    padding: 40px 20px;
    background: url(../images/footerbg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* フッター内のテキストを前面に配置 */
.footerinner {
    position: relative;
    z-index: 2;
    /* コンテンツを最前面に */
    color: #363636;
    max-width: 90%;
}

/* フッター内のテキストの視認性を確保 */
.footer-content {
    position: relative;
    z-index: 3;
    /* テキストを最前面に */
    color: #363636;
    /* 適宜調整 */
}

/* フッター上部（ロゴ・住所・予約） */
.footer-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 20px;
    gap: 5vw;
}

.page-title {
    font-size: 0.8rem;
}

.footer-logo {
    flex: 1 1 50%;
    /* 50%を基準にしつつ、狭くなったら縮む設定 */
    min-width: 0;
    /* これが重要：flex子要素がコンテンツ幅以下に縮むのを許可する */
    text-align: center;
}

.footer-title {
    margin: 0 auto;
    padding-bottom: 23px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.footer-title p {
    text-align: center;
    font-size: 1.2em;
    letter-spacing: 0.18em;
}

/* フッターの情報エリア */
.footer-info {
    text-align: left;
    font-size: 12px;
    color: #363636;
    margin-left: 0px;
    /* または 20px など、必要な値に調整 */
    margin-right: 40px;
    margin-top: 40px;
    flex: 0 1 330px;
    /* 最大400px、狭くなれば縮む */
    margin: 40px 0 0 0;
    /* 余計なmargin-rightをリセット */
    min-width: 250px;
    /* 住所が読めなくなるほど縮まないための最低ライン */
}

/* 各項目のアイコン */
.footer-info p {
    position: relative;
    padding-left: 25px;
    margin: 5px 0;
    line-height: 2.2em;
    font-size: 16px;
    letter-spacing: .2em;
}

/* 住所アイコン */
.footer-info p:nth-child(1)::before {
    content: "\f3c5";
    /* FontAwesomeのマップピンアイコン */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

/* アクセス方法アイコン */
.footer-info p:nth-child(2)::before {
    content: "\f3c5";
    /* 同じくマップピンアイコン */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

/* バスアイコン */
.footer-info p:nth-child(3)::before {
    content: "\f238";
    /* FontAwesomeの電車アイコン */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

/* 電話番号アイコン */
.footer-info p:nth-child(6)::before {
    content: "\f095";
    /* FontAwesomeの電話アイコン */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.footer-info .access-train {
    margin-bottom: 1px;
    line-height: 1.2em;
}

.footer-info .ac-top {
    margin-top: 1em;
}

.footer-info .ac-bottom {
    margin-bottom: 1em;
}

/* 診療時間表 */
.footer-schedule {
    max-width: 600px;
    text-align: center;
    flex-grow: 1;
    padding: 0;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.footer-p {
	font-size: 18px;
	color: #fff;
	margin-bottom: 10px;
	text-align:center;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    overflow: hidden;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);

}

.schedule-table th,
.schedule-table td {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .8);
    text-align: center;
    font-size: 14px;
}

/* 見出し背景をグラデーションで上品に */
.schedule-table th {
    background: linear-gradient(to top, #6E5B1D, #C0A146);
    color: #fff;
    font-weight: 500;
    width: 20%;
    white-space: nowrap
}

/* 偶数行に薄い背景色で見やすく */
.schedule-table tbody tr:nth-child(even) td {
    background: #F2EFE9;
}

.schedule-table td {
    background: #F2EFE9;
    color: #444;
    letter-spacing: .15em;
    font-weight: 600;

}

.schedule-table .sat {
    color: #8e6c2d;
    font-weight: bold;
}

.schedule-table .closed {
    color: #C0A146;
    font-weight: 500;
}

.footer-schedule .schedule-note {
    font-size: 12px;
    color: #fff;
    margin-top: 20px;
    text-align: left;
    letter-spacing: .3em;
}

.footer-reservation {
    margin-left: 40px;
    margin-top: 20px;
    transition: all 0.1s;
}

.footer-reservation img:hover {
    opacity: 0.8;
    transform: translateY(3px);
}

.schedule-table th:nth-child(1) {
    width: 30%;
}

.schedule-table th:nth-child(2),
.schedule-table th:nth-child(3),
.schedule-table th:nth-child(4),
.schedule-table th:nth-child(6),
.schedule-table td:nth-child(2),
.schedule-table td:nth-child(3),
.schedule-table td:nth-child(4),
.schedule-table td:nth-child(6) {
    width: 11%;
    /* 月〜金を同じ幅（11%ずつ）に固定 */
}

.schedule-table th:nth-child(7),
.schedule-table td:nth-child(7) {
    width: 13%;
}

.schedule-table th:nth-child(8),
.schedule-table td:nth-child(8) {
    width: 13%;
    padding: 0px;
}

.schedule-table th:nth-child(5),
.schedule-table td:nth-child(5){
 width: 13%;
  padding: 0px;
}

@media (max-width: 960px) {
    .schedule-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .schedule-table th,
    .schedule-table td {
        font-size: 12px;
        padding: 6px;
    }
}

/* スマホ対応：横スクロール可能に */
@media (max-width: 600px) {
    .schedule-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .schedule-table th,
    .schedule-table td {
        font-size: 12px;
        padding: 6px;
    }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

@media (max-width: 768px) {
    .page-title {
        font-size: 0.7rem;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer-logo img {
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .footer-top {
        display: block;
    }

    .footer-info {
        margin-right: 0;
    }

    .footer-info p {
        letter-spacing: 0.15em;
    }

    .footer-schedule {
        margin: 20px 0;
        font-size: 16px;
        letter-spacing: 0.18em;
        font-weight: 100;
    }

    .schedule-table th,
    .schedule-table td {
        font-size: 12px;
        padding: 6px;
    }

    .footer-reservation {
        margin: 30px 0 0 0;
        text-align: center;
        width: 100%;
    }

    .footer-reservation img {
        margin-left: 0;
    }

    .web-reserve {
        display: inline-block;
        width: auto;

    }
}

.footer {
    width: 100%;
    margin: 0 auto;
}

.footerinner {
    max-width: 100%;
}

/* ナビゲーションメニュー */
.footer-nav {
    text-align: center;
    margin: 20px 0;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    display: inline-block;
    margin: 0 30px;
}

.footer-nav ul li a {
    text-decoration: none;
    font-size: 16px;
}

/* 診療内容のリンク */
.footer-links {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 20px auto;
}

.footer-section {
    width: 30%;
}

.footer-section h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    text-decoration: none;
    font-size: 14px;
}

/* フッター下部（著作権） */
.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #555;
    border-top: 1px solid rgba(255, 255, 255, .4);
    padding-top: 30px;
}

.footer-bottom p {
    text-align: center;
}

:root {
    --side-bg: repeating-linear-gradient(45deg, #f4eee4, #f5f5f5 3px,
            /* 薄い色の幅を3px */
            #e9e9e9 3px, #e9e9e9 6px
            /* 濃い色の幅を3px */
        );
    --side-ink: #69492a;
    --side-border: #ddd;
}

.side-fixed {
    position: fixed;
    top: 25%;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-btn {
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 180px;
    padding: 12px 6px;
    background: var(--side-bg);
    color: var(--side-ink);
    border: 1px solid var(--side-border);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    transition: all 0.5s ease;
}

/* hover */
.side-btn:hover {
    background: #938068;
    color: #fff;
    transform: translateX(-4px);
}

.bnnerdiv {
    width: 35%;
    margin: 15px auto;
}


@media (max-width: 768px) {
    .bnnerdiv {
        width: 100%;
        margin: 15px auto;
    }

    :root {
        --cta-bg: #a19175;
        --cta-ink: #ffffff;
        --cta-sub: #b5b5b5;
        --cta-accent: #d7c76e;
        --cta-sep: rgba(255, 255, 255, .14);
        --shadow: 0 -6px 16px rgba(0, 0, 0, .35);
    }

    .fixed-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: var(--cta-bg);
        color: var(--cta-ink);
        border-top: 1px solid rgba(255, 255, 255, .08);
        box-shadow: var(--shadow);
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* 各ボタン */
    .fixed-cta .cta {
        position: relative;
        display: flex;
        gap: 6px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: inherit;
        min-height: 72px;
        /* タップ領域確保 */
        padding: 10px 6px;
        -webkit-tap-highlight-color: transparent;
        width: 100%;
        border-left: 1px solid #b7b1a7ad;
    }

    /* アイコン */
    .fixed-cta .ico {
        width: 28px;
        height: 28px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.6;
    }

    /* ラベル */
    .fixed-cta .ftlabel {
        font-size: 13px;
        line-height: 1;
        letter-spacing: .04em;
        text-align: center;
        white-space: nowrap;
    }

    .fixed-cta .ftlabel em {
        color: var(--cta-accent);
        font-style: normal;
        font-weight: 700;
    }

    /* ホバー/押下 */
    .fixed-cta .cta:active {
        background: rgba(255, 255, 255, .12);
    }

    .footer-nav ul li a {
        font-size: 16px;
        font-weight: 200;
        letter-spacing: 0.16em;
    }

    .footer-nav ul li {
        display: block;
        margin: 0;
        margin-bottom: 10px;
    }

    .footer-nav ul li a {
        text-align: left;
    }

    .footer-nav ul {
        text-align: left;
        border-top: 1px solid rgba(255, 255, 255, .4);
        padding-top: 20px;
    }

    .footer-bottom {
        font-weight: 100;
    }
}
/* ------------------------------------------------

*治療の流れCSS

　------------------------------------------------ */
.medical-relation {
    padding: 60px 0;
    background-color: #fff;
    color: #333;
}

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

.section-title {
    background-color: #5B4A2B;
    /* 画像の茶色に合わせる */
    color: #fff;
    text-align: center;
    padding: 25px;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    line-height: 1.4;
}

/* 上部コンテンツ（テキスト＋画像）の横並び */
.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.text-area {
    flex: 1;
}

.text-area p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2em;
    text-align: justify;
}

.text-area .guide-text {
    margin-bottom: 0;
}

/* 右側メイン画像 */
.image-main {
    width: 37%;
    /* 画像の占有率 */
}

.image-main img {
    width: 100%;
    height: auto;
    display: block;
}

/* 下部バナーグリッド */
.banner-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.banner-item {
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.banner-item:hover {
    opacity: 0.7;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* 768px以下のレスポンシブ対応（必要に応じて） */
@media (max-width: 768px) {
.container {
        padding: 0 10px;
    }
	
    .content-wrapper {
        flex-direction: column-reverse;
        gap: 30px;
        margin-bottom: 30px;
    }
 .section-title {
        text-align: center;
        padding: 10px 0;
        font-size: 1.2rem;
        font-weight: 400;
        letter-spacing: 0.08em;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    .text-area p {
        font-size: 0.95em;
        line-height: 1.5em;
        letter-spacing: 0.07em;
    }

    .image-main {
        width: 100%;
    }

    .banner-grid {
        max-width: 250px;
        grid-template-columns: 1fr;
    }
}

.medical-data-section {
    padding: 60px 0 100px;
    background-color: #fff;
    color: #333;
    font-family: "Hiragino Mincho ProN", "MS Mincho", serif;
}

.data-block {
    margin-bottom: 80px;
}

.data-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.data-text {
    flex: 1;
}

.data-text h3 {
    font-size: 1.5rem;
    color: #C0A146;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.5em;
    border-bottom: 1px solid #C0A146;
    letter-spacing: 0.08em;
}

.data-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.price-note {
    font-weight: 500;
    color: #B20014;
}
.red-p{
   font-weight: 500;
    color: #B20014;
}

.data-image {
    flex: 0 0 36%;
}

.data-image img {
    width: 100%;
    height: auto;
    display: block;
}

.casebtn {
  text-align: left;
}

.view-more {
  display: inline-block;
  position: relative;
  color: #fff;
  background-color: var(--accent);
  padding: 0.8em 2.5em 0.8em 2em;
  /* 16px 56px 16px 48px */
  transition: all .3s;
  letter-spacing: 0.18em;
  margin-top: 1.25em;
  /* 20px */
  font-size: 0.9em;
  /* 20px */
}

.view-more:after {
  content: "";
  width: 0.625em;
  /* 10px */
  height: 0.625em;
  /* 10px */
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 1.25em;
  /* 20px */
}

.view-more:hover {
  background-color: #816c20;
  color: #fff;
}

.view-more:active {
  background-color: #5B4A2B;
  color: #fff;
}


/* --- モバイル版（768px以下）：ここが重要 --- */
@media (max-width: 768px) {
    .medical-data-section {
        padding-bottom: 30px;
    }

    .data-flex-container,
    .data-flex-container.reverse {
        display: flex;
        flex-direction: column;
        /* 縦並びに強制 */
        gap: 10px
    }

    .data-block {
        margin-bottom: 40px;
    }

    /* data-textの「箱」としての機能を解除し、中身のh3やpを直接並び替え可能にする */
    .data-text {
        display: contents;
    }

    /* 1. 見出しを一番上に */
    .data-text h3 {
        order: 1;
        width: 100%;
        font-size: 1.1rem;
        padding-bottom: 0.6em;
        margin-bottom: 1.5rem;
    }

    /* 2. 画像を二番目に（reverseクラスがあっても2番目に来る） */
    .data-image {
        order: 2;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    /* 3. 説明文を三番目に */
    .data-text p,
    .price-note {
        order: 3;
        width: 100%;
        font-size: 0.95em;
        line-height: 1.5;
        margin-bottom: 1rem;
        letter-spacing: 0.07em;
    }
	.red-p{
		font-weight:600;
	}
}
/* セクション全体の背景色（薄いベージュ） */
.medical-flow-section.bg_yellow {
    background-color: #F8F5EE; /* 画像の背景色に合わせる */
    padding-bottom: 120px;
}

/* 白いブロックの基本スタイル */
.medical-flow-section .data-content-wrapper.bg_white {
    background-color: #fff;
    padding: 60px;
    position: relative; /* 疑似要素の基準点 */
    margin: 0 0px 80px 0px;
}
.medical-flow-section .data-content-wrapper.bg_white.first-bl{
    margin-top: 0;
}
/* 最後のブロックはマージンなし */
.medical-flow-section .data-content-wrapper.flow-block:last-child {
    margin-bottom: 0;
}

/* -----------------------------------
   1. Step英字挿入 (疑似要素 ::before)
----------------------------------- */
.medical-flow-section .flow-block::before {
    content: "Step" attr(data-step); /* data-stepの値を取得 */
    position: absolute;
    top: 17px;
    left: -34px;
    font-family: 'Alex Brush', cursive; /* 筆記体に近いセリフ体 */
    font-style: italic;
    font-size: 3.5rem; /* 大きさ */
    color: #B20014; /* 画像の赤色 */
    line-height: 1;
    z-index: 1;
}

/* -----------------------------------
   2. ブロック下の▼印 (疑似要素 ::after)
----------------------------------- */
.medical-flow-section .flow-block::after {
    content: "";
    position: absolute;
    bottom: -55px; /* ブロックの下に配置 */
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 20px 19px 0 20px; /* 三角形のサイズ */
    border-color: #5B4A2B transparent transparent transparent; /* 茶色 */
    z-index: 2;
}

/* 最後のブロックには▼を表示しない */
.medical-flow-section .flow-block:last-child::after {
    display: none;
}

/* -----------------------------------
   3. レイアウト微調整
----------------------------------- */
/* テキストエリアにStep文字分の左パディングを追加 */
.medical-flow-section .flow-block .data-text {
    padding-left: 40px;
    position: relative;
    z-index: 2;
}

/* 見出しスタイル修正（画像に合わせて太さと色を調整） */
.medical-flow-section .flow-block .data-text h3 {
    font-family: "Hiragino Mincho ProN", serif;
    font-size: 1.6rem;
    color: #C0A146; /* 茶色 */
    border-bottom: 1px solid #D9C9A1; /* 薄い金色の線 */
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Step5の時間表記 */
.medical-flow-section .sub-time {
    font-size: 1.2rem;
    font-weight: normal;
}

/* 画像エリアのサイズ微調整 */
.medical-flow-section .side-image {
    flex: 0 0 30%;
    max-width: 100%;
}

/* -----------------------------------
   4. Step1 予約エリアのデザイン修正
----------------------------------- */
.booking-guide-box {
    margin-top: 40px;
}

/* 茶色のタイトルバー */
.booking-title-bar {
    background-color: #977000; /* 画像の金色/茶色 */
    color: #fff;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.2em;
}

.booking-method {
    margin-bottom: 30px;
}

/* オレンジの矢印付きラベル */
.page-treatment-flow .method-label {
    position: relative;
    padding-left: 30px;
    font-weight: 600;
    color: #C0A146;
    margin-bottom: 5px;
}

.page-treatment-flow .method-label::before {
    content: "▶"; /* 画像のような三角形矢印 */
    position: absolute;
    display: inline-block;
    left: 0;
    top:-3px;
    color: #D9C9A1; /* 薄い金色 */
    font-size: 1.2rem;
}

/* 大きな電話番号 */
.page-treatment-flow .phone-number {
    font-size: 2rem;
    color: #A68D4F;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    padding-left: 30px;
}

/* 診療時間・休診日 */
.clinic-hours {
    padding-left: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.clinic-hours p {
    margin-bottom: 10px;
}

/* WEB予約の詳細テキスト */
.method-detail {
    padding-left: 30px;
    margin-bottom: 20px;
}

/* WEB予約ボタン（既存のview-moreを上書き） */
.view-more.web-reserve-btn {
    background-color: #C0A146; /* 金色 */
    padding: 1em 2.5em 1em 2em;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}
.view-more.web-reserve-btn:hover {
      background-color: #816c20;
  color: #fff;
}
.view-more.web-reserve-btn:active{
     background-color: #5B4A2B;
  color: #fff;

}


/* センター寄せクラス */
.flex-center {
    margin-left: 2em;
    margin-top: 20px;
}

.page-treatment-flow .data-block{
    margin-bottom: 10px;
}
/* -----------------------------------
   5. レスポンシブ対応 (768px以下)
----------------------------------- */
@media (max-width: 768px) {
    .medical-flow-section .data-content-wrapper.bg_white {
        padding: 38px 20px 40px; /* Step文字のために上パディングを増やす */
        margin:60px 10px;
    }

    /* 疑似要素 Stepの位置調整 */
    .medical-flow-section .flow-block::before {
        top: 20px;
        left: -8px;
        font-size: 2.5rem;
    }

    /* ▼印のサイズ調整 */
    .medical-flow-section .flow-block::after {
        border-width: 25px 30px 0 30px;
        bottom: -45px;
    }


    .page-treatment-flow .phone-number{
padding-left: 0;
    }

    /* テキストパディング解除 */
    .medical-flow-section .flow-block .data-text {
        padding-left: 0;
    }

    /* 見出しサイズ調整 */
    .medical-flow-section .flow-block .data-text h3 {
        font-size: 1.3rem;
        margin-top: 20px; /* Step文字との間隔 */
		font-weight:600;
    }

    /* 予約エリアのレスポンシブ */
    .phone-number {
        font-size: 2rem;
        padding-left: 0;
    }
    .method-label, .clinic-hours, .method-detail {
        padding-left: 0;
    }
    .flex-center{
        margin-left: 0;
    }
    .view-more.web-reserve-btn {
        width: 80%;
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        padding: 15px 15px 15px 10px;
    }
	.page-treatment-flow .view-more.web-reserve-btn{
width:100%
}
    .medical-flow-section .booking-guide-box{
        order: 5;
    }
    .medical-flow-section .data-image img{
        order: 1;;
    }
    .booking-title-bar{
        font-size: 1rem;
        padding: 5px 20px;
    }
}

/* ------------------------------------------------

*医院紹介CSS

　------------------------------------------------ */
.section-h2 {
   background: url(../images/special_bg.png);
    background-repeat: no-repeat;
     background-size: cover;
    margin: 0 auto;
    max-width: 1200px;
    height: auto;
    text-align: center;
    font-size: 38px;
    color: #ffffff;
    letter-spacing: 0.2em;
    font-weight: 300;
    padding: 10px 0;
    margin-bottom: 40px;
    /* section-wrapが1140pxなので、1200px幅を維持するためのネガティブマージンは維持 */
}

.section-h2 p {
    font-size: 20px;
    letter-spacing: 0.15em;
    padding-top: 10px;

    display: flex;
    /* 横並びにする */
    justify-content: center;
    /* 全体を中央寄せ */
    align-items: center;
    /* 上下を中央揃え */
    gap: 30px;
    /* 線と文字の間隔をここで一括指定（20pxなど固定値でOK） */
}

/* ::before と ::after の共通設定 */
.section-h2 p::before,
.section-h2 p::after {
    content: '';
    width: 100px;
    /* 線の長さ（固定値） */
    height: 1px;
    /* 線の太さ */
    background-color: rgba(255, 255, 255, 0.6);
    display: block;
    /* inline-blockからblockに変更してもOK */

}

.section-h2 h2 {
    padding-top: 10px;
    font-weight: 500;
}

/* 説明文のスタイル */
.description {
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    line-height: 1.8em;
    color: #333333;
}

.section-point {
    margin-top: 120px;
}


.point_box {
    border: 1px solid #D4AF37;
    padding: 10px;
}


.equipment-container {
    width: 1160px;
    margin: 0 auto 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px;
    /* 縦30px 横20px */
}

.equipment-item {
    width: calc(33.333% - 13.4px);
    /* 3カラム計算 */
    border: 1px solid #D1D1D1;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(242, 239, 233, 0.5);
    display: flex;
    flex-direction: column;
}

.equipment-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-bottom: 20px;
    overflow: hidden;
}

.equipment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-name {
    color: #C0A146;
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.equipment-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

/* --- 緊急時対応（デスクトップ: 4カラム） --- */
.emergency-section {
    width: 1200px;
    margin: 60px auto 100px;
    text-align: center;
}

.emergency-intro {
    font-size: 16px;
    letter-spacing: 0.18em;
    color: #333;
    margin-bottom: 40px;
}

.emergency-container {
    display: flex;
    gap: 15px;
}

.emergency-item {
    flex: 1;
    /* 均等4分割 */
    border: 1px solid #C9C9C9;
    background-color: rgba(242, 239, 233, 0.5);
    box-sizing: border-box;
}

.emergency-img {
    padding: 10px;
    aspect-ratio: 4 / 3;
}

.emergency-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.emergency-title {
    color: #D4AF37;
    font-size: 18px;
    padding: 15px 0;
    font-weight: 600;
    letter-spacing: 0.2em;
}

@media screen and (max-width: 1200px) {
    .equipment-container {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .equipment-item {
        width: calc(50% - 15px);
        /* タブレットで2列 */
    }

    .emergency-section {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 767px) {
    .section-point {
        margin-top: 60px;
    }

    .section-h2 p {
        font-size: 14px;
        font-weight: 300;
    }

    .section-point .section-h2 {
        width: 100%;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        height: auto;
        padding: 10px 0px 20px 0;
        background-size: cover;
        box-sizing: border-box;
        font-size: 20px;
        background-position: center top;
    }

    /* メイン設備：スマホ2列 */
    .equipment-container {
        gap: 10px;
        margin-bottom: 0;
    }

    .equipment-item {
        width: calc(50% - 5px);
        padding: 10px;
    }

    .equipment-name {
        font-size: 13.5px;
        margin-bottom: 10px;
        letter-spacing: 0.01em;
         white-space: nowrap;
		font-weight:600;
    }

    .equipment-text {
        font-size: 12px;
        line-height: 1.5;
    }

    /* 緊急設備：スマホ2列 */
    .emergency-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .emergency-item {
        flex: none;
        width: calc(50% - 5px);
    }

    .emergency-title {
        font-size: 16px;
    }
}
.care-goods-section {
    max-width: 1160px;
    margin: 40px auto 100px;
    text-align: center;
}

.care-goods-intro {
    font-size: 16px;
    letter-spacing: 0.18em;
    color: #333;
    margin-bottom: 30px;
}

.care-goods-container {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.care-goods-item {
    flex: 1;
    border: 1px solid #D1D1D1;
    background-color: #FDFBF8; /* 画像の背景が際立つよう白に設定 */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.care-goods-img {
    padding: 10px;
    aspect-ratio: 4 / 3;
}

.care-goods-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 4枚のサイズ感を統一 */
}

.care-goods-name {
    color: #C0A146; /* 既存のequipment-nameと統一 */
    font-size: 18px;
    padding: 15px 5px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1200px) {
    .care-goods-section {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 767px) {
    .care-goods-container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .care-goods-item {
        width: calc(50% - 5px); /* スマホで2列 */
        flex: none;
    }

    .care-goods-name {
        font-size: 13px;
        padding: 10px 5px;
    }
}
/* ================　設備紹介ここまで　============== */

/* ------------------------------------------------

*アクセスCSS

　------------------------------------------------ */
/* ================　アクセス情報　============== */
.bg_yellow{
background-color: rgba(192, 161, 70, 0.1);
}
.section-access {
    background-color: #F5ECD2;
    /* 全体の薄いベージュ */
    padding-bottom: 100px;
}

.access-container {
    width: 1140px;
    margin: 0 auto;
}

/* Googleマップ */
.access-map {
    width: 100%;             /* 親要素の幅いっぱいに広げる */
    max-width: 1140px;       /* 1140px以上にはならないように制限 */
    margin: 0 auto 40px;
}

.access-map iframe {
    width: 100% !important;  /* HTMLの width="1140" を強制的に上書き */
    height: 450px;           /* デスクトップ版の高さ */
    border: 0
}

/* 医院テキスト情報 */
.access-info-text {
    margin-bottom: 60px;
    font-size: 18px;
    line-height: 2;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* 交通手段の白いボックス */
.access-transport-box {
    background-color: #FFFFFF;
    /* 内側の明るい背景色 */
    display: flex;
    justify-content: space-around;
    padding: 60px 40px;
    box-sizing: border-box;
}

.transport-item {
    text-align: center;
    width: 30%;
}

/* アイコンの円形 */
.transport-icon {
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transport-icon img {
    width: 45px;
    /* アイコンの大きさ調整 */
    height: auto;
}

.transport-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.transport-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    letter-spacing: 0.18em;
}

/* 金色（ハイライト）の文字 */
.transport-item .highlight {
    color: #C0A146;
    font-weight: 600;
    letter-spacing: 0, 18em;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1140px) {
    .access-container {
        width: 100%;
        padding: 0 20px;
    }
}

@media screen and (max-width: 767px) {
    .access-container {
        width: 100%;
        padding: 0;
        /* 地図を左右いっぱいに見せる場合は0に調整 */
    }

    /* 地図のレスポンシブ化 */
    .access-map {
        margin-bottom: 30px;
    }

    .access-map iframe {
        width: 350px;
        /* HTMLのwidth="1140"を上書き */
        margin: 0 auto;
        height: 300px;
        /* モバイルで見やすい高さに調整（任意） */
    }

    /* テキスト情報の調整 */
    .access-info-text {
        padding: 0 20px;
        /* 地図がフル幅なのでテキストには余白を持たせる */
        font-size: 0.9em;
        /* 画像 image_9058fb に合わせ大きめに設定 */
        line-height: 1.6;
        margin-bottom: 40px;
    }

    /* 交通手段ボックスの調整 */
    .access-transport-box {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
        font-weight: 600;
    }

    .transport-item {
        width: 100%;
    }
    .transport-item p{
        font-size: 0.9em;
        font-weight: 400;
    }
}

/* ================　アクセス情報ここまで　============== */
/* ================　診療時間　============== */
.section-time {
    margin: 80px 0 120px 0;
}

/* 表のコンテナ幅を適切に広げる */
.page-access .footer-schedule {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* テーブルの基本構造 */
.page-access .schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    table-layout: fixed;
    /* カラム幅を固定するために必須 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* カラム幅の指定 */
/* 最初の「曜日」列を少し広めに、残りの7列を均等（各10.5%程度）に配分 */
.page-access .schedule-table th:first-child,
.page-access .schedule-table td:first-child {
    width: 26%;
}

.page-access .schedule-table th:not(:first-child),
.page-access .schedule-table td:not(:first-child) {
    width: 10.5%;
}

/* ヘッダーのグラデーション */
.page-access .schedule-table th {
    background: linear-gradient(to top, rgb(110, 91, 29), rgb(192, 161, 70));
    /* 上から下へのグラデーション */
    color: #fff;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid #fff;
}

/* ボディ（診察時間）のスタイル */
.page-access .schedule-table td {
    background-color: #F9F7F2;
    /* 画像に近い薄いベージュ */
    color: #333;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    border: 1px solid #fff;
}

/* 休診・★（特殊時間）の文字色 */
.page-access .schedule-table .closed {
    color: #C0A146;
    /* 金色 */
    font-weight: 600;
}

/* 表の下の注釈 */
.page-access .schedule-note {
    color: #333333;
    font-size: 16px;
    margin-top: 20px;
    text-align: left;
    letter-spacing: 0.18em;
}

.page-access .schedule-note .note-p{
font-weight: 600;
}

.page-access .schedule-note-ul{
text-align: left;
margin-left: 25px;
list-style: none;
}

.page-access .casebtn{
text-align: center;
margin-top: 2em;
}

@media (max-width: 600px) {
    .page-access .schedule-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .page-access .schedule-table th,
    .page-access .schedule-table td {
        font-size: 12px;
        padding: 6px;
    }
}

/* スマホ対応：表が崩れないようにスクロール可能に */
@media screen and (max-width: 767px) {

    .page-access .section-h2 {
        width: 100%;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        height: auto;
        padding: 10px 0px 20px 0;
        background-size: cover;
        box-sizing: border-box;
        font-size: 20px;
        background-position: center top;
    }

    .page-access .schedule-note {
        font-size: 14px;
    }
    .page-access .schedule-note .note-p{
        margin-bottom: 15px;
        line-height: 2.5;
    }
    .page-access .schedule-note-ul{
        font-size: 14px;
        font-weight: 400;
    }
    .page-access .schedule-note-ul {
        margin-left: 1.2em; /* 左側の余白を少し詰める */
        text-align: left;
    }

    .page-access .schedule-note-ul ul {
        padding-left: 0;
        margin-left: 0;
        list-style-position: outside; /* 弾丸（・）を外側に出す */
    }

    .page-access .schedule-note-ul li {
        white-space: normal;    /* ←重要：改行を許可する */
        word-break: break-all;  /* ←重要：単語の途中でも改行させる */
        overflow-wrap: break-word; 
        margin-bottom: 0.5em;  
        line-height: 1.6;
        letter-spacing: 0.1em;
    }
}
/* ================　診療時間ここまで　============== */
/* ------------------------------------------------

*スタッフ紹介CSS

　------------------------------------------------ */
/* ============================================================
   院長・スタッフ紹介ここから
   ============================================================ */
   .page-staff .fv-unit {
    width: 100%;
    aspect-ratio: 1440 / 400;
    background-image: url(../images/page-staff_fv.png);
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
}

/* ================　院長紹介ここから　============== */
.page-staff .medical-relation{
    background-color: rgba(192, 161, 70, 0.1);
}

.section-doctor {
    margin-top: 120px;
    margin-bottom: 100px;
    padding-bottom: 100px;
    background-color: rgba(212, 175, 55, 0.2);
}
.page-staff .doctor-container {
    max-width: 1140px; /* 画像の比率に合わせた幅 */
    margin: 0 auto;
    padding: 60px 20px 10px 20px;
    display: flex;
    gap: 50px;
    align-items: flex-start;
    background: #ffffff;

}

/* 左側：写真エリア */
.page-staff .doctor-photo {
    flex: 0 0 350px; /* 写真の幅を固定 */
}

.page-staff .doctor-photo img {
    width: 100%;
    height: auto;
    padding: 0;
    display: block;
}

/* 右側：コンテンツエリア */
.page-staff .doctor-content {
    flex: 1;
}

/* 院長名（金色のサイドバー） */
.page-staff .doctor-name {
    font-size: 28px;
    font-weight: 500;
    color: #977000;
    padding-left: 15px;
    border-left: 5px solid #C0A146;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

/* 紹介文 */
.page-staff .doctor-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5em;
}

/* 経歴・資格セクション共通 */
.page-staff .doctor-details {
    margin-top: 50px;
}

.page-staff .detail-group {
    margin-bottom: 40px;
}

.page-staff .detail-group h3 {
    font-size: 20px;
    color: #C0A146;
    border-bottom: 1px solid #C0A146;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.page-staff .detail-group h4 {
    font-size: 20px;
    color: #C0A146;
    border-bottom: 1px solid #C0A146;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}
/* リストスタイル（金色の四角バレット） */
.page-staff .detail-list {
    list-style: none;
    padding: 0;
}

.page-staff .detail-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    line-height: 2;
    color: #333;
}

.page-staff .detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px; /* 行の高さに合わせて調整 */
    width: 8px;
    height: 8px;
    background-color: #C0A146;
}

.page-staff  .detail-list-p{
    text-align: right;
    line-height: 3;
    font-size: 0.9em;
}

.achievement-photos.achievement-photos-presentation{
display: flex;
width: 33%;
margin-bottom: 1.5em;

}
.achievement-photos.achievement-photos-presentation img{
flex-direction: row
}
.achievement-photos.achievement-photos-lecture{
width: 50%;
margin-bottom: 1.5em;
}

@media screen and (max-width: 767px) {
    .section-doctor {
        margin-top: 60px;
        padding-bottom: 50px;
        margin-bottom: 50px;
    }
    .section-doctor .section-h2 {
        width: 100%;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        height: auto;
        padding: 10px 0px 20px 0;
        background-size: cover;
        box-sizing: border-box;
        font-size: 20px;
        background-position: center top;
    }

    /* コンテナを縦並びに変更 */
    .page-staff .doctor-container {
        flex-direction: column; /* 縦並びにする */
        align-items: center;    /* 中央寄せ */
        gap: 30px;             /* 写真とテキストの間の余白 */
        padding: 40px 20px 20px 20px;     /* 内側の余白 */
        width: 90%;            /* 左右に少し隙間を作る */
        max-width: none;
    }

    /* 写真エリアの調整 */
    .page-staff .doctor-photo {
        flex: 0 0 auto;
        width: 85%;            /* 写真を画面幅に対して少し小さく配置 */
        max-width: 300px;      /* 大きくなりすぎないように制限 */
    }

    /* コンテンツエリアの調整 */
    .page-staff .doctor-content {
        width: 100%;

    }

    /* 名前部分の調整 */
    .page-staff .doctor-name {
        font-size: 20px;       /* モバイル向けにサイズダウン */
        margin-bottom: 20px;
        padding-left: 12px;
        border-left-width: 4px;
    }

    /* 紹介文のテキスト */
    .page-staff .doctor-intro p {
        font-size: 14px;       /* 可読性を保ちつつ微調整 */
        text-align: justify;   /* 両端揃えできれいに見せる */
    }

    /* 経歴・資格エリア */
    .page-staff .doctor-details {
        margin-top: 40px;
    }

    .page-staff .detail-group{
        margin-bottom: 20px;
    }

    .page-staff .detail-group h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .page-staff .detail-list li {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 5px;
    }
    .achievement-photos.achievement-photos-presentation{
margin-bottom: 1em;
    }

    .achievement-photos.achievement-photos-lecture{
        width: 70%;
        margin: 0 auto;
        margin-bottom: 1em;
}
}
/* ================　院長紹介ここまで　============== */
/* ================　歯科医師紹介　============== */
.staff-container{
    max-width: 1140px; /* 画像の比率に合わせた幅 */
    margin: 0 auto;
    padding: 60px 20px 0px 20px;
    display: flex;
    gap: 50px;
    align-items: flex-start;
    background: #ffffff;
    margin-bottom: 0px;
}
@media screen and (max-width: 767px) {
 .page-staff .staff-container {
        flex-direction: column; /* 縦並びにする */
        align-items: center;    /* 中央寄せ */
        gap: 30px;             /* 写真とテキストの間の余白 */
        padding: 40px 20px 0px 20px;     /* 内側の余白 */
        width: 90%;            /* 左右に少し隙間を作る */
        max-width: none;
        margin-bottom: 0px;
    }
    .page-staff .staff-container .doctor-name{
        margin-bottom: 0px;
    }
    .page-staff .staff-container .doctor-details{
        margin-top: 20px;
    }
}
/* ================　歯科医師紹介ここまで　============== */
/* ============================================================
   料金表
   ============================================================ */
.price-notice-container {
	border: 1px solid #C0A146;
    padding: 30px 20px;
    margin: 40px 0;
    text-align: center;
background: repeating-linear-gradient(
    -45deg,
    #ffffff,
	#ffffff 2px,
	#f2eee5 2px,
	#f2eee5 4px  
  );
}

/* 英単語の見出し（スタイリッシュな表現） */
.notice-label {
    display: block;
    font-size: 16px;
    color: #C0A146; /* ゴールド */
    letter-spacing: 0.2em; /* 文字間を広げてスタイリッシュに */
    margin-bottom: 15px;
	font-weight: 600;
}

/* 日本語本文 */
.notice-content {
    color: #333333;
	font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
	letter-spacing:0.06em;
}

/* 強調したい赤文字部分 */
.highlight-red {
    color: #B20014;
	font-weight:600;
}

.marker-gold {
    display: inline;
    font-weight: 600;
    background: linear-gradient(transparent 60%, rgba(192, 161, 70, 0.3) 0%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 2px 0;
}
.table-category-row{
	text-align:left;
}

@media screen and (max-width: 768px) {
    .marker-gold {
        display: inline; /* ブロック化を解除して文字を流す */
        background: linear-gradient(transparent 60%, rgba(192, 161, 70, 0.4) 0%);
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .notice-content {
        font-size: 1.2rem;
        text-align: left;
    }
}
/* ================　料金表　============== */
.page-price .price-content {
    max-width: 1000px; /* 画像のバランスに合わせる */
    margin-bottom: 30px;
}

/* マウスピース矯正「インビザライン」 */
.page-price .price-sub-title {
    font-size: 24px;
    color: #c0a146; /* 金色 */
    border-bottom: 1px solid #c0a146;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-weight: normal;
    letter-spacing: 0.1em;
}

/* 軽度の症状（金色の縦線付き） */
.page-price .price-rank-title {
    font-size: 20px;
    color: #333;
    border-left: 5px solid #c0a146; /* 金色のアクセント */
    padding-left: 15px;
    margin: 35px 0 25px 0;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* テーブル構造 */
.page-price .price-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d9c9a1; /* 全体を囲う薄い金色の線 */
    margin-bottom: 50px;
    background-color: #fff;
}

/* 左側：項目名（ベージュ背景） */
.page-price .price-table th {
    width: 30%; /* 画像の比率に合わせる */
    background-color: rgba(238, 224, 183, 0.81); /* 薄いベージュ */
    color: #5b4a2b; /* 濃い茶色 */
    text-align: left;
    padding: 10px;
    font-weight: normal;
    border: 1px solid #d9c9a1;
    vertical-align: middle;
    font-size: 15px;
}

/* 右側：内容 */
.page-price .price-table td {
    width: 70%;
    background-color: rgba(255, 252, 244, 1);
    color: #333;
    padding: 10px;
    border: 1px solid #d9c9a1;
    line-height: 1.8;
    font-size: 15px;
    letter-spacing: 0.03em;
}

/* 初期費用内の位置合わせ（：の位置を揃える） */
.page-price .price-detail-flex {
    display: flex;
    max-width: 300px;
}

.page-price .price-detail-flex .label {
    flex: 0 0 140px; /* 項目の幅を固定して：を縦に並べる */
}

.page-price .price-content p {
    font-size: 15px;
    line-height: 1.8;
}

/* 1. 表の上の説明文（ホワイトニングなど） */
.page-price .price-intro {
    margin-bottom: 25px; /* 表との間の余白 */
    text-align: justify;
}

/* 2. 表の下の注意書き（インプラント矯正など） */
.page-price .price-note {
    margin-top: 15px;    /* 表との間の余白 */
    font-size: 14px;     /* 注意書きなので少し小さめに */
    color: #666;         /* 少し色を薄くして補足感を出す */
}

/* 料金表自体のマージンをリセット（pタグの余白でコントロールするため） */
.page-price .price-table {
    margin-bottom: 0; 
}

/* 各ブロックの間隔 */
.page-price .price-content {
    margin-bottom: 60px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .page-price .price-table{
        border: none;
    }

    .page-price .price-table th,
    .page-price .price-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .page-price .price-table th {
        border-bottom: none;
        padding: 5px 10px;
    }

    .page-price .price-table td {
        padding: 10px;
        margin-bottom: -1px; /* 重なりを調整 */
    }

    .page-price .price-sub-title {
        font-size: 19px;
		 margin-top: 50px;
		font-weight:600;
    }
    .page-price .price-rank-title{
        font-size: 18px;
    }
}
/* ================　料金表ここまで　============== */
/* ================　費用の悩みをデンタルローンで解決　============== */
.page-price .price-content.price-digital{
    max-width: 1200px;
}

.page-price .flex-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}
.page-price .flex-text { flex: 1; }
.page-price .flex-image { width:30%; }
.page-price .flex-image img { width: 100%; height: auto; }

/* 利用の流れ全体の背景色（画像に合わせて薄いベージュ） */
.flow-container {
    padding: 40px 20px;
    margin-top: 30px;
}

/* 各ステップのボックス */
.flow-item {
    display: flex;
    background: #fff;
    margin-bottom: 80px; /* 矢印のための余白 */
    padding: 30px;
    align-items: center;
    position: relative;
}

/* 矢印の再現（最後のアイテム以外に付与） */
.flow-item:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -50px; /* アイテムの下に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #5b4a2b; /* 茶色の矢印 */
}

.flow-text { flex: 1; padding-right: 20px; }
.flow-image { flex: 0 0 250px; }
.flow-image img { width: 100%; }

/* Step1, Step2... の筆記体スタイル */
.step-label {
    font-family: 'Alex Brush', cursive;; /* 筆記体に近いフォント */
    font-weight: normal;
    font-size: 36px;
    color: #c04652; /* 画像のような赤色 */
    display: inline-block;
    position:absolute;
    left: -51px;
    top:1px
}

.flow-text h4 {
    display: inline-block;
    font-size: 20px;
    color: #977000;
    margin-bottom: 15px;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.1em;
}
.page-price .price-sub-title.price-margin{
    margin-top: 60px;
}
.page-price .medical-deduction-image {
    margin: 30px auto 0;
    text-align: center;
}

.page-price .medical-deduction-image img {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;
    margin: 0 auto;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .page-price .medical-relation{
padding-bottom: 0;
    }

    .flow-container{
        padding: 10px;
    }

    .page-price .flex-container,
    .flow-item {
        flex-direction: column;
    }
    .flow-image {
        flex: 0 0 auto;
        width: 100%;
        margin-top: 15px;
    }
    .step-label{
        left: -7px;
    top:-15px
    }
	    .page-price .flex-text {
        order: 2;
    }
	
	.page-price .flex-image {
    order:1;
    width: 100%;
    height: auto;
}
	 .page-price .medical-deduction-image {
        margin-top: 20px;
}
	}
/* ================　費用の悩みをデンタルローンで解決ここまで　============== */
/* ================ トータル比較表専用スタイル ================ */
/* テーブル全体の基本設定（外枠を消し、既存のborderをリセット） */
.page-price .total-price-comparison .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    table-layout: fixed;
	font-size:15px;
	letter-spacing: 0.03em;
	border:1px solid #d9c9a1;
}

/* 全セルの共通設定：一度すべての線を消す */
.page-price .total-price-comparison .comparison-table th,
.page-price .total-price-comparison .comparison-table td {
    border: none;
    padding: 14px 10px;
    vertical-align: middle;
    background-color: #ffffff; 
}

/* ヘッダー（当院・他院）のスタイル */
.page-price .total-price-comparison .comparison-table thead th {
    background-color: #eee0b7;
    color: #5b4a2b;
    font-weight: 600;
    border-bottom: 2px solid #d9c9a1;
}

/* カテゴリ見出し行（治療開始時、などの行全体） */
.page-price .total-price-comparison .table-category-row th {
    background-color: #fdfaf0;
    color: #5b4a2b;
    font-weight: 700;
    text-align: left;
    padding-left: 15px;
    border-top: 1px solid #d9c9a1;
    border-bottom: 1px solid #d9c9a1;
}

/* 左端の項目名（th）の背景色をカテゴリ見出しと統一 */
.page-price .total-price-comparison .comparison-table tbody th.item-th {
    background-color: #f9f7f0;
    color: #5b4a2b;
    font-weight: 500;
    text-align: left;
    padding-left: 15px;
}

/* 総額行（最下部）の強調 */
.page-price .total-price-comparison .total-row th,
.page-price .total-price-comparison .total-row td {
    background-color: #fdfaf0;
    border-top: 2px solid #d9c9a1;
    border-bottom: 2px solid #d9c9a1;
	font-weight: 600;
    font-size: 1.1em;
}

/* 中央寄せと赤文字 */
.page-price .total-price-comparison .col-center {
    text-align: center;
}

.page-price .total-price-comparison .text-red {
    color: #B20014;
}

/* 空セル（左上の角） */
.page-price .total-price-comparison .empty-cell {
    background-color: transparent;
}
.comparison-footer-text{
	margin-top:20px;
}
/* スマホ対応：横並びを維持 */
@media screen and (max-width: 768px) {
    .page-price .total-price-comparison .comparison-table th,
    .page-price .total-price-comparison .comparison-table td {
        display: table-cell;
        font-size: 12px;
        padding: 10px 4px;
    }
    
    .page-price .total-price-comparison .comparison-table .item-th {
        width: 30%;
		color:#5b4a2b;
    }
}
/*==================================================================================================================================

  *お問い合わせ

==================================================================================================================================*/
/* ------------------------------------------------

*感染予防CSS

　------------------------------------------------ */
/* 全体コンテナ（NEWSの前に挿入） */
.notice-container {
	max-width: 1200px;
  margin: 40px auto 0px;
  padding: 0 20px;
}

/* 枠線部分 */
.notice-border {
  border: 1px solid #8A7433; /* 画像に近い落ち着いた茶色 */
  padding: 0 0 20px 0;
  text-align: center;
background: repeating-linear-gradient(
    -45deg,
    #ffffff,
    #ffffff 2px,
    #f9f7f2 2px,
    #f9f7f2 4px
  );
}

/* タイトル部分 */
.notice-title {
  font-size: 20px;
  font-weight: 620;
  margin-bottom: 25px;
  color: #5b4a2b;
	padding-top:10px;
	letter-spacing:0.12em;
}

/* 金色のマーカー線 */
.notice-marker {
	background: linear-gradient(transparent 60%, rgba(192, 161, 70, 0.5) 60%);
	padding: 0 10px;
}

/* 本文 */
.notice-text {
  font-size: 16px;
  line-height: 1.5;
  color: #5b4a2b;
  letter-spacing: 0.05em;
	text-align:center;
}

/* 「院内ではマスク」の強調部分 */
.highlight {
  color: #B20014;
  font-weight: 600;
}

/* レスポンシブ対応：PCでのみ改行 */
.pc-only {
  display: block;
}

@media (max-width: 768px) {
  .notice-container {
    margin: 30px auto 0;
  }
  .notice-border {
    padding: 10px 15px;
  }
  .notice-title {
    font-size: 20px;
  }
  .notice-text {
    font-size: 14px;
    line-height: 1.8;
    text-align: left; /* スマホでは左寄せの方が見やすい場合があります */
    display: inline-block; /* 中央揃えの中の左寄せ用 */
  }
  .pc-only {
    display: none;
  }
}
/* ================　お問い合わせはこちら　============== */
.page-contact .content-wrapper{
	margin-bottom:10px;
}

.page-contact .booking-guide-box{
	width:800px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin: 1em 5em 1em 0;
	letter-spacing: 0.1em;
	background-color: rgba(192, 161, 70, 0.1);
}

.page-contact .booking-method {
	padding: 2em 0 2em 2em;
	flex: 1;
}

.page-contact .booking-guide-image {
	width: 30%;
	flex-shrink: 0;
	margin-right:2em;
}

.page-contact .booking-guide-image img {
	width: 100%;
	height: auto;
	display: block;
}

.page-contact .method-label {
    position: relative;
    padding-left: 30px;
    font-weight: 600;
    color: #C0A146;
    margin-bottom: 13px;
	font-size:1.2rem;
}

.page-contact .method-label::before {
    content: "▶";
    position: absolute;
    display: inline-block;
    left: 0;
    top: 0;
    color: #D9C9A1;
    font-size: 1.2rem;
}

.page-contact .phone-number {
    font-size: 2rem;
    color: #A68D4F;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
    padding-left: 30px;
}


@media screen and (max-width: 768px) {
	.page-contact .booking-guide-box{
		width:100%;
		flex-direction: column;
		padding: 1em;
		gap:0;
	}

	.page-contact .booking-method{
		padding: 1em;
		width: 100%;
	}

	.page-contact .booking-guide-image{
		width: 100%;
		margin:0 auto;
	}
	.page-contact .clinic-hours p {
		margin-left:31px;
	}
	.page-contact .casebtn{
text-align:center;
}
}
/* ================　お問い合わせこちらここまで　============== */
/* ================　フォーム　============== */
.cf7-reserve-wrap {
  max-width: 1080px;
  margin: 0 auto;
  color: #3d3427;
}

.cf7-reserve-wrap * {
  box-sizing: border-box;
}

.cf7-form-lead {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.8;
}

.cf7-reserve-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cf7-reserve-table th,
.cf7-reserve-table td {
  border: 1px solid #8c8475;
  padding: 18px 24px;
  vertical-align: middle;
}

.cf7-reserve-table th {
  width: 35%;
  background: #e7e4d9;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  line-height: 1.8;
}

.cf7-reserve-table td {
  background: #f9f9f7;
}

.cf7-required {
  display: inline-block;
  margin-left: 14px;
  padding: 6px 10px;
  background: #51483a;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  vertical-align: middle;
}

.cf7-reserve-table input[type="text"],
.cf7-reserve-table input[type="email"],
.cf7-reserve-table input[type="tel"],
.cf7-reserve-table textarea {
  width: 100%;
  border: 1px solid #8c8475;
  background: #fff;
  padding: 12px 14px;
  font-size: 16px;
  color: #333;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

.cf7-reserve-table input[type="text"],
.cf7-reserve-table input[type="email"],
.cf7-reserve-table input[type="tel"] {
  height: 40px;
}

.cf7-reserve-table textarea {
  min-height: 160px;
  resize: vertical;
}

.cf7-note {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #5c5141;
}

/* チェックボックス縦並び */
.cf7-check-list .wpcf7-list-item {
  display: block;
  margin: 0 0 12px 0;
}

.cf7-check-list .wpcf7-list-item:last-child {
  margin-bottom: 0;
}

/* ラジオ横並び */
.cf7-inline-list .wpcf7-list-item {
  display: inline-block;
  margin: 0 22px 8px 0;
}

.cf7-check-list label,
.cf7-inline-list label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  line-height: 1.7;
  font-size: 16px;
}

.cf7-check-list input[type="checkbox"],
.cf7-inline-list input[type="radio"] {
  margin: 0;
}

/* Contact Form 7 の自動pタグ対策 */
.cf7-reserve-wrap p:empty {
  display: none;
}

.cf7-reserve-wrap .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.cf7-submit-area {
  text-align: center;
  margin-top: 34px;
margin-bottom:60px;
}

.cf7-submit-btn {
  min-width: 210px;
  padding: 18px 40px;
  border: none;
  background: #9f2d08;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cf7-submit-btn:hover {
  opacity: 0.85;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .cf7-form-lead {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .cf7-reserve-table,
  .cf7-reserve-table tbody,
  .cf7-reserve-table tr,
  .cf7-reserve-table th,
  .cf7-reserve-table td {
    display: block;
    width: 100%;
  }

  .cf7-reserve-table tr {
    margin-bottom: 0;
  }

  .cf7-reserve-table th,
  .cf7-reserve-table td {
    padding: 14px 16px;
  }

  .cf7-reserve-table th {
    border-bottom: none;
  }

  .cf7-inline-list .wpcf7-list-item {
    display: block;
    margin: 0 0 10px 0;
  }

  .cf7-submit-btn {
    width: 100%;
    max-width: 260px;
    font-size: 20px;
  }
}
/* ================　フォームここまで　============== */
/*==================================================================================================================================

  *無料相談

==================================================================================================================================*/
.page-consultation {
  padding: 0 0 100px;
  color: #4a4134;
}

.page-consultation .bg_yellow{
background-color: rgba(192, 161, 70, 0.05);
}

.page-consultation .consult-intro,
.page-consultation .consult-flow,
.page-consultation .consult-form-block,
.page-consultation .consult-faq {
  padding-top: 42px;
}


.page-consultation .consult-intro-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.page-consultation .consult-intro-text {
  padding: 6px 0 0;
}

.page-consultation .consult-intro-copy,
.page-consultation .consult-intro-desc,
.page-consultation .consult-flow-lead,
.page-consultation .consult-step-text,
.page-consultation .consult-form-lead p,
.page-consultation .consult-faq-a {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
.page-consultation .consult-intro-note{
font-size: 16px;
margin: 0 0 28px;
font-weight: 600;;
}
.page-consultation .marker-p{
background:linear-gradient(transparent 70%, rgba(192, 161, 70, 0.3) 70%);
}

.page-consultation .consult-intro-copy {
  margin: 0 0 18px;
}

.page-consultation .consult-intro-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-consultation .consult-intro-list li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.page-consultation .consult-intro-desc {
  margin: 0 0 18px;
}

.page-consultation .consult-intro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 280px;
  padding: 16px 24px;
  background: #9f2d08;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  transition: opacity 0.3s ease;
  margin-top: 30px;
}

.page-consultation .consult-intro-btn:hover {
  opacity: 0.65;
}

.page-consultation .consult-intro-btn-arrow {
  position: relative;
  width: 14px;
  height: 10px;
  flex: 0 0 10px;
}

.page-consultation .consult-intro-btn-arrow::before,
.page-consultation .consult-intro-btn-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.page-consultation .consult-intro-btn-arrow::after {
  width: 1px;
  height: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0;
}

.page-consultation .consult-intro-btn-arrow {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}

.page-consultation .consult-intro-image img {
  display: block;
  width: 100%;
  height: auto;
}

.page-consultation .consult-flow-lead {
  margin: 0 0 42px;
}

.page-consultation .consult-step-wrap {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.page-consultation .consult-step-item {
  position: relative;
  padding: 0 60px;
  margin-top: 40px;
}

.page-consultation .consult-step-head {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #C0A146;
}

.page-consultation .consult-step-head {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ccb067;
  position: relative;
}

.page-consultation .consult-step-head::before {
    position: absolute;
    top: -35px;
    left: -70px;
    font-family: 'Alex Brush', cursive;
    font-style: italic;
    font-size: 2.5rem;
    color: #B20014;
    line-height: 1;
    z-index: 1;
}

.page-consultation .consult-step-item:nth-child(1) .consult-step-head::before {
  content: "Step1";
}

.page-consultation .consult-step-item:nth-child(2) .consult-step-head::before {
  content: "Step2";
}

.page-consultation .consult-step-item:nth-child(3) .consult-step-head::before {
  content: "Step3";
}

.page-consultation .consult-step-title {
  margin: 0;
  color: #b99234;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
}


.page-consultation .consult-step-title {
  margin: 0;
  color: #C0A146;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.page-consultation .consult-step-text {
  margin: 0;
}

.page-consultation .consult-form-lead {
  margin: 0 0 34px;
}

.page-consultation .consult-form-lead p {
  margin: 0 0 28px;
}

.page-consultation .consult-form-lead p:last-child {
  margin-bottom: 0;
}

.page-consultation .consult-form-caution {
	padding-bottom: 45px;
  border-bottom: 1px solid #bdb5a6;
}
.page-consultation .weight-p{
font-weight: 500;
}

.page-consultation .consult-form-shortcode {
  margin-top: 34px;
}

.page-consultation .consult-faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-consultation .consult-faq-item {
  background: #efede6;
  padding: 0;
  border: 0;
}

.page-consultation .consult-faq-item summary {
  list-style: none;
}

.page-consultation .consult-faq-item summary::-webkit-details-marker {
  display: none;
}

.page-consultation .consult-faq-q {
  position: relative;
  margin: 0;
  padding: 28px 72px 18px 74px;
  cursor: pointer;
  color: #4a4134;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.page-consultation .consult-faq-q::before {
  content: "Q";
  position: absolute;
  left: 20px;
  top: 22px;
  color: #977000;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 600;
}

.page-consultation .consult-faq-q::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 24px;
  color: #bc9738;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.page-consultation .consult-faq-item[open] .consult-faq-q::after {
  content: "−";
}

.page-consultation .consult-faq-a {
  position: relative;
  padding: 0 30px 28px 74px;
}

.page-consultation .consult-faq-a::before {
  content: "A";
  position: absolute;
  left: 20px;
  top: -2px;
  color: #bc9738;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 36px;
  line-height: 1;
}

@media screen and (max-width: 1024px) {
  .page-consultation .consult-intro-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-consultation .consult-intro-image {
    max-width: 420px;
  }

  .page-consultation .consult-step-head {
    gap: 18px;
  }

  .page-consultation .consult-step-title {
    font-size: 28px;
  }

  .page-consultation .consult-faq-q {
    font-size: 17px;
  }
   .page-consultation .consult-step-head {
    gap: 18px;
  }

  .page-consultation .consult-step-head::before {
    font-size: 30px;
	  top: -28px;
    left: -29px;
  }

  .page-consultation .consult-step-title {
    font-size: 28px;
  }
}

@media screen and (max-width: 767px) {
  .page-consultation {
    padding-bottom: 70px;
  }


  .page-consultation .consult-sec-title {
    margin-bottom: 28px;
    padding: 18px 12px 20px;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.14em;
  }

  .page-consultation .consult-intro-copy,
  .page-consultation .consult-intro-desc,
  .page-consultation .consult-intro-note,
  .page-consultation .consult-flow-lead,
  .page-consultation .consult-step-text,
  .page-consultation .consult-form-lead p,
  .page-consultation .consult-faq-a {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-consultation .consult-intro-list li {
    font-size: 16px;
    line-height: 1.8;
  }

  .page-consultation .consult-intro-note {
    margin-bottom: 22px;
  }
 .page-consultation .consult-button{
     width: 80%;
margin: 0 auto;
 }

  .page-consultation .consult-intro-btn {
     width: 100%;
    min-width: 0;
    padding: 14px 18px;
    font-size: 15px;
	  font-weight:600;
  }

  .page-consultation .consult-intro-image {
    max-width: none;
  }

  .page-consultation .consult-flow-lead {
    margin-bottom: 28px;
  }

  .page-consultation .consult-step-wrap {
    gap: 28px;
  }

  .page-consultation .consult-step-head {
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .page-consultation .consult-step-title {
    font-size: 22px;
  }

  .page-consultation .consult-form-lead {
    margin-bottom: 24px;
  }

  .page-consultation .consult-form-shortcode {
    margin-top: 24px;
  }

  .page-consultation .consult-faq-list {
    gap: 14px;
  }

  .page-consultation .consult-faq-q {
    padding: 18px 48px 12px 48px;
    font-size: 15px;
    line-height: 1.8;
	  font-weight:600;
  }
	.page-consultation .consult-faq-a{
		font-size: 15px;
	}

  .page-consultation .consult-faq-q::before {
    left: 14px;
    top: 16px;
    font-size: 24px;
  }

  .page-consultation .consult-faq-q::after {
    right: 16px;
    top: 16px;
    font-size: 28px;
  }

  .page-consultation .consult-faq-a {
    padding: 0 16px 18px 48px;
  }

  .page-consultation .consult-faq-a::before {
    left: 14px;
    top: -1px;
    font-size: 24px;
  }
.page-consultation .consult-intro-btn-arrow{
height: 10px;
    flex: 0 0 10px;
}
.page-consultation .consult-intro-image img{
    order: 1;
}
.page-consultation .consult-intro-text{
    order: 2;
    margin-bottom: 60px;
}
.page-consultation .consult-step-head {
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .page-consultation .consult-step-head::before {
	  font-size: 29px;
  }

  .page-consultation .consult-step-title {
    font-size: 22px;
  }
	.page-consultation .consult-step-item {
		padding: 0 35px;
}
	.page-consultation .medical-relation {
		padding:30px 0;
	}
}
/* ============================================================
   インタビュー①
   ============================================================ */
/* フォント設定（明朝体系を推奨） */
.page-interview {
  font-family: "Noto Serif JP", serif;
  color: #333;
  line-height: 1.8;
}

/* --- 院長画像とネームプレート --- */
.page-interview .interview-main-visual {
  text-align: center;
  margin-bottom: 40px;
}

.page-interview .director-img-wrap {
  position: relative;
  display: inline-block;
  max-width: 60%;
}

.page-interview .director-img-wrap img {
  width: 100%;
  height: auto;
}

/* --- リード文 --- */
.page-interview .interview-lead {
  font-size: 16px;
  margin-bottom: 50px;
  text-align: justify;
}

.page-interview .interview-index {
  max-width: 450px;
  margin: 0 0 60px 0;
  font-family: "Noto Serif JP", serif;
}

/* 目次ヘッダー（ゴールド背景） */
.page-interview .index-header {
  background-color: #c9b168;
  padding: 10px 25px;
}

.page-interview .index-header p {
  color: #fff;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
}

/* 目次本体（クリーム背景） */
.page-interview .index-body {
  background-color: #fefcf1;
  padding: 35px 30px;
}

.page-interview .index-parent {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-interview .index-parent > li {
  margin-bottom: 25px;
}

.page-interview .index-parent > li:last-child {
  margin-bottom: 0;
}

/* 大項目（親リスト）のリンクと●マーク */
.page-interview .index-parent > li > a {
  text-decoration: none;
  color: #444; /* 画像に合わせた少し柔らかい黒 */
  font-size: 16px;
  font-weight: 600;
  position: relative;
  padding-left: 20px;
  display: block;
  transition: opacity 0.3s;
}

.page-interview .index-parent > li > a:hover {
  opacity: 0.6;
}

/* 大項目のドットマーク（●） */
.page-interview .index-parent > li > a::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #c9b168; /* ゴールド */
  font-size: 10px; /* 画像に合わせたサイズ */
}

/* 小項目（子リスト）のスタイル */
.page-interview .index-child {
  list-style: none;
  padding: 8px 0 0 25px;
}

.page-interview .index-child li {
  margin-bottom: 10px;
}

.page-interview .index-child a {
  text-decoration: none;
  color: #444;
  font-size: 15px;
  display: block;
  transition: opacity 0.3s;
}

.page-interview .index-child a:hover {
  opacity: 0.7;
}

/* 子項目のカギ括弧（└） */
.page-interview .index-child a::before {
  content: "└";
  margin-right: 8px;
  color: #c9b168; /* ゴールド */
  font-weight: normal;
}

/* レスポンシブ調整（スマホ） */
@media screen and (max-width: 768px) {
  .page-interview .interview-index {
    max-width: 100%;
    margin: 0 auto 40px;
  }
  .page-interview .director-img-wrap{
    max-width: 100%;
  }
  .page-interview .index-body{
    padding: 30px 10px;
  }
  .page-interview .interview-lead{
    font-size: 15px;
    line-height: 1.6;
  }
}
/* --- 空間づくりセクション (2枚目の画像) --- */
.page-interview .message-box {
  
  flex-wrap: wrap; /* 見出しを上部に配置するためflex-wrapを追加 */
  margin: 0px 80px 0px 80px;
  padding: 40px 80px;
  gap: 20px 50px;
  align-items: flex-start;
}
.page-interview .message-box h3 {
    width: 100%;
    font-size: 24px;
    color: #5d5035;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.page-interview .marker-p {
    display: inline;
    letter-spacing: 0.16em;
    line-height: 1.5em;
    background: linear-gradient(transparent 70%, rgba(192, 161, 70, 0.6) 70%);
    padding: 0px 0.1em;
}

.page-interview .interview-space {
  padding: 0 0 10px 0;
  margin-bottom: 60px;
  background-color: #f3ecdc;
}

.page-interview .space-flex {
display: flex;

}

.page-interview .space-text {
  flex: 1;
}

.page-interview .space-text h3 {
  font-size: 24px;
  color: #5B4A2B;
  margin-bottom: 25px;
  font-weight: 600;
  line-height: 1.4;
}

.page-interview .space-text p {
  font-size: 14px;
  margin-bottom: 1.5em;
}

.page-interview .space-image {
  flex: 0 0 40%;
}

.page-interview .space-image img {
  width: 80%;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- レスポンシブ --- */
@media screen and (max-width: 768px) {
  .page-interview .space-flex {
    flex-direction: column;
  }
  
  .page-interview .message-box{
    margin: 0;
    padding: 30px 10px 20px 10px;
    flex-direction: column;
  }
  .page-interview .message-box h3 {
    font-size: 20px;
    line-height: 1.5em;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .page-interview .space-image {
    order: 1;
    width: 100%;
    margin-bottom: 20px;
  }
  .page-interview .space-image img{
 width: 100%;
  }
  .page-interview .space-text{
    order: 2;
  }
  .page-interview .space-flex{
    padding: 10px 20px 0px 20px;
  }
  .page-interview .space-text h3{
    font-size: 20px;
  }
  .page-interview .space-text p{
    line-height: 1.4;
    line-height: 1.6;
  }
  .page-interview p{
    font-size: 15px;
    line-height: 1.6;
  }
}
/* --- セクション共通 (SECTION 1-3) --- */
.page-interview .interview-content {
  padding-bottom: 80px;
}

/* SECTION 1 などの数字部分 */
.page-interview .section-number {
  color: #C0A146;
  font-family: "Times New Roman", serif; /* 英字らしくセリフ体 */
  font-size: 30px;
  margin-bottom: 5px; /* 下のH3との距離 */
  letter-spacing: 0.08em;
  font-weight: 400;
}

/* メイン見出し H3 */
.page-interview .content-h3 {
  position: relative;
  font-size: 26px;
  color: #5B4A2B;
  margin: 0 0 40px 0;
  padding: 0px 0 4px 20px; /* 左側に線のスペース、下側に下線のスペース */
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-left: 6px solid #C0A146; /* 左側の太い垂直金線 */
}

/* 下部の横線 (疑似要素で実装) */
.page-interview .content-h3::after {
  content: "";
  position: absolute;
  top:45px;
  left: 0;
  width: 100%; /* コンテナいっぱいに広がる */
  height: 1px;
  background-color: #C0A146; /* 金色の細い線 */
}

/* 小見出し H4 (左線のみ) */
.page-interview .content-h4 {
  font-size: 22px;
  color: #5B4A2B;
  border-left: 4px solid rgba(192, 161, 70, 0.5);
  padding-left: 15px;
  line-height: 1.2;
  margin: 40px 0 20px 0;
  font-weight: 600;
}

/* レイアウト調整：テキストと画像の横並び */
.page-interview .content-flex {
  display: flex;
  gap: 50px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.page-interview .content-text {
  flex: 1;
}

.page-interview .content-image {
  flex: 0 0 35%;
}

.page-interview .content-image img {
  width: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.interview-footer-link{
    display: inline-block;
 margin-top: 50px;
 font-weight: 500;
 border-bottom: 1px solid #6D6C6C;
 line-height: 1.2;
}

.interview-footer-link:hover{
    opacity: 0.6;
}

/* スマホ表示の調整 */
@media screen and (max-width: 768px) {
  .page-interview .content-h3 {
    font-size: 20px;
    padding-left: 15px;
    font-weight: 700;
  }
  .page-interview .section-number {
    font-size: 20px;
  }
  .page-interview .content-h3::after{
    top: 61px;
  }
    .page-interview .content-h3.h3-margin::after{
    top:30px;
    margin-bottom: 10px;
  }

  .page-interview .content-flex{
     flex-direction: column; 
     gap:25px;
  }

  .page-interview .content-text{
    order:2;
  }
  .page-interview .content-image{
    order:1;
  }
  .page-interview .content-h4{
    font-size: 18px;
    font-weight: 700;
    margin-top: 20px;
  }
  .interview-footer-link{
    font-size: 15px;
  }
  .page-interview .interview-content{
    margin-bottom: 40px;
    padding-bottom: 0;
  }
}
/* ============================================================
   インタビュー②
   ============================================================ */
.page-interview2 {
  font-family: "Noto Serif JP", serif;
  color: #333;
  line-height: 1.8;
  background-color: #fff;
}

.page-interview2 img {
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.page-interview2 .section-intro-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 40px;
}

.page-interview2 .intro-text {
  flex: 1;
}
.page-interview2 p {
  font-size: 16px;
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.1;
}

.page-interview2 .intro-text p {
  font-size: 16px;
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.page-interview2 .intro-image {
  flex: 0 0 350px; /* 画像サイズを固定 */
}

.page-interview2 .intro-image img {
  width: 100%;
  height: auto;
}


/* --- 導入メイン画像 --- */
.page-interview2 .interview-main-visual {
width:60%;
margin: 0 auto;
    margin-bottom: 40px;
}

/* --- リード文 --- */
.page-interview2 .interview-lead {
  font-size: 15px;
  margin-bottom: 50px;
  text-align: justify;
}

/* --- 目次（image_6c2be2.png再現） --- */
.page-interview2 .interview-index {
  max-width: 560px;
  margin: 0;
}

.page-interview2 .index-header {
  background-color: #c9b168;
	padding: 10px 25px;
}

.page-interview2 .index-header p {
  color: #fff;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.page-interview2 .index-body {
  background-color: #fefcf1;
  padding: 30px;
}

.page-interview2 .index-parent {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-interview2 .index-parent > li {
  margin-bottom: 25px;
}

.page-interview2 .index-parent > li > a {
    text-decoration: none;
    color: #444;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
    display: block;
    transition: opacity 0.3s;
}

.page-interview2 .index-parent > li > a:hover {
   opacity: 0.6;
}

/* 目次の●マーク（ゴールド） */
.page-interview2 .index-parent > li > a::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #c9b168;
    font-size: 10px;
}

.page-interview2 .index-child {
  list-style: none;
  padding: 10px 0 0 25px;
}
.page-interview2 .index-child li {
margin-bottom: 10px;
}

.page-interview2 .index-child a {
  text-decoration: none;
  color: #555;
  font-size: 15px;
}
.page-interview2 .index-child a:hover {
opacity:0.6;
}

/* 子項目の└マーク */
.page-interview2 .index-child a::before {
content: "└";
    margin-right: 8px;
    color: #c9b168;
    font-weight: normal;
}

/* ============================================================
   SECTION見出し (H3) の再現
   ============================================================ */
.page-interview2 .interview-content {
  padding-bottom: 80px;
}

.page-interview2 .section-number {
color: #C0A146;
    font-family: "Times New Roman", serif;
    font-size: 30px;
    margin-bottom: 5px;
    letter-spacing: 0.08em;
    font-weight: 400;
}

/* メイン見出し H3 */
.page-interview2 .content-h3 {
  position: relative;
  font-size: 26px;
  color: #5B4A2B;
  margin: 0 0 40px 0;
  padding: 0px 0 4px 20px; /* 左側に線のスペース、下側に下線のスペース */
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-left: 6px solid #C0A146; /* 左側の太い垂直金線 */
}

/* 下部の横線 (疑似要素で実装) */
.page-interview2 .content-h3::after {
  content: "";
  position: absolute;
  top:45px;
  left: 0;
  width: 100%; /* コンテナいっぱいに広がる */
  height: 1px;
  background-color: #C0A146; /* 金色の細い線 */
}

.page-interview2 .section-intro-text {
  font-size: 16px;
  letter-spacing: 0.1;
  margin-bottom: 40px;
}

/* ============================================================
   Q&Aレイアウト (image_795705.png)
   ============================================================ */
.page-interview2 .qa-item {
  margin-bottom: 50px;
}

.page-interview2 .qa-question {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #c9b168;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.page-interview2 .icon-q {
  background-color: #c9b168;
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
  margin-right: 15px;
  flex-shrink: 0;
  font-family: 'Times New Roman', serif;
}

.page-interview2 .qa-question h4 {
  color: #b9962c;
  font-size: 20px;
  margin: 0;
  font-weight:500;
  letter-spacing: 0.1em;
}

.page-interview2 .qa-answer {
  display: flex;
  align-items: flex-start;
}

.page-interview2 .icon-a {
  background-color: #7a6d4b;
  color: #fff;
  width: 40px;
  height: 40px; /* 四角 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
  margin-right: 15px;
  flex-shrink: 0;
  font-family: 'Times New Roman', serif;
}

.page-interview2 .answer-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/* ============================================================
   ステップレイアウト (image_79575e.png)
   ============================================================ */
.page-interview2 .step-box {
  display: flex;
  background-color: #fefcf1;
  margin-bottom: 30px;
  padding: 40px;
  gap: 60px;
  align-items: flex-start;
  border:1px solid #C0A146;
}

.page-interview2 .step-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.page-interview2 .step-num {
  border: 1px solid #C0A146;
  background-color: #fff;
  color: #C0A146;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 22px;
	flex-shrink: 0;
	font-weight:500;
}

.page-interview2 .step-header h4 {
  font-size: 22px;
  color: #5d5035;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-interview2 .step-content { flex: 1; }
.page-interview2 .step-image { flex: 0 0 30%; }

.page-interview2 .step-detail-list {
  list-style: none;
  padding-left: 20px;
   margin-top: 10px;
   font-weight: 500;
}
.page-interview2 .step-detail-list li{
    position: relative;
}

.page-interview2 .step-detail-list li::before {
  content: "●";
  position:absolute;
 left:-20px;
 font-size: 10px;
  color: #c9b168;
  padding-right: 10px;
  margin-top: 5px;
}

.page-interview2 .step-note {
  font-size: 13px;
  color: #666;
  margin-top: 20px !important;
}

/* ============================================================
   院長メッセージ (image_795761.png再現)
   ============================================================ */
.page-interview2 .director-message-section {
  padding: 10px 0 100px;
}

/* PC版：横並び */
.page-interview2 .message-box {
  background-color: #f3ecdc;
  display: flex;
  flex-wrap: wrap; /* 見出しを上部に配置するためflex-wrapを追加 */
  margin: 0px 80px 30px 80px;
  padding: 40px 80px;
  gap: 20px 50px;
  align-items: flex-start;
}

/* 見出し：PC版では全幅 */
.page-interview2 .message-box h3 {
  width: 100%; /* PC版で横並びの列に加わらず上部に配置 */
  font-size: 26px;
  color: #5d5035;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* マーカー */
.page-interview2 .marker-p {
  background: linear-gradient(transparent 70%, rgba(192, 161, 70, 0.6) 70%);
  display: inline-block;
  padding: 0 0.1em;
  letter-spacing: 0.16em;
  line-height: 1.5em;
}

/* テキストエリア：PC版 */
.page-interview2 .message-content-wrap {
  flex: 1;
}

.page-interview2 .message-content-wrap p {
  font-size: 15px;
  margin-bottom: 1.5em;
  color:#333;
}

/* 画像エリア：PC版 */
.page-interview2 .message-image {
  flex: 0 0 40%;
}

.page-interview2 .message-note {
  font-size: 13px;
  margin-top: 30px;
  border-top: 1px dotted #5d5035;
  padding-top: 15px;
}

/* フッターリンク */
.page-interview2 .interview-footer-link {
  margin-top: 40px;
  text-align: left;
}
.page-interview2 .interview-footer-link a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media screen and (max-width: 768px) {
  .page-interview2 .step-box{
    flex-direction: column;
    padding: 30px 20px;
    gap:30px;
  }
  .page-interview2 .step-image{
    width: 100%;
    order: 2; /* 画像を上に */
    margin-bottom: 20px;
  }
  .page-interview2 .content-h3 {
    font-size: 20px;
    padding-left: 15px;
    font-weight: 700;
  }
  .page-interview2 .icon-a {
    margin-bottom: 10px;
  }
  .page-interview2 .index-body{
    padding: 20px 10px;
  }
  .page-interview2 .section-intro-flex{
    flex-direction: column;
    gap: 25px;
  }
  .page-interview2 .intro-text{
    order: 2;
  }
  .page-interview2 .intro-image{
    order:1;
  }
  .page-interview2 .intro-image{
    flex: 0;
  }
  .page-interview2 .content-h3::after{
    top:61px;
  }
  .page-interview2 .section-number{
    font-size: 20px;
  }
  .page-interview2 .qa-question h4{
    line-height: 1.5;
    font-weight: 600;
  }
  .page-interview2 .answer-text p{
    font-size: 15px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }
  .page-interview2 .intro-text p{
        font-size: 15px;
  }
  .page-interview2 .interview-content{
    padding-bottom: 40px;
  }

  .page-interview2 .step-header h4{
    font-size: 18px;
    line-height: 1.5em;
    font-weight: 600;
  }
  .page-interview2 p{
    font-size: 15px;
  }
  .page-interview2 .message-box{
    flex-direction: column;
    padding: 20px 30px;
    gap:30px;
    margin: 10px;
  }
  .page-interview2 .message-text h3{
    font-size: 20px;
  }
  .page-interview2 .message-image {
    width: 100%;
    order: 1; /* 画像を上に */
    margin-bottom: 20px;
  }
  .page-interview2 .message-text{
    order:2;
  }
  .page-interview2 .interview-main-visual{
    width: 100%;
  }
  .page-interview2 .step-detail-list li::before{
    left:-20px;
  }
  .page-interview2 .step-detail-list{
    font-size:15px;
  }

  /* 順番の制御 (order) */
  .page-interview2 .message-box h3 {
    order: 1; /* 見出しを一番上に */
    font-size: 20px;
    margin-bottom: 0; /* 下の画像との余白はgapで調整 */
    width: 100%; /* PC版の全幅指定を解除 */
	  margin:0 auto;
  }

  .page-interview2 .message-image {
    order: 2; /* 画像を二番目に */
    width: 100%;
    margin-bottom: 0;
    flex: 0; /* PC版のflex指定を解除 */
  }

  .page-interview2 .message-content-wrap {
    order: 3; 
    flex: 0; 
}

  .page-interview2 .content-h3 {
    font-size: 20px;
    padding-left: 15px;
    font-weight: 700;
  }
  .page-interview2 .message-content-wrap p{
font-size: 14px;
  }
}