/*
Theme Name: Noche
Theme URI: https://kingprotea.jp/
Author: King Protea Inc.
Author URI: https://kingprotea.jp/
Description: すすきの系ニュークラブ／キャバクラ向けの白基調 × フォレストグリーンのミニマルWordPressテーマ。キャスト・店舗・グラビア・求人・FAQをすべて管理画面から編集できるフル機能テーマ。
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noche
Tags: custom-post-types, translation-ready, full-site, business, one-column, two-columns, custom-menu, custom-logo
*/

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --green: #008847;
  --green-dark: #006c39;
  --gold: #b7942f;
  --green-tint: #eef6f1;
  --green-tint: color-mix(in srgb, var(--green) 9%, #ffffff);
  --ink: #222222;
  --ink-soft: #555555;
  --muted: #8a8a8a;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --line: #e7e7e7;
  --line-soft: #f0f0f0;

  --font-jp: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック, "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  --wrap: 1200px;
  --gap: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --space-section: clamp(4rem, 3rem + 6vw, 9rem);
  --radius: 4px;
  --radius-pill: 999px;

  --dur: 0.6s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 15px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease); }
a:hover { color: var(--green); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Section heading pattern: English label + JP title + rule */
.section-head { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.4rem); }
.section-head .en {
  font-family: var(--font-en);
  font-style: italic;
  color: var(--green);
  font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.4rem;
}
.section-head .jp {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  letter-spacing: 0.12em;
  font-weight: 600;
}
.section-head .jp::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  background: var(--green);
  margin-top: 1rem;
}
.section-head.-center { text-align: center; }
.section-head.-center .jp::after { margin-inline: auto; }

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(2rem, 1.4rem + 1.6vw, 3rem);
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn-more::after { content: "→"; transition: transform var(--dur) var(--ease); }
.btn-more:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-more:hover::after { transform: translateX(4px); }
.center { text-align: center; }

/* =========================================================
   Site header (desktop split panel + mobile bar)
   ========================================================= */
.site-header { position: relative; z-index: 40; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand .mark {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  letter-spacing: 0.32em;
  font-weight: 600;
  text-transform: uppercase;
}
.brand .mark img { height: clamp(28px, 5vw, 40px); width: auto; display: inline-block; }
.brand .sub { color: var(--muted); letter-spacing: 0.42em; font-size: 0.72rem; margin-top: 0.5rem; text-transform: uppercase; }

/* desktop top bar (sub pages) */
.site-header.-bar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header.-bar .bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0; }
.bar-nav { display: flex; align-items: center; gap: 1.8rem; }
.bar-nav a { font-size: 0.9rem; letter-spacing: 0.08em; color: var(--ink); }
.bar-nav a:hover { color: var(--green); }
.bar-tel { color: var(--green); font-family: var(--font-en); font-weight: 600; letter-spacing: 0.06em; font-size: 1.05rem; }

/* mobile top bar */
.mobile-bar {
  display: none;
  position: sticky; top: 0; z-index: 50;
  align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

/* off-canvas drawer (mobile nav, shared across pages) */
.site-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 45; background: #fff;
  transform: translateX(-100%); transition: transform var(--dur) var(--ease);
  overflow-y: auto; padding: 5rem 1.8rem 3rem; flex-direction: column; gap: 1.6rem;
}
body.nav-open .site-drawer { transform: none; }
.site-drawer .hero__nav-primary a { font-size: 1.8rem; }
.hamburger { width: 42px; height: 42px; border: 0; background: none; display: grid; place-items: center; gap: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.hamburger span + span { margin-top: 6px; }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   Hero (split screen)
   ========================================================= */
.hero { display: grid; grid-template-columns: minmax(360px, 44%) 1fr; min-height: 100vh; }
.hero__panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 1rem + 5vw, 5rem) clamp(1.6rem, 1rem + 3vw, 4.5rem);
  gap: clamp(1.6rem, 1rem + 2vw, 2.6rem);
}
.hero__brand { margin-bottom: clamp(1rem, 0.6rem + 1.5vw, 2rem); }
.hero__nav-primary { display: flex; flex-direction: column; gap: clamp(0.8rem, 0.4rem + 1.4vw, 1.7rem); }
.hero__nav-primary a {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
  font-weight: 600; letter-spacing: 0.14em; color: var(--green);
  position: relative; width: fit-content;
}
.hero__nav-primary a::after {
  content: ""; display: block; height: 1px; width: 100%; margin-top: 0.7rem;
  background: linear-gradient(90deg, var(--green) 40%, transparent 40%);
  background-size: 8px 1px;
}
.hero__nav-primary a:hover { color: var(--green-dark); padding-left: 0.4rem; }

