/* ===========================================================
   BOOK i LAND LP (u59e) — 静的新築 共通スタイル
   現行(WordPress+Elementor)の見た目を踏襲し、Elementorが生成
   していたラッパー構造をクリーンなクラスで再構築したもの。
   =========================================================== */

/* ---- ベース ---- */
:root { --bkl-green:#2f6f52; --bkl-mint:#91E4CF; --bkl-blue:#375A7F; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Hiragino Sans', -apple-system, BlinkMacSystemFont,
               'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo,
               'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
  padding-bottom: 64px; /* 固定フッターバナー分の余白 */
}
img { max-width: 100%; }
a { color: inherit; }

/* 各セクションの上下スペースを確実にとるラッパー */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px;
  text-align: center;
}
.section-narrow { max-width: 820px; }

/* ---- ヒーロー ---- */
.hero { margin: 0; line-height: 0; }
.hero img, .hero source { width: 100%; height: auto; display: block; }

/* ---- CTA（LINE登録／特典付き） ---- */
.cta-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px;
  color: #333;
}
.cta-inner { max-width: 600px; margin: 0 auto; text-align: left; }
.cta-button-shake {
  display: block;
  width: 100%;
  max-width: 350px;
  margin: 0 auto 1em;
  animation: pulse-shake 3s infinite;
  transform-origin: center center;
}
.cta-button-shake img { width: 100%; height: auto; display: block; }
@keyframes pulse-shake {
  0%, 96%, 100% { transform: scale(1); }
  97% { transform: scale(1.015); }
  98% { transform: scale(0.985); }
  99% { transform: scale(1.01); }
}
.cta-gift { display: block; margin: 0 auto 1em; max-width: 600px; }
.cta-gift img { width: 100%; height: auto; display: block; }
.cta-text {
  margin-top: 1em; font-size: 0.95em; line-height: 1.9;
  color: #333; text-align: left;
}
.cta-highlight {
  font-size: 1.4em; font-weight: bold; text-align: center; margin-top: 0.5em;
}

/* ---- 見出し（左ボーダー） ---- */
.lined-h4 {
  padding: 0.25em 0.5em; color: #494949; background: transparent;
  border-left: solid 5px var(--bkl-mint);
  font-size: 1.0em; font-weight: bold; margin: 0;
}
.section-container { max-width: 100%; margin: 0 auto; }
@media (min-width: 768px) { .section-container { max-width: 70%; } }

/* ---- こんな悩みありませんか（4ブロック） ---- */
.worry-list {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 640px; margin: 24px auto 0;
}
.worry-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px; background: #f6fbf9; border-radius: 10px;
  text-align: left;
}
.worry-item.reverse { flex-direction: row-reverse; }
.worry-item img { width: 104px; height: auto; flex-shrink: 0; }
.worry-item h4 { margin: 0; font-size: 1.0em; line-height: 1.5; }

