/* ==============================
   0. Theme Variables
   ============================== */
:root {
  --bg: #FAF9F7;
  --ink: #1A1A1A;
  --muted: #5C5C5C;
  --accent: #B6ADA3;
  --line: #E6E2DC;
  --card: #FFFFFF;
  --radius: 4px;

  /* Tone kit */
  --card-greige: #ccbfb1;
  --accent-ink: #6b5a4f;
}


/* ==============================
   1. Base / Layout
   ============================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 80px; /* 固定ヘッダー分の余白（SPは後で上書き） */
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .02em;
}

h1,
h2,
h3 {
  font-family: 'EB Garamond', 'Noto Serif JP', serif;
  font-weight: 600;
  letter-spacing: .01em;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 共通セクション */
section {
  padding: clamp(80px, 10vw, 120px) 20px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

/* 汎用パネル */
.panel {
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
}

/* 最初のセクション余白調整（固定ヘッダー用の調整は body 側で実施） */
main section:first-of-type {
  padding-top: 0 !important;
}


/* ==============================
   2. Header / Global Nav
   ============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(250, 249, 247, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
}

.brand {
  font-size: 28px;
  font-weight: 600;
  font-family: 'EB Garamond', serif;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand img {
  display: inline-block;
  width: 32px;
  height: 32px;
}

.brand-sub {
  display: block;
  font-size: 11px;
  color: #888;
  letter-spacing: .08em;
  margin-top: 2px;
}

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

/* グローバルメニュー */
.menu {
  display: flex;
  gap: 18px;
  font-size: 15px;
}

/* a と MENUボタンを同列でスタイリング */
.menu a,
.menu .dropbtn {
  padding: 6px 10px;
  border-radius: 4px;
  transition: all .3s ease;
  color: #2b2b2b;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'EB Garamond', 'Noto Serif JP', serif;
}

.menu a:hover,
.menu .dropbtn:hover {
  background: #6e655e1a;
}

/* Header SNSアイコン */
.social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: #FAF9F7;
  overflow: hidden;
}

.social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  opacity: 1;
}

.social a:hover {
  background: #00000008;
  color: #3a3a3a;
}

/* ==============================
   22. Global Nav MENU align fix（PC）
   ============================== */
@media (min-width: 769px) {

  /* メニュー全体の縦位置を中央揃えに */
  .menu {
    align-items: center;
  }

  /* TOP / ABOUT / MENU / PRICE / ACCESS を全部同じ扱いにする */
  .menu a,
  .menu .dropbtn {
    display: inline-flex;      /* 中身をフレックス化 */
    align-items: center;       /* テキストを上下真ん中に */
    line-height: 1;            /* ブラウザ差をリセット */
    padding-top: 6px;
    padding-bottom: 6px;       /* ここは今と同じ値でOK */
    vertical-align: middle;    /* 念のため */
  }
}

/* ==============================
   23. Global nav font unify
   ============================== */
@media (min-width: 769px) {
  .menu a,
  .menu .dropbtn {
    font-family: inherit;
    font-size: 16px;      /* ← 他と同じに固定（変更するならここ） */
    font-weight: 400;     /* NORMAL */
    background: none;
    border: none;
  }
}


/* ==============================
   3. Dropdown MENU（PC）
   ============================== */
.dropdown {
  position: relative;
  display: inline-block;
}

/* MENUボタン */
.menu .dropdown > .dropbtn {
  display: inline-block;
}

.dropdown:hover .dropbtn {
  background: #6e655e1a;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 32px;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: 12px 14px;
  color: #333;
  font-size: 14px;
}

