:root {
  --ink: #0e2a20;
  --forest: #12382a;
  --forest-2: #1b4d39;
  --cream: #f6f1e7;
  --sand: #ebe2cf;
  --sun: #e8743b;
  --sun-soft: #f4b183;
  --muted: #5d6b62;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.top {
  position: absolute; z-index: 5; inset: 0 0 auto 0;
  color: #fff;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.logo b { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.18em; font-weight: 700; }
.logo span { font-size: 0.68rem; letter-spacing: 0.12em; opacity: 0.8; }
.top nav { display: flex; gap: 26px; font-size: 0.85rem; letter-spacing: 0.08em; }
.top nav a { text-decoration: none; opacity: 0.9; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.top nav a:hover { border-color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: min(100vh, 880px); min-height: min(100svh, 880px);
  background: #14303c;
  display: flex; align-items: flex-start;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../img/hero.jpg") center 62% / cover no-repeat;
  filter: brightness(1.18) saturate(1.2) contrast(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 24, 22, 0.42) 0%, rgba(8, 24, 22, 0) 24%),
    linear-gradient(90deg, rgba(8, 24, 22, 0.5) 0%, rgba(8, 24, 22, 0.2) 45%, rgba(8, 24, 22, 0) 78%),
    linear-gradient(0deg, rgba(8, 24, 22, 0.32) 0%, rgba(8, 24, 22, 0) 26%);
}
.hero .wrap { position: relative; z-index: 3; padding-top: clamp(120px, 20vh, 200px); width: 100%; }
.kicker { font-size: 0.78rem; letter-spacing: 0.32em; opacity: 0.85; margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.2rem, 6.4vw, 4.6rem); line-height: 1.32; letter-spacing: 0.04em; margin: 0 0 22px;
  text-shadow: 0 2px 30px rgba(10, 25, 30, 0.35);
}
.hero h1 em { font-style: normal; color: #ffc99a; text-shadow: 0 1px 3px rgba(10, 25, 30, 0.55), 0 2px 30px rgba(10, 25, 30, 0.45); }
.lead { max-width: 30em; font-size: clamp(0.95rem, 1.6vw, 1.05rem); opacity: 0.92; margin: 0 0 34px; text-shadow: 0 1px 14px rgba(10, 25, 30, 0.4); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--sun); color: #fff; padding: 15px 28px; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.06em; font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(232, 116, 59, 0.38); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(232, 116, 59, 0.5); }
.btn.ghost { background: transparent; box-shadow: none; border: 1px solid rgba(255,255,255,0.7); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.12); box-shadow: none; }

.scroll { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 0.68rem; letter-spacing: 0.3em; color: #fff; opacity: .85; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll::after { content: ""; width: 1px; height: 30px; background: #fff; animation: drip 2s ease-in-out infinite; transform-origin: top; }

@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .kicker, .hero h1, .hero .lead, .hero .cta { animation: fadeup 1s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .15s; } .hero .lead { animation-delay: .3s; } .hero .cta { animation-delay: .45s; }

/* ---------- sections ---------- */
section { padding: clamp(72px, 11vw, 130px) 0; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.34em; color: var(--sun); font-weight: 700; margin: 0 0 14px; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.45; letter-spacing: 0.04em; margin: 0 0 20px; }

/* intro */
.intro .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro p { color: var(--muted); margin: 0 0 1em; }
.model { background: #fff; border-radius: 4px; padding: 34px 32px; box-shadow: 0 30px 60px -30px rgba(14, 42, 32, 0.35); position: relative; }
.model::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--sun); }
.model .cap { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--muted); margin: 0 0 6px; }
.model .big { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 700; line-height: 1.2; margin: 0; }
.model .big small { font-size: 0.4em; margin-left: 4px; }
.model dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--sand); font-size: 0.9rem; }
.model dt { color: var(--muted); } .model dd { margin: 0; font-weight: 700; font-family: var(--serif); font-size: 1.05rem; }
.model .note { font-size: 0.75rem; color: var(--muted); margin: 18px 0 0; line-height: 1.7; }

