@charset "UTF-8";
html {
  font-size: min(16px, 1.1111111111vw);
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--header-height);
}

@media (width <= 767px) {
  html {
    font-size: 4.2666666667vw;
  }
}
a[href^=tel] {
  text-decoration: none;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  /* 強調をなくす */
}

a:hover {
  text-decoration: none;
}

img,
svg {
  vertical-align: middle;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:where(:any-link, button, [type=button], [type=reset], [type=submit], label[for], select, summary, [role=tab], [role=button]) {
  cursor: pointer;
}

:where(button, [type=button], [type=reset], [type=submit]) {
  touch-action: manipulation;
}

:focus:not(:focus-visible) {
  outline: none;
}

input[type=text] {
  font-size: 16px;
}

textarea {
  field-sizing: content;
}

body {
  font-family: var(--base-font-family);
  font-weight: var(--fw-regular);
  color: var(--color-text);
}

html {
  box-sizing: border-box;
  /* Prevent adjustments of font size after orientation changes in iOS */
  word-break: normal;
  tab-size: 4;
  text-size-adjust: 100%;
}

*,
::before,
::after {
  /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
  box-sizing: border-box;
  background-repeat: no-repeat;
}

::before,
::after {
  text-decoration: inherit;
  /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0;
  /* Reset `padding` and `margin` of all elements */
  margin: 0;
}

/* # =================================================================
     # General elements
     # ================================================================= */
hr {
  /* Show the overflow in Edge and IE */
  height: 0;
  overflow: visible;
  /* Add the correct box sizing in Firefox */
  color: inherit;
  /* Correct border color in Firefox. */
}

details,
main {
  display: block;
  /* Render the `main` element consistently in IE. */
}

summary {
  display: list-item;
  /* Add the correct display in all browsers */
}

small {
  font-size: 80%;
  /* Set font-size to 80% in `small` elements */
}

[hidden] {
  display: none;
  /* Add the correct display in IE */
}

abbr[title] {
  /* Remove the bottom border in Chrome 57 */
  /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: none;
}

a {
  background-color: transparent;
  /* Remove the gray background on active links in IE 10 */
}

a:active,
a:hover {
  outline-width: 0;
  /* Remove the outline when hovering in all browsers */
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  /* Specify the font family of code elements */
}

pre {
  font-size: 1em;
  /* Correct the odd `em` font sizing in all browsers */
}

b,
strong {
  font-weight: bolder;
  /* Add the correct font weight in Chrome, Edge, and Safari */
}

/* https://gist.github.com/unruthless/413930 */
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  /* Correct border color in all Chrome, Edge, and Safari. */
  text-indent: 0;
  border-color: inherit;
  /* Remove text indentation in Chrome, Edge, and Safari */
}

iframe {
  border-style: none;
}

/* # =================================================================
     # Forms
     # ================================================================= */
input {
  border-radius: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
  /* Correct the cursor style of increment and decrement buttons in Chrome */
}

[type=search] {
  appearance: textfield;
  appearance: none;
  /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px;
  /* Correct the outline style in Safari */
}

[type=search]::-webkit-search-decoration {
  appearance: none;
  /* Remove the inner padding in Chrome and Safari on macOS */
}

textarea {
  overflow: auto;
  resize: vertical;
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold;
  /* Restore the font weight unset by the previous rule */
}

button {
  overflow: visible;
  /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

button,
select {
  text-transform: none;
  /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */
button,
[type=button],
[type=reset],
[type=submit],
[role=button] {
  cursor: pointer;
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type=button],
[type=reset],
[type=submit] {
  appearance: button;
  /* Correct the inability to style clickable types in iOS */
}

button,
input,
select,
textarea {
  appearance: none;
  background-color: transparent;
  border-style: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-width: 0;
}

/* Style select like a standard input */
select {
  appearance: none;
}

select::-ms-expand {
  display: none;
  /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentcolor;
  /* Internet Explorer 11+ */
}

legend {
  /* Correct the color inheritance from `fieldset` elements in IE */
  display: table;
  /* Correct the text wrapping in Edge and IE */
  /* Correct the text wrapping in Edge and IE */
  max-width: 100%;
  /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit;
  /* Correct the text wrapping in Edge and IE */
  white-space: normal;
  border: 0;
  /* Correct the text wrapping in Edge 18- and IE */
}

::-webkit-file-upload-button {
  font: inherit;
  color: inherit;
  /* Correct the inability to style clickable types in iOS and Safari */
  appearance: button;
  /* Change font properties to `inherit` in Chrome and Safari */
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

/* # =================================================================
     # Specify media element style
     # ================================================================= */
img {
  border-style: none;
  /* Remove border when inside `a` element in IE 8/9/10 */
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}

/* # =================================================================
     # Accessibility
     # ================================================================= */
/* Specify the progress cursor of updating elements */
[aria-busy=true] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */
[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[aria-disabled=true] {
  cursor: default;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
  list-style: "";
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

@font-face {
  font-family: "Local Noto Sans JP";
  src: local("Noto Sans JP");
}
:root {
  /* inner */
  --inner: min(1440px, 100%);
  --inner-sp: min(375px, 100%);
  --padding-inner: 20px;
  /* px → rem 変換用 CSS 変数。
   * `calc(20 * var(--to-rem))` は SCSS の `rem(20)` コンパイル結果 (1.25rem) と等価。
   * :root 内のカスタムプロパティで「rem 相当」を表したい時、および dev-inspector の
   * ライブプレビュー (rem(N) → calc(N * var(--to-rem)) 注入) が機能するために必要。 */
  --to-rem: calc(1rem / 16);
  /* z-index */
  --z-index-header: 900;
  --z-index-drawer: 1000;
  /* color - base */
  --color-white: #fff;
  --color-text: #111;
  --color-black: #000;
  --color-gray: #f0f0f0;
  --color-border-gray: #aaaaaf;
  /* color - brand (uranai-lp) */
  --color-accent: #01a6bc;
  --color-accent-bg: #ecf8f9;
  --color-accent-light: #a5dadf;
  --color-yellow: #f2eb5f;
  --color-cta-green-from: #06c755;
  --color-cta-green-to: #009d40;
  --color-cta-red-from: #d70000;
  --color-cta-red-to: #af0000;
  /* font-weight */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;
  /* font-family */
  --base-font-family: "Local Noto Sans JP", "Noto Sans JP", sans-serif;
  --en-font-family: "Oswald", sans-serif;
  /* transition duration */
  --duration: 0.3s;
  /* header height */
  --header-height: 100px;
}

@media (width <= 767px) {
  :root {
    --header-height: 60px;
  }
}
/*
 * フッター (Figma node 68:2418, 1440×184)
 *   黒背景に nav 2 link (運営者情報 / プライバシーポリシー) と copyright を中央配置
 *   PC: nav y=40 / copyright y=113
 *   SP: nav と copyright を縦積み、padding-block で中央寄せ
 */
.l-footer {
  padding-block: 2.3125rem 3.125rem;
  color: var(--color-white);
  background-color: #000;
}
@media screen and (max-width: 767px) {
  .l-footer {
    padding-block: 2.375rem 1.625rem;
  }
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90rem;
  margin-inline: auto;
}

.l-footer__nav {
  width: 100%;
}

.l-footer__navList {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .l-footer__navList {
    gap: 1rem;
  }
}

.l-footer__navLink {
  position: relative;
  display: inline-block;
  font-family: var(--base-font-family);
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  line-height: 1.4;
  color: var(--color-white);
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  .l-footer__navLink {
    font-size: 0.875rem;
  }
}

.l-footer__navLink::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.0625rem;
  content: "";
  background-color: currentcolor;
  opacity: 0;
  transition: opacity var(--duration) ease;
}

.l-footer__navLink:hover::after {
  opacity: 1;
}

.l-footer__copyright {
  margin-top: 3.125rem;
  font-family: var(--base-font-family);
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  line-height: 1.4;
  color: var(--color-white);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .l-footer__copyright {
    margin-top: 2.125rem;
    font-size: 0.75rem;
  }
}

/*
 * ヘッダーはリキッドスケーリングから除外（html font-size 変動の影響を避けるため px 直書き）
 * 余白 + ロゴ/CTA 幅は fluid-px(min, max, 1150, 1440) で BP 帯域に合わせて線形縮小
 * → 1150px で clamp min 発火、1440px で max 固定
 * 1150px (header BP) 以下で Hamburger 化
 * 物理下限根拠:
 *   CTA 下限 225px = sub text 最大幅 ~210px + padding-inline 最小 2×7-8px
 *   ロゴ下限 170px = デザイン縮小許容下限（視認性）
 *   その他余白最小 8-12px
 */
.l-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--z-index-header);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-gray);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  height: 100px;
  padding-inline: clamp(10px, -148.6206896552px + 13.7931034483vw, 50px);
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .l-header__inner {
    max-width: 600px;
    height: 60px;
    padding-inline: 20px;
  }
}

.l-header__logo {
  display: block;
  flex-shrink: 0;
  width: 197px;
  margin-right: clamp(0px, -118.9655172414px + 10.3448275862vw, 30px);
  transition: opacity var(--duration) ease;
}
@media screen and (max-width: 1150px) {
  .l-header__logo {
    width: 148px;
    margin-right: 0;
  }
}

.l-header__logo:hover {
  opacity: 0.7;
}

.l-header__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ========================================
 * PC Navigation (<= 1180 で非表示)
 * ======================================== */
.l-header__nav {
  align-self: stretch;
  margin-right: 0.75rem;
}
@media screen and (max-width: 1150px) {
  .l-header__nav {
    display: none;
  }
}

.l-header__navList {
  display: flex;
  gap: clamp(6px, -89.1724137931px + 8.275862069vw, 30px);
  align-items: stretch;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.l-header__navItem {
  position: relative;
  display: flex;
  align-items: center;
}

.l-header__navItem::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 5px;
  content: "";
  background-color: var(--color-accent);
  transition: transform var(--duration) ease;
  transform: scaleX(0);
  transform-origin: center;
}

.l-header__navItem:hover::after {
  transform: scaleX(1);
}

.l-header__navLink {
  display: block;
  font-size: clamp(14px, 6.0689655172px + 0.6896551724vw, 16px);
  font-weight: var(--fw-semibold);
  line-height: 1.875;
  color: var(--color-black);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration) ease;
}

.l-header__navItem:hover .l-header__navLink {
  color: var(--color-accent);
}

/* ========================================
 * CTA (PC のみ表示。1100px 以下は hamburger に切替)
 * ヘッダー固有の小さい CTA ボタン。共通コンポーネントではない
 * (使い回さないため。.l-header はリキッド除外なので px 直書き)
 * ======================================== */
.l-header__ctaGroup {
  display: flex;
  flex-shrink: 0;
  gap: clamp(3px, 0.6vw, 8px);
}
@media screen and (max-width: 1150px) {
  .l-header__ctaGroup {
    display: none;
  }
}

.l-header__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 240px;
  min-height: 80px;
  padding-block: 8px;
  padding-inline: 10px;
  color: var(--color-white);
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  transition: opacity var(--duration) ease;
}

.l-header__cta:hover {
  opacity: 0.85;
}

.l-header__cta--isDiagnosis {
  background: linear-gradient(to bottom, var(--color-cta-green-from) 50%, var(--color-cta-green-to));
}

.l-header__cta--isPhone {
  background: linear-gradient(to bottom, var(--color-cta-red-from) 50%, var(--color-cta-red-to));
}

.l-header__ctaBadge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}

.l-header__ctaBadgeText {
  font-size: 14px;
  font-weight: var(--fw-black);
  -webkit-text-stroke: 5px var(--color-cta-green-from);
  paint-order: stroke fill;
}

.l-header__ctaBadgeDeco {
  width: 12px;
  height: auto;
  object-fit: contain;
}

.l-header__ctaSub {
  margin-top: 2px;
  font-size: 10px;
  font-weight: var(--fw-black);
  line-height: 1.2;
  white-space: nowrap;
}

.l-header__ctaMain {
  margin-top: 2px;
  font-size: 22px;
  font-weight: var(--fw-black);
  line-height: 1.2;
  white-space: nowrap;
}

.l-header__ctaTop {
  font-size: 14px;
  font-weight: var(--fw-black);
  line-height: 1;
  white-space: nowrap;
}

.l-header__ctaPhoneBody {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  white-space: nowrap;
}

.l-header__ctaPhoneIcon {
  width: 32px;
  height: 19px;
  object-fit: contain;
}

.l-header__ctaPhoneNumber {
  font-size: 22px;
  font-weight: var(--fw-black);
  line-height: 1;
}

/* ========================================
 * Hamburger (<= 1180px)
 * ======================================== */
.l-header__hamburger {
  position: relative;
  z-index: 1100; /* drawer (1000) より上に配置、開閉どちらでもクリックできるように */
  display: none;
  flex-shrink: 0;
  width: 26px;
  height: 18px;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  background: transparent;
  border: 0;
}
@media screen and (max-width: 1150px) {
  .l-header__hamburger {
    display: block;
  }
}

.l-header__hamburgerLine {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-black);
  transition: transform var(--duration) ease;
}

.l-header__hamburgerLine + .l-header__hamburgerLine {
  margin-top: 5px;
}

.l-header__hamburger.is-open .l-header__hamburgerLine {
  transform-origin: center;
}

.l-header__hamburger.is-open .l-header__hamburgerLine:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.l-header__hamburger.is-open .l-header__hamburgerLine:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ========================================
 * Drawer (<= 1180px)
 * ======================================== */
/* drawer は画面右端寄せ。タブレット帯 (768-1099px) で hamburger / X 位置 (画面右端寄り) と
 * drawer パネル右端を一致させるため、`margin-inline: auto` の中央配置から right 配置に変更。
 * SP 帯 (< 600px) は width 100% で画面いっぱい、それ以上は max-width 600px で右パネル。 */
.l-header__drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-index-drawer);
  display: none;
  width: 100%;
  max-width: 600px;
  background-color: var(--color-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1150px) {
  .l-header__drawer[aria-hidden=false] {
    display: block;
  }
}

.l-header__drawerHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding-inline: 20px;
}

.l-header__drawerNav {
  padding-block: 24px;
  padding-inline: 40px;
}

.l-header__drawerList {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.l-header__drawerItem + .l-header__drawerItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
}

.l-header__drawerItem + .l-header__drawerItem::before {
  display: block;
  width: 180px;
  height: 1px;
  margin-bottom: 12px;
  content: "";
  background-color: rgba(1, 166, 188, 0.4);
}

.l-header__drawerLink {
  display: block;
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 30px;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--duration) ease, font-weight var(--duration) ease;
}

.l-header__drawerLink:hover {
  font-weight: var(--fw-black);
  color: var(--color-accent);
}

/* ========================================
 * Form / Thanks page: logo-only header
 * ======================================== */
.is-form-page .l-header__nav,
.is-form-page .l-header__ctaGroup,
.is-form-page .l-header__hamburger,
.is-form-page .l-header__drawer {
  display: none;
}

.l-inner {
  max-width: calc(var(--inner) + var(--padding-inner) * 2);
  padding-inline: var(--padding-inner);
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .l-inner {
    max-width: calc(var(--inner-sp) + var(--padding-inner) * 2);
  }
}

.c-accordion {
  --_text-color: var(--color-text);
  --_background-default: var(--color-white);
  --_background-interactive: var(--color-gray);
  --_background-opened: var(--color-accent);
  --_text-color-opened: var(--color-white);
  --_duration: 0.2s;
}
.c-accordion::details-content {
  content-visibility: unset;
  display: block grid;
}
@media (prefers-reduced-motion: no-preference) {
  .c-accordion::details-content {
    transition-duration: 300ms;
    transition-property: grid-template-rows;
  }
}
.c-accordion:not([open])::details-content {
  grid-template-rows: 0fr;
}
.c-accordion[open]::details-content {
  grid-template-rows: 1fr;
}

