/* MEN'S ECLAT shared styles — scoped under .mens */
.mens {
  /* 変数名は旧デザイン（紺・金）のまま。値は 2026-10-21 の清涼感デザイン（白・氷の水色）。 */
  --navy: #12364d; /* 濃い青 */
  --navy-deep: #0b2638;
  --navy-ink: #17384d; /* 見出し。白地で12.3:1 */
  --gold: #5bb8dc; /* アクセントの水色。罫線・番号・飾り（文字には使わない） */
  --gold-soft: #cdeaf6;
  --gold-ink: #1b6f95; /* 英字ラベル・強調文字。白地で5.6:1 */
  --white: #ffffff;
  --offwhite: #f2f8fb;
  --ice: #e4f2f9;
  --ink: #23323d;
  --muted: #566874;
  --line: #d5e6ee;
  --cta-web: #c27a2c; /* 院の標準ボタン（eclat-cta-buttons、2026-10-10 院長決定） */
  --cta-web-shadow: #8e5519;
  --cta-line: #06a64a;
  --cta-line-shadow: #04793a;
  --check-mark: #fff3b0;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
  --latin: "Montserrat", sans-serif;
  --max: 1120px;
  --text-max: 720px;
  --side: 20px;
  --cta-height: 56px;
  --sticky-height: 76px;
  margin: 0;
  padding: 0 0 calc(var(--sticky-height) + env(safe-area-inset-bottom));
  color: var(--ink);
  background: var(--offwhite);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}

.mens *,
.mens *::before,
.mens *::after {
  box-sizing: border-box;
}

.mens :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
  margin: 0;
}

.mens :where(ul, ol) {
  padding: 0;
}

.mens img {
  display: block;
  width: 100%;
  height: auto;
}

.mens a {
  color: inherit;
}

.mens a:focus-visible,
.mens summary:focus-visible {
  outline: 3px solid var(--gold-ink);
  outline-offset: 3px;
}

.mens section[data-section] {
  position: relative;
  padding: clamp(56px, 9vw, 104px) 0;
}

.mens .wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--side);
}

.mens .text {
  max-width: var(--text-max);
}

.mens .text--center {
  margin-inline: auto;
  text-align: center;
}

