@charset "UTF-8";

/* ======================================
   ベース
   ====================================== */

:root {
  /* カラー */
  --color-text-primary: #615d69;
  --color-text-secondary: #545454;
  --color-heading: #98a3a8;
  --color-heading-gradient: linear-gradient(103deg, #98a3a8 0%, #a5a6b6 56%, #b1a9c4 98%);
  --color-btn-primary: #a49ab6;
  --color-btn-secondary: #615d69;
  --color-tag-bg: #e7e6ea;
  --color-border: #d1d4d5;
  --color-bg-light: #f5f3f0;
  --color-bg-case: #f5f6f9;
  --color-bg-aside: #ededef;
  --color-bg-gray: #eaeaed;

  /* フォント */
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Namdhinggo", sans-serif;
  --font-serif: "Noto Serif JP", serif;

  /* レイアウト */
  --content-width: 1340px;
}

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

html {
  font-size: 16px;
  letter-spacing: 0.04em;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text-primary);
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-feature-settings: "palt";
  text-wrap: pretty;
  line-break: strict;
  word-break: auto-phrase;
}

a {
  color: inherit;
  text-decoration: none;
  transition: .2s;
}

a:hover {
  opacity: .8;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

ul,
ol {
  list-style: none;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* ============================================
   -show（画面幅で表示/非表示切り替え）
   ============================================ */

@media (min-width: 1061px) {
  .-show-max1060 {
    display: none !important;
  }
}

@media (min-width: 961px) {
  .-show-max960 {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .-show-min961 {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

/* ======================================
   ヘッダー
   ====================================== */

/* --- ヘッダー：全体 --- */
.header {
  position: relative;
  z-index: 200;
}

/* --- ヘッダー：上部バー --- */
.header__top {
  max-width: calc(var(--content-width) + 40px);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-right: auto;
}

/* --- ヘッダー：アクセス情報 --- */
.header__access {
  font-size: 12px;
  white-space: nowrap;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__logo-img {
  width: 56px;
  height: 56px;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.header__logo-name {
  font-weight: 500;
  font-size: 32px;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.header__logo-desc {
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.header__logo-desc--br {
  display: none;
}

.header__info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__phone-icon {
  width: 26px;
  height: 26px;
}

.header__phone-number {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 32px;
}

.header__reservation {
  border-top: 1px solid var(--color-btn-secondary);
  border-bottom: 1px solid var(--color-btn-secondary);
  padding: 2px 16px;
  text-align: center;
  font-size: 14px;
  text-transform: capitalize;
  letter-spacing: 0.16em;
}

.header__hours {
  font-size: 18px;
  text-align: center;
}

.header__cta-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: normal;
  gap: 6px;
}

.header__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: #fff;
  white-space: nowrap;
}

.header__cta--line {
  background-color: var(--color-btn-secondary);
}

.header__cta--web {
  background-color: var(--color-btn-primary);
}

.header__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
}

.header__sns-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.header__follow-label {
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.header__sns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__sns-icon {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.header__search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  max-width: 250px;
  border: 1px solid var(--color-text-secondary);
  background-color: #fff;
  flex-shrink: 0;
}

.header__search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--font-ja);
  color: var(--color-text-primary);
  background: transparent;
}

.header__search-input::placeholder {
  color: #9d9d9d;
}

.header__search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
}

.header__search-icon {
  width: 18px;
  height: 18px;
}

/* --- ヘッダー：ナビゲーション --- */
.gnav {
  background-color: #fff;
}

.gnav__list {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding-bottom: 20px;
}

.gnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--color-border);
}

.gnav__item .gnav__item-ja {
  transition: .2s;
}

.gnav__item:hover .gnav__item-ja {
  color: #D1D4D5;
}

.gnav__list>li:last-child .gnav__item {
  border-right: none;
}

.gnav__item-en {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 12px;
  color: var(--color-border);
  text-transform: capitalize;
}

@media (max-width: 1060px) {

  .header__top {
    padding-top: 40px;
  }

  .header__left {
    position: relative;
    align-self: stretch;
    justify-content: center;
  }

  .header__access {
    position: absolute;
    top: 0;
    transform: translateY(-100%);
    padding-bottom: 5px;
  }

  .header__logo {
    gap: 5px;
  }

  .header__logo-name {
    font-size: 26px;
  }

  .header__logo-desc {
    line-height: 1.2;
  }

  .header__logo-desc--br {
    display: block;
  }

  .header__cta {
    font-size: 14px;
  }

  .header__phone-number {
    font-size: 28px;
  }

  .header__hours {
    font-size: 16px;
  }
}

@media (max-width: 960px) {

  /* ≤960px はナビ・連絡先一式を畳んでハンバーガー（ドロワー）に集約 */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
  }

  body {
    padding-top: 106px;
  }

  .header__logo-desc--br {
    display: none;
  }

  .gnav {
    display: none;
  }

  .header__logo-img {
    width: 40px;
    height: 40px;
  }

  .header__logo-name {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .header__top {
    padding: 10px 0;
  }

  .header__logo-desc {
    font-size: 10px;
  }
}

/* --- ハンバーガーボタン --- */
.hamburger {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger__bar {
  position: absolute;
  left: 6px;
  width: 28px;
  height: 1px;
  background: var(--color-text-primary);
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}

.hamburger__bar:nth-child(1) {
  top: 13px;
}

.hamburger__bar:nth-child(2) {
  top: 20px;
}

.hamburger__bar:nth-child(3) {
  top: 27px;
}

.hamburger.is-open .hamburger__bar:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.hamburger.is-open .hamburger__bar:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open .hamburger__bar:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* --- ドロワー --- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s, visibility 0s 0.4s;
  overflow-y: auto;
  visibility: hidden;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s, visibility 0s;
}

/* 左右余白（ドロワー内のみ広げる。共通 .inner は据え置き）。上下は分割した inner ごとに付与 */
.drawer > .inner {
  padding-left: 20px;
  padding-right: 20px;
}

.drawer > .drawer__inner--top {
  padding-top: 72px;
}

.drawer > .drawer__inner--main {
  padding-bottom: 40px;
}

body.is-drawer-open {
  overflow: hidden;
}

/* ドロワー展開中はヘッダーのロゴを隠す（デザイン準拠：×のみ残す） */
body.is-drawer-open .header {
  background: transparent;
}

body.is-drawer-open .header__left {
  visibility: hidden;
}

/* a{transition:.2s} が visibility まで遅延させるのを打ち消し、ロゴを即時に消す */
body.is-drawer-open .header__logo {
  transition: none;
}

/* ヘッダー：ドロワー：アクセス */
.drawer__access {
  margin-bottom: 12px;
  font-size: 12px;
}

/* ヘッダー：ドロワー：検索 */
.drawer__search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 8px 13px 8px 17px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 3px 4px 2px rgba(0, 0, 0, 0.12);
}

.drawer__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
}

