@charset "UTF-8";
/* ==========================================================================
   common.css — 全ページ共通（試作では変数・ベース・ヘッダー・メニュー）
   各ブロックの中で「ベース → 768px以下 → 480px以下」
   ========================================================================== */

:root {
  /* 施工実績のカテゴリの色 */
  --cc-wash: #2f45ff;
  --cc-room: #0d8a8a;
  --cc-film: #6b3cf0;
  --cc-other: #5b6378;
  --c-bg: #05060a;          /* 黒に近い背景 */
  --c-bg-2: #0a0d18;
  --c-brand: #0000be;       /* ロゴのブルー */
  --c-brand-l: #2f45ff;     /* 暗い背景でのロゴのブルー（光の色） */
  --c-text: #eef2ff;
  --c-sub: #9aa3c2;

  --font-en: 'Anton', 'Zen Kaku Gothic New', sans-serif;     /* 英字：縦長の太字 */
  --font-head: 'Zen Kaku Gothic New', sans-serif;             /* 日本語の見出し：線が細く端正なゴシック（太さ900） */
  --font-ja: 'Zen Kaku Gothic New', 'Hiragino Sans', sans-serif;  /* 本文（太さ500） */

  --m: clamp(20px, 4.4vw, 64px);
  --header-h: 84px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.8, 0, .2, 1);
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
}

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;              /* はみ出しで横に広がらないように（iPhone のピンチで全体が縮んで見えるのを防ぐ） */
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-ja);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.is-menu-open { overflow: hidden; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  padding: 0 var(--m);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header__logo { flex: none; display: grid; width: 210px; }
.header__logo img { grid-area: 1 / 1; transition: opacity .3s; }
.header__logo-light { opacity: 0; }
/* 明るい背景の上（common.js が付ける）：黒文字・通常ロゴ */
.header { transition: color .3s, background-color .3s; }
.header.is-solid { background: rgba(5, 6, 10, .82); backdrop-filter: blur(10px); }
.header.is-solid.is-light { background: rgba(244, 246, 251, .85); }
.header:is(.is-light, .is-on-curtain) { color: #0b1230; }   /* is-on-curtain：トップの白い幕の上（home.js） */
.header:is(.is-light, .is-on-curtain) .header__logo-dark { opacity: 0; }
.header:is(.is-light, .is-on-curtain) .header__logo-light { opacity: 1; }
.header:is(.is-light, .is-on-curtain) .header__links a span { color: #5a6385; }
.header:is(.is-light, .is-on-curtain) .header__burger { border-color: rgba(11, 18, 48, .3); background: rgba(244, 246, 251, .6); }
/* トップのFVで幕が下りている間は、ヘッダーごと隠す（home.js） */
.header { transition: color .3s, background-color .3s, opacity .5s, translate .5s var(--ease-out); }
.header.is-hidden { opacity: 0; translate: 0 -12px; pointer-events: none; }
/* 下へスクロール中は上にしまう／上へスクロールで出す（home.js） */
.header.is-tucked { translate: 0 -110%; }
html.is-menu-open .header.is-tucked { translate: none; }
/* トップのFVでロゴが集まっている間は、ヘッダーのロゴを隠す（二重にならないように。home.js） */
.header.is-fv .header__logo { opacity: 0; pointer-events: none; }
.header__logo { transition: opacity .4s; }
.header__nav {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}
.header__links {
  display: flex;
  gap: 28px;
  white-space: nowrap;
}
/* 入りきらないとき（common.js が付ける）：リンクは隠し、ハンバーガーだけ */
.header.is-compact .header__links { display: none; }   /* 見えないだけで画面の外に残ると、ピンチ操作で崩れる原因になるので消す */
.header__links a {
  display: block;
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: .06em;
  line-height: 1.1;
  transition: color .3s;
}
.header__links a span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-ja);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-sub);
}
@media (hover: hover) {
  .header__links a:hover { color: var(--c-brand-l); }
}
.header__burger {
  flex: none;
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(5, 6, 10, .55);   /* すりガラス（backdrop-filter）は使わない：下で3Dが動き続けるので iPhone で重い */
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
/* 縦に並んだ3つの点（設定ボタンのような形） */
.header__dots {
  position: absolute;
  inset: 0;
}
.header__dots i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 3px;
  background: currentColor;
  transition: translate .45s var(--ease-out), width .45s var(--ease-out), height .45s var(--ease-out),
              margin .45s var(--ease-out), rotate .45s var(--ease-out), scale .3s, opacity .3s;
}
.header__dots i:nth-child(1) { translate: 0 -8px; }
.header__dots i:nth-child(3) { translate: 0 8px; }
/* マウスを乗せたとき：上の点から順に1回だけ波打つ */
@media (hover: hover) {
  .header__burger[aria-expanded="false"]:hover .header__dots i { animation: dotWave .6s var(--ease-io) calc(var(--n) * 90ms); }
}
.header__dots i:nth-child(1) { --n: 0; }
.header__dots i:nth-child(2) { --n: 1; }
.header__dots i:nth-child(3) { --n: 2; }
@keyframes dotWave {
  40% { margin-left: 3px; scale: 1.35; background: var(--c-brand-l); }
}
/* 開いたとき：真ん中は消え、上下の点が線に伸びて ✕ になる */
.header__burger[aria-expanded="true"] .header__dots i:nth-child(2) { scale: 0; opacity: 0; }
.header__burger[aria-expanded="true"] .header__dots i:nth-child(1),
.header__burger[aria-expanded="true"] .header__dots i:nth-child(3) {
  width: 22px;
  height: 2px;
  margin: -1px 0 0 -11px;
  translate: 0 0;
}
.header__burger[aria-expanded="true"] .header__dots i:nth-child(1) { rotate: 45deg; }
.header__burger[aria-expanded="true"] .header__dots i:nth-child(3) { rotate: -45deg; }
.header__burger[aria-expanded="true"] { background: var(--c-brand-l); border-color: var(--c-brand-l); color: #fff; }
/* メニューを開いている間：スクロール位置で付く下地（is-solid）・黒文字（is-light）を打ち消す
   .header.is-solid.is-light（クラス3つ）より強くなるよう、html と .is-solid.is-light を付けて書いている */
html.is-menu-open .header,
html.is-menu-open .header.is-solid.is-light { color: var(--c-text); background: none; backdrop-filter: none; }
html.is-menu-open .header__links { visibility: hidden; }      /* メニューと同じリンクが二重に見えないように */
html.is-menu-open .header .header__logo-dark { opacity: 1; }
html.is-menu-open .header .header__logo-light { opacity: 0; }
html.is-menu-open .header .header__burger { background: var(--c-brand-l); border-color: var(--c-brand-l); color: #fff; }
@media (hover: hover) {
  .header__burger:hover { border-color: var(--c-brand-l); }
}
@media (max-width: 768px) {
  .header__logo { width: 150px; }
  .header__burger { width: 46px; height: 46px; }
}
@media (max-width: 480px) {
  .header__logo { width: 128px; }
}

/* ---------- メニュー（全画面） ----------
   開き方：ボタンの位置（--mx・--my：common.js）から、青く光る輪が広がって画面を覆う → 斜めに光の筋が1回走る → 中身が順に出る */
.menu[hidden] { display: none; }   /* 下の display: grid が hidden 属性に勝ってしまうので、閉じている間は確実に消す */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) var(--m) 40px;
  background:
    radial-gradient(60% 50% at var(--mx, 95%) var(--my, 5%), rgba(47, 69, 255, .22), transparent 70%),
    var(--c-bg);
  clip-path: circle(0 at var(--mx, 95%) var(--my, 5%));
  transition: clip-path .8s var(--ease-io);
}
.menu.is-open { clip-path: circle(150vmax at var(--mx, 95%) var(--my, 5%)); }
/* 光の輪のふち：広がる円の外周を、青白く光らせる */
.menu::before {
  content: "";
  position: fixed;
  left: var(--mx, 95%);
  top: var(--my, 5%);
  width: 300vmax;
  height: 300vmax;
  border-radius: 50%;
  translate: -50% -50%;
  box-shadow: 0 0 0 2px rgba(159, 176, 255, .9), 0 0 60px 10px rgba(47, 69, 255, .8);
  scale: 0;
  opacity: 0;
  pointer-events: none;
}
.menu.is-open::before { animation: menuRing .8s var(--ease-io) both; }
@keyframes menuRing {
  0% { scale: 0; opacity: 1; }
  80% { opacity: 1; }
  100% { scale: 1; opacity: 0; }
}
/* 斜めの光の筋が1回走る */
.menu::after {
  content: "";
  position: fixed;
  inset: -20%;
  background: linear-gradient(115deg, transparent 42%, rgba(220, 228, 255, .16) 49%, rgba(255, 255, 255, .28) 50%, rgba(220, 228, 255, .1) 52%, transparent 58%);
  translate: -100% 0;
  pointer-events: none;
}
.menu.is-open::after { animation: menuStreak 1.1s .45s var(--ease-io) both; }
@keyframes menuStreak { to { translate: 100% 0; } }

