/*
Theme Name: イーゼル（設備設計事務所 イーゼル）
Description: 設備設計事務所 イーゼルのホームページ用テーマ。空と海の背景、業務内容、対応エリア、実績、ご依頼の流れ、お問い合わせフォームを1ページにまとめています。
Version: 1.0.0
Author: 設備設計事務所 イーゼル
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: easel
*/

/* Layout: 方眼紙の上に描いた設計図。各セクションを図面シートに見立て、最後は表題欄で締める */
:root {
  --paper: #f7f9fb;
  --grid: rgba(31, 78, 140, .07);
  --grid-strong: rgba(31, 78, 140, .14);
  --ink: #1b2a3a;
  --line: #1f4e8c;
  --muted: #5b6b7d;
  --redline: #c2412d;
  --sheet: rgba(255, 255, 255, .55);
  --air: #4f9be0;
  --tile: #e4eaf2;
  --ill-fill: rgba(31, 111, 184, .14);
  --ill-light: rgba(255, 255, 255, .7);
  --ill-pipe: #dbe8f4;
  --panel: rgba(255, 255, 255, .58);
  --panel-edge: rgba(255, 255, 255, .75);
  --pop0: #e8412c; --pop1: #12a4a6; --pop2: #2f6fe0; --pop3: #2fae63; --pop4: #f39200; --pop5: #8b5cf6; --pop6: #e8488a;
  --water: #1f6fb8;
  --sky-top: rgba(214, 234, 252, .9);
  --sea-bottom: rgba(170, 210, 240, .55);
  --font-display: "Shippori Mincho", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f2340; --grid: rgba(180, 210, 255, .07); --grid-strong: rgba(180, 210, 255, .14);
    --ink: #e6eef8; --line: #9cc3ff; --muted: #9fb2c9; --redline: #ff8a73; --sheet: rgba(19, 42, 75, .55); --tile: #1f3c62; --ill-fill: rgba(124, 192, 255, .16); --ill-light: rgba(255, 255, 255, .08); --ill-pipe: #22406a; --panel: rgba(10, 30, 56, .6); --panel-edge: rgba(156, 195, 255, .25);
    --air: #8cc6ff; --water: #4aa3f0; --sky-top: rgba(30, 70, 120, .55); --sea-bottom: rgba(20, 80, 150, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f2340; --grid: rgba(180, 210, 255, .07); --grid-strong: rgba(180, 210, 255, .14);
  --ink: #e6eef8; --line: #9cc3ff; --muted: #9fb2c9; --redline: #ff8a73; --sheet: rgba(19, 42, 75, .55); --tile: #1f3c62; --ill-fill: rgba(124, 192, 255, .16); --ill-light: rgba(255, 255, 255, .08); --ill-pipe: #22406a; --panel: rgba(10, 30, 56, .6); --panel-edge: rgba(156, 195, 255, .25);
  --air: #8cc6ff; --water: #4aa3f0; --sky-top: rgba(30, 70, 120, .55); --sea-bottom: rgba(20, 80, 150, .6);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: linear-gradient(180deg, #2a6cc4 0%, #9cc6ec 45%, #d6e8f6 62%, #1c5f8a 64%, #0b3a5e 100%) fixed var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1120px; margin: 0 auto; }
/* 背景の空と海は画面に固定。内容は方眼入りの半透明パネルに載せる */
canvas.bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
header, main, footer { position: relative; z-index: 1; }
.panel, .sheet > .wrap, footer > .wrap, header > .wrap {
  background-color: var(--panel);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--panel-edge);
  box-shadow: 0 10px 40px rgba(5, 30, 70, .18);
}
.sheet > .wrap, footer > .wrap { padding: clamp(20px, 4vw, 44px); }
.mono { font-family: var(--font-mono); letter-spacing: .04em; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--redline); outline-offset: 3px; }

/* header */
header { padding-block: 12px 0; }
header > .wrap { padding: 14px clamp(16px, 3vw, 28px); }
header .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.logo { font-weight: 700; font-size: 18px; letter-spacing: .08em; text-decoration: none; }
.logo { display: inline-grid; gap: 6px; color: var(--ink); }
.logo .wordmark { font-family: "Dela Gothic One", var(--font-body); font-weight: 400; font-size: 40px; letter-spacing: .04em; line-height: 1; display: block; }
.logo .logo-pre, .logo small { width: 0; min-width: 100%; }
.logo small { font-size: 8.5px !important; letter-spacing: 0 !important; text-align: justify; text-align-last: justify; white-space: nowrap; }
.logo .wordmark span { color: var(--water); }
.logo .logo-pre { display: block; font-family: "Dela Gothic One", var(--font-body); font-weight: 400; font-size: 12.5px; line-height: 1; color: var(--ink); text-align: justify; text-align-last: justify; }
.logo small { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: .2em; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; font-size: 14px; }
nav a { text-decoration: none; display: inline-flex; gap: 6px; align-items: baseline; }
nav a span { font-family: var(--font-mono); font-size: 10px; color: var(--line); }
nav a:hover { color: var(--line); }
nav .cta { border: 1px solid var(--line); padding: 2px 12px; color: var(--line); }

