/* IKEDA KOGYO - pattern B (isometric illustrations). Flat fills only: no drop shadows, no decorative gradients. */
:root {
  --paper: #E5F3FC;       /* ground of the illustrations (MV, page heads) */
  --bg: #E3EFF8;          /* pale sections: very light blue, a step darker than the drawings' ground */
  --tint: #E3EFF8;        /* faces on white sections */
  --tint-2: #D2E3F1;
  --white: #fff;
  --blue: #1B2A44;        /* navy: buttons, numbers, text */
  --blue-d: #111C2F;
  --blue-l: #5B6B7C;
  --blue-xl: #DCEAF6;
  --accent: #1673B5;      /* the blue of the company: English labels, small marks */
  --sky: #5BBCEB;
  --navy: #1B2A44;
  --ink: #1B2A44;
  --ink-2: #3A4A5E;
  --ink-3: #66768A;
  --line: #D3E1EC;
  --line-s: #B4C6D6;
  --cta: #E8590C;
  --cta-d: #C64A07;
  --r: 18px;
  --r-s: 12px;
  --wrap: 1200px;
  --gut: 40px;
  --fs-h2: 44px;
  --fs-h3: 30px;
  --fs-h4: 22px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-caption: 13px;
  --ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --en: 'Outfit', 'Noto Sans JP', sans-serif;
  --mono: 'Outfit', 'Noto Sans JP', sans-serif;
  --hd-h: 68px;
}
@media (max-width: 760px) {
  :root { --gut: 20px; --fs-h2: 28px; --fs-h3: 22px; --fs-h4: 19px; --fs-lead: 16px; --r: 18px; --hd-h: 58px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-variant-numeric: lining-nums; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink-2); font-family: var(--ja); font-size: var(--fs-body); font-weight: 500; line-height: 2; letter-spacing: .05em; overflow-x: hidden; }
body.is-menu { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 760px) { .pc-only { display: none; } .sp-only { display: inline; } br.sp-only { display: inline; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--white); color: var(--ink); border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }

/* text flow (set by main.js) */
.phr h1, .phr h2, .phr h3, .phr h4, .phr .btn, .phr label { word-break: keep-all; overflow-wrap: anywhere; }
.is-flow { word-break: normal; line-break: strict; }
.is-just { text-align: justify; text-justify: inter-character; }
.is-just-c { text-align-last: center; }
.txt-nobr br:not(.br-keep) { display: none; }
.ln { display: block; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: 128px 0; }
.sec--pale { background: var(--bg); }
.sec--tight { padding: 96px 0; }
@media (max-width: 760px) { .sec { padding: 76px 0; } .sec--tight { padding: 60px 0; } }

