/* totemo AI LP — 完成画像を縦に表示し、内容に合う動きだけを足す
   色：白 #FFFFFF／墨 #17181A／山吹 #F0B400 ＋ ごく淡い灰 #F1F1EF（画像と同じ） */
:root {
  --ink: #17181A;
  --ink-deep: #101112;
  --paper: #F1F1EF;
  --brass: #F0B400;
  --brass-deep: #B88A00;
  --col: 480px;
  --bg: #101112;          /* main.js がスクロールに合わせて書き換える */
  --side-ink: #FFFFFF;    /* 両脇の文字色。背景が明るくなったら墨に替わる */
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --gothic: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { background: #101112; }
body {
  margin: 0;
  background: transparent;   /* 軽くする：背景はスクロールのたびに塗り直さず、下の .bgfx の重なり具合（opacity）だけを変える */
  color: var(--ink);
  font-family: var(--gothic);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, .headline { word-break: keep-all; line-break: strict; text-wrap: balance; margin: 0; font-weight: 300; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- 上のバー：ロゴと、各コーナーへ飛ぶメニュー ----------
   スマホ・タブレット：メニュー（横に指で送れる札）は、いつも上に出ている。ロゴの段は、少し読み進むと出る（最初の画面には、FVの中に同じ表示があるため）
   PC：いつも上に出ている（下の「PC」の所で上書き） */
body { padding-top: 48px; }               /* メニューの高さのぶん、ページを下げる */
.bar {
  position: fixed; top: 0; left: 50%; z-index: 30;
  width: min(100%, var(--col));
  background: var(--bg);
  color: var(--side-ink);
  transform: translate(-50%, 0);
  transition: color .6s;
}
.bar .row { height: 0; padding: 0 14px; display: flex; align-items: center; gap: 10px; overflow: hidden; transition: height .35s cubic-bezier(.2, .7, .2, 1); }
.bar.show .row { height: 46px; }
.bar .mark { position: relative; width: 32px; height: 32px; flex: none; }
.bar .mark img { width: 100%; height: 100%; display: block; }
.bar .name { font-size: 13px; letter-spacing: .08em; white-space: nowrap; }
.bar .menu {
  display: flex; gap: 6px; padding: 4px 28px 4px 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent);   /* 右端を薄くして、続きがあると分かるように */
          mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent);
}
.bar .menu::-webkit-scrollbar { display: none; }
.bar .menu a {
  flex: none; display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 12px;
  font-size: 13px; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
  border: 1px solid rgba(128, 128, 126, .7);
  transition: background .2s, color .2s;
}
.bar .menu a[aria-current="true"] { background: var(--side-ink); color: var(--bg); border-color: var(--side-ink); }   /* いま読んでいるコーナー */
.bar .menu a.go, .bar .menu a.go[aria-current="true"] { color: var(--ink); background: var(--brass); border-color: var(--brass); font-weight: 400; }
.bar .menu a:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
/* メニューから飛んだとき、見出しが上のバーに隠れないように */
.part[id] { scroll-margin-top: 92px; }

/* ---------- 画像の列 ---------- */
.lp { width: min(100%, var(--col)); margin: 0 auto; position: relative; z-index: 3; }
.part { position: relative; display: block; background: var(--ink-deep); overflow: hidden; }
.frame { position: relative; display: block; line-height: 0; }
/* セクションのさかい目に、下地の暗い色が細い線になって見えないよう、1px 重ねる */
.lp .part + .part { margin-top: -1px; }
.frame .page { display: block; width: 100%; height: auto; }

/* 1枚の画像を「見出しのかたまり」と「中身」の大きな2つに分け、画面に入ったら、
   ぼやっと浮かんで、下からゆっくり起き上がる。細かくは区切らない。
   出そろったら、元の1枚の画像に戻す（.done）。帯は main.js が作る。 */
.banded .page { opacity: 0; }
.banded.done .page { opacity: 1; }
.banded.done .band { display: none; }
.band {
  position: absolute; left: 0; width: 100%; overflow: hidden; z-index: 1;
  opacity: 0; transform: translate3d(0, 44px, 0);
  transition: opacity 1.2s ease, transform 1.4s cubic-bezier(.16, .8, .24, 1);   /* 軽くする：大きな画像のぼかし（filter: blur）はやめ、ふわっと浮かぶ動きだけにする */
}
.band.v { transform: translate3d(0, 56px, 0); }
.band.in { opacity: 1; transform: none; }
.band img { position: absolute; left: 0; width: 100%; height: auto; display: block; max-width: none; }

/* 押せる場所（画像の中のボタンに重ねる） */
.hot { position: absolute; display: block; overflow: hidden; z-index: 3; -webkit-tap-highlight-color: transparent; }
.hot::before {            /* 光が1回走る */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 246, 222, .55) 50%, transparent 62%);
  transform: translateX(-130%);
}
.part.in .hot::before, .part.first .hot::before { animation: sweep-once 1.6s ease-out 1.1s 1 both; }
.hot:hover::before { animation: sweep-once 1.1s ease-out 0s 1 both; }
.hot::after { content: ""; position: absolute; inset: 0; background: rgba(23, 24, 26, 0); transition: background .12s; }
.hot:active::after { background: rgba(23, 24, 26, .16); }
.hot:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* FV のボタン：押すと、紹介動画がポップアップで開く。画像の中のボタンと同じ場所・同じ作り（山吹の面＋内側の細い線）
   文字の大きさは、列の幅に合わせて変わる（cqw＝列の幅の1%） */