.dropdown-content a:hover {
  background: #f5f2ee;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* ==============================
   4. Hero（TOP）／ Hero-semi（PS/SUV/BYV）
   ============================== */
/* TOP Full Hero */
.hero {
  padding: 0;
}

.hero--full {
  position: relative;
}

.hero--full .hero-bg {
  position: relative;
  width: 100%;
  height: clamp(56vh, 70vh, 78vh);
  overflow: hidden;
}

.hero--full .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero--full .hero-overlay {
  background: linear-gradient(90deg,
      rgba(250, 249, 247, 0) 0%,
      rgba(250, 249, 247, .05) 40%,
      rgba(250, 249, 247, .35) 65%,
      rgba(250, 249, 247, .70) 82%,
      rgba(250, 249, 247, .80) 100%);
}

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

.hero-inner--overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-content {
  max-width: 640px;
  margin-right: min(6vw, 60px);
  text-align: left;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.08;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

/* 左寄せヒーロー（Doctor用） */
.hero-inner--overlay-left {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content-left {
  max-width: 640px;
  margin-left: min(6vw, 60px);
  text-align: left;
}

/* Hero内SNS */
.hero-social {
  margin-top: 24px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  transition: transform .3s ease, opacity .3s ease;
}

.btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.btn-icon:hover {
  transform: scale(1.05);
  opacity: .8;
}

/* 半幅HERO（共通：PC テキスト＋画像横並び） */
.hero-semi {
  padding: 60px 0 40px;
  background: #f7f4f0;
}

.hero-semi-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-semi-text {
  flex: 1;
  min-width: 0;
}

.hero-semi-img {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
}

.hero-semi-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
  filter: brightness(0.96);
}

/* ===== HERO画像（PS1・PS2・SUV・BYV 共通） ===== */

.hero-semi-img {
  width: 50%;
  max-width: 520px; /* PC時の最大横幅 */
}

.hero-semi-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* SP時：幅100%で画像→縦長で表示 */
@media (max-width: 768px) {
  .hero-semi-img {
    width: 100%;
    max-width: none;
  }

  .hero-semi-img img {
    height: auto;
    border-radius: 0;
  }
}


/* ==============================
   5. Buttons
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--accent-ink);
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  background: transparent;
  transition: all .3s ease;
}

.btn:hover {
  background: var(--accent-ink);
  color: #fff;
}


/* ==============================
   6. Home Sections（Concept, Services, Affil, Doctors, Clinic）
   ============================== */

/* ---------- Concept ---------- */
.concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ---------- Services（Menu） ---------- */

/* セクション背景＋余白 */
section#services,
#services {
  background: #f4f2ef;
  padding: clamp(80px, 10vw, 120px) 20px;
}

#services h2 {
  margin-bottom: 40px;
}

/* PC：4列 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* カード全体をリンクにするラッパー */
.card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* カード本体 */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ccbfb133;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .3s ease;
}

/* 画像ブロック */
.card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px);
  margin-bottom: 14px;
  background: #e9e6e2;
}

.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.96);
  transition: transform .4s ease;
}

/* テキスト */
.tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 20px;
  margin: 6px 0 10px;
  font-weight: 600;
}

.card p {
  font-size: 15px;
  line-height: 1.8;
}

/* 本文エリアを伸ばして高さ揃え */
.card-body {
  flex: 1 1 auto;
}

/* ホバー */
.card-link:hover .card {
  transform: translateY(-4px);
}

.card-link:hover .thumb img {
  transform: scale(1.05);
}


/* ---------- Affiliated band（アートメイク帯） ---------- */
.affil-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ccbfb120;
  padding: 16px;
}

.affil-card {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffffcc;
  padding: 12px;
}

.affil-thumb {
  width: 160px;
  aspect-ratio: 1/1;
  background: #e9e6e2;
  border-radius: calc(var(--radius) - 1px);
  overflow: hidden;
  flex-shrink: 0;
}

.affil-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.affil-meta {
  flex: 1;
  min-width: 0;
}

.affil-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.affil-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.affil-desc {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.affil-badge {
  font-size: 11px;
  letter-spacing: .08em;
  color: #fff;
  background: #6d6450;
  padding: 2px 8px;
  border-radius: 999px;
}
/* ---------- Affiliated band SP 上書き ---------- */
@media (max-width: 768px) {
  .affil-band {
    display: flex;
    flex-direction: column;   /* カードを縦に2枚並べる */
    gap: 16px;
    padding: 16px;
  }

  .affil-card {
    display: flex;            /* 画像＋テキストを横並びに */
    width: 100%;
    box-sizing: border-box;
    flex-direction: row;      /* ← column から row に変更 */
    align-items: center;
    gap: 12px;
    text-align: left;         /* テキストは左寄せ */
  }

  .affil-thumb {
    flex: 0 0 35%;            /* 画像側：35% */
    max-width: 35%;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;         /* 下の余白はいらない */
  }

  .affil-meta {
    flex: 0 0 65%;            /* テキスト側：65% */
    max-width: 65%;
  }

  .affil-links {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;  /* ボタンは左寄せ */
  }

  .affil-head {
    flex-direction: column;  
    align-items: flex-start;
    gap: 2px;
  }

  .affil-band {
    background: none !important;
    border: none !important;
    padding: 0 !important;
  }
}


/* ---------- Doctors ---------- */
#about-doctors {
  padding: clamp(80px, 10vw, 120px) 20px;
  overflow-x: hidden;           /* 横スクロール防止 */
}

