/* Site Studio のランディングページ(デザイン見本。第4版)
   第4版は、明るめのブルーを基調にした、シャープでコントラストの強いデザイン(2026-12-04 代表の指示)。
   - 主役は1つ: 黄色の吹き出しに入った、頼む言葉「写真を入れ替えて」
   - 配色: 明るいブルー(ファーストビューの右の面と、資料請求の背景)、濃紺(文字とセキュリティのセクション)、白、黄(アクセント)
   - フォント: Noto Sans JP。見出しは最も太いウェイト(900)。ロゴだけ Outfit
   - 角丸は小さく、吹き出しのしっぽは三角形。影はほぼ使わない
   - 見出しは、読点「、」のあとの空きを詰める(.tn)。英字の前後にスペースを入れない
   - スクロールに合わせた動きは、html に rv-on が付いたときだけ(assets/js/reveal.js)。付かないときは、全部が出来上がりの形で見える */

:root {
  --blue: #1273F0;       /* 明るいブルー(ベース色) */
  --blue-2: #0A55D2;     /* ブルーの濃い側 */
  --deep: #06163A;       /* 濃紺の背景 */
  --deep-2: #0B2A66;     /* 濃紺の明るい側 */
  --brand: #0F63DE;      /* 白い背景の上のボタン・印 */
  --cyan: #CFE2FF;       /* ブルーや濃紺の上の小さい文字 */
  --yellow: #FFD60A;     /* 吹き出し・ボタン・変更箇所の印 */
  --yellow-deep: #F0C400;
  --paper: #FFFFFF;
  --mist: #EAF2FF;       /* 薄いブルーの背景 */
  --line: #C3D5F3;       /* 細い線 */
  --ink: #06163A;        /* 見出し */
  --text: #17294D;       /* 本文 */
  --sub: #4D6088;        /* 補足の小さい文字 */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-logo: "Outfit", "Noto Sans JP", sans-serif;
  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --block: clamp(4rem, 9vw, 7.5rem); /* セクションの上下の余白 */
  /* ベタ塗りに、薄いノイズを重ねる */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  text-spacing-trim: trim-start;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  line-break: strict;
  word-break: auto-phrase; /* 言葉の途中で折り返さない(使えないブラウザでは、ふつうの折り返し) */
  overflow-wrap: anywhere;
}

p, ul, ol, dl, dd, h1, h2, h3, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h3 { font: inherit; }
fieldset { padding: 0; border: 0; min-width: 0; }
img, video, svg { max-width: 100%; display: block; }
i { font-style: normal; }

/* 英字と数字も、和文と同じフォント(Noto Sans JP)で組む。太さがそろい、シャープに見える */
.num { font-feature-settings: "tnum" 1; }
.tn { letter-spacing: -0.1em; }  /* 見出しの読点「、」のあとの空きを詰める。margin で詰めると、行末で幅の計算がずれて折り返すため、字間で詰める */
.h2 .latin, .guards dt .latin { margin-inline: 0.04em; }

.ln { display: inline-block; }       /* 文のまとまりごとに折り返す */
.rest > .ln { white-space: nowrap; }  /* メインの見出しは、まとまりの途中で折り返さない */
.nw { white-space: nowrap; }         /* 英字と、すぐ後ろの助詞を、行で分けない */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--paper);
  color: var(--brand);
  border-radius: 0.375rem;
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.worry :focus-visible,
.talk :focus-visible,
.how :focus-visible,
.keep :focus-visible,
.all :focus-visible,
.who :focus-visible,
.start :focus-visible,
.price :focus-visible,
.faq :focus-visible,
.req :focus-visible { outline-color: var(--brand); }

/* 明るいブルーのセクション(資料請求)と、濃紺のセクション(セキュリティ)。ファーストビューの配色は「1. 最初の画面」 */
.blue {
  background: var(--noise), linear-gradient(150deg, var(--blue) 0%, var(--blue-2) 78%);
  color: var(--paper);
}
.dark {
  background: var(--noise), linear-gradient(155deg, var(--deep-2) 0%, var(--deep) 62%);
  color: var(--paper);
}

/* 見出し */
.h2 {
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(1.625rem, 3.7vw, 2.75rem);
  line-height: 1.38;
  letter-spacing: 0;
  font-feature-settings: "palt" 1;
  word-break: auto-phrase;
}
.dark .h2, .blue .h2 { color: var(--paper); }
.point { /* 「1つ目の特徴」の印 */
  display: inline-flex;
  align-items: baseline;
  gap: 0.1em;
  margin-bottom: 1.1rem;
  padding: 0.15em 0.8em 0.2em;
  border-radius: 0.2rem;
  background: var(--brand);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.6;
}
.point .num { font-size: 1.1em; }
.dark .point {
  background: var(--yellow);
  color: var(--ink);
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.5rem;
  padding: 0.7em 2em;
  border: 0;
  border-radius: 0.375rem;
  background: var(--yellow);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--yellow-deep); }
.btn--ghost { /* ファーストビューの中だけで使う。色は、ファーストビューの配色の変数から取る */
  background: transparent;
  color: var(--h-fg);
  font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--h-fg);
}
.btn--ghost:hover { background: var(--h-hover); }
.btn--deep {
  background: var(--ink);
  color: var(--paper);
}
.btn--deep:hover { background: var(--brand); }
.btn--small {
  min-height: 2.75rem;
  padding: 0.45em 1.4em;
  font-size: 0.9375rem;
}
.play {
  width: 0;
  height: 0;
  border-block: 0.4em solid transparent;
  border-inline-start: 0.65em solid currentColor;
}

/* いちばん上の帯(最初の画面の中に置く) */
.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}
.top__name {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
}
.logo {
  color: var(--h-fg);
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}
.top__tag {
  color: var(--h-mark);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1;
}

/* 1. 最初の画面。左(見出しと文)は白、右のビジュアルの背後にだけブルーの面を置く。
   2026-12-04 に代表が、配色の3案(淡いブルー、白とブルー、青から青緑へ)から「白とブルー」を選んだ。
   安心の3点は、濃紺の細い帯にして、ファーストビューの下の端を締める */
