:root {
  --brandColor: #2b9fe0;
  --brandColor-dark: #1c7fba;
  --backgroundColor: #ffffff;
  --backgroundColor-gray: #f3f9fd;
}

header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(12, 40, 60, 0.08);
}

header .group_header .logo_box .link_logo {
  width: auto;
  color: #1a6fa3;
  gap: 8px;
}

header .group_header .logo_box .link_logo img {
  display: block;
  width: 36px;
  height: 36px;
}

.onepage .btn_submit {
  font-size: 22px;
  line-height: 1.35;
}

.onepage section {
  padding: 72px 0;
}

.rail_hero {
  margin-top: 75px;
  padding: 72px 0 120px;
  background: linear-gradient(135deg, #f4fbff 0%, #e3f4ff 52%, #d5efff 100%);
  color: #1b3d56;
}

.rail_hero_grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.rail_hero .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #1c7fba;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rail_hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.rail_hero .lead {
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
  max-width: 640px;
}

.rail_hero .note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: #2d5672;
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
}

.rail_aside {
  padding: 28px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #d7edf8;
  box-shadow: 0 10px 28px rgba(43, 159, 224, 0.08);
}

.rail_aside h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rail_aside li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 16px;
  line-height: 1.5;
  word-break: keep-all;
}

.rail_aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2b9fe0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M6.2 11.2 3.4 8.4l1.1-1.1 1.7 1.7 4.3-4.3 1.1 1.1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.onepage .form_wrap {
  margin-top: -78px;
  position: relative;
  z-index: 3;
  padding-top: 0;
}

.onepage .form_wrap > .inner {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(8, 40, 60, 0.12);
  padding: 8px 8px 8px 28px;
  align-items: center;
}

.onepage .form_wrap .text_wrap {
  width: 280px;
  padding: 24px 0;
}

.onepage .form_wrap .form_subtitle {
  color: var(--brandColor);
  font-weight: 700;
}

.onepage .form_wrap .form_desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #5c6b73;
  word-break: keep-all;
}

.rail_block h2,
.rail_links h2,
.onepage .section04 h2,
.onepage .section05 h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  word-break: keep-all;
  margin-bottom: 14px;
}

.rail_block .section_lead,
.rail_links .section_lead,
.onepage .section04 .section_lead {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.7;
  color: #3d4c54;
  word-break: keep-all;
}

.rail_block {
  background: #fff;
}

.rail_block.alt {
  background: #f3f9fd;
}

.step_list,
.point_grid,
.route_grid {
  display: grid;
  gap: 16px;
}

.step_list {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 8px;
  list-style: none;
}

.step_list li,
.point_grid article,
.route_grid article {
  background: #fff;
  border: 1px solid #e4eef3;
  border-radius: 16px;
  padding: 22px 20px;
}

.rail_block.alt .step_list li,
.rail_block.alt .route_grid article {
  background: #fff;
}

.step_list .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brandColor);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.step_list strong,
.route_grid h3,
.point_grid h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  word-break: keep-all;
}

.step_list p,
.route_grid p,
.point_grid p,
.prose p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #3d4c54;
  word-break: keep-all;
}

.prose p + p {
  margin-top: 12px;
}

.route_grid,
.point_grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.time_table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  font-size: 15px;
}

.time_table th,
.time_table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e6eef2;
  line-height: 1.5;
  word-break: keep-all;
  vertical-align: top;
}

.time_table th {
  background: #2b9fe0;
  color: #fff;
  font-weight: 700;
}

.time_table tr:last-child td {
  border-bottom: 0;
}

.table_scroll {
  overflow-x: auto;
}

.rail_links {
  background: #f7fbfc;
}

.banner_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.banner_list a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d7e6ee;
  box-shadow: 0 8px 24px rgba(12, 70, 90, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.banner_list a:hover {
  transform: translateY(-3px);
  border-color: var(--brandColor);
}

.banner_list .badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f5f8;
  color: var(--brandColor-dark);
  font-size: 13px;
  font-weight: 700;
}

.banner_list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.4;
  color: #12313d;
  word-break: keep-all;
}

.banner_list p {
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  color: #4a5c66;
  word-break: keep-all;
}

.banner_list .more {
  margin-top: 16px;
  font-weight: 700;
  color: var(--brandColor);
}

.onepage .section04 {
  background: #fff;
}

.onepage .section05 {
  background: linear-gradient(135deg, #f4fbff 0%, #e3f4ff 100%);
  color: #1b3d56;
  text-align: center;
}

.onepage .section05 .subtitle {
  margin: 10px auto 26px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
}

.onepage .go_to_form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: 12px;
  background: #2b9fe0;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.btn_submit:hover {
  background-color: #1c86c4;
}

@media (max-width: 1023px) {
  .rail_hero h1 {
    font-size: 40px;
  }
  .step_list,
  .route_grid,
  .point_grid,
  .banner_list {
    grid-template-columns: 1fr 1fr;
  }
  .onepage .form_wrap > .inner {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .rail_hero {
    padding: 48px 0 108px;
  }
  .rail_hero_grid,
  .step_list,
  .route_grid,
  .point_grid,
  .banner_list {
    grid-template-columns: 1fr;
  }
  .rail_hero h1 {
    font-size: 34px;
  }
  .rail_block h2,
  .rail_links h2,
  .onepage .section04 h2 {
    font-size: 28px;
  }
  .onepage .form_wrap .text_wrap {
    width: 100%;
    padding: 8px 8px 0;
  }
  .onepage .form_wrap > .inner {
    padding: 16px;
  }
}

@media (max-width: 586px) {
  .rail_hero {
    margin-top: 60px;
  }
  header .group_header .logo_box {
    width: auto;
  }
}