.doctors-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.doctor-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
}

.doctor-photo {
  width: 200px;
  aspect-ratio: 4/5;
  border-radius: calc(var(--radius) - 1px);
  background: #e9e6e2;
  overflow: hidden;
  flex-shrink: 0;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.doctor-main {
  flex: 1;
  min-width: 0;
}

.doctor-main h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.doctor-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 8px;
}


/* ---------- Clinic & Concept（ABOUT） ---------- */
.clinic-panel .clinic-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.clinic-text {
  flex: 1;
}

.clinic-photo-small {
  width: 300px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e9e6e2;
}

.clinic-photo-small img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}
/* ==============================
   23. About Clinic（SP layout）
   ============================== */
@media (max-width: 768px) {

  /* 2カラム → 縦並び */
  .clinic-panel .clinic-flex {
    flex-direction: column;
    gap: 24px;
  }

  /* テキストは幅いっぱい */
  .clinic-text {
    flex: 1 1 auto;
    width: 100%;
  }

  /* 写真も幅いっぱい＋中央寄せ */
  .clinic-photo-small {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 8px;
  }

  .clinic-photo-small img {
    width: 100%;
    height: auto;
    display: block;
  }
}


/* ==============================
   7. Access / Price（基本）
   ============================== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.map {
  border: 1px solid var(--line);
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table th,
.price-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  text-align: left;
}

.price-note {
  color: #777;
  font-size: 13px;
  margin-top: 10px;
}


/* ==============================
   8. Footer
   ============================== */

footer {
  background: #c9b7a9;
  padding: 35px 20px;
  font-size: 14px;
  color: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 15px;
  font-weight: 500;
}

.footer-brand .powered a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

.footer-nav {
  margin: 8px 0 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer-nav a {
  color: #ffffff;
  opacity: 0.9;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-nav a:hover {
  border-bottom-color: #fff;
}

.footer-legal {
  font-size: 13px;
  opacity: 0.85;
}

.footer-legal a {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
}


/* ==============================
   9. Hero 画像位置（TOP / Doctor）
   ============================== */
#top .hero-bg img {
  object-position: left center;
}

#doctor .hero-bg img {
  object-position: right center;
}


/* ==============================
   10. Peach Skin 共通ブロック
   ============================== */
/* INTRO（画像＋テキスト） */
.ps-intro-img {
  width: 100%;
  display: block;
}

.ps-intro-text {
  padding: 2rem 1rem;
  text-align: center;
}

/* 美肌治療セクション共通 */
.ps-block {
  padding: 3rem 1rem;
  border-bottom: 1px solid #eee;
}

.ps-block h2 {
  margin-bottom: 1rem;
}

.ps-list {
  margin: 1rem 0 1.5rem 1.2rem;
}

/* レーザーフェイシャル・リジュビネーション用 2カラムブロック */
.ps-block--with-photo .ps-block-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.ps-block-text {
  flex: 1;
  min-width: 0;
}