.drawer__search-input::placeholder {
  color: var(--color-heading);
}

.drawer__search-input:focus {
  outline: none;
}

.drawer__search-btn {
  flex-shrink: 0;
  padding: 0;
  background: none;
  border: none;
  line-height: 0;
  cursor: pointer;
}

/* ヘッダー：ドロワー：人気のワード（全幅・画面端まで横スクロール） */
.drawer__keywords {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-left: 20px;
}

.drawer__keywords-label {
  flex-shrink: 0;
}

.drawer__keywords-list {
  display: flex;
  gap: 8px;
  padding-right: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.drawer__keywords-list::-webkit-scrollbar {
  display: none;
}

.drawer__keyword {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  background: #cdcdcd;
  border-radius: 16px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--color-text-primary);
}

/* ヘッダー：ドロワー：バナー枠 */
.drawer__banner {
  margin-top: 16px;
}

.drawer__banner:empty {
  min-height: 126px;
  background: #9d9d9d;
}

/* ヘッダー：ドロワー：メニュー */
.drawer__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
}

.drawer__menu-item {
  border-bottom: 0.5px solid var(--color-text-primary);
}

.drawer__link,
.drawer__accordion-trigger {
  display: block;
  width: 100%;
  padding: 0 4px 8px;
  font-size: 16px;
  text-align: left;
  color: var(--color-text-primary);
  background: none;
  border: none;
  cursor: pointer;
}

