/* =========================================================
   TYING — common styles (tokens, reset, header, footer, CTA)
   ========================================================= */

:root {
  --ink: #ECEDEA;
  --midnight: #0E0F12;
  --paper: #16171B;
  --terra: #B08D57;
  --muted: #9aa1a8;
  --navy: #2E578C;
  --bordeaux: #592A2A;
  --line: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --pad: clamp(24px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--ink);
  background: var(--midnight);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--terra); color: #fff; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* ----- header ----- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad);
  transition: 0.45s var(--ease);
  color: #fff;
}
.hdr.scrolled {
  background: rgba(14, 15, 18, 0.82);
  backdrop-filter: blur(12px);
  padding: 15px var(--pad);
}
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand img {
  display: block;
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 13px;
  letter-spacing: 0.05em;
  opacity: 0.9;
  position: relative;
  padding: 4px 0;
}
.nav a.active { color: var(--terra); opacity: 1; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.active::after,
.nav .req::after { display: none; }
.nav .req {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 2px;
  padding: 9px 18px;
  transition: 0.3s;
}
.nav .req:hover { background: #fff; color: var(--midnight); }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span { width: 24px; height: 2px; background: #fff; }
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
}
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: var(--midnight);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
.mmenu.open { transform: none; visibility: visible; }
.mmenu a {
  font-family: "Zen Old Mincho", serif;
  font-size: 26px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mmenu .req { color: var(--terra); }

/* Compact header (news / news_detail / 404) — preserves prior breakpoints */
body.hdr-compact .nav { gap: 26px; }
body.hdr-compact .mmenu a { font-size: 24px; padding: 11px 0; }
@media (max-width: 960px) {
  body.hdr-compact .nav { display: none; }
  body.hdr-compact .burger { display: flex; }
}

/* ----- reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: 1s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ----- CTA band (.band / .btn) ----- */
.band {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 130px) var(--pad);
  text-align: center;
}
.band__bg { position: absolute; inset: 0; z-index: 0; }
.band__bg img { filter: grayscale(0.25) brightness(0.75); }
.band__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 10, 12, 0.85), rgba(9, 10, 12, 0.92));
}
.band__in { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.band h2 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 40px);
  color: #fff;
  line-height: 1.5;
  margin-bottom: 16px;
}
.band p { color: #c7cdd2; font-size: 15px; margin-bottom: 34px; }
.btn {
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 16px 30px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: 0.35s var(--ease);
}
.btn.solid { background: var(--terra); color: #fff; }
.btn.solid:hover { background: #C4A066; }
.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  margin-left: 12px;
}
.btn.ghost:hover { background: #fff; color: var(--midnight); }
@media (max-width: 640px) {
  .band__in > div {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }
  .btn.ghost { margin-left: 0; }
}

/* ----- CTA band (index: .cband / .btn2) ----- */
.cband {
  padding: clamp(70px, 10vw, 130px) var(--pad);
  text-align: center;
  background: #0E0F12;
}
.cband h2 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 40px);
  color: #fff;
  line-height: 1.5;
  margin-bottom: 16px;
}
.cband p { color: #c7cdd2; font-size: 15px; margin-bottom: 34px; }
.btn2 {
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 16px 30px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: 0.35s var(--ease);
}
.btn2.solid { background: var(--terra); color: #fff; }
.btn2.solid:hover { background: #C4A066; }
.btn2.ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  margin-left: 12px;
}
.btn2.ghost:hover { background: #fff; color: #0E0F12; }
@media (max-width: 640px) {
  .cband > div {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }
  .btn2.ghost { margin-left: 0; }
}

/* ----- corporate footer ----- */
.ftr {
  position: relative;
  z-index: 1;
  background: #0B0C0E;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ftr__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(56px, 8vw, 92px) var(--pad) clamp(40px, 6vw, 64px);
}
@media (max-width: 960px) {
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ftr__grid { grid-template-columns: 1fr; }
}
.ftr__brand .bl { display: inline-flex; align-items: center; line-height: 1; }
.ftr__brand .bl img {
  display: block;
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.ftr__brand .tg {
  margin-top: 18px;
  font-family: "Zen Old Mincho", serif;
  font-size: 14.5px;
  color: #c7cdd2;
  line-height: 2.2;
  letter-spacing: 0.04em;
}
.ftr__brand .ad {
  margin-top: 18px;
  font-size: 12px;
  color: #7b828a;
  line-height: 1.9;
}
.ftr h4 {
  font-family: "Zen Old Mincho", serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #B08D57;
  margin-bottom: 18px;
  font-weight: 600;
}
.ftr ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
}
.ftr ul a {
  font-size: 13px;
  color: #b9c0c7;
  transition: color 0.25s;
  line-height: 1.7;
}
.ftr ul a:hover { color: #fff; }
.ftr ul a small {
  color: #7b828a;
  font-size: 10.5px;
  margin-left: 8px;
  letter-spacing: 0.06em;
}
.ftr__cta p {
  font-size: 12.5px;
  color: #9aa1a8;
  line-height: 2;
  margin-bottom: 18px;
}
.ftr__cta .fbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #B08D57;
  color: #B08D57;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 13px 26px;
  border-radius: 2px;
  transition: 0.3s;
}
.ftr__cta .fbtn:hover { background: #B08D57; color: #fff; }
.ftr__bar { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.ftr__bar-in {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ftr__bar a {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #9aa1a8;
  transition: color 0.25s;
}
.ftr__bar a:hover { color: #fff; }
.ftr__bar small {
  font-size: 11px;
  color: #7b828a;
  letter-spacing: 0.08em;
}
