/* そよぐ空調設備（デモ）
   白・冷房の水色 #3FA9F5・暖房の赤 #E5533D。文字は濃い灰 #1E2A33。
   白抜きの字を載せる地は、読める濃さに下げた水色 #1678C2 と赤 #D2452F を使う。 */
:root {
  --ink: #1E2A33;
  --ink-2: #4B5964;
  --ink-3: #6E7C87;
  --blue: #3FA9F5;
  --blue-d: #1678C2;
  --blue-pale: #EAF5FE;
  --red: #E5533D;
  --red-d: #D2452F;
  --line: #D6E2EB;
  --line-2: #B9CCDA;
  --bg-2: #F6FAFD;
  --en: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --hd: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 12px); }
body {
  margin: 0; font-family: var(--ja); font-weight: 400; color: var(--ink); background: #fff;
  font-size: clamp(15px, 0.95rem + 0.15vw, 17px); line-height: 1.8; letter-spacing: 0.02em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-d); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
p { margin: 0; text-wrap: pretty; word-break: auto-phrase; }
h1, h2, h3 { margin: 0; font-feature-settings: "palt"; text-wrap: balance; word-break: auto-phrase; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }
.num { font-family: var(--en); font-weight: 500; letter-spacing: 0.01em; font-feature-settings: "tnum"; }
.small { font-size: 0.86em; color: var(--ink-2); margin-top: 14px; }

