@import "section-bg.generated.css";

/* ========================================
   Base / Variables
======================================== */
:root {
  --main-color: #b2c141;
  --main-color-deep: #919d39;
  --main-color-dark: #778227;
  --sub-color: #5e3f1d;
  --accent-orange: #f58220;
  --accent-yellow: #f58220;
  --accent-yellow-2: #b2c141;
  --accent-gold: #d3bc6f;
  --accent-faq: #d8a977;
  --text-color: #5e3f1d;
  --text-dark: #5e3f1d;
  --text-muted: #616060;
  --bg-light: #f4efe8;
  --bg-soft: #f4efe8;
  --bg-faq: #f2efe9;
  --bg-access: #fffdf5;
  --canvas-bg: #e5dfd4;
  --white: #ffffff;
  --max-width-container: 2000px;
  --max-width-frame: 1512px;
  --max-width-inner: 1200px;
  --max-width-narrow: 1040px;
  --font-sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-display: "Zen Maru Gothic", var(--font-sans);
  --font-en: "Barlow Condensed", sans-serif;
  --font-num: "Outfit", sans-serif;
  --font-cta-num: "Urbanist", var(--font-num);
  --bp-sp: 798px;

  /* SP 共通スケール（max-width: 798px で上書き） */
  --sp-space-xs: 10px;
  --sp-space-sm: 20px;
  --sp-space-md: 30px;
  --sp-space-lg: 40px;
  --sp-space-xl: 60px;
  --fs-h2: clamp(24px, 3.2vw, 36px);
  --sp-fs-title: 26px;
  --sp-fs-sub: 20px;
  --sp-fs-body: 15px;
  --sp-fs-body-lg: 16px;
  --sp-fs-caption: 13px;
  --sp-fs-note: 12px;
  --sp-fs-watermark: 64px;
  --sp-fs-en: 36px;
  --sp-fs-deco-num: clamp(52px, 14vw, 72px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-color);
  background: var(--canvas-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
dt {
  margin: 0;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  color: inherit;
}

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

.u-br-480 {
  display: none;
}

/* SP（798px以下）でのみ改行 */
.u-br-sp {
  display: none;
}

@media (max-width: 798px) {
  .u-br-sp {
    display: block;
  }
}

/* PC（799px以上）でのみ改行 */
.u-br-pc {
  display: none;
}

@media (min-width: 799px) {
  .u-br-pc {
    display: block;
  }
}

/* 1001px以上でのみ改行（1000px以下は改行なし） */
.u-br-min-1001 {
  display: none;
}

@media (min-width: 1001px) {
  .u-br-min-1001 {
    display: block;
  }
}

.wrapper {
  max-width: var(--max-width-container);
  margin: 0 auto;
  width: 100%;
  overflow-x: clip;
  background: var(--white);
}

.wrap {
  max-width: var(--max-width-inner);
  margin: 0 auto;
  width: 100%;
  padding-inline: 20px;
}

/* ========================================
   Header（上部固定追従）
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding-bottom 0.25s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 1px 0 rgba(94, 63, 29, 0.06);
  padding-bottom: 10px;
}

.header_logo,
.header_brand,
.header_actions {
  pointer-events: auto;
}

.header_brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header_logo {
  display: block;
  flex-shrink: 0;
  width: 140px;
  padding: 3px;
  background: var(--white);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  line-height: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.header_logo:focus {
  outline: none;
}

.header_logo:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

.header_logo:active {
  opacity: 0.92;
}

.header_logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.header_clinic {
  display: block;
  flex-shrink: 1;
  min-width: 0;
  padding-left: 20px;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.header_clinic img {
  display: block;
  width: min(353px, 28vw);
  height: auto;
}

.header_actions {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  border-radius: 0 0 0 20px;
  overflow: hidden;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.header_tel,
.header_web {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  box-sizing: border-box;
  transition: filter 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.header_tel {
  position: relative;
  align-items: flex-start;
  flex: 0 0 auto;
  width: 424px;
  padding: 20px 20px 20px 78px;
  background: var(--white);
  color: var(--text-color);
}

.header_web {
  position: relative;
  overflow: hidden;
  align-items: center;
  flex: 0 0 auto;
  width: 297px;
  padding: 20px 8px;
  background: linear-gradient(180deg, #b2c141 0%, #9cb812 100%);
  color: var(--white);
}

.header_tel_icon {
  position: absolute;
  left: 42px;
  top: 56px;
  display: block;
  width: 32px;
  height: auto;
  pointer-events: none;
}

.header_tel_label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-color);
  white-space: nowrap;
}

.header_web_label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
}

.header_tel_num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-color);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header_web_num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}

.header_web_num img {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

/* ========================================
   Main
======================================== */
.main {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

/* ========================================
   Common components
======================================== */
.sec_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  position: relative;
}

.sec_head_en,
.sec_head_ja{
  position: relative;
  z-index: 1;
}

.sec_head_en_wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* watermark: 位置は各セクションで指定。中央寄せは en_wrap 内のみ */
.sec_head_watermark {
  position: absolute;
  z-index: 0;
  display: block;
  margin: 0;
  pointer-events: none;
  overflow: visible;
}

.sec_head_en_wrap .sec_head_watermark {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sec_head_watermark_layer {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(56px, 12vw, 120px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.sec_head_watermark_layer--front {
  position: relative;
  display: block;
  color: rgba(178, 193, 65, 0.15);
}

/* back は front の中央に配置 */
.sec_head_watermark_layer--back {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  color: var(--white);
  transform: translate(-50%, -50%);
}

.sec_head_en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--main-color);
  text-transform: uppercase;
}

.sec_head_ja {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: 0.04em;
  text-align: center;
}

.cta_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.cta_block_lead {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 500;
  color: #5e3d37;
  text-align: center;
  line-height: 1.5;
}

.cta_dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cta_dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--main-color);
}

.cta_pair {
  display: flex;
  align-items: stretch;
  width: min(1020px, 100%);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
  background: var(--white);
}

.cta_tel,
.cta_web {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: filter 0.2s ease, background-color 0.2s ease;
}

.cta_tel {
  flex: 1 1 58%;
  padding: 28px 20px;
  background: var(--white);
  color: var(--text-color);
}

.cta_web {
  flex: 0 0 min(420px, 42%);
  position: relative;
  overflow: hidden;
  padding: 28px 12px;
  background: linear-gradient(180deg, #b2c141 0%, #9cb812 100%);
  color: var(--white);
  border-radius: 0 30px 30px 0;
}

.cta_tel_label,
.cta_web_label {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.3;
}

.cta_tel_num,
.cta_web_num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.cta_tel_num {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text-color);
}

.cta_web_num {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white);
}

.cta_tel_num img,
.cta_web_num img {
  width: 48px;
  height: auto;
  flex-shrink: 0;
}

/* CVキラン（WEB予約のみ） */
.cta_web > *,
.header_web > * {
  position: relative;
  z-index: 1;
}

.cta_web::after,
.header_web::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.42) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  animation: cta_shine 3.6s ease-in-out infinite;
}

.header_web::after {
  animation-duration: 5.5s;
  animation-delay: 0.6s;
}

/* SP下部バーは常時表示のためキラン間隔を長めに */
.float_cta_bar .cta_web::after {
  animation-duration: 5.5s;
  animation-delay: 0.8s;
}

@keyframes cta_shine {
  0%,
  55% {
    transform: translateX(-160%) skewX(-18deg);
  }
  75%,
  100% {
    transform: translateX(320%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta_web::after,
  .header_web::after {
    animation: none;
    content: none;
  }
}

/* ========================================
   FV
======================================== */
.fv {
  width: 100%;
}

.fv_visual {
  width: 100%;
  line-height: 0;
}

.fv_visual picture,
.fv_visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   Worry
   写真は背面1枚、前面は見出し→リストの縦積み
======================================== */
.worry {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  padding: 70px 0;
  background: #ffffff;
}

.worry_visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(1002px, 66.3%);
  overflow: hidden;
  pointer-events: none;
}

/* PC: 写真左端を白フェードしてリスト可読性を確保 */
.worry_visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 55%
  );
}

.worry_visual picture {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

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

.worry_content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 50px;
  width: 100%;
}

/* 写真の高さはリストに合わせ、幅は画面右端まで */
.worry_body {
  position: relative;
  width: 100%;
}

.worry_head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.worry_watermark {
  position: absolute;
  top: 50%;
  left: clamp(16px, 5vw, 76px);
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  color: rgba(178, 193, 65, 0.15);
  transform: translateY(-50%);
  pointer-events: none;
  white-space: nowrap;
}

