@charset "UTF-8";
/* ============================================================
   /service/first/ まずは1ページで、早く（2026-10-17 新設）。共通の部品は component/_lower.scss・トップの .p-receipt／.p-kaigyo／.p-qa
   このページの紙は2枚:
   ① 最初の画面の「答えたヒアリングシート」（置かれて落ち着く → 判子がポンと押される → 藍のペンでチェック）
   ② 見本の1ページを上から下まで丸ごと（窓で切らない・勝手に流さない）。右の札を点線でつなぎ、藍の線がスクロールで伸びる
   🔴 動きを減らす設定・JSが動かないときは、仕上がりの形で止まって見える。
   🔴 図形は正円とアーチ窓だけ。縦の色帯・左端のアクセント線は引かない（藍の線は「ページのどこか」を示す目盛りとして1本だけ）。
   ============================================================ */
/* ── ① 答えたヒアリングシート ── */
.p-fs-sheet {
  position: relative;
  margin: 0;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2.25rem);
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--sh-float);
  rotate: -1.2deg;
}

.p-fs-sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.8rem;
  margin-bottom: 0.4rem;
  border-bottom: 1.5px solid var(--ink);
  padding-right: 3.2rem;
} /* 右上の「受付」の判子と札が重ならないように */
.p-fs-sheet__head {
  flex-wrap: wrap;
  row-gap: 0.3rem;
}

.p-fs-sheet__head b {
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
} /* 2周目: 「質問シー／ト」と折れていた */
.p-fs-sheet__head span {
  white-space: nowrap;
}

.p-fs-sheet__head span {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 0.1em 0.8em;
  border-radius: var(--r-pill);
}

.p-fs-sheet__qa > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--rule-strong);
}

.p-fs-sheet__qa > div:last-child {
  border-bottom: 0;
}

.p-fs-sheet__qa dt {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-sub);
  letter-spacing: 0.04em;
}

/* 答えは、ペンで書いたように藍で */
.p-fs-sheet__qa dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
}

.p-fs-sheet__box {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--ink-sub);
  font-weight: 400;
}

.p-fs-sheet__box::before {
  content: "";
  width: 1em;
  height: 1em;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px var(--rule-strong);
  display: inline-grid;
  place-items: center;
  font-size: 0.85em;
  line-height: 1;
}

.p-fs-sheet__box.is-on {
  color: var(--accent);
  font-weight: 700;
}

.p-fs-sheet__box.is-on::before {
  content: "✓";
  content: "✓"/"";
  color: var(--white);
  background: var(--accent);
  box-shadow: none;
}

.p-fs-sheet figcaption {
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: var(--ink-sub);
}

/* 受付の判子（濃い藍の輪） */
.p-fs-sheet__stamp {
  position: absolute;
  right: -1.2rem;
  top: -1.6rem;
  width: clamp(3.4rem, 8vw, 4.2rem);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 5px var(--white), inset 0 0 0 6px var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  letter-spacing: 0.1em;
  rotate: 14deg;
}

.p-fs .c-subhero__paper {
  width: min(100%, 27rem);
}

/* 「これで足ります」（答えの欄の下に、チェックと一緒に1行。文字に重ねない） */
.p-fs-sheet__ok {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.p-fs-sheet__ok .c-pen__svg {
  position: static;
  width: 2rem;
  height: 1.7rem;
  flex: none;
}

[data-motion=on] .p-fs-sheet__ok:not([data-revealed]) span {
  opacity: 0;
}

[data-motion=on] .p-fs-sheet__ok span {
  transition: opacity 0.4s ease calc(var(--reveal-delay, 0ms) + 1s);
}

/* 最初の画面の値札（2026-10-17 最終確認: 3行の表をやめた） */
.p-fs-tag {
  display: grid;
  gap: 0.3rem;
  margin-top: var(--sp-2);
  padding: 1rem 1.25rem 1.1rem;
  background: var(--white);
  border-radius: var(--r-m);
  box-shadow: 0 0 0 1px var(--rule), var(--sh-float);
  max-width: 34rem;
}

.p-fs-tag__price {
  font-weight: 700;
  line-height: 1.1;
}

.p-fs-tag__price b {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 1.7rem + 2vw, 3rem);
  color: var(--accent);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  margin-right: 0.1em;
}