/* 第2階層パネルを開く／アコーディオン：右端にアイコン */
.drawer__link--next,
.drawer__accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.drawer__link--next::after,
.drawer__accordion-trigger::after {
  content: '';
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* 開閉アイコン（∧）：開いたら反転 */
.drawer__accordion-trigger::after {
  transform: rotate(135deg);
  transition: transform 0.3s;
}

.is-open > .drawer__accordion-trigger::after {
  transform: rotate(-45deg);
}

/* ヘッダー：ドロワー：アコーディオン中身 */
.drawer__accordion-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.drawer__sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer__sublink {
  display: block;
  padding: 8px 4px 8px 16px;
  border-bottom: 0.5px solid var(--color-text-primary);
  color: var(--color-text-primary);
}

.drawer__sublink::before {
  content: 'ー ';
  font-weight: 300;
}

/* ヘッダー：ドロワー：投稿カード */
.drawer__posts {
  margin-top: 18px;
}

.drawer__posts-title {
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: 400;
}

.drawer__post-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer__post-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 63px;
  border: 0.5px solid #fff;
  box-shadow: 2px 3px 4px rgba(165, 166, 182, 0.3);
  background-color: var(--color-tag-bg);
  color: var(--color-text-primary);
}

.drawer__post-en,
.drawer__post-ja {
  position: relative;
}

.drawer__post-en {
  font-family: 'Namdhinggo', serif;
  font-size: 20px;
  line-height: 1;
}

.drawer__post-ja {
  font-size: 11px;
  line-height: 1;
}

/* ヘッダー：ドロワー：予約CTA */
.drawer__cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 24px;
}

.drawer__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 156px;
  padding: 16px 8px;
  border: 1px solid #b0aeb4;
  border-radius: 8px;
  color: #fff;
  text-align: center;
}

.drawer__cta--web {
  background-color: var(--color-btn-primary);
}

.drawer__cta--line {
  background-color: var(--color-btn-secondary);
}

.drawer__cta-note {
  font-size: 16px;
}

.drawer__cta-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.drawer__cta-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  letter-spacing: 1.2px;
}

/* ヘッダー：ドロワー：受付時間・電話 */
.drawer__contact {
  margin-top: 7px;
  padding: 12px 16px;
  background: var(--color-heading);
  border: 1px solid #b0aeb4;
  border-radius: 8px;
  color: #fff;
  text-align: center;
}

.drawer__hours {
  margin: 0;
  font-size: 16px;
}

.drawer__tel {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
  color: #fff;
}

.drawer__tel img {
  filter: brightness(0) invert(1);
}

.drawer__tel-number {
  font-family: var(--font-en);
  font-size: 30px;
}

/* ヘッダー：ドロワー：公式SNS */
.drawer__sns {
  margin-top: 24px;
  text-align: center;
}

.drawer__sns-label {
  display: inline-block;
  padding: 8px 32px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
}

.drawer__sns-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
}

.drawer__sns-icon {
  line-height: 0;
}

/* ヘッダー：ドロワー：ドクター */
.drawer__doctors {
  display: flex;
  justify-content: center;
  gap: 43px;
  list-style: none;
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.drawer__doctor-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-primary);
}

.drawer__doctor-img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.drawer__doctor-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer__doctor-name {
  font-size: 16px;
}

/* --- ヘッダー：ドロワー：第2階層パネル --- */
.drawer-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease, visibility 0s 0.35s;
  visibility: hidden;
}

.drawer-panel.is-active {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s ease, visibility 0s;
}

.drawer-panel > .inner {
  padding-top: 24px;
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

/* ヘッダー：ドロワー：第2階層：閉じる（×） */
.drawer-panel__head {
  display: flex;
  justify-content: flex-end;
}

.drawer-panel__close {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.drawer-panel__close::before,
.drawer-panel__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1px;
  background: var(--color-text-primary);
}

.drawer-panel__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-panel__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ヘッダー：ドロワー：第2階層：カテゴリグリッド */
.drawer-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.drawer-panel__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 12px 14px;
  background: #fff;
  border: 0.5px solid var(--color-text-primary);
  color: var(--color-text-primary);
}

