/* ===== Fio Inc. Recruit Site ===== */
:root {
  --ink: #231815;
  --ink-soft: #3a322e;
  --paper: #ffffff;
  --paper-dim: #f1f2f2;
  --line: #e2e3e3;
  --accent: #8a8b8b;
  --accent-soft: #d4d5d5;
  --gray: #737471;
  --white: #ffffff;
  --radius: 2px;
  --maxw: 1180px;
  --serif: "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: 0.01em; }

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.4;
  margin-bottom: 8px;
}
.section-sub {
  color: var(--gray);
  font-size: 14.5px;
  max-width: 620px;
  margin-bottom: 48px;
}
.section-head { margin-bottom: 8px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

section { position: relative; }
.pad { padding: 108px 0; }
.pad-sm { padding: 72px 0; }

.dark { background: #eceded; color: var(--ink); }
.dark .gray { color: var(--gray); }
.dim { background: var(--paper-dim); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo .logo-mark { height: 30px; width: auto; display: block; }
.logo span { color: var(--accent); font-style: italic; }
.footer-grid .logo .logo-mark { height: 36px; }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 13.5px;
  letter-spacing: 0.03em;
}
.nav-links a { position: relative; padding: 4px 0; color: var(--ink-soft); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--accent);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--ink);
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; }
.mobile-nav { display: none; }

/* ---------- Hero (brand photo + lockup, like fio-inc.com) ---------- */
.hero {
  height: 74svh;
  min-height: 460px;
  background: var(--paper) url("assets/hero.jpg") center 0% / 115% no-repeat;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
#silk { display: none; }
.hero-lockup {
  position: absolute;
  left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lockup-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lockup-text {
  writing-mode: vertical-rl;
  font-size: 13px;
  letter-spacing: 0.22em;
  line-height: 1.9;
  color: var(--ink);
}
.lockup-line { width: 1px; height: 54px; background: var(--ink); opacity: .6; }
.lockup-since {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
}
.lockup-sig { width: clamp(180px, 17vw, 280px); height: auto; margin-top: 30px; }

/* nav row on the hero photo bottom (like fio-inc.com) */
.hero-nav {
  position: absolute;
  left: 0; right: 0;
  bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 36px;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  z-index: 5;
}
.hero-nav a { position: relative; padding: 4px 0; color: var(--ink-soft); }
.hero-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--ink);
  transition: width .25s ease;
}
.hero-nav a:hover::after { width: 100%; }
@media (max-width: 980px) { .hero-nav { display: none; } }