.p-fs-tag__price small {
  margin-left: 0.5em;
  font-weight: 400;
  font-size: var(--fs-sm);
  color: var(--ink);
}

.p-fs-tag__cond, .p-fs-tag__what {
  font-size: var(--fs-sm);
  color: var(--ink);
} /* 決めるのに大事な条件は本文と同じ濃さ */
.p-fs-two {
  display: grid;
  gap: 0.5rem;
  margin-top: var(--sp-3);
  max-width: 34rem;
}

.p-fs-two li {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  gap: 0.2rem 0.8rem;
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.p-fs-two b {
  color: var(--accent);
}

@media (max-width: 479.98px) {
  .p-fs-two li {
    grid-template-columns: minmax(0, 1fr);
  }
}
.p-fs-kaigyo__go {
  margin-top: 0.8rem;
}

.p-fs-receipt__gl {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--ink);
}

/* ── ② 向いている方（付箋） ── */
.p-fs-for__in {
  display: grid;
  gap: var(--sp-6);
}

.p-fs-for__head > p {
  max-width: 30em;
}

.p-fs-notes {
  display: grid;
  gap: var(--sp-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-fs-notes li {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1.6rem 1.4rem 1.4rem;
  background-color: var(--paper);
  background-image: var(--texture);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(43, 40, 36, 0.08), 0 10px 22px -12px rgba(43, 40, 36, 0.3);
  rotate: var(--rot, -1.5deg);
}

/* 留めている藍の画びょう（正円） */
.p-fs-notes li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: -0.35rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
}

.p-fs-notes li:nth-child(2) {
  --rot: 1.8deg;
}

.p-fs-notes li:nth-child(3) {
  --rot: -.8deg;
}

.p-fs-notes li:nth-child(4) {
  --rot: 2.2deg;
  background-color: var(--white);
}

.p-fs-notes b {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.p-fs-notes span {
  font-size: var(--fs-sm);
  color: var(--ink-sub);
}

.p-fs-for__next, .p-fs-next {
  font-size: var(--fs-base);
}

.p-fs-for__next a, .p-fs-next a {
  font-weight: 700;
  color: var(--accent);
}

.p-fs-for__next a::after, .p-fs-next a::after {
  content: " ↓";
  content: " ↓"/"";
}

.p-fs-next {
  margin-top: var(--sp-6);
  text-align: center;
}

@media (min-width: 768px) {
  .p-fs-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-5) var(--sp-4);
  }
  .p-fs-notes li:nth-child(even) {
    margin-top: var(--sp-5);
  }
}
@media (min-width: 900px) {
  .p-fs-for__in {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--sp-8);
    align-items: start;
  }
  .p-fs-for__next {
    grid-column: 2;
  }
}
/* ── ③ 1ページの中身（見本を丸ごと） ── */
.p-fs-page__in {
  display: grid;
  gap: var(--sp-6);
}

.p-fs-page__text {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
  justify-items: start;
}

.p-fs-page__text .c-lw-head {
  margin-bottom: 0;
}

.p-fs-page__terms {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--fs-sm);
}

.p-fs-page__terms li {
  position: relative;
  padding-left: 1.2rem;
}

.p-fs-page__terms li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.7em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.p-fs-page__note {
  font-size: var(--fs-sm);
  color: var(--ink-sub);
}

.p-fs-anat {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: min(44vw, 15rem) 2px minmax(0, 1fr);
  column-gap: clamp(1rem, 3vw, 2rem);
}

.p-fs-anat__page {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  display: block;
  border-radius: 8px;
  overflow: clip; /* 🔴 hidden だと中の「開く」の札の sticky が効かない */
  box-shadow: var(--sh-float), var(--paper-shift) var(--paper-shift) 0 var(--paper-2);
}

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

/* 長い画面なので「開く」の札は、見ている高さについてくる */
.p-fs-anat__page .c-opencue {
  place-items: start center;
}

.p-fs-anat__page .c-opencue > span {
  position: sticky;
  top: 45vh;
  margin-top: 4rem;
}

.p-fs-anat__rule {
  grid-column: 2;
  grid-row: 1;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: top;
}

.p-fs-anat__parts {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-fs-anat__parts li {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--top);
  display: grid;
  gap: 0.1rem;
  padding-top: 0.1rem;
}