/* ---------- ロゴ ---------- */
.logo { display: block; height: 44px; width: auto; color: var(--ink); overflow: visible; }
.mk-box { fill: #fff; stroke: currentColor; stroke-width: 2.2; }
.mk-grille { fill: none; stroke: currentColor; stroke-width: 1.1; }
.mk-vane { stroke: var(--blue); stroke-width: 2.6; stroke-linecap: square; }
.mk-flow { fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; }
.logo__name { font-family: var(--ja); font-weight: 700; font-size: 21px; fill: currentColor; }
.logo__en { font-family: var(--en); font-weight: 600; font-size: 9.5px; fill: var(--blue-d); letter-spacing: 0.18em; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 14px; height: var(--hd); padding-inline: clamp(16px, 2.4vw, 36px); max-width: 1600px; margin-inline: auto; }
.brand { display: block; text-decoration: none; flex: none; }
.demo { font-family: var(--en); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; color: var(--ink-3); border: 1px solid var(--line-2); padding: 0 5px; line-height: 16px; align-self: center; margin-left: -4px; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(14px, 1.6vw, 30px); }
.gnav a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); padding: 14px 2px 12px; position: relative; line-height: 1.25; }
.gn-en { font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; }
.gn-ja { font-size: 11px; color: var(--ink-2); margin-top: 3px; letter-spacing: 0.04em; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] .gn-en { color: var(--blue-d); }
.hd__btns { display: flex; gap: 8px; flex: none; }
.b-est, .b-rep { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; font-weight: 700; font-size: 14px; text-decoration: none; letter-spacing: 0.06em; white-space: nowrap; }
.b-est { border: 1.5px solid var(--blue); color: var(--blue-d); background: #fff; transition: background .2s; }
.b-est:hover { background: var(--blue-pale); }
.b-rep { background: var(--red-d); color: #fff; transition: background .2s; }
.b-rep:hover { background: #B93A26; }
.menu { display: none; margin-left: auto; border: 1px solid var(--line-2); background: #fff; width: 58px; height: 46px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--ink); }
.menu__bars, .menu__bars::before { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s; }
.menu__bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu__label { font-family: var(--en); font-weight: 600; font-size: 9.5px; letter-spacing: 0.16em; line-height: 1; margin-top: 6px; }
.is-menu .menu__bars { transform: translateY(3px) rotate(45deg); }
.is-menu .menu__bars::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 1180px) {
  .menu { display: flex; order: 3; margin-left: auto; }
  .hd__btns { order: 2; margin-left: auto; }
  .gnav { order: 4; margin: 0; }
  html.js .gnav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(30,42,51,0.08); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; visibility: hidden; }
  html.js .is-menu .gnav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .gnav ul { flex-direction: column; gap: 0; padding: 6px var(--pad) 18px; }
  .gnav a { flex-direction: row; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .gnav a::after { bottom: -1px; }
  .gn-ja { font-size: 14px; color: var(--ink); }
  .gn-en { width: 92px; color: var(--blue-d); }
  html:not(.js) .hd__in { flex-wrap: wrap; height: auto; padding-block: 12px; }
  html:not(.js) .gnav { width: 100%; }
  html:not(.js) .menu { display: none; }
}
@media (max-width: 640px) {
  :root { --hd: 64px; }
  .logo--h { height: 36px; }
  .hd__btns { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; box-shadow: 0 -4px 16px rgba(30,42,51,0.1); }
  .b-est, .b-rep { height: 54px; justify-content: center; font-size: 15px; }
  .b-est { border: 0; border-top: 1.5px solid var(--blue); }
  body { padding-bottom: 54px; }
}

/* ---------- 共通の部品 ---------- */
.louver { display: grid; gap: 4px; width: 64px; margin-bottom: 18px; }
.louver i { display: block; height: 1.5px; background: var(--blue); transform-origin: left; }
.louver i:nth-child(2) { width: 82%; }
.louver i:nth-child(3) { width: 64%; }
.sec { padding-block: clamp(64px, 8vw, 112px); }
.sec--pale { background: var(--blue-pale); }
.sec--line { border-top: 1px solid var(--line); }
.sec__h { font-weight: 700; font-size: clamp(24px, 1.2rem + 1.1vw, 34px); line-height: 1.45; letter-spacing: 0.02em; margin-bottom: 22px; }
.sec__more { margin-top: 30px; }
.link { font-weight: 700; text-decoration: none; color: var(--blue-d); border-bottom: 1.5px solid var(--blue); padding-bottom: 4px; }
.link:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 26px; font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--ja); transition: background .2s, color .2s; }
.btn--blue { background: var(--blue-d); color: #fff; }
.btn--blue:hover { background: #0F649F; }
.btn--red { background: var(--red-d); color: #fff; }
.btn--red:hover { background: #B93A26; }
.btn--white { background: #fff; color: var(--blue-d); }
.btn--white:hover { background: var(--blue-pale); }
.btn--line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--bg-2); }
.arw { position: relative; width: 22px; height: 1.5px; background: currentColor; flex: none; transition: transform .25s; }
.arw::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transform-origin: center; }
.btn:hover .arw { transform: translateX(4px); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 2px solid var(--ink); }
.spec th { width: 30%; font-weight: 700; background: var(--bg-2); white-space: nowrap; }
.spec--wide, .spec--price { max-width: 900px; }

/* ---------- 最初の画面 ---------- */
.hero { display: grid; grid-template-columns: 60fr 40fr; min-height: clamp(620px, calc(100svh - var(--hd)), 860px); }
.hero__ph { position: relative; }
.hero__img { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); overflow: hidden; background: #E7EEF3; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero__card { position: absolute; left: clamp(20px, 3vw, 48px); bottom: 124px; background: #fff; padding: 26px clamp(22px, 2.6vw, 38px) 28px; max-width: min(600px, 78%); border-left: 4px solid var(--blue); }
.hero__en { font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: 0.2em; color: var(--blue-d); display: flex; gap: 10px; flex-wrap: wrap; }
.hero__en i { font-style: normal; color: var(--line-2); }
.hero__h { font-weight: 700; font-size: clamp(26px, 1rem + 2.1vw, 46px); line-height: 1.38; margin-top: 10px; letter-spacing: 0.01em; }
.hero__h span { display: block; }
.hero__sub { margin-top: 12px; color: var(--ink-2); }
.hero__btns { position: absolute; left: clamp(20px, 3vw, 48px); bottom: 40px; display: flex; gap: 10px; flex-wrap: wrap; }
.sites { display: flex; flex-direction: column; justify-content: center; padding: 28px clamp(20px, 3vw, 52px) 28px clamp(8px, 1.4vw, 24px); }
.sites__lb { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-2); display: flex; align-items: center; gap: 12px; padding-bottom: 6px; }
.sites__lb::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sites__i + .sites__i { border-top: 1px solid var(--line); }
.sites a { display: grid; grid-template-columns: clamp(120px, 13vw, 210px) 1fr 28px; gap: 20px; align-items: center; padding: 26px 0; text-decoration: none; color: var(--ink); }
.sites__ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); background: #E7EEF3; }
.sites__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sites a:hover .sites__ph img { transform: scale(1.06); }
.sites__tx strong { display: block; font-size: 21px; font-weight: 700; letter-spacing: 0.08em; }
.sites__tx span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.65; margin-top: 2px; }
.sites__arw { width: 28px; height: 28px; border: 1.5px solid var(--blue); position: relative; transition: background .2s; }
.sites__arw::after { content: ""; position: absolute; left: 8px; top: 9px; width: 7px; height: 7px; border-top: 1.5px solid var(--blue-d); border-right: 1.5px solid var(--blue-d); transform: rotate(45deg); }
.sites a:hover .sites__arw { background: var(--blue-pale); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__ph { display: flex; flex-direction: column; }
  .hero__img { position: relative; inset: auto; height: min(62svh, 540px); clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
  .hero__card { position: relative; left: auto; bottom: auto; max-width: none; margin: -72px var(--pad) 0; z-index: 1; box-shadow: 0 10px 30px rgba(30,42,51,0.08); }
  .hero__btns { position: static; padding: 20px var(--pad) 0; }
  .sites { padding: 18px var(--pad) 8px; }
}
@media (max-width: 640px) {
  .hero__img { height: 46svh; min-height: 300px; }
  .hero__card { margin: -56px 14px 0; padding: 20px 20px 22px; }
  .hero__en { font-size: 12px; gap: 6px; }
  .hero__h { font-size: clamp(23px, 6.6vw, 30px); }
  .hero__btns { display: grid; grid-template-columns: 1fr 1fr; padding-inline: 14px; gap: 8px; }
  .hero__btns .btn { padding: 0 12px; gap: 8px; justify-content: center; font-size: 15px; }
  .hero__btns .arw { width: 14px; }
  .sites a { grid-template-columns: 96px 1fr 24px; gap: 14px; padding: 16px 0; }
  .sites__arw { width: 24px; height: 24px; }
  .sites__arw::after { left: 6px; top: 7.5px; }
  .sites__tx strong { font-size: 18px; }
  .sites__tx span { font-size: 13px; }
}

/* ---------- お知らせ ---------- */
.news { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news__in { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: start; padding-block: 26px; }
.news__h { font-size: 16px; font-weight: 700; padding-top: 6px; border-left: 3px solid var(--blue); padding-left: 12px; line-height: 1.4; }
.news__list li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 6px 0; font-size: 15px; }
.news__list time { color: var(--blue-d); font-size: 15px; }
.more { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; padding-top: 6px; }
@media (max-width: 860px) {
  .news__in { grid-template-columns: 1fr; gap: 10px; }
  .news__list li { grid-template-columns: 1fr; gap: 0; padding: 8px 0; border-bottom: 1px dashed var(--line); }
  .more { justify-self: end; }
}

/* ---------- 3つの仕事 ---------- */
.jobs__list { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 10px; }
.job + .job { border-left: 1px solid var(--line); }
.job a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 34px 30px 70px; text-decoration: none; color: var(--ink); background: #fff; transition: background .25s; }
.job a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--blue); }
.job--red a::before { background: var(--red); }
.job a:hover { background: var(--bg-2); }
.job__en { font-family: var(--en); font-weight: 600; font-size: clamp(30px, 3vw, 44px); letter-spacing: 0.06em; line-height: 1; color: var(--blue-d); }
.job--red .job__en { color: var(--red-d); }
.job__name { font-size: 21px; margin-top: 14px; letter-spacing: 0.08em; }
.job__tx { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.job__arw { position: absolute; right: 26px; bottom: 26px; width: 40px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.job__arw::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg); }
.job a:hover .job__arw { transform: translateX(6px); }
@media (max-width: 860px) {
  .jobs__list { grid-template-columns: 1fr; }
  .job + .job { border-left: 0; border-top: 1px solid var(--line); }
  .job a { padding: 28px 22px 60px; }
}