.c-accordion__summary {
  display: block grid;
  grid-template: ". icon"/1fr max-content;
  gap: 1rem;
  align-items: center;
  padding-block: 1rem;
  padding-inline: 1.5rem;
  color: var(--_text-color);
  background-color: var(--_background-default);
  transition: background-color var(--_duration) ease, color var(--_duration) ease;
}
.c-accordion__summary::before {
  display: inline-block;
  grid-area: icon;
  width: 1.125rem;
  height: 0.125rem;
  content: "";
  background-color: currentcolor;
}
.c-accordion__summary::after {
  display: inline-block;
  grid-area: icon;
  width: 1.125rem;
  height: 0.125rem;
  content: "";
  background-color: currentcolor;
  transition: rotate var(--_duration) ease;
  rotate: 90deg;
}
.c-accordion__summary:focus-visible {
  background-color: var(--_background-interactive);
  outline: 2px solid currentcolor;
  outline-offset: -2px;
}
@media (any-hover: hover) {
  .c-accordion__summary:hover {
    background-color: var(--_background-interactive);
  }
}

.c-accordion[open] .c-accordion__summary {
  color: var(--_text-color-opened);
  background-color: var(--_background-opened);
}
.c-accordion[open] .c-accordion__summary::after {
  rotate: 0deg;
}

.c-accordion__contents {
  padding-block: 1rem;
  padding-inline: 1.5rem;
}

.c-button {
  position: relative;
  display: inline-block;
  padding: 0.875rem 3.75rem;
  font-size: 0.9375rem;
  line-height: 1.2;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--color-white);
  border: 1px solid currentcolor;
}
.c-button::before {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  border-top: 2px solid var(--color-black);
  border-right: 2px solid var(--color-black);
  transition: rotate 0.3s, translate 0.3s;
  rotate: 45deg;
  translate: 0 -50%;
}
@media (any-hover: hover) {
  .c-button:hover::before {
    translate: 5px -50%;
  }
}

.c-button[data-color=black] {
  color: var(--color-white);
  background-color: var(--color-black);
  border-color: var(--color-black);
}
.c-button[data-color=black]::before {
  border-top: 2px solid currentcolor;
  border-right: 2px solid currentcolor;
}

/* ========================================
 * Group: 2 つの CTA を横並び (PC) / 縦積み (SP)
 * ======================================== */
.c-cta-group {
  display: flex;
  gap: 1.875rem;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .c-cta-group {
    flex-direction: column;
    gap: 0;
  }
  .c-cta-group > .c-cta + .c-cta {
    margin-top: 0.5rem;
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .c-cta-group > .c-cta + .c-cta {
    margin-top: 0.5625rem;
  }
}
/* ========================================
 * CTA base
 * ======================================== */
.c-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding-block: 1.25rem 0.5rem;
  padding-inline: 2.875rem 2.875rem;
  color: var(--color-white);
  text-align: center;
  text-decoration: none;
  border: 0.1875rem solid var(--color-white);
  border-radius: 0.625rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
  transition: opacity var(--duration) ease;
}
@media screen and (max-width: 767px) {
  .c-cta {
    width: 100%;
    min-height: 4.6875rem;
    padding-inline: 1rem;
    border-width: 0.125rem;
  }
}

.c-cta:hover {
  opacity: 0.85;
}

.c-cta--isDiagnosis {
  background: linear-gradient(to bottom, var(--color-cta-green-from) 50%, var(--color-cta-green-to));
}

.c-cta--isPhone {
  background: linear-gradient(to bottom, var(--color-cta-red-from) 50%, var(--color-cta-red-to));
}

/* ========================================
 * Badge: ボタン上端を跨ぐ overlay
 * 緑 (Diagnosis) のみ存在。文字に緑のアウトライン
 * ======================================== */
.c-cta__badge {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-flex;
  gap: 0.375rem;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.c-cta__badgeText {
  font-size: 1.25rem;
  font-weight: var(--fw-black);
  -webkit-text-stroke: 0.3125rem var(--color-cta-green-from);
  paint-order: stroke fill;
}
@media screen and (max-width: 767px) {
  .c-cta__badgeText {
    font-size: 1.0625rem;
  }
}

.c-cta__badgeDeco {
  width: 1.0625rem;
  height: 1.25rem;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .c-cta__badgeDeco {
    width: 1.25rem;
    height: 1.125rem;
  }
}

/* ========================================
 * Diagnosis 用テキスト要素 (badge 下に sub → main の縦積み)
 * ======================================== */
.c-cta__sub {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  font-weight: var(--fw-black);
  line-height: 1.2;
  white-space: nowrap;
}

.c-cta__main {
  margin-top: 0.125rem;
  font-size: 1.375rem;
  font-weight: var(--fw-black);
  line-height: 1.6875rem;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .c-cta__main {
    font-size: 1.25rem;
  }
}

/* ========================================
 * Phone variant: top → phoneBody → sub の縦積み
 * (phone variant では .c-cta__badge が存在しないため、上 padding は base 値が直接効く)
 * ======================================== */
.c-cta--isPhone {
  padding-inline: 2.375rem 3.25rem;
  padding-top: 0.625rem;
}
@media screen and (max-width: 767px) {
  .c-cta--isPhone {
    padding-inline: 2.75rem 3.1875rem;
    padding-top: 0.625rem;
  }
}

.c-cta__top {
  font-size: 0.9375rem;
  font-weight: var(--fw-black);
  line-height: 1;
  white-space: nowrap;
}

.c-cta__phoneBody {
  display: inline-flex;
  gap: 0.375rem;
  align-items: center;
  margin-top: 0.25rem;
  white-space: nowrap;
}

.c-cta__phoneIcon {
  width: 2.5rem;
  height: 1.4375rem;
  object-fit: contain;
}

.c-cta__phoneNumber {
  font-size: 1.875rem;
  font-weight: var(--fw-black);
  line-height: 1;
}
@media screen and (max-width: 767px) {
  .c-cta__phoneNumber {
    font-size: 1.75rem;
  }
}

/* phone の sub も Diagnosis と同じ class を使用 (font-size / line-height 共通)。
 * 個別調整 (phone のみ margin-top を変える) は今のところ不要。
 */
/* ========================================
 * Arrow: ボタン右端中央の icon overlay
 * ======================================== */
.c-cta__arrow {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  width: 1.875rem;
  height: 1.875rem;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .c-cta__arrow {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.c-section-title {
  position: relative;
  font-family: var(--title-font-family);
  font-size: 3.75rem;
  line-height: 1;
  text-transform: uppercase;
}
@media screen and (max-width: 767px) {
  .c-section-title {
    font-size: 2.5rem;
  }
}

.c-section-title[data-position=center] {
  text-align: center;
}

.c-section-title[data-position=left] {
  text-align: left;
}

.c-section-title[data-position=right] {
  text-align: right;
}

.c-section-title::before {
  position: absolute;
  top: 50%;
  z-index: -1;
  font-size: 7.5rem;
  color: var(--color-gray);
  content: attr(data-title);
}
@media screen and (max-width: 767px) {
  .c-section-title::before {
    font-size: 3.75rem;
  }
}

.c-section-title[data-position=center]::before {
  left: 50%;
  translate: -50% -50%;
}

.c-section-title[data-position=left]::before {
  left: 0;
  translate: 0 -50%;
}

.c-section-title[data-position=right]::before {
  right: 0;
  translate: 0 -50%;
}

/*
 * c-stat-pill: 月桂冠装飾付き実績スタット
 *
 * MV セクション・CTA セクション共通コンポーネント。
 * ※ MV は既存 p-mv__stat* 実装のまま。次リファクタで c-stat-pill へ移行予定。
 *
 * HTML 構造:
 *   <li class="c-stat-pill">
 *     <img class="c-stat-pill__leaf c-stat-pill__leaf--left" />
 *     <span class="c-stat-pill__body">
 *       <span class="c-stat-pill__label">返金実績数</span>
 *       <span class="c-stat-pill__value">
 *         <span class="c-stat-pill__num">4,000</span><span class="c-stat-pill__unit">件以上</span>
 *       </span>
 *     </span>
 *     <img class="c-stat-pill__leaf c-stat-pill__leaf--right" />
 *   </li>
 *
 * 「全国対応」バリアント:
 *   <span class="c-stat-pill__value">
 *     <span class="c-stat-pill__intro">なので</span><span class="c-stat-pill__em">全国対応</span>
 *   </span>
 */
.c-stat-pill {
  display: flex;
  align-items: center;
  text-align: center;
}

/* ── 月桂冠（左右共通、右はCSS水平反転）
 *   Figma 65:319 / 65:331 / 65:349 / 65:361 / 65:379 / 65:391: 33.722 × 80.932
 *   LG/SP は Figma に該当ノード無しのため比率縮小 (要確認) */
.c-stat-pill__leaf {
  flex-shrink: 0;
  width: 2.107625rem;
  height: 5.05825rem;
  object-fit: contain;
  /* 葉は path が細いので shadow を濃いめに当ててはっきり見せる */
  filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.65)) drop-shadow(0 0 1.25rem rgba(0, 0, 0, 0.45));
}
@media screen and (max-width: 1024px) {
  .c-stat-pill__leaf {
    width: 1.625rem;
    height: 3.875rem;
  }
}
@media screen and (max-width: 767px) {
  .c-stat-pill__leaf {
    width: 1rem;
    height: 3.4375rem;
  }
}

.c-stat-pill__leaf--right {
  transform: scaleX(-1);
}

/* ── テキストブロック ── */
.c-stat-pill__body {
  flex: 1; /* 残スペースを埋める = 葉が両端、テキストが中央寄せになる */
  min-width: 0;
  font-weight: var(--fw-black);
  color: var(--color-white);
  /* Figma 65:314 / 65:344 / 65:374 で whitespace-nowrap 指定。Figma 通り折り返さない */
  white-space: nowrap;
  /* テキストは塗りが太いので shadow は控えめ (葉と分けて適用) */
  filter: drop-shadow(0 0 0.5rem rgba(0, 0, 0, 0.3)) drop-shadow(0 0 1.25rem rgba(0, 0, 0, 0.18));
}

.c-stat-pill__label {
  display: block;
  font-size: 1.5175rem; /* Figma 65:314 / 65:344 / 65:374 */
  line-height: 1;
}
@media screen and (max-width: 1024px) {
  .c-stat-pill__label {
    font-size: 1.125rem;
  }
}
@media screen and (max-width: 767px) {
  .c-stat-pill__label {
    font-size: 0.75rem;
  }
}

.c-stat-pill__value {
  display: block;
  margin-top: 0.125rem;
  line-height: 1.1;
}
@media screen and (max-width: 767px) {
  .c-stat-pill__value {
    margin-top: 0.0625rem;
  }
}

/* 大きい数値（4,000 / 0）— Figma 65:314 / 65:344 */
.c-stat-pill__num {
  font-size: 3.0349375rem;
  color: #f2eb5f;
}
@media screen and (max-width: 1024px) {
  .c-stat-pill__num {
    font-size: 2.25rem;
  }
}
@media screen and (max-width: 767px) {
  .c-stat-pill__num {
    font-size: 1.25rem;
  }
}

/* 単位（件 / 円）— Figma 65:314 / 65:344 */
.c-stat-pill__unit {
  font-size: 2.0233125rem;
  color: #f2eb5f;
}
@media screen and (max-width: 1024px) {
  .c-stat-pill__unit {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 767px) {
  .c-stat-pill__unit {
    font-size: 0.875rem;
  }
}

/* 追加表記（以上 等）。SP で別行中央配置するため flex-basis: 100% */
.c-stat-pill__extra {
  font-size: 2.0233125rem;
  color: #f2eb5f;
}
@media screen and (max-width: 1024px) {
  .c-stat-pill__extra {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 767px) {
  .c-stat-pill__extra {
    display: block;
    font-size: 0.875rem;
    text-align: center;
  }
}

/* 「なので」等の前置きテキスト — Figma 65:374 (text-[24.28px]) */
.c-stat-pill__intro {
  font-size: 1.5175rem;
  color: var(--color-white);
}
@media screen and (max-width: 1024px) {
  .c-stat-pill__intro {
    font-size: 1.125rem;
  }
}
@media screen and (max-width: 767px) {
  .c-stat-pill__intro {
    font-size: 0.75rem;
  }
}

/* 「全国対応」等のアクセント強調 — Figma 65:374 (text-[32.373px]) */
.c-stat-pill__em {
  font-size: 2.0233125rem;
  color: #f2eb5f;
}
@media screen and (max-width: 1024px) {
  .c-stat-pill__em {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 767px) {
  .c-stat-pill__em {
    font-size: 1.0625rem;
  }
}

.c-triangle {
  display: inline-block;
  width: 4rem;
  aspect-ratio: 1/1;
  background-color: var(--color-black);
}

.c-triangle[data-direction=top] {
  clip-path: var(--clip-triangle-top);
}

.c-triangle[data-direction=bottom] {
  clip-path: var(--clip-triangle-bottom);
}

.c-triangle[data-direction=left] {
  clip-path: var(--clip-triangle-left);
}

.c-triangle[data-direction=right] {
  clip-path: var(--clip-triangle-right);
}

.c-triangle[data-direction=lower-left] {
  clip-path: var(--clip-triangle-lower-left);
}

.c-triangle[data-direction=upper-left] {
  clip-path: var(--clip-triangle-upper-left);
}

.c-triangle[data-direction=lower-right] {
  clip-path: var(--clip-triangle-lower-right);
}

.c-triangle[data-direction=upper-right] {
  clip-path: var(--clip-triangle-upper-right);
}

/* ==========================================================
 * セクション本体
 * ========================================================== */
.p-caseStudy {
  padding-block: 6.25rem;
  background-color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .p-caseStudy {
    padding-block: 4.6875rem 4.375rem;
  }
}

.p-caseStudy__inner {
  max-width: 65rem;
  padding-inline: 1.25rem;
  margin-inline: auto;
}

/* ==========================================================
 * 見出しブロック
 * ========================================================== */
.p-caseStudy__head {
  text-align: center;
}

.p-caseStudy__messageLabel {
  font-family: var(--en-font-family);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-caseStudy__messageLabel {
    font-size: 0.9375rem;
  }
}

.p-caseStudy__title {
  margin-top: 0.9375rem;
  font-family: var(--base-font-family);
  font-weight: var(--fw-black);
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__title {
    margin-top: 0.75rem;
  }
}

.p-caseStudy__titleSub {
  display: block;
  font-size: 2rem;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-caseStudy__titleSub {
    font-size: 1.75rem;
  }
}

.p-caseStudy__titleMain {
  display: block;
  font-size: 2.5rem;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-caseStudy__titleMain {
    font-size: 2rem;
  }
}

.p-caseStudy__divider {
  display: block;
  width: 3.125rem;
  height: 0.25rem;
  margin-inline: auto;
  margin-top: 0.9375rem;
  background-color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-caseStudy__divider {
    width: 2.5rem;
    margin-top: 1.25rem;
  }
}

.p-caseStudy__lead {
  margin-top: 1.875rem;
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-caseStudy__lead {
    margin-top: 2rem;
    font-size: 1rem;
  }
}

/* ==========================================================
 * 事例リスト
 * ========================================================== */
.p-caseStudy__list {
  width: 100%;
  padding: 0;
  margin-top: 2.5rem;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__list {
    margin-top: 1.875rem;
  }
}

.p-caseStudy__item {
  background-color: var(--color-accent-bg);
  border-radius: 1.25rem;
}

.p-caseStudy__item + .p-caseStudy__item {
  margin-top: 1.375rem;
}

/* ==========================================================
 * サマリー (button)
 *
 * 行構成 (PC/SP 共通フロー、サイズだけ mq で切替):
 *   topRow (年代 + 受任日) → quote (引用) → amountRow (金額系)
 * 詳細トグル: 右に absolute (PC は中央寄せ、SP は中央寄せ)
 * ========================================================== */
.p-caseStudy__summary {
  position: relative;
  display: block;
  width: 100%;
  padding-block: 1.25rem 1.875rem;
  padding-inline: 2.5rem 6.875rem;
  font-family: var(--base-font-family);
  text-align: left;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  border-radius: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__summary {
    padding-block: 1.25rem 1.25rem;
    padding-inline: 0.9375rem 0.9375rem;
  }
}

/* ── 上行: 60代女性 + 受任日 ────────────────────── */
.p-caseStudy__topRow {
  display: flex;
  gap: 1.5625rem;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__topRow {
    gap: 1.625rem;
  }
}

.p-caseStudy__age {
  flex-shrink: 0;
  width: 7.5rem;
  padding-block: 0.375rem;
  font-size: 1.0625rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-accent);
  border-radius: 1.875rem;
}

.p-caseStudy__date {
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
}

/* ── 引用 ───────────────────────────────── */
.p-caseStudy__quote {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-caseStudy__quote {
    margin-top: 0.875rem;
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--color-accent);
  }
}

/* ── 金額行 ────────────────────────────── */
.p-caseStudy__amountRow {
  display: flex;
  gap: 0rem;
  align-items: center;
  margin-top: 0.75rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__amountRow {
    flex-wrap: wrap;
    margin-top: 0.75rem;
  }
}

.p-caseStudy__amountBadge {
  flex-shrink: 0;
  width: 4.875rem;
  padding-block: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-cta-red-from);
  border-radius: 0.5rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__amountBadge {
    width: 4.25rem;
  }
}

/* 返金額 (Figma 2003:2291): 約 18 / 100 22 / 万円 18、color #d70000、Noto Sans JP Black */
.p-caseStudy__amountValue {
  flex-shrink: 0;
  margin-left: 0.625rem;
  font-weight: var(--fw-black);
  line-height: 1.125rem;
  color: #d70000;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__amountValue {
    margin-left: 0.375rem;
  }
}