/* 対応機種タグ */
.ps-device-tag {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

/* 右側の写真ボックス（カード風） */
.ps-block-photo {
  flex: 0 0 240px;
  max-width: 260px;
  background: #f4f1ed;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.ps-block-photo figure {
  margin: 0;
}

.ps-block-photo img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.ps-block-photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* PRICEボタンの上の余白 */
.ps-block-text .ps-btn {
  margin-top: 1.5rem;
}

/* PS1 HERO（PEACH SKINとは） */
.ps1-hero {
  position: relative;
  width: 100%;
  margin: 80px 0;
  padding: 4.5rem 1rem;
  min-height: 360px;
  background: url("../images/ps1hero1.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps1-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);  /* ← 0.35 → 0.55 にして少し白ベール強め */
}

.ps1-hero-inner {
  position: relative;
  text-align: center;
  max-width: 900px;
}

.ps1-hero-inner h1 {
  margin: 0 0 1rem;
  font-size: 2.2rem;
  letter-spacing: 0.12em;
}

.ps1-hero-inner p {
  margin: 0;
  line-height: 1.9;
  font-size: 1rem;
}

/* BYV ABOUT HERO（点滴療法：背景ユーカリ） */
.byv-about {
  position: relative;
  width: 100%;
  margin: 80px 0;
  padding: 4.5rem 1rem;
  min-height: 360px;
  background: url("../images/byvhero.png") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* うっすら白ベールをかけて文字を読みやすくする */
.byv-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);  /* ← 0 だったのを 0.55 にしてPC/SP共通で読みやすく */
}

.byv-about-inner {
  position: relative;
  text-align: center;
  max-width: 900px;
}

.byv-about-inner h1 {
  margin: 0 0 1rem;
  font-size: 2.2rem;
  letter-spacing: 0.12em;
}

.byv-about-inner p {
  margin: 0;
  line-height: 1.9;
  font-size: 1rem;
}


/* ==============================
   11. Peach Skin / ボタン共通
   ============================== */
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid var(--accent-ink);
  color: var(--accent-ink);
  background: transparent;
  border-radius: 24px;
  font-family: 'EB Garamond', serif;
  letter-spacing: .05em;
  font-size: 15px;
  transition: all .3s ease;
}

.ps-btn::after {
  content: "▶";
  display: inline-block;
  margin-left: 10px;
  font-size: 0.8em;
}

.ps-btn:hover {
  background: var(--accent-ink);
  color: #fff;
}

/* ボタン位置コントロール用 */
.ps-btn-center {
  display: flex;
  justify-content: center;
}

.ps-btn-right {
  display: flex;
  justify-content: flex-end;
}

.ps-title-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 10px;
}

.ps-title-area h2 {
  margin-bottom: 0;
}

.ps-title-area .ps-btn {
  margin: 0;
}

/* テキスト横の線画デコ（PCのみ） */
@media (min-width: 960px) {
  .hero-semi-wrap {
    position: relative;
  }

  .hero-semi-wrap::before {
    content: "";
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-80%);
    width: 180px;
    height: 320px;
    background: url("../images/ps1line.png") no-repeat center center;
    background-size: contain;
    opacity: 0.8;
    pointer-events: none;
  }
}


/* ==============================
   12. PRICE PAGE（レイアウト・アコーディオン）
   ============================== */

/* PRICEページのmain想定：<main id="price"> or <main class="price"> */
main#price,
#price main {
  padding-top: 40px;
}

/* アンカー位置調整：グローバルヘッダー分だけ余裕をとる */
#price-ps,
#price-suv,
#price-byv {
  scroll-margin-top: 80px;
}

/* 医療脱毛セクション内のアンカーも同様にヘッダー分だけ余裕をとる */
#ps-hair-female,
#ps-hair-male {
  scroll-margin-top: 80px;
}

/* アコーディオン基本 */
#price .accordion {
  margin-top: 16px;
}

#price .accordion-item + .accordion-item {
  margin-top: 10px;
}

#price .accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f4f1ec;
  cursor: pointer;
  font-family: 'EB Garamond','Noto Serif JP',serif;
  font-size: 16px;
  letter-spacing: .06em;
  text-align: left;
}

#price .accordion-title {
  font-size: 18px;
}

/* ＋／− アイコン */
#price .accordion-header::after {
  content: "＋";
  font-size: 16px;
  color: var(--muted);
}

#price .accordion-header[aria-expanded="true"] {
  background: #e6ded5;
}

#price .accordion-header[aria-expanded="true"]::after {
  content: "－";
}

#price .accordion-panel {
  padding: 18px 4px 4px;
}

/* 機種別アコーディオン（PRO / LASE） */
#price .hair-type-accordion > .accordion-item > .accordion-header,
#price .ps-hair-inner     > .accordion-item > .accordion-header {
  max-width: 96%;
  margin: 0 auto 12px;
  background: #f7f2ed;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
}

#price .hair-type-accordion > .accordion-item > .accordion-header[aria-expanded="true"],
#price .ps-hair-inner     > .accordion-item > .accordion-header[aria-expanded="true"] {
  background: #e1d4c7;
}