.frame { container-type: inline-size; }
.play {
  position: absolute; z-index: 5; display: flex; align-items: center; justify-content: center; gap: .6em;
  font: 500 clamp(12px, 3.1vw, 30px)/1.2 var(--gothic);
  font-size: 3.5cqw;
  letter-spacing: .04em; color: var(--ink); text-decoration: none; white-space: nowrap;
  background: var(--brass);
  box-shadow: 0 .28em 0 var(--brass-deep), 0 .8em 1.3em rgba(184, 138, 0, .26);   /* 影は山吹を濃くした色（黒にしない） */
  -webkit-tap-highlight-color: transparent;
  transition: opacity .5s ease, box-shadow .12s;
}
.play::before { content: ""; position: absolute; inset: .36em; border: 1px solid var(--ink); pointer-events: none; }
.play::after {             /* 光が走る */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 250, 232, .7) 50%, transparent 60%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
}
.play .ic { position: relative; flex: none; width: 1.75em; height: 1.75em; border-radius: 50%; background: var(--ink); }
.play .ic::before {         /* 再生の三角 */
  content: ""; position: absolute; left: 38%; top: 28%; width: 36%; height: 44%;
  background: var(--brass); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.js .banded:not(.done) .play { opacity: 0; }
/* 気づいてもらうための動き：3.6秒に1回、ふくらんで、小さくふるえる。押してほしい場所はここ1つだけなので、ここだけに付ける */
.play { animation: play-nudge 3.6s ease-in-out 1.4s infinite; }
.play::after { animation: play-sweep 3.6s ease-out 1.4s infinite; }
.js .banded:not(.done) .play, .js .banded:not(.done) .play::after { animation: none; }
.play:hover, .play:focus-visible { animation-play-state: paused; }
.play:active { box-shadow: 0 0 0 var(--brass-deep), 0 .3em .6em rgba(184, 138, 0, .25); translate: 0 .28em; }
.play:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@keyframes play-nudge {
  0%, 56%, 100% { transform: none; }
  61% { transform: scale(1.045); }
  66% { transform: scale(.985); }
  71% { transform: scale(1.04) rotate(-1.3deg); }
  76% { transform: scale(1.03) rotate(1.3deg); }
  81% { transform: scale(1.02) rotate(-.9deg); }
  86% { transform: scale(1.01) rotate(.6deg); }
  92% { transform: none; }
}
@keyframes play-sweep { 0%, 40% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }

/* 動画のポップアップ */
.vmodal { padding: 0; border: 0; background: transparent; color: #FFFFFF; width: min(960px, calc(100vw - 20px)); max-width: none; max-height: none; overflow: visible; }
.vmodal::backdrop { background: rgba(10, 10, 11, .88); }
.vmodal .box:focus { outline: none; }
.vmodal .box { background: var(--ink); border-top: 6px solid var(--brass); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.vmodal .top { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; }
.vmodal .ttl { margin: 0; flex: 1; font-size: 13px; line-height: 1.5; letter-spacing: .06em; }
.vmodal .x {
  flex: none; min-height: 44px; padding: 0 14px; cursor: pointer;
  font: 400 14px/1 var(--gothic); letter-spacing: .06em; color: #FFFFFF; background: transparent;
  border: 1px solid rgba(255, 255, 255, .6);
}
.vmodal .x span { font-size: 18px; margin-right: 2px; }
.vmodal video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); background: #000000; }
.vmodal .acts { display: grid; justify-items: center; gap: 2px; padding: 12px 16px 8px; }
/* 動画の下の申し込みボタンは、控えめに（sin の指示：半分くらいの大きさ。この段階で申し込む人は少ない） */
.vmodal .apply-go {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 18px;
  font-size: 13px; font-weight: 400; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
  color: var(--ink); background: var(--brass);
  box-shadow: 0 3px 0 var(--brass-deep);
  transition: transform .12s, box-shadow .12s;
}
.vmodal .apply-go::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--ink); pointer-events: none; }
.vmodal .apply-go:active { transform: translateY(3px); box-shadow: 0 0 0 var(--brass-deep); }
.vmodal .back { min-height: 44px; padding: 0 12px; cursor: pointer; font: 300 13px/1 var(--gothic); letter-spacing: .06em; color: #FFFFFF; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 5px; }
.vmodal .x:focus-visible, .vmodal .back:focus-visible, .vmodal .apply-go:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* ロゴの上を走る光 */
.shine { position: absolute; border-radius: 50%; overflow: hidden; pointer-events: none; z-index: 3; }
.shine::before {
  content: ""; position: absolute; inset: -25%;
  background: linear-gradient(115deg, transparent 41%, rgba(255, 244, 214, .9) 50%, transparent 59%);
  transform: translateX(-130%);
}
.shine::after {           /* きらっと光る4つ角の星 */
  content: ""; position: absolute; right: 9%; top: 9%; width: 30%; height: 30%;
  background: #FFF6DE;
  clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
  transform: scale(0) rotate(0deg); opacity: 0;
}
.shine.on::before { animation: sweep 4.6s cubic-bezier(.3, .6, .3, 1) infinite; }
.shine.on::after { animation: twinkle 4.6s ease-out infinite; }

@keyframes sweep { 0% { transform: translateX(-130%); } 20%, 100% { transform: translateX(130%); } }
@keyframes sweep-once { 0% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes twinkle {
  0%, 9% { transform: scale(0) rotate(0deg); opacity: 0; }
  16% { transform: scale(1) rotate(45deg); opacity: 1; }
  28%, 100% { transform: scale(0) rotate(90deg); opacity: 0; }
}

/* ---------- 60分の文字盤（どこからでも申し込みへ） ---------- */
.dial {
  position: fixed; right: 14px; bottom: 14px; z-index: 40;
  width: 76px; height: 76px; border-radius: 50%;
  display: block; text-decoration: none;
  background: var(--paper);
  box-shadow: 0 4px 0 var(--ink), 0 10px 22px rgba(10, 10, 11, .35);
  transform: translateY(120px); opacity: 0;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s, box-shadow .12s;
}
.dial.show { transform: none; opacity: 1; }
.dial.show:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink), 0 4px 10px rgba(10, 10, 11, .3); }
.dial svg { width: 100%; height: 100%; display: block; }
.dial .arc { transition: stroke-dashoffset .25s linear; }
.dial:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* ---------- 動きを止める ---------- */
.motion {
  position: fixed; left: 10px; bottom: 14px; z-index: 40;
  min-height: 44px; padding: 0 12px;
  font: 300 12px/1 var(--gothic); letter-spacing: .04em;
  color: var(--paper); background: rgba(23, 24, 26, .82);
  border: 1px solid rgba(255, 255, 255, .35); cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.motion.show { opacity: 1; pointer-events: auto; }
.motion:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* ---------- 申し込みフォーム（LPの中で申し込める） ---------- */
.apply {
  width: min(100%, var(--col)); margin: 0 auto; position: relative; z-index: 2;
  background: var(--paper); color: var(--ink);
  scroll-margin-top: 166px;      /* ボタンから飛んできたとき、帯の上に並ぶロボットが上のバーに隠れないように */
}
.apply .inner { max-width: 560px; margin: 0 auto; }
/* ここから別の区切り：墨の帯で、見出しを大きく見せる */
.apply .head { background: var(--ink); color: #FFFFFF; padding: 60px 24px 48px; border-top: 8px solid var(--brass); }
.apply .body { padding: 44px 24px 64px; }
.apply .eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font-family: var(--mincho); font-weight: 600; font-size: clamp(22px, 5.4vw, 28px); letter-spacing: .1em; color: var(--brass);
}
.apply .eyebrow::before { content: ""; width: 48px; height: 5px; background: var(--brass); flex: none; }
/* 見出しは、スマホでも2行（「ここから、」／「お申し込みいただけます」）。2行目の11文字が1行に入る大きさにする */
.apply h2 { font-family: var(--mincho); font-weight: 600; font-size: clamp(22px, calc((min(100vw, var(--col)) - 48px) / 11.8), 46px); line-height: 1.45; letter-spacing: .05em; }
.apply h2 .nw { white-space: nowrap; }
.apply .lead { margin: 20px 0 0; font-size: 17px; line-height: 1.9; }
.apply .caution {
  margin: 26px 0 0; padding: 14px 16px; font-size: 15px; line-height: 1.8;
  border: 1px solid rgba(255, 110, 96, .8); color: #FF6E60; font-weight: 400;      /* 注意書きは赤字（sin の指示）。墨の地で読める明るさの赤 */
}
.apply .adjust { margin: 0; padding: 12px 14px; font-size: 15px; line-height: 1.8; background: #FFFFFF; border-left: 4px solid var(--brass); }
.apply .slot-hint { grid-column: 1 / -1; margin: 0; padding: 14px; font-size: 15px; line-height: 1.7; background: #FFFFFF; border: 1px dashed rgba(23, 24, 26, .38); }
.apply form { display: grid; gap: 24px; }
.apply label, .apply .q {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; letter-spacing: .04em; margin: 0 0 10px; padding: 0;
}
.apply .q small { font-size: 13px; }
.apply fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.apply .num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brass); color: var(--ink);
  font: 400 15px/1 var(--serif);
}
.apply input[type="text"], .apply input[type="email"], .apply input[type="tel"], .apply select {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  font: 300 16px/1.6 var(--gothic); color: var(--ink);
  background: #FFFFFF; border: 1px solid rgba(23, 24, 26, .32); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.apply select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.apply textarea {
  display: block; width: 100%; min-height: 130px; padding: 12px 14px; resize: vertical;
  font: 300 16px/1.7 var(--gothic); color: var(--ink);
  background: #FFFFFF; border: 1px solid rgba(23, 24, 26, .32); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.apply textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240, 180, 0, .55); }
.apply input::placeholder, .apply textarea::placeholder { color: rgba(23, 24, 26, .42); }
.apply input:focus, .apply select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240, 180, 0, .55); }
.apply .hint { margin: -10px 0 0; font-size: 14px; line-height: 1.8; }
.apply .note { margin: 0; font-size: 14px; line-height: 1.8; }
.apply .msg { margin: 0; min-height: 0; font-size: 15px; line-height: 1.8; }
.apply .msg:not(:empty) { padding: 14px 16px; background: #FFFFFF; border-left: 4px solid var(--brass); }

/* 選ぶボタン（課題・時間）。選んだものは墨、うまっている時間は点線と打ち消し線 */
.apply .chipset { display: flex; flex-wrap: wrap; gap: 10px; }
.apply .slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.apply .chip, .apply .slot, .apply .day, .apply .nav {
  font: 300 16px/1.3 var(--gothic); color: var(--ink);
  background: #FFFFFF; border: 1px solid rgba(23, 24, 26, .32); border-radius: 6px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .12s, color .12s, border-color .12s, transform .08s;
}
.apply .chip { min-height: 48px; padding: 0 18px; }
.apply .slot { min-height: 58px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.apply .slot .t { font-size: 18px; letter-spacing: .02em; }
.apply .slot .s { font-size: 12px; }
.apply .chip:active, .apply .slot:active, .apply .day:active { transform: translateY(1px); }
.apply .chip[aria-pressed="true"], .apply .slot[aria-pressed="true"], .apply .day[aria-pressed="true"] {
  background: var(--ink); color: #FFFFFF; border-color: var(--ink);
}
.apply .slot.full {
  background: #E4E4E0; border-style: dashed; border-color: rgba(23, 24, 26, .38);
  color: rgba(23, 24, 26, .62); cursor: default;
}
.apply .slot.full .t { text-decoration: line-through; }
.apply .chip:focus-visible, .apply .slot:focus-visible, .apply .day:focus-visible, .apply .nav:focus-visible {
  outline: 3px solid var(--brass); outline-offset: 2px;
}
.apply .other { margin-top: 10px; }
.apply .picked { margin: 10px 0 0; font-size: 15px; line-height: 1.7; padding: 10px 14px; background: #FFFFFF; border-left: 4px solid var(--brass); }

/* カレンダー（日曜はじまり。見ている日の月から自動で作る） */
.apply .cal { background: #FFFFFF; border: 1px solid rgba(23, 24, 26, .2); padding: 14px 12px 16px; }
.apply .cal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.apply .cal-title { margin: 0; font-family: var(--mincho); font-size: 20px; letter-spacing: .08em; }
.apply .nav { width: 46px; height: 46px; font-size: 24px; line-height: 1; }
.apply .nav:disabled { opacity: .28; cursor: default; }
.apply .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.apply .wd { text-align: center; font-size: 13px; padding: 4px 0 6px; }
.apply .wd.sun { color: #A8322A; }
.apply .wd.sat { color: #2A5BA8; }
.apply .day { min-height: 44px; padding: 0; border-color: transparent; font-size: 17px; font-family: var(--serif); }
.apply .day.today { box-shadow: inset 0 -4px 0 var(--brass); }
.apply .day:disabled { color: rgba(23, 24, 26, .28); cursor: default; background: transparent; }

.apply .send {
  position: relative; overflow: hidden; width: 100%; min-height: 68px; padding: 10px 18px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font: 400 17px/1.5 var(--gothic); letter-spacing: .04em; color: var(--ink);
  background: var(--brass); border: 0; border-radius: 0; cursor: pointer;
  box-shadow: 0 6px 0 var(--brass-deep), 0 16px 26px rgba(184, 138, 0, .28);
  transition: transform .12s, box-shadow .12s;
}
.apply .send::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--ink); pointer-events: none; }
.apply .send:hover { transform: translateY(-1px); }
.apply .send:active { transform: translateY(6px); box-shadow: 0 0 0 var(--brass-deep), 0 4px 10px rgba(184, 138, 0, .25); }
.apply .send:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.apply .send[disabled] { opacity: .6; cursor: default; transform: none; }
.apply .tel { margin: 10px 0 0; text-align: center; }
.apply .tel a { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; min-height: 44px; text-decoration: none; }
.apply .tel .lbl { font-size: 15px; letter-spacing: .08em; }
.apply .tel .no { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 9vw, 42px); line-height: 1.15; letter-spacing: .04em; border-bottom: 3px solid var(--brass); padding-bottom: 2px; }

/* フォームの見出しや項目も、画面に入ったら、ぼやっと起き上がる */
.js .rise { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rise.in { opacity: 1; transform: none; }

/* ---------- フッター ---------- */
.foot {
  width: min(100%, var(--col)); margin: 0 auto; position: relative; z-index: 2;
  background: var(--ink); color: var(--paper);
  padding: 36px 24px 120px;
  font-size: 14px; line-height: 1.9;
}
.foot .co { font-family: var(--mincho); font-size: 18px; letter-spacing: .06em; margin: 0 0 10px; }
.foot p { margin: 0 0 6px; }
.foot .links { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(240, 180, 0, .6); display: grid; gap: 4px; }
.foot .links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.foot .pending { color: #F0B400; font-size: 12px; }
.foot small { display: block; margin-top: 18px; font-size: 12px; opacity: .75; }

/* ---------- 画像の上に重ねる動画・写真 ---------- */
.ov { position: absolute; display: block; z-index: 2; }
video.ov, .ov video { object-fit: cover; width: 100%; height: 100%; background: #101112; }
img.ov { height: auto; }
.js .banded:not(.done) .ov { opacity: 0; }
.ov { transition: opacity .5s ease; }
.media .frame { line-height: 0; }
.media video, .media img { display: block; width: 100%; height: auto; }
.media .frame.vid { background-size: cover; background-position: center; }
video.loop { transition: opacity .65s ease; }
video.loop.fade { opacity: 0; }
.hot { z-index: 5; }
.shine { z-index: 4; }

/* ---------- ロボットたち（main.js とは別の walkers.js が動かす） ---------- */
/* 1) のぞく：メインの列と両脇の境目から、半身でひょこっと出て、また隠れる */
.peekers { position: fixed; inset: 0; z-index: 25; pointer-events: none; }
.peek-side { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.peek-side.l { left: 0; }
.peek-side.r { right: 0; }
.peeker {
  position: absolute; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transform: translateX(0); transition: transform .5s cubic-bezier(.3, 1.35, .5, 1);
}
/* 両脇があるとき：列の端（帯の内側の端）の外にいて、帯の中へ半身だけ出てくる */
.peek-side.l .peeker { left: 100%; }
.peek-side.r .peeker { right: 100%; }
/* 両脇が無いとき：画面の端の外にいて、内へ半身だけ出てくる */
.peekers.edge .peek-side.l .peeker { left: auto; right: 100%; }
.peekers.edge .peek-side.r .peeker { right: auto; left: 100%; }
.peeker.out { transform: translateX(var(--out, 0)); }
.peeker .jump, .walker .jump { display: block; }
.peeker .body, .walker .body { display: block; background: center bottom / contain no-repeat; transform-origin: 50% 100%; }
/* 出ているあいだは、のぞきこむように少しかたむいて、ゆれる */
.peeker.l .body { animation: lean-l 1.5s ease-in-out infinite alternate; }
.peeker.r .body { animation: lean-r 1.5s ease-in-out infinite alternate; }
.peekers.edge .peeker.l .body { animation-name: lean-r; }
.peekers.edge .peeker.r .body { animation-name: lean-l; }
@keyframes lean-l { from { transform: rotate(-13deg); } to { transform: rotate(-6deg); } }
@keyframes lean-r { from { transform: rotate(13deg); } to { transform: rotate(6deg); } }

/* 2) 集合：フォームの墨の帯の上の線に、画面の四方八方から飛んできて並ぶ（飛ばすのは walkers.js）。
      ジャンプは間をあけて1回ずつ。ふだんは軽くゆれているだけ */
.walkers { position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: 6; pointer-events: none; }
.walker {
  position: absolute; bottom: 0; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent;
  visibility: hidden; opacity: 0; will-change: transform;
}
.walker .body { animation: sway 1.9s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.peeker.hop .jump, .walker.hop .jump { animation: hop .6s cubic-bezier(.3, .7, .4, 1); }
@keyframes hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-46%); } }

/* セリフの吹き出し */
.peeker .say, .walker .say {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(6px) scale(.9);
  padding: 7px 12px; white-space: nowrap; z-index: 2;
  font: 500 13px/1.4 var(--gothic); letter-spacing: .02em; color: var(--ink);
  background: #FFFFFF; border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: 0 3px 0 rgba(23, 24, 26, .18);
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .22s cubic-bezier(.3, 1.4, .5, 1);
}
.peeker .say::after, .walker .say::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; margin: -6px 0 0 -5px;
  background: #FFFFFF; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg);
}
/* 喋っているロボットは、となりのロボットより手前に出す（吹き出しが隠れないように） */
.walker.talk, .peeker.talk { z-index: 5 !important; }
.talk > .say { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.say-l > .say { left: 0; transform: translateX(0) translateY(6px) scale(.9); }
.say-l.talk > .say { transform: translateX(0) translateY(0) scale(1); }
.say-l > .say::after { left: 22px; }
.say-r > .say { left: auto; right: 0; transform: translateX(0) translateY(6px) scale(.9); }
.say-r.talk > .say { transform: translateX(0) translateY(0) scale(1); }
.say-r > .say::after { left: auto; right: 17px; }
.peeker.say-r > .say { right: var(--hide, 0); }
.peeker.say-l > .say { left: var(--hide, 0); }
.peeker.say-r > .say::after { right: 12px; }
.peeker.say-l > .say::after { left: 17px; }
@media (min-width: 700px) { .peeker .say, .walker .say { font-size: 14px; } }
html[data-motion="off"] .peekers, html[data-motion="off"] .walkers { display: none; }
@media (prefers-reduced-motion: reduce) { .peekers, .walkers { display: none; } }

/* ---------- カーソルを小さなロボットに（マウスのある画面だけ。文字を打つ欄は、ふつうの縦棒のまま） ---------- */
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("assets/cursor-robot.png") 12 2, auto; cursor: -webkit-image-set(url("assets/cursor-robot.png") 1x, url("assets/cursor-robot@2x.png") 2x) 12 2, auto; }
  a, button, select, .hot, .dial, .chip, .slot, .day, .nav, .peeker, .walker, label[for] {
    cursor: url("assets/cursor-robot-go.png") 12 2, pointer; cursor: -webkit-image-set(url("assets/cursor-robot-go.png") 1x, url("assets/cursor-robot-go@2x.png") 2x) 12 2, pointer;
  }
  .apply .chip, .apply .slot, .apply .day, .apply .nav, .apply .send {
    cursor: url("assets/cursor-robot-go.png") 12 2, pointer; cursor: -webkit-image-set(url("assets/cursor-robot-go.png") 1x, url("assets/cursor-robot-go@2x.png") 2x) 12 2, pointer;
  }
  .apply .slot.full, .apply .day:disabled, .apply .nav:disabled { cursor: not-allowed; }
  input[type="text"], input[type="email"], input[type="tel"], textarea { cursor: text; }
}

/* ---------- タブレット ---------- */
@media (min-width: 700px) { :root { --col: 600px; } }

/* ---------- PC：画像の列を広く。両脇に、縦書きの言葉と申し込みを置く ---------- */
.side { display: none; }
@media (min-width: 1200px) {
  :root { --col: clamp(640px, 62vw, 940px); --barh: 58px; }
  /* 上のバー：PC では横いっぱいに、いつも出しておく。そのぶん、ページ全体を下げる */
  body { padding-top: var(--barh); }
  .bar { left: 0; width: 100%; height: var(--barh); transform: none; display: flex; align-items: center; gap: 16px; padding: 0 20px; }
  .bar.show { transform: none; }
  .bar .row, .bar.show .row { height: auto; padding: 0; overflow: visible; }
  .bar .name { display: none; }
  .bar .menu { margin-left: auto; padding: 0; gap: 2px; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .bar .menu a { border-color: transparent; min-height: 42px; padding: 0 clamp(7px, .9vw, 14px); font-size: clamp(13px, 1.02vw, 15px); }
  .bar .menu a:hover { border-bottom-color: var(--brass); }
  .bar .menu a[aria-current="true"] { background: transparent; color: inherit; border-color: transparent; border-bottom: 2px solid var(--brass); }
  .bar .menu a.go, .bar .menu a.go[aria-current="true"] { margin-left: 10px; padding: 0 18px; border: 0; box-shadow: 0 3px 0 var(--brass-deep); background: var(--brass); color: var(--ink); }
  .bar .menu a.go:active { transform: translateY(3px); box-shadow: 0 0 0 var(--brass-deep); }
  .part[id] { scroll-margin-top: calc(var(--barh) + 8px); }
  .apply { scroll-margin-top: calc(var(--barh) + 74px); }
  .dial { display: none; }
  /* 両脇：アイコン＋縦書きのかたまり（.mid）を、いつも画面の上下の中央に置く。
     左右で .mid の高さを同じにしてあるので、アイコンも言葉も同じ高さにそろう。ボタンはその下（.low） */
  .side {
    display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center;
    position: fixed; top: var(--barh); bottom: 0; z-index: 1;
    width: calc((100vw - var(--col)) / 2);
    color: var(--side-ink); transition: color .6s;
    padding: 12px;
  }
  .side.l { left: 0; }
  .side.r { right: 0; }
  .side .mid { grid-row: 2; display: flex; flex-direction: column; align-items: center; }
  .side .low { grid-row: 3; align-self: start; display: flex; flex-direction: column; align-items: center; }
  .side .icon { position: relative; width: 108px; height: 108px; flex: none; }
  .side .icon img, .side .icon svg { width: 100%; height: 100%; display: block; }
  .side .tag {
    margin: 24px 0 0; writing-mode: vertical-rl;
    font-family: var(--mincho); font-weight: 600;
    font-size: clamp(24px, min(2.3vw, 3.7vh), 38px); letter-spacing: .14em; line-height: 1.85;
    white-space: nowrap;
    height: 13.7em;                       /* 12文字ぶん。左右で同じ高さにして、書き出しをそろえる */
  }
  /* 縦書きの中の「AI」は、横に寝かせず、1文字ぶんの枠に横並びで立てる（縦中横） */
  .side .tag .tcy { -webkit-text-combine: horizontal; text-combine-upright: all; letter-spacing: 0; }
  .side .btn {
    margin-top: 24px; min-height: 58px; padding: 0 20px;
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 16px; font-weight: 400; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
    color: var(--ink); background: var(--brass);
    position: relative; overflow: hidden;
    box-shadow: 0 5px 0 var(--brass-deep), 0 14px 26px rgba(10, 10, 11, .28);
    transition: transform .12s, box-shadow .12s;
  }
  .side .btn::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--ink); pointer-events: none; }
  .side .btn:hover { transform: translateY(-1px); }
  .side .btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--brass-deep), 0 4px 10px rgba(10, 10, 11, .25); }
  .side .btn:focus-visible { outline: 3px solid var(--side-ink); outline-offset: 4px; }
  .side .facts { margin: 14px 0 0; font-size: 12px; line-height: 1.7; letter-spacing: .06em; text-align: center; }
  @media (max-height: 820px) { .side .facts { display: none; } .side .tag { margin-top: 16px; } .side .btn { margin-top: 14px; } .side .icon { width: 88px; height: 88px; } }
  .motion { left: 16px; bottom: 16px; }
}
@media (min-width: 1560px) { .bar .name { display: inline; } }