/* tools */
.tools { background: var(--forest); color: #fff; }
.tools h2 { color: #fff; }
.tools .sub { color: rgba(255,255,255,.7); max-width: 34em; margin: 0 0 48px; }
.row { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.2); text-decoration: none; color: inherit; transition: padding .3s, background .3s; }
.row:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.row .no { font-family: var(--serif); font-size: 2.6rem; color: var(--sun-soft); line-height: 1; }
.row h3 { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.55rem); margin: 0 0 6px; letter-spacing: .04em; }
.row p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.7); }
.row .go { font-size: 0.8rem; letter-spacing: .12em; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.row .go::after { content: "→"; font-size: 1.3rem; transition: transform .3s; }
a.row:hover { background: rgba(255,255,255,.05); padding-left: 16px; }
a.row:hover .go::after { transform: translateX(6px); }
.row.soon { opacity: .55; }
.row.soon .go::after { content: ""; }
.row.soon .go { border: 1px solid rgba(255,255,255,.5); padding: 3px 14px; border-radius: 99px; font-size: .72rem; }

/* articles */
.articles .head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.art { text-decoration: none; display: flex; flex-direction: column; }
.art .pic { aspect-ratio: 4 / 3; border-radius: 4px; position: relative; overflow: hidden; margin-bottom: 18px; display: flex; align-items: flex-end; padding: 16px; color: #fff; }
.art .pic span { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; letter-spacing: .06em; position: relative; z-index: 1; }
.art .pic { background-size: cover; background-position: center; background-color: var(--forest); transition: transform .5s; }
.art .pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,24,22,.72) 0%, rgba(8,24,22,.1) 60%, rgba(8,24,22,0) 100%); }
.art .pic.p1 { background-image: url("../img/card-items.jpg"); }
.art .pic.p2 { background-image: url("../img/card-range.jpg"); background-position: 30% center; }
.art .pic.p3 { background-image: url("../img/card-saving.jpg"); }
.art .pic.p4 { background-image: url("../img/page-roadmap.jpg"); }
.art .pic.p5 { background-image: url("../img/page-clubs.jpg"); }
a.art:hover .pic { transform: scale(1.02); }
.credit { flex-basis: 100%; font-size: .7rem; opacity: .6; margin: 0; }
.credit a { border-bottom-color: rgba(255,255,255,.2); }
.art .tag { font-size: .72rem; letter-spacing: .2em; color: var(--sun); font-weight: 700; }
.art h3 { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; margin: 4px 0 8px; }
.art p { font-size: .88rem; color: var(--muted); margin: 0; }
a.art:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.art.soon { opacity: .85; }

/* closing */
.closing { background: var(--sand); text-align: center; }
.closing h2 { margin-bottom: 14px; }
.closing p { color: var(--muted); margin: 0 auto 34px; max-width: 30em; }
.closing .btn { box-shadow: 0 10px 28px rgba(232,116,59,.3); }

/* footer */
footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 44px 0; font-size: .8rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; }
footer b { font-family: var(--serif); color: #fff; letter-spacing: .16em; font-size: 1rem; }
footer a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
footer .pr { flex-basis: 100%; font-size: .72rem; opacity: .7; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .intro .grid { grid-template-columns: 1fr; }
  .arts { grid-template-columns: 1fr; }
  .row { grid-template-columns: 56px 1fr; gap: 14px; }
  .row .go { grid-column: 2; }
  .row .no { font-size: 1.9rem; }
  .art .pic { aspect-ratio: 16 / 9; }
  .top nav { gap: 14px; font-size: .74rem; letter-spacing: .04em; }
  .logo b { font-size: 1rem; }
  .logo span { font-size: .6rem; letter-spacing: .04em; }
  .hero .wrap { padding-top: 120px; }
}

@media (max-width: 420px) {
  .top nav a:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 次回予告カード（js/next-up.js） ---------- */
.next-up { display: grid; grid-template-columns: 5fr 6fr; background: #fff; border-radius: 4px; overflow: hidden; margin: 3em 0 2em; box-shadow: 0 24px 44px -34px rgba(14, 42, 32, .5); }
.nu-pic { position: relative; min-height: 250px; background-size: cover; background-position: center 60%; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px; }
.nu-pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,24,22,.78) 0%, rgba(8,24,22,.15) 65%, rgba(8,24,22,0) 100%); }
.nu-next, .nu-date { position: relative; z-index: 1; }
.nu-next { font-family: var(--serif); font-style: italic; font-size: 2.4rem; line-height: 1; letter-spacing: .04em; }
.nu-date { font-size: .74rem; letter-spacing: .26em; margin-top: 10px; opacity: .9; }
.nu-body { padding: 28px 30px 26px; }
.nu-tag { font-size: .72rem; letter-spacing: .2em; color: var(--sun); font-weight: 700; }
.next-up h3 { font-family: var(--serif); font-size: 1.4rem; line-height: 1.55; margin: 6px 0 10px; color: var(--ink); border: 0; padding: 0; }
.next-up .nu-lead { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.next-up .nu-q { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--sand); }
.next-up .nu-q li { font-size: .9rem; padding: 9px 0 9px 1.4em; border-bottom: 1px solid var(--sand); position: relative; background: none; box-shadow: none; }
.next-up .nu-q li::before { content: "—"; position: absolute; left: 0; color: var(--sun); }
@media (max-width: 720px) {
  .next-up { grid-template-columns: 1fr; }
  .nu-pic { min-height: 0; aspect-ratio: 16 / 9; }
  .nu-body { padding: 22px 20px 20px; }
  .next-up h3 { font-size: 1.22rem; }
}