.worry_title {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  color: #5e3f1d;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.4;
}

.worry_title_em {
  color: #f58220;
}

.worry_list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 780px;
  box-sizing: border-box;
}

.worry_item {
  display: flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  min-height: 90px;
  padding: 13px 40px;
  background: linear-gradient(90deg, rgba(234, 224, 214, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.worry_item:nth-child(1) { margin-left: 0; }
.worry_item:nth-child(2) { margin-left: 30px; }
.worry_item:nth-child(3) { margin-left: 60px; }
.worry_item:nth-child(4) { margin-left: 90px; }
.worry_item:nth-child(5) { margin-left: 122px; }

.worry_item_icon {
  flex-shrink: 0;
  width: 32px;
  height: auto;
}

.worry_item_text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 33px);
  font-weight: 500;
  color: #5e3f1d;
  line-height: 1.4;
  white-space: nowrap;
}

.cta_mid {
  position: relative;
  overflow-x: clip;
  /* 三角にリードを重ねるため、padding-top は三角より小さく */
  padding: 30px 0 100px;
  background-color: var(--cta-mid-bg, #ffffff);
  --cta-v-fill: var(--bg-soft);
  --cta-mid-bg: #ffffff;
  --cta-v-height: clamp(100px, 20vw, 220px);
}

/* 上部に幅100%の三角だけ置く（カード吸着なし） */
.cta_mid_v {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: var(--cta-v-height);
  background-color: var(--cta-v-fill);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

.cta_mid .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.cta_mid .cta_block {
  gap: 40px;
}

.cta_mid .cta_mid_head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.cta_mid .cta_pair {
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* 背景色と三角色が逆（ベージュ地＋白三角） */
.cta_mid--invert {
  --cta-v-fill: #ffffff;
  --cta-mid-bg: var(--bg-soft);
}

.cta_mid .cta_tel {
  border-radius: 30px 0 0 30px;
}

/* ========================================
   Message
======================================== */
.message {
  padding: 100px 0 50px;
  background: var(--bg-soft);
}

.message--family {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 45px;
}

.message--meal {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--white);
}

.message_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}

/* 対角フォト＋中央テキスト */
.message_inner--meal {
  position: relative;
  z-index: 1;
  gap: 44px;
}

.message_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.message_lead {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: 0.04em;
}

.message_title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.message_em {
  color: var(--accent-orange);
}

.message_media {
  margin: 0;
  width: 100%;
  max-width: none;
  line-height: 0;
}

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

.message_text {
  margin: 0 auto;
  max-width: 1200px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--text-color);
  text-align: center;
}

.message--meal .message_title {
  padding: 10px 50px;
  font-size: 41px;
  color: var(--text-color);
  text-align: center;
}

.message--meal .message_text {
  max-width: 900px;
}

.message_meal_visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.message_meal_left,
.message_meal_right {
  position: absolute;
  display: block;
  height: auto;
  object-fit: cover;
}

/* PC: left 533/1512 ≈ 35.25% / right 589/1512 ≈ 38.95% */
.message_meal_left {
  top: 0;
  left: 0;
  width: min(35.25%, 533px);
}

.message_meal_right {
  right: 0;
  bottom: 0;
  width: min(38.95%, 589px);
}

/* legacy t-smile worry title helpers (unused in current HTML) */

/* ========================================
   Reason
======================================== */
.reason {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  padding: 70px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  background: #f4efe8;
}

.reason .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  max-width: 1322px;
}

/* REASON は見出し右寄り・140px / opacity 0.15 */
.sec_head--reason {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec_head--reason .sec_head_watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  /* 広いとき右へ（≈ right: -140px）、狭いとき見出し中央へ */
  transform: translate(
    calc(-50% + clamp(0px, (100vw - 900px) * 0.5, 400px)),
    -50%
  );
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  color: rgba(178, 193, 65, 0.15);
  letter-spacing: 0;
  pointer-events: none;
  z-index: 0;
}

.reason_list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: 100%;
  max-width: 1322px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.reason_list > li {
  display: block;
  width: 100%;
}

.reason_card {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

/* 01/03 テキスト左・画像右。パネルが画像に約40px重なる／下へ101px */
.reason_card .reason_card_panel {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: min(620px, 48%);
  margin-top: 101px;
  margin-right: -40px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  border-radius: 30px;
}

.reason_card .reason_card_fig {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: min(742px, 58%);
  margin: 0 0 0 auto;
  border-radius: 42px;
  overflow: hidden;
}

/* 02/04 画像左・テキスト右 */
.reason_card--rev .reason_card_fig {
  margin: 0 auto 0 0;
  order: 1;
}

.reason_card--rev .reason_card_panel {
  margin-right: 0;
  margin-left: -40px;
  order: 2;
}

/* 番号はテキストパネル左+40、画像上端付近（panel は画像より101px下） */
.reason_num {
  position: absolute;
  top: -101px;
  left: 40px;
  z-index: 3;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(90px, 11vw, 140px);
  font-weight: 700;
  line-height: 1;
  color: rgba(178, 193, 65, 0.6);
  pointer-events: none;
}

.reason_card_title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 37px);
  font-weight: 500;
  line-height: 1.3;
  color: #5e3f1d;
  background: none;
  padding: 0;
}

.reason_card_text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: #5e3f1d;
}

.reason_card_fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1113 / 454;
  object-fit: cover;
  border-radius: 42px;
}

/* ========================================
   Case
======================================== */
.case {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background-color: #ffffff;
  background-image: url("../img/bg_dot.webp");
  background-repeat: repeat;
  background-position: left top;
}

.case .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}

.sec_head--case {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec_head--case .sec_head_watermark {
  position: absolute;
  top: -37px;
  left: clamp(0px, 10.17%, 122px);
  right: auto;
  transform: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  color: rgba(178, 193, 65, 0.15);
  pointer-events: none;
  z-index: 0;
}

.case_list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
  max-width: 1200px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.case_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.case_photos {
  position: relative;
  width: min(568px, 100%);
  margin-inline: auto;
}

.case_photos_img {
  display: block;
  width: 100%;
  max-width: 568px;
  height: auto;
  margin-inline: auto;
}

.case_meta {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0;
  border: 1px solid #000;
}

.case_meta_row {
  display: grid;
  grid-template-columns: 188px 1fr;
  align-items: stretch;
  border-bottom: 1px solid #000000;
}

.case_meta_row:last-child {
  border-bottom: none;
}

.case_meta_row dt {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px 30px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  color: #5e3f1d;
  background: #f4efe8;
  border-right: 1px solid #000000;
  text-align: center;
  line-height: 1.4;
}

.case_meta_row dt::before {
  content: none;
}

.case_meta_row dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 20px 30px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
  background: #ffffff;
}

.case_note {
  margin: 0;
  width: 100%;
  max-width: 1200px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
  text-align: center;
}

/* ========================================
   Doctor
======================================== */
.doctor {
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: #f4efe8;
  overflow: visible;
}

.doctor .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: visible;
}

.sec_head--doctor {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec_head--doctor .sec_head_watermark {
  top: -37px;
  left: clamp(36%, 52.3%, 628px);
  right: auto;
  transform: none;
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  color: rgba(178, 193, 65, 0.15);
}

.doctor_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor_card {
  position: relative;
  min-height: 622px;
  background: #ffffff;
  overflow: visible;
}

.doctor_card_body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: min(560px, 55%);
  padding: 50px;
}

.doctor_card--rev .doctor_card_body {
  margin-left: auto;
  width: min(560px, 52%);
}

.doctor_label {
  margin: 0;
  padding: 0 0 5px;
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
  border-bottom: 2px solid #b2c141;
}

.doctor_role {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
  background: none;
  padding: 0;
}

.doctor_name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  color: #5e3f1d;
}

.doctor_history {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doctor_history_label {
  margin: 0;
  padding: 5px 10px;
  width: min(455px, 100%);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
  text-align: center;
  background: #f2efe9;
}

.doctor_history ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor_history li {
  position: relative;
  padding-left: 1.15em;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
}

.doctor_history li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: #b2c141;
  font-size: 0.85em;
}

.doctor_card_photo {
  position: absolute;
  top: auto;
  right: -40px;
  bottom: 0;
  z-index: 1;
  width: min(520px, 48%);
  margin: 0;
  line-height: 0;
}

.doctor_card--rev .doctor_card_photo {
  top: auto;
  left: -60px;
  right: auto;
  bottom: 0;
  width: min(560px, 52%);
}

.doctor_card_photo picture {
  display: block;
  width: 100%;
}

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

