/* =====================================================================
   S-PAX ｜ エス・パックス株式会社  コーポレートサイト
   Art direction : "Craft & Heritage × Modern Precision"
   Warm paper × ink navy × kraft-tan / Mincho display × Sans body
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Tokens ---------- */
:root {
  --ink:        #18222e;
  --ink-2:      #39434f;
  --muted:      #6d747d;
  --paper:      #f6f3ec;
  --paper-2:    #efe8da;
  --paper-3:    #e9e1d1;
  --card:       #ffffff;
  --line:       #e3dccd;
  --line-soft:  #ece5d7;
  --accent:     #b27a3e;   /* kraft / brass */
  --accent-2:   #9a6531;
  --accent-tint:#efe2cf;
  --ok:         #5b6b4a;

  --sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --serif: var(--sans);   /* 見出しもゴシックに統一 */
  --latin: "Outfit", "Noto Sans JP", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(22px, 5.2vw, 92px);
  --radius: 4px;
  --shadow: 0 32px 70px -36px rgba(24, 34, 46, .42);
  --shadow-soft: 0 22px 50px -34px rgba(24, 34, 46, .35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 15px;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.u-serif { font-family: var(--serif); }
.u-latin { font-family: var(--latin); }

/* Section eyebrow (index no. + label) */
.eyebrow { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; }
.eyebrow__no { font-family: var(--latin); font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: .08em; }
.eyebrow__no::before { content: ""; }
.eyebrow__label { font-size: 11px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow__rule { flex: 1; height: 1px; background: var(--line); align-self: center; }

/* Headings */
.h-display { font-family: var(--serif); font-weight: 800; line-height: 1.34; letter-spacing: .005em; font-feature-settings: "palt"; }
.h-1 { font-size: clamp(30px, 4.6vw, 58px); }
.h-2 { font-size: clamp(26px, 3.4vw, 42px); }
.h-3 { font-size: clamp(20px, 2.2vw, 27px); }
.lead { color: var(--ink-2); font-size: clamp(15px, 1.15vw, 17px); line-height: 2.05; }
.text-muted { color: var(--muted); }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; gap: .9em;
  padding: 16px 30px; background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd); border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  position: relative; overflow: hidden; transition: color .5s var(--ease), border-color .4s;
}
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .5s var(--ease); z-index: 0; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--accent); }
.btn .arw { position: relative; z-index: 1; transition: transform .4s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--light:hover { color: var(--ink); }
.btn--light::before { background: #fff; }

/* Quiet link with drawn underline */
.qlink { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13px; letter-spacing: .05em; color: var(--ink); }
.qlink .ln { position: relative; padding-bottom: 3px; }
.qlink .ln::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: right; transition: transform .45s var(--ease); }
.qlink:hover .ln::after { transform: scaleX(0); }
.qlink .dot { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--accent); transition: background .4s, color .4s, border-color .4s; }
.qlink:hover .dot { background: var(--accent); color: #fff; border-color: var(--accent); }

/* =====================================================================
   Header
   ===================================================================== */
.hdr { position: fixed; top: 0; inset-inline: 0; z-index: 100; transition: background .5s var(--ease), box-shadow .5s, border-color .5s; border-bottom: 1px solid transparent; }
.hdr .wrap { max-width: 1560px; }
.hdr__bar { display: flex; align-items: center; gap: 28px; height: 86px; }
.hdr__logo { display: flex; align-items: center; gap: 14px; padding: 9px 14px; margin-left: -14px; border-radius: 4px; transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease); }
.hdr__logo img { height: 40px; width: auto; transition: height .35s var(--ease); }
.hdr__logo .est { font-family: var(--latin); font-size: 12px; letter-spacing: .12em; color: var(--accent); padding-left: 12px; border-left: 1px solid var(--line); }
.hdr__nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 1.3vw, 22px); }
.hdr__nav a { font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; position: relative; padding: 6px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__cta { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; transition: background .4s, color .4s; }
.hdr__cta:hover { background: var(--ink); color: #fff; }
.hdr:not(.is-stuck) { color: #fff; }
.hdr:not(.is-stuck) .hdr__logo { background: rgba(255,255,255,.9); box-shadow: 0 14px 34px -26px rgba(0,0,0,.45); }
.hdr:not(.is-stuck) .hdr__logo .est { color: var(--ink); border-left-color: rgba(24,34,46,.18); }
.hdr:not(.is-stuck) .hdr__nav a::after { background: #fff; }
.hdr:not(.is-stuck) .hdr__cta { border-color: rgba(255,255,255,.72); }
.hdr:not(.is-stuck) .hdr__cta:hover { background: #fff; color: var(--ink); }
.hdr:not(.is-stuck) .burger span { background: #fff; }
.hdr.is-stuck { background: rgba(246,243,236,.86); backdrop-filter: blur(14px); border-color: var(--line); box-shadow: 0 10px 40px -28px rgba(24,34,46,.5); }
.hdr.is-stuck .hdr__bar { height: 70px; }
.hdr.is-stuck .hdr__logo { padding-block: 0; background: transparent; box-shadow: none; }
.hdr.is-stuck .hdr__logo img { height: 34px; }

.burger { display: none; width: 46px; height: 46px; margin-left: 6px; position: relative; }
.burger span { position: absolute; left: 11px; width: 24px; height: 1.6px; background: var(--ink); transition: .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 24px; } .burger span:nth-child(3) { top: 30px; }
.burger.is-open span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 24px; transform: rotate(-45deg); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero { position: relative; padding-top: 124px; overflow: hidden; background: var(--ink); color: #fff; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 72% 42%, rgba(255,255,255,.08), transparent 26%),
    linear-gradient(90deg, rgba(10,15,22,.66) 0%, rgba(10,15,22,.38) 42%, rgba(10,15,22,.04) 100%),
    linear-gradient(180deg, rgba(10,15,22,.16) 0%, transparent 38%, rgba(10,15,22,.2) 100%);
}
.hero__bg {
  position: absolute; top: -7%; left: -3%; z-index: 0;
  width: 106%; height: 114%; max-width: none; object-fit: cover; object-position: 48% 50%;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.025);
  animation: heroVideoDrift 24s ease-in-out infinite alternate;
}
.hero > .wrap { max-width: 1560px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 760px); gap: clamp(30px, 5vw, 76px); align-items: center; min-height: calc(100vh - 124px); padding-bottom: 60px; }
.hero__copy { max-width: 760px; }
.hero__eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hero__eyebrow .rule { width: 54px; height: 1px; background: var(--accent); }
.hero__title { font-family: var(--serif); font-weight: 800; font-size: clamp(33px, 5.4vw, 72px); line-height: 1.26; letter-spacing: -.01em; font-feature-settings: "palt"; }
.hero__title .accent { color: var(--accent); font-style: normal; }
.hero__lead { margin-top: 30px; max-width: 30em; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.15vw, 17px); line-height: 2.1; }
.hero__title, .hero__lead, .hero__eyebrow, .hero__tel { text-shadow: 0 2px 18px rgba(0,0,0,.24); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .btn--ghost { --fg: #fff; --bd: rgba(255,255,255,.72); }

.scrollcue { position: absolute; right: var(--gutter); bottom: 30px; z-index: 1; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; font-family: var(--latin); font-size: 12px; letter-spacing: .25em; color: rgba(255,255,255,.72); }
.scrollcue .bar { width: 1px; height: 58px; background: linear-gradient(var(--accent), transparent); }
@keyframes heroVideoDrift {
  0% { object-position: 46% 50%; filter: saturate(1.02) contrast(1.02); }
  50% { object-position: 52% 48%; filter: saturate(1.08) contrast(1.04); }
  100% { object-position: 58% 51%; filter: saturate(1.04) contrast(1.03); }
}

/* paper texture / vertical rule */
.paperline { position: fixed; top: 0; bottom: 0; left: calc(var(--gutter) - 1px); width: 1px; background: var(--line-soft); z-index: 1; pointer-events: none; opacity: .8; }
@media (max-width: 900px) { .paperline { display: none; } }

/* =====================================================================
   Quick action strip
   ===================================================================== */
.strip { position: sticky; top: 70px; z-index: 80; border-block: 1px solid var(--line); background: rgba(239,232,218,.88); backdrop-filter: blur(14px); overflow: hidden; }
.strip__inner { width: 100%; max-width: 1560px; margin-inline: auto; padding: 18px var(--gutter); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.strip__label { font-family: var(--latin); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent-2); white-space: nowrap; }
.strip__track { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-bottom: 2px; }
.strip__track::-webkit-scrollbar { height: 6px; }
.strip__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.strip__track a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.52); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.strip__track a span { font-family: var(--latin); font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.strip__track a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.strip__track a:hover span { color: #cdb48d; }
.strip__track a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.strip__track a.is-current span { color: #cdb48d; }

/* =====================================================================
   Intro / heritage statement
   ===================================================================== */
.intro__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.intro__title { font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3vw, 40px); line-height: 1.5; letter-spacing: .005em; font-feature-settings: "palt"; }
.intro__title em { color: var(--accent); font-style: normal; }
.intro__body p + p { margin-top: 1.6em; }
.intro__sign { margin-top: 34px; font-family: var(--latin); font-size: 18px; color: var(--ink-2); }
.figures { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.figures li { min-height: 152px; padding: 30px 28px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-start; }
.figures li:first-child { border-left: 0; padding-left: 0; }
.figures b { font-family: var(--latin); font-size: clamp(28px, 3vw, 36px); font-weight: 700; line-height: 1; color: var(--ink); display: inline-flex; align-items: baseline; gap: 8px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.figures b span { display: inline; margin: 0; max-width: none; font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; }
.figures b i { font-family: var(--sans); font-size: 13px; font-style: normal; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.figures li > span { display: block; margin-top: 18px; max-width: 12em; font-size: 13px; color: var(--ink-2); letter-spacing: .02em; line-height: 1.8; }

/* =====================================================================
   Products / what we make
   ===================================================================== */
.prod { background: var(--ink); color: #f3eee4; }
.prod .eyebrow__label, .prod .eyebrow__no { color: #cdb48d; }
.prod .eyebrow__rule { background: rgba(255,255,255,.16); }
.prod__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.prod__head h2 { color: #fff; }
.prod__list { display: grid; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.pitem { background: var(--ink); display: grid; grid-template-columns: 78px 1.1fr 1fr; align-items: center; gap: clamp(20px,3vw,50px); padding: clamp(24px,3vw,42px) clamp(20px,2.6vw,46px); transition: background .5s var(--ease); position: relative; }
.pitem:hover { background: #111a24; }
.pitem__no { font-family: var(--latin); font-size: 17px; color: #cdb48d; }
.pitem__main h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.1vw, 28px); color: #fff; }
.pitem__main .en { font-family: var(--latin); font-size: 13px; letter-spacing: .12em; color: rgba(243,238,228,.5); margin-top: 4px; }
.pitem__desc { color: rgba(243,238,228,.66); font-size: 14px; line-height: 1.95; }
.pitem__media { width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: #fff; max-height: 0; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; grid-column: 2 / -1; }
.pitem:hover .pitem__media { max-height: 230px; opacity: 1; margin-top: 22px; }
.pitem__media img { width: 100%; height: 100%; object-fit: cover; }
.pitem__arrow { position: absolute; right: clamp(20px,2.6vw,46px); top: 50%; transform: translateY(-50%); color: #cdb48d; opacity: 0; transition: .4s var(--ease); }
.pitem:hover .pitem__arrow { opacity: 1; }
/* always-visible thumbnails variant for wide screens */
@media (min-width: 901px) {
  .pitem { grid-template-columns: 70px 1fr 1.05fr 200px; }
  .pitem__media { grid-column: auto; max-height: 130px; opacity: 1; margin: 0; aspect-ratio: 16/11; }
  .pitem:hover .pitem__media { max-height: 130px; margin: 0; }
  .pitem__media img { transition: transform .7s var(--ease); }
.pitem:hover .pitem__media img { transform: scale(1.07); }
.pitem__arrow { display: none; }
}

/* =====================================================================
   Works gallery
   ===================================================================== */
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 54px; }
.works__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.works__grid--single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.works__grid--single > .wcard { grid-column: 1; aspect-ratio: 16/10; }
.wcard { position: relative; overflow: hidden; border-radius: 4px; background: var(--card); display: block; }
.wcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.wcard:hover img { transform: scale(1.06); }
.wcard__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 20px; background: linear-gradient(transparent, rgba(20,28,38,.82)); color: #fff; transform: translateY(8px); opacity: 0; transition: .5s var(--ease); }
.wcard:hover .wcard__cap { transform: none; opacity: 1; }
.wcard__cap small { font-family: var(--latin); letter-spacing: .1em; color: #d9c19c; font-size: 12px; }
.wcard__cap b { display: block; font-family: var(--serif); font-weight: 700; font-size: 16px; }
.wcard--a { grid-column: span 7; aspect-ratio: 16/11; }
.wcard--b { grid-column: span 5; aspect-ratio: 16/13; }
.wcard--c { grid-column: span 4; aspect-ratio: 1/1; }
.wcard--d { grid-column: span 4; aspect-ratio: 1/1; }
.wcard--e { grid-column: span 4; aspect-ratio: 1/1; }
.works__foot { margin-top: 50px; display: flex; justify-content: center; }

[data-parallax-speed] { transform: translate3d(0, var(--parallax-y, 0px), 0); will-change: transform; }
.hero__bg[data-parallax-speed] { transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.025); }

/* =====================================================================
   Reasons / strengths
   ===================================================================== */
.reasons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 50px); margin-top: 16px; }
#reasons.section { padding-bottom: clamp(76px, 8vw, 116px); }
.reason { border-top: 2px solid var(--ink); padding-top: 28px; }
.reason__no { font-family: var(--latin); font-size: 14px; color: var(--accent); letter-spacing: .08em; }
.reason h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 1.9vw, 24px); margin: 16px 0 14px; line-height: 1.5; }
.reason p { color: var(--ink-2); font-size: 14px; line-height: 1.95; }
.reason__tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.reason__tags span { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--accent-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

/* =====================================================================
   Reasons closing statement
   ===================================================================== */
.reasons__statement { max-width: 880px; margin: clamp(54px, 7vw, 92px) auto 0; padding-top: clamp(34px, 4vw, 54px); border-top: 1px solid rgba(24, 34, 46, .18); }
.reasons__statement .reasons__statement-label { font-family: var(--latin); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .18em; color: var(--accent-2); margin-bottom: 18px; }
.reasons__statement p { font-family: var(--serif); font-weight: 800; font-size: clamp(22px, 3vw, 38px); line-height: 1.55; letter-spacing: .005em; font-feature-settings: "palt"; }
.reasons__statement p em { color: var(--accent); font-style: normal; }
.reasons__statement cite { display: block; margin-top: 26px; font-style: normal; font-size: 13px; letter-spacing: .06em; color: var(--muted); }

/* =====================================================================
   News
   ===================================================================== */
.news__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px,5vw,70px); align-items: start; }
.news__list { border-top: 1px solid var(--line); }
.news__list a { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.news__list a:hover { padding-left: 14px; }
.news__list time { font-family: var(--latin); font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.news__list .cat { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--accent-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.news__list .ttl { font-size: 14.5px; color: var(--ink); }
.news__list a:hover .ttl { color: var(--accent-2); }

/* =====================================================================
   Recruit band
   ===================================================================== */
.recruit { position: relative; background: var(--ink); color: #f3eee4; overflow: hidden; }
.recruit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }
.recruit .eyebrow__label, .recruit .eyebrow__no { color: #cdb48d; }
.recruit .eyebrow__rule { background: rgba(255,255,255,.16); }
.recruit h2 { color: #fff; }
.recruit p { color: rgba(243,238,228,.7); margin-top: 22px; line-height: 2; max-width: 32em; }
.recruit__big { font-family: var(--latin); font-size: clamp(64px, 13vw, 168px); line-height: .9; color: rgba(255,255,255,.06); text-align: right; }
.recruit__cta { margin-top: 38px; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact { text-align: center; }
.contact__eyebrow { font-family: var(--latin); font-size: 15px; letter-spacing: .1em; color: var(--accent); }
.contact h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.36; margin-top: 16px; letter-spacing: .005em; }
.contact__sub { margin: 26px auto 0; max-width: 36em; color: var(--ink-2); }
.contact__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.contact__tel { margin-top: 50px; padding-top: 36px; border-top: 1px solid var(--line); display: inline-block; }
.contact__tel small { font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.contact__tel a { font-family: var(--latin); font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; color: var(--ink); display: block; line-height: 1.2; }
.contact__tel .hours { font-size: 12px; color: var(--muted); }

/* =====================================================================
   Footer
   ===================================================================== */
.ftr { background: var(--ink); color: rgba(243,238,228,.66); padding-top: clamp(64px, 8vw, 100px); }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ftr__brand img { height: 32px; filter: brightness(0) invert(1); }
.ftr__brand p { margin-top: 22px; font-size: 12.5px; line-height: 2; }
.ftr__brand .latin { font-family: var(--latin); color: #cdb48d; margin-top: 18px; letter-spacing: .08em; font-size: 14px; }
.ftr__col h4 { font-family: var(--latin); font-size: 13px; letter-spacing: .12em; color: #cdb48d; margin-bottom: 18px; }
.ftr__col li { margin-bottom: 12px; }
.ftr__col a { font-size: 13px; transition: color .3s; }
.ftr__col a:hover { color: #fff; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-block: 28px; }
.ftr__bottom small { font-family: var(--latin); font-size: 12px; letter-spacing: .06em; color: rgba(243,238,228,.5); }
.ftr__pr { display: flex; gap: 16px; flex-wrap: wrap; }
.ftr__pr a, .ftr__pr span { font-size: 11px; color: rgba(243,238,228,.4); }
.ftr__pr a:hover { color: #fff; }

/* =====================================================================
   Getting started (はじめての方へ / お悩み / 流れ)
   ===================================================================== */
.start__head { max-width: 760px; margin-bottom: 56px; }
.start__head .lead { margin-top: 22px; }
.start__cols { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.start__panel { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(28px, 3vw, 44px); box-shadow: var(--shadow-soft); }
.start__panel h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 1.9vw, 23px); letter-spacing: .02em; }
.start__panel .en { font-family: var(--latin); font-size: 13px; color: var(--accent); letter-spacing: .08em; margin-bottom: 22px; }
.ticklist li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); line-height: 1.8; color: var(--ink-2); }
.ticklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.ticklist li::before { content: ""; flex: 0 0 auto; width: 11px; height: 7px; margin-top: 9px; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }
.painlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.painlist li { position: relative; min-height: 48px; display: flex; align-items: center; font-size: 13px; font-weight: 600; line-height: 1.55; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px 12px 34px; transition: border-color .35s, color .35s, background .35s; }
.painlist li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); opacity: .75; }
.painlist li:hover { background: #fff; border-color: var(--accent); color: var(--accent-2); }
.start__msg { margin: 50px auto 0; max-width: 760px; text-align: center; font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.95; letter-spacing: .02em; color: var(--ink); }

.flow { margin-top: clamp(60px, 8vw, 100px); }
.flow__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.flow__head h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .03em; }
.flow__head h3 .en { font-family: var(--latin); font-size: 15px; color: var(--accent); margin-left: 14px; letter-spacing: .06em; }
.flow__head p { color: var(--muted); font-size: 13px; max-width: 26em; }
.flow__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.8vw, 30px); border-top: 1px solid var(--line); }
.flow__step { position: relative; padding-top: 30px; }
.flow__step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.flow__step .no { font-family: var(--latin); font-size: 13px; letter-spacing: .1em; color: var(--accent); }
.flow__step h4 { font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); margin: 6px 0 12px; letter-spacing: .02em; }
.flow__step p { font-size: 12.5px; line-height: 1.85; color: var(--muted); }

/* =====================================================================
   Recruit cards
   ===================================================================== */
.recruit__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(40px, 5vw, 64px); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; overflow: hidden; }
.recruit__card { background: var(--ink); padding: clamp(26px, 3vw, 40px); transition: background .5s var(--ease); }
.recruit__card:hover { background: #111a24; }
.recruit__card .no { font-family: var(--latin); font-size: 13px; color: #cdb48d; letter-spacing: .08em; }
.recruit__card h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 1.9vw, 22px); color: #fff; margin: 12px 0 14px; }
.recruit__card p { color: rgba(243,238,228,.66); font-size: 13.5px; line-height: 1.95; }

/* =====================================================================
   Quick guide (目的別の入口 / 導線)
   ===================================================================== */
.guide { padding: clamp(40px, 5vw, 60px) 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.guide__head .en { font-family: var(--latin); color: var(--accent); font-size: 13px; letter-spacing: .12em; }
.guide__head h2 { font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; letter-spacing: .02em; }
.guide__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gcard { position: relative; display: flex; flex-direction: column; gap: 9px; padding: 26px 28px 50px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); transition: background .45s var(--ease), transform .45s var(--ease), border-color .45s; }
.gcard:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-4px); }
.gcard__no { font-family: var(--latin); font-size: 13px; color: var(--accent); letter-spacing: .08em; }
.gcard h3 { font-size: clamp(17px, 1.7vw, 20px); font-weight: 700; letter-spacing: .01em; color: var(--ink); transition: color .45s; }
.gcard p { font-size: 12.5px; line-height: 1.75; color: var(--muted); transition: color .45s; }
.gcard__arw { position: absolute; right: 26px; bottom: 24px; color: var(--accent); font-size: 15px; transition: transform .4s var(--ease), color .45s; }
.gcard:hover h3 { color: #fff; }
.gcard:hover p { color: rgba(243,238,228,.7); }
.gcard:hover .gcard__no { color: #cdb48d; }
.gcard:hover .gcard__arw { color: #fff; transform: translateX(5px); }

/* hero tel line */
.hero__tel { margin-top: 28px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hero__tel .lbl { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.78); padding: 4px 9px; border: 1px solid rgba(255,255,255,.34); border-radius: 3px; }
.hero__tel a { font-family: var(--latin); font-weight: 600; font-size: clamp(22px, 1.9vw, 26px); color: #fff; letter-spacing: .01em; }
.hero__tel small { font-size: 11.5px; color: rgba(255,255,255,.72); }

/* getting-started closing CTA */
.start__cta { margin-top: clamp(50px, 6vw, 76px); text-align: center; padding: clamp(34px, 4vw, 52px); background: var(--paper-2); border-radius: 8px; }
.start__cta p { font-size: 15px; color: var(--ink); margin-bottom: 24px; font-weight: 500; }
.start__cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =====================================================================
   Fixed conversion CTA (常時表示の問い合わせ導線)
   ===================================================================== */
.fixcta { position: fixed; z-index: 90; }
.fixcta a { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.fixcta svg { width: 18px; height: 18px; flex: 0 0 auto; }
@media (min-width: 761px) {
  .fixcta { right: 26px; bottom: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
    opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .fixcta.show { opacity: 1; transform: none; pointer-events: auto; }
  .fixcta a { box-shadow: var(--shadow-soft); }
  .fixcta a b, .fixcta a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fixcta a.tel { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .fixcta a.tel:hover { border-color: var(--accent); color: var(--accent-2); }
  .fixcta a.contact { background: var(--ink); color: #fff; }
  .fixcta a.contact:hover { background: var(--accent); transform: translateY(-2px); }
}
@media (max-width: 760px) {
  .fixcta { left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.2fr;
    transform: translateY(100%); transition: transform .5s var(--ease); box-shadow: 0 -10px 30px -18px rgba(24,34,46,.5); }
  .fixcta.show { transform: none; }
  .fixcta a { width: auto; height: auto; justify-content: center; gap: 9px; padding: 16px 8px; font-size: 14px; border-radius: 0; }
  .fixcta a.tel { background: #fff; color: var(--ink); border-top: 1px solid var(--line); }
  .fixcta a.tel b { font-family: var(--latin); font-size: 15px; }
  .fixcta a.contact { background: var(--ink); color: #fff; }
  .ftr { padding-bottom: 86px; }
}

/* =====================================================================
   Existing chatbot
   ===================================================================== */
#spx-chatbot {
  --spx-primary: #1a5ca8;
  --spx-primary-dark: #13457e;
  --spx-radius: 12px;
  position: fixed;
  right: 96px;
  bottom: 26px;
  z-index: 99999;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
}
#spx-chat-toggle {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--spx-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
#spx-chat-toggle:hover { background: var(--spx-primary-dark); transform: scale(1.06); }
#spx-chat-toggle.spx-chat-toggle--open { background: #555; }
#spx-chat-window {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 370px;
  max-height: 520px;
  background: #fff;
  border-radius: var(--spx-radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: spx-slideUp .25s ease;
}
@keyframes spx-slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
#spx-chat-window.spx-chat-hidden { display: none; }
#spx-chat-header {
  padding: 14px 16px;
  background: var(--spx-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
#spx-chat-title { font-size: 15px; font-weight: 700; }
#spx-chat-close {
  padding: 0 4px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
}
#spx-chat-close:hover { opacity: 1; }
#spx-chat-body {
  min-height: 200px;
  max-height: 340px;
  padding: 16px;
  background: #f5f7fa;
  overflow-y: auto;
  flex: 1 1 auto;
}
.spx-msg {
  max-width: 85%;
  margin-bottom: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  animation: spx-fadeIn .2s ease;
}
@keyframes spx-fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.spx-msg--bot {
  margin-right: auto;
  border: 1px solid #e0e5ec;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  color: #333;
}
.spx-msg--bot a { color: var(--spx-primary); text-decoration: underline; }
.spx-msg--user {
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
  background: var(--spx-primary);
  color: #fff;
}
.spx-typing span {
  width: 8px;
  height: 8px;
  margin: 0 2px;
  border-radius: 50%;
  background: #aab;
  display: inline-block;
  animation: spx-dot .9s infinite;
}
.spx-typing span:nth-child(2) { animation-delay: .15s; }
.spx-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes spx-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-6px); opacity: 1; }
}
#spx-chat-quick {
  padding: 0 12px 8px;
  background: #f5f7fa;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.spx-quick-btn {
  padding: 5px 14px;
  border: 1px solid var(--spx-primary);
  border-radius: 16px;
  background: #fff;
  color: var(--spx-primary);
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.spx-quick-btn:hover { background: var(--spx-primary); color: #fff; }
#spx-chat-input-wrap { border-top: 1px solid #e0e5ec; display: flex; flex-shrink: 0; }
#spx-chat-input {
  padding: 12px 14px;
  border: 0;
  outline: 0;
  font-size: 14px;
  font-family: inherit;
  flex: 1;
}
#spx-chat-input::placeholder { color: #aaa; }
#spx-chat-send {
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--spx-primary);
  cursor: pointer;
}
#spx-chat-send:hover { color: var(--spx-primary-dark); }
@media (max-width: 480px) {
  #spx-chatbot { right: 8px; bottom: calc(84px + env(safe-area-inset-bottom)); }
  #spx-chat-window { right: -4px; width: calc(100vw - 24px); max-height: 70vh; }
  #spx-chat-body { max-height: 50vh; }
  #spx-chat-toggle { width: 52px; height: 52px; }
}

/* =====================================================================
   Reveal animation
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in[data-parallax-speed] { transform: translate3d(0, var(--parallax-y, 0px), 0); }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
/* clip-path is on the inner img, NOT on the observed element
   (a fully clipped element is reported as non-intersecting by IntersectionObserver) */
.mask img { clip-path: inset(0 101% 0 0); transition: clip-path 1.15s var(--ease); }
.mask.in img { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .mask { opacity: 1 !important; transform: none !important; }
  .mask img { clip-path: none !important; }
  [data-parallax-speed] { transform: none !important; }
  .hero__bg { animation: none !important; }
}

/* =====================================================================
   Mobile nav
   ===================================================================== */
.drawer { position: fixed; inset: 0; z-index: 99; background: var(--paper); transform: translateY(-100%); transition: transform .6s var(--ease); display: flex; flex-direction: column; justify-content: center; padding: 92px var(--gutter) 40px; visibility: hidden; overflow-y: auto; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-family: var(--serif); font-size: clamp(20px, 5vw, 30px); font-weight: 700; letter-spacing: -.01em; padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 16px; }
.drawer nav a i { font-family: var(--latin); font-size: 13px; color: var(--accent); font-style: normal; min-width: 22px; }
.drawer__foot { margin-top: 44px; display: flex; flex-direction: column; gap: 16px; }
.drawer__foot a.btn { justify-content: center; }
.drawer__foot .tel { font-family: var(--latin); font-size: 28px; color: var(--ink); }

/* =====================================================================
   Sub-page (product) — トップと同じ意匠
   ===================================================================== */
/* ---- Sub-hero（濃色＋実写を枠内に：全面拡大せずくっきり） ---- */
.subhero { position: relative; background: var(--ink); color: #fff; padding: clamp(140px, 15vw, 184px) 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.subhero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(880px 520px at 86% 4%, rgba(178,122,62,.18), transparent 58%); pointer-events: none; }
.subhero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-family: var(--latin); font-size: 12px; letter-spacing: .05em; }
.subhero .crumbs, .subhero .crumbs a { color: rgba(255,255,255,.68); }
.subhero .crumbs a:hover { color: #fff; }
.subhero .crumbs .sep { color: rgba(255,255,255,.32); }
.subhero .crumbs .cur { color: #fff; }
.subhero__en { font-family: var(--latin); font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #cdb48d; }
.subhero__title { font-family: var(--serif); font-weight: 800; font-size: clamp(38px, 5.6vw, 78px); line-height: 1.14; letter-spacing: -.015em; margin-top: 12px; }
.subhero__lead { margin-top: 24px; max-width: 32em; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.2vw, 17px); line-height: 2; }
.subhero__fig { position: relative; }
.subhero__fig img, .subhero__fig svg.subhero__art { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; box-shadow: 0 44px 90px -44px rgba(0,0,0,.7); position: relative; z-index: 1; display: block; }
.subhero__fig figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--latin); font-size: 12px; letter-spacing: .08em; color: #fff; background: rgba(13,20,32,.55); backdrop-filter: blur(4px); padding: 6px 11px; border-radius: 4px; }

/* ---- 特長：ヒーローに重なる浮かせカード ---- */
.phl { display: grid; grid-template-columns: repeat(3, 1fr); margin: -52px auto 0; position: relative; z-index: 3; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.phl__item { padding: clamp(28px, 3vw, 40px); border-left: 1px solid var(--line); }
.phl__item:first-child { border-left: 0; }
.phl__item .n { font-family: var(--latin); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .08em; }
.phl__item strong { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 1.6vw, 19px); margin: 10px 0 10px; letter-spacing: .01em; }
.phl__item span { font-size: 13px; color: var(--ink-2); line-height: 1.95; }

/* ---- 特集（カテゴリ）：大画像＋背番号＋要点、左右交互 ---- */
.feature { position: relative; padding: clamp(72px, 9vw, 130px) 0; overflow: hidden; scroll-margin-top: 118px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--soft { background: var(--paper-2); }
.feature__inner { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(40px, 6vw, 92px); align-items: center; }
.feature--rev .feature__media { grid-column: 2; grid-row: 1; }
.feature--rev .feature__body { grid-column: 1; grid-row: 1; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); position: relative; z-index: 1; transition: transform .9s var(--ease); }
.feature__media:hover img { transform: scale(1.03); }
.feature__media::after { content: ""; position: absolute; z-index: 0; width: 56%; height: 60%; border: 1px solid var(--accent); border-radius: 8px; }
.feature:not(.feature--rev) .feature__media::after { right: -18px; bottom: -18px; }
.feature--rev .feature__media::after { left: -18px; bottom: -18px; }
.feature__body { position: relative; }
.feature__num { position: absolute; z-index: 0; top: -.62em; left: -.04em; font-family: var(--latin); font-weight: 600; font-size: clamp(120px, 17vw, 250px); line-height: .8; color: var(--paper-3); pointer-events: none; user-select: none; }
.feature--soft .feature__num { color: var(--paper-3); opacity: .65; }
.feature__kicker, .feature__title, .feature__lead, .feature__points, .feature__cta { position: relative; z-index: 1; }
.feature__kicker { font-family: var(--latin); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.feature__title { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.22; letter-spacing: .005em; margin-top: 12px; }
.feature__lead { margin-top: 22px; color: var(--ink-2); font-size: clamp(15px, 1.15vw, 17px); line-height: 2.05; max-width: 34em; }
.feature__points { margin-top: 26px; display: grid; gap: 13px; max-width: 36em; }
.feature__points li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.7; color: var(--ink); }
.feature__points li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.feature__points li b { font-weight: 700; }
.feature__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

.rich p { color: var(--ink-2); line-height: 2.05; font-size: clamp(14px, 1.02vw, 15.5px); }
.rich p + p { margin-top: 1.3em; }
.rich a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.rich a:hover { color: var(--ink); }

/* ---- フレキソ印刷：ダークな特集帯（トップの製品リストと同じ世界観） ---- */
.flexo { background: var(--ink); color: #f3eee4; padding: clamp(74px, 9vw, 130px) 0; scroll-margin-top: 118px; }
.flexo__head { max-width: 680px; }
.flexo__kicker { font-family: var(--latin); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #cdb48d; }
.flexo__title { font-family: var(--serif); font-weight: 800; color: #fff; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.3; letter-spacing: .005em; margin-top: 10px; }
.flexo__intro { margin-top: 22px; max-width: 48em; color: rgba(243,238,228,.74); line-height: 2; font-size: clamp(14px, 1.05vw, 16px); }
.flexo__sub { font-family: var(--serif); font-weight: 700; color: #fff; font-size: clamp(17px, 1.8vw, 21px); margin: clamp(46px, 5vw, 66px) 0 0; display: flex; align-items: baseline; gap: 14px; }
.flexo__sub .en { font-family: var(--latin); font-size: 13px; letter-spacing: .1em; color: #cdb48d; }
.flexo .featgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.flexo .featcard { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 8px; padding: clamp(22px, 2.2vw, 28px); transition: background .4s var(--ease), transform .4s var(--ease); }
.flexo .featcard:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.flexo .featcard__ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); color: #cdb48d; display: grid; place-items: center; margin-bottom: 16px; }
.flexo .featcard__ic svg { width: 20px; height: 20px; }
.flexo .featcard h4 { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 9px; }
.flexo .featcard p { color: rgba(243,238,228,.66); font-size: 13px; line-height: 1.85; }
.flexo .usage { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-top: 26px; }
.flexo .usage__item { border-radius: 8px; padding: clamp(24px, 2.6vw, 32px); border: 1px solid rgba(255,255,255,.14); }
.flexo .usage__item--y { background: rgba(255,255,255,.05); }
.flexo .usage__item--n { background: rgba(255,255,255,.02); }
.flexo .usage__item h4 { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.flexo .usage__item h4 svg { width: 16px; height: 16px; flex: 0 0 auto; }
.flexo .usage__item--y h4 svg { color: #9fc187; }
.flexo .usage__item--n h4 svg { color: #cdb48d; }
.flexo .usage__item p { color: rgba(243,238,228,.7); font-size: 13px; line-height: 2; }
.flexo .usage__item p a { color: #e7d3ad; }
.flexo .usage__list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.flexo .usage__list li { font-size: 12px; font-weight: 600; color: #e7d9bf; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 13px; }
.flexo__foot { margin-top: clamp(38px, 4vw, 54px); }

/* ---- 化粧箱の印刷・加工 ---- */
.finish-wrap { margin-top: clamp(50px, 6vw, 82px); padding-top: clamp(46px, 5vw, 64px); border-top: 1px solid var(--line); }
.finish__head { max-width: 680px; margin-bottom: clamp(28px, 3vw, 40px); }
.finish__kicker { font-family: var(--latin); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.finish__title { font-family: var(--serif); font-weight: 800; font-size: clamp(21px, 2.6vw, 31px); line-height: 1.35; letter-spacing: .005em; margin-top: 8px; }
.finish__intro { margin-top: 16px; color: var(--ink-2); font-size: clamp(14px, 1.05vw, 16px); line-height: 2; }
.finishgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.fincard { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 2.6vw, 34px); transition: transform .35s var(--ease), box-shadow .35s; }
.fincard:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.fincard__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.fincard__ic { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 13px; background: var(--paper-2); color: var(--accent-2); display: grid; place-items: center; }
.fincard__ic svg { width: 21px; height: 21px; }
.fincard h4 { font-weight: 700; font-size: clamp(15px, 1.5vw, 17px); }
.fincard h4 .en { display: block; font-family: var(--latin); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); margin-top: 2px; }
.fincard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.95; }
@media (max-width: 860px) { .finishgrid { grid-template-columns: 1fr; } }

.embed { margin-top: 28px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; background: #000; }
.embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.related { padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--line); background: var(--card); }
.related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(36px, 4vw, 50px); }

/* =====================================================================
   Design-group page
   ===================================================================== */
.dsec { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); scroll-margin-top: 118px; }
.dsec--soft { background: var(--paper-2); }
.dsec--dark { background: var(--ink); color: #f3eee4; border-top: 0; }
.dsec__head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 50px); }
.dsec__kicker { font-family: var(--latin); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.dsec--dark .dsec__kicker { color: #cdb48d; }
.dsec__title { font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.3; letter-spacing: .005em; margin-top: 10px; }
.dsec--dark .dsec__title { color: #fff; }
.dsec__lead { margin-top: 18px; color: var(--ink-2); font-size: clamp(14px, 1.05vw, 16px); line-height: 2; }
.dsec--dark .dsec__lead { color: rgba(243,238,228,.74); }
.dsub { font-family: var(--serif); font-weight: 800; font-size: clamp(17px, 1.9vw, 21px); margin: clamp(42px, 5vw, 58px) 0 0; letter-spacing: .005em; }

.caps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: clamp(22px, 3vw, 34px); }
.caps__col h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(16px, 1.7vw, 19px); }
.caplist { margin-top: 14px; }
.caplist li { padding: 18px 0; border-top: 1px solid var(--line); }
.caplist strong { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.caplist span { font-size: 13px; color: var(--ink-2); line-height: 1.9; }

.callout { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: clamp(22px, 2.4vw, 28px); margin-top: clamp(36px, 4vw, 52px); }
.dsec--soft .callout { background: var(--card); }
.callout__ic { color: var(--accent-2); flex: 0 0 auto; margin-top: 1px; }
.callout__ic svg { width: 22px; height: 22px; }
.callout p { font-size: 14px; color: var(--ink-2); line-height: 1.95; }
.callout a { color: var(--accent-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.dflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.8vw, 26px); margin-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line); }
.dstep { position: relative; padding-top: 30px; }
.dstep::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.dstep .n { font-family: var(--latin); font-size: 13px; letter-spacing: .1em; color: var(--accent); }
.dstep strong { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(15px, 1.5vw, 18px); margin: 6px 0 10px; line-height: 1.4; }
.dstep p { font-size: 12.5px; color: var(--muted); line-height: 1.8; }

.awards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.award { display: flex; gap: 18px; align-items: baseline; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: 8px; padding: 22px 26px; }
.award__yr { font-family: var(--latin); font-size: 22px; font-weight: 600; color: #cdb48d; line-height: 1; flex: 0 0 auto; }
.award__name { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.5; color: #fff; }
.award__meta { display: block; margin-top: 5px; font-size: 12.5px; color: rgba(243,238,228,.62); line-height: 1.6; }

.dgallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.dgcard { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 3/4; background: #0e1624; }
.dgcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dgcard:hover img { transform: scale(1.05); }
.dgcard__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 16px; background: linear-gradient(transparent, rgba(13,20,32,.85)); color: #fff; font-size: 12px; font-weight: 700; display: flex; flex-direction: column; gap: 3px; }
.dgcard__cap .ig { font-family: var(--latin); font-weight: 600; color: #e7d3ad; font-size: 11px; }
.dgallery__more { margin-top: 24px; }
.dgallery__more a { color: #e7d3ad; font-family: var(--latin); font-weight: 600; letter-spacing: .04em; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }

.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 24px 46px 24px 0; font-weight: 700; font-size: clamp(15px, 1.5vw, 17px); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--accent-2); transition: transform .3s var(--ease); }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0); }
.faq__answer { padding: 0 46px 26px 0; color: var(--ink-2); line-height: 2; font-size: 14px; }
.faq__answer a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---- news page ---- */
.newslist { margin-top: clamp(20px, 2.4vw, 30px); border-top: 1px solid var(--line); }
.newsitem { border-bottom: 1px solid var(--line); }
.newsitem a { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); padding: clamp(16px, 2vw, 22px) 6px; text-decoration: none; color: var(--ink); transition: padding-left .35s var(--ease), color .35s; }
.newsitem a:hover { padding-left: 12px; color: var(--accent-2); }
.newsitem__date { flex: 0 0 auto; min-width: 5.6em; font-family: var(--latin); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.newsitem__tag { flex: 0 0 auto; min-width: 4.8em; display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; background: var(--paper-3); color: var(--muted); }
.newsitem__tag--important { background: var(--ink); color: #fff; }
.newsitem__tag--news { background: var(--accent-tint); color: var(--accent-2); }
.newsitem__tag--works { background: var(--accent-2); color: #fff; }
.newsitem__title { flex: 1 1 auto; font-size: clamp(14px, 1.05vw, 15.5px); line-height: 1.6; }
.newsitem__arw { flex: 0 0 auto; font-family: var(--latin); font-weight: 600; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.newsitem a:hover .newsitem__arw { opacity: 1; transform: translateX(0); }

/* ---- about page ---- */
.signoff { margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); }
.signoff small { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.signoff strong { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 1.8vw, 21px); margin-top: 6px; letter-spacing: .08em; }

.spectable { margin-top: clamp(26px, 3vw, 38px); border-top: 2px solid var(--ink); }
.spectable__row { display: grid; grid-template-columns: 220px 1fr; gap: 14px clamp(24px, 3vw, 48px); padding: 22px 4px; border-bottom: 1px solid var(--line); }
.spectable__row dt { font-weight: 700; font-size: 14px; color: var(--ink); }
.spectable__row dd { font-size: 14px; color: var(--ink-2); line-height: 1.95; }
.spectable__row dd a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.spectable__row dd strong { color: var(--ink); font-weight: 700; }

.htimeline { margin-top: clamp(28px, 3vw, 40px); position: relative; }
.htimeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 30px; width: 1px; background: var(--line); }
.hitem { position: relative; display: grid; grid-template-columns: 172px 1fr; gap: clamp(16px, 2vw, 32px); padding: 15px 0 15px 34px; border-top: 1px solid var(--line); }
.hitem:first-child { border-top: 0; }
.hitem::before { content: ""; position: absolute; left: 0; top: 21px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); z-index: 1; }
.dsec--soft .hitem::before { background: var(--paper-2); }
.hitem--key::before { background: var(--accent); border-color: var(--accent); }
.hitem__date { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.hitem--key .hitem__date { color: var(--accent-2); }
.hitem__event { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.hitem--key .hitem__event { font-weight: 700; color: var(--ink); }

/* ---- access page ---- */
.loc { padding: clamp(60px, 8vw, 104px) 0; border-top: 1px solid var(--line); scroll-margin-top: 118px; }
.loc--soft { background: var(--paper-2); }
.loc__inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.loc--rev .loc__map { grid-column: 1; grid-row: 1; }
.loc--rev .loc__info { grid-column: 2; grid-row: 1; }
.loc__head { display: flex; gap: clamp(14px, 2vw, 22px); align-items: flex-start; margin-bottom: 22px; }
.loc__num { font-family: var(--latin); font-size: clamp(30px, 4.4vw, 54px); font-weight: 600; color: var(--accent); line-height: .82; }
.loc__title { font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3vw, 36px); letter-spacing: .005em; }
.loc__sub { font-size: 13px; color: var(--muted); margin-top: 7px; letter-spacing: .04em; }
.loc__addr p { font-size: 15px; color: var(--ink); line-height: 1.95; }
.loc__addr .post { font-family: var(--latin); color: var(--muted); font-size: 13px; }
.loc__contact { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 30px; }
.loc__contact span { font-size: 13.5px; color: var(--ink-2); }
.loc__contact b { font-family: var(--latin); font-weight: 600; }
.loc__contact a { color: var(--ink); }
.loc__note { margin-top: 22px; display: flex; gap: 13px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; padding: 18px 20px; }
.loc--soft .loc__note { background: #fff; }
.loc__note svg { width: 20px; height: 20px; color: var(--accent-2); flex: 0 0 auto; margin-top: 1px; }
.loc__note p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.loc__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.loc__map { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--paper-3); }
.loc__map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 860px) {
  .loc__inner { grid-template-columns: 1fr; gap: 26px; }
  .loc--rev .loc__map, .loc--rev .loc__info, .loc__map, .loc__info { grid-column: 1; grid-row: auto; }
  .loc__map { order: -1; aspect-ratio: 16/11; }
}

/* ---- CSR page ---- */
.dsub--sm { font-size: clamp(15px, 1.6vw, 18px); margin-top: clamp(34px, 4vw, 46px); }
.note { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 16px; }
.note a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.minilist { margin-top: 14px; display: grid; gap: 9px; }
.minilist li { position: relative; padding-left: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.minilist li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.minilist li b { color: var(--ink); font-weight: 700; }
.csr-eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.ecocard__img { width: 100%; border-radius: 6px; margin-top: 16px; aspect-ratio: 16/10; object-fit: cover; }
.ecocard__b4a { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 16px 0; }
.ecocard__b4a .box { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; }
.ecocard__b4a .box small { font-size: 10.5px; color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.ecocard__b4a .box strong { display: block; font-size: 13px; margin: 5px 0 3px; }
.ecocard__b4a .box p { font-size: 11.5px; color: var(--ink-2); line-height: 1.6; }
.ecocard__b4a .box--now { background: var(--accent-tint); border-color: var(--accent); }
.ecocard__b4a .arw { color: var(--accent); font-weight: 700; }
.pdf-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 20px; font-weight: 700; font-size: 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 14px 20px; background: var(--card); transition: border-color .3s, background .3s; }
.pdf-link:hover { border-color: var(--accent); }
.pdf-link svg { width: 18px; height: 18px; color: var(--accent-2); flex: 0 0 auto; }
.fscbox { display: flex; gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 3vw, 40px); margin-top: 26px; }
.dsec--soft .fscbox { background: #fff; }
.fscbox img { width: clamp(90px, 12vw, 130px); height: auto; flex: 0 0 auto; }
.fscbox p { font-size: 14px; color: var(--ink-2); line-height: 1.95; }
@media (max-width: 860px) {
  .csr-eco { grid-template-columns: 1fr; }
  .ecocard__b4a { grid-template-columns: 1fr; }
  .ecocard__b4a .arw { transform: rotate(90deg); justify-self: center; }
  .fscbox { flex-direction: column; text-align: center; }
}

/* ---- contact form ---- */
.contactgrid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.cinfo__tel { font-family: var(--latin); font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; color: var(--ink); line-height: 1.1; display: block; }
.cinfo__hours { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.cinfo__label { font-family: var(--latin); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.cnotice { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 2.5vw, 30px); }
.cnotice__title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.cnotice__title svg { width: 18px; height: 18px; color: var(--accent-2); flex: 0 0 auto; }
.cnotice ul { display: grid; gap: 10px; }
.cnotice li { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; padding-left: 16px; position: relative; }
.cnotice li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cnotice li strong { color: var(--ink); }
.cnotice a { color: var(--accent-2); text-decoration: underline; }
.csolicit { margin-top: 28px; background: var(--accent-tint); border: 1px solid var(--accent); border-radius: 10px; padding: clamp(20px, 2.4vw, 28px); }
.csolicit__title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: clamp(14.5px, 1.6vw, 16.5px); color: var(--accent-2); margin-bottom: 12px; letter-spacing: .01em; }
.csolicit__title svg { width: 21px; height: 21px; flex: 0 0 auto; }
.csolicit p { font-size: 13px; line-height: 1.85; color: var(--ink); }
.csolicit p + p { margin-top: 9px; }
.csolicit strong { font-weight: 700; }

.cform { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(26px, 3vw, 44px); box-shadow: var(--shadow-soft); display: grid; gap: 22px; }
.ffield { display: grid; gap: 8px; }
.ffield > label, .flabel { font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 9px; }
.req { font-size: 10px; font-weight: 700; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: 4px; letter-spacing: .04em; }
.opt { font-size: 10px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 4px; }
.ffield input, .ffield select, .ffield textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 13px 15px; transition: border-color .25s, box-shadow .25s, background .25s; }
.ffield input:focus, .ffield select:focus, .ffield textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(178,122,62,.14); }
.ffield textarea { resize: vertical; min-height: 168px; line-height: 1.8; }
.ffield input::placeholder, .ffield textarea::placeholder { color: #b9b1a3; }
.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fagree { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.fagree input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--accent); flex: 0 0 auto; }
.fagree a { color: var(--accent-2); text-decoration: underline; }
.btn.fsubmit { width: 100%; justify-content: center; padding: 18px; font-size: 15px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.cprivacy { margin-top: clamp(40px, 5vw, 64px); }
.cprivacy dl { margin-top: 20px; border-top: 1px solid var(--line); }
.cprivacy dt { font-weight: 700; font-size: 14px; padding: 20px 0 6px; }
.cprivacy dd { font-size: 13px; color: var(--ink-2); line-height: 1.9; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin: 0; }
.cprivacy dd a { color: var(--accent-2); text-decoration: underline; }

@media (max-width: 920px) { .contactgrid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 560px) { .fgrid2 { grid-template-columns: 1fr; } }

@media (max-width: 680px) {
  .spectable__row { grid-template-columns: 1fr; gap: 5px; }
  .spectable__row dt { color: var(--accent-2); font-size: 12.5px; }
  .hitem { grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 860px) {
  .caps { grid-template-columns: 1fr; gap: 4px; }
  .dflow { grid-template-columns: 1fr; gap: 0; border-top: 0; }
  .dstep { border-top: 1px solid var(--line); padding: 24px 0 24px 24px; }
  .dstep::before { top: 30px; }
  .awards { grid-template-columns: 1fr; }
  .dgallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .flexo .featgrid { grid-template-columns: repeat(2, 1fr); }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .subhero { padding-top: 124px; }
  .subhero__grid { grid-template-columns: 1fr; gap: 34px; }
  .subhero__fig { max-width: 480px; }
  .subhero__fig::after { display: none; }
  .phl { grid-template-columns: 1fr; margin-top: -36px; }
  .phl__item { border-left: 0; border-top: 1px solid var(--line); }
  .phl__item:first-child { border-top: 0; }
  .feature__inner { grid-template-columns: 1fr; gap: 30px; }
  .feature--rev .feature__media, .feature--rev .feature__body, .feature__media, .feature__body { grid-column: 1; grid-row: auto; }
  .feature__media::after { display: none; }
  .feature__num { font-size: clamp(90px, 26vw, 150px); top: -.5em; }
  .flexo .featgrid { grid-template-columns: 1fr; }
  .flexo .usage { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 44px; padding-bottom: 40px; }
  .pc-br { display: none; }
  .scrollcue { display: none; }
  .intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .recruit__grid { grid-template-columns: 1fr; }
  .recruit__big { text-align: left; }
  .news__grid { grid-template-columns: 1fr; gap: 36px; }
  .pitem { grid-template-columns: 60px 1fr !important; padding-right: 104px !important; }
  .pitem__desc { grid-column: 2; }
  .pitem__media { grid-column: 1 / -1 !important; max-height: 0 !important; opacity: 0; margin: 0 !important; }
  .pitem__arrow { display: inline-flex; align-items: center; gap: 7px; right: 20px; top: 28px; transform: none; opacity: 1; min-height: 30px; padding: 6px 11px; border: 1px solid rgba(205,180,141,.38); border-radius: 999px; background: rgba(255,255,255,.06); color: #e7d3ad; font-size: 0; line-height: 1; }
  .pitem__arrow::before { content: "詳細へ"; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
  .pitem__arrow::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(1px); transition: transform .35s var(--ease); }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .start__cols { grid-template-columns: 1fr; gap: 18px; }
  .flow__steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .recruit__cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .reasons__grid { grid-template-columns: 1fr; gap: 0; }
  .reason { border-top: none; border-bottom: 1px solid var(--line); padding-block: 26px; }
  .reason:first-child { border-top: 2px solid var(--ink); }
  .works__grid > * { grid-column: 1 / -1 !important; aspect-ratio: 16/11 !important; }
  .figures { grid-template-columns: 1fr; }
  .figures li { min-height: auto; border-left: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .figures li:last-child { border-bottom: 0; }
  .ftr__top { grid-template-columns: 1fr; }
  .hero__title .thin { font-size: .5em; }
  .flow__steps { grid-template-columns: 1fr; row-gap: 28px; }
  .guide__grid { grid-template-columns: 1fr; }
  .gcard { padding-bottom: 26px; }
  .gcard__arw { position: static; margin-top: 6px; }
  .painlist { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr; gap: 10px; padding-block: 16px; }
  .strip__track { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .newsitem a { flex-wrap: wrap; gap: 7px 12px; padding-block: 16px; }
  .newsitem__title { flex-basis: 100%; order: 3; }
  .newsitem__arw { display: none; }
}
