/* ============================================================
   Custom Order Maid 3D2 — promotional site stylesheet
   Theme: "glamour maid café" — warm ivory, blush, berry & gold.
   Light scheme, mobile-first (768px / 480px breakpoints).
   No inline styles anywhere; everything lives in this file.
   ============================================================ */

:root {
  --ivory: #fdf8f1;
  --cream: #f8efe2;
  --blush: #f8e3e0;
  --berry: #8e2f4f;
  --berry-dark: #6c1f3b;
  --rose: #c8687d;
  --rose-soft: #e9a3ae;
  --gold: #c39a58;
  --gold-soft: #ecd9b4;
  --ink: #3c2b33;
  --muted: #7d6a72;
  --line: #ecdcc8;
  --white: #ffffff;
  --shadow: 0 8px 28px rgba(108, 31, 59, 0.12);
  --shadow-sm: 0 3px 12px rgba(108, 31, 59, 0.10);
  --radius: 14px;
  --font-head: Georgia, "Times New Roman", "Noto Serif JP", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--berry);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 300;
}
.skip-link:focus {
  left: 0;
  color: var(--white);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--berry); text-decoration: none; }
a:hover { color: var(--berry-dark); }

/* ---------- Header ---------- */

.site-header {
  background: var(--ivory);
  border-bottom: 3px solid var(--berry);
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 2px 10px rgba(108, 31, 59, 0.08);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--berry-dark);
  white-space: nowrap;
}

.brand .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand small { display: block; font-size: 0.62rem; font-weight: 400; letter-spacing: 0.28em; color: var(--gold); text-transform: uppercase; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a:not(.btn-play) {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.main-nav a:not(.btn-play):hover { background: var(--blush); color: var(--berry-dark); }
.main-nav a.active:not(.btn-play) { color: var(--berry); background: var(--blush); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--berry);
  border-radius: 8px;
  color: var(--berry);
  font-size: 1.3rem;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn-play {
  display: inline-block;
  background: linear-gradient(135deg, var(--berry) 0%, var(--rose) 100%);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(142, 47, 79, 0.35);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(142, 47, 79, 0.45); color: var(--white) !important; }

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--white) !important;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(195, 154, 88, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(195, 154, 88, 0.5); color: var(--white) !important; }

.btn-ghost {
  display: inline-block;
  border: 2px solid var(--berry);
  color: var(--berry);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.btn-ghost:hover { background: var(--blush); color: var(--berry-dark); }

/* ---------- Hero (index) ---------- */

.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 20px 30px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero .overline {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: 2.9rem;
  line-height: 1.12;
  color: var(--berry-dark);
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: 1.18rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero .lede { margin-bottom: 26px; }

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

.hero-figure {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
  outline: 1px solid var(--gold-soft);
  transform: rotate(0.6deg);
}
.hero-figure img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.hero-figure figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(252, 248, 241, 0.92);
  color: var(--berry-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Hero (sub-pages) ---------- */

.hero-subpage {
  background:
    radial-gradient(circle at 12% 20%, rgba(200, 104, 125, 0.14) 0, transparent 34%),
    radial-gradient(circle at 88% 30%, rgba(195, 154, 88, 0.16) 0, transparent 36%),
    linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 46px 20px 40px;
}
.hero-subpage .overline { color: var(--rose); }
.hero-subpage h1 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--berry-dark);
  max-width: 860px;
  margin: 0 auto 14px;
}
.hero-subpage .lede { max-width: 780px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }

/* ---------- Layout / sections ---------- */

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.section { padding: 40px 0; }

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

.section h2 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: var(--berry-dark);
  margin-bottom: 8px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}
.section-head::after {
  content: "";
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-soft) 0 10px, transparent 10px 18px);
}
.section-head .kick {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.section p { margin-bottom: 14px; max-width: 78ch; }

.lead-para { font-size: 1.1rem; color: var(--muted); }

/* ---------- Facts table ---------- */

.facts-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.facts-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}
.facts-table th, .facts-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table th { background: var(--berry); color: var(--white); font-weight: 700; width: 34%; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }
.facts-table tr:nth-child(even) td { background: var(--ivory); }

