@charset "UTF-8";
/* =========================================================
   Design tokens
   ・余白 / 文字は 390px → 1440px で clamp() により連続変化
   ・グローバルなブレークポイントは 768px / 1024px の2つだけ
   ・カード列数はコンテナクエリ（置かれた幅）で決める
   ========================================================= */
:root {
  /* color：色の名前ではなく「役割」で名前を付ける。案件ごとに値だけ差し替える
     --c-cta     主要CTAボタンの地（例：LINE導線）。文字は --c-cta-text
     --c-accent  強調語・アイコン・CTA以外のボタン（白文字 4.5:1 以上の色）
     --c-accent-text  小さな番号・ラベルの文字（白地で 4.5:1 以上）
     --c-deco    線・リングなど装飾だけ（文字には使わない）
     --c-tint-*  淡い面（セクション・カード背景） */
  --c-cta: #2C870F;            /* LINEボタン：白文字 4.59:1（本人指定 #5DD529 と同じ色味） */
  --c-cta-hover: #23700C;      /* 白文字 6.18:1 */
  --c-cta-text: #FFFFFF;
  --c-accent: #2E3A44;         /* 強調の文字は本文色。色は水色のマーカーや丸で添える */
  --c-accent-dark: #1E272E;
  --c-accent-text: #2E3A44;    /* 番号・ラベルの文字。水色は文字に使わない */
  --c-glow: #8FD7F8;           /* FVの光彩（水色）の中心色 */
  /* 水色を基準にした1色の濃淡で組む（ピンクは使わない） */
  --c-deco: #80D2F7;           /* 装飾の線・アイコン（文字には使わない） */
  --c-tint-200: #80D2F7;       /* 基準の水色：丸・ラベル・大きな面（上の文字は本文色 7.08:1以上） */
  --c-tint-150: #B9E6FB;
  --c-tint-100: #DDF3FD;       /* 淡い水色 */
  --c-tint-50: #F0FAFE;        /* セクション背景 */
  --c-ink: #2E3A44;            /* 本文：少し青みのある濃いグレー */
  --c-ink-2: #5B6672;          /* 補足 */
  --c-border: #E2EEF4;
  --c-surface: #FFFFFF;
  --c-dark: #2E3A44;

  /* layout */
  --w-wide: 1200px;
  --w-base: 1040px;
  --w-narrow: 720px;
  --gutter: clamp(1.25rem, 0.786rem + 1.905vw, 2.5rem);       /* 20 → 40 */
  --sec-y: clamp(4.5rem, 3.107rem + 5.714vw, 8.25rem);        /* 72 → 132 */
  --space-s: clamp(0.75rem, 0.6rem + 0.5vw, 1rem);
  --space-m: clamp(1.5rem, 1.2rem + 1vw, 2.5rem);
  --space-l: clamp(2.5rem, 2rem + 2vw, 4rem);
  --gap-card: clamp(1rem, 0.6rem + 1.6vw, 2rem);

  /* type */
  --fs-body: clamp(1rem, 0.954rem + 0.19vw, 1.125rem);        /* 16 → 18 */
  --fs-small: 0.875rem;
  --fs-h1: clamp(2rem, 1.443rem + 2.286vw, 3.5rem);           /* 32 → 56 */
  --fs-h2: clamp(1.75rem, 1.379rem + 1.524vw, 2.75rem);       /* 28 → 44 */
  --fs-h3: clamp(1.125rem, 1.032rem + 0.381vw, 1.375rem);     /* 18 → 22 */
  --lh-body: 1.9;
  --lh-head: 1.45;

  /* material-ish surface */
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --radius-full: 999px;
  --elev-1: 0 1px 2px rgb(46 58 68 / .05), 0 2px 6px rgb(46 58 68 / .04);
  --elev-2: 0 4px 10px rgb(46 58 68 / .06), 0 12px 28px rgb(46 58 68 / .07);
  --elev-cta: 0 6px 18px color-mix(in srgb, var(--c-cta) 40%, transparent);

  --header-h: clamp(64px, 56px + 2vw, 80px);
  --ease: cubic-bezier(.2, 0, 0, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0.03em;
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { line-height: var(--lh-head); text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
p, li, dd { word-break: auto-phrase; }
.en { font-family: "Outfit", "Noto Sans JP", sans-serif; letter-spacing: 0.04em; }
.nw { display: inline-block; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }

/* ---------- layout primitives ---------- */
.l-container { width: min(100% - var(--gutter) * 2, var(--w-base)); margin-inline: auto; container-type: inline-size; }
.l-container--wide { width: min(100% - var(--gutter) * 2, var(--w-wide)); }
.l-container--narrow { width: min(100% - var(--gutter) * 2, var(--w-narrow)); }
.l-section { padding-block: var(--sec-y); }
.l-section--tint { background: var(--c-tint-50); }
.l-stack > * + * { margin-top: var(--space-m); }

/* 枚数の決まった一覧は段落ちを防ぐため列数を段階指定（判定はコンテナ幅） */
.l-grid { display: grid; gap: var(--gap-card); }
.l-grid--4, .l-grid--3, .l-grid--5 { grid-template-columns: minmax(0, 1fr); }
@container (width >= 560px)  { .l-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (width >= 1000px) { .l-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (width >= 640px)  { .l-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (width >= 900px)  { .l-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- components ---------- */
.c-sec-head { display: grid; gap: var(--space-s); }
.c-sec-head--center { text-align: center; justify-items: center; }
.c-eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: 0.8125rem; font-weight: 600; color: var(--c-accent-text);
  text-transform: uppercase; letter-spacing: .14em;
}
.c-eyebrow::before { content: ""; width: 1.75em; height: 4px; border-radius: 4px; background: var(--c-tint-200); }
.c-h2 { font-size: var(--fs-h2); font-weight: 700; }
.c-h2 em { font-style: normal; color: var(--c-accent); }
.c-lead { color: var(--c-ink-2); max-width: 40em; }

.c-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.5rem; width: min(100%, 22rem);
  padding: .75em 2em;
  border: 0; border-radius: var(--radius-full);
  font: inherit; font-weight: 700; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem); letter-spacing: .05em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), translate .25s var(--ease);
}
.c-btn:hover { translate: 0 -2px; }
.c-btn:active { translate: 0; }
.c-btn--cta { background: var(--c-cta); color: var(--c-cta-text); box-shadow: var(--elev-cta); }
.c-btn--cta:hover { background: var(--c-cta-hover); box-shadow: 0 10px 24px color-mix(in srgb, var(--c-cta) 45%, transparent); }
.c-btn--cta .c-icon { width: 1.5em; height: 1.5em; }
.c-btn--accent { background: var(--c-accent); color: #fff; }
.c-btn--accent:hover { background: var(--c-accent-dark); }
.c-btn--outline { background: transparent; color: var(--c-accent); box-shadow: inset 0 0 0 1.5px var(--c-accent); }
.c-btn--outline:hover { background: var(--c-tint-50); }
.c-btn--sm { min-height: 2.75rem; width: auto; padding-inline: 1.25em; font-size: var(--fs-small); }
.c-icon { width: 1.25em; height: 1.25em; flex: none; }
.c-arrow { transition: translate .25s var(--ease); }
.c-btn:hover .c-arrow, .c-textlink:hover .c-arrow { translate: 4px 0; }
.c-textlink { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: var(--fs-small); text-decoration: none; }
.c-textlink:hover { color: var(--c-accent); }

.c-chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3em 1em; border-radius: var(--radius-full);
  background: var(--c-surface); border: 1px solid var(--c-border);
  font-size: var(--fs-small); font-weight: 500; line-height: 1.6;
}

.c-card {
  position: relative;
  background: var(--c-surface);
  border-radius: var(--radius-m);
  box-shadow: var(--elev-1);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}

/* ---------- header ---------- */
.p-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: rgb(255 255 255 / .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s;
}
.p-header.is-scrolled { box-shadow: 0 1px 0 var(--c-border); }
.p-header__inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.p-header__logo { margin-right: auto; display: grid; line-height: 1.1; text-decoration: none; }
.p-header__logo b { font-size: 1.3rem; font-weight: 700; }
.p-header__logo b span { color: var(--c-accent); }
.p-header__logo small { font-size: 0.75rem; color: var(--c-ink-2); letter-spacing: .12em; }
.p-nav { display: none; }
.p-nav ul { display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
.p-nav a { position: relative; white-space: nowrap; text-decoration: none; font-size: var(--fs-small); font-weight: 500; padding-block: .5em; }
.p-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1em; height: 2px; border-radius: 2px;
  background: var(--c-deco); scale: 0 1; transform-origin: left; transition: scale .3s var(--ease);
}
.p-nav a:hover::after { scale: 1 1; }
.p-header .c-btn--sm { display: none; }
.p-header__menu {
  display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: var(--radius-full);
  background: var(--c-tint-50); color: var(--c-ink); cursor: pointer;
}
@media (width >= 768px) { .p-header .c-btn--sm { display: inline-flex; } }
@media (width >= 1024px) {
  .p-nav { display: block; }
  .p-header__menu { display: none; }
}
.p-drawer {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 39;
  background: #fff; box-shadow: var(--elev-2);
  padding: .5rem var(--gutter) 1.5rem;
  border-radius: 0 0 var(--radius-l) var(--radius-l);
}
.p-drawer[hidden] { display: none; }
.p-drawer > a:not(.c-btn) { display: block; padding: .85rem 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--c-border); }
.p-drawer .c-btn { margin-top: 1.25rem; width: 100%; }

/* ---------- FV（流れる画像＋中央の文字） ----------
   上下1段ずつ、16:9の画像の帯が左右にゆっくり流れ、間に文字を置く。
   高さは「画面の高さ − ヘッダー」に収め、余った高さを上下の帯で分ける（帯の高さ → 画像の幅が16:9で決まる）。
   1セット12枚にして、どの画面幅でも帯の端まで画像が埋まるようにしている。
   文字は帯の上に重ねないので、写真が入っても読みやすさは変わらない。 */
.p-fv {
  --fv-gap: clamp(8px, 4px + .8vw, 14px);
  position: relative; isolation: isolate; overflow: clip;
  display: grid;
  grid-template-rows: minmax(96px, 280px) auto minmax(96px, 280px);
  align-content: center; row-gap: var(--fv-gap);
  height: max(calc(100svh - var(--header-h)), 560px);
  padding-block: var(--fv-gap);
  background: radial-gradient(ellipse 70% 42% at 50% 50%, var(--c-tint-100), transparent 75%), #fff;
}
.p-fv__band { overflow: hidden; min-height: 0; }
.p-fv__track {
  display: flex; gap: var(--fv-gap); height: 100%; width: max-content;
  animation: fv-marquee 120s linear infinite;
}
.p-fv__band--rev .p-fv__track { animation-direction: reverse; }
/* 1セット分（= 全体の半分）だけ動かすと、2セット目が1セット目の位置にぴったり重なり、継ぎ目なくループする */
@keyframes fv-marquee { to { translate: calc(-50% - var(--fv-gap) / 2) 0; } }
.p-fv__ph, .p-fv__track > img {
  flex: none; height: 100%; width: auto; aspect-ratio: 16 / 9; border-radius: 8px;   /* width:auto がないと img の width 属性が勝って比率が崩れる */
  object-fit: cover; display: block;
}
.p-fv__ph--1 { background: var(--c-tint-100); }
.p-fv__ph--2 { background: var(--c-tint-150); }
.p-fv__ph--3 { background: color-mix(in srgb, var(--c-tint-200) 55%, #fff); }
@media (prefers-reduced-motion: reduce) { .p-fv__track { animation: none; } }

.p-fv__center {
  display: grid; justify-items: center; text-align: center;
  gap: clamp(.75rem, .6rem + .5vw, 1rem);
  padding-block: clamp(.5rem, .25rem + .5vw, .75rem);
}
.p-fv__center .c-eyebrow { margin: 0; }
.p-fv__title { font-size: clamp(2rem, 1.164rem + 3.429vw, 4.25rem); font-weight: 700; letter-spacing: .02em; line-height: 1.32; }   /* 32 → 68 */
.p-fv__title .mark { background: linear-gradient(transparent 62%, var(--c-tint-200) 62%, var(--c-tint-200) 94%, transparent 94%); }

/* 実績：細い線1本の丸だけのシンプルな形 */
.p-fv__proof {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.75rem, .5rem + 1vw, 1.5rem);
  list-style: none; margin: 0; padding: 0;
}
.p-fv__usp {
  width: clamp(104px, 92px + 2vw, 132px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: .3em; text-align: center;
  background: #fff;
  border: 1.5px solid var(--c-tint-200);
}
.p-fv__usp span { font-size: .75rem; font-weight: 700; line-height: 1.4; }
.p-fv__usp b { font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: 0; }
.p-fv__usp b small { font-family: "Noto Sans JP", sans-serif; font-size: max(.34em, 13px); margin-left: .1em; }
.p-fv__usp--gov { gap: .15em; }
.p-fv__usp--gov b { font-size: clamp(.9375rem, .85rem + .45vw, 1.1875rem); letter-spacing: .02em; }
.p-fv__usp--gov span { font-weight: 500; }
@media (width >= 768px) { .p-fv__usp span { font-size: .8125rem; } }

.p-fv__cta { display: flex; flex-direction: column; align-items: center; gap: .75rem; }

/* ---------- problems ---------- */
.p-problem__list { margin-top: var(--space-l); }
.p-problem__item {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border-radius: var(--radius-m); padding: 1.25rem 1.35rem; box-shadow: var(--elev-1);
  font-weight: 500; line-height: 1.75;
}
.p-problem__item .c-icon { color: var(--c-deco); margin-top: .3em; }
.p-problem__answer { margin-top: var(--space-l); display: grid; justify-items: center; gap: .75rem; text-align: center; }
.p-problem__answer::before { content: ""; width: 2px; height: 3rem; background: linear-gradient(var(--c-tint-200), var(--c-deco)); }
.p-problem__answer p { font-size: var(--fs-h3); font-weight: 700; line-height: 1.6; }
.p-problem__answer em { font-style: normal; color: var(--c-accent); }

.p-service__icon {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 16px; background: var(--c-tint-100); color: var(--c-accent);
}
.p-service__icon svg { width: 26px; height: 26px; }
/* ---------- about ---------- */
.p-about__grid { display: grid; gap: var(--space-l); align-items: center; }
.p-about__photo { position: relative; width: min(100%, 440px); justify-self: center; }
.p-about__photo::before {        /* 写真の後ろにずらした角丸面 */
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; z-index: 0;
  border-radius: var(--radius-l); background: var(--c-tint-200);
}
.p-about__photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%;
  border-radius: var(--radius-l);
}
.p-about__badge {
  position: absolute; z-index: 2; left: -.75rem; bottom: 1.5rem;
  padding: .55em 1.1em; border-radius: var(--radius-full);
  background: #fff; box-shadow: var(--elev-2);
  font-size: 0.75rem; font-weight: 600; letter-spacing: .08em;
}
.p-about__badge span { color: var(--c-accent); }
.p-about__name { display: flex; align-items: baseline; gap: .75em; flex-wrap: wrap; }
.p-about__name strong { font-size: var(--fs-h3); }
.p-about__name span { font-size: var(--fs-small); color: var(--c-ink-2); }
.p-about__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (width >= 768px) {
  .p-about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .p-about__photo { justify-self: start; }
}

/* ---------- services ---------- */
.p-service__list { margin-top: var(--space-l); }
.p-service__card { display: flex; flex-direction: column; }
.p-service__no { position: absolute; top: 1.1rem; right: 1.4rem; font-size: 0.875rem; font-weight: 600; color: var(--c-accent-text); }
.p-service__card h3 { font-size: var(--fs-h3); margin-top: 1.1rem; }
.p-service__card p { margin-top: .5rem; color: var(--c-ink-2); font-size: 1rem; line-height: 1.85; }
.p-service__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1.1rem; }
.p-service__tags li { font-size: 0.75rem; padding: .2em .8em; border-radius: var(--radius-full); background: var(--c-tint-50); color: var(--c-ink-2); }

/* ---------- flow（縦に4段。1段ずつ白い角丸の四角で囲む） ---------- */
.p-flow2 { margin: var(--space-l) auto 0; max-width: 880px; display: grid; gap: 1.75rem; }
.p-flow2__item {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
  gap: clamp(.75rem, .5rem + 1vw, 1.75rem);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem) clamp(1rem, .5rem + 2vw, 2.5rem);
  background: #fff; border-radius: var(--radius-m); box-shadow: var(--elev-1);
}
.p-flow2__item:not(:last-child)::after {       /* 次の段へ進む三角 */
  content: ""; position: absolute; left: 50%; bottom: -1.35rem; translate: -50% 0;
  border-inline: 14px solid transparent; border-top: 11px solid var(--c-tint-200);
}
.p-flow2__step {
  display: grid; place-content: center; justify-items: center;
  width: clamp(64px, 58px + 1.2vw, 78px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px var(--c-tint-200);
  line-height: 1.1;
}
.p-flow2__step small { font-size: .75rem; font-weight: 600; letter-spacing: .08em; }
.p-flow2__step b { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 600; }
.p-flow2__item h3 { font-size: var(--fs-h3); }
.p-flow2__item p { margin-top: .25rem; color: var(--c-ink); line-height: 1.75; }

/* ---------- faq ---------- */
.p-faq__list { margin-top: var(--space-l); display: grid; gap: .75rem; }
.p-faq__item { background: #fff; border-radius: var(--radius-m); box-shadow: var(--elev-1); }
.p-faq__item summary {
  list-style: none; cursor: pointer; display: flex; gap: 1rem; align-items: center;
  padding: 1.15rem 1.35rem; font-weight: 500; line-height: 1.7;
}
.p-faq__item summary::-webkit-details-marker { display: none; }
.p-faq__item summary::before { content: "Q"; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--c-accent); }
.p-faq__item summary::after {           /* ＋アイコン。色はトークンに追従（mask） */
  content: ""; flex: none; margin-left: auto; width: 1.25rem; height: 1.25rem;
  background: var(--c-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: rotate .3s var(--ease);
}
.p-faq__item[open] summary::after { rotate: 45deg; }
.p-faq__item > p { padding: 0 1.35rem 1.35rem 3.3rem; color: var(--c-ink-2); font-size: 1rem; }

/* ---------- footer ---------- */
.p-footer { padding-block: var(--space-l) 1.5rem; font-size: var(--fs-small); color: var(--c-ink-2); }
.p-footer__inner { display: grid; gap: 1.25rem; border-top: 1px solid var(--c-border); padding-top: var(--space-m); }
.p-footer nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.p-footer a { text-decoration: none; }
.p-footer__logo { font-size: 1.25rem; font-weight: 700; color: var(--c-ink); letter-spacing: .02em; }
.p-footer a:hover { color: var(--c-accent); }
@media (width >= 768px) {
  .p-footer { padding-bottom: 1.5rem; }
  .p-footer__inner { grid-template-columns: auto 1fr auto; align-items: center; column-gap: var(--space-m); }
}

/* ---------- SP 固定 LINE CTA ---------- */
.p-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--c-border);
  display: flex; justify-content: center;
  transition: translate .3s var(--ease);
}
.p-sticky .c-btn { min-height: 3.25rem; box-shadow: none; }
.p-sticky.is-hidden { translate: 0 110%; }
@media (width >= 768px) { .p-sticky { display: none; } }

/* ---------- scroll reveal（JS 有効時のみ） ---------- */
.js .u-reveal { opacity: 0; translate: 0 16px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.js .u-reveal.is-in { opacity: 1; translate: 0; }
@media (width < 1024px) { .u-pc { display: none; } }

/* =========================================================
   この案件で追加したセクション
   ========================================================= */
.l-grid--2 { grid-template-columns: minmax(0, 1fr); }
@container (width >= 560px) { .l-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- お悩み（個人 / 事業者の2列） ---------- */
.p-problem__cols { display: grid; gap: var(--gap-card); margin-top: var(--space-l); }
@container (width >= 720px) { .p-problem__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.p-problem__col { background: #fff; border-radius: var(--radius-l); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--elev-1); }
.p-problem__col h3 { font-size: var(--fs-h3); display: grid; gap: .15rem; }
.p-problem__col h3 small { justify-self: start; padding: .2em .9em; border-radius: var(--radius-full); background: var(--c-tint-200); font-size: var(--fs-small); font-weight: 700; color: var(--c-ink); letter-spacing: .06em; margin-bottom: .35rem; }
.p-problem__list2 { margin-top: var(--space-s); display: grid; gap: .7rem; }
.p-problem__list2 li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.75; }
.p-problem__list2 .c-icon { color: var(--c-deco); margin-top: .3em; }

/* ---------- 安心な理由 ---------- */
.p-reason__list { margin-top: var(--space-l); counter-reset: reason; }
.p-reason__item { counter-increment: reason; }
.p-reason__item::before {          /* 番号は水色の丸の中に */
  content: counter(reason, decimal-leading-zero); display: grid; place-items: center;
  width: 3.25rem; aspect-ratio: 1; border-radius: 50%; background: var(--c-tint-200);
  font-family: "Outfit", sans-serif; font-weight: 600; font-size: 1.25rem; line-height: 1; color: var(--c-ink);
  margin-bottom: 1rem;
}
.p-reason__item h3 { font-size: var(--fs-h3); }
.p-reason__item p { margin-top: .6rem; color: var(--c-ink-2); line-height: 1.85; }

/* ---------- サービス（目的別の3グループ） ---------- */
.p-svc { margin-top: var(--space-l); display: grid; gap: calc(var(--space-l) * 1.25); }   /* ステップ同士の間は広く */
.p-svc__group { display: grid; gap: 1rem; }   /* 見出しとその詳細カードは近づけて、まとまりに見せる */
.p-svc__group .p-service__list { margin-top: 0; }
.p-svc__head { display: grid; gap: .2rem; padding-left: 1.1rem; border-left: 4px solid var(--c-tint-200); }
.p-svc__head .en { justify-self: start; padding: .1em .8em; border-radius: var(--radius-full); background: var(--c-tint-200); font-size: 0.8125rem; font-weight: 600; color: var(--c-ink); letter-spacing: .12em; }
.p-svc__head h3 { font-size: var(--fs-h3); }
.p-svc__head p { color: var(--c-ink-2); font-size: var(--fs-small); }
.p-service__card .p-service__icon { background: var(--c-tint-200); color: #fff; }   /* アイコンは白い線 */
.p-service__card--wide { display: grid; gap: 1.1rem var(--space-m); }
.p-service__card--wide h3 { margin-top: 0; }
@container (width >= 720px) { .p-service__card--wide { grid-template-columns: auto 1fr; align-items: start; } }

/* ---------- 実績 ---------- */
.p-stats { margin-top: var(--space-l); }
.p-stats li { text-align: center; display: grid; gap: .25rem; }
.p-stats b { justify-self: center; padding-inline: .15em; font-size: clamp(3rem, 2.3rem + 2.8vw, 4.75rem); line-height: 1.15; color: var(--c-ink); font-weight: 700; background: linear-gradient(transparent 64%, var(--c-tint-200) 64%, var(--c-tint-200) 92%, transparent 92%); }
.p-stats b small { font-size: max(.38em, 16px); font-family: "Noto Sans JP", sans-serif; font-weight: 700; margin-left: .1em; }
.p-stats p { color: var(--c-ink-2); }
.p-works__text {
  margin: var(--space-l) auto 0; max-width: 46rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-l);
  background: var(--c-tint-50); font-size: var(--fs-h3); font-weight: 500; line-height: 1.9; text-align: center;
}
.p-works__text strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--c-tint-200) 62%, var(--c-tint-200) 92%, transparent 92%); }
.p-works__note { margin: var(--space-s) auto 0; max-width: 46rem; font-size: var(--fs-small); color: var(--c-ink-2); text-align: center; }

/* ---------- 途中のCTA ---------- */
.c-midcta { margin-top: var(--space-l); display: grid; justify-items: center; gap: .75rem; text-align: center; }
.c-midcta p { font-weight: 500; }

/* LINEボタン＋すぐ下の一文（ボタンとセットで見せる） */
.c-line-cta { display: grid; justify-items: center; gap: .45rem; text-align: center; }
.c-line-cta__note { font-size: .75rem; line-height: 1.5; color: var(--c-ink-2); font-weight: 500; }
.p-drawer .c-line-cta { margin-top: 1.25rem; }
.p-drawer .c-line-cta .c-btn { margin-top: 0; }
.p-sticky .c-line-cta { width: min(100%, 420px); gap: .25rem; }
.p-sticky .c-line-cta .c-btn { width: 100%; }

/* ---------- About ---------- */
.p-about__grid { align-items: start; }
.p-about__body h3 { font-size: var(--fs-h3); display: flex; align-items: center; gap: .55em; }
.p-about__body h3::before { content: ""; flex: none; width: .7em; aspect-ratio: 1; border-radius: 50%; background: var(--c-tint-200); box-shadow: 0 0 0 4px var(--c-tint-100); }   /* 見出しの丸アイコン */
.p-about__body h3 + p { margin-top: var(--space-s); }
@media (width >= 768px) { .p-about__photo { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
@media (width < 768px) { .p-about__photo { width: min(78%, 320px); } }

/* ---------- ご予算に合わせて ---------- */
.p-budget__list { margin-top: var(--space-l); }
.p-budget__item { display: flex; flex-direction: column; box-shadow: none; border: 2px solid var(--c-tint-200); }
.p-budget__item h3 { font-size: var(--fs-h3); }
.p-budget__item > p { margin-top: .6rem; color: var(--c-ink-2); line-height: 1.85; }
.p-budget__for { margin-top: auto; padding-top: 1.25rem; }
.p-budget__for span { display: block; padding: .8rem 1rem; border-radius: var(--radius-s); background: var(--c-tint-100); font-size: var(--fs-small); line-height: 1.7; }

/* ---------- 最終CTA（背景は水色のグラデーション＋白い丸2つ。画像は使わない） ----------
   グラデーション / 白っぽいかぶせ / 文字 の3層。かぶせで文字のコントラストを保つ */
.p-cta__box {
  position: relative; overflow: clip; isolation: isolate;
  display: grid; gap: var(--space-m); justify-items: center; text-align: center;
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) var(--gutter);
  border-radius: var(--radius-l);
  background:
    radial-gradient(circle at 78% 29%, rgb(255 255 255 / .18) clamp(120px, 14vw, 220px), transparent 0),
    radial-gradient(circle at 19% 78%, rgb(255 255 255 / .12) clamp(160px, 19vw, 300px), transparent 0),
    linear-gradient(135deg, #8FB9CC, #9FCBE3);
  color: var(--c-ink);
}
.p-cta__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.p-cta__box::before {            /* グラデーションの上にかぶせる白っぽい層 */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgb(255 255 255 / .86), color-mix(in srgb, var(--c-tint-200) 80%, transparent));
}
.p-cta__box .c-eyebrow { color: var(--c-ink); }
.p-cta__box .c-lead { color: var(--c-ink); }
.p-cta__action { display: grid; gap: 1.25rem; justify-items: center; align-items: center; }
.p-cta__sns { display: grid; justify-items: center; gap: .6rem; font-size: var(--fs-small); font-weight: 500; }
.p-cta__sns ul { display: flex; gap: .75rem; }
.p-cta__sns a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--c-ink); box-shadow: var(--elev-1); transition: translate .25s var(--ease), box-shadow .25s var(--ease); }
.p-cta__sns a:hover { translate: 0 -2px; box-shadow: var(--elev-2); }

