/* ==========================================================
   スタディオス Studious - style.css
   ========================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #faf6f0;
  --color-bg-alt: #f4ede2;
  --color-text: #2a2a2a;
  --color-text-sub: #5a5a5a;
  --color-border: #e6dfd1;
  --color-accent: #c8102e;
  --color-accent-dark: #9c0c23;
  --color-gold: #b88a3a;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
  --container: 1100px;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(40, 30, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(40, 30, 20, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.45; letter-spacing: .02em; }
ul, ol { padding-left: 1.2em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.sp-only { display: inline; }
@media (min-width: 768px) { .sp-only { display: none; } }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 20px; min-height: 64px;
}
.logo img { width: 140px; height: auto; }
@media (min-width: 768px) { .logo img { width: 170px; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; padding: 6px;
  border: 1px solid var(--color-border); background: white; border-radius: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--color-text); border-radius: 2px;
  transition: transform .25s ease;
}
.nav-list {
  position: fixed; top: 64px; right: 0; left: 0;
  background: white; border-top: 1px solid var(--color-border);
  padding: 24px 20px; margin: 0; list-style: none;
  display: none; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.nav-list.is-open { display: flex; }
.nav-list a {
  display: block; color: var(--color-text); font-weight: 500;
  padding: 10px 4px; border-bottom: 1px solid var(--color-border);
}

.header-cta {
  display: none; align-items: center; gap: 8px;
  background: var(--color-accent); color: white;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: .9rem;
  white-space: nowrap;
}
.header-cta:hover { background: var(--color-accent-dark); opacity: 1; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-list {
    position: static; display: flex; flex-direction: row; gap: 24px;
    padding: 0; border: none; background: transparent; box-shadow: none;
    max-height: none; overflow: visible;
  }
  .nav-list a { border: none; padding: 6px 2px; font-size: .95rem; }
  .nav-list a:hover { color: var(--color-accent); opacity: 1; }
  .header-cta { display: inline-flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 560px; display: flex; align-items: center;
  color: white;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,15,10,.72) 0%, rgba(40,20,20,.55) 60%, rgba(60,30,30,.45) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 100px 20px 80px; max-width: var(--container);
}
.hero-eyebrow {
  display: inline-block;
  font-size: .85rem; letter-spacing: .15em;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px;
  margin: 0 0 24px; font-family: var(--font-en);
}
.hero-title {
  font-size: clamp(1.85rem, 5.5vw, 3.2rem);
  font-weight: 700; margin: 0 0 22px; line-height: 1.4;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  margin: 0 0 32px; line-height: 1.8;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note { font-size: .85rem; opacity: .85; margin: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 14px 28px; min-height: 52px;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.4;
  text-align: center; transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent); color: white;
  box-shadow: 0 6px 16px rgba(200, 16, 46, .35);
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); opacity: 1; }
.btn-secondary {
  background: white; color: var(--color-text);
  border: 2px solid white;
}
.btn-secondary:hover { background: transparent; color: white; opacity: 1; }
.btn-outline {
  background: transparent; color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: white; opacity: 1; }
.btn-large {
  flex-direction: column; gap: 4px;
  padding: 18px 36px; min-height: 80px;
  font-size: 1.1rem;
}
.btn-large .btn-label { font-size: .9rem; font-weight: 500; }
.btn-large .btn-number { font-size: 1.6rem; font-family: var(--font-en); letter-spacing: .03em; }

/* ===== Sections (common) ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--color-bg-soft); }
@media (min-width: 768px) { .section { padding: 100px 0; } }

.section-title {
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  text-align: center; margin: 0 0 16px;
  position: relative; padding-bottom: 22px;
}
.section-title::after {
  content: ""; display: block;
  width: 56px; height: 3px; margin: 14px auto 0;
  background: var(--color-accent); border-radius: 2px;
}
.section-lead {
  text-align: center; color: var(--color-text-sub);
  margin: 0 auto 48px; max-width: 720px;
}

/* ===== Worries ===== */
.worries-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.worries-list li {
  display: flex; gap: 16px; align-items: center;
  padding: 22px 24px; background: var(--color-bg-soft);
  border-radius: var(--radius); border-left: 4px solid var(--color-accent);
}
.worries-list p { margin: 0; font-weight: 500; }
.worries-icon {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 50%; background: var(--color-accent); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 1.1rem;
}
.worries-lead {
  text-align: center; font-size: 1.1rem; font-weight: 500;
  margin: 0; color: var(--color-text);
}
@media (min-width: 768px) {
  .worries-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ===== Reasons ===== */
.reasons-grid {
  display: grid; gap: 24px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }
.reason-card {
  background: white; padding: 32px 28px;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-accent);
}
.reason-num {
  display: inline-block;
  font-family: var(--font-en); font-size: 1.8rem; font-weight: 700;
  color: var(--color-accent); line-height: 1; margin-bottom: 12px;
}
.reason-title {
  font-size: 1.2rem; margin: 0 0 14px;
}
.reason-card p { margin: 0; color: var(--color-text-sub); }