.menu__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
/* 中身は順に下から出る */
.menu__list li,
.menu__contact > * {
  opacity: 0;
  translate: 0 24px;
  transition: opacity .5s, translate .6s var(--ease-out);
}
.menu.is-open .menu__list li,
.menu.is-open .menu__contact > * { opacity: 1; translate: 0 0; transition-delay: calc(.45s + var(--k, 0) * 60ms); }
.menu__list li:nth-child(1) { --k: 0; } .menu__list li:nth-child(2) { --k: 1; } .menu__list li:nth-child(3) { --k: 2; }
.menu__list li:nth-child(4) { --k: 3; } .menu__list li:nth-child(5) { --k: 4; }
.menu__contact > :nth-child(1) { --k: 2; } .menu__contact > :nth-child(2) { --k: 3; }
.menu__contact > :nth-child(3) { --k: 4; } .menu__contact > :nth-child(4) { --k: 5; }

.menu__list { display: grid; gap: 6px; }
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  font-family: var(--font-en);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: .03em;
  transition: color .3s, translate .4s var(--ease-out);
}
.menu__list a span {
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-sub);
}
@media (hover: hover) {
  .menu__list a:hover { color: var(--c-brand-l); translate: 10px 0; }
}

.menu__contact {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(238, 242, 255, .14);
  background: linear-gradient(160deg, rgba(47, 69, 255, .12), rgba(255, 255, 255, .02));
}
.menu__contact-en { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; color: var(--c-brand-l); }
.menu__contact-title { margin: 4px 0 20px; font-family: var(--font-head); font-weight: 900; font-size: 22px; }
.menu__contact-list { display: grid; gap: 10px; }

