/* =========================================================
   Splat.co Corporate Site — Design System v2 (2026-07)
   軸: 余白と1pxの罫線で品を出す。装飾より タイポグラフィ。
   ・アクセントは deep teal 1色のみ（面積5%以下）
   ・グラデーション/波形/浮遊シェイプ/絵文字は使わない
   ・角丸 0-4px、影なし（ヘッダーのみ例外）
   ========================================================= */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #17181B;
  --sub: #55585C;
  --gray: #8A8D90;
  --line: rgba(23, 24, 27, 0.12);
  --line-soft: rgba(23, 24, 27, 0.07);
  --accent: #0E7C74;
  --accent-bright: #0ABAB5;
  --dark: #101214;
  --dark-ink: #F2F2EE;
  --dark-sub: rgba(242, 242, 238, 0.64);
  --dark-line: rgba(242, 242, 238, 0.16);
  --font-jp: "Instrument Sans", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(10, 186, 181, 0.22); }

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

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- typography ---------- */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}

.en {
  font-family: "Instrument Sans", sans-serif;
  letter-spacing: 0.16em;
}

/* EN micro-label（セクション見出しの上に置く小さな英字） */
.label {
  display: block;
  font-family: "Instrument Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-head .lead { margin-top: 16px; color: var(--sub); font-size: 0.95rem; max-width: 620px; }

/* 小見出しセクション（News・経歴など） */
.section-head--sm { margin-bottom: 36px; }
.section-head--sm h2 { font-size: 1.5rem; }

.num {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}

/* ---------- layout ---------- */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--white { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section--dark .label { color: var(--accent-bright); }
.section--dark .lead, .section--dark .section-head .lead { color: var(--dark-sub); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 24px rgba(23, 24, 27, 0.05);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 30px; height: 30px; }
.logo-text {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sub);
  padding: 4px 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: left calc(100% - 1px);
  transition: color 0.3s ease, background-size 0.35s var(--ease);
}

.nav-link:hover, .nav-link.active { color: var(--ink); background-size: 100% 1px; }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 9px 22px;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  padding: 120px clamp(24px, 8vw, 48px) 48px;
  background: var(--bg);
  z-index: 105;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .mobile-nav-en {
  display: block;
  font-family: "Instrument Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}

@media (max-width: 860px) {
  .desktop-nav { display: none; }
  .hamburger { display: block; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero (home) ---------- */

.hero {
  padding-block: clamp(88px, 13vw, 170px) clamp(64px, 9vw, 120px);
  border-bottom: 1px solid var(--line-soft);
}

.hero .label { margin-bottom: 22px; }

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.04em;
}

.hero .hero-lead {
  margin-top: 28px;
  max-width: 560px;
  color: var(--sub);
  font-size: clamp(0.92rem, 1.4vw, 1rem);
}

.hero .hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* サブページ共通ヒーロー */
.page-hero {
  padding-block: clamp(72px, 10vw, 120px) clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-hero .lead { margin-top: 18px; color: var(--sub); font-size: 0.95rem; max-width: 640px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 14px 34px;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-jp);
}

.btn::after {
  content: "→";
  font-family: "Instrument Sans", sans-serif;
  transition: transform 0.3s var(--ease);
}

.btn:hover { background: var(--ink); color: var(--bg); }
.btn:hover::after { transform: translateX(4px); }

.btn--fill { background: var(--ink); color: var(--bg); }
.btn--fill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn--light { color: var(--dark-ink); border-color: var(--dark-ink); }
.btn--light:hover { background: var(--dark-ink); color: var(--dark); }

.btn--plain { border: 0; padding: 4px 0; }
.btn--plain:hover { background: none; color: var(--accent); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--line);
}

.stat {
  padding: 30px 26px 26px 0;
  border-bottom: 1px solid var(--line);
}

.stat-value {
  font-family: "Instrument Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-value .unit { font-size: 0.6em; font-weight: 600; margin-left: 2px; }

.stat-label { margin-top: 8px; font-size: 0.8rem; color: var(--gray); }

.stats-note { margin-top: 14px; font-size: 0.74rem; color: var(--gray); }

@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 12px 18px 0; }
  .stat-value { font-size: 1.7rem; }
}

.section--dark .stat { border-color: var(--dark-line); }
.section--dark .stats { border-color: var(--dark-line); }
.section--dark .stat-label, .section--dark .stats-note { color: var(--dark-sub); }

/* ---------- service rows（番号付き・罫線区切り） ---------- */

.service-rows { border-top: 1px solid var(--line); }

.service-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(30px, 4.5vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.service-row .num { font-size: 0.85rem; padding-top: 6px; }

.service-row h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.service-row .service-en {
  display: block;
  font-family: "Instrument Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}

.service-row p { margin-top: 12px; color: var(--sub); font-size: 0.92rem; max-width: 560px; }

.service-items {
  margin-top: 16px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.service-items li {
  font-size: 0.78rem;
  color: var(--sub);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px 12px;
  background: var(--surface);
}

.service-row .row-link { align-self: center; }

@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .service-row .num { padding-top: 0; }
  .service-row .row-link { align-self: start; margin-top: 14px; }
}

/* ---------- サービス詳細（services.html） ---------- */

.detail-block { padding-block: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line-soft); }
.detail-block:last-child { border-bottom: 0; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.detail-cell { background: var(--surface); border: 1px solid var(--line); padding: 28px 26px; }
.detail-cell h4 { font-size: 0.98rem; }
.detail-cell p { margin-top: 10px; font-size: 0.85rem; color: var(--sub); }
.detail-cell .num { display: block; font-size: 0.75rem; margin-bottom: 12px; }

/* フロー（ご相談〜運用改善） */
.flow { counter-reset: flow; list-style: none; margin-top: 36px; border-top: 1px solid var(--line); }
.flow li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 64px 220px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.flow h4 { font-size: 0.95rem; }
.flow p { font-size: 0.85rem; color: var(--sub); }
@media (max-width: 720px) {
  .flow li { grid-template-columns: 48px 1fr; }
  .flow p { grid-column: 2; }
}

/* ---------- ツール一覧（絵文字マーキーの置き換え） ---------- */

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tools span {
  font-family: "Instrument Sans", "Noto Sans JP", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--dark-sub);
  border: 1px solid var(--dark-line);
  border-radius: 2px;
  padding: 8px 16px;
  white-space: nowrap;
}

/* 理由 3列リスト（dark帯用） */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-top: 48px;
}

.reason .num { display: block; font-size: 0.78rem; color: var(--accent-bright); margin-bottom: 14px; }
.reason h3 { font-size: 1.02rem; color: var(--dark-ink); }
.reason p { margin-top: 10px; font-size: 0.85rem; color: var(--dark-sub); }

/* ---------- works ---------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

/* トップの4枚用: 2列で大きめに見せる */
.works-grid--balanced { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }

.work-card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }

