/* ==========================================================================
   ブランドカラーガイドライン準拠 デザインシステム (v2)
   Primary: #181B38 相当(勝色ベースの藍ネイビー) / Secondary: スレート(藍寄りに調整)
   Accent: #A6843A(ゴールド/ブラス, 5%以下) / Neutral: #F5F6F7(ペーパーホワイト)
   材料色: #94989C(シルバー/ガンメタル)
   フォント: 馴染みのあるゴシック体に統一(Noto Sans JP、太さで階層表現)
   ========================================================================== */

@font-face {
  font-family: "BIZ UDPGothic";
  src: url("fonts/BIZUDPGothic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BIZ UDPGothic";
  src: url("fonts/BIZUDPGothic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #0d0f1e;
  --navy-800: #181b38; /* Primary(勝色ベース) */
  --navy-600: #3a3f66; /* Secondary */
  --navy-400: #6a7099; /* ラダー用の明るいネイビー */
  --navy-100: #e7e7ee;
  --gold: #a6843a;     /* Accent */
  --paper: #f5f6f7;    /* Neutral */
  --silver: #94989c;   /* 材料色 */

  --font-sans: "BIZ UDPGothic", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy-800);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- placeholder marker ---------- */
.ph {
  outline: 1px dashed rgba(166, 132, 58, 0.55);
  outline-offset: 4px;
}
.ph-note {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--gold);
}

/* ---------- icons ---------- */
.icon {
  width: 30px;
  height: 30px;
  stroke: var(--navy-600);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-gold { stroke: var(--gold); }
.icon-lg { width: 40px; height: 40px; }

/* ---------- header ---------- */
header.site-header {
  background: var(--navy-800);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(166, 132, 58, 0.35);
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--paper);
}
.logo small {
  display: block;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--silver);
  margin-top: 3px;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--paper);
  opacity: 0.85;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: opacity .2s, border-color .2s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  opacity: 1;
  border-color: var(--gold);
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 65%, var(--navy-600) 130%);
  color: var(--paper);
  padding: 130px 0 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-motif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid rgba(166, 132, 58, 0.5);
  padding: 7px 20px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.65;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}
.hero p.lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--navy-100);
  font-size: 17px;
}
.hero-subtag {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: -12px 0 36px;
}

/* ---------- top page hero: larger, more prominent tagline ---------- */
.hero.hero-top {
  padding: 170px 0 140px;
}
.hero.hero-top h1 {
  font-size: clamp(34px, 5.6vw, 58px);
  line-height: 1.5;
  margin-bottom: 28px;
}
.hero.hero-top .hero-subtag {
  font-size: 20px;
  margin: -22px 0 56px;
}
.hero.hero-top p.lead {
  font-size: 17.5px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 2px;
  border: 1px solid var(--gold);
  transition: background .2s, color .2s;
  margin-top: 40px;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: #91742f; }
.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(245, 246, 247, 0.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--navy-100); }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.section-head h2 {
  font-weight: 700;
  font-size: 26px;
  color: var(--navy-800);
  margin: 0 0 26px;
  letter-spacing: 0.01em;
}
.section-head p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--navy-600);
  font-size: 16.5px;
  line-height: 2;
  letter-spacing: 0.02em;
}

/* ---------- ladder / 3-step cards (ネイビーのグラデーションで表現、ゴールドは使わない) ---------- */
.ladder {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.ladder .step {
  background: #fff;
  border: 1px solid var(--navy-100);
  border-top: 3px solid var(--navy-400);
  padding: 24px 26px 34px;
  position: relative;
  overflow: hidden;
  align-self: stretch;
}
.ladder .step:nth-child(3) { border-top-color: var(--navy-600); }
.ladder .step:nth-child(5) { border-top-color: var(--navy-800); }
.ladder .step .step-num {
  position: absolute;
  top: -10px;
  left: -4px;
  font-size: 74px;
  font-weight: 700;
  color: var(--navy-100);
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.ladder .step:nth-child(3) .step-num { color: #dfe2ea; }
.ladder .step:nth-child(5) .step-num { color: #d3d6e2; }
.ladder .step .icon-badge {
  position: absolute;
  top: 20px;
  left: 118px;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ladder .step .icon-badge .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}
.ladder .step:nth-child(3) .icon-badge { background: #dfe2ea; }
.ladder .step:nth-child(5) .icon-badge { background: #d3d6e2; }
.ladder .step h3 {
  position: relative;
  z-index: 1;
  margin-top: 70px;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 14px;
  color: var(--navy-800);
}
.ladder .step p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.75;
  color: var(--navy-600);
  margin: 0;
}
.ladder-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 860px) {
  .ladder { grid-template-columns: 1fr; }
  .ladder-arrow { transform: rotate(90deg); padding: 6px 0; }
}

/* ---------- two-column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}
.split h2 {
  font-weight: 700;
  font-size: 24px;
  color: var(--navy-800);
  margin-top: 0;
}
.split .kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.split p { color: var(--navy-600); font-size: 16.5px; line-height: 1.9; }

.visual-panel {
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-600) 100%);
  min-height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-panel .caption {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245, 246, 247, 0.6);
}

.message-body { max-width: 640px; margin: 0 auto; }
.message-body p {
  font-size: 16.5px;
  color: var(--navy-600);
  line-height: 1.95;
  margin: 0 0 22px;
}
.message-body p:last-child { margin-bottom: 0; }

/* ---------- timeline (about) ---------- */
.timeline {
  border-left: 1px solid var(--navy-100);
  padding-left: 36px;
  margin-left: 6px;
}
.timeline .entry {
  position: relative;
  padding-bottom: 44px;
}
.timeline .entry:last-child { padding-bottom: 0; }
.timeline .entry::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline .entry .period {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--silver);
}
.timeline .entry h3 {
  font-weight: 700;
  font-size: 17px;
  margin: 6px 0 10px;
  color: var(--navy-800);
}
.timeline .entry p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--navy-600);
  margin: 0;
}

/* ---------- values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .values-grid { grid-template-columns: 1fr; }
}
.values-grid .card {
  background: #fff;
  border: 1px solid var(--navy-100);
  border-left: 3px solid var(--navy-400);
  padding: 28px 26px 30px;
  position: relative;
}
.values-grid .card:nth-child(2) { border-left-color: var(--navy-600); }
.values-grid .card:nth-child(3) { border-left-color: var(--navy-800); }
.values-grid .card .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1.5px solid var(--navy-400);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.values-grid .card:nth-child(2) .icon-badge { border-color: var(--navy-600); }
.values-grid .card:nth-child(3) .icon-badge { border-color: var(--navy-800); }
.values-grid .card .icon-badge .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.4;
  margin: 0;
}
.values-grid .card h3 {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-800);
  margin: 0 0 12px;
}
.values-grid .card p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.8;
  color: var(--navy-600);
  margin: 0;
}
.values-grid .card .card-lead {
  position: relative;
  z-index: 1;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.75;
  margin: 0 0 16px;
}
.values-grid .card .card-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.values-grid .card .card-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: var(--navy-600);
  line-height: 1.75;
  margin-bottom: 10px;
}
.values-grid .card .card-list li:last-child { margin-bottom: 0; }
.values-grid .card .card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- section texture & divider (craftsmanship detail) ---------- */
section.texture { position: relative; }
section.texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(24,27,56,0.06) 1px, transparent 1.6px);
  background-size: 24px 24px;
  pointer-events: none;
}
section.texture > .wrap { position: relative; z-index: 1; }

.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 220px;
  margin: 0 auto;
}
.section-divider .line { flex: 1; height: 1px; background: var(--navy-100); }
.section-divider .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------- MVV (company page) ---------- */
.mvv-block {
  max-width: 720px;
  margin: 0 auto 88px;
  text-align: center;
}
.mvv-block:last-of-type { margin-bottom: 0; }
.mvv-block .kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.mvv-block h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.7;
  color: var(--navy-800);
  margin: 0;
}
.mvv-block p.mvv-note {
  max-width: 540px;
  margin: 18px auto 0;
  color: var(--navy-600);
  font-size: 16px;
  line-height: 1.85;
}

.value-list { max-width: 720px; margin: 0 auto; }
.value-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--navy-100);
  text-align: left;
}
.value-item:first-child { border-top: 1px solid var(--navy-100); }
.value-item .num {
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
}
.value-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-800);
}
.value-item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--navy-600);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-800);
  color: var(--paper);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 16px;
}
.cta-band p { color: var(--navy-100); margin-bottom: 8px; }

/* ---------- contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info .kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.contact-info h2 {
  font-weight: 700;
  font-size: 24px;
  color: var(--navy-800);
  margin-top: 0;
}
.contact-info p { color: var(--navy-600); font-size: 15.5px; line-height: 1.85; }
.contact-info .topic-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.contact-info .topic-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--navy-600);
  margin-bottom: 8px;
}
.contact-info .topic-list li:last-child { margin-bottom: 0; }
.contact-info .topic-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--navy-100);
}
.contact-info li {
  padding: 18px 0;
  border-bottom: 1px solid var(--navy-100);
  font-size: 15.5px;
  color: var(--navy-600);
}
.contact-info li strong {
  display: block;
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

form.contact-form {
  background: #fff;
  border: 1px solid var(--navy-100);
  padding: 40px;
}
form.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-600);
  margin-bottom: 8px;
}
form.contact-form .field { margin-bottom: 24px; }
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  border: 1px solid var(--navy-100);
  background: var(--paper);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: var(--navy-800);
}
form.contact-form textarea { min-height: 120px; resize: vertical; }
form.contact-form button {
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--navy-900);
  color: var(--silver);
  padding: 48px 0 32px;
  font-size: 14px;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
footer.site-footer .f-logo {
  font-weight: 700;
  color: var(--paper);
  font-size: 15px;
  letter-spacing: 0.08em;
}
footer.site-footer nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
footer.site-footer nav a { color: var(--silver); }
footer.site-footer nav a:hover { color: var(--gold); }
.copyright {
  border-top: 1px solid rgba(148, 152, 156, 0.2);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: 11.5px;
  color: var(--silver);
}
