.sub-page h1 {
  margin: 0;
}

.container.wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
  padding-right: 20px;
}

/* header */

.sub-page #header {
  padding: 1rem;
  background: linear-gradient(45deg, #ccc 20%, #f4c844 70%, #fdc317);
  z-index: 10;
}

.sub-page #header .header-inner .logo #logotitle {
  color: #06156e;
}

/* contents */

/* main */

.sub-page .contents-page {
  flex-direction: row-reverse;
}

.sub-page .contents-page main {
  border-left: 1px solid #dcdcdc;
  width: 100%;
  margin-bottom: 60px;
}

.sub-page .contents-page main .topicpath {
  background: #f3f3f3;
  padding: 0.3rem 0 0.3rem 2rem;
}

.sub-page .link {
  color: var(--bs-link-color);
  text-decoration: underline;
}

.sub-page .contents-page main .topicpath a,
.sub-page .contents-page main .topicpath span,
.sub-page .contents-page main .topicpath i {
  font-size: 0.8rem;
}

.sub-page .contents-page main .topicpath i,
.sub-page .contents-page main .topicpath .active {
  color: var(--bs-body-color);
}

.sub-page .contents-page main h2 {
  padding: 1.8rem;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0;
  background: linear-gradient(to left top, #fff, 99%, #333);
  border-bottom: 1px solid #dcdcdc;
}

.sub-page .contents-page main .main-inner .img {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.sub-page .contents-page main .main-inner > .container h3 {
  font-weight: 700;
}

.sub-page .contents-page main .main-inner .box-container {
  padding: 30px 0 30px 30px;
  border-top: 1px solid #dcdcdc;
}

.sub-page .contents-page .contents .main-inner .box-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sub-page .contents-page .contents .main-inner .box-container a {
  border: 1px solid #dcdcdd;
  padding: 1.6rem;
  min-width: 180px;
}

.sub-page .contents-page .contents .main-inner .box-container a:hover {
  border: 1px solid #63b3e6;
}

a .name-box {
  justify-content: start;
  margin-bottom: 3rem;
  position: relative;
}

.sub-page .contents-page .contents .main-inner .box-container a .name-box::before {
  display: block;
  content: "";
  width: 100%;
  height: 1px;
  background: #dcdcdd;
  position: absolute;
  top: 3rem;
}

a .name-box i {
  width: 1rem;
  height: 1rem;
  position: relative;
}

a .name-box span {
  font-weight: 600;
  padding-top: 2px;
}

a:hover .name-box span {
  color: #63b3e6;
}

a .name-box i::before {
  font-size: 11px;
  position: absolute;
  top: 2px;
  right: 2px;
}

.sub-page .contents-page .contents .main-inner .box-container a p {
  font-size: 12px;
  margin-bottom: 0;
}

.sub-page .contents-page .btn {
  font-size: 0.8rem;
  background-color: #06156e;
  color: #fff;
}

/* side */

.sub-page .container #side {
  height: 30rem;
  width: 234px;
}

.sub-page .contents-page #side ul {
  padding: 30px 20px;
  border-bottom: 1px solid #dcdcdc;
}

.sub-page .contents-page #side ul .active {
  padding: 10px 0 10px 30px;
  background: #dde9f6;
}

.sub-page .contents-page #side ul .en {
  font-size: 0.6rem;
  color: #c4c4c4;
}

.sub-page .contents-page #side ul .active .en {
  color: inherit;
}

.sub-page .contents-page #side ul li {
  padding: 10px 30px;
  font-size: 0.9rem;
  font-weight: bold;
  border-bottom: 1px solid #dcdcdc;
  white-space: nowrap;
}

.sub-page .contents-page #side ul li a {
  font-size: 1rem;
}

.sub-page .contents-page #side ul li:last-of-type {
  border-bottom: none;
}

.sub-page .contents-page #side ul .contact {
  border: none;
}

.sub-page .contents-page #side ul li:hover a,
.sub-page .contents-page #side .navIn li:hover a,
.sub-page .contents-page #side ul li:hover .en {
  color: #63b3e6;
}

.sub-page .contents-page #side ul li.active:hover .en {
  color: inherit;
}

.sub-page .contents-page #side ul li::before {
  border-style: solid;
  border-width: 0.15em 0.15em 0 0;
  content: "";
  display: inline-block;
  height: 0.45em;
  left: -1rem;
  position: relative;
  top: 0.5rem;
  transform: rotate(45deg);
  vertical-align: top;
  width: 0.45em;
}

.sub-page .contents-page #side ul .navIn {
  padding: 20px 0 20px 20px;
}

.sub-page .contents-page #side ul .navIn li {
  padding: 5px 0px 5px 16px;
  border-style: none;
}

.sub-page .contents-page #side ul .navIn li a {
  font-size: 12px;
}

/* footer */

.sub-page .footer {
  padding: 1rem;
}

.sub-page .footer .footer-inner {
  justify-content: space-between;
  border-top: 2px solid #dcdcdc;
  position: relative;
  padding-right: 0;
  padding-left: 0;
}

.sub-page .footer .footer-inner .Scroll-top {
  position: absolute;
  top: -25px;
  right: 10px;
  font-size: 0.8rem;
}

.sub-page .footer .footer-inner ul li::before,
.sub-page .footer .footer-inner .Scroll-top::before {
  border-style: solid;
  border-width: 0.15em 0.15em 0 0;
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  position: relative;
  bottom: 0.2rem;
  left: -0.3rem;
  transform: rotate(45deg);
}

.sub-page .footer .footer-inner .Scroll-top::before {
  transform: rotate(-45deg);
}

.sub-page .footer .footer-inner h3 a {
  font-size: 1.2rem;
  font-weight: 600;
}

.sub-page .footer .footer-inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  max-width: 520px;
}

.sub-page .footer .footer-inner ul li {
  font-size: 0.8rem;
}

.sub-page .footer .footer-inner ul li a {
  font-size: 0.9rem;
}

.sub-page .footer .footer-inner ul li a:hover {
  text-decoration: underline;
}

.sub-page .footer .footer-inner .copy {
  font-size: 0.8rem;
  margin: 1rem 0;
  min-width: 365px;
}