.p-caseStudy__amountUnit {
  font-size: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__amountUnit {
    font-size: 1.125rem;
  }
}

.p-caseStudy__amountNum {
  font-size: 1.75rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__amountNum {
    font-size: 1.375rem;
  }
}

.p-caseStudy__amountSub {
  flex-shrink: 0;
  margin-left: 0.375rem;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__amountSub {
    margin-left: 0.25rem;
    font-size: 0.875rem;
  }
}

/* 返金率 (Figma 2003:2290): 約 24 / 71 32 / % 24、line-height 18、color #d70000、font-black
 * PC: amountRow 内の最後の flex item (右隣 inline)
 * SP: amountRow が flex-wrap: wrap → flex-basis 100% で次の行に折り返し */
.p-caseStudy__rate {
  flex-shrink: 0;
  width: 7.3125rem;
  padding-block: 0.375rem;
  margin-left: 1.125rem;
  font-weight: var(--fw-black);
  line-height: 1.125rem;
  color: var(--color-cta-red-from);
  text-align: center;
  background-color: var(--color-white);
  border: 0.1875rem solid var(--color-cta-red-from);
  border-radius: 0.5rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__rate {
    margin-top: 0.4375rem;
    margin-left: 0;
  }
}

.p-caseStudy__rateUnit {
  font-size: 1.5rem;
}

.p-caseStudy__rateNum {
  font-size: 2rem;
}

/* ── 詳細トグル (右側 absolute)
 *   Figma item PC (1000×180):
 *     toggle group: x=908, y=115, 62×34 → top=115 (item 中央 90 より下)
 *     詳細 text:    x=908, y=115, 36×34 → group 左上
 *     Vector 18:    x=955, y=138, 15×7.5 → group 右下
 *   text を上に、icon を text 右下に並べる (align-items: flex-end)
 * ───────────────────────────────────────── */
.p-caseStudy__toggle {
  position: absolute;
  top: 7.1875rem;
  right: 1.875rem;
  display: flex;
  gap: 0.6875rem;
  align-items: flex-end;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__toggle {
    top: auto;
    right: 0.9375rem;
    bottom: 1.25rem;
    align-items: center;
  }
}

.p-caseStudy__toggleText {
  font-size: 1.125rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-caseStudy__toggleText {
    font-size: 1.125rem;
  }
}

/* ∨ chevron-down: Figma Vector 18 (16.4×9.6 viewBox、 stroke 描画 ∧ を上下反転)
 * 元 path: M0.707 8.914 L8.207 1.414 L15.707 8.914 (∧ peak top)
 * 反転後 (chevron-down): M0.707 0.707 L8.207 8.207 L15.707 0.707 (∨ peak bottom)
 * fill="none" + stroke で線描画。 is-open で 180° 回転して ∧ になる。 */
.p-caseStudy__toggleIcon {
  display: block;
  width: 0.9375rem;
  height: 0.5rem;
  margin-bottom: 0.25rem;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16.414 9.621"><path d="M0.707 0.707 L8.207 8.207 L15.707 0.707" stroke="%23111111" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform var(--duration) ease;
  transform: rotate(0deg);
}

.p-caseStudy__item.is-open .p-caseStudy__toggleIcon {
  transform: rotate(180deg);
}

/* ==========================================================
 * 詳細ペイン (初期非表示)
 * ========================================================== */
.p-caseStudy__detail {
  display: none;
  padding-block: 0 2.5rem;
  padding-inline: 2.5rem 1.875rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__detail {
    padding-block: 0rem 1.875rem;
    padding-inline: 0.9375rem;
  }
}

.p-caseStudy__item.is-open .p-caseStudy__detail {
  display: block;
}

.p-caseStudy__detailSection {
  margin-top: 0.8125rem;
  overflow: hidden;
  background-color: var(--color-white);
  border-radius: 0.5rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__detailSection {
    margin-top: 0.1875rem;
  }
}

.p-caseStudy__detailSection + .p-caseStudy__detailSection {
  margin-top: 2.25rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__detailSection + .p-caseStudy__detailSection {
    margin-top: 1.25rem;
  }
}

.p-caseStudy__detailLabel {
  padding-block: 0.4375rem;
  padding-inline: 1.25rem;
  font-size: 1.125rem;
  font-weight: var(--fw-black);
  line-height: 1.4;
  color: var(--color-text);
  text-align: left;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__detailLabel {
    padding-block: 0.4375rem;
    padding-inline: 0.9375rem;
    font-size: 1rem;
  }
}

.p-caseStudy__detailSection--isProblem .p-caseStudy__detailLabel {
  background-color: var(--color-accent-light);
}

.p-caseStudy__detailSection--isAfter .p-caseStudy__detailLabel {
  background-color: var(--color-yellow);
}

/* テキスト周りの余白は <p> ではなくラップ (.p-caseStudy__detailBody) 側に */
.p-caseStudy__detailBody {
  padding-block: 0.625rem;
  padding-inline: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-caseStudy__detailBody {
    padding-block: 0.625rem;
    padding-inline: 0.9375rem;
  }
}

.p-caseStudy__detailText {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.625rem;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-caseStudy__detailText {
    font-size: 0.875rem;
    line-height: 1.375rem;
  }
}

/*
 * p-checklist: 心当たり（6 つの典型的な詐欺文言チェック）
 *
 * Figma 構造:
 *   PC 1000×1107 shell (at x=194 y=114 in page)
 *     - Header: 白 pill + teal border (596×83) を body 上部に重ねる
 *     - Body: #ecf8f9 bg, rounded top 20, 2 つの白 Card + ▽ polygon + conclusion text
 *     - CTA: teal→accent gradient (1000×156), 下 rounded 20, ctaText 中央 + キャラ男性 左下
 *   SP 335×1175 shell (at x=1427 y=154)
 *
 *   女性キャラは header pill の右上に飛び出し。男性キャラは CTA 左下に飛び出し。
 *   ※ 雛形内にキャラが絶対配置されるので、overflow は section 全体で hidden にしない
 *     ...が、溢れ分は body の外に出るのでむしろ許容。
 */
.p-checklist {
  padding-block: 3.75rem 6.25rem;
  background-color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .p-checklist {
    padding-block: 6.625rem 0rem;
    margin-block-end: 3.75rem;
  }
}

.p-checklist__inner {
  position: relative;
  max-width: 65rem;
  padding-inline: 1.25rem;
  margin-inline: auto;
}

/* ==========================================================
 * Header (タイトル pill + 女性キャラ + 下装飾)
 * ========================================================== */
.p-checklist__header {
  position: relative;
  z-index: 2;
  max-width: 37.25rem;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-checklist__header {
    max-width: 19.5rem;
  }
}

.p-checklist__title {
  z-index: 2;
  padding-block: 1.125rem;
  padding-inline: 1.875rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-text);
  text-align: center;
  white-space: nowrap;
  background-color: var(--color-white);
  border: 0.1875rem solid var(--color-accent);
  border-radius: 0.5rem;
}
@media screen and (max-width: 767px) {
  .p-checklist__title {
    padding-block: 1.3125rem 0.8125rem;
    padding-inline: 0.625rem;
    border-width: 0.09375rem;
    border-radius: 0.25rem;
  }
}

.p-checklist__titleSub {
  font-size: 2.125rem;
}
@media screen and (max-width: 767px) {
  .p-checklist__titleSub {
    font-size: 1.125rem;
  }
}

.p-checklist__titleMain {
  position: relative;
  font-size: 2.5rem;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-checklist__titleMain {
    font-size: 1.5rem;
  }
}

.p-checklist__titleMain::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 8rem;
  height: 0.375rem;
  content: "";
  background-image: url("../images/checklist_03.DTKamGjd.svg");
  translate: -50%;
}
@media screen and (max-width: 767px) {
  .p-checklist__titleMain::before {
    top: -0.25rem;
    width: 4.8125rem;
    background-image: url("../images/checklist_09.CAxfhD6b.svg");
  }
}

/* 女性キャラ pill の右脇に飛び出す */
.p-checklist__charWoman {
  position: absolute;
  top: -3.5625rem;
  right: -8.75rem;
  z-index: 2;
  width: 9.75rem;
  height: auto;
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .p-checklist__charWoman {
    top: -7.625rem;
    right: 6.8125rem;
    width: 7rem;
  }
}

/* ==========================================================
 * Body (ecf8f9 bg — 白 Card × 2 + ▽ polygon + conclusion)
 * ========================================================== */
.p-checklist__body {
  position: relative;
  padding-block: 3.875rem 3.5625rem;
  padding-inline: 3.5rem;
  margin-top: -2.5rem;
  background-color: #ecf8f9;
  border-radius: 1.25rem 1.25rem 0 0;
}
@media screen and (max-width: 767px) {
  .p-checklist__body {
    padding-block: 3.875rem 2.6875rem;
    padding-inline: 1.25rem;
    margin-top: -2.5625rem;
  }
}

/* ==========================================================
 * Card (白 bg, 内側に cardTitle + 波線 + list)
 * ========================================================== */
.p-checklist__card {
  padding-block: 2.5rem 2.5rem;
  padding-inline: 2.5rem;
  background-color: var(--color-white);
  border-radius: 0.5rem;
}
@media screen and (max-width: 767px) {
  .p-checklist__card {
    min-height: 25.25rem;
    padding-block: 1.25rem 1.125rem;
    padding-inline: 0.875rem;
  }
}

/* --isSingle (CardB) は item 1 つだけのため min-height 解除 */
@media screen and (max-width: 767px) {
  .p-checklist__card--isSingle {
    min-height: 0;
  }
}

.p-checklist__card + .p-checklist__card {
  margin-top: 1.25rem;
}

.p-checklist__cardTitle {
  font-weight: var(--fw-black);
  line-height: 1.5rem;
  color: var(--color-text);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-checklist__cardTitle {
    line-height: 1.4;
  }
}

.p-checklist__cardTitleSub {
  font-size: 1.4375rem;
}
@media screen and (max-width: 767px) {
  .p-checklist__cardTitleSub {
    font-size: 1.125rem;
  }
}

/* SP のみ「こんな事を」を独立行に */
@media screen and (max-width: 767px) {
  .p-checklist__cardTitleSub:first-child {
    display: block;
  }
}

.p-checklist__cardTitleMain {
  font-size: 1.75rem;
}
@media screen and (max-width: 767px) {
  .p-checklist__cardTitleMain {
    font-size: 1.5rem;
  }
}

/* Card 見出し下の teal 波線 */
.p-checklist__cardDeco {
  display: block;
  margin-top: 0.625rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-checklist__cardDeco {
    margin-top: 0.0625rem;
  }
}

.p-checklist__cardDecoImg {
  display: inline-block;
  width: 100%;
  max-width: 50rem;
  height: auto;
}
@media screen and (max-width: 767px) {
  .p-checklist__cardDecoImg {
    max-width: 16.5625rem;
  }
}

/* ==========================================================
 * List (✓ チェック項目)
 * ========================================================== */
.p-checklist__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  padding: 0;
  margin-top: 0.625rem;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-checklist__list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.625rem;
  }
}

.p-checklist__list--isSingle {
  grid-template-columns: 1fr;
}

.p-checklist__item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .p-checklist__item {
    align-items: flex-start;
  }
}

.p-checklist__item--isWide {
  grid-column: 1/-1;
}
@media screen and (max-width: 767px) {
  .p-checklist__item--isWide {
    grid-column: auto;
  }
}

.p-checklist__check {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-checklist__check {
    align-items: flex-start;
    width: 1.3125rem;
    height: 1.625rem;
  }
}

.p-checklist__checkImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-checklist__text {
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-checklist__text {
    font-size: 1rem;
  }
}

.p-checklist__highlight {
  font-size: 1.4375rem;
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  background: linear-gradient(transparent 60%, #f2eb5f 60%);
}
@media screen and (max-width: 767px) {
  .p-checklist__highlight {
    font-size: 1.25rem;
  }
}

/* ==========================================================
 * Polygon ▽ (teal gradient, Card B と conclusion の間)
 * Figma: 元 SVG は △ (pointing up)。Figma では scale-y(-1) で ▽ にしているので揃える。
 * ========================================================== */
.p-checklist__polygon {
  display: block;
  width: 16.875rem;
  max-width: 100%;
  height: auto;
  margin-block: 1.875rem 0.875rem;
  margin-inline: auto;
  transform: scaleY(-1);
}
@media screen and (max-width: 767px) {
  .p-checklist__polygon {
    width: 13.75rem;
    height: 3rem;
    margin-block: 1rem 1.3125rem;
  }
}

/* ==========================================================
 * Conclusion (訴求文 3 行)
 *
 * Figma: stroke 6px #FFF OUTSIDE + drop-shadow r12 y6 #00000026。
 * CSS `-webkit-text-stroke` は中心線基準 (CENTER) で内外半々に描画されるため、
 * `paint-order: stroke fill` で内側を fill で覆うと、stroke は外側にしか見えず
 * 見た目の厚みは指定値の半分になる。Figma の OUTSIDE = stroke 全量を外側、と一致させる
 * には 2 倍の値を指定する (Figma 6px → CSS 12px)。
 * ========================================================== */
.p-checklist__conclusion {
  font-weight: var(--fw-black);
  line-height: 1.4;
  color: var(--color-text);
  text-align: center;
  /* Figma: 6px white OUTSIDE stroke + drop-shadow 0/6/12 rgba(0,0,0,0.15)。
   * text-shadow は paint-order:stroke fill 下では stroke の白に打ち消されて
   * 見えづらいので、 filter: drop-shadow で stroke を含む要素全体の影として出す。
   * これで「白い縁取り + その外側に影」 を Figma 通りに再現。 */
  -webkit-text-stroke: 0.75rem var(--color-white);
  filter: drop-shadow(0 0.375rem 0.75rem rgba(0, 0, 0, 0.25));
  paint-order: stroke fill;
}
@media screen and (max-width: 767px) {
  .p-checklist__conclusion {
    line-height: 1.6;
    filter: drop-shadow(0 0.1875rem 0.375rem rgba(0, 0, 0, 0.25));
    -webkit-text-stroke-width: 0.375rem;
  }
}

.p-checklist__conclusionSub {
  font-size: 1.875rem;
}
@media screen and (max-width: 767px) {
  .p-checklist__conclusionSub {
    font-size: 1rem;
  }
}

.p-checklist__conclusionEm {
  font-size: 2.625rem;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-checklist__conclusionEm {
    font-size: 1.25rem;
    white-space: nowrap;
  }
}

/* ==========================================================
 * CTA (teal gradient, 白テキスト, 男性キャラ左下)
 * ========================================================== */
.p-checklist__cta {
  position: relative;
  padding-block: 2.1875rem;
  padding-inline: 3.125rem;
  background: linear-gradient(to right, #70d7e4, var(--color-accent));
  border-radius: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-checklist__cta {
    min-height: 8.3125rem;
    padding-block: 1.4375rem 1.0625rem;
    padding-inline: 1.25rem;
    border-radius: 0rem 0rem 1.25rem 1.25rem;
  }
}

.p-checklist__charMan {
  position: absolute;
  top: -2.5rem;
  left: 10.625rem;
  z-index: 1;
  width: 10.875rem;
  height: auto;
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .p-checklist__charMan {
    top: -1.375rem;
    bottom: 0;
    left: -0.75rem;
    width: 8.625rem;
  }
}

.p-checklist__ctaText {
  position: relative;
  z-index: 2;
  padding-inline-start: 18.75rem;
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  line-height: 1.5;
  color: var(--color-white);
  text-align: left;
  text-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}
@media screen and (max-width: 767px) {
  .p-checklist__ctaText {
    padding-inline-start: 6.4375rem;
    font-size: 1.125rem;
    line-height: 1.4;
    white-space: nowrap;
  }
}

.p-checklist__ctaEm {
  font-size: 2rem;
  color: #f2eb5f;
}
@media screen and (max-width: 767px) {
  .p-checklist__ctaEm {
    font-size: 1.625rem;
  }
}

/* SP のみ「非常に高いです！」の前で改行 */
.p-checklist__ctaSpBr {
  display: none;
}
@media screen and (max-width: 767px) {
  .p-checklist__ctaSpBr {
    display: block;
  }
}

/* ──────────────────────────────────────────
 * セクション本体
 * ────────────────────────────────────────── */
.p-ctaSection {
  padding-block: 4.3125rem 3rem;
  background: url("../images/cta-section_03.B51Oeuf8.svg") center/cover no-repeat;
}
@media screen and (max-width: 1024px) {
  .p-ctaSection {
    padding-block: 3.5rem 3.75rem;
  }
}
@media screen and (max-width: 767px) {
  .p-ctaSection {
    padding-block: 3.75rem 3.625rem;
    background: url("../images/cta-section_04.6j60fPNq.svg") center/cover no-repeat;
  }
}

.p-ctaSection__inner {
  padding-inline: 1.25rem;
  margin-inline: auto;
}

/* ──────────────────────────────────────────
 * 見出しバブル: 角丸 pill (CSS) + 三角の出っ張り (clip-path)
 * Figma path: pill 562x50 (x:8→570 / y:4→54) / 三角 16.25x18 / shadow dy=4 blur=4 alpha=0.25
 * MV bubble (.p-mv__bubble) と同じ手法
 * ────────────────────────────────────────── */
.p-ctaSection__headBox {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35.125rem;
  height: 3.125rem;
  margin-inline: auto;
  background-color: #003036;
  filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
  border-radius: 1.5625rem;
}
@media screen and (max-width: 767px) {
  .p-ctaSection__headBox {
    width: 20.9375rem;
    height: 2.25rem;
    border-radius: 1.125rem;
  }
}

.p-ctaSection__headBox::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1.015625rem;
  height: 1.125rem;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  background-color: #003036;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-ctaSection__headBox::after {
    width: 0.6875rem;
    height: 0.8125rem;
  }
}

