@charset "UTF-8";

/* =========================================================
   こころことばアカデミー 共通スタイル
   ・スマホファースト（基本はスマホ、768px以上でPC向けに調整）
   ・色やフォントは :root の変数でまとめて管理
========================================================= */

/* ---------- 色・フォントなどの変数 ---------- */
:root {
  /* ブランドカラー（ロゴのピンクとグレー） */
  --pink: #e8839e;
  --pink-light: #fbe9ee;
  --gray: #5e5e5e;          /* 本文の文字色 */
  --gray-light: #8a8a8a;

  /* 自然を感じるサブカラー（セージグリーン・ベージュ） */
  --green: #6f8f68;
  --green-dark: #4c6a47;
  --green-light: #e9efe4;
  --beige: #f8f4ec;
  --beige-dark: #efe7d8;
  --white: #ffffff;

  /* LINE公式のブランドカラー */
  --line: #06c755;
  --line-dark: #05a647;

  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(76, 106, 71, 0.10);
  --header-h: 64px;
}

/* ---------- リセット・基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h); /* 固定ヘッダーで見出しが隠れないように */
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray);
  background: var(--beige);
  letter-spacing: 0.04em;
  padding-bottom: 72px; /* スマホの固定LINEボタンの分 */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { color: var(--green-dark); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 800px; }

/* 改行の出し分け */
.pc-only { display: none; }
.sp-only { display: inline; }

/* 蛍光ペン風の強調 */
.marker { background: linear-gradient(transparent 62%, var(--pink-light) 62%); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--line { background: var(--line); color: var(--white); box-shadow: 0 6px 0 var(--line-dark); }
.btn--line:hover { background: var(--line-dark); box-shadow: 0 4px 0 #04883a; }
.btn--lg { font-size: 1.1rem; padding: 18px 32px; width: 100%; max-width: 420px; }
.btn--xl { font-size: 1.15rem; padding: 20px 32px; width: 100%; max-width: 480px; }

/* LINEの文字アイコン */
.btn__icon {
  display: inline-block;
  background: var(--white);
  color: var(--line);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  padding: 5px 6px;
  border-radius: 6px;
  letter-spacing: 0;
}

/* 矢印つきリンク */
.link-arrow {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--green-light);
}
.link-arrow::after { content: " →"; }

/* ---------- 写真の仮置き（実際の写真に差し替える） ---------- */
.photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.5) 0 20%, transparent 21%),
    linear-gradient(135deg, var(--green-light), #d6e2cf);
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.photo__label {
  margin-bottom: 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--green-dark);
  background: rgba(255,255,255,.8);
  border-radius: 999px;
}
/* 写真は枠いっぱいに表示（はみ出た部分は切り取る） */
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--hero { aspect-ratio: 4 / 3; border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%; }
.photo--about { aspect-ratio: 4 / 3; }
.photo--card { aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; }
.photo--portrait { aspect-ratio: 4 / 5; max-width: 360px; margin: 0 auto; }

/* ---------- カード ---------- */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- セクション共通 ---------- */
.section { padding: 72px 0; }
.section__title {
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: center;
  color: var(--green-dark);
  margin-bottom: 32px;
}
.section__title--left { text-align: left; }
.section__en {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--pink);
  margin-bottom: 4px;
}
.section__lead { text-align: center; margin: -16px 0 32px; }

/* =========================================================
   ヘッダー
========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  /* ※backdrop-filterを使うとスマホメニュー（position: fixed）の位置がずれるため使わない */
  background: rgba(248, 244, 236, 0.97);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.header__inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img { height: 44px; width: auto; }

/* スマホ：メニューボタン */
.menu-btn {
  width: 44px; height: 44px;
  border: none; background: transparent;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 10px; cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--green-dark); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* スマホ：開閉するメニュー */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--beige);
  padding: 24px 16px;
  transform: translateX(100%);
  transition: transform .3s;
  overflow-y: auto;
}
.nav.is-open { transform: translateX(0); }
.nav__list li { border-bottom: 1px solid var(--beige-dark); }
.nav__list a { display: block; padding: 16px 4px; text-decoration: none; font-weight: 700; color: var(--gray); }
.nav__line { margin-top: 24px; width: 100%; }

