/* ========================================
   TOP：よくあるご質問
   css/sections/top-faq.css
======================================== */

.nobo-faq {
  /* 配色 */
  --faq-maincolor: #0272d4;
  --faq-hover: #005fb8;
  --faq-navy: #142f53;
  --faq-text: #485563;
  --faq-gold: #96743b;
  --faq-line: #d8c39f;
  --faq-surface: #f7f9fb;

  /* 回答 */
  --faq-answer-background: #fff;
  --faq-answer-border: #d6e5f2;
  --faq-answer-size: 20px;

  /* 既存変数との互換性 */
  --faq-blue: var(--faq-navy);

  /* 文字 */
  --faq-small-size: 19px;
  --faq-serif:
    "Zen Old Mincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;

  /* CTA */
  --faq-cta-width: 520px;
  --faq-cta-radius: 2px;
  --faq-shine-duration: 4.2s;

  /* フェードイン */
  --nobo-reveal-duration: 1100ms;
  --nobo-reveal-distance: 22px;
  --nobo-reveal-easing: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: 66px 0 48px;
  overflow: hidden;

  color: var(--faq-text);
  background: #fff;
  font-family: var(--faq-serif);
  font-size: var(--faq-small-size);

  scroll-margin-top: var(--header-total-height, 88px);
}

.nobo-faq,
.nobo-faq::before,
.nobo-faq::after,
.nobo-faq *,
.nobo-faq *::before,
.nobo-faq *::after {
  box-sizing: border-box;
}

.nobo-faq :where(h2, h3, p, figure, ul) {
  margin: 0;
}

.nobo-faq ul {
  padding: 0;
  list-style: none;
}

.nobo-faq button,
.nobo-faq a {
  -webkit-tap-highlight-color: transparent;
}

.nobo-faq button {
  margin: 0;
  font: inherit;
  appearance: none;
  cursor: pointer;
}

.nobo-faq img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.nobo-faq svg {
  display: block;
  width: 100%;
  height: 100%;

  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* JSによる非表示状態を優先 */
.nobo-faq [hidden] {
  display: none !important;
}

/* ========================================
   背景・見出し
======================================== */

.nobo-faq::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;

  background: radial-gradient(
    ellipse at 50% 65%,
    rgb(234 240 246 / 60%),
    transparent 65%
  );

  pointer-events: none;
}

.nobo-faq__background-word {
  position: absolute;
  z-index: -1;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);

  color: #f0f3f6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(100px, 12.5vw, 180px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;

  pointer-events: none;
  user-select: none;
}

.nobo-faq__inner {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: 32px;
}

.nobo-faq__header {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
  text-align: center;
}

.nobo-faq__eyebrow {
  color: var(--faq-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--faq-small-size);
  line-height: 1.6;
  letter-spacing: 0.16em;
  overflow-wrap: anywhere;
}

.nobo-faq__title {
  margin-top: 12px;
  color: var(--faq-navy);

  font-size: clamp(30px, 3.5vw, 45px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
}

.nobo-faq__lead {
  margin-top: 16px;
  color: var(--faq-text);

  font-size: var(--faq-small-size);
  line-height: 1.9;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

/* ========================================
   全体のフレーム
======================================== */

.nobo-faq__board {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  align-items: stretch;
  margin-right: 22px;

  border: 1px solid var(--faq-line);
  border-radius: 30px;
  background: rgb(247 249 251 / 85%);

  box-shadow:
    inset 0 0 0 3px rgb(255 255 255 / 95%),
    0 8px 24px rgb(20 47 83 / 5%);
}

/* 外側の細い二重線 */
.nobo-faq__board::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5px;

  border: 1px solid rgb(150 116 59 / 25%);
  border-radius: 34px;

  pointer-events: none;
}

/* 後ろに重なるプレート */
.nobo-faq__board::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 19px;
  right: -24px;
  bottom: -5px;
  left: 28px;

  border: 1px solid rgb(150 116 59 / 35%);
  border-radius: 28px;
  background: rgb(247 249 251 / 65%);
  box-shadow: inset 0 0 0 3px rgb(255 255 255 / 80%);

  pointer-events: none;
}

