/* ========================================
   TOP：矯正治療を支える4つの特徴
   css/sections/top-features.css

   ・左右交互のレイアウト・スライドイン
   ・本文19pxを維持
   ・CTA：長方形＋鮮やかな青＋光の演出
======================================== */

/* ========================================
   共通設定
======================================== */

.nobo-features {
  /* 配色 */
  --feature-maincolor: #0272d4;
  --feature-navy: #142f53;
  --feature-text: #485563;
  --feature-gold: #96743b;
  --feature-border: #d8c39f;
  --feature-background: #f4f6fa;
  --feature-hover: #005fb8;
  --feature-white: #fff;

  /* 既存の参照との互換性 */
  --feature-blue: var(--feature-navy);
  --feature-light-blue: #ecf3fb;

  /* 文字・形状 */
  --feature-small-size: 19px;
  --feature-radius: 14px;

  --feature-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  /* CTA */
  --feature-cta-width: 520px;
  --feature-cta-radius: 2px;
  --feature-shine-duration: 4.2s;

  /* スライドイン */
  --nobo-reveal-duration: 1500ms;
  --nobo-reveal-distance: 64px;
  --nobo-reveal-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --feature-reveal-opacity-duration: 1200ms;

  position: relative;
  isolation: isolate;

  width: 100%;
  margin: 0;
  padding: 76px 0 32px;
  overflow: hidden;

  color: var(--feature-text);
  background: var(--feature-background);
  font-family: var(--feature-serif);

  scroll-margin-top: var(--header-total-height, 88px);
}

.nobo-features,
.nobo-features::before,
.nobo-features::after,
.nobo-features *,
.nobo-features *::before,
.nobo-features *::after {
  box-sizing: border-box;
}

.nobo-features :where(h2, h3, p, figure, ol, ul) {
  margin: 0;
}

.nobo-features :where(ol, ul) {
  padding: 0;
  list-style: none;
}

.nobo-features img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.nobo-features svg {
  display: block;
  width: 100%;
  height: 100%;

  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========================================
   セクション背景
======================================== */

.nobo-features::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;

  background:
    radial-gradient(
      ellipse at 9% 24%,
      rgb(255 255 255 / 90%),
      transparent 53%
    ),
    radial-gradient(
      ellipse at 91% 76%,
      rgb(222 233 248 / 55%),
      transparent 57%
    );

  pointer-events: none;
}