/* hero */
.hero {
  position: relative; padding-block: 96px 260px;
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  /* 写実の空と水は常に昼の景色なので、この中だけ明るい色に固定 */
  --ink: #ffffff; --line: #ffffff; --muted: rgba(255, 255, 255, .9); --redline: #ffc2b4; --paper: #0e3a66;
  color: var(--ink);
}
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 1px 3px rgba(5, 30, 70, .55), 0 0 24px rgba(5, 30, 70, .35); }
.hero .lead { color: rgba(255, 255, 255, .94); }
.hero .btn:not(.primary) { background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.trace { filter: drop-shadow(0 1px 1.5px rgba(5, 30, 70, .7)) drop-shadow(0 0 6px rgba(5, 30, 70, .25)); }
.hero .drawing text { fill: rgba(255, 255, 255, .95); }
.hero .wrap { position: relative; z-index: 1; }
.x-unused { position: absolute; z-index: 1; left: max(16px, env(safe-area-inset-left, 0px)); bottom: 18px; display: flex; gap: 20px; font-family: var(--font-mono); font-size: 11px; color: #e8f4ff; letter-spacing: .12em; text-shadow: 0 1px 3px rgba(0, 20, 40, .6); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero .lead { max-width: 36em; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--line); letter-spacing: .18em; }
h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.35; margin: 12px 0 20px;
  text-wrap: balance; letter-spacing: .02em;
}
.lead { max-width: 30em; color: var(--muted); margin: 0 0 28px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 10px 22px; text-decoration: none; font-size: 14px; border: 1px solid var(--line); }
.btn.primary { background: var(--line); color: var(--paper); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 2px 2px 0 var(--line); }
.drawing { width: 100%; max-width: 100%; height: auto; display: block; }
.drawing text { font-family: var(--font-mono); font-size: 11px; fill: var(--muted); }
.drawing .t-line { fill: var(--line); }
.drawing .t-red { fill: var(--redline); }
.flow { stroke-dasharray: 10 6; animation: flow 1.6s linear infinite; }
.flow.slow { animation-duration: 2.6s; }
@keyframes flow { to { stroke-dashoffset: -32; } }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* sheets */
section.sheet { padding-block: 24px; }
.sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 32px; }
.sheet-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 28px; margin: 0; letter-spacing: .04em; }
.sheet-head .no { font-family: var(--font-mono); font-size: 12px; color: var(--paper); background: var(--ink); padding: 2px 8px; }
.sheet-head .scale { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--sheet); }
.svc { padding: 28px 24px; display: grid; gap: 12px; align-content: start; }
.svc + .svc { border-left: 1px solid var(--line); }
.svc .code { font-family: var(--font-mono); font-size: 12px; color: var(--line); display: flex; justify-content: space-between; }
.svc h3 { margin: 0; font-size: 20px; letter-spacing: .06em; }
.svc p { margin: 0; color: var(--muted); font-size: 14px; }
.legend { border-top: 1px dashed var(--grid-strong); padding-top: 12px; display: grid; gap: 6px; font-size: 13px; }
.legend div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; }
.legend svg { width: 44px; height: 16px; }