.doctor_quotes {
  position: absolute;
  left: -11%;
  bottom: 8%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 1001px) {
  .doctor_card--rev .doctor_quotes {
    left: auto;
    right: -15%;
  }
}

.doctor_quotes p {
  margin: 0;
  padding: 0 8px;
  display: inline-block;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
  background: #ffffff;
}

.cherish {
  padding: 100px 0 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 49px;
}

.cherish > .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sec_head--cherish {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec_head--cherish .sec_head_watermark {
  top: -37px;
  left: 0;
  right: auto;
  transform: none;
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(178, 193, 65, 0.15);
}

.cherish_band {
  width: 100%;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  background-color: #6a6a6a;
  background-image:
    linear-gradient(rgba(106, 106, 106, 0.31), rgba(106, 106, 106, 0.31)),
    url("../img/cherish_bg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cherish_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1412px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cherish_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  padding: 30px 24px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.cherish_card_icon {
  display: block;
  width: auto;
  height: 48px;
}

.cherish_card_title {
  margin: 0;
  padding: 0 0 5px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 35px);
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
  border-bottom: 2px solid #b2c141;
}

.cherish_card_text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
}

/* ========================================
   Price
======================================== */
.price {
  padding: 100px 0;
  color: var(--sub-color);
}

.price_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sec_head--price {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec_head--price .sec_head_watermark {
  top: -37px;
  left: clamp(36%, 52.9%, 635px);
  right: auto;
  transform: none;
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  color: rgba(178, 193, 65, 0.15);
  text-transform: none;
}

.price_lead {
  max-width: 1200px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: #5e3f1d;
  text-align: center;
}

.price_note {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
  text-align: center;
}

.price_note--left {
  font-size: 20px;
  text-align: left;
}

.price_panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 31px;
  width: 100%;
  max-width: 1200px;
  padding: 50px;
  background: var(--white);
  color: #5e3f1d;
  border: 1px solid #616060;
  border-radius: 30px;
  box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.2);
}

.price_panel--loan,
.price_panel--deduction {
  gap: 35px;
  border-color: #5e3f1d;
  box-shadow: none;
}

.price_panel--deduction {
  align-items: center;
}

.price_sub,
.price_loan_title,
.price_deduction_title {
  align-self: flex-start;
  margin: 0;
  padding: 0 0 5px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: #5e3f1d;
  line-height: 1.5;
  border-bottom: 2px solid #000;
}

.price_deduction_title {
  align-self: center;
  color: #bac707;
  border-bottom-color: #bac707;
}

.price_breakdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.price_breakdown_item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc((100% - 32px) / 3);
  max-width: 350px;
  min-height: 150px;
  padding: 16px 32px;
  background: #f4efe8;
  color: #5e3f1d;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 33px);
  line-height: 1.5;
  border: 1.6px solid #5e3f1d;
}

.price_highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.price_highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 18px 36px;
  background: #f4efe8;
  border-radius: 18px;
}

.price_highlight_label {
  font-family: var(--font-display);
  color: #5e3f1d;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.price_highlight_value {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: var(--main-color);
}

.price_highlight_value strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 45px);
  font-weight: 500;
  line-height: 1.5;
}

.price_highlight_unit {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.5;
  padding-bottom: 4px;
}

.price_blocks {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.price_block {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #000;
  table-layout: fixed;
}

.price_block_cat {
  width: 250px;
  padding: 22px 30px;
  background: #d3bc6f;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  vertical-align: middle;
  border: 1px solid #000;
}

.price_block tbody th:not(.price_block_cat),
.price_block td {
  padding: 22px 30px;
  font-size: 20px;
  color: #5e3f1d;
  border: 1px solid #e3e3e3;
  background: var(--white);
  vertical-align: middle;
}

.price_block tbody th:not(.price_block_cat) {
  width: 410px;
  font-family: var(--font-sans);
  font-weight: 500;
  text-align: left;
}

.price_block td {
  font-family: "Yu Gothic", var(--font-sans);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.price_examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 31px;
  align-items: start;
}

.price_example {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d9d9d9;
  table-layout: fixed;
}

.price_example thead th {
  padding: 10px 30px;
  background: var(--main-color);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
  border: 1px solid #000;
}

.price_example thead .price_example_cols th {
  background: #f3f3f3;
  color: #5e3f1d;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.price_example tbody th,
.price_example tbody td {
  padding: 10px 30px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: #5e3f1d;
  border: 1px solid #000;
  background: var(--white);
  vertical-align: middle;
}

.price_example tbody th {
  width: 400px;
  max-width: 67%;
  text-align: left;
}

.price_example tbody td {
  text-align: center;
  white-space: nowrap;
}

.price_example tbody .price_example_total th,
.price_example tbody .price_example_total td {
  background: #f3f3f3;
  font-size: 22px;
  font-weight: 700;
}

.price_loan_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.price_loan_title {
  align-self: center;
}

.price_loan_note {
  margin: 0;
  font-family: var(--font-display);
  color: #5e3f1d;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}

.price_loan_cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 31px;
}

.price_loan_cards > li {
  min-width: 0;
}

.price_loan_card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid #000;
}

.price_loan_card_body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  padding: 30px 20px 20px;
  border-top: 10px solid var(--main-color);
}

.price_loan_card_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

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

.price_loan_card--epos .price_loan_card_brand {
  gap: 15px;
}

.price_loan_card_brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.price_loan_card_brand img.price_loan_card_logo--epos {
  width: 111px;
  height: 40px;
}

.price_loan_label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  color: #5e3f1d;
  line-height: 1.2;
}

.price_loan_times {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  color: #5e3f1d;
  line-height: 1.2;
  text-align: right;
}

.price_loan_pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.price_loan_pay_label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: #5e3f1d;
  line-height: 1.5;
  text-align: center;
}

.price_loan_amount {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: var(--main-color);
}

.price_loan_amount strong {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
}

.price_loan_amount span {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
}

.price_loan_first {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 7px 13px;
  min-height: 50px;
  background: #f3f3f3;
}

.price_loan_first_label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: #5e3f1d;
  line-height: 1.2;
}

.price_loan_first em {
  font-style: normal;
  font-family: var(--font-display);
  color: #5e3f1d;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.price_deduction_text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #5e3f1d;
  text-align: center;
}

.price_formula {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--white);
  color: #5e3f1d;
  text-align: center;
  padding: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.8;
  border: 1px solid #000;
}

.price_formula_em {
  color: #f15a22;
}

.price_formula_em2 {
  color: #1273ab;
}

.price_formula_note {
  font-size: 18px;
  font-weight: 500;
  color: #5e3f1d;
}

.price_link_wrap {
  margin: 0;
  text-align: center;
}

.price_link {
  display: inline;
  color: #5e3f1d;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.price_link_u {
  color: #216280;
  text-decoration: underline;
}

/* ========================================
   Flow
======================================== */
.flow {
  padding: 100px 0;
}

.flow .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.sec_head--flow {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec_head--flow .sec_head_watermark {
  top: -37px;
  left: 135px;
  right: auto;
  transform: none;
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  color: rgba(178, 193, 65, 0.15);
  text-transform: uppercase;
}

.sec_head--flow .sec_head_ja {
  line-height: 1.3;
}

.flow_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow_list::before {
  content: "";
  position: absolute;
  left: 104px;
  top: 55px;
  bottom: 55px;
  z-index: 0;
  width: 5px;
  background: #d3bc6f;
}

.flow_item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  padding: 0 50px;
}

.flow_icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  z-index: 1;
  padding: 10px 15px;
  box-sizing: border-box;
}

.flow_icon img:not(.flow_num) {
  width: auto;
  max-width: 65px;
  height: auto;
  max-height: 73px;
  object-fit: contain;
}

/* 白＋茶縁の数字画像 */
.flow_icon .flow_num {
  position: absolute;
  top: -18px;
  left: 50%;
  z-index: 2;
  width: 42px;
  height: auto;
  max-width: none;
  max-height: none;
  transform: translateX(-50%);
  pointer-events: none;
  object-fit: contain;
}

.flow_main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
  min-width: 0;
  padding: 30px 0 10px;
}

.flow_body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
  padding-bottom: 20px;
  text-align: center;
}

.flow_body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 35px);
  font-weight: 700;
  color: #5e3f1d;
  line-height: 1.3;
  text-align: center;
}

.flow_body p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: #5e3f1d;
  line-height: 36px;
  text-align: center;
}

.flow_arrow {
  display: block;
  width: 54px;
  height: 27px;
  flex-shrink: 0;
  object-fit: contain;
}