.p-ctaSection__headText {
  margin: 0;
  font-size: 1.25rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-white);
  white-space: nowrap;
}
@media screen and (max-width: 1024px) {
  .p-ctaSection__headText {
    font-size: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .p-ctaSection__headText {
    font-size: 0.75rem;
    white-space: normal;
  }
}

.p-ctaSection__headAccent {
  font-size: 1.5rem;
  color: #f2eb5f;
}
@media screen and (max-width: 1024px) {
  .p-ctaSection__headAccent {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  .p-ctaSection__headAccent {
    font-size: 1rem;
  }
}

/* ──────────────────────────────────────────
 * 実績スタット一覧
 * PC: 3列横並び (Figma 65:312、各 stat 横幅は Figma 値: 313 / 232 / 278)、
 *     葉が両端、テキスト中央寄せで「ゆとり」を作る
 * SP: 同じく横並び (flex で 3 等分、葉も縮小)
 * ────────────────────────────────────────── */
.p-ctaSection__stats {
  display: flex;
  gap: 1.875rem;
  justify-content: center;
  padding: 0;
  margin-top: 3rem;
  list-style: none;
}
@media screen and (max-width: 1024px) {
  .p-ctaSection__stats {
    gap: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .p-ctaSection__stats {
    gap: 0.3125rem;
    margin-top: 1.5rem;
  }
}

.p-ctaSection__stats > .c-stat-pill:nth-child(1) {
  width: 19.5625rem;
}
@media screen and (max-width: 767px) {
  .p-ctaSection__stats > .c-stat-pill:nth-child(1) {
    flex: 1 1 0;
    width: auto;
  }
}

.p-ctaSection__stats > .c-stat-pill:nth-child(2) {
  width: 14.5rem;
}
@media screen and (max-width: 767px) {
  .p-ctaSection__stats > .c-stat-pill:nth-child(2) {
    flex: 1 1 0;
    width: auto;
  }
}

.p-ctaSection__stats > .c-stat-pill:nth-child(3) {
  width: 18.75rem;
}
@media screen and (max-width: 767px) {
  .p-ctaSection__stats > .c-stat-pill:nth-child(3) {
    flex: 1 1 0;
    width: auto;
  }
}

.p-ctaSection__stats > .c-stat-pill:nth-child(3) .c-stat-pill__label {
  font-size: 2rem;
  line-height: 1.35;
  color: #f2eb5f;
}
@media screen and (max-width: 767px) {
  .p-ctaSection__stats > .c-stat-pill:nth-child(3) .c-stat-pill__label {
    font-size: 1.0625rem;
  }
}

.p-ctaSection__stats > .c-stat-pill:nth-child(3) .c-stat-pill__value {
  font-size: 1.5rem;
  line-height: 1.35;
}
@media screen and (max-width: 767px) {
  .p-ctaSection__stats > .c-stat-pill:nth-child(3) .c-stat-pill__value {
    font-size: 0.75rem;
  }
}

/* ──────────────────────────────────────────
 * CTA ボタングループ + 営業時間
 * MV と同じパターン: cta-group + hours を縦に並べ、hours を電話ボタン (右) の下に揃える
 * ────────────────────────────────────────── */
.p-ctaSection__ctaWrap {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin-inline: auto;
  margin-top: 3.5625rem;
}
@media screen and (max-width: 767px) {
  .p-ctaSection__ctaWrap {
    width: 20.9375rem;
    margin-top: 1.9375rem;
  }
}

/* c-cta__sub（赤ボタン内の営業時間）は
 * このセクションでは p-ctaSection__hours として外出しするため非表示
 * ※ 診断ボタンの c-cta__sub（騙されている？...）は引き続き表示 */
.p-ctaSection .c-cta--isPhone .c-cta__sub {
  display: none;
}

/* ──────────────────────────────────────────
 * 営業時間: 電話ボタン (右) の下に揃える (MV と同じ)
 * ────────────────────────────────────────── */
.p-ctaSection__hours {
  align-self: flex-end;
  width: 22rem;
  margin: 0;
  margin-top: 0.5rem;
  font-family: var(--base-font-family);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-ctaSection__hours {
    align-self: stretch;
    width: 100%;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
  }
}

/*
 * p-faq: よくあるご質問
 *
 * Figma:
 *   PC node 2003:2115 — 1440 × 1897、bg #ecf8f9
 *   SP node 2003:2196 —  375 × 1433、bg #ecf8f9
 *
 * 構造:
 *   .p-faq                   セクション本体 (bg-#ecf8f9)
 *   .p-faq__inner            max-width 1440、左右 padding
 *   .p-faq__head             見出しブロック (FAQ + サブ + メイン + 区切り線 + リード)
 *   .p-faq__list             FAQ アイテムリスト
 *   .p-faq__item             各アイテム
 *     .p-faq__question       Q バー (button、accent bg、白文字)
 *       .p-faq__qLabel       "Q" (Oswald)
 *       .p-faq__qText        質問文
 *       .p-faq__icon         開閉アイコン (SP のみ)
 *     .p-faq__answer         A エリア (white bg)
 *       .p-faq__aLabel       "A" (Oswald accent)
 *       .p-faq__aText        回答文
 *
 * レスポンシブ動作:
 *   PC: アコーディオンなし、Q+A を常時並べる
 *   SP: アコーディオン UI、初期 1 番目のみ open。
 *       - is-open: A エリア表示、icon は ｜ 非表示で「ー」
 *       - 閉: A エリア非表示、icon「＋」
 *       - 開閉アニメは _faq.js で 350ms slideDown / slideUp (CODING_RULES 準拠)
 */
/* ==========================================================
 * セクション本体
 * ========================================================== */
.p-faq {
  padding-block: 6.25rem;
  background-color: var(--color-accent-bg);
}
@media screen and (max-width: 767px) {
  .p-faq {
    padding-block: 4.5rem;
  }
}

.p-faq__inner {
  max-width: 90rem;
  padding-inline: 1.25rem;
  margin-inline: auto;
}

/* ==========================================================
 * 見出しブロック
 * ========================================================== */
.p-faq__head {
  text-align: center;
}

.p-faq__messageLabel {
  font-family: var(--en-font-family);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-faq__messageLabel {
    font-size: 0.9375rem;
    line-height: 1.4;
  }
}

.p-faq__title {
  margin-top: 0.9375rem;
  font-family: var(--base-font-family);
  font-weight: var(--fw-black);
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .p-faq__title {
    margin-top: 0.75rem;
  }
}

.p-faq__titleSub {
  display: block;
  font-size: 2rem;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-faq__titleSub {
    font-size: 1.5rem;
  }
}

.p-faq__titleMain {
  display: block;
  font-size: 2.5rem;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-faq__titleMain {
    font-size: 1.75rem;
  }
}

.p-faq__divider {
  display: block;
  width: 3.125rem;
  height: 0.25rem;
  margin-inline: auto;
  margin-top: 0.9375rem;
  background-color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-faq__divider {
    width: 2.5rem;
    margin-top: 1.625rem;
  }
}

.p-faq__lead {
  margin-top: 1.875rem;
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-faq__lead {
    margin-top: 1.5625rem;
    font-size: 1rem;
  }
}

/* ==========================================================
 * FAQ アイテムリスト
 * ========================================================== */
.p-faq__list {
  width: 100%;
  max-width: 50rem;
  padding: 0;
  margin-inline: auto;
  margin-top: 2.375rem;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-faq__list {
    max-width: 20.9375rem;
    margin-top: 1.1875rem;
  }
}

.p-faq__item {
  background-color: var(--color-white);
}

.p-faq__item + .p-faq__item {
  margin-top: 0.8125rem;
}
@media screen and (max-width: 767px) {
  .p-faq__item + .p-faq__item {
    margin-top: 0.9375rem;
  }
}

.p-faq__item::details-content {
  content-visibility: unset;
  display: block grid;
}
@media screen and (max-width: 767px) {
  .p-faq__item::details-content {
    transition: grid-template-rows 300ms ease-in-out;
  }
}

@media screen and (max-width: 767px) {
  .p-faq__item:not([open])::details-content {
    grid-template-rows: 0fr;
  }
}

@media screen and (max-width: 767px) {
  .p-faq__item[open]::details-content {
    grid-template-rows: 1fr;
  }
}

/* ==========================================================
 * Q バー (button)
 * ========================================================== */
.p-faq__question {
  position: relative;
  display: block;
  width: 100%;
  padding-block: 0.625rem;
  padding-inline: 3rem 3rem;
  font-family: var(--base-font-family);
  text-align: left;
  list-style: none;
  cursor: default;
  background-color: var(--color-accent);
  border: 0;
  border-radius: 0;
}
.p-faq__question::-webkit-details-marker {
  display: none;
}
@media screen and (max-width: 767px) {
  .p-faq__question {
    min-height: 4.625rem;
    padding-block: 0.6875rem;
    padding-inline: 1.8125rem 3rem;
    cursor: pointer;
  }
}

.p-faq__qLabel {
  position: absolute;
  top: 0.5625rem;
  left: 1.25rem;
  font-family: var(--en-font-family);
  font-size: 1.375rem;
  font-weight: var(--fw-medium);
  line-height: 1.875rem;
  color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .p-faq__qLabel {
    top: 0.5625rem;
    left: 0.5rem;
    font-size: 1.25rem;
  }
}

.p-faq__qText {
  display: block;
  font-size: 1.125rem;
  font-weight: var(--fw-black);
  line-height: 1.875rem;
  color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .p-faq__qText {
    max-width: 15.875rem;
    font-size: 1rem;
    line-height: 1.625rem;
  }
}

/* ==========================================================
 * 開閉アイコン (SP のみ表示)
 *   ＋ / ー の切替: ::after (縦線) を is-open で scaleY(0)
 * ========================================================== */
.p-faq__icon {
  display: none;
}
@media screen and (max-width: 767px) {
  .p-faq__icon {
    position: absolute;
    top: 50%;
    right: 0.9375rem;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    transform: translateY(-50%);
  }
}

.p-faq__icon::before,
.p-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: "";
  background-color: var(--color-white);
}

.p-faq__icon::before {
  width: 1.5rem;
  height: 0.125rem;
  transform: translate(-50%, -50%);
}

.p-faq__icon::after {
  width: 0.125rem;
  height: 1.5rem;
  transition: transform var(--duration) ease;
  transform: translate(-50%, -50%);
}

.p-faq__item[open] .p-faq__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

/* ==========================================================
 * A エリア
 *   PC: 常時表示
 *   SP: 初期非表示、is-open で slideDown 表示 (JS が制御)
 * ========================================================== */
.p-faq__answer {
  overflow: hidden;
  background-color: var(--color-white);
}

.p-faq__answerInner {
  position: relative;
  padding-block: 1rem 1.125rem;
  padding-inline: 3rem 1.625rem;
}
@media screen and (max-width: 767px) {
  .p-faq__answerInner {
    padding-block: 1.0625rem 0.9375rem;
    padding-inline: 1.8125rem 1rem;
  }
}

.p-faq__aLabel {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-family: var(--en-font-family);
  font-size: 1.375rem;
  font-weight: var(--fw-medium);
  line-height: 1.875rem;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-faq__aLabel {
    top: 0.875rem;
    left: 0.5rem;
    font-size: 1.25rem;
  }
}

.p-faq__aText {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-faq__aText {
    font-size: 1rem;
  }
}

/*
 * p-flow: 簡単4ステップ 解決までの流れ
 *
 * Figma:
 *   PC node 2003:1974 — 1440 × 1607、bg #ecf8f9
 *   SP node 2003:2024 —  375 × 1802、bg #ecf8f9
 *
 * 構造:
 *   .p-flow                           セクション本体（背景色のみ）
 *   .p-flow__inner                    最大幅 1440、左右 padding
 *   .p-flow__head                     見出しブロック（FLOW / 簡単4ステップ + 解決までの流れ / 下線）
 *   .p-flow__lead                     リード文
 *   .p-flow__list                     <ol>、4 アイテム縦並び
 *   .p-flow__item                     <li>、画像と白カードがオーバーラップする artistic layout
 *
 * absolute レイアウトの根拠 (CODING_RULES §7):
 *   各 step item で、画像 (385×233) と白カード (905×233) が水平方向に重なり合うため
 *   通常のフロー配置では再現不可能。1 アイテム = 1 座標基準コンテナ + 全子要素 absolute。
 *   PC/SP どちらも重なり構造を持つため、両方とも absolute レイアウトを維持する。
 *   座標は Figma の locationRelativeToParent をそのまま rem() に渡している。
 */
/* ==========================================================
 * セクション本体
 * ========================================================== */
.p-flow {
  padding-block: 6.25rem;
  background-color: var(--color-accent-bg);
}
@media screen and (max-width: 767px) {
  .p-flow {
    padding-block: 4.5rem;
  }
}

.p-flow__inner {
  max-width: 90rem;
  padding-inline: 1.25rem;
  margin-inline: auto;
}

/* ==========================================================
 * 見出しブロック
 * ========================================================== */
.p-flow__head {
  text-align: center;
}

.p-flow__flowLabel {
  font-family: var(--en-font-family);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-flow__flowLabel {
    font-size: 0.9375rem;
  }
}

.p-flow__title {
  margin-top: 0.8125rem;
  font-family: var(--base-font-family);
  font-weight: var(--fw-black);
  line-height: 1;
}
@media screen and (max-width: 767px) {
  .p-flow__title {
    margin-top: 1.25rem;
  }
}

.p-flow__titleMain {
  font-size: 2.5rem;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-flow__titleMain {
    font-size: 2rem;
  }
}

.p-flow__titleSub {
  font-size: 2rem;
  color: var(--color-black);
}
@media screen and (max-width: 767px) {
  .p-flow__titleSub {
    display: block;
    margin-top: 0.75rem;
    font-size: 1.75rem;
  }
}

/* 見出し下のアクセント線 (Figma Vector15、PC 50px / SP 40px) */
.p-flow__divider {
  display: block;
  width: 3.125rem;
  height: 0.25rem;
  margin-inline: auto;
  margin-top: 2.25rem;
  background-color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-flow__divider {
    width: 2.5rem;
    height: 0.25rem;
    margin-top: 1.0625rem;
  }
}

/* ==========================================================
 * リード文
 * ========================================================== */
.p-flow__lead {
  margin-top: 1.375rem;
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
  color: var(--color-text);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-flow__lead {
    margin-top: 1.3125rem;
    font-size: 1rem;
  }
}

/* ==========================================================
 * リスト本体
 * Figma: PC w=1000 / left=220 (中央) / 4 items, gap=20
 *        SP w=355  / left=20         / 4 items, gap=20
 * ========================================================== */
.p-flow__list {
  width: 100%;
  max-width: 62.5rem;
  padding: 0;
  margin-inline: auto;
  margin-top: 1.25rem;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-flow__list {
    max-width: 20.9375rem;
    margin-top: 1.875rem;
  }
}

/* ==========================================================
 * 各ステップアイテム (座標基準コンテナ)
 *
 * 座標基準: .p-flow__item の content-box 左上 = Figma item グループの左上
 *
 * PC item サイズ: 1000 × 290
 *   画像  : (0,    22)  385×233   角丸 20  shadow 8 8 12 0 rgba(0,0,0,0.15)
 *   白カード: (95,  57)  905×233   bg-white
 *   番号  : (420,  0)   80px Oswald Bold #01a6bc opacity 0.3
 *   見出し : (426, 119) 28px Noto Sans JP Black #01a6bc
 *   区切り : (429, 172) 520×1   #01a6bc (Vector16)
 *   説明  : (426, 197) 16px Noto Sans JP SemiBold #111
 *
 * SP item サイズ: 335 × 343
 *   画像  : (0,   0)   280×169   角丸 20  shadow 8 8 12 0 rgba(0,0,0,0.15)
 *   白カード: (20,  73)  315×270   bg-white
 *   番号  : (33, 170)  50px Oswald Bold #01a6bc opacity 0.3
 *   見出し : (89, 193)  24px Noto Sans JP Black #01a6bc
 *   区切り : (38, 244)  280×1   #01a6bc
 *   説明  : (35, 264)  16px Noto Sans JP SemiBold #111
 * ========================================================== */
.p-flow__item {
  position: relative;
  width: 100%;
  height: 18.125rem;
}
@media screen and (max-width: 767px) {
  .p-flow__item {
    height: 21.4375rem;
  }
}

.p-flow__item + .p-flow__item {
  margin-top: 1.25rem;
}

/* ── 画像 ─────────────────────────────────────────── */
.p-flow__image {
  position: absolute;
  top: 1.375rem;
  left: 0;
  z-index: 1;
  width: 24.0625rem;
  height: 14.5625rem;
  object-fit: cover;
  background-color: var(--color-border-gray);
  border-radius: 1.25rem;
  box-shadow: 0.5rem 0.5rem 0.75rem 0 rgba(0, 0, 0, 0.15);
}
@media screen and (max-width: 767px) {
  .p-flow__image {
    top: 0;
    width: 17.5rem;
    height: 10.5625rem;
    box-shadow: 0.5rem 0.5rem 0.75rem 0 rgba(0, 0, 0, 0.15);
  }
}

/* ── 白カード (背景) ─────────────────────────────── */
.p-flow__card {
  position: absolute;
  top: 3.5625rem;
  left: 5.9375rem;
  width: 56.5625rem;
  height: 14.5625rem;
  background-color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .p-flow__card {
    top: 4.5625rem;
    left: 1.25rem;
    width: 19.6875rem;
    height: 16.875rem;
  }
}

/* ── 番号 (01-04) ────────────────────────────────── */
.p-flow__num {
  position: absolute;
  top: 0.8125rem;
  left: 26.25rem;
  font-family: var(--en-font-family);
  font-size: 5rem;
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-accent);
  opacity: 0.3;
}
@media screen and (max-width: 767px) {
  .p-flow__num {
    top: 11.25rem;
    left: 2.3125rem;
    font-size: 3.125rem;
    line-height: 1;
  }
}

/* ── ステップタイトル ─────────────────────────────── */
.p-flow__itemTitle {
  position: absolute;
  top: 7.875rem;
  left: 26.625rem;
  font-family: var(--base-font-family);
  font-size: 1.75rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-flow__itemTitle {
    top: 12.3125rem;
    left: 6.25rem;
    font-size: 1.5rem;
  }
}

/* ── 区切り線 ─────────────────────────────────────── */
.p-flow__rule {
  position: absolute;
  top: 15.25rem;
  left: 26.8125rem;
  display: block;
  width: 17.5rem;
  height: 0.125rem;
  background-image: linear-gradient(to right, var(--color-accent) 50%, transparent 0%);
  background-repeat: repeat-x;
  background-size: 0.5rem 0.125rem;
}
@media screen and (max-width: 767px) {
  .p-flow__rule {
    top: 15.125rem;
    left: 2.375rem;
    width: 17.5rem;
  }
}

/* ── 説明文 ───────────────────────────────────────── */
.p-flow__desc {
  position: absolute;
  top: 12.3125rem;
  left: 26.625rem;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-flow__desc {
    top: 16.5rem;
    left: 2.1875rem;
    width: 17.5rem;
  }
}

/*
 * フォーム (Figma file UTo1AZb8PoqC48luxmgP8H, node 70:4366 PC / 97:6464 SP)
 *
 * Step 1 / 2: 質問 pill + 注釈 + はい/いいえ + (PC: 右にスマホ / SP: 上にスマホ)
 * Step 3:     入力フォーム (氏名/電話番号/メールアドレス) + 診断する + 戻る
 *
 * 背景: form_bg.svg (PC) / form_bg_sp.svg (SP) を picture で出し分け、section 全面に absolute 配置。
 * step 切替は .is-active の付け替え (display:none ↔ block)。
 */
/* ==========================================================
 * Section
 * ========================================================== */
.p-form {
  position: relative;
  padding-block: calc(var(--header-height) + 8.5625rem) 4.0625rem;
  overflow: hidden;
  background-color: #a5dadf;
}
@media screen and (max-width: 767px) {
  .p-form {
    padding-block: calc(var(--header-height) + 4.625rem) 3.8125rem;
  }
}

/* Thanks ページ専用: card 上下余白が異なる (Figma PC 116/120, SP 30/200) */
.p-form--isThanks {
  padding-block: calc(var(--header-height) + 7.25rem) 7.5rem;
}
@media screen and (max-width: 767px) {
  .p-form--isThanks {
    padding-block: calc(var(--header-height) + 1.875rem) 12.5rem;
  }
}

/* 背景: 波形 SVG を section 下端に貼る (natural aspect)。section bg-color と SVG 内 teal が同色なので継ぎ目なし */
.p-form__bg {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.p-form__bg img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================
 * Inner / Layout
 * ========================================================== */
.p-form__inner {
  position: relative;
  z-index: 1;
  max-width: 90rem;
  padding-inline: 1.25rem;
  margin-inline: auto;
}

.p-form__step {
  display: none;
}

.p-form__step.is-active {
  display: block;
}

/* Step 1, 2: カード(左寄り絶対座標) + スマホ(右、絶対配置)
 * .p-form__layout に position: relative を明示し、子の absolute (.p-form__phone) の anchor を固定する。 */
.p-form__layout {
  position: relative;
  width: 100%;
  /* スマホイラスト absolute の anchor 高さを確保 (PC で card 高さ < スマホ height 429 の場合に潰れないため) */
  min-height: 26.8125rem;
}
@media screen and (max-width: 767px) {
  .p-form__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
  }
}

.p-form__main {
  width: 100%;
  max-width: 37.625rem;
  margin-inline-start: 12.5rem;
}
@media screen and (max-width: 767px) {
  .p-form__main {
    max-width: 20.9375rem;
    margin-block-start: 11.125rem;
    margin-inline-start: 0;
  }
}

/* スマホイラスト: PC=右側 absolute / SP=上部 absolute */
.p-form__phone {
  position: absolute;
  top: -3.4375rem;
  right: 8.375rem;
  display: block;
  width: 24.5rem;
}
@media screen and (max-width: 767px) {
  .p-form__phone {
    top: -3.4375rem;
    right: auto;
    left: 50%;
    width: 12.25rem;
    transform: translateX(-50%);
  }
}

.p-form__phone img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================
 * Card (白カード本体)
 * ========================================================== */
.p-form__card {
  /* Figma Rectangle 554 は image として書き出されており、波形背景が透ける半透明白。
   * background-color を rgba で 88% 白に、影を強めに乗せて Figma の見た目を再現。 */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-block: 0rem 2.5rem;
  padding-inline: 1.875rem;
  background-color: rgba(255, 255, 255, 0.88);
  border-radius: 1.25rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
}
@media screen and (max-width: 767px) {
  .p-form__card {
    padding-block: 0rem 1.625rem;
    padding-inline: 1.25rem;
    border-radius: 1.25rem;
  }
}

.p-form__card--isWide {
  max-width: 62.5rem;
  padding-inline: 7.1875rem;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-form__card--isWide {
    max-width: 20.9375rem;
    padding-inline: 1.25rem;
  }
}

/* ==========================================================
 * 質問 pill (PC: 横1行、SP: 縦並び)
 * ========================================================== */
.p-form__head {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  gap: 0.625rem;
  align-items: center;
  justify-content: center;
  padding-block: 0.5rem;
  padding-inline: 1.5625rem;
  margin-inline: auto;
  margin-top: -1.3125rem;
  font-family: var(--base-font-family);
  font-size: 1.375rem;
  font-weight: var(--fw-black);
  line-height: 1.4;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
  background-color: var(--color-accent);
  border-radius: 1.875rem;
}
@media screen and (max-width: 767px) {
  .p-form__head {
    flex-direction: column;
    gap: 0.25rem;
    width: 19rem;
    padding-block: 0.625rem;
    padding-inline: 1.5625rem;
    margin-top: -1.125rem;
    white-space: normal;
    border-radius: 0.9375rem;
  }
}

.p-form__head::after {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  border-color: var(--color-accent) transparent transparent transparent;
  border-style: solid;
  border-width: 1.125rem 0.6875rem 0 0.6875rem;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-form__head::after {
    bottom: -0.75rem;
    border-width: 0.875rem 0.5rem 0 0.5rem;
  }
}

.p-form__qLabel,
.p-form__qTitle {
  margin: 0;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.p-form__qLabel {
  font-size: inherit;
}
@media screen and (max-width: 767px) {
  .p-form__qLabel {
    font-size: 1.125rem;
  }
}

.p-form__qTitle {
  font-size: inherit;
}
@media screen and (max-width: 767px) {
  .p-form__qTitle {
    font-size: 1rem;
  }
}

/* Step 3 用: head wrapper なしで qTitle 単体で pill 表現 */
.p-form__qTitle--isCenter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-block: 0.5rem;
  padding-inline: 2.5rem;
  margin-top: -1.875rem;
  font-family: var(--base-font-family);
  font-size: 1.375rem;
  font-weight: var(--fw-black);
  line-height: 1.4;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-accent);
  border-radius: 1.875rem;
}
@media screen and (max-width: 767px) {
  .p-form__qTitle--isCenter {
    padding-block: 0.375rem;
    padding-inline: 1.25rem;
    margin-top: -1.375rem;
    font-size: 0.875rem;
  }
}

