/* 17_DESIGN.md の値。色は黒と金（A）で確定（2026-11-02） */
:root {
  --base: #0E0F12; --surface: #FFFFFF; --accent: #C9A24B; --muted: #8A8F98;
  --ink-on-light: #0E0F12; --line: rgba(255,255,255,.14);
  --font-en: "Barlow Condensed", sans-serif;
  --font-ja: "Zen Kaku Gothic New", sans-serif;
  --font-serif: "Cormorant Garamond", serif;
  --ease: cubic-bezier(.22,.8,.2,1);
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--base); color: #fff;
  font-family: var(--font-ja); font-weight: 500; font-size: 17px; line-height: 2.0;
  letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.en { font-family: var(--font-en); font-weight: 700; letter-spacing: .02em; line-height: .9; text-transform: uppercase; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: .02em; }

/* 開幕の幕：読み込みが終わったら上へ抜ける */
.curtain {
  position: fixed; inset: 0; z-index: 100; background: var(--base);
  display: grid; place-items: center; transition: transform 1s var(--ease) .2s;
}
.curtain__mark { font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .5em; color: var(--accent); }
.curtain__bar { position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--accent); transition: width .9s var(--ease); }
.is-loaded .curtain__bar { width: 100%; }
.is-ready .curtain { transform: translateY(-100%); pointer-events: none; }
.curtain.is-gone { display: none; }
/* 台本が読めなかったときの保険：4秒たったら幕を上げる */
.curtain { animation: curtain-auto .8s 4s forwards; }
@keyframes curtain-auto { to { transform: translateY(-100%); visibility: hidden; } }
.biz-detail { scroll-margin-top: 80px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: none) { .biz__media { opacity: .4; } }

/* 見出しの行が下から順に出る */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.is-in .reveal-line > span, .reveal-line.is-in > span, .is-ready .hero .reveal-line > span { transform: none; }
br.sp { display: none; }
.reveal-line:nth-child(2) > span { transition-delay: .12s; }
.reveal-line:nth-child(3) > span { transition-delay: .24s; }
.fade { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.is-in.fade, .is-in .fade { opacity: 1; transform: none; }

/* ヘッダー */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter); color: #fff;
}
.logo { font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: .14em; }
.nav { display: flex; gap: 36px; font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .2em; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: 600 14px var(--font-en); letter-spacing: .2em; cursor: pointer; padding: 8px 0; }

/* スマホのメニュー */
.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--base);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer a { font-family: var(--font-en); font-weight: 700; font-size: 52px; line-height: 1.15; text-transform: uppercase; }
.drawer a small { display: block; font: 500 12px var(--font-ja); letter-spacing: .2em; color: var(--muted); }
.drawer__close { position: absolute; top: 22px; right: var(--gutter); background: none; border: 0; color: #fff; font: 600 14px var(--font-en); letter-spacing: .2em; cursor: pointer; }

/* 最初の画面 */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero__kicker { font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .5em; color: var(--accent); margin: 0 0 28px; }
.hero__title { font-weight: 900; font-size: clamp(40px, 7vw, 104px); line-height: 1.25; letter-spacing: .02em; margin: 0; }
.hero__lead { margin: 36px 0 0; font-size: clamp(14px, 1.3vw, 17px); color: rgba(255,255,255,.78); }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 16px;
  font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .4em;
}
.hero__scroll i { position: relative; display: block; width: 1px; height: 56px; background: rgba(255,255,255,.2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--accent); animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }

