@charset "UTF-8";
/* =========================================================
   株式会社OPUS コーポレートサイト
   ========================================================= */

:root {
  --navy: #0f2745;
  --navy-2: #1a3a63;
  --accent: #1f74d6;
  --accent-soft: #e8f1fc;
  --ink: #1b2430;
  --ink-2: #4a5563;
  --ink-3: #7b8594;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --radius: 4px;
  --header-h: 80px;
  --container: 1160px;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Jost", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* 日本語の見出し・リード文は文節で折り返す（対応ブラウザのみ） */
h1, h2, h3, h4, .heading__lead, .hero__lead, .biz__lead, .job-detail__catch { word-break: auto-phrase; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 880px); margin-inline: auto; }
.sp-only { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: box-shadow .3s var(--ease);
}
/* backdrop-filter をヘッダー本体に付けると、SPメニュー（position: fixed）の基準がヘッダーになり
   メニューが開かなくなるため、背景とぼかしは疑似要素に持たせる */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding-inline: 32px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 44px; height: 44px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__en { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 26px; letter-spacing: .12em; color: var(--ink); }
.logo__ja { font-size: 10px; letter-spacing: .2em; color: var(--ink-3); }

.gnav { display: flex; align-items: center; gap: 36px; }
.gnav__list { display: flex; gap: 32px; }
.gnav__list a { position: relative; display: block; font-size: 14px; font-weight: 500; padding: 8px 0; }
.gnav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px;
  background: var(--navy); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.gnav__list a:hover::after, .gnav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav__cta {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 26px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; border-radius: var(--radius);
  transition: background .3s var(--ease);
}
.gnav__cta:hover { background: var(--accent); }
.gnav__cta svg { width: 16px; height: 16px; }

.menu-btn { display: none; width: 48px; height: 48px; position: relative; }
.menu-btn span { position: absolute; left: 12px; width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 29px; }
.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main { padding-top: var(--header-h); }

/* ---------- Common parts ---------- */
.section { padding: 120px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 80px 0; }

