:root {
  --brown-dark: #4a3728;
  --brown-mid: #7a6a58;
  --brown-light: #b09b82;
  --gold: #8b794d;
  --bordeaux: #8b2942;
  --cream: #f7f4ee;
  --ivory: #f5f1ea;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --sans: 'Noto Sans JP', sans-serif;
}
@media (max-width: 767px) {
  :root {
    --brown-dark: #8b794d;
    --brown-mid: #a89878;
    --brown-light: #bcb089;
  }
  .sp-only { display: inline !important; }
  .ph-tagline { display: table; margin-left: auto; margin-right: auto; text-align: left; }
  .ph-tagline .tg-l1 { display: block; }
  .ph-tagline .tg-l2 { display: block; padding-left: 4.5em; }
  html { overflow-x: hidden; }
}
.sp-only { display: none; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--brown-dark);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.04em;
  overflow-x: hidden;
}

/* HEADER（メインページと同じ固定ヘッダー＋スクロールで色付け） */
.ph-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: transparent;
  transition: background 0.4s ease;
}
.ph-header.scrolled {
  background: rgba(42, 28, 16, 0.60);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ph-header.scrolled .ph-brand-logo { background-color: #fff; }
.ph-header.scrolled .ph-brand-sub { color: rgba(255,255,255,0.72); }
.ph-header.scrolled .ph-nav a,
.ph-header.scrolled .ph-back { color: rgba(255,255,255,0.85); }
.ph-nav {
  display: flex; align-items: center; gap: clamp(6px, 1.2vw, 24px);
  margin-left: auto; flex-wrap: nowrap;
}
.ph-nav a {
  font-size: clamp(0.54rem, 1vw, 0.76rem); letter-spacing: 0.06em; white-space: nowrap;
  color: #52402c; text-decoration: none; font-weight: 300;
  transition: color 0.4s, opacity 0.3s;
}
.ph-nav a:hover { opacity: 0.65; }
.ph-back { display: none; }

/* 透かし＆スクロールリビール（メインページと同じ挙動） */
.ph-wm-line {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 100vw; display: flex; overflow: hidden;
  pointer-events: none; user-select: none; z-index: -1;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(8.4rem, 28.8vw, 21.6rem); line-height: 1; white-space: nowrap;
  color: rgba(176,140,114,0.06);
}
.ph-wm-start { justify-content: flex-start; }
.ph-wm-end { justify-content: flex-end; }
.ph-hero, .ph-omoi { position: relative; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══ MOBILE HEADER + DRAWER + CTA BAR（トップページと同一・640px以下のみ表示） ═══ */
.mobile-header {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 56px;
  align-items: stretch; justify-content: space-between;
  padding: 0 0 0 16px;
  background: rgba(250,247,242,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(176,140,114,0.18);
}
.mobile-header .mobile-logo {
  text-decoration: none;
  display: flex; flex-direction: row; align-items: center; gap: 9px;
  line-height: 1.15;
}
.mobile-header .ph-brand-logo { width: 190px; background-color: #4a3728; }
@media (max-width: 359px) { .mobile-header .ph-brand-logo { width: 160px; } }
/* スマホのヘッダーはゴールドの横組みロゴ（LOGO の Soeniá clinic_En_GL.png） */
.mobile-header .ph-brand-logo { -webkit-mask: none; mask: none; background: url("/images/logo-en-gl.png") no-repeat left center / contain; }
/* 縦幅いっぱいに近い大きさ（画像は余白なし 1084x183）、日本語は1行 */
.mobile-header .ph-brand-logo { width: auto; height: 32px; aspect-ratio: 1084 / 183; }
/* 表示サイズに合わせて高画質で縮めた画像（標準・2倍・3倍の画面用）を使い、にじみを抑える */
.mobile-header .ph-brand-logo {
  background-image: url("/images/logo-en-gl-m-2x.png");
  background-image: -webkit-image-set(url("/images/logo-en-gl-m-1x.png") 1x, url("/images/logo-en-gl-m-2x.png") 2x, url("/images/logo-en-gl-m-3x.png") 3x);
  background-image: image-set(url("/images/logo-en-gl-m-1x.png") 1x, url("/images/logo-en-gl-m-2x.png") 2x, url("/images/logo-en-gl-m-3x.png") 3x);
}
.mobile-header .mobile-logo .ph-brand-sub { font-size: 0.68rem; line-height: 1.4; letter-spacing: 0.02em; white-space: nowrap; }
/* 日本語をはっきり（濃い茶・やや太め） */
.mobile-header .mobile-logo .ph-brand-sub { color: #2b1c10; font-weight: 500; letter-spacing: 0; }
.mobile-header .mobile-logo .ph-brand-sub .nw { display: inline; }
@media (max-width: 374px) { .mobile-header .ph-brand-logo { width: auto; height: 28px; } .mobile-header .mobile-logo .ph-brand-sub { font-size: 0.64rem; } }
@media (max-width: 339px) { .mobile-header .ph-brand-logo { height: 24px; } .mobile-header .mobile-logo .ph-brand-sub { font-size: 0.6rem; } .mobile-header .mobile-logo { gap: 6px; } }
.mobile-header .ph-brand-sub {
  width: auto; font-size: 0.74rem; color: #2b1c10; font-weight: 400; margin-top: 0; white-space: nowrap;
  text-align: left; text-align-last: auto; letter-spacing: 0.02em; line-height: 1.45;
}
.mobile-header .ph-brand-sub .nw { white-space: nowrap; display: inline-block; }
.hamburger {
  background: #3a3a3a; border: none; cursor: pointer;
  width: 56px; height: 56px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  transition: opacity 0.2s; padding: 0;
}
.hamburger:hover { opacity: 0.85; }
.hamburger span:not(.hamburger-label) {
  display: block; width: 18px; height: 1.5px;
  background: #fff; transition: all 0.3s;
}
.hamburger-label {
  display: block; color: #fff; font-size: 0.6rem;
  letter-spacing: 0.18em; margin-top: 2px; line-height: 1;
  font-family: var(--sans); font-weight: 500;
}
.mobile-cta-bar {
  display: none;
  position: fixed; top: 56px; left: 0; right: 0; z-index: 99;
  height: 52px;
  border-bottom: 1px solid #fff;
}
.mobile-cta-bar > a {
  flex: 1; height: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; text-decoration: none;
  font-family: var(--sans); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.08em;
  transition: opacity 0.2s;
}
.mobile-cta-bar > a:hover { opacity: 0.86; }
.mobile-cta-bar > a svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.mobile-cta-bar .cta-tel  { background: #8d8d8d; }
.mobile-cta-bar .cta-web  { background: #b5a578; }
.mobile-cta-bar .cta-line { background: #d2ccb6; }
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(30,18,10,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.sidebar-overlay.active { opacity: 1; pointer-events: all; }
.sidebar {
  display: none;
  position: fixed; top: 0; right: -340px; bottom: 0;
  width: 320px; z-index: 201;
  background: #3a3a3a;
  flex-direction: column;
  transition: right 0.38s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.sidebar.open { right: 0; }
.sidebar-head {
  padding: 24px 24px 18px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(176,140,114,0.18);
  flex-shrink: 0;
}
.sidebar-logo .ph-brand-logo { width: 180px; background-color: rgba(255,255,255,0.85); }
.sidebar-logo .ph-brand-sub { width: 180px; font-size: 0.54rem; color: rgba(255,255,255,0.55); margin-top: -8px; letter-spacing: 0; }
.sidebar-close {
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); transition: color 0.2s;
}
.sidebar-close:hover { color: var(--white); }
.sidebar-close svg { width: 20px; height: 20px; }
.sidebar-nav { padding: 12px 0; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px;
  font-size: 0.78rem; letter-spacing: 0.16em; color: rgba(255,255,255,0.75);
  text-decoration: none; transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid rgba(176,140,114,0.08);
}
.sidebar-nav a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.sidebar-nav a svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.45); flex-shrink: 0; }
.sidebar-nav-en {
  font-family: var(--serif); font-size: 0.58rem; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.45); display: block; font-style: italic; margin-top: 2px;
}
.sidebar-cta { padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.sidebar-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 2px;
  font-size: 0.7rem; letter-spacing: 0.2em; color: var(--white);
  text-decoration: none; font-weight: 300; transition: opacity 0.2s;
}
.sidebar-btn:hover { opacity: 0.82; }
.sidebar-btn svg { width: 16px; height: 16px; }
.sidebar-btn.web  { background: var(--brown-mid); }
.sidebar-btn.line { background: #00b900; }
.sidebar-btn.tel  { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); }
.ph-logo-wrap { text-decoration: none; }
.ph-logo-wrap .ph-brand-logo, .ph-logo-wrap .ph-brand-sub { width: clamp(165px, 19vw, 256px); }
.ph-logo-wrap .ph-brand-sub { font-size: clamp(0.62rem, 0.9vw, 0.74rem); margin-top: -10px; }
.ph-brand-logo {
  display: block; width: 180px; aspect-ratio: 1229 / 328;
  background-color: #4a3728;
  -webkit-mask: url("/images/logo-mask.png") no-repeat left center / contain;
  mask: url("/images/logo-mask.png") no-repeat left center / contain;
}
.ph-brand-sub {
  display: block; width: 180px; margin-top: -8px;
  font-size: 0.56rem; color: #3d2817; font-weight: 300;
  text-align: justify; text-align-last: justify;
}
.ph-back {
  font-family: var(--serif); font-style: italic; font-size: 0.8rem;
  letter-spacing: 0.16em; color: var(--brown-mid); text-decoration: none;
  white-space: nowrap;
}
.ph-back:hover { color: var(--brown-dark); }

/* TITLE */
.ph-hero { text-align: center; padding: clamp(130px, 17vw, 185px) 22px 0; }
.ph-en {
  font-family: var(--serif); font-style: italic; font-size: 0.8rem;
  letter-spacing: 0.42em; color: var(--brown-light); display: block; margin-bottom: 18px;
}
.ph-hero h1 {
  font-family: 'Noto Serif JP', serif; font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: 0.12em; color: var(--gold);
}
.ph-tagline {
  margin-top: 30px; font-family: 'Zen Old Mincho', 'Noto Serif JP', serif; font-weight: 500;
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2rem); letter-spacing: 0.16em; line-height: 1.9;
  color: var(--gold);
}

/* SECTIONS */
.ph-section { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) 22px 0; }
.ph-section-title {
  font-family: 'Noto Serif JP', serif; font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem); letter-spacing: 0.12em; color: var(--gold);
  margin-bottom: 28px; text-align: center;
}
.ph-section p { font-size: 0.9rem; color: var(--brown-mid); margin-bottom: 1.6em; }
.ph-section p strong { color: var(--brown-dark); font-weight: 400; }

.ph-quote {
  margin: 36px 0; padding: 28px clamp(20px, 4vw, 40px);
  background: var(--cream); border-left: 2px solid var(--gold);
  font-family: 'Noto Serif JP', serif; font-weight: 400;
  font-size: 0.95rem; line-height: 2.2; letter-spacing: 0.08em; color: var(--brown-dark);
}
.ph-list { list-style: none; margin: 0 0 1.6em; }
.ph-list li {
  position: relative; padding-left: 20px; margin-bottom: 12px;
  font-size: 0.9rem; color: var(--brown-mid);
}
.ph-list li::before {
  content: ''; position: absolute; left: 0; top: 0.85em;
  width: 8px; height: 1px; background: var(--gold);
}
.ph-list li strong { color: var(--brown-dark); font-weight: 400; }

/* 4つのC */
.ph-4c-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; margin: 34px 0 28px; text-align: left;
}
.ph-4c-item {
  background: var(--cream); padding: 26px 24px 24px;
  border-top: 2px solid var(--gold);
}
.ph-4c-kanji {
  font-family: 'Zen Old Mincho', 'Noto Serif JP', serif; font-size: 2rem; font-weight: 500;
  color: var(--gold); display: inline-block; line-height: 1; vertical-align: baseline;
}
.ph-4c-en {
  font-family: var(--serif); font-style: italic; font-size: 0.85rem;
  letter-spacing: 0.18em; color: var(--brown-light); margin-left: 12px;
}
/* 「SO」の4つの漢字 */
.ph-so-lead { text-align: center; margin: -6px 0 30px; }
.ph-so-word {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(3.6rem, 9vw, 5.4rem); line-height: 1; letter-spacing: 0.06em; color: var(--gold);
}
.ph-so-kanji {
  display: block; margin-top: 14px;
  font-family: 'Zen Old Mincho', 'Noto Serif JP', serif; font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem); letter-spacing: 0.28em; color: var(--brown-dark);
}
.ph-so-kanji i { font-style: normal; color: var(--brown-light); }
#so-four { scroll-margin-top: 80px; }
.ph-4c-item p { font-size: 0.84rem; margin: 14px 0 0; color: var(--brown-mid); }
.ph-4c-note { font-size: 0.84rem; color: var(--brown-mid); }
@media (max-width: 767px) {
  .ph-4c-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* 4つの想い */
.ph-omoi { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 72px) 22px 0; scroll-margin-top: 24px; }
.ph-omoi-num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 2.6rem; color: var(--gold); opacity: 0.55; line-height: 1; display: block; margin-bottom: 10px;
}
.ph-omoi h2 {
  font-family: 'Noto Serif JP', serif; font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem); letter-spacing: 0.1em; color: var(--brown-dark);
  margin-bottom: 22px;
}
.ph-omoi p { font-size: 0.9rem; color: var(--brown-mid); margin-bottom: 1.6em; }
/* 段落ごとの背景帯（トップページと同じアイボリー・クリーム・白。本文幅は720pxのまま） */
.ph-hero, .ph-section, .ph-omoi { position: relative; isolation: isolate; overflow: hidden; }
.ph-section, .ph-omoi {
  max-width: none;
  padding: clamp(56px, 8vw, 96px) max(22px, calc((100% - 676px) / 2));
}
.ph-section > :last-child, .ph-omoi > :last-child { margin-bottom: 0; }
.ph-hero { padding-bottom: clamp(56px, 8vw, 96px); }
.ph-band-ivory { background: #faf7f2; }
.ph-band-cream { background: #f5f0e8; }
.ph-band-white { background: var(--white); }
.ph-band-cream .ph-quote, .ph-band-cream .ph-4c-item { background: var(--white); }
.ph-band-white .ph-quote, .ph-band-white .ph-4c-item { background: #f5f0e8; }

/* 本文中の関連ページへのリンク */
a.in-link {
  color: #6b5635; text-decoration: underline; text-decoration-color: rgba(154,125,74,0.55);
  text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 0.2s, text-decoration-color 0.2s;
}
a.in-link:hover { color: var(--gold); text-decoration-color: var(--gold); }

/* 関連ページ */
.ph-rel { text-align: center; padding: clamp(48px, 7vw, 72px) 22px 0; }
.ph-rel-title {
  font-family: var(--serif); font-style: italic; font-size: 14px;
  letter-spacing: 0.26em; color: var(--brown-light); margin-bottom: 8px;
}
.ph-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 12px; }
.ph-chips li { padding: 7px 18px; border: 1px solid rgba(154,125,74,0.35); font-size: 15px; letter-spacing: 0.05em; }
.ph-chips a { color: #6b5635; text-decoration: none; }
@media (max-width: 767px) { .ph-chips li { padding: 6px 14px; font-size: 14px; } }

/* FOOT */
.ph-cta { text-align: center; padding: clamp(56px, 8vw, 88px) 22px; }
.ph-cta a {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--serif); font-style: italic; font-size: 0.85rem;
  letter-spacing: 0.2em; color: var(--brown-mid); text-decoration: none;
}
.ph-cta a::after { content: ''; display: block; width: 56px; height: 1px; background: var(--brown-light); }
.ph-footer {
  text-align: center; padding: 28px 22px; border-top: 1px solid rgba(176,140,114,0.22);
  font-size: 0.68rem; letter-spacing: 0.1em; color: var(--brown-light);
}

/* モバイル表示切替（カスケードで勝つよう末尾に配置） */
@media (max-width: 767px) {
  .ph-header { display: none; }
  .mobile-header { display: flex; }
  .mobile-cta-bar { display: flex; }
  .sidebar-overlay { display: block; }
  .sidebar { display: flex; }
}

/* 文字サイズ調整（トップページと同じ基準：本文 PC16px / スマホ14px） */
@media (min-width: 768px) {
  body .ph-nav a { font-size: clamp(0.6rem, 1.22vw, 0.96rem); }
  body .ph-en { font-size: 13px; }
  body .ph-hero h1 { font-size: 30px; }
  body .ph-section-title, body .ph-omoi h2 { font-size: 22px; }
  body .ph-section p, body .ph-list li, body .ph-omoi p { font-size: 16px; }
  body .ph-quote { font-size: 17px; }
  body .ph-4c-item p, body .ph-4c-note { font-size: 15px; }
  body .ph-4c-en { font-size: 14px; }
  body .ph-cta a { font-size: 15px; }
  body .ph-footer { font-size: 12px; }
}
@media (max-width: 767px) {
  body .ph-en { font-size: 11px; }
  body .ph-hero h1 { font-size: 24px; }
  body .ph-section-title, body .ph-omoi h2 { font-size: 18px; }
  body .ph-section p, body .ph-list li, body .ph-omoi p { font-size: 14px; }
  body .ph-quote { font-size: 15px; }
  body .ph-4c-item p, body .ph-4c-note { font-size: 14px; }
  body .ph-cta a { font-size: 14px; }
  body .ph-footer { font-size: 11px; }
  body .sidebar-nav a { font-size: 14px; }
}

/* 英字の小見出しは斜体にしない */
.ph-en { font-style: normal; }

/* 上部メニュー：専門分野のプルダウン（PC） */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-top::after {
  content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 6px; vertical-align: 3px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg);
}
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px);
  min-width: 230px; padding: 10px 0; margin-top: 10px;
  background: rgba(42, 28, 16, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(20, 12, 6, 0.28);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
}
/* メニューとプルダウンの間の隙間でも閉じないように */
.nav-drop-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav-drop-menu a {
  display: block; padding: 9px 22px; white-space: nowrap;
  font-size: 13px !important; letter-spacing: 0.06em; color: rgba(255,255,255,0.9) !important;
  text-shadow: none !important; text-decoration: none; transition: background 0.2s;
}
.nav-drop-menu a:hover { background: rgba(255,255,255,0.1); opacity: 1; }
.nav-drop-menu.has-index a:first-child { border-bottom: 1px solid rgba(255,255,255,0.14); margin-bottom: 4px; padding-bottom: 11px; }
/* ═══ ロゴ誕生アニメーション（名前とロゴに込めたもの） ═══ */
.ph-logo-anime { margin: 0 auto 28px; text-align: center; }
.ph-logo-anime svg { width: 100%; max-width: 640px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.ph-logo-anime .la-serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: 0.01em; }
.ph-logo-anime .la-kanji { font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-weight: 400; }
.ph-logo-anime .la-en-text { fill: #6a2230; }
.ph-logo-anime .la-so-text { fill: #926342; }
.ph-logo-anime .la-times { fill: #947663; }
.ph-logo-anime .la-en-kanji { fill: #7a3944; }
.ph-logo-anime .la-so-kanji { fill: #9f785c; }
.ph-logo-anime .la-brand { fill: #4f3728; opacity: 0; filter: drop-shadow(0 1px 0 rgba(255,255,255,0.18)); }
.ph-logo-anime .la-replay {
  margin-top: 6px; background: none; border: none; cursor: pointer;
  font-family: 'Noto Serif JP', serif; font-size: 12px; letter-spacing: 0.12em;
  color: var(--brown-mid, #7a6150); opacity: 0; transition: opacity .6s ease, color .3s ease;
  pointer-events: none; padding: 6px 10px;
  border-bottom: 1px solid rgba(146,99,66,0.35);
}
.ph-logo-anime.is-done .la-replay { opacity: 0.75; pointer-events: auto; }
.ph-logo-anime .la-replay:hover, .ph-logo-anime .la-replay:focus-visible { opacity: 1; color: #8B2942; }
@media (prefers-reduced-motion: reduce) {
  .ph-logo-anime .la-initial { opacity: 0 !important; }
  .ph-logo-anime .la-brand { opacity: 1 !important; }
}
@media (max-width: 767px) { .ph-logo-anime { margin: 0 auto 24px; } }

/* ═══ ロゴの由来の図（トップページから移動） ═══ */
.ph-logo-concept { margin: 8px auto 0; }
.ph-logo-concept img { width: 100%; height: auto; display: block; background: #fff; border: 1px solid rgba(139,121,77,0.18); }

/* ═══ 「想いにこたえる医療、未来へつむぐ縁。」は全幅で2段（スマホ版と同じ組み方）が標準 ═══ */
.ph-tagline { display: table; margin-left: auto; margin-right: auto; text-align: left; }
.ph-tagline .tg-l1 { display: block; }
.ph-tagline .tg-l2 { display: block; padding-left: 4.5em; }

/* ロゴの由来の図：枠ごと白背景にして、最下段にデザインのクレジット */
.ph-logo-concept { background: #fff; border: 1px solid rgba(139,121,77,0.18); }
.ph-logo-concept img { border: none; }
.ph-logo-concept figcaption {
  text-align: right; padding: 0 clamp(14px, 2.5vw, 24px) clamp(10px, 1.6vw, 16px);
  font-family: 'Noto Serif JP', serif; font-size: 12px; letter-spacing: 0.12em; color: var(--brown-mid, #a89878);
}
.ph-logo-concept figcaption { font-family: 'Cormorant Garamond', serif; font-size: 14px; font-weight: 400; letter-spacing: 0.08em; font-style: normal; }

/* ═══ ページ下部：予約・お問い合わせ＋フッター（他のページと共通の部品 _parts/footer.php。見た目は sub.css と同じ） ═══ */
.contact {
  position: relative; overflow: hidden; isolation: isolate;
  background: #4f453b; padding: 100px clamp(24px, 6vw, 80px); text-align: center;
}
.contact > :not(.wm-soenia) { position: relative; z-index: 1; }
.contact .wm-soenia {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; user-select: none;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.contact .wm-soenia .wm-line {
  display: flex; white-space: nowrap; justify-content: flex-start;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(8.4rem, 28.8vw, 21.6rem); line-height: 1.05; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.05); transform: translateX(-4%); margin-bottom: -5%;
}
.contact .section-en {
  display: block; font-family: 'Cormorant Garamond', serif; font-style: normal; font-weight: 500;
  font-size: clamp(28px, 3.4vw, 46px); letter-spacing: 0.08em; line-height: 1.15;
  color: #d9c48f; margin-bottom: 10px;
}
.contact .section-ja {
  font-family: 'Noto Serif JP', serif; font-size: clamp(13px, 1.1vw, 15px); font-weight: 400;
  letter-spacing: 0.2em; line-height: 1.6; color: rgba(255,255,255,0.88); margin: 0 0 10px;
}
.contact .divider { width: 40px; height: 1px; background: #b09b82; margin: 16px auto 32px; }
.contact-note { font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 40px; letter-spacing: 0.1em; }
.contact-btns { display: flex; align-items: center; justify-content: center; gap: 20px; }
.contact .btn-main {
  display: inline-block; background: #b09b82; color: #fff;
  padding: 18px 52px; font-size: 0.72rem; letter-spacing: 0.3em;
  text-decoration: none; transition: background 0.22s; font-weight: 300;
}
.contact .btn-main:hover { background: #7a5c48; }
.contact .btn-outline {
  display: inline-block; border: 1px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.85);
  padding: 17px 44px; font-size: 0.72rem; letter-spacing: 0.3em;
  text-decoration: none; transition: all 0.22s; font-weight: 300;
}
.contact .btn-outline:hover { background: rgba(255,255,255,0.1); }

body > footer {
  background: #1a0e08; color: rgba(255,255,255,0.4);
  padding: 26px clamp(24px, 6vw, 80px) 22px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  gap: 8px; font-size: 12px; letter-spacing: 0.15em; font-family: 'Noto Sans JP', sans-serif;
}
body > footer .footer-brand { display: flex; flex-direction: column; align-items: center; }
body > footer .footer-logo { display: block; line-height: 0; text-decoration: none; }
body > footer .footer-logo img { display: block; width: 190px; height: auto; opacity: 0.9; }
body > footer > span { order: 3; }
body > footer .footer-area { order: 2; margin: 0; text-align: center; font-size: 12px; letter-spacing: 0.06em; line-height: 1.7; color: rgba(255,255,255,0.6); }
body > footer .area-seg { white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1019px) {
  body > footer .footer-area .area-sep-jr { display: none; }
  body > footer .footer-area .area-seg-jr { display: block; }
}
@media (max-width: 767px) {
  .contact { padding: 48px 22px; }
  .contact-note { font-size: 14px; margin-bottom: 26px; }
  .contact-btns { flex-direction: column; gap: 12px; }
  .contact .btn-main, .contact .btn-outline { width: 100%; max-width: 300px; padding: 14px 24px; font-size: 0.68rem; letter-spacing: 0.24em; }
  body > footer { padding: 28px 14px; gap: 12px; font-size: 11px; }
  body > footer .footer-logo img { width: 210px; }
  body > footer .footer-area { font-size: min(11px, calc((100vw - 32px) / 34.5)); letter-spacing: 0; }
  body > footer .footer-area .area-sep { display: none; }
  body > footer .footer-area .area-seg { display: block; }
}
/* 共通部品の細部を sub.css と揃える */
.contact, body > footer { line-height: 1.8; }
.contact .btn-main { background: #b08c72; }
body > footer { font-size: 0.66rem; }
body > footer > span { font-size: 12px; }
@media (max-width: 767px) {
  .contact .btn-main { background: #bcb089; }
  body > footer { padding: 26px 14px 22px; gap: 8px; font-size: 0.6rem; }
  body > footer > span { font-size: 11px; }
  body > footer .footer-logo img { width: 190px; }
}

/* ═══ 左上ロゴ下の「ソエニアクリニック四谷駅前泌尿器科」：狭いPC幅でも1行に収める ═══ */
.ph-logo-wrap .ph-brand-sub { font-size: min(clamp(0.62rem, 0.9vw, 0.74rem), calc(clamp(165px, 19vw, 256px) / 17.6)); white-space: nowrap; letter-spacing: 0; }

/* ═══ スマホのヘッダー：ロゴ右の日本語を2段（上：ソエニアクリニック／下：四谷駅前泌尿器科） ═══ */
.mobile-header .mobile-logo .brand-sub-2l { display: flex; flex-direction: column; justify-content: center; line-height: 1.3; white-space: nowrap; }
.mobile-header .mobile-logo .brand-sub-2l .bs-l1 { display: block; font-size: 0.6rem; font-weight: 400; letter-spacing: 0.02em; color: #5a4636; }
.mobile-header .mobile-logo .brand-sub-2l .bs-l2 { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0; color: #2b1c10; }
@media (max-width: 374px) {
  .mobile-header .mobile-logo .brand-sub-2l .bs-l1 { font-size: 0.56rem; }
  .mobile-header .mobile-logo .brand-sub-2l .bs-l2 { font-size: 0.64rem; }
}
@media (max-width: 339px) {
  .mobile-header .mobile-logo .brand-sub-2l .bs-l1 { font-size: 0.52rem; }
  .mobile-header .mobile-logo .brand-sub-2l .bs-l2 { font-size: 0.6rem; }
}

/* ═══ ロゴの解説（3つの意味）：図の代わりに文章で ═══ */
.ph-logo-points { margin: 6px 0 0; border-top: 1px solid rgba(139,121,77,0.22); }
.ph-logo-point { position: relative; padding: 22px 0 20px 56px; border-bottom: 1px solid rgba(139,121,77,0.22); }
.ph-logo-point-num {
  position: absolute; left: 0; top: 18px;
  font-family: 'Playfair Display', 'Cormorant Garamond', serif; font-style: italic; font-size: 26px; line-height: 1;
  color: #b09b82;
}
.ph-section .ph-logo-point-title {
  font-family: 'Noto Serif JP', serif; font-weight: 500; font-size: 17px; letter-spacing: 0.06em; line-height: 1.6;
  color: #4a3728; margin: 0 0 8px;
}
.ph-logo-point-tag {
  display: inline-block; margin-left: 10px; padding: 1px 10px; vertical-align: 2px;
  font-family: 'Cormorant Garamond', serif; font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  color: #8b794d; border: 1px solid rgba(139,121,77,0.45); border-radius: 999px; white-space: nowrap;
}
.ph-section .ph-logo-point p { margin: 0; }
.ph-section p.ph-logo-credit {
  margin: 14px 0 0; text-align: right;
  font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 0.08em; color: #a89878;
}
@media (max-width: 767px) {
  .ph-logo-point { padding: 18px 0 16px 40px; }
  .ph-logo-point-num { font-size: 21px; top: 15px; }
  .ph-section .ph-logo-point-title { font-size: 15px; }
  .ph-logo-point-tag { font-size: 12px; margin-left: 6px; }
}

/* ═══ ロゴ解説の前に置く、マークと英字だけのロゴ ═══ */
.ph-logo-mark { margin: 34px auto 30px; text-align: center; }
.ph-logo-mark img { display: inline-block; width: min(300px, 72%); height: auto; }
@media (max-width: 767px) { .ph-logo-mark { margin: 26px auto 22px; } .ph-logo-mark img { width: min(240px, 72%); } }

/* ロゴ（大きめ）：大きさは白抜き版と同じくらい（PC約510px）、デザインは元のゴールドのまま */
.ph-logo-mark { margin: 40px auto 36px; text-align: center; }
.ph-logo-mark img { display: inline-block; width: min(512px, 92%); height: auto; }
@media (max-width: 767px) { .ph-logo-mark { margin: 30px auto 26px; } .ph-logo-mark img { width: min(316px, 92%); } }

/* ═══ インスタのリンク：スマホのメニューのボタン、フッターの小さなリンク ═══ */
.sidebar-btn.ig { background: #6b1a2a; }
footer .footer-brand { gap: 10px; }
footer .footer-sns {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 0.08em; font-family: 'Noto Sans JP', sans-serif;
  transition: color .2s ease;
}
footer .footer-sns svg { width: 18px; height: 18px; }
footer .footer-sns:hover { color: #fff; }

/* ═══ スマホのヘッダー：メニューボタンの左にインスタボタン。並べるぶん、ロゴを少し小さく ═══ */
.mobile-header .mh-right { display: flex; align-items: stretch; flex: none; }
.mobile-header .mobile-ig {
  width: 44px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: #6b1a2a; color: #fff; text-decoration: none; transition: opacity .2s;
}
.mobile-header .mobile-ig:hover { opacity: 0.85; }
.mobile-header .mobile-ig svg { width: 20px; height: 20px; }
.mobile-header .mobile-ig-label { font-family: 'Noto Sans JP', sans-serif; font-weight: 500; font-size: 0.5rem; letter-spacing: 0.1em; line-height: 1; }
.mobile-header .mh-right .hamburger { width: 50px; }
.mobile-header .brand-logo, .mobile-header .ph-brand-logo { height: 27px; }
@media (max-width: 389px) { .mobile-header .brand-logo, .mobile-header .ph-brand-logo { height: 25px; } }
@media (max-width: 374px) { .mobile-header .brand-logo, .mobile-header .ph-brand-logo { height: 23px; } }
@media (max-width: 359px) { .mobile-header .brand-logo, .mobile-header .ph-brand-logo { height: 21px; } }
@media (max-width: 339px) { .mobile-header .brand-logo, .mobile-header .ph-brand-logo { height: 18px; } .mobile-header { padding-left: 12px; } }
@media (min-width: 410px) and (max-width: 767px) { .mobile-header .brand-logo, .mobile-header .ph-brand-logo { height: 32px; } }

/* ═══ メニュー整理：医院案内（想い・院長・女性医師・アクセス）／診療案内（総合＋専門分野） ═══ */
.nav-drop-menu .nav-drop-head {
  display: block; padding: 8px 22px 4px; font-size: 11px; letter-spacing: 0.2em;
  color: rgba(217,196,143,0.95); font-family: 'Noto Sans JP', sans-serif; white-space: nowrap;
}
/* スマホのメニュー：親項目の下に子項目（少し小さく、字下げ） */
.sidebar-nav a.sidebar-parent { border-bottom: none; padding-bottom: 8px; }
.sidebar-nav .sidebar-sub { padding: 0 0 10px; border-bottom: 1px solid rgba(176,140,114,0.08); }
.sidebar-nav .sidebar-sub a {
  display: block; padding: 7px 24px 7px 54px; font-size: 0.74rem; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.68); border-bottom: none; position: relative;
}
.sidebar-nav .sidebar-sub a::before { content: ''; position: absolute; left: 40px; top: 50%; width: 6px; height: 1px; background: rgba(255,255,255,0.35); }
.sidebar-nav .sidebar-sub a:hover { color: #fff; background: rgba(255,255,255,0.05); }
/* スマホのヘッダーのインスタボタン：マークのみ */
.mobile-header .mobile-ig svg { width: 22px; height: 22px; }

/* ═══ ロゴ誕生アニメーション：最後に実際のロゴの「Soeniá」へ ／ 解説の前はマークのみ ═══ */
.ph-logo-anime .la-word { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .ph-logo-anime .la-brand { opacity: 0 !important; }
  .ph-logo-anime .la-word { opacity: 1 !important; }
}
.ph-logo-mark img { width: min(210px, 50%); }
@media (max-width: 767px) { .ph-logo-mark img { width: min(160px, 45%); } }

/* ═══ ロゴ解説 03：七宝紋の図（右に添える） ═══ */
.ph-logo-point-fig { float: right; width: 112px; margin: 4px 0 8px 22px; text-align: center; }
.ph-logo-point-fig .ph-shippo { display: block; width: 100%; height: auto; }
.ph-logo-point-fig figcaption { margin-top: 6px; font-family: 'Noto Serif JP', serif; font-size: 11px; letter-spacing: 0.2em; color: #a89878; }
.ph-logo-point::after { content: ''; display: block; clear: both; }
@media (max-width: 767px) { .ph-logo-point-fig { width: 84px; margin-left: 14px; } }

/* ═══ Related Pages：ほかのページ（.sv-rel）と同じ余白・帯の色に（下の「予約・お問い合わせ」とくっつかないように） ═══ */
.ph-rel { background: #faf7f2; padding: 64px 22px; margin: 0; }
.ph-rel .ph-chips { margin: 12px 0 0; }
@media (max-width: 767px) { .ph-rel { padding: 44px 22px; } }

/* ═══ フッター：プライバシーポリシーへのリンク（著作権表示の上） ═══ */
footer .footer-privacy { order: 3; color: rgba(255,255,255,0.6); font-size: 12px; letter-spacing: 0.08em; text-decoration: none; }
footer .footer-privacy:hover { color: #fff; text-decoration: underline; }
footer > span { order: 4; }

/* スマホのメニュー：いちばん下に小さく「プライバシーポリシー」 */
.sidebar .sidebar-privacy { display: block; flex-shrink: 0; padding: 0 24px 26px; text-align: center; font-size: 0.66rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); text-decoration: none; }
.sidebar .sidebar-privacy:hover { color: #fff; text-decoration: underline; }