.hero__nav-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.4rem; font-size: 0.9rem; }
.hero__nav-secondary a { color: var(--green); letter-spacing: 0.06em; }
.hero__nav-secondary a:hover { color: var(--ink); }

.hero__social { display: flex; gap: 1.4rem; margin-top: 0.4rem; }
.hero__social a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--green); font-size: 0.85rem; }
.hero__social svg { width: 20px; height: 20px; fill: currentColor; }

.hero__media { position: relative; overflow: hidden; background: #111; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* fixed call-to-action pill */
.cta-fixed {
  position: fixed; z-index: 60; right: clamp(1rem, 0.5rem + 2vw, 2.4rem); bottom: clamp(1rem, 0.5rem + 2vw, 2.4rem);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2rem; border-radius: var(--radius-pill);
  background: var(--green); color: #fff; font-weight: 600; letter-spacing: 0.1em;
  box-shadow: 0 10px 30px rgba(0,136,71,0.35);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.cta-fixed:hover { background: var(--green-dark); color: #fff; transform: translateY(-3px); }
.cta-fixed svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================================================
   Achievements (No.1 badges)
   ========================================================= */
.achievements { text-align: center; padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(2rem, 1rem + 2vw, 3.5rem); }
.ach-heading {
  font-size: clamp(1.3rem, 0.9rem + 2.1vw, 2.7rem);
  font-weight: 700; letter-spacing: 0.04em; line-height: 1.5;
  max-width: 22em; margin: 0 auto clamp(1.6rem, 1rem + 2vw, 3rem);
}
.ach-list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 0.4rem + 2.5vw, 3.5rem) clamp(1.4rem, 0.6rem + 3vw, 4.5rem); }
.ach-item { display: flex; align-items: center; gap: clamp(0.2rem, 0.6vw, 0.7rem); }
.ach-laurel { width: clamp(38px, 3.4vw, 56px); height: auto; color: var(--gold); flex: none; }
.ach-laurel.-right { transform: scaleX(-1); }
.ach-body { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0 clamp(0.1rem, 0.4vw, 0.5rem); }
.ach-crown { width: clamp(28px, 2.6vw, 40px); height: auto; color: var(--gold); }
.ach-label { color: var(--gold); font-size: clamp(0.62rem, 0.5rem + 0.4vw, 0.86rem); letter-spacing: 0.02em; white-space: nowrap; }
.ach-text { font-size: clamp(1.15rem, 0.8rem + 1.6vw, 2.1rem); font-weight: 700; letter-spacing: 0.03em; color: var(--ink); white-space: nowrap; }

@media (max-width: 640px) {
  .ach-list { gap: 1.6rem 1.2rem; }
  .ach-label { white-space: normal; }
}

/* =========================================================
   Top map / access
   ========================================================= */
.map-embed { aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; margin-top: 2rem; background: var(--green-tint); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-text { text-align: center; color: var(--ink-soft); margin-top: 1.2rem; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4 / 5; } }

/* =========================================================
   Image slider (builder block)
   ========================================================= */
.noche-slider { position: relative; width: 100%; height: var(--slider-h, clamp(320px, 46vw, 620px)); overflow: hidden; background: #0e0e0e; }
.noche-slider__track { position: absolute; inset: 0; }
.noche-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.noche-slide.is-active { opacity: 1; }
.noche-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.noche-slider__dots { position: absolute; left: 0; right: 0; bottom: 1.2rem; display: flex; gap: 0.6rem; justify-content: center; z-index: 2; }
.noche-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.noche-dot.is-active { background: #fff; transform: scale(1.25); }

/* =========================================================
   Number counter (builder block)
   ========================================================= */
.counter-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.6rem, 1rem + 4vw, 5rem); }
.counter-item { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.counter-num { font-family: var(--font-en); font-weight: 700; color: var(--green); font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); line-height: 1; }
.counter-unit { font-size: clamp(1rem, 0.8rem + 0.6vw, 1.3rem); color: var(--green); font-weight: 600; margin-top: -0.4rem; }
.counter-label { color: var(--ink-soft); letter-spacing: 0.06em; font-size: 0.9rem; margin-top: 0.3rem; }

/* =========================================================
   Free space (builder block)
   ========================================================= */
.freespace { max-width: 820px; margin-inline: auto; line-height: 2; color: var(--ink-soft); }
.freespace :is(h2,h3) { color: var(--ink); letter-spacing: 0.04em; }
.freespace a { color: var(--green); text-decoration: underline; }
.freespace img { border-radius: var(--radius); }

/* =========================================================
   Cast grid
   ========================================================= */
.section { padding-block: var(--space-section); }
.section.-alt { background: var(--bg-alt); }

.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.8rem, 0.4rem + 1.5vw, 1.8rem); }
.cast-card { position: relative; }
.cast-card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--green-tint); }
.cast-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.cast-card:hover .cast-card__media img { transform: scale(1.06); }
.cast-card__rank {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
  min-width: 30px; height: 30px; padding: 0 0.4rem; border-radius: var(--radius-pill);
  background: var(--green); color: #fff; font-family: var(--font-en); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; letter-spacing: 0.02em;
}
.cast-card__rank.-gold { background: #c9a227; }
.cast-card__rank.-silver { background: #9aa0a6; }
.cast-card__rank.-bronze { background: #b1712c; }
.cast-card__shop { position: absolute; bottom: 0.7rem; left: 0.7rem; z-index: 2; background: rgba(255,255,255,0.9); color: var(--ink); font-size: 0.68rem; letter-spacing: 0.08em; padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); }
.cast-card__name { margin-top: 0.8rem; font-size: 1.05rem; letter-spacing: 0.08em; }
.cast-card__catch { color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* =========================================================
   Gravure grid
   ========================================================= */
.gravure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.6rem, 0.3rem + 1.2vw, 1.2rem); }
.gravure-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--green-tint); }
.gravure-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gravure-item:hover img { transform: scale(1.05); }
.gravure-item__cap { position: absolute; inset: auto 0 0 0; padding: 1.4rem 0.8rem 0.7rem; color: #fff; font-size: 0.82rem; letter-spacing: 0.08em; background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent); opacity: 0; transition: opacity var(--dur) var(--ease); }
.gravure-item:hover .gravure-item__cap { opacity: 1; }

/* =========================================================
   Shop list
   ========================================================= */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(1rem, 0.6rem + 1.5vw, 2rem); }