/* ---------- お試し：スマホ・タブレットでも、両脇に細い帯（縦書きの言葉）を出す ----------
   html に slim-sides が付いているときだけ効く（付いていなければ、今までどおり）。
   帯の地は、ページの背景（スクロールで暗い色 → 明るい色）。そのぶん、中央の列は細くなる */
.side .tag .sp { display: none; }
@media (max-width: 1199px) {
  html.slim-sides { --band: clamp(34px, 10vw, 42px); --col: calc(100vw - 2 * var(--band)); }
  html.slim-sides .side {
    display: flex; position: fixed; top: 0; bottom: 0; z-index: 1;
    width: var(--band); align-items: center; justify-content: center;
    color: var(--side-ink); transition: color .6s;
  }
  html.slim-sides .side.l { left: 0; }
  html.slim-sides .side.r { right: 0; }
  html.slim-sides .side .icon, html.slim-sides .side .low { display: none; }
  html.slim-sides .side .mid { display: block; }
  html.slim-sides .side .tag {
    margin: 0; writing-mode: vertical-rl; white-space: nowrap;
    font-family: var(--mincho); font-weight: 600;
    font-size: clamp(14px, 4.3vw, 18px); letter-spacing: .12em; line-height: 1.2;
  }
  html.slim-sides .side .tag br { display: none; }                 /* 2列にせず、1列につなげる */
  html.slim-sides .side .tag .sp { display: inline; }
  html.slim-sides .side .tag .tcy { -webkit-text-combine: horizontal; text-combine-upright: all; letter-spacing: 0; }
  html.slim-sides .dial { right: calc(var(--band) + 8px); }
  html.slim-sides .apply .q { flex-wrap: wrap; row-gap: 2px; }       /* 列が細いので、注記は次の行へ送る */
  html.slim-sides .apply .q small { flex-basis: 100%; }
  html.slim-sides .motion { left: calc(var(--band) + 6px); }
}
@media (min-width: 700px) and (max-width: 1199px) {
  html.slim-sides { --col: 600px; --band: calc((100vw - 600px) / 2); }
  html.slim-sides .side .tag { font-size: 20px; }
}
/* 見比べ用の切り替えボタン（お試しの確認用ページだけ） */
.sides-switch {
  position: fixed; left: 50%; top: 56px; transform: translateX(-50%); z-index: 60;
  min-height: 36px; padding: 0 12px; white-space: nowrap;
  font: 600 12px/1 var(--gothic); letter-spacing: .04em;
  color: var(--ink); background: var(--brass); border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink); cursor: pointer;
}
@media (min-width: 1200px) { .sides-switch { display: none; } }
@media (max-width: 1199px) and (max-height: 500px) {              /* 横向きのスマホなど、背が低いときは言葉を出さない */
  html.slim-sides .side .tag { display: none; }
}