/* 流れる大文字の帯 */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-en); font-weight: 700; font-size: clamp(40px, 6vw, 88px); line-height: 1; text-transform: uppercase; padding-right: .6em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.28); }
.marquee__track span:nth-child(even) { -webkit-text-stroke: 0; color: var(--accent); font-family: var(--font-serif); font-style: italic; font-weight: 500; text-transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 区画の共通 */
.section { padding: clamp(96px, 14vw, 200px) 0; position: relative; }
.section--light { background: var(--surface); color: var(--ink-on-light); }
.section--light .line-label { color: var(--ink-on-light); }
.label { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.label__no { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--accent); }
.label__en { font-family: var(--font-en); font-weight: 700; font-size: clamp(64px, 11vw, 168px); line-height: .85; text-transform: uppercase; }
.label__ja { font-size: 13px; letter-spacing: .3em; color: var(--muted); align-self: flex-end; padding-bottom: 10px; }
.label--stack { flex-wrap: wrap; }

.about__body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about__lead { font-weight: 900; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.7; margin: 0; }
.about__text p { margin: 0 0 1.2em; }
.more {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 24px;
  font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .3em;
}
.more i { position: relative; width: 56px; height: 56px; border: 1px solid currentColor; border-radius: 50%; overflow: hidden; }
.more i::before, .more i::after { content: "→"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; transition: transform .6s var(--ease); }
.more i::after { transform: translateX(-120%); }
.more:hover i::before { transform: translateX(120%); }
.more:hover i::after { transform: none; }
.more:hover i { background: var(--accent); border-color: var(--accent); color: var(--base); }

/* 事業の3枚：動画の上に重ねる */
.biz { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.biz__item { position: relative; display: grid; grid-template-columns: 120px 1fr 1.1fr; gap: 40px; align-items: center; padding: 56px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); background: var(--base); overflow: hidden; }
.biz__media { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.biz__media video { width: 100%; height: 100%; object-fit: cover; }
.biz__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--base) 10%, transparent 60%, var(--base)); }
.biz__item:hover .biz__media, .biz__item.is-active .biz__media { opacity: .55; }
.biz__item > *:not(.biz__media) { position: relative; }
.biz__no { font-family: var(--font-serif); font-style: italic; font-size: 40px; color: var(--accent); }
.biz__name .en { display: block; font-size: clamp(40px, 5vw, 72px); transition: transform .8s var(--ease); }
.biz__item:hover .biz__name .en { transform: translateX(12px); }
.biz__name small { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.biz__text { margin: 0; color: rgba(255,255,255,.82); }

.message { text-align: center; }
.message p { font-weight: 900; font-size: clamp(20px, 2.4vw, 32px); line-height: 2; margin: 0; }
.message .serif { display: block; font-size: clamp(64px, 9vw, 140px); line-height: 1; color: var(--accent); margin-bottom: 48px; }

.recruit { position: relative; overflow: hidden; }
.recruit__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.recruit .wrap { position: relative; }
.recruit__title { font-weight: 900; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.45; margin: 0 0 40px; }
.recruit__text { max-width: 640px; color: rgba(255,255,255,.82); }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 24px; margin-top: 40px; padding: 22px 40px;
  border: 1px solid var(--accent); font-weight: 900; letter-spacing: .2em; overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); z-index: -1; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--base); }

.company dl { display: grid; grid-template-columns: 200px 1fr; margin: 0; border-top: 1px solid rgba(0,0,0,.14); }
.company dt, .company dd { margin: 0; padding: 26px 0; border-bottom: 1px solid rgba(0,0,0,.14); }
.company dt { font-size: 14px; letter-spacing: .2em; color: var(--muted); }
.company__note { margin-top: 32px; font-size: 13px; line-height: 1.9; color: var(--muted); }

.contact { text-align: center; }
.contact__big { display: block; font-family: var(--font-en); font-weight: 700; font-size: clamp(80px, 16vw, 240px); line-height: .85; text-transform: uppercase; transition: color .6s var(--ease); }
.contact a:hover .contact__big { color: var(--accent); }
.contact__types { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.7); }