/* ---------- 室内機の形（図） ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.split-head .sec__h { margin-bottom: 0; }
.forms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line-2); border: 2px solid var(--line-2); }
.forms__i { background: #fff; padding: 18px 16px 20px; display: flex; flex-direction: column; }
.room { width: 100%; height: auto; display: block; }
.rm-void { fill: #EEF4F8; }
.rm-line { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.rm-thin { fill: none; stroke: #9DB2C1; stroke-width: 1; }
.unit { fill: var(--blue); stroke: var(--blue-d); stroke-width: 1.2; }
.unit--in { fill-opacity: 0.3; }
.wind { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; }
.wind--b { stroke-dasharray: 4 5; }
.forms figcaption { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.forms figcaption strong { display: block; font-size: 17px; letter-spacing: 0.06em; }
.forms figcaption span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; line-height: 1.7; }
.forms--big .forms__i { padding: 26px 22px 26px; }
.forms--big figcaption strong { font-size: 19px; }
.forms--big .forms__long { font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) {
  .split-head { grid-template-columns: 1fr; gap: 0; }
  .forms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .forms__i, .forms--big .forms__i { padding: 12px 10px 14px; }
  .forms figcaption strong, .forms--big figcaption strong { font-size: 15px; letter-spacing: 0.02em; }
  .forms figcaption span, .forms--big .forms__long { font-size: 13px; }
}

/* ---------- 点検の時期（表） ---------- */
.when__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ks3__t { background: #fff; }
.ks3__t thead th { font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: left; padding: 10px 16px; border-bottom: 2px solid var(--ink); letter-spacing: 0.08em; }
.ks3__t tbody th, .ks3__t tbody td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.ks3__t tbody th { font-weight: 700; white-space: nowrap; width: 7.5em; }
.ks3__t tr.is-easy { background: var(--blue-pale); }
.ks3__t tr.is-easy th { box-shadow: inset 4px 0 0 var(--blue); }
.ks3__when { white-space: nowrap; font-weight: 700; color: var(--blue-d); }
.ks3__when .num, .ks3__t td .num { font-weight: 600; font-size: 1.18em; }
.ks3__note { font-size: 14px; color: var(--ink-2); margin-top: 12px; padding-left: 16px; position: relative; }
.ks3__note::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 9px; height: 1.5px; background: var(--blue); }
@media (max-width: 860px) {
  .when__in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ks3__t thead { display: none; }
  .ks3__t tbody tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); padding: 14px 14px; gap: 2px 12px; }
  .ks3__t tbody th, .ks3__t tbody td { padding: 0; border: 0; width: auto; }
  .ks3__t tbody td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; color: var(--ink-2); }
  .ks3__t tbody tr:first-child { border-top: 2px solid var(--ink); }
  .ks3__t tr.is-easy { box-shadow: inset 4px 0 0 var(--blue); }
  .ks3__t tr.is-easy th { box-shadow: none; }
}

