@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500&family=Noto+Sans+JP:wght@300;400&display=swap');

/* ── CSS変数 ── */
:root {
  --ink:        #2C2C2A;
  --ink-mid:    #5F5E5A;
  --mid:        #888780;
  --vermillion: #8B3A2A;
  --white:      #FFFFFF;
  --beige-0:    #FAF8F4;
  --beige-1:    #F7F4EE;
  --beige-2:    #EDE8DC;
  --beige-cta:  #F5E4D9;
  --border:     #E0DDD5;
  --dark:       #2C2C2A;
  --content-w:  1100px;
  --nav-h:      62px;
}

/* ── リセット ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
}

/* ── NAV ── */
.nav-outer {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 100; background: transparent; transition: background .25s;
}
.nav-outer.is-sticky { position: fixed; background: var(--dark); }
body.admin-bar .nav-outer.is-sticky { top: 32px; }
@media screen and (max-width: 600px) { body.admin-bar .nav-outer.is-sticky { top: 46px; } }
.nav-inner {
  max-width: var(--content-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: var(--nav-h);
}
.nav-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px; font-weight: 500; letter-spacing: .1em;
  line-height: 1.5; color: rgba(255,255,255,.92);
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 16px; letter-spacing: .1em;
  color: rgba(255,255,255,.62); text-decoration: none; font-weight: 300;
  text-shadow: 0 1px 3px rgba(0,0,0,.35); transition: color .2s;
}
.nav-links a:hover { color: rgba(255,255,255,.92); }
.nav-links a.active { color: rgba(255,255,255,.95); }
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.9); font-size: 22px; line-height: 1; padding: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* ── セクション共通 ── */
.sec { width: 100%; }
.sec-inner { max-width: var(--content-w); margin: 0 auto; padding: 60px 40px; }
.sec-bg-white  { background: var(--white); }
.sec-bg-beige1 { background: var(--beige-1); }
.sec-bg-beige2 { background: var(--beige-2); }
.sec-bg-cta    { background: var(--beige-cta); }
.sec-bg-dark   { background: var(--dark); }
.sec-bg-white + .sec-bg-white .sec-inner { border-top: 1px solid var(--border); }

.ew { font-size: 11px; letter-spacing: .4em; color: var(--mid); font-weight: 300; margin-bottom: 8px; }
.sec-title { font-family: 'Noto Serif JP', serif; font-size: 25px; font-weight: 400; letter-spacing: .05em; margin-bottom: 28px; color: var(--ink); }
.sec-bg-dark .ew { color: rgba(255,255,255,.28); }
.sec-bg-dark .sec-title { color: rgba(255,255,255,.82); }

.text-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--ink-mid); padding-bottom: 1px;
  letter-spacing: .05em; transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--vermillion); border-color: var(--vermillion); }
.sec-link-wrap { margin-top: 20px; text-align: right; }

/* ── CTA ── */
.cta-inner { text-align: center; }
.cta-eyebrow { font-size: 11px; letter-spacing: .28em; color: var(--vermillion); margin-bottom: 16px; font-weight: 300; }
.cta-heading { font-family: 'Noto Serif JP', serif; font-size: 26px; font-weight: 400; color: var(--ink); line-height: 1.7; letter-spacing: .05em; margin-bottom: 14px; }
.cta-body { font-size: 14px; color: var(--ink-mid); line-height: 2.0; margin-bottom: 32px; }
.cta-btn {
  display: inline-block; background: var(--vermillion); color: #fff;
  font-size: 15px; padding: 16px 56px; border-radius: 32px;
  text-decoration: none; letter-spacing: .14em;
  box-shadow: 0 3px 14px rgba(139,58,42,.35);
  transition: background .2s, transform .15s, box-shadow .15s;
}
.cta-btn:hover { background: #7A2E1A; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(139,58,42,.45); }

/* ── LINKS ── */

.links-section .sec-inner { padding-bottom: 28px; }
.links-list { display: flex; flex-direction: column; gap: 6px; }
.link-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border: 0.5px solid rgba(255,255,255,.12); border-radius: 3px;
  text-decoration: none; color: rgba(255,255,255,.7); font-size: 14px; background: transparent;
  transition: background .15s, border-color .15s;
}
.link-item:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); }
.link-ext { font-size: 12px; color: rgba(255,255,255,.3); flex-shrink: 0; margin-left: 16px; white-space: nowrap; }

/* ── FOOTER ── */
footer { background: var(--dark); }
.footer-inner { max-width: var(--content-w); margin: 0 auto; padding: 18px 40px 36px; display: flex; align-items: center; justify-content: space-between; }
footer p { font-size: 13px; color: rgba(255,255,255,.28); letter-spacing: .08em; }
.footer-nav { font-size: 13px; color: rgba(255,255,255,.28); letter-spacing: .05em; display: flex; align-items: center; }
.footer-nav a { color: rgba(255,255,255,.28); text-decoration: none; padding: 4px 10px; }
.footer-nav a:first-child { padding-left: 0; }
.footer-nav a:visited { color: rgba(255,255,255,.28); }
.footer-nav a:hover { color: rgba(255,255,255,.55); }

/* ── SP DRAWER ── */
.sp-drawer-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.5);
  opacity: 0; transition: opacity .28s ease;
}
.sp-drawer-overlay.is-open { display: block; }
.sp-drawer-overlay.is-visible { opacity: 1; }

.sp-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(320px, 90vw);
  background: var(--dark);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  padding: 0 0 40px;
}
.sp-drawer.is-open { transform: translateX(0); }

.sp-drawer-head {
  display: flex; align-items: center; justify-content: flex-end;
  height: 52px; padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sp-drawer-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.6); font-size: 24px; line-height: 1;
  padding: 4px; display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.sp-drawer-close:hover { color: rgba(255,255,255,.95); }

.sp-drawer-nav { list-style: none; padding: 20px 0; flex: 1; }
.sp-drawer-nav li + li { border-top: 1px solid rgba(255,255,255,.06); }
.sp-drawer-nav a {
  display: block; padding: 18px 28px;
  font-size: 17px; letter-spacing: .12em; font-weight: 300;
  color: rgba(255,255,255,.65); text-decoration: none;
  transition: color .2s, background .2s;
}
.sp-drawer-nav a:hover { color: rgba(255,255,255,.95); background: rgba(255,255,255,.04); }
.sp-drawer-nav a.active { color: var(--white); }
.sp-drawer-nav a.active::before {
  content: ''; display: inline-block;
  width: 3px; height: 14px; background: var(--vermillion);
  vertical-align: middle; margin-right: 12px; border-radius: 2px;
}

/* ===== SP OVERRIDES ===== */
@media (max-width: 767px) {
  :root { --nav-h: 52px; }

  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; align-items: center; }

  .sec-inner { padding: 44px 20px; }
  .sec-title { font-size: 22px; margin-bottom: 20px; }
  .sec-link-wrap { text-align: center; }

  .cta-heading { font-size: 20px; }
  .cta-btn { padding: 15px 0; display: block; width: 100%; text-align: center; }

  .footer-inner { flex-direction: column-reverse; align-items: center; gap: 10px; padding: 20px 20px 28px; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .footer-nav a:first-child { padding-left: 10px; }
}