.p-form__qTitle--isCenter::after {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  border-color: var(--color-accent) transparent transparent transparent;
  border-style: solid;
  border-width: 1.125rem 0.6875rem 0 0.6875rem;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-form__qTitle--isCenter::after {
    bottom: -0.75rem;
    border-width: 0.875rem 0.5rem 0 0.5rem;
  }
}

/* ==========================================================
 * 注釈
 * ========================================================== */
.p-form__note {
  align-self: stretch;
  margin-top: 1.875rem;
  font-family: var(--base-font-family);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
  color: var(--color-text);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-form__note {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* ==========================================================
 * 選択肢ボタン (はい / いいえ)
 * ========================================================== */
.p-form__choices {
  display: flex;
  gap: 1.1875rem;
  justify-content: center;
  margin-top: 1.875rem;
}
@media screen and (max-width: 767px) {
  .p-form__choices {
    gap: 0.625rem;
    margin-top: 1.25rem;
  }
}

.p-form__choice {
  width: 13.75rem;
  height: 5.3125rem;
  font-family: var(--base-font-family);
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-text);
  cursor: pointer;
  background: linear-gradient(to bottom, #fff 0%, #def2f5 100%);
  border: 0.25rem solid var(--color-white);
  border-radius: 1.25rem;
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.15);
  transition: box-shadow var(--duration) ease, transform var(--duration) ease;
}
@media screen and (max-width: 767px) {
  .p-form__choice {
    width: 9.125rem;
    height: 4.0625rem;
    font-size: 1.5rem;
    border-width: 0.125rem;
  }
}

.p-form__choice:hover,
.p-form__choice:focus-visible {
  box-shadow: 0 0.375rem 0.5rem rgba(0, 0, 0, 0.2);
  transform: translateY(-0.125rem);
}

.p-form__choice:active {
  transform: translateY(0);
}

/* ==========================================================
 * 戻る
 * ========================================================== */
.p-form__back {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 13.5625rem;
  padding-block: 0.9375rem;
  margin-block-start: 1.5rem;
  margin-inline: auto;
  font-family: var(--base-font-family);
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  line-height: 1.4;
  color: var(--color-accent);
  cursor: pointer;
  background: transparent;
  border: 0.0625rem solid var(--color-accent);
  border-radius: 1.875rem;
  transition: background-color var(--duration) ease, color var(--duration) ease;
}
@media screen and (max-width: 767px) {
  .p-form__back {
    max-width: 11.25rem;
    padding-block: 0.75rem;
    margin-block-start: 1.25rem;
    font-size: 0.75rem;
  }
}

.p-form__back:hover,
.p-form__back:focus-visible {
  color: var(--color-white);
  background-color: var(--color-accent);
}

.p-form__back:hover .p-form__backIcon,
.p-form__back:focus-visible .p-form__backIcon {
  border-right-color: var(--color-white);
}

.p-form__backIcon {
  display: block;
  width: 0;
  height: 0;
  border-color: transparent var(--color-accent) transparent transparent;
  border-style: solid;
  border-width: 0.4375rem 0.625rem 0.4375rem 0;
  transition: border-right-color var(--duration) ease;
}

/* ==========================================================
 * Step 3: 入力フィールド
 * ========================================================== */
.p-form__fields {
  width: 100%;
  padding: 0;
  margin-block-start: 2.5rem;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-form__fields {
    max-width: 17.5rem;
    margin-block-start: 1.5rem;
    margin-inline: auto;
  }
}

.p-form__field {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .p-form__field {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
}

.p-form__field + .p-form__field {
  margin-block-start: 0.625rem;
}

.p-form__fieldHead {
  display: flex;
  flex-shrink: 0;
  gap: 1.1875rem;
  align-items: center;
  width: 13.125rem;
}
@media screen and (max-width: 767px) {
  .p-form__fieldHead {
    gap: 0.75rem;
    width: auto;
  }
}

.p-form__fieldLabel {
  font-family: var(--base-font-family);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-form__fieldLabel {
    font-size: 0.9375rem;
  }
}

.p-form__fieldBadge {
  padding-block: 0.25rem;
  padding-inline: 0.625rem;
  font-family: var(--base-font-family);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-white);
  background-color: #d70000;
  border-radius: 0.25rem;
}
@media screen and (max-width: 767px) {
  .p-form__fieldBadge {
    font-size: 0.6875rem;
  }
}

.p-form__fieldBadge--isOptional {
  background-color: #888;
}

.p-form__fieldInput {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding-block: 0.875rem;
  padding-inline: 1.25rem;
  font-family: var(--base-font-family);
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.4;
  color: var(--color-text);
  background-color: #f3f3f3;
  border: 0.0625rem solid transparent;
  border-radius: 0.375rem;
  transition: border-color var(--duration) ease, background-color var(--duration) ease;
}
@media screen and (max-width: 767px) {
  .p-form__fieldInput {
    padding-block: 0.75rem;
    padding-inline: 0.875rem;
    font-size: 0.9375rem;
  }
}

.p-form__fieldInput:focus {
  background-color: var(--color-white);
  border-color: var(--color-accent);
  outline: none;
}

.p-form__fieldInput.is-error {
  background-color: rgba(215, 0, 0, 0.05);
  border-color: #d70000;
}

.p-form__error {
  display: block;
  flex-basis: 100%;
  margin-block-start: 0.375rem;
  margin-inline-start: 14.375rem;
  font-family: var(--base-font-family);
  font-size: 0.8125rem;
  font-weight: var(--fw-regular);
  line-height: 1.4;
  color: #d70000;
}
@media screen and (max-width: 767px) {
  .p-form__error {
    margin-inline-start: 0;
    font-size: 0.75rem;
  }
}

/* ==========================================================
 * 診断するボタン
 * ========================================================== */
.p-form__submit {
  display: block;
  width: 100%;
  max-width: 22.5rem;
  padding-block: 1.75rem;
  margin-block-start: 2.5rem;
  margin-inline: auto;
  font-family: var(--base-font-family);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-white);
  cursor: pointer;
  background-color: var(--color-accent);
  border: 0;
  border-radius: 3.125rem;
  transition: opacity var(--duration) ease, transform var(--duration) ease;
}
@media screen and (max-width: 767px) {
  .p-form__submit {
    max-width: 17.5rem;
    padding-block: 1.25rem;
    margin-block-start: 1.5rem;
    font-size: 1rem;
  }
}