.drawer-panel__card-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.drawer-panel__card-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.drawer-panel__card-name {
  font-size: 13px;
}

.drawer-panel__card::after {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* ヘッダー：ドロワー：第2階層：診療（施術名リスト） */
.drawer-panel__treatments {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.drawer-panel__treatment {
  display: block;
  font-size: 16px;
  color: var(--color-text-primary);
}


/* ======================================
   フッター
   ====================================== */

/* --- フッター：全体 --- */
.footer {
  margin-top: 100px;
  background-color: #424242;
  color: #fff;
  padding: 60px 0 40px;
}

.inner.footer__inner {
  max-width: 1200px;
}

/* --- フッター：上部 --- */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__logo-img {
  width: 56px;
  height: 56px;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__logo-name {
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer__logo-desc {
  font-size: 12px;
  line-height: 1;
  opacity: 0.8;
}

.footer__access {
  font-size: 14px;
  line-height: 1.7;
}

.footer__address {
  margin-bottom: 16px;
}

.footer__train p:first-child {
  margin-bottom: 8px;
}

.footer__train-list {
  padding-left: 1.5em;
}

/* --- フッター：サイト名 --- */
.footer__sitename {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  margin-top: 60px;
}

/* --- フッター：ナビゲーション --- */
.footer__nav {
  margin-top: 40px;
}

.footer__nav-list {
  display: grid;
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 450px));
  justify-content: space-between;
  gap: 10px 20px;
}

.footer__nav-item a {
  display: block;
  background-image: url(../img/icon-arrow-right-white.svg);
  background-repeat: no-repeat;
  background-position: right center;
}

/* --- フッター：Contact --- */
.footer__contact {
  margin-top: 60px;
  text-align: center;
}

.footer__contact-btns {
  display: flex;
  justify-content: center;
  gap: 17px;
  margin-top: 24px;
}

.footer__contact-label {
  font-size: 16px;
}

.footer__contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 352px;
  height: 87px;
  border-radius: 8px;
  color: #fff;
}

.footer__contact-btn-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.footer__contact-btn-inner::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: no-repeat center / contain;
}

.footer__contact-btn--web {
  background-color: var(--color-btn-primary);
}

.footer__contact-btn--web .footer__contact-btn-inner::before {
  background-image: url(../img/icon-footer-monitor.svg);
}

.footer__contact-btn--line {
  background-color: var(--color-btn-secondary);
}

.footer__contact-btn--line .footer__contact-btn-inner::before {
  background-image: url(../img/icon-footer-line-white.svg);
}

.footer__contact-btn--tel {
  background-color: var(--color-heading);
}

.footer__contact-btn--tel .footer__contact-btn-inner::before {
  background-image: url(../img/icon-footer-phone-white.svg);
  width: 29px;
  height: 29px;
}

.footer__contact-btn--tel .footer__contact-btn-inner {
  font-family: var(--font-en);
  font-size: 30px;
  gap: 2px;
}

/* --- フッター：SNS --- */
.footer__sns {
  text-align: center;
  margin-top: 40px;
}

.footer__sns-label {
  display: inline-block;
  padding: 6px 24px;
  border: 1px solid #fff;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer__sns-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: center;
}

/* --- フッター：注意書き --- */
.footer__legal {
  margin-top: 40px;
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.7;
}

/* --- フッター：コピーライト --- */
.footer__copyright {
  text-align: center;
  font-size: 13px;
  margin-top: 24px;
  opacity: 0.6;
}

/* --- セクション見出し：白文字版 --- */
.section-heading__en.section-heading__en--white {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #fff;
  background-clip: unset;
  color: #fff;
}

@media (max-width: 768px) {
.footer {
    margin-top: 50px;
}

.footer__top {
    flex-direction: column;
}

.footer__sitename {
    font-size: 18px;
}

.footer__nav-list {
    gap: 20px;
}

.footer__contact-btns {
    flex-direction: column;
        align-items: center;
}

.footer__contact-btn {
    width: 100%;
    max-width: 350px;
}
}


