:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f6f4f0;
  --color-text: #1a1a1a;
  --color-text-soft: #5b5b5b;
  --color-muted: #8a8a8a;
  --color-accent: #c8412c;
  --color-accent-soft: #e8ded4;
  --color-border: #e5e2dc;
  --radius: 2px;
  --container: 1200px;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-text);
  line-height: 1.5;
  margin: 0 0 0.5em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.4;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
}

h3 {
  font-size: 1.15rem;
  font-weight: 500;
}

p {
  margin: 0 0 1em;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.eyebrow-muted {
  color: var(--color-muted);
}

.accent {
  color: var(--color-accent);
}

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

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.brand-en {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  font-weight: 500;
}

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

.nav a {
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  position: relative;
  padding: 4px 0;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--color-accent);
}

@media (max-width: 780px) {
  .nav { gap: 18px; }
  .nav a { font-size: 0.78rem; }
  .brand-en { display: none; }
}

/* ---------- Buttons / Links with arrow ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn::after {
  content: "→";
  transition: transform 0.2s ease;
}

.btn:hover {
  opacity: 1;
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: #fff;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.arrow-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

.arrow-link:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 64px; }
}

.hero h1 {
  margin-bottom: 32px;
}

.hero .lead {
  font-size: 0.95rem;
  max-width: 480px;
  color: var(--color-text-soft);
  margin-bottom: 40px;
}

.hero-visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #efece5 0%, #f6f4f0 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  color: var(--color-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

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

@media (max-width: 640px) {
  section { padding: 64px 0; }
}

.section-alt {
  background: var(--color-bg-soft);
}

.section-head {
  margin-bottom: 56px;
  max-width: 680px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Two-block navigator (FOR STUDENTS / FOR ...) ---------- */
.two-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 780px) {
  .two-block { grid-template-columns: 1fr; }
}

.two-block .block {
  padding: 64px 48px;
  border-right: 1px solid var(--color-border);
  transition: background 0.2s ease;
}

.two-block .block:last-child { border-right: none; }

@media (max-width: 780px) {
  .two-block .block {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 48px 24px;
  }
  .two-block .block:last-child { border-bottom: none; }
}

.two-block .block:hover {
  background: #fff;
}

.two-block h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.two-block p {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 780px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

.stat {
  padding: 40px 24px;
  border-right: 1px solid var(--color-border);
  text-align: left;
}

.stat:last-child { border-right: none; }

@media (max-width: 780px) {
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-num .unit {
  font-size: 1rem;
  color: var(--color-text-soft);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ---------- Feature list (minimal) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

@media (max-width: 780px) {
  .features { grid-template-columns: 1fr; gap: 40px; }
}

.feature {
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.feature .num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

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

@media (max-width: 780px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #efece5 0%, #f6f4f0 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 88px 0;
  background: var(--color-text);
  color: #fff;
  text-align: center;
}

.cta-band .eyebrow { color: rgba(255, 255, 255, 0.65); }

.cta-band h2 {
  color: #fff;
  margin-bottom: 20px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

.cta-band .btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-card {
  padding: 48px 40px;
  border-right: 1px solid var(--color-border);
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card:last-child { border-right: none; }

@media (max-width: 900px) {
  .price-card {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .price-card:last-child { border-bottom: none; }
}

.price-card.featured {
  background: var(--color-bg-soft);
}

.price-card .plan-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.price-card .price-note {
  color: var(--color-muted);
  font-size: 0.82rem;
  margin-bottom: 28px;
}

.price-card .price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 4px;
  line-height: 1.2;
}

.price-card .price small {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-soft);
  font-weight: 400;
  margin-left: 4px;
}

.price-card .price-sub {
  color: var(--color-muted);
  font-size: 0.78rem;
  margin-bottom: 28px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
  border-top: 1px solid var(--color-border);
}

.price-card ul li {
  padding: 12px 0;
  color: var(--color-text-soft);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--color-border);
}

/* ---------- Included checklist ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .checklist { grid-template-columns: 1fr; }
}

.checklist li {
  padding: 20px 0 20px 32px;
  position: relative;
  color: var(--color-text);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--color-border);
}

.checklist li:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .checklist li:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 14px;
  height: 1px;
  background: var(--color-accent);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  padding: 32px 24px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.step:last-child { border-right: none; }

@media (max-width: 900px) {
  .step { border-right: none; }
}

.step .step-num {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--color-border);
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--color-text);
  display: flex;
  gap: 16px;
}

.faq-item h3::before {
  content: "Q";
  font-family: var(--font-serif);
  color: var(--color-accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.faq-item p {
  margin: 0 0 0 30px;
  font-size: 0.92rem;
}

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  padding: 24px 0 8px;
}

.contact h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact a.email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-accent);
  word-break: break-all;
  margin: 8px 0 20px;
  letter-spacing: 0.04em;
}

.contact .note {
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 0 40px;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 640px) {
  .site-footer .container { flex-direction: column; text-align: center; }
}

.site-footer .brand { font-size: 1rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
