@charset "UTF-8";

/* =========================================================================
   Voice hub page (/voice/)
   Ported from voice.html mockup. Header/nav/footer markup is not
   included here — those are provided by header.php / footer.php.
   Section backgrounds and watermark layout reuse the shared
   .section-base / .section-base--yellow / --white component (rendered via
   cebuway_render_base_section()); CTA buttons reuse the shared .jh-cta /
   .jh-final-cta components (cebuway_cta_buttons() / template-parts/final-cta.php).
   Classes are prefixed .voice-hub- (not .voice-) because .voice-card /
   .voice-section are already used by the front-page testimonial teaser
   (template-parts/voice-card.php, loaded sitewide via front-page.css) —
   a different markup structure that must not be affected by this page.
   ========================================================================= */

.voice-hub {
  --voice-hub-orange-accent: #FB7312;
  --voice-hub-pink: #FC75AE;
  --voice-hub-blue: #0385FE;
  --voice-hub-text-dark: #1A1A1A;
  --voice-hub-text-gray: #5B5B5B;
  --voice-hub-bg-gray: #EFEFEF;
  --voice-hub-bg-page: #F8F8F8;
  --voice-hub-radius-lg: 20px;
  --voice-hub-shadow-card: 0 4px 18px rgba(0, 0, 0, .08);
  --voice-hub-font-en: "Jost", sans-serif;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--voice-hub-text-dark);
  line-height: 1.9;
  overflow-x: hidden;
}

.voice-hub *,
.voice-hub *::before,
.voice-hub *::after {
  box-sizing: border-box;
}

.voice-hub img { max-width: 100%; display: block; }
.voice-hub a { text-decoration: none; color: inherit; }

/* ---- hero -------------------------------------------------------------- */
.voice-hub-hero {
  position: relative;
  margin-top: 144px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--voice-hub-bg-page);
  padding: 88px 20px 72px;
  text-align: center;
  overflow: hidden;
}
.voice-hub-hero__overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 30, .5), rgba(15, 20, 30, .62));
  z-index: 0;
}
.voice-hub-hero__inner { position: relative; z-index: 1; }
.voice-hub-hero__title {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1.6;
  letter-spacing: .02em;
  margin: 0 auto 20px;
}
.voice-hub-hero__lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
}

/* ---- section shell (paired with cebuway_render_base_section) ---------- */
.voice-hub-section { position: relative; overflow: hidden; }
.voice-hub-section__inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: left;
}

.section-base__watermark-text {
  display: inline-block;
  font-family: var(--voice-hub-font-en);
  font-weight: 800;
  font-size: clamp(58px, 9vw, 108px);
  letter-spacing: -.02em;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  color: rgba(0, 0, 0, .055);
}
.section-base--yellow .section-base__watermark-text { color: rgba(255, 255, 255, .16); }

.voice-hub-heading {
  text-align: left;
  font-size: 30px;
  font-weight: 900;
  color: var(--voice-hub-text-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}
.section-base--yellow .voice-hub-heading { color: #fff; }

/* ---- category tab nav --------------------------------------------------- */
.voice-hub-tabs {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.voice-hub-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 13px 34px;
  border: 2px solid var(--voice-hub-pink);
  color: var(--voice-hub-pink);
  background: #fff;
  transition: transform .2s ease, filter .2s ease;
}
.voice-hub-tab:hover { transform: translateY(-2px); }
.voice-hub-tab--blue { border-color: var(--voice-hub-blue); color: var(--voice-hub-blue); }
.voice-hub-tab--orange { border-color: var(--voice-hub-orange-accent); color: var(--voice-hub-orange-accent); }

/* ---- voice cards --------------------------------------------------------- */
.voice-hub-cards {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-bottom: 44px;
}
.voice-hub-card {
  background: #fff;
  border-radius: var(--voice-hub-radius-lg);
  box-shadow: var(--voice-hub-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.voice-hub-card__img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f3f3f3, #e6e6e6);
  overflow: hidden;
}
.voice-hub-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voice-hub-card__body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.voice-hub-card h3 { font-size: 18px; font-weight: 900; color: var(--voice-hub-text-dark); margin-bottom: 12px; }
.voice-hub-card__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.voice-hub-card__meta span {
  font-size: 12px;
  font-weight: 700;
  color: var(--voice-hub-text-gray);
  background: var(--voice-hub-bg-gray);
  border-radius: 999px;
  padding: 4px 14px;
}
.voice-hub-card p { font-size: 14.5px; color: var(--voice-hub-text-gray); margin-bottom: 18px; flex: 1; }
.voice-hub-more { text-align: left; }

.voice-hub-card--junior h3 { color: var(--voice-hub-pink); }
.voice-hub-card--high h3 { color: var(--voice-hub-blue); }

/* ---- refund guarantee banner --------------------------------------------- */
/* This section (id="voice-hub-guarantee") stays centered — title and card
   content — unlike the rest of the page, which is left-aligned. */
#voice-hub-guarantee .voice-hub-heading,
#voice-hub-guarantee .voice-hub-refund {
  text-align: center;
}
.voice-hub-refund {
  background: #fff;
  border-radius: var(--voice-hub-radius-lg);
  box-shadow: var(--voice-hub-shadow-card);
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 48px;
  text-align: left;
}
.voice-hub-refund__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #F8B133, #F59F27);
  border-radius: 999px;
  padding: 6px 22px;
  margin-bottom: 14px;
}
.voice-hub-refund h3 { font-size: 24px; font-weight: 900; color: var(--voice-hub-orange-accent); margin-bottom: 16px; }
.voice-hub-refund p { font-size: 15px; color: var(--voice-hub-text-dark); margin-bottom: 28px; }

/* ---- page-local buttons (もっと見る / 詳細を見る links) ------------------- */
.voice-hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform .2s ease, filter .2s ease;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}
.voice-hub-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.voice-hub-btn--pink { background: var(--voice-hub-pink); color: #fff; }
.voice-hub-btn--blue { background: var(--voice-hub-blue); color: #fff; }
.voice-hub-btn--outline { background: #fff; color: var(--voice-hub-text-dark); border: 1.5px solid var(--voice-hub-text-dark); }
.voice-hub-btn--outline:hover { transform: translateY(-2px); filter: none; }
.voice-hub-btn--lg { font-size: 16px; padding: 17px 34px; min-width: 270px; }

/* .jh-final-cta reads var(--jh-white), which is only defined under the .jh
   scope (junior-high/high-school pages) — this page uses .voice-hub instead,
   so the var() is unresolved there and falls back to the inherited dark text. */
.voice-hub .jh-final-cta__title,
.voice-hub .jh-final-cta__text { color: #fff; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .voice-hub-hero__title { font-size: 30px; }
}
@media (max-width: 768px) {
  .voice-hub-hero { margin-top: 110px; }
  .voice-hub-hero__title { font-size: 25px; }
  .voice-hub-heading { font-size: 21px; }
  .voice-hub-card__body { padding: 20px 20px 24px; }
  .voice-hub-refund { padding: 30px 24px; }
  .voice-hub-refund h3 { font-size: 20px; }
  .voice-hub-btn--lg { min-width: 100%; }
  .section-base__watermark-text { font-size: 44px; }
}
