/* ─────────────────────────────────────────────────────────
   Subpage shared stylesheet
   - inherits design tokens from /shared/styles.css
   - quieter typography, single accent, no animated cursor
   ───────────────────────────────────────────────────────── */

/* Subpage hero / banner */
.subhero {
  position: relative;
  padding: 200px 32px 96px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(244, 248, 246, 0.06), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.subhero-ripple {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
  z-index: 0;
}
.subhero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.subhero-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.subhero-crumbs a { color: var(--fg-dim); transition: color .2s; }
.subhero-crumbs a:hover { color: var(--accent); }
.subhero-crumbs .sep { opacity: 0.4; }

.subhero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.subhero-eyebrow-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: currentColor;
}

.subhero-title {
  margin: 0;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-feature-settings: "palt" 1;
  white-space: pre-line;
}
.subhero-en {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  margin: 0;
}
.subhero-lede {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-muted);
  margin: 8px 0 0;
}

/* Page section */
.page-section {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px;
  border-top: 1px solid var(--line);
}
.page-section:first-of-type { border-top: 0; }
.page-section--narrow { max-width: 920px; }

.page-section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}
.page-section-head .eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-top: 8px;
}
.page-section-title {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-feature-settings: "palt" 1;
}
.page-section-lead {
  margin: 16px 0 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg-muted);
}

/* Definition table (会社概要等) */
.def-table {
  width: 100%;
  border-collapse: collapse;
}
.def-table tr {
  border-top: 1px solid var(--line);
}
.def-table tr:last-child { border-bottom: 1px solid var(--line); }
.def-table th,
.def-table td {
  text-align: left;
  vertical-align: top;
  padding: 22px 16px;
  font-size: 14px;
  line-height: 1.7;
}
.def-table th {
  width: 200px;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 12px;
  text-transform: uppercase;
  font-family: var(--font-en);
}
.def-table td {
  color: var(--fg);
  white-space: pre-line;
}
.def-table td a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.def-table td a:hover { opacity: 0.8; }

/* External link pill button — 白テキスト + 白枠の固定スタイル（スクショと同じ見た目） */
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F4F8F6;
  text-decoration: none;
  background: rgba(244, 248, 246, 0.04);
  border: 1px solid rgba(244, 248, 246, 0.28);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  vertical-align: 0.15em;
  white-space: nowrap;
}
.pill-link:hover {
  background: rgba(244, 248, 246, 0.14);
  border-color: rgba(244, 248, 246, 0.5);
}
.def-table td a.pill-link { color: #F4F8F6; text-decoration: none; opacity: 1; }
.def-table td a.pill-link:hover { color: #F4F8F6; opacity: 1; }
.pill-link svg { flex-shrink: 0; }

/* External link with hueCycle — TOP の S.01〜S.04 と同じ色サイクル */
.cycle-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity .2s ease;
}
body.color-cycle .cycle-link {
  animation: hueCycle 14s linear infinite;
  animation-delay: -8s;
}
.cycle-link:hover { opacity: 0.75; }
.cycle-link svg { flex-shrink: 0; }
.def-table td a.cycle-link { color: var(--accent); text-decoration: none; opacity: 1; }
.def-table td a.cycle-link:hover { opacity: 0.75; }

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
}
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: var(--bg);
  padding: 40px 32px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
}
.feature-card .num {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}
.feature-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.feature-card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.85;
}

/* Steps list (1→2→3) */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.step-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step-row:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.step-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}
.step-body p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.85;
  max-width: 720px;
}

/* Tag list */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag-list li {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg);
  font-family: var(--font-en);
}

/* Page CTA band (smaller than home final-cta) */
.page-cta {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.page-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: pre-line;
}
.page-cta p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--fg-muted);
  max-width: 540px;
}

/* Article (news detail / privacy etc) */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  color: var(--fg);
}
.prose h2 {
  margin: 56px 0 16px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.prose h3 {
  margin: 32px 0 12px;
  font-size: 17px;
  font-weight: 600;
}
.prose p { margin: 16px 0; color: var(--fg-muted); }
.prose ul, .prose ol { color: var(--fg-muted); padding-left: 24px; }
.prose li { margin: 8px 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); font-weight: 600; }