.hero {
  overflow: hidden; /* ブルーの面と濃紺の帯の、はみ出した分を切る */
  background: var(--paper);
  color: var(--ink);
  /* ファーストビューの中の色(白い背景の上の色)。ブルーの面と濃紺の帯の上では、下で差し替える */
  --h-fg: var(--ink);                   /* 文字 */
  --h-mark: var(--brand);               /* チェックの印、ロゴの横の言葉 */
  --h-line: rgba(6, 22, 58, 0.16);      /* 細い線 */
  --h-edge: #8FA6CF;                    /* 業種のタブの枠 */
  --h-hover: rgba(15, 99, 222, 0.08);   /* 重ねたときの薄い色 */
  --h-on-bg: var(--ink);                /* 選ばれている業種のタブ */
  --h-on-fg: var(--paper);
}
.hero__show,
.trust { /* ブルーの面と濃紺の帯の上の色 */
  --h-fg: var(--paper);
  --h-mark: var(--yellow);
  --h-line: rgba(255, 255, 255, 0.22);
  --h-edge: rgba(255, 255, 255, 0.6);
  --h-hover: rgba(255, 255, 255, 0.14);
  --h-on-bg: var(--yellow);
  --h-on-fg: var(--ink);
}
.hero :focus-visible { outline-color: var(--brand); }
.hero__show :focus-visible { outline-color: var(--yellow); }
.top { /* ブルーの面より手前に置く */
  position: relative;
  z-index: 2;
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(2rem, 5vw, 4.25rem) clamp(2.5rem, 5vw, 4rem);
}
.hero__what { /* サービスの説明。ビジュアルの中の、業種のタブの下に置く(ブルーの面の上なので、文字は白) */
  margin-top: 0.9rem;
  color: var(--h-fg);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.hero__title {
  font-weight: 900;
  font-feature-settings: "palt" 1;
  letter-spacing: 0;
}
.say { /* 頼む言葉の吹き出し。このページの主役 */
  position: relative;
  display: inline-block;
  padding: 0.14em 0.36em 0.18em;
  border-radius: 0.1em;
  background: var(--yellow);
  color: var(--ink);
  font-size: clamp(2rem, 5.3vw, 3.875rem);
  line-height: 1.3;
  white-space: nowrap;
}
.say::after { /* 吹き出しのしっぽ(三角形) */
  content: "";
  position: absolute;
  left: 0.6em;
  top: calc(100% - 1px);
  width: 0.42em;
  height: 0.36em;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.rest {
  display: block;
  margin-top: 0.62em;
  color: var(--h-fg);
  font-size: clamp(1.5rem, 3.5vw, 2.625rem);
  line-height: 1.38;
}
.cho { /* 長音は、少し縮める */
  display: inline-block;
  transform: scaleX(0.86);
  margin-inline: -0.05em;
}
.hero__lead {
  margin-top: 1.5rem;
  color: var(--h-fg);
  font-size: 1.0625rem;
  line-height: 1.95;
}
.hero__lead .st { display: block; } /* 1文で1行。幅が足りないときだけ、文の中のまとまりで折り返す */
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

/* ファーストビューのビジュアル: 完成したホームページ、頼む人物、頼む言葉。
   言葉が打たれると、ホームページの写真が入れ替わる */
.hero__show { /* 幅の広い画面では、ビジュアルを、本文の幅より右へはみ出させて大きく見せる(画面の端から 1.5rem は空ける) */
  position: relative;
  isolation: isolate; /* 下のブルーの面を、ビジュアルの後ろ、ファーストビューの白い背景の前に置くため */
  margin-right: calc(-1 * clamp(0px, (100vw - var(--wrap)) / 2 + var(--pad) - 1.5rem, 6rem));
}
.hero__show::before { /* ブルーの面。上はページの上の端まで、右は画面の右の端まで、下はファーストビューの下の端まで伸ばす(はみ出した分は .hero が切る) */
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40rem -100vw -40rem -1.5rem;
  background: var(--noise), linear-gradient(165deg, #2E7DEB 0%, #0F5BD3 100%);
}
.stage { /* 5つの業種の場面を、同じ位置に重ねる。is-on の場面だけ見せる */
  display: grid;
}
.stage > .demo {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.stage > .demo.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease;
}
.stage > .demo .person,
.stage > .demo .demo__ask { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.stage > .demo:not(.is-on) .person { transform: translateX(-7%); }
.stage > .demo:not(.is-on) .demo__ask { transform: translateY(0.6em); }
.demo {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 3.6em;
  font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.demo__ask { /* 人物が頼む言葉。ホームページのイラストに重ねる */
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 0.7em;
  width: 74%;
  min-height: 4.6em;
  padding: 0.6em 0.9em 0.6em 0.6em;
  border-radius: 0.5em;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0.5em 1.6em rgba(4, 25, 80, 0.3);
}
.demo__ask::after { /* しっぽ(人物の方へ) */
  content: "";
  position: absolute;
  left: 2.2em;
  top: calc(100% - 1px);
  width: 1.1em;
  height: 1em;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.demo__thumb {
  flex: none;
  overflow: hidden;
  width: 3.8em;
  height: 3.2em;
  border-radius: 0.25em;
}
.demo__thumb img,
.demo__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.demo__text {
  font-weight: 700;
  font-size: 1.04em;
  line-height: 1.5;
}
.demo__caret {
  display: none;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--ink);
}
.demo__page { /* 完成したホームページ */
  flex: 1;
  margin-left: 27%;
  padding-bottom: 1.3em;
  overflow: hidden;
  border-radius: 0.5em;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1em 2.6em rgba(4, 25, 80, 0.35);
}
.site__bar {
  display: flex;
  align-items: center;
  gap: 1.1em;
  padding: 2.3em 1.1em 0.8em;
  font-weight: 700;
  font-size: 0.78em;
  white-space: nowrap;
}
.site__bar b {
  margin-right: auto;
  font-weight: 900;
  font-size: 1.25em;
}
.demo__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9.4;
}
.demo__photo .photo {
  position: absolute;
  inset: 0;
}
.demo__photo::after { /* 入れ替わった写真を示す枠 */
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0.3em var(--yellow);
}
.demo__wait {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  background: rgba(6, 22, 58, 0.72);
  color: var(--paper);
  font-weight: 700;
}
.demo__wait i {
  width: 1.2em;
  height: 1.2em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--yellow);
  border-radius: 50%;
}
.demo__done {
  position: absolute;
  z-index: 1;
  right: 0.7em;
  bottom: 0.7em;
  padding: 0.15em 0.7em 0.2em;
  border-radius: 0.2em;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 0.9em;
}
.site__body { padding: 1.1em 1.1em 0 16%; }
.site__h {
  font-weight: 900;
  font-size: 1.12em;
  font-feature-settings: "palt" 1;
  line-height: 1.45;
}
.site__lines b {
  display: block;
  height: 0.45em;
  margin-top: 0.7em;
  border-radius: 999px;
  background: var(--mist);
}
.site__lines b:nth-child(2) { width: 72%; }
.site__more {
  display: inline-block;
  margin-top: 1em;
  padding: 0.3em 1em 0.35em;
  border-radius: 0.2em;
  background: var(--brand);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.82em;
}
.person { /* 頼む人物(切り抜きの写真)。下の端を、ホームページの下の端にそろえる。
            写真の縦横の比は人物ごとに違うので、同じ形の箱に、左下をそろえて収める(高さがそろう) */
  position: absolute;
  z-index: 2;
  left: -9%;
  bottom: 0;
  width: 44%;
  height: auto;
  aspect-ratio: 847 / 1449;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 0.5em 0.9em rgba(4, 25, 80, 0.35));
}
.kinds { /* 業種のタブ。いま見せている場面を、黄色で示す。
           どの幅でも1行に並べる(折り返すと、2行目の1つだけが横いっぱいに広がって目立つため) */
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.kind { /* 余った幅は、5つに同じだけ配る。左右の余白の指定は、幅が足りないときの下限 */
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.3em 0.3em 0.35em;
  font-feature-settings: "palt" 1;
  letter-spacing: 0;
  border: 1.5px solid var(--h-edge);
  border-radius: 999px;
  background: transparent;
  color: var(--h-fg);
  font: inherit;
  font-weight: 700;
  font-size: clamp(0.625rem, 1.2vw, 0.8125rem); /* 2列のときは、右の列の幅に合わせて小さくする */
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.kind:hover { border-color: var(--h-fg); background: var(--h-hover); }
.kind[aria-pressed="true"] {
  border-color: var(--h-on-bg);
  background: var(--h-on-bg);
  color: var(--h-on-fg);
}
.pause { /* 一時停止・再生。ビジュアルの右上の空きに置く */
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.75rem;
  padding: 0.3em 0.2em;
  border: 0;
  background: none;
  color: var(--h-fg);
  font: inherit;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1;
  cursor: pointer;
}
.pause:hover { color: var(--h-mark); }
.pause i { /* 一時停止の記号(縦の2本線)。止まっているときは、再生の記号(三角形) */
  width: 0.7em;
  height: 0.85em;
  border-inline: 0.22em solid currentColor;
}
.pause.is-paused i {
  border: 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* 動かすとき(JS が is-armed を付ける)。付かないときは、入れ替わったあとの形のまま */
.demo.is-armed .photo--new,
.demo.is-armed .demo__done { opacity: 0; }
.demo.is-armed .demo__photo::after { opacity: 0; }
.demo.is-armed .demo__wait { display: flex; opacity: 0; }
.demo.is-armed .photo--new { transform: scale(1.1); }
.demo.is-armed .demo__done { transform: translateY(0.5em) scale(0.9); }
.demo.is-armed .photo--new { transition: opacity 0.6s ease, transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.demo.is-armed .demo__done { transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1); }
.demo.is-armed .demo__wait { transition: opacity 0.6s ease; }
.demo.is-armed .demo__photo::after { transition: opacity 0.4s ease 0.3s; }
.demo.is-typing .demo__caret {
  display: inline-block;
  animation: caret 1s steps(1) infinite;
}
.demo.is-armed.is-sent .demo__wait { opacity: 1; }
.demo.is-armed.is-sent .demo__wait i { animation: turn 0.9s linear infinite; }
.demo.is-armed.is-plan .demo__wait { opacity: 0; }
.demo.is-armed.is-plan .demo__wait i { animation: none; }
.demo.is-armed.is-plan .photo--new { opacity: 1; transform: none; }
.demo.is-armed.is-plan .demo__photo::after { opacity: 1; }
.demo.is-armed.is-ok .demo__done { opacity: 1; transform: none; }

@keyframes caret {
  50% { opacity: 0; }
}
@keyframes turn {
  to { transform: rotate(360deg); }
}

/* 安心の3点 */
.trust { /* 濃紺の細い帯 */
  position: relative;
  z-index: 1; /* ブルーの面より手前 */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--paper);
}
.trust::before { /* 帯を、画面の幅いっぱいに広げる(はみ出した分は .hero が切る)。
                    影で広げると、白い背景の上で、帯の上の端に1pxの段が見えるので、1枚の面にした */
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -100vmax;
  background: var(--deep);
}
.trust li {
  position: relative;
  padding: 1.1rem 1rem 1.1rem 2.3rem;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.trust li + li { border-left: 1px solid var(--h-line); }
.trust li:first-child { padding-left: 1.6rem; }
.trust li::before { /* チェックの印 */
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.45rem;
  width: 0.4rem;
  height: 0.75rem;
  border: solid var(--h-mark);
  border-width: 0 0.17rem 0.17rem 0;
  transform: rotate(45deg);
}
.trust li:first-child::before { left: 0.3rem; }

/* 2. 困りごと */
.worry { padding-block: var(--block); }
.voices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 1.9rem 2.5rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}
.voices li {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 0.9em 1.4em;
  border-radius: 0.4rem;
  background: var(--mist);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  word-break: auto-phrase;
}
.voices li::after { /* 吹き出しのしっぽ */
  content: "";
  position: absolute;
  left: 1.9rem;
  bottom: -0.4rem;
  width: 1rem;
  height: 1rem;
  border-radius: 0 0 0.2rem 0;
  background: inherit;
  transform: rotate(45deg);
}
.voices li:nth-child(even) {
  justify-self: end;
  top: 1.4rem;
}
.voices li:nth-child(even)::after {
  left: auto;
  right: 1.9rem;
}
.voices .is-sec { /* セキュリティの心配は、色を変えて束にする */
  background: var(--ink);
  color: var(--paper);
}
.worry__answer {
  margin-top: clamp(3.75rem, 8vw, 5.5rem);
  padding-left: 1.2em;
  border-left: 0.3rem solid var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(1.125rem, 2.1vw, 1.5rem);
  line-height: 1.8;
  font-feature-settings: "palt" 1;
}

/* 3. 特徴1 話し言葉で頼む */
.talk {
  background: var(--mist);
  padding-block: var(--block);
}
.talk__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.talk__say p:not(.point) {
  max-width: 31em;
  margin-top: 1.2rem;
}
.talk__say .h2 + p:not(.point) { margin-top: 1.9rem; }
.talk__say .talk__btn { margin-top: 2.2rem; }
.talk__cap {
  color: var(--sub);
  font-weight: 700;
  font-size: 0.875rem;
}
.asks {
  display: grid;
  justify-items: end;
  gap: 0.9rem;
  margin-top: 1rem;
}
.asks li { /* 頼む言葉。自分が送った言葉のように、右に寄せる */
  width: fit-content;
  max-width: 100%;
  padding: 0.7em 1.3em 0.75em;
  border-radius: 0.5rem 0.5rem 0 0.5rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  word-break: auto-phrase;
}
.asks li:first-child { background: var(--yellow); }
.asks li:nth-child(even) { margin-right: 1.6rem; }
.talk__note {
  margin-top: 1.5rem;
  color: var(--sub);
  font-size: 0.9375rem;
  line-height: 1.8;
}
.film { /* 紹介の動画。パソコンとタブレットの幅では横長、スマートフォンの幅では縦長(下のメディアクエリで切り替える) */
  max-width: 46rem;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  scroll-margin-top: 1.5rem;
}
.film__frame {
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--paper);
  box-shadow: 0 0 2.5rem rgba(6, 22, 58, 0.16);
}
.film__frame--tall { display: none; }
.film video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #E2F6F9; /* 動画の背景の色。読み込みの間の白い点滅を防ぐ */
}
.film__frame--tall video { aspect-ratio: 9 / 16; }
.film figcaption {
  margin-top: 0.9rem;
  color: var(--sub);
  font-size: 0.875rem;
  text-align: center;
}

/* 4. 使い方。3つの段。画面のイラストは CSS で描く */
.how { padding-block: var(--block); }
.steps {
  --gap: clamp(1.5rem, 3.5vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}
.step {
  --d: calc(var(--n, 0) * 0.15s);  /* 段が現れる順 */
  --s: calc(var(--n, 0) * 1.25s);  /* イラストの中の動きの順(1 → 2 → 3 と続けて見せる) */
}
.shot {
  position: relative;
  display: grid;
  align-items: center;
  aspect-ratio: 4 / 3;
  padding: 7%;
  border-radius: 0.5rem;
  background: var(--mist);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(0.75rem, 1.05vw, 0.875rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.step:not(:last-child) .shot::after { /* 次の段への矢印 */
  content: "";
  position: absolute;
  left: calc(100% + var(--gap) / 2 - 0.35rem);
  top: 50%;
  width: 0.7rem;
  height: 1.1rem;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
}
.shot__ui {
  display: grid;
  gap: 0.8em;
  padding: 1em;
  border-radius: 0.5em;
  background: var(--paper);
  box-shadow: 0 0.6em 1.8em rgba(6, 22, 58, 0.14);
}
.shot__field { /* 依頼の欄 */
  min-height: 5.2em;
  padding: 0.65em 0.8em;
  border: 1.5px solid #8FA6CF;
  border-radius: 0.4em;
}
.shot__typed {
  display: inline-block;
  white-space: nowrap;
}
.shot__acts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
}
.shot__acts--end { justify-content: flex-end; }
.shot__chip {
  padding: 0.3em 0.9em 0.35em;
  border-radius: 999px;
  background: var(--mist);
  color: var(--sub);
  font-size: 0.86em;
  white-space: nowrap;
}
.shot__btn {
  padding: 0.45em 1em 0.5em;
  border-radius: 0.35em;
  background: var(--brand);
  color: var(--paper);
  white-space: nowrap;
}
.shot__tabs { /* 「今」と「修正案」の切り替え */
  display: flex;
  gap: 0.3em;
  width: fit-content;
  padding: 0.25em;
  border-radius: 0.45em;
  background: var(--mist);
}
.shot__tab {
  padding: 0.2em 1.1em 0.25em;
  border-radius: 0.3em;
  color: var(--sub);
}
.shot__tab--plan {
  background: var(--ink);
  color: var(--paper);
}
.shot__page {
  padding: 0.8em 0.9em 0.9em;
  border: 1.5px solid var(--line);
  border-radius: 0.4em;
}
.shot__bar { /* ブラウザーの上の帯 */
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: -0.8em -0.9em 0.7em;
  padding: 0.45em 0.7em;
  border-bottom: 1.5px solid var(--line);
  color: var(--sub);
  font-size: 0.82em;
}
.shot__bar i {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--line);
}
.shot__bar span { margin-left: 0.4em; }
.shot__name { font-weight: 900; }
.shot__kv {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-top: 0.5em;
  font-size: 0.93em;
}
.shot__kv > span {
  flex: none;
  width: 4.6em;
  color: var(--sub);
}
.shot__swap { display: inline-grid; } /* 前の値と新しい値を、同じ位置に重ねる */
.shot__swap > i {
  grid-area: 1 / 1;
  width: fit-content;
  padding: 0.05em 0.45em 0.1em;
  border-radius: 0.25em;
  white-space: nowrap;
}
.shot__old { opacity: 0; }
.shot__new { /* 変わる箇所の印 */
  background: #FFF3B0;
  box-shadow: 0 0 0 2px var(--yellow);
}
.shot--live .shot__swap > i { padding-inline: 0; }
.shot--live .shot__new {
  background: none;
  box-shadow: none;
}
.shot__check { /* 反映されたことを示すチェックの印 */
  position: relative;
  flex: none;
  width: 1.5em;
  height: 1.5em;
  margin-left: -0.2em;
  border-radius: 50%;
  background: var(--brand);
}
.shot__check::after {
  content: "";
  position: absolute;
  left: 0.53em;
  top: 0.3em;
  width: 0.36em;
  height: 0.68em;
  border: solid var(--paper);
  border-width: 0 0.17em 0.17em 0;
  transform: rotate(45deg);
}
.step__t {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.3vw, 1.625rem);
  line-height: 1.4;
  font-feature-settings: "palt" 1;
}
.step__n {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-size: 1.0625rem;
  line-height: 1;
}
.step__p {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.9;
}
.how__note {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  color: var(--sub);
  font-size: 0.9375rem;
}

/* 5. 特徴2 セキュリティ */
.safe { padding-block: var(--block); }
.safe__lead {
  max-width: 40em;
  margin-top: 1.8rem;
  color: rgba(255, 255, 255, 0.92);
}
.shield {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.shield__box {
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border-radius: 0.5rem;
}
.shield__box--old { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.shield__box--new {
  background: var(--paper);
  color: var(--ink);
}
.shield__cap {
  font-weight: 900;
  font-size: 1.0625rem;
}
.shield__box--old .shield__cap { color: rgba(255, 255, 255, 0.8); }
.shield__box--new .shield__cap .latin { font-family: var(--font-logo); font-weight: 600; font-size: 1.2em; }
.shield__site {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}
.shield__site span {
  padding: 0.55em 1em;
  border-radius: 0.45rem;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.shield__box--old .shield__site span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.shield__box--old .shield__site .is-door { /* ねらわれる入口 */
  box-shadow: inset 0 0 0 1px var(--yellow), inset 0.3rem 0 0 var(--yellow);
}
.shield__box--new .shield__site .is-file {
  background: var(--brand);
  color: var(--paper);
}
.shield__apart {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 2px dashed var(--line);
  font-size: 0.875rem;
  line-height: 1.6;
  word-break: auto-phrase;
}
.shield__apart b {
  display: block;
  font-weight: 900;
  font-size: 1.07em;
}
.lock { /* 鍵の印 */
  position: relative;
  flex: none;
  width: 1.7rem;
  height: 1.35rem;
  margin-top: 0.7rem;
  border-radius: 0.25rem;
  background: var(--ink);
}
.lock::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1rem;
  height: 0.75rem;
  border: 0.2rem solid var(--ink);
  border-bottom: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  transform: translateX(-50%);
}
.shield__say {
  margin-top: auto;
  padding-top: 1.3rem;
  font-weight: 900;
  font-size: clamp(1rem, 1.7vw, 1.1875rem);
  line-height: 1.6;
  word-break: auto-phrase;
}
.shield__box--old .shield__say { color: var(--yellow); }
.guards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  margin-top: clamp(2.75rem, 6vw, 4rem);
}
.guards > div {
  padding-top: 1.2rem;
  border-top: 0.2rem solid var(--yellow);
}
.guards dt {
  font-weight: 900;
  font-size: clamp(1.0625rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  font-feature-settings: "palt" 1;
  word-break: auto-phrase;
}
.guards dd {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 1.9;
}
.safe__small {
  max-width: 46em;
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.9;
}

/* 6. 4つの守り */
.keep {
  background: var(--mist);
  padding-block: var(--block);
}
.keeps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.keeps > div {
  --in: clamp(1.25rem, 3vw, 2rem);
  position: relative;
  padding: var(--in) var(--in) var(--in) calc(var(--in) + 3.4rem);
  border-radius: 0.5rem;
  background: var(--paper);
}
.keeps > div::before { /* チェックの印の台 */
  content: "";
  position: absolute;
  left: var(--in);
  top: calc(var(--in) + 0.15rem);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.3rem;
  background: var(--brand);
}
.keeps > div::after { /* チェックの印 */
  content: "";
  position: absolute;
  left: calc(var(--in) + 0.83rem);
  top: calc(var(--in) + 0.55rem);
  width: 0.55rem;
  height: 1.05rem;
  border: solid var(--paper);
  border-width: 0 0.22rem 0.22rem 0;
  transform: rotate(45deg);
}
.keeps dt {
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(1.125rem, 2vw, 1.4375rem);
  line-height: 1.5;
  font-feature-settings: "palt" 1;
  word-break: auto-phrase;
}
.keeps dd {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.9;
}

/* 7. 一式の中身 */
.all { padding-block: var(--block); }
.all__lead {
  max-width: 40em;
  margin-top: 1.8rem;
}
.set {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  border-top: 2px solid var(--ink);
}
.set > div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 0.2rem 1.2rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.set dt {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.6;
}
.set dd {
  font-size: 0.9375rem;
  line-height: 1.85;
}
.set .is-ai dt { /* AI の更新機能に、印を付ける */
  width: fit-content;
  height: fit-content;
  padding-inline: 0.5em;
  margin-left: -0.5em;
  border-radius: 0.3rem;
  background: var(--yellow);
}

/* 8. おすすめの方 */
.who {
  background: var(--mist);
  padding-block: var(--block);
}
.fits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.fits > div {
  padding-left: 1.2rem;
  border-left: 0.3rem solid var(--brand);
}
.fits dt {
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.3vw, 1.625rem);
  line-height: 1.45;
  font-feature-settings: "palt" 1;
}
.fits dd { margin-top: 0.45rem; }
.who__close {
  margin-top: clamp(2.75rem, 6vw, 4rem);
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(1.0625rem, 1.9vw, 1.3125rem);
  line-height: 1.8;
  word-break: auto-phrase;
}

/* 9. 始め方。5つの段を、縦の道すじで見せる。線の伸びは --p(0〜1)で決まる(JS がスクロールに合わせて入れる) */
.start { padding-block: var(--block); }
.start__in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.start__say p {
  max-width: 31em;
  margin-top: 1.8rem;
}
.road {
  --road-gap: 1.9rem;
  display: grid;
  gap: var(--road-gap);
  counter-reset: road;
}
.road li {
  --p: 1;
  position: relative;
  padding-left: 4rem;
  counter-increment: road;
}
.road li::before { /* 段の番号 */
  content: counter(road);
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--brand);
  color: var(--paper);
  font-weight: 900;
  font-size: 1.0625rem;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.road li:not(:last-child)::after { /* 次の段へつなぐ線。青い部分が、上から伸びる */
  content: "";
  position: absolute;
  left: calc(1.25rem - 1.5px);
  top: 2.5rem;
  bottom: calc(-1 * var(--road-gap));
  width: 3px;
  background: linear-gradient(var(--brand) 0 0) top / 100% calc(var(--p) * 100%) no-repeat, var(--line);
}
.road h3 {
  padding-top: 0.3rem;
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(1.125rem, 1.9vw, 1.375rem);
  line-height: 1.5;
  font-feature-settings: "palt" 1;
}
.road p {
  margin-top: 0.3rem;
  font-size: 0.9375rem;
  line-height: 1.85;
}

/* 10. 料金。黄色の帯。額は載せず、費用の考え方を書く */
.price {
  background: var(--noise), var(--yellow);
  color: var(--ink);
  padding-block: clamp(3.25rem, 7vw, 5rem);
}
.price__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.price__say p {
  max-width: 31em;
  margin-top: 1.6rem;
}
.price__say .price__btn { margin-top: 2rem; }
.bill {
  display: grid;
  gap: 1.75rem;
}
.bill > div {
  padding-top: 0.9rem;
  border-top: 2px solid var(--ink);
}
.bill dt {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.6;
}
.bill ul {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.bill li {
  position: relative;
  padding-left: 1.7em;
  font-weight: 900;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.5;
  font-feature-settings: "palt" 1;
}
.bill li small {
  font-weight: 700;
  font-size: 0.7em;
}
.bill__pay li::before { /* 費用がかかるもの: 四角の印 */
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.5em;
  width: 0.6em;
  height: 0.6em;
  background: var(--ink);
}
.bill__free li::before { /* 追加の費用がかからないもの: チェックの印 */
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.28em;
  width: 0.36em;
  height: 0.72em;
  border: solid var(--ink);
  border-width: 0 0.17em 0.17em 0;
  transform: rotate(45deg);
}

/* 12. よくある質問 */
:root { interpolate-size: allow-keywords; } /* 答えの開閉を、高さで動かす(使えないブラウザでは、すぐに開く) */
.faq { padding-block: var(--block); }
.faq__in {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.faq__say p {
  margin-top: 1.6rem;
  color: var(--sub);
  font-size: 0.9375rem;
}
.qas { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.15rem 0.25rem;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
  word-break: auto-phrase;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before {
  content: "Q";
  color: var(--brand);
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 1.3em;
  line-height: 1;
}
.qa summary::after { /* 開閉の印(プラス。開くと、回って「×」になる) */
  content: "";
  align-self: center;
  width: 0.95rem;
  height: 0.95rem;
  background:
    linear-gradient(var(--ink) 0 0) center / 100% 2px no-repeat,
    linear-gradient(var(--ink) 0 0) center / 2px 100% no-repeat;
  transition: transform 0.25s ease;
}
.qa summary:hover { color: var(--brand); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p {
  padding: 0 2.4rem 1.4rem 2.2rem;
  font-size: 0.9375rem;
  line-height: 1.9;
}
.qa::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}
.qa[open]::details-content { block-size: auto; }

/* 13. 資料請求 */
.ask { padding-block: var(--block); }
.ask__in {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.ask__say p {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}
.ask__say .h2 + p { margin-top: 1.8rem; }
.req {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 0.5rem;
  background: var(--paper);
  color: var(--text);
}
.req__row + .req__row,
.req__pick,
.req__pick + .req__row { margin-top: 1.15rem; }
.req label,
.req legend {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.req em,
.req small {
  margin-left: 0.4em;
  font-style: normal;
  font-weight: 700;
  font-size: 0.75rem;
}
.req em { color: #A2590A; }
.req small { color: var(--sub); }
.req input[type="text"],
.req input[type="email"],
.req input[type="url"],
.req textarea {
  width: 100%;
  min-height: 3rem;
  margin-top: 0.35rem;
  padding: 0.6em 0.8em;
  border: 1px solid #8FA6CF;
  border-radius: 0.45rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
}
.req textarea { resize: vertical; }
.req__pick label {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  margin-top: 0.5rem;
  padding: 0.7em 0.9em;
  border-radius: 0.45rem;
  background: var(--mist);
  font-weight: 700;
  cursor: pointer;
}
.req__pick input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.2em 0 0;
  accent-color: var(--brand);
}
.req__send { margin-top: 1.6rem; }
.req__send .btn { width: 100%; }
.req__stub {
  margin-top: 0.8rem;
  color: var(--sub);
  font-size: 0.8125rem;
  line-height: 1.7;
}
/* Zoho Forms の埋め込み。フォームの側に余白があるので、枠の余白は小さくする。
   高さは、読み込みの前の仮の値。読み込みのあと、form-embed.js が中身の高さに合わせる */
.req--embed { padding: clamp(0.4rem, 1.2vw, 0.9rem); }
.req__frame {
  display: block;
  width: 100%;
  height: 52rem;
  border: 0;
  border-radius: 0.3rem;
  transition: height 0.3s ease;
}
.req__alt {
  margin: 0.6rem 0.6rem 0.4rem;
  color: var(--sub);
  font-size: 0.8125rem;
  line-height: 1.7;
}
.req__alt a { color: var(--brand); text-decoration: underline; text-underline-offset: 0.2em; }

/* いちばん下 */
.foot {
  background: var(--deep);
  color: var(--paper);
  padding-block: 1.75rem;
  font-size: 0.875rem;
}
.foot p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em 1.2em;
}
.foot .latin {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 1.15em;
}
.foot .foot__stub {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
}

/* スクロールに合わせた動き。
   html に rv-on が付いたときだけ、始めの形(:not(.is-in))にする。画面に入ると reveal.js が is-in を付け、出来上がりの形へ動く。
   --i は、同時に画面に入った要素の中での順番(reveal.js が入れる)。動きを減らす設定のときは、rv-on が付かない */
main { /* 現れる前の要素は、横にずらしてある。その分で、ページが横にスクロールしないようにする */
  overflow-x: hidden;
  overflow-x: clip;
}
.mk { /* 黄色のマーカー */
  background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%) left / 100% 100% no-repeat;
}

/* 見出し: まとまり(.ln)ごとに、下から現れる */
.rv-on [data-rv~="lines"]:not(.is-in) .ln {
  clip-path: inset(-0.2em -0.2em 100% -0.2em);
  transform: translateY(100%);
}
.rv-on [data-rv~="lines"].is-in .ln {
  clip-path: inset(-0.2em);
  transition:
    clip-path 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 0.13s),
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 0.13s);
}

/* 本文やボタン: 下から、ふわっと現れる */
.rv-on [data-rv~="up"]:not(.is-in),
.rv-on [data-rv~="stagger"] > :not(.is-in) {
  opacity: 0;
  transform: translateY(1.5rem);
}
.rv-on [data-rv~="up"].is-in,
.rv-on [data-rv~="stagger"] > .is-in {
  transition:
    opacity 0.7s ease calc(var(--i, 0) * 0.08s),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 0.08s);
}

/* 表の行: 小さく、順に現れる */
.rv-on [data-rv~="rows"] > :not(.is-in) {
  opacity: 0;
  transform: translateY(0.8rem);
}
.rv-on [data-rv~="rows"] > .is-in {
  transition:
    opacity 0.5s ease calc(var(--i, 0) * 0.06s),
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 0.06s);
}

/* 困りごとの吹き出し: しっぽの側から、弾むように現れる */
.rv-on [data-rv~="pop"] > * { transform-origin: 2.4rem 100%; }
.rv-on [data-rv~="pop"] > :nth-child(even) { transform-origin: calc(100% - 2.4rem) 100%; }
.rv-on [data-rv~="pop"] > :not(.is-in) {
  opacity: 0;
  transform: scale(0.8) translateY(0.8rem);
}
.rv-on [data-rv~="pop"] > .is-in {
  transition:
    opacity 0.3s ease calc(var(--i, 0) * 0.11s),
    transform 0.55s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--i, 0) * 0.11s);
}

