@charset "UTF-8";
/* Heart Net corporate site */

/* ---------- tokens ---------- */
:root {
  --head: #0268AC;
  --brand-deep: #014A7C;
  --brand-ink: #0B2F4A;
  --sky: #65C3CF;
  --tint: #EAF5FA;
  --tint-2: #D7ECF6;
  --warm: #FBF6EC;
  --bg: #FFFFFF;
  --ink: #12304A;
  --ink-2: #2F4557;
  --ink-3: #5A6E7D;
  --line: #D5E2EA;
  --line-strong: #A9BFCC;
  --coral: #E9647C;
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M13 23C5 17 0 12 0 7 0 3 3 0 7 0c3 0 5 1.500 6 4 1-2.500 3-4 6-4 4 0 7 3 7 7 0 5-5 10-13 16Z'/%3E%3C/svg%3E");

  --fs-display: clamp(44px, 6.2vw, 92px);
  --fs-h1: clamp(30px, 4.4vw, 60px);
  --fs-h2: clamp(27px, 3.4vw, 46px);
  --fs-h3: clamp(22px, 2.4vw, 32px);
  --fs-h4: clamp(19px, 1.7vw, 23px);
  --fs-lead: clamp(17px, 1.35vw, 19px);
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-caption: 13px;

  --en: 'Outfit', 'Noto Sans JP', sans-serif;
  --ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --round: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --wrap: 1200px;
  --sec: clamp(72px, 9vw, 140px);
  --r-l: clamp(24px, 3vw, 40px);
  --r-m: 20px;
  --hd-gap: 14px;
  --hd-bar: 68px;
  --hd: calc(var(--hd-gap) * 2 + var(--hd-bar));
  --bar: 0px;
}
@media (max-width: 1024px) { :root { --hd-gap: 10px; --hd-bar: 60px; } }
@media (max-width: 640px) { :root { --hd-gap: 8px; --hd-bar: 56px; --bar: 60px; --fs-body: 16px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-variant-numeric: lining-nums; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--ja); font-size: var(--fs-body); font-weight: 500; line-height: 2; letter-spacing: .04em; overflow-x: clip; padding-bottom: var(--bar); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--head); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 16px; z-index: 300; }
.skip:focus { left: 8px; top: 8px; }
.nw { white-space: nowrap; }
.ln { display: block; }
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } .pc-only { display: none; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* line breaking (main.js adds .phr, .is-flow, .is-just) */
.phr main, .phr footer { word-break: keep-all; overflow-wrap: anywhere; }
.is-flow { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
.is-just { text-align: justify; text-justify: inter-character; }
.is-just-c { text-align-last: center; }
.txt-nobr br:not(.br-keep) { display: none; }

.wrap { width: min(100%, calc(var(--wrap) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--s { --wrap: 880px; }
.sec { padding-block: var(--sec); position: relative; }
.sec--tint { background: var(--tint); }
.sec--warm { background: var(--warm); }
.sec--deep { background: var(--brand-deep); color: #fff; }
.sec + .sec--flush { padding-top: 0; }
.prose > p + p { margin-top: 1lh; }

/* a soft hill line where one plane meets the next */
.hill { display: block; width: 100%; height: clamp(40px, 6vw, 96px); margin-bottom: -1px; }
.hill path { fill: var(--c, var(--tint)); }

/* ---------- section head ---------- */
.sh { margin-bottom: clamp(36px, 4.6vw, 64px); }
.sh__en { display: block; font-family: var(--en); font-weight: 600; font-size: var(--fs-display); line-height: 1.05; letter-spacing: .005em; color: var(--head); }
.sh__jp { display: block; margin-top: 12px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 700; color: var(--ink); letter-spacing: .08em; }
.sh__ttl { margin-top: clamp(20px, 2.4vw, 32px); font-size: var(--fs-h2); font-weight: 900; line-height: 1.45; color: var(--ink); letter-spacing: .03em; }
.sh__lead { margin-top: 20px; font-size: var(--fs-lead); line-height: 2; }
.sh--c { text-align: center; }
.ttl { font-size: var(--fs-h2); font-weight: 900; line-height: 1.45; color: var(--ink); letter-spacing: .03em; }
.ttl-3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.5; color: var(--ink); letter-spacing: .03em; }
.ttl-4 { font-size: var(--fs-h4); font-weight: 700; line-height: 1.55; color: var(--ink); letter-spacing: .03em; }
.c-head { color: var(--head); }
@media (max-width: 640px) { .sh { text-align: center; } .ttl, .ttl-3 { text-align: center; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 58px; padding: 8px 10px 8px 28px; border-radius: 999px; background: var(--head); color: #fff; font-weight: 700; font-size: 16px; line-height: 1.5; letter-spacing: .05em; transition: background .25s; }
.btn:hover { background: var(--brand-deep); }
.arw { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .25s; }
.arw::before { content: ""; width: 14px; height: 14px; background: var(--head); clip-path: polygon(45% 0, 100% 50%, 45% 100%, 45% 68%, 0 68%, 0 32%, 45% 32%); }
.btn:hover .arw { transform: translateX(3px); }
.btn--w { background: #fff; color: var(--head); }
.btn--w .arw { background: var(--head); }
.btn--w .arw::before { background: #fff; }
.btn--w:hover { background: var(--tint); }
.btn--s { min-height: 50px; padding: 5px 7px 5px 22px; font-size: 15px; }
.btn--s .arw { width: 36px; height: 36px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btns--c { justify-content: center; }
@media (max-width: 640px) { .btn { width: 100%; } .btns { width: 100%; } }
/* a circle arrow alone, for small rows */
.go { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--head); display: grid; place-items: center; transition: transform .25s; }
.go::before { content: ""; width: 15px; height: 15px; background: #fff; clip-path: polygon(45% 0, 100% 50%, 45% 100%, 45% 68%, 0 68%, 0 32%, 45% 32%); }
.lnk { display: inline-flex; align-items: center; gap: 12px; color: var(--head); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lnk .go { width: 32px; height: 32px; }
.lnk .go::before { width: 12px; height: 12px; }
a:hover > .go { transform: translateX(3px); }

/* ---------- header ---------- */
.hd { position: fixed; top: var(--hd-gap); left: var(--hd-gap); right: var(--hd-gap); z-index: 100; }
.hd__in { display: flex; align-items: center; gap: 16px; height: var(--hd-bar); padding-inline: 24px 10px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(2, 104, 172, .1); }
.hd__logo { flex: none; }
.hd__logo img { width: 190px; height: auto; }
.gn { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); margin-left: auto; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: .04em; }
.gn__item { position: relative; }
.gn__link { display: flex; align-items: center; height: var(--hd-bar); white-space: nowrap; }
.gn__link[aria-current="page"] { color: var(--head); text-decoration: underline; text-underline-offset: 6px; }
.gn__link:hover { color: var(--head); }
.gn__pane { position: absolute; top: calc(100% + 2px); left: 50%; translate: -50% 0; width: max-content; min-width: 260px; display: grid; gap: 4px; padding: 14px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(2, 104, 172, .14); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.gn__item:hover .gn__pane, .gn__item:focus-within .gn__pane { opacity: 1; visibility: visible; }
.gn__pane a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px 10px 14px; border-radius: 12px; font-size: 15px; }
.gn__pane a:hover { background: var(--tint); color: var(--head); }
.gn__pane .go { width: 28px; height: 28px; }
.gn__pane .go::before { width: 10px; height: 10px; }
.gn__sub { display: flex; align-items: center; gap: 18px; padding-left: 20px; margin-left: 4px; position: relative; }
.gn__sub::before { content: ""; position: absolute; left: 0; top: 50%; height: 30px; translate: 0 -50%; width: 1px; background: var(--line-strong); }
.gn__sub a { display: grid; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; white-space: nowrap; }
.gn__sub small { font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--head); }
.gn__sub a:hover { color: var(--head); }
.hd__cta { flex: none; margin-left: 4px; }
.hd__btn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 4px 6px 4px 20px; border-radius: 14px; background: var(--head); color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; letter-spacing: .04em; }
.hd__btn:hover { background: var(--brand-deep); }
.hd__btn .arw { width: 36px; height: 36px; border-radius: 10px; }
.hd__menu { display: none; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); position: relative; }
.hd__menu span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--head); transition: transform .25s, top .25s; }
.hd__menu span:nth-child(1) { top: 18px; }
.hd__menu span:nth-child(2) { top: 28px; }
.is-menu .hd__menu span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.is-menu .hd__menu span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
@media (max-width: 1240px) {
  .gn { display: none; }
  .hd__cta { margin-left: auto; }
  .hd__menu { display: block; }
  .hd__in { padding-inline: 16px 6px; gap: 8px; }
}
@media (max-width: 640px) {
  .hd__in { border-radius: 14px; padding-inline: 12px 4px; }
  .hd__logo img { width: 150px; }
  .hd__btn { height: 44px; padding: 0 14px; border-radius: 12px; font-size: 13px; }
  .hd__btn .arw { display: none; }
  .hd__menu { width: 44px; height: 44px; border-radius: 12px; }
  .hd__menu span { left: 11px; right: 11px; }
  .hd__menu span:nth-child(1) { top: 16px; }
  .hd__menu span:nth-child(2) { top: 26px; }
  .is-menu .hd__menu span:nth-child(1), .is-menu .hd__menu span:nth-child(2) { top: 21px; }
}
.is-menu .hd { transform: none !important; }

/* drawer */
.dr { position: fixed; inset: 0; z-index: 90; background: var(--tint); padding: calc(var(--hd) + 16px) var(--gutter) calc(var(--bar) + 32px); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.dr.is-open { opacity: 1; visibility: visible; }
.dr__grp { padding-block: 16px; }
.dr__h { display: block; font-size: 20px; font-weight: 900; color: var(--ink); line-height: 1.6; }
.dr__sub { display: grid; gap: 2px; margin-top: 8px; }
.dr__sub a { display: flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 700; color: var(--head); }
.dr__tel { display: grid; gap: 10px; margin-top: 20px; }
.dr__tel a { display: grid; padding: 12px 18px; background: #fff; border-radius: 14px; }
.dr__tel small { font-size: 13px; font-weight: 700; color: var(--ink-3); line-height: 1.6; }
.dr__tel b { font-family: var(--en); font-size: 24px; font-weight: 600; color: var(--head); line-height: 1.3; letter-spacing: .02em; }
.is-menu { overflow: hidden; }

/* phone CTA bar + phone number sheet */
.spbar { display: none; }
@media (max-width: 640px) {
  .spbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.25fr; background: #fff; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -1px 0 rgba(2, 104, 172, .16); }
  .spbar > * { display: flex; align-items: center; justify-content: center; min-height: 60px; font-size: 14px; font-weight: 700; color: var(--head); line-height: 1.4; }
  .spbar > :last-child { background: var(--head); color: #fff; }
}
.telsheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; background: #fff; border-radius: 20px 20px 0 0; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom)); transform: translateY(102%); visibility: hidden; transition: transform .28s, visibility .28s; }
.telsheet.is-open { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(11, 47, 74, .45); }
.telsheet__h { font-size: 17px; font-weight: 900; color: var(--ink); text-align: center; }
.telsheet__list { display: grid; gap: 8px; margin-top: 12px; }
.telsheet__list a { display: grid; justify-items: center; padding: 10px; background: var(--tint); border-radius: 14px; line-height: 1.5; }
.telsheet__list small { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.telsheet__list b { font-family: var(--en); font-size: 24px; font-weight: 600; color: var(--head); letter-spacing: .02em; }
.telsheet__close { display: block; width: 100%; min-height: 48px; margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--ink-2); }

/* ---------- MV: a sky over the hills of the town, the photo behind the hills, the town standing on them ---------- */
.mv { position: relative; height: 100vh; height: 100svh; min-height: 640px; background: #E3F4FB; overflow: hidden; --hh: clamp(130px, 17vw, 250px); --k: 1; }
.mv__defs { position: absolute; }
.mv__sky { position: absolute; inset: 0; z-index: 0; }
.mv__cloud { position: absolute; height: auto; }
.mv__cloud--a { left: 3%; top: 47%; width: 13vw; }
.mv__cloud--b { left: 37%; top: calc(var(--hd) + 10px); width: 7vw; }
.mv__bird { position: absolute; left: 31%; top: 50%; width: 6.5vw; height: auto; }
.mv__photo { position: absolute; z-index: 1; top: calc(var(--hd) + 8px); right: clamp(16px, 2vw, 32px); bottom: calc(var(--hh) * .42); width: 50vw; border-radius: clamp(32px, 4vw, 64px); overflow: hidden; background: var(--tint-2); }
.mv__slides, .mv__slide { position: absolute; inset: 0; }
.mv__slide { opacity: 0; transition: opacity 1.5s ease; }
.mv__slide.is-on { opacity: 1; }
.mv__slide img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.mv__slide.is-on img { animation: mvzoom 8s ease-out both; }
@keyframes mvzoom { from { transform: scale(1.06); } to { transform: none; } }
.mv__sp { display: none; }
.mv__box { position: absolute; z-index: 3; left: clamp(20px, 5.4vw, 88px); top: calc(var(--hd) + clamp(32px, 9vh, 104px)); width: 42vw; }
.mv__catch { font-family: var(--round); font-size: min(4vw, 8svh); font-weight: 900; line-height: 1.55; color: var(--ink); letter-spacing: .03em; }
.mv__catch .ln { white-space: nowrap; }
.mv__catch em { font-style: normal; color: var(--head); background: linear-gradient(#FFE48A, #FFE48A) no-repeat 0 94% / 100% 34%; padding-inline: .06em; }
/* a heart-shaped photo: Heart Net's own mark, hands that meet */
.mv__heart { position: absolute; z-index: 4; left: 42.5vw; bottom: calc(var(--hh) * .62); width: clamp(120px, 14vw, 210px); aspect-ratio: 1 / .93; background: #fff; clip-path: url(#heart-clip); padding: clamp(6px, .7vw, 10px); }
.mv__heart > div { width: 100%; height: 100%; clip-path: url(#heart-clip); overflow: hidden; }
.mv__heart img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 62%; }
.mv__town { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--hh); z-index: 2; pointer-events: none; }
.mv__hill { position: absolute; left: 0; bottom: 0; width: 100%; max-width: none; }
.mv__hill--b { height: 100%; } .mv__hill--b path { fill: #BFE5CF; }
.mv__hill--f { height: 58%; } .mv__hill--f path { fill: #fff; }
.mv__town .sp { position: absolute; left: var(--x); bottom: calc(var(--hh) * var(--b)); width: calc(var(--w) * var(--k)); height: auto; max-width: none; }
@media (prefers-reduced-motion: no-preference) {
  .mv__cloud--a { animation: drift 46s ease-in-out infinite alternate; }
  .mv__cloud--b { animation: drift 34s ease-in-out infinite alternate-reverse; }
  .mv__bird { animation: drift 26s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: translateX(-1.5vw); } to { transform: translateX(2.5vw); } }
@media (max-width: 760px) {
  .mv { height: calc(var(--vh, 1svh) * 100 - var(--bar)); min-height: 600px; --hh: 150px; --k: 2.3; }
  .mv__pc { display: none; }
  .mv__sp { display: block; height: 100%; }
  .mv__photo { left: 10px; right: 10px; width: auto; top: calc(var(--hd) + 4px); bottom: auto; height: 42%; border-radius: 28px; }
  .mv__slide img { object-position: center 18%; }
  .mv__box { left: 20px; right: 20px; width: auto; top: calc(var(--hd) + 42% + 20px); }
  .mv__catch { font-size: min(8.2vw, 36px); }
  .mv__heart { left: auto; right: 22px; bottom: auto; top: calc(var(--hd) + 42% - 84px); width: 92px; }
  .mv__cloud--a { left: 2%; top: auto; bottom: 24%; width: 26vw; }
  .mv__cloud--b, .mv__bird { display: none; }
  .mv__town .sp--pc { display: none; }
  .mv__town .mv__hearts { left: 30%; bottom: calc(var(--hh) * .92); width: 12vw; }
  .mv__hill--f { height: 52%; }
}
/* ---------- concept ---------- */
.concept { padding-block: clamp(56px, 7vw, 110px) var(--sec); }
.concept__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.concept__ttl { font-size: var(--fs-h2); font-weight: 900; line-height: 1.5; color: var(--ink); margin-top: 24px; }
.concept__ttl .ln { white-space: nowrap; }
.concept__ph { margin-top: clamp(24px, 3vw, 40px); }
.concept__ph img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-l); }
.concept__ph figcaption { margin-top: 10px; font-size: var(--fs-small); line-height: 1.7; color: var(--ink-2); }
/* philosophy, president and the button are one panel: nothing floats on its own */
.creed { margin-top: 32px; padding: 28px 32px; background: var(--tint); border-radius: var(--r-l); }
.creed > small { display: block; font-size: var(--fs-small); font-weight: 700; color: var(--head); }
.creed > b { display: block; margin-top: 4px; font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.5; }
.creed__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(2, 104, 172, .18); }
.creed__foot .btn { flex: 1 1 auto; }
.concept__sign { display: flex; align-items: center; gap: 14px; }
.concept__sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.concept__sign p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.concept__sign b { display: block; font-size: 17px; color: var(--ink); }
@media (max-width: 860px) { .concept__in { grid-template-columns: 1fr; } .concept__ttl { text-align: center; } .creed { padding: 24px; text-align: center; } .creed__foot { flex-direction: column; align-items: stretch; } .concept__sign { justify-content: center; text-align: left; } }

/* ---------- services: one band per service; the worry is the headline, name and summary sit in the button ---------- */
.svc { display: grid; gap: 16px; }
.svc__r { --c: var(--head); --bg: var(--tint); position: relative; display: grid; grid-template-columns: clamp(200px, 20vw, 260px) minmax(0, 1fr) clamp(280px, 26vw, 340px); align-items: center; gap: clamp(24px, 3.4vw, 48px); padding: 16px clamp(24px, 3.4vw, 48px); background: var(--bg); border-radius: var(--r-l); }
.svc__r--houmon { --c: #0268AC; --bg: #E6F3FA; }
.svc__r--aifit { --c: #CC4664; --bg: #FDEDF0; }
.svc__r--shukatsu { --c: #2A8461; --bg: #E7F5ED; }
.svc__r--goyo { --c: #B36A00; --bg: #FFF4DB; }
.svc__sp { position: absolute; right: clamp(30px, 4vw, 60px); top: -14px; width: clamp(64px, 6vw, 88px); height: auto; }
.svc__art { aspect-ratio: 4 / 3; }
.svc__art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.svc__ask { font-size: clamp(24px, 2.5vw, 34px); font-weight: 900; color: var(--ink); line-height: 1.5; letter-spacing: .03em; }
.svc__go { width: 100%; min-height: 82px; padding: 8px 12px 8px 28px; gap: 12px; background: var(--c); }
.svc__go:hover { background: var(--c); filter: brightness(.9); }
.svc__go .arw::before { background: var(--c); }
.svc__lbl { min-width: 0; }
.svc__lbl b { display: block; font-size: 22px; font-weight: 900; line-height: 1.4; letter-spacing: .04em; }
.svc__lbl small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; }
@media (max-width: 960px) { .svc__r { grid-template-columns: 200px minmax(0, 1fr); row-gap: 12px; } .svc__art { grid-row: span 2; } .svc__ask { align-self: end; } .svc__go { align-self: start; } }
@media (max-width: 640px) {
  .svc__r { grid-template-columns: 1fr; gap: 14px; padding: 20px 20px 24px; text-align: center; }
  .svc__art { grid-row: auto; width: min(100%, 280px); margin-inline: auto; }
  .svc__ask { font-size: 24px; align-self: auto; }
  .svc__go { text-align: left; padding-left: 24px; }
}

/* ---------- honest ---------- */.hon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.hon__art { aspect-ratio: 4 / 3; background: #fff; border-radius: var(--r-l); overflow: hidden; }
.hon__art img { width: 100%; height: 100%; object-fit: cover; }
.hon__ttl { margin-top: 22px; font-size: clamp(20px, 1.85vw, 27px); font-weight: 900; line-height: 1.5; color: var(--ink); letter-spacing: .02em; }
.hon__txt { margin-top: 12px; font-size: var(--fs-small); line-height: 1.95; }
.hon__who { display: block; margin-top: 8px; font-size: var(--fs-caption); color: var(--ink-3); line-height: 1.7; }
@media (max-width: 900px) { .hon { grid-template-columns: 1fr; gap: 48px; } .hon__ttl { text-align: center; } }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.num { padding: 24px 16px 22px; background: #fff; border-radius: var(--r-m); text-align: center; }
.num img { width: 88px; height: 88px; margin-inline: auto; object-fit: contain; }
.num__k { display: block; margin-top: 8px; font-size: var(--fs-h4); font-weight: 700; color: var(--ink); line-height: 1.5; }
.num__v { display: block; margin-top: 2px; font-family: var(--en); font-size: clamp(44px, 5vw, 68px); font-weight: 600; color: var(--head); line-height: 1.15; letter-spacing: 0; }
.num__v small { font-family: var(--ja); font-size: .36em; font-weight: 700; margin-left: 4px; }
.num__n { display: block; margin-top: 6px; font-size: var(--fs-caption); line-height: 1.7; color: var(--ink-2); }
@media (max-width: 900px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* ---------- voice ---------- */
.vo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.vo__c { padding: clamp(24px, 2.6vw, 36px); background: #fff; border-radius: var(--r-l); }
.vo__who { font-size: var(--fs-small); font-weight: 700; color: var(--head); line-height: 1.6; text-align: center; }
.vo__art { width: 150px; height: 150px; margin: 12px auto 4px; }
.vo__art img { width: 100%; height: 100%; object-fit: contain; }
.vo__txt { margin-top: 12px; font-size: 16px; line-height: 2; color: var(--ink); }
.note { margin-top: 20px; font-size: var(--fs-caption); line-height: 1.8; color: var(--ink-3); }
@media (max-width: 900px) { .vo { grid-template-columns: 1fr; } }

/* ---------- staff: real people, in their own words ---------- */
.stf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stf__c { padding: clamp(24px, 2.6vw, 32px); background: #fff; border-radius: var(--r-l); }
.stf__who { display: flex; align-items: center; gap: 16px; }
.stf__ph { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.stf__who p { min-width: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.stf__who b { display: block; margin-top: 2px; font-size: 20px; font-weight: 900; color: var(--ink); }
.stf__ttl { margin-top: 18px; font-size: var(--fs-h4); font-weight: 900; line-height: 1.55; color: var(--head); }
.stf__txt { margin-top: 10px; font-size: 16px; line-height: 2; color: var(--ink); }
@media (max-width: 900px) { .stf { grid-template-columns: 1fr; } }

/* ---------- news rows ---------- */
.news { display: grid; }
.news__row { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: clamp(16px, 2.4vw, 32px); align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); }
.news__row:first-child { border-top: 1px solid var(--line); }
.news__th { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--tint); }
.news__th img { width: 100%; height: 100%; object-fit: cover; }
.news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: var(--fs-small); line-height: 1.6; }
.news__meta time { font-family: var(--en); font-weight: 600; color: var(--ink-2); letter-spacing: .03em; }
.tag { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--tint); color: var(--head); font-size: var(--fs-caption); font-weight: 700; line-height: 1.7; white-space: nowrap; }
.news__ttl { margin-top: 6px; font-size: var(--fs-h4); font-weight: 700; color: var(--ink); line-height: 1.6; }
.news__ex { margin-top: 4px; font-size: var(--fs-small); line-height: 1.8; }
.news__row:hover .news__ttl { color: var(--head); }
@media (max-width: 640px) {
  .news__row { grid-template-columns: 104px minmax(0, 1fr); align-items: start; gap: 14px; }
  .news__row .go { display: none; }
  .news__ttl { font-size: 16px; }
  .news__ex { display: none; }
}

/* column cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.card__th { aspect-ratio: 3 / 2; border-radius: var(--r-m); overflow: hidden; background: var(--tint); }
.card__th img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__th img { transform: scale(1.03); }
.card__meta { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: var(--fs-caption); line-height: 1.6; }
.card__ttl { margin-top: 8px; font-size: var(--fs-h4); font-weight: 700; color: var(--ink); line-height: 1.6; }
.card:hover .card__ttl { color: var(--head); }
.more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- gateways ---------- */
.gate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.gate__c { display: flex; flex-direction: column; background: var(--tint); border-radius: var(--r-l); overflow: hidden; }
.gate__art { aspect-ratio: 3 / 2; }
.gate__art img { width: 100%; height: 100%; object-fit: cover; }
.gate__b { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.gate__ttl { font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.5; }
.gate__txt { margin-top: 10px; font-size: var(--fs-small); line-height: 1.95; flex: 1; }
.gate__b .btn { margin-top: 20px; align-self: flex-start; }
@media (max-width: 860px) { .gate { grid-template-columns: 1fr; } .gate__ttl { text-align: center; } .gate__b .btn { align-self: stretch; } }

/* ---------- contact band ---------- */
.cta { background: var(--brand-deep); color: #fff; padding-block: clamp(56px, 7vw, 104px); }
.cta__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta__en { display: block; font-family: var(--en); font-size: var(--fs-display); font-weight: 600; line-height: 1.05; color: #fff; }
.cta__ttl { margin-top: 18px; font-size: var(--fs-h3); font-weight: 900; line-height: 1.55; color: #fff; }
.cta__lead { margin-top: 10px; font-size: var(--fs-small); line-height: 1.9; color: #E4F1F8; }
.cta__tels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.cta__tel { display: grid; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 14px; line-height: 1.5; }
.cta__tel small { font-size: var(--fs-caption); font-weight: 700; color: #E4F1F8; }
.cta__tel b { font-family: var(--en); font-size: clamp(22px, 2vw, 27px); font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.cta__tel span { font-size: 12px; color: #E4F1F8; }
.cta__tel:hover { background: rgba(255, 255, 255, .1); }
.cta__art { position: relative; aspect-ratio: 1; border-radius: var(--r-l); background: var(--tint); }
.cta__art img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cta__art .cta__sp { position: absolute; left: -40px; bottom: -22px; width: clamp(64px, 6.4vw, 92px); height: auto; border-radius: 0; }
@media (max-width: 1180px) { .cta__art .cta__sp { left: -8px; } }
@media (max-width: 960px) { .cta__in { grid-template-columns: 1fr; } .cta__tels { grid-template-columns: 1fr; } .cta__art { display: none; } .cta__en, .cta__ttl { text-align: center; } .cta__tel { justify-items: center; text-align: center; } }

/* ---------- footer ---------- */
.ft { background: var(--tint); padding-block: clamp(48px, 6vw, 80px) 28px; color: var(--ink-2); }
.ft__in { display: grid; grid-template-columns: minmax(330px, 1fr) minmax(0, 2.1fr); gap: clamp(32px, 5vw, 72px); }
.ft__logo img { width: 210px; mix-blend-mode: multiply; }
.ft__addr { margin-top: 16px; font-size: var(--fs-small); line-height: 1.9; }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ft__h { display: block; font-size: 15px; font-weight: 900; color: var(--ink); line-height: 1.7; }
.ft__h + .ft__h { margin-top: 10px; }
.ft__sub { display: grid; gap: 2px; margin-block: 8px 12px; font-size: 14px; line-height: 1.7; }
.ft__sub a:hover, .ft__h:hover { color: var(--head); }
.ft__sns { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; }
.ft__sns a { color: var(--head); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ft__copy { margin-top: 40px; font-size: 12px; text-align: center; color: var(--ink-3); letter-spacing: .04em; }
@media (max-width: 860px) {
  .ft__in { grid-template-columns: 1fr; text-align: center; }
  .ft__logo img { margin-inline: auto; }
  .ft__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
  .ft__sns { justify-content: center; }
}

/* ---------- lower pages: head ---------- */
.pgh { background: var(--tint); padding-top: calc(var(--hd) + clamp(20px, 3vw, 40px)); overflow: hidden; }
.pgh__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 56px); align-items: end; }
.pgh__txt { padding-bottom: clamp(36px, 5vw, 72px); }
.crumb { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: var(--fs-caption); line-height: 1.7; color: var(--ink-2); margin-bottom: clamp(20px, 3vw, 40px); }
.crumb li + li::before { content: "／"; margin-right: 10px; color: var(--line-strong); }
.crumb a:hover { color: var(--head); text-decoration: underline; }
.pgh__en { display: block; font-family: var(--en); font-size: clamp(38px, 5vw, 72px); font-weight: 600; line-height: 1.1; color: var(--head); }
.pgh__ttl { margin-top: 14px; font-size: clamp(28px, 3.5vw, 50px); font-weight: 900; color: var(--ink); line-height: 1.4; }
.pgh__lead { margin-top: 18px; font-size: var(--fs-lead); line-height: 1.95; }
.pgh__art { aspect-ratio: 3 / 2; border-radius: var(--r-l) var(--r-l) 0 0; overflow: hidden; background: var(--tint-2); }
.pgh__art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .pgh__in { grid-template-columns: 1fr; }
  .pgh__txt { padding-bottom: 0; text-align: center; }
  .crumb { justify-content: center; }
}

/* ---------- lower pages: parts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split--top { align-items: start; }
.split__art { border-radius: var(--r-l); overflow: hidden; }
.split__art img { width: 100%; height: 100%; object-fit: cover; }
.split__art--free { border-radius: 0; overflow: visible; }
.split__art--free img { object-fit: contain; }
.split__b .ttl, .split__b .ttl-3 { margin-bottom: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split__art { order: -1; } }

/* illustration + title + text in a row of equal blocks */
.tiles { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.tile { background: #fff; border-radius: var(--r-m); padding: 22px 20px 24px; text-align: center; }
.sec:not(.sec--tint):not(.sec--warm) .tile { background: var(--tint); }
.tile__art { width: min(180px, 80%); aspect-ratio: 1; margin-inline: auto; }
.tile__art img { width: 100%; height: 100%; object-fit: contain; }
.sec:not(.sec--tint):not(.sec--warm) .tile__art img { mix-blend-mode: multiply; }
.tile__ttl { margin-top: 10px; font-size: var(--fs-h4); font-weight: 700; color: var(--ink); line-height: 1.55; }
.tile__txt { margin-top: 8px; font-size: var(--fs-small); line-height: 1.85; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* numbered list with rule lines */
.olist { counter-reset: n; }
.olist li { counter-increment: n; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; align-items: baseline; padding-block: 16px; border-bottom: 1px solid var(--line); line-height: 1.8; color: var(--ink); font-weight: 700; }
.olist li::before { content: counter(n, decimal-leading-zero); font-family: var(--en); font-weight: 600; color: var(--head); font-size: 20px; }
.olist li:first-child { border-top: 1px solid var(--line); }

/* point list */
.dots li { position: relative; padding-left: 22px; line-height: 1.9; }
.dots li + li { margin-top: 6px; }
.dots li::before { content: ""; position: absolute; left: 0; top: .72em; width: 13px; height: 12px; background: var(--coral); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }

/* company rows */
.co { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.co__l { position: sticky; top: calc(var(--hd) + 24px); align-self: start; }
.co__l img { margin-top: 24px; border-radius: var(--r-m); }
.rows > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.rows > div:first-child { border-top: 1px solid var(--line); }
.rows dt { font-size: var(--fs-small); font-weight: 700; color: var(--head); line-height: 2; }
.rows dd { color: var(--ink); font-weight: 700; line-height: 1.9; }
.rows dd small { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--ink-2); }
.rows .lnk { font-size: var(--fs-small); margin-top: 6px; }
@media (max-width: 860px) { .co { grid-template-columns: 1fr; } .co__l { position: static; } .rows > div { grid-template-columns: 1fr; gap: 0; padding-block: 18px; } .co__l .sh { text-align: center; } }

/* timeline */
.tl li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); line-height: 1.8; }
.tl li:first-child { border-top: 1px solid var(--line); }
.tl b { font-family: var(--en); font-size: 20px; font-weight: 600; color: var(--head); letter-spacing: .02em; }
.tl span { color: var(--ink); font-weight: 700; }
@media (max-width: 560px) { .tl li { grid-template-columns: 1fr; gap: 0; padding-block: 14px; } }

/* photo gallery: two sizes, one gap */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gal figcaption { margin-top: 10px; font-size: var(--fs-small); line-height: 1.7; color: var(--ink); text-align: center; }
.gal img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); }
@media (max-width: 760px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 520px) { .gal { grid-template-columns: 1fr; gap: 20px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.step { counter-increment: s; position: relative; background: #fff; border-radius: var(--r-m); padding: 22px 18px 24px; text-align: center; }
.sec:not(.sec--tint):not(.sec--warm) .step { background: var(--tint); }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-inline: auto; border-radius: 50%; background: var(--head); color: #fff; font-family: var(--en); font-size: 19px; font-weight: 600; line-height: 1; }
.step img { width: min(170px, 80%); aspect-ratio: 1; object-fit: contain; margin: 8px auto 0; }
.sec:not(.sec--tint):not(.sec--warm) .step img { mix-blend-mode: multiply; }
.step__ttl { margin-top: 8px; font-size: var(--fs-h4); font-weight: 700; color: var(--ink); line-height: 1.55; }
.step__txt { margin-top: 8px; font-size: var(--fs-small); line-height: 1.85; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* two options side by side */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.pair__c { background: var(--tint); border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); }
.sec--tint .pair__c { background: #fff; }
.pair__ttl { font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.5; text-align: center; }
.pair__c .dots { margin-top: 16px; }
.pair__sub { display: block; margin-top: 18px; font-size: var(--fs-small); font-weight: 700; color: var(--head); }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }

/* comparison table → cards on phones */
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.8; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--head); color: #fff; font-size: 17px; font-weight: 700; border-bottom: 0; }
.cmp thead th:first-child { border-radius: 14px 0 0 0; background: transparent; }
.cmp thead th:last-child { border-radius: 0 14px 0 0; }
.cmp tbody th { width: 22%; color: var(--head); font-size: var(--fs-small); font-weight: 700; }
.cmp td { color: var(--ink); }
@media (max-width: 760px) {
  .cmp, .cmp thead, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp tbody tr { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .cmp tbody th, .cmp td { padding: 4px 0; border: 0; }
  .cmp td::before { content: attr(data-k) "："; font-weight: 700; color: var(--head); }
}

/* Q&A */
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 8px; align-items: baseline; padding-block: 20px; font-weight: 700; color: var(--ink); line-height: 1.7; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; font-family: var(--en); font-size: 20px; font-weight: 600; color: var(--head); }
.qa summary::after { content: "+"; font-family: var(--en); font-size: 24px; color: var(--head); line-height: 1; text-align: right; }
.qa[open] summary::after { content: "−"; }
.qa__a { padding: 0 32px 22px 42px; font-size: 16px; line-height: 1.95; }
@media (max-width: 640px) { .qa__a { padding-inline: 0; } }

/* letter style message */
.letter { background: var(--warm); border-radius: var(--r-l); padding: clamp(28px, 5vw, 72px); }
.letter__h { font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.55; }
.letter .prose { margin-top: 20px; }
.letter__sign { display: flex; align-items: center; gap: 16px; margin-top: 28px; justify-content: flex-end; }
.letter__sign img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.letter__sign p { line-height: 1.6; font-size: var(--fs-small); }
.letter__sign b { display: block; font-size: 18px; color: var(--ink); }
.quote { margin-block: 24px; padding: 22px 26px; background: #fff; border-radius: var(--r-m); font-size: var(--fs-h4); font-weight: 700; color: var(--head); line-height: 1.75; }

/* tabs / filters */
.flt { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.flt button { min-height: 44px; padding: 6px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-small); font-weight: 700; color: var(--ink); line-height: 1.5; }
.flt button[aria-pressed="true"] { background: var(--tint); box-shadow: inset 0 0 0 2px var(--head); color: var(--head); }
@media (max-width: 640px) { .flt { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; } .flt button { flex: none; } }

/* voices page */
.vp { display: grid; gap: 20px; }
.vp__c { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: start; background: #fff; border-radius: var(--r-l); padding: clamp(22px, 2.6vw, 36px); }
.vp__art img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.vp__who { font-weight: 700; color: var(--ink); line-height: 1.7; }
.vp__txt { margin-top: 8px; font-size: 16px; line-height: 2; }
@media (max-width: 640px) { .vp__c { grid-template-columns: 1fr; } .vp__art { width: 140px; margin-inline: auto; } .vp__who { text-align: center; } }

/* article */
.art { --wrap: 780px; }
.art__th { aspect-ratio: 3 / 2; border-radius: var(--r-l); overflow: hidden; background: var(--tint); margin-bottom: 32px; }
.art__th img { width: 100%; height: 100%; object-fit: cover; }
.art__ttl { font-size: var(--fs-h2); font-weight: 900; color: var(--ink); line-height: 1.55; }
.art__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 16px 24px; font-size: var(--fs-small); }
.art h2 { margin-top: 56px; font-size: var(--fs-h3); font-weight: 900; color: var(--ink); line-height: 1.55; }
.art h3 { margin-top: 32px; font-size: var(--fs-h4); font-weight: 700; color: var(--head); line-height: 1.6; }
.art p { margin-top: 18px; }
.art figure { margin-top: 24px; border-radius: var(--r-m); overflow: hidden; background: var(--tint); }
.art figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.art table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.art th, .art td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.art thead th { background: var(--tint); color: var(--head); }
.art__box { margin-top: 28px; padding: 22px 26px; background: var(--tint); border-radius: var(--r-m); }
.art__box b { color: var(--head); }
.art__toc { margin-top: 24px; padding: 22px 26px; background: var(--warm); border-radius: var(--r-m); font-size: 16px; line-height: 1.9; }
.art__toc b { color: var(--ink); }
.art__toc ol { margin-top: 6px; display: grid; gap: 2px; }
.art__toc a { color: var(--head); text-decoration: underline; text-underline-offset: 4px; }
.art__src { margin-top: 28px; font-size: var(--fs-caption); line-height: 1.8; color: var(--ink-3); }
.art__sample { margin-bottom: 24px; padding: 10px 16px; background: var(--warm); border-radius: 12px; font-size: var(--fs-small); color: var(--ink-2); }

/* forms */
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 8px; }
.form__l { font-weight: 700; color: var(--ink); line-height: 1.6; }
.form__req { margin-left: 8px; padding: 1px 8px; border-radius: 6px; background: var(--head); color: #fff; font-size: 12px; font-weight: 700; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.form textarea { min-height: 180px; line-height: 1.8; }
.form__radios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.form__radios label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; background: var(--tint); border-radius: 12px; font-weight: 700; color: var(--ink); line-height: 1.5; cursor: pointer; }
.form__radios input { width: 20px; height: 20px; accent-color: var(--head); flex: none; }
.form__agree { display: flex; align-items: flex-start; gap: 10px; line-height: 1.7; }
.form__agree input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--head); flex: none; }
.form__agree a { color: var(--head); text-decoration: underline; }
.form__done { padding: 32px; background: var(--tint); border-radius: var(--r-m); text-align: center; font-weight: 700; color: var(--ink); }
@media (max-width: 560px) { .form__radios { grid-template-columns: 1fr; } }

/* phone cards in page */
.telbox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.telbox a { display: grid; justify-items: center; padding: 22px 14px; background: var(--tint); border-radius: var(--r-m); line-height: 1.5; text-align: center; }
.telbox small { font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.telbox b { margin-top: 4px; font-family: var(--en); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; color: var(--head); letter-spacing: .01em; white-space: nowrap; }
.telbox span { font-size: var(--fs-caption); color: var(--ink-2); }
@media (max-width: 760px) { .telbox { grid-template-columns: 1fr; } }

/* info table of definitions (hours etc.) */
.info > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); line-height: 1.85; }
.info > div:first-child { border-top: 1px solid var(--line); }
.info dt { font-size: var(--fs-small); font-weight: 700; color: var(--head); }
.info dd { color: var(--ink); }
@media (max-width: 560px) { .info > div { grid-template-columns: 1fr; gap: 0; } }

/* person small photo beside a name */
.who { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.who img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-size: 18px; color: var(--ink); line-height: 1.5; }
.who small { font-size: var(--fs-small); line-height: 1.6; }

/* pending note in the demo */
.tbc { display: inline-block; padding: 0 8px; margin-inline: 2px; border-radius: 6px; background: var(--warm); color: #8A5A00; font-size: .85em; font-weight: 700; line-height: 1.7; }
.tbc-note { margin-top: 16px; padding: 12px 16px; background: var(--warm); border-radius: 12px; font-size: var(--fs-small); line-height: 1.8; }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.rv.is-in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > :nth-child(2) { transition-delay: .1s; }
.stagger.is-in > :nth-child(3) { transition-delay: .2s; }
.stagger.is-in > :nth-child(4) { transition-delay: .3s; }
.is-qa .rv, .is-qa .stagger > * { opacity: 1; transform: none; transition: none; }
.is-qa .mv__slide { transition: none; }
.is-qa .mv__slide img { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .stagger > * { opacity: 1; transform: none; transition: none; }
  .mv__slide { transition: none; }
  .mv__slide img { animation: none !important; }
}

/* ---------- play: rounded headlines, illustrations sprinkled over the page ---------- */
h1, h2, h3, h4, .sh__jp, .pgh__ttl, .cta__ttl, .bigline, .creed > b, .svc__lbl b, .stf__who b, .letter__h { font-family: var(--round); }
.sh { position: relative; }
.spk { position: absolute; height: auto; pointer-events: none; }
.spk--l { left: var(--x, 3%); top: var(--y, 8%); width: var(--w, clamp(90px, 10vw, 150px)); }
.spk--r { right: var(--x, 3%); top: var(--y, 8%); width: var(--w, clamp(90px, 10vw, 150px)); }
@media (max-width: 960px) { .spk--hide { display: none; } }
/* stickers: a white edge where an illustration sits on a photo */
.sticker { filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff); }
/* a strip of the town standing on a hill, between two sections */
.town { position: relative; height: clamp(90px, 11vw, 170px); margin-top: clamp(24px, 3vw, 48px); pointer-events: none; }
.town .hill { position: absolute; left: 0; right: 0; bottom: 0; }
.town .sp { position: absolute; left: var(--x); bottom: var(--b, 8%); width: var(--w); height: auto; max-width: none; }
@media (max-width: 640px) { .town .sp { width: calc(var(--w) * 1.9); } .town .sp--pc { display: none; } }
.town--ft { margin-top: calc(-1 * clamp(70px, 9vw, 130px)); height: clamp(70px, 9vw, 130px); z-index: 1; }
.cta { padding-bottom: calc(clamp(56px, 7vw, 104px) + clamp(60px, 7vw, 110px)); }
main > section:last-child:not(.cta) { padding-bottom: calc(var(--sec) + clamp(70px, 9vw, 130px)); } /* a page without the contact block: the town must not sit on the last words */
/* page heads: the same wavy edge, and one illustration on the photo */
.pgh { position: relative; }
.pgh::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(22px, 3.4vw, 50px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 34C200 4 380 6 600 30c220 24 400 30 560 12 110-12 200-24 280-18v36H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; z-index: 1; }
.pgh__in { position: relative; }
.pgh__sp { position: absolute; z-index: 2; left: 52%; bottom: clamp(26px, 3.6vw, 52px); width: auto; height: auto; max-width: clamp(90px, 10vw, 150px); max-height: clamp(84px, 9.4vw, 136px); }
@media (max-width: 760px) { .pgh__sp { left: 10px; bottom: 28px; max-width: 96px; max-height: 84px; } }
.concept__ph { position: relative; }
.concept__ph .concept__sp { position: absolute; right: -14px; bottom: 32px; width: clamp(60px, 6.6vw, 96px); height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.creed { position: relative; }
.creed__sp { position: absolute; right: 22px; top: -22px; width: clamp(56px, 5vw, 76px); height: auto; }
@media (max-width: 1240px) { .concept__ph .concept__sp { bottom: auto; top: -22px; right: 8px; } }
@media (max-width: 860px) { .creed__sp { right: 14px; } }

/* ---------- motion: only under .anim (set by main.js), so QA shots and reduced-motion see the final state ---------- */
:root { --spring: cubic-bezier(.2, 1.2, .4, 1); --soft: cubic-bezier(.2, .8, .2, 1); }
@keyframes up { from { opacity: 0; transform: translateY(.55em); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(28px) scale(.55); } 60% { opacity: 1; transform: translateY(-6px) scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes driveIn { 0% { opacity: 0; transform: translateX(-40vw); } 12% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes beat { 0%, 26%, 100% { transform: scale(1); } 8% { transform: scale(1.05); } 17% { transform: scale(1.03); } }
@keyframes photoIn { from { opacity: 0; clip-path: inset(9% 7% 9% 7%); transform: scale(1.04); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes mark { from { background-size: 0 34%; } to { background-size: 100% 34%; } }

/* MV: photo opens, hills rise, the catch comes in, the marker runs, then the town stands up one by one */
.anim .mv__sky { animation: fadein 1.2s ease .3s backwards; }
.anim .mv__photo { animation: photoIn 1.2s var(--soft) .1s backwards; }
.anim .mv__hill--b { animation: rise 1s var(--soft) .35s backwards; }
.anim .mv__hill--f { animation: rise 1s var(--soft) .5s backwards; }
.anim .mv__catch .ln { animation: up .9s var(--soft) .25s backwards; }
.anim .mv__catch .ln:nth-child(2) { animation-delay: .45s; }
.anim .mv__catch em { animation: mark .8s ease-out 1.05s backwards; }
.anim .mv__heart { animation: pop .8s var(--spring) 1.25s backwards, beat 4.6s ease-in-out 3s infinite; }
.anim .mv__sky { translate: 0 calc(var(--s, 0) * 70px); }
.anim .mv__box { translate: 0 calc(var(--s, 0) * 90px); }
.anim .mv__photo { translate: 0 calc(var(--s, 0) * -40px); }
.anim .mv__heart { translate: 0 calc(var(--s, 0) * -130px); }
.anim .mv__town .car { translate: calc(var(--s, 0) * 34vw) 0; }
.anim .mv__town .walk { translate: calc(var(--s, 0) * 12vw) 0; }

/* sprinkled illustrations */
.anim .pop { opacity: 0; transform-origin: 50% 100%; }
.anim .pop.is-in { opacity: 1; animation: pop .75s var(--spring) var(--d, 0ms) backwards; }
.anim .pop.is-in.floaty { animation: pop .75s var(--spring) var(--d, 0ms) backwards, floaty 5s ease-in-out calc(var(--d, 0ms) + .9s) infinite; }
.anim .pop.is-in.walk { animation: pop .75s var(--spring) var(--d, 0ms) backwards, bob 1.1s ease-in-out calc(var(--d, 0ms) + .9s) infinite; }
.anim .pop.is-in.wave { animation: pop .75s var(--spring) var(--d, 0ms) backwards, sway 2.6s ease-in-out calc(var(--d, 0ms) + .9s) infinite; }
.anim .pop.is-in.car { animation: driveIn 2s var(--soft) var(--d, 0ms) backwards; }

/* English labels: letter by letter */
.wd { display: inline-block; white-space: nowrap; }
.anim .ch { display: inline-block; opacity: 0; transform: translateY(.5em); transition: opacity .45s ease, transform .6s var(--spring); transition-delay: calc(var(--i, 0) * 34ms); }
.anim .lt.is-in .ch { opacity: 1; transform: none; }

/* photos open up */
.anim .pic { opacity: 0; clip-path: inset(10% 8% 10% 8%); transition: opacity .5s ease, clip-path 1s var(--soft); }
.anim .pic.is-in { opacity: 1; clip-path: inset(0 0 0 0); }
.anim .pic img { transform: scale(1.1); transition: transform 1.4s var(--soft); }
.anim .pic.is-in img { transform: none; }

/* inside a card: the picture first, then the words */
.anim .svc__r.rv { transform: translateY(40px); }
.anim .svc__r.rv.is-in { transform: none; }
.anim .svc__art img, .anim .svc__ask, .anim .svc__go { opacity: 0; }
.anim .svc__r.is-in .svc__art img { opacity: 1; animation: pop .8s var(--spring) .1s backwards; }
.anim .svc__r.is-in .svc__ask { opacity: 1; animation: up .7s var(--soft) .25s backwards; }
.anim .svc__r.is-in .svc__go { opacity: 1; animation: up .7s var(--soft) .4s backwards; }
.anim .nums.is-in .num img, .anim .vo.is-in .vo__art img, .anim .stf.is-in .stf__ph, .anim .rv.is-in > .stf__who .stf__ph, .anim .stagger.is-in .tile__art img, .anim .rv.is-in .tile__art img, .anim .stagger.is-in .step img, .anim .rv.is-in .step img { animation: pop .8s var(--spring) .15s backwards; }
.anim .pgh__txt > * { animation: up .8s var(--soft) backwards; }
.anim .pgh__txt > :nth-child(2) { animation-delay: .08s; }
.anim .pgh__txt > :nth-child(3) { animation-delay: .16s; }
.anim .pgh__txt > :nth-child(4) { animation-delay: .24s; }
.stagger.is-in > :nth-child(5) { transition-delay: .4s; }
.is-qa .mv__cloud, .is-qa .mv__bird { animation: none; }