/* ========================================
   左側：選択中の質問
======================================== */

.nobo-faq__selected {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-width: 0;

  border-right: 1px solid var(--faq-line);
  border-radius: 29px 29px 12px 29px;

  background: var(--faq-surface);
  box-shadow:
    inset 3px 3px 0 rgb(255 255 255 / 90%),
    inset -3px 0 0 rgb(255 255 255 / 80%);
}

.nobo-faq__panels {
  flex: 1;
  min-width: 0;
  min-height: 440px;
}

.nobo-faq__panel {
  min-width: 0;
  padding: 38px 34px 34px;
}

/* Q番号＋質問文 */
.nobo-faq__question {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  min-width: 0;
}

.nobo-faq__question-number {
  display: flex;
  align-items: baseline;
  padding-top: 4px;

  color: var(--faq-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  white-space: nowrap;

  user-select: none;
}

@supports (-webkit-text-stroke: 1px currentColor) {
  .nobo-faq__question-number {
    color: transparent;
    -webkit-text-stroke: 1px var(--faq-gold);
  }
}

.nobo-faq__question-number > span:first-child {
  font-size: clamp(90px, 8.5vw, 120px);
}

.nobo-faq__question-number > span:last-child {
  margin-left: -2px;
  font-size: clamp(46px, 4.3vw, 60px);
}

.nobo-faq__question-content {
  min-width: 0;
  padding-top: 6px;
}

.nobo-faq__selected-label {
  color: var(--faq-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--faq-small-size);
  line-height: 1.6;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.nobo-faq__selected-label::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 12px;
  background: var(--faq-line);
}

.nobo-faq__question-content h3 {
  margin-top: 20px;
  color: var(--faq-navy);

  font-size: clamp(24px, 2.25vw, 29px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

/* ========================================
   回答：白いボックスで読みやすく
======================================== */

.nobo-faq__answer {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  column-gap: 18px;
  row-gap: 16px;

  min-width: 0;
  margin-top: 36px;
  padding: 26px 24px;

  border: 1px solid var(--faq-answer-border);
  border-left: 3px solid var(--faq-maincolor);
  border-radius: 8px;

  color: var(--faq-navy);
  background: var(--faq-answer-background);
  box-shadow: 0 4px 16px rgb(20 47 83 / 4%);

  font-size: var(--faq-answer-size);
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
}

/* 以前の接続線・点の装飾を解除 */
.nobo-faq__answer::before,
.nobo-faq__answer::after {
  content: none;
}

/* Aをコンパクトな目印に */
.nobo-faq__answer-mark {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  border: 1px solid var(--faq-answer-border);
  border-radius: 50%;

  color: var(--faq-maincolor);
  background: #f0f7fd;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

/* 本文がp直置き・ラッパー付きのどちらでも対応 */
.nobo-faq__answer > :not(.nobo-faq__answer-mark) {
  grid-column: 2;
  min-width: 0;
}

.nobo-faq__answer p {
  min-width: 0;
  margin: 0;
  padding: 0;

  color: var(--faq-navy);
  font-size: var(--faq-answer-size);
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
}

/* 段落間の余白 */
.nobo-faq__answer p + p {
  margin-top: 16px;
}

/* 直下の段落間はgridのgapで管理 */
.nobo-faq__answer > p + p {
  margin-top: 0;
}

/* 固定改行を解除し、回答欄の幅を活用 */
.nobo-faq__answer p br {
  display: none;
}

.nobo-faq__answer strong {
  color: var(--faq-navy);
  font-weight: 700;
}

.nobo-faq__answer a {
  color: var(--faq-maincolor);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.nobo-faq__answer a:focus-visible {
  outline: 2px solid var(--faq-navy);
  outline-offset: 3px;
}

/* ========================================
   下部：番号ボタン
======================================== */

.nobo-faq__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;

  min-height: 76px;
  padding: 16px 24px;

  border-top: 1px solid var(--faq-line);
  border-radius: 0 0 12px 29px;
  background: rgb(255 255 255 / 65%);
}

.nobo-faq .nobo-faq__page {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  padding: 0;

  border: 1px solid var(--faq-line);
  border-radius: 50%;

  color: var(--faq-navy);
  background: #fff;

  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--faq-small-size);
  line-height: 1;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.nobo-faq .nobo-faq__page.is-active,
.nobo-faq .nobo-faq__page[aria-pressed="true"],
.nobo-faq .nobo-faq__page[aria-selected="true"] {
  border-color: var(--faq-navy);
  color: #fff;
  background: var(--faq-navy);
}

/* ========================================
   右側：質問一覧
======================================== */

.nobo-faq__questions {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 5px 0 20px;
}

.nobo-faq__question-list {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nobo-faq__question-item {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1;

  min-width: 0;
  min-height: 88px;
}

/* タブの右端に重なる輪郭 */
.nobo-faq__question-item::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 10px;
  right: -15px;
  bottom: -7px;
  left: 0;

  border: 1px solid rgb(150 116 59 / 35%);
  border-radius: 0 21px 12px 0;

  background: #f9fafb;
  box-shadow: inset -3px 0 0 rgb(255 255 255 / 95%);

  pointer-events: none;
}

.nobo-faq .nobo-faq__question-button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 22px;
  align-items: center;
  gap: 16px;

  width: 100%;
  min-height: 88px;
  padding: 20px 20px 20px 24px;

  border: 0;
  border-bottom: 1px solid var(--faq-line);
  border-radius: 0 21px 0 0;

  color: var(--faq-navy);
  background: #fff;
  text-align: left;

  transition:
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.nobo-faq__question-item:first-child .nobo-faq__question-button {
  border-top-right-radius: 28px;
}

.nobo-faq__question-item:last-child .nobo-faq__question-button {
  border-bottom: 0;
  border-bottom-right-radius: 16px;
}

.nobo-faq__list-number {
  color: var(--faq-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.4;
  white-space: nowrap;
}

.nobo-faq__list-text {
  min-width: 0;
  color: var(--faq-navy);

  font-size: var(--faq-small-size);
  line-height: 1.75;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
}

.nobo-faq__question-button svg {
  width: 22px;
  height: 22px;
  color: var(--faq-gold);
  transition: transform 220ms ease;
}

/* 既存JSの選択状態 */
.nobo-faq .nobo-faq__question-button.is-active,
.nobo-faq .nobo-faq__question-button[aria-pressed="true"],
.nobo-faq .nobo-faq__question-button[aria-selected="true"] {
  background: #f4f0e9;
  box-shadow: inset 3px 0 0 var(--faq-gold);
}

/* ========================================
   右下：マウスピース装飾
======================================== */

.nobo-faq__visual {
  position: absolute;
  z-index: 5;
  right: -24px;
  bottom: -76px;
  width: clamp(180px, 20vw, 250px);

  pointer-events: none;
  user-select: none;
}

.nobo-faq__visual img {
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgb(20 47 83 / 8%));
}

/* ========================================
   下部CTA
======================================== */

.nobo-faq__footer {
  position: relative;
  z-index: 6;
  margin-top: 96px;
  text-align: center;
}

.nobo-faq__link {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  width: min(100%, var(--faq-cta-width));
  min-height: 72px;
  margin-inline: auto;
  padding: 16px 22px 16px 28px;

  border: 1px solid var(--faq-maincolor);
  border-radius: var(--faq-cta-radius);

  color: #fff;
  background-color: var(--faq-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(--faq-serif);
  font-size: var(--faq-small-size);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.035em;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;

  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.nobo-faq__link:visited {
  color: #fff;
}

/* 左から右へ流れる光 */
.nobo-faq__link::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
  border-radius: 0;

  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%);
  animation:
    nobo-faq-cta-shine
    var(--faq-shine-duration)
    ease-in-out
    infinite;

  pointer-events: none;
}

/* 矢印はHTML内のSVGを使用 */
.nobo-faq__link::after {
  content: none;
}

.nobo-faq__link > * {
  position: relative;
  z-index: 1;
}

.nobo-faq__link > span {
  min-width: 0;
}

.nobo-faq__link > span:not(:has(svg)) {
  flex: 1;
}

/* SVGがspanで囲まれている場合 */
.nobo-faq__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%;
}

.nobo-faq__link svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  color: #fff;
}

/* SVGがリンク直下にある場合 */
.nobo-faq__link > svg {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 9px;

  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
}

/* 円形の枠は固定し、矢印だけ移動 */
.nobo-faq__link svg > * {
  transition: transform 220ms ease;
}

.nobo-faq__footer-note {
  margin-top: 16px;
  color: var(--faq-text);

  font-size: var(--faq-small-size);
  line-height: 1.9;
  letter-spacing: 0.025em;
  overflow-wrap: anywhere;
}

@keyframes nobo-faq-cta-shine {
  0%,
  15% {
    transform: translateX(-120%);
  }

  48%,
  100% {
    transform: translateX(120%);
  }
}

/* スクリーンリーダー向けの切り替え通知 */
.nobo-faq__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;

  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ========================================
   スクロール時のフェードイン
======================================== */

.nobo-faq :where(
  .nobo-faq__selected,
  .nobo-faq__questions,
  .nobo-faq__footer
)[data-nobo-reveal].is-nobo-reveal-ready {
  opacity: 0;
  transform: translateY(var(--nobo-reveal-distance));

  transition-property: opacity, transform;
  transition-duration: var(--nobo-reveal-duration);
  transition-timing-function: var(--nobo-reveal-easing);
  transition-delay: var(--nobo-reveal-delay, 0ms);
}

.nobo-faq :where(
  .nobo-faq__selected,
  .nobo-faq__questions,
  .nobo-faq__footer
)[data-nobo-reveal].is-nobo-reveal-ready.is-nobo-reveal-visible {
  opacity: 1;
  transform: none;
}

.nobo-faq :where(
  .nobo-faq__selected,
  .nobo-faq__questions,
  .nobo-faq__footer
)[data-nobo-reveal].is-nobo-reveal-ready:focus-within {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ========================================
   フォーカス・ホバー
======================================== */

.nobo-faq__page:focus-visible,
.nobo-faq__question-button:focus-visible {
  outline: 2px solid var(--faq-navy);
  outline-offset: 3px;
}

.nobo-faq__question-button:focus-visible {
  z-index: 3;
  outline-offset: -4px;
}

.nobo-faq__link:focus-visible {
  outline: 3px solid var(--faq-navy);
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .nobo-faq .nobo-faq__page:hover {
    border-color: var(--faq-navy);
    color: #fff;
    background: var(--faq-navy);
  }

  .nobo-faq .nobo-faq__question-button:hover {
    background: #f4f0e9;
  }

  .nobo-faq__question-button:hover svg {
    transform: translateX(4px);
  }

  .nobo-faq__link:hover {
    border-color: var(--faq-hover);
    color: #fff;
    background-color: var(--faq-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-faq__link:hover svg > * {
    transform: translateX(2px);
  }
}

/* ========================================
   タブレット
======================================== */

@media screen and (min-width: 768px) and (max-width: 1100px) {
  .nobo-faq {
    padding-top: 56px;
  }

  .nobo-faq__inner {
    padding-inline: 26px;
  }

  .nobo-faq__board {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    margin-right: 16px;
  }

  .nobo-faq__panel {
    padding: 30px 24px;
  }

  .nobo-faq__panels {
    min-height: 440px;
  }

  .nobo-faq__question {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .nobo-faq__question-number > span:first-child {
    font-size: 96px;
  }

  .nobo-faq__question-number > span:last-child {
    font-size: 48px;
  }

  .nobo-faq__question-content {
    padding-top: 0;
  }

  .nobo-faq__question-content h3 {
    margin-top: 16px;
    font-size: 25px;
  }

  /* 回答本文の幅を確保 */
  .nobo-faq__answer {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 28px;
    padding: 22px 20px;
  }

  .nobo-faq__answer > :not(.nobo-faq__answer-mark) {
    grid-column: 1;
  }

  .nobo-faq__pagination {
    gap: 10px;
    padding-inline: 16px;
  }

  .nobo-faq .nobo-faq__question-button {
    grid-template-columns: auto minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 20px 16px;
  }

  .nobo-faq__question-button svg {
    width: 20px;
    height: 20px;
  }

  .nobo-faq__visual {
    right: -20px;
    bottom: -66px;
    width: 210px;
  }

  .nobo-faq__footer {
    margin-top: 86px;
  }
}

/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 767px) {
  .nobo-faq {
    --faq-answer-size: 19px;
    --nobo-reveal-distance: 16px;

    padding: 48px 0 36px;
    scroll-margin-top: var(--header-total-height, 68px);
  }

  .nobo-faq__inner {
    padding-inline: 22px;
  }

  .nobo-faq__background-word {
    top: 8px;
    font-size: 76px;
    letter-spacing: -0.04em;
  }

  .nobo-faq__header {
    margin-bottom: 30px;
  }

  .nobo-faq__eyebrow {
    letter-spacing: 0.12em;
  }

  .nobo-faq__title {
    margin-top: 12px;
    font-size: 30px;
    letter-spacing: 0.06em;
  }

  .nobo-faq__lead {
    margin-top: 14px;
    letter-spacing: 0.015em;
  }

  /* 上に回答、下に質問一覧 */
  .nobo-faq__board {
    grid-template-columns: minmax(0, 1fr);
    margin-right: 8px;
    border-radius: 22px;
  }

  .nobo-faq__board::before {
    inset: -3px;
    border-radius: 25px;
  }

  .nobo-faq__board::after {
    top: 12px;
    right: -12px;
    bottom: -4px;
    left: 12px;
    border-radius: 23px;
  }

  .nobo-faq__selected {
    border-right: 0;
    border-bottom: 1px solid var(--faq-line);
    border-radius: 21px 21px 0 0;
  }

  .nobo-faq__panels {
    min-height: 0;
  }

  .nobo-faq__panel {
    padding: 26px 22px 28px;
  }

  /* Q番号の下に質問文 */
  .nobo-faq__question {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .nobo-faq__question-number {
    padding-top: 0;
  }

  .nobo-faq__question-number > span:first-child {
    font-size: 88px;
  }

  .nobo-faq__question-number > span:last-child {
    font-size: 44px;
  }

  .nobo-faq__question-content {
    padding-top: 0;
  }

  .nobo-faq__selected-label {
    letter-spacing: 0.04em;
  }

  .nobo-faq__selected-label::after {
    width: 28px;
    margin-top: 10px;
  }

  .nobo-faq__question-content h3 {
    margin-top: 16px;
    font-size: 25px;
    line-height: 1.7;
    letter-spacing: 0.015em;
  }

  /* Aの下に回答本文を配置 */
  .nobo-faq__answer {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;

    margin-top: 26px;
    padding: 22px 18px;
    border-radius: 6px;

    letter-spacing: 0;
  }

  .nobo-faq__answer-mark {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }

  .nobo-faq__answer > :not(.nobo-faq__answer-mark) {
    grid-column: 1;
  }

  .nobo-faq__answer p {
    line-height: 1.95;
    letter-spacing: 0;
  }

  .nobo-faq__list-text br {
    display: none;
  }

  /* 番号ボタン */
  .nobo-faq__pagination {
    gap: 10px;
    padding: 16px 14px;
    border-radius: 0;
  }

  /* 質問一覧 */
  .nobo-faq__questions {
    padding: 0 0 10px;
  }

  .nobo-faq__question-item {
    min-height: 84px;
  }

  .nobo-faq__question-item::after {
    top: 7px;
    right: -8px;
    bottom: -5px;
    border-radius: 0 15px 10px 0;
  }

  .nobo-faq .nobo-faq__question-button {
    grid-template-columns: auto minmax(0, 1fr) 20px;
    gap: 12px;
    min-height: 84px;
    padding: 20px 18px;
    border-radius: 0 15px 0 0;
  }

  .nobo-faq__question-item:first-child .nobo-faq__question-button {
    border-top-right-radius: 15px;
  }

  .nobo-faq__question-item:last-child .nobo-faq__question-button {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .nobo-faq__list-number {
    font-size: 22px;
  }

  .nobo-faq__list-text {
    line-height: 1.75;
    letter-spacing: 0;
  }

  .nobo-faq__question-button svg {
    width: 20px;
    height: 20px;
  }

  /* 装飾画像 */
  .nobo-faq__visual {
    right: -14px;
    bottom: -66px;
    width: 145px;
  }

  /* CTA */
  .nobo-faq__footer {
    margin-top: 86px;
  }

  .nobo-faq__link {
    gap: 14px;
    min-height: 66px;
    padding: 15px 18px;
    letter-spacing: 0.025em;
  }

  .nobo-faq__link > span:has(svg) {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .nobo-faq__link svg {
    flex-basis: 17px;
    width: 17px;
    height: 17px;
  }

  .nobo-faq__link > svg {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    padding: 8px;
  }

  .nobo-faq__footer-note {
    margin-top: 16px;
    letter-spacing: 0.015em;
  }
}

/* ========================================
   小さなスマートフォン
======================================== */

@media screen and (max-width: 359px) {
  .nobo-faq__inner {
    padding-inline: 18px;
  }

  .nobo-faq__title {
    font-size: 28px;
    letter-spacing: 0.025em;
  }

  .nobo-faq__panel {
    padding-inline: 18px;
  }

  .nobo-faq__question-content h3 {
    font-size: 24px;
  }

  .nobo-faq__answer {
    padding: 20px 14px;
  }

  .nobo-faq__pagination {
    gap: 8px;
    padding-inline: 12px;
  }

  .nobo-faq .nobo-faq__question-button {
    grid-template-columns: auto minmax(0, 1fr) 18px;
    gap: 10px;
    padding-inline: 14px;
  }

  .nobo-faq__question-button svg {
    width: 18px;
    height: 18px;
  }

  .nobo-faq__link {
    gap: 10px;
    padding-inline: 14px;
    letter-spacing: 0;
  }

  .nobo-faq__link > span:has(svg) {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .nobo-faq__link > svg {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    padding: 6px;
  }
}

/* ========================================
   動きを抑える設定
======================================== */

@media (prefers-reduced-motion: reduce) {
  .nobo-faq :where(
    .nobo-faq__selected,
    .nobo-faq__questions,
    .nobo-faq__footer
  )[data-nobo-reveal].is-nobo-reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nobo-faq .nobo-faq__page,
  .nobo-faq .nobo-faq__question-button,
  .nobo-faq__question-button svg,
  .nobo-faq__link,
  .nobo-faq__link svg,
  .nobo-faq__link svg > * {
    transition: none;
  }

  .nobo-faq__link::before {
    animation: none;
    opacity: 0;
  }

  .nobo-faq__question-button:hover svg,
  .nobo-faq__link:hover svg,
  .nobo-faq__link:hover svg > * {
    transform: none;
  }
}