/* 共通リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  color: #2d3748;
  line-height: 1.8;
  background-color: #f7fafc;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.s-section {
  padding: 80px 20px;
}

/* ヘッダー */
header {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 34, 68, 0.06);
  position: sticky;
  top: 0; /* */
  z-index: 1000;
  padding: 12px 0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px; /* ヘッダー*/
}
.major-header {
  display: flex;
  align-items: cen ter;
  gap: 12px;
}
.logo-img {
  height: 40px;
  width: auto;
}
.major-header h1 {
  font-size: 24px;
  color: #002244;
  font-weight: bold;
}
.navigation ul {
  display: flex;
  gap: 25px;
  list-style: none;
}
.navigation a {
  font-weight: bold;
  color: #4a5568;
  text-decoration: none;
  font-size: 15px;
  padding: 5px 0;
}
.navigation a:hover {
  color: #004488;
  border-bottom: 2px solid #004488;
}

/* メイン */
.faq-hero {
  background: linear-gradient(135deg, #00152e 0%, #1a365d 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  border-bottom: 4px solid #d9534f;
}
.faq-hero_sub {
  font-size: 13px;
  letter-spacing: 3px;
  color: #ffcc00;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}
.faq-hero h2 {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 15px;
}
.faq-hero_lead {
  font-size: 16px;
  color: #e2e8f0;
}

/*  FAQ ボックスレイアウト */
.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

/* 質問エリア (Q) */
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  background-color: #fff;
  border-bottom: 1px solid #f1f5f9;
}
.faq-icon-q {
  font-size: 20px;
  font-weight: 900;
  color: #d9534f; /* 塾カラーの赤 */
  font-family: "Arial Black", sans-serif;
  line-height: 1;
  margin-top: 2px;
}
.faq-question h3 {
  font-size: 18px;
  color: #002244;
  font-weight: bold;
  line-height: 1.5;
}

/* 回答エリア (A) */
.faq-dash {
  display: none; /* スマホやデザイン用 */
}
.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  background-color: #f8fafc; /* 回答エリアを少しトーンダウンして見やすく */
}
.faq-icon-a {
  font-size: 20px;
  font-weight: 900;
  color: #004488; /* 塾カラーの紺・青 */
  font-family: "Arial Black", sans-serif;
  line-height: 1;
  margin-top: 2px;
}
.faq-answer_content {
  flex: 1;
  color: #4a5568;
  font-size: 15.5px;
}
.faq-answer_content p {
  margin-bottom: 12px;
}
.faq-answer_content p:last-child {
  margin-bottom: 0;
}
.faq-answer_content strong {
  color: #002244;
}

/* 回答内リストスタイル */
.faq-answer_content ul {
  list-style: none;
  margin-top: 10px;
  background-color: #fff;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.faq-answer_content li {
  font-size: 14.5px;
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.faq-answer_content li:last-child {
  margin-bottom: 0;
}
.faq-answer_content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #d9534f;
  font-weight: bold;
}

/* コンバージョンエリア (CTA) */
.cta-section {
  background: linear-gradient(135deg, #00152e 0%, #1a365d 100%);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-top: 4px solid #ff6600;
}
.cta-section h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
}
.cta-section p {
  color: #cbd5e1;
  font-size: 15px;
  margin-bottom: 30px;
}
.cta-btn-wrap {
  text-align: center;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(180deg, #ff6600 0%, #e64a00 100%);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 15px 50px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(230, 74, 0, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(230, 74, 0, 0.5);
}
.cta-btn_sub {
  font-size: 12px;
  font-weight: normal;
  color: #ffe6d5;
}

/* フッタ */
footer {
  background-color: #00152e;
  color: #94a3b8;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
}
.footer_nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin-bottom: 20px;
}
.footer_nav a {
  color: #94a3b8;
  text-decoration: none;
}
.footer_nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.copyright {
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #002244;
  padding-top: 20px;
}

/* レス */
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }
  .faq-hero h2 {
    font-size: 26px;
  }
  .faq-question {
    padding: 18px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-answer {
    padding: 18px;
  }
  .faq-answer_content {
    font-size: 14.5px;
  }
  .faq-answer_content ul {
    padding: 15px;
  }
  .s-section {
    padding: 40px 20px;
  }
  .cta-btn {
    font-size: 16px;
    padding: 12px 25px;
    width: 100%;
  }
}