.nobo-features__background-word {
  position: absolute;
  z-index: -1;
  top: -30px;
  left: 50%;

  transform: translateX(-50%);

  color: rgb(20 47 83 / 2.5%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(100px, 15vw, 210px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;

  pointer-events: none;
  user-select: none;
}

.nobo-features__inner {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: 32px;
}

/* ========================================
   セクション見出し
======================================== */

.nobo-features__header {
  position: relative;
  z-index: 1;

  margin-bottom: 48px;
  text-align: center;
}

.nobo-features__eyebrow {
  color: var(--feature-gold);

  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--feature-small-size);
  line-height: 1.6;
  letter-spacing: 0.16em;

  overflow-wrap: anywhere;
}

.nobo-features__title {
  margin-top: 12px;

  color: var(--feature-navy);
  font-size: clamp(25px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.07em;

  overflow-wrap: anywhere;
}

.nobo-features__title span {
  display: inline-block;
  max-width: 100%;
}

.nobo-features__lead {
  margin-top: 18px;

  color: var(--feature-text);
  font-size: var(--feature-small-size);
  line-height: 1.9;
  letter-spacing: 0.025em;

  overflow-wrap: anywhere;
}

.nobo-features__lead span {
  display: block;
}

.nobo-features__header-line {
  display: block;

  width: 60px;
  height: 1px;
  margin: 22px auto 0;

  background: var(--feature-border);
}

/* ========================================
   共通レイアウト・レイヤー
======================================== */

.nobo-features__list {
  position: relative;
  isolation: isolate;
}

.nobo-feature {
  --feature-reveal-direction: -1;

  position: relative;
  isolation: isolate;
  z-index: 0;

  display: grid;
  min-width: 0;
}

.nobo-feature__content,
.nobo-feature__visual,
.nobo-feature__treatments,
.nobo-feature__support-visual,
.nobo-feature__benefits,
.nobo-feature__action {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.nobo-feature__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 14px;
  row-gap: 6px;
}

.nobo-feature__number {
  flex: 0 0 auto;

  color: var(--feature-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.3vw, 70px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.06em;
}

.nobo-feature__english {
  min-width: 0;
  padding-bottom: 5px;

  color: var(--feature-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--feature-small-size);
  line-height: 1.5;
  letter-spacing: 0.06em;

  overflow-wrap: anywhere;
}

.nobo-feature__title {
  margin-top: 14px;

  color: var(--feature-navy);
  font-size: clamp(24px, 2.25vw, 29px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.05em;

  overflow-wrap: anywhere;
}

.nobo-feature__description {
  margin-top: 18px;

  color: var(--feature-text);
  font-size: var(--feature-small-size);
  line-height: 1.9;
  letter-spacing: 0.025em;

  overflow-wrap: anywhere;
}

/* 説明文は表示幅に合わせて自然に折り返す */
.nobo-feature__description br,
.nobo-feature__supplement p br {
  display: none;
}

/* 共通の写真枠 */
.nobo-feature__visual,
.nobo-feature__treatments-image {
  overflow: hidden;

  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: var(--feature-radius);

  background: #e6e8eb;
  box-shadow: 0 3px 7px rgb(19 52 98 / 8%);
}

.nobo-features .nobo-feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 特徴間の接続線 */
.nobo-feature__connector {
  position: absolute;
  z-index: 2;

  width: 1px;
  height: 40px;

  background: var(--feature-border);
  pointer-events: none;
}

.nobo-feature__connector::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -4px;

  width: 9px;
  height: 9px;

  border: 2px solid var(--feature-background);
  border-radius: 50%;

  background: var(--feature-gold);
  box-shadow: 0 0 0 1px rgb(150 116 59 / 25%);
}

/* ========================================
   左右交互のスライドイン
======================================== */

.nobo-feature--diagnosis,
.nobo-feature--payment {
  --feature-reveal-direction: -1;
}

.nobo-feature--options,
.nobo-feature--monitoring {
  --feature-reveal-direction: 1;
}

/* JSが準備クラスを付けた場合のみ有効 */
.nobo-features
  .nobo-feature[data-nobo-reveal].is-nobo-reveal-ready {
  opacity: 0;

  transform: translateX(
    calc(
      var(--nobo-reveal-distance) *
      var(--feature-reveal-direction)
    )
  );

  transition-property: opacity, transform;
  transition-duration:
    var(--feature-reveal-opacity-duration),
    var(--nobo-reveal-duration);
  transition-timing-function:
    ease,
    var(--nobo-reveal-easing);
  transition-delay: var(--nobo-reveal-delay, 0ms);
}

.nobo-features
  .nobo-feature[data-nobo-reveal].is-nobo-reveal-ready.is-nobo-reveal-visible {
  opacity: 1;
  transform: none;
}

.nobo-features
  .nobo-feature[data-nobo-reveal].is-nobo-reveal-ready:focus-within {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ========================================
   01：無料相談・診査診断
======================================== */

.nobo-feature--diagnosis {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 38px;

  padding-bottom: 64px;
}

.nobo-feature--diagnosis .nobo-feature__content {
  padding: 12px 0 18px;
}

.nobo-feature--diagnosis .nobo-feature__visual {
  aspect-ratio: 1.2;
}

.nobo-feature--diagnosis .nobo-feature__image {
  object-position: center;
}

.nobo-feature--diagnosis .nobo-feature__connector {
  right: 51%;
  bottom: 12px;

  transform: rotate(-12deg);
  transform-origin: top;
}

/* 診査診断 → 治療計画 → 見積り */
.nobo-feature__steps {
  --feature-step-gap: 16px;
  --feature-step-icon-size: 56px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--feature-step-gap);

  width: 100%;
  max-width: 420px;
  margin-top: 28px;
}

.nobo-feature__step {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  min-width: 0;
  text-align: center;
}

.nobo-feature__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--feature-step-icon-size) / 2);
  left: calc(50% + var(--feature-step-icon-size) / 2);

  width: calc(
    100% + var(--feature-step-gap) -
    var(--feature-step-icon-size)
  );
  height: 1px;

  background: var(--feature-border);
  pointer-events: none;
}

.nobo-feature__step:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(var(--feature-step-icon-size) / 2 - 2px);
  left: calc(100% + var(--feature-step-gap) / 2 - 2px);

  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: var(--feature-gold);
  pointer-events: none;
}

.nobo-feature__step-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: var(--feature-step-icon-size);
  height: var(--feature-step-icon-size);

  border: 1px solid var(--feature-border);
  border-radius: 50%;

  color: var(--feature-navy);
  background: rgb(255 255 255 / 60%);
}