/* section head: English label in the blue, the Japanese heading right under it */
.sh { margin-bottom: 56px; }
.sh__en { display: block; margin: 0 0 10px; font-family: var(--mono); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.sh__ttl { font-size: var(--fs-h2); font-weight: 700; line-height: 1.45; letter-spacing: .04em; color: var(--ink); }
.sh__lead { margin-top: 20px; font-size: var(--fs-lead); line-height: 2; color: var(--ink-2); }
.sh--c { text-align: center; }
.sh--c .sh__en { padding-left: .16em; }
.sh--c .sh__ttl { padding-left: .04em; }
.sh--c .sh__lead { max-width: none; }
.pct { margin-right: -.5em; }
.sh--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
@media (max-width: 760px) {
  .sh { margin-bottom: 36px; text-align: center; }
  .sh .sh__en { padding-left: .16em; font-size: 13px; }
  .sh .sh__ttl { padding-left: .04em; }
  .sh--row { display: block; }
}

/* buttons: thin outline square + long arrow; the only fill is the orange of the contact button */
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 56px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 280px; min-height: 60px; padding: 0 24px 0 30px; border: 1.5px solid var(--blue); border-radius: 2px; background: transparent; color: var(--blue); font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: .06em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn i { flex: none; width: 34px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 9h32L24 1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 10' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 9h32L24 1'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s; }
.btn:hover { background: var(--blue); color: var(--white); }
.btn:hover i { transform: translateX(5px); }
.btn--cta { border-color: var(--cta); background: var(--cta); color: var(--white); }
.btn--cta:hover { border-color: var(--cta-d); background: var(--cta-d); }
.btn--w { border-color: rgba(255, 255, 255, .85); color: var(--white); }
.btn--w:hover { background: var(--white); color: var(--blue); }
.btn--ext i { width: 14px; height: 14px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M3 11L12 2M5 2h7v7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M3 11L12 2M5 2h7v7'/%3E%3C/svg%3E"); }
.btn--s { min-width: 0; min-height: 50px; gap: 18px; padding: 0 18px 0 22px; font-size: 14px; }
.btn--s i { width: 26px; }
@media (max-width: 760px) {
  .btns { margin-top: 40px; }
  .btn { width: 100%; min-width: 0; max-width: 420px; }
}

/* ===== header: a white pill floating over the page; hides on scroll, back 0.5 s after the scroll stops ===== */
.hd { position: fixed; z-index: 60; top: 14px; left: 20px; right: 20px; transition: transform .4s cubic-bezier(.3, .7, .3, 1); }
.hd.is-away { transform: translateY(calc(-100% - 24px)); }
.hd__in { position: relative; display: flex; align-items: center; gap: 20px; height: var(--hd-h); max-width: 1480px; margin: 0 auto; padding: 0 10px 0 30px; border-radius: 999px; background: var(--white); }
.hd__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); text-decoration: none; }
.hd__mark { width: 28px; height: auto; }
.hd__name { display: flex; align-items: center; gap: 12px; }
.hd__ikeda { font-family: 'Arimo', var(--en); font-size: 23px; font-weight: 700; line-height: 1; letter-spacing: .03em; color: #111; }
.hd__co { font-size: 12.5px; font-weight: 700; line-height: 1.3; letter-spacing: .06em; color: var(--ink-2); }
.gn > ul { display: flex; align-items: center; gap: 2px; }
.gn__item > a { display: block; padding: 10px 13px; border-radius: 999px; color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.gn__item > a:hover, .gn__item.is-open > a { background: var(--bg); }
.gn__item > a[aria-current="page"] { color: var(--blue); }
.gn__item--mega > a::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 8px; vertical-align: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M1 2.5l3 3 3-3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M1 2.5l3 3 3-3'/%3E%3C/svg%3E") center / contain no-repeat; }
.hd__cta { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px 0 26px; border-radius: 999px; background: var(--cta); color: var(--white); font-size: 14.5px; font-weight: 700; letter-spacing: .06em; text-decoration: none; white-space: nowrap; transition: background .2s; }
.hd__cta:hover { background: var(--cta-d); }
.hd__cta i { width: 22px; height: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 7h20L14 1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 7h20L14 1'/%3E%3C/svg%3E") center / contain no-repeat; }
.hd__menu { display: none; position: relative; flex: none; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: var(--bg); cursor: pointer; }
.hd__menu span, .hd__menu span::before, .hd__menu span::after { position: absolute; left: 15px; width: 20px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.hd__menu span { top: 24px; }
.hd__menu span::before, .hd__menu span::after { content: ''; left: 0; }
.hd__menu span::before { top: -7px; }
.hd__menu span::after { top: 7px; }
.is-menu .hd__menu span { background: transparent; }
.is-menu .hd__menu span::before { transform: translateY(7px) rotate(45deg); }
.is-menu .hd__menu span::after { transform: translateY(-7px) rotate(-45deg); }
.is-menu .hd { transform: none; }

/* mega menu of the businesses (PC) */
.mega { position: absolute; top: calc(100% + 12px); left: 0; right: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 16px; padding: 22px; border-radius: 28px; background: var(--white); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.gn__item.is-open .mega, .gn__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.mega__card { display: block; border-radius: 16px; background: var(--bg); color: var(--ink); text-align: center; text-decoration: none; overflow: hidden; transition: background .2s; }
.mega__card:hover { background: var(--tint); }
.mega__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mega__card span { display: block; padding: 10px 8px 14px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.mega__card small { display: block; font-family: var(--en); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.mega__sub { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 14px; border-radius: 16px; background: var(--bg); }
.mega__sub p { margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.mega__sub a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.mega__sub a:last-child { border-bottom: 0; }
.mega__sub a::after { content: ''; flex: none; width: 18px; height: 7px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 7h20L14 1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 7h20L14 1'/%3E%3C/svg%3E") center / contain no-repeat; }
.mega__sub a:hover { color: var(--blue); }

@media (max-width: 1240px) { .gn__item > a { padding: 10px 10px; font-size: 14px; } .hd__co { display: none; } }
@media (max-width: 1100px) {
  .gn { display: none; }
  .hd__menu { display: block; }
  .hd__co { display: block; }
}
@media (max-width: 760px) {
  .hd { top: 10px; left: 12px; right: 12px; }
  .hd.is-away { transform: translateY(calc(-100% - 16px)); }
  .hd__in { gap: 8px; padding: 0 5px 0 18px; }
  .hd__logo { gap: 8px; }
  .hd__mark { width: 22px; }
  .hd__name { flex-direction: column; align-items: flex-start; gap: 3px; }
  .hd__ikeda { font-size: 18px; }
  .hd__co { font-size: 9.5px; letter-spacing: .04em; }
  .hd__cta { height: 46px; padding: 0 16px; font-size: 13px; letter-spacing: .03em; }
  .hd__cta i { display: none; }
  .hd__menu { width: 46px; height: 46px; }
  .hd__menu span { left: 13px; top: 22px; }
}
@media (max-width: 345px) { .hd__co { display: none; } .hd__cta { padding: 0 13px; } }

/* drawer (menu button) */
.drawer { position: fixed; z-index: 55; inset: 0; padding: calc(var(--hd-h) + 48px) 0 120px; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.drawer__in { max-width: 720px; margin: 0 auto; padding: 0 var(--gut); }
.drawer__nav > li { border-bottom: 1px solid var(--line-s); }
.drawer__nav > li > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.drawer__nav > li > a small { font-family: var(--en); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.drawer__nav > li > a[aria-current="page"] { color: var(--blue); }
.drawer__biz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 0 18px; }
.drawer__biz a { display: block; border-radius: 14px; background: var(--white); color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; overflow: hidden; }
.drawer__biz img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg); }
.drawer__biz span { display: block; padding: 8px 6px 10px; }
.drawer__env { display: grid; gap: 0; padding: 0 0 16px; }
.drawer__env a { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px; border-top: 1px dashed var(--line-s); color: var(--ink-2); font-size: 15px; font-weight: 700; text-decoration: none; }
.drawer__contact { margin-top: 36px; padding: 28px 22px; border-radius: var(--r); background: var(--white); text-align: center; }
.drawer__contact p { font-size: 15px; font-weight: 700; color: var(--ink); }
.drawer__tels { display: grid; gap: 10px; margin: 16px 0 18px; }
.drawer__tels a { display: block; padding: 12px; border-radius: 12px; background: var(--bg); color: var(--ink); text-decoration: none; line-height: 1.5; }
.drawer__tels small { display: block; font-size: 12.5px; color: var(--ink-3); }
.drawer__tels b { font-family: var(--en); font-size: 24px; letter-spacing: .04em; color: var(--blue); }

/* ===== MV: the bay town of Kisarazu (iso2), copy on the left, place names with a dot and a thin line ===== */
.mv { position: relative; height: 100svh; min-height: 680px; background: var(--paper); overflow: hidden; }
.mv__copy { position: absolute; z-index: 4; left: clamp(24px, 3.4vw, 64px); top: 50%; transform: translateY(-44%); }
.mv__catch { font-size: clamp(34px, 3.2vw, 56px); font-weight: 900; line-height: 1.38; letter-spacing: .03em; color: var(--ink); white-space: nowrap; }
.mv__catch .ln { white-space: nowrap; }
.mv__catch .r { color: var(--accent); }
.mv__sub { margin-top: 28px; font-size: 15px; font-weight: 700; line-height: 1.9; letter-spacing: .1em; color: var(--ink); }
.mv__btn { display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; padding: 15px 18px 15px 28px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-decoration: none; transition: background .2s, color .2s; }
.mv__btn i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); transition: transform .2s; }
.mv__btn i::after { content: ''; position: absolute; left: 9px; top: 10px; width: 6px; height: 6px; border-top: 1.6px solid #fff; border-right: 1.6px solid #fff; transform: rotate(45deg); }
.mv__btn:hover { background: var(--ink); color: #fff; }
.mv__btn:hover i { background: #fff; transform: translateX(3px); }
.mv__btn:hover i::after { border-color: var(--ink); }
.mv__scroll { position: absolute; right: 0; bottom: 0; width: min(58%, calc((100svh - 110px) * 1.248)); }
.mv__art { position: relative; width: 100%; aspect-ratio: 1173 / 940; }
.mv__art img { display: block; width: 100%; height: 100%; }
.mv__scrollhint { position: absolute; z-index: 3; left: clamp(24px, 3.4vw, 64px); bottom: 32px; display: flex; align-items: center; gap: 12px; font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--ink); }
.mv__scrollhint::after { content: ''; width: 1px; height: 44px; background: var(--ink); }
/* place names */
.lb { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 0; height: 0; }
.lb__dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); cursor: default; }
.lb__dot::before { content: ''; position: absolute; left: 3.5px; bottom: 7px; width: 1px; height: 26px; background: var(--ink); }
.lb__name { position: absolute; left: 0; bottom: 30px; transform: translateX(-50%); padding: 4px 10px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .06em; white-space: nowrap; text-decoration: none; }
.lb__name:hover { color: var(--accent); }
.anim .lb { opacity: 0; animation: tagIn .6s ease forwards; animation-delay: calc(.8s + var(--k, 0) * .3s); }
@keyframes tagIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.is-fx .lb, .is-qa .lb { opacity: 1; animation: none; }
@media (max-width: 1100px) and (min-width: 761px) {
  .mv { height: auto; min-height: 0; padding-top: calc(var(--hd-h) + 70px); }
  .mv__copy { position: relative; left: auto; top: auto; transform: none; padding: 0 var(--gut); text-align: center; }
  .mv__scroll { position: relative; width: 82%; margin: 32px 0 0 auto; }
  .mv__scrollhint { display: none; }
}
@media (max-width: 760px) {
  .mv { display: flex; flex-direction: column; height: auto; min-height: calc(100svh - 68px); padding-top: calc(var(--hd-h) + 34px); }
  .mv__copy { position: relative; left: auto; top: auto; transform: none; padding: 0 16px; text-align: center; }
  .mv__catch { font-size: clamp(22px, 7.1vw, 34px); }
  .mv__catch .ln { padding-left: .03em; }
  .mv__sub { margin-top: 14px; font-size: 12.5px; letter-spacing: .06em; }
  .mv__btn, .mv__scrollhint { display: none; }
  .mv__scroll { position: relative; right: auto; bottom: auto; width: 100%; margin-top: auto; padding-top: 24px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mv__scroll::-webkit-scrollbar { display: none; }
  .mv__art { width: 150%; }
  .lb__name { font-size: 11px; padding: 3px 7px; bottom: 20px; }
  .lb__dot { width: 30px; height: 30px; left: -15px; top: -15px; background: transparent; cursor: pointer; }
  .lb__dot::after { content: ''; position: absolute; left: 11px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgba(229, 243, 252, .9); }
  .lb__dot::before { left: 14.5px; bottom: 19px; height: 16px; }
  .lb.sp-hide .lb__name, .lb.sp-hide .lb__dot::before { display: none; }
  .lb.sp-hide.is-on .lb__name, .lb.sp-hide.is-on .lb__dot::before { display: block; }
  .lb.is-on { z-index: 3; }
  .mv__nav { position: absolute; z-index: 5; bottom: calc(50% - 22px); width: 40px; height: 40px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); cursor: pointer; }
  .mv__nav::before { content: ''; position: absolute; left: 14px; top: 15px; width: 8px; height: 8px; border-top: 1.6px solid var(--ink); border-right: 1.6px solid var(--ink); transform: rotate(45deg); }
  .mv__nav--l { left: 10px; }
  .mv__nav--l::before { left: 17px; transform: rotate(-135deg); }
  .mv__nav--r { right: 10px; }
  .mv__nav[hidden] { display: none; }
  .mv__frame { position: relative; margin-top: auto; }
}
@media (min-width: 761px) { .mv__nav { display: none; } }
/* drawings appear as if drawn: the picture opens from left to right behind a thin vermilion pen line */
.anim :is(.draw, .pgh__fig, .str__fig, .split__fig, .intro__fig, .bcard__img, .kiln, .steps__fig) { position: relative; }
.anim :is(.draw, .pgh__fig, .str__fig, .split__fig, .intro__fig, .bcard__img, .kiln) img { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.6, .1, .3, 1); }
.anim :is(.draw, .pgh__fig, .str__fig, .split__fig, .intro__fig, .bcard__img, .kiln).is-in img { clip-path: inset(0 0 0 0); }
@keyframes pen { 0% { left: 0; opacity: 1; } 88% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
.anim .kiln:not(.is-in) .kiln__pt { opacity: 0; }
.kiln__pt { transition: opacity .4s 1.6s; }
/* ===== TOP: intro ===== */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.intro__ttl { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--ink); }
.intro__ttl .ln { white-space: nowrap; }
.intro__txt { padding-top: 8px; }
.prose > p + p { margin-top: 1lh; }
.intro__txt .btns { justify-content: flex-start; margin-top: 40px; }
.intro__fig { margin-top: 72px; border-radius: var(--r); background: var(--bg); overflow: hidden; }
.intro__fig img { width: 100%; }
@media (max-width: 960px) { .intro__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .intro__ttl { text-align: center; } .intro__txt .btns { justify-content: center; } }
@media (max-width: 760px) { .intro__fig { margin-top: 44px; } }

/* ===== business entries (TOP) ===== */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bcard { display: flex; flex-direction: column; border-radius: var(--r); background: var(--white); color: var(--ink-2); text-align: center; text-decoration: none; overflow: hidden; }
.bcard__img { background: var(--bg); overflow: hidden; }
.bcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.bcard:hover .bcard__img img { transform: scale(1.03); }
.bcard__body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 28px 30px 34px; }
.bcard__en { font-family: var(--mono); font-size: 12.5px; font-weight: 500; line-height: 1.4; letter-spacing: .12em; padding-left: .12em; text-transform: uppercase; color: var(--accent); }
.bcard__ttl { margin-top: 8px; font-size: var(--fs-h4); font-weight: 700; line-height: 1.5; color: var(--ink); }
.bcard__txt { margin-top: 12px; font-size: 15px; line-height: 1.9; text-align: left; align-self: stretch; }
.bcard__go { margin-top: auto; padding-top: 22px; }
.bcard__go .btn { pointer-events: none; }
.bcard--main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); text-align: center; }
.bcard--main .bcard__img img { height: 100%; }
.bcard--main .bcard__body { justify-content: center; padding: 48px 56px; }
.bcard--main .bcard__ttl { font-size: var(--fs-h3); }
.bcard--main .bcard__catch { margin-top: 10px; font-size: 17px; font-weight: 700; color: var(--blue); }
.bcard__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-self: stretch; margin-top: 22px; }
.bcard__list li { padding: 8px 10px; border-radius: 8px; background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.5; }
@media (max-width: 960px) {
  .bgrid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bcard--main { display: flex; }
  .bcard--main .bcard__body { padding: 30px 24px 34px; }
  .bcard__body { padding: 24px 22px 30px; }
}

/* ===== numbers ===== */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.num { display: flex; flex-direction: column; align-items: center; padding: 30px 18px 30px; border-radius: var(--r); background: var(--white); text-align: center; }
.sec--white .num, .num--t { background: var(--tint); }
.num__icon { width: 96px; height: 96px; }
.num__k { margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.num__v { margin-top: 4px; font-family: var(--en); font-size: 64px; font-weight: 600; line-height: 1.15; letter-spacing: .01em; color: var(--blue); white-space: nowrap; }
.num__v small { margin-left: 4px; font-family: var(--ja); font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.num__note { margin-top: 12px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 1024px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nums { grid-template-columns: minmax(0, 1fr); gap: 14px; } .num__v { font-size: 56px; } }

/* ===== strengths (alternating rows) ===== */
.strs { display: grid; gap: 96px; }
.str { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.str:nth-child(even) .str__fig { order: 2; }
.str__fig { border-radius: var(--r); background: var(--bg); overflow: hidden; }
.str__fig img { width: 100%; }
.str__no { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .12em; color: var(--accent); }
.str__ttl { margin-top: 8px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.55; color: var(--ink); }
.str__txt { margin-top: 20px; }
.str__meta { margin-top: 22px; padding: 16px 20px; border-radius: var(--r-s); background: var(--bg); font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.sec--pale .str__meta, .sec--pale .str__fig { background: var(--white); }
.str__meta b { color: var(--ink); }
@media (max-width: 960px) {
  .strs { gap: 64px; }
  .str { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .str:nth-child(even) .str__fig { order: 0; }
  .str__head { text-align: center; }
}

/* ===== works belt (auto flow, small photos of the current site) ===== */
.belt { position: relative; overflow: hidden; padding: 4px 0; }
.belt__track { display: flex; gap: 20px; width: max-content; }
.anim .belt__track { animation: belt 60s linear infinite; }
@keyframes belt { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
.belt__item { flex: none; width: 300px; border-radius: var(--r-s); background: var(--white); overflow: hidden; color: var(--ink); text-decoration: none; }
.belt__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.belt__cap { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 12px 16px; text-align: center; }
.tag { display: inline-block; padding: 1px 10px; border-radius: 4px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; line-height: 1.8; letter-spacing: .06em; }
.tag--l { background: var(--white); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.belt__cap b { font-size: 15px; line-height: 1.6; }
.note { margin-top: 18px; font-size: var(--fs-caption); line-height: 1.7; color: var(--ink-3); text-align: center; }
@media (max-width: 760px) { .belt__item { width: 240px; } }

/* ===== products (environment) ===== */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .pgrid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ===== clients ===== */
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.clients li { display: grid; place-items: center; min-height: 92px; padding: 14px; border-radius: var(--r-s); background: var(--tint); color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.5; text-align: center; }
.sec--pale .clients li { background: var(--white); }
@media (max-width: 960px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .clients li { min-height: 76px; font-size: 14.5px; } }

/* ===== news list ===== */
.newslist { border-top: 1px solid var(--line); }
.newslist__row { border-bottom: 1px solid var(--line); }
.newslist__a { display: grid; grid-template-columns: 200px minmax(0, 1fr) 52px; gap: 32px; align-items: center; padding: 26px 4px; color: var(--ink-2); text-decoration: none; }
.newslist__thumb { aspect-ratio: 16 / 9; border-radius: 12px; background: var(--bg); overflow: hidden; display: grid; place-items: center; }
.newslist__thumb img { width: 54%; height: auto; }
.newslist__meta { display: flex; align-items: center; gap: 14px; }
.newslist__meta time { font-family: var(--en); font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); }
.newslist__ttl { margin-top: 6px; font-size: var(--fs-lead); font-weight: 700; line-height: 1.6; color: var(--ink); }
.newslist__ex { margin-top: 4px; font-size: var(--fs-small); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newslist__go { width: 52px; height: 52px; border: 1.5px solid var(--blue); border-radius: 50%; position: relative; transition: background .2s; }
.newslist__go::before { content: ''; position: absolute; inset: 0; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 7h20L14 1'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 8' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M0 7h20L14 1'/%3E%3C/svg%3E") center / 20px no-repeat; }
.newslist__a:hover .newslist__go { background: var(--blue); }
.newslist__a:hover .newslist__go::before { background: var(--white); }
.newslist__a:hover .newslist__ttl { color: var(--blue); }
@media (max-width: 760px) {
  .newslist__a { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 20px 0; align-items: start; }
  .newslist__go { display: none; }
  .newslist__meta { gap: 10px; flex-wrap: wrap; }
  .newslist__meta time { font-size: 13px; }
  .newslist__ttl { font-size: 15.5px; }
  .newslist__ex { font-size: 13.5px; }
}
.news-detail { padding: 30px 32px; border-radius: var(--r); background: var(--white); }
.news-detail + .news-detail { margin-top: 20px; }
.news-detail h2 { margin-top: 8px; font-size: var(--fs-h4); font-weight: 700; line-height: 1.6; color: var(--ink); }
.news-detail .prose { margin-top: 14px; }
@media (max-width: 760px) { .news-detail { padding: 24px 20px; } }

/* ===== contact band (every page) ===== */
.cta { padding: 120px 0; background: var(--accent); color: var(--white); text-align: center; }
.cta .sh__en { color: #BFE3F6; padding-left: .14em; }
.cta .sh__ttl { color: var(--white); padding-left: .04em; }
.cta .sh { margin-bottom: 20px; }
.cta__lead { font-size: var(--fs-lead); line-height: 1.9; }
.cta__tels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 840px; margin: 44px auto 0; }
.cta__tel { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: var(--r); background: var(--white); color: var(--ink); text-align: left; text-decoration: none; }
.cta__tel img { flex: none; width: 64px; height: 64px; }
.cta__tel small { display: block; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--ink-2); }
.cta__tel b { display: block; font-family: var(--en); font-size: 32px; font-weight: 600; line-height: 1.3; letter-spacing: .03em; color: var(--blue); white-space: nowrap; }
.cta__tel span { display: block; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.cta .btns { margin-top: 40px; }
.cta .btn--cta { min-width: 360px; min-height: 70px; font-size: 17px; }
@media (max-width: 760px) {
  .cta { padding: 76px 0; }
  .cta__tels { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .cta__tel { padding: 16px 18px; gap: 14px; }
  .cta__tel img { width: 52px; height: 52px; }
  .cta__tel b { font-size: 26px; }
  .cta .btn--cta { min-width: 0; }
}

/* ===== footer + phone bar ===== */
.ft { padding: 80px 0 40px; background: var(--bg); color: var(--ink-2); }
.ft__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; }
.ft__logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.ft__logo img { width: 34px; }
.ft__logo .hd__ikeda { font-size: 28px; }
.ft__logo .hd__co { display: block; font-size: 14px; }
.ft__addr { margin-top: 22px; font-size: 14px; line-height: 1.9; }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; }
.ft__nav p { margin-bottom: 6px; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.ft__nav a { display: block; padding: 5px 0; color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.6; text-decoration: none; }
.ft__nav a:hover { color: var(--blue); }
.ft__nav .ft__sub { padding-left: 14px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.ft__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-s); font-size: 12.5px; color: var(--ink-3); }
.ft__bottom a { color: var(--ink-2); }
@media (max-width: 960px) { .ft__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 760px) {
  .ft { padding: 60px 0 calc(110px + env(safe-area-inset-bottom)); }
  .ft__brand { text-align: center; }
  .ft__logo { justify-content: center; }
  .ft__addr { text-align: left; }
  .ft__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__bottom { flex-direction: column; align-items: center; text-align: center; }
}
.spbar { display: none; }
@media (max-width: 760px) {
  .spbar { position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(232, 238, 246, .96); transition: transform .4s cubic-bezier(.3, .7, .3, 1); }
  .spbar.is-away { transform: translateY(110%); }
  .spbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 2px; font-size: 15px; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
  .spbar__tel { border: 1.5px solid var(--blue); background: var(--white); color: var(--blue); }
  .spbar__tel::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 1.5l2.2 2.6-1.3 1.9c.8 1.8 2.3 3.4 4.2 4.3l1.9-1.3 2.6 2.2-1.2 2.3C7.5 15.3.7 8.5 1.3 2.7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 1.5l2.2 2.6-1.3 1.9c.8 1.8 2.3 3.4 4.2 4.3l1.9-1.3 2.6 2.2-1.2 2.3C7.5 15.3.7 8.5 1.3 2.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
  .spbar__mail { background: var(--cta); color: var(--white); }
}

/* ===== lower pages: page head ===== */
.pgh { padding: calc(var(--hd-h) + 70px) 0 88px; background: var(--paper); }
.pgh__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.crumb { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 28px; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.crumb li + li::before { content: '/'; margin: 0 10px; color: var(--line-s); }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--blue); }
.pgh__en { font-family: var(--mono); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pgh__ttl { margin-top: 10px; font-size: clamp(30px, 3.1vw, 44px); font-weight: 700; line-height: 1.4; letter-spacing: .04em; color: var(--ink); }
.pgh__catch { margin-top: 18px; font-size: clamp(21px, 2vw, 28px); font-weight: 700; line-height: 1.6; letter-spacing: .04em; color: var(--accent); }
.pgh__lead { margin-top: 18px; font-size: var(--fs-lead); line-height: 2; }
.pgh__fig { border-radius: var(--r); overflow: hidden; background: var(--white); }
.pgh__fig img { width: 100%; }
.pgh--short .pgh__in { grid-template-columns: minmax(0, 1fr) 260px; }
.pgh--short .pgh__fig { background: transparent; }
@media (max-width: 960px) {
  .pgh { padding: calc(var(--hd-h) + 48px) 0 56px; }
  .pgh__in, .pgh--short .pgh__in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pgh__txt { text-align: center; }
  .pgh__en { padding-left: .16em; }
  .crumb { justify-content: center; }
  .pgh--short .pgh__fig { width: 180px; margin: 0 auto; }
}
@media (max-width: 760px) { .pgh__lead { text-align: left; } .crumb { margin-bottom: 18px; } }

/* ===== features with icons ===== */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.feat--5 > * { grid-column: span 2; }
.feat--5 > :nth-child(4) { grid-column: 2 / span 2; }
.feat__item { display: flex; flex-direction: column; align-items: center; padding: 30px 26px 32px; border-radius: var(--r); background: var(--white); text-align: center; }
.sec--white .feat__item { background: var(--tint); }
.feat__icon { width: 104px; height: 104px; }
.feat__ttl { margin-top: 8px; font-size: 19px; font-weight: 700; line-height: 1.55; color: var(--ink); }
.feat__txt { margin-top: 10px; font-size: 15px; line-height: 1.9; text-align: left; align-self: stretch; }
@media (max-width: 1024px) { .feat, .feat--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feat--5 > *, .feat--5 > :nth-child(4) { grid-column: auto; } }
@media (max-width: 640px) { .feat, .feat--2, .feat--4, .feat--5 { grid-template-columns: minmax(0, 1fr); gap: 14px; } .feat__item { padding: 24px 22px 26px; } }

/* ===== flow (steps joined by arrows) ===== */
.flow__fig { margin-bottom: 40px; border-radius: var(--r); background: var(--white); overflow: hidden; }
.sec--white .flow__fig { background: var(--bg); }
.flow { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 28px; counter-reset: fl; }
.flow__step { position: relative; display: flex; flex-direction: column; align-items: center; padding: 26px 20px 28px; border-radius: var(--r-s); background: var(--white); text-align: center; }
.sec--white .flow__step { background: var(--tint); }
.flow__step + .flow__step::before { content: ''; position: absolute; left: -24px; top: 50%; width: 20px; height: 20px; margin-top: -10px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 4l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 4l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.flow__no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--en); font-size: 16px; font-weight: 700; line-height: 1; }
.flow__ttl { margin-top: 12px; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.flow__txt { margin-top: 8px; font-size: 14.5px; line-height: 1.85; text-align: left; align-self: stretch; }
@media (max-width: 1024px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .flow__step + .flow__step::before { left: 50%; top: -26px; margin: 0 0 0 -10px; transform: rotate(90deg); }
}

/* ===== split: picture + text ===== */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split--r .split__fig { order: 2; }
.split__fig { border-radius: var(--r); background: var(--bg); overflow: hidden; }
.sec--pale .split__fig { background: var(--white); }
.split__fig img { width: 100%; }
.split__ttl { font-size: var(--fs-h3); font-weight: 700; line-height: 1.55; color: var(--ink); }
.split__txt { margin-top: 20px; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } .split--r .split__fig { order: 0; } .split__head { text-align: center; } }

/* info table (left label, right value) */
.dl { border-top: 1px solid var(--line-s); }
.dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--line-s); }
.dl dt { font-weight: 700; color: var(--ink); line-height: 1.9; }
.dl dd { line-height: 1.9; color: var(--ink-2); }
.dl dd ul li + li { margin-top: 4px; }
.panel { padding: 48px 56px; border-radius: var(--r); background: var(--white); }
.sec--white .panel { background: var(--tint); }
@media (max-width: 760px) {
  .dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 2px; }
  .panel { padding: 26px 20px; }
}

/* history */
.hist { border-left: 2px solid var(--blue-xl); margin-left: 8px; }
.hist li { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 0 0 34px 34px; }
.hist li::before { content: ''; position: absolute; left: -9px; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); }
.hist time { font-family: var(--en); font-size: 22px; font-weight: 600; line-height: 1.4; color: var(--blue); }
.hist time small { display: block; font-family: var(--ja); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.hist p { font-size: 17px; font-weight: 700; line-height: 1.7; color: var(--ink); }
@media (max-width: 760px) { .hist li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-left: 26px; } }

/* locations */
.locs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.loc { display: flex; flex-direction: column; padding: 30px 32px 32px; border-radius: var(--r); background: var(--white); }
.sec--white .loc { background: var(--tint); }
.loc__no { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; background: var(--cta); color: var(--white); font-family: var(--en); font-weight: 700; line-height: 1; }
.loc__ttl { margin-top: 10px; font-size: var(--fs-h4); font-weight: 700; line-height: 1.5; color: var(--ink); text-align: center; }
.loc__grp { margin-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--blue); text-align: center; }
.loc__addr { margin-top: 14px; font-size: 15px; line-height: 1.85; }
.loc__tel { margin-top: 8px; font-size: 14.5px; line-height: 1.8; }
.loc__tel a { color: var(--ink); font-weight: 700; }
.loc .btns { margin-top: auto; padding-top: 20px; }
@media (max-width: 760px) { .locs { grid-template-columns: minmax(0, 1fr); gap: 14px; } .loc { padding: 26px 20px 26px; } }

/* works grid + filter */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button { min-width: 112px; min-height: 46px; padding: 0 20px; border: 1.5px solid var(--line-s); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.filters button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-xl); color: var(--blue); }
.wgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.wcard { display: flex; flex-direction: column; border-radius: var(--r-s); background: var(--white); overflow: hidden; }
.sec--white .wcard { background: var(--tint); }
.wcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wcard__body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 16px 20px; text-align: center; }
.wcard__ttl { font-size: 16px; font-weight: 700; line-height: 1.55; color: var(--ink); }
.wcard__txt { font-size: 14px; line-height: 1.8; text-align: left; align-self: stretch; }
@media (max-width: 1024px) { .wgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .wcard__body { padding: 12px 10px 14px; } .wcard__ttl { font-size: 14.5px; } }
@media (max-width: 340px) { .wgrid { grid-template-columns: minmax(0, 1fr); } }
[hidden] { display: none !important; }