/* =========================================================
   ファーストビュー
========================================================= */
.hero {
  padding: calc(var(--header-h) + 32px) 0 56px;
  background:
    radial-gradient(circle at 90% 10%, var(--pink-light) 0 120px, transparent 121px),
    radial-gradient(circle at 0% 90%, var(--green-light) 0 160px, transparent 161px),
    var(--beige);
  overflow: hidden;
}
.hero__inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: grid; gap: 32px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--white);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero__title {
  font-size: 1.9rem;
  line-height: 1.5;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.hero__lead { font-size: 0.95rem; margin-bottom: 24px; }
.hero__badges { display: flex; gap: 8px; margin-bottom: 28px; }
.hero__badges li {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  background: var(--white);
  border: 2px solid var(--green-light);
  border-radius: 16px;
  padding: 10px 4px;
}
.hero__badges strong { font-size: 0.95rem; color: var(--pink); white-space: nowrap; }
.hero__cta { text-align: center; }
.hero__note { font-size: 0.8rem; margin-top: 12px; color: var(--gray-light); }
.hero__visual { order: -1; } /* スマホでは写真を上に */

/* =========================================================
   お知らせ
========================================================= */
.news { padding: 0 0 8px; }
.news .container { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.news__title { font-size: 0.9rem; color: var(--pink); }
.news__list { flex: 1; min-width: 240px; }
.news__list li { font-size: 0.9rem; padding: 6px 0; border-bottom: 1px dashed var(--beige-dark); }
.news__list time { color: var(--gray-light); margin-right: 12px; font-size: 0.85rem; }

/* =========================================================
   お悩み
========================================================= */
.worry { background: var(--white); }
.worry__list { max-width: 720px; margin: 0 auto 40px; display: grid; gap: 12px; }
.worry__list li {
  position: relative;
  background: var(--beige);
  border-radius: 14px;
  padding: 14px 16px 14px 48px;
  font-weight: 500;
}
.worry__list li::before {
  /* チェックマーク */
  content: "";
  position: absolute; left: 16px; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.worry__answer {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding-top: 40px;
}
.worry__answer::before {
  /* 下向きの三角 */
  content: "";
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  border: 16px solid transparent;
  border-top: 20px solid var(--green-light);
}
.worry__answer-lead { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; line-height: 1.6; }

/* =========================================================
   私たちについて
========================================================= */
.about__inner { display: grid; gap: 32px; }
.about__text p + p { margin-top: 16px; }
.about__philosophy {
  margin-top: 28px !important;
  padding: 20px;
  background: var(--white);
  border-left: 6px solid var(--pink);
  border-radius: 12px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.7;
}

/* =========================================================
   コース紹介
========================================================= */
.service { background: var(--green-light); }
.service__grid { display: grid; gap: 24px; }
.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card--featured { outline: 3px solid var(--pink); }
.service-card__body { padding: 24px 20px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card__body > p { font-size: 0.95rem; }
.service-card__tag {
  align-self: flex-start;
  font-size: 0.75rem !important;
  font-weight: 700;
  color: var(--white);
  background: var(--green);
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.service-card--featured .service-card__tag { background: var(--pink); }
.service-card__title { font-size: 1.3rem; color: var(--green-dark); line-height: 1.4; }
.service-card__target { font-size: 0.85rem !important; color: var(--pink); font-weight: 700; margin: 4px 0 12px; }
.service-card__info { margin-top: 16px; font-size: 0.85rem; border-top: 1px dashed var(--beige-dark); padding-top: 12px; }
.service-card__info div { display: flex; gap: 12px; }
.service-card__info dt { flex-shrink: 0; width: 3.5em; font-weight: 700; color: var(--green-dark); }
.service-card__sub { margin-top: 12px; font-size: 0.8rem !important; color: var(--gray-light); }
/* 習い事カード内の2コース表示 */
.course-mini { display: grid; gap: 10px; margin-top: 16px; }
.course-mini__item { background: var(--pink-light); border-radius: 12px; padding: 12px 14px; }
.course-mini__name { font-weight: 700; color: var(--green-dark); font-size: 0.95rem; line-height: 1.5; }
.course-mini__name span {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--white);
  background: var(--pink);
  border-radius: 999px;
  padding: 0 8px;
  /* 学年ラベルは1行目に置き、コース名が途中で折り返さないようにする */
  display: table;
  margin-bottom: 2px;
}
.course-mini__desc { font-size: 0.8rem; margin-top: 4px; line-height: 1.6; }
.course-mini__time { font-size: 0.8rem; color: var(--green-dark); margin-top: 4px; font-weight: 500; }

.service-card .link-arrow { margin-top: auto; padding-top: 16px; align-self: flex-start; }

/* 途中のCTA帯 */
.cta-band { background: var(--green-dark); color: var(--white); padding: 32px 0; }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.cta-band__text { font-weight: 700; line-height: 1.7; }

/* =========================================================
   選ばれる理由
========================================================= */
.reason__list { display: grid; gap: 16px; }
.reason__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.reason__num { font-size: 1.6rem; font-weight: 900; color: var(--pink); line-height: 1; }
.reason__item h3 { font-size: 1.1rem; color: var(--green-dark); margin: 8px 0; line-height: 1.5; }
.reason__item p { font-size: 0.9rem; }

/* =========================================================
   料金
========================================================= */
.price { background: var(--white); }
.price__grid { display: grid; gap: 24px; }
.price-card { padding: 28px 20px; border: 2px solid var(--green-light); box-shadow: none; }
.price-card__title {
  font-size: 1.2rem;
  color: var(--white);
  background: var(--green);
  text-align: center;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 16px;
}
.price-card__course { font-weight: 700; color: var(--green-dark); margin-top: 16px; font-size: 0.95rem; }
.price-card__plans li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--beige-dark);
}
.price-card__plans b { font-size: 1.6rem; color: var(--green-dark); white-space: nowrap; }
.price-card__plans small { font-size: 0.8rem; margin-left: 2px; }
.price-card__notes { margin-top: 16px; font-size: 0.85rem; display: grid; gap: 6px; }
.price-card__notes li { padding-left: 1.2em; text-indent: -1.2em; }
.price-card__notes li::before { content: "・"; }
.price-card__option {
  margin-top: 20px;
  padding: 16px;
  border: 2px solid #d9c9a3;
  border-radius: 12px;
  background: #fdfaf3;
  font-size: 0.9rem;
}
.price-card__option-title { font-size: 0.8rem; font-weight: 700; color: #a08447; }
.price-card__option-desc { font-size: 0.8rem; margin-top: 6px; }

/* 無料体験 */
.trial {
  margin-top: 48px;
  padding: 36px 20px;
  background: var(--pink-light);
  border-radius: var(--radius);
  text-align: center;
}
.trial__title { font-size: 1.4rem; color: var(--green-dark); margin-bottom: 20px; }
.trial__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.trial__list li {
  background: var(--white);
  border-radius: 16px;
  padding: 16px 8px;
  display: flex; flex-direction: column; justify-content: center;
  line-height: 1.5;
}
.trial__list span { font-size: 0.8rem; }
.trial__list b { font-size: 1.1rem; color: var(--pink); }

/* =========================================================
   保護者の声
========================================================= */
.voice { background: var(--green-light); }
.voice__grid { display: grid; gap: 20px; }
.voice__item {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px 20px;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}
.voice__item::before {
  /* 引用符 */
  content: "“";
  position: absolute; top: -6px; left: 16px;
  font-size: 3.5rem; line-height: 1;
  color: var(--pink);
}
.voice__item mark { background: linear-gradient(transparent 60%, var(--pink-light) 60%); color: inherit; font-weight: 700; }

/* =========================================================
   代表メッセージ
========================================================= */
.message__inner { display: grid; gap: 32px; }
.message__text p + p { margin-top: 16px; }
.message__profile { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--beige-dark); }
.message__name { font-size: 1.4rem; font-weight: 700; color: var(--green-dark); }
.message__name small { font-size: 0.8rem; font-weight: 400; color: var(--gray-light); }
.message__role { display: block; font-size: 0.8rem; color: var(--gray-light); font-weight: 400; }
.message__license { margin-top: 12px; font-size: 0.85rem; display: grid; gap: 4px; }
.message__license li::before { content: "■ "; color: var(--pink); }

/* =========================================================
   書籍・講演
========================================================= */
.book { background: var(--pink-light); }
.book__inner {
  display: grid; gap: 28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  box-shadow: var(--shadow);
}
.book__cover { max-width: 240px; margin: 0 auto; }
.book__cover img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.book__release { font-weight: 700; color: var(--pink); font-size: 0.95rem; }
.book__release span {
  display: inline-block; margin-right: 8px; padding: 0 10px;
  background: var(--pink); color: var(--white); border-radius: 999px; font-size: 0.75rem;
}
.book__title { margin-top: 8px; font-size: 1.35rem; line-height: 1.5; color: var(--green-dark); }
.book__title small { display: block; font-size: 0.85rem; font-weight: 500; color: var(--gray); }
.book__meta { margin: 8px 0 16px; font-size: 0.85rem; color: var(--gray-light); }
.book__points { margin-top: 16px; display: grid; gap: 6px; font-size: 0.9rem; font-weight: 700; }
.book__points li::before { content: "✓ "; color: var(--green); }
.book__soon {
  margin-top: 20px; padding: 12px 16px;
  background: var(--beige); border-radius: 12px;
  font-size: 0.85rem; text-align: center;
}

/* 講演のご依頼 */
.lecture {
  margin-top: 32px;
  background: var(--white);
  border: 2px dashed var(--pink);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.lecture__title { font-size: 1.2rem; color: var(--green-dark); margin-bottom: 12px; }
.lecture > p { text-align: left; font-size: 0.95rem; }
.lecture__price {
  display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  margin: 20px 0;
}
.lecture__price dt { font-size: 0.85rem; padding: 0 10px; border: 1px solid var(--gray-light); border-radius: 999px; }
.lecture__price b { font-size: 1.4rem; color: var(--pink); }
.lecture__price small { font-size: 0.8rem; }
.lecture__note { margin-top: 12px; font-size: 0.8rem !important; color: var(--gray-light); text-align: center !important; }

/* =========================================================
   プライバシーポリシー（下層ページ）
========================================================= */
.policy { background: var(--white); padding-top: calc(var(--header-h) + 48px); }
.policy__inner { max-width: 800px; }
.policy h2 {
  margin: 36px 0 12px; padding-left: 12px;
  font-size: 1.1rem; color: var(--green-dark);
  border-left: 4px solid var(--pink);
}
.policy p, .policy li { font-size: 0.95rem; }
.policy ul { margin-top: 8px; display: grid; gap: 4px; }
.policy ul li::before { content: "・"; color: var(--pink); }
.policy__contact {
  display: grid; grid-template-columns: 6em 1fr; gap: 8px 12px;
  margin-top: 12px; padding: 20px; background: var(--beige); border-radius: 12px; font-size: 0.9rem;
}
.policy__contact dt { font-weight: 700; color: var(--green-dark); }
.policy__contact dd { word-break: break-all; }
.policy__date { margin-top: 32px; text-align: right; font-size: 0.85rem; color: var(--gray-light); }
.policy__back { margin-top: 24px; text-align: center; }

/* =========================================================
   入会の流れ
========================================================= */
.flow { background: var(--white); }
.flow__list { display: grid; gap: 16px; counter-reset: flow; }
.flow__item {
  position: relative;
  background: var(--beige);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.flow__step {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--white);
  background: var(--pink);
  padding: 2px 12px;
  border-radius: 999px;
}
.flow__item h3 { font-size: 1.15rem; color: var(--green-dark); margin: 8px 0; }
.flow__item p { font-size: 0.9rem; }
.flow__item:first-child { background: #e6f9ee; outline: 2px solid var(--line); }
.flow__item:first-child .flow__step { background: var(--line); }

/* =========================================================
   よくある質問
========================================================= */
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: 14px; box-shadow: var(--shadow); }
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 48px 18px 52px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.6;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; position: absolute; left: 20px; top: 16px; font-size: 1.2rem; color: var(--pink); font-weight: 900; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.4rem; color: var(--green); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { position: relative; padding: 0 20px 20px 52px; font-size: 0.95rem; }
.faq__answer::before { content: "A"; position: absolute; left: 20px; top: -2px; font-size: 1.2rem; color: var(--green); font-weight: 900; }

/* =========================================================
   アクセス
========================================================= */
.access { background: var(--white); }
.access__inner { display: grid; gap: 32px; }
.access__info div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--beige-dark); }
.access__info dt { flex-shrink: 0; width: 5em; font-weight: 700; color: var(--green-dark); }
.access__photo { margin-top: 24px; border-radius: var(--radius); }
.access__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); }

