/* ==========================================================================
   駿環株式会社 (SHUNKAN Co., Ltd.) — Corporate Site
   Common styles (shared across all pages): reset, header, footer, utilities
   Brand colors: navy #12335F / orange #F4622A / white #FFFFFF
   Fonts: Montserrat (headings/en) / Noto Sans JP (body) — loaded via Google Fonts
   ========================================================================== */

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: #1a2433;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #12335F; text-decoration: none; }
a:hover { color: #F4622A; }

input, select, textarea { font-family: 'Noto Sans JP', sans-serif; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid #F4622A;
  outline-offset: 0;
  border-color: #F4622A;
}

.page { min-width: 1100px; }

.section-inner { max-width: 1080px; margin: 0 auto; }
.section-inner-narrow { max-width: 880px; margin: 0 auto; }
.section-inner-narrow2 { max-width: 760px; margin: 0 auto; }

.section-tag {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 48px;
}
.tag-en {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .18em;
  color: #F4622A;
}
.tag-jp { font-size: 13px; color: #8a94a3; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 40px;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 0 -110px 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(12,32,54,.16);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  -webkit-mask-image: linear-gradient(to bottom,
    #000 0%, #000 41%,
    rgba(0,0,0,.75) 51%,
    rgba(0,0,0,.45) 62%,
    rgba(0,0,0,.22) 73%,
    rgba(0,0,0,.08) 85%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    #000 0%, #000 41%,
    rgba(0,0,0,.75) 51%,
    rgba(0,0,0,.45) 62%,
    rgba(0,0,0,.22) 73%,
    rgba(0,0,0,.08) 85%,
    transparent 100%);
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.is-solid::before {
  inset: 0;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(18,51,95,.08);
  -webkit-mask-image: none;
  mask-image: none;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 60px; display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #12335F;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav { display: flex; align-items: center; gap: 36px; }
.nav-link { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nav-en {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  color: #fff;
  transition: color .35s ease;
}
.site-header.is-solid .nav-en { color: #12335F; }
.nav-jp { font-size: 10px; color: rgba(255,255,255,.7); transition: color .35s ease; }
.site-header.is-solid .nav-jp { color: #8a94a3; }

.nav-cta {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  background: #F4622A;
  border-radius: 4px;
  transition: background .15s ease;
}
.nav-cta:hover { background: #d9531f; }
.nav-cta span {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  color: #fff;
}
.nav-cta:hover span { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0C2036; color: #fff; padding: 72px 40px 0; }
.footer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { height: auto; width: 180px; max-width: 100%; filter: brightness(0) invert(1); }
.footer-info { font-size: 13px; line-height: 2; color: rgba(255,255,255,.72); }
.footer-info a { color: rgba(255,255,255,.72); }

.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  color: #F4622A;
}
.footer-link { font-size: 13px; color: rgba(255,255,255,.72); }

.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 24px 0;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
}

/* ---------- Responsive (<=768px) ---------- */
@media (max-width: 768px) {
  .page { min-width: 0; }

  .site-header { padding: 0 16px; height: 60px; }
  .logo-img { height: 45px; }
  .nav-toggle { display: flex; }

  .site-header::before {
    inset: 0;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(18,51,95,.08);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .nav-en { color: #12335F; }
  .nav-jp { color: #8a94a3; }

  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    max-width: none;
    padding: 8px 24px 40px;
    background: rgba(10,24,46,.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-link {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav-jp { display: inline; }
  .nav-en { font-size: 16px; white-space: nowrap; }
  .nav-cta { width: 100%; height: 48px; padding: 0; margin-top: 24px; justify-content: center; flex: 0 0 auto; }
  .nav-cta span { font-size: 14px; white-space: nowrap; }
  .main-nav .nav-en { color: #fff; }
  .main-nav .nav-jp { color: rgba(255,255,255,.7); }

  .section-tag { margin-bottom: 32px; }

  .site-footer { padding: 48px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
}
