@charset "utf-8";
/* ============================================================
   榎本機械製作所 共通スタイル（ヘッダー・フッター・下層ページ）
   ============================================================ */
:root {
  --ink: #0b0d10;
  --ink-2: #14181d;
  --paper: #f3efe8;
  --white: #fff;
  --text: #1c2026;
  --muted: #6b7280;
  --line: rgba(11, 13, 16, .12);
  --accent: #d63a1e;
  --accent-ink: #fff;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Oswald", "Arial Narrow", sans-serif;
  --font-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hd-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-ja); font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
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; cursor: pointer; padding: 0; }
.sp { display: none; }
@media (max-width: 820px) { .sp { display: inline; } .pc { display: none; } }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 36px); } }

/* ---------- progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; z-index: 120; }

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto 0; height: var(--hd-h); z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(18px, 3vw, 44px); color: #fff;
  transition: background .4s, height .4s var(--ease), color .4s;
}
.hd.is-scrolled { height: 62px; background: rgba(11, 13, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; }
.hd__logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.02rem; line-height: 1.25; white-space: nowrap; }
.hd__logo img { width: 42px; height: 42px; object-fit: contain; }
.hd__logo .ln { display: none; }
.hd__logo small { display: block; font-family: var(--font-en); font-weight: 500; font-size: .62rem; letter-spacing: .2em; opacity: .7; }
.hd__nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); font-size: .9rem; font-weight: 500; margin-left: auto; }
.hd__nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.hd__nav a:not(.hd__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease); }
.hd__nav a:hover::after, .hd__nav a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }
.hd__cta { padding: 9px 20px !important; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-weight: 700; transition: transform .3s var(--ease); }
.hd__cta:hover { transform: translateY(-2px); }
.hd__burger { width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; position: relative; flex: none; opacity: .9; }
.hd__burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.hd__burger i:nth-child(1) { top: 18px; } .hd__burger i:nth-child(2) { top: 26px; }
.menu-open .hd__burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .hd__burger i:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu-open .hd { color: #fff; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .hd__nav { visibility: hidden; }
/* 明るいヒーローの上では濃色ロゴに */
body[data-header="light"]:not(.menu-open) .hd:not(.is-scrolled) { color: var(--ink); }
body[data-header="light"]:not(.menu-open) .hd:not(.is-scrolled) .lw { display: none; }
body[data-header="light"]:not(.menu-open) .hd:not(.is-scrolled) .ln { display: block; }
@media (max-width: 1040px) { .hd__nav { display: none; } }
@media (max-width: 600px) { :root { --hd-h: 64px; } .hd__logo img { width: 36px; height: 36px; } .hd__logo { font-size: .92rem; } .hd__logo small { display: none; } }

