/*
Theme Name: JUKEBOXX
Theme URI: https://jukeboxx.jp/
Author: kayamoto
Description: JUKEBOXX 公式サイト用テーマ。旧サイト（Movable Type）のブランド（ネイビー＋オレンジレッド）を継承しつつモダン化したトップページデザインを実装。
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: jukeboxx
*/

:root{
  --navy: #101B3B;
  --navy-2: #172552;
  --accent: #FF3300;
  --accent-dark: #D42900;
  --cream: #FAF7F1;
  --card: #FFFFFF;
  --ink: #17181C;
  --muted: #6B6D76;
  --line: #E7E2D6;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.disp{ font-family: 'Oswald', 'Noto Sans JP', sans-serif; letter-spacing: 0.02em; }
a{ color: var(--accent); text-decoration: none; }
a:hover{ color: var(--accent-dark); }
img{ max-width: 100%; display: block; }
::selection{ background: var(--accent); color: #fff; }

/* ---- nav ---- */
.jbx-nav{
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: rgba(16,27,59,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.jbx-nav-brand{ display: flex; align-items: center; gap: 10px; }
.jbx-nav-brand span{ font-size: 20px; font-weight: 700; color: #fff; line-height: 1; }
.jbx-nav-links{ display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.jbx-nav-links a{ font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: #EDEEF2; }
.jbx-nav-cta{
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: #fff !important;
  background: var(--accent); padding: 9px 16px; border-radius: 3px;
}
.jbx-nav-toggle{
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; padding: 0;
}

/* ---- hero ---- */
.jbx-hero{
  position: relative;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 55%, #1C2E63 100%);
  padding: 76px 40px 90px;
  overflow: hidden;
}
.jbx-hero-rings{ position: absolute; right: -220px; top: -260px; opacity: 0.5; }
.jbx-hero-inner{
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 56px; flex-wrap: wrap;
  position: relative;
}
.jbx-hero-photo-left .jbx-hero-photo-wrap{ order: -1; }
.jbx-hero-copy{ flex: 1 1 420px; min-width: 300px; }
.jbx-eyebrow{
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--accent); border: 1px solid rgba(255,51,0,0.5);
  padding: 6px 12px; border-radius: 20px; margin-bottom: 22px;
}
.jbx-hero-title{ margin: 0 0 18px; font-size: 68px; line-height: 0.98; font-weight: 700; color: #fff; }
.jbx-hero-title em{ font-style: normal; color: var(--accent); }
.jbx-hero-lede{ margin: 0 0 34px; font-size: 15px; line-height: 1.9; color: #C9CCDA; max-width: 460px; }
.jbx-hero-ctas{ display: flex; gap: 14px; flex-wrap: wrap; }
.jbx-btn{
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: #fff;
  background: var(--accent); padding: 14px 26px; border-radius: 3px; display: inline-block;
}
.jbx-btn:hover{ color: #fff; background: var(--accent-dark); }
.jbx-btn-outline{
  background: transparent; border: 1px solid rgba(255,255,255,0.35); color: #fff; padding: 13px 26px;
}
.jbx-hero-photo-wrap{ flex: 1 1 380px; min-width: 280px; display: flex; justify-content: center; }
.jbx-hero-photo{
  background: #fff; padding: 10px 10px 16px; border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  max-width: 680px; width: 100%;
}
.jbx-hero-photo img{ width: 100%; filter: saturate(1.03); }
.jbx-hero-photo-cap{ padding-top: 10px; font-size: 11px; color: #8B8D97; text-align: center; letter-spacing: 0.04em; }

/* ---- sections ---- */
.jbx-section{ max-width: 1000px; margin: 0 auto; padding: 84px 40px 20px; }
.jbx-section-head{ display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.jbx-kicker{ font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 8px; }
.jbx-h2{ margin: 0; font-size: 30px; font-weight: 600; color: var(--ink); }
.jbx-h2-light{ color: #fff; }
.jbx-muted-link{ font-size: 13px; color: var(--muted); }

/* ---- news feed ---- */
.jbx-feed{ border-top: 1px solid var(--line); }
.jbx-feed-row{
  display: flex; align-items: center; gap: 20px; padding: 18px 6px;
  border-bottom: 1px solid var(--line);
}
.jbx-feed-tag{
  flex: 0 0 74px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #fff;
  text-align: center; padding: 5px 4px; border-radius: 3px;
}
.jbx-feed-date{ flex: 0 0 78px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.jbx-feed-title{ flex: 1 1 auto; font-size: 15px; color: var(--ink); font-weight: 500; }
.jbx-feed-arrow{ flex: 0 0 16px; opacity: 0.35; }
.jbx-feed-empty{ padding: 30px 6px; color: var(--muted); font-size: 14px; }

/* ---- video ---- */
.jbx-video-section{ background: var(--navy); padding: 90px 40px; }
.jbx-video-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jbx-video-card{ border-radius: 6px; overflow: hidden; background: #000; }
.jbx-video-card video{ width: 100%; aspect-ratio: 16/10; display: block; background: #000; }
.jbx-video-caption{ padding: 14px 4px 0; }
.jbx-video-caption .disp{ font-size: 16px; font-weight: 700; color: #fff; }
.jbx-video-note{ margin: 22px 0 0; font-size: 12px; color: rgba(255,255,255,0.4); }

/* ---- gallery ---- */
.jbx-gallery-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.jbx-gallery-tile{
  display: block; border-radius: 4px; overflow: hidden; aspect-ratio: 1/1; position: relative; background: #2B3350;
  background-size: cover; background-position: center;
}
.jbx-gallery-tile::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 45%);
}
.jbx-gallery-cap{ position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: 11px; color: #fff; line-height: 1.4; z-index: 1; }

/* ---- single post prev/next ---- */
.jbx-post-nav{
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.jbx-post-nav-next{ text-align: right; }
.jbx-post-nav-label{ font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.jbx-post-nav-cell a{ font-size: 14px; font-weight: 500; color: var(--ink); }
.jbx-post-nav-cell a:hover{ color: var(--accent); }
@media (max-width: 600px){
  .jbx-post-nav{ grid-template-columns: 1fr; }
  .jbx-post-nav-next{ text-align: left; }
}

/* ---- footer ---- */
.jbx-footer{ background: #0C1530; padding: 70px 40px 30px; }
.jbx-footer-inner{ max-width: 1000px; margin: 0 auto; }
.jbx-footer-grid{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; }
.jbx-footer-heading{ font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; }
.jbx-footer-links{ display: flex; flex-direction: column; gap: 10px; }
.jbx-footer-links a{ font-size: 13px; color: #B7BAC9; }
.jbx-footer-bottom{
  margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.jbx-footer-brand{ font-size: 15px; font-weight: 700; color: #fff; }
.jbx-footer-copy{ font-size: 12px; color: #6E7180; }

/* ---- responsive ---- */
@media (max-width: 900px){
  .jbx-nav-toggle{ display: flex; }
  .jbx-nav-links{
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px 24px 20px;
  }
  .jbx-nav-links.is-open{ display: flex; }
  .jbx-nav-links a{ width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .jbx-nav-links a.jbx-nav-cta{ margin-top: 14px; border-bottom: none; text-align: center; }

  .jbx-hero{ padding: 40px 20px 56px; }
  .jbx-hero-inner{ gap: 34px; }
  .jbx-hero-title{ font-size: 44px; }

  .jbx-section{ padding: 56px 20px 10px; }
  .jbx-video-section{ padding: 56px 20px; }
  .jbx-video-grid{ grid-template-columns: 1fr; }
  .jbx-gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jbx-footer{ padding: 48px 20px 24px; }
  .jbx-footer-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .jbx-feed-row{ gap: 12px; }
  .jbx-feed-tag{ flex-basis: 58px; font-size: 10px; }
  .jbx-feed-date{ flex-basis: 60px; font-size: 12px; }
}