.p-form__submit:hover,
.p-form__submit:focus-visible {
  opacity: 0.85;
  transform: translateY(-0.125rem);
}

.p-form__submit:active {
  transform: translateY(0);
}

/* ==========================================================
 * Thanks (別ページ /thanks で同じ class を流用)
 * ========================================================== */
.p-form__card--isThanks {
  max-width: 62.5rem;
  padding-block: 5.9375rem;
  margin-inline: auto;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-form__card--isThanks {
    padding-block: 2.5rem;
  }
}

.p-form__thanks {
  width: 100%;
  margin: 0;
  font-family: var(--base-font-family);
  font-size: 1.25rem;
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--color-text);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-form__thanks {
    font-size: 1rem;
    font-weight: var(--fw-black);
  }
}

.p-form__thanksHl {
  display: block;
  font-size: 1.75rem;
  font-weight: var(--fw-black);
  line-height: 1.6;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-form__thanksHl {
    font-size: 1.375rem;
    line-height: 1.3;
    white-space: nowrap;
  }
}

.p-form__thanksDivider {
  display: block;
  width: 35.9375rem;
  max-width: 100%;
  height: 0.0625rem;
  margin-block-start: 1.25rem;
  margin-inline: auto;
  background-color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-form__thanksDivider {
    margin-block-start: 0.875rem;
  }
}

.p-form__thanksBody {
  display: block;
  margin-block-start: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-form__thanksBody {
    margin-block-start: 0.875rem;
    white-space: nowrap;
  }
}

/*
 * p-legal: 運営者情報 (about.html) / プライバシーポリシー (policy.html) 共通レイアウト
 *   - 固定ヘッダー分の余白を padding-block top に header-height + 余白で確保
 *   - タイトル + 節 (heading + 本文 / list / table) のシンプルな構造
 *   - 表は about のみ、リスト・段落は policy 中心。両方 .p-legal__block で囲む
 */
.p-legal {
  padding-block: calc(var(--header-height) + 3.75rem) 7.5rem;
  background-color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .p-legal {
    padding-block: calc(var(--header-height) + 2.5rem) 5rem;
  }
}

.p-legal__inner {
  max-width: 55rem;
  padding-inline: 1.25rem;
  margin-inline: auto;
}

.p-legal__title {
  padding-block-end: 1.25rem;
  font-size: 2.25rem;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--color-text);
  text-align: center;
  border-bottom: 0.125rem solid var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-legal__title {
    padding-block-end: 0.875rem;
    font-size: 1.5rem;
  }
}

.p-legal__block {
  margin-top: 3.75rem;
}
@media screen and (max-width: 767px) {
  .p-legal__block {
    margin-top: 2.5rem;
  }
}

.p-legal__heading {
  padding-inline-start: 1rem;
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  color: var(--color-text);
  border-left: 0.25rem solid var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-legal__heading {
    padding-inline-start: 0.75rem;
    font-size: 1.125rem;
  }
}

.p-legal__lead {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.8;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-legal__lead {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.7;
  }
}

.p-legal__lead--isOffice {
  font-weight: var(--fw-bold);
}

.p-legal__list {
  padding-inline-start: 1.5rem;
  margin-top: 1rem;
  list-style: disc;
}
@media screen and (max-width: 767px) {
  .p-legal__list {
    padding-inline-start: 1.25rem;
    margin-top: 0.75rem;
  }
}

.p-legal__listItem {
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.8;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-legal__listItem {
    font-size: 0.875rem;
    line-height: 1.7;
  }
}

.p-legal__listItem + .p-legal__listItem {
  margin-top: 0.5rem;
}
@media screen and (max-width: 767px) {
  .p-legal__listItem + .p-legal__listItem {
    margin-top: 0.375rem;
  }
}

.p-legal__note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-legal__note {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
  }
}

.p-legal__table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  border-top: 0.0625rem solid var(--color-border-gray);
}
@media screen and (max-width: 767px) {
  .p-legal__table {
    margin-top: 1rem;
  }
}

.p-legal__tableRow {
  border-bottom: 0.0625rem solid var(--color-border-gray);
}

.p-legal__tableHead {
  width: 13.75rem;
  padding-block: 1.25rem;
  padding-inline: 1.25rem;
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  color: var(--color-text);
  text-align: left;
  vertical-align: top;
  background-color: var(--color-accent-bg);
}
@media screen and (max-width: 767px) {
  .p-legal__tableHead {
    display: block;
    width: 100%;
    padding-block: 0.75rem 0.375rem;
    padding-inline: 0.875rem;
    font-size: 0.875rem;
  }
}

.p-legal__tableCell {
  padding-block: 1.25rem;
  padding-inline: 1.25rem;
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--color-text);
  vertical-align: top;
}
@media screen and (max-width: 767px) {
  .p-legal__tableCell {
    display: block;
    width: 100%;
    padding-block: 0.5rem 0.875rem;
    padding-inline: 0.875rem;
    font-size: 0.875rem;
  }
}

.p-legal__link {
  color: var(--color-accent);
  text-decoration: underline;
  transition: opacity var(--duration) ease;
}

.p-legal__link:hover {
  opacity: 0.7;
}

.p-message {
  padding-block: 6.4375rem;
  background-color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .p-message {
    padding-block: 0;
  }
}

.p-message__inner {
  max-width: 63.125rem;
  padding-inline: 1.25rem;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-message__inner {
    margin-top: 4.625rem;
    margin-bottom: 4.625rem;
  }
}

/* ==========================================================
 * 見出し: MESSAGE / 代表紹介 / divider
 * ========================================================== */
.p-message__head {
  text-align: center;
}

.p-message__messageLabel {
  font-family: var(--en-font-family);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-message__messageLabel {
    font-size: 0.9375rem;
  }
}

.p-message__title {
  margin-top: 1rem;
  font-family: var(--base-font-family);
  font-size: 2.5rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-message__title {
    margin-top: 0.625rem;
    font-size: 2rem;
  }
}

.p-message__divider {
  display: block;
  width: 3.125rem;
  height: 0.25rem;
  margin-inline: auto;
  margin-top: 1.5625rem;
  background-color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-message__divider {
    width: 2.5rem;
    height: 0.125rem;
    margin-top: 1.25rem;
  }
}

/* ==========================================================
 * Card
 *   PC: flex 縦。cardTop が grid 2 col、lead が下段全幅
 *   SP: white outer + 4px teal border。cardTop が teal 内側ボックス、lead が下白部
 * ========================================================== */
.p-message__card {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 57.8125rem;
  margin-inline: 5rem 0;
  margin-top: 5.25rem;
  background-color: var(--color-accent-bg);
  border: 0.5rem solid var(--color-accent-bg);
  border-radius: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-message__card {
    max-width: 20.9375rem;
    margin-inline: auto;
    margin-top: 6.875rem;
    background-color: var(--color-white);
    border-width: 0.25rem;
  }
}

/* ==========================================================
 * Card top
 *   PC: grid (photo / name+career)。bg は card に従う (teal)
 *   SP: teal box 内側ラッパー。rounded-top のみ、写真がここから上へせり出す
 * ========================================================== */
.p-message__cardTop {
  display: grid;
  grid-template-areas: "photo name" "photo career";
  grid-template-columns: 12.125rem 1fr;
  align-items: start;
}
@media screen and (max-width: 767px) {
  .p-message__cardTop {
    display: block;
    padding-block: 4.875rem 1.875rem;
    padding-inline: 0.9375rem;
    background-color: var(--color-accent-bg);
    border-radius: 1rem 1rem 0 0;
  }
}

/* ==========================================================
 * 写真
 *   PC: card の左外 + 上外にせり出す絶対配置 (artistic)
 *   SP: cardTop の上端から rem(78) 上にせり出す。マスクは 206×255
 * ========================================================== */
.p-message__photoArea {
  position: relative;
  grid-area: photo;
  width: 12.125rem;
  height: 21.5625rem;
  margin-block: 0 2.1875rem;
}
@media screen and (max-width: 767px) {
  .p-message__photoArea {
    grid-area: auto;
    width: 12.875rem;
    height: 15.9375rem;
    margin-block: -4.875rem 0;
    margin-inline: auto;
    border-radius: 1.25rem;
  }
}

.p-message__photo {
  position: absolute;
  top: -3rem;
  left: -6.4375rem;
  display: block;
  width: 17.4375rem;
  height: 21.5625rem;
  object-fit: cover;
  object-position: center;
  border-radius: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-message__photo {
    top: -5.1875rem;
    left: 50%;
    width: 12.8125rem;
    height: 15.9375rem;
    translate: -50%;
  }
}

/* ==========================================================
 * 事務所名 + 名前
 *   PC: card 右上、左寄せ
 *   SP: cardTop 内、中央寄せ
 * ========================================================== */
.p-message__nameBlock {
  grid-area: name;
  padding-block: 2rem 0rem;
  padding-inline: 2.5rem 3.125rem;
}
@media screen and (max-width: 767px) {
  .p-message__nameBlock {
    grid-area: auto;
    padding-block: 0;
    padding-inline: 0;
    margin-top: -4.6875rem;
    text-align: center;
  }
}

.p-message__office {
  font-family: var(--base-font-family);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-message__office {
    font-size: 1rem;
  }
}

.p-message__name {
  margin-top: 0.5rem;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  .p-message__name {
    margin-top: 0.5rem;
  }
}

.p-message__nameRole {
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-message__nameRole {
    font-size: 1rem;
  }
}

.p-message__nameMain {
  margin-left: 0.5rem;
  font-size: 1.625rem;
  font-weight: var(--fw-black);
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-message__nameMain {
    font-size: 1.375rem;
  }
}

/* ==========================================================
 * 区切り線 + 経歴 + 年表
 *   PC: card 右下 (career area)、bg は card teal を継承
 *   SP: cardTop teal 内
 * ========================================================== */
.p-message__careerBlock {
  grid-area: career;
  padding-block: 1.5625rem 2.1875rem;
  padding-inline: 2.5rem 3.125rem;
}
@media screen and (max-width: 767px) {
  .p-message__careerBlock {
    grid-area: auto;
    padding-block: 0;
    padding-inline: 0;
    margin-top: 1.5625rem;
  }
}

.p-message__nameRule {
  display: block;
  width: 100%;
  height: 0.0625rem;
  background-color: var(--color-accent);
}

.p-message__career {
  margin-top: 0.625rem;
}
@media screen and (max-width: 767px) {
  .p-message__career {
    margin-top: 0.625rem;
  }
}

.p-message__careerLabel {
  font-size: 1.25rem;
  font-weight: var(--fw-black);
  line-height: 1.6;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-message__careerLabel {
    font-size: 1.125rem;
  }
}

.p-message__careerSummary {
  margin-top: 0.125rem;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-message__careerSummary {
    font-size: 0.875rem;
  }
}

.p-message__history {
  padding: 0;
  margin-top: 1.8125rem;
}
@media screen and (max-width: 767px) {
  .p-message__history {
    margin-top: 1rem;
  }
}

.p-message__historyRow {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-message__historyRow {
    gap: 0.6875rem;
    font-size: 0.875rem;
  }
}

.p-message__historyYear {
  flex-shrink: 0;
  width: 4.5625rem;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-message__historyYear {
    width: 2.9375rem;
  }
}

.p-message__historyText {
  margin-left: 0;
}

/* ==========================================================
 * リード文
 *   PC: card 内の bottom、white bg、card border-radius と整合
 *   SP: cardTop の下、card の white 領域 (card 自体が white なので bg 不要)
 * ========================================================== */
.p-message__lead {
  padding-block: 1.25rem;
  padding-inline: 2.75rem;
  background-color: var(--color-white);
  border-radius: 0 0 0.75rem 0.75rem;
}
@media screen and (max-width: 767px) {
  .p-message__lead {
    padding-block: 1.875rem 1.125rem;
    padding-inline: 0.9375rem;
    background-color: transparent;
    border-radius: 0;
  }
}

.p-message__leadText {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.875rem;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-message__leadText {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

.p-message__leadText + .p-message__leadText {
  margin-top: 0rem;
}
@media screen and (max-width: 767px) {
  .p-message__leadText + .p-message__leadText {
    margin-top: 0rem;
  }
}

.p-message__leadAccent {
  font-weight: var(--fw-black);
  color: var(--color-accent);
}

/*
 * Figma:
 *   PC node 2025:56 — 1440 × 760
 *   SP node 2025:60 —  375 × 699
 */
.p-mv {
  position: relative;
  max-width: 90rem;
  padding-top: var(--header-height);
  margin-inline: auto;
  overflow: hidden;
  background-color: var(--color-white);
}

/* 背景画像: artistic な絶対配置 (CODING_RULES §7 例外) */
.p-mv__hero {
  position: absolute;
  top: var(--header-height);
  left: 0;
  display: block;
  width: 100%;
  pointer-events: none;
}

.p-mv__heroImg {
  display: block;
  width: 100%;
  height: auto;
}

.p-mv__inner {
  position: relative;
  width: 100%;
  padding-block: 4.375rem 0;
  margin-left: 13.75rem;
}
@media screen and (max-width: 767px) {
  .p-mv__inner {
    width: 20.9375rem;
    padding-block: 1rem 0;
    padding-inline: 1.25rem;
    margin-inline: 0rem;
    text-align: left;
  }
}

.p-mv__tags {
  display: flex;
  gap: 0.3125rem;
  align-items: center;
  padding: 0;
  margin: 0 0 0 3.125rem;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-mv__tags {
    gap: 0.1875rem;
    margin-left: 0;
  }
}

.p-mv__tag {
  padding-block: 0.75rem;
  padding-inline: 0.625rem;
  font-family: var(--base-font-family);
  font-size: 1.75rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-white);
  white-space: nowrap;
  background-color: var(--color-accent);
  border: 0.1875rem solid var(--color-white);
  border-radius: 0.6875rem;
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.15);
}
@media screen and (max-width: 767px) {
  .p-mv__tag {
    padding-block: 0.4375rem;
    padding-inline: 0.375rem;
    font-size: 0.8125rem;
    border-width: 0.09375rem;
    border-radius: 0.3125rem;
  }
}