/* ---------- full-screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 60px) 38px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 60px) 38px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu__inner { min-height: 100%; padding: 130px clamp(24px, 6vw, 90px) 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; align-content: start; }
.menu__col { opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s var(--ease); }
.menu-open .menu__col { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .07s); }
.menu__head { display: block; font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 700; line-height: 1.4; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .18); margin-bottom: 14px; }
.menu__head small { display: block; font-family: var(--font-en); font-size: .72rem; letter-spacing: .24em; color: var(--accent); text-transform: uppercase; }
.menu__col li a { display: block; padding: 7px 0; color: rgba(255, 255, 255, .72); font-size: .95rem; transition: color .3s, padding .3s var(--ease); }
.menu__col li a:hover { color: #fff; padding-left: 10px; }
.menu__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; color: rgba(255, 255, 255, .7); line-height: 1.7; }
@media (max-width: 900px) { .menu__inner { grid-template-columns: repeat(2, 1fr); padding-top: 100px; } }
@media (max-width: 480px) { .menu__inner { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 30px;
  border-radius: 99px; font-weight: 700; font-size: .95rem; letter-spacing: .08em; position: relative; overflow: hidden;
  border: 1px solid transparent; transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::after { content: "→"; font-family: var(--font-en); transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(6px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line-dark { border-color: var(--ink); color: var(--ink); }
.btn--line-dark:hover { background: var(--ink); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: "→"; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
/* clip は子要素に掛ける（要素自身を切り抜くと IntersectionObserver が交差を検知できない） */
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="clip"] img, .js [data-reveal="clip"] video { transform: scale(1.18); transition: transform 1.6s var(--ease), clip-path 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in > * { clip-path: inset(0); }
.js [data-reveal="clip"].is-in img, .js [data-reveal="clip"].is-in video { transform: none; }
.js [data-split] .ch { display: inline-block; opacity: 0; transform: translateY(.9em) rotate(6deg); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 32ms + var(--d, 0ms)); }
.js [data-split].is-in .ch { opacity: 1; transform: none; }
[data-fill] .ch { opacity: .18; transition: opacity .35s; }
[data-fill] .ch.is-lit { opacity: 1; }
[data-slides] { position: relative; }
[data-slides] > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s, transform 6s linear; }
[data-slides] > .is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; animation: marquee var(--speed, 40s) linear infinite; }
.marquee__track > * { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section basics ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.sec--dark { background: var(--ink); color: #fff; }
.sec--white { background: #fff; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head__en { font-family: var(--font-en); font-weight: 500; letter-spacing: .28em; font-size: .78rem; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-head__en::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.4; font-weight: 900; letter-spacing: .04em; }
.sec-head p { margin-top: 18px; max-width: 46em; color: var(--muted); }
.sec--dark .sec-head p { color: rgba(255, 255, 255, .68); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 2.1; font-weight: 500; }
.prose p + p { margin-top: 1.2em; }

/* ---------- page hero（下層） ---------- */
.page-hero { position: relative; min-height: min(72vh, 620px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; padding: calc(var(--hd-h) + 60px) 0 clamp(40px, 6vw, 72px); }
.page-hero__bg { position: absolute; inset: -8% 0; }
.page-hero__bg img, .page-hero__bg video { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s var(--ease) both; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 16, .55), rgba(11, 13, 16, .25) 40%, rgba(11, 13, 16, .88)); }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: none; } }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__en { font-family: var(--font-en); font-weight: 700; font-size: clamp(3.4rem, 12vw, 10rem); line-height: .9; letter-spacing: .01em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); margin-bottom: .12em; }
.page-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 900; line-height: 1.4; }
.page-hero__lead { margin-top: 14px; max-width: 40em; color: rgba(255, 255, 255, .82); }
.crumbs { margin-top: 26px; font-size: .78rem; color: rgba(255, 255, 255, .6); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.tile { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--ink-2); color: #fff; aspect-ratio: 4 / 5; isolation: isolate; }
.tile--wide { aspect-ratio: 16 / 10; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; z-index: -2; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11, 13, 16, .9)); z-index: -1; transition: opacity .5s; }
.tile:hover img, .tile:hover video { transform: scale(1.08); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: clamp(20px, 2.6vw, 34px); }
.tile__num { font-family: var(--font-en); font-size: .8rem; letter-spacing: .22em; color: var(--accent); }
.tile__body h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 900; line-height: 1.45; margin: 6px 0 8px; }
.tile__body p { font-size: .88rem; line-height: 1.8; color: rgba(255, 255, 255, .8); }
.tile__arrow { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); display: grid; place-items: center; font-family: var(--font-en); transition: background .4s, color .4s, transform .5s var(--ease); }
.tile:hover .tile__arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-45deg); }