/* ---------- Feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--rose);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  position: relative;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-card .num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
.feature-card h3 { font-size: 1.08rem; color: var(--berry-dark); margin-bottom: 8px; }
.feature-card p { font-size: 0.93rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Prose + figure blocks (sub-pages) ---------- */

.prose-block h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--berry-dark);
  margin: 30px 0 10px;
}
.prose-block h3 { font-size: 1.12rem; color: var(--berry); margin: 22px 0 8px; }
.prose-block ul, .prose-block ol { margin: 0 0 16px 22px; }
.prose-block li { margin-bottom: 8px; }

.figure-right {
  float: right;
  width: 42%;
  margin: 6px 0 18px 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--white);
  outline: 1px solid var(--gold-soft);
}
.figure-right img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; cursor: zoom-in; }
.figure-right figcaption { background: var(--cream); font-size: 0.82rem; color: var(--muted); padding: 8px 12px; }

.figure-center {
  margin: 26px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--white);
  outline: 1px solid var(--gold-soft);
  max-width: 860px;
}
.figure-center img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; cursor: zoom-in; }
.figure-center figcaption { background: var(--cream); font-size: 0.84rem; color: var(--muted); padding: 9px 14px; text-align: center; }

/* ---------- Gallery ---------- */

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--white);
  outline: 1px solid var(--gold-soft);
  cursor: zoom-in;
  display: block;
}
.gallery-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.25s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(108, 31, 59, 0.85), transparent);
  color: var(--white);
  font-size: 0.8rem;
  padding: 18px 12px 8px;
}

/* ---------- Quotes ---------- */

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

blockquote.player-quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-left: 4px solid var(--gold);
  font-size: 0.95rem;
  color: var(--ink);
}
blockquote.player-quote p { margin-bottom: 10px; }
blockquote.player-quote footer {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  border: none;
  background: none;
  padding: 0;
}
blockquote.player-quote::before {
  content: "\201C";
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 0.6;
  display: block;
  margin-bottom: 6px;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  margin: 46px auto;
  max-width: 960px;
  background: linear-gradient(120deg, var(--berry-dark) 0%, var(--berry) 55%, var(--rose) 100%);
  border-radius: 18px;
  padding: 34px 38px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.08);
}
.cta-banner h2 { font-family: var(--font-head); font-size: 1.55rem; margin-bottom: 6px; }
.cta-banner p { color: rgba(255, 255, 255, 0.88); font-size: 0.98rem; max-width: 56ch; }
.cta-banner .btn-gold { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--berry-dark);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-q .faq-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--berry);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); background: var(--berry); color: var(--white); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-a-inner { padding: 0 20px 18px; color: var(--muted); font-size: 0.96rem; }
.faq-a-inner p { margin-bottom: 8px; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28, 12, 18, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 96vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}
.lightbox .lb-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  padding: 0 20px;
}
.lightbox .lb-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  font-size: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--berry-dark);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 20px;
}
.site-footer .footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 20px 34px;
  text-align: center;
}
.site-footer .copyright { font-size: 0.85rem; margin-bottom: 18px; color: rgba(255, 255, 255, 0.7); }

.lang-switch {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.lang-switch a {
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.83rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lang-switch a:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }
.lang-switch a.current { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: 2.3rem; }
  .feature-grid, .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .figure-right { float: none; width: 100%; margin: 18px 0; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 3px solid var(--berry);
    box-shadow: var(--shadow);
    padding: 12px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .main-nav a:not(.btn-play) { padding: 12px 14px; }
  .main-nav .btn-play { text-align: center; margin-top: 6px; }
  .brand small { display: none; }
  .hero-subpage h1 { font-size: 1.9rem; }
  .cta-banner { padding: 26px 22px; }
}

@media (max-width: 480px) {
  .feature-grid, .quotes-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.85rem; }
  .hero { padding-top: 30px; }
  .section { padding: 28px 0; }
  .cta-banner h2 { font-size: 1.3rem; }
  .cta-banner .btn-gold { width: 100%; text-align: center; }
  .facts-table th { width: 42%; }
}