/* area map */
.area { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px; align-items: center; }
.area-lead { margin: 0 0 20px; max-width: 30em; }
.area-key { margin: 0; display: grid; gap: 8px; font-size: 14px; }
.area-key div { display: flex; gap: 10px; align-items: center; }
.area-key dt, .area-key dd { margin: 0; }
.key { display: inline-block; width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line); vertical-align: middle; }
.key.done { background: linear-gradient(90deg, var(--pop1), var(--pop2), var(--pop3), var(--pop4), var(--pop5), var(--pop6)); border: 0; }
.key.base { background: var(--pop0); border: 0; border-radius: 50%; }
.map-wrap { border: 1px solid var(--line); background: var(--sheet); padding: 16px; border-radius: 18px; }
.japan { width: 100%; height: auto; display: block; overflow: visible; }
.japan .r1 { --c: var(--pop1); } .japan .r2 { --c: var(--pop2); } .japan .r3 { --c: var(--pop3); }
.japan .r4 { --c: var(--pop4); } .japan .r5 { --c: var(--pop5); } .japan .r6 { --c: var(--pop6); }
.japan .pref rect { fill: var(--tile); }
.japan .pref text { font-family: var(--font-body); font-size: 10px; text-anchor: middle; fill: var(--muted); pointer-events: none; }
.japan .pref.done rect { fill: var(--c); }
.japan .pref.done text { fill: #fff; font-weight: 700; }
.japan .pref { transform-box: fill-box; transform-origin: center; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.japan .pref.done { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d); }
.japan .pref.done:hover { transform: scale(1.25) rotate(-6deg); }
.japan .pipe { stroke: var(--c); stroke-dasharray: 1 7; opacity: .85; animation: flow 1.2s linear infinite; }
.japan .comet { stroke: var(--c); stroke-width: 4.5; stroke-linecap: round; opacity: 0; }
.japan .hq circle { fill: var(--pop0); }
.japan .hq text { font-family: var(--font-body); font-weight: 700; font-size: 10px; fill: #fff; text-anchor: middle; }
.japan .hq .hq-sub { font-size: 7.5px; font-weight: 500; }
.japan .pulse { fill: none; stroke: var(--pop0); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.japan .pulse.p2 { animation-delay: -1.2s; }
@keyframes pulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .japan .pref.done { animation: none; } }
.japan .hq { transform-box: fill-box; transform-origin: center; animation: beat 2.4s ease-in-out infinite; }
.japan .pulse.p3 { animation-delay: -.6s; }
.japan .orbit { fill: none; stroke: var(--pop0); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.1); } 24% { transform: scale(.97); } 36% { transform: scale(1.05); } 50% { transform: scale(1); } }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }


/* bundle band */
.bundle { margin-top: 24px; border: 1px dashed var(--line); padding: 20px clamp(16px, 3vw, 28px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 32px; align-items: center; }
.bundle p { margin: 0; color: var(--muted); font-size: 14px; max-width: 34em; }
.bundle-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { display: inline-grid; justify-items: center; padding: 6px 14px; font-weight: 700; font-size: 15px; border: 1px solid var(--line); color: var(--line); background: var(--sheet); line-height: 1.4; }
.chip small { font-family: var(--font-mono); font-weight: 400; font-size: 10px; color: var(--muted); letter-spacing: .05em; }
.chip.e { border-style: dashed; color: var(--redline); border-color: var(--redline); }
.chip.all { background: var(--line); color: var(--paper); padding-block: 13px; }
.op { font-family: var(--font-mono); color: var(--muted); }
@media (max-width: 860px) { .bundle { grid-template-columns: 1fr; } }


/* pop illustrations */
.ill { display: block; width: 100%; height: auto; max-width: 150px; overflow: visible; }
.svc .ill { height: 96px; width: auto; max-width: 100%; margin-bottom: 4px; }
.area-ill { margin-top: 28px; max-width: 170px; }
.sheet-head .head-ill { width: 120px; height: 100px; max-width: 120px; margin-left: auto; margin-block: -40px -4px; }
.head-ill + .scale { margin-left: 0; }
.ill .spin { transform-box: fill-box; transform-origin: center; animation: spin 1.6s linear infinite; }
.ill .spin.fast { animation-duration: .9s; }
.ill .wind { stroke-dasharray: 6 6; animation: flow 1s linear infinite; }
.ill .drop { transform-box: fill-box; animation: drip 1.4s ease-in infinite; }
.ill .spray { animation: spray 1.2s ease-out infinite; }
.ill .spray.s1 { animation-delay: .15s; } .ill .spray.s2 { animation-delay: .3s; }
.ill .steam { transform-box: fill-box; transform-origin: center; animation: steam 3s ease-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drip { 0% { transform: translateY(0); opacity: 1; } 75% { transform: translateY(16px); opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }
@keyframes spray { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes steam { 0% { transform: translateY(6px) scale(.7); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-14px) scale(1.15); opacity: 0; } }


/* uses chips */
.uses { margin-bottom: 24px; }
.uses-title { margin: 0 0 10px; font-weight: 700; font-size: 15px; letter-spacing: .08em; }
.use-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.use-chips li { background: var(--c); color: #fff; font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; box-shadow: 0 2px 0 rgba(20, 38, 58, .25); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.use-chips li:hover { transform: translateY(-3px) rotate(-2deg); }
.table-wrap { max-height: 560px; overflow-y: auto; }
.table-wrap thead th { position: sticky; top: 0; background: var(--panel); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* works table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--sheet); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14px; }
th, td { border-bottom: 1px solid var(--grid-strong); padding: 12px 14px; text-align: left; vertical-align: top; }
th { font-family: var(--font-mono); font-weight: 500; font-size: 11px; color: var(--line); letter-spacing: .1em; border-bottom: 1px solid var(--line); }
tr.base-row td { background: var(--grid); }
td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: 10px; border: 1px solid currentColor; padding: 0 5px; margin-right: 4px; color: var(--line); }
.note { font-size: 12px; color: var(--redline); margin-top: 10px; font-family: var(--font-mono); }

/* flow */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 20px 0 0; display: grid; gap: 8px; align-content: start; }
.steps li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 13px; color: var(--line);
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 18px; left: 36px; right: 0; border-top: 1px dashed var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 4px 0 0; font-size: 17px; }
.steps p { margin: 0; font-size: 14px; color: var(--muted); }

