/* ============================================================
   Full Service — promotional site theme
   Genre: Boys' Love visual novel / dating sim (spa & romance)
   Light scheme, spa-inspired palette: cream, deep teal, coral
   ============================================================ */

:root {
  --cream: #fbf7ef;
  --cream-2: #f4ecdd;
  --ink: #35302a;
  --ink-soft: #5c554c;
  --teal: #0e7c73;
  --teal-dark: #0a5f58;
  --teal-soft: #dcefe9;
  --coral: #e2705c;
  --coral-dark: #c25441;
  --rose: #d95d76;
  --gold: #c9a35a;
  --card: #ffffff;
  --line: #e7dfcf;
  --shadow: 0 10px 30px rgba(84, 63, 38, 0.10);
  --shadow-sm: 0 4px 14px rgba(84, 63, 38, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --serif: Georgia, "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1rem;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--coral); }

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

/* ---------- Header ---------- */
.site-header {
  background: rgba(251, 247, 239, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { width: 34px; height: 34px; border-radius: 9px; }

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
}

.site-nav { display: flex; align-items: center; gap: 26px; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-list a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover { color: var(--teal); border-bottom-color: var(--coral); }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover { background: var(--teal-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}

.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--teal-dark);
}

/* ---------- Hero (index) ---------- */
.hero {
  background:
    radial-gradient(ellipse at 12% 20%, rgba(216, 237, 231, 0.9), transparent 46%),
    radial-gradient(ellipse at 88% 12%, rgba(240, 210, 196, 0.55), transparent 42%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding: 64px 0 56px;
}

.hero-copy { min-width: 0; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--coral);
  background: #fbeae4;
  border: 1px solid #f3cfc2;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--serif);
  font-size: 2.9rem;
  line-height: 1.15;
  color: var(--teal-dark);
  margin-bottom: 18px;
}

.hero-title span { color: var(--coral); }

.hero-tagline {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
  max-width: 52ch;
}

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  transform: rotate(1.2deg);
}

.hero-media img { width: 100%; height: auto; }

/* ---------- Hero (sub-pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  padding: 52px 0 40px;
}

.page-hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

.page-title {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--teal-dark);
  max-width: 22ch;
}

.page-lede {
  margin-top: 14px;
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }

.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.section-desc { color: var(--ink-soft); }

.section-desc-left {
  text-align: left;
  max-width: 72ch;
  margin: 0 0 20px;
  color: var(--ink-soft);
}

/* ---------- Facts table ---------- */
.facts-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.facts-table th, .facts-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }

.facts-table th {
  width: 34%;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: #fdf6ee;
}

.facts-table td { color: var(--ink); }

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-card:nth-child(2n) { border-top-color: var(--coral); }
.feature-card:nth-child(3n) { border-top-color: var(--gold); }

.feature-card-gold { border-top-color: var(--gold); }

.feature-icon {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.feature-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow); }

.gallery-item img { width: 100%; height: 240px; object-fit: cover; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 16, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lb-btn:hover { background: rgba(255, 255, 255, 0.3); }

.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Quotes ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.quote-card blockquote p { font-size: 0.97rem; color: var(--ink-soft); }

.quote-author {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  font-style: normal;
}

/* ---------- Play banner ---------- */
.play-banner {
  background: linear-gradient(120deg, var(--teal-dark) 0%, var(--teal) 60%, #17998d 100%);
  border-radius: var(--radius);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.play-banner-title {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.play-banner-text { color: #e4f2ee; max-width: 54ch; }

.btn-light {
  background: #fff;
  color: var(--teal-dark);
}

.btn-light:hover { background: var(--cream-2); color: var(--teal-dark); }

/* ---------- Prose / article ---------- */
.prose p { margin-bottom: 18px; color: var(--ink); }

.prose h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--teal-dark);
  margin: 34px 0 12px;
}

.prose h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--coral-dark);
  margin: 26px 0 8px;
}

.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }

.prose .pull-img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin: 24px 0;
}

.prose figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 8px;
  font-style: italic;
}

.section-divider { margin: 10px 0; }

/* ---------- Characters ---------- */
.character-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.character-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.character-photo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.character-photo img { width: 140px; height: 170px; object-fit: cover; }

.character-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--teal-dark);
}

.character-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--coral);
  margin: 2px 0 8px;
}

.character-card p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Routes ---------- */
.route-list { list-style: none; }

.route-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
}

.route-number {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--coral);
  background: #fbeae4;
  border-radius: 12px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.route-item h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.route-item p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--teal-dark);
  list-style: none;
  position: relative;
  padding-right: 52px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--coral);
}

.faq-item[open] summary::after { content: "–"; }

.faq-item .faq-answer { padding: 0 22px 18px; color: var(--ink-soft); font-size: 0.97rem; }

.faq-item .faq-answer p { margin-bottom: 10px; }

.faq-item .faq-answer p:last-child { margin-bottom: 0; }

.faq-sysreq { margin-top: 0; }

.article { max-width: 820px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-dark);
  color: #dbe9e5;
  padding: 30px 0;
  margin-top: 30px;
}

.footer-copy { font-size: 0.9rem; text-align: center; margin-bottom: 16px; }

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  list-style: none;
}

.lang-switch a {
  color: #dbe9e5;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.lang-switch a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.lang-switch a.active, .lang-switch .lang-link.active {
  background: #fff; color: var(--teal-dark); border-color: #fff;
}

.lang-switch .lang-link {
  color: #dbe9e5;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

/* ---------- Responsive: 768px ---------- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 40px; }
  .hero-title { font-size: 2.2rem; }
  .page-title { font-size: 2rem; }
  .feature-grid, .gallery-grid, .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .character-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--card);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 74px 26px 26px;
    transition: right 0.25s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
  }
  .site-nav.open { right: 0; }
  .nav-list { flex-direction: column; gap: 6px; }
  .nav-list a { display: block; padding: 10px 4px; border-bottom: 1px solid var(--line); }
  .btn-primary { text-align: center; }
  .play-banner { padding: 32px 26px; }
}

/* ---------- Responsive: 480px ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.8rem; }
  .page-title { font-size: 1.65rem; }
  .feature-grid, .gallery-grid, .quotes-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 200px; }
  .character-card { grid-template-columns: 1fr; }
  .character-photo img { width: 100%; height: 220px; object-fit: cover; }
  .route-item { grid-template-columns: 1fr; }
  .route-number { width: 52px; height: 52px; font-size: 1.3rem; }
  .brand { font-size: 1.15rem; }
  .brand small { font-size: 0.58rem; }
  .facts-table th, .facts-table td { padding: 10px 12px; font-size: 0.9rem; }
  .section { padding: 40px 0; }
  .play-banner-title { font-size: 1.35rem; }
}