/* 強調語は色ではなく水色のマーカーで */
.p-problem__answer em { color: var(--c-ink); background: linear-gradient(transparent 62%, var(--c-tint-200) 62%, var(--c-tint-200) 94%, transparent 94%); }
.p-faq__item summary::before { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-tint-200); font-size: 1rem; }
.p-faq__item > p { padding-left: 4.35rem; }

/* ---------- privacy policy（別ページ・飾りなしの本文ページ） ---------- */
.p-policy__body { margin-top: var(--space-l); display: grid; gap: var(--space-l); }
.p-policy__sec { display: grid; gap: .9rem; }
.p-policy__sec h2 { font-size: var(--fs-h3); font-weight: 700; }
.p-policy__sec p { line-height: 1.95; overflow-wrap: anywhere; }
.p-policy__sec :is(p, li) { word-break: normal; }   /* 長い本文は文節で折り返さず、行末まで詰める（文の途中で不自然に改行されないように） */
.p-policy__list, .p-policy__olist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.p-policy__olist li { display: flex; }
.p-policy__olist li span { flex: none; }
.p-policy__tbd { background: #FFF3C4; padding-inline: .15em; border-radius: 3px; }   /* 未確定（仮表示）。ドメインが決まったら span ごと差し替える */
.p-policy__back { margin-top: var(--space-l); text-align: center; }
