/* ==========================================================================
   AdRysta TOP ファーストビュー
   PC：デザイン画像（1672×941）の座標をそのまま使い、--u（=画面幅/1672）で等倍縮尺
   SP：899px以下は縦積みレイアウトに切り替え
   ========================================================================== */

:root {
  --ink: #0b0b0c;
  --navy: #062d5f;
  --navy-line: #0a3a70;
  --tag: #0b2a5f;
  --sky: #82d3fb;
  --sky-pale: #d8edfb;
  --paper: #fbfbf9;
  --header-h: clamp(60px, 4.2vw, 80px);
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --grain: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .12 0 0 0 0 .16 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --crumple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='c' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05' numOctaves='4' seed='4' stitchTiles='stitch'/%3E%3CfeDiffuseLighting surfaceScale='2.2' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  --speck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.6 0 0 0 -.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html,
body { margin: 0; }

html { scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    var(--grain),
    linear-gradient(rgba(20, 44, 84, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 44, 84, .032) 1px, transparent 1px);
  background-size: 220px 220px, 23px 23px, 23px 23px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; }

/* --------------------------------------------------------------------------
   セクション・背景
   -------------------------------------------------------------------------- */
.fv {
  container-type: inline-size;
  position: relative;
  overflow-x: clip;
}

.fv__stage {
  --u: calc(min(100cqw, 1920px) / 1672);
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  margin-top: max(0px, calc(var(--header-h) + 10px - 78 * var(--u)));
  aspect-ratio: 1672 / 941;
}

.fv__decor,
.fv__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.fv__decor { z-index: 0; }
.fv__route { z-index: 1; }

/* 絶対配置の共通ルール：--x/--y/--w/--h はデザイン画像上のpx、--r は角度 */
.abs {
  --x: 0; --y: 0; --w: 0; --h: 0; --r: 0;
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
  rotate: calc(var(--r) * 1deg);
}

/* --------------------------------------------------------------------------
   見出し・サブコピー・対応領域
   -------------------------------------------------------------------------- */
.fv__title {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: calc(65 * var(--u));
  margin: 0;
  text-align: center;
  font-size: calc(106 * var(--u));
  font-weight: 900;
  line-height: 1.105;
  letter-spacing: -.015em;
  font-feature-settings: "palt";
  -webkit-text-stroke: .014em currentColor;
  text-shadow: 0 0 .04em #fff;
}

.fv__line { display: block; }
.fv__line:first-child { letter-spacing: -.03em; }
.fv__line:last-child { position: relative; left: calc(13 * var(--u)); margin-top: calc(-1 * var(--u)); }

.fv__em {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--navy);
  letter-spacing: .029em;
}

.fv__rest { letter-spacing: -.068em; }

.fv__underline {
  position: absolute;
  z-index: -1;
  left: -.1em;
  top: 1.13em;
  width: calc(100% + .22em);
  height: .377em;
  overflow: visible;
}

.fv__lead {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: calc(329 * var(--u));
  padding-left: calc(18 * var(--u));
  margin: 0;
  text-align: center;
  font-size: calc(28 * var(--u));
  font-weight: 800;
  line-height: calc(41 * var(--u));
  letter-spacing: 0;
}

.fv__tags {
  position: absolute;
  z-index: 3;
  top: calc(430 * var(--u));
  left: calc(344 * var(--u));
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--tag);
  font-size: calc(23.5 * var(--u));
  font-weight: 800;
  line-height: calc(34 * var(--u));
  letter-spacing: .005em;
  font-feature-settings: "palt";
  white-space: nowrap;
}
.fv__tags li { flex: none; width: calc(var(--tw) * var(--u)); padding-left: calc(var(--tp) * var(--u)); }
.fv__tags li + li { border-left: calc(2.4 * var(--u)) solid var(--tag); }
.fv__tags li:nth-child(1) { --tw: 197; --tp: 23; }
.fv__tags li:nth-child(2) { --tw: 219; --tp: 23; }
.fv__tags li:nth-child(3) { --tw: 267; --tp: 23; }
.fv__tags li:nth-child(4) { --tw: 250; --tp: 32; }
.fv__tags li:nth-child(5) { --tw: 150; --tp: 31; }

/* --------------------------------------------------------------------------
   導線の4アイテム
   -------------------------------------------------------------------------- */
.fv__flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv__route-sp { display: none; }

.flow-item {
  --cx: 0;
  position: absolute;
  top: calc(350 * var(--u));
  left: calc((var(--cx) - 170) * var(--u));
  width: calc(340 * var(--u));
  height: calc(425 * var(--u));
}
.flow-item--sns  { --cx: 265.5; }
.flow-item--meo  { --cx: 635; }
.flow-item--web  { --cx: 1025; }
.flow-item--line { --cx: 1424.5; }
.flow-item--web .flow-item__label { letter-spacing: -.085em; }

.flow-item__art {
  position: absolute;
  inset: 0;
}

.flow-item__label {
  position: absolute;
  z-index: 3;
  left: calc(-60 * var(--u));
  right: calc(-60 * var(--u));
  top: calc(379 * var(--u));
  margin: 0;
  text-align: center;
  font-size: calc(35 * var(--u));
  font-weight: 900;
  line-height: calc(42 * var(--u));
  letter-spacing: -.005em;
  font-feature-settings: "palt";
  white-space: nowrap;
}

/* 紙・テープ・ロゴタイル（共通パーツ） */
.paper-card {
  z-index: 2;
  background-color: #f8f8f6;
  background-image: var(--grain);
  background-size: 180px 180px;
  box-shadow:
    0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, .12),
    0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(10, 20, 40, .16);
}

.tape {
  z-index: 5;
  background-color: #22599b;
  background-image: var(--crumple), var(--speck);
  background-size: 140px 140px, 60px 60px;
  background-blend-mode: multiply, normal;
  opacity: .97;
  clip-path: polygon(0 10%, 4% 0, 30% 4%, 62% 1%, 96% 4%, 100% 14%, 97% 28%, 100% 42%, 97% 57%, 100% 72%, 97% 86%, 99% 100%, 70% 96%, 38% 100%, 5% 97%, 2% 86%, 0 72%, 3% 58%, 0 44%, 3% 30%);
}

.logo-tile {
  z-index: 6;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: calc(20 * var(--u));
  box-shadow:
    0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, .1),
    0 calc(6 * var(--u)) calc(14 * var(--u)) rgba(10, 20, 40, .18);
}