/* on pages with a hero, the header nav appears only after scrolling past the photo */
@media (min-width: 981px) {
  .site-header .nav-links { opacity: 0; pointer-events: none; transition: opacity .35s ease; }
  .site-header.past-hero .nav-links { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero intro (copy below the photo) ---------- */
.hero-intro { background: var(--paper); }
.hero-intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero-intro-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 20px;
}
.hiv-word {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(48px, 6vw, 100px);
  line-height: 1;
  color: var(--paper-dim);
  -webkit-text-stroke: 1px var(--accent-soft);
  user-select: none;
}
.hiv-line { width: 56px; height: 1px; background: var(--accent); }
.hiv-caption { font-size: 12px; letter-spacing: 0.08em; color: var(--gray); line-height: 1.7; }
@media (max-width: 980px) {
  .hero-intro-grid { grid-template-columns: 1fr; }
  .hero-intro-visual { display: none; }
}
.hero-kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gray);
  letter-spacing: 0.1em;
  font-size: 14px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.35;
  margin-bottom: 26px;
}
.hero-title .ml { display: block; overflow: hidden; }
.hero-title .mli {
  display: block;
  transform: translateY(112%);
  animation: mlRise .95s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .ml:nth-child(2) .mli { animation-delay: .12s; }
.hero-title .ml:nth-child(3) .mli { animation-delay: .24s; }
.hero-title .mli.accent { font-style: italic; color: var(--gray); }
@keyframes mlRise { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-title .mli { animation: none; transform: none; }
}
.hero-intro p.lead {
  color: var(--gray);
  max-width: 480px;
  font-size: 15px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  border: 1px solid currentColor;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-primary:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn-ghost { color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.hero-intro .btn-ghost { color: var(--ink); }
.hero-intro .btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-dark { color: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--paper); }
.dark .btn-primary { background: var(--ink); border-color: var(--ink); color: var(--white); }
.dark .btn-primary:hover { background: transparent; color: var(--ink); }
.dark .btn-ghost { color: var(--ink); }
.dark .btn-ghost:hover { background: var(--ink); color: var(--white); }.scroll-cue {
  position: absolute;
  right: 32px; bottom: 28px;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #9a9b9a;
  display: flex; align-items: center; gap: 10px;
}
.scroll-cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(#9a9b9a, transparent); }

/* ---------- Placeholder media blocks ---------- */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, #e9eaea 0%, #f6f6f6 55%, #e9eaea 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--gray);
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,0.03) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.03) 75%),
    linear-gradient(45deg, rgba(0,0,0,0.03) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.03) 75%);
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
}
.ph-label {
  position: relative;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.ph-label .ico { font-size: 22px; display: block; margin-bottom: 8px; opacity: 0.7; }
.ph-dark { background: linear-gradient(135deg, #1c1c21, #2a2a30); color: #9d9a93; border-color: #34343a; }
.ph-photo { background: none; padding: 0; }
.ph-photo::before { display: none; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Auto-loaded photos: img[data-folder] silently checks assets/<folder>/ for any image file.
   Stays hidden until one loads, then the placeholder pattern/label disappear. */
.ph img[data-folder] { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-photo { background: none; }
.ph.has-photo::before { display: none; }
.ph.has-photo img[data-folder] { display: block; }
.ph.has-photo .ph-label { display: none; }
.ph-dark::before { background-image:
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.03) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.03) 75%); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 90px;
}
.about-media .ph { height: 460px; border-radius: var(--radius); }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.about-copy .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.7;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 22px;
  margin: 26px 0;
}.biz-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-bottom: 70px; }
.biz-list .biz { background: var(--paper); padding: 30px 26px; }
.biz-list .biz .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 13px; }
.biz-list .biz h4 { font-size: 17px; margin: 10px 0 8px; }
.biz-list .biz p { font-size: 13px; color: var(--gray); }

/* ---------- Culture / Value ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.value-card {
  background: var(--paper);
  padding: 40px 28px;
  position: relative;
}
.value-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  -webkit-text-stroke: 1px var(--accent);
  color: transparent;
  margin-bottom: 20px;
}
.value-card h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 12px; }
.value-card p { font-size: 13px; color: var(--gray); line-height: 1.85; }

.value-axis { margin-top: 60px; }
.value-axis-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.axis-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 6px 16px;
  white-space: nowrap;
}
.value-axis-head p { font-size: 13px; color: var(--gray); }
.value-axis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.value-axis-card {
  background: var(--paper-dim, var(--paper));
  padding: 40px 28px;
  position: relative;
}
.value-axis-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}
.axis-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 18px;
}
.value-axis-card h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 12px; }
.value-axis-card p { font-size: 13px; color: var(--gray); line-height: 1.85; }

.concept-quote {
  position: relative;
  margin-top: 70px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
}
.concept-quote p {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 18px;
}
.concept-quote span { position: relative; font-size: 12px; color: var(--accent); letter-spacing: 0.05em; }

/* ---------- Recruit / Jobs ---------- */
.job-tabs { display: flex; gap: 10px; margin-bottom: 46px; flex-wrap: wrap; }
.job-tab {
  padding: 12px 24px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  cursor: pointer;
  background: var(--white);
  transition: all .2s ease;
}
.job-tab.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.job-panel { display: none; }
.job-panel.active { display: block; }

.job-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.job-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-bottom: 14px;
}
.job-badge.soon { border-color: var(--gray); color: var(--gray); }
.job-head h3 { font-size: 26px; margin-bottom: 10px; }
.job-head p { color: var(--gray); font-size: 14px; max-width: 560px; }

.job-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}
.job-flow .step { padding: 26px 22px; background: var(--paper-dim); border-top: 2px solid var(--accent); }
.job-flow .step .n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 13px; margin-bottom: 10px; }
.job-flow .step h4 { font-size: 15.5px; margin-bottom: 8px; }
.job-flow .step p { font-size: 12.5px; color: var(--gray); }

.job-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 54px; }
.job-perks .perk { border: 1px solid var(--line); padding: 26px; background: var(--white); }
.job-perks .perk h4 { font-size: 15px; margin-bottom: 10px; }
.job-perks .perk p { font-size: 13px; color: var(--gray); }