.p-mv__tagEtc {
  margin-left: 0.125rem;
  font-size: 1.75rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-mv__tagEtc {
    font-size: 0.8125rem;
  }
}

.p-mv__heading {
  margin: -0.1875rem 0 0 2.5rem;
  font-family: var(--base-font-family);
  font-weight: var(--fw-black);
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-mv__heading {
    margin-top: 0.4375rem;
    margin-left: 0rem;
    line-height: 3.0625rem;
    white-space: normal; /* SP では自然に折り返す */
    filter: drop-shadow(0 0 0.25rem rgba(255, 255, 255, 0.95)) drop-shadow(0 0 0.625rem rgba(255, 255, 255, 0.8)) drop-shadow(0 0 1.25rem rgba(255, 255, 255, 0.6));
  }
}

.p-mv__headingPrefix {
  margin-right: 0.25rem;
  font-size: 4.8125rem;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-mv__headingPrefix {
    font-size: 2.5rem;
  }
}

.p-mv__headingMain {
  font-size: 5.5625rem;
  font-feature-settings: "palt" 1;
  color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-mv__headingMain {
    font-size: 3.0625rem;
  }
}

.p-mv__headingTail {
  display: inline-block;
  margin-top: -1rem;
  margin-left: 3.125rem;
  font-size: 3.6875rem;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-mv__headingTail {
    display: inline;
    margin-left: 0;
    font-size: 1.9375rem;
  }
}

.p-mv__divider {
  display: block;
  width: 40.3125rem;
  height: 0.1875rem;
  margin-top: 0.5rem;
  background-color: var(--color-accent);
}
@media screen and (max-width: 767px) {
  .p-mv__divider {
    width: 14.375rem;
    height: 0.0625rem;
    margin-top: -0.1875rem;
    margin-left: 0rem;
  }
}

.p-mv__lead {
  width: 35.375rem;
  margin: 0.4375rem 0 0 2.5rem;
  font-family: var(--base-font-family);
  font-size: 1.375rem;
  font-weight: var(--fw-black);
  line-height: 1.9;
  color: #01a6bc;
  text-align: center;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-mv__lead {
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    filter: drop-shadow(0 0 0.1875rem rgba(255, 255, 255, 0.95)) drop-shadow(0 0 0.5rem rgba(255, 255, 255, 0.8)) drop-shadow(0 0 1rem rgba(255, 255, 255, 0.55));
  }
}

.p-mv__stats {
  display: flex;
  gap: 0.625rem;
  align-items: stretch;
  width: 37.9375rem;
  padding: 0;
  margin: 0.6875rem 0 0;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-mv__stats {
    gap: 0.3125rem;
    width: 20.9375rem;
    margin-inline: auto;
    margin-top: 0.9375rem;
  }
}

.p-mv__stat {
  position: relative;
  height: 5.6875rem;
  text-align: center;
  filter: drop-shadow(0 0 0.1875rem rgb(255, 255, 255)) drop-shadow(0 0 0.375rem rgba(255, 255, 255, 0.95)) drop-shadow(0 0 0.75rem rgba(255, 255, 255, 0.8)) drop-shadow(0 0 1.25rem rgba(255, 255, 255, 0.55));
}
@media screen and (max-width: 767px) {
  .p-mv__stat {
    height: 4.4375rem;
    filter: drop-shadow(0 0 0.125rem rgb(255, 255, 255)) drop-shadow(0 0 0.25rem rgba(255, 255, 255, 0.95)) drop-shadow(0 0 0.5rem rgba(255, 255, 255, 0.8)) drop-shadow(0 0 0.875rem rgba(255, 255, 255, 0.55));
  }
}

.p-mv__stat:nth-child(1) {
  flex-shrink: 0;
  width: 14rem;
}
@media screen and (max-width: 767px) {
  .p-mv__stat:nth-child(1) {
    width: 6.5rem;
  }
}

.p-mv__stat:nth-child(2) {
  flex-shrink: 0;
  width: 10.375rem;
}
@media screen and (max-width: 767px) {
  .p-mv__stat:nth-child(2) {
    width: 6.5rem;
  }
}

.p-mv__stat:nth-child(3) {
  flex-shrink: 0;
  width: 14.8125rem;
}
@media screen and (max-width: 767px) {
  .p-mv__stat:nth-child(3) {
    width: 7rem;
  }
}

.p-mv__statCrown {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.0625rem;
  height: 1.5rem;
  object-fit: contain;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-mv__statCrown {
    width: 1.25rem;
    height: 0.9375rem;
    object-fit: cover;
  }
}

.p-mv__statLeaf {
  position: absolute;
  bottom: 0;
  width: 1.5rem;
  height: 3.625rem;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .p-mv__statLeaf {
    width: 1rem;
    height: 3.4375rem;
    object-fit: cover;
  }
}

.p-mv__statLeaf--isLeft {
  left: 0;
}

.p-mv__statLeaf--isRight {
  right: 0;
  transform: scaleX(-1);
}

.p-mv__statBody {
  display: block;
  padding-top: 2rem;
  font-family: var(--base-font-family);
  font-weight: var(--fw-black);
  line-height: 1.5rem;
}
@media screen and (max-width: 767px) {
  .p-mv__statBody {
    padding-top: 1rem;
    line-height: 1.125rem;
  }
}

.p-mv__statLabel,
.p-mv__statValue,
.p-mv__statNum,
.p-mv__statUnit,
.p-mv__statExtra {
  background-image: linear-gradient(to bottom, #b08530 0%, #d5aa54 70%, #b08530 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.p-mv__statLabel {
  display: block;
  font-size: 1.0625rem;
}
@media screen and (max-width: 767px) {
  .p-mv__statLabel {
    font-size: 0.75rem;
  }
}

.p-mv__statValue {
  display: inline-flex;
  align-items: baseline;
  margin-top: 0.25rem;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-mv__statValue {
    margin-top: 0rem;
  }
}

.p-mv__statNum {
  font-size: 2.1875rem;
}
@media screen and (max-width: 767px) {
  .p-mv__statNum {
    font-size: 1.3125rem;
  }
}

.p-mv__statUnit {
  font-size: 1.4375rem;
}
@media screen and (max-width: 767px) {
  .p-mv__statUnit {
    font-size: 0.875rem;
  }
}

.p-mv__statExtra {
  font-size: 1.4375rem;
}
@media screen and (max-width: 767px) {
  .p-mv__statExtra {
    flex-basis: 100%;
    font-size: 0.875rem;
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .p-mv__stat:nth-child(1) .p-mv__statValue {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  .p-mv__stat:nth-child(2) .p-mv__statLabel {
    margin-top: 0.625rem;
  }
}

.p-mv__stat:nth-child(3) .p-mv__statLabel {
  margin-top: 0.375rem;
  font-size: 1.625rem;
}
@media screen and (max-width: 767px) {
  .p-mv__stat:nth-child(3) .p-mv__statLabel {
    margin-top: 0.1875rem;
    font-size: 1.125rem;
  }
}

.p-mv__stat:nth-child(3) .p-mv__statValue {
  font-size: 1.1875rem;
}
@media screen and (max-width: 767px) {
  .p-mv__stat:nth-child(3) .p-mv__statValue {
    font-size: 0.8125rem;
  }
}

.p-mv__band {
  position: relative;
  margin-top: 4rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-mv__band {
    margin-top: 2.75rem;
  }
}

.p-mv__bubble {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35.125rem;
  height: 3.125rem;
  margin-inline: auto;
  background-color: #003036;
  filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
  border-radius: 1.5625rem;
}
@media screen and (max-width: 767px) {
  .p-mv__bubble {
    width: 20.9375rem;
    height: 2.25rem;
    border-radius: 1.125rem;
  }
}

.p-mv__bubble::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1.015625rem;
  height: 1.125rem;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  background-color: #003036;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-mv__bubble::after {
    width: 0.6875rem;
    height: 0.8125rem;
  }
}

.p-mv__bubbleText {
  margin: 0;
  font-family: var(--base-font-family);
  font-size: 1.25rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-white);
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-mv__bubbleText {
    font-size: 0.75rem;
  }
}

.p-mv__bubbleHighlight {
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  color: #f2eb5f;
}
@media screen and (max-width: 767px) {
  .p-mv__bubbleHighlight {
    font-size: 1rem;
  }
}

.p-mv__cta {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin-inline: auto;
  margin-top: 1.6875rem;
}
@media screen and (max-width: 767px) {
  .p-mv__cta {
    width: 20.9375rem;
    margin-top: 1.25rem;
  }
}

/* MV では電話ボタン内の sub (営業時間) を非表示にし、外側 .p-mv__hours で独立配置する */
.p-mv .c-cta--isPhone .c-cta__sub {
  display: none;
}

.p-mv__hours {
  align-self: flex-end;
  width: 22rem;
  margin: 0.5rem 0 0;
  font-family: var(--base-font-family);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-mv__hours {
    align-self: stretch;
    width: 100%;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
  }
}

/* 波形バンドが下端から見えるよう section に下端 padding を確保 */
.p-mv {
  padding-block-end: 4.375rem;
}
@media screen and (max-width: 767px) {
  .p-mv {
    padding-block-end: 7.125rem;
  }
}

.p-patterns {
  position: relative;
  background-color: #ecf8f9;
}
@media screen and (max-width: 767px) {
  .p-patterns {
    padding-block-end: 1.875rem;
    margin-block-end: 4.375rem;
  }
}

/* ==========================================================
 * Banner
 *   背景画像 = patterns_01.webp / patterns_01_sp.webp
 *     (写真+ティールオーバーレイ+V カット 透過コーナー まで焼き込み済)
 *   タイトル + 三角装飾 = HTML+SVG で画像の上にオーバーレイ
 * ========================================================== */
.p-patterns__banner {
  position: relative;
}

.p-patterns__bannerBg {
  display: block;
}

.p-patterns__bannerBgImg {
  display: block;
  width: 100%;
  height: auto;
}

.p-patterns__bannerInner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  padding-block: 0.75rem 5rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__bannerInner {
    gap: 0rem;
    align-items: flex-end;
    padding-block: 4.1875rem 3.75rem;
    padding-inline: 1.25rem;
  }
}

.p-patterns__bannerTitle {
  font-weight: var(--fw-black);
  line-height: 1.4;
  color: var(--color-white);
  text-align: center;
  text-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.p-patterns__bannerLead {
  display: inline;
  font-size: 2.5rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__bannerLead {
    font-size: 1.125rem;
    white-space: nowrap;
  }
}

@media screen and (max-width: 767px) {
  .p-patterns__bannerLead--br {
    font-size: 1.4375rem;
  }
}

.p-patterns__bannerRow {
  display: block;
}

.p-patterns__bannerHl {
  font-size: 3.375rem;
  color: #f2eb5f;
}
@media screen and (max-width: 767px) {
  .p-patterns__bannerHl {
    font-size: 2rem;
  }
}

.p-patterns__bannerLead:first-child {
  display: block;
}

.p-patterns__bannerDecoL,
.p-patterns__bannerDecoR {
  flex-shrink: 0;
  width: 87px;
  height: auto;
}
@media screen and (max-width: 767px) {
  .p-patterns__bannerDecoL,
  .p-patterns__bannerDecoR {
    width: 61px;
  }
}

/* ==========================================================
 * Body (card grid)
 * ========================================================== */
.p-patterns__body {
  position: relative;
  max-width: 65rem;
  padding-block: 0rem 3.75rem;
  padding-inline: 1.25rem;
  margin-inline: auto;
  margin-top: -5rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__body {
    padding-block: 2.9375rem 2.5rem;
    margin-top: -5rem;
  }
}

/* ==========================================================
 * Slider (SP のみ)
 *   PC: cards は grid 2 列で、 slider 関連要素は無効
 *   SP: cards は flex 横並び、 viewport で overflow:hidden、
 *       矢印 + dots でスライド切替 (_patterns-slider.js が制御)
 * ========================================================== */
.p-patterns__slider {
  position: relative;
}

.p-patterns__sliderViewport {
  /* Figma SP: Group 926 (card frame) = 335×620。frame total = 620 */
}
@media screen and (max-width: 767px) {
  .p-patterns__sliderViewport {
    height: 38.75rem;
    /* 横は slider translateX で off-screen card を clip。
     * 縦は visible にして card の box-shadow を表示させる */
    overflow: clip visible;
  }
}

.p-patterns__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.125rem 2.5rem;
  /* align-items は stretch (grid/flex 共通デフォルト) を使用 → 全カードが行内最高に揃う */
  padding: 0rem;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-patterns__cards {
    display: flex;
    flex-direction: row;
    gap: 0;
    transition: transform 0.4s ease;
    will-change: transform;
  }
}

.p-patterns__card {
  width: 30rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__card {
    flex: 0 0 100%;
    min-width: 0;
  }
}

/* ── 矢印 ─────────────────────────────────────────── */
.p-patterns__arrow {
  display: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}
@media screen and (max-width: 767px) {
  .p-patterns__arrow {
    position: absolute;
    top: 18.3125rem;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    transform: matrix(1, 0, 0, 1, 0, -19);
  }
}

@media screen and (max-width: 767px) {
  .p-patterns__arrow--isPrev {
    left: -0.9375rem;
  }
}

@media screen and (max-width: 767px) {
  .p-patterns__arrow--isNext {
    right: -0.9375rem;
  }
}

.p-patterns__arrowIcon {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── dots ─────────────────────────────────────────── */
.p-patterns__dots {
  display: none;
}
@media screen and (max-width: 767px) {
  .p-patterns__dots {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    margin-top: 1.25rem;
  }
}

.p-patterns__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  cursor: pointer;
  background-color: #d9d9d9;
  border: 0;
  border-radius: 50%;
  transition: background-color var(--duration) ease;
}

.p-patterns__dot.is-active {
  background-color: var(--color-accent);
}

/* ==========================================================
 * Card
 * ========================================================== */
.p-patterns__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 1.125rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__card {
    height: 38.75rem;
    padding-top: 0.9375rem;
  }
}

.p-patterns__badge {
  position: absolute;
  top: 0rem;
  left: 50%;
  z-index: 2;
  padding-block: 0.375rem;
  padding-inline: 1.1875rem;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: 0.05rem;
  white-space: nowrap;
  background-color: var(--color-accent);
  border: 0.1875rem solid var(--color-white);
  border-radius: 1.25rem;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-patterns__badge {
    top: 0;
    border-width: 0.125rem;
  }
}

.p-patterns__cardBody {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--color-white);
  border-radius: 1.25rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.p-patterns__cardInner {
  flex-shrink: 0;
  height: 19.875rem;
  padding-block: 2.125rem 0rem;
  padding-inline: 1.875rem;
  overflow: hidden;
  background-color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .p-patterns__cardInner {
    height: 17.25rem;
    padding-block: 2.5625rem 1.375rem;
    padding-inline: 0.9375rem;
  }
}

.p-patterns__cardTitle {
  display: flex;
  flex-direction: column;
  min-height: 5.625rem;
  font-weight: var(--fw-black);
  line-height: 1.6;
  color: var(--color-text);
  letter-spacing: 0.05rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__cardTitle {
    min-height: 4.75rem;
  }
}

.p-patterns__cardTitleRow {
  font-size: 1.375rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__cardTitleRow {
    font-size: 1.0625rem;
  }
}