/* 1. スマホ（広告・SNS運用） */
.phone {
  --x: 36; --y: 13.5; --w: 190; --h: 335; --r: -9.5;
  z-index: 3;
  background: #fff;
  border-radius: calc(34 * var(--u));
  box-shadow:
    0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(0, 0, 0, .12),
    0 calc(10 * var(--u)) calc(22 * var(--u)) rgba(10, 20, 40, .18);
}
.phone__frame {
  --x: 6; --y: 6; --w: 178; --h: 323;
  background: #fff;
  border: calc(7 * var(--u)) solid #16181c;
  border-radius: calc(28 * var(--u));
}
.phone__avatar {
  --x: 17; --y: 29; --w: 10; --h: 10;
  border: calc(1.8 * var(--u)) solid #3c3f45;
  border-radius: 50%;
}
.phone__name {
  --x: 34; --y: 31; --w: 34; --h: 6;
  background: #cfd4da;
  border-radius: calc(3 * var(--u));
}
.phone__cam {
  --x: 132; --y: 22; --w: 14; --h: 14;
  border: calc(1.8 * var(--u)) solid #3c3f45;
  border-radius: calc(4 * var(--u));
}
.phone__cam::after {
  content: "";
  position: absolute;
  inset: 26%;
  border: calc(1.6 * var(--u)) solid #3c3f45;
  border-radius: 50%;
}
.phone__grid {
  --x: 11; --y: 52; --w: 142.5; --h: 196.5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 72fr 63fr 52fr;
  gap: calc(4.8 * var(--u)) calc(5.8 * var(--u));
}
.phone__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(1 * var(--u));
}
.phone__icon {
  --w: 17; --h: 17; --y: 258;
  fill: none;
  stroke: #1b1d21;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.phone__icon--heart   { --x: 15; }
.phone__icon--comment { --x: 42; }
.phone__icon--send    { --x: 68; }
.phone__icon--save    { --x: 133; }
.phone__home {
  --x: 67; --y: 296; --w: 30; --h: 4;
  background: #e3e4e6;
  border-radius: 99px;
}
.tape--sns { --x: 4.5; --y: 19; --w: 80; --h: 36; --r: -14; }
.logo-tile--meta { --x: 132; --y: 285; --w: 82; --h: 80; z-index: 5; }
.logo-tile--meta svg { width: 78%; }
.logo-tile--ig { --x: 214; --y: 280; --w: 86; --h: 86; }
.logo-tile--ig img { width: 80%; height: auto; }

/* 2. 地図（MEO） */
.map-card {
  --x: 58.5; --y: 164.75; --w: 236; --h: 192; --r: 4.5;
  padding: calc(9 * var(--u));
}
.map {
  width: 100%;
  height: 100%;
  filter: saturate(.9);
}
.tape--meo { --x: 186; --y: 140.5; --w: 64; --h: 36; --r: -3; }
.gmap-pin {
  --x: 142; --y: 203; --w: 57; --h: 80;
  z-index: 6;
  object-fit: contain;
  /* 白いふち（シール風）＋影 */
  filter:
    drop-shadow(calc(3.5 * var(--u)) 0 0 #fff)
    drop-shadow(calc(-3.5 * var(--u)) 0 0 #fff)
    drop-shadow(0 calc(3.5 * var(--u)) 0 #fff)
    drop-shadow(0 calc(-3.5 * var(--u)) 0 #fff)
    drop-shadow(0 calc(3 * var(--u)) calc(4 * var(--u)) rgba(0, 0, 0, .25));
}

/* 3. ブラウザ（Webサイト・LP制作） */
.web-card { --x: 33; --y: 146; --w: 298; --h: 214; --r: 1; }
.web-card__dots {
  --x: 18.5; --y: 10; --w: 44; --h: 10;
  display: flex;
  gap: calc(7 * var(--u));
}
.web-card__dots i {
  flex: none;
  width: calc(10 * var(--u));
  height: calc(10 * var(--u));
  border-radius: 50%;
  background: #10305f;
}
.web-card__bar {
  --x: 21.5; --y: 29; --w: 259; --h: 5;
  background: linear-gradient(90deg, #aab4c2, #c3cad4);
  border-radius: calc(2 * var(--u));
}
.web-card__hero { --x: 21.5; --y: 57; --w: 257; --h: 71; object-fit: cover; }
.web-card__thumb { --y: 145; --w: 74; --h: 25; object-fit: cover; }
.web-card__thumb--1 { --x: 20.5; }
.web-card__thumb--2 { --x: 112.5; }
.web-card__thumb--3 { --x: 204.5; }
.web-card__text {
  --y: 181; --w: 74; --h: 11;
  background:
    linear-gradient(#aab3c0, #aab3c0) 0 0 / 73% calc(4 * var(--u)) no-repeat,
    linear-gradient(#d5dae1, #d5dae1) 0 100% / 100% calc(3 * var(--u)) no-repeat;
}
.web-card__text--1 { --x: 20.5; }
.web-card__text--2 { --x: 112.5; }
.web-card__text--3 { --x: 204.5; }
.tape--web { --x: 160; --y: 131; --w: 70; --h: 38; --r: -4; }
.logo-tile--browser { --x: 258; --y: 288; --w: 96; --h: 78; border-radius: calc(16 * var(--u)); }
.logo-tile--browser svg { width: 70%; }

/* 4. トーク画面（LINE） */
.line-card { --x: 67; --y: 145; --w: 213; --h: 200; --r: 5.5; }
.line-card__avatar {
  --x: 22; --w: 28; --h: 28;
  border-radius: 50%;
  background: #9aa3ad;
}
.line-card__avatar--1 { --y: 37; }
.line-card__avatar--2 { --y: 126; }
.line-card__bubble {
  border-radius: calc(12 * var(--u));
  background: #fff;
  box-shadow: 0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(0, 0, 0, .06);
}
.line-card__bubble--me { --x: 72; --y: 24; --w: 124; --h: 48; background: #93d99a; box-shadow: none; }
.line-card__bubble--1 { --x: 44; --y: 76; --w: 130; --h: 52; }
.line-card__bubble--2 { --x: 46; --y: 134; --w: 130; --h: 50; }
.line-card__bubble i {
  position: absolute;
  left: calc(15 * var(--u));
  height: calc(7 * var(--u));
  border-radius: calc(2 * var(--u));
  background: #c9cacc;
}
.line-card__bubble i:first-child { top: calc(13 * var(--u)); width: calc(92 * var(--u)); }
.line-card__bubble i:last-child  { top: calc(29 * var(--u)); width: calc(50 * var(--u)); background: #d3d4d6; }
.tape--line { --x: 110; --y: 123; --w: 75; --h: 38; --r: -3; }
.logo-tile--line { --x: 194; --y: 272; --w: 94; --h: 94; border-radius: calc(21 * var(--u)); }
.logo-tile--line img { width: 86%; height: auto; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.fv__action {
  position: absolute;
  z-index: 4;
  left: calc(497 * var(--u));
  top: calc(793 * var(--u));
  width: calc(673 * var(--u));
  height: calc(98 * var(--u));
}

.fv__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-right: calc(15 * var(--u));
  background: var(--sky);
  border: calc(3 * var(--u)) solid var(--ink);
  box-shadow: calc(10 * var(--u)) calc(10 * var(--u)) 0 var(--ink);
  color: var(--ink);
  font-size: calc(39.5 * var(--u));
  font-weight: 900;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  text-decoration: none;
  white-space: nowrap;
  transition: translate .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.fv__cta-arrow {
  position: absolute;
  right: calc(40 * var(--u));
  top: 50%;
  width: calc(22 * var(--u));
  height: calc(34 * var(--u));
  translate: 0 -50%;
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate .18s ease;
}

.fv__cta:hover {
  translate: calc(4 * var(--u)) calc(4 * var(--u));
  box-shadow: calc(6 * var(--u)) calc(6 * var(--u)) 0 var(--ink);
  background-color: #95dcfc;
}
.fv__cta:hover .fv__cta-arrow { translate: calc(6 * var(--u)) -50%; }
.fv__cta:active {
  translate: calc(10 * var(--u)) calc(10 * var(--u));
  box-shadow: 0 0 0 var(--ink);
}
.fv__cta:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 6px;
}

/* --------------------------------------------------------------------------
   表示アニメーション（JSが有効な時のみ。動きを減らす設定では無効）
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .anim {
    opacity: 0;
    transition: opacity .7s ease, translate .8s cubic-bezier(.2, .75, .25, 1), scale .8s cubic-bezier(.2, .75, .25, 1);
    transition-delay: var(--d, 0s);
  }
  .js .fv__line,
  .js .fv__lead,
  .js .fv__tags,
  .js .flow-item__label,
  .js .fv__action { translate: 0 calc(18 * var(--u)); }
  .js .flow-item__art .anim { scale: .9; }

  .js.is-ready .anim { opacity: 1; translate: 0 0; scale: 1; }

  .fv__line:nth-child(1) { --d: .05s; }
  .fv__line:nth-child(2) { --d: .18s; }
  .fv__lead { --d: .42s; }
  .fv__tags { --d: .5s; }
  .flow-item--sns  { --d0: .6s; }
  .flow-item--meo  { --d0: .75s; }
  .flow-item--web  { --d0: .9s; }
  .flow-item--line { --d0: 1.05s; }
  .flow-item .anim { --d: var(--d0); }
  .flow-item .tape,
  .flow-item .logo-tile,
  .flow-item .gmap-pin { --d: calc(var(--d0) + .18s); }
  .fv__action { --d: 1.3s; }

  .js .fv__underline {
    clip-path: inset(-60% 100% -60% 0);
    transition: clip-path .7s cubic-bezier(.6, 0, .3, 1) .55s;
  }
  .js.is-ready .fv__underline { clip-path: inset(-60% 0 -60% 0); }

  .js .route__line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset .9s ease .9s;
  }
  .js .route__head,
  .js .sparks {
    opacity: 0;
    transition: opacity .5s ease 1.5s;
  }
  .js.is-ready .route__line { stroke-dashoffset: 0; }
  .js.is-ready .route__head,
  .js.is-ready .sparks { opacity: 1; }
}

/* --------------------------------------------------------------------------
   スマホ・タブレット縦（899px以下）
   -------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .fv__stage {
    --u: calc((100cqw - 32px) / 708);
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
    padding: calc(var(--header-h) + 28px) 16px 44px;
  }

  .fv__stage::before,
  .fv__stage::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: var(--sky-pale);
  }
  .fv__stage::before { width: 190px; height: 190px; left: -120px; top: 40px; }
  .fv__stage::after  { width: 220px; height: 220px; right: -140px; bottom: 150px; }

  .fv__decor,
  .fv__route { display: none; }

  .fv__title,
  .fv__lead,
  .fv__tags,
  .fv__flow,
  .fv__action {
    position: relative;
    z-index: 3;
    left: auto;
    right: auto;
    top: auto;
  }

  .fv__title {
    width: 100%;
    font-size: min(7.3cqw, 52px);
    line-height: 1.18;
  }

  .fv__lead {
    margin-top: 18px;
    padding-left: 0;
    font-size: clamp(12px, 3.45cqw, 17px);
    line-height: 1.75;
    font-feature-settings: "palt";
    word-break: auto-phrase;
  }

  .fv__tags {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 6px;
    margin-top: 16px;
    font-size: 12.5px;
    line-height: 1.4;
    white-space: normal;
  }
  .fv__tags li,
  .fv__tags li:nth-child(n) {
    width: auto;
    padding: 4px 11px;
    border: 1.5px solid var(--tag);
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
  }

  .fv__flow {
    display: grid;
    grid-template-columns: repeat(2, calc(340 * var(--u)));
    gap: calc(50 * var(--u)) calc(28 * var(--u));
    margin-top: 16px;
  }
  .flow-item {
    position: relative;
    top: auto;
    left: auto;
    height: calc(430 * var(--u));
  }
  .flow-item__art::before {
    content: "";
    position: absolute;
    left: calc(35 * var(--u));
    top: calc(110 * var(--u));
    width: calc(270 * var(--u));
    height: calc(270 * var(--u));
    border-radius: 50%;
    background: var(--sky-pale);
  }
  .flow-item--web,
  .flow-item--line { margin-top: calc(-110 * var(--u)); }

  /* 導線：グリッド全体（708×800）に重ねる。紙カードより下、水色の円より上 */
  .fv__route-sp {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }
  .fv__route-sp svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .flow-item__label { top: calc(388 * var(--u)); font-size: calc(35 * var(--u)); }

  .fv__action {
    width: 100%;
    max-width: 480px;
    height: 64px;
    margin-top: 20px;
  }
  .fv__cta {
    padding: 0 44px 0 18px;
    border-width: 2.5px;
    box-shadow: 6px 6px 0 var(--ink);
    font-size: min(4.6cqw, 22px);
  }
  .fv__cta-arrow { right: 20px; width: 14px; height: 22px; }
  .fv__cta:hover { translate: 3px 3px; box-shadow: 3px 3px 0 var(--ink); }
  .fv__cta:hover .fv__cta-arrow { translate: 4px -50%; }
  .fv__cta:active { translate: 6px 6px; box-shadow: 0 0 0 var(--ink); }
}

/* ==========================================================================
   共通パーツ（ヘッダー・ボタン・見出し）
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { white-space: nowrap; }

/* 装飾（円・テープ）が画面の横からはみ出してもスクロールさせない */
main { overflow-x: clip; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.btn {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}
.btn--sky {
  background: var(--sky);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: translate .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn--sky:hover { translate: 2px 2px; box-shadow: 2px 2px 0 var(--ink); background-color: #95dcfc; }
.btn--sky:active { translate: 4px 4px; box-shadow: 0 0 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background-color: rgba(251, 251, 249, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(15, 28, 63, .08), 0 8px 24px rgba(15, 28, 63, .06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 40px);
  max-width: 1920px;
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 56px);
}
.site-header__logo { flex: none; display: block; line-height: 0; }
.site-header__logo img { width: auto; height: calc(var(--header-h) * .5); }
.site-header__logo:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

.site-nav { display: flex; align-items: center; margin-left: auto; }
.site-nav__list {
  display: flex;
  gap: clamp(18px, 2.1vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list a {
  position: relative;
  display: block;
  padding: 6px 0;
  color: var(--ink);
  font-size: clamp(13px, .98vw, 16px);
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--navy);
  scale: 0 1;
  transform-origin: left;
  transition: scale .25s ease;
}
.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after { scale: 1 1; }
.site-nav__list a:focus-visible { outline: none; }
.site-nav__cta { display: none; }

.site-header__cta {
  flex: none;
  height: calc(var(--header-h) * .6);
  padding-inline: 1.5em;
  font-size: clamp(13px, .98vw, 16px);
}
.site-header__menu { display: none; }

.sec-title {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 3.1vw, 48px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
.sec-title--left { text-align: left; }

.marker {
  padding-inline: .06em;
  background: linear-gradient(transparent 60%, rgba(130, 211, 251, .8) 60%, rgba(130, 211, 251, .8) 92%, transparent 92%);
}

/* 見出し両脇の手描きアクセント（FVの見出しと同じ形） */
.sparks-pair {
  position: relative;
  display: inline-block;
  width: .9em;
  height: 1em;
  margin-inline: .2em .35em;
  vertical-align: -.12em;
}
.sparks-pair--r { margin-inline: .35em .2em; }
.sparks-pair i {
  position: absolute;
  right: 0;
  height: .12em;
  border-radius: 99px;
  background: var(--navy-line);
}
.sparks-pair i:nth-child(1) { top: .2em; width: .5em; rotate: 52deg; }
.sparks-pair i:nth-child(2) { top: .66em; width: .62em; rotate: 24deg; }
.sparks-pair--r i { right: auto; left: 0; }
.sparks-pair--r i:nth-child(1) { rotate: -52deg; }
.sparks-pair--r i:nth-child(2) { rotate: -24deg; }

.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 紙の質感（白い紙・影） */
.paper {
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 28px rgba(10, 20, 40, .10);
}

/* ==========================================================================
   2. お悩み
   ========================================================================== */
.worries {
  position: relative;
  padding-top: clamp(88px, 9vw, 150px);
}
.worries__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3vw, 48px) clamp(20px, 2.4vw, 36px);
  margin: clamp(52px, 5vw, 76px) 0 0;
  padding: 0;
  list-style: none;
}
.worry-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(16px, 1.6vw, 22px);
  padding: 34px 26px 30px;
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 28px rgba(10, 20, 40, .10);
  rotate: var(--tilt, 0deg);
}
.worry-card:nth-child(1) { --tilt: -.8deg; }
.worry-card:nth-child(2) { --tilt: .6deg; }
.worry-card:nth-child(3) { --tilt: -.4deg; }
.worry-card:nth-child(4) { --tilt: .7deg; }
.worry-card:nth-child(5) { --tilt: -.6deg; }
.worry-card:nth-child(6) { --tilt: .5deg; }
.worry-card__tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 84px;
  height: 28px;
  translate: -50% 0;
  rotate: -3deg;
}
.worry-card:nth-child(even) .worry-card__tape { rotate: 4deg; }
.worry-card__head {
  position: relative;
  display: block;
  align-self: center;
}
/* チェックはアイコンの右下にバッジとして重ねる（上に空いた帯を作らない） */
.worry-card__check {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 26px;
  height: 26px;
  fill: #fff;
  filter: drop-shadow(0 1px 1.5px rgba(10, 20, 40, .18));
  stroke: var(--navy);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.worry-card__check path { fill: none; stroke-width: 3; }
.worry-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--sky-pale);
}
.worry-card p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: pretty;
}

.worries__arrow {
  display: block;
  width: 52px;
  height: 78px;
  margin: clamp(44px, 4vw, 64px) auto 16px;
  color: var(--navy-line);
}

/* 結論の帯：紺の破れ紙 */
.cause {
  position: relative;
  padding-block: clamp(64px, 6.5vw, 100px);
  color: #fff;
  background-color: #1d5190;
  background-image: var(--crumple);
  background-size: 260px 260px;
  background-blend-mode: multiply;
  clip-path: polygon(0.0% 7px, 2.78% 4px, 5.56% 11px, 8.33% 3px, 11.11% 10px, 13.89% 7px, 16.67% 3px, 19.44% 9px, 22.22% 3px, 25.0% 8px, 27.78% 3px, 30.56% 3px, 33.33% 8px, 36.11% 14px, 38.89% 4px, 41.67% 5px, 44.44% 11px, 47.22% 15px, 50.0% 10px, 52.78% 8px, 55.56% 16px, 58.33% 3px, 61.11% 14px, 63.89% 6px, 66.67% 4px, 69.44% 4px, 72.22% 6px, 75.0% 13px, 77.78% 5px, 80.56% 10px, 83.33% 11px, 86.11% 7px, 88.89% 10px, 91.67% 3px, 94.44% 3px, 97.22% 5px, 100.0% 12px, 100.0% calc(100% - 16px), 97.22% calc(100% - 11px), 94.44% calc(100% - 12px), 91.67% calc(100% - 3px), 88.89% calc(100% - 11px), 86.11% calc(100% - 9px), 83.33% calc(100% - 15px), 80.56% calc(100% - 14px), 77.78% calc(100% - 8px), 75.0% calc(100% - 10px), 72.22% calc(100% - 10px), 69.44% calc(100% - 12px), 66.67% calc(100% - 6px), 63.89% calc(100% - 14px), 61.11% calc(100% - 10px), 58.33% calc(100% - 13px), 55.56% calc(100% - 11px), 52.78% calc(100% - 3px), 50.0% calc(100% - 9px), 47.22% calc(100% - 4px), 44.44% calc(100% - 13px), 41.67% calc(100% - 8px), 38.89% calc(100% - 4px), 36.11% calc(100% - 16px), 33.33% calc(100% - 6px), 30.56% calc(100% - 12px), 27.78% calc(100% - 14px), 25.0% calc(100% - 9px), 22.22% calc(100% - 10px), 19.44% calc(100% - 5px), 16.67% calc(100% - 12px), 13.89% calc(100% - 13px), 11.11% calc(100% - 6px), 8.33% calc(100% - 8px), 5.56% calc(100% - 10px), 2.78% calc(100% - 6px), 0.0% calc(100% - 8px));
}
.cause::before,
.cause::after {
  content: "";
  position: absolute;
  width: clamp(120px, 16vw, 240px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(130, 211, 251, .55) 1.5px, transparent 2px) 0 0 / 14px 14px;
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent);
  mask: radial-gradient(closest-side, #000 40%, transparent);
  pointer-events: none;
}
.cause::before { left: 3%; top: 10%; }
.cause::after { right: 4%; bottom: 8%; }
.cause__inner { position: relative; z-index: 1; }
.cause__text {
  margin: 0;
  text-align: center;
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 2;
  letter-spacing: .04em;
}
.cause__em {
  position: relative;
  display: inline-block;
  margin-block: .2em .15em;
  color: var(--sky);
  font-size: clamp(22px, 2.9vw, 44px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
.cause__line {
  position: absolute;
  left: 4%;
  bottom: -.14em;
  width: 92%;
  height: .28em;
  color: rgba(255, 255, 255, .92);
}

/* ==========================================================================
   3. AdRystaの考え方
   ========================================================================== */
.about {
  position: relative;
  padding-block: clamp(100px, 10vw, 170px);
}
.about::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8vw;
  top: 12%;
  width: clamp(280px, 34vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sky-pale);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(44px, 5.5vw, 96px);
  align-items: center;
}
.about__title {
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.55;
}
.about__dot { color: #8b93a2; }
.about__line {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: var(--navy);
}
.about__line .brush,
.vision__em .brush {
  position: absolute;
  z-index: -1;
  left: -.08em;
  bottom: -.14em;
  width: calc(100% + .12em);
  height: .3em;
  overflow: visible;
}
.about__line .brush { color: #063874; }
.about__text { margin-top: clamp(28px, 3vw, 44px); }
.about__text p {
  margin: 0 0 1.4em;
  color: #1f2430;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: .03em;
}
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { font-weight: 800; }

.about__sheet {
  position: relative;
  padding: clamp(40px, 4vw, 64px) clamp(28px, 3.4vw, 56px);
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 16px 36px rgba(10, 20, 40, .12);
  rotate: .8deg;
}
.about__tape {
  position: absolute;
  top: 4px;
  width: 92px;
  height: 30px;
}
.about__tape--l { left: -22px; rotate: -34deg; }
.about__tape--r { right: -22px; rotate: 34deg; }

.route-steps {
  --gap: clamp(28px, 2.8vw, 40px);
  --node: 76px;
  position: relative;
  display: grid;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.route-steps::before {
  content: "";
  position: absolute;
  left: calc(var(--node) / 2 - 2px);
  top: calc(var(--node) / 2);
  bottom: calc(var(--node) / 2);
  border-left: 4px solid var(--navy-line);
  border-radius: 4px;
}
.route-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}
.route-step + .route-step::before {
  content: "";
  position: absolute;
  left: calc(var(--node) / 2 - 8px);
  top: calc(var(--gap) / -2 - 10px);
  width: 12px;
  height: 12px;
  border-right: 4px solid var(--navy-line);
  border-bottom: 4px solid var(--navy-line);
  rotate: 45deg;
}
.route-step__node {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border: 3px solid var(--navy-line);
  border-radius: 50%;
  background: var(--sky-pale);
  box-shadow: 0 0 0 6px #fff;
}
.route-step__node .icon { width: 34px; height: 34px; }
.route-step__title {
  display: block;
  font-size: clamp(19px, 1.75vw, 27px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .04em;
}
.route-step__tag {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 12px;
  border: 1.5px solid var(--tag);
  border-radius: 99px;
  color: var(--tag);
  font-size: clamp(12px, .98vw, 15px);
  font-weight: 700;
  letter-spacing: .02em;
}

/* ==========================================================================
   4. ビジョン
   ========================================================================== */
.vision {
  position: relative;
  overflow: hidden;
  padding-block: clamp(130px, 12vw, 210px) clamp(120px, 11vw, 190px);
  color: #fff;
  background-color: #1b4c8a;
  background-image: var(--crumple);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  clip-path: polygon(0.0% 18px, 2.5% 8px, 5.0% 10px, 7.5% 15px, 10.0% 2px, 12.5% 11px, 15.0% 5px, 17.5% 4px, 20.0% 3px, 22.5% 17px, 25.0% 5px, 27.5% 7px, 30.0% 10px, 32.5% 19px, 35.0% 4px, 37.5% 11px, 40.0% 13px, 42.5% 20px, 45.0% 18px, 47.5% 19px, 50.0% 8px, 52.5% 10px, 55.0% 9px, 57.5% 20px, 60.0% 21px, 62.5% 5px, 65.0% 6px, 67.5% 7px, 70.0% 7px, 72.5% 12px, 75.0% 14px, 77.5% 7px, 80.0% 2px, 82.5% 10px, 85.0% 9px, 87.5% 13px, 90.0% 21px, 92.5% 16px, 95.0% 12px, 97.5% 14px, 100.0% 16px, 100% 100%, 0 100%);
}
.vision__deco { position: absolute; inset: 0; pointer-events: none; }
.vision__mark {
  position: absolute;
  right: -3%;
  bottom: -14%;
  width: clamp(280px, 40vw, 640px);
  aspect-ratio: 420 / 359;
  background: rgba(255, 255, 255, .06);
  -webkit-mask: url("../images/logo-adrysta-mark.png") center / contain no-repeat;
  mask: url("../images/logo-adrysta-mark.png") center / contain no-repeat;
}
.vision__knot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(130, 211, 251, .5);
}
.vision__dot {
  position: absolute;
  width: clamp(18px, 1.6vw, 28px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sky);
  translate: -50% -50%;
}
.vision__dot--l { left: 4.9%; top: 35.7%; }
.vision__dot--r { left: 95.1%; top: 58.9%; }
.vision__deco::before {
  content: "";
  position: absolute;
  left: 4%;
  top: 14%;
  width: clamp(140px, 18vw, 280px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(130, 211, 251, .5) 1.5px, transparent 2px) 0 0 / 14px 14px;
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent);
  mask: radial-gradient(closest-side, #000 40%, transparent);
}
.vision__inner { position: relative; text-align: center; }
.vision__label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding-left: .3em;
  color: var(--sky);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 800;
  letter-spacing: .3em;
}
.vision__label::before,
.vision__label::after {
  content: "";
  width: 40px;
  height: 2px;
  background: currentColor;
}
.vision__catch {
  margin: clamp(28px, 3vw, 44px) 0 0;
  font-size: clamp(28px, 4.4vw, 68px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
.vision__em {
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.vision__em .brush { color: #3a8fd6; bottom: -.12em; }
.vision__sub {
  margin: clamp(28px, 3vw, 44px) 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 700;
  line-height: 2.1;
  letter-spacing: .06em;
  word-break: auto-phrase;
}

/* スクロール表示（JSが有効・動きを許可している時のみ） */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .8s ease, translate .9s cubic-bezier(.2, .75, .25, 1);
    transition-delay: var(--rd, 0s);
  }
  .js .reveal.is-inview { opacity: 1; translate: 0 0; }
  .worry-card:nth-child(3n + 2) { --rd: .12s; }
  .worry-card:nth-child(3n) { --rd: .24s; }
  .route-step:nth-child(2) { --rd: .12s; }
  .route-step:nth-child(3) { --rd: .24s; }
  .route-step:nth-child(4) { --rd: .36s; }
  .about__text,
  .vision__catch { --rd: .12s; }
  .vision__sub { --rd: .24s; }
}

/* ==========================================================================
   スマホ・タブレット縦（899px以下）：ヘッダー・各セクション
   ========================================================================== */
@media (max-width: 899px) {
  :root { --header-h: 60px; }

  .site-header__logo img { height: 26px; }
  .site-header__cta { display: none; }
  .site-header__menu {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: -6px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .site-header__menu i {
    display: block;
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .2s ease;
  }
  .site-header__menu:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
  .is-open .site-header__menu i:nth-of-type(1) { transform: translateY(7.5px) rotate(45deg); }
  .is-open .site-header__menu i:nth-of-type(2) { opacity: 0; }
  .is-open .site-header__menu i:nth-of-type(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* ヘッダー：スマホではぼかしを使わない（全画面メニューの位置がずれるため） */
  .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(251, 251, 249, .97);
  }
  .site-header.is-open {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: transparent;
    box-shadow: none;
  }
  .site-header__logo,
  .site-header__menu { position: relative; z-index: 1; }
  .site-header__logo img { transition: filter .3s ease; }
  .is-open .site-header__logo img { filter: brightness(0) invert(1); }
  .is-open .site-header__menu i { background: #fff; }
  .is-open .site-header__menu:focus-visible { outline-color: var(--sky); }

  /* 全画面メニュー：右から横にスライドして出る */
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    margin: 0;
    padding: calc(var(--header-h) + 24px) 28px calc(36px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #fff;
    background-color: #1b4c8a;
    background-image: var(--crumple);
    background-size: 300px 300px;
    background-blend-mode: multiply;
    translate: 100% 0;
    visibility: hidden;
    transition: translate .45s cubic-bezier(.3, .7, .2, 1), visibility 0s linear .45s;
  }
  .is-open .site-nav {
    translate: 0 0;
    visibility: visible;
    transition: translate .5s cubic-bezier(.2, .8, .2, 1), visibility 0s;
  }
  .site-nav::before {
    content: "";
    position: absolute;
    right: -14%;
    bottom: -4%;
    width: 86vw;
    max-width: 520px;
    aspect-ratio: 420 / 359;
    background: rgba(255, 255, 255, .06);
    -webkit-mask: url("../images/logo-adrysta-mark.png") center / contain no-repeat;
    mask: url("../images/logo-adrysta-mark.png") center / contain no-repeat;
    pointer-events: none;
  }
  .site-nav::after {
    content: "";
    position: absolute;
    left: -30px;
    top: calc(var(--header-h) - 10px);
    width: 180px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(130, 211, 251, .45) 1.5px, transparent 2px) 0 0 / 14px 14px;
    -webkit-mask: radial-gradient(closest-side, #000 40%, transparent);
    mask: radial-gradient(closest-side, #000 40%, transparent);
    pointer-events: none;
  }
  .site-nav__list {
    position: relative;
    z-index: 1;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
  }
  .site-nav__list li {
    opacity: 0;
    translate: 28px 0;
    transition: opacity .3s ease, translate .3s ease;
  }
  .is-open .site-nav__list li {
    opacity: 1;
    translate: 0 0;
    transition: opacity .45s ease, translate .55s cubic-bezier(.2, .8, .2, 1);
    transition-delay: calc(.14s + var(--i, 0) * .05s);
  }
  .site-nav__list li:nth-child(2) { --i: 1; }
  .site-nav__list li:nth-child(3) { --i: 2; }
  .site-nav__list li:nth-child(4) { --i: 3; }
  .site-nav__list li:nth-child(5) { --i: 4; }
  .site-nav__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .06em;
  }
  .site-nav__list a::after {
    position: static;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid var(--sky);
    border-bottom: 2.5px solid var(--sky);
    background: none;
    scale: none;
    rotate: -45deg;
    transition: translate .2s ease;
  }
  .site-nav__list a:hover::after,
  .site-nav__list a:focus-visible::after { scale: none; translate: 4px 0; }
  .site-nav__list a:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
  .site-nav__cta {
    position: relative;
    z-index: 1;
    display: flex;
    height: 58px;
    margin-top: 4px;
    font-size: 17px;
    opacity: 0;
    translate: 28px 0;
    transition: opacity .3s ease, translate .3s ease;
  }
  .is-open .site-nav__cta {
    opacity: 1;
    translate: 0 0;
    transition: opacity .45s ease .42s, translate .55s cubic-bezier(.2, .8, .2, 1) .42s;
  }
  .site-nav__cta:focus-visible { outline-color: var(--sky); }
  html.is-menu-open { overflow: hidden; }

  .container { padding-inline: 16px; }

  .worries__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__sheet { rotate: .5deg; }
  .about::before { right: -30vw; top: auto; bottom: 8%; width: 70vw; }
}

@media (max-width: 599px) {
  .sec-title { font-size: min(6.2vw, 30px); }
  .sec-title .sparks-pair { display: none; }
  .worries__list { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .worry-card { padding: 30px 20px 24px; column-gap: 16px; }
  .worry-card__icon { width: 52px; height: 52px; }
  .cause__em { font-size: min(5.2vw, 28px); }
  .about__title { font-size: min(6.2vw, 30px); }
  .route-steps { --node: 56px; --gap: 26px; }
  .route-step { gap: 16px; }
  .route-step__node .icon { width: 26px; height: 26px; }
  .vision__catch { font-size: min(7.4vw, 36px); }
  .vision__knot,
  .vision__dot { display: none; }
  .vision__sub { font-size: min(3.9vw, 15px); letter-spacing: .02em; }
  .vision__label::before,
  .vision__label::after { width: 28px; }
}

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .site-nav,
  .is-open .site-nav,
  .site-nav__list li,
  .is-open .site-nav__list li,
  .site-nav__cta,
  .is-open .site-nav__cta { transition: none; }
}

/* ==========================================================================
   5〜11 共通：リード文・CTA・要確認マーカー・ロゴチップ
   ========================================================================== */
.sec-lead {
  max-width: 760px;
  margin: 22px auto 0;
  color: #1f2430;
  text-align: center;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: .03em;
}

/* 公開前に確認が必要な箇所の目印（原稿の[要確認]）。確定したら削除する */
.tbc {
  display: inline-block;
  margin-left: .4em;
  padding: .05em .55em;
  border: 1.5px dashed #c77700;
  border-radius: 4px;
  background: #fff4d6;
  color: #7a4a00;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .02em;
  vertical-align: .1em;
  white-space: nowrap;
}

.btn--lg {
  gap: 18px;
  height: 66px;
  padding-inline: 2.4em;
  border-width: 2.5px;
  box-shadow: 6px 6px 0 var(--ink);
  font-size: clamp(16px, 1.3vw, 19px);
}
.btn--lg:hover { translate: 3px 3px; box-shadow: 3px 3px 0 var(--ink); }
.btn--lg:active { translate: 6px 6px; box-shadow: 0 0 0 var(--ink); }
.btn__arrow {
  width: 12px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate .18s ease;
}
.btn:hover .btn__arrow { translate: 4px 0; }

.cta-block {
  margin-top: clamp(56px, 5.5vw, 80px);
  text-align: center;
}
.cta-block__text {
  margin: 0 0 24px;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: .03em;
}

.logo-chip {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 4px 10px rgba(10, 20, 40, .12);
}
.logo-chip img,
.logo-chip svg { width: 70%; height: auto; }
.logo-chip--icon { background: var(--sky-pale); box-shadow: none; }
.logo-chip--icon .icon { width: 28px; }

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  color: #1f2430;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: .02em;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23d8edfb'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23062d5f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   5. サービス
   ========================================================================== */
.services {
  position: relative;
  padding-block: clamp(110px, 11vw, 180px) clamp(96px, 9vw, 150px);
}
.service-list {
  display: grid;
  gap: clamp(36px, 3.4vw, 48px);
  max-width: 1080px;
  margin: clamp(52px, 5vw, 76px) auto 0;
  padding: 0;
  list-style: none;
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 60px);
  padding: clamp(38px, 3.6vw, 54px) clamp(26px, 3.6vw, 60px);
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 14px 32px rgba(10, 20, 40, .10);
  rotate: var(--tilt, 0deg);
}
.service-card:nth-child(odd) { --tilt: -.35deg; }
.service-card:nth-child(even) { --tilt: .35deg; }
.service-card__tape {
  position: absolute;
  top: -14px;
  left: 56px;
  width: 88px;
  height: 28px;
  rotate: -4deg;
}
.service-card:nth-child(even) .service-card__tape { left: auto; right: 56px; rotate: 5deg; }
.service-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.service-card__num {
  color: var(--sky);
  font-size: clamp(44px, 4.2vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  -webkit-text-stroke: 2px var(--navy);
  paint-order: stroke fill;
}
.service-card__title {
  margin: 0;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .03em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
}
.service-card__logos { display: flex; gap: 12px; margin-top: 4px; }
.service-card__body { align-self: center; }
/* 制作実績（一部）：実際のサイトへ飛べるカード */
.works { margin-top: 26px; }
.works__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
}
.works__label::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, rgba(11, 42, 95, .35) 0 6px, transparent 6px 11px);
}
.works__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.work-card {
  display: block;
  overflow: hidden;
  border: 1.5px solid rgba(15, 28, 63, .12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(10, 20, 40, .06);
  transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.work-card:hover { translate: 0 -4px; border-color: var(--navy); box-shadow: 0 14px 28px rgba(10, 20, 40, .14); }
.work-card:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.work-card__shot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding-top: 18px;
  background: #eef2f6;
}
.work-card__bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 18px;
  padding-inline: 8px;
  background: #e3e8ef;
}
.work-card__bar i { width: 6px; height: 6px; border-radius: 50%; background: #b8c2d0; }
.work-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: scale .5s cubic-bezier(.2, .8, .2, 1);
}
.work-card:hover .work-card__shot img { scale: 1.05; }
.work-card__body { display: grid; gap: 6px; padding: 12px 14px 14px; }
.work-card__name { font-size: 14.5px; font-weight: 800; line-height: 1.5; }
.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
}
.work-card__tag { padding: 1px 10px; border-radius: 99px; background: var(--sky-pale); color: var(--tag); }
.work-card__go { display: inline-flex; align-items: center; gap: 4px; color: var(--navy); }
.work-card__go svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate .2s ease;
}
.work-card:hover .work-card__go svg { translate: 2px -2px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.text-link svg {
  width: 9px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: translate .2s ease;
}
.text-link:hover svg { translate: 3px 0; }
.text-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

/* ==========================================================================
   6. 選ばれる理由（水色の破れ紙の帯）
   ========================================================================== */
.reasons {
  position: relative;
  padding-block: clamp(110px, 10vw, 170px);
  background-color: #e3f2fc;
  background-image:
    radial-gradient(circle, rgba(6, 45, 95, .12) 1.2px, transparent 1.6px),
    var(--grain);
  background-size: 18px 18px, 220px 220px;
  clip-path: polygon(0.0% 4px, 2.78% 12px, 5.56% 11px, 8.33% 9px, 11.11% 5px, 13.89% 13px, 16.67% 13px, 19.44% 9px, 22.22% 9px, 25.0% 5px, 27.78% 2px, 30.56% 7px, 33.33% 10px, 36.11% 3px, 38.89% 13px, 41.67% 5px, 44.44% 5px, 47.22% 3px, 50.0% 16px, 52.78% 12px, 55.56% 14px, 58.33% 11px, 61.11% 2px, 63.89% 7px, 66.67% 9px, 69.44% 4px, 72.22% 15px, 75.0% 7px, 77.78% 4px, 80.56% 13px, 83.33% 4px, 86.11% 15px, 88.89% 8px, 91.67% 10px, 94.44% 7px, 97.22% 9px, 100.0% 5px, 100.0% calc(100% - 4px), 97.22% calc(100% - 5px), 94.44% calc(100% - 11px), 91.67% calc(100% - 10px), 88.89% calc(100% - 11px), 86.11% calc(100% - 5px), 83.33% calc(100% - 12px), 80.56% calc(100% - 10px), 77.78% calc(100% - 9px), 75.0% calc(100% - 9px), 72.22% calc(100% - 16px), 69.44% calc(100% - 12px), 66.67% calc(100% - 3px), 63.89% calc(100% - 2px), 61.11% calc(100% - 7px), 58.33% calc(100% - 16px), 55.56% calc(100% - 7px), 52.78% calc(100% - 8px), 50.0% calc(100% - 7px), 47.22% calc(100% - 8px), 44.44% calc(100% - 14px), 41.67% calc(100% - 15px), 38.89% calc(100% - 5px), 36.11% calc(100% - 14px), 33.33% calc(100% - 9px), 30.56% calc(100% - 4px), 27.78% calc(100% - 12px), 25.0% calc(100% - 10px), 22.22% calc(100% - 13px), 19.44% calc(100% - 13px), 16.67% calc(100% - 15px), 13.89% calc(100% - 16px), 11.11% calc(100% - 5px), 8.33% calc(100% - 13px), 5.56% calc(100% - 5px), 2.78% calc(100% - 14px), 0.0% calc(100% - 3px));
}
.reasons__em {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: var(--navy);
}
.reasons__em .brush {
  position: absolute;
  z-index: -1;
  left: -.06em;
  bottom: -.14em;
  width: calc(100% + .1em);
  height: .3em;
  overflow: visible;
  color: var(--sky);
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 4vw, 60px) clamp(24px, 2.6vw, 40px);
  max-width: 1080px;
  margin: clamp(64px, 6vw, 90px) auto 0;
  padding: 0;
  list-style: none;
}
.reason-card {
  position: relative;
  padding: clamp(46px, 4vw, 60px) clamp(26px, 3vw, 44px) clamp(30px, 3vw, 42px);
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 14px 32px rgba(10, 20, 40, .10);
}
.reason-card__num {
  position: absolute;
  top: -30px;
  left: clamp(22px, 2.4vw, 36px);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--sky);
}
.reason-card__title {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
}
.reason-card p {
  margin: 16px 0 0;
  color: #1f2430;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: .02em;
}

/* ==========================================================================
   7. 流れ
   ========================================================================== */
.flow {
  position: relative;
  padding-block: clamp(110px, 10vw, 170px) clamp(96px, 9vw, 150px);
}
.flow-steps {
  --num: 84px;
  --gap: clamp(14px, 1.6vw, 26px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  margin: clamp(56px, 5.5vw, 84px) 0 0;
  padding: 0;
  list-style: none;
}
.flow-steps::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: calc(var(--num) / 2 - 2px);
  border-top: 4px solid var(--navy-line);
  border-radius: 4px;
}
.flow-step { position: relative; display: flex; flex-direction: column; }
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  left: calc(var(--gap) / -2 - 9px);
  top: calc(var(--num) / 2 - 9px);
  width: 14px;
  height: 14px;
  border-top: 4px solid var(--navy-line);
  border-right: 4px solid var(--navy-line);
  rotate: 45deg;
}
.flow-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--num);
  height: var(--num);
  margin-inline: auto;
  border: 3px solid var(--navy-line);
  border-radius: 50%;
  background: var(--sky-pale);
  color: var(--navy);
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 0 0 8px var(--paper);
}
.flow-step__card {
  flex: 1;
  margin-top: 24px;
  padding: 24px 20px 22px;
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 10px 24px rgba(10, 20, 40, .09);
}
.flow-step__title {
  margin: 0;
  text-align: center;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
.flow-step__card p {
  margin: 12px 0 0;
  color: #1f2430;
  font-size: clamp(14px, 1vw, 15.5px);
  font-weight: 500;
  line-height: 1.9;
  word-break: auto-phrase;
}

/* ==========================================================================
   8. 代表メッセージ（手紙）
   ========================================================================== */
.message {
  position: relative;
  padding-block: clamp(90px, 8vw, 140px) clamp(110px, 10vw, 170px);
}
.message::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10vw;
  top: 18%;
  width: clamp(260px, 30vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sky-pale);
}
.message__letter {
  position: relative;
  max-width: 900px;
  margin: clamp(52px, 5vw, 76px) auto 0;
  padding: clamp(52px, 5.4vw, 84px) clamp(26px, 6vw, 96px) clamp(40px, 4.6vw, 70px);
  overflow: hidden;
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 18px 40px rgba(10, 20, 40, .12);
  rotate: -.4deg;
}
.message__letter::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 300px;
  aspect-ratio: 420 / 359;
  background: rgba(6, 45, 95, .045);
  -webkit-mask: url("../images/logo-adrysta-mark.png") center / contain no-repeat;
  mask: url("../images/logo-adrysta-mark.png") center / contain no-repeat;
  pointer-events: none;
}
.message__tape { position: absolute; top: 10px; width: 96px; height: 30px; }
.message__tape--l { left: -20px; rotate: -32deg; }
.message__tape--r { right: -20px; rotate: 32deg; }
.message__quote {
  position: absolute;
  left: clamp(14px, 2.6vw, 44px);
  top: clamp(8px, 1.4vw, 22px);
  color: var(--sky);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 8vw, 120px);
  font-weight: 700;
  line-height: 1;
}
.message__letter > p {
  position: relative;
  margin: 0 0 1.7em;
  color: #1f2430;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: .03em;
}
.message__letter strong { font-weight: 800; }
.message__letter > .message__sign {
  margin: 36px 0 0;
  text-align: right;
  font-weight: 800;
}
.message__role { font-size: clamp(14px, 1.05vw, 16px); color: var(--navy); letter-spacing: .06em; }
.message__name { font-size: clamp(22px, 2vw, 30px); font-weight: 900; letter-spacing: .12em; }
.message__profile {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1.5px dashed rgba(11, 42, 95, .25);
}
.message__profile-label {
  padding: 4px 12px;
  border: 1.5px solid var(--tag);
  border-radius: 99px;
  color: var(--tag);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.message__profile p {
  margin: 0;
  color: #3a4150;
  font-size: clamp(14px, 1vw, 15.5px);
  font-weight: 500;
  line-height: 1.95;
}

/* ==========================================================================
   9. よくあるご質問
   ========================================================================== */
.faq {
  position: relative;
  padding-block: clamp(90px, 8vw, 140px) clamp(120px, 11vw, 190px);
}
.faq-list {
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin: clamp(48px, 5vw, 72px) auto 0;
}
.faq-item {
  position: relative;
  overflow: hidden;
  transition: box-shadow .35s ease, translate .35s ease;
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 8px 20px rgba(10, 20, 40, .08);
}
.faq-item summary {
  position: relative;
  display: flex;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  gap: 16px;
  padding: 22px 64px 22px 22px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(15.5px, 1.2vw, 18px);
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* 開閉アイコン：＋ → − に回転。開いている時は水色の丸 */
.faq-toggle {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sky-pale);
  translate: 0 -50%;
  transition: background-color .35s ease, rotate .45s cubic-bezier(.2, .8, .2, 1);
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  translate: -50% -50%;
  transition: rotate .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.faq-toggle::after { rotate: 90deg; }
.faq-item summary:hover .faq-toggle { background: var(--sky); }
.faq-item[open] .faq-toggle { background: var(--sky); rotate: 180deg; }
.faq-item[open] .faq-toggle::after { rotate: 0deg; opacity: 0; }
/* 開いている質問：左に水色の帯、影を強く */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--sky);
  scale: 1 0;
  transform-origin: top;
  transition: scale .45s cubic-bezier(.2, .8, .2, 1);
}
.faq-item[open]::before { scale: 1 1; }
.faq-item[open] { box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 16px 34px rgba(10, 20, 40, .13); }
.faq-mark--q { transition: background-color .3s ease, color .3s ease, scale .3s ease; }
.faq-item summary:hover .faq-mark--q { scale: 1.08; }
.faq-item__q { transition: color .25s ease; }
.faq-item summary:hover .faq-item__q,
.faq-item[open] .faq-item__q { color: var(--navy); }
.faq-item summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
.faq-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
}
.faq-mark--q { background: var(--navy); color: #fff; }
.faq-mark--a { background: var(--sky); color: var(--ink); }
.faq-item__a { overflow: hidden; }
.faq-item__a-inner {
  display: flex;
  gap: 16px;
  padding: 0 22px 26px;
}
/* 閉じる途中：アイコンと帯を先に戻す */
.faq-item.is-closing .faq-toggle { background: var(--sky-pale); rotate: 0deg; }
.faq-item.is-closing .faq-toggle::after { rotate: 90deg; opacity: 1; }
.faq-item.is-closing::before { scale: 1 0; }
/* 開いた時：Aが弾んで出て、答えが下からふわっと出る */
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-mark--a { animation: faq-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
  .faq-item[open] .faq-item__a p { animation: faq-rise .55s cubic-bezier(.2, .8, .2, 1) .06s both; }
}
@keyframes faq-pop {
  from { opacity: 0; scale: .4; }
  to { opacity: 1; scale: 1; }
}
@keyframes faq-rise {
  from { opacity: 0; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}
.faq-item__a p {
  margin: 6px 0 0;
  color: #1f2430;
  font-size: clamp(15px, 1.1vw, 16.5px);
  font-weight: 500;
  line-height: 2;
}

/* ==========================================================================
   10. お問い合わせ（紺の破れ紙）
   ========================================================================== */
.contact {
  position: relative;
  overflow: hidden;
  padding-block: clamp(120px, 11vw, 190px) clamp(100px, 10vw, 160px);
  color: #fff;
  background-color: #1b4c8a;
  background-image: var(--crumple);
  background-size: 300px 300px;
  background-blend-mode: multiply;
  clip-path: polygon(0.0% 9px, 2.5% 21px, 5.0% 9px, 7.5% 14px, 10.0% 8px, 12.5% 4px, 15.0% 3px, 17.5% 18px, 20.0% 18px, 22.5% 9px, 25.0% 16px, 27.5% 16px, 30.0% 20px, 32.5% 21px, 35.0% 10px, 37.5% 22px, 40.0% 21px, 42.5% 14px, 45.0% 20px, 47.5% 12px, 50.0% 10px, 52.5% 7px, 55.0% 20px, 57.5% 5px, 60.0% 3px, 62.5% 18px, 65.0% 17px, 67.5% 12px, 70.0% 19px, 72.5% 3px, 75.0% 7px, 77.5% 8px, 80.0% 10px, 82.5% 5px, 85.0% 3px, 87.5% 9px, 90.0% 20px, 92.5% 22px, 95.0% 17px, 97.5% 12px, 100.0% 7px, 100% 100%, 0 100%);
}
.contact__deco { position: absolute; inset: 0; pointer-events: none; }
.contact__deco::before {
  content: "";
  position: absolute;
  right: 4%;
  top: 8%;
  width: clamp(140px, 18vw, 280px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(130, 211, 251, .5) 1.5px, transparent 2px) 0 0 / 14px 14px;
  -webkit-mask: radial-gradient(closest-side, #000 40%, transparent);
  mask: radial-gradient(closest-side, #000 40%, transparent);
}
.contact__mark {
  position: absolute;
  left: -6%;
  bottom: -10%;
  width: clamp(260px, 34vw, 560px);
  aspect-ratio: 420 / 359;
  background: rgba(255, 255, 255, .05);
  -webkit-mask: url("../images/logo-adrysta-mark.png") center / contain no-repeat;
  mask: url("../images/logo-adrysta-mark.png") center / contain no-repeat;
}
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
.contact__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
.contact__text {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: .03em;
}
.contact-form {
  padding: clamp(28px, 3.4vw, 48px);
  color: var(--ink);
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 6px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .25);
}
.field {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
}
.req {
  flex: none;
  white-space: nowrap;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #c9d2df;
  border-radius: 6px;
  background: #fafbfc;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.8; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(130, 211, 251, .55);
  background: #fff;
}
.field input:user-invalid { border-color: #c0392b; }
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 4px;
}
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #d4dbe6;
  border-radius: 8px;
  background: #fafbfc;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, scale .15s ease;
}
.choice:hover { border-color: #9fb0c8; background: #fff; }
.choice:active { scale: .98; }
/* 本物のチェックボックスは見えなくして（キーボード操作は残す）、下の箱を表示 */
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.choice__box {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid #9aa6b8;
  border-radius: 6px;
  background: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}
.choice__box svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset .3s cubic-bezier(.6, 0, .3, 1) .05s;
}
.choice__box::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 10px;
  border: 2px solid var(--sky);
  opacity: 0;
  scale: .6;
}
.choice:has(input:checked) {
  border-color: var(--navy);
  background: var(--sky-pale);
  box-shadow: 0 4px 12px rgba(6, 45, 95, .12);
}
.choice input:checked + .choice__box {
  border-color: var(--navy);
  background: var(--navy);
  animation: choice-pop .35s cubic-bezier(.3, 1.6, .5, 1);
}
.choice input:checked + .choice__box svg { stroke-dashoffset: 0; }
.choice input:checked + .choice__box::after { animation: choice-ring .5s ease-out; }
.choice:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
@keyframes choice-pop {
  0% { scale: .7; }
  60% { scale: 1.15; }
  100% { scale: 1; }
}
@keyframes choice-ring {
  0% { opacity: .9; scale: .6; }
  100% { opacity: 0; scale: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .choice input:checked + .choice__box,
  .choice input:checked + .choice__box::after { animation: none; }
  .choice__box svg { transition: none; }
}

/* 同意欄 */
.consent { margin: 4px 0 20px; }
.choice--consent { padding: 14px 16px; font-size: 15px; }
.choice__text { word-break: auto-phrase; }
.choice--consent .choice__text a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.choice--consent .req { margin-left: auto; }
.choice--consent:has(input:user-invalid) { border-color: #c0392b; }

/* 送信中・送信完了 */
.contact-form.is-sending .contact-form__submit { opacity: .6; pointer-events: none; }
.contact-form__done {
  padding: 32px 8px;
  text-align: center;
}
.contact-form__done h3 { margin: 0 0 12px; font-size: 22px; font-weight: 900; }
.contact-form__done p { margin: 0; color: #3a4150; font-weight: 500; line-height: 2; }

.contact-form__turnstile { min-height: 65px; margin: 0 0 16px; }
.contact-form__submit { width: 100%; margin-top: 8px; }
.contact-form__status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: #b3261e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

/* ==========================================================================
   11. 会社概要・フッター
   ========================================================================== */
.company {
  position: relative;
  padding-block: clamp(100px, 9vw, 150px);
}
.company__table {
  max-width: 880px;
  margin: clamp(44px, 4.6vw, 64px) auto 0;
  padding: 10px clamp(22px, 3.4vw, 52px);
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 28px rgba(10, 20, 40, .09);
}
.company__row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(15, 28, 63, .1);
}
.company__row:last-child { border-bottom: 0; }
.company__row dt { color: var(--navy); font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.company__row dd {
  margin: 0;
  color: #1f2430;
  font-size: clamp(15px, 1.1vw, 16.5px);
  font-weight: 500;
  line-height: 1.9;
}
.company__row a { color: inherit; text-decoration: none; }

.site-footer {
  padding: 60px 0 32px;
  color: rgba(255, 255, 255, .8);
  background: #0f1c3f;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}
.site-footer__logo { display: block; line-height: 0; }
.site-footer__logo img { width: auto; height: 36px; filter: brightness(0) invert(1); }
.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
}
.site-footer__copy { margin: 0 0 0 auto; color: rgba(255, 255, 255, .6); }

/* スクロール表示の時間差（5〜11） */
@media (prefers-reduced-motion: no-preference) {
  .reason-card:nth-child(even),
  .flow-step:nth-child(2) { --rd: .1s; }
  .flow-step:nth-child(3) { --rd: .2s; }
  .flow-step:nth-child(4) { --rd: .3s; }
  .flow-step:nth-child(5) { --rd: .4s; }
  .contact-form { --rd: .12s; }
}

/* ==========================================================================
   5〜11：タブレット・スマホ
   ========================================================================== */
@media (max-width: 1023px) {
  .flow-steps {
    --num: 64px;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    max-width: 640px;
    margin-inline: auto;
  }
  .flow-steps::before {
    left: calc(var(--num) / 2 - 2px);
    right: auto;
    top: calc(var(--num) / 2);
    bottom: 60px;
    border-top: 0;
    border-left: 4px solid var(--navy-line);
  }
  .flow-step {
    display: grid;
    grid-template-columns: var(--num) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
  .flow-step + .flow-step::before {
    left: calc(var(--num) / 2 - 9px);
    top: -20px;
    border-top: 0;
    border-bottom: 4px solid var(--navy-line);
    rotate: 45deg;
  }
  .flow-step__num { font-size: 21px; box-shadow: 0 0 0 6px var(--paper); }
  .flow-step__card { margin-top: 0; padding: 20px 20px 18px; }
  .flow-step__title { text-align: left; }
  .flow-step__card p { margin-top: 8px; }
}

@media (max-width: 899px) {
  .service-card { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .service-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 16px; }
  .service-card__num { grid-row: span 2; }
  .service-card__logos { margin-top: 0; }
  .reason-grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .message::before { left: -30vw; width: 70vw; }
}

@media (max-width: 599px) {
  .works__list { grid-template-columns: minmax(0, 1fr); }
  .sec-lead { text-align: left; }
  .btn--lg { width: 100%; height: 60px; padding-inline: 1em; }
  .service-card { padding: 36px 20px 26px; }
  .service-card__num { font-size: 42px; }
  .logo-chip { width: 44px; height: 44px; border-radius: 12px; }
  .check-list li { padding-left: 30px; }
  .check-list li::before { width: 21px; height: 21px; }
  .reason-card { padding: 44px 20px 26px; }
  .reason-card__num { width: 56px; height: 56px; top: -26px; font-size: 21px; }
  .message__letter { rotate: 0deg; padding-inline: 22px; }
  .message__profile { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .message__profile-label { justify-self: start; }
  .faq-item summary { gap: 12px; padding: 18px 50px 18px 16px; }
  .faq-toggle { right: 12px; width: 30px; height: 30px; }
  .faq-item__a-inner { gap: 12px; padding: 0 16px 22px; }
  .faq-mark { width: 32px; height: 32px; font-size: 14px; }
  .contact-form { padding: 24px 18px; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .company__table { padding-inline: 20px; }
  .company__row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 0; }
  .site-footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer__copy { margin-left: 0; width: 100%; }
}

/* ==========================================================================
   プライバシーポリシー（privacy.html）
   ========================================================================== */
.legal {
  padding-block: calc(var(--header-h) + clamp(48px, 6vw, 96px)) clamp(90px, 9vw, 140px);
}
.legal__inner { max-width: 880px; }
.legal__title {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: .04em;
}
.legal__body {
  margin-top: clamp(36px, 4vw, 56px);
  padding: clamp(32px, 4.4vw, 64px) clamp(22px, 4.4vw, 64px);
  background-color: #fff;
  background-image: var(--grain);
  background-size: 180px 180px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 28px rgba(10, 20, 40, .09);
  color: #1f2430;
  font-size: clamp(14.5px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: .02em;
}
.legal__body p { margin: 0 0 1em; }
.legal__body h2 {
  margin: 2.4em 0 .8em;
  padding-left: 14px;
  border-left: 5px solid var(--sky);
  color: var(--ink);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 900;
  line-height: 1.5;
}
.legal__body ol,
.legal__body ul { margin: 0 0 1em; padding-left: 1.6em; }
.legal__body li { margin-bottom: .35em; }
.legal__body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.legal__info { margin: 0; }
.legal__info > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 28, 63, .1);
}
.legal__info dt { color: var(--navy); font-weight: 800; }
.legal__info dd { margin: 0; }
.legal__contact {
  padding: 16px 20px;
  border-radius: 6px;
  background: var(--sky-pale);
  font-weight: 700;
}
.legal__date { margin-top: 2.4em !important; text-align: right; color: #5b6474; }
.legal__back { margin-top: 32px; }
@media (max-width: 599px) {
  .legal__info > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ==========================================================================
   追加アニメーション（画面に入ったら動く。JSが有効・動きを許可している時のみ）
   1. 考え方の「一本の導線」が上から描かれ、丸が順番に出る
   2. 流れの線が描かれ、番号が順番に弾む
   3. お悩みカードのチェックが描かれる
   4. 筆の下線が左から描かれる
   ========================================================================== */
@keyframes node-pop {
  0% { opacity: 0; scale: .35; }
  70% { opacity: 1; scale: 1.12; }
  100% { opacity: 1; scale: 1; }
}
@keyframes check-pop {
  0%, 100% { scale: 1; }
  50% { scale: 1.2; }
}

@media (prefers-reduced-motion: no-preference) {
  /* 1. 考え方：縦の線 → 丸 → 文字 */
  .js .route-steps::before {
    scale: 1 0;
    transform-origin: top;
    transition: scale 1.4s cubic-bezier(.45, 0, .2, 1) .35s;
  }
  .js .about__sheet.is-inview .route-steps::before { scale: 1 1; }
  .route-step:nth-child(1) { --nd: .3s; }
  .route-step:nth-child(2) { --nd: .78s; }
  .route-step:nth-child(3) { --nd: 1.25s; }
  .route-step:nth-child(4) { --nd: 1.72s; }
  .js .route-step__node { opacity: 0; }
  .js .about__sheet.is-inview .route-step__node {
    animation: node-pop .6s cubic-bezier(.3, 1.4, .5, 1) var(--nd) both;
  }
  .js .route-step__body {
    opacity: 0;
    translate: 18px 0;
    transition: opacity .5s ease, translate .6s cubic-bezier(.2, .8, .2, 1);
    transition-delay: calc(var(--nd) + .12s);
  }
  .js .about__sheet.is-inview .route-step__body { opacity: 1; translate: 0 0; }
  .js .route-step + .route-step::before {
    opacity: 0;
    transition: opacity .3s ease calc(var(--nd) - .12s);
  }
  .js .about__sheet.is-inview .route-step + .route-step::before { opacity: 1; }

  /* 2. 流れ：横（スマホは縦）の線 → 番号 → カード */
  .js .flow-steps::before {
    scale: 0 1;
    transform-origin: left;
    transition: scale 1.7s cubic-bezier(.45, 0, .2, 1) .2s;
  }
  .js .flow-steps.is-inview::before { scale: 1 1; }
  .flow-step:nth-child(1) { --fd: .15s; }
  .flow-step:nth-child(2) { --fd: .52s; }
  .flow-step:nth-child(3) { --fd: .89s; }
  .flow-step:nth-child(4) { --fd: 1.26s; }
  .flow-step:nth-child(5) { --fd: 1.63s; }
  .js .flow-step__num { opacity: 0; }
  .js .flow-steps.is-inview .flow-step__num {
    animation: node-pop .6s cubic-bezier(.3, 1.4, .5, 1) var(--fd) both;
  }
  .js .flow-step__card {
    opacity: 0;
    translate: 0 18px;
    transition: opacity .5s ease, translate .6s cubic-bezier(.2, .8, .2, 1);
    transition-delay: calc(var(--fd) + .12s);
  }
  .js .flow-steps.is-inview .flow-step__card { opacity: 1; translate: 0 0; }
  .js .flow-step + .flow-step::before {
    opacity: 0;
    transition: opacity .3s ease calc(var(--fd) - .12s);
  }
  .js .flow-steps.is-inview .flow-step + .flow-step::before { opacity: 1; }

  /* 3. お悩み：カードが出た少し後にチェックが描かれる */
  .js .worry-card__check path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset .45s cubic-bezier(.6, 0, .3, 1) calc(var(--rd, 0s) + .5s);
  }
  .js .worry-card.is-inview .worry-card__check path { stroke-dashoffset: 0; }
  .js .worry-card.is-inview .worry-card__check {
    animation: check-pop .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--rd, 0s) + .45s) both;
  }

  /* 4. 筆の下線：見出しが出たら左から描く */
  .js .about__line .brush,
  .js .reasons__em .brush,
  .js .vision__em .brush,
  .js .cause__line {
    clip-path: inset(-60% 100% -60% 0);
    transition: clip-path .9s cubic-bezier(.6, 0, .3, 1) .45s;
  }
  .js .is-inview .about__line .brush,
  .js .is-inview .reasons__em .brush,
  .js .is-inview .vision__em .brush,
  .js .is-inview .cause__line { clip-path: inset(-60% 0 -60% 0); }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 1023px) {
  .js .flow-steps::before { scale: 1 0; transform-origin: top; }
  .js .flow-steps.is-inview::before { scale: 1 1; }
}

/* ==========================================================================
   5. スマホの追従ボタン（FVを過ぎたら下から出る。お問い合わせ〜フッターでは隠す）
   ========================================================================== */
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: block;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15, 28, 63, .08);
    background: rgba(251, 251, 249, .95);
    box-shadow: 0 -6px 20px rgba(15, 28, 63, .1);
    translate: 0 110%;
    visibility: hidden;
    transition: translate .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s;
  }
  .sticky-cta.is-shown {
    translate: 0 0;
    visibility: visible;
    transition: translate .5s cubic-bezier(.2, .8, .2, 1), visibility 0s;
  }
  html.is-menu-open .sticky-cta { translate: 0 110%; visibility: hidden; }
  .sticky-cta__btn {
    gap: 14px;
    width: calc(100% - 4px);
    height: 54px;
    font-size: 16px;
  }
  .sticky-cta__btn .btn__arrow { width: 10px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta,
  .sticky-cta.is-shown { transition: none; }
}

/* 404ページ */
.legal__inner--center { text-align: center; }
.legal__code {
  margin: 0;
  color: var(--sky);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 3px var(--navy);
  paint-order: stroke fill;
}
.legal__inner--center .legal__title,
.legal__lead { word-break: auto-phrase; text-wrap: balance; }
.legal__lead { margin: 20px 0 36px; color: #3a4150; font-size: 16px; font-weight: 500; line-height: 2; }

/* サンクスページ（thanks.html） */
.thanks__icon {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
}
.thanks__icon circle { fill: var(--sky-pale); stroke: var(--navy); stroke-width: 3; }
.thanks__icon path {
  fill: none;
  stroke: var(--navy);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  .thanks__icon { animation: node-pop .6s cubic-bezier(.3, 1.4, .5, 1) both; }
  .thanks__icon path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: thanks-draw .5s cubic-bezier(.6, 0, .3, 1) .45s forwards; }
}
@keyframes thanks-draw { to { stroke-dashoffset: 0; } }