/* 頼む言葉の吹き出し: 送ったメッセージのように、右から現れる */
.rv-on [data-rv~="chat"] > :not(.is-in) {
  opacity: 0;
  transform: translateX(2.5rem);
}
.rv-on [data-rv~="chat"] > .is-in {
  transition:
    opacity 0.4s ease calc(var(--i, 0) * 0.1s),
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 0.1s);
}

/* マーカー: 左から引かれる */
.rv-on [data-rv~="mark"]:not(.is-in) .mk { background-size: 0% 100%; }
.rv-on [data-rv~="mark"].is-in .mk { transition: background-size 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s; }

/* 動画: 少し小さい所から、広がって現れる */
.rv-on [data-rv~="film"]:not(.is-in) {
  opacity: 0;
  transform: translateY(1.5rem) scale(0.94);
}
.rv-on [data-rv~="film"].is-in {
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 使い方: 段が現れたあと、イラストの中が動く(1 言葉が打たれる → 2 「修正案」に切り替わる → 3 ボタンが押されて、ホームページが変わる) */
.rv-on .step:not(.is-in) {
  opacity: 0;
  transform: translateY(1.5rem);
}
.rv-on .step.is-in {
  transition:
    opacity 0.7s ease var(--d),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d);
}
.rv-on .step:not(.is-in) .shot__typed { clip-path: inset(0 100% 0 0); }
.rv-on .step.is-in .shot__typed {
  clip-path: inset(0);
  transition: clip-path 1.2s steps(17, end) calc(var(--s) + 0.6s);
}
.rv-on .step.is-in .shot__btn--go { animation: press 0.55s ease calc(var(--s) + 2s) both; }
.rv-on .step.is-in .shot__btn--pub { animation: press 0.55s ease calc(var(--s) + 1s) both; }
.rv-on .step:not(.is-in) .shot__tab--now {
  background: var(--ink);
  color: var(--paper);
}
.rv-on .step:not(.is-in) .shot__tab--plan {
  background: transparent;
  color: var(--sub);
}
.rv-on .step:not(.is-in) .shot__old { opacity: 1; }
.rv-on .step:not(.is-in) .shot__new {
  opacity: 0;
  transform: scale(0.9);
}
.rv-on .step:not(.is-in) .shot__check {
  opacity: 0;
  transform: scale(0);
}
.rv-on .step.is-in .shot__tab { transition: background-color 0.25s ease calc(var(--s) + 1.3s), color 0.25s ease calc(var(--s) + 1.3s); }
.rv-on .step.is-in .shot__old { transition: opacity 0.2s ease calc(var(--s) + 1.5s); }
.rv-on .step.is-in .shot__new {
  transition:
    opacity 0.25s ease calc(var(--s) + 1.6s),
    transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--s) + 1.6s);
}
.rv-on .step.is-in .shot__check {
  transition:
    opacity 0.2s ease calc(var(--s) + 2s),
    transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--s) + 2s);
}
@keyframes press {
  0% { transform: none; box-shadow: 0 0 0 0 rgba(15, 99, 222, 0.5); }
  35% { transform: scale(0.92); }
  100% { transform: none; box-shadow: 0 0 0 0.8em rgba(15, 99, 222, 0); }
}