.work-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #EDEEEA;
  display: grid;
}
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.035); }

.work-media--split2 { grid-template-columns: 1fr 1fr; gap: 1px; }
.work-media--split3 { grid-template-columns: 1fr 1fr 1fr; gap: 1px; }

.work-media--np {
  place-items: center;
  background: var(--dark);
}
.work-media--np .np-mark {
  font-family: "Instrument Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dark-sub);
  border: 1px solid var(--dark-line);
  padding: 10px 18px;
}

.work-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }

.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.work-tags span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--sub);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 10px;
}

.work-body h3 { font-size: 0.98rem; }
.work-body > p { margin-top: 10px; font-size: 0.84rem; color: var(--sub); flex: 1; }

.work-stats { display: flex; gap: 28px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.work-stats > div { display: flex; flex-direction: column; }
.work-stats dt { font-size: 0.68rem; color: var(--gray); order: 2; }
.work-stats dd {
  font-family: "Instrument Sans", "Noto Sans JP", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* filter */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 5vw, 48px); }
.filter-btn {
  font-family: var(--font-jp);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--sub);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- news ---------- */

.news-list { list-style: none; border-top: 1px solid var(--line); }

.news-list li {
  display: grid;
  grid-template-columns: 110px 92px 1fr;
  gap: clamp(14px, 3vw, 32px);
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}

.news-cat {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--sub);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 0;
  text-align: center;
}

.news-text { font-size: 0.9rem; }

@media (max-width: 640px) {
  .news-list li { grid-template-columns: 96px 1fr; row-gap: 6px; }
  .news-text { grid-column: 1 / -1; }
}

/* ---------- 代表 / about ---------- */

.profile-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.profile-photo { border-radius: 2px; overflow: hidden; }
.profile-photo img { aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(0.92); }

.profile-name { font-size: 1.4rem; }
.profile-name .en-name {
  display: block;
  font-family: "Instrument Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}
.profile-role { font-size: 0.82rem; color: var(--accent); font-weight: 600; margin-bottom: 20px; }

.quote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
  color: var(--sub);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .profile-block { grid-template-columns: 1fr; }
  .profile-photo { max-width: 240px; }
}

/* 代表メッセージ（dark帯の本文） */
.message-prose { max-width: 680px; color: var(--dark-sub); font-size: 0.98rem; }
.message-prose p + p { margin-top: 1.2em; }
.message-sign { margin-top: 2em; color: var(--dark-ink); font-weight: 700; }
.message-sign span { display: block; font-weight: 400; font-size: 0.8rem; color: var(--dark-sub); margin-top: 4px; }

/* 経歴タイムライン */
.timeline { list-style: none; border-top: 1px solid var(--line); }
.timeline li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline .when {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}
.timeline h3 { font-size: 0.98rem; }
.timeline p { margin-top: 6px; font-size: 0.86rem; color: var(--sub); }