/* 問い合わせボタン（メニュー・お問い合わせ欄で共通） */
.c-btn {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 52px 14px 20px;
  border: 1px solid rgba(238, 242, 255, .18);
  overflow: hidden;
  transition: border-color .3s, background-color .3s;
}
.c-btn::after {                         /* 右の矢印 */
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  translate: 0 -50%;
  rotate: 45deg;
  transition: right .3s var(--ease-out);
}
.c-btn-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--c-sub); }
.c-btn-main { font-family: var(--font-en); font-size: 22px; letter-spacing: .04em; line-height: 1.2; }
.c-btn--line .c-btn-main { font-family: var(--font-head); font-weight: 900; font-size: 18px; }
@media (hover: hover) {
  .c-btn:hover { border-color: var(--c-brand-l); background: rgba(47, 69, 255, .14); }
  .c-btn:hover::after { right: 16px; }
}
.menu__note { margin-top: 16px; font-size: 12px; color: var(--c-sub); }

@media (max-width: 768px) {
  .menu { place-items: start center; }
  .menu__inner { grid-template-columns: 1fr; gap: 28px; }
  .menu__list a { font-size: clamp(30px, 9vw, 44px); }
}
@media (prefers-reduced-motion: reduce) {
  .menu, .menu.is-open { transition: none; }
  .menu::before, .menu::after { display: none; }
}

/* ---------- 試作用のダミーセクション ---------- */
.dummy {
  position: relative;
  min-height: 100vh;
  padding: 120px var(--m);
  background: #f4f6fb;
  color: #0b1d45;
}
.dummy__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }

/* ヘッダーの CONTACT：ご予約の入口。文字の位置・高さはほかのリンクと同じにして、
   青い面は ::before で外側に広げる（レイアウトに影響しない）。乗せると光が横切る */
