:root {
  --z-yellow: #ffd400;
  --z-yellow-2: #ffb800;
  --z-black: #080808;
  --z-dark: #141414;
  --z-white: #ffffff;
  --z-cream: #fff6bd;
  --z-pink: #ff2bd6;
  --z-cyan: #00e5ff;
  --z-red: #ff204e;
  --z-green: #7cff00;
  --z-text: #202020;
  --z-muted: #636363;
  --z-border: rgba(0, 0, 0, 0.12);
  --z-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  --z-radius-xl: 34px;
  --z-radius-lg: 24px;
  --z-radius-md: 16px;
  --z-font: "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--z-text);
  font-family: var(--z-font);
  line-height: 1.85;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 43, 214, 0.42), transparent 26vw),
    radial-gradient(circle at 88% 10%, rgba(0, 229, 255, 0.42), transparent 25vw),
    radial-gradient(circle at 50% 100%, rgba(255, 212, 0, 0.62), transparent 38vw),
    linear-gradient(135deg, #ffd400 0%, #ffed00 24%, #111 24.2%, #111 31%, #ffd400 31.2%, #ffed00 60%, #111 60.2%, #111 68%, #ffd400 68.2%);
  background-size: 140% 140%;
  animation: bodyGlow 15s ease-in-out infinite alternate;
  overflow-x: hidden;
}

@keyframes bodyGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

a {
  color: #006d8f;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: #d300a9;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text,
.skip-link {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 16px;
  top: 16px;
  width: auto;
  z-index: 100000;
  background: var(--z-black);
  color: var(--z-yellow);
  padding: 12px 16px;
  border-radius: 999px;
}

.motion-stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.orb {
  position: absolute;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.7;
  mix-blend-mode: screen;
  animation: floatOrb 13s ease-in-out infinite alternate;
}

.orb-a {
  left: -10vw;
  top: 2vh;
  background: var(--z-pink);
}

.orb-b {
  right: -12vw;
  top: 20vh;
  background: var(--z-cyan);
  animation-delay: -4s;
}

.orb-c {
  left: 30vw;
  bottom: -20vw;
  background: var(--z-yellow);
  animation-delay: -8s;
}

@keyframes floatOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(5vw, -4vh, 0) scale(1.18); }
}

.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.06), rgba(255,255,255,0.06) 1px, transparent 1px, transparent 6px);
  opacity: 0.22;
  animation: scanMove 6s linear infinite;
}

@keyframes scanMove {
  to { transform: translateY(36px); }
}

.site-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 24px auto 64px;
  background: rgba(255, 255, 255, 0.92);
  border: 4px solid var(--z-black);
  border-radius: var(--z-radius-xl);
  box-shadow: var(--z-shadow), 12px 12px 0 var(--z-black);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 8, 8, 0.94);
  color: var(--z-white);
  border-bottom: 5px solid var(--z-yellow);
  box-shadow: 0 14px 34px rgba(0,0,0,0.34);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px 12px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.custom-logo-wrap img {
  max-height: 68px;
  width: auto;
}

.site-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.08em;
  transform: skew(-6deg);
}

.site-title a {
  color: var(--z-yellow);
  text-decoration: none;
  text-shadow: 3px 3px 0 var(--z-pink), 6px 6px 0 #000;
}

.site-description {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--z-yellow);
  color: var(--z-black);
  border: 3px solid var(--z-black);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 1000;
  box-shadow: 4px 4px 0 var(--z-pink);
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--z-black);
  border-radius: 99px;
  content: "";
}

.menu-toggle__bars::before { transform: translateY(-7px); }
.menu-toggle__bars::after { transform: translateY(4px); }

.main-navigation {
  background: linear-gradient(90deg, #070707, #1a1a1a, #070707);
  overflow-x: auto;
}

.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 10px 18px 14px;
}

.main-navigation li {
  position: relative;
  margin: 0;
}

.main-navigation a {
  display: block;
  color: var(--z-white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 10px 16px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  background: var(--z-yellow);
  color: var(--z-black);
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 0 0 3px var(--z-pink), 0 10px 22px rgba(255, 212, 0, 0.32);
}

.front-main {
  background: linear-gradient(180deg, rgba(255,255,255,0.28), #fff 42%);
}

.hero-visual {
  position: relative;
  min-height: clamp(620px, 72vh, 850px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 100px) clamp(22px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,43,214,0.72), transparent 20%),
    radial-gradient(circle at 78% 22%, rgba(0,229,255,0.72), transparent 22%),
    radial-gradient(circle at 50% 94%, rgba(255,212,0,0.92), transparent 24%),
    linear-gradient(135deg, #050505 0%, #1b1026 44%, #050505 100%);
  color: var(--z-white);
  isolation: isolate;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.16) 0 1px, transparent 1.2px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.12) 0 1px, transparent 1.3px);
  background-size: 32px 32px, 46px 46px;
  opacity: 0.34;
  animation: noiseShift 3s steps(5) infinite;
  z-index: -3;
}

@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-12px, 10px); }
  50% { transform: translate(14px, -8px); }
  75% { transform: translate(-8px, -12px); }
  100% { transform: translate(0, 0); }
}

.hero-grid {
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 52%;
  background:
    linear-gradient(rgba(255, 212, 0, 0.23) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 43, 214, 0.23) 2px, transparent 2px);
  background-size: 54px 34px;
  transform: perspective(480px) rotateX(63deg);
  transform-origin: bottom;
  animation: gridRun 1.1s linear infinite;
  z-index: -2;
}

@keyframes gridRun {
  to { background-position: 0 34px, 54px 0; }
}

.hero-wave {
  position: absolute;
  left: 50%;
  bottom: 56px;
  display: flex;
  align-items: end;
  gap: 7px;
  width: min(780px, 88%);
  height: 120px;
  transform: translateX(-50%);
  opacity: 0.64;
  z-index: -1;
}

.hero-wave span {
  flex: 1;
  min-width: 4px;
  height: calc(18px + (var(--i) % 9) * 8px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--z-cyan), var(--z-pink), var(--z-yellow));
  box-shadow: 0 0 18px rgba(0,229,255,0.52);
  animation: waveDance 0.92s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.055s);
}

@keyframes waveDance {
  from { transform: scaleY(0.24); opacity: 0.55; }
  to { transform: scaleY(1.18); opacity: 1; }
}

.hero-content {
  width: min(880px, 100%);
  position: relative;
  z-index: 2;
}

.onair-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--z-yellow);
  color: var(--z-black);
  border: 4px solid var(--z-black);
  border-radius: 999px;
  box-shadow: 6px 6px 0 var(--z-pink), 0 0 28px rgba(255, 212, 0, 0.55);
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0.16em;
  padding: 10px 20px;
}

.onair-badge::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--z-red);
  box-shadow: 0 0 16px var(--z-red), 0 0 32px var(--z-red);
  animation: onairPulse 0.72s infinite;
}

@keyframes onairPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.28; transform: scale(0.68); }
}

.hero-kicker {
  display: inline-block;
  margin: 28px 0 0;
  color: var(--z-cyan);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-shadow: 0 0 14px rgba(0,229,255,0.8);
}

.hero-title {
  margin: 10px 0 8px;
  color: var(--z-yellow);
  font-size: clamp(58px, 13vw, 160px);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: 0.03em;
  transform: skew(-7deg);
  text-shadow:
    4px 4px 0 var(--z-pink),
    8px 8px 0 var(--z-cyan),
    14px 14px 0 #000,
    0 0 30px rgba(255,212,0,0.86);
  animation: titleFlicker 2.6s infinite alternate;
}

@keyframes titleFlicker {
  0%, 8%, 10%, 16%, 100% { filter: brightness(1); }
  9%, 15% { filter: brightness(1.65) saturate(1.4); }
}

.hero-copy {
  margin: 0;
  color: var(--z-white);
  font-size: clamp(26px, 5vw, 64px);
  font-weight: 1000;
  letter-spacing: 0.03em;
  text-shadow: 3px 3px 0 #000;
}

.hero-lead {
  width: min(720px, 100%);
  margin: 22px 0 0;
  color: rgba(255,255,255,0.88);
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 3px solid var(--z-black);
  border-radius: 999px;
  font-weight: 1000;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button-primary,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  background: var(--z-yellow);
  color: var(--z-black);
  box-shadow: 6px 6px 0 var(--z-pink);
}

.button-ghost {
  background: var(--z-black);
  color: var(--z-white);
  border-color: var(--z-yellow);
  box-shadow: 6px 6px 0 var(--z-cyan);
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 10px 10px 0 var(--z-black), 0 0 34px rgba(255, 43, 214, 0.32);
}

.hero-side-card {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(86px, 14vw, 150px);
  width: min(310px, calc(100% - 40px));
  padding: 24px;
  border: 4px solid var(--z-yellow);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 8px 8px 0 var(--z-pink), 0 0 36px rgba(0,229,255,0.35);
  backdrop-filter: blur(8px);
  transform: rotate(3deg);
}

.side-card-label {
  display: inline-block;
  color: var(--z-cyan);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.16em;
}

.hero-side-card strong {
  display: block;
  margin-top: 8px;
  color: var(--z-yellow);
  font-size: 28px;
  line-height: 1.2;
}

.hero-side-card p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.82);
  font-weight: 700;
}

.hero-pop {
  opacity: 0;
  animation: popIn 0.74s cubic-bezier(.2, 1.4, .35, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }
.delay-5 { animation-delay: 0.58s; }

@keyframes popIn {
  from { opacity: 0; transform: translateY(24px) scale(0.9) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

.ticker {
  overflow: hidden;
  background: var(--z-black);
  border-top: 5px solid var(--z-yellow);
  border-bottom: 5px solid var(--z-yellow);
  color: var(--z-yellow);
  white-space: nowrap;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerRun 20s linear infinite;
}

.ticker span {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-shadow: 0 0 16px rgba(255,212,0,0.72);
}

@keyframes tickerRun {
  to { transform: translateX(-33.3333%); }
}

.section-pad {
  padding: clamp(46px, 6vw, 84px) clamp(18px, 5vw, 58px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #ca008f;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.18em;
}

.section-kicker::before {
  content: "◆";
  color: var(--z-yellow-2);
}

.section-title,
.page-title,
.entry-title {
  margin: 0;
  color: var(--z-black);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 1000;
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-shadow: 2px 2px 0 var(--z-yellow);
}

.section-lead {
  margin: 14px 0 0;
  color: var(--z-muted);
  font-size: 17px;
  font-weight: 700;
}

.feature-grid,
.post-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.neon-card,
.post-card,
.entry-card,
.empty-card,
.archive-hero,
.comments-area,
.post-navigation-card,
.widget-area,
.front-widget {
  position: relative;
  border: 4px solid var(--z-black);
  border-radius: var(--z-radius-lg);
  background: var(--z-white);
  box-shadow: 9px 9px 0 var(--z-black);
}

.neon-card::before,
.post-card::before,
.entry-card::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--z-yellow), var(--z-pink), var(--z-cyan), var(--z-yellow));
  background-size: 240% 240%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.18s ease;
  animation: neonFlow 4s linear infinite;
}

@keyframes neonFlow {
  to { background-position: 240% 0; }
}

.neon-card:hover::before,
.neon-card:focus::before,
.post-card:hover::before,
.entry-card:hover::before {
  opacity: 1;
}

.feature-card {
  display: block;
  min-height: 250px;
  padding: 28px;
  color: var(--z-black);
  text-decoration: none;
  overflow: hidden;
  transform: rotate(-0.6deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:nth-child(2) { transform: rotate(0.7deg); }
.feature-card:nth-child(3) { transform: rotate(-0.2deg); }

.feature-card:hover,
.feature-card:focus {
  transform: translateY(-8px) rotate(0deg) scale(1.02);
  box-shadow: 14px 14px 0 var(--z-black), 0 0 36px rgba(255,43,214,0.24);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: var(--z-black);
  color: var(--z-yellow);
  font-size: 32px;
  box-shadow: 6px 6px 0 var(--z-pink);
}

.feature-card h3 {
  margin: 22px 0 8px;
  font-size: 25px;
  line-height: 1.28;
}

.feature-card p {
  margin: 0;
  color: var(--z-muted);
  font-weight: 700;
}

.latest-posts {
  background:
    radial-gradient(circle at 95% 8%, rgba(0,229,255,0.18), transparent 280px),
    linear-gradient(180deg, #fff, #fff6bd 100%);
}

.post-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 14px 14px 0 var(--z-black);
}

.post-card__media,
.entry-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--z-black), #2c1b39);
}

.post-card__media img,
.entry-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.post-card:hover .post-card__media img,
.entry-card:hover .entry-card__media img {
  transform: scale(1.08) rotate(1deg);
  filter: saturate(1.35) contrast(1.1);
}

.post-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--z-yellow);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-shadow: 3px 3px 0 var(--z-pink), 6px 6px 0 var(--z-cyan);
}