/* ======================================
   コンポーネント
   ====================================== */

/* --- コンポーネント：セクション共通余白 --- */
.section {
  margin: 100px 0 0;
}

/* --- コンポーネント：WYSIWYG / wpautop 出力の段落間隔 --- */
/* the_content フィルタや ACF textarea(new_lines=wpautop) で出力された
   コンテンツに含まれる、2個目以降の <p> へ上マージンを与える。
   common.css 冒頭の * { margin: 0; } リセット上書き用。 */
.case-detail__description > p + p,
.case-detail__risk-text > p + p,
.case-detail__doctor-comment > p + p,
.treatment-detail__comment-text > p + p,
.case-card__toggle-body > p + p,
.treatment-detail__recommend-content > p + p,
.treatment-detail__doctor-desc > p + p,
.p-doctor-single__description > p + p,
.p-doctor-single__message-body > p + p,
.p-doctor-single__policy-content > p + p,
.p-doctor-single__case-description > p + p,
.p-doctor-archive__description > p + p {
  margin-top: 1em;
}

/* --- コンポーネント：WYSIWYG 共通スタイル（the_content 出力をエディター／ブログ本文に準拠） --- */
/* 全 the_content 出力ラッパーに、共通の .wysiwyg ＋ その場所固有のユニーククラスを併記して使う。
   例: <div class="treatment-detail__comment-text wysiwyg"> 。
   common.css 冒頭の ul,ol{list-style:none} / *{margin:0} リセットを WYSIWYG 内だけ復活させる。 */
.wysiwyg > * + * {
  margin-top: 1em;
}

.wysiwyg ul {
  list-style: disc;
  padding-left: 1.5em;
}

.wysiwyg ol {
  list-style: decimal;
  padding-left: 1.5em;
}

.wysiwyg ul ul,
.wysiwyg ol ul {
  list-style: circle;
}

.wysiwyg h2 {
  margin-top: 2em;
  padding: 12px 16px;
  background: var(--color-bg-aside);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.wysiwyg h3 {
  margin-top: 1.6em;
  padding-left: 12px;
  border-left: 4px solid var(--color-btn-primary);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.wysiwyg a {
  color: var(--color-btn-primary);
  text-decoration: underline;
}

.wysiwyg img {
  max-width: 100%;
  height: auto;
}

.wysiwyg table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.wysiwyg table th,
.wysiwyg table td {
  padding: 12px 16px;
  border: 1px solid #DFDDE2;
  text-align: left;
  vertical-align: middle;
}

.wysiwyg table thead th {
  background: #9D98A8;
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.wysiwyg table tbody th {
  background: #FAFAFA;
  font-weight: 600;
}

/* --- コンポーネント：インナー --- */
.inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 10px;
}

/* --- コンポーネント：セクション見出し --- */
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 52px;
}

.section-heading__en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  background: var(--color-heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: capitalize;
}

.section-heading__ja {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-heading);
  line-height: 1;
}

/* --- コンポーネント：ボタンラッパー --- */
.btn-wrap {
  text-align: center;
  margin-top: 40px;
}

/* --- コンポーネント：ボタン（塗り） --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 272px;
  padding: 14px 48px;
  background-color: var(--color-btn-secondary);
  color: #fff;
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary--arrow::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* 大きめ版（ヒーロー/セクション末尾の主要CTAなど） */
.btn-primary--lg {
  gap: 16px;
  min-width: 280px;
  padding: 24px 56px;
  font-size: 20px;
  line-height: 1.5;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .btn-primary--lg {
    gap: 12px;
    min-width: 0;
    padding: 16px;
    font-size: 16px;
  }
}

.btn-primary--arrow-down {
  font-weight: 700;
}

.btn-primary--arrow-down::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* 一覧へ戻る用（テキスト前に左向き矢印） */
.btn-primary--back::before {
  content: '';
  width: 7px;
  height: 7px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- コンポーネント：タグ --- */
.label-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 24px;
  background-color: var(--color-tag-bg);
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  border-radius: 21px;
}