/* ===== Menu ===== */
.menu-grid {
  display: grid; gap: 28px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.menu-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  border: 1px solid var(--color-border);
}
.menu-img { margin: 0; aspect-ratio: 16/10; overflow: hidden; }
.menu-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.menu-card:hover .menu-img img { transform: scale(1.04); }
.menu-body { padding: 24px 22px; display: flex; flex-direction: column; flex: 1; }
.menu-tag {
  display: inline-block; align-self: flex-start;
  font-size: .8rem; font-weight: 700;
  background: var(--color-bg-alt); color: var(--color-text);
  padding: 4px 12px; border-radius: 4px;
  margin: 0 0 12px;
}
.menu-tag-new { background: var(--color-accent); color: white; }
.menu-name { font-size: 1.3rem; margin: 0 0 12px; }
.menu-desc { margin: 0 0 16px; color: var(--color-text-sub); font-size: .95rem; }
.menu-points {
  list-style: none; padding: 0; margin: auto 0 0;
  border-top: 1px dashed var(--color-border); padding-top: 16px;
}
.menu-points li {
  position: relative; padding-left: 22px; font-size: .9rem;
  color: var(--color-text-sub); margin-bottom: 6px;
}
.menu-points li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 8px; height: 8px; background: var(--color-accent); border-radius: 50%;
}
.menu-note {
  text-align: center; margin: 32px 0 0;
  font-size: .85rem; color: var(--color-text-sub);
}

/* ===== Pricing ===== */
.pricing-initial,
.pricing-trial,
.pricing-required { margin-top: 40px; }
.pricing-sub {
  font-size: 1.15rem; margin: 0 0 16px;
  padding-left: 16px; border-left: 4px solid var(--color-accent);
}
.pricing-initial-grid,
.pricing-trial-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .pricing-initial-grid,
  .pricing-trial-grid { grid-template-columns: repeat(2, 1fr); }
}
.pricing-initial-grid > div,
.pricing-trial-grid > div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; background: white; border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.pricing-label { font-weight: 500; }
.pricing-price { font-family: var(--font-en); font-weight: 700; font-size: 1.4rem; }
.pricing-note {
  font-size: .85rem; color: var(--color-text-sub); margin-top: 8px;
}

.pricing-grid {
  display: grid; gap: 20px; margin-top: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: white; border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
}
.pricing-card-highlight {
  border: 2px solid var(--color-accent);
}
.pricing-badge {
  position: absolute; top: -14px; right: 16px;
  background: var(--color-accent); color: white;
  font-size: .8rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px;
  margin: 0;
}
.pricing-name {
  font-size: 1.1rem; margin: 0 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--color-border);
}
.pricing-row {
  display: flex; justify-content: space-between; align-items: center;
  margin: 8px 0; padding: 4px 0;
}
.pricing-row span { color: var(--color-text-sub); font-size: .9rem; }
.pricing-row strong { font-family: var(--font-en); font-size: 1.3rem; }
.pricing-strikethrough span,
.pricing-strikethrough strong {
  text-decoration: line-through; color: #aaa; font-size: 1rem;
}
.pricing-fineprint {
  font-size: .8rem; color: var(--color-text-sub);
  margin: 8px 0 0; text-align: right;
}

.pricing-required ul {
  background: white; border-radius: var(--radius);
  padding: 20px 24px 20px 40px; border: 1px solid var(--color-border);
  margin: 0;
}
.pricing-required li { margin: 6px 0; }

