:root {
  --ink: #171715;
  --muted: #6d6a63;
  --paper: #fbfaf7;
  --soft: #f1eee7;
  --line: #ded8cc;
  --gold: #9b7a38;
  --cedar: #1f3f38;
  --clay: #9b5849;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(26, 25, 21, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, Arial, sans-serif;
  line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.08; font-family: "Cormorant Garamond", Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 500; letter-spacing: 0; }
:lang(ja) h1, :lang(ja) h2 { line-height: 1.22; }
:lang(ja) h3 { line-height: 1.35; }
h1 { font-size: 86px; max-width: 980px; }
h2 { font-size: 56px; }
h3 { font-size: 28px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, .86);
  border-bottom: 1px solid rgba(222, 216, 204, .72);
  backdrop-filter: blur(18px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  letter-spacing: .04em;
}
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 12px; letter-spacing: .08em; margin-left: auto; }
.nav-links a { color: #34322e; }
.nav-links a:hover { color: var(--gold); }
.nav-side { display: flex; align-items: center; gap: 12px; margin-left: 22px; }
.menu-button { display: none; border: 0; background: transparent; font-size: 24px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 7px 14px;
  font: 12px/1 Inter, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: .05em;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .15s;
}
.lang-toggle:hover { border-color: var(--gold); }
.lang-opt.active { color: var(--gold); font-weight: 600; }
.lang-sep { color: var(--line); }

.hero {
  min-height: 86svh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(23,23,21,.18), rgba(23,23,21,.72)),
    var(--hero-image, url("/J-Catalyst_Portal/assets/hero.jpg?v=20260718c")) center/cover;
  color: var(--white);
}
.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}
.hero p { color: rgba(255,255,255,.84); max-width: 680px; font-size: 20px; margin-top: 22px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* 金屏風の前に、実物の三枚(舞・書・鮨) */
.hero-panels { display: flex; gap: 14px; align-items: flex-end; }
.hero-panel {
  display: block;
  width: 168px;
  padding: 7px 7px 10px;
  background: var(--white);
  box-shadow: 0 26px 60px rgba(10, 9, 7, .5);
  transition: transform .35s ease;
}
.hero-panel:nth-child(1) { transform: translateY(-30px); }
.hero-panel:nth-child(2) { transform: translateY(-12px); }
.hero-panel:hover { transform: translateY(-38px); }
.hero-panel:nth-child(2):hover { transform: translateY(-20px); }
.hero-panel:nth-child(3):hover { transform: translateY(-8px); }
.hero-panel img { aspect-ratio: 3 / 4; }
.hero-cap {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .06em;
}
.button.dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button.ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.52); color: var(--white); }

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}
.section.alt { background: var(--white); }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-note { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

.highlight-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 16px; }
.feature-card, .program-card, .article-card, .signal-card, .movie-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-card { min-height: 360px; position: relative; overflow: hidden; display: grid; align-items: end; }
.feature-card.tall { grid-row: span 2; min-height: 736px; }
.feature-card img { position: absolute; inset: 0; transition: transform .8s ease; }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.66)); }
.feature-card div { position: relative; z-index: 1; padding: 26px; color: var(--white); }
.feature-card p { color: rgba(255,255,255,.82); margin-top: 8px; }
a.feature-card:hover img { transform: scale(1.04); }