.shop-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.shop-card:hover { box-shadow: 0 18px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }
.shop-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-tint); }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; }
.shop-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.shop-card__name { font-size: 1.2rem; letter-spacing: 0.08em; }
.shop-card__meta { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.8rem; font-size: 0.82rem; color: var(--ink-soft); }
.shop-card__meta dt { color: var(--green); font-weight: 600; }
.shop-card__meta dd { margin: 0; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.4rem 2.4rem 1.4rem 2.6rem; position: relative; font-size: 1rem; letter-spacing: 0.04em; color: var(--ink); }
.faq-q::before { content: "Q"; position: absolute; left: 0.6rem; color: var(--green); font-family: var(--font-en); font-weight: 700; font-size: 1.2rem; }
.faq-q::after { content: "+"; position: absolute; right: 0.8rem; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 1.3rem; transition: transform var(--dur) var(--ease); }
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq-a__inner { padding: 0 2.4rem 1.6rem 2.6rem; color: var(--ink-soft); position: relative; }
.faq-a__inner::before { content: "A"; position: absolute; left: 0.6rem; top: 0; color: var(--muted); font-family: var(--font-en); font-weight: 700; font-size: 1.2rem; }

/* =========================================================
   Single / article
   ========================================================= */
.single-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.single-hero__media { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--green-tint); }
.single-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.single-hero__name { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); letter-spacing: 0.1em; }
.single-hero__catch { color: var(--green); margin-top: 0.6rem; letter-spacing: 0.06em; }
.profile-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.profile-table th, .profile-table td { text-align: left; padding: 0.9rem 0.4rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; vertical-align: top; }
.profile-table th { width: 34%; color: var(--green); font-weight: 600; letter-spacing: 0.06em; }
.entry-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 2.4rem; }
.entry-gallery img { aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); width: 100%; }
.entry-content { max-width: 760px; margin-inline: auto; line-height: 2; }
.entry-content h2 { margin: 2.4rem 0 1rem; border-left: 4px solid var(--green); padding-left: 0.9rem; }
.entry-content p { margin: 0 0 1.4rem; }
.entry-content a { color: var(--green); text-decoration: underline; }