/* ===== Staff ===== */
.staff-grid {
  display: grid; gap: 36px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.staff-grid-single {
  max-width: 680px; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) {
  .staff-grid-single { grid-template-columns: 1fr; }
}
.staff-card {
  background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.staff-img { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.staff-img img { width: 100%; height: 100%; object-fit: cover; }
.staff-body { padding: 26px 24px; }
.staff-role {
  font-size: .85rem; color: var(--color-accent); font-weight: 500;
  margin: 0 0 8px; letter-spacing: .03em;
}
.staff-name {
  font-size: 1.4rem; margin: 0 0 16px;
  font-family: var(--font-en); letter-spacing: .04em;
}
.staff-card p:not(.staff-role) {
  margin: 0 0 12px; color: var(--color-text-sub); font-size: .95rem;
}
.staff-card p:last-child { margin-bottom: 0; }

/* ===== Flow ===== */
.flow-list {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
  counter-reset: flow;
}
@media (min-width: 768px) { .flow-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .flow-list { grid-template-columns: repeat(4, 1fr); } }
.flow-step {
  background: white; padding: 26px 22px;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-gold);
}
.flow-num {
  font-family: var(--font-en); font-weight: 700;
  color: var(--color-gold); letter-spacing: .1em;
  font-size: .85rem; margin-bottom: 10px;
}
.flow-title-h3 { font-size: 1.1rem; margin: 0 0 12px; }
.flow-step p { margin: 0; color: var(--color-text-sub); font-size: .92rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 40px auto 0; }
.faq-item {
  background: white; border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 18px 56px 18px 22px;
  font-weight: 700; font-size: 1rem;
  position: relative;
  background: white;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en); font-weight: 400; font-size: 1.8rem;
  color: var(--color-accent); line-height: 1;
  transition: transform .25s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--color-bg-soft); }
.faq-item p {
  padding: 0 22px 22px; margin: 0;
  color: var(--color-text-sub);
}

/* ===== Info ===== */
.info-grid {
  display: grid; gap: 32px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .info-grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.info-dl {
  margin: 0 0 24px; padding: 0;
  display: grid; grid-template-columns: 100px 1fr; gap: 8px 16px;
}
@media (min-width: 768px) { .info-dl { grid-template-columns: 110px 1fr; } }
.info-dl dt {
  font-weight: 700; color: var(--color-text);
  padding: 10px 0; border-bottom: 1px solid var(--color-border);
}
.info-dl dd {
  margin: 0; padding: 10px 0;
  color: var(--color-text-sub);
  border-bottom: 1px solid var(--color-border);
}
.info-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.info-photo figcaption {
  font-size: .85rem; color: var(--color-text-sub);
  padding: 10px 14px; background: white;
}
.info-map {
  margin-top: 32px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: white;
}
.info-map iframe { display: block; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: white; text-align: center;
}
.cta .section-title { color: white; }
.cta .section-title::after { background: white; }
.cta-inner { padding: 0 20px; }
.cta-lead {
  font-size: 1.05rem; line-height: 1.9;
  margin: 0 0 32px;
}
.cta .btn-primary {
  background: white; color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.cta .btn-primary:hover { background: #fff5f0; color: var(--color-accent-dark); }
.cta-hours {
  margin: 22px 0 0; font-size: .9rem; opacity: .9;
}
.cta-mail {
  margin: 12px 0 0; font-size: .9rem;
}
.cta-mail a { color: white; text-decoration: underline; }

/* ===== Footer ===== */
.site-footer {
  background: #1a1a1a; color: #d0d0d0;
  padding: 48px 0 28px;
}
.footer-inner {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.footer-brand img {
  width: 160px; height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
.footer-brand p { margin: 0; font-size: .9rem; color: #aaa; }
.footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 12px 22px;
}
.footer-links a { color: #d0d0d0; font-size: .9rem; }
.footer-links a:hover { color: white; opacity: 1; }
.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  margin: 24px 0 0; padding-top: 24px;
  border-top: 1px solid #333;
  font-size: .82rem; color: #888;
  font-family: var(--font-en);
}

/* ===== Floating CTA (mobile only) ===== */
.floating-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-accent); color: white;
  padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(200, 16, 46, .4);
  font-weight: 700; font-size: .95rem;
}
.floating-cta:hover { opacity: 1; }
.floating-cta-icon { flex: 0 0 20px; }
@media (min-width: 1024px) {
  .floating-cta { display: none; }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
