/* べースデザイン*/
* {
  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: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.s-section {
  padding: 70px 20px;
}
.s-section_header {
  text-align: center;
  margin-bottom: 45px;
}
.s-section_header h2 {
  font-size: 28px;
  color: #002244;
  font-weight: bold;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.s-section_header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #d9534f;
}
.s-section_header p {
  color: #718096;
  font-size: 15px;
}

/* ヘッダー */
header {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 34, 68, 0.06);
  position: sticky;
  top: 0; /* 🍊ここが 100px になっていたのを 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;
}
.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,
.navigation a.active {
  color: #004488;
  border-bottom: 2px solid #004488;
}

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

/* コース紹介（2カード） */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.course-card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px 25px 30px 25px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 34, 68, 0.08);
}
.card-tag {
  position: absolute;
  top: -14px;
  left: 25px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 20px;
}
.card-exam {
  border-top: 4px solid #002244;
}
.card-exam .card-tag {
  background-color: #002244;
}
.card-prep {
  border-top: 4px solid #1a446c;
}
.card-prep .card-tag {
  background-color: #1a446c;
}
.card-high {
  border-top: 4px solid #f0ad4e;
}
.card-high .card-tag {
  background-color: #f0ad4e;
}

.card-icon {
  font-size: 42px;
  margin-bottom: 15px;
}
.course-card h3 {
  font-size: 20px;
  color: #002244;
  font-weight: bold;
  margin-bottom: 15px;
}
.card-desc {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 25px;
  text-align: justify;
  min-height: 75px;
}
.card-features {
  list-style: none;
  border-top: 1px dashed #e2e8f0;
  padding-top: 20px;
}
.card-features li {
  font-size: 13.5px;
  color: #2d3748;
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}
.card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d9534f;
  font-weight: bold;
}

/*料金体系 */
.price-bg {
  background-color: #f7fafc;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 34, 68, 0.03);
  border: 1px solid #e2e8f0;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.price-table th {
  background-color: #002244;
  color: #fff;
  padding: 20px 15px;
  font-size: 15px;
  font-weight: bold;
}
.price-table th small {
  font-weight: normal;
  color: #cbd5e1;
  font-size: 11px;
  display: block;
  margin-top: 4px;
}
.price-table td {
  padding: 25px 15px;
  border-bottom: 1px solid #edf2f7;
}
.price-table tr:last-child td {
  border-bottom: none;
}
.price-table .grade {
  font-weight: bold;
  color: #002244;
  font-size: 16px;
  background-color: #fcfdfe;
  border-right: 1px solid #edf2f7;
}
.price-table .price {
  font-size: 22px;
  font-weight: bold;
  color: #2d3748;
  position: relative;
}
.price-table .unit {
  font-size: 13px;
  color: #718096;
  font-weight: normal;
}
.price-table .recommended {
  background-color: #fffdf5;
  color: #b7791f;
}
.table-badge {
  position: absolute;
  top: 4px;
  right: 15px;
  background-color: #ff6600;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: bold;
}
.price-notice {
  text-align: center;
  font-size: 13px;
  color: #718096;
  margin-bottom: 40px;
}

/* 面談*/
.features-box {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 4px 15px rgba(0, 34, 68, 0.02);
}
.features-box h4 {
  font-size: 18px;
  color: #002244;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #e2e8f0;
}
.features-box_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.fb-item h5 {
  font-size: 15px;
  color: #d9534f;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.fb-item p {
  font-size: 13.5px;
  color: #4a5568;
  line-height: 1.6;
}

/* 相談会カード*/
.option-card {
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-top: 20px;
}
.option-badge {
  position: absolute;
  top: -13px;
  left: 40px;
  background-color: #2b6cb0;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.option-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.option-text {
  flex: 1;
}
.option-text h3 {
  font-size: 22px;
  color: #002244;
  font-weight: bold;
  margin-bottom: 8px;
}
.option-lead {
  font-size: 15px;
  color: #2b6cb0;
  font-weight: bold;
  margin-bottom: 15px;
}
.option-text p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 15px;
}
.uni-tags {
  font-size: 12px;
  color: #4a5568;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  background-color: #f7fafc;
  padding: 10px 15px;
  border-radius: 6px;
}
.uni-title {
  font-weight: bold;
  color: #002244;
}
.option-price-box {
  width: 240px;
  background-color: #f0f7ff;
  border: 1px solid #bee3f8;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
}
.op-price-title {
  font-size: 13px;
  color: #2b6cb0;
  font-weight: bold;
  margin-bottom: 5px;
}
.op-main-price {
  font-size: 26px;
  font-weight: bold;
  color: #2c5282;
  margin-bottom: 4px;
}
.op-main-price .tax {
  font-size: 12px;
  font-weight: normal;
}
.op-sub-price {
  font-size: 12px;
  color: #718096;
}

/* コンバージョンエリア (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: 960px) {
  .course-grid,
  .features-box_grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .option-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }
  .option-price-box {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }
  .c-hero h2 {
    font-size: 26px;
  }
  .s-section {
    padding: 50px 20px;
  }
  .price-table th,
  .price-table td {
    padding: 15px 10px;
    font-size: 13px;
  }
  .price-table .grade {
    font-size: 13px;
  }
  .price-table .price {
    font-size: 16px;
  }
  .table-badge {
    position: static;
    display: block;
    width: max-content;
    margin: 4px auto 0 auto;
  }
  .cta-btn {
    font-size: 16px;
    padding: 12px 25px;
    width: 100%;
  }
}