/* --- コンポーネント：詳細リンク --- */
.link-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 28px 0 16px;
  border: 1px solid var(--color-btn-secondary);
  border-radius: 14px;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-btn-secondary);
  line-height: 1;
  background-image: url('../img/icon-arrow-right-sm.svg');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 5px 9px;
}

/* --- コンポーネント：アーカイブ見出し --- */
.archive-header {
  margin-bottom: 56px;
  text-align: center;
}

.archive-header__en {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0.04em;
  background: var(--color-heading-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.archive-header__ja {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-heading);
}

.archive-header__desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

/* アーカイブ見出し：レスポンシブ */
@media (max-width: 768px) {
  .archive-header {
    margin-bottom: 40px;
  }

  .archive-header__en {
    font-size: 36px;
  }
}

/* --- コンポーネント：SP固定フッターCTA --- */
.sp-fixed-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  display: flex;
}

.sp-fixed-cta__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.sp-fixed-cta__icon {
  width: 22px;
  height: 22px;
}

.sp-fixed-cta__caption {
  font-size: 10px;
  line-height: 1;
}

.sp-fixed-cta__main {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.sp-fixed-cta__btn--web { background-color: var(--color-btn-primary); }
.sp-fixed-cta__btn--line { background-color: var(--color-btn-secondary); }
.sp-fixed-cta__btn--tel { background-color: var(--color-heading); }

@media (max-width: 768px) {
  .footer { padding-bottom: 100px; }
}

/* --- コンポーネント：パンくずリスト --- */
.p-breadcrumb {
  padding: 24px 30px 0;
  margin-bottom: 32px;
}

.p-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.p-breadcrumb__item {
  min-width: 0;
}

.p-breadcrumb__item:not(:last-child)::after {
  content: "＞";
  margin-left: 8px;
  color: var(--color-text-primary);
}

.p-breadcrumb__item a {
  text-decoration: underline;
}

/* --- コンポーネント：矢印リンク --- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  line-height: 1;
  color: var(--color-text-primary);
}

.link-arrow__icon {
  width: 9px;
  height: 16px;
}

@media (max-width: 768px) {
.section {
  margin: 50px 0 0;
}

  .section-heading__en {
    font-size: 34px;
  }

  .section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    margin-bottom: 20px;
}

  .p-breadcrumb {
    padding: 16px 0 0;
  }
}

/* ======================================
   About Clinic
   ====================================== */
.about-clinic__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 32px;
  text-align: center;
}

.about-clinic__content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
  gap: 52px;
  max-width: 1240px;
  margin: 50px auto 0;
}

.about-clinic__gallery img {
  width: 100%;
  height: auto;
}

/* --- アクセス：写真スライダー（ドットのみ・画像下） --- */
.about-clinic__gallery {
  width: 100%;
  min-width: 0;
  --swiper-pagination-color: #A5A6B6;
  --swiper-pagination-bullet-inactive-color: #D9D9D9;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-size: 11px;
  --swiper-pagination-bullet-horizontal-gap: 6px;
}

.about-clinic__gallery-slider {
  min-width: 0;
}

.about-clinic__gallery .swiper-pagination {
  position: static;
  margin-top: 16px;
}