.mens h1,
.mens h2,
.mens h3 {
  color: var(--navy-ink);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.mens h1 {
  font-size: clamp(34px, 9vw, 56px);
}

.mens h2 {
  margin-top: 8px;
  font-size: clamp(28px, 7vw, 40px);
}

.mens h3 {
  font-size: clamp(19px, 5vw, 24px);
  font-weight: 700;
}

.mens .en {
  color: var(--gold-ink);
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.mens .lead {
  margin-top: 22px;
  font-size: clamp(16px, 4vw, 19px);
  font-weight: 500;
  line-height: 1.9;
}

.mens .statement {
  margin-top: 12px;
  color: var(--navy-ink);
  font-family: var(--serif);
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.05em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.mens .section-head {
  margin-bottom: clamp(28px, 6vw, 48px);
}

.mens .section-head .lead {
  max-width: var(--text-max);
}

.mens .grid {
  display: grid;
  gap: 18px;
}

.mens .grid + .text {
  margin-top: 36px;
}

.mens .grid--2,
.mens .grid--3,
.mens .grid--5 {
  grid-template-columns: 1fr;
}

.mens .card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(23, 56, 77, 0.07);
}

.mens .card__media {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.mens .card__body {
  padding: 22px;
}

.mens .card__body > * + * {
  margin-top: 10px;
}

.mens .treat {
  /* 治療カード。見た目は .card が担い、.treat は契約上の識別子。 */
  min-width: 0;
}

.mens .treat__en {
  color: var(--gold-ink);
}

.mens .hero .en,
.mens section[data-section="final-cta"] .en {
  color: var(--gold-ink);
}

.mens .treat__name {
  color: var(--navy-ink);
}

.mens .treat__role {
  color: var(--muted);
}

.mens .slot[data-slot] {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px dashed var(--gold);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(91, 184, 220, 0.08), transparent 45%),
    repeating-linear-gradient(135deg, #f4f9fc 0 12px, #e9f3f8 12px 24px);
  color: var(--muted);
  text-align: center;
}

.mens .slot[data-slot] > span {
  display: block;
  max-width: 24em;
  padding: 16px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
}

/* 画像が入った枠: 破線と縞を消し、枠いっぱいに表示（「イメージ画像」の表記は2026-10-28 院長指示で廃止） */
.mens .slot.slot--filled[data-slot] {
  display: block;
  border: 0;
  background: var(--ice);
}

.mens .slot--filled picture,
.mens .slot--filled img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ロゴ未支給の間は、枠を見せずテキストロゴとして表示 */
.mens .slot.slot--logo[data-slot] {
  justify-content: flex-start;
  border: 0;
  background: transparent;
}

.mens .slot.slot--logo[data-slot] > span {
  padding: 6px 0;
  color: var(--navy-ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.26em;
}

.mens .slot.slot--filled[data-slot] > .slot__caption {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 2;
  max-width: none;
  padding: 2px 6px;
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(23, 56, 77, 0.45);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.mens .hero__media.slot.slot--filled[data-slot],
.mens .hero__media.slot--filled + .hero__overlay {
  /* 写真と暗幕はヒーロー全面に敷く（枠の縦横比指定を解除） */
  position: absolute;
  inset: 0;
  grid-area: auto; /* グリッドのトラックではなくヒーロー全体を基準にする */
  width: auto;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
}

.mens .hero__media.slot.slot--filled[data-slot] > .slot__caption {
  top: 8px;
  bottom: auto;
}

.mens .hero__media.slot--filled img {
  position: absolute;
  inset: 0;
  object-position: 70% 20%;
}

.mens .hero__media.slot--filled .slot__caption {
  top: 8px;
  bottom: auto;
}

/* 写真入りヒーロー: スマホは下側を暗くして見出しを読ませる（顔は隠さない） */
.mens .hero__media.slot--filled + .hero__overlay {
  background: linear-gradient(180deg, rgba(244, 249, 252, 0) 0%, rgba(244, 249, 252, 0) 44%, rgba(244, 249, 252, 0.86) 64%, rgba(244, 249, 252, 0.97) 100%);
}

@media (min-width: 768px) {
  .mens .hero__media.slot--filled + .hero__overlay {
    background: linear-gradient(90deg, rgba(244, 249, 252, 0.94) 0%, rgba(244, 249, 252, 0.78) 38%, rgba(244, 249, 252, 0) 62%, rgba(244, 249, 252, 0) 100%);
  }

  .mens .hero__media.slot--filled img {
    object-position: 80% 25%;
  }
}

.mens .slot--hero {
  aspect-ratio: 3 / 4;
}

.mens .slot--treat,
.mens .slot--clinic {
  aspect-ratio: 4 / 3;
}

.mens .slot--case {
  aspect-ratio: 1 / 1;
}

.mens .slot--doctor {
  aspect-ratio: 4 / 5;
}

.mens .slot--logo {
  width: auto;
  min-width: 170px;
  min-height: 42px;
  border-color: transparent;
  background: transparent;
  color: var(--navy-ink);
}

.mens .slot--logo > span {
  padding: 8px 12px;
  font-family: var(--latin);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.mens .site-header {
  padding: 14px 0;
  color: var(--navy-ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.mens .site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.mens .site-nav {
  grid-column: 1 / -1;
}

.mens .site-nav ul {
  display: flex;
  gap: 8px 18px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}

.mens .site-nav a {
  display: block;
  padding-block: 6px;
  color: var(--navy-ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.mens .site-nav a:hover {
  color: var(--gold-ink);
}

.mens section[data-section="header"] {
  z-index: 20;
  padding: 0;
  background: var(--white);
}

.mens .header-cta {
  display: none; /* スマホは下部固定CTAに集約。768px以上で表示 */
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--cta-web);
  box-shadow: 0 3px 0 var(--cta-web-shadow);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.mens .hero {
  display: grid;
  min-height: min(820px, calc(100svh - 70px));
  padding: 0;
  isolation: isolate;
  color: var(--ink);
  background: var(--offwhite);
}

.mens .hero__media,
.mens .hero__overlay,
.mens .hero__body {
  grid-area: 1 / 1;
}

.mens .hero__media {
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(145deg, #ffffff 0%, var(--ice) 55%, #d3eaf5 100%);
}

.mens .hero__media > span {
  color: var(--muted);
}

.mens .hero__overlay {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 249, 252, 0.9) 0%, rgba(244, 249, 252, 0.6) 55%, rgba(244, 249, 252, 0.1) 100%);
}

.mens .hero__body {
  z-index: 2;
  align-self: end;
  padding-top: 96px;
  padding-bottom: 58px;
}

.mens .hero h1,
.mens .hero h2,
.mens .hero h3 {
  color: var(--navy-ink);
}

.mens .hero .lead {
  color: var(--ink);
}

.mens .hero .text {
  max-width: 760px;
}

.mens .hero__label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding-inline: 14px;
  color: var(--gold-ink);
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--serif);
  font-weight: 700;
}

.mens section[data-section="brand-statement"] .hero__label {
  border-color: var(--gold);
  color: var(--gold-ink);
  margin-bottom: 4px;
}

.mens section[data-section="brand-statement"] .statement + .lead {
  margin-top: 14px;
}

.mens section[data-section="brand-statement"] .lead + p {
  margin-top: 10px;
}

.mens .hero--compact {
  min-height: 500px;
}

.mens .hero--compact .hero__body {
  align-self: center;
}

.mens .cta-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 26px;
}

/* 予約ボタンは院の標準型（eclat-cta-buttons）。高さ66px・19px太字・白い矢印・下に影。LINEとWEBは同じ大きさ */
.mens .btn {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 16px 44px 16px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}

.mens .btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 10px;
  height: 10px;
  border: solid var(--white);
  border-width: 3px 3px 0 0;
  border-radius: 0;
  transform: translateY(-50%) rotate(45deg);
}

.mens .btn--line {
  color: var(--white);
  background: var(--cta-line);
  box-shadow: 0 4px 0 var(--cta-line-shadow), 0 10px 20px rgba(4, 121, 58, 0.25);
}

.mens .btn--web {
  color: var(--white);
  background: var(--cta-web);
  box-shadow: 0 4px 0 var(--cta-web-shadow), 0 10px 20px rgba(120, 72, 20, 0.22);
}

.mens .btn--line:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--cta-line-shadow), 0 4px 10px rgba(4, 121, 58, 0.2);
}

.mens .btn--web:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--cta-web-shadow), 0 4px 10px rgba(120, 72, 20, 0.2);
}

.mens .btn--outline {
  border-color: var(--gold-ink);
  color: var(--gold-ink);
  background: transparent;
}

.mens .btn--outline::after {
  border-color: var(--gold-ink);
}

.mens .btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.mens .sticky-cta {
  display: grid;
  position: fixed !important;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-height: calc(var(--sticky-height) + env(safe-area-inset-bottom));
  padding: 10px max(10px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)) !important;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 28px rgba(23, 56, 77, 0.12);
}