/* セキュリティの図: 左右から現れたあと、ねらわれる入口が順に光る */
.rv-on [data-rv~="shield"]:not(.is-in) .shield__box { opacity: 0; }
.rv-on [data-rv~="shield"]:not(.is-in) .shield__box--old { transform: translateX(-2rem); }
.rv-on [data-rv~="shield"]:not(.is-in) .shield__box--new { transform: translateX(2rem); }
.rv-on [data-rv~="shield"].is-in .shield__box {
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rv-on [data-rv~="shield"].is-in .shield__box--new { transition-delay: 0.25s; }
.rv-on [data-rv~="shield"].is-in .is-door { animation: door 1s ease 0.9s both; }
.rv-on [data-rv~="shield"].is-in .is-door:nth-child(3) { animation-delay: 1.15s; }
.rv-on [data-rv~="shield"].is-in .is-door:nth-child(4) { animation-delay: 1.4s; }
.rv-on [data-rv~="shield"].is-in .is-file { animation: file 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) 1.5s both; }
@keyframes door {
  0% { background-color: rgba(255, 214, 10, 0); }
  35% { background-color: rgba(255, 214, 10, 0.4); }
  100% { background-color: rgba(255, 214, 10, 0); }
}
@keyframes file {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(15, 99, 222, 0.5); }
  100% { transform: none; box-shadow: 0 0 0 0.7rem rgba(15, 99, 222, 0); }
}

