/*
Theme Name: PoliUp Radio
Theme URI: https://radio.poli-up.jp
Author: POLI UP Inc.
Description: ポリアップRADIO 公式サイトテーマ。青×水色のポップで可愛いデザイン。エピソード・コラムは投稿（カテゴリー「エピソード」「コラム」）で更新できます。
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: poliup-radio
*/

:root {
  --bg: #F3FAFD;
  --ink: #27435C;
  --blue: #4FA8E0;
  --blue-deep: #2E7CC0;
  --blue-dark: #1F5E96;
  --yellow: #FFC64B;
  --muted: #7FA3BC;
  --muted-dark: #5E7E96;
  --shadow-blue: rgba(79,168,224,.3);
  --shadow-sky: rgba(150,208,240,.5);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; line-height: 1.5; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; min-height: 72px; padding: 10px clamp(16px, 4vw, 48px);
}
.site-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 20px; }
.site-brand:hover { color: var(--ink); }
.site-brand .brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); border: 2px solid var(--ink);
  display: grid; place-items: center; color: var(--bg); font-size: 13px; font-weight: 800;
}
.site-brand .brand-accent { color: var(--blue); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(12px, 2vw, 24px); font-weight: 700; font-size: 14px; }
.site-nav a { color: var(--ink); }
.site-nav a:hover { color: var(--blue); }
.site-nav .menu-cta a, .btn-cta {
  background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px;
  padding: 10px 20px; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font-weight: 800;
  display: inline-block;
}
.site-nav .menu-cta a:hover, .btn-cta:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); border-radius: 999px; padding: 16px 34px; font-weight: 800; font-size: 17px; box-shadow: 4px 4px 0 var(--ink); }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); } .btn-yellow:hover { color: var(--ink); }
.btn-white { background: var(--bg); color: var(--ink); } .btn-white:hover { color: var(--blue); }
.btn-sm { padding: 8px 18px; font-size: 13px; box-shadow: 3px 3px 0 var(--ink); }

/* ---------- Hero / band ---------- */
.band {
  background: var(--blue);
  background-image: radial-gradient(rgba(255,255,255,.16) 5px, transparent 6px);
  background-size: 44px 44px;
  border-bottom: 2px solid var(--ink);
  text-align: center; color: var(--bg);
}
.band a { color: inherit; }
.band .btn, .band .btn:hover { color: var(--ink); }
.hero { padding: clamp(56px, 8vw, 96px) 24px; }
.band-page { padding: clamp(40px, 6vw, 64px) 24px; }
.band h1, .band h2 { color: var(--bg); margin: 8px 0 0; }
.hero-logo { display: block; width: min(680px, 86vw); margin: 12px auto 0; filter: drop-shadow(0 4px 0 rgba(39,67,92,.25)); }
.onair-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); border: 2px solid var(--ink); border-radius: 999px;
  padding: 8px 22px; font-weight: 800; font-size: 15px; color: var(--ink);
  box-shadow: 3px 3px 0 rgba(39,67,92,.35);
}
.onair-badge::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #E8452E; }
.hero-lead { max-width: 640px; margin: 4px auto 0; font-weight: 700; font-size: clamp(15px, 2vw, 19px); line-height: 2; }
.hero-actions { margin-top: 22px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.eq { display: inline-flex; gap: 5px; align-items: flex-end; height: 26px; margin-top: 14px; }
.eq span { width: 6px; height: 26px; border-radius: 3px; background: var(--bg); transform-origin: bottom; animation: eqbounce 1s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: .15s; } .eq span:nth-child(3) { animation-delay: .3s; }
.eq span:nth-child(4) { animation-delay: .45s; } .eq span:nth-child(5) { animation-delay: .6s; }
@keyframes eqbounce { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 88px) 24px; }
.section-white { background: #FFF; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.section-head { text-align: center; }
.section-head .kicker { margin: 0; color: var(--blue); font-weight: 800; letter-spacing: .2em; font-size: 14px; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(26px, 4vw, 36px); }
.section-head .sub { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--muted); }

/* ---------- Cards ---------- */
.card-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.info-card { background: var(--bg); border: 2px solid var(--ink); border-radius: 22px; padding: 26px; box-shadow: 5px 5px 0 var(--shadow-sky); }
.info-card .label { margin: 0; font-size: 13px; font-weight: 800; color: var(--blue-deep); letter-spacing: .1em; }
.info-card .value { margin: 8px 0 0; font-family: 'Zen Maru Gothic', sans-serif; font-weight: 900; font-size: 24px; line-height: 1.5; }
.info-card p:last-child { margin: 8px 0 0; font-size: 14px; }