/* ---------- 動きを止めたとき ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; filter: none; transition: none; }
  .shine::before, .shine::after, .hot::before, .play, .play::after { animation: none !important; }
  .dial, .dial .arc, .bar, .side { transition: none; }
}
html[data-motion="off"] .rise { opacity: 1; transform: none; filter: none; transition: none; }
html[data-motion="off"] .shine::before,
html[data-motion="off"] .shine::after,
html[data-motion="off"] .hot::before,
html[data-motion="off"] .play,
html[data-motion="off"] .play::after { animation: none !important; }
html[data-motion="off"] .dial, html[data-motion="off"] .dial .arc { transition: none; }

/* ボットよけの欄：人には見えない（display:none だとボットが飛ばすので、画面の外へ出す） */
.apply .hp{position:absolute !important;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* v15 「掛け算」のコーナー：文字の大きさは、ほかのコーナーの画像（幅1024）と同じ割合にする（cqw＝列の幅の1%） */
.kake { position: relative; z-index: 2; background: #FFFFFF; color: var(--ink); container-type: inline-size; padding: 9% 0 calc(min(max(40px, 8.5%), 74px) + 44px); }  /* 下は、集合したロボットの背の分をあける */
.kake > * { margin-left: 5.5cqw; margin-right: 5.5cqw; }
.kake .eyebrow { display: flex; align-items: center; gap: 2.4cqw; margin-top: 0; margin-bottom: 4.6cqw; font-size: max(12px, 2.9cqw); letter-spacing: .08em; }
.kake .eyebrow::before { content: ""; width: 8cqw; height: 1.1cqw; background: var(--brass); flex: none; }
.kake h2 { margin-top: 0; margin-bottom: 0; font-family: var(--mincho); font-weight: 400; font-size: 5.5cqw; line-height: 1.5; letter-spacing: .02em; }
.kake h2 .mk { background: var(--brass); padding: 0 .12em; }
.kake .mul { list-style: none; padding: 0; margin-top: 6.5cqw; margin-bottom: 0; border-top: 1px solid rgba(23,24,26,.25); }
.kake .mul li { display: flex; align-items: baseline; gap: 4cqw; padding: 3.2cqw .4cqw; border-bottom: 1px solid rgba(23,24,26,.25); font-size: max(17px, 4.7cqw); }
.kake .mul .n { font-family: var(--serif); font-size: 7.4cqw; line-height: 1; min-width: 7cqw; }
.kake .mul b { font-weight: 600; background: linear-gradient(transparent 62%, rgba(240,180,0,.75) 62%); padding: 0 2px; }
.kake .zero { margin: 8cqw 0 0; padding: 7cqw 5.5cqw 7.5cqw; background: var(--ink); color: #FFFFFF; text-align: center; }
.kake .eq { margin: 0 0 3cqw; font-family: var(--serif); font-size: 12cqw; line-height: 1; letter-spacing: .06em; }
.kake .eq .x { color: var(--brass); margin: 0 .22em; font-size: .8em; }
.kake .eq .ai { font-size: .72em; }
.kake .one { margin: 0; font-size: max(12.5px, 3.4cqw); line-height: 1.7; white-space: nowrap; }
.kake .ans { margin: 6cqw 0 0; padding-top: 6cqw; border-top: 1px solid rgba(255,255,255,.28); font-family: var(--mincho); font-size: 5cqw; line-height: 1.75; color: var(--brass); }  /* 4行で、ひとつのメッセージ */
.kake .ans .nw { white-space: nowrap; }
.kake .ans em { font-style: normal; color: var(--brass); white-space: nowrap; }
.kake .ans .sub { display: inline-block; margin-top: 3.4cqw; font-family: var(--gothic); font-size: max(13px, 3.4cqw); line-height: 1.7; font-weight: 600; }
.kake .facts { margin-top: 4cqw; margin-bottom: 0; text-align: right; font-size: max(11px, 2.4cqw); color: rgba(23,24,26,.62); }

/* v14 申し込みの見出しを目立たせる：「お申し込みいただけます」に山吹の帯、下向きの矢印がゆっくり動く */
.apply h2 .mk { background: var(--brass); color: var(--ink); padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.apply .down { margin: 14px 0 0; font-size: 30px; line-height: 1; color: var(--brass); animation: down-nudge 1.8s ease-in-out infinite; }
@keyframes down-nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (prefers-reduced-motion: reduce) { .apply .down { animation: none; } }

/* v16 営業動画の「1か月 40時間の短縮」（仕事の例の下の灰色の地）。見えたら、左からシュッと入り、数字が回り、信号が工程を走る */
.part.flow40 { background: var(--paper); padding: 0 7.4% 7%; overflow: hidden; perspective: 1400px; }
.flow40 .panel { background: #FFFFFF; border-radius: 2.2cqw; border-radius: 12px; box-shadow: 0 18px 40px rgba(20,40,70,.18), 0 0 0 1px rgba(20,40,70,.08); overflow: hidden; }
.flow40 .f40 { display: block; width: 100%; height: auto; font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; font-weight: 900; }
.flow40 .mo text { fill: #FFFFFF; font-size: 84px; letter-spacing: .14em; text-anchor: middle; }
.flow40 .reel text { fill: #0B9DB8; font-size: 270px; text-anchor: middle; letter-spacing: -.03em; }
.flow40 .unit { fill: #0B9DB8; font-size: 110px; }
.flow40 .tan { fill: #0B0B0B; font-size: 130px; }
.flow40 .lb { fill: #111111; font-size: 44px; text-anchor: middle; }
.flow40 .nd { fill: #FFFFFF; stroke: #111111; stroke-width: 6; transition: fill .2s; }
.flow40 .nd.on { fill: #BFF6FF; }
.flow40 .nd.goal { fill: #FFEA00; }
.flow40 .dash { fill: none; stroke: rgba(20,40,70,.22); stroke-width: 10; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 4 14; }
.flow40 .glow { fill: none; stroke: #2FD3F0; stroke-width: 12; stroke-linejoin: round; stroke-linecap: round; }
.flow40 .halo { fill: none; stroke: rgba(47,211,240,.28); stroke-width: 30; stroke-linejoin: round; stroke-linecap: round; }   /* 光のにじみ：filter をやめ、太い半透明の線で出す（毎コマの塗り直しが軽い） */
.flow40 .head { fill: #FFEA00; stroke: #111111; stroke-width: 5; opacity: 0; }
.flow40 .headglow { fill: rgba(255,234,0,.45); opacity: 0; }
.flow40 .note { margin: 2.4% 0 0; text-align: right; font-size: 12px; color: rgba(23,24,26,.6); }
/* 動きの前の形（main.js が .go を付けると動き出す） */
.flow40.ready .panel { transform: translateX(-120%) rotateY(28deg); opacity: 0; }
.flow40.ready .mo { transform: scaleX(0); transform-origin: 70px 0; transform-box: view-box; }
.flow40.ready .unit { opacity: 0; }
.flow40.ready .tan { opacity: 0; transform: scale(2.4); transform-origin: 646px 250px; transform-box: view-box; }
.flow40.go .panel { transform: none; opacity: 1; transition: transform .7s cubic-bezier(.16, 1, .3, 1), opacity .2s linear; }
.flow40.go .mo { transform: none; transition: transform .45s cubic-bezier(.16, 1, .3, 1) .25s; }
.flow40.go .unit { opacity: 1; transition: opacity .25s 1.25s; }
.flow40.go .tan { opacity: 1; transform: none; transition: transform .16s cubic-bezier(.5, 0, .9, .3) 1.45s, opacity .16s 1.45s; }

/* 軽くする：スクロールで変わる背景（暗い→明るい）。暗い地の上に明るい地を重ね、その透け具合だけを変える */
.bgfx { position: fixed; inset: 0; z-index: -1; background: #101112; pointer-events: none; }
.bgfx i { position: absolute; inset: 0; background: rgb(232, 232, 229); opacity: 0; will-change: opacity; }
/* 軽くする：集まっていないあいだのロボットは、揺れの動きを止めておく */
.walkers:not(.on) .walker .body { animation: none; }

/* v16（2026-11-18）：0×AI を中ほどへ移した。ロボットが集まる余白は、いちばん下の .closing に移す */
.kake.mid { padding-bottom: 9%; }
.closing { position: relative; z-index: 2; background: #FFFFFF; color: var(--ink); container-type: inline-size; padding: 6% 0 calc(min(max(40px, 8.5%), 74px) + 44px); }  /* 下は、集合したロボットの背の分 */
.closing .facts { margin: 0 5.5cqw; text-align: right; font-size: max(11px, 2.4cqw); line-height: 1.8; color: rgba(23,24,26,.62); }

/* v16：画像のすぐ下の注記（24時間の条件など）。画像の地と同じ白につなげる */
.part .pnote { margin: 0; padding: 0 5.5% 4.5%; background: #FEFEFE; text-align: right; font-size: max(11px, 2.6cqi); line-height: 1.7; color: rgba(23,24,26,.62); }
.part:has(.pnote) { container-type: inline-size; }

/* v16：FV のすぐ下、岐阜の会社であることと、伺える範囲 */
.area { position: relative; z-index: 2; background: #FEFEFE; color: var(--ink); container-type: inline-size; padding: 0 5.5cqw 7cqw; margin-top: -1px; }
.area p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 1.2cqw 3cqw; padding-top: 4cqw; border-top: 1px solid rgba(23,24,26,.18); }
.area .b { display: inline-flex; align-items: center; gap: 2cqw; font-family: var(--mincho); font-size: max(16px, 4.4cqw); letter-spacing: .04em; }
.area .b::before { content: ""; width: 6cqw; height: 1cqw; background: var(--brass); flex: none; }
.area .s { font-size: max(13px, 3.2cqw); line-height: 1.7; }

/* v16：代表の経歴と、これまでに納めたもの（代表メッセージのすぐ下。メッセージの地 #F0F0EE につなげる） */
.career { position: relative; z-index: 2; background: #F0F0EE; color: var(--ink); container-type: inline-size; padding: 2cqw 0 9cqw; margin-top: -1px; }
.career > * { margin-left: 5.5cqw; margin-right: 5.5cqw; }
.career .eyebrow { display: flex; align-items: center; gap: 2.4cqw; margin-top: 0; margin-bottom: 3.6cqw; font-size: max(12px, 2.9cqw); letter-spacing: .08em; }
.career .eyebrow::before { content: ""; width: 8cqw; height: 1.1cqw; background: var(--brass); flex: none; }
.career h2 { margin: 0 5.5cqw 5cqw; font-family: var(--mincho); font-weight: 400; font-size: 5.5cqw; line-height: 1.5; letter-spacing: .02em; }
.career h3 { margin-top: 5cqw; margin-bottom: 1.6cqw; font-size: max(13px, 3.2cqw); font-weight: 600; letter-spacing: .06em; }
.career .rows { margin-top: 0; margin-bottom: 0; border-top: 1px solid rgba(23,24,26,.25); }
.career .rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 4cqw; padding: 2.6cqw .4cqw; border-bottom: 1px solid rgba(23,24,26,.25); }
.career dt { font-size: max(15px, 4cqw); line-height: 1.6; }
.career dd { margin: 0; flex: none; font-family: var(--serif); font-size: max(18px, 5.2cqw); line-height: 1.2; }
.career .works > div { display: block; }
.career .works dt { font-size: max(12px, 3cqw); color: rgba(23,24,26,.62); }
.career .works dd { font-family: var(--gothic); font-size: max(15px, 4cqw); line-height: 1.6; font-weight: 600; }
.career .near { margin-top: 6cqw; margin-bottom: 0; padding: 4cqw 4.5cqw; background: var(--ink); color: #FFFFFF; font-size: max(13px, 3.3cqw); line-height: 1.8; }
.career .near b { display: block; color: var(--brass); font-family: var(--mincho); font-weight: 400; font-size: max(16px, 4.4cqw); }
.area .nw, .closing .nw { white-space: nowrap; display: inline-block; }
.career .near .nw { white-space: nowrap; display: inline-block; }

/* v16b（2026-11-18）sin の手元確認からの直し */
.kake.mid { padding-bottom: 0; }
.kake.mid .zero { margin-left: 0; margin-right: 0; }      /* 黒い地のまま、すぐ下の動画につなげる（白い余白を残さない） */
.kake.mid .one { margin-bottom: 4cqw; }
.part .pnote { white-space: nowrap; font-size: min(max(10.5px, 2.6cqi), 13px); }   /* 改行させず1行で */
.area .ex, .career .near .ex { display: block; margin-top: .4em; font-size: .86em; color: rgba(23,24,26,.62); }
.career .near .ex { color: rgba(255,255,255,.7); }
.career { padding-bottom: 7cqw; }
.career h2 { font-size: 4.6cqw; margin-bottom: 3.6cqw; }
.career .rows > div { padding: 1.6cqw .4cqw; }
.career dt { font-size: max(13.5px, 3.4cqw); }
.career dd { font-size: max(15px, 4cqw); }
.career .more { margin-top: 2.4cqw; margin-bottom: 0; font-size: max(13px, 3.3cqw); color: rgba(23,24,26,.75); }
.career .near { margin-top: 4.5cqw; padding: 3.4cqw 4cqw; }
.career .near .nw { white-space: nowrap; display: inline-block; }

/* v16b：料金の一例（料金の画像のすぐ下。料金の画像の地 #EFEFEF につなげる） */
.price1 { position: relative; z-index: 2; background: #EFEFEF; color: var(--ink); container-type: inline-size; padding: 2cqw 0 9cqw; margin-top: -1px; }
.price1 > * { margin-left: 5.5cqw; margin-right: 5.5cqw; }
.price1 .eyebrow { display: flex; align-items: center; gap: 2.4cqw; margin-top: 0; margin-bottom: 3.6cqw; font-size: max(12px, 2.9cqw); letter-spacing: .08em; }
.price1 .eyebrow::before { content: ""; width: 8cqw; height: 1.1cqw; background: var(--brass); flex: none; }
.price1 h2 { margin-top: 0; margin-bottom: 3cqw; font-family: var(--mincho); font-weight: 400; font-size: 5.2cqw; line-height: 1.45; }
.price1 .yen { font-size: .8em; }
.price1 .num { font-family: var(--serif); font-size: 2.6em; line-height: 1.1; letter-spacing: .02em; background: linear-gradient(transparent 70%, rgba(240,180,0,.75) 70%); padding: 0 .06em; }
.price1 .lead { margin-top: 0; margin-bottom: 4cqw; font-size: max(14px, 3.6cqw); line-height: 1.75; }
.price1 .can { list-style: none; padding: 3.2cqw 4cqw; margin-top: 0; margin-bottom: 4cqw; background: #FFFFFF; border-left: 1.1cqw solid var(--brass); }
.price1 .can li { font-size: max(14px, 3.5cqw); line-height: 1.75; padding-left: 1.2em; text-indent: -1.2em; }
.price1 .can li::before { content: "・"; }
.price1 .fine { margin-top: 0; margin-bottom: 0; font-size: max(12.5px, 3cqw); line-height: 1.8; color: rgba(23,24,26,.7); }
.price1 .tbd { margin-top: 3cqw; margin-bottom: 0; font-size: 12px; color: #C0392B; }
.price1 .nw { white-space: nowrap; display: inline-block; }
.kake.mid .one { white-space: normal; text-wrap: balance; }
@media (max-width: 359px) { .part .pnote { white-space: normal; text-wrap: balance; } }
/* v16c：料金の一例を小さく。見出しは1行、説明2行はどちらも改行なし */
.price1 { padding: 1cqw 0 6cqw; }
.price1 .eyebrow { margin-bottom: 2cqw; }
.price1 h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 2.4cqw; margin-bottom: 2.4cqw; font-size: 4.4cqw; }
.price1 .yen { font-size: 1em; white-space: nowrap; }
.price1 .num { font-size: 2.1em; }
.price1 .yen small { font-family: var(--gothic); font-size: max(10.5px, 2.6cqw); margin-left: .4em; color: rgba(23,24,26,.62); }
.price1 .one1 { margin-top: 0; margin-bottom: 0; white-space: nowrap; font-size: min(3.6cqw, 15px); line-height: 1.8; }
.price1 .one1.sub { font-size: min(3.15cqw, 13.5px); color: rgba(23,24,26,.7); }
@media (max-width: 359px) { .price1 .one1 { white-space: normal; text-wrap: balance; } }
.price1 .one1 { font-size: min(3.35cqw, 15px); letter-spacing: 0; }
.price1 .one1.sub { font-size: min(2.85cqw, 13.5px); }
/* v16d：0×AI の前半（問い）と後半（ゼロ）を分け、あいだに「考え方（掛け算）」の画像を置く */
.kake.mid:not(.zb) { padding-bottom: 7%; }
.kake.mid.zb { padding-top: 0; }
.kake.mid.zb .zero { margin-top: 0; }

/* v16e：診断の見本（Q&A のすぐ下、最後の申し込みの前） */
.diag { position: relative; z-index: 2; background: #F0F0EE; color: var(--ink); container-type: inline-size; padding: 9cqw 0 9cqw; margin-top: -1px; }
.diag > * { margin-left: 5.5cqw; margin-right: 5.5cqw; }
.diag .eyebrow { display: flex; align-items: center; gap: 2.4cqw; margin-top: 0; margin-bottom: 3.6cqw; font-size: max(12px, 2.9cqw); letter-spacing: .08em; }
.diag .eyebrow::before { content: ""; width: 8cqw; height: 1.1cqw; background: var(--brass); flex: none; }
.diag h2 { margin-top: 0; margin-bottom: 5cqw; font-family: var(--mincho); font-weight: 400; font-size: 5.2cqw; line-height: 1.5; }
.diag .sheet { background: #FFFFFF; border: 1px solid rgba(23,24,26,.18); box-shadow: 0 1.2cqw 3cqw rgba(23,24,26,.12); padding: 0 5cqw 4cqw; transform: rotate(-.6deg); }
.diag .sh-head { display: flex; justify-content: space-between; align-items: center; margin: 0 -5cqw 3cqw; padding: 3cqw 5cqw; background: var(--ink); color: #FFFFFF; }
.diag .sh-head .ttl { font-family: var(--mincho); font-size: max(15px, 4.2cqw); letter-spacing: .06em; }
.diag .stamp { border: 2px solid var(--brass); color: var(--brass); font-size: max(12px, 3cqw); font-weight: 700; padding: .1em .7em; transform: rotate(6deg); letter-spacing: .2em; }
.diag .who { margin: 0 0 2cqw; font-size: max(12px, 2.9cqw); color: rgba(23,24,26,.62); }
.diag .blk { padding: 3.2cqw 0; border-top: 1px solid rgba(23,24,26,.18); }
.diag .k { margin: 0 0 1.6cqw; font-weight: 700; font-size: max(14px, 3.6cqw); display: flex; align-items: baseline; gap: 2.4cqw; }
.diag .k .n { font-family: var(--serif); font-weight: 400; font-size: 1.6em; line-height: 1; color: var(--brass-deep); }
.diag ul, .diag ol { margin: 0; padding: 0; list-style: none; }
.diag ul li { font-size: max(13.5px, 3.4cqw); line-height: 1.8; padding-left: 1.1em; position: relative; }
.diag ul li::before { content: ""; position: absolute; left: .1em; top: .78em; width: .45em; height: .45em; background: var(--brass); }
.diag .big { margin: 0; font-size: max(14px, 3.6cqw); }
.diag .big .num { font-family: var(--serif); font-size: 3.2em; line-height: 1; background: linear-gradient(transparent 70%, rgba(240,180,0,.75) 70%); padding: 0 .06em; }
.diag .big small { font-size: .8em; color: rgba(23,24,26,.62); margin-left: .2em; }
.diag .use { margin: 1.4cqw 0 0; font-size: max(13px, 3.3cqw); line-height: 1.7; }
.diag .steps li { display: flex; gap: 3cqw; font-size: max(13.5px, 3.4cqw); line-height: 1.9; }
.diag .steps b { flex: none; font-weight: 700; color: var(--brass-deep); }
.diag .fine { margin-top: 4cqw; margin-bottom: 0; font-size: max(11px, 2.6cqw); line-height: 1.7; color: rgba(23,24,26,.62); }

/* 予約フォーム：第1希望と第2希望を色で分ける（totemo AI の色：山吹と、水色）。広い画面では横並び（2026-11-22） */
.apply .body .inner:has(.choices) { max-width: 980px; }
.choices { display: grid; gap: 20px; container-type: inline-size; }
.choice { border-radius: 14px; padding: 16px 14px; display: grid; gap: 20px; }
.choice .ch-h { margin: 0; font-family: var(--gothic); font-weight: 800; font-size: 19px; letter-spacing: .04em; }
.choice .ch-h small { font-size: 13px; font-weight: 500; }
.choice.c1 { background: #FBF6E4; border: 2px solid #C9A227; }
.choice.c1 .ch-h { color: #8C6C0E; }
.choice.c2 { background: #F1F1F0; border: 2px solid #3A3B3E; }
.choice.c2 .ch-h { color: var(--ink); }
@media (min-width: 1000px) { .choices { grid-template-columns: 1fr 1fr; } }

/* 申し込みの帯：見出しと案内を1行に、帯の高さを詰める（2026-11-22） */
.apply .head { padding: 30px 24px 26px; }
.apply .head h2 { white-space: nowrap; font-size: clamp(20px, calc((min(100vw, var(--col)) - 48px) / 16), 34px); margin: 0; }
.apply .head .down { display: none; }
.apply .head .lead { margin-top: 10px; white-space: nowrap; font-size: clamp(13px, 3.4vw, 16px); }
.apply .head .eyebrow { margin-bottom: 8px; }