/* ---------- 社長から ---------- */
.boss { background: var(--bg-2); }
.boss__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.boss__words p + p { margin-top: 1.1em; }
.boss__words { max-width: 36em; }
.boss__name { margin-top: 24px; font-weight: 700; letter-spacing: 0.1em; }
.boss__ph { overflow: hidden; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); aspect-ratio: 4 / 5; background: #E7EEF3; }
.boss__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.08); }
@media (max-width: 860px) {
  .boss__in { grid-template-columns: 1fr; }
  .boss__ph { order: -1; max-width: 420px; aspect-ratio: 5 / 4; }
}

/* ---------- お見積り（トップの最後） ---------- */
.cta { background: var(--blue-d); color: #fff; position: relative; overflow: hidden; }
.cta__in { padding-block: clamp(64px, 8vw, 104px); position: relative; }
.cta__vane { position: absolute; right: 0; top: 50%; width: min(42%, 460px); display: grid; gap: 14px; transform: translateY(-50%); }
.cta__vane i { display: block; height: 2px; background: rgba(255,255,255,0.28); transform-origin: right; }
.cta__vane i:nth-child(2) { width: 86%; margin-left: auto; }
.cta__vane i:nth-child(3) { width: 70%; margin-left: auto; }
.cta__vane i:nth-child(4) { width: 52%; margin-left: auto; }
.cta__h { font-size: clamp(24px, 1rem + 2vw, 40px); font-weight: 700; line-height: 1.45; max-width: 15em; position: relative; }
.cta__p { margin-top: 16px; max-width: 34em; position: relative; }
.cta__act { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 32px; position: relative; }
.cta__tel { font-size: 15px; }
.cta__tel a { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; text-decoration: none; }
@media (max-width: 860px) { .cta__vane { display: none; } }

/* ---------- 下層の共通の帯 ---------- */
.endband { background: var(--blue-pale); border-top: 1px solid var(--line); }
.endband__in { padding-block: clamp(56px, 7vw, 92px); }
.endband__h { font-size: clamp(22px, 1rem + 1.4vw, 32px); font-weight: 700; line-height: 1.45; }
.endband__p { margin-top: 12px; color: var(--ink-2); }
.endband__act { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.endband__tel { font-size: 15px; color: var(--ink-2); }
.endband__tel a { color: var(--ink); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; text-decoration: none; }

/* ---------- 下層のページの頭 ---------- */
.ph__top { padding-top: clamp(28px, 4vw, 52px); }
.crumb { font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; }
.crumb a { color: var(--ink-3); }
.ph__h { margin-top: clamp(16px, 2vw, 28px); display: flex; flex-direction: column; }
.ph__en { font-family: var(--en); font-weight: 600; font-size: clamp(52px, 2rem + 6vw, 128px); line-height: 0.9; letter-spacing: 0.03em; color: var(--ink); }
.ph__ja { font-size: clamp(15px, 1.4vw, 18px); color: var(--blue-d); margin-top: 14px; letter-spacing: 0.12em; }
.p-shuri .ph__en { color: var(--red-d); }
.p-shuri .ph__ja { color: var(--red-d); }
.ph__img { margin-top: clamp(28px, 4vw, 48px); width: min(100% - var(--pad), 1520px); height: clamp(220px, 34vw, 520px); overflow: hidden; clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); background: #E7EEF3; }
.ph__img img { width: 100%; height: 100%; object-fit: cover; }
.p-koukan .ph__img img { object-position: 50% 40%; }
.p-shuri .ph__img img { object-position: 50% 30%; }
.p-tenken .ph__img img { object-position: 50% 45%; }
.ph__lead { padding-top: clamp(28px, 3vw, 40px); }
.ph__lead > p:first-child { font-size: clamp(17px, 1rem + 0.4vw, 21px); font-weight: 700; max-width: 34em; line-height: 1.7; }
.ph--noimg { padding-bottom: 12px; }
.redtel { margin-top: 20px; color: var(--red-d); font-weight: 700; font-size: clamp(19px, 1rem + 1vw, 26px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; border: 2px solid var(--red); padding: 14px 20px; width: fit-content; max-width: 100%; }
.redtel a { color: var(--red-d); text-decoration: none; font-weight: 600; font-size: 1.3em; }
.redtel > span { font-size: 15px; font-weight: 400; color: var(--ink-2); }

/* ---------- 入れ替えまでの流れ（図） ---------- */
.ks1 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 20px 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.ks1__i { position: relative; padding: 0 22px 0 0; display: flex; flex-direction: column; }
.ks1__n { width: 48px; height: 48px; border: 1.5px solid var(--blue-d); color: var(--blue-d); font-size: 22px; font-weight: 600; display: grid; place-items: center; background: #fff; position: relative; z-index: 1; }
.ks1__i:not(:last-child)::after { content: ""; position: absolute; left: 58px; right: 12px; top: 23px; height: 2px; background: var(--blue); transform-origin: left; }
.ks1__i:not(:last-child)::before { content: ""; position: absolute; right: 12px; top: 18px; width: 0; height: 0; border-left: 9px solid var(--blue); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ks1__name { margin-top: 14px; font-size: 18px; letter-spacing: 0.04em; }
.ks1__t { font-family: var(--en); font-weight: 500; color: var(--blue-d); font-size: 15px; margin-top: 2px; }
.ks1__t .num { font-size: 1.35em; font-weight: 600; }
.ks1__note { margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.6; border-left: 2px solid var(--blue); padding-left: 8px; }
.steps { border-top: 2px solid var(--ink); }
.steps__i { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-weight: 700; font-size: 17px; }
.steps dt > .num { font-size: 28px; font-weight: 600; color: var(--blue-d); width: 1.2em; line-height: 1; }
.steps__t { flex-basis: 100%; padding-left: calc(1.2em * 28 / 17 + 14px); font-weight: 400; font-size: 14px; color: var(--blue-d); }
.steps__t .num { font-size: 1.15em; }
.steps dd { color: var(--ink-2); }
@media (max-width: 900px) {
  .ks1 { grid-template-columns: 1fr; padding: 20px 0; gap: 0; }
  .ks1__i { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 0 0 26px; }
  .ks1__i:last-child { padding-bottom: 0; }
  .ks1__n { grid-row: 1 / span 3; }
  .ks1__name { margin-top: 0; grid-column: 2; }
  .ks1__t, .ks1__note { grid-column: 2; }
  .ks1__i:not(:last-child)::after { left: 23px; right: auto; top: 50px; bottom: 6px; width: 2px; height: auto; transform-origin: top; }
  .ks1__i:not(:last-child)::before { right: auto; left: 18px; top: auto; bottom: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--blue); border-bottom: 0; }
  .steps__i { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- 配管 ---------- */
.pipe__in, .clean__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.pipe__tx p + p { margin-top: 1em; }
.pipe { background: var(--bg-2); }
@media (max-width: 860px) { .pipe__in, .clean__in { grid-template-columns: 1fr; gap: 0; } .pipe { background: var(--bg-2); } }

/* ---------- 店舗の工事の1日（図） ---------- */
.ks4 { margin-top: 36px; --start: calc(10 / 15 * 100%); }
.ks4__tags { margin-left: var(--start); border-left: 2px solid var(--blue); padding: 4px 0 4px 16px; display: grid; gap: 8px; }
.ks4__tags li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; font-size: 14px; line-height: 1.55; }
.ks4__tags .num { color: var(--blue-d); font-weight: 600; }
.ks4__bar { position: relative; height: 40px; background: #F0F3F5; margin-top: 0; }
.ks4__open, .ks4__work { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 700; white-space: nowrap; transform-origin: left; overflow: hidden; }
.ks4__open { left: calc(1 / 15 * 100%); width: calc(9 / 15 * 100%); background: #C3CDD5; }
.ks4__work { left: var(--start); width: calc(4 / 15 * 100%); background: var(--blue); color: var(--ink); }
.ks4__axis { position: relative; height: 30px; border-top: 1px solid var(--ink); font-size: 13px; color: var(--ink-2); }
.ks4__axis span { position: absolute; top: 0; left: calc(var(--h) / 15 * 100%); transform: translateX(-50%); padding-top: 8px; }
.ks4__axis span::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 5px; background: var(--ink-3); }
.ks4__axis span.is-major::before { height: 8px; background: var(--ink); }
.ks4__axis span:first-child { transform: none; }
.ks4__axis span:first-child::before { left: 0; }
.ks4__axis span:last-child { transform: translateX(-100%); }
.ks4__axis span:last-child::before { left: 100%; }
.ks4__note { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--blue-d); margin-left: var(--start); }
@media (max-width: 860px) {
  .ks4 { --start: calc(10 / 15 * 100%); }
  .ks4__tags { margin-left: 0; margin-bottom: 14px; border-left: 0; border-top: 2px solid var(--blue); padding: 14px 0 0; }
  .ks4__open, .ks4__work { font-size: 0; padding: 0; }
  .ks4__open > span, .ks4__work > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ks4__bar::after { content: ""; position: absolute; left: var(--start); top: -14px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--blue); transform: translateX(-6px); }
  .ks4__note { margin-left: 0; }
  .ks4__legend { display: flex !important; }
}
.ks4__legend { display: none; order: 0; gap: 18px; flex-wrap: wrap; font-size: 13px; font-weight: 700; margin-top: 8px; }
.ks4__legend span { display: inline-flex; align-items: center; gap: 6px; }
.ks4__legend .lg-open::before, .ks4__legend .lg-work::before { content: ""; width: 14px; height: 10px; background: #C3CDD5; }
.ks4__legend .lg-work::before { background: var(--blue); }
.ks4__legend .num::before { display: none; }

/* ---------- 修理 ---------- */
.look { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.look li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.look li:nth-child(odd) { border-right: 1px solid var(--line); }
.look li:nth-child(even) { padding-left: 24px; }
.look__n { font-size: 36px; font-weight: 600; color: var(--blue-d); line-height: 1; }
.warn { border-left: 3px solid var(--red); padding-left: 12px; color: var(--ink); }
.rflow { position: relative; display: grid; gap: 0; max-width: 900px; }
.rflow li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 30px; }
.rflow li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 52px; bottom: 0; width: 1.5px; background: var(--blue); }
.rflow__n { width: 56px; height: 56px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--blue-d); color: var(--blue-d); font-size: 24px; font-weight: 600; }
.rflow strong { font-size: 18px; display: block; padding-top: 12px; }
.rflow p { color: var(--ink-2); margin-top: 6px; }
.photo__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lbox { margin-top: 24px; padding: 24px; background: var(--bg-2); border: 1px solid var(--line); }
.lbox .btn { margin-top: 18px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot { aspect-ratio: 3 / 4; background: #fff; border: 1.5px solid var(--ink); padding: 10px; display: grid; place-items: center; position: relative; }
.shot::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; bottom: 10px; border: 1px dashed var(--line-2); }
.shot svg { width: 100%; height: auto; position: relative; }
.s-l { fill: none; stroke: var(--ink); stroke-width: 2; }
.s-f { fill: var(--blue-pale); stroke: var(--blue-d); stroke-width: 1.5; }
.s-b { stroke: var(--blue-d); stroke-width: 2.5; }
.s-d { fill: var(--blue); }
.shot:nth-child(2) { transform: translateY(18px); }
@media (max-width: 860px) {
  .look { grid-template-columns: 1fr; }
  .look li:nth-child(odd) { border-right: 0; }
  .look li:nth-child(even) { padding-left: 0; }
  .photo__in { grid-template-columns: 1fr; }
  .shots { max-width: 420px; }
}

/* ---------- 点検 ---------- */
.p-tenken .ks3 { max-width: 980px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); margin-top: 32px; max-width: 980px; }
.rec__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.rec__in .fade p + p { margin-top: 1em; }
.sheet { position: relative; background: #fff; border: 1.5px solid var(--ink); padding: 40px 24px 28px; max-width: 320px; justify-self: center; width: 100%; display: grid; gap: 14px; transform: rotate(-2deg); }
.sheet__clip { position: absolute; top: -12px; left: 50%; width: 90px; height: 22px; background: var(--ink); transform: translateX(-50%); }
.sheet__row { display: flex; gap: 10px; }
.sheet__row i { display: block; height: 8px; width: 30%; background: var(--line); }
.sheet__row i.w2 { width: 50%; background: var(--line-2); }
.sheet__row i.w3 { width: 60%; background: var(--line-2); }
.sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.sheet__grid i { height: 26px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sheet__grid i:nth-child(3n+1) { background: var(--blue-pale); }
.sheet__ok { position: absolute; right: 18px; bottom: 16px; width: 48px; height: 48px; }
.sheet__ok path { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: square; }
.clean { padding-block: clamp(56px, 6vw, 88px); }
@media (max-width: 860px) {
  .two { grid-template-columns: 1fr; }
  .rec__in { grid-template-columns: 1fr; }
}

/* ---------- 工事した場所 ---------- */
.wnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.wnav a { border: 1.5px solid var(--blue); padding: 8px 18px; text-decoration: none; font-weight: 700; color: var(--ink); font-size: 15px; }
.wnav a:hover { background: var(--blue-pale); }
.works { padding-top: clamp(32px, 4vw, 56px); }
.work { padding-bottom: clamp(56px, 7vw, 96px); }
.work__cat { font-size: 14px; font-weight: 700; letter-spacing: 0.2em; color: var(--blue-d); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 26px; display: flex; align-items: center; gap: 12px; }
.work__cat::before { content: ""; width: 26px; height: 6px; background: linear-gradient(var(--blue) 0 1.5px, transparent 1.5px 3px, var(--blue) 3px 4.5px, transparent 4.5px); }
.work__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.work--rev .work__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.work--rev .work__ph { order: 2; }
.work__ph { aspect-ratio: 16 / 10; overflow: hidden; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); background: #E7EEF3; }
.work__ph img { width: 100%; height: 100%; object-fit: cover; }
#tenpo .work__ph img { object-position: 50% 30%; }
.work__ph--draw { clip-path: none; border: 1.5px solid var(--line-2); background: var(--bg-2); }
.work__ph--draw svg { width: 100%; height: 100%; display: block; }
.dw-thin { stroke: #9DB2C1; stroke-width: 1.2; fill: none; }
.dw-wall { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.dw-unit { fill: var(--blue); stroke: var(--blue-d); stroke-width: 1.2; }
.dw-unit--o { fill: #fff; stroke: var(--ink); stroke-width: 1.8; }
.dw-route { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-dasharray: 8 6; }
.dw-t { font-family: var(--ja); font-size: 19px; fill: var(--ink-2); }
.dw-t--b { font-weight: 700; fill: var(--ink); }
.work__h { font-size: clamp(20px, 1rem + 0.8vw, 26px); font-weight: 700; margin-bottom: 16px; line-height: 1.5; }
.spec--work { margin-bottom: 16px; }
.spec--work th, .spec--work td { padding: 11px 14px; font-size: 15px; }
.spec--work th { width: 36%; }
.work__tx > p { color: var(--ink-2); }
.work + .work:not([id]) { margin-top: -24px; }
@media (max-width: 860px) {
  .work__in, .work--rev .work__in { grid-template-columns: 1fr; }
  .work--rev .work__ph { order: 0; }
}

/* ---------- 会社とお問い合わせ ---------- */
.p-company .ph__img img { object-position: 50% 50%; }
.form-wrap { max-width: 880px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 10px; border-top: 2px solid var(--ink); padding-top: 30px; }
.f { grid-column: 1 / -1; display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.f--half { grid-column: span 1; }
.f label, .f legend, .f__lb { font-weight: 700; font-size: 15px; padding: 0; }
.f b { font-size: 11px; font-weight: 700; color: #fff; background: var(--red-d); padding: 1px 6px; margin-left: 10px; vertical-align: 2px; letter-spacing: 0.08em; }
.f input[type="text"], .f input[type="tel"], .f input[type="email"], .f textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 0; }
.f input:focus, .f textarea:focus { border-color: var(--blue-d); outline: none; box-shadow: 0 0 0 3px rgba(63,169,245,0.25); }
.f--choice { display: flex; flex-wrap: wrap; gap: 8px; }
.f--choice legend { width: 100%; margin-bottom: 8px; float: left; }
.f--choice label { font-weight: 400; display: inline-flex; }
.f--choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f--choice label span { display: inline-block; border: 1.5px solid var(--line-2); padding: 9px 16px; cursor: pointer; background: #fff; }
.f--choice input:checked + span { border-color: var(--blue-d); background: var(--blue-pale); color: var(--blue-d); font-weight: 700; }
.f--choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.f__two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f__two label { font-weight: 400; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.f--agree label { font-weight: 400; display: flex; gap: 10px; align-items: center; }
.f--agree input { width: 20px; height: 20px; accent-color: var(--blue-d); }
.f--send { justify-items: start; gap: 12px; margin-top: 6px; }
.btn--send { min-width: 260px; justify-content: center; font-size: 17px; }
.f--send p { font-size: 14px; color: var(--ink-2); }
.is-checked :invalid { border-color: var(--red-d) !important; }
.telbox { padding-block: 40px; }
.telbox__in { display: flex; align-items: baseline; gap: 12px 36px; flex-wrap: wrap; }
.telbox .sec__h { margin: 0; font-size: 20px; }
.telbox__n { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; color: var(--ink-2); }
.telbox__n a { font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); text-decoration: none; font-weight: 600; }
.telbox__fax { color: var(--ink); }
.co__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.spec--co th { width: 34%; }
.map svg { width: 100%; height: auto; display: block; border: 1.5px solid var(--line-2); }
.mp-hw { stroke: #C3CDD5; stroke-width: 22; }
.mp-hw2 { stroke: #fff; stroke-width: 2; stroke-dasharray: 14 10; }
.mp-road { stroke: #DCE3E8; stroke-width: 16; }
.mp-sub { stroke: #E6ECF0; stroke-width: 8; }
.mp-ramp { fill: none; stroke: #C3CDD5; stroke-width: 6; }
.mp-route { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linejoin: round; stroke-dasharray: 2 0; }
.mp-ic { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.mp-t { font-family: var(--ja); font-size: 19px; fill: var(--ink-2); }
.mp-t--b { font-weight: 700; fill: var(--ink); }
.mp-p { font-family: var(--en); font-weight: 600; font-size: 17px; fill: #fff; }
.mp-num { font-family: var(--en); font-weight: 600; }
.news-full .news__list li { border-bottom: 1px solid var(--line); padding: 14px 0; }
@media (max-width: 860px) {
  .co__in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form { grid-template-columns: 1fr; }
  .f--half { grid-column: 1 / -1; }
  .f__two { grid-template-columns: 1fr; }
  .btn--send { width: 100%; min-width: 0; }
  .spec th, .spec td { display: block; width: auto !important; padding: 10px 14px; }
  .spec th { border-bottom: 0; padding-bottom: 4px; white-space: normal; }
  .spec td { padding-top: 6px; }
  .spec tr:first-child td { border-top: 0; }
}

/* ---------- フッター ---------- */
.ft { background: var(--ink); color: #DDE6EC; padding-top: 56px; font-size: 14px; }
.ft a { color: #fff; }
.ft__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 56px; }
.logo--f { color: #fff; height: 46px; }
.logo--f .mk-box { fill: var(--ink); }
.logo--f .logo__en { fill: #8DCBF8; }
.ft__logo { display: inline-block; }
.ft__name { margin-top: 16px; font-weight: 700; color: #fff; }
.ft__co p + p { margin-top: 4px; }
.ft__co a.num { text-decoration: none; }
.ft__lic { display: grid; gap: 10px; align-content: start; }
.ft__lic div { border-left: 2px solid var(--blue); padding-left: 12px; }
.ft__lic dt { font-size: 12px; color: #A9BAC6; }
.ft__lic dd { color: #fff; }
.ft__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 26px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; margin-top: 8px; }
.ft__nav a { text-decoration: none; }
.ft__nav a:hover { text-decoration: underline; }
.ft__copy { text-align: center; font-family: var(--en); letter-spacing: 0.16em; color: #A9BAC6; padding: 28px 0 30px; }
@media (max-width: 760px) { .ft__in { grid-template-columns: 1fr; } }

/* ---------- 動き（JSがあり、動きを減らす設定でないときだけ隠す） ---------- */
html.motion .fade { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 0.1s); }
html.motion .fade.is-in { opacity: 1; transform: none; }
html.motion .louver i { transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
html.motion .louver i:nth-child(2) { transition-delay: .08s; }
html.motion .louver i:nth-child(3) { transition-delay: .16s; }
html.motion .louver.is-in i { transform: scaleX(1); }

html.motion .forms__i { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i) * 0.12s); }
html.motion .dg.is-in .forms__i { opacity: 1; transform: none; }
html.motion .dg.is-in .wind { animation: breeze 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .2s); }
.wind { transform-box: fill-box; }
@keyframes breeze { 0% { opacity: 1; transform: translate(0, 0); } 50% { opacity: .55; transform: translate(var(--dx), var(--dy)); } 100% { opacity: 1; transform: translate(0, 0); } }

html.motion .ks3__t tbody tr { opacity: 0; transition: opacity .6s ease; transition-delay: calc(var(--i) * 0.14s + .1s); }
html.motion .ks3.is-in tbody tr { opacity: 1; }

html.motion .ks1__i { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * 0.18s); }
html.motion .ks1__i::after { transform: scaleX(0); transition: transform .5s ease; transition-delay: calc(var(--i) * 0.18s + .25s); }
html.motion .ks1.is-in .ks1__i { opacity: 1; transform: none; }
html.motion .ks1.is-in .ks1__i::after { transform: none; }

html.motion .ks4__open, html.motion .ks4__work { transform: scaleX(0); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
html.motion .ks4__work { transition-delay: .5s; }
html.motion .ks4.is-in .ks4__open, html.motion .ks4.is-in .ks4__work { transform: none; }
html.motion .ks4__tags li { opacity: 0; transform: translateX(-8px); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--i) * 0.12s + .9s); }
html.motion .ks4.is-in .ks4__tags li { opacity: 1; transform: none; }

html.motion .shot { opacity: 0; transition: opacity .6s ease; transition-delay: calc(var(--i) * .15s); }
html.motion .shots.is-in .shot { opacity: 1; }
html.motion .sheet { opacity: 0; transform: rotate(-6deg) translateY(16px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
html.motion .sheet.is-in { opacity: 1; transform: rotate(-2deg); }
html.motion .sheet__ok { opacity: 0; transform: scale(.6); transition: opacity .4s ease .7s, transform .4s ease .7s; }
html.motion .sheet.is-in .sheet__ok { opacity: 1; transform: none; }
html.motion .map { opacity: 0; transition: opacity .7s ease; }
html.motion .map.is-in { opacity: 1; }

/* 最初の画面は読み込みと同時に動かす（判定を待たない） */
html.motion .hero__img img { animation: settle 1.4s cubic-bezier(.2,.7,.2,1) both; }
html.motion .hero__card { animation: rise .8s cubic-bezier(.2,.7,.2,1) .2s both; }
html.motion .hero__btns { animation: rise .8s cubic-bezier(.2,.7,.2,1) .35s both; }
html.motion .sites__i { animation: slide .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.35s + var(--i) * .12s); }
html.motion .ph__en { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
html.motion .ph__img img { animation: settle 1.4s cubic-bezier(.2,.7,.2,1) both; }
html.motion .cta__vane i { animation: none; }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.nb { display: inline-block; }
@media (max-width: 560px) {
  .forms--big { grid-template-columns: 1fr; }
  .forms--big .forms__i { display: grid; grid-template-columns: 44% 1fr; gap: 14px; align-items: center; }
  .forms--big figcaption { border-top: 0; margin-top: 0; padding-top: 0; }
}
.ks3__t td, .ks3__t th, .spec td { word-break: auto-phrase; }
