/* ── common.css — shared across all sub-pages ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark:   #181818;
  --navy:   #1c2b3a;
  --orange: #e07820;
  --light:  #f5f4f0;
  --gray:   #888;
  --border: #e0e0e0;
  --font:   'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: #fff; overflow-x: hidden; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--dark); text-decoration: none; }
.nav-logo img { height: 30px; width: auto; flex-shrink: 0; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 12.5px; font-weight: 500; color: var(--dark); text-decoration: none; letter-spacing: .04em; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #555; }
.nav-cta { padding: 9px 22px !important; background: var(--dark) !important; color: #fff !important; }
.nav-cta:hover { opacity: .8; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); }

/* PAGE HERO */
.page-hero {
  margin-top: 68px;
  background: var(--dark);
  padding: 56px 80px 52px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.page-hero-en {
  font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .22em;
  text-transform: uppercase; margin-bottom: 10px;
}
.page-hero-ja { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.page-hero-accent {
  display: inline-block; width: 32px; height: 4px;
  background: rgba(255,255,255,.35); margin-top: 16px;
}

/* BREADCRUMB */
.breadcrumb {
  background: #f9f9f9; border-bottom: 1px solid var(--border);
  padding: 10px 80px; display: flex; gap: 6px; align-items: center;
  font-size: 11.5px; color: var(--gray);
}
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb span { color: #bbb; }

/* CONTENT WRAPPER */
.content { max-width: 860px; margin: 0 auto; padding: 72px 40px 100px; }
.content-wide { padding: 72px 80px 100px; }

/* SECTION HEADING */
.sec-head { margin-bottom: 48px; }
.sec-head-ja { font-size: 22px; font-weight: 700; letter-spacing: .04em; }
.sec-head-en { font-size: 11px; color: var(--gray); letter-spacing: .18em; margin-top: 4px; }
.sec-head-line { display: block; width: 32px; height: 3px; background: var(--dark); margin-top: 12px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; font-size: 13px; font-weight: 500;
  letter-spacing: .05em; text-decoration: none; cursor: pointer;
  border: none; font-family: var(--font); transition: all .28s;
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { opacity: .85; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* FOOTER */
.footer { background: #111; color: #fff; padding: 60px 80px 36px; }
.footer-top {
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; margin-bottom: 52px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-logo-txt { font-size: 17px; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }
.footer-tagline { font-size: 11.5px; color: rgba(255,255,255,.4); margin-bottom: 28px; }
.footer-sns { display: flex; gap: 12px; }
.footer-sns a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; transition: all .25s;
}
.footer-sns a:hover { background: #fff; color: var(--dark); }
.footer-nav { display: flex; gap: 44px; }
.footer-nav-col h4 { font-size: 12px; font-weight: 700; margin-bottom: 18px; letter-spacing: .04em; }
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col a { font-size: 11.5px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.footer-nav-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.3); }

/* BACK TO TOP */
.back-top {
  position: fixed; bottom: 36px; right: 36px; z-index: 100;
  width: 46px; height: 46px; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; opacity: 0; transform: translateY(8px);
  transition: all .3s;
}
.back-top.show { opacity: 1; transform: none; }

/* FADE IN */
.fi { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.fi.show { opacity: 1; transform: none; }
.fi-d1 { transition-delay: .1s; } .fi-d2 { transition-delay: .2s; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 44px 24px 40px; }
  .breadcrumb { padding: 10px 20px; }
  .content { padding: 48px 20px 72px; }
  .content-wide { padding: 48px 20px 72px; }
  .footer { padding: 44px 24px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav { flex-wrap: wrap; gap: 28px; }

  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; z-index: 199;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .nav.open .nav-links li { border-bottom: 1px solid var(--border); }
  .nav.open .nav-links a {
    display: block; padding: 14px 24px;
    font-size: 14px;
  }
  .nav.open .nav-links .nav-cta {
    margin: 12px 24px; text-align: center;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-hamburger span { transition: all .25s; }
}