/* simple numbers row (partner companies) */
.stat2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.grade div { padding: 14px 6px; border-radius: 12px; background: var(--white); text-align: center; line-height: 1.4; }
.sec--white .grade div, .panel .grade div { background: var(--bg); }
.grade b { display: block; font-family: var(--en); font-size: 30px; font-weight: 600; color: var(--blue); }
.grade span { font-size: 13px; font-weight: 700; color: var(--ink); }
@media (max-width: 960px) { .stat2 { grid-template-columns: minmax(0, 1fr); } }

/* lists grouped by kind (no tags) */
.glist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.glist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glist__item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--r); background: var(--white); }
.sec--white .glist__item { background: var(--tint); }
.glist__item img { width: 88px; height: 88px; }
.glist__ttl { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.glist__txt { margin-top: 4px; font-size: 15px; line-height: 1.85; }
@media (max-width: 1024px) { .glist--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .glist { grid-template-columns: minmax(0, 1fr); gap: 12px; } .glist__item { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 18px 18px; } .glist__item img { width: 64px; height: 64px; } }

/* kiln diagram: numbered points on the drawing */
.kiln { position: relative; border-radius: var(--r); background: var(--white); overflow: hidden; }
.sec--white .kiln { background: var(--bg); }
.kiln img { width: 100%; }
.kiln__pt { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--cta); color: var(--white); font-family: var(--en); font-weight: 700; font-size: 16px; line-height: 1; }
.kiln__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 24px; counter-reset: k; }
.kiln__list li { padding: 20px 18px 22px; border-radius: var(--r-s); background: var(--white); text-align: center; }
.sec--white .kiln__list li { background: var(--tint); }
.kiln__list b { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: var(--cta); color: var(--white); font-family: var(--en); font-size: 14px; line-height: 1; }
.kiln__list strong { display: block; font-size: 16px; line-height: 1.5; color: var(--ink); }
.kiln__list span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.8; text-align: left; }
@media (max-width: 1024px) { .kiln__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .kiln__pt { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: 13px; } .kiln__list { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* certifications */
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cert { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 170px; padding: 24px 18px; border-radius: var(--r); background: var(--white); text-align: center; }
.sec--white .cert { background: var(--tint); }
.cert small { font-size: 13.5px; font-weight: 700; line-height: 1.5; color: var(--ink-2); }
.cert b { margin-top: 8px; font-family: var(--en); font-size: 26px; font-weight: 600; line-height: 1.35; letter-spacing: .02em; color: var(--blue); }
.cert b.ja { font-family: var(--ja); font-size: 21px; font-weight: 700; }
.cert span { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
@media (max-width: 1024px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .certs { grid-template-columns: minmax(0, 1fr); } }

/* colour samples */
.swatches { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px 14px; }
.sw { text-align: center; }
.sw i { display: block; aspect-ratio: 1; border-radius: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(19, 32, 46, .12); }
.sw span { display: block; margin-top: 8px; font-family: var(--en); font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
@media (max-width: 760px) { .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; } }

/* data table (composition) */
.tbl { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-s); overflow: hidden; }
.sec--white .tbl { background: var(--tint); }
.tbl th, .tbl td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: left; line-height: 1.6; }
.tbl thead th { background: var(--blue); color: var(--white); font-size: 14px; }
.tbl tbody th { font-weight: 700; color: var(--ink); }
.tbl td { font-family: var(--en); font-size: 17px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) { .tbl th, .tbl td { padding: 12px 12px; font-size: 14px; } .tbl td { font-size: 15px; } }

/* grain sizes (real product photos, small) */
.grains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grain { border-radius: var(--r-s); background: var(--white); overflow: hidden; text-align: center; }
.grain img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.grain b { display: block; padding: 12px 8px 14px; font-family: var(--en); font-size: 17px; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .grains { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* contact form */
.form { display: grid; gap: 28px; }
.form__row > label, .form__lbl { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.req { padding: 0 8px; border-radius: 4px; background: var(--cta); color: var(--white); font-size: 12px; line-height: 1.8; }
.opt { padding: 0 8px; border-radius: 4px; background: var(--tint-2); color: var(--ink-2); font-size: 12px; line-height: 1.8; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-s); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.6; }
.form textarea { min-height: 200px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.purpose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; margin: 0; padding: 0; }
.purpose legend { margin-bottom: 10px; padding: 0; }
.purpose label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px 18px; border-radius: var(--r-s); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); text-align: center; cursor: pointer; transition: box-shadow .2s, background .2s; }
.purpose input { position: absolute; opacity: 0; pointer-events: none; }
.purpose img { width: 64px; height: 64px; }
.purpose b { font-size: 15px; line-height: 1.5; color: var(--ink); }
.purpose small { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.purpose label:has(input:checked) { background: var(--blue-xl); box-shadow: inset 0 0 0 2px var(--blue); }
.purpose label:has(input:focus-visible) { outline: 3px solid var(--cta); outline-offset: 2px; }
.ftel { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding: 18px 20px; border-radius: var(--r-s); background: var(--white); text-align: center; line-height: 1.6; }
.ftel small { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.ftel a { font-family: var(--en); font-size: 28px; font-weight: 600; color: var(--blue); text-decoration: none; letter-spacing: .03em; }
.agree { display: flex; justify-content: center; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.agree input { width: 20px; height: 20px; accent-color: var(--blue); }
.agree a { color: var(--blue); }
.form .btns { margin-top: 8px; }
.done { padding: 48px 32px; border-radius: var(--r); background: var(--white); text-align: center; }
.done h2 { font-size: var(--fs-h4); font-weight: 700; color: var(--ink); line-height: 1.6; }
.done p { margin-top: 12px; }
@media (max-width: 760px) { .purpose { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .purpose label { padding: 14px 8px; } .purpose img { width: 52px; height: 52px; } .purpose b { font-size: 14px; } .ftel a { font-size: 24px; } }

/* prose page (privacy) */
.doc { padding: 56px 64px; border-radius: var(--r); background: var(--white); }
.doc h2 { margin-top: 44px; font-size: var(--fs-h4); font-weight: 700; line-height: 1.6; color: var(--ink); }
.doc h2:first-of-type { margin-top: 32px; }
.doc p, .doc ul { margin-top: 12px; }
.doc ul li { position: relative; padding-left: 1.2em; }
.doc ul li::before { content: '・'; position: absolute; left: 0; }
@media (max-width: 760px) { .doc { padding: 30px 20px; } }

/* small water-treatment row */
.mini { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px 32px; border-radius: var(--r); background: var(--tint); }
.mini img { width: 120px; height: 120px; }
.mini h3 { font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.mini p { margin-top: 8px; font-size: 15px; line-height: 1.9; }
@media (max-width: 760px) { .mini { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px 20px; } .mini img { margin: 0 auto; width: 96px; height: 96px; } .mini h3 { text-align: center; } }

/* reveal on scroll (only when scripts run and motion is allowed) */
.anim .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .3, 1); }
.anim .rv.is-in { opacity: 1; transform: none; }
.anim .rv-d1 { transition-delay: .1s; }
.anim .rv-d2 { transition-delay: .2s; }
.anim .rv-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim .rv { opacity: 1; transform: none; }
  .belt__track { animation: none !important; }
}
.is-qa .rv { opacity: 1 !important; transform: none !important; }
.is-qa .belt__track, .is-fx .belt__track { animation: none !important; }
.is-qa .hd, .is-fx .hd { position: absolute; }

/* ===== additions ===== */
.newslist__meta { display: flex; }
.newslist__ttl { display: block; }
.newslist__a > span:nth-child(2) { display: block; min-width: 0; }
.news-detail .newslist__meta { margin: 0; }
.wgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .wgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .wgrid--3 { grid-template-columns: minmax(0, 1fr); } }
.welfare { margin-top: 72px; padding: 20px 24px; border-radius: var(--r-s); background: var(--tint); color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.8; text-align: center; }
.str .btns, .split .btns { justify-content: flex-start; margin-top: 32px; }
.str .bcard__list { margin-top: 24px; }
@media (max-width: 960px) { .str .btns, .split .btns { justify-content: center; } }
.motto { padding: 48px 64px; border-radius: var(--r); background: var(--tint); }
@media (max-width: 760px) { .motto { padding: 28px 22px; } }
.grade-lbl { margin-top: 24px; font-size: 15px; font-weight: 700; color: var(--ink); text-align: center; }
.panel .dl { border-top-color: var(--line); }
.panel .dl > div { border-bottom-color: var(--line); }
.certs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; margin: 0 auto; }
.certs--2 .cert b.ja { font-size: 20px; line-height: 1.6; }
@media (max-width: 760px) { .certs--2 { grid-template-columns: minmax(0, 1fr); } }
.sec--pale .mini { background: var(--white); }
.ftel { background: var(--tint); }
.sec--pale .ftel { background: var(--white); }
.form input[type="file"] { width: 100%; padding: 14px; border: 1.5px dashed var(--line-s); border-radius: 8px; background: var(--white); font-size: 14px; }
.form .purpose label { cursor: pointer; }
.is-c { text-align: center !important; text-align-last: center !important; }
.flow__fig { position: relative; }
.flow__fig .flow__pin { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--en); font-size: 15px; font-weight: 700; line-height: 1; }
@media (max-width: 760px) { .flow__fig .flow__pin { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 12px; } }
.grains .grain { background: var(--white); }
.sec--white .grain, .sec:not(.sec--pale) .grain { background: var(--tint); }
.grain small { display: block; padding-top: 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.grain small + b { padding-top: 0; }
.split > .num { align-self: center; }
/* faces: on white sections a pale-blue face, on pale sections a white face (never the same tone as the ground) */
.num, .feat__item, .flow__step, .loc, .wcard, .glist__item, .cert, .kiln__list li, .grain, .panel, .clients li, .str__meta, .belt__item, .newslist__thumb, .bcard { background: var(--tint); }
.sec--pale .num, .sec--pale .feat__item, .sec--pale .flow__step, .sec--pale .loc, .sec--pale .wcard, .sec--pale .glist__item, .sec--pale .cert, .sec--pale .kiln__list li, .sec--pale .grain, .sec--pale .panel, .sec--pale .clients li, .sec--pale .str__meta, .sec--pale .belt__item, .sec--pale .newslist__thumb, .sec--pale .bcard { background: var(--white); }
.str__fig, .split__fig, .flow__fig, .kiln { background: var(--bg); }
.sec--pale .str__fig, .sec--pale .split__fig, .sec--pale .flow__fig, .sec--pale .kiln { background: var(--white); }
.panel .grade div, .sec--pale .panel .grade div { background: var(--bg); }
.panel .num { background: var(--bg); }
.bcard__img { margin: 12px 12px 0; border-radius: 14px; }
.bcard--main .bcard__img { margin: 12px 0 12px 12px; }
.bcard__img img { border-radius: 14px; }
.bcard__list li { background: var(--bg); }
.sec--pale .bcard__list li { background: var(--bg); }
.str .bcard__list li { background: var(--tint); }
.sec--pale .str .bcard__list li { background: var(--white); }
@media (max-width: 960px) { .bcard--main .bcard__img { margin: 12px 12px 0; } }
.intro__fig img { aspect-ratio: 3.2 / 1; object-fit: cover; }
@media (max-width: 760px) { .intro__fig img { aspect-ratio: 2 / 1; } }

.phr :where(p, li, dd, dt, span, b, strong, small, a, figcaption, td, th, legend) { word-break: keep-all; overflow-wrap: anywhere; }
.phr .is-flow, .phr .is-flow * { word-break: normal; }
@media (max-width: 960px) { .intro .sh__en { text-align: center; padding-left: .16em; } }
.panel .grade div, .sec--pale .panel .grade div { background: var(--white); }
.sec--pale .panel .grade div { background: var(--bg); }

.pgh__fig--wide img { aspect-ratio: 2 / 1; object-fit: cover; }
.hist-panel { max-width: 760px; margin: 0 auto; padding: 48px 56px 20px; }
@media (max-width: 760px) { .hist-panel { padding: 28px 18px 4px; } }

.wgroup + .wgroup { margin-top: 64px; }
.wgroup__ttl { margin-bottom: 20px; font-size: var(--fs-h4); font-weight: 700; color: var(--ink); text-align: center; }

@media (max-width: 760px) { .btn { gap: 16px; padding: 0 18px 0 22px; } .btn i { width: 26px; } }

/* ===== line-drawing look (B, 11-27) ===== */
.pgh__fig { background: var(--paper); }
.pgh__fig--right img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 88% 55%; }
.sec--pale .str__fig, .sec--pale .split__fig, .sec--pale .flow__fig, .sec--pale .kiln, .str__fig, .split__fig, .flow__fig, .kiln, .intro__fig, .bcard__img { background: var(--paper); }
.sec--pale :is(.str__fig, .split__fig, .kiln) { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tag { background: var(--navy); }
.tag--l { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.flow__no, .kiln__list b { background: var(--navy); }
.kiln__pt, .loc__no { background: var(--accent); }
.num__v, .grade b, .cert b, .cta__tel b, .ftel a, .drawer__tels b, .hist time { color: var(--navy); }
.hist { border-left-color: var(--line-s); }
.hist li::before { background: var(--accent); }
.filters button[aria-pressed="true"] { border-color: var(--navy); background: var(--blue-xl); color: var(--navy); }
.purpose label:has(input:checked) { background: var(--blue-xl); box-shadow: inset 0 0 0 2px var(--navy); }
.btn { border-color: var(--navy); color: var(--navy); }
.btn:hover { background: var(--navy); color: var(--white); }
.btn--cta { border-color: var(--cta); background: var(--cta); color: var(--white); }
.btn--cta:hover { border-color: var(--cta-d); background: var(--cta-d); }
.gn__item > a[aria-current="page"] { color: var(--accent); }
.drawer__nav > li > a small, .ft__nav p, .mega__card small { font-family: var(--mono); font-weight: 500; color: var(--accent); }
.drawer { background: var(--paper); }
.mega__card, .mega__sub { background: var(--paper); }
.mega__card:hover { background: var(--tint); }
.ft { background: var(--paper); }
.spbar { background: rgba(229, 243, 252, .97); }
.spbar__tel { border-color: var(--navy); color: var(--navy); }
.newslist__go { border-color: var(--navy); }
.newslist__go::before { background: var(--navy); }
.newslist__a:hover .newslist__go { background: var(--navy); }
.newslist__a:hover .newslist__ttl { color: var(--accent); }
.belt__cap b, .wcard__ttl { color: var(--ink); }
.fig-no { display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .1em; color: var(--accent); }
.hd__menu, .usemap__close { background: var(--paper); }
.gn__item > a:hover, .gn__item.is-open > a { background: var(--paper); }

/* process viewer: one drawing at a time, changing with the step in view (PC); each step with its own drawing (phone) */
.steps { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.steps__fig { position: sticky; top: calc(var(--hd-h) + 40px); aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.steps__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.steps__fig img.is-on { opacity: 1; }
.anim .steps__fig img.is-on { animation: stepIn 1.1s cubic-bezier(.55, .1, .3, 1); }
@keyframes stepIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.steps__no { position: absolute; left: 20px; bottom: 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--ink-3); }
.steps__no b { color: var(--accent); font-weight: 500; }
.steps__list { display: grid; gap: 20px; padding: 18vh 0 22vh; }
.steps__item { display: flex; flex-direction: column; align-items: center; padding: 34px 30px 36px; border-radius: var(--r); background: var(--white); text-align: center; opacity: .45; transition: opacity .4s, box-shadow .4s; }
.steps__item.is-on { opacity: 1; box-shadow: inset 0 0 0 2px var(--navy); }
.steps__item .flow__ttl { font-size: 21px; }
.steps__item .flow__txt { font-size: 15.5px; }
.steps__inline { display: none; }
.is-qa .steps__item { opacity: 1; }
@media (max-width: 960px) {
  .steps { display: block; }
  .steps__fig { display: none; }
  .steps__list { padding: 0; gap: 16px; }
  .steps__item { opacity: 1; padding: 14px 14px 26px; }
  .steps__item.is-on { box-shadow: none; }
  .steps__inline { display: block; width: 100%; margin: 0 0 18px; border-radius: 12px; background: var(--paper); overflow: hidden; }
  .steps__inline img { width: 100%; }
}
/* header: no ground over the MV; a pale-paper pill once the page has moved */
.hd__in { background: transparent; transition: background .3s; }
.hd.is-solid .hd__in { background: rgba(229, 243, 252, .96); }
.is-sub .pgh { padding-top: calc(var(--hd-h) + 70px); }
.hd__menu { background: var(--bg); }
.is-qa .hd__in { background: transparent; }

.hd__cta { gap: 12px; padding: 0 12px 0 24px; }
.hd__cta i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: #fff; -webkit-mask: none; mask: none; }
.hd__cta i::after { content: ''; position: absolute; left: 6px; top: 8px; width: 5px; height: 5px; border-top: 1.6px solid var(--cta); border-right: 1.6px solid var(--cta); transform: rotate(45deg); }
.hd__co { padding-left: 12px; border-left: 1px solid rgba(27, 42, 68, .25); }
.hd__menu { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 760px) { .hd__co { padding-left: 0; border-left: 0; } }
/* blue tone (11-27): labels in the company blue, tags and small marks in blue */
.tag { background: var(--accent); }
.tag--l { background: var(--white); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.flow__no, .kiln__list b, .kiln__pt, .loc__no { background: var(--accent); }
.hist li::before { background: var(--accent); }
.num__v, .grade b, .cert b, .cta__tel b, .ftel a, .drawer__tels b, .hist time { color: var(--accent); }
@media (min-width: 961px) { .steps__item.is-on { box-shadow: inset 0 0 0 2px var(--accent); } }
.filters button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.purpose label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); }
/* buttons (11-27, same as the MV): round outline with a navy circle arrow; the contact button is orange */
.btn { gap: 18px; min-height: 58px; padding: 0 12px 0 28px; border: 1.5px solid var(--navy); border-radius: 999px; color: var(--navy); background: transparent; }
.btn i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); -webkit-mask: none; mask: none; transition: transform .2s, background .2s; }
.btn i::after { content: ''; position: absolute; left: 10px; top: 11px; width: 6px; height: 6px; border-top: 1.6px solid #fff; border-right: 1.6px solid #fff; transform: rotate(45deg); }
.btn:hover { background: var(--navy); color: #fff; }
.btn:hover i { background: #fff; transform: translateX(3px); }
.btn:hover i::after { border-color: var(--navy); }
.btn--cta { border-color: var(--cta); background: var(--cta); color: #fff; }
.btn--cta i { background: #fff; }
.btn--cta i::after { border-color: var(--cta); }
.btn--cta:hover { border-color: var(--cta-d); background: var(--cta-d); }
.btn--cta:hover i::after { border-color: var(--cta-d); }
.btn--ext i::after { left: 9px; top: 12px; transform: rotate(0deg); width: 7px; height: 7px; }
.btn--s { min-height: 50px; padding: 0 10px 0 22px; }
.btn--s i { width: 26px; height: 26px; }
.btn--s i::after { left: 8px; top: 9.5px; }
@media (max-width: 760px) { .btn { gap: 14px; padding: 0 10px 0 22px; } }
.bcard:hover .btn { background: var(--navy); color: #fff; }
.bcard:hover .btn i { background: #fff; }
.bcard:hover .btn i::after { border-color: var(--navy); }
/* MV catch (11-27 mv3): PC = the 2-line catch with 鉄 in blue; phone = key nouns big, particles small, 鉄 on a blue tile */
.kick { display: none; }
.cp { font-size: clamp(36px, 4vw, 64px); font-weight: 900; line-height: 1.36; letter-spacing: .03em; white-space: nowrap; color: var(--ink); }
.cp__l1 { display: block; }
.cp__l2, .cp__l3 { display: inline; }
.cp__tile { color: var(--accent); }
.cp__en { display: none; }
.mv__copy .mv__sub { margin-top: 28px; }
.mv__scroll { width: min(52%, calc((100svh - 110px) * 1.248)); }
.mv__frame { position: static; }
@media (max-width: 1100px) and (min-width: 761px) { .mv__scroll { width: 82%; } }
@media (max-width: 760px) {
  .mv { display: block; height: calc(100svh - 68px); min-height: 520px; padding-top: 0; }
  .mv__copy { position: absolute; left: 0; right: 0; top: calc(var(--hd-h) + 24px); transform: none; padding: 0 16px; text-align: left; }
  .kick { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--accent); }
  .kick i { width: 24px; height: 1.5px; background: var(--accent); }
  .kick span { opacity: .5; }
  .cp { --u: clamp(30px, 10.4vw, 44px); display: flex; flex-direction: column; gap: calc(var(--u) * .14); font-size: var(--u); line-height: 1; letter-spacing: .02em; }
  .cp > span { display: flex; align-items: baseline; }
  .cp .s { font-size: calc(var(--u) * .62); }
  .cp .s--l { font-size: calc(var(--u) * .78); }
  .cp .b { font-size: var(--u); }
  .cp .b--xl { font-size: calc(var(--u) * 1.32); color: var(--accent); }
  .cp__tile { display: inline-grid; place-items: center; width: calc(var(--u) * 1.18); height: calc(var(--u) * 1.18); margin-right: calc(var(--u) * .16); background: var(--accent); color: #fff; font-size: calc(var(--u) * .92); line-height: 1; align-self: center; }
  .cp__l2 { margin-top: calc(var(--u) * .1); }
  .cp > .cp__l1 { align-items: flex-end; }
  .cp__l1 .cp__tile { align-self: auto; }
  .cp__l1 .s { line-height: 1; transform: translateY(.08em); }
  .mv__sub .co { display: none; }
  .mv__copy .mv__sub { margin-top: 14px; font-size: 12.5px; letter-spacing: .06em; }
  .mv__frame { position: absolute; left: 0; right: 0; top: max(84vw, calc(100% - 112.2vw)); margin: 0; }
  .mv__scroll { width: 100%; padding-top: 0; }
  .mv__art { width: 140%; }
}

/* flowing text: justified to the right edge (wins over the left alignment of the parts) */
.is-flow.is-just { text-align: justify; text-justify: inter-character; }
.is-flow.is-just-c { text-align-last: center; }
.ft__bottom span { display: block; }

.btn--ext i::after { left: 0; top: 0; width: 100%; height: 100%; border: 0; transform: none; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M4 10L10 4M5.5 4H10v4.5'/%3E%3C/svg%3E") center / 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M4 10L10 4M5.5 4H10v4.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.btn--ext:hover i::after { background: var(--navy); border: 0; }
.loc__tel { text-align: center; }

/* drawings on pale sections sit in a white frame, so the face stands apart from the ground */
.sec--pale :is(.str__fig, .split__fig, .kiln, .flow__fig, .steps__fig) { border: 8px solid var(--white); box-shadow: none; background: var(--paper); }
@media (max-width: 760px) { .sec--pale :is(.str__fig, .split__fig, .kiln, .flow__fig, .steps__fig) { border-width: 6px; } }

/* company names break only before 株式会社 */
.clients li { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 420px) { .clients li { padding: 12px 8px; font-size: 13.5px; letter-spacing: 0; } }
@media (max-width: 359px) { .clients { grid-template-columns: minmax(0, 1fr); } .clients li { min-height: 60px; } }