/* contact */
.contact { border: 1px solid var(--line); background: var(--sheet); padding: 36px clamp(20px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.contact h2 { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 0 0 6px; }
.contact p { margin: 0; color: var(--muted); }

/* title block */
footer { padding-block: 24px 40px; }
.titleblock { border: 2px solid var(--ink); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 13px; background: var(--sheet); }
.titleblock > div { padding: 10px 14px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); min-width: 0; }
.titleblock > div:nth-child(3n) { border-right: 0; }
.titleblock > div:nth-last-child(-n+3) { border-bottom: 0; }
.titleblock label { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .12em; }
.titleblock .tb-name { font-family: "Dela Gothic One", var(--font-body); font-weight: 400; font-size: 22px; letter-spacing: .08em; }
.titleblock .tb-name span { color: var(--water); }
.titleblock strong { font-size: 16px; letter-spacing: .06em; }
.copy { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-align: right; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .svc + .svc { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .steps li:nth-child(2)::after { display: none; }
  .contact { grid-template-columns: 1fr; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock > div:nth-child(3n) { border-right: 1px solid var(--ink); }
  .titleblock > div:nth-child(2n) { border-right: 0; }
  .titleblock > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--ink); }
  .titleblock > div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .sheet-head .scale { margin-left: 0; }
}

html, body { overflow-x: clip; }
/* ===== 個性を出すレイアウト（大きな英字見出し、帯、ずらした配置） ===== */
.hero h1 { font-family: "Dela Gothic One", var(--font-body); font-weight: 400; font-size: clamp(40px, 7.4vw, 96px); line-height: 1.12; letter-spacing: .01em; margin: 18px 0 28px; }
.hero .eyebrow { display: inline-block; background: var(--pop0); color: #fff; padding: 4px 12px; border-radius: 999px; text-shadow: none; font-size: 12px; }
.hero .lead { font-size: 17px; }
.hero .btn { border-radius: 999px; padding: 12px 26px; font-weight: 700; }

.marquee { position: relative; z-index: 1; overflow: hidden; margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))) 24px; padding-block: 14px; background: var(--pop2); transform: rotate(-2deg); box-shadow: 0 8px 30px rgba(5, 30, 70, .25); }
.mq-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: mq 32s linear infinite; }
.mq-track span { font-family: "Dela Gothic One", var(--font-body); font-size: clamp(22px, 3vw, 34px); color: #fff; white-space: nowrap; letter-spacing: .04em; }
.mq-track i { font-style: normal; color: var(--pop4); font-size: 18px; }
@keyframes mq { to { transform: translateX(-50%); } }

section.sheet { padding-block: 36px; }
.sheet > .wrap { border-radius: 28px; position: relative; overflow: hidden; }
#service > .wrap, #works > .wrap { margin-right: max(0px, calc((100% - 1120px) / 2 - 40px)); margin-left: auto; }
#area > .wrap, #flow > .wrap { margin-left: max(0px, calc((100% - 1120px) / 2 - 40px)); margin-right: auto; }
.sheet-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 36px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 20px; }
.sheet-head .en { grid-column: 1 / -1; font-family: "Dela Gothic One", var(--font-body); font-size: clamp(48px, 9vw, 120px); line-height: .9; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1.5px var(--line); opacity: .55; margin-bottom: -.35em; }
.sheet-head h2 { font-family: "Dela Gothic One", var(--font-body); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); position: relative; }
.sheet-head .scale { margin-left: 0; justify-self: end; background: var(--ink); color: var(--paper); padding: 4px 12px; border-radius: 999px; font-size: 11px; }
.sheet-head .head-ill { position: absolute; right: 0; top: 0; margin: 0; }