.p-patterns__hl {
  font-size: 1.75rem;
  color: var(--color-accent);
  background: linear-gradient(180deg, transparent 76%, #f2eb5f 76%, #f2eb5f 92%, transparent 92%);
}
@media screen and (max-width: 767px) {
  .p-patterns__hl {
    font-size: 1.375rem;
  }
}

.p-patterns__cardDivider {
  width: 100%;
  height: 0.0625rem;
  margin-top: 0.5625rem;
  background-color: var(--color-accent);
  border: 0;
}
@media screen and (max-width: 767px) {
  .p-patterns__cardDivider {
    margin-top: 0.875rem;
  }
}

.p-patterns__cardDesc {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.75rem;
  color: var(--color-text);
  letter-spacing: 0.05rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__cardDesc {
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.6;
  }
}

.p-patterns__em {
  color: var(--color-accent);
}

/* ==========================================================
 * Sample (内部 薄 teal box + リボン + メッセージ list)
 * ========================================================== */
.p-patterns__sample {
  position: relative;
  flex-grow: 1;
  flex-shrink: 0;
  padding-block: 0 1.125rem;
  background-color: #a5dadf;
}
@media screen and (max-width: 767px) {
  .p-patterns__sample {
    flex-grow: 0;
    height: 20.5625rem;
    padding-block: 0 1.25rem;
  }
}

.p-patterns__sampleRibbon {
  position: relative;
  display: flex;
  gap: 0.4375rem;
  align-items: center;
  justify-content: flex-start;
  min-height: 6.75rem;
  padding-block: 0 1.1875rem;
  padding-inline: 3.25rem 3.625rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__sampleRibbon {
    gap: 0.0625rem;
    min-height: 6rem;
    padding-block: 0 1rem;
    padding-inline: 1.5625rem 2.25rem;
  }
}

.p-patterns__sampleRibbonBg {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.p-patterns__sampleRibbonImg {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.p-patterns__sampleIcon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 4.125rem;
  height: 4.125rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__sampleIcon {
    width: 3rem;
    height: 3rem;
  }
}

.p-patterns__sampleIconImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-patterns__sampleIconMark {
  position: relative;
  margin-top: 0rem;
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  line-height: 1;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-patterns__sampleIconMark {
    margin-top: 0.4375rem;
    font-size: 1.0625rem;
  }
}

.p-patterns__sampleLabel {
  position: relative;
  z-index: 1;
  flex: 1;
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  line-height: 1.4;
  color: var(--color-white);
  text-align: center;
  letter-spacing: 0.05rem;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-patterns__sampleLabel {
    font-size: 1.125rem;
  }
}

/* ==========================================================
 * Messages (white pill 吹き出し)
 * ========================================================== */
.p-patterns__messages {
  padding: 0;
  padding-inline: 4.75rem;
  margin-top: 0.625rem;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .p-patterns__messages {
    padding-inline: 1.875rem;
    margin-top: 0.75rem;
  }
}

.p-patterns__message {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-block: 0.625rem 0.9375rem;
  padding-inline: 2rem;
  background-color: var(--color-white);
  border-radius: 1.375rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__message {
    padding-block: 0.4375rem 0.625rem;
    padding-inline: 1.25rem;
    border-radius: 0.9375rem;
  }
}

.p-patterns__message + .p-patterns__message {
  margin-top: 1.125rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__message + .p-patterns__message {
    margin-top: 0.625rem;
  }
}

.p-patterns__messageIcon {
  position: absolute;
  top: -0.4375rem;
  left: -0.125rem;
  width: 1.125rem;
  height: 1.25rem;
}

.p-patterns__messageText {
  display: block;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: 0.05rem;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .p-patterns__messageText {
    font-size: 0.875rem;
  }
}

/* ==========================================================
 * Conclusion band (teal gradient + character + red note)
 * ========================================================== */
.p-patterns__conclusion {
  padding-block: 1.25rem 6.25rem;
  padding-inline: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__conclusion {
    padding-block: 1rem 2.5rem;
  }
}

.p-patterns__conclusionInner {
  position: relative;
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  max-width: 50rem;
  min-height: 13.75rem;
  padding-block: 2.5rem 1.875rem;
  padding-inline: 19.6875rem 6.875rem;
  margin-inline: auto;
  background: linear-gradient(to right, #70d7e4, var(--color-accent));
  border-radius: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__conclusionInner {
    display: block;
    min-height: 10.5rem;
    padding-block: 0.9375rem 0.8125rem;
    padding-inline: 0;
    border-radius: 0.875rem;
  }
}

.p-patterns__conclusionChar {
  position: absolute;
  bottom: 0;
  left: 4.3125rem;
  z-index: 1;
  width: 13.125rem;
  height: auto;
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .p-patterns__conclusionChar {
    top: -2.25rem;
    bottom: auto;
    left: 0.375rem;
    width: 7.1875rem;
  }
}

.p-patterns__conclusion {
  overflow: visible;
}

.p-patterns__conclusionBody {
  flex: 1;
}

.p-patterns__conclusionMain {
  font-weight: var(--fw-black);
  line-height: 1.4;
  color: var(--color-white);
  text-align: left;
  text-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}
@media screen and (max-width: 767px) {
  .p-patterns__conclusionMain {
    margin-inline: 8.0625rem 0.875rem;
    line-height: 1.6875rem;
    text-align: left;
  }
}

.p-patterns__conclusionSub {
  font-size: 1.5rem;
}
@media screen and (max-width: 767px) {
  .p-patterns__conclusionSub {
    font-size: 1rem;
  }
}

.p-patterns__conclusionSub:first-child {
  display: block;
}

.p-patterns__conclusionRow {
  display: block;
}

@media screen and (max-width: 767px) {
  .p-patterns__conclusionRow .p-patterns__conclusionSub {
    display: block;
  }
}

.p-patterns__conclusionEm {
  font-size: 2rem;
  color: #f2eb5f;
}
@media screen and (max-width: 767px) {
  .p-patterns__conclusionEm {
    font-size: 1.375rem;
  }
}

.p-patterns__conclusionNote {
  padding-block: 0.5625rem 0.75rem;
  padding-inline: 1.25rem 2.1875rem;
  font-size: 1rem;
  font-weight: var(--fw-black);
  line-height: 1.4;
  color: var(--color-white);
  text-align: left;
  background-color: #bf090a;
}
@media screen and (max-width: 767px) {
  .p-patterns__conclusionNote {
    width: 18.75rem;
    padding-block: 0.375rem 0.6875rem;
    padding-inline: 2rem 1.75rem;
    margin-block-start: 0.375rem;
    margin-inline: 1rem 1.1875rem;
    margin-top: 0.875rem;
    font-size: 0.75rem;
    text-align: center;
  }
}

/*
 * p-speed: スピード（スピード感が重要）セクション
 *
 * Figma 構造:
 *   PC: Group1029 (1001px wide)
 *     - タイトルブロック: 赤バンド2本 + 白文字タイトル
 *     - サブテキスト: 「次のような場合には...」
 *     - カード3枚: flex row, bg #ecf8f9, rounded-20
 *     - CTAメッセージ: 黄色バルーン + テキスト
 *   SP: 375px
 *     - カードは横並び（image left, text right）
 *     - バルーンは position:static で縦積み
 */
.p-speed {
  padding-block: 6.25rem 6.25rem;
  background-color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .p-speed {
    padding-block: 0rem;
    margin-block-end: 4.9375rem;
  }
}

.p-speed__inner {
  max-width: 65rem;
  padding-inline: 1.25rem;
  margin-inline: auto;
}

/* ==========================================================
 * タイトルブロック
 * 赤バンドはテキストに重なるデコレーション要素のため absolute 許可
 * 座標基準: .p-speed__titleOverlay content-box 左上
 *   Figma PC: タイトル領域 694px 内に配置
 *   Figma SP: タイトル領域 349px 内に配置
 * ========================================================== */
.p-speed__titleWrap {
  text-align: center;
}

.p-speed__titleOverlay {
  position: relative;
  max-width: 43.375rem;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-speed__titleOverlay {
    max-width: 20.9375rem;
  }
}

.p-speed__titleBand {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: #bf090a;
}

/* バンドはテキスト中央軸に追従するため left: 50% + translateX(-50%) で自動センタリング。
 * 数値は Figma の bg 矩形 (Group1029) サイズのみ反映、配置は overlay の中央軸頼み */
.p-speed__titleBand--first {
  top: 0.3125rem;
  left: 50%;
  width: 24.8125rem;
  height: 3.5rem;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-speed__titleBand--first {
    top: 0.125rem;
    width: 14.125rem;
    height: 2rem;
  }
}

.p-speed__titleBand--second {
  top: 4.3125rem;
  left: 50%;
  width: 29.5625rem;
  height: 4.5625rem;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-speed__titleBand--second {
    top: 2.4375rem;
    width: 18.9375rem;
    height: 2.75rem;
  }
}

.p-speed__title {
  position: relative;
  z-index: 1;
  font-weight: var(--fw-black);
  line-height: 1.7;
  color: var(--color-white);
  text-align: center;
}

.p-speed__titleRow {
  display: block;
}

.p-speed__titleRow--sm {
  font-size: 2.25rem;
}
@media screen and (max-width: 1024px) {
  .p-speed__titleRow--sm {
    font-size: 1.75rem;
  }
}
@media screen and (max-width: 767px) {
  .p-speed__titleRow--sm {
    font-size: 1.25rem;
  }
}

.p-speed__titleEmLg {
  font-size: 2.875rem;
}
@media screen and (max-width: 1024px) {
  .p-speed__titleEmLg {
    font-size: 2.25rem;
  }
}
@media screen and (max-width: 767px) {
  .p-speed__titleEmLg {
    font-size: 1.75rem;
  }
}

.p-speed__titleEmMd {
  font-size: 2.5rem;
}
@media screen and (max-width: 1024px) {
  .p-speed__titleEmMd {
    font-size: 2rem;
  }
}
@media screen and (max-width: 767px) {
  .p-speed__titleEmMd {
    font-size: 1.375rem;
  }
}

.p-speed__subText {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: var(--fw-black);
  line-height: 1.7;
  color: var(--color-text);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-speed__subText {
    margin-top: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
    /* 各 <br> 区切りの行が内部で折り返さないよう (Figma SP whitespace-nowrap 同等) */
    white-space: nowrap;
  }
}

.p-speed__subTextRed {
  font-size: 1.625rem;
  color: #bf090a;
}
@media screen and (max-width: 767px) {
  .p-speed__subTextRed {
    font-size: 1.625rem;
  }
}

/* ==========================================================
 * カード 3 枚
 * PC: flex row 3 列、SP: flex column + card は flex row（横並び）
 * ========================================================== */
.p-speed__cards {
  display: flex;
  gap: 3.25rem;
  padding: 0;
  margin-top: 2.25rem;
  list-style: none;
}
@media screen and (max-width: 1024px) {
  .p-speed__cards {
    gap: 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  .p-speed__cards {
    flex-direction: column;
    gap: 0;
    margin-top: 1.4375rem;
  }
}

.p-speed__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-block: 2.3125rem 1.5rem;
  background: #ecf8f9;
  border-radius: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-speed__card {
    flex-direction: row;
    gap: 0.6875rem;
    align-items: center;
    min-height: 9.25rem;
    padding-block: 0;
    padding-inline: 1.3125rem;
  }
}

@media screen and (max-width: 767px) {
  .p-speed__card + .p-speed__card {
    margin-top: 0.625rem;
  }
}

.p-speed__cardImg {
  flex-shrink: 0;
  width: 8.1875rem;
  height: 7.5rem;
  object-fit: contain;
}
@media screen and (max-width: 1024px) {
  .p-speed__cardImg {
    width: 6.875rem;
    height: 6.25rem;
  }
}
@media screen and (max-width: 767px) {
  .p-speed__cardImg {
    width: 6.8125rem;
    height: 6.25rem;
  }
}

.p-speed__cardText {
  margin-top: 0.875rem;
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  line-height: 1.4;
  color: var(--color-text);
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .p-speed__cardText {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  .p-speed__cardText {
    margin-top: 0;
    font-size: 1.25rem;
    text-align: left;
    /* 各 <br> 区切りの行が card 幅で折り返さないよう (Figma SP whitespace-nowrap 同等) */
    white-space: nowrap;
  }
}

/* ==========================================================
 * CTA メッセージブロック
 * 座標基準: .p-speed__ctaWrap content-box 左上
 * PC: バルーンを absolute で left:229px に配置（Figma ml:229 から）
 * SP: バルーンを position:static にし、テキストと縦積み
 * ========================================================== */
.p-speed__ctaWrap {
  position: relative;
  padding-block-start: 7.8125rem;
  margin-top: 2.25rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-speed__ctaWrap {
    position: static;
    padding-block-start: 0;
    margin-top: 1.125rem;
  }
}

.p-speed__balloon {
  /* PC: absolute で ctaWrap 横中央に配置 (ユーザー指示で Figma の左寄り配置から中央に変更)。
   * left:50% + margin-left:-half-of-width で width 計算をシンプルに保つ。 */
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.375rem;
  height: 7.375rem;
  margin-left: -3.6875rem;
  background: linear-gradient(137.21deg, #fffbb1 17%, #f2eb5f 78%);
  border: 0.25rem solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.15);
}
@media screen and (max-width: 767px) {
  .p-speed__balloon {
    position: static;
    width: 5.125rem;
    height: 5.125rem;
    margin-inline: auto;
    border-width: 0.125rem;
  }
}

.p-speed__balloonLabel {
  /* Figma 準拠: line-height 1.6 にして line-box を em-box より大きくし、
   * Noto Sans JP のグリフが line-box 下にハミ出さず line-box 内中央に描画される。
   * line-height 1 では line-box=em-box でグリフが下方向に逸脱し、視覚的に下半分に寄る。 */
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  line-height: 1.6;
  color: var(--color-accent);
  transform: rotate(-8.01deg);
}
@media screen and (max-width: 767px) {
  .p-speed__balloonLabel {
    font-size: 1rem;
  }
}

.p-speed__ctaText {
  font-weight: var(--fw-black);
}
@media screen and (max-width: 767px) {
  .p-speed__ctaText {
    margin-top: 0.5rem;
  }
}

.p-speed__ctaRow {
  font-size: 1.75rem;
  line-height: 1.6;
  color: var(--color-text);
}
@media screen and (max-width: 1024px) {
  .p-speed__ctaRow {
    font-size: 1.375rem;
  }
}
@media screen and (max-width: 767px) {
  .p-speed__ctaRow {
    font-size: 1.125rem;
  }
}

.p-speed__ctaAccent {
  font-size: 2rem;
  color: var(--color-accent);
}
@media screen and (max-width: 1024px) {
  .p-speed__ctaAccent {
    font-size: 1.625rem;
  }
}
@media screen and (max-width: 767px) {
  .p-speed__ctaAccent {
    display: block;
    font-size: 1.375rem;
  }
}

.p-speed__closing {
  margin-top: 0rem;
  margin-left: 2.5rem;
  font-size: 2.875rem;
  font-weight: var(--fw-black);
  color: var(--color-accent);
  -webkit-text-stroke: 0.5rem var(--color-white);
  paint-order: stroke fill;
  filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
}
@media screen and (max-width: 1024px) {
  .p-speed__closing {
    font-size: 2.25rem;
  }
}
@media screen and (max-width: 767px) {
  .p-speed__closing {
    margin-top: 0.1875rem;
    margin-left: 0.625rem;
    font-size: 1.75rem;
    white-space: nowrap;
    -webkit-text-stroke-width: 0.25rem;
    filter: drop-shadow(0 0.125rem 0.125rem rgba(0, 0, 0, 0.25));
  }
}

:root {
  --clip-triangle-top: polygon(50% 0, 100% 100%, 0 100%);
  --clip-triangle-bottom: polygon(0 0, 100% 0, 50% 100%);
  --clip-triangle-right: polygon(0 0, 100% 50%, 0 100%);
  --clip-triangle-left: polygon(0 50%, 100% 0, 100% 100%);
  --clip-triangle-lower-left: polygon(0 0, 100% 100%, 0 100%);
  --clip-triangle-upper-left: polygon(0 0, 100% 0, 0 100%);
  --clip-triangle-lower-right: polygon(100% 0, 100% 100%, 0 100%);
  --clip-triangle-upper-right: polygon(0 0, 100% 0, 100% 100%);
}

@media (width >= 768px) {
  [data-only-device=md] {
    display: none;
  }
}

@media (width <= 767px) {
  [data-only-device=sm] {
    display: none;
  }
}

/* PC のみ表示 (SP=md 以下で非表示) */
@media screen and (max-width: 767px) {
  .u-pc {
    display: none;
  }
}

/* SP のみ表示 (PC=md 超で非表示) */
.u-sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .u-sp {
    display: inline;
  }
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  white-space: nowrap;
  border: 0;
}

.u-text__marker {
  background: linear-gradient(transparent 75%, var(--color-orange) 75%);
}

.u-text__inlineBlock {
  display: inline-block;
}

.u-text__indent {
  padding-inline-start: 1em;
  text-indent: -1em;
}