.job-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.job-table th, .job-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.job-table th { width: 160px; color: var(--gray); font-weight: 400; letter-spacing: 0.03em; }
.job-table td { color: var(--ink-soft); }

.job-soon-box {
  border: 1px dashed var(--line);
  padding: 60px 40px;
  text-align: center;
  background: var(--paper-dim);
}
.job-soon-box p { color: var(--gray); font-size: 14px; max-width: 480px; margin: 14px auto 0; }

/* ---------- Interviews ---------- */
.interview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.interview-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.interview-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
.interview-card .sample-tag {
  position: absolute; top: 14px; right: 14px;
  font-size: 10px; letter-spacing: 0.08em;
  background: var(--ink); color: var(--paper);
  padding: 4px 9px; z-index: 2;
}
.interview-card .ph { height: 260px; }
.interview-card .ph img { object-position: 50% 22%; }
.interview-body { padding: 26px 26px 30px; }
.interview-role { font-size: 11.5px; color: var(--accent); letter-spacing: 0.05em; margin-bottom: 8px; line-height: 1.6; }
.interview-name { font-family: var(--serif); font-size: 20px; margin-bottom: 18px; }
.interview-quote { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; font-style: italic; font-family: var(--serif); line-height: 1.7; }
.interview-body p.desc { font-size: 13px; color: var(--gray); }
.interview-card .interview-body p.desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.interview-card .interview-body {
  position: relative;
}
.interview-card .interview-body::after {
  content: "インタビューを読む →";
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.interview-note {
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--gray);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* ---------- Benefit physics band ---------- *//* ---------- Page curtain transition ---------- */
.page-curtain {
  position: fixed; inset: 0;
  background: var(--paper-dim);
  z-index: 300;
  transform: translateY(-101%);
  pointer-events: none;
}
.page-curtain.closing { transform: translateY(0); transition: transform .5s cubic-bezier(.7,0,.2,1); }
.page-curtain.opening { transform: translateY(101%); transition: transform .6s cubic-bezier(.7,0,.2,1) .05s; }
.page-curtain.instant { transform: translateY(0); transition: none; }

/* ---------- Cursor ring ---------- */
.cur-ring {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1px solid rgba(74,72,68,.45);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  z-index: 400;
  transition: width .25s ease, height .25s ease, border-color .25s ease, opacity .3s ease;
  opacity: 0;
}
.cur-ring.show { opacity: 1; }
.cur-ring.big { width: 58px; height: 58px; border-color: rgba(74,72,68,.85); }
@media (pointer: coarse) { .cur-ring { display: none; } }

/* ---------- Interview article page ---------- */
.wrap.narrow { max-width: 760px; }

.back-link {
  display: flex; width: fit-content; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray); margin-bottom: 26px;
}
.back-link:hover { color: var(--accent); }

.sample-tag-inline {
  display: block; width: fit-content;
  font-size: 11px; letter-spacing: 0.08em;
  background: var(--ink); color: var(--paper);
  padding: 4px 10px; margin-bottom: 18px;
}

.interview-page-headline {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.55;
  margin-bottom: 22px;
}
.interview-page-lead { color: var(--gray); font-size: 15px; max-width: 640px; }

.interview-feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: stretch;
}
.interview-feature-photo.ph { height: auto; aspect-ratio: 3 / 4; }
.interview-feature-photo.ph img { object-position: 50% 25%; }
.interview-feature-meta {
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.interview-feature-meta .tag { color: var(--accent); font-size: 13.5px; letter-spacing: 0.04em; margin-bottom: 16px; line-height: 1.6; }
.interview-feature-meta .role-years { font-size: 13px; color: var(--gray); margin-bottom: 26px; line-height: 1.9; }
.interview-feature-meta .name { font-family: var(--serif); font-size: 32px; margin-bottom: 8px; }
.interview-feature-meta .name-en { font-size: 12.5px; color: var(--gray); letter-spacing: 0.08em; }

.interview-lede {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.7;
  margin-bottom: 54px;
}

.qa-block { margin-bottom: 48px; }
.qa-block:last-child { margin-bottom: 0; }
.qa-block .q {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--ink);
}
.qa-block .q::before { content: "Q. "; color: var(--accent); font-style: italic; }
.qa-block .a { font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }

@media (max-width: 900px) {
  .interview-feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Work style ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 60px; }
