/* ==================================================
   TOP：ファーストビュー
   css/sections/top-hero.css
================================================== */

html,
body {
  margin: 0;
  padding: 0;
}

/* ==================================================
   基本設定
================================================== */

.nobo-fv {
  --fv-navy: #142f53;
  --fv-maincolor: #0272d4;
  
  --fv-text: #485563;
  --fv-gold: #96743b;
  --fv-line: #d8c39f;
  --fv-background: #faf9f6;
  --fv-hover: #23466e;

  --fv-small-size: 16px;
  --fv-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "YuMincho",
    serif;

  /* 固定ヘッダー分の余白 */
  --nobo-fv-header-space: var(--header-total-height, 88px);

  --nobo-fv-height: 100vh;
  --nobo-fv-side-space: clamp(32px, 5vw, 96px);
  --nobo-fv-padding-top: 28px;
  --nobo-fv-padding-bottom: 36px;

  /* 写真の表示位置 */
  --nobo-fv-photo-position: center center;

  /* スライダー */
  --nobo-fv-fade-duration: 2s;
  --nobo-fv-zoom-duration: 8s;
  --nobo-fv-zoom-scale: 1.1;

  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: none;
  min-height: var(--nobo-fv-height);

  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;

  color: var(--fv-navy);
  background: var(--fv-background);
  font-family: var(--fv-serif);
  font-size: var(--fv-small-size);
}

@supports (height: 100svh) {
  .nobo-fv {
    --nobo-fv-height: 100svh;
  }
}

.nobo-fv,
.nobo-fv::before,
.nobo-fv::after,
.nobo-fv *,
.nobo-fv *::before,
.nobo-fv *::after {
  box-sizing: border-box;
}

.nobo-fv :where(h1, p, ul) {
  margin: 0;
}

.nobo-fv ul {
  padding: 0;
  list-style: none;
}

.nobo-fv img {
  display: block;
  max-width: 100%;
}

.nobo-fv svg {
  display: block;
}

/* ==================================================
   背景写真・スライダー
================================================== */

.nobo-fv__visual {
  position: absolute;
  z-index: 0;
  inset: 0;

  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;

  border-radius: 0;
  pointer-events: none;
  user-select: none;
}

.nobo-fv .nobo-fv__portrait {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;

  object-fit: cover;
  object-position: var(--nobo-fv-photo-position);

  opacity: 0;
  transform: scale(var(--nobo-fv-zoom-scale));
  transform-origin: center;
  backface-visibility: hidden;

  /*
    非表示になる写真は、フェード終了後に拡大率を戻す
  */
  transition:
    opacity var(--nobo-fv-fade-duration) ease-in-out,
    transform 0s linear var(--nobo-fv-fade-duration);
}

.nobo-fv .nobo-fv__portrait.is-active,
.nobo-fv .nobo-fv__portrait:only-of-type {
  opacity: 1;
  transform: scale(1);

  transition:
    opacity var(--nobo-fv-fade-duration) ease-in-out,
    transform var(--nobo-fv-zoom-duration) linear;
}

/* ==================================================
   白の透過レイヤー
================================================== */

.nobo-fv__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgb(255 255 255 / 96%) 0%,
    rgb(255 255 255 / 92%) 24%,
    rgb(255 255 255 / 78%) 38%,
    rgb(255 255 255 / 35%) 51%,
    rgb(255 255 255 / 0%) 66%
  );

  pointer-events: none;
}

/* ==================================================
   背景の曲線装飾
================================================== */

.nobo-fv__decoration {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.nobo-fv__decoration::before {
  content: "";
  position: absolute;
  top: -38%;
  right: -18%;
  width: 75%;
  height: 110%;

  border: 1px solid rgb(150 116 59 / 30%);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.nobo-fv__decoration::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: -15%;
  width: 65%;
  height: 36%;

  border-bottom: 1px solid rgb(150 116 59 / 24%);
  border-radius: 50%;
  transform: rotate(12deg);
}

/* ==================================================
   メインレイアウト
================================================== */

.nobo-fv__inner {
  position: relative;
  z-index: 2;

  display: grid;
  flex: 1;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);
  align-items: center;
  column-gap: clamp(28px, 3vw, 56px);

  width: min(100%, 1920px);
  margin-inline: auto;

  padding:
    calc(
      var(--nobo-fv-header-space) +
      var(--nobo-fv-padding-top)
    )
    var(--nobo-fv-side-space)
    var(--nobo-fv-padding-bottom);
}