/* ========================================
   FAQ
======================================== */
.faq {
  padding: 100px 0;
  background: #f2efe9;
}

.faq .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.sec_head--faq {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.sec_head--faq .sec_head_watermark {
  top: -37px;
  left: clamp(40%, 55%, 669px);
  right: auto;
  transform: none;
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 700;
  line-height: 1;
  color: rgba(178, 193, 65, 0.15);
  text-transform: uppercase;
}

#faq .faq_dl {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0;
}

#faq .faq_dl .inner {
  border: none;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

#faq .faq_dl dt {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 22px 32px;
  background: #d8a977;
  border-bottom: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 500;
  color: var(--white);
  line-height: 40px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-radius 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

#faq .faq_dl dt.highlight {
  border-radius: 10px 10px 0 0;
}

#faq .faq_dl dt:focus {
  outline: none;
}

#faq .faq_dl dt:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

#faq .faq_dl dt:active {
  filter: brightness(0.96);
}

#faq .faq_dl .faq_q_mark {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1;
}

#faq .faq_dl .faq_q_text {
  flex: 1;
  min-width: 0;
}

#faq .faq_dl .faq_chevron {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

#faq .faq_dl .faq_chevron img {
  display: block;
  width: 14px;
  height: auto;
}

#faq .faq_dl dt.highlight .faq_chevron {
  transform: rotate(180deg);
}

#faq .faq_dl dd {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0;
  transition: grid-template-rows 0.35s ease;
}

#faq .faq_dl dt.highlight + dd {
  grid-template-rows: 1fr;
}

#faq .faq_dl dd > .faq_a {
  overflow: hidden;
  min-height: 0;
}

#faq .faq_dl dd > .faq_a > .faq_a_body {
  padding: 50px;
  background: var(--white);
  border-radius: 0 0 10px 10px;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.3;
  color: #5e3f1d;
}

#faq .faq_dl dd a {
  color: #216280;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

/* ========================================
   About / Implant
======================================== */
/* 右写真＋THOUGHT */
.about {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--white);
}

.about_visual {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: min(37.1%, 561px);
  height: 100%;
  pointer-events: none;
}

.about_visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.about_inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}

.about_head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about_watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 9.3vw, 140px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(178, 193, 65, 0.09);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.about_title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.65vw, 40px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-color);
  text-align: center;
}

.about_body {
  display: flex;
  flex-direction: column;
  gap: 1.8em;
  width: 100%;
  max-width: 1200px;
}

.about_body p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--text-color);
  text-align: left;
}

.implant {
  padding: 100px 0 150px;
  background: var(--bg-soft);
}

.implant_pros {
  padding: 100px 0 10px;
  background: var(--white);
}

.implant_diff {
  padding: 100px 0;
  background: var(--white);
  border-bottom: 1px solid #000;
}

.implant .wrap,
.implant_diff .wrap,
.implant_pros .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* white card + ABOUT watermark */
.implant_card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 80px;
  background: var(--white);
  border: 1px solid #616060;
  border-radius: 30px;
  box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.2);
}

.implant_head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.implant_watermark {
  position: absolute;
  top: 50%;
  left: 64px;
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 9.3vw, 120px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(178, 193, 65, 0.09);
  transform: translateY(-50%);
  pointer-events: none;
}

.implant_title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  line-height: 1.35;
}

.implant_main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.implant_lead_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.implant_lead {
  margin: 0;
  flex: 0 1 466px;
  max-width: 466px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.05vw, 31px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #9db746;
}

.implant_diagram {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  line-height: 0;
}

.implant_diagram img {
  display: block;
  width: 100%;
  max-width: 544px;
  height: auto;
  margin-inline: auto;
}

.implant_body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.implant_body p {
  margin: 0 0 2em;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
  color: var(--text-color);
}

.implant_body p:last-child {
  margin-bottom: 0;
}

.implant_mark {
  color: #f15a22;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.implant_mark--tone {
  text-decoration: none;
}

.implant_aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.implant_aside_title {
  margin: 0;
  padding: 0 0 5px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.65vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  color: #9db746;
  border-bottom: 2px solid #bac707;
}

.implant_aside_text {
  margin: 0;
  width: 100%;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 2.5;
  color: var(--text-color);
}

.implant_uline {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* 症例別比較 */
.diff_head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1040px;
}

.diff_watermark {
  position: absolute;
  top: -50px;
  left: 0;
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 9.3vw, 140px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(178, 193, 65, 0.09);
  pointer-events: none;
}

.diff_title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.3vw, 50px);
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  line-height: 1.35;
}

.diff_panel {
  width: 100%;
  max-width: 1200px;
  padding: 80px;
  background: var(--white);
  border: 1px solid var(--text-color);
  border-radius: 30px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.diff_case {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-bottom: 50px;
}

.diff_case:last-child {
  padding-bottom: 0;
}

.diff_case_title {
  margin: 0;
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 35px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--text-color);
  text-align: center;
}

.diff_case_problem {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 30px;
  width: 100%;
  padding: 30px;
  background: #f2efe9;
  border: 2px solid var(--text-color);
}

.diff_case_media {
  display: block;
  flex: 0 0 240px;
  width: 240px;
  height: 174px;
  object-fit: cover;
}

.diff_case_problem p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text-color);
}

.diff_arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  display: block;
  width: 108px;
  height: 30px;
  transform: translate(-50%, 100%);
}

.diff_case_result {
  width: 100%;
  padding: 20px;
  background: #f4efe8;
  box-shadow: 6px 6px 8px 0 rgba(0, 0, 0, 0.2);
}

.diff_case_result_inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--text-color);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.diff_case_result_lead {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-color);
  text-align: center;
}

.diff_case_result_text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--text-color);
  text-align: center;
}

/* merit watermark + white card */
.pros_head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1040px;
}

.pros_watermark {
  position: absolute;
  top: -50px;
  right: 0;
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 9.3vw, 140px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(178, 193, 65, 0.09);
  pointer-events: none;
}

.pros_title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  line-height: 1.35;
}

.pros_card {
  width: 100%;
  max-width: 1200px;
  padding: 80px;
  background: var(--white);
  border: 1px solid var(--text-color);
  border-radius: 30px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.pros_list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pros_item {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 50px;
}

.pros_item:last-child {
  padding-bottom: 0;
}

.pros_item_head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pros_num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.6vw, 100px);
  font-weight: 500;
  line-height: 1;
  color: var(--main-color);
}

.pros_item_title {
  margin: 0;
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.3vw, 35px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--text-color);
}

.pros_item_body {
  display: flex;
  align-items: stretch;
  gap: 30px;
  padding: 30px;
  background: #f2efe9;
}

.pros_media {
  display: block;
  flex: 0 0 240px;
  width: 240px;
  height: 174px;
  object-fit: cover;
}

.pros_item_body p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text-color);
}

/* ========================================
   Corp / CTA / Access / Footer
======================================== */
.corp {
  padding: 100px 0;
  background: var(--bg-soft);
}

.corp > .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}

.corp_head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.corp_watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 9.3vw, 140px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(178, 193, 65, 0.09);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.corp_title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.65vw, 40px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-color);
  text-align: center;
}

.corp_body {
  display: flex;
  flex-direction: column;
  gap: 1.8em;
  width: 100%;
  max-width: 1200px;
}

.corp_body p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--text-color);
  text-align: center;
}

/* ========================================
   Visit / 来院案内
======================================== */
.visit {
  padding: 70px 0;
  background: #fffdf5;
}

.visit_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.visit_note {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.65vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-color);
  text-align: center;
}

.visit_banner {
  margin: 0;
  width: 100%;
  max-width: 990px;
  padding: 0 20px;
  background: #f4efe8;
  box-shadow: 0 5.67px 5.67px 0 rgba(0, 0, 0, 0.25);
  line-height: 0;
  box-sizing: border-box;
}

.visit_banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.visit_sub {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.65vw, 25px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-color);
  text-align: center;
}

.visit_cta {
  width: min(1020px, 100%);
}

.visit_clinic {
  display: flex;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  max-width: 1040px;
  padding-top: 40px;
  box-sizing: border-box;
}

.visit_map {
  margin: 0;
  position: relative;
  flex: 0 0 460px;
  width: 460px;
  max-width: 100%;
  min-height: 0;
  align-self: stretch;
  overflow: hidden;
}

.visit_map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.visit_address {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  flex: 1;
  min-width: 0;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-color);
}

.visit_clinic_name {
  margin: 0;
  font-size: 26px;
  line-height: 1.5;
}

.visit_clinic_addr,
.visit_clinic_hours {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
}