/* 藍の線の上の点（正円）と、札までの点線 */
.p-fs-anat__parts li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: calc(-1 * clamp(1rem, 3vw, 2rem) - 1px - 0.4rem);
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 2.5px var(--accent);
}

.p-fs-anat__parts li::after {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: calc(-1 * clamp(1rem, 3vw, 2rem) + 0.5rem);
  width: calc(clamp(1rem, 3vw, 2rem) - 0.9rem);
  border-top: 1.5px dashed var(--accent-soft);
}

.p-fs-anat__parts b {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.p-fs-anat__parts span {
  font-size: var(--fs-sm);
  color: var(--ink-sub);
  line-height: 1.7;
}

.p-fs-anat figcaption {
  grid-column: 1/-1;
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: var(--ink-sub);
}

/* 藍の線がスクロールに合わせて上から伸びる（対応ブラウザだけ。ほかは最初から伸びきった形） */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-motion=on] .p-fs-anat__rule {
      animation: fs-rule linear both;
      animation-timeline: view();
      animation-range: cover 8% cover 62%;
    }
  }
}
@keyframes fs-rule {
  from {
    scale: 1 0;
  }
  to {
    scale: 1 1;
  }
}
@media (min-width: 900px) {
  .p-fs-page__in {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--sp-8);
    align-items: start;
  }
  .p-fs-page__text {
    position: sticky;
    top: 6rem;
  }
}
/* ── ④ 料金 ── */
.p-fs-price__in {
  display: grid;
  gap: var(--sp-6);
}

.p-fs-price__terms {
  display: grid;
  gap: 0.55rem;
  margin-top: var(--sp-4);
  list-style: none;
  padding: 0;
  font-size: var(--fs-sm);
}

.p-fs-price__terms li {
  position: relative;
  padding-left: 1.2rem;
}

.p-fs-price__terms li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.7em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.p-fs-receipt {
  width: 100%;
  max-width: 28rem;
  justify-self: center;
  rotate: 1deg;
  background-color: var(--white);
  background-image: none;
} /* 2周目: 段の地と同じ色で紙に見えなかった */
/* 2周目: 360で「51,20／0円」、ラベルも「サーバー／代」「独自ド／メイン」と割れていた → 言い換えは下の行、ラベルと金額は折らない */
.p-fs-receipt .p-receipt__row {
  flex-wrap: wrap;
}

.p-fs-receipt .p-receipt__row span:first-child {
  flex: 1 1 0;
  flex-wrap: wrap;
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-fs-receipt .p-receipt__row span:last-child {
  white-space: nowrap;
}

.p-fs-receipt__gl {
  order: 3;
  flex-basis: 100%;
  white-space: normal;
}

@media (min-width: 900px) {
  .p-fs-price__in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--sp-8);
    align-items: center;
  }
}
/* ── ⑤ することは3つ（番号の円を点線でつなぐ） ── */
.p-fs-three {
  display: grid;
  gap: var(--sp-5);
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
  counter-reset: fs3;
}

.p-fs-three li {
  counter-increment: fs3;
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
}

.p-fs-three li::before {
  content: counter(fs3);
  content: counter(fs3)/"";
  grid-row: 1/span 2;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.5rem;
}

.p-fs-three li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.6rem;
  top: 3.6rem;
  bottom: calc(-1 * var(--sp-5) + 0.4rem);
  border-left: 2px dashed var(--accent-soft);
}

.p-fs-three b {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.p-fs-three span {
  line-height: 1.85;
}

@media (min-width: 900px) {
  .p-fs-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-6);
  }
  .p-fs-three li {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .p-fs-three li::before {
    grid-row: auto;
    margin-bottom: 0.6rem;
  }
  /* 1段ずつ下がる（階段）。円と円を結ぶ点線も同じ傾きで下がる */
  .p-fs-three li:not(:last-child)::after {
    left: 4rem;
    right: calc(-1 * var(--sp-6) + 0.6rem);
    top: 1.6rem;
    bottom: auto;
    border-left: 0;
    border-top: 2px dashed var(--accent-soft);
    rotate: 4.5deg;
    transform-origin: left;
  }
  .p-fs-three li:nth-child(2) {
    margin-top: var(--sp-5);
  }
  .p-fs-three li:nth-child(3) {
    margin-top: calc(var(--sp-5) * 2);
  }
}
.p-fs-kaigyo {
  margin-top: var(--sp-8);
}

