/* =========================
   基本設定・カラー変数
========================= */
:root {
  --color-brand: #2b8c7b;
  --color-brand-dark: #215f53;
  --color-brand-light: #e4f3f0;
  --color-accent: #f3a031;
  --color-bg: #ffffff;
  --color-bg-light: #f6faf9;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #dddddd;

  --font-base: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Segoe UI", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN",
    Meiryo, sans-serif;

  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius-base: 8px;
  --radius-large: 16px;
}

/* ベースリセット（簡易） */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em 1.2em;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.4;
}

/* 共通コンテナ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* セクション共通 */
.section {
  padding: 80px 0;
  background-color: var(--color-bg);
}

.section--light {
  background-color: var(--color-bg-light);
}

.section__title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section__title::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: var(--color-brand);
  display: block;
  margin: 12px auto 0;
  border-radius: 999px;
}

.section__lead {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.section__center {
  text-align: center;
}

/* =========================
   ボタン
========================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  text-decoration: none;
}

.btn--secondary {
  background-color: #fff;
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.btn--secondary:hover {
  background-color: var(--color-brand-light);
  text-decoration: none;
}

/* =========================
   上部バー
========================= */
.top-bar {
  background-color: var(--color-brand-dark);
  color: #fff;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 16px;
}

.top-bar__left {
  opacity: 0.9;
}

.top-bar__right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-bar__tel {
  color: #fff;
  font-weight: 600;
}

.top-bar__btn {
  background-color: #fff;
  color: var(--color-brand-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}

/* =========================
   ヘッダー
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.site-header__logo a {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-brand-dark);
}

.site-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-brand);
}

/* ハンバーガー（PCでは非表示） */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  padding: 0;
  margin-left: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px auto;
  background-color: var(--color-text);
  border-radius: 999px;
}

/* =========================
   ヒーローセクション
========================= */
.hero {
  padding: 72px 0 80px;
  background: linear-gradient(135deg, #f7fbfa, #ffffff);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero__title {
  font-size: 28px;
  margin-bottom: 16px;
}

.hero__points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  color: var(--color-text-light);
}

.hero__points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 4px;
}

.hero__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-brand);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__image img {
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* =========================
   こんな方に選ばれています
========================= */
.target-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.target-item {
  background-color: #fff;
  border-radius: var(--radius-base);
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.target-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.target-item p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* =========================
   教室が選ばれる5つの理由
========================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-item {
  background-color: #fff;
  border-radius: var(--radius-base);
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.feature-item__num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 32px;
  font-weight: 700;
  color: rgba(43, 140, 123, 0.12);
}

.feature-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* =========================
   講座案内
========================= */
.course-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.course-card {
  background-color: #fff;
  border-radius: var(--radius-base);
  padding: 18px 20px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.course-card p {
  font-size: 14px;
  color: var(--color-text-light);
  flex: 1 1 auto;
}

.course-card__link {
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 12px;
}

/* =========================
   料金
========================= */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.pricing-item {
  background-color: #fff;
  border-radius: var(--radius-base);
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.pricing-item h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.pricing-item__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-brand-dark);
}

/* =========================
   生徒さんの声
========================= */
.voice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.voice-card {
  background-color: #fff;
  border-radius: var(--radius-base);
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-size: 14px;
}

.voice-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

/* =========================
   FAQ
========================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.faq-item__question {
  font-size: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 18px;
}

.faq-item__question::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 700;
  color: var(--color-brand);
}

/* 実際にアコーディオンにする場合はJSで開閉クラスを付与する想定 */
.faq-item__answer {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-text-light);
}

/* =========================
   アクセス
========================= */
.access {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.access__list {
  margin: 0;
}

.access__list dt {
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
}

.access__list dd {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: var(--color-text-light);
}

/* =========================
   お問い合わせフォーム
========================= */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form__row {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-form__required {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  padding: 2px 6px;
  background-color: var(--color-accent);
  color: #fff;
  border-radius: 999px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  font-family: var(--font-base);
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form__submit {
  text-align: center;
  margin-top: 24px;
}

/* =========================
   フッター
========================= */
.site-footer {
  background-color: #f0f4f3;
  padding: 24px 0 16px;
  font-size: 13px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.site-footer__nav a {
  color: var(--color-text-light);
}

.site-footer__nav a:hover {
  color: var(--color-brand);
}

.site-footer__copy {
  color: #999;
  font-size: 12px;
}

/* =========================
   レスポンシブ対応
========================= */

/* 〜1024px：カラム数調整 */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__image {
    max-width: 520px;
    margin: 0 auto;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .access {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

/* 〜768px：スマホレイアウト */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .top-bar {
    font-size: 12px;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 4px;
    padding: 6px 12px;
  }

  .site-header__inner {
    height: 56px;
  }

  /* ナビはスマホでは非表示、ハンバーガー表示 */
  .site-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /*
    JSで .site-nav--open などのクラスを付ければ
    モバイルメニューとして展開できる想定
  */
  .site-nav.site-nav--open {
    display: block;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  }

  .site-nav.site-nav--open ul {
    flex-direction: column;
    padding: 12px 16px 16px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero__title {
    font-size: 22px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .target-list {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .course-list {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .voice-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 22px;
  }

  .site-footer__inner {
    align-items: flex-start;
    text-align: left;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }
}








/* =========================
   AI・ChatGPT講座ページ用
========================= */

.ai-hero {
  background: linear-gradient(135deg, #e4f3f0, #ffffff);
}

.ai-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ai-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ai-card {
  background-color: #fff;
  border-radius: var(--radius-base);
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  font-size: 14px;
  color: var(--color-text-light);
}

.ai-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.ai-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ai-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.ai-list li::before {
  content: "●";
  position: absolute;
  left: 4px;
  top: 3px;
  font-size: 8px;
  color: var(--color-brand);
}

.ai-note {
  background-color: var(--color-brand-light);
  border-radius: var(--radius-base);
  padding: 18px 20px;
  font-size: 14px;
}

.ai-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.ai-step {
  background-color: #fff;
  border-radius: var(--radius-base);
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ai-step__num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background-color: var(--color-brand);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.ai-step h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.ai-step ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--color-text-light);
}

.ai-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ai-flow-counter;
}

.ai-flow li {
  background-color: #fff;
  border-radius: var(--radius-base);
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.ai-flow h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.ai-flow p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* AIページ レスポンシブ調整 */
@media (max-width: 1024px) {
  .ai-grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ai-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ai-grid3 {
    grid-template-columns: 1fr;
  }
  .ai-grid2 {
    grid-template-columns: 1fr;
  }
}