.page-hero { text-align: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1rem + 2vw, 3rem); }
.page-hero .en { font-family: var(--font-en); font-style: italic; color: var(--green); letter-spacing: 0.1em; display: block; margin-bottom: 0.6rem; font-size: 1.4rem; }
.page-hero .jp { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: 0.12em; }

/* recruit */
.recruit-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.recruit-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,1rem+4vw,5rem); gap: 1.4rem; }
.recruit-hero__copy .lead { font-size: clamp(1.6rem, 1.2rem + 2vw, 3rem); font-weight: 700; letter-spacing: 0.06em; line-height: 1.5; }
.recruit-hero__copy .lead em { color: var(--green); font-style: normal; }
.recruit-hero__media { background: var(--green-tint); overflow: hidden; }
.recruit-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.recruit-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.recruit-point { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; }
.recruit-point .num { font-family: var(--font-en); color: var(--green); font-size: 2rem; font-weight: 700; }
.recruit-point h3 { margin: 0.6rem 0 0.8rem; letter-spacing: 0.06em; }

/* =========================================================
   Filter bar (archives)
   ========================================================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.4rem; }
.filter-bar a { padding: 0.5rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 0.82rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.filter-bar a.is-active, .filter-bar a:hover { background: var(--green); border-color: var(--green); color: #fff; }

.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 3rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.9rem; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* =========================================================
   Blog / column
   ========================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 0.6rem + 1.5vw, 2rem); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); background: var(--green-tint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__date { color: var(--muted); font-size: 0.78rem; margin-top: 0.8rem; font-family: var(--font-en); letter-spacing: 0.06em; }
.post-card__title { font-size: 1.02rem; margin-top: 0.3rem; letter-spacing: 0.04em; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: #cfcfcf; padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2rem; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.4rem; }
.footer-brand .mark { font-family: var(--font-en); letter-spacing: 0.3em; font-size: 1.5rem; color: #fff; text-transform: uppercase; }
.footer-brand p { color: #9a9a9a; font-size: 0.82rem; margin-top: 1rem; }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.6rem; font-size: 0.86rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.2rem; }
.footer-social svg { width: 22px; height: 22px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 3rem; padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.76rem; color: #8f8f8f; letter-spacing: 0.06em; }
.footer-bottom .mark-en { font-family: var(--font-en); font-style: italic; }

/* =========================================================
   Scroll reveal
   ========================================================= */
/* Progressive enhancement: only hide when JS is available (html.js). No-JS shows everything. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .cast-grid { grid-template-columns: repeat(3, 1fr); }
  .gravure-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .recruit-points { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .mobile-bar { display: flex; }
  .site-header.-bar { display: none; }
  .site-drawer { display: flex; }
  body.nav-open { overflow: hidden; }
  .hero { display: block; min-height: auto; }
  .hero__panel { display: none; }
  .hero__media { position: relative; height: 68vh; min-height: 420px; }
  .hero__media img, .hero__media video { position: absolute; }
  .single-hero { grid-template-columns: 1fr; }
  .recruit-hero { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .gravure-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .hero__nav-secondary { grid-template-columns: 1fr; }
  .entry-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