.nobo-feature__step-icon svg {
  width: 30px;
  height: 30px;
}

.nobo-feature__step-label {
  max-width: 100%;

  color: var(--feature-navy);
  font-size: var(--feature-small-size);
  line-height: 1.6;
  letter-spacing: 0;

  overflow-wrap: anywhere;
}

/* ========================================
   02：選べる治療方法
======================================== */

.nobo-feature--options {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 38px;

  padding: 34px 0 64px;
}

.nobo-feature--options::before,
.nobo-feature--options::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 calc(50% - 50vw);

  pointer-events: none;
}

.nobo-feature--options::before {
  background: #eaf1f7;
  clip-path: polygon(0 0, 62% 8%, 57% 100%, 0 91%);
}

.nobo-feature--options::after {
  background: #f5f7fb;
  clip-path: polygon(58% 0, 100% 12%, 100% 100%, 58% 89%);
}

.nobo-feature--options .nobo-feature__content {
  padding: 20px 0;
}

.nobo-feature__treatments {
  align-self: center;

  width: 100%;
  min-height: 0;
}

.nobo-feature__treatments-image {
  position: relative;

  width: 100%;
  aspect-ratio: 1.2;
  margin: 0;
}

.nobo-feature__treatments-image > img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.nobo-feature__supplement {
  margin-top: 24px;
  padding-top: 20px;

  border-top: 1px solid var(--feature-border);
}

.nobo-feature__supplement p {
  color: var(--feature-text);
  font-size: var(--feature-small-size);
  line-height: 1.9;
  letter-spacing: 0.025em;

  overflow-wrap: anywhere;
}

.nobo-feature__supplement p + p {
  margin-top: 12px;
}

.nobo-feature--options .nobo-feature__connector {
  left: 40%;
  bottom: 8px;

  height: 32px;
  transform: rotate(8deg);
}

/* ========================================
   03：明確な料金体系
======================================== */

.nobo-feature--payment {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  column-gap: 38px;
  row-gap: 28px;

  padding: 40px 0 72px;
}

.nobo-feature--payment .nobo-feature__content {
  padding: 8px 0;
}

.nobo-feature--payment .nobo-feature__visual {
  align-self: center;

  width: 100%;
  min-height: 0;
  aspect-ratio: 1.2;
}

.nobo-feature--payment .nobo-feature__image {
  object-position: center;
}

.nobo-feature--payment .nobo-feature__benefits {
  grid-column: 1 / -1;

  width: 100%;
  max-width: 1000px;
}

.nobo-feature--payment .nobo-feature__connector {
  left: 35%;
  bottom: 12px;

  height: 34px;
  transform: rotate(-8deg);
}

/* ========================================
   共通：アイコン付き項目
======================================== */

.nobo-feature__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;

  width: 100%;
}

.nobo-feature__benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 0;
  min-height: 64px;
  padding: 14px 16px;

  border: 1px solid var(--feature-border);
  border-radius: 9px;

  color: var(--feature-navy);
  background: rgb(255 255 255 / 75%);

  font-size: var(--feature-small-size);
  line-height: 1.65;
  letter-spacing: 0.015em;
  text-align: center;

  overflow-wrap: anywhere;
}

.nobo-feature__benefit > span:not(.nobo-feature__benefit-icon) {
  min-width: 0;
}

.nobo-feature__benefit-icon {
  flex: 0 0 28px;

  width: 28px;
  height: 28px;

  color: var(--feature-navy);
}

/* ========================================
   04：治療中のサポート
   左画像・中央本文・右画像
======================================== */

.nobo-feature--monitoring {
  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1.3fr)
    minmax(0, 0.85fr);
  grid-template-rows: auto auto auto;

  align-items: stretch;
  column-gap: 24px;
  row-gap: 28px;

  min-height: 420px;
  padding: 38px 0 40px;
}

.nobo-feature--monitoring::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 calc(50% - 50vw);

  background: #edf2f7;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);

  pointer-events: none;
}

/* 左画像 */
.nobo-feature--monitoring > .nobo-feature__visual {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;

  width: 100%;
  min-height: 340px;
  margin: 0;

  clip-path: none;
}

.nobo-feature--monitoring > .nobo-feature__visual
  .nobo-feature__image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* 中央本文 */
.nobo-feature--monitoring .nobo-feature__content {
  grid-column: 2;
  grid-row: 1;
  align-self: center;

  padding: 12px 0;
}