/* スマホ下の固定バーは標準色の小さめの丸ボタン（院長 2026-10-17）。矢印なし */
.mens .sticky-cta .btn {
  min-width: 0;
  min-height: 46px;
  padding: 8px 10px;
  font-size: clamp(14px, 4.2vw, 17px);
  white-space: nowrap;
}

.mens .sticky-cta .btn::after {
  content: none;
}

.mens .concerns {
  display: grid;
  gap: 0;
  max-width: var(--text-max);
  margin-top: 26px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.mens .concerns li {
  position: relative;
  padding: 18px 12px 18px 42px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-family: var(--serif);
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 700;
}

.mens .concerns li::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 14px;
  color: var(--gold);
  font-family: var(--sans);
}

.mens .flow {
  display: grid;
  gap: 0;
  margin-top: 26px;
  list-style: none;
  counter-reset: flow;
}

.mens .flow li {
  position: relative;
  counter-increment: flow;
  padding: 0 0 28px 58px;
}

.mens .flow li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--latin);
  font-size: 13px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
}

.mens .flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 43px;
  bottom: 0;
  left: 21px;
  width: 1px;
  background: var(--gold);
}

.mens .flow strong {
  display: block;
  color: var(--navy-ink);
  font-family: var(--serif);
  font-size: 18px;
}