/* PRICEセクション：レイアウト・余白 */
.price-section .container {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* セクションタイトル */
.price-section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 24px;
}

.price-section-kicker {
  font-family: 'EB Garamond', serif;
  letter-spacing: .16em;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
}

.price-section-title {
  display: block;
}

.price-section-title h2 {
  margin: 0 0 4px;
}

.price-section-title span {
  font-size: 13px;
  color: var(--muted);
}

/* 全セクションの上下パディング（ベース） */
.price-section {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* 1つ目（Peach Skin）だけヘッダーから少し離す */
#price-ps {
  padding-top: 90px;
}

/* PS内：美肌治療ブロックの下に余白 */
#price-ps .ps-accordion {
  margin-bottom: 0;
}

/* PAGE TOP */
.price-back-top {
  margin-top: 24px;
  margin-bottom: 0;
  text-align: right;
  font-size: 12px;
}

.price-section > .price-back-top {
  max-width: 1080px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}

.price-back-top a {
  text-decoration: underline;
  color: var(--muted);
}

.price-back-top a:hover {
  color: var(--accent-ink);
}

/* 小見出し＋表ブロック */
.price-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 24px 20px 20px;
  margin-bottom: 28px;
}

.price-block--shade {
  border: 1px solid var(--line);
  background: #ffffff;
}

.price-block-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.price-block-title {
  font-weight: 600;
}

.price-block-tag {
  font-size: 12px;
  color: var(--muted);
}

/* サブ見出し（女性 / 男性など） */
.price-subheading {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--muted);
}

/* テーブル周り */
.price-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.price-table th,
.price-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.price-table th {
  font-size: 13px;
  color: var(--muted);
  background: #f7f4f0;
}

/* ラベル用 */
.price-label {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid var(--line);
  background: #f4f0eb;
  margin-right: 4px;
}

.price-note-inline {
  font-size: 12px;
  color: var(--muted);
}

.price-row-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.price-section-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.price-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 2列テーブル */
.price-table-2col {
  table-layout: fixed;
}

.price-table-2col th:nth-child(1),
.price-table-2col td:nth-child(1) {
  width: 60%;
}

.price-table-2col th:nth-child(2),
.price-table-2col td:nth-child(2) {
  width: 40%;
}

/* 3列テーブル */
.price-table-3col {
  table-layout: fixed;
}

.price-table-3col th:nth-child(1),
.price-table-3col td:nth-child(1) {
  width: 60%;
}

.price-table-3col th:nth-child(2),
.price-table-3col td:nth-child(2),
.price-table-3col th:nth-child(3),
.price-table-3col td:nth-child(3) {
  width: 20%;
}

/* 旧アンカー互換 */
.price-legacy-anchor {
  display: block;
  height: 0;
  margin-top: -150px;
  padding-top: 150px;
}

#ps2.price-legacy-anchor {
  margin-top: -180px;
  padding-top: 180px;
}

/* 美肌 → BYV 点滴へのリンク強調 */
.price-row-note a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
}

.price-row-note a:hover {
  opacity: 0.7;
}


/* ==============================
   13. その他調整（横スクロール防止・内服など）
   ============================== */

/* 横スクロール防止 */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* 内服治療（縦積みレイアウト） */
.ps-med-item {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eee;
}

.ps-med-title {
  font-family: 'EB Garamond','Noto Serif JP',serif;
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 600;
}

.ps-med-tag {
  display: inline-block;
  background: #f4ede6;
  color: #6b5a4f;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 13px;
  margin-bottom: 14px;
}

.ps-med-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

/* ==============================
   14. SPヘッダー & ハンバーガー
   ============================== */

/* --- PCデフォルト：SP専用パーツは全て隠す --- */
.nav-toggle-input,
.nav-toggle-button,
.nav-drawer,
.nav-backdrop,
.hero-sp-intro {
  display: none;
}


/* -----------------------------------------
   スマホ版ヘッダー ＋ ドロワーメニュー
   ＆ SP用イントロHERO
   （max-width: 768px 共通管理）
   ----------------------------------------- */
