/* 流山Englishラボ 統合サイト 共通スタイル
   基調: ラボ淡ピンク #e8b4b8 / 補助 #664346(茶) / #c42c96(濃ピンク)
   AEPアクセント: #df571d(オレンジ) */

:root {
  --pink: #e8b4b8;
  --pink-light: #faf0f1;
  --pink-pale: #fdf7f7;
  --brown: #664346;
  --deep-pink: #c42c96;
  --aep-orange: #df571d;
  --aep-bg: #fdf3ec;
  --kindy-green: #7fb069;
  --kindy-yellow: #f6bd60;
  --kindy-bg: #fdfaf2;
  --text: #3a2e30;
  --muted: #7a6a6d;
  --line: #ecd9db;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, .en-font {
  font-family: "Comfortaa", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.5;
  color: var(--brown);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-pink); }
a:hover { opacity: .8; }

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--pink);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: 1020px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name {
  font-family: "Comfortaa", "Noto Sans JP", sans-serif;
  font-weight: 700; font-size: 1.15rem; color: var(--brown); line-height: 1.3;
}
.brand-name small { display: block; font-size: .68rem; color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-weight: 400; }
.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.main-nav a {
  display: block; padding: 8px 10px; text-decoration: none;
  color: var(--brown); font-size: .88rem; font-weight: 500; border-radius: 999px;
}
.main-nav a:hover { background: var(--pink-light); opacity: 1; }

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(180deg, var(--pink-light), var(--white));
  padding: 48px 0 40px;
}
.hero h1 { font-size: 2rem; margin: 0 0 16px; }
.hero .lead { font-size: 1.05rem; max-width: 44em; }
.hero-img { border-radius: 16px; margin-top: 28px; width: 100%; }
body.page-aep .hero { background: linear-gradient(180deg, var(--aep-bg), var(--white)); }
body.page-kindy .hero { background: linear-gradient(180deg, var(--kindy-bg), var(--white)); }

/* ---------- セクション ---------- */
.section { padding: 44px 0; }
.section.alt { background: var(--pink-pale); }
.section h2 {
  font-size: 1.55rem; margin: 0 0 8px;
  border-bottom: 3px solid var(--pink); padding-bottom: 8px;
}
body.page-aep .section h2 { border-bottom-color: var(--aep-orange); }
.section h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.section p { margin: 10px 0; }
.lead-text { font-size: 1.05rem; }

/* ---------- カード ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.card {
  background: var(--white); border: 2px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card img { width: 100%; height: 170px; object-fit: cover; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.1rem; }
.card-body p { margin: 0; font-size: .94rem; flex: 1; }
.card .age { font-size: .8rem; color: var(--deep-pink); font-weight: 700; letter-spacing: .05em; }
.card.aep { border-color: #f3cdb8; }
.card.aep .age { color: var(--aep-orange); }
.card.kindy { border-color: #e8dfbe; }
.card.kindy .age { color: var(--kindy-green); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--pink); color: var(--brown); text-decoration: none;
  font-weight: 700; border: 2px solid var(--pink); text-align: center;
}
.btn:hover { opacity: .85; }
.btn-outline { background: var(--white); border-color: var(--brown); color: var(--brown); }
.btn-aep { background: var(--aep-orange); border-color: var(--aep-orange); color: #fff; }
.btn-deep { background: var(--deep-pink); border-color: var(--deep-pink); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- 表 ---------- */
table.price, table.info {
  width: 100%; border-collapse: collapse; margin: 16px 0; background: var(--white);
}
table.price th, table.price td, table.info th, table.info td {
  border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top;
}
table.price th, table.info th { background: var(--pink-light); color: var(--brown); white-space: nowrap; }
body.page-aep table.price th { background: var(--aep-bg); }

/* ---------- 原文ブロック ---------- */
.verbatim {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 26px; margin: 18px 0;
}
.verbatim p { margin: 8px 0; }
.voice {
  background: var(--pink-pale); border-left: 5px solid var(--pink);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 16px 0;
}
.voice h3 { margin-top: 0; }
.voice .who { color: var(--muted); font-size: .9rem; }

/* ---------- 講師 ---------- */
.teacher { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.teacher:last-child { border-bottom: none; }
.teacher img.photo { width: 180px; height: 180px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.teacher h3 { margin: 0 0 4px; font-size: 1.25rem; }
.teacher .role { color: var(--deep-pink); font-weight: 700; font-size: .88rem; margin-bottom: 8px; }
.teacher .orig { color: var(--text); }
.teacher .jp { color: var(--text); }

/* ---------- ブログ ---------- */
.post-list { list-style: none; margin: 20px 0; padding: 0; }
.post-list li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.post-list .date { color: var(--muted); font-size: .88rem; }
.post-list a { font-size: 1.08rem; font-weight: 700; text-decoration: none; color: var(--brown); }
.post-list a:hover { color: var(--deep-pink); }
article.post h1 { font-size: 1.7rem; }
article.post .date { color: var(--muted); margin-bottom: 20px; }
article.post p { margin: 12px 0; }

/* ---------- 地図 ---------- */
.map-frame { width: 100%; height: 380px; border: 0; border-radius: 12px; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--brown); color: #f7ecec; margin-top: 40px; padding: 36px 0 90px;
}
.site-footer a { color: #ffd9e8; }
.footer-name { font-family: "Comfortaa", "Noto Sans JP", sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.site-footer p { margin: 4px 0; font-size: .92rem; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 16px 0; }
.footer-nav a { text-decoration: none; font-size: .9rem; }
.copyright { color: #cdb4b7; font-size: .82rem; margin-top: 18px; }

/* ---------- スマホ固定ボタン ---------- */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 60px; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: var(--white); border-top: 2px solid var(--pink);
    box-shadow: 0 -2px 10px rgba(102, 67, 70, .12);
  }
  .mobile-cta a {
    flex: 1; text-align: center; padding: 14px 8px; text-decoration: none;
    font-weight: 700; color: var(--brown); font-size: .95rem;
  }
  .mobile-cta a.tel { background: var(--pink); }
  .mobile-cta a.mail { background: var(--white); }
  .hero h1 { font-size: 1.55rem; }
  .cards { grid-template-columns: 1fr; }
  .teacher { flex-direction: column; }
  .teacher img.photo { width: 100%; height: auto; max-height: 300px; }
  .header-inner { padding: 8px 14px; }
  .main-nav { margin-left: 0; width: 100%; overflow-x: auto; }
  .main-nav ul { flex-wrap: nowrap; }
  .main-nav a { white-space: nowrap; }
  .site-footer { padding-bottom: 90px; }
  table.price th, table.info th { white-space: normal; }
}