.nobo-feature--monitoring .nobo-feature__title {
  font-size: clamp(24px, 2vw, 27px);
}

/* 右画像 */
.nobo-feature--monitoring .nobo-feature__support-visual {
  position: relative;
  inset: auto;

  grid-column: 3;
  grid-row: 1;
  align-self: stretch;

  width: 100%;
  min-height: 340px;
  margin: 0;
  overflow: hidden;

  border-radius: var(--feature-radius);
  pointer-events: none;
}

.nobo-feature--monitoring .nobo-feature__support-visual img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* 下段の項目 */
.nobo-feature--monitoring .nobo-feature__benefits {
  grid-column: 1 / -1;
  grid-row: 2;

  width: min(100%, 1000px);
  margin-inline: auto;
}

.nobo-feature--monitoring .nobo-feature__benefit {
  border-radius: 999px;
  background: rgb(255 255 255 / 90%);
}

/* ========================================
   中央CTA
   無料相談セクションと形・演出を統一
======================================== */

.nobo-feature__action {
  grid-column: 1 / -1;

  display: flex;
  justify-content: center;

  width: 100%;
}

/* 04では3段目に配置 */
.nobo-feature--monitoring .nobo-feature__action {
  grid-row: 3;
}

.nobo-feature__link {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  width: min(100%, var(--feature-cta-width));
  min-height: 72px;
  margin: 0;
  padding: 16px 22px 16px 28px;

  border: 1px solid var(--feature-maincolor);
  border-radius: var(--feature-cta-radius);

  color: var(--feature-white);
  background-color: var(--feature-maincolor);
  background-image: linear-gradient(
    180deg,
    rgb(255 255 255 / 12%),
    rgb(255 255 255 / 0%) 55%
  );

  box-shadow:
    0 0 16px rgb(2 114 212 / 14%),
    0 6px 20px rgb(2 114 212 / 16%),
    inset 0 1px 0 rgb(255 255 255 / 28%);

  font-family: var(--feature-serif);
  font-size: var(--feature-small-size);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.035em;
  text-align: center;
  text-decoration: none;

  overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent;

  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.nobo-feature__link:visited {
  color: var(--feature-white);
}

/* 光専用レイヤー */
.nobo-feature__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  display: block;
  width: 100%;
  height: 100%;

  border: 0;
  border-radius: inherit;

  background: linear-gradient(
    110deg,
    transparent 25%,
    rgb(255 255 255 / 12%) 40%,
    rgb(255 255 255 / 48%) 50%,
    rgb(255 255 255 / 12%) 60%,
    transparent 75%
  );

  transform: translateX(-120%);
  pointer-events: none;

  animation:
    nobo-feature-cta-shine
    var(--feature-shine-duration)
    ease-in-out
    infinite;
}

/* 矢印は既存のSVGを使用 */
.nobo-feature__link::after {
  content: none;
}

/* 文字・SVGは光より手前 */
.nobo-feature__link > * {
  position: relative;
  z-index: 1;
}

.nobo-feature__link > span {
  min-width: 0;
}

/* アイコン用spanと本文用spanを区別 */
.nobo-feature__link > span:not(:has(svg)) {
  flex: 1;
}

.nobo-feature__link > span:has(svg) {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
}

/* span内にある矢印 */
.nobo-feature__link svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;

  color: var(--feature-white);
  transition: transform 220ms ease;
}

/* SVGがリンク直下にあるHTMLにも対応 */
.nobo-feature__link > svg {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 9px;

  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
}

.nobo-feature__link:focus-visible {
  outline: 3px solid var(--feature-navy);
  outline-offset: 5px;
}

/* 光が横切ったあと、間を空けて繰り返す */
@keyframes nobo-feature-cta-shine {
  0%,
  15% {
    transform: translateX(-120%);
  }

  48%,
  100% {
    transform: translateX(120%);
  }
}

/* ========================================
   ホバー
======================================== */

@media (hover: hover) and (pointer: fine) {
  .nobo-feature__link:hover {
    color: var(--feature-white);
    border-color: var(--feature-hover);
    background-color: var(--feature-hover);

    box-shadow:
      0 0 22px rgb(2 114 212 / 24%),
      0 8px 24px rgb(2 114 212 / 22%),
      inset 0 1px 0 rgb(255 255 255 / 36%);
  }

  /* 円を固定し、矢印の中身だけ移動 */
  .nobo-feature__link:hover svg > * {
    transform: translateX(2px);
  }
}