.about-clinic__info {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.about-clinic__dl {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-clinic__dl-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
}

.about-clinic__dl-row dt {
  font-weight: 500;
}

.about-clinic__dl-row dd p+p {
  margin-top: 8px;
}

.about-clinic__dl-row--address dd {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.about-clinic__map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 26px 10px 20px;
  background-color: var(--color-btn-secondary);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  border-radius: 50px;
  align-self: end;
  background-image: url(../img/icon-arrow-right-white.svg);
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.about-clinic__contact {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-clinic__phone-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.about-clinic__phone {
  display: flex;
  align-items: center;
  gap: 4px;
}

.about-clinic__phone img {
  width: 44px;
  height: 44px;
}

.about-clinic__phone-number {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 54px;
  line-height: 1;
}

.about-clinic__reservation {
  border-top: 2px solid var(--color-btn-secondary);
  border-bottom: 2px solid var(--color-btn-secondary);
  padding: 4px 27px;
  text-align: center;
  font-size: 24px;
  letter-spacing: 0.16em;
}

.about-clinic__hours {
  font-size: 30px;
  text-align: center;
  line-height: 1;
}

.about-clinic__cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
  justify-content: space-between;
}

.about-clinic__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 261px;
  height: 65px;
  font-size: 27px;
  color: #fff;
  line-height: 1;
}

.about-clinic__cta--line {
  background-color: var(--color-btn-secondary);
}

.about-clinic__cta--web {
  background-color: var(--color-btn-primary);
}

@media (max-width: 1250px) {
  .about-clinic__content {
    gap: 20px;
    justify-content: flex-start;
  }

  .about-clinic__phone-number {
    font-size: 34px;
  }

  .about-clinic__phone img {
    width: 27px;
    height: 27px;
  }

  .about-clinic__reservation {
    padding: 2px 27px;
    font-size: 18px;
  }

  .about-clinic__hours {
    font-size: 20px;
  }

  .about-clinic__cta {
    font-size: 16px;
    width: auto;
    height: 100%;
    padding: 10px 14px 12px;
  }
}

@media (max-width: 768px) {
  .about-clinic__content {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .about-clinic__title {
    font-size: 24px;
  }

  .about-clinic__info {
    gap: 30px;
  }

  .about-clinic__contact {
    justify-content: center;
    gap: 20px;
  }

  .about-clinic__cta {
    width: 270px;
  }
}

/* ======================================
   Banner Links
   ====================================== */
.banner-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.banner-links__item {
  flex: 1 1 320px;
  max-width: 361px;
}

.banner-links__link {
  display: block;
  transition: opacity 0.2s;
}

.banner-links__link:hover {
  opacity: 0.8;
}

.banner-links__link img {
  display: block;
  width: 100%;
  height: auto;
}

/* ======================================
   Treatment & Review（施術・美容機器セクション）
   ====================================== */
.treatment-review .section-heading {
  margin-bottom: 56px;
}

.treatment-review__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 50px;
}

.treatment-card {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 24px;
}

.treatment-card__img {
  width: 100%;
  height: auto; /* height:100%だとグリッド内で縦に伸び、260:300比率が崩れるため auto */
  align-self: start;
  aspect-ratio: 260 / 300;
  object-fit: contain;
}

.treatment-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.treatment-card__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.treatment-card__title {
  font-size: 30px;
  font-weight: 400;
  font-family: var(--font-serif);
}

.treatment-card__title-en {
  font-family: var(--font-en);
  font-size: 1.1em;
}

.treatment-card__title-small {
  font-size: .7em;
  margin-left: 10px;
}

.treatment-card__desc {
  font-size: 14px;
  line-height: 1.85;
}

.treatment-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 768px) {
  .treatment-review__list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .treatment-card {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .treatment-card__title {
    font-size: 22px;
  }

  .treatment-card__info {
    gap: 8px;
  }

  .treatment-card__body {
    gap: 8px;
  }

  /* --- コンポーネント：ページネーション：SP最適化 --- */
  /* 表示項目を絞る：current の前後1つ + prev/next のみ。dots・離れた番号は非表示 */
  [class*="archive__pagination"] .page-numbers:not(.current):not(.prev):not(.next):not(.current + *):not(:has(+ .current)) {
    display: none;
  }
}
/* ======================================
   キャンペーンバナー（共通）
   トップ／料金一覧／ブログ詳細で共通利用
   列数はビューポートではなく自分（ラッパー）の幅で判定（コンテナクエリ）
   画像が240pxを下回らないように 3列→2列→1列 で切替
   ====================================== */
.campaign__banners-wrap {
  container-type: inline-size;
}

.campaign__banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.campaign__banner-img {
  width: 100%;
  height: auto;
}

/* 2列：画像 (504 - 12gap) / 2 ≒ 246px */
@container (min-width: 504px) {
  .campaign__banners {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3列：画像 (768 - 48gap) / 3 = 240px */
@container (min-width: 768px) {
  .campaign__banners {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