.footer { border-top: 1px solid var(--line); padding: 48px 0; font-size: 12px; letter-spacing: .15em; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer a:hover { color: #fff; }


@media (max-width: 860px) {
  body { font-size: 15px; }
  br.sp { display: inline; }
  .hero__title { font-size: min(8.4vw, 44px); }
  .nav { display: none; }
  .menu-btn { display: block; }
  .about__body { grid-template-columns: 1fr; gap: 32px; }
  .biz__item { grid-template-columns: 1fr; gap: 12px; padding-top: 40px; padding-bottom: 40px; }
  .biz__media { opacity: .4; }
  .company dl { grid-template-columns: 1fr; }
  .company dt { padding-bottom: 0; border-bottom: 0; }
  .company dd { padding-top: 6px; }
  .label { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-line > span, .fade { transform: none; opacity: 1; }
}

/* 下層ページ */
.page-hero { position: relative; height: 72svh; min-height: 480px; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .wrap { position: relative; width: 100%; padding-bottom: clamp(48px, 8vw, 96px); }
.page-hero .label__en { display: block; }
.page-hero .label__ja { display: block; margin-top: 20px; padding: 0; }
.crumb { font-family: var(--font-en); font-weight: 600; font-size: 12px; letter-spacing: .3em; color: var(--muted); margin-bottom: 24px; }
.crumb a:hover { color: #fff; }

.mission { text-align: center; }
.mission__en { font-family: var(--font-en); font-weight: 700; font-size: clamp(44px, 8vw, 120px); line-height: .95; text-transform: uppercase; margin: 0; }
.mission__ja { font-weight: 900; font-size: clamp(20px, 2.6vw, 34px); margin: 32px 0 0; color: var(--accent); }

.block { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.section--light .block { border-top-color: rgba(0,0,0,.14); }
.block__head h2 { font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.6; margin: 0; }
.block__head .en { display: block; font-size: 14px; letter-spacing: .3em; color: var(--accent); margin-bottom: 16px; font-weight: 600; }
.block__body p { margin: 0 0 1.2em; }
.block__body ul { list-style: none; margin: 24px 0 0; padding: 0; }
.block__body li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.section--light .block__body li { border-top-color: rgba(0,0,0,.14); }
.block__body li b { display: inline-block; min-width: 9em; color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: .15em; }
.for { padding: 20px 24px; border-left: 2px solid var(--accent); background: rgba(255,255,255,.04); font-size: 15px; }
.section--light .for { background: rgba(0,0,0,.035); }

.biz-detail { position: relative; overflow: hidden; }
.biz-detail video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.biz-detail .wrap { position: relative; }
.biz-detail__no { font-family: var(--font-serif); font-style: italic; font-size: 28px; color: var(--accent); }
.biz-detail__en { font-family: var(--font-en); font-weight: 700; font-size: clamp(56px, 10vw, 150px); line-height: .9; text-transform: uppercase; margin: 8px 0 12px; }
.biz-detail__ja { font-size: 13px; letter-spacing: .3em; color: var(--muted); }
.biz-detail__catch { font-weight: 900; font-size: clamp(22px, 3vw, 40px); line-height: 1.6; margin: 48px 0 32px; }
.biz-detail__body { max-width: 760px; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; border: 1px solid var(--line) !important; padding: 10px 16px !important; font-size: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; color: var(--accent); margin-right: 10px; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ways div { background: var(--base); padding: 40px 32px; }
.ways .en { font-size: 40px; color: var(--accent); display: block; margin-bottom: 8px; }
.ways h3 { margin: 0 0 12px; font-weight: 900; font-size: 22px; }
.ways p { margin: 0; font-size: 15px; color: rgba(255,255,255,.8); }
.job { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding: 48px 0; border-top: 1px solid rgba(0,0,0,.14); }
.job h3 { margin: 0; font-weight: 900; font-size: 24px; }
.job dl { margin: 0; display: grid; grid-template-columns: 8em 1fr; gap: 12px 24px; }
.job dt { color: var(--muted); font-size: 13px; letter-spacing: .15em; }
.job dd { margin: 0; }

.form { max-width: 760px; margin: 0 auto; }
.form fieldset { border: 0; margin: 0 0 40px; padding: 0; }
.form legend, .form label > span { display: block; font-size: 14px; letter-spacing: .15em; margin-bottom: 12px; }
.form .opt { color: var(--muted); font-size: 12px; margin-left: 8px; }
.form .req { color: var(--accent); font-size: 12px; margin-left: 8px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; }
.choices span { display: block !important; margin: 0 !important; padding: 18px 20px; border: 1px solid var(--line); transition: border-color .4s, background .4s; }
.choices input:checked + span { border-color: var(--accent); background: rgba(255,255,255,.05); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form label { display: block; margin-bottom: 32px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; padding: 16px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: #fff;
  font: 500 16px var(--font-ja); transition: border-color .4s;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.agree { display: flex !important; gap: 12px; align-items: center; font-size: 14px; }
.agree a { text-decoration: underline; }
.form .btn { margin-top: 8px; background: none; color: #fff; font-family: var(--font-ja); font-size: 16px; cursor: pointer; }
.thanks { display: none; text-align: center; font-weight: 900; font-size: 20px; line-height: 2; }
.is-sent .form { display: none; }
.is-sent .thanks { display: block; }

.legal { max-width: 760px; }
.legal h2 { font-weight: 900; font-size: 18px; margin: 48px 0 12px; }
.legal p, .legal li { font-size: 15px; }

@media (max-width: 860px) {
  .block, .job { grid-template-columns: 1fr; gap: 20px; }
  .ways { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .job dl { grid-template-columns: 1fr; gap: 4px; }
  .job dd { margin-bottom: 12px; }
}

.no-anim *, .no-anim *::before, .no-anim *::after { transition: none !important; }
.no-anim .curtain { display: none; }

/* 凝りの仕掛け（js/fx.js） */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.hero__particles { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.wipe { position: fixed; inset: 0; z-index: 120; background: var(--base); transform: translateY(100%); transition: transform .8s var(--ease); pointer-events: none; }
.wipe::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--accent); }
.wipe.is-on { transform: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--accent); }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; }
.cursor-ring::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--accent); border-radius: 50%; opacity: .6; transition: transform .5s var(--ease), background .5s var(--ease), opacity .4s; }
.cursor-ring.is-link::before { transform: scale(1.8); background: color-mix(in srgb, var(--accent) 18%, transparent); opacity: 1; }
.cursor-ring span { position: relative; font: 700 10px var(--font-en); letter-spacing: .2em; color: #fff; }
.cursor-ring.is-hidden { opacity: 0; }
.form-error { color: var(--accent); font-size: 14px; margin: 0 0 16px; }

/* 2026-11-02 点検の直し（見た目） */
body { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
h1, h2, h3, .about__lead, .message p, .recruit__title, .biz-detail__catch, .mission__ja { text-wrap: balance; font-feature-settings: "palt"; }
.label { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 14px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.label__ja { grid-column: 2; align-self: start; padding: 0; }
.section { padding: clamp(80px, 10vw, 150px) 0; }
.biz-detail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--base) 35%, color-mix(in srgb, var(--base) 55%, transparent)); pointer-events: none; }
.biz-detail video { opacity: .3; }
.contact__go { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 32px; border: 1px solid var(--accent); font-weight: 900; letter-spacing: .15em; font-size: 15px; transition: background .5s var(--ease), color .5s var(--ease); }
.contact a:hover .contact__go { background: var(--accent); color: var(--base); }
.contact__types a { display: inline-flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .4s; }
.contact__types a:hover { color: var(--accent); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { background: rgba(255,255,255,.045); padding: 16px 14px; border: 1px solid transparent; border-bottom-color: var(--line); }
.form label { margin-bottom: 24px; }
.form label > span { margin-bottom: 8px; }
.choices input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); color: #fff; }
.agree input { appearance: none; width: 20px; height: 20px; flex: none; border: 1px solid var(--accent); display: grid; place-items: center; margin: 0; cursor: pointer; }
.agree input:checked { background: var(--accent); }
.agree input:checked::after { content: "✓"; color: var(--base); font-size: 13px; font-weight: 900; }
.section--light .label__ja, .section--light dt, .company__note { color: #5d6068; }
.footer { color: rgba(255,255,255,.62); }
@media (max-width: 860px) {
  .hero__title { font-size: clamp(30px, 8.6vw, 44px); }
  .block__body li b { display: block; min-width: 0; margin-bottom: 2px; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; }
  .contact__types { flex-direction: column; align-items: center; gap: 4px; }
  .biz-detail::after { background: color-mix(in srgb, var(--base) 62%, transparent); }
}
.label .label__no { align-self: start; padding-top: .4em; }
.label .label__en { margin: 0; }

/* 事業ページ：暗くする層を動画の上・文字の下に置く（文字が隠れて暗く見えていた 2026-11-02） */
.biz-detail::after { z-index: 0; }
.biz-detail .wrap { z-index: 1; }

/* 2026-11-03 夜の仕上げ（点検24・25・26の直し） */
:root { --gold-on-light: #8A6A1C; --text-soft: rgba(255,255,255,.8); --edge: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); }
/* ヘッダー：左右の端を本文の端にそろえ、下へ進んだら地の色を敷く */
.header { padding: 22px var(--edge); transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.header.is-scrolled { padding-top: 14px; padding-bottom: 14px; background: color-mix(in srgb, var(--base) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav { align-items: center; }
.nav a { padding: 12px 0; }
.nav a::after { bottom: 6px; }
.nav a[href="/contact"] { padding: 10px 22px; border: 1px solid var(--accent); transition: background .4s var(--ease), color .4s var(--ease); }
.nav a[href="/contact"]::after { display: none; }
.nav a[href="/contact"]:hover { background: var(--accent); color: var(--base); }
.logo, .menu-btn, .drawer__close { min-height: 44px; display: inline-flex; align-items: center; }
.menu-btn { padding: 0 4px; }
.drawer__close { top: 14px; right: var(--edge); }
.drawer a { padding: 6px 0; }
.drawer::after { content: "TURN ATTENTION INTO ASSETS"; position: absolute; left: var(--gutter); bottom: 32px; font: 600 11px var(--font-en); letter-spacing: .4em; color: var(--accent); }

/* 読み進み具合の細い線 */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 55; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* 強調：一つの区画で一か所だけ金にする */
.em { font-style: normal; color: var(--accent); }
.section--light .em { color: var(--gold-on-light); }
.ul { text-decoration: underline; text-underline-offset: 4px; }

/* 最初の画面：左端をロゴにそろえ、文の後ろを少し暗くして読みやすく */
.hero__inner { max-width: none; padding-left: var(--edge); padding-right: var(--edge); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--base) 70%, transparent) 0%, transparent 65%); pointer-events: none; }
.hero__inner, .hero__scroll { z-index: 1; }
.hero__scroll { left: var(--edge); }
.hero__lead { color: var(--text-soft); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 44px; opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.is-ready .hero__cta { opacity: 1; transform: none; }
.hero__btn { display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 28px; border: 1px solid var(--accent); font-weight: 900; font-size: 15px; letter-spacing: .12em; transition: background .5s var(--ease), color .5s var(--ease); }
.hero__btn:hover { background: var(--accent); color: var(--base); }
.hero__link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; letter-spacing: .12em; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.hero__link:hover { color: #fff; border-bottom-color: #fff; }

/* 見出しの英字を一回り小さくし、最初の画面とCONTACTを主役に（点検25-5） */
.label__en { font-size: clamp(56px, 8.4vw, 124px); }
.label__ja { margin-top: 4px; }
.page-hero .label__ja { margin-top: 20px; }

/* 見出しの前に金の細線を引く */
.block__head .en::before, .biz-detail__ja::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .2s; }
.is-in .block__head .en::before, .block.is-in .en::before, .biz-detail .is-in ~ .biz-detail__ja::before, .biz-detail__ja::before { transform: scaleX(1); }

/* 事業の3枚：動画をうっすら常に見せ、乗ったら明るく。右に矢印 */
.biz__media { opacity: .22; }
.biz__item:hover .biz__media { opacity: .6; }
.biz__item::after { content: "→"; position: absolute; right: var(--edge); top: 50%; transform: translate(-8px, -50%); opacity: .4; font-size: 22px; color: var(--accent); transition: transform .6s var(--ease), opacity .6s; }
.biz__item:hover::after { transform: translate(0, -50%); opacity: 1; }
.biz__text { color: var(--text-soft); padding-right: 40px; }
#business { padding-bottom: 0; }

/* 事業ページ：動画を少し見せる */
.biz-detail video { opacity: .42; }

/* 白い区画：純白をやめ、薄い金のにじみを少し */
:root { --surface: #F5F3EE; }
.section--light .label__no, .section--light .block__head .en, .section--light .biz-detail__no { color: var(--gold-on-light); }
.section--light .block__body li b, .section--light .job dt { color: #5d6068; }
.section--light + .section:not(.section--light)::before, .section:not(.section--light) + .section--light::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7; }

/* 黒地の本文の白をそろえる */
.recruit__text, .ways p, .biz-detail__body, .about__text, .block__body { color: var(--text-soft); }
.section--light .block__body, .section--light .about__text { color: inherit; }

/* 粒状の質感をうっすら */
body::after { content: ""; position: fixed; inset: -50%; z-index: 140; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* 押せる所は44px以上 */
.contact__types a { min-height: 44px; align-items: center; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.crumb a { display: inline-block; padding: 10px 0; }
.crumb { text-transform: uppercase; margin-bottom: 8px; }

/* ボタンの小さい版・並び */
.cta-row { margin-top: 32px; }
.btn--sm { margin-top: 0; padding: 16px 28px; font-size: 15px; }
.section--light .btn { color: var(--ink-on-light); border-color: var(--gold-on-light); }
.section--light .btn::before { background: var(--gold-on-light); }
.section--light .btn:hover { color: #fff; }

/* お問い合わせ */
.form-lead { max-width: 760px; margin: 0 auto 48px; color: var(--text-soft); font-size: 15px; }
.form .btn { min-height: 56px; }
.choices span { min-height: 56px; display: flex !important; align-items: center; }

/* プライバシーポリシーの箇条 */
.legal ul { margin: 0 0 1em; padding-left: 1.4em; }
.legal li { margin: .3em 0; color: var(--text-soft); }
.legal p { color: var(--text-soft); }
.legal a { text-decoration: underline; text-underline-offset: 4px; }
.legal .btn { text-decoration: none; }

/* カーソル：最初は隠す。輪の追従は控えめ */
.cursor-dot.is-hidden, .cursor-ring.is-hidden { opacity: 0; }
.cursor-dot { transition: opacity .3s; }

/* ページ移動の幕を短く */
.wipe { transition-duration: .45s; }

@media (max-width: 860px) {
  .header { padding: 12px var(--gutter); }
  .header.is-scrolled { padding-top: 8px; padding-bottom: 8px; }
  .hero__inner { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero__scroll { left: var(--gutter); }
  .hero__title { font-size: clamp(34px, 10.4vw, 48px); }
  .hero__cta { margin-top: 32px; }
  .hero::before { background: linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--base) 55%, transparent) 70%); }
  .biz__item::after { right: var(--gutter); top: 44px; transform: none; }
  .biz__item:hover::after { transform: none; }
  .biz__text { padding-right: 0; }
  .biz__media { opacity: .35; }
  .drawer__close { right: var(--gutter); }
  .label__en { font-size: clamp(52px, 15vw, 88px); }
  .about__lead { font-size: clamp(24px, 6.6vw, 30px); }
  .form-lead br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cta { opacity: 1; transform: none; }
}
.job dl { grid-template-columns: 9.5em 1fr; }
@media (max-width: 860px) { .job dl { grid-template-columns: 1fr; } }
.menu-btn { display: none; }
@media (max-width: 860px) { .menu-btn { display: inline-flex; } }
.footer .wrap { align-items: center; }
