/* Sprouts English Academy Guide Site */
:root {
  --green: #78b842;
  --green-dark: #447225;
  --green-soft: #f0f8ea;
  --cream: #fffaf0;
  --orange: #f6a94c;
  --text: #263326;
  --muted: #657160;
  --line: #dfe9d8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(56, 86, 41, 0.12);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #fbfff7 0%, #fffaf0 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: #2f5517; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 10px; z-index: 999; }
.skip-link:focus { left: 8px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand img { width: 138px; height: auto; }
.brand span { color: var(--green-dark); font-weight: 800; font-size: 0.95rem; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 0.94rem; }
.nav a { text-decoration: none; color: var(--text); font-weight: 700; }
.nav a.cta-small { color: var(--white); background: var(--green); padding: 9px 14px; border-radius: 999px; box-shadow: 0 8px 18px rgba(120,184,66,0.22); }
.hero { padding: 72px 0 46px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 36px; align-items: center; }
.eyebrow { color: var(--green-dark); font-weight: 800; letter-spacing: .04em; margin: 0 0 10px; }
h1 { font-size: clamp(2.0rem, 5vw, 3.8rem); line-height: 1.18; letter-spacing: -0.03em; margin: 0 0 18px; }
.hero p.lead, .article-header .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #46523f; margin: 0 0 24px; }
.hero-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 30px; overflow: hidden; }
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-caption { padding: 18px 20px; color: var(--muted); font-size: .95rem; }
.btn-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 20px; font-weight: 800; text-decoration: none; border: 1px solid transparent; line-height: 1.3; }
.btn-primary { color: var(--white); background: var(--green); box-shadow: 0 14px 24px rgba(120,184,66,0.24); }
.btn-secondary { color: var(--green-dark); background: var(--white); border-color: var(--line); }
.section { padding: 56px 0; }
.section h2, article h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); line-height: 1.35; margin: 0 0 18px; }
.section-intro { color: var(--muted); max-width: 780px; margin: 0 0 28px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(56,86,41,0.08); overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--green-soft); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 1.12rem; line-height: 1.45; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card a.read-more { margin-top: auto; font-weight: 800; text-decoration: none; }
.three-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.stage { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 30px rgba(56,86,41,0.06); }
.stage .tag { display: inline-flex; align-items: center; background: var(--green-soft); color: var(--green-dark); border-radius: 999px; padding: 5px 11px; font-weight: 800; font-size: .86rem; margin-bottom: 12px; }
.stage h3 { margin: 0 0 10px; }
ul.checklist { list-style: none; padding: 0; margin: 18px 0; }
ul.checklist li { position: relative; padding-left: 34px; margin: 12px 0; }
ul.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-weight: 900; display: grid; place-items: center; line-height: 1; }
.article-shell { padding: 46px 0 70px; }
.breadcrumb { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); }
.article-header { background: var(--white); border: 1px solid var(--line); border-radius: 30px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); margin-bottom: 30px; }
.article-meta { color: var(--muted); font-size: .92rem; margin-top: 12px; }
.article-image { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(56,86,41,0.08); margin: 26px 0; }
.article-image img { width: 100%; max-height: 520px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
article { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 42px); box-shadow: 0 12px 32px rgba(56,86,41,0.07); }
article h2 { margin-top: 42px; }
article h2:first-child { margin-top: 0; }
article h3 { margin: 30px 0 10px; font-size: 1.22rem; }
article p { margin: 0 0 17px; }
article .note { background: var(--green-soft); border-left: 5px solid var(--green); padding: 16px 18px; border-radius: 16px; margin: 24px 0; }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.aside-box { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: 0 12px 30px rgba(56,86,41,0.06); }
.aside-box h2, .aside-box h3 { font-size: 1.1rem; margin: 0 0 10px; }
.aside-box ul { margin: 8px 0 0; padding-left: 1.25rem; }
.faq { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 12px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 800; color: var(--green-dark); }
.related { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.related-links { display: grid; gap: 10px; }
.cta-panel { background: linear-gradient(135deg, var(--green-soft), #fff4dd); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 42px); margin: 38px 0 0; text-align: center; }
.cta-panel h2 { margin-top: 0; }
.site-footer { border-top: 1px solid var(--line); background: rgba(255,255,255,0.72); padding: 36px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner strong { color: var(--green-dark); }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 12px 30px rgba(56,86,41,0.06); }
.feature-card h3 { margin: 0 0 10px; color: var(--green-dark); font-size: 1.08rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.inline-photo { margin: 26px 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--green-soft); box-shadow: 0 12px 30px rgba(56,86,41,0.06); }
.inline-photo img { width: 100%; max-height: 760px; object-fit: cover; }
.inline-photo-contain img { object-fit: contain; background: #fbfff7; }
.inline-photo figcaption { padding: 12px 16px; color: var(--muted); font-size: .92rem; background: var(--white); }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav { gap: 10px 14px; }
  .hero-grid, .article-layout { grid-template-columns: 1fr; }
  .cards, .three-stages, .feature-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .brand img { width: 122px; }
  .brand span { font-size: .86rem; }
  .nav { font-size: .88rem; }
  .hero { padding-top: 42px; }
  .btn { width: 100%; }
  article { border-radius: 22px; }
}

.answer-box {
  background: linear-gradient(135deg, var(--green-soft), #fff8e8);
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
  border-radius: 22px;
  padding: 22px;
  margin: 0 0 30px;
}
.answer-box h2 { margin-top: 0; font-size: clamp(1.35rem, 2.6vw, 1.95rem); }
.answer-box p { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 22px 0 30px; border: 1px solid var(--line); border-radius: 18px; }
.comparison-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 680px; }
.comparison-table th, .comparison-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { background: var(--green-soft); color: var(--green-dark); font-weight: 900; }
.comparison-table tr:last-child td { border-bottom: 0; }