/* WANNABES スポンサードBOX */
.wannabes-box {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.wb-media { overflow: hidden; }
.wb-media img { transition: transform .8s ease; }
.wannabes-box:hover .wb-media img { transform: scale(1.04); }
.wb-body { padding: 30px 34px; display: grid; gap: 14px; align-content: center; justify-items: start; }
.wb-body h3 { color: var(--white); font-size: 30px; }
.wb-body p { color: rgba(255,255,255,.75); max-width: 60ch; }
.wb-cta {
  padding-bottom: 3px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e7d4a7;
  border-bottom: 1px solid rgba(155,122,56,.8);
}
.wannabes-box:hover .wb-cta { color: var(--white); border-color: var(--white); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* 番号→見出し→本文を上から積む(justify-betweenだと本文量で見出し位置がガタつくため) */
.program-card { padding: 28px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; }
.program-card .number { color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.program-card p { margin-top: 16px; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card { display: grid; grid-template-rows: 210px auto; min-height: 480px; }
.article-card div { padding: 22px; }
.article-card h3 { font-size: 25px; margin-bottom: 12px; }
.article-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 18px; }
a.article-card { transition: transform .3s ease, border-color .3s ease; }
a.article-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.category-list span { border: 1px solid var(--line); padding: 8px 12px; background: var(--paper); font-size: 12px; color: var(--muted); }

.signal-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.signal-card { min-height: 190px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.signal-card h3 { font-size: 22px; }
.signal-status { margin-top: 18px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
a.signal-card { transition: transform .3s ease, border-color .3s ease; }
a.signal-card:hover { transform: translateY(-3px); border-color: var(--gold); }
a.signal-card .signal-status { color: var(--gold); }

/* Live Signals */
.live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.live-grid.two { grid-template-columns: repeat(2, 1fr); }
.live-grid.single { grid-template-columns: 1fr; }
.live-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.live-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.live-head .eyebrow { margin-bottom: 10px; }
.live-head h3 { font-size: 23px; }
.live-open {
  flex: none;
  margin-top: 6px;
  padding-bottom: 3px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  white-space: nowrap;
}
.live-open:hover { color: var(--ink); border-color: var(--ink); }
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: 1px;
  animation: live-pulse 2.6s ease-in-out infinite;
}
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.live-lead {
  display: grid;
  gap: 14px;
  padding: 12px 12px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.live-lead img { aspect-ratio: 16 / 9; height: auto; }
.live-lead.no-image { padding: 22px; }
.live-lead.no-image .live-title { font-family: "Cormorant Garamond", Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 25px; line-height: 1.22; }
.live-lead:hover .live-title, .live-list a:hover .live-title { color: var(--gold); }
.live-meta { display: block; font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.live-title { display: block; color: var(--ink); font-size: 15px; line-height: 1.5; }
.live-list { list-style: none; margin: 0; padding: 0; }
.live-list li { border-top: 1px solid var(--line); }
.live-list li:first-child { border-top: 0; }
.live-list a { display: block; padding: 13px 2px; }
.live-updated { margin-top: auto; font-size: 12px; letter-spacing: .04em; color: var(--muted); }

/* Network directory */
.net-genre { margin-top: 46px; }
.net-genre:first-child { margin-top: 0; }
.net-genre-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.net-genre-head .eyebrow { margin-bottom: 0; }
.net-genre-head h3 { font-size: 30px; }
.net-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.net-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 150px auto;
  transition: transform .3s ease, border-color .3s ease;
}
.net-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.net-media { overflow: hidden; }
.net-media img { transition: transform .6s ease; }
.net-card:hover .net-media img { transform: scale(1.05); }
.net-media.tile { display: grid; place-items: center; background: var(--ink); }
.net-kanji {
  font-family: "Cormorant Garamond", Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 58px;
  line-height: 1;
  color: #e8d3a2;
}
.net-body { padding: 16px 18px 20px; }
.net-body h4 { margin: 0 0 6px; font-family: Inter, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.net-body p { font-size: 12.5px; line-height: 1.55; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vip-solo { max-width: 760px; }
.vip-solo .button { width: fit-content; }
.image-panel { aspect-ratio: 4 / 5; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.text-stack { display: grid; gap: 22px; }
.text-stack ul { margin: 0; padding-left: 18px; color: var(--muted); }

.movie-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.movie-card { overflow: hidden; }
.movie-frame { aspect-ratio: 16 / 9; background: #161616; display: grid; place-items: center; color: var(--white); font-size: 38px; }
.movie-card div:last-child { padding: 20px; }

.page-hero {
  padding: 118px 0 64px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 760px; font-size: 19px; margin-top: 18px; }
.two-col-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.list-item { border-top: 1px solid var(--line); padding: 22px 0; }
.list-item h3 { font-size: 25px; margin-bottom: 8px; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--ink);
  color: var(--white);
  padding: 42px;
}
.contact-panel p { color: rgba(255,255,255,.72); }
.contact-methods {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 320px;
  border: 1px solid rgba(255,255,255,.22);
  padding: 30px;
  background: rgba(255,255,255,.06);
}
.mail-link {
  display: block;
  width: fit-content;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 36px;
  line-height: 1.1;
  border-bottom: 1px solid rgba(255,255,255,.48);
  overflow-wrap: anywhere;
}
.mail-link:hover { color: #e7d4a7; }

.site-footer { background: #121210; color: var(--white); padding: 54px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; color: rgba(255,255,255,.7); font-size: 13px; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  h1 { font-size: 58px; }
  h2 { font-size: 42px; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    padding: 22px 16px 28px;
    border-bottom: 1px solid var(--line);
  }
  .nav-open .nav-links { display: flex; }
  .menu-button { display: block; }
  .section { padding: 62px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-panels { align-items: stretch; }
  .hero-panel { width: calc((100% - 28px) / 3); }
  .hero-panel:nth-child(1), .hero-panel:nth-child(2) { transform: none; }
  .hero-panel:hover, .hero-panel:nth-child(2):hover, .hero-panel:nth-child(3):hover { transform: translateY(-4px); }
  .section-head, .split, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .highlight-grid, .card-grid, .article-grid, .signal-row, .movie-grid, .two-col-list, .live-grid { grid-template-columns: 1fr; }
  .net-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card, .feature-card.tall { min-height: 420px; grid-row: auto; }
  .article-card { min-height: auto; }
  .footer-links { justify-content: flex-start; }
  .live-lead { grid-template-columns: 1fr; }
  .live-lead img { aspect-ratio: 16 / 9; }
  .wannabes-box { grid-template-columns: 1fr; }
  .wb-media img { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  .hero { min-height: 82svh; }
  .hero-inner { padding: 90px 0 44px; }
  .hero p, .page-hero p { font-size: 17px; }
  .button { width: 100%; }
  .contact-panel { padding: 26px; }
  .live-panel { padding: 22px; }
  .lang-toggle { padding: 6px 10px; font-size: 11px; }
  .net-grid { grid-template-columns: 1fr; }
  .net-card { grid-template-rows: 180px auto; }
}
:lang(ja) h1 { font-size: 64px; }
@media (max-width: 900px) { :lang(ja) h1 { font-size: 46px; } }
@media (max-width: 560px) { :lang(ja) h1 { font-size: 36px; } }