.visit_car {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1040px;
  padding: 20px 0;
  box-sizing: border-box;
}

.visit_car_body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.visit_car_title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.65vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--text-color);
  text-align: center;
}

.visit_car_text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-color);
  text-align: center;
}

@media (max-width: 1100px) and (min-width: 799px) {
  .visit_clinic {
    gap: 28px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .visit_map {
    flex: 0 0 min(420px, 42%);
    width: min(420px, 42%);
  }

  .visit_clinic_name {
    font-size: clamp(20px, 2.2vw, 26px);
  }

  .visit_clinic_addr,
  .visit_clinic_hours {
    font-size: clamp(16px, 1.9vw, 22px);
  }
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--main-color);
}

.footer_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding-block: 30px;
}

.footer_mark {
  display: block;
  flex-shrink: 0;
  width: 199px;
  height: 199px;
  object-fit: contain;
}

.footer_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.footer_logo {
  display: block;
  width: 284px;
  max-width: 100%;
  height: auto;
}

.footer_address {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.4;
}

.footer_clinic {
  margin: 0;
  font-size: 25px;
}

.footer_addr {
  margin: 0;
  font-size: 20px;
}

.footer_copyright {
  padding: 10px 20px;
  background: var(--main-color-deep);
  border-top: 1px solid var(--accent-gold);
  text-align: center;
}