@media (max-width: 768px) {

  /* ===== 14-1. ヘッダー周り ===== */

  /* ヘッダー分の余白（少し多めにして、イントロ画像が隠れにくく） */
  body {
    padding-top: 80px;  /* 70 → 80 にして、かぶりを軽減 */
  }

  .header {
    background: rgba(250, 249, 247, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }

  .nav {
    position: relative;  /* ドロワーの絶対配置の基準にする */
    max-width: 100%;
    padding: 10px 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    font-size: 22px;
  }

  .brand-sub {
    font-size: 10px;
  }

  /* PC用メニュー＆SNSはスマホでは非表示 */
  .right {
    display: none !important;
  }

  /* ハンバーガーボタン */
  .nav-toggle-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    cursor: pointer;
  }

  .nav-toggle-button span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #444;
  }

  /* 背景のグレー幕は今回は使わない（オーバーレイなし） */
  .nav-backdrop {
    display: none;
  }


  /* ===== 14-2. ドロワーメニュー（下に開くタイプ） ===== */

  /* 基本形：nav の真下に「落ちる」ドロップダウン */
  .nav-drawer {
    display: none;              /* チェックOFF時は非表示 */
    position: absolute;
    top: 100%;                  /* nav の下端から */
    left: 0;
    right: 0;
    background: #FAF9F7;
    border-top: 1px solid var(--line);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 8px 10px 10px;
    box-sizing: border-box;
    z-index: 60;
  }

  .nav-drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 0;                     /* 余白は各項目の padding で管理 */
    font-size: 12px;
  }

  .nav-drawer-menu a {
    padding: 4px 0;             /* 上下の余白をギリギリまで圧縮 */
    font-size: 12px;
    line-height: 1.4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* ごく薄い下線 */
  }

  .nav-drawer-menu a:last-child {
    border-bottom: none;
  }

  /* MENU などの見出し行は今回は非表示（行数削減） */
  .drawer-title {
    display: none !important;
  }

  .drawer-sub {
    padding-left: 3px;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
  }

  .drawer-sub:hover {
    opacity: .7;
  }

  /* ✅ チェックONでドロワーを表示（アニメなしで安定性優先） */
  .nav-toggle-input:checked ~ .nav-drawer {
    display: block;
  }


  /* ===== 14-3. SP用イントロHERO（画像＋テキスト） ===== */

  /* PC用 hero-semi はSPでは隠す */
  .hero-semi {
    display: none !important;
  }

  /* セクション自体の背景：真っ白→サイト全体のBG色に寄せて柔らかく */
  .hero-sp-intro {
    display: block;
    margin-top: 4px;                  /* ヘッダーとかぶりにくくするため少し隙間 */
    padding-top: 8px;
    padding-bottom: 12px;
    background: var(--bg);            /* #fff → var(--bg) で「白すぎ」感を軽減 */
  }

  .hero-sp-intro-img {
    width: 100%;
    display: block;
  }

  .hero-sp-intro-body {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 16px 8px;
    box-sizing: border-box;
  }

  .hero-sp-intro-body p {
    margin: 0 0 0.6rem;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
  }
}

/* ==============================
   15. Peach Skin & BYV SP レイアウト調整
   ============================== */
@media (max-width: 768px) {

  /* --- 「PEACH SKINとは」／「Be You Visionとは」ヒーロー共通 --- */
  .ps1-hero,
  .byv-about {
    margin: 48px 0;
    padding: 3rem 1.2rem;
    min-height: auto;
    box-sizing: border-box;         /* パディング込みで幅計算 → はみ出し防止 */
  }

  .ps1-hero-inner,
  .byv-about-inner {
    max-width: 100%;
  }

  .ps1-hero-inner h1,
  .byv-about-inner h1 {
    font-size: 1.8rem;
  }

  .ps1-hero-inner p,
  .byv-about-inner p {
    font-size: 14px;
    line-height: 1.9;
    word-break: break-word;         /* 日本語も英字もとにかく折る */
    overflow-wrap: break-word;
  }

  /* --- レーザーフェイシャル／リジュビネーション --- */
  /* 機械写真を非表示（SPではテキストだけ） */
  .ps-block--with-photo .ps-block-photo {
    display: none;
  }

  /* 画像が消えた分、テキストを1カラムに */
  .ps-block--with-photo .ps-block-inner {
    flex-direction: column;
  }

  /* 各PSセクションの本文も念のため折り返し保証 */
  .ps-block p,
  .ps-med-desc {
    font-size: 14px;
    line-height: 1.9;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* ===========================
   16. Peach Skin メニュータイトルとPRICE配置（SP）
   =========================== */
@media (max-width: 768px) {
  /* タイトル＋ボタンを縦並び＆幅いっぱいに */
  .ps-title-area {
    flex-direction: column;   /* 上：タイトル / 下：ボタン */
    align-items: stretch;     /* 子要素を横幅いっぱいに */
    gap: 6px;
  }

  .ps-title-area h2 {
    margin-bottom: 0;
    line-height: 1.3;
    text-align: left;         /* 念のため左寄せ固定 */
  }

  /* PRICEボタンだけ右端に寄せる */
  .ps-title-area .ps-btn {
    align-self: flex-end;     /* 右端に寄せる */
  }
}

/* =====================================
   17. TOP Hiro SP テキスト可読性カード
   ===================================== */
@media (max-width: 768px) {
  #top .hero-content {
    background: rgba(198, 186, 170, 0.55); 
    /* ↑ var(--card-greige) を透過風に → ブラウン/グレージュ感 */
    padding: 16px 18px;
    border-radius: 0;
    
  }

  #top .hero-content h1 {
    line-height: 1.25;
  }
}

