/* 共通リセット */
* {
  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: #2b303a;
  line-height: 1.75;
  background-color: #f4f7fa;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 各セクション共通見出し */
section h2 {
  font-size: 28px;
  color: #002244;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}
section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #d9534f;
  border-radius: 2px;
}
.section-intro {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  font-size: 16px;
}

/*ヘッダー*/
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;
}
.major-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 40px;
  width: auto;
}
.major-header h1 {
  font-size: 24px;
  color: #002244;
  font-weight: bold;
  letter-spacing: 1px;
}
.navigation ul {
  display: flex;
  gap: 25px;
  list-style: none;
}
.navigation a {
  font-weight: bold;
  color: #4a5568;
  font-size: 15px;
}
.navigation a:hover {
  color: #004488;
}

/*何か*/
.i-hero {
  background: linear-gradient(135deg, #00152e 0%, #1a365d 100%);
  color: #fff;
  text-align: center;
  border-bottom: 4px solid #d9534f;
}
.i-hero_content {
  max-width: 900px;
  margin: 0 auto;
}
.i-hero_sub {
  font-size: 16px;
  font-weight: bold;
  color: #ffcc00;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}
.i-hero h2 {
  font-size: 38px;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 20px;
}
.i-hero h2::after {
  display: none;
}

/*メインコンテンツ共通*/
main {
  padding: 40px 0;
}
section {
  background-color: #fff;
  padding: 50px 40px;
  margin-bottom: 50px;
  box-shadow: 0 5px 20px rgba(0, 34, 68, 0.03);
}

/* プライバシーポリシー */
#privacy-policy ul li {
  margin-left: 2.5em;
}

.underline {
  text-decoration: underline;
}

/*  フッター 、 スマホ固定 */
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;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.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: 960px) {
  .c-features_grid,
  .c-course_apply_list,
  .books-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .system-flow {
    flex-direction: column;
    gap: 15px;
  }
  .flow-step {
    width: 100%;
  }
  .arrow {
    transform: rotate(90deg);
    margin: 5px 0;
  }
  .c-profile_second {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
}
@media (max-width: 768px) {
  body {
    padding-bottom: 75px;
  } /* スマホ固定用パディング */
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }
  .navigation ul {
    gap: 15px;
    font-size: 13px;
  }
  .c-hero {
    padding: 60px 15px;
  }
  .c-hero h2 {
    font-size: 24px;
  }
  .c-hero_lead {
    font-size: 14px;
  }
  .btn-main-cta {
    font-size: 18px;
    padding: 15px 25px;
    width: 100%;
  }
  section {
    padding: 30px 20px;
  }
  .c-floating_btn_area {
    display: block;
  }
}