.footer_copyright_text {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.footer_copyright_text small {
  font-size: inherit;
}

.float_cta {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: drop-shadow(0 2.6px 9px rgba(0, 0, 0, 0.4));
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.float_cta.is-scrolled {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.float_cta.is-scrolled.is-hidden-by-access {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.float_cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  padding: 20px 12px;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.15;
  text-align: center;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  border-radius: 20px 0 0 20px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-decoration: none;
  color: #fffafa;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.float_cta_web {
  background: var(--main-color);
  border-color: var(--main-color);
}

.float_cta_tel {
  background: var(--text-color);
  border-color: var(--text-color);
}

/* SP下部固定（中間CTA同型）— PCでは非表示 */
.float_cta_bar {
  display: none;
}

.page_top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: block;
  width: 81px;
  height: 81px;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

/* ========================================
   Interactive / Hover（ポインティングデバイスのみ）
======================================== */
@media (hover: hover) {
  .cta_tel:hover {
    background-color: #f4efe8;
  }

  .cta_web:hover {
    filter: brightness(1.08);
  }

  .header_logo:hover,
  .header_clinic:hover {
    opacity: 0.92;
  }

  .header_tel:hover {
    background-color: #f4efe8;
    filter: none;
  }

  .header_web:hover {
    filter: brightness(1.08);
  }

  .price_link:hover {
    opacity: 0.85;
  }

  #faq .faq_dl dt:hover {
    filter: brightness(1.03);
  }

  #faq .faq_dl dd a:hover {
    opacity: 0.85;
  }

  .float_cta_web:hover {
    background: var(--white);
    color: var(--main-color);
  }

  .float_cta_tel:hover {
    background: var(--white);
    color: var(--text-color);
  }

  .page_top:hover {
    transform: scale(1.05);
    opacity: 0.92;
  }
}

/* ========================================
   SP (max-width: 798px)
======================================== */
@media (max-width: 798px) {
  .wrap {
    padding-inline: var(--sp-space-sm);
  }

  /* SP: ヘッダーはロゴのみ（CTAは下部 float に任せる） */
  .header_logo {
    width: 72px;
    padding: 2px;
    border-radius: 0 0 12px 12px;
  }

  .header_logo img {
    border-radius: 6px;
  }

  .header_clinic {
    padding-left: 8px;
  }

  .header_clinic img {
    width: min(180px, 52vw);
  }

  .header_actions {
    display: none;
  }

  .fv_visual picture,
  .fv_visual img {
    width: 100%;
    height: auto;
  }

  .worry {
    gap: 0;
    padding: var(--sp-space-lg) 0;
    overflow-x: clip;
    background: url("../img/worry_photo_sp.webp") center / cover no-repeat;
  }

  .worry_content {
    gap: var(--sp-space-lg);
    align-items: stretch;
  }

  .worry_title,
  .sec_head_ja,
  .corp_title {
    font-size: var(--sp-fs-title);
  }

  .sec_head_en,
  .sec_head--flow .sec_head_en {
    font-size: var(--sp-fs-en);
  }

  .sec_head_watermark_layer {
    font-size: var(--sp-fs-watermark);
  }

  /* SP: ウォーターマークは見出し背面中央
     ※ PC の .sec_head--* .sec_head_watermark より特異性を揃えて上書き */
  .sec_head .sec_head_watermark,
  .worry_head .worry_watermark,
  .about_head .about_watermark,
  .corp_head .corp_watermark,
  .implant_head .implant_watermark,
  .diff_head .diff_watermark,
  .pros_head .pros_watermark {
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--sp-fs-watermark);
  }

  /* ABOUT IMPLANT は長いため SP のみ幅に合わせて縮小 */
  .implant_head .implant_watermark {
    font-size: clamp(28px, 9vw, 64px);
  }

  /* COMPANY PROFILE も同様 */
  .corp_head .corp_watermark {
    font-size: clamp(28px, 8vw, 64px);
  }

  /* SP: 写真は .worry の background で全面カバー（上下パディング含む）
     透かし／リストは通常フローで前面 */
  .worry_visual {
    display: none;
  }

  .worry_watermark {
    color: rgba(178, 193, 65, 0.22);
  }

  .worry_list {
    align-self: stretch;
    max-width: none;
    padding-left: 0;
    gap: 12px;
  }

  .worry_item {
    margin-left: 0 !important;
    min-height: 0;
    gap: 10px;
    padding: 12px 16px;
    width: 100%;
  }

  .worry_item_icon {
    width: 20px;
    height: auto;
  }

  .worry_item_text {
    white-space: normal;
    font-size: var(--sp-fs-body);
    line-height: 1.4;
  }

  .message {
    padding: var(--sp-space-lg) 0;
  }

  /* PCと同構図の縮小 */
  .message--meal {
    padding: var(--sp-space-lg) 0;
  }

  .message_inner--meal {
    gap: var(--sp-space-sm);
  }

  .message--meal .message_title {
    padding: 4px 20px;
    font-size: var(--sp-fs-body-lg);
  }

  .message_meal_left {
    width: 35.25%;
    max-width: 204px;
  }

  .message_meal_right {
    width: 39%;
    max-width: 226px;
  }

  .message_text {
    font-size: var(--sp-fs-body);
    text-align: left;
  }

  .message--meal .message_text {
    max-width: min(100%, 600px);
    font-size: var(--sp-fs-body);
    text-align: center;
  }

  /* SP: 中間CTAセクション本体（三角・余白・リード） */
  .cta_mid {
    padding: var(--sp-space-sm) 0 var(--sp-space-lg);
    --cta-v-height: clamp(64px, 18vw, 120px);
  }

  .cta_mid .cta_block,
  .cta_mid .cta_mid_head {
    gap: var(--sp-space-md);
  }

  .cta_mid .cta_block_lead {
    font-size: var(--sp-fs-sub);
  }

  .cta_mid .cta_dots {
    gap: 8px;
  }

  .cta_mid .cta_dots span {
    width: 8px;
    height: 8px;
  }

  /* SP（481〜798）: 中間CTAもPC形を横並びで縮小 */
  .cta_mid .cta_pair {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .cta_mid .cta_tel,
  .cta_mid .cta_web {
    flex: none;
    width: auto;
    max-width: none;
    gap: 4px;
    padding: 16px 12px;
  }

  .cta_mid .cta_tel {
    flex: 1 1 58%;
    padding: 16px 12px 16px 28px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-right: 0;
    border-radius: 20px 0 0 20px;
  }

  .cta_mid .cta_web {
    flex: 0 0 42%;
    border-radius: 0 20px 20px 0;
  }

  .cta_mid .cta_tel_label,
  .cta_mid .cta_web_label {
    font-size: 11px;
    white-space: nowrap;
  }

  .cta_mid .cta_tel_num,
  .cta_mid .cta_web_num {
    font-size: 22px;
    gap: 8px;
    white-space: nowrap;
  }

  .cta_mid .cta_tel_num img,
  .cta_mid .cta_web_num img {
    width: 24px;
  }

  .reason {
    padding: var(--sp-space-lg) 0 var(--sp-space-sm);
  }

  .reason .wrap {
    gap: var(--sp-space-lg);
  }

  .reason_list {
    gap: var(--sp-space-xl);
  }

  .reason_card,
  .reason_card--rev {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-inline: auto;
  }

  .reason_card .reason_card_panel,
  .reason_card--rev .reason_card_panel {
    order: 1;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 38px 31px 20px;
    gap: 15px;
    border-radius: 23px 23px 0 0;
  }

  .reason_card .reason_card_fig,
  .reason_card--rev .reason_card_fig {
    order: 2;
    z-index: 1;
    width: 100%;
    margin: 0;
    border-radius: 0 0 30px 30px;
    aspect-ratio: 477 / 216;
  }

  .reason_card .reason_card_fig img,
  .reason_card--rev .reason_card_fig img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0 0 30px 30px;
  }

  .reason_num,
  .reason_card:not(.reason_card--rev) .reason_num,
  .reason_card--rev .reason_num {
    top: -0.55em;
    left: var(--sp-space-sm);
    right: auto;
    font-size: var(--sp-fs-deco-num);
    -webkit-text-stroke: 0;
    color: rgba(178, 193, 65, 0.6);
  }

  .reason_card_title,
  .reason_card--rev .reason_card_title {
    font-size: var(--sp-fs-sub);
    padding: 0;
    line-height: 1.3;
  }

  .reason_card_text {
    font-size: var(--sp-fs-body);
    line-height: 1.6;
    padding: 0;
  }

  .case {
    padding: var(--sp-space-lg) 0;
  }

  .case .wrap,
  .case_list {
    gap: var(--sp-space-lg);
  }

  .case_card {
    gap: var(--sp-space-md);
  }

  .case_photos {
    width: min(568px, 100%);
    max-width: 100%;
  }

  .case_meta_row {
    grid-template-columns: 100px 1fr;
  }

  .case_meta_row dt,
  .case_meta_row dd {
    padding: 12px 14px;
    font-size: var(--sp-fs-body);
  }

  .case_note {
    font-size: var(--sp-fs-body);
    text-align: left;
  }

  .doctor {
    padding: var(--sp-space-lg) 0;
    gap: var(--sp-space-lg);
  }

  .doctor .wrap {
    gap: var(--sp-space-md);
  }

  .doctor_list {
    gap: var(--sp-space-xl);
  }

  .doctor_card_body,
  .doctor_card--rev .doctor_card_body {
    padding: var(--sp-space-md) var(--sp-space-sm) var(--sp-space-sm);
    gap: 12px;
  }

  .doctor_card_photo,
  .doctor_card--rev .doctor_card_photo {
    width: min(360px, 78%);
  }

  .doctor_label {
    font-size: var(--sp-fs-sub);
  }

  .doctor_role {
    font-size: var(--sp-fs-body);
  }

  .doctor_name {
    font-size: var(--sp-fs-title);
  }

  .doctor_history_label {
    font-size: var(--sp-fs-body-lg);
  }

  .doctor_history li {
    font-size: var(--sp-fs-body);
    line-height: 1.7;
  }

  .doctor_quotes p {
    font-size: 16px;
    padding: 2px 8px;
  }

  .cherish {
    padding: var(--sp-space-lg) 0 0;
    gap: var(--sp-space-lg);
  }

  .cherish_band {
    padding: var(--sp-space-md) var(--sp-space-sm);
  }

  .cherish_list {
    gap: var(--sp-space-sm);
  }

  .cherish_card {
    padding: var(--sp-space-md) var(--sp-space-sm);
    gap: 12px;
  }

  .cherish_card_title {
    font-size: var(--sp-fs-sub);
  }

  .cherish_card_text {
    font-size: var(--sp-fs-body);
    line-height: 1.7;
  }

  .price {
    padding: var(--sp-space-lg) 0;
  }

  .price_inner {
    gap: var(--sp-space-lg);
  }

  .price_panel {
    padding: var(--sp-space-md) var(--sp-space-sm);
    gap: var(--sp-space-md);
    border-radius: 20px;
  }

  .price_panel--loan,
  .price_panel--deduction {
    gap: var(--sp-space-md);
  }

  .price_lead {
    font-size: var(--sp-fs-body-lg);
    line-height: 1.7;
  }

  .price_note {
    font-size: var(--sp-fs-body);
  }

  .price_note--left {
    font-size: var(--sp-fs-body);
  }

  .price_sub,
  .price_loan_title,
  .price_deduction_title {
    font-size: var(--sp-fs-sub);
  }

  .price_breakdown {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: var(--sp-space-sm);
  }

  .price_breakdown_item {
    width: 100%;
    max-width: none;
    min-height: 0;
    justify-content: center;
    padding: 14px var(--sp-space-sm);
    text-align: center;
    font-size: var(--sp-fs-body-lg);
    line-height: 1.5;
  }

  .price_breakdown_item br {
    display: none;
  }

  .price_highlights {
    grid-template-columns: 1fr;
    gap: var(--sp-space-sm);
  }

  .price_highlight {
    padding: 14px var(--sp-space-sm);
  }

  .price_highlight_label {
    font-size: var(--sp-fs-body-lg);
  }

  .price_highlight_value strong {
    font-size: 28px;
  }

  .price_highlight_unit {
    font-size: var(--sp-fs-body-lg);
    padding-bottom: 2px;
  }

  .price_blocks {
    gap: var(--sp-space-sm);
  }

  .price_block_cat {
    padding: 12px var(--sp-space-sm);
    font-size: var(--sp-fs-body-lg);
  }

  .price_block tbody th:not(.price_block_cat),
  .price_block td {
    padding: 10px var(--sp-space-sm);
    font-size: var(--sp-fs-body);
  }

  .price_block td {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .price_examples {
    grid-template-columns: 1fr;
    gap: var(--sp-space-sm);
  }

  .price_example thead th {
    font-size: var(--sp-fs-sub);
    padding: 12px var(--sp-space-sm);
  }

  .price_example thead .price_example_cols th {
    font-size: var(--sp-fs-body);
  }

  .price_example tbody th,
  .price_example tbody td {
    padding: 12px var(--sp-space-sm);
    font-size: var(--sp-fs-body);
  }

  .price_example tbody th {
    width: 55%;
  }

  .price_example tbody td {
    width: 45%;
  }

  .price_loan_cards {
    grid-template-columns: 1fr;
    gap: var(--sp-space-md);
  }

  .price_loan_note {
    font-size: var(--sp-fs-caption);
  }

  .price_loan_card_top {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .price_loan_card_brand {
    justify-content: center;
    flex-direction: column;
  }

  .price_loan_times {
    align-self: center;
    text-align: center;
  }

  .price_loan_label {
    font-size: var(--sp-fs-sub);
  }

  .price_loan_amount strong {
    font-size: 36px;
  }

  .price_loan_amount span {
    font-size: var(--sp-fs-sub);
  }

  .price_loan_card_brand img.price_loan_card_logo--epos {
    width: 88px;
    height: 32px;
  }

  .price_deduction_text {
    font-size: var(--sp-fs-body);
    line-height: 1.7;
  }

  .price_formula {
    font-size: var(--sp-fs-body);
    line-height: 1.8;
    padding: var(--sp-space-sm);
  }

  .price_formula_note {
    font-size: var(--sp-fs-note);
  }

  .price_link {
    font-size: var(--sp-fs-body);
  }

  .flow {
    padding: var(--sp-space-lg) 0;
  }

  .flow .wrap {
    gap: var(--sp-space-lg);
  }

  .flow_list {
    gap: var(--sp-space-sm);
    max-width: none;
  }

  /* アイコン 72px の中心（36px）− ライン半幅（2.5px） */
  .flow_list::before {
    left: 33.5px;
    top: 40px;
    bottom: 40px;
  }

  .flow_item {
    padding: 0;
    gap: var(--sp-space-sm);
    align-items: flex-start;
  }

  .flow_icon {
    width: 72px;
    height: 72px;
    margin-top: 0;
    padding: 8px 10px;
  }

  .flow_icon .flow_num {
    width: 36px;
    top: -17px;
  }

  .flow_icon img:not(.flow_num) {
    max-width: 42px;
    max-height: 48px;
  }

  .flow_main {
    padding: 8px 0 0;
    gap: var(--sp-space-sm);
    max-width: none;
  }

  .flow_body {
    padding-bottom: 10px;
  }

  .flow_body h3 {
    font-size: var(--sp-fs-sub);
  }

  .flow_body p {
    font-size: var(--sp-fs-body);
    line-height: 1.7;
  }

  .flow_arrow {
    width: 36px;
    height: 18px;
  }

  .faq {
    padding: var(--sp-space-lg) 0;
  }

  .sec_head--faq {
    margin-bottom: var(--sp-space-lg);
  }

  #faq .faq_dl {
    gap: var(--sp-space-sm);
  }

  #faq .faq_dl dt {
    gap: 10px;
    padding: 16px var(--sp-space-sm);
    font-size: var(--sp-fs-body-lg);
    line-height: 1.5;
    align-items: flex-start;
  }

  #faq .faq_dl .faq_q_mark {
    font-size: 22px;
    margin-top: 2px;
  }

  #faq .faq_dl .faq_chevron {
    margin-top: 6px;
  }

  #faq .faq_dl dd > .faq_a > .faq_a_body {
    padding: var(--sp-space-md) var(--sp-space-sm);
    font-size: var(--sp-fs-body);
    line-height: 1.7;
  }

  .about {
    padding: var(--sp-space-lg) 0;
  }

  .about_visual {
    width: min(62%, 359px);
  }

  .about_inner {
    gap: var(--sp-space-sm);
  }

  .about_title {
    font-size: var(--sp-fs-title);
  }

  .about_body {
    max-width: min(100%, 600px);
  }

  .about_body p {
    font-size: var(--sp-fs-body);
  }

  .implant {
    padding: var(--sp-space-lg) 0;
  }

  .implant_pros {
    padding: var(--sp-space-lg) 0 0;
  }

  .implant_diff {
    padding: var(--sp-space-lg) 0;
  }

  .implant .wrap,
  .implant_diff .wrap,
  .implant_pros .wrap {
    gap: var(--sp-space-sm);
  }

  .implant_card {
    gap: 13px;
    padding: 31px var(--sp-space-sm);
    border-width: 1px;
    border-radius: 12px;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
  }

  .implant_head {
    min-height: 40px;
  }

  .implant_title {
    font-size: var(--sp-fs-title);
  }

  .implant_main {
    gap: 19px;
  }

  .implant_lead_row {
    flex-direction: column;
    align-items: center;
    gap: 11px;
  }

  .implant_lead {
    flex: none;
    max-width: none;
    width: 100%;
    font-size: var(--sp-fs-body);
  }

  .implant_diagram img {
    max-width: none;
  }

  .implant_body p {
    margin-bottom: 1.5em;
    font-size: var(--sp-fs-body);
  }

  .implant_aside {
    gap: 19px;
  }

  .implant_aside_title {
    font-size: var(--sp-fs-sub);
    padding-bottom: 2px;
    border-bottom-width: 1px;
  }

  .implant_aside_text {
    font-size: var(--sp-fs-body);
    line-height: 2.5;
  }

  .diff_head {
    min-height: 40px;
  }

  .diff_title {
    font-size: var(--sp-fs-title);
  }

  .diff_panel {
    padding: 39px 0;
    border: none;
    border-radius: 15px;
    box-shadow: none;
    gap: 17px;
  }

  .diff_case {
    gap: 19px;
    padding-bottom: 24px;
    max-width: none;
  }

  .diff_case_title {
    font-size: var(--sp-fs-body-lg);
  }

  .diff_case_problem {
    flex-direction: column;
    gap: 15px;
    padding: var(--sp-space-sm);
    border-width: 1px;
  }

  .diff_case_media {
    flex: none;
    order: -1;
    width: 100%;
    max-width: 100%;
    height: auto;
    align-self: stretch;
    aspect-ratio: 240 / 174;
    object-fit: cover;
  }

  .diff_case_problem p {
    font-size: var(--sp-fs-body);
  }

  .diff_arrow {
    width: 53px;
    height: 15px;
  }

  .diff_case_result {
    padding: 10px;
    box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.2);
  }

  .diff_case_result_inner {
    gap: 6px;
    padding: 19px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
  }

  .diff_case_result_lead {
    font-size: var(--sp-fs-sub);
  }

  .diff_case_result_text {
    font-size: var(--sp-fs-body);
  }

  .pros_head {
    min-height: 40px;
  }

  .pros_title {
    font-size: var(--sp-fs-title);
  }

  .pros_card {
    padding: 31px 0;
    border: none;
    border-radius: 12px;
    box-shadow: none;
  }

  .pros_list {
    gap: 15px;
  }

  .pros_item {
    gap: 15px;
    padding-bottom: 19px;
  }

  .pros_item_head {
    gap: 6px;
  }

  .pros_num {
    font-size: 38px;
  }

  .pros_item_title {
    font-size: var(--sp-fs-body-lg);
  }

  .pros_item_body {
    flex-direction: column;
    gap: 11px;
    padding: var(--sp-space-sm);
  }

  .pros_media {
    flex: none;
    order: -1;
    width: 100%;
    max-width: 100%;
    height: auto;
    align-self: stretch;
    aspect-ratio: 240 / 174;
    object-fit: cover;
  }

  .pros_item_body p {
    font-size: var(--sp-fs-body);
  }

  .corp {
    padding: var(--sp-space-lg) 0;
  }

  .corp > .wrap {
    gap: var(--sp-space-sm);
  }

  .corp_title {
    font-size: var(--sp-fs-title);
  }

  .corp_body {
    max-width: min(100%, 600px);
    gap: 1.8em;
  }

  .corp_body p {
    font-size: var(--sp-fs-body);
  }

  .visit {
    padding: var(--sp-space-md) 0;
  }

  .visit_inner {
    gap: 15px;
  }

  .visit_note {
    font-size: var(--sp-fs-sub);
  }

  .visit_banner {
    padding: 0 9px;
    box-shadow: 0 2.57px 2.57px 0 rgba(0, 0, 0, 0.25);
  }

  .visit_banner img {
    border-radius: 4px;
  }

  .visit_sub {
    font-size: var(--sp-fs-body);
  }

  .visit_cta.cta_pair,
  .visit .cta_pair {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 2.57px 2.57px 0 rgba(0, 0, 0, 0.25);
  }

  .visit .cta_tel {
    flex: 1 1 auto;
    max-width: none;
    width: auto;
    padding: 13px 19px 13px 45px;
    border-radius: 14px 0 0 14px;
  }

  .visit .cta_web {
    flex: 0 0 41%;
    max-width: none;
    width: auto;
    padding: 13px 5px;
    border-radius: 0 14px 14px 0;
  }

  .visit .cta_tel_label,
  .visit .cta_web_label {
    font-size: 11px;
  }

  .visit .cta_tel_num {
    font-size: 22px;
    gap: 6px;
  }

  .visit .cta_web_num {
    font-size: 22px;
    gap: 6px;
  }

  .visit .cta_tel_num img {
    width: 20px;
  }

  .visit .cta_web_num img {
    width: 26px;
  }

  .visit_clinic {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding-top: 18px;
  }

  .visit_map {
    flex: none;
    width: 100%;
    max-width: none;
    align-self: stretch;
    aspect-ratio: 2 / 1;
  }

  .visit_address {
    gap: 0.75em;
    padding: 9px 0;
  }

  .visit_clinic_name {
    font-size: var(--sp-fs-sub);
  }

  .visit_clinic_addr,
  .visit_clinic_hours {
    font-size: var(--sp-fs-body);
  }

  .visit_car {
    padding: 9px 0;
  }

  .visit_car_body {
    gap: 9px;
    align-items: center;
    text-align: center;
  }

  .visit_car_title {
    font-size: var(--sp-fs-sub);
  }

  .visit_car_text {
    font-size: var(--sp-fs-body);
  }

  .footer_inner {
    gap: 30px;
    padding-block: var(--sp-space-sm);
  }

  .footer_mark {
    width: 101px;
    height: 101px;
  }

  .footer_info {
    gap: 10px;
  }

  .footer_logo {
    width: 144px;
  }

  .footer_address {
    gap: 3px;
  }

  .footer_clinic {
    font-size: var(--sp-fs-caption);
  }

  .footer_addr {
    font-size: var(--sp-fs-note);
  }

  .footer_copyright {
    padding: 8px var(--sp-space-sm);
  }

  .footer_copyright_text {
    font-size: var(--sp-fs-note);
  }

  .float_cta {
    display: none;
  }

  .float_cta_bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: block;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
  }

  .float_cta_bar.is-scrolled {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .float_cta_bar.is-scrolled.is-hidden-by-access {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .float_cta_bar_pair.cta_pair {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.18);
  }

  .float_cta_bar .cta_tel,
  .float_cta_bar .cta_web {
    flex: 1 1 50%;
    max-width: none;
    width: auto;
    gap: 4px;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0));
    border-radius: 0;
  }

  .float_cta_bar .cta_tel_label,
  .float_cta_bar .cta_web_label {
    font-size: 10px;
  }

  .float_cta_bar .cta_tel_num,
  .float_cta_bar .cta_web_num {
    font-size: 18px;
    gap: 6px;
  }

  .float_cta_bar .cta_tel_num img {
    width: 18px;
  }

  .float_cta_bar .cta_web_num img {
    width: 22px;
  }

  .page_top {
    right: 12px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0));
    width: 56px;
    height: 56px;
  }
}