.card { background: #fff; border-radius: 6px; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); height: 100%; }
.sec--dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.card__num { font-family: var(--font-en); font-size: 2.4rem; line-height: 1; color: var(--accent); font-weight: 700; }
.card h3 { font-size: 1.15rem; line-height: 1.6; font-weight: 700; margin: 14px 0 10px; }
.card p { font-size: .92rem; color: var(--muted); }
.sec--dark .card p { color: rgba(255, 255, 255, .7); }
.card--img { padding: 0; overflow: hidden; }
.card--img figure { aspect-ratio: 4 / 3; overflow: hidden; background: #e7e4de; }
.card--img figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card--img figure.contain img { object-fit: contain; padding: 18px; background: #fff; }
.card--img:hover figure img { transform: scale(1.06); }
.card--img .card__body { padding: 22px 24px 26px; }
.card--img h3 { margin-top: 0; }

/* 写真＋文章の交互レイアウト */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.split + .split { margin-top: clamp(60px, 9vw, 130px); }
.split--rev > :first-child { order: 2; }
.split__img { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: #e7e4de; }
.split__img img, .split__img video { width: 100%; height: 100%; object-fit: cover; }
.split__num { font-family: var(--font-en); font-weight: 700; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.split h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 900; line-height: 1.5; margin: 10px 0 16px; }
.split p { color: var(--muted); }
.sec--dark .split p { color: rgba(255, 255, 255, .72); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* 写真差し替え待ちのプレースホルダー */
.ph { display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, #e9e6e0, #e9e6e0 12px, #e1ddd6 12px, #e1ddd6 24px); color: #8a8478; font-family: var(--font-en); letter-spacing: .2em; font-size: .78rem; width: 100%; height: 100%; min-height: 200px; padding: 16px; line-height: 1.8; }
.draft { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: #fff1c2; color: #6b5200; letter-spacing: .06em; vertical-align: middle; }

/* ---------- flow / steps ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: flow; border-top: 1px solid var(--line); }
.flow li { counter-increment: flow; padding: 28px 22px 10px 0; position: relative; }
.flow li::before { content: "0" counter(flow); font-family: var(--font-en); font-weight: 700; font-size: 2rem; color: var(--accent); display: block; line-height: 1; margin-bottom: 14px; }
.flow li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.flow h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.flow p { font-size: .86rem; color: var(--muted); line-height: 1.8; }
.sec--dark .flow { border-color: rgba(255, 255, 255, .2); } .sec--dark .flow p { color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); } .flow li { padding: 0 0 30px 28px; } .flow li::after { top: 8px; left: -5px; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 1px solid currentColor; padding-top: 18px; }
.stat__num { font-family: var(--font-en); font-weight: 700; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; }
.stat__num small { font-family: var(--font-ja); font-size: .3em; font-weight: 700; margin-left: 6px; }
.stat__label { font-size: .85rem; opacity: .7; margin-top: 8px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- table / timeline ---------- */
.dl { border-top: 1px solid var(--line); }
.dl > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 700; }
@media (max-width: 620px) { .dl > div { grid-template-columns: 1fr; gap: 4px; } .dl dt { font-size: .85rem; color: var(--accent); } }
.timeline { position: relative; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.timeline li { position: relative; padding: 0 0 30px; display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline b { font-family: var(--font-en); font-size: 1.5rem; letter-spacing: .04em; color: var(--accent); line-height: 1.5; font-weight: 500; }
@media (max-width: 620px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- gallery / lightbox ---------- */
.gal { columns: 4 220px; column-gap: 14px; }
.gal__item { display: block; margin-bottom: 14px; border-radius: 4px; overflow: hidden; break-inside: avoid; background: #e7e4de; }
.gal__item img { width: 100%; transition: transform 1s var(--ease), filter .5s; }
.gal__item:hover img { transform: scale(1.07); filter: brightness(1.08); }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 9, 11, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lb img { max-width: 90vw; max-height: 86vh; border-radius: 4px; }
.lb button { position: absolute; color: #fff; font-size: 2.4rem; width: 60px; height: 60px; line-height: 1; }
.lb__x { top: 14px; right: 14px; } .lb__p { left: 8px; top: 50%; margin-top: -30px; } .lb__n { right: 8px; top: 50%; margin-top: -30px; }

/* ---------- video block ---------- */
.vid { border-radius: 6px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid-cap { margin-top: 12px; font-size: .88rem; font-weight: 700; }

/* ---------- prev/next ---------- */
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { padding: 34px 6px; display: block; transition: background .4s, padding .4s var(--ease); }
.pager a + a { text-align: right; border-left: 1px solid var(--line); }
.pager a:hover { background: #fff; padding-inline: 22px; }
.pager small { display: block; font-family: var(--font-en); letter-spacing: .22em; color: var(--accent); font-size: .72rem; }
.pager strong { font-size: clamp(1rem, 1.8vw, 1.3rem); }

/* ---------- form ---------- */
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font-weight: 700; font-size: .9rem; }
.form input, .form select, .form textarea { font: inherit; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form__note { padding: 16px 18px; background: #fff1c2; color: #6b5200; border-radius: 4px; font-size: .9rem; }
.form__note.is-ok { background: #e3f1fb; color: #0e3a5c; }
.form__note.is-error { background: #fde8e8; color: #8a1f1f; }
.form__note ul { margin: 8px 0 0 1.2em; list-style: disc; }
.form__privacy { font-size: .82rem; color: var(--muted); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .is-invalid { border-color: #c53030; }
.form button[disabled] { opacity: .55; pointer-events: none; }

/* ---------- 理念：アイデア＋心 ---------- */
.formula { display: flex; align-items: stretch; justify-content: center; gap: clamp(10px, 2vw, 26px); flex-wrap: wrap; }
.formula__item { flex: 1 1 200px; max-width: 300px; background: #fff; color: var(--text); border-radius: 10px; padding: 34px 24px; text-align: center; }
.formula__item img, .formula__item svg { height: 84px; width: auto; margin: 0 auto 14px; display: block; color: var(--accent); }
.formula__item h3 { font-size: 1.4rem; font-weight: 900; line-height: 1.4; }
.formula__item p { font-size: .85rem; color: var(--muted); }
.formula__item--result { background: var(--accent); color: var(--accent-ink); }
.formula__op { align-self: center; font-family: var(--font-en); font-size: 2.6rem; font-weight: 700; color: var(--accent); }
.icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.icons > div { background: #fff; border-radius: 10px; padding: 20px 10px 14px; text-align: center; font-weight: 700; font-size: .88rem; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.icons > div:hover { transform: translateY(-8px) rotate(-2deg); box-shadow: 0 18px 30px rgba(11, 13, 16, .12); }
.icons img { height: 70px; width: auto; margin: 0 auto 10px; object-fit: contain; }
@media (max-width: 920px) { .icons { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .icons { grid-template-columns: repeat(3, 1fr); gap: 8px; } .formula__op { flex-basis: 100%; text-align: center; line-height: 1; } .formula__item { max-width: none; } }
.checks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid rgba(128, 128, 128, .3); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 14px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.quote { font-size: clamp(1.4rem, 3.6vw, 2.8rem); font-weight: 900; line-height: 1.7; }
.map { border-radius: 6px; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- footer ---------- */
.ft-cta { background: var(--accent); color: var(--accent-ink); padding: clamp(64px, 9vw, 120px) 0; text-align: center; }
.ft-cta__en { font-family: var(--font-en); letter-spacing: .3em; font-size: .8rem; font-weight: 500; }
.ft-cta h2 { font-size: clamp(1.7rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.4; margin: 10px 0 14px; }
.ft-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.ft-cta .btn--accent { background: var(--ink); color: #fff; }
.ft-cta .btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ft { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 60px; font-size: .88rem; }
.ft__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; }
.ft__brand img { width: 56px; margin-bottom: 14px; }
.ft__brand strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.ft__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ft__head { display: block; color: #fff; font-weight: 700; margin-bottom: 10px; }
.ft__nav li a { display: block; padding: 3px 0; transition: color .3s; }
.ft a:hover { color: var(--accent); }
.ft__links { display: flex; gap: 22px; }
.ft__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .78rem; }
@media (max-width: 860px) { .ft__top { grid-template-columns: 1fr; } .ft__nav { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 見出しは明朝で統一 ---------- */
.sec-head h2, .page-hero h1, .split h3, .quote, .ft-cta h2, .tile__body h3, .menu__head, .formula__item h3, .pager strong {
  font-family: var(--font-min); font-weight: 700; letter-spacing: .06em;
}
.menu__head small { font-family: var(--font-en); }
.ft-cta .btn--accent { background: #fff; color: var(--ink); }
.ft-cta .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }