/* ============================================================
   株式会社 導 — Corporate site
   ============================================================ */

:root {
  --navy-900: #0a2654;
  --navy-800: #102f64;
  --navy-700: #15406b;
  --navy-600: #1c4f86;
  --navy-500: #2a6dad;
  --navy-50:  #eef3fb;
  --navy-25:  #f5f8fc;

  --gold-500: #c79a3d;
  --gold-600: #b6862a;
  --gold-100: #f7ecc9;

  --ink:      #0a1d3a;
  --ink-2:    #2a3b5a;
  --muted:    #6b7791;
  --line:     #d8e1ee;
  --line-2:   #e6ecf5;

  --bg:       #ffffff;

  --radius:   12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(13, 34, 76, 0.05);
  --shadow:    0 6px 24px rgba(13, 34, 76, 0.08);
  --shadow-md: 0 10px 32px rgba(13, 34, 76, 0.10);

  --container: 1180px;

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; color: var(--navy-900); font-weight: 700; letter-spacing: 0.02em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.br-sp { display: none; }
@media (max-width: 640px) { .br-sp { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 64px; padding: 0 32px; font-size: 16px; }

.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-700); box-shadow: var(--shadow); }

.btn-outline {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline:hover { background: var(--navy-50); }

.btn-gold {
  background: linear-gradient(180deg, #d8a949 0%, #b6862a 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(182, 134, 42, 0.35);
}
.btn-gold:hover { filter: brightness(1.05); box-shadow: 0 6px 20px rgba(182, 134, 42, 0.45); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-2);
  box-shadow: 0 2px 12px rgba(13, 34, 76, 0.05);
  background: rgba(255, 255, 255, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

/* Brand */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  font-family: var(--font-mincho);
  color: var(--navy-900);
}
.brand-kanji { font-size: 22px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; }
.brand-mark  { font-size: 28px; font-weight: 700; }
.brand-yomi  { margin-top: 4px; font-size: 10px; letter-spacing: 0.4em; color: var(--ink-2); font-family: var(--font-sans); }

.nav-desktop {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.08em;
  position: relative;
  padding: 6px 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 2px;
  background: var(--navy-700);
  transition: left .2s ease, right .2s ease;
}
.nav-desktop a:hover::after { left: 0; right: 0; }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-mobile[hidden] { display: none !important; }
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 24px;
  background: #fff;
  border-top: 1px solid var(--line-2);
  box-shadow: 0 12px 20px rgba(13, 34, 76, 0.06);
}
.nav-mobile a {
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
}
.nav-mobile .btn {
  margin-top: 12px;
  border-bottom: none;
}

@media (min-width: 981px) {
  .nav-mobile { display: none !important; }
}
@media (max-width: 980px) {
  .nav-desktop, .nav-cta { display: none; }
  .hamburger { display: block; }
  .header-inner { height: 64px; }
  .brand-kanji { font-size: 18px; }
  .brand-mark  { font-size: 22px; }
  .brand-yomi  { font-size: 9px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 80px;
  background:
    radial-gradient(1200px 600px at 70% 30%, #f3f8ff 0%, transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 40px;
}
.hero-copy { padding-right: 12px; }
.hero-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  margin: 0 0 28px;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: normal;
  position: relative;
  padding-right: 4px;
}
.hero-lead {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 2;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-ctas .btn { min-width: 220px; }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 720 / 560;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-scene { width: 100%; height: 100%; display: block; object-fit: cover; }

.chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, 0);
  pointer-events: none;
}
.chip-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid rgba(21, 64, 107, 0.18);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(21, 64, 107, 0.12);
}
.chip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-right: 0; }
  .hero-ctas .btn { flex: 1 1 auto; min-width: 0; }
  .chip-ico { width: 52px; height: 52px; }
  .chip-label { font-size: 11px; }
}

/* ---------- Section common ---------- */
.section {
  padding: 96px 0;
}
.section--alt {
  background: var(--navy-25);
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--font-mincho);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.12em;
  color: var(--navy-900);
}
.section-rule {
  display: block;
  width: 56px; height: 2px;
  background: var(--gold-500);
  margin: 14px auto 18px;
}
.section-lead {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 2;
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}

/* ---------- Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--navy-50);
}
.svc-num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.svc-num span {
  font-family: var(--font-mincho);
  color: var(--navy-700);
  font-size: 22px;
  font-weight: 700;
}
.svc-num h3 {
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.svc-num h3 small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 2px;
}
.svc-ico {
  display: grid;
  place-items: center;
  height: 88px;
  margin: 6px 0 18px;
}
.svc-desc {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.svc-list {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.85;
  margin: 0 0 12px;
  flex: 1;
}
.svc-list li {
  position: relative;
  padding-left: 14px;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy-700);
}
.svc-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 6px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .svc { padding: 18px 14px; }
  .svc-ico { height: 72px; }
}
@media (max-width: 420px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ---------- Strengths ---------- */
.str-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.str {
  text-align: center;
  padding: 0 8px;
}
.str-ico {
  width: 92px; height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.str h3 {
  font-family: var(--font-mincho);
  font-size: 18px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.str p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 2;
}

@media (max-width: 820px) {
  .str-grid { grid-template-columns: 1fr; gap: 28px; max-width: 480px; }
}

/* ---------- Flow ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  gap: 4px;
  align-items: stretch;
}
.flow {
  position: relative;
  padding-top: 22px;
}
.flow-num {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, 0);
  z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-700);
  color: #fff;
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 15px;
}
.flow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 16px 22px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.flow-card h3 {
  font-size: 15px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.flow-ico { display: grid; place-items: center; height: 56px; margin: 6px 0 10px; }
.flow-card p {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.85;
  margin: 0;
}
.flow-arrow {
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 300;
  color: var(--navy-500);
  line-height: 1;
}

@media (max-width: 900px) {
  .flow-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .flow-arrow { display: none; }
}
@media (max-width: 480px) {
  .flow-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Company ---------- */
.company-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.company-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.company-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.company-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.company-table .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
}
.company-table .row:last-child { border-bottom: none; }
.company-table dt {
  background: var(--navy-25);
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-900);
  border-right: 1px solid var(--line);
}
.company-table dd {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
}
.company-table dd.muted { color: var(--muted); }
.company-table dd a { color: var(--navy-600); border-bottom: 1px solid currentColor; }

@media (max-width: 860px) {
  .company-grid { grid-template-columns: 1fr; }
  .company-photo { max-width: 420px; margin: 0 auto; aspect-ratio: 16 / 10; }
  .company-table .row { grid-template-columns: 130px 1fr; }
  .company-table dt { padding: 12px 14px; font-size: 13px; }
  .company-table dd { padding: 12px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
  .company-table .row { grid-template-columns: 110px 1fr; }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.cta-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cta-scene svg { width: 100%; height: 100%; }
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 28, 60, 0.78) 0%, rgba(10, 28, 60, 0.45) 55%, rgba(10, 28, 60, 0.15) 100%);
  z-index: -1;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 64px 24px;
  flex-wrap: wrap;
}
.cta-copy h2 {
  font-family: var(--font-mincho);
  color: #fff;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.cta-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}
.cta-button {
  min-width: 360px;
  position: relative;
}
.cta-button .btn-icon {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  margin-left: 6px;
}

@media (max-width: 820px) {
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 48px 24px; }
  .cta-button { width: 100%; min-width: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 24px;
  flex-wrap: wrap;
}
.brand--footer { color: #fff; }
.brand--footer .brand-kanji,
.brand--footer .brand-mark { color: #fff; }
.brand--footer .brand-yomi { color: rgba(255, 255, 255, 0.7); }

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}
.footer-nav a:hover { color: #fff; }

.copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  margin: 0;
}

@media (max-width: 820px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 24px; }
}