/* ========================================
   Mid / narrow breakpoints（799–1300・≤1000・≤750・≤600・≤480）
======================================== */
/* ≤1300px PC: ヘッダーボタンをコンパクトに */
@media (max-width: 1300px) and (min-width: 799px) {
  .header_logo {
    width: 100px;
  }

  .header_clinic {
    padding-left: 8px;
  }

  .header_clinic img {
    width: min(220px, 20vw);
  }

  .header_tel {
    width: 340px;
    padding: 14px 12px 14px 58px;
  }

  .header_web {
    width: 230px;
    padding: 14px 6px;
  }

  .header_tel_icon {
    left: 28px;
    top: 42px;
    width: 24px;
  }

  .header_tel_label {
    font-size: 13px;
  }

  .header_web_label {
    font-size: 12px;
  }

  .header_tel_num {
    font-size: 36px;
  }

  .header_web_num {
    font-size: 24px;
    gap: 8px;
  }

  .header_web_num img {
    width: 30px;
  }
}

/* さらに狭いPC: CTAを一段コンパクトに */
@media (max-width: 1000px) and (min-width: 799px) {
  .header_clinic {
    display: none;
  }

  .header_tel {
    width: 300px;
    padding: 12px 10px 12px 52px;
  }

  .header_web {
    width: 200px;
    padding: 12px 4px;
  }

  .header_tel_icon {
    left: 24px;
    top: 38px;
    width: 22px;
  }

  .header_tel_num {
    font-size: 32px;
  }

  .header_web_num {
    font-size: 22px;
  }

  .header_web_num img {
    width: 26px;
  }
}