/* 4つの守り: チェックの印が、弾むように入る */
.rv-on .keeps > :not(.is-in)::before { transform: scale(0); }
.rv-on .keeps > :not(.is-in)::after { opacity: 0; }
.rv-on .keeps > .is-in::before { transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--i, 0) * 0.08s + 0.3s); }
.rv-on .keeps > .is-in::after { transition: opacity 0.2s ease calc(var(--i, 0) * 0.08s + 0.5s); }

/* 始め方: まだ通っていない段は、薄く見せる。通った段(is-on)は、番号に色が付く */
.rv-on .road li::before {
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.rv-on .road li > * { transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv-on .road li:not(.is-on)::before {
  background: var(--paper);
  color: var(--sub);
  box-shadow: inset 0 0 0 2px var(--line);
  transform: scale(0.82);
}
.rv-on .road li:not(.is-on) > * {
  opacity: 0.3;
  transform: translateX(0.8rem);
}

/* 幅の狭い画面(タブレットより小さい) */
@media (max-width: 56rem) {
  .hero__in,
  .talk__in,
  .ask__in { grid-template-columns: minmax(0, 1fr); }
  .say { font-size: clamp(1.75rem, 9.6vw, 3.875rem); }
  .rest { font-size: clamp(1.375rem, 6.9vw, 2.625rem); }
  /* ファーストビュー: 1列のときは、文字ばかりが先に目に入らないように、
     見出しと本文の間に、ブルーの背景のビジュアルを差し込む。
     左の列の箱(.hero__say)を外して、中の要素を並べ替える */
  .hero__in { row-gap: 0; }
  .hero__say { display: contents; }
  .hero__title { order: 2; }
  .hero__show {
    order: 3;
    width: 100%;
    max-width: 30rem;
    margin: 3.25rem auto 3.5rem; /* ブルーの帯(上下に 1.5rem ずつ広がる)と、前後の文字との間をあける */
  }
  .hero__lead { order: 4; margin-top: 0; }
  .hero__btns { order: 5; margin-top: 1.6rem; }
  .demo { font-size: clamp(0.8125rem, 3.5vw, 0.9375rem); }
  .kind { font-size: 0.8125rem; } /* 1列のときは、ビジュアルの幅(30rem まで)に収まる */
  .person { left: -4%; } /* 画面の左端から、人物がはみ出さないようにする */
  .hero__show::before { inset: -1.5rem -100vw; } /* 1列のときは、ビジュアルと業種のタブの背後を、画面の幅いっぱいのブルーの帯にする */
  .demo__page { margin-left: 30%; }
  .guards { grid-template-columns: minmax(0, 1fr); }
  .set { grid-template-columns: minmax(0, 1fr); }
  /* 使い方: 段を縦に並べ、イラストと文を横に並べる。段ごとに画面に入るので、動きの順番待ちはなくす */
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step {
    --d: 0s;
    --s: 0s;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(1.25rem, 4vw, 2rem);
  }
  .shot {
    grid-row: 1 / span 2;
    font-size: clamp(0.75rem, 1.7vw, 0.875rem);
  }
  .step:not(:last-child) .shot::after { display: none; }
  .step__t { margin-top: 0.4rem; }
  .start__in,
  .price__in,
  .faq__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  /* 幅が足りないので、サンプルのホームページのナビゲーションを、三本線のメニューの形にする */
  .site__bar > span { display: none; }
  .site__bar::after {
    content: "";
    flex: none;
    width: 1.7em;
    height: 1.25em;
    background:
      linear-gradient(var(--ink) 0 0) left top / 100% 2px no-repeat,
      linear-gradient(var(--ink) 0 0) left center / 100% 2px no-repeat,
      linear-gradient(var(--ink) 0 0) left bottom / 100% 2px no-repeat;
  }
  /* 業種のタブ: スマートフォンの幅でも1行に並ぶように、文字・余白・間隔を小さくする */
  .kinds { gap: 0.2rem; }
  .kind {
    min-height: 2.25rem;
    padding-inline: 0.15em;
    border-width: 1px;
    border-radius: 0.45rem; /* ボタンの高さの2割ほど。幅が狭いので、丸い端より角丸の四角のほうが文字が収まる */
    font-size: clamp(0.5625rem, 2.7vw, 0.8125rem);
    letter-spacing: -0.02em;
  }
  .top__tag { display: none; }
  .btn--small { padding-inline: 1.1em; }
  .hero__btns .btn { flex: 1 1 100%; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust li,
  .trust li:first-child { padding: 0.8rem 0 0.8rem 1.9rem; }
  .trust li + li {
    border-left: 0;
    border-top: 1px solid var(--h-line);
  }
  .trust li::before,
  .trust li:first-child::before { left: 0.4rem; top: 1.1rem; }
  .voices {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .voices li:nth-child(even) { top: 0; }
  .asks li:nth-child(even) { margin-right: 0.8rem; }
  .shield,
  .fits,
  .keeps { grid-template-columns: minmax(0, 1fr); }
  .set > div { grid-template-columns: minmax(0, 1fr); }
  /* 動画は、縦長を表示する */
  .film { max-width: 20rem; }
  .film__frame--wide { display: none; }
  .film__frame--tall { display: block; }
  /* 使い方: イラストの下に文を置く */
  .step { display: block; }
  .shot { font-size: clamp(0.75rem, 3.5vw, 0.875rem); }
  .step__t { margin-top: 1.2rem; }
  .steps { gap: 2.5rem; }
  .road li { padding-left: 3.5rem; }
  .qa p { padding: 0 0.25rem 1.3rem 2.1rem; }
}

/* 動きを減らす設定の人には、出来上がりの形を見せる(JS の側でも動かさない) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .kind,
  .stage > .demo,
  .stage > .demo.is-on,
  .stage > .demo .person,
  .stage > .demo .demo__ask,
  .qa summary::after,
  .qa::details-content { transition: none; }
}
