/* ============================================================
   COUNTRY Guild — common.css
   Shared styles for all sub-pages + new index sections
   ============================================================ */

/* ── ボタン基本リセット ── */
button {
  appearance: none;
  -webkit-appearance: none;
}
/* ── Sub-page Hero (shorter than index) ──────────────────── */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg,#1a0828 0%,#2a1040 35%,#1e1550 65%,#150825 100%);
}
.page-hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .hero-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: #E391B1;
  border: 1px solid rgba(227,145,177,0.35);
  padding: 0.35rem 1.2rem;
  margin-bottom: 1.2rem;
  background: rgba(227,145,177,0.06);
}
.page-hero h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 6vw, 4rem);
  background: linear-gradient(180deg,#fff 0%,#f5c8dd 55%,#e391b1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}
.page-hero p {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
}
.page-hero-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}
.page-hero-deco span {
  display: block;
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227,145,177,0.5));
}
.page-hero-deco span:last-child {
  background: linear-gradient(90deg, rgba(227,145,177,0.5), transparent);
}
.page-hero-deco em { color: #E391B1; font-style: normal; font-size: 0.7rem; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(227,145,177,0.6);
  text-align: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}
.breadcrumb a {
  color: rgba(227,145,177,0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover { color: #E391B1; }
.breadcrumb span { margin: 0 0.6rem; opacity: 0.4; }

/* ── Sub-page content wrapper ────────────────────────────── */
.subpage-body {
  background: linear-gradient(180deg,#fce0ee 0%,#fff8fb 12%,#fff 100%);
  min-height: 60vh;
  padding: 5rem 0 7rem;
}

/* ── Shared Card Styles ───────────────────────────────────── */
.card-pink {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(227,145,177,0.22);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(227,145,177,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-pink:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(227,145,177,0.22);
}

/* ── Section Pink Title ───────────────────────────────────── */
.sp-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.sp-section-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  color: #E391B1;
  margin-bottom: 0.6rem;
}
.sp-section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #8a2050;
  letter-spacing: 0.06em;
}
.sp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 0;
}
.sp-divider span {
  display: block;
  width: 50px; height: 1px;
  background: linear-gradient(90deg,transparent,#E391B1);
}
.sp-divider span:last-child {
  background: linear-gradient(90deg,#E391B1,transparent);
}
.sp-divider em { color: #E391B1; font-style: normal; font-size: 0.55rem; }

/* ── Back button ──────────────────────────────────────────── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: #E391B1;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(227,145,177,0.3);
  border-radius: 99px;
  transition: all 0.3s;
  background: rgba(227,145,177,0.06);
}
.back-btn:hover {
  background: rgba(227,145,177,0.14);
  border-color: #E391B1;
}

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(15,5,20,0.88);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  position: relative;
  max-width: 900px; width: 100%;
  background: #1a0828;
  border: 1px solid rgba(227,145,177,0.25);
  border-radius: 16px;
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 36px; height: 36px;
  background: rgba(227,145,177,0.15);
  border: 1px solid rgba(227,145,177,0.3);
  border-radius: 50%;
  cursor: pointer;
  color: #E391B1;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(227,145,177,0.3); }
.modal-img { width: 100%; height: auto; display: block; max-height: 70vh; object-fit: contain; }
.modal-caption {
  padding: 1.2rem 1.5rem;
  font-family: 'Shippori Mincho', serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ── Toast notification ───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg,#c0437a,#E391B1);
  color: #fff;
  font-family: 'Shippori Mincho', serif;
  font-size: 0.88rem;
  padding: 0.7rem 1.8rem;
  border-radius: 99px;
  box-shadow: 0 6px 24px rgba(227,145,177,0.4);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── BGMトグルボタン ─────────────────────────────────────── */
#bgm-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(227,145,177,0.6);
  background: rgba(30, 8, 40, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(227,145,177,0.25);
  transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
  line-height: 1;
  padding: 0;
}
#bgm-toggle:hover {
  background: rgba(227,145,177,0.25);
  box-shadow: 0 6px 24px rgba(227,145,177,0.45);
  transform: scale(1.1);
}
#bgm-toggle:active {
  transform: scale(0.95);
}