/* =====================================
   18. Concept セクション SPレイアウト
   ===================================== */
@media (max-width: 768px) {
  .concept {
    grid-template-columns: 1fr;  /* 2列 → 1列 */
    gap: 24px;                   /* 縦の間を少し広めに */
  }

  #concept {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
/* =====================================
   19. Services（Menu） SP＝横並びリスト化
   ===================================== */
@media (max-width: 768px) {

  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    border-radius: 6px;
  }

  .card .thumb {
    flex: 0 0 26%; /* ← 画像幅調整・お好みで 24〜30% */
    aspect-ratio: 1/1;
    margin: 0 14px 0 0; /* 下ではなく横に余白 */
    border-radius: 6px;
  }

  .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* ← 高さ均等化 */
    gap: 4px;
  }

  .tag {
    font-size: 10px;
    letter-spacing: .08em;
    margin-bottom: 0;
  }

  .card-body h3 {
    font-size: 17px;
    margin: 2px 0 4px;
  }

  .card-body p {
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
  }
}

/* ==============================
   20. Doctor Message（SP）
   ============================== */

@media (max-width: 768px) {
  /* カード本体：淡ブラウンのフラットな板 */
  #doctor .doctor-message-card {
    background: rgba(204, 191, 177, 0.60);  /* ちょい濃いめのブラウン透過 */
    padding: 20px 16px;
    margin: 0 2px 36px;
    box-sizing: border-box;
    border-radius: 0;                       /* 角丸なし・かくかく */
  }

  /* 文字色はしっかり白に */
  #doctor .doctor-message-card h2,
  #doctor .doctor-message-card p {
    color: #ffffff;
  }

  /* h2 の余白微調整 */
  #doctor .doctor-message-card h2 {
    margin: 0 0 12px;
  }

  #doctor .doctor-message-card p {
    font-size: 14px;
    line-height: 1.9;
  }
}

/* ✨ Doctor Message — 見出しは黒、本文だけ白 */
#doctor .doctor-message-card h2 {
  color: #1A1A1A !important;  /* 黒（テーマのink） */
}

#doctor .doctor-message-card p {
  color: #ffffff !important;  /* 本文だけ白 */
}

/* ==============================
   21．Access & Hours SP - layout fix
   ============================== */
@media (max-width: 768px) {

  .access-grid {
    display: flex;
    flex-direction: column;   /* ←2カラム→1カラム */
    gap: 24px;
  }

  .access-grid > div {
    width: 100%;             /* 幅いっぱい */
    box-sizing: border-box;
  }

  /* 住所カード少し余白＆フラットで可 */
  .access-grid .panel {
    margin: 0 12px;          /* ←左右に余白 */
    border-radius: 0;        /* カクカクで統一 */
  }

  /* マップも全幅 */
  .map {
    width: calc(100% - 24px);
    margin: 0 auto;
  }
}
/* ==============================
   22. Doctors セクション SPレイアウト
   ============================== */