/* ---- 親ページの2つの入口（pillars） ---- */
.mens .pillar {
  display: grid;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(23, 56, 77, 0.08);
  text-decoration: none;
}

.mens .pillar:first-of-type {
  margin-top: 0;
}

.mens .pillar__media {
  border: 0;
  border-radius: 0;
  aspect-ratio: 16 / 10;
}

.mens .pillar__body {
  padding: 26px 22px 28px;
}

.mens .pillar__body > * + * {
  margin-top: 12px;
}

.mens .pillar__body h3 {
  font-size: clamp(26px, 7vw, 36px);
  line-height: 1.3;
}

.mens .pillar__catch {
  font-family: var(--serif);
  font-size: clamp(19px, 5vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy-ink);
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

.mens .pillar__body .lead {
  margin-top: 10px;
}

.mens .pillar__body .hero__label {
  border-color: var(--gold);
  color: var(--gold-ink);
  margin-bottom: 0;
}

.mens .pillar__catch--sub {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: clamp(17px, 4.6vw, 21px);
}

.mens .pillar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.mens .pillar__tags li {
  padding: 4px 10px;
  border: 1px solid var(--gold);
  color: var(--gold-ink);
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.mens .pillar__sub {
  font-size: 14px;
  color: var(--muted);
}

.mens .pillar__sub strong {
  display: block;
  color: var(--navy-ink);
  font-family: var(--serif);
  font-size: 16px;
}

.mens .pillar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 20px;
  border: 1px solid var(--navy-ink);
  color: var(--navy-ink);
  font-weight: 900;
}

.mens .pillar__link::after {
  content: "›";
  font-size: 20px;
  font-weight: 400;
}

.mens .pillar:hover .pillar__link {
  background: var(--navy-ink);
  color: var(--white);
}

.mens section[data-section="pillars"] {
  background: var(--offwhite);
}

.mens section[data-section="pillars"] .notice-box {
  margin-top: 28px;
}

.mens .text-link--light {
  color: var(--white);
}

.mens .reasons {
  display: grid;
  gap: 16px;
  list-style: none;
  counter-reset: none;
}

.mens .reasons__item {
  position: relative;
  padding: 26px 22px 24px 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: var(--white);
}

.mens .reasons__num {
  color: var(--gold-ink);
  font-size: 13px;
  letter-spacing: 0.3em;
}

.mens .reasons__item h3,
.mens section[data-section="why-eclat"] h2 {
  /* 日本語の通常改行（禁則処理あり）。keep-all＋anywhere だと語中改行や句点の孤立が起きる */
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}

.mens .reasons__worry {
  position: relative;
  margin-top: 10px;
  padding: 10px 12px 10px 58px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  background: var(--offwhite);
  font-size: 13.5px;
  line-height: 1.7;
}

.mens .reasons__worry > span {
  position: absolute;
  top: 11px;
  left: 12px;
  padding: 1px 7px;
  color: var(--white);
  background: var(--navy-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.mens .reasons__worry + h3 {
  margin-top: 14px;
}

.mens .reasons__worry + h3::before {
  content: "→ メンズエクラの答え";
  display: block;
  margin-bottom: 4px;
  color: var(--gold-ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mens .reasons__item .text-link {
  margin-top: 12px;
}

.mens .nb {
  /* 文節単位で折り返すためのまとまり */
  display: inline-block;
}

.mens .reasons__item h3 {
  margin-top: 8px;
  font-size: clamp(19px, 5vw, 24px);
  line-height: 1.45;
}

.mens .reasons__item p:not(.reasons__num) {
  margin-top: 12px;
}

.mens section[data-section="why-eclat"] {
  background: var(--offwhite);
}

.mens .price-scroll {
  max-width: 100%;
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.mens .price {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}

.mens .price td[data-price-field="price_regular_jpy"],
.mens .price td[data-price-field="price_line_jpy"] {
  white-space: nowrap;
}

.mens .price caption {
  padding: 16px;
  color: var(--navy-ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

.mens .price th,
.mens .price td {
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  text-align: right;
  vertical-align: middle;
}

.mens .price th {
  color: var(--navy-ink);
  background: var(--ice);
  font-size: 12px;
  white-space: nowrap;
}

.mens .price th:first-child,
.mens .price td:first-child {
  width: 48%;
  text-align: left;
}

.mens .price__row [data-price-field="price_line_jpy"] {
  color: var(--navy-ink);
  background: rgba(91, 184, 220, 0.14);
  font-weight: 900;
}

.mens .offer-price {
  margin-top: 26px;
  padding: clamp(22px, 5vw, 36px);
  border: 1px solid var(--gold);
  background: var(--white);
  text-align: center;
}

.mens .offer-price__group {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mens .offer-price__name {
  color: var(--navy-ink);
  font-family: var(--serif);
  font-size: clamp(19px, 5vw, 25px);
  font-weight: 700;
}

.mens .offer-price__pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.mens .offer-price__pair > div {
  min-width: 0;
}

.mens .offer-price__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.mens .offer-price__value {
  color: var(--navy-ink);
  font-family: var(--serif);
  font-size: clamp(20px, 6vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.mens .offer-price__arrow {
  color: var(--gold);
  font-size: 22px;
}

.mens .note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.mens .chk {
  display: inline;
  padding: 2px 5px;
  border-radius: 2px;
  color: var(--navy-ink);
  background: var(--check-mark);
  font-weight: 700;
}

.mens details.faq {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mens details.faq:last-of-type {
  border-bottom: 1px solid var(--line);
}

.mens details.faq > summary {
  position: relative;
  padding: 18px 48px 18px 46px;
  color: var(--navy-ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.mens details.faq > summary::-webkit-details-marker {
  display: none;
}

.mens details.faq > summary::before {
  content: "Q";
  position: absolute;
  top: 15px;
  left: 16px;
  color: var(--gold);
  font-family: var(--latin);
  font-size: 20px;
}

.mens details.faq > summary::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 16px;
  color: var(--gold);
  font-size: 26px;
  font-weight: 400;
}

.mens details.faq[open] > summary::after {
  content: "−";
}

.mens .faq__answer {
  padding: 0 20px 20px 46px;
  color: var(--muted);
}

.mens .menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.mens .menu-link {
  display: flex;
  position: relative;
  align-items: center;
  min-height: 72px;
  padding: 14px 34px 14px 14px;
  border: 1px solid var(--line);
  color: var(--navy-ink);
  background: var(--white);
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.mens .menu-link::after {
  content: "↗";
  position: absolute;
  right: 12px;
  color: var(--gold);
  font-family: var(--sans);
}

.mens .menu-link--internal::after {
  content: "›";
}

.mens .menu-category + .menu-category {
  margin-top: 48px;
}

.mens .menu-category > .en + h2,
.mens .menu-category > .en + h3 {
  margin-top: 8px;
}

.mens .treatment-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 24px;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.mens .treatment-list a {
  display: flex;
  position: relative;
  align-items: center;
  min-height: 58px;
  padding: 12px 38px 12px 16px;
  color: var(--navy-ink);
  background: var(--white);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.mens .treatment-list a::after {
  content: "↗";
  position: absolute;
  right: 16px;
  color: var(--gold);
}

.mens .notice-box {
  margin-top: 30px;
  padding: 20px;
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.mens .notice-box h3 {
  font-size: 18px;
}

.mens .notice-box p + p {
  margin-top: 8px;
}

.mens .profile {
  display: grid;
  gap: 24px;
}

.mens .profile__copy {
  align-self: center;
}

.mens .profile__name {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 700;
}

.mens .profile__name small {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.mens .clinic-grid {
  display: grid;
  gap: 18px;
}

.mens .clinic-info {
  padding: 22px;
  background: var(--white);
}

.mens .clinic-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
}

.mens .clinic-info dt {
  color: var(--navy-ink);
  font-weight: 700;
}

.mens .clinic-info dd {
  min-width: 0;
}

.mens .text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--navy-ink);
  font-weight: 900;
  text-underline-offset: 4px;
}

.mens section[data-section="brand-statement"],
.mens section[data-section="front-offer"],
.mens section[data-section="doctor"],
.mens section[data-section="faq"] {
  background: var(--white);
}

.mens section[data-section="concerns"],
.mens section[data-section="cases"],
.mens section[data-section="price"],
.mens section[data-section="menu"] {
  background: var(--offwhite);
}

.mens section[data-section="program"],
.mens section[data-section="subcision"] {
  background: var(--ice);
}

.mens section[data-section="final-cta"] {
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.95), transparent 40%),
    linear-gradient(160deg, #d6ecf6 0%, var(--ice) 45%, #f7fbfd 100%);
}

.mens .final-cta__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.mens .text > .btn {
  margin-top: 26px;
}

.mens .case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.mens .case-card {
  padding: 12px;
  background: var(--white);
}

.mens .case-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

@media (min-width: 540px) {
  .mens .cta-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mens .case-grid,
  .mens .grid--2,
  .mens .treatment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .mens {
    padding-bottom: 0;
  }

  .mens .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .mens .header-cta {
    display: inline-flex;
  }

  .mens .site-nav {
    grid-column: auto;
    justify-self: end;
  }

  .mens .site-nav ul {
    overflow: visible;
  }

  .mens .hero {
    min-height: 650px;
  }

  .mens .slot--hero {
    aspect-ratio: 2 / 1;
  }

  .mens .hero__body {
    align-self: center;
  }

  .mens .grid--2,
  .mens .profile,
  .mens .clinic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mens .grid--3,
  .mens .case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mens .reasons {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .mens .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mens .pillar {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .mens .pillar__media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .mens .pillar__body {
    padding: 40px 40px 44px;
  }

  .mens .sticky-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mens .grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mens .treatment-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mens .concerns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 1px solid var(--line);
  }

  .mens .concerns li:nth-child(odd) {
    border-left: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mens *,
  .mens *::before,
  .mens *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* hidden属性はレイアウト指定より優先（症例枠など、素材が届くまで隠す要素） */
.mens [hidden] {
  display: none !important;
}

/* 症例（BEFORE / AFTER）。横並びの1枚をそのまま小さめに置き、詳細はタブで切り替える（2026-10-28 院長「デカすぎ」「横並びでいい」「タブにして」） */
.mens .case-feature {
  background: var(--ice);
  color: var(--ink);
}

.mens .case-ba {
  max-width: 600px;
  margin: 0 auto;
  border: 0;
  background: transparent;
  aspect-ratio: auto;
  min-height: 0;
}

.mens .case-ba img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 症例はBEFOREの下にAFTERを縦に並べる（横並びの1枚をCSSで左右に切り出す。画像ファイルは加工しない）。
   元画像（1012×370）の BEFORE は x20〜482（中央の「>>」の手前まで）、AFTER は x517〜979（AFTERの文字を欠かさない）を同じ幅で見せる */
.mens .case-ba__split {
  display: grid;
  gap: 8px;
}

.mens .case-ba__half {
  position: relative;
  overflow: hidden;
  aspect-ratio: 462 / 370;
  border-radius: 6px;
}

.mens .case-ba .case-ba__half img {
  position: absolute;
  top: 0;
  width: 219.05%;
  max-width: none;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.mens .case-ba__half--before img {
  left: -4.33%;
}

.mens .case-ba__half--after img {
  left: -111.91%;
}

/* 「詳細を見る」を押すとタブが開く */
.mens .case-more {
  max-width: 600px;
  margin: 12px auto 0;
}

.mens .case-more__toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 auto;
  padding: 8px 18px;
  border: 1px solid var(--gold-ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--gold-ink);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.mens .case-more__toggle::-webkit-details-marker {
  display: none;
}

.mens .case-more__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.mens .case-more[open] .case-more__toggle::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.mens .case-more__close,
.mens .case-more[open] .case-more__open {
  display: none;
}

.mens .case-more[open] .case-more__close {
  display: inline;
}

.mens .case-tabs {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 12px auto 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}

.mens .case-tabs__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mens .case-tabs__tab {
  flex: 1 1 0;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.mens .case-tabs__tab + .case-tabs__radio + .case-tabs__tab {
  border-left: 1px solid var(--line);
}

.mens .case-tabs__radio:checked + .case-tabs__tab {
  border-bottom-color: var(--white);
  box-shadow: inset 0 3px 0 var(--gold-ink);
  color: var(--navy-ink);
}

.mens .case-tabs__radio:focus-visible + .case-tabs__tab {
  outline: 3px solid var(--gold-ink);
  outline-offset: -3px;
}

.mens .case-tabs__panel {
  display: none;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
}

.mens #case-1-tab-1:checked ~ .case-tabs__panel--1,
.mens #case-1-tab-2:checked ~ .case-tabs__panel--2,
.mens #case-1-tab-3:checked ~ .case-tabs__panel--3 {
  display: grid;
}

.mens .case-tabs__panel dt {
  color: var(--gold-ink);
  font-weight: 700;
  white-space: nowrap;
}

.mens .case-tabs__panel dd {
  margin: 0;
}

@media (max-width: 480px) {
  .mens .case-tabs__panel {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .mens .case-tabs__panel dd + dt {
    margin-top: 8px;
  }
}

/* ---- 2026-10-21 ニキビ・ニキビ跡に特化した作り替えで足した部品 ---- */
.mens .hero__offer {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--navy-ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.mens .hero__offer strong {
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}

.mens .hero__offer small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.mens .pillar__link {
  border-radius: 999px;
}

.mens .flow__tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 10px;
  border-radius: 999px;
  color: var(--gold-ink);
  background: var(--ice);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}

.mens section[data-section="journey"] {
  background: var(--white);
}

.mens section[data-section="future"] {
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.9), transparent 45%),
    linear-gradient(170deg, var(--ice) 0%, #f7fbfd 100%);
}

.mens .future {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto 28px;
  list-style: none;
}

.mens .future li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy-ink);
  background: rgba(255, 255, 255, 0.85);
  font-family: var(--serif);
  font-size: clamp(19px, 5vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.mens .future__num {
  color: var(--gold-ink);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.mens .price-scroll + .price-scroll {
  margin-top: 18px;
}

@media (min-width: 768px) {
  .mens .future {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mens .future li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.mens section[data-section="acne-types"],
.mens section[data-section="flow"],
.mens section[data-section="page-head"] {
  background: var(--white);
}

.mens section[data-section="next-program"] {
  background: var(--offwhite);
}

.mens section[data-section="page-head"] {
  padding-bottom: clamp(32px, 6vw, 56px);
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.95), transparent 45%),
    linear-gradient(170deg, var(--ice) 0%, #ffffff 100%);
}

.mens .price-group + .price-group {
  margin-top: clamp(40px, 7vw, 64px);
}

/* 枠の角丸は単独の画像枠だけ。全面ヒーロー・カード内の画像は角丸にしない */
.mens .hero__media.slot[data-slot],
.mens .card__media.slot[data-slot],
.mens .pillar__media.slot[data-slot] {
  border-radius: 0;
}

/* スマホのヒーロー：写真を上、文字を下に分けて、見出しが顔に重ならないようにする（2026-10-21） */
@media (max-width: 767px) {
  .mens .hero {
    display: block;
    min-height: 0;
  }

  .mens .hero__media.slot.slot--filled[data-slot] {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .mens .hero__media.slot.slot--filled[data-slot="hero-top"] {
    aspect-ratio: 1 / 1;
  }

  .mens .hero__media.slot--filled img {
    object-position: 78% 30%;
  }

  .mens .hero__media.slot--filled[data-slot="hero-top"] img {
    object-position: 50% 6%;
  }

  .mens .hero__media.slot--filled::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 22%;
    background: linear-gradient(180deg, rgba(242, 248, 251, 0), var(--offwhite));
    pointer-events: none;
  }

  .mens .hero__media.slot--filled + .hero__overlay {
    display: none;
  }

  .mens .hero__body {
    padding-top: 8px;
    padding-bottom: 44px;
  }
}

@media (max-width: 767px) {
  .mens section.hero[data-section] {
    padding: 0;
  }

  .mens .pillar__body h3 {
    font-size: clamp(22px, 6vw, 36px);
  }
}

.mens .hero .lead + p {
  margin-top: 10px;
}

@media (min-width: 768px) {
  /* 写真の人物は右側。文字は左の白いぼかしの中に収める */
  .mens .hero .text {
    max-width: 660px;
  }
}

.mens .text > .lead + p {
  margin-top: 10px;
}