.nobo-fv__content {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

/* ==================================================
   地域名・メインキャッチ
================================================== */

.nobo-fv__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;

  max-width: 100%;
  margin-bottom: 18px;

  color: var(--fv-gold);
  font-size: var(--fv-small-size);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.nobo-fv__eyebrow::before,
.nobo-fv__eyebrow::after {
  content: "";
  flex: 0 0 clamp(20px, 3vw, 50px);
  height: 1px;
  background: var(--fv-line);
}

.nobo-fv__title {
  margin: 0;
  color: var(--fv-navy);

  font-size: clamp(46px, 4.5vw, 86px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.035em;

  border: 0;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nobo-fv__title-line {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  text-decoration: none;
}

/* 強調前の2行を一回り小さく */
.nobo-fv__title > .nobo-fv__title-line:nth-child(-n + 2) {
  font-size: 0.75em;
}

/* 疑似要素による装飾は使用しない */
.nobo-fv__title::before,
.nobo-fv__title::after,
.nobo-fv__title-line::before,
.nobo-fv__title-line::after {
  content: none;
}

.nobo-fv__description {
  margin-top: 20px;

  color: var(--fv-navy);
  font-size: var(--fv-small-size);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}



/* ==================================================
   対応する治療方法
================================================== */

.nobo-fv__treatments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.nobo-fv__treatment {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;

  min-width: 0;
  max-width: 100%;
  padding: 6px 12px;

  border: 1px solid var(--fv-gold);
  border-radius: 3px;

  color: var(--fv-navy);
  background: rgb(255 255 255 / 70%);
  font-size: var(--fv-small-size);
  line-height: 1.6;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

/* ==================================================
   無料相談
   囲みカードではなく、余白で整理する
================================================== */

.nobo-fv__consultation {
  width: 100%;
  margin-top: 30px;
}

.nobo-fv__consultation-heading {
  display: flex;
  align-items: center;
  gap: 16px;

  color: var(--fv-navy);
  font-size: var(--fv-small-size);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}

.nobo-fv__consultation-heading::before,
.nobo-fv__consultation-heading::after {
  content: "";
  flex: 0 0 38px;
  height: 1px;
  background: var(--fv-gold);
}

.nobo-fv__consultation-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 16px;
  margin-top: 12px;
}

.nobo-fv__fee {
  display: flex;
  align-items: baseline;
  gap: 12px;
  max-width: 100%;
  color: var(--fv-navy);
}

.nobo-fv__fee-label {
  font-size: clamp(23px, 2vw, 36px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.nobo-fv__fee-value {
  flex: 0 0 auto;
  color: var(--fv-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 5.5vw, 100px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.nobo-fv__fee-unit {
  margin-left: 5px;
  font-family: var(--fv-serif);
  font-size: clamp(27px, 2.2vw, 38px);
}

.nobo-fv__consultation-description {
  min-width: 0;
  max-width: 100%;
  padding-left: 22px;
  border-left: 1px solid var(--fv-gold);

  color: var(--fv-navy);
  font-size: var(--fv-small-size);
  line-height: 1.8;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.nobo-fv__consultation-description span {
  display: block;
}

/* ==================================================
   予約ボタン：発光・光沢アニメーション
================================================== */

.nobo-fv__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  width: 100%;
  min-height: 66px;
  margin-top: 18px;
  padding: 16px 24px;

  border: 1px solid var(--fv-maincolor, #0272d4);
  border-radius: 5px;

  color: #fff;
  background-color: var(--fv-maincolor, #0272d4);
  background-image: linear-gradient(
    180deg,
    rgb(255 255 255 / 18%) 0%,
    rgb(255 255 255 / 0%) 55%,
    rgb(0 35 100 / 10%) 100%
  );

  box-shadow:
    0 0 16px rgb(2 114 212 / 24%),
    0 6px 20px rgb(2 114 212 / 20%),
    inset 0 1px 0 rgb(255 255 255 / 40%);

  text-decoration: none;
  -webkit-tap-highlight-color: transparent;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* 左から右へ流れる光 */
.nobo-fv__cta::before {
  content: "";

  position: absolute;
  z-index: 0;
  inset: 0;

  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgb(255 255 255 / 12%) 40%,
    rgb(255 255 255 / 55%) 50%,
    rgb(255 255 255 / 12%) 60%,
    transparent 70%
  );

  pointer-events: none;
  transform: translateX(-120%);
  animation: nobo-fv-cta-shine 4.2s ease-in-out infinite;
}

/* ボタン内側の細い光沢 */
.nobo-fv__cta::after {
  content: "";

  position: absolute;
  z-index: 0;
  inset: 0;

  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: inherit;

  pointer-events: none;
}

.nobo-fv__cta:visited {
  color: #fff;
}

.nobo-fv__cta-label {
  position: relative;
  z-index: 1;

  flex: 1;
  min-width: 0;

  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.035em;
  text-align: center;
  overflow-wrap: anywhere;
}

.nobo-fv__cta-arrow {
  position: relative;
  z-index: 1;

  display: block;
  flex: 0 0 24px;

  width: 24px;
  height: 24px;

  transition: transform 0.25s ease;
}

.nobo-fv__cta:focus-visible {
  outline: 3px solid var(--fv-navy, #102c64);
  outline-offset: 4px;
}

/* 光が通過した後は間を置く */
@keyframes nobo-fv-cta-shine {
  0%,
  15% {
    transform: translateX(-120%);
  }

  48%,
  100% {
    transform: translateX(120%);
  }
}

/* ==================================================
   ホバー
================================================== */

@media (hover: hover) and (pointer: fine) {
  .nobo-fv__cta:hover {
    border-color: var(--fv-hover, #005fb8);
    color: #fff;
    background-color: var(--fv-hover, #005fb8);

    box-shadow:
      0 0 24px rgb(2 114 212 / 36%),
      0 8px 26px rgb(2 114 212 / 28%),
      inset 0 1px 0 rgb(255 255 255 / 50%);
  }

  .nobo-fv__cta:hover .nobo-fv__cta-arrow {
    transform: translateX(4px);
  }
}

/* ==================================================
   動きを抑える設定
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-fv__cta,
  .nobo-fv__cta-arrow {
    transition: none;
  }

  .nobo-fv__cta::before {
    animation: none;
    opacity: 0;
  }

  .nobo-fv__cta:hover .nobo-fv__cta-arrow {
    transform: none;
  }
}

/* ==================================================
   右下：3つのバッジ（平行四辺形）
================================================== */

.nobo-fv__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
  align-items: stretch;
  gap: clamp(10px, 1vw, 20px);

  width: 100%;
  max-width: 740px;
  min-width: 0;
  margin-bottom: 24px;
  justify-self: end;

  /* 傾けた枠が左右にはみ出す分を確保 */
  padding-inline: 16px;
}

.nobo-fv__badge {
  --badge-skew: -10deg;

  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  min-width: 0;
  width: 100%;
  min-height: 170px;
  aspect-ratio: auto;
  padding: 22px 18px;

  border: 0;
  border-radius: 0;

  color: var(--fv-navy);
  background: transparent;
  text-align: center;
}

/* 平行四辺形の背景・外枠 */
.nobo-fv__badge::before {
  content: "";

  position: absolute;
  z-index: -2;
  inset: 0;

  box-sizing: border-box;
  border: 1px solid var(--fv-gold);
  border-radius: 0;
  background: rgb(255 255 255 / 92%);

  transform: skewX(var(--badge-skew));
  pointer-events: none;
}

/* 内側の細い輪郭 */
.nobo-fv__badge::after {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 5px;

  box-sizing: border-box;
  border: 1px solid var(--fv-line);
  border-radius: 0;

  transform: skewX(var(--badge-skew));
  pointer-events: none;
}

.nobo-fv__badge-label,
.nobo-fv__badge-text {
  max-width: 100%;
  margin: 0;

  font-size: clamp(19px, 1.35vw, 25px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.nobo-fv__badge-line {
  display: block;
}

.nobo-fv__badge-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;

  max-width: 100%;
}

.nobo-fv__badge-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 4.4vw, 78px);
  font-weight: 400;
  line-height: 1;
}

.nobo-fv__badge-unit {
  font-size: clamp(23px, 1.8vw, 32px);
  font-weight: 500;
  line-height: 1.5;
}

/* ==================================================
   スマートフォン
================================================== */

@media (max-width: 767px) {
  .nobo-fv__badges {
    gap: 8px;
    padding-inline: 10px;
  }

  .nobo-fv__badge {
    --badge-skew: -7deg;

    min-height: 132px;
    padding: 16px 10px;
    gap: 5px;
  }

  .nobo-fv__badge::after {
    inset: 4px;
  }

  .nobo-fv__badge-label,
  .nobo-fv__badge-text {
    font-size: clamp(12px, 3.2vw, 17px);
    line-height: 1.6;
  }

  .nobo-fv__badge-number {
    font-size: clamp(36px, 9vw, 52px);
  }

  .nobo-fv__badge-unit {
    font-size: clamp(16px, 4vw, 23px);
  }
}

/* ==================================================
   FV下部：治療方針の帯
================================================== */

.nobo-fv__benefits {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: 100%;

  border-top: 1px solid rgb(216 195 159 / 45%);
  background: rgb(255 255 255 / 96%);
}

.nobo-fv__benefits-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;

  width: min(100%, 1440px);
  margin-inline: auto;
  padding: 18px 32px;
}

.nobo-fv__benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  padding-inline: 24px;
}

.nobo-fv__benefit + .nobo-fv__benefit {
  border-left: 1px solid var(--fv-line);
}

.nobo-fv__benefit-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: var(--fv-gold);
}

.nobo-fv__benefit-text {
  min-width: 0;
  color: var(--fv-navy);
  font-size: var(--fv-small-size);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

/* ==================================================
   旧構成の装飾
================================================== */

.nobo-fv__aligner,
.nobo-fv__wave {
  display: none;
}

/* ==================================================
   コンパクトPC
   バッジを独立した下段に配置
================================================== */

@media screen and (min-width: 1101px) and (max-width: 1399px) {
  .nobo-fv {
    --nobo-fv-side-space: 40px;
    --nobo-fv-padding-top: 24px;
    --nobo-fv-padding-bottom: 28px;
  }

  .nobo-fv__inner {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(0, 0.85fr);
    row-gap: 28px;
  }

  .nobo-fv__title {
    font-size: clamp(48px, 4.5vw, 62px);
  }

  .nobo-fv__consultation {
    margin-top: 24px;
  }

  .nobo-fv__consultation-summary {
    column-gap: 18px;
  }

  .nobo-fv__consultation-description {
    padding-left: 18px;
  }

  .nobo-fv__badges {
    grid-column: 1 / -1;
    width: min(100%, 620px);
    margin-bottom: 0;
  }

  .nobo-fv__badge-label,
  .nobo-fv__badge-text {
    font-size: 21px;
  }
}

/* ==================================================
   タブレット
================================================== */

@media screen and (min-width: 768px) and (max-width: 1100px) {
  .nobo-fv {
    --nobo-fv-header-space: var(--header-total-height, 74px);
    --nobo-fv-side-space: 32px;
    --nobo-fv-padding-top: 28px;
    --nobo-fv-padding-bottom: 32px;
  }

  .nobo-fv__overlay {
    background: linear-gradient(
      90deg,
      rgb(255 255 255 / 96%) 0%,
      rgb(255 255 255 / 90%) 35%,
      rgb(255 255 255 / 55%) 62%,
      rgb(255 255 255 / 15%) 100%
    );
  }

  .nobo-fv__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .nobo-fv__content {
    width: 75%;
    max-width: 660px;
  }

  .nobo-fv__title {
    font-size: clamp(48px, 6vw, 64px);
  }

  .nobo-fv__consultation-summary {
    gap: 16px;
  }

  .nobo-fv__fee-label {
    font-size: 29px;
  }

  .nobo-fv__fee-value {
    font-size: 78px;
  }

  .nobo-fv__fee-unit {
    font-size: 32px;
  }

  .nobo-fv__badges {
    width: min(100%, 650px);
    margin-bottom: 0;
  }

  .nobo-fv__badge-label,
  .nobo-fv__badge-text {
    font-size: 21px;
  }

  .nobo-fv__badge-number {
    font-size: 66px;
  }

  .nobo-fv__benefits-inner {
    padding-inline: 24px;
  }

  .nobo-fv__benefit {
    gap: 12px;
    padding-inline: 18px;
  }
}

/* ==================================================
   スマートフォン
   上部に写真、下部にコピーとバッジ
================================================== */

@media screen and (max-width: 767px) {
  .nobo-fv {
    --nobo-fv-header-space: var(--header-total-height, 68px);
    --nobo-fv-side-space: 24px;
    --nobo-fv-padding-bottom: 32px;
    --nobo-fv-zoom-scale: 1.05;

    --nobo-fv-photo-height: clamp(360px, 105vw, 520px);
    --nobo-fv-photo-position: center top;
  }

  .nobo-fv__visual {
    bottom: auto;
    height: calc(
      var(--nobo-fv-header-space) +
      var(--nobo-fv-photo-height)
    );
  }

  .nobo-fv .nobo-fv__portrait {
    transform-origin: center top;
  }

  .nobo-fv__overlay {
    bottom: auto;
    height: calc(
      var(--nobo-fv-header-space) +
      var(--nobo-fv-photo-height) +
      2px
    );

    background: linear-gradient(
      180deg,
      rgb(250 249 246 / 0%) 0%,
      rgb(250 249 246 / 0%) 38%,
      rgb(250 249 246 / 35%) 58%,
      rgb(250 249 246 / 88%) 80%,
      var(--fv-background) 100%
    );
  }

  .nobo-fv__decoration {
    display: none;
  }

  .nobo-fv__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;

    padding:
      calc(
        var(--nobo-fv-header-space) +
        var(--nobo-fv-photo-height) -
        110px
      )
      var(--nobo-fv-side-space)
      var(--nobo-fv-padding-bottom);
  }

  .nobo-fv__content {
    width: min(100%, 540px);
    max-width: none;
    margin-inline: auto;
  }

  .nobo-fv__eyebrow {
    gap: 10px;
    margin-bottom: 16px;
    letter-spacing: 0;
  }

  .nobo-fv__eyebrow::before,
  .nobo-fv__eyebrow::after {
    flex-basis: 16px;
  }

  .nobo-fv__title {
    font-size: clamp(32px, 8.4vw, 54px);
    line-height: 1.45;
    letter-spacing: 0.025em;
  }

  .nobo-fv__description {
    margin-top: 18px;
    line-height: 1.85;
    letter-spacing: 0;
  }

  .nobo-fv__treatments {
    gap: 8px;
    margin-top: 18px;
  }

  .nobo-fv__treatment {
    flex: 1 1 140px;
    padding: 8px 10px;
  }

  .nobo-fv__consultation {
    margin-top: 28px;
  }

  .nobo-fv__consultation-heading {
    justify-content: center;
    gap: 12px;
    letter-spacing: 0;
    text-align: center;
  }

  .nobo-fv__consultation-heading::before,
  .nobo-fv__consultation-heading::after {
    flex-basis: 24px;
  }

  .nobo-fv__consultation-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 18px;
  }

  .nobo-fv__fee {
    gap: 14px;
  }

  .nobo-fv__fee-label {
    font-size: 27px;
  }

  .nobo-fv__fee-value {
    font-size: 80px;
  }

  .nobo-fv__fee-unit {
    font-size: 32px;
  }

  .nobo-fv__consultation-description {
    padding-left: 16px;
    line-height: 1.85;
  }

  .nobo-fv__cta {
    gap: 14px;
    min-height: 64px;
    margin-top: 22px;
    padding: 15px 18px;
  }

  .nobo-fv__cta-label {
    font-size: 22px;
    letter-spacing: 0;
  }

  .nobo-fv__cta-arrow {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  /*
    19pxのブランド名を読みやすく収めるため、
    SPは2列＋最後のバッジを中央配置
  */
  .nobo-fv__badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    width: min(100%, 420px);
    max-width: none;
    margin: 0 auto;
    justify-self: center;
  }

  .nobo-fv__badge {
    padding: 18px 10px;
  }

  .nobo-fv__badge-label,
  .nobo-fv__badge-text {
    font-size: var(--fv-small-size);
    line-height: 1.6;
  }

  .nobo-fv__badge-number {
    font-size: 58px;
  }

  .nobo-fv__badge-unit {
    font-size: 24px;
  }

  .nobo-fv__badge--brands {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 14px) / 2);
  }

  /* 下部の案内 */
  .nobo-fv__benefits-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 24px;
  }

  .nobo-fv__benefit {
    justify-content: flex-start;
    gap: 14px;
    padding: 18px 0;
  }

  .nobo-fv__benefit + .nobo-fv__benefit {
    border-top: 1px solid var(--fv-line);
    border-left: 0;
  }

  .nobo-fv__benefit-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .nobo-fv__benefit-text {
    line-height: 1.8;
    letter-spacing: 0;
  }
}

/* ==================================================
   小型スマートフォン
================================================== */

@media screen and (max-width: 359px) {
  .nobo-fv {
    --nobo-fv-side-space: 18px;
  }

  .nobo-fv__eyebrow {
    gap: 6px;
  }

  .nobo-fv__eyebrow::before,
  .nobo-fv__eyebrow::after {
    flex-basis: 10px;
  }

  .nobo-fv__title {
    font-size: 30px;
    letter-spacing: 0.015em;
  }

  .nobo-fv__consultation-heading {
    gap: 8px;
  }

  .nobo-fv__consultation-heading::before,
  .nobo-fv__consultation-heading::after {
    flex-basis: 16px;
  }

  .nobo-fv__fee-label {
    font-size: 25px;
  }

  .nobo-fv__fee-value {
    font-size: 72px;
  }

  .nobo-fv__cta {
    gap: 10px;
    padding-inline: 14px;
  }

  .nobo-fv__cta-label {
    font-size: 21px;
  }

  /* バッジ内のブランド名を分断しない幅を確保 */
  .nobo-fv__badges {
    grid-template-columns: minmax(0, 1fr);
    width: 190px;
  }

  .nobo-fv__badge--brands {
    grid-column: auto;
    width: 100%;
  }

  .nobo-fv__benefits-inner {
    padding-inline: 18px;
  }
}

/* ==================================================
   高さの低いPC画面
   固定高で切らず、内容に応じて縦に広げる
================================================== */

@media screen and (min-width: 1101px) and (max-height: 800px) {
  .nobo-fv {
    --nobo-fv-padding-top: 20px;
    --nobo-fv-padding-bottom: 24px;
  }

  .nobo-fv__title {
    font-size: clamp(46px, 4vw, 68px);
    line-height: 1.25;
  }

  .nobo-fv__eyebrow {
    margin-bottom: 12px;
  }

  .nobo-fv__description {
    margin-top: 14px;
  }

  .nobo-fv__treatments {
    margin-top: 12px;
  }

  .nobo-fv__consultation {
    margin-top: 22px;
  }

  .nobo-fv__fee-value {
    font-size: 76px;
  }

  .nobo-fv__benefits-inner {
    padding-block: 14px;
  }
}

/* ==================================================
   動きを抑える設定
   自動切り替えの停止はJS側で対応
================================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-fv .nobo-fv__portrait,
  .nobo-fv .nobo-fv__portrait.is-active,
  .nobo-fv .nobo-fv__portrait:only-of-type {
    transform: none;
    transition: none;
  }

  .nobo-fv__cta,
  .nobo-fv__cta-arrow {
    transition: none;
  }

  .nobo-fv__cta:hover .nobo-fv__cta-arrow {
    transform: none;
  }
}


/* ==================================================
   公開前の表示調整
================================================== */

/* 対応ブランドのバッジ：各行を改行せず1行で表示する
   - 「エンジェルアライナー」（10文字）がバッジに収まらない幅のときだけ、文字を自動で小さくする
   - --fv-brand-fit：バッジの幅に対する1文字あたりの最大サイズ（小さくするほど余白が増える） */
.nobo-fv__badge--brands {
  --fv-brand-fit: 9.2cqi;

  container-type: inline-size;
}

.nobo-fv__badge--brands .nobo-fv__badge-line {
  font-size: min(1em, var(--fv-brand-fit));
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

/* スマホ：「無料相談について詳しく見る」を1行に収める */
@media screen and (max-width: 767px) {
  .nobo-fv__cta {
    gap: 10px;
    padding-inline: 18px;
  }

  .nobo-fv__cta-label {
    font-size: clamp(14px, 4.1vw, 17px);
    white-space: nowrap;
  }
}
