/* ========================================================================
   佐倉男声合唱団 - Pattern A : 和モダン (Classic Japanese)
   配色: 桜色 + 墨 + 金 / 和紙テクスチャ
   AA: 本文22px / コントラスト 4.5:1 以上
   ======================================================================== */

:root {
  --c-ink: #2b2320;          /* 墨色（本文） */
  --c-ink-soft: #4a3f3a;     /* 副本文 */
  --c-paper: #fbf6ee;        /* 和紙ベース */
  --c-paper-deep: #f3ebdc;   /* 和紙影 */
  --c-sakura: #c14b6a;       /* 桜（強調） AA OK on paper */
  --c-sakura-deep: #8c2c47;  /* 桜深 */
  --c-gold: #a07a30;         /* 金箔 */
  --c-line: #d6c9b0;         /* 罫線 */
  --c-focus: #e0a93b;        /* フォーカス */
  --shadow-sm: 0 2px 4px rgba(43, 35, 32, .12);
  --shadow-md: 0 6px 18px rgba(43, 35, 32, .14);
  --radius: 6px;
  --maxw: 980px;
  --fs-base: 1.375rem;       /* 22px */
  --fs-lead: 1.625rem;       /* 26px */
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;
  font-size: var(--fs-base);
  line-height: 1.85;
  color: var(--c-ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(193,75,106,.06), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(160,122,48,.06), transparent 35%),
    var(--c-paper);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
}

/* ── アクセシビリティ ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px; left: 8px;
  background: var(--c-ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  z-index: 1000;
  font-size: 1.125rem;
}
.skip-link:focus { top: 8px; }

a { color: var(--c-sakura-deep); text-underline-offset: 4px; }
a:hover { color: var(--c-sakura); }
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; display: block; }

/* ── ヘッダー ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, .96);
  border-bottom: 1px solid var(--c-line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--c-ink);
  flex-shrink: 0;
}
.brand__logo {
  width: 62px; height: auto;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand__name {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  display: block;
}
.brand__sub {
  display: block;
  font-size: .8125rem;
  color: var(--c-ink-soft);
  margin-top: 4px;
  letter-spacing: .04em;
}

.nav-toggle {
  margin-left: auto;
  width: 64px; height: 64px;
  border: 2px solid var(--c-ink);
  background: transparent;
  color: var(--c-ink);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 6px;
  flex-shrink: 0;
}
.nav-toggle__lines {
  position: relative;
  display: block;
  width: 28px;
  height: 22px;
}
.nav-toggle__lines::before,
.nav-toggle__lines::after,
.nav-toggle__lines i {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.nav-toggle__lines::before { top: 0; }
.nav-toggle__lines i      { top: 50%; transform: translateY(-50%); }
.nav-toggle__lines::after  { top: calc(100% - 3px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after  { top: 50%; transform: translateY(-50%) rotate(-45deg); }

.nav-toggle__label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}

.global-nav {
  overflow: hidden;
  max-height: 0;
  background: var(--c-paper-deep);
  border-bottom: 1px solid transparent;
  transition: max-height .3s ease, border-color .3s ease;
}
.global-nav[data-open="true"] {
  max-height: 720px;
  border-bottom-color: var(--c-line);
}
@media (prefers-reduced-motion: reduce) {
  .global-nav, .nav-toggle__lines::before, .nav-toggle__lines::after, .nav-toggle__lines i { transition: none; }
}
.global-nav ul {
  list-style: none;
  padding: 8px 12px 16px;
  margin: 0 auto;
  max-width: var(--maxw);
  display: grid;
  gap: 4px;
}
.global-nav a {
  display: block;
  padding: 18px 20px;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--c-ink);
  border-radius: var(--radius);
  border-left: 4px solid var(--c-gold);
  background: var(--c-paper);
  min-height: 48px;
}
.global-nav a:hover, .global-nav a[aria-current="page"] {
  background: var(--c-sakura);
  color: #fff;
  border-left-color: var(--c-sakura-deep);
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .global-nav {
    max-height: none;
    overflow: visible;
    background: transparent;
    border-bottom: none;
    margin-left: auto;
  }
  .global-nav ul {
    padding: 0;
    gap: 2px;
    display: flex;
    flex-wrap: nowrap;
  }
  .global-nav a {
    background: transparent;
    border-left: none;
    padding: 10px 10px;
    font-size: .9375rem;
    white-space: nowrap;
    min-height: 44px;
  }
  .global-nav a[aria-current="page"], .global-nav a:hover {
    background: transparent;
    color: var(--c-sakura-deep);
    border-bottom: 3px solid var(--c-sakura);
    border-radius: 0;
  }
}

/* ── ヒーロー ──────────────────────────────────────── */
.hero {
  padding: 48px 20px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(193, 75, 106, .12) 0, transparent 12%),
    radial-gradient(circle at 85% 75%, rgba(193, 75, 106, .10) 0, transparent 14%),
    radial-gradient(circle at 50% 110%, rgba(160, 122, 48, .12) 0, transparent 30%);
  pointer-events: none;
}
.hero__overline {
  font-size: 1rem;
  letter-spacing: .3em;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.hero__title {
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: .08em;
  color: var(--c-ink);
}
.hero__title-en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--c-sakura-deep);
  letter-spacing: .15em;
  margin-bottom: 24px;
  display: block;
}
.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--c-ink-soft);
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 36px;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--c-sakura);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
}
.hero__cta:hover { background: var(--c-sakura-deep); color: #fff; }

/* ── 共通セクション ────────────────────────────────── */
section { padding: 56px 20px; }
.container { max-width: var(--maxw); margin: 0 auto; }

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: .12em;
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  background: var(--c-gold);
  margin: 16px auto 0;
}
.section-overline {
  text-align: center;
  font-size: .9375rem;
  letter-spacing: .25em;
  color: var(--c-gold);
  margin-bottom: 8px;
}