.p-fs-kaigyo__sensei {
  margin-top: 0.8rem;
  font-size: var(--fs-base) !important;
  color: var(--ink) !important;
}

.p-fs-kaigyo__sensei a {
  font-weight: 700;
  color: var(--accent);
}

/* ── ⑥ あとから足せる（紙が1枚ずつ増える） ── */
.p-fs-grow__in {
  display: grid;
  gap: var(--sp-6);
}

.p-fs-grow__in > div:first-child {
  display: grid;
  gap: var(--sp-3);
  justify-items: start;
  align-content: start;
}

.p-fs-grow__in > div:first-child .c-lw-head {
  margin-bottom: 0;
}

.p-fs-stack {
  position: relative;
  isolation: isolate;
  padding: 1.4rem 1.4rem 0 0;
}

.p-fs-stack__papers span {
  position: absolute;
  inset: 1.4rem 1.4rem 0 0;
  z-index: -1;
  border-radius: 6px;
  background: var(--paper-2);
  box-shadow: var(--sh-float);
}

.p-fs-stack__papers span:nth-child(1) {
  rotate: 2deg;
  translate: 0.6rem -0.5rem;
  background: var(--paper);
}

.p-fs-stack__papers span:nth-child(2) {
  rotate: 4deg;
  translate: 1.1rem -1rem;
}

.p-fs-stack__papers span:nth-child(3) {
  rotate: 6deg;
  translate: 1.5rem -1.4rem;
  background: var(--accent-tint);
}

.p-fs-stack__list {
  position: relative;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--sh-float);
  padding: clamp(1.1rem, 3.5vw, 2rem);
}

.p-fs-stack__list > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--rule-strong);
}

.p-fs-stack__list > div:last-child {
  border-bottom: 0;
}

.p-fs-stack__list dt {
  font-weight: 700;
}

.p-fs-stack__list dd {
  margin: 0;
}

.p-fs-stack__list b {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.p-fs-stack__list small {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-sub);
}

@media (min-width: 900px) {
  .p-fs-grow__in {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--sp-8);
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-fs-anat__rule {
    scale: 1 1 !important;
  }
}
/* スマホでは見本が細いので、札は見出しだけにする（説明まで出すと札どうしが重なる） */
@media (max-width: 767.98px) {
  .p-fs-anat__parts span {
    display: none;
  }
  .p-fs-anat__parts b {
    font-size: 1rem;
    line-height: 1.45;
  }
}
@media (max-width: 767.98px) {
  .p-fs-sheet__stamp {
    right: -0.3rem;
  }
}
/* スマホでは画面の端で判子が切れないように */
/* 2周目: スマホでは開業の段取り表を /flow/ と同じ「週を見出し、その下に全幅の説明」に（右の列が約129pxで細切れだった） */
@media (max-width: 767.98px) {
  .p-fs-kaigyo .p-kaigyo__sheet li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }
}
/* 2周目: 画面の高さが低いPC（1280×800・1366×768・1536×864）でボタンが最初の画面に入らなかった → 値札と2行を詰める */
@media (min-width: 900px) and (max-height: 860px) {
  .p-fs-tag {
    padding-block: 0.7rem;
  }
  .p-fs-two {
    font-size: var(--fs-sm);
  }
}
.p-fs-receipt__gl {
  word-break: normal;
  overflow-wrap: break-word;
}

/* 2周目: iPad Pro 縦〜横（900〜1099）で右の紙が約240pxと細く、言葉が途中で折れた → 紙の列を広げる */
@media (min-width: 900px) and (max-width: 1099.98px) {
  .p-fs .c-subhero__in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: var(--sp-5);
  }
}
/* 3周目: 「3つだけ」の丸が上の行の「客様」にかかった → 丸の上下を縮める。本文中のリンクは途中で折らない */
.p-fs-three .c-pen--circle .c-pen__svg, .c-sechead .c-pen--circle .c-pen__svg {
  top: -18%;
  height: 136%;
}

.p-fs-page p a, .p-fs-kaigyo__sensei a, .p-fs-price li a {
  white-space: nowrap;
}

.p-fs-page__open {
  white-space: nowrap;
}