.heading { margin-bottom: 56px; }
.heading__en {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 14px; font-weight: 500; letter-spacing: .2em; color: var(--accent);
  text-transform: uppercase;
}
.heading__en::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.heading__ja { margin-top: 12px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; line-height: 1.5; letter-spacing: .06em; }
.heading__lead { margin-top: 20px; color: var(--ink-2); }
.heading--center { text-align: center; }
.heading--center .heading__en { justify-content: center; }
.heading--center .heading__lead { margin-inline: auto; }
.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.heading-row .heading { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-width: 240px; height: 60px; padding: 0 24px 0 32px;
  border: 1px solid var(--navy); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; color: var(--navy); background: #fff;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--navy); color: #fff; }
.btn--fill { background: var(--navy); color: #fff; }
.btn--fill:hover { background: var(--accent); border-color: var(--accent); }
.btn--white { border-color: #fff; background: transparent; color: #fff; }
.btn--white:hover { background: #fff; color: var(--navy); }
.arrow { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; flex-shrink: 0; transition: transform .3s var(--ease); }
.arrow::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translate(-65%, -50%) rotate(45deg);
}
a:hover > .arrow, a:hover .arrow { transform: translateX(4px); }
.link-more { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; }

.tag {
  display: inline-block; padding: 2px 10px; font-size: 12px; font-weight: 500; line-height: 1.8;
  color: var(--accent); background: var(--accent-soft); border-radius: 2px; letter-spacing: .06em;
}

/* ---------- Hero (top) ---------- */
.hero { position: relative; overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 48px;
  min-height: calc(100svh - var(--header-h)); max-height: 880px;
  padding: 40px 0 80px 6vw;
}
.hero__en { font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; color: var(--accent); text-transform: uppercase; }
.hero__copy {
  margin-top: 24px; font-size: clamp(30px, 3.5vw, 52px); font-weight: 700; line-height: 1.5; letter-spacing: .06em;
}
.hero__copy span { display: block; }
.hero__lead { margin-top: 32px; font-size: 16px; color: var(--ink-2); }
.hero__actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__visual { position: relative; align-self: stretch; margin-block: -40px -80px; overflow: hidden; }
/* 写真3枚を6秒ずつ自動で切り替える（フェード＋ゆっくりズーム）。
   枚数を変えたら、周期（18s）と各写真の animation-delay を「枚数×6s」に合わせて直す。
   1枚目は読み込み直後から表示しておくため、全体をフェード時間（0.9s）ぶん前倒ししている */
.hero__photo { position: absolute; inset: 0; overflow: hidden; opacity: 0; animation: heroFade 18s linear infinite both; animation-delay: -0.9s; }
.hero__photo:nth-child(2) { animation-delay: 5.1s; }
.hero__photo:nth-child(3) { animation-delay: 11.1s; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; animation: heroZoom 18s linear infinite both; animation-delay: inherit; }
@keyframes heroFade {
  0% { opacity: 0; }
  5% { opacity: 1; }       /* 0.9秒かけて表示 */
  38.3% { opacity: 1; }    /* 次の写真が重なり終わるまで表示したまま */
  41.7%, 100% { opacity: 0; }
}
@keyframes heroZoom {
  0% { transform: scale(1.1); }
  41.7%, 100% { transform: scale(1); }
}
.hero__scroll {
  position: absolute; left: 32px; bottom: 32px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: var(--ink-3);
  writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--ink-3) 50%, transparent 50%); background-size: 1px 200%; animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* ---------- News (top strip & list) ---------- */
.news-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-strip__inner { display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 32px; padding: 28px 0; }
.news-strip__title { font-family: var(--font-en); font-size: 20px; font-weight: 500; letter-spacing: .12em; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list a, .news-list .news-list__row { display: grid; grid-template-columns: 120px 120px 1fr 28px; align-items: center; gap: 24px; padding: 28px 8px; transition: background .3s; }
.news-list a:hover { background: var(--bg-soft); }
.news-list time { font-family: var(--font-en); font-size: 15px; color: var(--ink-3); letter-spacing: .08em; }
.news-list__title { font-size: 15px; }
.news-list--compact li, .news-list--compact li:first-child { border: 0; }
.news-list--compact a { grid-template-columns: 110px 110px 1fr; padding: 4px 0; gap: 16px; }
.news-list--compact a:hover { background: none; color: var(--accent); }

/* ---------- About (top) ---------- */
.about-top { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-top__text p + p { margin-top: 1.4em; }
.about-top__text p { color: var(--ink-2); }
.about-top__catch { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.7; margin-bottom: 32px; color: var(--ink) !important; }
.about-top__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: var(--bg-soft); border-radius: var(--radius); }
.about-top__visual img { width: 46%; opacity: .92; }
.about-top__visual figcaption { position: absolute; bottom: 24px; font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; color: var(--ink-3); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.service-card:hover { box-shadow: 0 16px 40px rgba(15, 39, 69, .08); transform: translateY(-4px); }
.service-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.04); }
.service-card__body { flex: 1; display: flex; flex-direction: column; padding: 32px 32px 28px; }
.service-card__num { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; color: var(--accent); }
.service-card__title { margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.6; }
.service-card__text { margin-top: 12px; font-size: 15px; color: var(--ink-2); flex: 1; }
.service-card .link-more { margin-top: 24px; }

/* Field list */
.fields { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fields__col { padding: 40px 36px; }
.fields__col + .fields__col { border-left: 1px solid var(--line); }
.fields__label { font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: .1em; }
.fields__title { margin-top: 4px; font-size: 18px; font-weight: 700; }
.fields ul { margin-top: 20px; display: grid; gap: 10px; }
.fields li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.fields li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.fields li small { display: inline-block; margin-left: 6px; font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); padding: 0 6px; border-radius: 2px; line-height: 1.7; vertical-align: 1px; }
.fields__head { grid-column: 1 / -1; padding: 28px 36px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.fields__head h3 { font-size: 18px; }
.fields__head p { font-size: 14px; color: var(--ink-3); }

/* ---------- Strength ---------- */
.strength-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.strength { padding: 8px 40px 8px 0; }
.strength + .strength { padding-left: 40px; border-left: 1px solid var(--line); }
.strength__num { font-family: var(--font-en); font-size: 56px; font-weight: 300; line-height: 1; color: var(--navy); }
.strength__num small { font-size: 13px; letter-spacing: .2em; margin-left: 8px; color: var(--accent); font-weight: 500; }
.strength__title { margin-top: 24px; font-size: 20px; font-weight: 700; line-height: 1.6; }
.strength__text { margin-top: 14px; font-size: 15px; color: var(--ink-2); }

/* ---------- Works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.work-card { display: block; }
.work-card__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.work-card:hover .work-card__img img, .work-card:hover .work-card__img img { transform: scale(1.04); }
.work-card__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.work-card__title { margin-top: 10px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.work-card__text { margin-top: 6px; font-size: 14px; color: var(--ink-3); }

/* Works detail blocks */
.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; padding: 80px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.case__gallery figure { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--bg-soft); }
.case__gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.case__gallery img { width: 100%; height: 100%; object-fit: cover; }
.case__gallery .is-portrait img { object-position: center 30%; }
.case__gallery--stack { grid-template-columns: 1fr; }
.case__gallery--stack figure { aspect-ratio: 16 / 10; }
.case__label { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; color: var(--accent); }
.case__title { margin-top: 8px; font-size: 26px; font-weight: 700; line-height: 1.5; }
.case__text { margin-top: 20px; color: var(--ink-2); }
.case__spec { margin-top: 32px; border-top: 1px solid var(--line); }
.case__spec div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.case__spec dt { font-weight: 500; }
.case__spec dd { color: var(--ink-2); }

/* ---------- Recruit banner ---------- */
.recruit-banner { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: var(--radius); }
.recruit-banner__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; padding: 80px; }
.recruit-banner .heading__en { color: #8fb8ec; }
.recruit-banner .heading__lead { color: rgba(255,255,255,.8); }
.recruit-banner__deco {
  position: absolute; right: -80px; top: 50%; width: 520px; transform: translateY(-50%);
  opacity: .07; filter: invert(1); mix-blend-mode: screen; pointer-events: none;
}
.recruit-banner__word { position: absolute; left: 60px; bottom: -28px; font-family: var(--font-en); font-size: 160px; font-weight: 600; line-height: 1; color: rgba(255,255,255,.04); letter-spacing: .04em; pointer-events: none; }

/* ---------- Contact CTA ---------- */
.cta { background: var(--bg-soft); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cta__item { padding: 56px 48px; text-align: center; }
.cta__item + .cta__item { border-left: 1px solid var(--line); }
.cta__label { font-size: 15px; font-weight: 700; }
.cta__tel { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-family: var(--font-en); font-size: 36px; font-weight: 500; letter-spacing: .06em; color: var(--navy); line-height: 1.3; }
.cta__tel svg { width: 26px; height: 26px; }
.cta__note { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.cta__item .btn { margin-top: 20px; }

/* ---------- Page header (lower pages) ---------- */
.page-head { position: relative; padding: 96px 0 72px; background: var(--bg-soft); overflow: hidden; }
.page-head__en { font-family: var(--font-en); font-size: clamp(44px, 6vw, 80px); font-weight: 500; line-height: 1.1; letter-spacing: .04em; color: var(--navy); }
.page-head__ja { margin-top: 16px; font-size: 16px; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.page-head__ja::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.page-head__deco { position: absolute; right: 4vw; top: 50%; width: 300px; transform: translateY(-50%); opacity: .05; pointer-events: none; }
.breadcrumb { padding: 18px 0; font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a:hover { color: var(--accent); }

/* Local nav (anchor) */
.local-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 80px; }
.local-nav a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: border-color .3s, color .3s; }
.local-nav a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.local-nav a:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- About page ---------- */
.message { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.message__catch { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; line-height: 1.7; }
.message__body p { color: var(--ink-2); }
.message__body p + p { margin-top: 1.5em; }
.message__sign { margin-top: 40px; text-align: right; font-size: 14px; color: var(--ink-2); }
.message__sign strong { display: block; margin-top: 4px; font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: .2em; }

.philosophy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.philosophy li { position: relative; padding: 40px 28px; text-align: center; }
.philosophy li + li { border-left: 1px solid var(--line); }
.philosophy li::before { counter-increment: p; content: "0" counter(p); display: block; font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; color: var(--accent); }
.philosophy strong { display: block; margin-top: 8px; font-size: 18px; }
.philosophy span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-3); line-height: 1.7; }
.philosophy-note { margin-top: 32px; text-align: center; color: var(--ink-2); }

.table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--navy); }
.table th, .table td { padding: 26px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.table th { width: 220px; font-weight: 500; background: var(--bg-soft); }
.table td ul li + li { margin-top: 4px; }
.map { margin-top: 48px; aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; color: var(--ink-2); }

/* ---------- Service page ---------- */
.biz { padding: 96px 0; border-top: 1px solid var(--line); }
.biz:first-of-type { border-top: 0; padding-top: 0; }
.biz__head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.biz__num { font-family: var(--font-en); font-size: 80px; font-weight: 300; line-height: 1; color: var(--line); }
.biz__title { margin-top: 12px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.5; }
.biz__en { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; color: var(--accent); text-transform: uppercase; }
.biz__lead { color: var(--ink-2); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.menu-grid--2 { grid-template-columns: repeat(2, 1fr); }
.menu-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.menu-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.menu-card__img img { width: 100%; height: 100%; object-fit: cover; }
.menu-card__body { padding: 28px; flex: 1; }
.menu-card__cat { font-size: 12px; font-weight: 500; color: var(--accent); letter-spacing: .1em; }
.menu-card__title { margin-top: 4px; font-size: 18px; font-weight: 700; line-height: 1.6; }
.menu-card__text { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.menu-card__badge { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 500; color: var(--ink-3); border: 1px solid var(--line); padding: 0 8px; border-radius: 2px; vertical-align: 3px; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: f; }
.flow li { position: relative; padding: 32px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.flow li::before { counter-increment: f; content: "STEP 0" counter(f); display: block; font-family: var(--font-en); font-size: 12px; letter-spacing: .15em; color: var(--accent); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow strong { display: block; margin-top: 8px; font-size: 16px; }
.flow span { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-3); line-height: 1.7; text-align: left; }

/* ---------- Recruit page ---------- */
.recruit-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.recruit-intro__catch { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.6; }
.recruit-intro__text p { color: var(--ink-2); }
.recruit-intro__text p + p { margin-top: 1.4em; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 40px 32px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.value__en { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; color: var(--accent); }
.value__title { margin-top: 8px; font-size: 19px; font-weight: 700; }
.value__text { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.job-cards { display: grid; gap: 16px; }
.job-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 40px; padding: 32px 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.job-card:hover { border-color: var(--navy); box-shadow: 0 12px 32px rgba(15, 39, 69, .06); }
.job-card__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.job-card__title { font-size: 20px; font-weight: 700; line-height: 1.5; }
.job-card__spec { display: grid; gap: 6px; font-size: 14px; }
.job-card__spec div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; }
.job-card__spec dt { color: var(--ink-3); }
.job-card__spec dd { color: var(--ink-2); }
.job-card .link-more { align-self: end; }

.job-detail__head { padding-bottom: 40px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.job-detail__title { margin-top: 16px; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; line-height: 1.5; }
.job-detail__catch { margin-top: 16px; color: var(--ink-2); }
.job-detail__sub { margin-bottom: 24px; font-size: 20px; font-weight: 700; }
.job-detail__apply { margin-top: 56px; padding: 48px 32px; text-align: center; background: var(--bg-soft); border-radius: var(--radius); }
.job-detail__apply p { margin-bottom: 24px; font-size: 14px; color: var(--ink-2); }
.job-others { display: grid; gap: 12px; }
.job-others a { display: flex; align-items: center; gap: 16px; padding: 22px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; transition: border-color .3s; }
.job-others a:hover { border-color: var(--navy); }
.job-others .arrow { margin-left: auto; color: var(--navy); }

/* ---------- Forms ---------- */
.form { border-top: 1px solid var(--navy); }
.form__row { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.form__label { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 15px; font-weight: 500; }
.req, .opt { flex-shrink: 0; padding: 0 8px; font-size: 11px; line-height: 22px; border-radius: 2px; }
.req { background: #c9302c; color: #fff; }
.opt { background: var(--bg-soft); color: var(--ink-3); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-soft); border: 1px solid transparent; border-radius: var(--radius); transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form textarea { min-height: 220px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.choices { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.choices input { width: 18px; height: 18px; accent-color: var(--navy); }
.form__error { display: none; margin-top: 8px; font-size: 13px; color: #c9302c; }
.is-invalid .form__error { display: block; }
.is-invalid input, .is-invalid textarea, .is-invalid select { border-color: #c9302c !important; background: #fff6f6 !important; }
.form__agree { margin-top: 48px; text-align: center; font-size: 15px; }
.form__agree a { color: var(--accent); text-decoration: underline; }
.form__agree label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.form__agree input { width: 18px; height: 18px; accent-color: var(--navy); }
.form__submit { margin-top: 40px; text-align: center; }
.form__submit .btn { min-width: 320px; }
.form__submit .btn:disabled { opacity: .4; cursor: not-allowed; }
.form__alert { margin-bottom: 24px; padding: 16px 20px; border-radius: var(--radius);
  background: #fdf2f2; border: 1px solid #e9b9b7; color: #99231f; font-size: 14px; line-height: 1.8; }
.form__alert ul { margin-top: 6px; }
.form__alert li::before { content: "・"; }
.form__done { display: none; padding: 64px 32px; text-align: center; background: var(--bg-soft); border-radius: var(--radius); }
.form__done h3 { font-size: 22px; }
.form__done p { margin-top: 16px; color: var(--ink-2); }
.form.is-sent { display: none; }
.form.is-sent + .form__done { display: block; }

.contact-tel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 40px 48px; background: var(--bg-soft); border-radius: var(--radius); margin-bottom: 80px; }
.contact-tel__label { font-weight: 700; }
.contact-tel__note { font-size: 14px; color: var(--ink-3); }

/* ---------- Article ---------- */
.article__meta { display: flex; align-items: center; gap: 16px; }
.article__meta time { font-family: var(--font-en); color: var(--ink-3); }
.article__title { margin-top: 16px; font-size: clamp(24px, 3vw, 32px); line-height: 1.6; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.article__body { padding: 48px 0 64px; }
.article__body p + p { margin-top: 1.6em; }
.article__body h2 { margin: 48px 0 16px; font-size: 22px; padding-left: 16px; border-left: 3px solid var(--navy); line-height: 1.5; }
.article__foot { padding-top: 40px; border-top: 1px solid var(--line); text-align: center; }

.prose h2 { margin: 56px 0 16px; font-size: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 15px; }
.prose ul { margin-top: 12px; }
.prose li { position: relative; padding-left: 1.2em; }
.prose li::before { content: "・"; position: absolute; left: 0; }
.prose .sign { margin-top: 56px; text-align: right; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; }
.footer__top { display: grid; grid-template-columns: 1fr auto; gap: 64px; padding: 88px 0 64px; }
.footer__logo { display: flex; align-items: center; gap: 14px; }
.footer__logo img { width: 52px; filter: invert(1); mix-blend-mode: screen; }
.footer__logo .logo__en { color: #fff; font-size: 28px; }
.footer__logo .logo__ja { color: rgba(255,255,255,.6); }
.footer__address { margin-top: 28px; font-size: 14px; line-height: 2; color: rgba(255,255,255,.75); font-style: normal; }
.footer__sns { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); }
.footer__sns svg { width: 20px; height: 20px; }
.footer__sns:hover { color: #fff; }
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 64px; align-content: start; }
.footer__nav a { font-size: 14px; color: rgba(255,255,255,.85); transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.55); }
.footer__bottom a:hover { color: #fff; }
.pagetop { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.pagetop.is-show { opacity: 1; visibility: visible; }
.pagetop::after { content: ""; position: absolute; top: 54%; left: 50%; width: 10px; height: 10px; border-top: 1.5px solid var(--navy); border-left: 1.5px solid var(--navy); transform: translate(-50%, -50%) rotate(45deg); }

/* ---------- Reveal animation (控えめ) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.2s; }
.js .hero .reveal:nth-child(2) { transition-delay: .15s; }
.js .hero .reveal:nth-child(3) { transition-delay: .3s; }
.js .hero .reveal:nth-child(4) { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
  .hero__photo, .hero__photo img { animation: none; }
  .hero__photo:first-child { opacity: 1; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .gnav__list { gap: 22px; }
  .gnav { gap: 24px; }
  .header__inner { padding-inline: 20px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .logo img { width: 36px; height: 36px; }
  .logo__en { font-size: 22px; }
  .menu-btn { display: block; z-index: 2; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 20px 40px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, visibility .3s, transform .3s var(--ease);
  }
  .is-menu-open .gnav { opacity: 1; visibility: visible; transform: none; }
  .is-menu-open { overflow: hidden; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { padding: 18px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .gnav__list a::after { display: none; }
  .gnav__cta { margin-top: 32px; height: 60px; justify-content: center; font-size: 16px; }

  .section { padding: 80px 0; }
  .section--tight { padding: 56px 0; }
  .heading { margin-bottom: 40px; }
  .heading-row { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }

  .hero__inner { grid-template-columns: 1fr; min-height: 0; max-height: none; padding: 40px 20px 64px; gap: 40px; }
  .hero__visual { height: 64vw; max-height: 480px; order: -1; margin: -40px -20px 0; }
  .hero__lead { font-size: 15px; }
  .hero__actions { margin-top: 36px; }
  .hero__scroll { display: none; }

  .news-strip__inner { grid-template-columns: 1fr auto; gap: 16px; padding: 24px 0; }
  .news-strip__inner .news-list { grid-column: 1 / -1; grid-row: 2; }
  .news-list a, .news-list .news-list__row { grid-template-columns: auto 1fr 28px; gap: 8px 16px; padding: 20px 4px; }
  .news-list .news-list__title { grid-column: 1 / 3; }
  .news-list .arrow { grid-column: 3; grid-row: 1 / 3; }
  .news-list--compact a { grid-template-columns: auto 1fr; padding: 8px 0; }
  .news-list--compact .news-list__title { grid-column: 1 / -1; }

  .about-top, .message, .recruit-intro, .biz__head { grid-template-columns: 1fr; gap: 40px; }
  .about-top__visual { aspect-ratio: 16 / 10; }
  .about-top__visual img { width: 30%; }

  .service-grid, .works-grid, .values, .menu-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .fields { grid-template-columns: 1fr; }
  .fields__col + .fields__col { border-left: 0; border-top: 1px solid var(--line); }
  .strength-list { grid-template-columns: 1fr; gap: 40px; }
  .strength, .strength + .strength { padding: 0; border-left: 0; }
  .strength + .strength { padding-top: 40px; border-top: 1px solid var(--line); }

  .case { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .recruit-banner__inner { grid-template-columns: 1fr; padding: 56px 32px; gap: 32px; }
  .recruit-banner__word { font-size: 96px; left: 20px; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__item + .cta__item { border-left: 0; border-top: 1px solid var(--line); }
  .cta__item { padding: 40px 24px; }
  .philosophy { grid-template-columns: 1fr 1fr; }
  .philosophy li:nth-child(3) { border-left: 0; }
  .philosophy li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow li { display: grid; grid-template-columns: 90px 1fr; text-align: left; padding: 20px; column-gap: 12px; }
  .flow li::before { grid-row: 1 / 3; align-self: center; }
  .flow strong { margin-top: 0; }
  .flow span { margin-top: 4px; }
  .flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -10px; transform: translateX(-50%) rotate(135deg); }
  .page-head { padding: 56px 0 44px; }
  .page-head__deco { width: 180px; right: -20px; }
  .biz { padding: 64px 0; }
  .biz__num { font-size: 56px; }
  .contact-tel { grid-template-columns: 1fr; padding: 32px 24px; gap: 16px; text-align: center; margin-bottom: 56px; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 48px; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container, .container--narrow { width: min(100% - 32px, var(--container)); }
  .hero__inner { padding-inline: 16px; }
  .hero__visual { margin-inline: -16px; }
  .hero__copy { font-size: clamp(22px, 7vw, 28px); }
  .hero__actions .btn { width: 100%; }
  .btn { min-width: 0; width: 100%; max-width: 360px; }
  .service-grid, .works-grid, .values, .menu-grid, .menu-grid--2 { grid-template-columns: 1fr; }
  .service-card__body { padding: 24px; }
  .fields__col, .fields__head { padding: 28px 24px; }
  .case__title { font-size: 22px; }
  .case__spec div { grid-template-columns: 96px 1fr; }
  .table th, .table td { display: block; width: 100%; padding: 14px 16px; }
  .table th { padding-bottom: 10px; }
  .table td { padding-top: 12px; padding-bottom: 20px; }
  .job-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .job-card__title { font-size: 18px; }
  .job-card__spec div { grid-template-columns: 1fr; gap: 0; }
  .job-others a { flex-wrap: wrap; padding: 18px 20px; gap: 8px 12px; }
  .job-detail__apply { padding: 36px 20px; }
  .map { aspect-ratio: 4 / 3; }
  .form__row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .form__label { padding-top: 0; justify-content: flex-start; }
  .form__submit .btn { min-width: 0; width: 100%; }
  .cta__tel { font-size: 28px; }
  .philosophy { grid-template-columns: 1fr; }
  .philosophy li + li { border-left: 0; border-top: 1px solid var(--line); }
  .recruit-banner__inner { padding: 48px 24px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .pagetop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
.case__meta { margin-top: 16px; }