/* ── 演奏会アナウンス ────────────────────────────────── */
.notice {
  background: linear-gradient(180deg, var(--c-paper-deep), var(--c-paper));
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.notice-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.notice-card::before {
  content: "ご案内";
  position: absolute;
  top: -14px; left: 24px;
  background: var(--c-sakura);
  color: #fff;
  padding: 4px 16px;
  font-size: .9375rem;
  letter-spacing: .15em;
  border-radius: 999px;
}
.notice-card h3 { font-size: 1.5rem; margin: 4px 0 16px; line-height: 1.5; }
.notice-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 1.125rem; margin: 0; }
.notice-card dt { color: var(--c-gold); font-weight: 700; }

/* ── about ─────────────────────────────────────── */
.about {
  display: grid;
  gap: 32px;
}
.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #fff;
  transform: rotate(-1deg);
}
.about__body p { margin: 0 0 20px; }
@media (min-width: 760px) {
  .about { grid-template-columns: 1fr 1.2fr; align-items: center; }
}

/* ── 動画 ───────────────────────────────────────── */
.videos {
  background: var(--c-paper-deep);
}
.videos__grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 720px) { .videos__grid { grid-template-columns: 1fr 1fr; } }

.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.video-card a {
  display: block;
  text-decoration: none;
  color: var(--c-ink);
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card__thumb::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3rem;
  text-shadow: 0 4px 16px rgba(0,0,0,.6);
}
.video-card__body { padding: 16px 20px 20px; }
.video-card__title { margin: 0 0 6px; font-size: 1.125rem; }
.video-card__meta { font-size: .9375rem; color: var(--c-ink-soft); }

/* ── 募集ティーザー ─────────────────────────────────── */
.recruit-teaser {
  text-align: center;
  background:
    linear-gradient(rgba(251, 246, 238, .92), rgba(251, 246, 238, .92)),
    url("../shared/images/image89.jpg") center / cover;
  padding: 72px 20px;
}
.recruit-teaser p { font-size: var(--fs-lead); margin: 0 auto 28px; max-width: 600px; }

/* ── フッター ──────────────────────────────────────── */
.site-footer {
  background: var(--c-ink);
  color: #f3ebdc;
  padding: 40px 20px;
  font-size: 1rem;
}
.site-footer a { color: #f3ebdc; }
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.site-footer__brand { font-size: 1.25rem; font-weight: 700; }
.site-footer__contact dl { margin: 0; }
.site-footer__contact dt { color: var(--c-gold); margin-top: 12px; }
.site-footer__contact dd { margin: 4px 0 0; }
.site-footer__copy { font-size: .875rem; color: #c8b69a; padding-top: 20px; border-top: 1px solid #4a3f3a; }
@media (min-width: 720px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-footer__copy { grid-column: 1 / -1; } }

/* ── 募集ページ専用 ───────────────────────────────── */
.page-hero {
  text-align: center;
  padding: 56px 20px 32px;
  background: var(--c-paper-deep);
  border-bottom: 1px solid var(--c-line);
}
.page-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin: 0;
  letter-spacing: .1em;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 32px 0;
  border-top: 1px solid var(--c-line);
}
.detail-list > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
}
.detail-list dt {
  font-weight: 700;
  color: var(--c-sakura-deep);
  font-size: 1rem;
  letter-spacing: .1em;
}
.detail-list dd { margin: 0; font-size: 1.25rem; }
@media (min-width: 720px) {
  .detail-list > div { grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; }
  .detail-list dt { font-size: 1.125rem; }
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  margin: 32px 0 8px;
  list-style: none;
  padding: 0;
}
.steps li {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px 24px 24px 80px;
  position: relative;
  font-size: 1.125rem;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px; top: 22px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--c-sakura);
  color: #fff;
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.steps li strong { display: block; font-size: 1.25rem; margin-bottom: 6px; }

.contact-buttons {
  display: grid;
  gap: 16px;
  margin: 32px 0;
}
.contact-buttons a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: #fff;
  border: 2px solid var(--c-sakura);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--c-ink);
  min-height: 64px;
  box-shadow: var(--shadow-sm);
}
.contact-buttons a:hover { background: var(--c-sakura); color: #fff; }
.contact-buttons strong { display: block; font-size: 1.5rem; }
.contact-buttons span { font-size: .9375rem; color: var(--c-ink-soft); }
.contact-buttons a:hover span { color: rgba(255,255,255,.85); }
@media (min-width: 720px) { .contact-buttons { grid-template-columns: 1fr 1fr; } }

.faq dt { font-weight: 700; padding: 16px 0 4px; font-size: 1.125rem; color: var(--c-sakura-deep); }
.faq dd { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--c-line); font-size: 1.0625rem; }

/* ── 戻るリンク ───────────────────────────────────── */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
}
.back-to-top:hover { background: var(--c-paper-deep); color: var(--c-ink); }

/* ── ユーティリティ ───────────────────────────────── */
.mt-48 { margin-top: 48px; }
.lead-paragraph { font-size: 1.25rem; line-height: 2; }
.note-soft { color: var(--c-ink-soft); font-size: 1rem; }
.fs-sm { font-size: .9375rem; }
.contact-buttons .num { font-size: 1.25rem; font-weight: 700; }