/* 1000px以下: ドクターカード縦並び（写真下部）／治療費テーブル縦並び */
@media (max-width: 1000px) {
  .doctor_card,
  .doctor_card--rev {
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .doctor_card_body,
  .doctor_card--rev .doctor_card_body {
    order: 1;
    width: 100%;
    margin: 0;
    padding: 40px 20px 20px;
    gap: 16px;
  }

  .doctor_card_photo,
  .doctor_card--rev .doctor_card_photo {
    position: relative;
    order: 2;
    top: auto;
    left: auto;
    right: auto;
    bottom: 0;
    width: min(420px, 70%);
    margin: 0 auto 0 8%;
    margin-top: auto;
    align-self: flex-start;
    overflow: visible;
  }

  .doctor_quotes {
    left: 56%;
    right: auto;
    bottom: 7%;
    gap: 6px;
    width: max-content;
    max-width: none;
  }

  .doctor_quotes p {
    white-space: nowrap;
  }

  .doctor_history_label {
    width: 100%;
  }

  .price_block,
  .price_block tbody,
  .price_block tr,
  .price_block th,
  .price_block td {
    display: block;
    width: 100%;
  }

  .price_block {
    border: none;
  }

  .price_block_cat {
    width: 100%;
    border: 1px solid #d9d9d9;
  }

  .price_block tbody th:not(.price_block_cat),
  .price_block td {
    width: 100%;
    box-sizing: border-box;
  }

  /* 縦並び時: 項目名に薄いベージュで区切りを付ける */
  .price_block tbody th:not(.price_block_cat) {
    background: var(--bg-faq);
  }

  .price_block td {
    text-align: left;
    border-top: none;
    background: var(--white);
  }
}

/* ドクター吹き出し: 画面外はみ出し回避の段階調整 */
@media (max-width: 750px) {
  .doctor_quotes {
    left: 30%;
  }
}

/* ≤600px: ドクター吹き出しフォント */
@media (max-width: 600px) {
  .doctor_quotes p {
    font-size: 13px;
  }
}

/* ≤480px: 改行ユーティリティ・ドクター中央寄せ・料金例縦積み */
@media (max-width: 480px) {
  .u-br-480 {
    display: block;
  }

  .footer_inner {
    flex-direction: column;
    gap: var(--sp-space-sm);
    text-align: center;
  }

  .footer_info {
    align-items: center;
  }

  .doctor_card_photo,
  .doctor_card--rev .doctor_card_photo {
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }

  .doctor_quotes {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  /* 奥歯1本 / 2本の料金例テーブル内を縦積み */
  #price .price_examples .price_example,
  #price .price_examples .price_example thead,
  #price .price_examples .price_example tbody,
  #price .price_examples .price_example tr,
  #price .price_examples .price_example th,
  #price .price_examples .price_example td {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #price .price_examples .price_example tbody th {
    padding-bottom: 14px;
    border-bottom: none;
    background: var(--bg-faq);
  }

  #price .price_examples .price_example thead .price_example_cols th {
    background: none;
  }

  #price .price_examples .price_example thead .price_example_cols th:first-child {
    background: var(--bg-faq);
    border-bottom: none;
  }

  #price .price_examples .price_example thead .price_example_cols th:last-child {
    border-top: 1px solid #000;
  }

  #price .price_examples .price_example tbody .price_example_total th,
  #price .price_examples .price_example tbody .price_example_total td {
    background: #f3f3f3;
  }

  #price .price_examples .price_example tbody td {
    text-align: left;
    padding-top: 14px;
    padding-bottom: 14px;
    font-weight: 700;
    white-space: normal;
    background: var(--white);
  }

  .price_loan_first {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* ----------------------------------------
     CTA ≤480: シンプル横並び（ラベルなし・番号＋WEB予約のみ）
  ---------------------------------------- */
  .cta_pair,
  .cta_mid .cta_pair,
  .visit_cta.cta_pair,
  .visit .cta_pair {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  }

  .cta_tel_label,
  .cta_web_label,
  .cta_mid .cta_tel_label,
  .cta_mid .cta_web_label,
  .visit .cta_tel_label,
  .visit .cta_web_label,
  .float_cta_bar .cta_tel_label,
  .float_cta_bar .cta_web_label {
    display: none;
  }

  .cta_tel,
  .cta_web,
  .cta_mid .cta_tel,
  .cta_mid .cta_web,
  .visit .cta_tel,
  .visit .cta_web {
    flex: 1 1 50%;
    width: auto;
    max-width: none;
    gap: 0;
    justify-content: center;
  }

  .cta_tel,
  .cta_mid .cta_tel,
  .visit .cta_tel {
    flex: 1 1 55%;
    padding: 11px 12px 11px 14px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-right: 0;
    border-radius: 12px 0 0 12px;
  }

  .cta_web,
  .cta_mid .cta_web,
  .visit .cta_web {
    flex: 1 1 45%;
    padding: 11px 6px;
    border-radius: 0 12px 12px 0;
  }

  .cta_tel_num,
  .cta_web_num,
  .cta_mid .cta_tel_num,
  .cta_mid .cta_web_num,
  .visit .cta_tel_num,
  .visit .cta_web_num {
    gap: 6px;
    white-space: nowrap;
  }

  .cta_tel_num,
  .cta_mid .cta_tel_num,
  .visit .cta_tel_num {
    font-size: 22px;
  }

  .cta_web_num,
  .cta_mid .cta_web_num,
  .visit .cta_web_num {
    font-size: 18px;
  }

  .cta_tel_num img,
  .cta_mid .cta_tel_num img,
  .visit .cta_tel_num img {
    width: 17px;
  }

  .cta_web_num img,
  .cta_mid .cta_web_num img,
  .visit .cta_web_num img {
    width: 22px;
  }

  .cta_mid .cta_pair {
    max-width: 100%;
    padding-inline: 0;
  }

  .float_cta_bar_pair.cta_pair {
    border-radius: 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.18);
  }

  .float_cta_bar .cta_tel,
  .float_cta_bar .cta_web {
    flex: 1 1 50%;
    gap: 0;
    padding: 12px 8px calc(12px + env(safe-area-inset-bottom, 0));
    border-radius: 0;
  }

  .float_cta_bar .cta_tel {
    border: 0;
    border-right: 0;
  }

  .float_cta_bar .cta_tel_num,
  .float_cta_bar .cta_web_num {
    font-size: 18px;
    gap: 6px;
    white-space: nowrap;
  }

  .float_cta_bar .cta_tel_num img {
    width: 16px;
  }

  .float_cta_bar .cta_web_num img {
    width: 20px;
  }
}