.header__links a.header__cta { position: relative; isolation: isolate; margin-left: 14px; color: #fff; }
.header__links a.header__cta span { color: rgba(255, 255, 255, .8); }
.header__links a.header__cta::before {
  content: "";
  position: absolute;
  inset: -9px -16px;
  z-index: -1;
  background: linear-gradient(120deg, #2f45ff, #0b17c9);
  box-shadow: 0 0 22px rgba(47, 69, 255, .55);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);   /* 少し斜めに切った面（走る向き） */
}
.header__links a.header__cta::after {
  content: "";
  position: absolute;
  inset: -9px -16px;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%) -150% 0 / 200% 100% no-repeat;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
@media (hover: hover) {
  .header__links a.header__cta:hover { color: #fff; }
  .header__links a.header__cta:hover::after { background-position: 250% 0; transition: background-position .7s var(--ease-io); }
}
.header:is(.is-light, .is-on-curtain) .header__links a.header__cta,
.header:is(.is-light, .is-on-curtain) .header__links a.header__cta span { color: #fff; }

/* メニューの LINE：お問い合わせ欄と同じく、いちばん使ってほしい入口として青く */
.menu .c-btn--line { border-color: rgba(47, 69, 255, .7); background: linear-gradient(160deg, rgba(47, 69, 255, .3), rgba(47, 69, 255, .08)); }

/* メニューを開いている間は、ヘッダー（✕ボタン）を必ず表示。
   幕の間に隠す（is-hidden）・下スクロールでしまう（is-tucked）が重なっても、✕が消えないように */
html.is-menu-open .header,
html.is-menu-open .header.is-hidden,
html.is-menu-open .header.is-tucked { opacity: 1; translate: none; pointer-events: auto; visibility: visible; }

/* ==========================================================================
   全ページ共通の下部：お問い合わせ・会社情報・フッター・スマホの固定ボタン
   ========================================================================== */
/* ---------- ⑥⑦ お問い合わせ・アクセス：黒地に3つの大きな入口 ---------- */
.contact {
  position: relative;
  overflow: clip;
  padding: clamp(100px, 14vw, 200px) var(--m) clamp(80px, 10vw, 140px);
  background: #05060a;
  color: var(--c-text);
}
.contact::before {                                /* お知らせの青からのつながり：上から青いにじみ */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 60vh;
  background: radial-gradient(70% 100% at 50% 0%, rgba(31, 51, 255, .35), transparent 70%);
  pointer-events: none;
}
.contact__inner { position: relative; max-width: 1200px; margin-inline: auto; }
.contact__head { margin: 0; text-align: center; }
.contact__en { font-family: var(--font-en); font-size: clamp(72px, 13vw, 210px); line-height: .9; letter-spacing: .04em; }
.contact__title { margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .2em; color: #9fb0ff; }
.contact__lead { margin: 28px 0 clamp(48px, 6vw, 80px); text-align: center; line-height: 2.1; color: #c9d0e6; }

.contact__gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gate {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 6px;
  min-height: 230px;
  align-content: end;
  padding: 28px 28px 30px;
  border: 1px solid rgba(238, 242, 255, .16);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  transition: background-color .35s, border-color .35s;
}
.gate__en { font-family: var(--font-en); font-size: clamp(36px, 3.6vw, 56px); line-height: 1; letter-spacing: .06em; }
.gate__ja { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.gate--tel .gate__ja { font-family: var(--font-en); font-weight: 400; font-size: 24px; letter-spacing: .08em; }
.gate__note { font-size: 12px; color: var(--c-sub); }
.gate__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(238, 242, 255, .5);
  border-radius: 50%;
  transition: background-color .35s, border-color .35s, rotate .35s var(--ease-out);
}
.gate__arrow::before { content: ""; position: absolute; left: 44%; top: 50%; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; translate: -50% -50%; rotate: 45deg; }
.gate--line { border-color: rgba(47, 69, 255, .6); background: linear-gradient(160deg, rgba(47, 69, 255, .28), rgba(47, 69, 255, .06)); }   /* いちばん使ってほしい入口 */
/* 乗せたとき：ふちを光が一周（CAR SALES のボタンと同じ） */
.gate::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 2px;
  background: conic-gradient(from var(--run), transparent 0deg, transparent 290deg, #9fb0ff 330deg, #fff 352deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 6px rgba(159, 176, 255, .9));
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
@media (hover: hover) {
  .gate:hover { background-color: rgba(47, 69, 255, .12); border-color: transparent; }
  .gate:hover::before { opacity: 1; animation: btnRun 1.6s linear infinite; }
  .gate:hover .gate__arrow { background: #fff; border-color: #fff; color: #05060a; rotate: -45deg; }
}
.gate:focus-visible { outline: 2px solid #9fb0ff; outline-offset: 4px; }

/* アクセス */
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px clamp(32px, 5vw, 72px);
  margin-top: clamp(80px, 10vw, 140px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid rgba(238, 242, 255, .14);
}
.access__head { grid-column: 1 / -1; margin: 0; }
.access__en { font-family: var(--font-en); font-size: clamp(40px, 5vw, 72px); line-height: .95; letter-spacing: .04em; }
.access__title { margin: 8px 0 0; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .2em; color: #9fb0ff; }
.access__info { margin: 0; border-top: 1px solid rgba(238, 242, 255, .14); }
.access__info div { display: grid; grid-template-columns: 7em 1fr; padding: 14px 0; border-bottom: 1px solid rgba(238, 242, 255, .14); font-size: 14px; line-height: 1.8; }
.access__info dt { color: var(--c-sub); font-weight: 700; }
.access__info dd { margin: 0; }
.access__map { position: relative; min-height: 320px; background: #0b0d14; }
.access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.access__maplink { position: absolute; right: 0; bottom: -28px; font-size: 12px; color: var(--c-sub); text-decoration: underline; }
@media (max-width: 900px) {
  .contact__gates { grid-template-columns: 1fr; }
  .gate { min-height: 0; padding: 22px 80px 24px 22px; }
  .gate__arrow { top: 50%; translate: 0 -50%; }
  .access { grid-template-columns: 1fr; }
  .access__map { min-height: 240px; }
}
@media (max-width: 480px) {
  .contact__lead { font-size: 14px; }
  .gate__en { font-size: 32px; }
  .access__info div { grid-template-columns: 6em 1fr; font-size: 13px; }
}

/* ---------- フッター ---------- */
.footer {
  position: relative;
  overflow: clip;
  padding: 56px var(--m) 28px;
  background: #05060a;
  color: var(--c-text);
  border-top: 1px solid rgba(238, 242, 255, .1);
}
.footer__top { display: flex; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.footer__logo { width: 190px; }
.footer__nav { flex: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 700; }
@media (hover: hover) {
  .footer__nav a:hover { color: #9fb0ff; }
}
.footer__totop { position: relative; width: 52px; height: 52px; border: 1px solid rgba(238, 242, 255, .4); border-radius: 50%; transition: background-color .3s, border-color .3s; }
.footer__totop span::before { content: ""; position: absolute; left: 50%; top: 56%; width: 10px; height: 10px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; translate: -50% -50%; rotate: 45deg; }
@media (hover: hover) {
  .footer__totop:hover { background: var(--c-brand-l); border-color: var(--c-brand-l); }
}
/* 締め：水平線（光の線）の上にマーク、下に濡れた路面への映り込み */
.footer__sign {
  position: relative;
  display: grid;
  justify-items: center;
  margin: clamp(56px, 8vw, 110px) calc(-1 * var(--m)) 0;
  padding: 0 var(--m);
}
.footer__mark { display: block; width: clamp(64px, 7vw, 104px); height: auto; filter: drop-shadow(0 0 24px rgba(47, 69, 255, .55)); opacity: 0; translate: 0 16px; transition: opacity 1s .5s, translate 1.2s var(--ease-out) .5s; }
.footer__mark--mirror {
  scale: 1 -1;
  translate: 0 -16px;
  filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 75%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 75%);
}
.footer__horizon {
  display: block;
  width: 100%;
  height: 1px;
  margin: 2px 0;
  background: linear-gradient(90deg, transparent, var(--c-brand-l) 25%, #fff 50%, var(--c-brand-l) 75%, transparent);
  box-shadow: 0 0 18px 2px rgba(47, 69, 255, .7);
  scale: 0 1;
  transition: scale 1.4s var(--ease-io);
}
.footer__catch { margin: -24px 0 0; font-family: var(--font-en); font-size: 12px; letter-spacing: .5em; padding-left: .5em; color: rgba(159, 176, 255, .55); opacity: 0; transition: opacity 1s 1.2s; }
.footer.is-in .footer__horizon { scale: 1 1; }
.footer.is-in .footer__mark { opacity: 1; translate: 0 0; }
.footer.is-in .footer__catch { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .footer__horizon { scale: 1 1; transition: none; }
  .footer__mark, .footer__catch { opacity: 1; translate: none; transition: none; }
}
.footer__bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 28px; font-size: 11px; color: var(--c-sub); }
.footer__bottom p { margin: 0; }
@media (max-width: 768px) {
  .footer__nav { justify-content: flex-start; flex-basis: 100%; order: 3; }
  .footer__totop { margin-left: auto; }
}

/* ---------- スマホの固定ボタン ---------- */
.quick { display: none; }
@media (max-width: 768px) {
  .quick {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
    /* 隠すときは画面の外へ出したうえで、影も含めて見えなくする（iPhone の下のバーの出入りで、はみ出して見えないように） */
    translate: 0 calc(100% + 40px);
    opacity: 0;
    visibility: hidden;
    transition: translate .45s var(--ease-out), opacity .3s, visibility 0s .45s;
  }
  .quick.is-show { translate: 0 0; opacity: 1; visibility: visible; transition: translate .5s var(--ease-out), opacity .3s, visibility 0s; }
  .is-menu-open .quick { translate: 0 calc(100% + 40px); opacity: 0; visibility: hidden; }
  .quick__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    background: rgba(5, 6, 10, .88);
    border: 1px solid rgba(238, 242, 255, .3);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
  }
  .quick__btn b { font-family: var(--font-en); font-weight: 400; font-size: 20px; letter-spacing: .06em; }
  .quick__btn--line { background: var(--c-brand-l); border-color: var(--c-brand-l); box-shadow: 0 8px 30px rgba(47, 69, 255, .45); }
  .footer { padding-bottom: 96px; }      /* 固定ボタンでコピーライトが隠れないように */
}


@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .quick { translate: none; opacity: 1; visibility: visible; transition: none; }
}

/* ---------- 施工実績のカテゴリ：ラベル（c-label）とボタン（c-cat）。トップ・一覧・詳細で共通 ---------- */
.c-label { --cc: var(--cc-wash); align-self: flex-start; white-space: nowrap; padding: 3px 10px; background: var(--cc); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.c-label--room { --cc: var(--cc-room); }
.c-label--film { --cc: var(--cc-film); }
.c-label--other { --cc: var(--cc-other); }
/* カテゴリボタン：色を薄く敷き、左に色の帯、右に矢印。乗せると色で満たされ、矢印が進む */
.c-cat {
  --cc: var(--cc-wash);
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px 11px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background:
    linear-gradient(var(--cc) 0 0) 0 0 / 0% 100% no-repeat,
    color-mix(in srgb, var(--cc) 22%, rgba(5, 6, 10, .7));
  box-shadow: inset 4px 0 0 var(--cc), inset 0 0 0 1px color-mix(in srgb, var(--cc) 60%, transparent), 0 6px 18px rgba(0, 0, 0, .35);
  transition: background-size .45s var(--ease-io), box-shadow .3s, translate .3s;
}
.c-cat::after {          /* 矢印 */
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  rotate: 45deg;
  transition: translate .3s var(--ease-io);
}
.c-cat--room { --cc: var(--cc-room); }
.c-cat--film { --cc: var(--cc-film); }
.c-cat--other { --cc: var(--cc-other); }
.c-cat--all { --cc: #8a93ad; }
.c-cat[aria-current="page"] { background-size: 100% 100%, auto; box-shadow: inset 4px 0 0 var(--cc), inset 0 0 0 1px var(--cc); }
@media (hover: hover) {
  .c-cat:hover { background-size: 100% 100%, auto; translate: 0 -2px; box-shadow: inset 4px 0 0 var(--cc), inset 0 0 0 1px var(--cc), 0 10px 26px color-mix(in srgb, var(--cc) 45%, transparent); }
  .c-cat:hover::after { translate: 4px 0; }
}
.c-cat:active { translate: 0 1px; }

/* 電話番号は途中で折り返さない（狭い画面では少し小さく） */
.gate--tel .gate__ja { white-space: nowrap; font-size: min(24px, 6.2vw); }
/* 日本語の見出しは、文節の切れ目で折り返す（「お知ら／せ」のような1文字の取り残しを防ぐ。未対応のブラウザは通常どおり） */
:is(h1, h2, h3, .wc__name, .works__name, .nl__name) { word-break: auto-phrase; }

/* 本文へスキップ（キーボード操作のときだけ、左上に出る） */
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 1000; padding: 10px 16px; background: #fff; color: #05060a; font-weight: 700; translate: 0 -200%; transition: translate .2s; }
.skip-link:focus { translate: 0 0; }