.post-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { background: #FFF; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 5px 5px 0 var(--shadow-blue); display: flex; flex-direction: column; color: var(--ink); transition: transform .1s; }
.post-card:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--shadow-blue); color: var(--ink); }
.post-card .thumb { height: 170px; border-bottom: 2px solid var(--ink); background: #DDEFFA; object-fit: cover; width: 100%; display: block; }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.post-card h2, .post-card h3 { margin: 0; font-size: 16.5px; line-height: 1.7; }
.pill { background: var(--blue); color: var(--bg); border-radius: 999px; padding: 3px 12px; font-weight: 800; font-size: 12px; }
.pill-yellow { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); padding: 2px 10px; font-size: 11.5px; border-radius: 999px; font-weight: 800; }

.article-row { background: #FFF; border: 2px solid var(--ink); border-radius: 18px; padding: 20px 22px; box-shadow: 4px 4px 0 var(--shadow-sky); display: grid; gap: 8px; color: var(--ink); }
.article-row:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shadow-sky); color: var(--ink); }
.article-row .title { margin: 0; font-weight: 800; font-size: 15px; line-height: 1.7; }

/* ---------- Personality ---------- */
.personality-card { margin-top: 36px; background: #FFF; border: 2px solid var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: 6px 6px 0 var(--shadow-blue); display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 44px); align-items: flex-start; }
.personality-card .photo { flex: 0 1 240px; min-width: 200px; margin: 0 auto; display: grid; justify-items: center; gap: 14px; }
.personality-card .photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 2px solid var(--ink); }
.personality-card .bio { flex: 1 1 320px; min-width: 0; }
.personality-card h3 { margin: 0; font-size: clamp(24px, 3vw, 30px); }
.chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px; font-size: 12.5px; font-weight: 700; }

/* ---------- Archive columns ---------- */
.archive-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; align-items: start; }
.archive-col { display: grid; gap: 20px; }
.archive-col > h3 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); display: inline-block; }
.dot-blue { background: var(--blue); } .dot-yellow { background: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #EAF4FB; padding: 48px 24px 32px; }
.site-footer a { color: #EAF4FB; } .site-footer a:hover { color: var(--yellow); }
.footer-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; font-size: 13px; color: #BAD6EA; }
.footer-grid .heading { margin: 0 0 8px; font-weight: 800; color: var(--yellow); }
.footer-logo { width: 220px; display: block; }
.copyright { max-width: 1040px; margin: 36px auto 0; font-size: 12px; color: #8FB2CC; border-top: 1px solid #3D5C77; padding-top: 20px; }

/* ---------- Single / page ---------- */
.entry { max-width: 760px; margin: 0 auto; background: #FFF; border: 2px solid var(--ink); border-radius: 26px; padding: clamp(24px, 4vw, 44px); box-shadow: 6px 6px 0 var(--shadow-blue); }
.entry .entry-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--muted); }
.entry h1 { font-size: clamp(24px, 3.4vw, 32px); margin: 12px 0 0; }
.entry .entry-content { margin-top: 20px; font-size: 15.5px; }
.entry .entry-content img { border-radius: 16px; border: 2px solid var(--ink); }

@media (max-width: 640px) {
  .site-nav ul { font-size: 13px; }
  .btn { padding: 14px 26px; font-size: 15px; }
}

/* ---------- Block editor content ---------- */
.entry-content > * { margin-top: 1.2em; }
.entry-content blockquote { background: var(--bg); border: 2px solid var(--ink); border-radius: 16px; padding: 16px 22px; margin: 24px 0; }
.entry-content .wp-block-image img, .entry-content figure img { border-radius: 16px; border: 2px solid var(--ink); }
.entry-content .wp-block-button__link { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; box-shadow: 3px 3px 0 var(--ink); }
.entry-content .wp-block-button__link:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.entry-content .wp-block-embed, .entry-content iframe { max-width: 100%; }
.entry-content .wp-block-embed iframe { border-radius: 16px; border: 2px solid var(--ink); }
.entry-content .wp-block-table td, .entry-content .wp-block-table th { border: 2px solid var(--ink); padding: 8px 12px; }
.alignwide { max-width: 1040px; margin-left: auto; margin-right: auto; }