/* Article meta */
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  margin: 16px 0 0;
}
.article-meta .article-cat {
  display: inline-block;
  padding: 4px 10px;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Form */
.form {
  display: grid;
  gap: 28px;
  max-width: 720px;
}
.form-row {
  display: grid;
  gap: 8px;
}
.form-row label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-family: var(--font-en);
}
.form-row label .req { color: var(--accent); margin-left: 6px; }
.form-row label .opt { color: var(--fg-dim); margin-left: 6px; font-size: 10px; }
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: border-color .2s, background .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}
.form-row textarea { resize: vertical; min-height: 160px; }
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-muted) 50%),
                    linear-gradient(135deg, var(--fg-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--fg);
  transition: all .2s;
}
.form-radio-group label:has(input:checked) {
  background: var(--accent);
  border-color: var(--accent);
  color: #0C1814;
}
.form-radio-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--accent);
  color: #0C1814;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
.form-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.form-note {
  font-size: 12px;
  color: var(--fg-dim);
  line-height: 1.7;
}
.form-note a { color: var(--accent); text-decoration: underline; }

/* News list (subpage) */
.news-list-page {
  display: flex;
  flex-direction: column;
}

/* Map placeholder */
.map-frame {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

/* Wantedly embed wrap */
.wantedly-frame {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-dim);
  position: relative;
}
.wantedly-frame iframe { width: 100%; height: 100%; border: 0; border-radius: inherit; }

/* ── Service cards (services index) ── */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .3s, transform .3s;
  min-height: 320px;
  overflow: hidden;
}
.svc-card:hover {
  border-color: rgba(244, 248, 246, 0.5);
  transform: translateY(-3px);
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(244, 248, 246, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.svc-card:hover::before { opacity: 1; }
.svc-card-num {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.svc-card-title {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: pre-line;
}
.svc-card-jp {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.svc-card-desc {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.85;
  flex: 1;
}
.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  transition: gap .3s;
}
.svc-card:hover .svc-card-link { gap: 14px; }

/* ── Domain grid (services detail) ── */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
}
.domain-card {
  background: var(--bg);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.domain-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.domain-card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.85;
}

/* ── Eyebrow used in section heads (alias) ── */
.eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── Positions (careers) ── */
.positions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
}
.position-card {
  background: var(--bg);
  padding: 36px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.position-tag {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.position-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.position-desc {
  margin: 0;
  color: var(--fg-muted);
  font-size: 13px;
  line-height: 1.85;
  flex: 1;
}
.position-meta {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ── Wantedly card ── */
.wantedly-card {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 48px;
  position: relative;
  transition: border-color .3s, transform .3s;
}
.wantedly-card:hover { border-color: rgba(244, 248, 246, 0.5); transform: translateY(-2px); }
.wantedly-card-inner {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wantedly-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.wantedly-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wantedly-desc {
  margin: 0;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.85;
}
.wantedly-cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── News list (rows) ── */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-list li {
  border-top: 1px solid var(--line);
}
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-row {
  display: grid;
  grid-template-columns: 110px 110px 1fr 32px;
  gap: 24px;
  align-items: center;
  padding: 28px 8px;
  transition: background .2s;
}
.news-row:hover { background: var(--bg-panel); }
.news-date {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}
.news-cat {
  display: inline-block;
  padding: 4px 10px;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  justify-self: start;
}
.news-title {
  font-size: 15px;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.news-arrow { color: var(--fg-dim); transition: color .2s; }
.news-row:hover .news-arrow { color: var(--accent); }

/* ── Article (news detail / privacy) ── */
.article {
  max-width: 880px;
  margin: 0 auto;
  padding: 160px 32px 80px;
}
.article-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
  margin-bottom: 48px;
}
.article-back {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  transition: color .2s;
}
.article-back:hover { color: var(--accent); }
.article-meta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 24px 0 16px;
  font-family: var(--font-en);
}
.article-meta-row time { font-size: 13px; color: var(--fg-muted); letter-spacing: 0.06em; }
.article-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-feature-settings: "palt" 1;
}
.article-body { margin-top: 0; }

/* ── Legal (privacy) ── */
.legal h2 {
  margin: 48px 0 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: none;
  padding-bottom: 0;
}
.legal p, .legal ul { font-size: 14px; line-height: 1.95; }

/* ── Contact form ── */
.contact-form {
  display: grid;
  gap: 28px;
}
.form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label-text {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  font-weight: 500;
}
.form-label-text em {
  font-style: normal;
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #E53935;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}
textarea.form-input { resize: vertical; min-height: 160px; font-family: inherit; }
select.form-input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-muted) 50%),
                    linear-gradient(135deg, var(--fg-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.7;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.form-checkbox a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: #fff;
  color: #0C1814;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: filter .2s, transform .2s;
  font-family: inherit;
}
.btn-primary:hover:not(:disabled) { filter: brightness(0.92); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

.form-success {
  text-align: center;
  padding: 48px 0;
}
.form-success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #0C1814;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
}
.form-success h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 600;
}
.form-success p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 0 32px;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg);
  transition: border-color .2s, color .2s;
}
.btn-link:hover { border-color: rgba(244, 248, 246, 0.6); color: var(--fg); }