/* ---- なぜ伸ばせるのか（3本柱・交互配置） ---- */
.section-wrapper { max-width: 1200px; margin: 0 auto 40px; padding: 0 20px; }
.section-block { display: flex; flex-direction: column; gap: 70px; }
.section-item {
  display: flex; flex-wrap: nowrap; align-items: center;
  justify-content: center; gap: 30px;
}
.section-item.reverse { flex-direction: row-reverse; }
.section-item img { width: 200px; height: auto; flex-shrink: 0; display: block; }
.section-text { flex: 1; min-width: 280px; text-align: left; }
.section-text h3 {
  color: #494949; background: transparent;
  border-left: solid 5px var(--bkl-mint);
  font-size: 1.1em; margin-bottom: 10px; padding-left: 0.5em;
  line-height: 1.4; display: inline-block;
}
.section-text p { color: #333; line-height: 1.7; font-size: 0.95em; text-align: left; }
.top-image, .sanhon-image {
  width: 100%; max-width: 100%; height: auto; display: inline-block;
}
@media screen and (min-width: 768px) {
  .top-image, .sanhon-image { width: 70%; }
}
@media screen and (max-width: 768px) {
  .section-item { flex-direction: column !important; text-align: center; }
  .section-item img { width: 220px; }
  .section-text { text-align: left; }
}

/* ---- 月会費パーツ ---- */
.price-title {
  font-size: 1.5em; color: #333; margin: 30px auto 20px;
  font-weight: bold; text-align: center;
}
.price-img { width: 600px; max-width: 100%; height: auto; display: block;
  margin: 0 auto; border-radius: 12px; }

/* ---- 授業風景（画像＋動画） ---- */
.lesson-media { text-align: center; }
.lesson-media img.photo { width: 90%; max-width: 600px; height: auto;
  display: block; margin: 0.5em auto; }
.lesson-media video { width: 90%; max-width: 600px; height: auto;
  display: block; margin: 0.5em auto; border-radius: 8px; }

/* ---- 合格実績（お客様の声） ---- */
.achieve-block { max-width: 900px; margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column; gap: 40px; }
.achieve-item { display: flex; align-items: center; gap: 28px; justify-content: center; }
.achieve-item img { width: 100%; max-width: 290px; height: auto; border-radius: 8px; flex-shrink: 0; }
.achieve-text { text-align: left; flex: 1; min-width: 260px; }
.achieve-text .name { margin: 0 0 8px; font-weight: bold; font-size: 1.1em; color: #333; }
.achieve-text .result { margin: 0 0 16px; font-weight: bold; font-size: 1.4em; color: var(--bkl-blue); }
.achieve-text .voice { font-size: 0.95em; color: #444; line-height: 1.7; margin: 0; }
@media screen and (max-width: 600px) {
  .achieve-block { padding: 0 16px; }
  .achieve-item { flex-direction: column; align-items: center; text-align: center; }
  .achieve-item img { margin-bottom: 12px; }
  .achieve-text { text-align: left; }
}

/* ---- 講師陣 ---- */
.teacher-block { max-width: 800px; margin: 0 auto; }
.teacher-block h3 { font-size: 1em; color: #FBAE17; margin-bottom: 10px; font-weight: bold; }
.teacher-block p { font-size: 0.85em; color: #444; line-height: 1.7; }
@media screen and (max-width: 600px) {
  .teacher-block { padding: 0 16px; }
  .teacher-block img { width: 100% !important; }
}

/* ---- 保証アコーディオン ---- */
.accordion-container {
  max-width: 800px; margin: 0 auto 40px;
  font-family: 'Hiragino Sans','Helvetica Neue',Arial,sans-serif;
}
.accordion-item { border-bottom: 1px solid #ccc; padding: 15px 0; cursor: pointer; }
.accordion-header { display: flex; align-items: center; justify-content: space-between; }
.accordion-title-wrap { display: flex; align-items: center; gap: 12px; }
.accordion-icon { width: 36px; height: auto; }
.accordion-title { font-weight: bold; font-size: 1.05em; color: var(--bkl-blue); }
.accordion-toggle { font-size: 1.5em; font-weight: bold; color: #888; transition: transform 0.2s ease; }
.accordion-content {
  display: none; margin-top: 10px; padding-left: 48px;
  color: #444; font-size: 0.9em; line-height: 1.7; text-align: left;
}
.accordion-item.open .accordion-toggle { transform: rotate(45deg); }
.accordion-item.open .accordion-content { display: block; }
@media screen and (max-width: 600px) {
  .accordion-container { padding: 0 16px; }
  .accordion-icon { width: 32px; }
}

/* ---- 固定フッターバナー（LINE誘導） ---- */
#line-banner {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: linear-gradient(to right, #00C300, #00B900);
  color: #fff; font-size: 0.9em; z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 8px 16px;
}
#line-banner.hidden { display: none; }
#line-banner-text { margin: 0; white-space: nowrap; }
#line-banner a {
  background: #fff; color: #00B900; font-weight: bold;
  padding: 6px 14px; border-radius: 24px; text-decoration: none;
  font-size: 0.9em; transition: background 0.3s ease; white-space: nowrap;
}
#line-banner a:hover { background: #f1f1f1; }
#line-banner-close { margin-left: auto; font-size: 1.2em; color: #fff; cursor: pointer; }
@media screen and (max-width: 600px) {
  #line-banner { flex-wrap: nowrap; gap: 10px; padding: 8px 10px; font-size: 0.85em; }
  #line-banner-text { font-size: 0.85em; }
  #line-banner a { padding: 5px 10px; font-size: 0.85em; }
}

/* ---- FAQ ページ ---- */
.faq-wrapper { max-width: 820px; margin: 0 auto; padding: 40px 20px;
  font-family: "Helvetica Neue","Hiragino Sans","Yu Gothic",sans-serif; color: #333; }
.faq-header { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0 auto 25px; }
.faq-rumba { width: 110px; height: auto; flex-shrink: 0; }
.faq-title-box { text-align: left; }
.faq-title-box h2 { font-size: 32px; font-weight: 700; color: #00AEEF; margin: 0; }
.faq-title-sub { font-size: 14px; margin-top: 4px; color: #777; }
.faq-list { margin-top: 20px; }
.faq-item { padding: 18px 0; border-bottom: 1px solid #e5e5e5; }
.faq-question { font-size: 18px; font-weight: 600; display: flex;
  justify-content: space-between; align-items: center; cursor: pointer; gap: 12px; }
.faq-icon { font-size: 22px; transition: 0.3s; flex-shrink: 0; }
.faq-answer { display: none; padding: 12px 0 0; font-size: 15px; line-height: 1.8; color: #555; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: #00AEEF; }
@media (max-width: 600px) {
  .faq-header { flex-direction: column; gap: 10px; text-align: center; }
  .faq-title-box { text-align: center; }
  .faq-rumba { width: 85px; }
  .faq-title-box h2 { font-size: 26px; }
  .faq-question { font-size: 16px; }
}