@media (max-width: 768px) {

  /* セクション全体の余白を少し詰める */
  #about-doctors {
    padding: 56px 16px 64px;
  }

  /* カード：写真 → 文章 の縦並びに */
  .doctor-card {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 16px;
  }

  /* 写真は少し大きめ＆中央寄せ */
  .doctor-photo {
    width: 70%;
    max-width: 260px;
    margin: 0 auto;
  }

  /* テキストブロックは幅いっぱいで */
  .doctor-main {
    width: 100%;
  }

  /* 名前行だけ中央寄せ・少し大きめ */
  .doctor-main h3 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 8px;
  }

  /* 本文は読みやすいサイズ＋行間 */
  .doctor-text {
    font-size: 14px;
    line-height: 1.9;
  }
}

/* ==============================
   24. SP Hero タイトル（共通・left寄せ）
   ============================== */
@media (max-width: 768px) {

  .sp-hero-title {
    padding: 16px 20px 8px;
    text-align: left;
  }

  .sp-hero-title .eyebrow {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 4px;
  }

  .sp-hero-title h1,
  .sp-hero-title h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
  }
}

/* ==============================
   25. PRICE セクション SP 読みやすさ調整
   ============================== */
@media (max-width: 768px) {

  /* セクション全体の余白をちょい詰める */
  .price-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .price-section .container {
    padding-left: 10px;
    padding-right: 10px;  /* ← カードの左右マージンを少しだけ狭く */
  }

  /* カード内の余白も少しだけタイトに */
  .price-block {
    padding: 16px 12px 14px;
  }

  .price-block-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* テーブル文字サイズ＆余白 */
  .price-table {
    font-size: 13px;
  }

  .price-table th,
  .price-table td {
    padding: 8px 4px;    /* 上下左右を少し詰める */
  }

  /* 1列目（コース名＋説明）は折り返しOKにして幅を広めに */
  .price-table th:nth-child(1),
  .price-table td:nth-child(1) {
    width: 60%;
    white-space: normal;       /* ← 説明文は改行してOK */
  }

  /* 2列目以降（料金）は折り返さず右寄せで数字を見やすく */
  .price-table th:not(:first-child),
  .price-table td:not(:first-child) {
    white-space: nowrap;       /* 金額は1行のまま */
    text-align: right;
  }

  /* 2列テーブル・3列テーブルも同じノリで少しだけ詰める */
  .price-table-2col th,
  .price-table-2col td,
  .price-table-3col th,
  .price-table-3col td {
    padding: 8px 4px;
  }

  .price-table-3col th:nth-child(1),
  .price-table-3col td:nth-child(1) {
    width: 58%;
    white-space: normal;
  }
}
/* ==============================
   26. PRICE SP 3列テーブル専用 読みやすさ調整
   ============================== */
@media (max-width: 768px) {

  /* クルスカみたいな3列テーブルは、横スクロールではなく折り返しで対応 */
  .price-table-wrap {
    overflow-x: visible;   /* SPでは基本スクロールバー出さない */
  }

  .price-table-3col {
    table-layout: fixed;   /* 各列の幅を%指定でコントロール */
  }

  .price-table-3col th,
  .price-table-3col td {
    padding: 8px 3px;
    font-size: 12px;
    white-space: normal;   /* ★ 金額も含めて折り返しOKにする */
  }

  /* 1列目：コース名・条件 → やや広め＆左寄せ */
  .price-table-3col th:nth-child(1),
  .price-table-3col td:nth-child(1) {
    width: 42%;
    text-align: left;
  }

  /* 2・3列目：金額 → 少し細め＆右寄せ */
  .price-table-3col th:nth-child(2),
  .price-table-3col td:nth-child(2),
  .price-table-3col th:nth-child(3),
  .price-table-3col td:nth-child(3) {
    width: 29%;
    text-align: right;
  }
}

/* ==============================
   X. Tablet 調整（タイトル折れ対策）
   ============================== */
@media (min-width: 769px) and (max-width: 1024px) {

  /* ヘッダーロゴのタイトルを少し小さく */
  .brand {
    font-size: 22px;       /* 元28px → 少しだけダウン */
    line-height: 1.2;
  }

  /* TOPヒーローの大見出しも少し小さめにして折れを減らす */
  #top .hero h1 {
    font-size: 32px;       /* clamp で大きくなりすぎるので、タブレットでは固定値に */
    line-height: 1.2;
  }
}