.services { border: 0; background: transparent; gap: 18px; }
.svc { background: var(--sheet); border-radius: 22px; padding: 28px 24px 30px; box-shadow: 0 4px 0 rgba(20, 38, 58, .12); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.svc + .svc { border-left: 0; border-top: 0; }
.svc:nth-child(1) { transform: rotate(-1.2deg); } .svc:nth-child(3) { transform: rotate(1.2deg); } .svc:nth-child(2) { transform: translateY(14px); }
.svc:hover { transform: translateY(-6px) rotate(0deg); }
.svc h3 { font-family: "Dela Gothic One", var(--font-body); font-weight: 400; font-size: 21px; }
.bundle { border-radius: 22px; border-style: solid; border-color: transparent; background: var(--sheet); margin-top: 40px; }
.chip { border-radius: 999px; }
.map-wrap, .table-wrap { border-radius: 22px; }
.table-wrap { border-color: transparent; }

.steps li::before { width: 56px; height: 56px; font-family: "Dela Gothic One", var(--font-body); font-size: 20px; color: #fff; border: 0; background: var(--pop2); box-shadow: 0 3px 0 rgba(20, 38, 58, .25); }
.steps li:nth-child(2)::before { background: var(--pop3); } .steps li:nth-child(3)::before { background: var(--pop4); } .steps li:nth-child(4)::before { background: var(--pop6); }
.steps li::after { top: 28px; left: 56px; border-top: 3px dotted var(--line); }
.steps h3 { font-size: 19px; }

#contact > .wrap { background: var(--pop2); border-color: transparent; }
.contact { border: 0; background: transparent; padding: 8px 0; position: relative; color: #fff; }
.contact .en { position: absolute; right: -10px; bottom: -40px; font-family: "Dela Gothic One", var(--font-body); font-size: clamp(60px, 12vw, 160px); color: rgba(255, 255, 255, .12); pointer-events: none; line-height: 1; }
.contact h2 { font-family: "Dela Gothic One", var(--font-body); font-weight: 400; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.4; color: #fff; }
.contact p { color: rgba(255, 255, 255, .88); }
.contact .mono { color: #fff !important; font-size: 15px; }
.contact .btn.primary { background: #fff; color: var(--pop2); border-color: #fff; border-radius: 999px; padding: 14px 30px; font-weight: 700; position: relative; }
footer > .wrap { border-radius: 28px; }
.titleblock { border-radius: 14px; overflow: hidden; }
header > .wrap { border-radius: 999px; padding-inline: clamp(20px, 3vw, 36px); }
nav .cta { border-radius: 999px; background: var(--pop0); color: #fff !important; border-color: var(--pop0); }

@media (max-width: 860px) {
  .svc:nth-child(n) { transform: none; }
  header > .wrap { border-radius: 24px; }
  #service > .wrap, #works > .wrap, #area > .wrap, #flow > .wrap { margin-inline: 0; }
  .sheet-head .head-ill { width: 80px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* contact form view */
.form-view section.sheet { padding-block: 48px 24px; }
.cform { display: grid; gap: 20px; max-width: 820px; }
.form-lead { margin: 0; color: var(--muted); }
.cform .row { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.cform .row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cform label { display: block; gap: 8px; font-weight: 700; font-size: 14px; min-width: 0; }
.cform legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.req { display: inline-block; background: var(--pop0); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 2px; }
.cform input:not([type="radio"]), .cform textarea { display: block; margin-top: 8px; font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); background: var(--ill-light); border: 1.5px solid var(--panel-edge); border-bottom-color: var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--water); outline-offset: 1px; }
.cform .invalid { border-color: var(--pop0) !important; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex !important; cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; }
.pill input:checked + span { background: var(--line); color: var(--paper); }
.pill input:focus-visible + span { outline: 2px solid var(--water); outline-offset: 2px; }
.form-error { margin: 0; color: var(--pop0); font-weight: 700; font-size: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.form-actions .btn, .cform-done .btn { border-radius: 999px; padding: 12px 28px; font-weight: 700; cursor: pointer; font: inherit; }
.form-actions .btn.primary { background: var(--line); color: var(--paper); border: 1px solid var(--line); }
.cform-done { display: grid; gap: 14px; justify-items: start; max-width: 640px; }
.cform-done h3 { margin: 0; font-family: "Dela Gothic One", var(--font-body); font-weight: 400; font-size: 24px; }
.cform-done p { margin: 0; color: var(--muted); }
.cform label.row { display: block; }
.cform label.row textarea { margin-top: 8px; }
@media (max-width: 640px) { .cform .row.two { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform button[disabled] { opacity: .6; cursor: progress; }