.work-card { background: var(--white); border: 1px solid var(--line); padding: 34px 28px; }
.work-card .tag { font-size: 11px; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 14px; }
.work-card h3 { font-size: 20px; margin-bottom: 14px; }
.work-card .time { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }
.work-card p { font-size: 13px; color: var(--gray); }

.work-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.work-facts .fact { background: #eceded; color: var(--ink); padding: 34px 26px; text-align: center; }
.work-facts .fact b { display: block; font-family: var(--serif); font-size: 26px; color: var(--ink); margin-bottom: 8px; }
.work-facts .fact span { font-size: 12px; color: var(--gray); }

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-bottom: 54px;
}
.benefit-card { background: var(--white); padding: 32px 24px; }
.benefit-card .ico {
  width: 40px; height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-family: var(--serif); font-style: italic; font-size: 16px;
  margin-bottom: 18px;
}
.benefit-card h4 { font-size: 15px; margin-bottom: 8px; }
.benefit-card p { font-size: 12.5px; color: var(--gray); }

.holiday-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border: 1px solid var(--line);
  padding: 30px 36px;
  background: var(--paper-dim);
}
.holiday-strip .big { font-family: var(--serif); font-size: 34px; }
.holiday-strip .big em { color: var(--accent); font-style: italic; }
.holiday-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.holiday-tags span { font-size: 12.5px; border: 1px solid var(--line); padding: 7px 14px; background: var(--white); }

/* ---------- Office ---------- */
.office-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.office-main .ph { height: 420px; }
.office-main h3 { font-size: 26px; margin-bottom: 14px; }
.office-main p { color: var(--gray); font-size: 14px; margin-bottom: 10px; }
.office-main .addr { font-size: 13.5px; color: var(--ink-soft); border-left: 2px solid var(--accent); padding-left: 16px; margin-top: 20px; }

.office-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.office-card .ph { height: 180px; margin-bottom: 16px; }
.office-card h4 { font-size: 16.5px; margin-bottom: 6px; }
.office-card p { font-size: 12.5px; color: var(--gray); }
.office-card .badge { display: inline-block; font-size: 10.5px; color: var(--accent); border: 1px solid var(--accent); padding: 3px 9px; margin-bottom: 10px; letter-spacing: 0.04em; }

.office-note { margin-top: 40px; font-size: 13px; color: var(--gray); text-align: center; }

/* ---------- CTA / Footer ---------- */
.cta-section { text-align: center; padding: 130px 0; }
.cta-section h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 22px; }
.cta-section p { color: var(--gray); max-width: 520px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.site-footer { background: #e6e7e7; color: var(--gray); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid .logo { color: var(--ink); margin-bottom: 14px; }
.footer-grid p { font-size: 13px; line-height: 1.9; }
.footer-grid h5 { font-size: 12.5px; letter-spacing: 0.08em; color: var(--ink); margin-bottom: 16px; }
.footer-grid ul { list-style: none; font-size: 13px; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid #d4d4d2; padding-top: 24px; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .office-main { grid-template-columns: 1fr; }
  .about-media .ph, .office-main .ph { height: 300px; }  .biz-list, .value-grid, .job-flow, .job-perks, .interview-grid, .work-grid, .benefit-grid, .office-list, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .value-axis-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .work-facts { grid-template-columns: repeat(2, 1fr); }  /* mobile hero: SP photo, lockup slightly smaller */
  .hero { height: 52svh; min-height: 360px; background-image: url("assets/hero_sp.jpg"); background-position: center 20%; }
  .lockup-sig { width: 44vw; }
  .scroll-cue { display: none; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: block;
    width: 28px; height: 20px;
    position: relative;
    background: none; border: none; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink);
  }
  .nav-toggle span { top: 9px; }
  .nav-toggle::before { top: 0; }
  .nav-toggle::after { top: 18px; }
  .mobile-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 99;
    padding: 40px 32px;
    display: flex; flex-direction: column; gap: 26px;
    font-size: 18px;
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav .nav-cta { display: inline-flex; align-self: flex-start; }  .biz-list, .value-grid, .value-axis-grid, .job-flow, .job-perks, .interview-grid, .work-grid, .benefit-grid, .office-list, .footer-grid, .work-facts {
    grid-template-columns: 1fr;
  }
  .job-head { flex-direction: column; }
  .holiday-strip { flex-direction: column; align-items: flex-start; }
  .pad { padding: 72px 0; }
}