/* Responsive */
@media (max-width: 960px) {
  .subhero { padding: 120px 20px 56px; }
  .subhero-inner { gap: 18px; }
  .subhero-title { font-size: clamp(32px, 8.6vw, 48px); line-height: 1.1; }
  .subhero-lede { font-size: 14px; line-height: 1.85; }
  .subhero-en { font-size: 13px; }
  .subhero-crumbs { font-size: 10px; gap: 6px; flex-wrap: wrap; }

  .page-section { padding: 64px 20px; }
  .page-section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .page-section-title { font-size: clamp(24px, 6.4vw, 36px); }
  .page-section-lead { font-size: 14px; }

  .feature-grid, .feature-grid--3, .feature-grid--4 { grid-template-columns: 1fr; gap: 1px; }
  .feature-card { padding: 32px 22px 36px; min-height: 0; }
  .feature-card .num { font-size: 30px; }

  .step-row { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .step-num { font-size: 36px; }
  .step-body h3 { font-size: 17px; }
  .step-body p { font-size: 13.5px; }

  .def-table th, .def-table td { display: block; padding: 14px 0 0; font-size: 13.5px; }
  .def-table th { padding-bottom: 4px; padding-top: 18px; font-size: 11px; width: auto; }
  .def-table td { padding-top: 0; padding-bottom: 14px; }
  .def-table tr:first-child th { padding-top: 14px; }

  .page-cta { grid-template-columns: 1fr; padding: 72px 20px; gap: 28px; }
  .page-cta h2 { font-size: clamp(24px, 6.4vw, 34px); }
  .page-cta p { font-size: 13.5px; }

  .svc-cards { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { padding: 32px 24px 28px; min-height: 0; gap: 16px; }
  .svc-card-title { font-size: 24px; }

  .domain-grid { grid-template-columns: 1fr; gap: 1px; }
  .domain-card { padding: 28px 22px 32px; min-height: 0; }

  .positions { grid-template-columns: 1fr; gap: 1px; }
  .position-card { padding: 28px 22px 28px; min-height: 0; }
  .position-title { font-size: 18px; }

  .form-row--2col { grid-template-columns: 1fr; gap: 14px; }
  .form-row input, .form-row textarea, .form-row select,
  .form-input { padding: 14px 14px; font-size: 16px; /* prevent iOS zoom */ }
  .btn-primary { padding: 16px 28px; font-size: 14px; width: 100%; justify-content: center; }
  .form-actions { width: 100%; }

  .news-row {
    grid-template-columns: auto 1fr;
    grid-template-areas: "date cat" "title title";
    gap: 8px 14px;
    padding: 18px 8px;
    align-items: center;
  }
  .news-row .news-date { grid-area: date; font-size: 12px; }
  .news-row .news-cat { grid-area: cat; justify-self: start; }
  .news-row .news-title { grid-area: title; font-size: 14px; line-height: 1.55; }
  .news-row .news-arrow { display: none; }

  .article { padding: 100px 20px 56px; }
  .article-title { font-size: clamp(22px, 6vw, 30px); line-height: 1.35; }
  .article-meta-row { gap: 12px; flex-wrap: wrap; }
  .prose { font-size: 14px; }
  .prose h2 { font-size: 19px; margin: 40px 0 12px; }
  .prose h3 { font-size: 16px; margin: 24px 0 8px; }

  .wantedly-card { padding: 28px 22px; }
  .wantedly-title { font-size: 20px; }
  .wantedly-frame { aspect-ratio: 4 / 5; }
  .map-frame { aspect-ratio: 4 / 3; }

  .form-radio-group label { padding: 9px 14px; font-size: 12.5px; }
  .tag-list li { padding: 6px 12px; font-size: 11.5px; }
}

@media (max-width: 480px) {
  .subhero { padding: 110px 18px 48px; }
  .page-section { padding: 56px 18px; }
  .page-cta { padding: 64px 18px; }
  .article { padding: 92px 18px 48px; }
  .subhero-title { font-size: clamp(28px, 9vw, 40px); }
  .form-actions { margin-top: 8px; }
}
