/* ==========================================================
   ENJOY Inc. — Corporate site shared styles
   ========================================================== */

:root {
  --bg: #f7f5f0;
  --bg-card: #ffffff;
  --bg-alt: #ecebe5;
  --ink: #14171c;
  --ink-2: #3a3f48;
  --ink-3: #6b7280;
  --line: #d9d6cc;
  --line-soft: #e7e4dc;
  --navy: #0f2540;
  --navy-2: #1a3760;
  --accent: #a87042;        /* 銅金 / copper */
  --accent-2: #c8915c;
  --gold: #b89163;
  --max: 1200px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-weight: 400;
  font-feature-settings: "palt" 1;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.serif {
  font-family: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0.04em;
}
.mono {
  font-family: "JetBrains Mono", "SF Mono", Consolas, monospace;
  letter-spacing: 0;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}
.brand__mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.05em;
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute; right: -4px; bottom: -4px;
  width: 10px; height: 10px;
  background: var(--accent);
}
.brand__name {
  display: flex; flex-direction: column; line-height: 1.2;
}
.brand__name .ja {
  font-size: 15px; font-weight: 600; letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand__name .en {
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav {
  display: flex; align-items: center; gap: 28px;
}
.nav a {
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.06em;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav a .en-label {
  display: block; font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px;
  font-family: "Cormorant Garamond", serif;
}
.nav a:hover { color: var(--navy); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent);
}
.nav__cta {
  background: var(--navy); color: #fff !important;
  padding: 12px 22px !important;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: background .2s;
}
.nav__cta:hover { background: var(--navy-2); color: #fff !important; }
.nav__cta::after { display: none !important; }

/* ---------- Page hero / section heads ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; right: -120px; top: -80px;
  width: 360px; height: 360px;
  background: linear-gradient(135deg, rgba(168,112,66,.6), rgba(168,112,66,0));
  filter: blur(40px);
}
.page-hero__inner { position: relative; }
.page-hero .eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px; letter-spacing: 0.3em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero .eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--accent-2);
}
.page-hero h1 {
  margin: 0;
  font-size: 44px;
  font-family: "Shippori Mincho B1", "Yu Mincho", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.page-hero .ja-sub {
  margin-top: 12px;
  font-size: 14px; letter-spacing: 0.2em;
  color: rgba(255,255,255,.65);
}

.section-head {
  display: flex; align-items: baseline; gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.section-head .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.2em;
}
.section-head .title {
  font-family: "Shippori Mincho B1", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0;
}
.section-head .en-sub {
  margin-left: auto;
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  font-size: 13px;
  letter-spacing: 0.12em;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: all .2s;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--primary {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn--primary:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost-light {
  border-color: rgba(255,255,255,.45); color: #fff;
}
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn .arrow { font-family: "Cormorant Garamond", serif; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1729;
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
  margin-top: 0;
  font-size: 13px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.site-footer h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500;
}
.site-footer .brand--foot {
  color: #fff;
}
.site-footer .brand--foot .ja {
  font-family: "Shippori Mincho B1", serif;
  font-size: 20px; letter-spacing: 0.08em; color: #fff;
  margin-bottom: 6px;
}
.site-footer .brand--foot .en {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px; letter-spacing: 0.24em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a:hover { color: var(--accent-2); }
.site-footer .addr { line-height: 1.85; color: rgba(255,255,255,.75); margin-top: 14px; font-size: 12.5px; }
.site-footer .meta {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 48px; padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: rgba(255,255,255,.5);
  letter-spacing: 0.08em;
}

/* ---------- Image placeholder ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      #e9e5db 0, #e9e5db 14px,
      #ddd9cd 14px, #ddd9cd 15px);
  color: var(--ink-3);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph .ph-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  display: block;
}
.ph::before {
  content: "";
  position: absolute; inset: 16px;
  border: 1px dashed rgba(0,0,0,.12);
  z-index: 1;
}
.ph .ph-label {
  position: relative; z-index: 2;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; letter-spacing: 0.14em;
  color: rgba(0,0,0,.5);
  background: rgba(247,245,240,.85);
  padding: 6px 10px;
  text-transform: uppercase;
}
.ph--dark {
  background:
    repeating-linear-gradient(135deg,
      #16243a 0, #16243a 14px,
      #122036 14px, #122036 15px);
}
.ph--dark::before { border-color: rgba(255,255,255,.12); }
.ph--dark .ph-label {
  background: rgba(10,23,41,.75); color: rgba(255,255,255,.7);
}

/* ---------- Tables ---------- */
.dl-table {
  width: 100%;
  border-top: 1px solid var(--line);
}
.dl-table .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.dl-table dt {
  color: var(--ink-3);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin: 0;
}
.dl-table dd { margin: 0; line-height: 1.85; color: var(--ink); }

/* ---------- Utility ---------- */
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .section-head .title { color: #fff; }
.section--navy .section-head { border-bottom-color: rgba(255,255,255,.18); }
.section--navy .section-head .en-sub { color: rgba(255,255,255,.5); }

.divider-v {
  width: 1px; background: var(--line); align-self: stretch;
}

/* responsive */
@media (max-width: 1024px) {
  .nav { gap: 18px; }
  .nav a .en-label { display: none; }
}
@media (max-width: 880px) {
  .site-header__inner { padding: 14px 20px; }
  .nav { gap: 14px; }
  .nav a .en-label { display: none; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .page-hero { padding: 70px 0 56px; }
  .page-hero h1 { font-size: 30px; }
  .section { padding: 70px 0; }
  .section-head { flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
  .section-head .title { font-size: 22px; }
  .section-head .en-sub { margin-left: 0; width: 100%; }
  .dl-table .row { grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 4px; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .meta { flex-direction: column; gap: 10px; align-items: flex-start; }
}