/* スキル・専門領域（%バー廃止 → 静かなリスト） */
.capability-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.capability-list li { background: var(--surface); border: 1px solid var(--line); padding: 22px 24px; }
.capability-list h3 { font-size: 0.92rem; }
.capability-list p { margin-top: 6px; font-size: 0.8rem; color: var(--sub); }

/* 会社概要テーブル */
.company-table { border-top: 1px solid var(--line); }
.company-table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.company-table dt { font-size: 0.82rem; color: var(--gray); padding-top: 2px; }
.company-table dd { font-size: 0.92rem; }
.company-table dd ul { list-style: none; }
.company-table dd ul li { padding: 2px 0; }
@media (max-width: 560px) {
  .company-table > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- careers ---------- */

.env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.env-cell { background: var(--surface); border: 1px solid var(--line); padding: 30px 26px; }
.env-cell .stat-value { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.position-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(28px, 4vw, 44px);
}
.position-card + .position-card { margin-top: 24px; }

.position-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.position-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--sub);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 12px;
}

.position-card h3 { font-size: 1.25rem; }
.position-card .position-desc { margin-top: 14px; color: var(--sub); font-size: 0.92rem; }

.position-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 4vw, 48px);
  margin-top: 28px;
}
.position-cols h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.position-cols ul { list-style: none; }
.position-cols li {
  font-size: 0.87rem;
  color: var(--sub);
  padding: 7px 0 7px 18px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.position-cols li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.05em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-side { border-top: 2px solid var(--ink); padding-top: 28px; }
.contact-side dl > div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.contact-side dt { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--gray); margin-bottom: 4px; }
.contact-side dd { font-size: 0.92rem; }

.form-panel { border: 1px solid var(--line); background: var(--surface); padding: clamp(28px, 4vw, 44px); }

.form-group { margin-bottom: 24px; }

.form-label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; }
.form-label .required {
  font-size: 0.68rem;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: 1px 6px;
  margin-left: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 13px 14px;
  transition: border-color 0.25s ease, background 0.25s ease;
  letter-spacing: 0.03em;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}

.form-control::placeholder { color: var(--gray); }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2355585C' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

textarea.form-control { resize: vertical; min-height: 150px; }

.form-note { font-size: 0.78rem; color: var(--gray); margin-top: 16px; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 22px 4px;
  font-size: 0.95rem;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-a { padding: 0 4px 24px; font-size: 0.88rem; color: var(--sub); max-width: 680px; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--dark); color: var(--dark-ink); padding-block: clamp(72px, 10vw, 120px); }
.cta-band .label { color: var(--accent-bright); }
.cta-band h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.cta-band p { margin-top: 16px; color: var(--dark-sub); font-size: 0.95rem; }
.cta-band .cta-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */

.site-footer { background: var(--dark); color: var(--dark-ink); border-top: 1px solid var(--dark-line); }

.footer-inner { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 8vw, 88px) clamp(20px, 5vw, 48px) 36px; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-brand .logo-text { color: var(--dark-ink); }
.footer-brand p { margin-top: 18px; font-size: 0.83rem; color: var(--dark-sub); max-width: 300px; }

.footer-heading {
  font-family: "Instrument Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-sub);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 0.85rem; color: var(--dark-sub); transition: color 0.25s ease; }
.footer-links a:hover { color: var(--dark-ink); }

.footer-company { font-size: 0.82rem; color: var(--dark-sub); font-style: normal; }
.footer-company p { padding: 2px 0; }

.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  justify-content: space-between;
}

.footer-bottom small {
  font-family: "Instrument Sans", "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  color: var(--dark-sub);
  letter-spacing: 0.06em;
}

.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 0.78rem; color: var(--dark-sub); }
.footer-legal a:hover { color: var(--dark-ink); }

/* ---------- 法務ページ（privacy等の本文） ---------- */

.prose { max-width: 720px; }
.prose h2 { font-size: 1.15rem; margin: 44px 0 14px; }
.prose p, .prose li { font-size: 0.9rem; color: var(--sub); }
.prose ol, .prose ul { padding-left: 1.4em; margin-top: 8px; }
.prose li { margin: 4px 0; }
.prose .date { font-size: 0.82rem; color: var(--gray); margin-top: 40px; }

/* ---------- reveal motion ---------- */
/* JSあり(html.js)のときだけ初期非表示。IOが .is-in を付けて表示。 */

html.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .rv.is-in { opacity: 1; transform: none; }

html.js .rv-d1 { transition-delay: 0.08s; }
html.js .rv-d2 { transition-delay: 0.16s; }
html.js .rv-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- misc ---------- */

.text-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: left calc(100% - 1px);
}

hr.rule { border: 0; border-top: 1px solid var(--line); }

.nowrap { white-space: nowrap; }