.post-card__body,
.entry-card__body {
  padding: 24px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--z-black);
  color: var(--z-yellow);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  padding: 5px 10px;
}

.category-pill:hover,
.category-pill:focus {
  background: var(--z-pink);
  color: var(--z-white);
}

.post-card__title,
.entry-title {
  margin: 0 0 10px;
}

.post-card__title {
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.35;
}

.post-card__title a,
.entry-title a {
  color: var(--z-black);
  text-decoration: none;
}

.post-card__title a:hover,
.entry-title a:hover {
  color: #d300a9;
}

.post-card__meta,
.entry-meta {
  color: var(--z-muted);
  font-size: 13px;
  font-weight: 800;
}

.updated:not(.published) {
  display: none;
}

.post-card p,
.entry-content {
  color: #303030;
}

.read-more {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--z-black);
  font-weight: 1000;
  text-decoration: none;
  border-bottom: 4px solid var(--z-yellow);
}

.read-more::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.18s ease;
}

.read-more:hover::after,
.read-more:focus::after {
  transform: translateX(5px);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 28px;
  padding: clamp(28px, 5vw, 58px);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), #fff6bd);
}

.content-column {
  min-width: 0;
}

.list-stack {
  display: grid;
  gap: 28px;
}

.archive-hero {
  padding: clamp(26px, 4vw, 40px);
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,43,214,0.18), transparent 180px),
    #fff;
}

.entry-card {
  overflow: hidden;
  margin-bottom: 28px;
}

.single .entry-card,
.page .entry-card {
  background: #fff;
}

.entry-content {
  font-size: 17px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.34;
  font-weight: 1000;
}

.entry-content h2 {
  margin-top: 2em;
  padding-left: 14px;
  border-left: 8px solid var(--z-yellow);
  font-size: 1.7em;
}

.entry-content blockquote {
  margin: 1.5em 0;
  padding: 18px 22px;
  border-left: 8px solid var(--z-pink);
  background: #fff7d4;
  border-radius: 0 18px 18px 0;
  font-weight: 700;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.entry-content th,
.entry-content td {
  border: 2px solid rgba(0,0,0,0.12);
  padding: 12px;
}

.entry-content th {
  background: var(--z-black);
  color: var(--z-yellow);
}

.entry-content pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 16px;
  background: #111;
  color: #fff;
}

.entry-content code {
  background: rgba(255,212,0,0.28);
  padding: 0.12em 0.28em;
  border-radius: 6px;
}

.entry-content pre code {
  background: transparent;
  padding: 0;
}

.widget-area {
  align-self: start;
  padding: 22px;
  background: var(--z-black);
  color: #fff;
  box-shadow: 9px 9px 0 var(--z-yellow);
}

.widget {
  margin: 0 0 28px;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  margin: 0 0 14px;
  color: var(--z-yellow);
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: 0.03em;
}

.widget a {
  color: #fff;
  font-weight: 800;
}

.widget a:hover,
.widget a:focus {
  color: var(--z-yellow);
}

.widget ul {
  padding-left: 1.2em;
}

.search-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search-field,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
  width: 100%;
  border: 3px solid var(--z-black);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  color: var(--z-black);
}

.search-submit {
  flex: 0 0 auto;
}

.pagination-wrap,
.post-navigation-card,
.comments-area {
  margin-top: 28px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.page-numbers,
.nav-links a,
.nav-links span.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 13px;
  border: 3px solid var(--z-black);
  border-radius: 999px;
  background: #fff;
  color: var(--z-black);
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--z-yellow);
}

.nav-links span.current,
.nav-links a:hover,
.nav-links a:focus {
  background: var(--z-black);
  color: var(--z-yellow);
}

.post-navigation-card {
  padding: 22px;
  background: #fff;
}

.post-navigation-card .nav-links {
  justify-content: space-between;
}

.post-navigation-card .nav-previous,
.post-navigation-card .nav-next {
  flex: 1 1 260px;
}

.nav-subtitle {
  display: block;
  color: var(--z-muted);
  font-size: 12px;
}

.nav-title {
  display: block;
}

.comments-area {
  padding: 24px;
  background: #fff;
}

.comment-list {
  padding-left: 1.4em;
}

.empty-card {
  padding: clamp(28px, 5vw, 54px);
}

.empty-card--large {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.front-widgets {
  background: #fff;
}

.front-widget {
  padding: 24px;
  margin-bottom: 22px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 46px 22px;
  background: #050505;
  color: #fff;
  text-align: center;
  border-top: 6px solid var(--z-yellow);
}

.footer-equalizer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 18px;
  opacity: 0.18;
  pointer-events: none;
}

.footer-equalizer span {
  width: 22px;
  height: 80px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--z-cyan), var(--z-pink), var(--z-yellow));
  animation: footerBars 0.8s ease-in-out infinite alternate;
}

.footer-equalizer span:nth-child(2) { animation-delay: -0.12s; }
.footer-equalizer span:nth-child(3) { animation-delay: -0.24s; }
.footer-equalizer span:nth-child(4) { animation-delay: -0.36s; }
.footer-equalizer span:nth-child(5) { animation-delay: -0.48s; }
.footer-equalizer span:nth-child(6) { animation-delay: -0.6s; }
.footer-equalizer span:nth-child(7) { animation-delay: -0.72s; }

@keyframes footerBars {
  from { transform: scaleY(0.25); }
  to { transform: scaleY(1.2); }
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.footer-logo {
  margin: 0;
  color: var(--z-yellow);
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-shadow: 3px 3px 0 var(--z-pink), 6px 6px 0 var(--z-cyan);
}

.footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.footer-navigation a,
.site-footer a {
  color: #fff;
  font-weight: 900;
}

.footer-navigation a:hover,
.site-footer a:hover {
  color: var(--z-yellow);
}

.copyright {
  margin: 18px 0 0;
  color: rgba(255,255,255,0.72);
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, 1, .25, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wp-caption,
.gallery-caption {
  max-width: 100%;
}

.bypostauthor {
  outline: 3px solid var(--z-yellow);
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100%, calc(100% - 16px));
    margin-top: 8px;
    border-radius: 22px;
    box-shadow: 6px 6px 0 var(--z-black);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    display: none;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  .main-navigation a {
    text-align: center;
  }

  .hero-side-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 30px;
  }

  .feature-grid,
  .post-card-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .widget-area {
    order: 2;
  }
}

