.sub-page {
  background: #fff;
}

.sub-visual {
  height: 390px;
  background: linear-gradient(rgba(9, 27, 52, 0.35), rgba(9, 27, 52, 0.35)),
    url("../../images/front/middle-banner.png") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.sub-visual-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 64px;
  color: #fff;
}

.sub-visual h1 {
  font-size: 44px;
  font-weight: 800;
  margin: 0;
}

.sub-depth-nav {
  height: 64px;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
}

.sub-depth-nav a {
  min-width: 230px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.sub-depth-nav a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.sub-depth-nav .home-link {
  min-width: 72px;
  justify-content: center;
}

.sub-content {
  width: min(960px, calc(100% - 40px));
  margin: 86px auto 120px;
}

.sub-content h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  text-align: center;
}

.title-bar {
  width: 54px;
  height: 5px;
  margin: 28px auto 70px;
  background: var(--color-primary);
}

.page-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  margin: 1.4em 0 0.6em;
}

.page-content ul,
.page-content ol {
  padding-left: 1.4em;
  margin: 1em 0;
}

@media (max-width: 768px) {
  .sub-visual {
    height: 280px;
  }
  .sub-visual h1,
  .sub-content h2 {
    font-size: 30px;
  }
  .sub-depth-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .sub-depth-nav a {
    min-width: 180px;
  }
}
