/* =========================================
   やまねこイングリッシュ — Shared Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --forest: #2D6A4F;
  --forest-light: #40916C;
  --moss: #52B788;
  --mint: #B7E4C7;
  --cream: #FEFAE0;
  --warm-white: #FFFDF7;
  --golden: #E9C46A;
  --terra: #F4A261;
  --coral: #E76F51;
  --charcoal: #2C3E2D;
  --soft-gray: #6B7C6D;
  --light-bg: #F5FAF5;
  --shadow: rgba(45, 106, 79, 0.12);
  --shadow-md: 0 6px 28px rgba(45, 106, 79, 0.13);
  --shadow-lg: 0 16px 56px rgba(45, 106, 79, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(254, 250, 224, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(82, 183, 136, 0.2);
  box-shadow: 0 2px 14px rgba(45, 106, 79, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--forest);
  line-height: 1.1;
}

.nav-logo-text small {
  display: block;
  font-size: 0.6rem;
  color: var(--moss);
  font-weight: 600;
  letter-spacing: 0.05em;
}

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

.nav-menu a {
  text-decoration: none;
  color: var(--charcoal);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.87rem;
  padding: 8px 14px;
  border-radius: 50px;
  transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--mint);
  color: var(--forest);
}

.nav-cta-btn {
  background: var(--forest) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 14px var(--shadow) !important;
}

.nav-cta-btn:hover {
  background: var(--forest-light) !important;
  transform: translateY(-1px) !important;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-forest {
  background: var(--forest);
  color: white;
  box-shadow: 0 4px 18px var(--shadow);
}
.btn-forest:hover { transform: translateY(-2px); background: var(--forest-light); box-shadow: 0 8px 24px rgba(45,106,79,0.3); }

.btn-golden {
  background: var(--golden);
  color: var(--charcoal);
  box-shadow: 0 4px 18px rgba(233,196,106,0.4);
}
.btn-golden:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,196,106,0.5); }

.btn-coral {
  background: var(--coral);
  color: white;
  box-shadow: 0 4px 18px rgba(231,111,81,0.35);
}
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(231,111,81,0.45); }

.btn-outline {
  background: white;
  color: var(--forest);
  border: 2px solid var(--mint);
}
.btn-outline:hover { background: var(--mint); transform: translateY(-2px); }

.btn-lg { font-size: 1.05rem; padding: 16px 34px; }

.btn-white {
  background: white;
  color: var(--forest);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }

.btn-ghost {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.35); transform: translateY(-2px); }

/* ── Sections ── */
.section { padding: 96px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: var(--mint);
  color: var(--forest);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--soft-gray);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 520px;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Footer ── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 60px 40px 30px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 26px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--golden);
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.8;
  max-width: 260px;
}

.footer-col h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: white;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--golden); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* ── FAQ ── */
.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
}

.faq-q {
  padding: 20px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  transition: background 0.2s;
}

.faq-q:hover { background: var(--cream); }
.faq-chevron { color: var(--moss); font-size: 0.8rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--soft-gray);
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 220px; padding: 0 24px 20px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .site-nav { padding: 12px 20px; }
  .section { padding: 70px 20px; }
  .section-title { font-size: 1.9rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .nav-menu { display: none; }
  .section-title { font-size: 1.65rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