.nobo-feature__link svg > * {
  transition: transform 220ms ease;
}

/* ========================================
   タブレット
======================================== */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .nobo-features {
    --nobo-reveal-distance: 48px;

    padding-top: 62px;
  }

  .nobo-features__inner {
    padding-inline: 28px;
  }

  .nobo-features__header {
    margin-bottom: 36px;
  }

  .nobo-feature--diagnosis,
  .nobo-feature--options,
  .nobo-feature--payment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }

  .nobo-feature__title {
    font-size: 25px;
    letter-spacing: 0.025em;
  }

  .nobo-feature__steps {
    --feature-step-gap: 10px;
    --feature-step-icon-size: 48px;
  }

  .nobo-feature__step-icon svg {
    width: 27px;
    height: 27px;
  }

  .nobo-feature__benefit {
    flex-direction: column;
    gap: 10px;
    padding: 16px 12px;
  }

  /* 04：本文を上段、画像を下段に配置 */
  .nobo-feature--monitoring {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto;
    column-gap: 22px;
    row-gap: 24px;
  }

  .nobo-feature--monitoring .nobo-feature__content {
    grid-column: 1 / -1;
    grid-row: 1;

    padding: 0;
  }

  .nobo-feature--monitoring > .nobo-feature__visual {
    grid-column: 1;
    grid-row: 2;

    min-height: 300px;
  }

  .nobo-feature--monitoring .nobo-feature__support-visual {
    grid-column: 2;
    grid-row: 2;

    min-height: 300px;
  }

  .nobo-feature--monitoring .nobo-feature__benefits {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .nobo-feature--monitoring .nobo-feature__benefit {
    border-radius: 12px;
  }

  .nobo-feature--monitoring .nobo-feature__action {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

/* ========================================
   スマートフォン
   本文・補足の19pxを維持
======================================== */

@media screen and (max-width: 767px) {
  .nobo-features {
    --feature-radius: 10px;
    --nobo-reveal-distance: 28px;
    --nobo-reveal-duration: 1300ms;
    --feature-reveal-opacity-duration: 1000ms;

    padding: 48px 0 24px;
    scroll-margin-top: var(--header-total-height, 68px);
  }

  .nobo-features__inner {
    padding-inline: 22px;
  }

  .nobo-features__background-word {
    top: 0;

    font-size: 92px;
    letter-spacing: 0.035em;
  }

  .nobo-features__header {
    margin-bottom: 36px;
  }

  .nobo-features__eyebrow {
    letter-spacing: 0.12em;
  }

  .nobo-features__title {
    margin-top: 12px;

    font-size: clamp(24px, 5.6vw, 28px);
    line-height: 1.65;
    letter-spacing: 0.025em;
  }

  .nobo-features__title span {
    display: block;
  }

  .nobo-features__lead {
    margin-top: 16px;
    letter-spacing: 0.015em;
  }

  .nobo-features__header-line {
    width: 44px;
    margin-top: 20px;
  }

  .nobo-feature__heading {
    column-gap: 12px;
  }

  .nobo-feature__number {
    font-size: 52px;
  }

  .nobo-feature__english {
    padding-bottom: 3px;
    letter-spacing: 0.04em;
  }

  .nobo-feature__title,
  .nobo-feature--monitoring .nobo-feature__title {
    margin-top: 12px;

    font-size: 25px;
    line-height: 1.65;
    letter-spacing: 0.025em;
  }

  .nobo-feature__description {
    margin-top: 16px;

    line-height: 1.9;
    letter-spacing: 0.015em;
  }

  /* 01 */
  .nobo-feature--diagnosis {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;

    padding-bottom: 56px;
  }

  .nobo-feature--diagnosis .nobo-feature__content {
    padding: 0;
  }

  .nobo-feature--diagnosis .nobo-feature__visual {
    aspect-ratio: 1.35;
  }

  .nobo-feature__steps {
    --feature-step-gap: 12px;
    --feature-step-icon-size: 50px;

    max-width: 420px;
    margin-top: 26px;
  }

  .nobo-feature__step {
    gap: 10px;
  }

  .nobo-feature__step-icon svg {
    width: 27px;
    height: 27px;
  }

  .nobo-feature--diagnosis .nobo-feature__connector {
    right: 50%;
    bottom: 8px;

    height: 32px;
  }

  /* 02 */
  .nobo-feature--options {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;

    padding: 24px 0 56px;
  }

  .nobo-feature--options::before {
    clip-path: polygon(0 0, 100% 4%, 100% 58%, 0 54%);
  }

  .nobo-feature--options::after {
    clip-path: polygon(0 54%, 100% 58%, 100% 100%, 0 96%);
  }

  .nobo-feature__treatments-image {
    aspect-ratio: 1.35;
  }

  .nobo-feature--options .nobo-feature__content {
    padding: 0;
  }

  .nobo-feature__supplement {
    margin-top: 22px;
    padding-top: 18px;
  }

  .nobo-feature__supplement p {
    letter-spacing: 0.015em;
  }

  .nobo-feature--options .nobo-feature__connector {
    left: 52%;
    bottom: 8px;

    height: 32px;
  }

  /* 03 */
  .nobo-feature--payment {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;

    padding: 32px 0 58px;
  }

  .nobo-feature--payment .nobo-feature__content {
    padding: 0;
  }

  .nobo-feature--payment .nobo-feature__visual {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.35;
  }

  .nobo-feature--payment .nobo-feature__benefits {
    grid-column: 1;
  }

  /* 文字幅を確保するため縦並び */
  .nobo-feature__benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .nobo-feature__benefit {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;

    min-height: 62px;
    padding: 14px 18px;

    border-radius: 8px;

    line-height: 1.65;
    letter-spacing: 0;
    text-align: left;
  }

  .nobo-feature__benefit-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
  }

  .nobo-feature--payment .nobo-feature__connector {
    left: 30%;
    bottom: 8px;

    height: 32px;
  }

  /* 04：左右の画像を同じ高さで配置 */
  .nobo-feature--monitoring {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto;
    column-gap: 12px;
    row-gap: 26px;

    min-height: 0;
    padding: 30px 0 28px;
  }

  .nobo-feature--monitoring::before {
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
  }

  .nobo-feature--monitoring .nobo-feature__content {
    grid-column: 1 / -1;
    grid-row: 1;

    padding: 0;
  }

  .nobo-feature--monitoring > .nobo-feature__visual {
    grid-column: 1;
    grid-row: 2;

    width: 100%;
    height: clamp(210px, 58vw, 320px);
    min-height: 0;
    margin: 0;
  }

  .nobo-feature--monitoring .nobo-feature__support-visual {
    grid-column: 2;
    grid-row: 2;

    width: 100%;
    height: clamp(210px, 58vw, 320px);
    min-height: 0;
    margin: 0;
  }

  .nobo-feature--monitoring .nobo-feature__benefits {
    grid-column: 1 / -1;
    grid-row: 3;

    gap: 10px;
  }

  .nobo-feature--monitoring .nobo-feature__benefit {
    border-radius: 8px;
  }

  .nobo-feature--monitoring .nobo-feature__action {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  /* CTA */
  .nobo-feature__link {
    gap: 14px;

    min-height: 66px;
    padding: 15px 18px;

    letter-spacing: 0.025em;
  }

  .nobo-feature__link > span:has(svg) {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .nobo-feature__link svg {
    flex-basis: 17px;
    width: 17px;
    height: 17px;
  }

  .nobo-feature__link > svg {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    padding: 8px;
  }
}

/* ========================================
   小さなスマートフォン
======================================== */

@media screen and (max-width: 359px) {
  .nobo-features__inner {
    padding-inline: 18px;
  }

  .nobo-features__title,
  .nobo-feature__title,
  .nobo-feature--monitoring .nobo-feature__title {
    font-size: 24px;
    letter-spacing: 0.015em;
  }

  .nobo-feature__english {
    letter-spacing: 0.02em;
  }

  .nobo-feature__steps {
    --feature-step-gap: 8px;
  }

  .nobo-feature__benefit {
    gap: 12px;
    padding-inline: 14px;
  }

  .nobo-feature__link {
    gap: 10px;
    padding-inline: 14px;
    letter-spacing: 0;
  }

  .nobo-feature__link > span:has(svg) {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .nobo-feature__link > svg {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    padding: 6px;
  }
}

/* ========================================
   動きを抑える設定
======================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-features
    .nobo-feature[data-nobo-reveal].is-nobo-reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nobo-feature__link,
  .nobo-feature__link svg,
  .nobo-feature__link svg > * {
    transition: none;
  }

  .nobo-feature__link::before {
    animation: none;
    opacity: 0;
  }

  .nobo-feature__link:hover svg,
  .nobo-feature__link:hover svg > * {
    transform: none;
  }
}