/* =========================================================
   最後のCTA
========================================================= */
.final-cta {
  padding: 72px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.12) 0 80px, transparent 81px),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,.10) 0 120px, transparent 121px),
    var(--green-dark);
  color: var(--white);
  text-align: center;
}
.final-cta__inner { display: flex; flex-direction: column; align-items: center; }
.final-cta__lead { font-size: 0.9rem; opacity: .9; }
.final-cta__title { font-size: 1.6rem; line-height: 1.5; margin: 8px 0 16px; }
.final-cta__desc { margin-bottom: 28px; font-size: 0.95rem; }
.final-cta__other { margin-top: 24px; font-size: 0.85rem; opacity: .9; }
.final-cta__other a { color: var(--white); }

/* =========================================================
   フッター
========================================================= */
.footer { background: var(--beige-dark); padding: 48px 0 24px; font-size: 0.85rem; }
.footer__inner { display: grid; gap: 24px; }
.footer__brand img { width: 180px; margin-bottom: 12px; }
.footer__brand a { color: inherit; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__links a { color: var(--gray); text-decoration: none; }
.footer__copy { text-align: center; margin-top: 32px; color: var(--gray-light); }

/* =========================================================
   スマホ用：固定LINEボタン
========================================================= */
.fixed-line {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px;
  background: var(--line);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(6, 199, 85, .35);
}

/* =========================================================
   ふわっと表示するアニメーション（js/main.js と連動）
========================================================= */
.js-fade { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.js-fade.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-fade { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   タブレット・PC（768px以上）
========================================================= */
@media (min-width: 768px) {
  :root { --header-h: 80px; }
  body { padding-bottom: 0; }
  .pc-only { display: inline; }
  .sp-only { display: none; }

  .section { padding: 104px 0; }
  .section__title { font-size: 2rem; margin-bottom: 48px; }
  .section__lead { margin: -28px 0 48px; }

  .hero { padding: calc(var(--header-h) + 56px) 0 88px; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .hero__visual { order: 0; }
  .hero__title { font-size: 2.6rem; }
  .hero__lead { font-size: 1rem; }
  .hero__cta { text-align: left; }

  .about__inner, .message__inner, .access__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .message__inner { grid-template-columns: 2fr 3fr; }
  /* 書籍：表紙を左、説明を右に並べる */
  .book__inner { grid-template-columns: 240px 1fr; align-items: center; gap: 48px; padding: 48px; }
  .lecture { padding: 40px 48px; }
  .lecture > p { text-align: center; }

  .service__grid, .price__grid { grid-template-columns: repeat(3, 1fr); }
  .reason__list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .voice__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .flow__list { grid-template-columns: repeat(4, 1fr); }
  .trial__list { grid-template-columns: repeat(4, 1fr); }

  .cta-band__inner { flex-direction: row; justify-content: center; gap: 32px; text-align: left; }

  .footer__inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer__links { justify-content: flex-end; }

  /* PCでは画面右下に小さく表示 */
  .fixed-line { left: auto; right: 24px; bottom: 24px; padding: 14px 24px; }
}

/* 料金カードなど3列は幅が狭いと窮屈なので、タブレットでは1列に戻す */
@media (min-width: 768px) and (max-width: 1023px) {
  .service__grid, .price__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* =========================================================
   PC（1024px以上）：ヘッダーのメニューを横並びに
========================================================= */
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .header__logo img { height: 52px; }
  .nav {
    position: static;
    transform: none;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: visible;
  }
  .nav__list { display: flex; gap: 18px; }
  .nav__list li { border: none; }
  .nav__list a { padding: 8px 0; font-size: 0.9rem; }
  .nav__list a:hover { color: var(--pink); }
  .nav__line { margin: 0; width: auto; padding: 10px 20px; font-size: 0.9rem; }
}