@media (max-width: 640px) {
  body {
    background-size: 240% 240%;
  }

  .site-header__inner {
    padding: 14px;
  }

  .site-branding {
    align-items: flex-start;
  }

  .site-description {
    display: none;
  }

  .main-navigation ul {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 620px;
    padding: 44px 18px 70px;
  }

  .hero-title {
    text-shadow: 3px 3px 0 var(--z-pink), 6px 6px 0 var(--z-cyan), 9px 9px 0 #000;
  }

  .hero-actions {
    display: grid;
  }

  .button,
  .wp-block-button__link,
  input[type="submit"],
  button[type="submit"] {
    width: 100%;
  }

  .hero-wave {
    gap: 4px;
    height: 78px;
  }

  .section-pad,
  .content-layout {
    padding-left: 14px;
    padding-right: 14px;
  }

  .post-card__body,
  .entry-card__body {
    padding: 20px;
  }

  .site-footer {
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   v1.1 Dreamy Midnight overhaul for ゾクヘン!!!
   - keeps motion but replaces the older neon-retro feeling
   - improves readability on posts and pages
   - adds a wind / moon / dreamy-adventure atmosphere
   ========================================================= */

:root {
  --z-yellow: #ffe07a;
  --z-yellow-2: #ffd35f;
  --z-black: #24315d;
  --z-dark: #101630;
  --z-white: #ffffff;
  --z-cream: #fffdf7;
  --z-pink: #ff75be;
  --z-cyan: #6fd9ff;
  --z-red: #ff7a96;
  --z-green: #85e6c0;
  --z-text: #283150;
  --z-muted: #5e6685;
  --z-border: rgba(38, 49, 93, 0.12);
  --z-shadow: 0 26px 70px rgba(19, 28, 61, 0.18);
  --z-radius-xl: 34px;
  --z-radius-lg: 24px;
  --z-radius-md: 16px;
}

body {
  color: var(--z-text);
  background:
    radial-gradient(circle at 14% 8%, rgba(255,255,255,0.88), transparent 12vw),
    radial-gradient(circle at 84% 10%, rgba(255, 235, 150, 0.45), transparent 20vw),
    radial-gradient(circle at 30% 18%, rgba(112, 214, 255, 0.24), transparent 22vw),
    radial-gradient(circle at 72% 22%, rgba(255, 117, 190, 0.18), transparent 18vw),
    linear-gradient(180deg, #12193b 0%, #1f2d67 16%, #7194dd 42%, #dbeefe 76%, #f6fbff 100%);
  background-size: cover;
  animation: bodyGlowDream 18s ease-in-out infinite alternate;
}

@keyframes bodyGlowDream {
  0% { background-position: 0% 0%, 100% 0%, 20% 20%, 80% 18%, 50% 0%; }
  100% { background-position: 2% 4%, 98% -2%, 24% 18%, 76% 22%, 50% 100%; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 18%, rgba(255,255,255,0.95) 0 1.3px, transparent 1.5px),
    radial-gradient(circle at 18% 30%, rgba(255,255,255,0.72) 0 1.1px, transparent 1.3px),
    radial-gradient(circle at 28% 12%, rgba(255,255,255,0.72) 0 1.1px, transparent 1.4px),
    radial-gradient(circle at 40% 26%, rgba(255,255,255,0.92) 0 1.3px, transparent 1.6px),
    radial-gradient(circle at 57% 14%, rgba(255,255,255,0.72) 0 1.2px, transparent 1.5px),
    radial-gradient(circle at 72% 24%, rgba(255,255,255,0.95) 0 1.3px, transparent 1.6px),
    radial-gradient(circle at 86% 16%, rgba(255,255,255,0.7) 0 1.2px, transparent 1.5px);
  opacity: 0.65;
  z-index: -3;
}

.motion-stage {
  z-index: -2;
}

.orb {
  width: 34vw;
  height: 34vw;
  filter: blur(40px);
  opacity: 0.48;
}

.orb-a {
  left: -6vw;
  top: 8vh;
  background: rgba(111, 217, 255, 0.9);
}

.orb-b {
  right: -8vw;
  top: 18vh;
  background: rgba(255, 117, 190, 0.72);
}

.orb-c {
  left: 28vw;
  bottom: -16vw;
  background: rgba(255, 224, 122, 0.8);
}

.scanline {
  display: none;
}

.site-shell {
  width: min(1240px, calc(100% - 28px));
  margin: 26px auto 68px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 38px;
  box-shadow: 0 24px 60px rgba(18, 28, 65, 0.24);
  backdrop-filter: blur(14px);
}

.site-header {
  background: linear-gradient(180deg, rgba(17,24,54,0.9), rgba(27,39,90,0.94));
  border-bottom: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 12px 34px rgba(12, 19, 49, 0.22);
}

.site-header__inner {
  padding: 15px 26px 12px;
}

.site-branding {
  gap: 16px;
}

.custom-logo-wrap img {
  max-height: 58px;
}

.site-title {
  font-size: clamp(20px, 3.3vw, 36px);
  font-weight: 1000;
  letter-spacing: 0.08em;
  transform: none;
}

.site-title a {
  color: #fff7c7;
  text-shadow: 0 3px 14px rgba(255, 224, 122, 0.24);
}

.site-description {
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.06em;
}

.main-navigation {
  background: linear-gradient(90deg, rgba(18,27,65,0.92), rgba(34,49,112,0.92), rgba(18,27,65,0.92));
  border-top: 1px solid rgba(255,255,255,0.08);
}

.main-navigation ul {
  padding: 12px 18px 15px;
  gap: 10px;
}

.main-navigation a {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 15px;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  background: linear-gradient(135deg, #fff3b0, #ffd87b);
  color: #213162;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(255, 224, 122, 0.32);
}

.front-main {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(250,252,255,0.96) 28%, rgba(245,250,255,1) 100%);
}

.hero-visual {
  min-height: clamp(560px, 68vh, 780px);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 6vw, 68px);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 228, 140, 0.34), transparent 13%),
    radial-gradient(circle at 17% 20%, rgba(112, 214, 255, 0.22), transparent 18%),
    radial-gradient(circle at 74% 28%, rgba(255, 117, 190, 0.14), transparent 18%),
    linear-gradient(180deg, #101735 0%, #243c85 52%, #567fce 100%);
  color: var(--z-white);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 20%, rgba(255,245,180,0.98) 0 0.8%, rgba(255,245,180,0.35) 0.8%, transparent 6%),
    radial-gradient(circle at 84% 20%, rgba(255,245,180,0.28) 0, transparent 12%),
    radial-gradient(circle at 16% 30%, rgba(255,255,255,0.88) 0 0.3%, transparent 0.8%),
    radial-gradient(circle at 20% 16%, rgba(255,255,255,0.72) 0 0.3%, transparent 0.8%),
    radial-gradient(circle at 28% 10%, rgba(255,255,255,0.82) 0 0.28%, transparent 0.75%),
    radial-gradient(circle at 34% 22%, rgba(255,255,255,0.72) 0 0.28%, transparent 0.72%),
    radial-gradient(circle at 54% 14%, rgba(255,255,255,0.9) 0 0.32%, transparent 0.82%),
    radial-gradient(circle at 66% 10%, rgba(255,255,255,0.78) 0 0.28%, transparent 0.72%),
    radial-gradient(circle at 90% 12%, rgba(255,255,255,0.78) 0 0.25%, transparent 0.66%);
  opacity: 0.95;
  pointer-events: none;
  z-index: -2;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -1px;
  height: 34%;
  background:
    radial-gradient(circle at 8% 100%, #ffffff 0 28%, transparent 29%),
    radial-gradient(circle at 24% 100%, #ffffff 0 27%, transparent 28%),
    radial-gradient(circle at 42% 100%, #ffffff 0 29%, transparent 30%),
    radial-gradient(circle at 62% 100%, #ffffff 0 26%, transparent 27%),
    radial-gradient(circle at 82% 100%, #ffffff 0 29%, transparent 30%),
    radial-gradient(circle at 96% 100%, #ffffff 0 24%, transparent 25%);
  opacity: 0.96;
  pointer-events: none;
  z-index: -1;
}

.hero-noise {
  background-image:
    radial-gradient(circle at 14% 28%, rgba(255,255,255,0.15) 0 1.5px, transparent 2px),
    radial-gradient(circle at 75% 26%, rgba(255,255,255,0.12) 0 1.4px, transparent 1.8px),
    radial-gradient(circle at 40% 68%, rgba(255,255,255,0.1) 0 1.4px, transparent 1.8px);
  background-size: 54px 54px, 72px 72px, 64px 64px;
  opacity: 0.4;
  animation: none;
}

.hero-grid {
  inset: auto -6% 0 -6%;
  height: 28%;
  background:
    linear-gradient(rgba(255,255,255,0.18) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 2px, transparent 2px);
  background-size: 84px 42px;
  transform: perspective(560px) rotateX(72deg);
  opacity: 0.34;
  animation: gridRunDream 3.8s linear infinite;
}

@keyframes gridRunDream {
  to { background-position: 0 42px, 84px 0; }
}

.hero-wave {
  bottom: 74px;
  height: 98px;
  opacity: 0.4;
}

.hero-wave span {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(143, 230, 194, 0.9), rgba(111, 217, 255, 0.85));
  box-shadow: 0 0 18px rgba(111, 217, 255, 0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-content {
  width: min(740px, 100%);
}

.onair-badge {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.16);
  color: #fffdf5;
  box-shadow: 0 10px 30px rgba(8, 18, 48, 0.16);
  backdrop-filter: blur(10px);
  font-size: 13px;
  letter-spacing: 0.18em;
  padding: 9px 18px;
}

.onair-badge::before {
  width: 11px;
  height: 11px;
  background: #ff8fab;
  box-shadow: 0 0 10px #ff8fab, 0 0 22px rgba(255, 143, 171, 0.8);
  animation-duration: 1.1s;
}

.hero-kicker {
  margin-top: 24px;
  color: #dff8ff;
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: 0.14em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.hero-title {
  margin: 10px 0 14px;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.98;
  letter-spacing: 0.06em;
  transform: none;
  color: #fff7cb;
  text-shadow: 0 3px 0 rgba(36,49,93,0.18), 0 12px 28px rgba(10, 18, 51, 0.36);
  animation: titleFloat 5.5s ease-in-out infinite;
}

@keyframes titleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-copy {
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.18;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(10, 18, 51, 0.35);
}

.hero-lead {
  width: min(650px, 100%);
  margin-top: 20px;
  color: rgba(255,255,255,0.9);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  line-height: 1.9;
}

.hero-lead strong {
  color: #fff4b8;
}

.hero-actions {
  margin-top: 30px;
  gap: 14px;
}

.button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  min-height: 50px;
  border: 1px solid rgba(32, 43, 79, 0.16);
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.button-primary,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  background: linear-gradient(135deg, #fff0af, #ffd974);
  color: #24315d;
  box-shadow: 0 10px 24px rgba(255, 224, 122, 0.28);
}

.button-ghost {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 10px 24px rgba(5, 16, 42, 0.16);
  backdrop-filter: blur(10px);
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(8, 18, 48, 0.16);
}

.hero-side-card {
  right: clamp(24px, 5vw, 58px);
  bottom: clamp(98px, 12vw, 130px);
  width: min(300px, calc(100% - 40px));
  padding: 23px 22px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 26px;
  background: rgba(255,255,255,0.14);
  box-shadow: 0 16px 36px rgba(8, 18, 48, 0.2);
  backdrop-filter: blur(12px);
  transform: rotate(-2.5deg);
}

.side-card-label {
  color: #dcf8ff;
}

.hero-side-card strong {
  color: #fff5be;
  font-size: 24px;
}

.hero-side-card p {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.hero-pop {
  animation-name: popInDream;
}

@keyframes popInDream {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ticker {
  background: linear-gradient(90deg, #23305d, #394c92, #23305d);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff4be;
}

.ticker span {
  padding: 13px 28px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-shadow: none;
}

.section-pad {
  padding: clamp(44px, 6vw, 82px) clamp(18px, 5vw, 58px);
}

.section-kicker {
  color: #4f6eb9;
  font-size: 12px;
}

.section-kicker::before {
  content: "✦";
  color: #ff9dc8;
}

.section-title,
.page-title,
.entry-title {
  color: #22305f;
  text-shadow: none;
}

.section-title,
.page-title {
  font-size: clamp(28px, 4vw, 44px);
}

.section-lead {
  color: var(--z-muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
}

.feature-grid,
.post-card-grid {
  gap: 24px;
}

.neon-card,
.post-card,
.entry-card,
.empty-card,
.archive-hero,
.comments-area,
.post-navigation-card,
.widget-area,
.front-widget {
  border: 1px solid rgba(36,49,93,0.12);
  border-radius: 26px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 36px rgba(18, 28, 65, 0.12);
}

.neon-card::before,
.post-card::before,
.entry-card::before {
  background: linear-gradient(135deg, rgba(255, 224, 122, 0.36), rgba(111, 217, 255, 0.32), rgba(255, 117, 190, 0.2));
  inset: -1px;
  opacity: 0;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  color: var(--z-text);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 224, 122, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.96));
  transform: none;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  transform: none;
}

.feature-card:hover,
.feature-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(18, 28, 65, 0.14);
}

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, #33427b, #4e66bd);
  color: #fff5be;
  box-shadow: 0 12px 22px rgba(18, 28, 65, 0.18);
}

.feature-card h3 {
  font-size: 24px;
  color: #213162;
}

.feature-card p {
  color: var(--z-muted);
  font-weight: 600;
  line-height: 1.8;
}

.latest-posts {
  background:
    radial-gradient(circle at 100% 0%, rgba(111,217,255,0.16), transparent 24%),
    linear-gradient(180deg, rgba(249,252,255,1), rgba(240,247,255,1));
}

.post-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(18, 28, 65, 0.14);
}

.post-card__media,
.entry-card__media {
  background: linear-gradient(135deg, #2b3b71, #6a8ad6);
}

.post-card:hover .post-card__media img,
.entry-card:hover .entry-card__media img {
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.04);
}

.post-card__placeholder {
  color: #fff4bd;
  text-shadow: 0 3px 16px rgba(18, 28, 65, 0.2);
}

.post-card__body,
.entry-card__body {
  padding: 26px;
}

.category-pill {
  background: rgba(36, 49, 93, 0.08);
  color: #2b3b71;
  border: 1px solid rgba(36, 49, 93, 0.08);
  font-weight: 800;
}

.category-pill:hover,
.category-pill:focus {
  background: #4e66bd;
  color: #fff;
}

.post-card__title {
  font-size: clamp(20px, 3vw, 26px);
}

.post-card__title a,
.entry-title a {
  color: #22305f;
}

.post-card__title a:hover,
.entry-title a:hover {
  color: #4f6eb9;
}

.post-card__meta,
.entry-meta {
  color: #7480a5;
}

.read-more {
  color: #2e4179;
  border-bottom: 3px solid #ffe07a;
}

.content-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 30px;
  padding: clamp(28px, 5vw, 58px);
  background: linear-gradient(180deg, rgba(249,252,255,0.88), rgba(239,247,255,1));
}

.content-column {
  min-width: 0;
}

.content-column > .entry-card,
.content-column > .archive-hero,
.content-column > .post-navigation-card,
.content-column > .comments-area {
  max-width: 860px;
}

.archive-hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 224, 122, 0.18), transparent 22%),
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.single .entry-card,
.page .entry-card {
  background: #ffffff;
}

.entry-card {
  overflow: hidden;
  margin-bottom: 28px;
}

.single .entry-card__body,
.page .entry-card__body {
  padding: clamp(28px, 4vw, 42px);
}

.single .entry-title,
.page .entry-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
  margin-bottom: 12px;
}

.entry-content {
  color: #313957;
  font-size: 18px;
  line-height: 2;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-top: 1.15em;
  margin-bottom: 1.15em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
}

.entry-content a {
  color: #2e58b8;
}

.entry-content a:hover {
  color: #20315e;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.45;
  font-weight: 900;
  color: #22305f;
}

.entry-content h2 {
  margin-top: 2.2em;
  padding-left: 14px;
  border-left: 5px solid #9fdcff;
  font-size: 1.65em;
}

.entry-content h3 {
  margin-top: 1.9em;
  font-size: 1.35em;
}

.entry-content blockquote {
  margin: 1.7em 0;
  padding: 20px 24px;
  border-left: 5px solid #7ecbe8;
  background: linear-gradient(180deg, #f5fbff, #ffffff);
  border-radius: 0 20px 20px 0;
  font-weight: 600;
  color: #3c466a;
}

.entry-content table {
  margin: 1.6em 0;
  border-radius: 18px;
  background: #fff;
}

.entry-content th,
.entry-content td {
  border: 1px solid rgba(36,49,93,0.12);
  padding: 12px 14px;
}

.entry-content th {
  background: #2d3d77;
  color: #fff4c0;
}

.entry-content pre {
  padding: 18px;
  border-radius: 18px;
  background: #1a2348;
}

.entry-content code {
  background: rgba(111, 217, 255, 0.16);
}

.post-navigation-card {
  padding: 20px 24px;
}

.widget-area {
  align-self: start;
  padding: 22px;
  background: linear-gradient(180deg, rgba(39,53,103,0.96), rgba(26,36,75,0.96));
  color: #fff;
  box-shadow: 0 18px 36px rgba(18, 28, 65, 0.16);
}

.widget-title {
  color: #fff4bd;
  font-size: 22px;
  margin-top: 0;
}

.widget a {
  color: #d7efff;
}

.widget a:hover {
  color: #fff4bd;
}

.site-footer {
  background: linear-gradient(180deg, #23305d, #172042);
  color: rgba(255,255,255,0.86);
  border-top: 1px solid rgba(255,255,255,0.12);
}

.site-footer a {
  color: #fff4bd;
}

@media (max-width: 1024px) {
  .hero-side-card {
    position: static;
    width: min(100%, 520px);
    margin-top: 28px;
    transform: none;
  }

  .hero-wave {
    bottom: 28px;
    width: min(640px, 86%);
  }
}

@media (max-width: 782px) {
  .site-shell {
    width: min(100% - 14px, 100%);
    border-radius: 28px;
    margin: 12px auto 26px;
  }

  .site-header {
    position: relative;
  }

  .site-header__inner {
    padding: 14px 18px 10px;
  }

  .menu-toggle {
    background: linear-gradient(135deg, #fff0af, #ffd974);
    color: #24315d;
    border: 1px solid rgba(36,49,93,0.16);
    box-shadow: 0 8px 18px rgba(18, 28, 65, 0.14);
  }

  .menu-toggle__bars,
  .menu-toggle__bars::before,
  .menu-toggle__bars::after {
    background: #24315d;
  }

  .hero-visual {
    min-height: auto;
    padding: 34px 18px 120px;
  }

  .hero-title {
    font-size: clamp(38px, 13vw, 60px);
  }

  .hero-copy {
    font-size: clamp(22px, 7vw, 34px);
  }

  .feature-grid,
  .post-card-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .single .entry-card__body,
  .page .entry-card__body,
  .post-card__body,
  .entry-card__body {
    padding: 22px 20px;
  }

  .entry-content {
    font-size: 16.5px;
    line-height: 1.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-wave span,
  .onair-badge::before,
  .ticker__track,
  body,
  .orb,
  .hero-grid {
    animation: none !important;
  }
}

/* =========================================================
   v1.2 closer-to-Klonoa mood updates
   ========================================================= */

body {
  background:
    radial-gradient(circle at 16% 7%, rgba(255,255,255,0.94), transparent 10vw),
    radial-gradient(circle at 84% 8%, rgba(255, 244, 173, 0.56), transparent 16vw),
    radial-gradient(circle at 24% 22%, rgba(130, 226, 255, 0.26), transparent 22vw),
    radial-gradient(circle at 78% 20%, rgba(255, 150, 201, 0.16), transparent 16vw),
    linear-gradient(180deg, #101534 0%, #223a88 18%, #4f7fe0 46%, #95d3ff 72%, #effbff 100%);
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: -6vh;
  height: 22vh;
  background:
    radial-gradient(circle at 10% 100%, rgba(255,255,255,0.95) 0 26%, transparent 27%),
    radial-gradient(circle at 28% 100%, rgba(255,255,255,0.95) 0 24%, transparent 25%),
    radial-gradient(circle at 48% 100%, rgba(255,255,255,0.95) 0 28%, transparent 29%),
    radial-gradient(circle at 68% 100%, rgba(255,255,255,0.95) 0 24%, transparent 25%),
    radial-gradient(circle at 86% 100%, rgba(255,255,255,0.95) 0 27%, transparent 28%);
  opacity: 0.78;
  pointer-events: none;
  z-index: -2;
}

.site-title {
  font-size: clamp(22px, 3.8vw, 40px);
}

.hero-visual {
  min-height: clamp(600px, 72vh, 820px);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 236, 159, 0.42), transparent 13%),
    radial-gradient(circle at 18% 18%, rgba(175, 242, 255, 0.28), transparent 18%),
    radial-gradient(circle at 74% 28%, rgba(255, 150, 201, 0.16), transparent 18%),
    linear-gradient(180deg, #101836 0%, #274898 44%, #5f9cec 72%, #8fdbff 100%);
}

.hero-visual::before {
  background:
    radial-gradient(circle at 84% 18%, rgba(255,245,184,1) 0 1.1%, rgba(255,245,184,0.36) 1.1%, transparent 7%),
    radial-gradient(circle at 84% 18%, rgba(255,245,184,0.28) 0, transparent 13%),
    radial-gradient(circle at 14% 28%, rgba(255,255,255,0.88) 0 0.35%, transparent 0.8%),
    radial-gradient(circle at 21% 18%, rgba(255,255,255,0.74) 0 0.3%, transparent 0.74%),
    radial-gradient(circle at 30% 12%, rgba(255,255,255,0.86) 0 0.3%, transparent 0.74%),
    radial-gradient(circle at 40% 21%, rgba(255,255,255,0.76) 0 0.3%, transparent 0.72%),
    radial-gradient(circle at 56% 14%, rgba(255,255,255,0.92) 0 0.32%, transparent 0.8%),
    radial-gradient(circle at 66% 11%, rgba(255,255,255,0.74) 0 0.28%, transparent 0.7%),
    radial-gradient(circle at 92% 12%, rgba(255,255,255,0.74) 0 0.28%, transparent 0.68%);
}

.hero-visual::after {
  height: 38%;
}

.hero-title {
  font-size: clamp(64px, 11vw, 124px);
  letter-spacing: 0.08em;
  text-shadow: 0 4px 0 rgba(36,49,93,0.12), 0 16px 34px rgba(10, 18, 51, 0.34);
}

.hero-copy {
  font-size: clamp(24px, 4.4vw, 50px);
}

.hero-content {
  width: min(820px, 100%);
}

.hero-side-card {
  background: rgba(255,255,255,0.18);
}

.latest-posts {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 236, 159, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(248,252,255,1), rgba(236,248,255,1));
}

@media (max-width: 782px) {
  .hero-title {
    font-size: clamp(52px, 16vw, 84px);
  }
}

/* =========================================================
   v1.3 whimsical sky-adventure style update
   reference direction: bright sky, fluffy clouds, playful adventure vibe
   ========================================================= */

:root {
  --z-yellow: #ffe47d;
  --z-yellow-2: #ffd260;
  --z-black: #34548a;
  --z-dark: #18386f;
  --z-white: #ffffff;
  --z-cream: #fffdf8;
  --z-pink: #ff8fb1;
  --z-cyan: #84def9;
  --z-red: #ff8f76;
  --z-green: #8cd68f;
  --z-text: #3a4c72;
  --z-muted: #6d7d9d;
  --z-border: rgba(52, 84, 138, 0.12);
  --z-shadow: 0 20px 45px rgba(52, 84, 138, 0.16);
}

body {
  color: var(--z-text);
  background:
    radial-gradient(circle at 14% 10%, rgba(255,255,255,0.95), transparent 10vw),
    radial-gradient(circle at 84% 8%, rgba(255, 235, 163, 0.6), transparent 14vw),
    radial-gradient(circle at 22% 28%, rgba(132, 222, 249, 0.35), transparent 20vw),
    radial-gradient(circle at 78% 24%, rgba(255, 143, 177, 0.22), transparent 14vw),
    linear-gradient(180deg, #78c9ff 0%, #91d8ff 22%, #b7e8ff 45%, #ddf6ff 68%, #f7fdff 100%);
  animation: none;
}

body::before {
  background-image:
    radial-gradient(circle at 10% 15%, rgba(255,255,255,0.92) 0 1.4px, transparent 1.7px),
    radial-gradient(circle at 24% 20%, rgba(255,255,255,0.82) 0 1.2px, transparent 1.5px),
    radial-gradient(circle at 42% 12%, rgba(255,255,255,0.84) 0 1.3px, transparent 1.6px),
    radial-gradient(circle at 58% 20%, rgba(255,255,255,0.82) 0 1.2px, transparent 1.5px),
    radial-gradient(circle at 76% 15%, rgba(255,255,255,0.92) 0 1.4px, transparent 1.7px);
  opacity: 0.45;
}

body::after {
  opacity: 0.88;
}

.orb {
  filter: blur(42px);
  opacity: 0.34;
}

.orb-a { background: rgba(132, 222, 249, 0.8); }
.orb-b { background: rgba(255, 143, 177, 0.58); }
.orb-c { background: rgba(255, 228, 125, 0.72); }

.site-shell {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 18px 36px rgba(77, 146, 208, 0.18);
}

.site-header {
  background: linear-gradient(180deg, rgba(82, 151, 221, 0.96), rgba(110, 180, 238, 0.94));
  border-bottom: 1px solid rgba(255,255,255,0.6);
}

.site-title {
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: 0.08em;
}

.site-title a {
  color: #fffef6;
  text-shadow: 0 3px 0 rgba(52,84,138,0.14), 0 8px 18px rgba(52,84,138,0.18);
}

.site-description {
  color: rgba(255,255,255,0.9);
}

.main-navigation {
  background: linear-gradient(90deg, rgba(111, 182, 238, 0.98), rgba(131, 204, 245, 0.98), rgba(111, 182, 238, 0.98));
}

.main-navigation a {
  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fffefb;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  background: linear-gradient(135deg, #fff7c6, #ffe38a);
  color: #45618f;
  box-shadow: 0 6px 16px rgba(255, 227, 138, 0.3);
}

.hero-visual {
  min-height: clamp(640px, 74vh, 860px);
  background:
    radial-gradient(circle at 10% 22%, rgba(255,255,255,0.42), transparent 14%),
    radial-gradient(circle at 84% 12%, rgba(255, 240, 180, 0.75), transparent 11%),
    linear-gradient(180deg, #72c2ff 0%, #87d2ff 34%, #a7e4ff 70%, #d7f5ff 100%);
  color: #fff;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 13%, rgba(255,245,190,1) 0 1.3%, rgba(255,245,190,0.36) 1.3%, transparent 8%),
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.95) 0 6%, transparent 6.4%),
    radial-gradient(circle at 30% 10%, rgba(255,255,255,0.96) 0 7%, transparent 7.4%),
    radial-gradient(circle at 42% 14%, rgba(255,255,255,0.94) 0 5.6%, transparent 6%),
    radial-gradient(circle at 68% 18%, rgba(255,255,255,0.95) 0 6.5%, transparent 6.9%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.96) 0 7.4%, transparent 7.8%),
    radial-gradient(circle at 92% 14%, rgba(255,255,255,0.94) 0 5.4%, transparent 5.8%),
    radial-gradient(circle at 26% 28%, rgba(255,255,255,0.84) 0 3%, transparent 3.4%),
    radial-gradient(circle at 76% 32%, rgba(255,255,255,0.84) 0 2.8%, transparent 3.2%);
  opacity: 1;
  z-index: -2;
}

.hero-visual::after {
  height: 34%;
  background:
    radial-gradient(circle at 8% 100%, rgba(255,255,255,0.98) 0 28%, transparent 29%),
    radial-gradient(circle at 24% 100%, rgba(255,255,255,0.98) 0 25%, transparent 26%),
    radial-gradient(circle at 42% 100%, rgba(255,255,255,0.98) 0 27%, transparent 28%),
    radial-gradient(circle at 62% 100%, rgba(255,255,255,0.98) 0 24%, transparent 25%),
    radial-gradient(circle at 82% 100%, rgba(255,255,255,0.98) 0 27%, transparent 28%),
    radial-gradient(circle at 96% 100%, rgba(255,255,255,0.98) 0 23%, transparent 24%);
}

.hero-noise {
  opacity: 0.18;
}

.hero-grid {
  inset: auto -4% 0 -4%;
  height: 23%;
  background:
    linear-gradient(rgba(255,255,255,0.22) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 2px, transparent 2px);
  background-size: 82px 42px;
  opacity: 0.28;
}

.hero-wave {
  height: 90px;
  opacity: 0.34;
}

.hero-wave span {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(132, 222, 249, 0.94), rgba(140, 214, 143, 0.9));
  box-shadow: 0 0 10px rgba(132, 222, 249, 0.18);
}

.hero-content {
  width: min(860px, 100%);
}

.onair-badge {
  background: rgba(255,255,255,0.3);
  color: #fffef8;
  border: 1px solid rgba(255,255,255,0.55);
}

.onair-badge::before {
  background: #ffad73;
  box-shadow: 0 0 10px #ffad73, 0 0 22px rgba(255, 173, 115, 0.8);
}

.hero-kicker {
  color: #fffef6;
  text-shadow: 0 2px 8px rgba(52,84,138,0.18);
}

.hero-title {
  font-size: clamp(74px, 12vw, 148px);
  color: #fffef8;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 0 rgba(100, 150, 210, 0.22), 0 12px 26px rgba(60, 120, 190, 0.18);
}

.hero-copy {
  color: #fffefb;
  font-size: clamp(24px, 4.4vw, 48px);
  text-shadow: 0 2px 8px rgba(52,84,138,0.16);
}

.hero-lead {
  color: rgba(255,255,255,0.96);
  text-shadow: 0 1px 6px rgba(52,84,138,0.12);
}

.hero-lead strong {
  color: #fff8bd;
}

.button-primary,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  background: linear-gradient(135deg, #fff4b8, #ffe082);
  color: #44608e;
}

.button-ghost {
  background: rgba(255,255,255,0.24);
  color: #fffef8;
  border-color: rgba(255,255,255,0.48);
}

.hero-side-card {
  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(255,255,255,0.52);
  box-shadow: 0 10px 24px rgba(94, 159, 221, 0.16);
}

.side-card-label,
.hero-side-card p,
.hero-side-card strong {
  color: #fffef8;
}

.ticker {
  background: linear-gradient(90deg, #75c5ff, #8cd4ff, #75c5ff);
  color: #fffef5;
}

.section-kicker { color: #6aa5db; }
.section-kicker::before { color: #ffb8cf; }

.section-title,
.page-title,
.entry-title,
.post-card__title a,
.entry-title a {
  color: #4c6391;
}

.neon-card,
.post-card,
.entry-card,
.empty-card,
.archive-hero,
.comments-area,
.post-navigation-card,
.widget-area,
.front-widget {
  border: 1px solid rgba(125, 184, 235, 0.22);
  box-shadow: 0 14px 28px rgba(125, 184, 235, 0.12);
}

.neon-card::before,
.post-card::before,
.entry-card::before {
  background: linear-gradient(135deg, rgba(255, 228, 125, 0.32), rgba(132, 222, 249, 0.28), rgba(140, 214, 143, 0.24));
}

.latest-posts {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 235, 163, 0.18), transparent 24%),
    linear-gradient(180deg, #f7fdff, #eef9ff);
}

.post-card__media,
.entry-card__media {
  background: linear-gradient(135deg, #8dd5ff, #bde9ff);
}

.category-pill {
  background: rgba(132, 222, 249, 0.18);
  color: #4c6391;
  border: 1px solid rgba(132, 222, 249, 0.22);
}

.category-pill:hover,
.category-pill:focus {
  background: #8bd690;
  color: #fff;
}

.read-more {
  color: #4c6391;
  border-bottom-color: #ffe47d;
}

.content-layout {
  background: linear-gradient(180deg, #f8fdff, #eef8ff);
}

.entry-content a { color: #4a86c5; }
.entry-content a:hover { color: #34548a; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: #4c6391; }
.entry-content h2 { border-left-color: #84def9; }
.entry-content blockquote {
  border-left-color: #8bd690;
  background: linear-gradient(180deg, #f6fcff, #ffffff);
}
.entry-content th {
  background: #75b7ea;
  color: #fffef5;
}
.entry-content code { background: rgba(255, 228, 125, 0.2); }

.widget-area {
  background: linear-gradient(180deg, #77c2f6, #5eaee8);
  color: #fffef8;
}

.widget-title,
.site-footer a { color: #fff6c5; }
.widget a { color: #ffffff; }
.widget a:hover { color: #fff6c5; }

.site-footer {
  background: linear-gradient(180deg, #6ebced, #5aaadf);
  color: rgba(255,255,255,0.92);
}

@media (max-width: 782px) {
  .hero-title {
    font-size: clamp(56px, 18vw, 96px);
  }
}

/* =========================================================
   v1.4 contrast + scenic lower background update
   ========================================================= */

.front-main {
  position: relative;
  overflow: hidden;
}

.front-main::after {
  content: "";
  display: block;
  width: 100%;
  height: clamp(190px, 22vw, 320px);
  margin-top: 18px;
  background: url("../images/sky-fantasy-footer.svg") center bottom / cover no-repeat;
}

.hero-content {
  position: relative;
  padding: clamp(18px, 3.2vw, 28px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(74, 126, 189, 0.20), rgba(74, 126, 189, 0.10));
  box-shadow: 0 10px 22px rgba(78, 141, 205, 0.10);
  backdrop-filter: blur(2px);
}

.hero-title {
  color: #315b98;
  text-shadow:
    -2px -2px 0 rgba(255,255,255,0.92),
    2px -2px 0 rgba(255,255,255,0.92),
    -2px 2px 0 rgba(255,255,255,0.92),
    2px 2px 0 rgba(255,255,255,0.92),
    0 10px 18px rgba(85, 140, 195, 0.18);
}

.hero-copy {
  color: #48689a;
  text-shadow:
    -1px -1px 0 rgba(255,255,255,0.88),
    1px -1px 0 rgba(255,255,255,0.88),
    -1px 1px 0 rgba(255,255,255,0.88),
    1px 1px 0 rgba(255,255,255,0.88);
}

.hero-kicker,
.hero-lead {
  color: #35598f;
  text-shadow: 0 1px 0 rgba(255,255,255,0.75);
}

.hero-lead strong {
  color: #244e89;
}

.hero-visual::before {
  opacity: 0.82;
}

.hero-visual::after {
  opacity: 0.98;
}

.hero-side-card {
  background: rgba(255,255,255,0.48);
}

.side-card-label {
  color: #416594;
}

.hero-side-card strong {
  color: #385f98;
}

.hero-side-card p {
  color: #4a6e9d;
}

.onair-badge {
  background: rgba(255,255,255,0.62);
  color: #4c6893;
}

.ticker {
  position: relative;
  z-index: 1;
}

.latest-posts {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(50px, 8vw, 80px);
}

@media (max-width: 782px) {
  .front-main::after {
    height: clamp(140px, 28vw, 220px);
    background-position: center bottom;
  }

  .hero-content {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-title {
    text-shadow:
      -1px -1px 0 rgba(255,255,255,0.9),
      1px -1px 0 rgba(255,255,255,0.9),
      -1px 1px 0 rgba(255,255,255,0.9),
      1px 1px 0 rgba(255,255,255,0.9),
      0 8px 14px rgba(85, 140, 195, 0.16);
  }
}

/* =========================================================
   v1.4 readability + bottom whimsical scene + time-based sky
   ========================================================= */

.hero-visual {
  overflow: hidden;
}

.hero-visual::before {
  opacity: 0.78;
}

.hero-kicker,
.hero-copy,
.hero-lead,
.hero-title,
.onair-badge,
.hero-side-card,
.side-card-label,
.hero-side-card strong,
.hero-side-card p {
  position: relative;
  z-index: 3;
}

.onair-badge {
  background: rgba(255,255,255,0.38);
  color: #315488;
  border: 2px solid rgba(255,255,255,0.72);
  box-shadow: 0 8px 20px rgba(66, 112, 170, 0.18);
}

.hero-kicker {
  color: #34548a;
  font-weight: 1000;
  text-shadow: 0 2px 0 rgba(255,255,255,0.85), 0 0 10px rgba(255,255,255,0.55);
}

.hero-title {
  color: #fff1a8;
  text-shadow:
    -2px -2px 0 rgba(52,84,138,0.78),
    2px -2px 0 rgba(52,84,138,0.78),
    -2px 2px 0 rgba(52,84,138,0.78),
    2px 2px 0 rgba(52,84,138,0.78),
    0 10px 26px rgba(60, 120, 190, 0.22);
}

.hero-copy {
  color: #ffffff;
  text-shadow:
    -1px -1px 0 rgba(52,84,138,0.72),
    1px -1px 0 rgba(52,84,138,0.72),
    -1px 1px 0 rgba(52,84,138,0.72),
    1px 1px 0 rgba(52,84,138,0.72),
    0 6px 16px rgba(52,84,138,0.18);
}

.hero-lead {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(52,84,138,0.35);
  background: rgba(86, 142, 206, 0.18);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 22px;
  padding: 14px 18px;
  backdrop-filter: blur(6px);
}

.hero-lead strong {
  color: #fff2a2;
}

.hero-side-card {
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(255,255,255,0.72);
}

.side-card-label,
.hero-side-card strong,
.hero-side-card p {
  color: #325489;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

/* bottom whimsical scene */
.sky-adventure-scene {
  position: relative;
  overflow: hidden;
  padding: 30px 0 0;
  background: linear-gradient(180deg, rgba(241,250,255,0), rgba(228,245,255,0.86) 30%, rgba(214,238,252,0.96) 100%);
}

.scene-wrap {
  position: relative;
  min-height: 380px;
  background:
    linear-gradient(180deg, rgba(127,206,255,0.18), rgba(91,175,232,0.06) 55%, transparent 56%),
    linear-gradient(180deg, transparent 0 63%, rgba(196,228,168,0.95) 63% 100%);
}

.scene-cloud {
  position: absolute;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 50px 6px 0 10px #ffffff, 108px 0 0 4px #ffffff, 22px -14px 0 8px #ffffff;
  opacity: 0.85;
}

.scene-cloud-a {
  width: 90px;
  height: 34px;
  left: 8%;
  top: 38px;
}

.scene-cloud-b {
  width: 120px;
  height: 42px;
  right: 13%;
  top: 54px;
}

.scene-balloon {
  position: absolute;
  left: 8%;
  top: 20px;
  width: 32px;
  height: 46px;
  background: linear-gradient(180deg, #ff8b7d, #d95d61);
  border-radius: 50% 50% 48% 48%;
  box-shadow: inset -3px -5px 0 rgba(0,0,0,0.08);
}

.scene-balloon::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 44px;
  width: 3px;
  height: 20px;
  background: rgba(98,84,74,0.7);
}

.scene-balloon::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 63px;
  width: 14px;
  height: 10px;
  background: #c79b6c;
  border-radius: 2px;
}

.scene-heart {
  position: absolute;
  right: 26%;
  top: 76px;
  width: 36px;
  height: 30px;
  border: 4px solid #f7d66a;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transform: rotate(-45deg);
  background: transparent;
}

.scene-heart::before,
.scene-heart::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.scene-heart::before {
  width: 34px;
  height: 34px;
  border: 4px solid #ff8fb1;
  left: -10px;
  top: -10px;
}

.scene-heart::after {
  width: 20px;
  height: 20px;
  border: 4px solid #84def9;
  left: 4px;
  top: 4px;
}

.scene-bridge {
  position: absolute;
  right: 4%;
  top: 76px;
  width: 300px;
  height: 90px;
  border-top: 14px solid #dfd7ca;
  border-right: 14px solid transparent;
  border-radius: 60% 0 0 0;
  transform: rotate(6deg);
  opacity: 0.94;
}

.scene-bridge::after {
  content: "";
  position: absolute;
  right: 10px;
  top: -6px;
  width: 290px;
  height: 12px;
  background: repeating-linear-gradient(90deg, #bca98d, #bca98d 10px, #d8c7ac 10px, #d8c7ac 16px);
  border-radius: 999px;
  transform: translateY(-6px);
}

.scene-backdrop,
.scene-foreground {
  position: absolute;
  inset: 0;
}

.scene-castle {
  position: absolute;
  left: 4%;
  bottom: 116px;
  width: 220px;
  height: 136px;
}

.castle-tower,
.castle-wall {
  position: absolute;
  background: #eef0f8;
  border: 3px solid #8499c0;
}

.castle-tower {
  width: 54px;
  bottom: 0;
  border-radius: 10px 10px 0 0;
}

.tower-a { left: 12px; height: 112px; }
.tower-b { right: 18px; height: 90px; }

.tower-a::before,
.tower-b::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -26px;
  width: 0;
  height: 0;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-bottom: 26px solid #5f9be0;
}

.castle-wall {
  left: 0;
  right: 0;
  height: 74px;
  bottom: 0;
  border-radius: 20px 20px 0 0;
  background: repeating-linear-gradient(90deg, #e8ebf3 0 18px, #dbe1ec 18px 36px);
}

.castle-wall::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto 0;
  height: 16px;
  background: repeating-linear-gradient(90deg, #dde4ef 0 18px, transparent 18px 24px);
}

.scene-snowland {
  position: absolute;
  right: 3%;
  bottom: 112px;
  width: 250px;
  height: 116px;
  background: linear-gradient(180deg, #f7fbff, #dfeef8);
  clip-path: polygon(0 100%, 12% 42%, 28% 65%, 40% 34%, 54% 72%, 68% 38%, 84% 58%, 100% 12%, 100% 100%);
  border-radius: 20px;
  box-shadow: inset 0 -10px 0 rgba(174,205,228,0.35);
}

.scene-island {
  position: absolute;
  bottom: 64px;
  border-radius: 48% 52% 36% 42% / 48% 58% 28% 34%;
  background: linear-gradient(180deg, #b8df83, #8ec469);
  box-shadow: inset 0 -14px 0 rgba(113, 172, 82, 0.38);
}

.island-a {
  left: 54%;
  width: 210px;
  height: 78px;
}

.island-b {
  right: 10%;
  width: 240px;
  height: 88px;
}

.scene-palm {
  position: absolute;
  bottom: 92px;
  width: 16px;
  height: 68px;
  background: linear-gradient(180deg, #c89c62, #9f7448);
  border-radius: 999px;
}

.scene-palm::before,
.scene-palm::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 86px;
  height: 34px;
  background: linear-gradient(180deg, #90d36d, #66b258);
  clip-path: polygon(0 65%, 18% 28%, 45% 0, 100% 16%, 78% 60%, 55% 100%, 20% 90%);
  transform-origin: left center;
}

.scene-palm::before { transform: translateX(-8px) rotate(-18deg); }
.scene-palm::after { transform: translateX(-14px) rotate(32deg); }

.palm-a { left: 43%; }
.palm-b { left: 48%; height: 78px; }
.palm-c { right: 13%; height: 72px; }

.scene-log {
  position: absolute;
  bottom: 78px;
  width: 54px;
  height: 78px;
  background: linear-gradient(180deg, #e5c793, #c99761);
  border-radius: 16px;
  box-shadow: inset 0 0 0 4px rgba(121,86,49,0.1);
}

.scene-log::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 3px solid rgba(133, 92, 54, 0.28);
}

.log-a { left: 36%; height: 94px; transform: rotate(-8deg); }
.log-b { left: 41%; height: 74px; transform: rotate(6deg); }
.log-c { left: 46%; height: 88px; transform: rotate(12deg); }

.scene-creature {
  position: absolute;
  bottom: 86px;
  border-radius: 50%;
}

.creature-a {
  right: 18%;
  width: 52px;
  height: 38px;
  background: #7ed265;
}

.creature-a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff9dc;
  box-shadow: inset 0 0 0 3px #5c89c8;
}

.creature-a::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -6px;
  width: 16px;
  height: 22px;
  background: linear-gradient(180deg, #ffdb75, #f58a59);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.creature-b {
  right: 7%;
  width: 82px;
  height: 62px;
  background: #d75d32;
}

.creature-b::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 14px;
  width: 34px;
  height: 34px;
  background: #fff9dc;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #597ebf;
}

.creature-b::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 4px;
  width: 60px;
  height: 20px;
  background: linear-gradient(180deg, #cb4e2a, #9b351d);
  border-radius: 999px;
  transform: rotate(-16deg);
}

/* Time based classes from JS */
body.theme-time-day .hero-visual {
  background:
    radial-gradient(circle at 10% 22%, rgba(255,255,255,0.42), transparent 14%),
    radial-gradient(circle at 84% 12%, rgba(255, 240, 180, 0.75), transparent 11%),
    linear-gradient(180deg, #72c2ff 0%, #87d2ff 34%, #a7e4ff 70%, #d7f5ff 100%);
}

body.theme-time-evening {
  background:
    radial-gradient(circle at 14% 10%, rgba(255,255,255,0.78), transparent 10vw),
    radial-gradient(circle at 84% 8%, rgba(255, 189, 143, 0.68), transparent 16vw),
    radial-gradient(circle at 24% 28%, rgba(255, 200, 130, 0.24), transparent 18vw),
    linear-gradient(180deg, #7db7ff 0%, #ffb07b 26%, #ff9aa5 50%, #d7b2ff 76%, #f8e4ff 100%);
}

body.theme-time-evening .site-header {
  background: linear-gradient(180deg, rgba(106, 117, 204, 0.96), rgba(134, 126, 210, 0.94));
}

body.theme-time-evening .main-navigation {
  background: linear-gradient(90deg, rgba(137, 132, 219, 0.98), rgba(164, 148, 220, 0.98), rgba(137, 132, 219, 0.98));
}

body.theme-time-evening .hero-visual {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 225, 176, 0.82), transparent 10%),
    radial-gradient(circle at 18% 16%, rgba(255,255,255,0.32), transparent 14%),
    linear-gradient(180deg, #6ea6f0 0%, #f4ad7d 34%, #ec90a4 66%, #d8bcff 100%);
}

body.theme-time-evening .hero-title {
  color: #fff6be;
}

body.theme-time-evening .ticker,
body.theme-time-evening .site-footer,
body.theme-time-evening .widget-area {
  background: linear-gradient(180deg, #9a89d2, #887dc8);
}

body.theme-time-night {
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 242, 184, 0.48), transparent 12vw),
    radial-gradient(circle at 22% 20%, rgba(136, 164, 255, 0.22), transparent 18vw),
    linear-gradient(180deg, #10244f 0%, #1d3f7f 28%, #315890 52%, #5e90bb 80%, #d3e8f7 100%);
}

body.theme-time-night .site-header {
  background: linear-gradient(180deg, rgba(30, 58, 111, 0.96), rgba(46, 80, 142, 0.94));
}

body.theme-time-night .main-navigation {
  background: linear-gradient(90deg, rgba(44, 79, 141, 0.98), rgba(60, 99, 165, 0.98), rgba(44, 79, 141, 0.98));
}

body.theme-time-night .hero-visual {
  background:
    radial-gradient(circle at 83% 12%, rgba(255, 241, 190, 0.82), transparent 9%),
    radial-gradient(circle at 18% 16%, rgba(255,255,255,0.16), transparent 12%),
    linear-gradient(180deg, #17346b 0%, #29508d 42%, #406ba7 76%, #8bb4d7 100%);
}

body.theme-time-night .hero-visual::before {
  background:
    radial-gradient(circle at 83% 12%, rgba(255,245,190,1) 0 1.2%, rgba(255,245,190,0.22) 1.2%, transparent 6%),
    radial-gradient(circle at 14% 12%, rgba(255,255,255,0.84) 0 0.35%, transparent 0.75%),
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.74) 0 0.28%, transparent 0.7%),
    radial-gradient(circle at 44% 10%, rgba(255,255,255,0.86) 0 0.34%, transparent 0.78%),
    radial-gradient(circle at 62% 20%, rgba(255,255,255,0.78) 0 0.3%, transparent 0.74%),
    radial-gradient(circle at 74% 14%, rgba(255,255,255,0.84) 0 0.32%, transparent 0.76%),
    radial-gradient(circle at 92% 22%, rgba(255,255,255,0.72) 0 0.28%, transparent 0.68%);
  opacity: 1;
}

body.theme-time-night .hero-title {
  color: #fff0a5;
}

body.theme-time-night .hero-kicker,
body.theme-time-night .hero-copy,
body.theme-time-night .hero-lead,
body.theme-time-night .side-card-label,
body.theme-time-night .hero-side-card strong,
body.theme-time-night .hero-side-card p,
body.theme-time-night .onair-badge {
  color: #f8fbff;
}

body.theme-time-night .hero-kicker,
body.theme-time-night .hero-copy {
  text-shadow:
    -1px -1px 0 rgba(24,56,111,0.9),
    1px -1px 0 rgba(24,56,111,0.9),
    -1px 1px 0 rgba(24,56,111,0.9),
    1px 1px 0 rgba(24,56,111,0.9),
    0 4px 14px rgba(24,56,111,0.28);
}

body.theme-time-night .hero-lead,
body.theme-time-night .hero-side-card,
body.theme-time-night .onair-badge {
  background: rgba(29, 63, 127, 0.35);
  border-color: rgba(255,255,255,0.18);
}

body.theme-time-night .ticker,
body.theme-time-night .site-footer,
body.theme-time-night .widget-area {
  background: linear-gradient(180deg, #3f69a4, #34598e);
}

body.theme-time-evening .scene-wrap {
  background:
    linear-gradient(180deg, rgba(255,193,146,0.2), rgba(236,140,160,0.08) 55%, transparent 56%),
    linear-gradient(180deg, transparent 0 63%, rgba(204,229,172,0.95) 63% 100%);
}

body.theme-time-night .scene-wrap {
  background:
    linear-gradient(180deg, rgba(64,107,167,0.16), rgba(54,89,142,0.08) 55%, transparent 56%),
    linear-gradient(180deg, transparent 0 63%, rgba(174,211,158,0.95) 63% 100%);
}

body.theme-time-night .scene-cloud,
body.theme-time-evening .scene-cloud {
  opacity: 0.72;
}

@media (max-width: 980px) {
  .scene-bridge {
    width: 220px;
    top: 96px;
    right: -20px;
  }

  .scene-snowland {
    width: 190px;
    height: 92px;
    right: -6px;
  }

  .scene-castle {
    transform: scale(0.88);
    transform-origin: left bottom;
  }
}

@media (max-width: 782px) {
  .hero-lead {
    padding: 12px 14px;
  }

  .sky-adventure-scene {
    padding-top: 14px;
  }

  .scene-wrap {
    min-height: 250px;
  }

  .scene-heart,
  .scene-bridge,
  .scene-cloud-b,
  .creature-a {
    display: none;
  }

  .scene-castle {
    left: -16px;
    bottom: 90px;
    transform: scale(0.62);
    transform-origin: left bottom;
  }

  .scene-snowland {
    right: -22px;
    bottom: 94px;
    width: 140px;
    height: 72px;
  }

  .island-a {
    left: 46%;
    width: 150px;
    height: 58px;
  }

  .island-b {
    right: 2%;
    width: 160px;
    height: 60px;
  }

  .palm-a { left: 38%; }
  .palm-b { left: 46%; }
  .palm-c { right: 9%; }

  .log-a { left: 26%; }
  .log-b { left: 34%; }
  .log-c { left: 42%; }

  .creature-b {
    right: 5%;
    width: 68px;
    height: 52px;
  }
}

/* =========================================================
   v1.5 five time periods: early morning / morning / day / evening / night
   ========================================================= */

/* 朝 */
body.theme-time-morning {
  background:
    radial-gradient(circle at 14% 10%, rgba(255,255,255,0.96), transparent 10vw),
    radial-gradient(circle at 84% 8%, rgba(255, 240, 188, 0.64), transparent 14vw),
    radial-gradient(circle at 22% 28%, rgba(170, 233, 255, 0.38), transparent 18vw),
    linear-gradient(180deg, #8ed3ff 0%, #a9e1ff 28%, #cbf0ff 56%, #effcff 100%);
}

body.theme-time-morning .site-header {
  background: linear-gradient(180deg, rgba(107, 182, 236, 0.97), rgba(132, 201, 244, 0.95));
}

body.theme-time-morning .main-navigation {
  background: linear-gradient(90deg, rgba(125, 198, 243, 0.98), rgba(152, 214, 248, 0.98), rgba(125, 198, 243, 0.98));
}

body.theme-time-morning .hero-visual {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 245, 190, 0.78), transparent 10%),
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.42), transparent 14%),
    linear-gradient(180deg, #88d1ff 0%, #9ee0ff 36%, #c6f0ff 72%, #e6fbff 100%);
}

body.theme-time-morning .hero-title {
  color: #fff4ba;
}

body.theme-time-morning .ticker,
body.theme-time-morning .site-footer,
body.theme-time-morning .widget-area {
  background: linear-gradient(180deg, #79c8f5, #67bbea);
}

body.theme-time-morning .scene-wrap {
  background:
    linear-gradient(180deg, rgba(164,224,255,0.18), rgba(104,190,236,0.08) 55%, transparent 56%),
    linear-gradient(180deg, transparent 0 63%, rgba(199,231,173,0.95) 63% 100%);
}

/* 早朝 */
body.theme-time-earlymorning {
  background:
    radial-gradient(circle at 16% 10%, rgba(255,255,255,0.82), transparent 12vw),
    radial-gradient(circle at 84% 9%, rgba(255, 216, 180, 0.52), transparent 16vw),
    radial-gradient(circle at 20% 26%, rgba(196, 223, 255, 0.28), transparent 20vw),
    linear-gradient(180deg, #7aa6da 0%, #b7c8ef 30%, #f0c8c7 62%, #f8e7df 100%);
}

body.theme-time-earlymorning .site-header {
  background: linear-gradient(180deg, rgba(110, 146, 198, 0.97), rgba(154, 176, 218, 0.95));
}

body.theme-time-earlymorning .main-navigation {
  background: linear-gradient(90deg, rgba(129, 162, 209, 0.98), rgba(168, 187, 223, 0.98), rgba(129, 162, 209, 0.98));
}

body.theme-time-earlymorning .hero-visual {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 232, 198, 0.72), transparent 10%),
    radial-gradient(circle at 16% 16%, rgba(255,255,255,0.26), transparent 13%),
    linear-gradient(180deg, #6f93c8 0%, #93b2de 34%, #d3bfdb 68%, #f7ddd3 100%);
}

body.theme-time-earlymorning .hero-visual::before {
  opacity: 0.92;
}

body.theme-time-earlymorning .hero-title {
  color: #fff1b0;
}

body.theme-time-earlymorning .hero-kicker,
body.theme-time-earlymorning .hero-copy,
body.theme-time-earlymorning .hero-lead,
body.theme-time-earlymorning .side-card-label,
body.theme-time-earlymorning .hero-side-card strong,
body.theme-time-earlymorning .hero-side-card p,
body.theme-time-earlymorning .onair-badge {
  color: #fffdf9;
}

body.theme-time-earlymorning .hero-kicker,
body.theme-time-earlymorning .hero-copy {
  text-shadow:
    -1px -1px 0 rgba(76, 97, 146, 0.82),
    1px -1px 0 rgba(76, 97, 146, 0.82),
    -1px 1px 0 rgba(76, 97, 146, 0.82),
    1px 1px 0 rgba(76, 97, 146, 0.82),
    0 4px 12px rgba(76, 97, 146, 0.22);
}

body.theme-time-earlymorning .hero-lead,
body.theme-time-earlymorning .hero-side-card,
body.theme-time-earlymorning .onair-badge {
  background: rgba(110, 132, 182, 0.28);
  border-color: rgba(255,255,255,0.26);
}

body.theme-time-earlymorning .ticker,
body.theme-time-earlymorning .site-footer,
body.theme-time-earlymorning .widget-area {
  background: linear-gradient(180deg, #8fa7d1, #7f98c4);
}

body.theme-time-earlymorning .scene-wrap {
  background:
    linear-gradient(180deg, rgba(190,202,233,0.14), rgba(201,156,181,0.08) 55%, transparent 56%),
    linear-gradient(180deg, transparent 0 63%, rgba(201,228,181,0.95) 63% 100%);
}

/* 昼: existing day class remains the main bright daytime palette */
body.theme-time-day .scene-wrap {
  background:
    linear-gradient(180deg, rgba(127,206,255,0.18), rgba(91,175,232,0.06) 55%, transparent 56%),
    linear-gradient(180deg, transparent 0 63%, rgba(196,228,168,0.95) 63% 100%);
}

@media (prefers-reduced-motion: reduce) {
  body.theme-time-earlymorning,
  body.theme-time-morning,
  body.theme-time-day,
  body.theme-time-evening,
  body.theme-time-night {
    transition: none;
  }
}

/* =========================================================
   v1.6 layout refinements based on review
   - nav in 2 rows on desktop
   - bottom scene becomes a fixed background
   - hero layout stabilized
   - hero title reduced to fit on one line
   ========================================================= */

/* Desktop menu: keep top-level items within 2 rows and dropdown children hidden until interaction */
.main-navigation {
  overflow: visible;
}

.main-navigation > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  justify-content: center;
  align-items: start;
  gap: 12px 14px;
  padding: 14px 18px 18px;
}

.main-navigation > ul > li {
  min-width: 0;
}

.main-navigation > ul > li > a {
  text-align: center;
  white-space: nowrap;
  font-size: 12.5px;
  line-height: 1.2;
  padding: 12px 18px;
}

.main-navigation .sub-menu {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  min-width: 220px;
  padding: 12px;
  margin: 0;
  list-style: none;
  background: rgba(127, 173, 222, 0.96);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(66, 112, 170, 0.18);
  z-index: 50;
}

.main-navigation .sub-menu li + li {
  margin-top: 8px;
}

.main-navigation .sub-menu a {
  text-align: center;
  white-space: normal;
  font-size: 13px;
  padding: 12px 14px;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
  display: block;
}

/* Hero area: reduce cloud interference and stabilize card layout */
.hero-visual {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(18px, 2.8vw, 34px);
  align-items: end;
  padding: clamp(40px, 6vw, 70px) clamp(22px, 5vw, 56px) clamp(120px, 12vw, 150px);
}

.hero-visual::before {
  opacity: 0.58;
  background:
    radial-gradient(circle at 83% 13%, rgba(255,245,190,0.92) 0 1.2%, rgba(255,245,190,0.30) 1.2%, transparent 7%),
    radial-gradient(circle at 15% 11%, rgba(255,255,255,0.86) 0 4.8%, transparent 5.2%),
    radial-gradient(circle at 28% 10%, rgba(255,255,255,0.88) 0 5.4%, transparent 5.9%),
    radial-gradient(circle at 40% 13%, rgba(255,255,255,0.84) 0 4.4%, transparent 4.8%),
    radial-gradient(circle at 73% 16%, rgba(255,255,255,0.82) 0 4.8%, transparent 5.2%),
    radial-gradient(circle at 86% 18%, rgba(255,255,255,0.88) 0 5.8%, transparent 6.2%);
}

.hero-content {
  width: 100%;
  max-width: none;
  align-self: center;
  padding: 18px 22px 18px 0;
}

.hero-title {
  font-size: clamp(58px, 8.4vw, 108px);
  line-height: 0.95;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero-copy {
  font-size: clamp(22px, 3.6vw, 40px);
  max-width: 12.5em;
}

.hero-lead {
  max-width: 760px;
}

.hero-side-card {
  position: relative;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: 340px;
  transform: none;
  margin-top: 0;
  align-self: center;
}

/* Improve readability of hero text over bright clouds */
.hero-kicker {
  color: #2f4d80;
  font-weight: 1000;
  text-shadow: 0 2px 0 rgba(255,255,255,0.9), 0 0 10px rgba(255,255,255,0.65);
}

.hero-copy {
  color: #ffffff;
  text-shadow:
    -1px -1px 0 rgba(52,84,138,0.88),
    1px -1px 0 rgba(52,84,138,0.88),
    -1px 1px 0 rgba(52,84,138,0.88),
    1px 1px 0 rgba(52,84,138,0.88),
    0 6px 16px rgba(52,84,138,0.22);
}

.hero-lead {
  background: rgba(74, 121, 187, 0.24);
  border: 1px solid rgba(255,255,255,0.32);
}

.hero-side-card,
.onair-badge {
  background: rgba(255,255,255,0.44);
}

/* Make the whimsical scene a fixed bottom background instead of a content block */
body::after {
  content: "";
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100vw, 1600px);
  height: min(24vw, 360px);
  min-height: 180px;
  background: url('../images/sky-fantasy-footer.svg') center bottom / contain no-repeat;
  opacity: 0.88;
  pointer-events: none;
  z-index: -2;
}

body.theme-time-morning::after {
  opacity: 0.92;
  filter: saturate(1.02) brightness(1.02);
}

body.theme-time-day::after {
  opacity: 0.92;
  filter: saturate(1.02) brightness(1.03);
}

body.theme-time-evening::after {
  opacity: 0.82;
  filter: hue-rotate(-18deg) saturate(1.02) brightness(0.96);
}

body.theme-time-night::after {
  opacity: 0.70;
  filter: hue-rotate(10deg) saturate(0.84) brightness(0.78);
}

body.theme-time-earlymorning::after {
  opacity: 0.78;
  filter: hue-rotate(6deg) saturate(0.88) brightness(0.92);
}

/* disable old content-block scene styling if any old markup remains */
.sky-adventure-scene {
  display: none !important;
}

/* viewports */
@media (max-width: 1280px) {
  .main-navigation > ul {
    grid-template-columns: repeat(3, minmax(0, max-content));
  }
}

@media (max-width: 1120px) {
  .hero-visual {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-side-card {
    max-width: 520px;
  }

  .hero-title {
    white-space: normal;
    font-size: clamp(54px, 10vw, 96px);
  }
}

@media (max-width: 980px) {
  .main-navigation > ul {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }
}

@media (max-width: 782px) {
  .main-navigation > ul,
  .main-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .main-navigation .sub-menu {
    display: grid;
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    background: rgba(255,255,255,0.14);
  }

  .hero-visual {
    padding-bottom: 108px;
  }

  .hero-title {
    font-size: clamp(46px, 15vw, 76px);
    line-height: 1;
    white-space: normal;
  }

  .hero-copy {
    max-width: none;
  }

  body::after {
    width: 120vw;
    height: 180px;
    min-height: 160px;
    background-size: cover;
    opacity: 0.72;
  }
}

/* =========================================================
   v1.7 additions from v8 base
   - moving clouds and twinkling stars
   - wooden 24-hour clock board at upper-right of hero
   ========================================================= */

.hero-visual {
  overflow: hidden;
}

.sky-motion-clouds,
.sky-motion-stars,
.wood-clock-board {
  position: absolute;
  pointer-events: none;
}

.sky-motion-clouds,
.sky-motion-stars {
  inset: 0;
  z-index: -1;
}

.sky-cloud {
  position: absolute;
  display: block;
  width: 160px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    48px 3px 0 8px rgba(255,255,255,0.82),
    96px 8px 0 2px rgba(255,255,255,0.78),
    24px -20px 0 12px rgba(255,255,255,0.88),
    70px -18px 0 16px rgba(255,255,255,0.84);
  filter: drop-shadow(0 10px 14px rgba(74, 139, 203, 0.08));
  opacity: 0.74;
  animation: skyCloudDrift 54s linear infinite;
}

.cloud-one {
  left: -260px;
  top: 16%;
  transform: scale(1.05);
}

.cloud-two {
  left: 38%;
  top: 8%;
  transform: scale(0.78);
  opacity: 0.55;
  animation-duration: 70s;
  animation-delay: -32s;
}

.cloud-three {
  left: 80%;
  top: 28%;
  transform: scale(0.66);
  opacity: 0.48;
  animation-duration: 64s;
  animation-delay: -14s;
}

@keyframes skyCloudDrift {
  0% { margin-left: -20vw; }
  100% { margin-left: 132vw; }
}

.sky-star {
  position: absolute;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 247, 190, 0.94);
  box-shadow: 0 0 12px rgba(255, 247, 190, 0.68), 0 0 28px rgba(255, 247, 190, 0.25);
  opacity: 0;
  transform: scale(0.8);
  animation: starTwinkle 2.8s ease-in-out infinite alternate;
}

.sky-star::before,
.sky-star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 247, 190, 0.92);
  border-radius: 999px;
}

.sky-star::before {
  width: 22px;
  height: 2px;
}

.sky-star::after {
  width: 2px;
  height: 22px;
}

.star-one { left: 18%; top: 20%; animation-delay: -0.2s; }
.star-two { left: 35%; top: 10%; animation-delay: -1.1s; transform: scale(0.72); }
.star-three { left: 58%; top: 24%; animation-delay: -2s; transform: scale(0.9); }
.star-four { left: 72%; top: 12%; animation-delay: -0.8s; transform: scale(0.66); }
.star-five { left: 84%; top: 32%; animation-delay: -1.7s; transform: scale(0.78); }
.star-six { left: 47%; top: 36%; animation-delay: -2.5s; transform: scale(0.6); }

@keyframes starTwinkle {
  0% { opacity: 0.28; filter: blur(0.2px); }
  50% { opacity: 1; filter: blur(0); }
  100% { opacity: 0.38; filter: blur(0.5px); }
}

body.theme-time-day .sky-motion-stars,
body.theme-time-morning .sky-motion-stars,
body.theme-time-evening .sky-motion-stars {
  opacity: 0;
}

body.theme-time-night .sky-motion-stars,
body.theme-time-earlymorning .sky-motion-stars {
  opacity: 1;
}

body.theme-time-night .sky-cloud,
body.theme-time-earlymorning .sky-cloud {
  opacity: 0.22;
  filter: drop-shadow(0 10px 14px rgba(25, 54, 102, 0.08));
}

body.theme-time-night .sky-motion-clouds,
body.theme-time-earlymorning .sky-motion-clouds {
  opacity: 0.7;
}

body.theme-time-night .sky-motion-stars {
  animation: starFieldFloat 12s ease-in-out infinite alternate;
}

body.theme-time-earlymorning .sky-motion-stars {
  animation: starFieldFloat 16s ease-in-out infinite alternate;
}

@keyframes starFieldFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(10px, -8px, 0); }
}

.wood-clock-board {
  right: clamp(18px, 3vw, 38px);
  top: clamp(18px, 3vw, 34px);
  z-index: 8;
  min-width: 166px;
  padding: 14px 18px 15px;
  color: #fff8d7;
  text-align: center;
  border: 4px solid #7f5530;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16), transparent 20%, rgba(255,255,255,0.12) 42%, transparent 62%, rgba(0,0,0,0.06)),
    repeating-linear-gradient(90deg, #b98247 0 18px, #c99555 18px 36px, #a96f3c 36px 54px);
  box-shadow:
    inset 0 0 0 2px rgba(255, 236, 168, 0.22),
    inset 0 -10px 0 rgba(94, 55, 26, 0.12),
    0 10px 22px rgba(65, 94, 141, 0.2);
  transform: rotate(2deg);
}

.wood-clock-board::before,
.wood-clock-board::after {
  content: "";
  position: absolute;
  top: -16px;
  width: 8px;
  height: 18px;
  border-radius: 999px;
  background: #7f5530;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2);
}

.wood-clock-board::before { left: 26px; }
.wood-clock-board::after { right: 26px; }

.wood-clock-board__label,
.wood-clock-board__time {
  display: block;
  text-shadow: 0 2px 0 rgba(84, 47, 22, 0.5), 0 0 12px rgba(84, 47, 22, 0.22);
}

.wood-clock-board__label {
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.18em;
  color: #fff0a6;
  line-height: 1.1;
}

.wood-clock-board__time {
  margin-top: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #ffffff;
}

body.theme-time-night .wood-clock-board,
body.theme-time-earlymorning .wood-clock-board {
  box-shadow:
    inset 0 0 0 2px rgba(255, 236, 168, 0.18),
    inset 0 -10px 0 rgba(94, 55, 26, 0.12),
    0 0 20px rgba(255, 240, 170, 0.24),
    0 10px 22px rgba(25, 54, 102, 0.26);
}

@media (max-width: 1120px) {
  .wood-clock-board {
    right: 16px;
    top: 16px;
    min-width: 142px;
    padding: 11px 14px 12px;
  }

  .wood-clock-board__time {
    font-size: 24px;
  }
}

@media (max-width: 782px) {
  .wood-clock-board {
    position: relative;
    top: auto;
    right: auto;
    margin: 18px 0 0;
    width: max-content;
    min-width: 140px;
    transform: rotate(0deg);
    pointer-events: auto;
  }

  .sky-cloud {
    width: 120px;
    height: 44px;
    box-shadow:
      38px 4px 0 7px rgba(255,255,255,0.82),
      78px 7px 0 1px rgba(255,255,255,0.78),
      18px -16px 0 9px rgba(255,255,255,0.88),
      54px -14px 0 12px rgba(255,255,255,0.84);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sky-cloud,
  .sky-star,
  body.theme-time-night .sky-motion-stars,
  body.theme-time-earlymorning .sky-motion-stars {
    animation: none !important;
  }
}


/* =========================================================
   v1.7.1 stable recovery + safe X timeline box
   Based on the stable v8/v9 layout. Keeps clock and motion intact.
   ========================================================= */

.hero-side-card--x {
  overflow: hidden;
  max-height: 560px;
  padding: 16px;
}

.hero-side-card--x .side-card-label {
  display: block;
  margin-bottom: 10px;
}

.x-timeline-box {
  position: relative;
  width: 100%;
  min-height: 260px;
  max-height: 500px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.65);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
}

.x-timeline-box iframe {
  max-width: 100% !important;
  width: 100% !important;
  border-radius: 18px !important;
}

.x-timeline-fallback {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
}

.x-timeline-fallback a {
  color: #325489;
  font-weight: 900;
}

/* prevent X from pushing the hero out of shape */
@media (min-width: 783px) {
  .hero-side-card--x {
    align-self: center;
  }
}

@media (max-width: 782px) {
  .hero-side-card--x {
    max-height: none;
  }

  .x-timeline-box {
    max-height: none;
  }
}


/* =========================================================
   v23: return to WordPress uploaded logo + remove X display
   ========================================================= */
.hero-side-card--x,
.x-timeline-box,
.x-timeline-fallback,
.x-test-section,
.x-test-box,
.zokuhen-x-test,
.twitter-timeline {
  display: none !important;
}

.hero-side-card {
  overflow: visible;
}

.custom-logo-wrap img,
.custom-logo-link img,
.site-header .custom-logo {
  display: block;
  width: auto;
  max-width: min(360px, 42vw);
  max-height: 92px;
  object-fit: contain;
}

@media (max-width: 782px) {
  .custom-logo-wrap img,
  .custom-logo-link img,
  .site-header .custom-logo {
    max-width: min(280px, 72vw);
    max-height: 74px;
  }
}


/* =========================================================
   v25: header menu in 2 rows, not 2 columns
   ========================================================= */
.main-navigation > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 240px)) !important;
  justify-content: center;
  align-items: center;
  gap: 14px 16px;
  padding: 14px 18px 18px;
}

.main-navigation > ul > li {
  width: 100%;
  min-width: 0;
}

.main-navigation > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(12px, 0.95vw, 14px);
  padding: 12px 16px;
}

/* Keep the final row balanced when there are 7 items. */
.main-navigation > ul > li:last-child:nth-child(4n + 3) {
  grid-column: 2 / span 2;
  justify-self: center;
  width: min(360px, 100%);
}

/* Tablet: 3 columns, usually 3 rows. */
@media (max-width: 1180px) {
  .main-navigation > ul {
    grid-template-columns: repeat(3, minmax(170px, 240px)) !important;
  }

  .main-navigation > ul > li:last-child:nth-child(4n + 3) {
    grid-column: auto;
    width: 100%;
  }
}

/* Narrow screens: 2 columns. */
@media (max-width: 782px) {
  .main-navigation > ul,
  .main-navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .main-navigation > ul > li > a {
    white-space: normal;
    min-height: 50px;
    font-size: 12.5px;
  }
}
