.top_bar {
  border-top: 2px solid var(--primary-color);
  border-bottom: 1px solid var(--line-color);
}

.top_bar .top_wrap {
  display: flex;
  justify-content: space-between;
  height: 3.2rem;

  line-height: 3.2rem;
}

.top_bar .adm {
  position: relative;
  display: flex;
  gap: 2.4rem;
}

.top_bar .adm svg {
  vertical-align: -2px;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .top_bar .adm {
    flex-direction: column;
    gap: 0;
  }

  .top_bar .adm li ~ li::before {
    display: none;
  }
}

/* .top_bar .adm a {
  display: block;
} */

@media (max-width: 768px) {
  .top_bar {
    border-bottom: none;
  }

  .top_bar .top_wrap {
    display: none;
  }
}

#header {
  position: sticky;
  top: 0;
  z-index: 999;

  background: var(--white-color);
}

#header.on {
  border-bottom: 1px solid var(--line-color);
}

#header h1 {
  font-size: 3.2rem;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
}

#header h1 img {
  height: 40px;
}

#header .hd_wrap {
  display: flex;
  align-items: center;
  height: 12rem;
}

#header.on .hd_wrap {
  height: 8rem;
}

.gnb {
  margin-left: auto;
}

.gnb > ul {
  display: flex;
  gap: 4rem;
}

.gnb > ul > li > a {
  display: block;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 12rem;
  text-transform: uppercase;
}

#header.on .gnb > ul > li > a {
  line-height: 8rem;
}

.gnb > ul > li {
  position: relative;
}

.gnb > ul > li ul {
  position: absolute;
  top: auto;
  left: 50%;
  z-index: 3;

  transform: translate(-50%, 0);
  background: var(--white-color);
  border: 1px solid var(--line-color);
  border-top: 2px solid var(--primary-color);

  overflow: hidden;

  opacity: 0;
  visibility: hidden;

  transition: 0.2s;
}

.gnb > ul > li:hover ul {
  transform: translate(-50%, -16px);

  opacity: 1;
  visibility: visible;
}

.gnb > ul > li:focus-within ul {
  transform: translate(-50%, -16px);

  opacity: 1;
  visibility: visible;
}

.gnb > ul > li ul li a {
  display: block;
  padding: 0 4rem 0 2.4rem;
  line-height: 4rem;
  white-space: nowrap;

  min-width: 20rem;

  font-size: 1.4rem;
}

.gnb > ul > li ul li a:hover {
  background: var(--lightgray-color);
}

.gnb > ul > li ul li ~ li a {
  border-top: 1px solid var(--line-color);
}

.mbtn {
  display: none;
}

@media (max-width: 768px) {
  .mbtn {
    display: flex;
    align-items: center;

    position: fixed;
    top: 4rem;
    right: 1.6rem;
    z-index: 999;

    width: 32px;
    height: 32px;

    background: var(--lightgray-color);
    border: 1px solid var(--line-color);
    border-radius: 4px;
    /* background: rgba(255, 255, 255, 0.25); */
    font-size: 0;
  }

  .mbtn::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--body-color);
  }

  .mbtn.on::before {
    display: none;
  }

  .mbtn::after {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--body-color);
  }

  .mbtn.on::after {
    display: none;
  }

  .mbtn span::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--body-color);
  }

  .mbtn.on span::before {
    transform: rotate(45deg);
  }

  .mbtn span::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 4px;
    right: 4px;

    height: 2px;
    background: var(--body-color);
  }

  .mbtn.on span::after {
    transform: rotate(-45deg);
  }

  .gnb {
    position: fixed;
    top: 0;
    left: -100vw;
    z-index: 999;

    width: 100vw;
    background: var(--white-color);

    background: rgba(0, 0, 0, 0.75);
  }

  .gnb.on {
    left: 0;
  }

  .gnb > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12rem 1.6rem 0 1.6rem;

    width: calc(100vw - 8rem);
    height: 200vh;
    background: var(--white-color);
  }

  .gnb > ul > li > a {
    line-height: 5.6rem;
    border-bottom: 1px solid var(--line-color);
  }

  .gnb > ul > li {
    position: relative;
  }

  .gnb > ul > li ul {
    position: static;
    top: 12rem;
    left: 50%;
    z-index: 3;

    transform: translate(0, 0);
    background: var(--white-color);
    border: 0 solid var(--lightgray-color);

    opacity: 1;
    visibility: visible;

    transition: none;

    display: none;
  }

  .gnb > ul > li:hover ul {
    transform: translate(0, 0);

    opacity: 1;
    visibility: visible;

    display: none;
  }

  .gnb > ul > li:focus-within ul {
    transform: translate(0, 0);

    opacity: 1;
    visibility: visible;

    display: none;
  }

  .gnb > ul > li ul li a {
    display: block;
    padding: 0 0 0 0.8rem;
    line-height: 4rem;
    white-space: nowrap;

    background: var(--lightgray-color);
  }

  .gnb > ul > li ul li ~ li a {
    border-top: 1px solid var(--line-color);
  }
}

.sub_title {
  position: relative;

  background-color: var(--primary-color);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /* border-left: 4px solid var(--point-color); */
  /* border-top: 4px solid var(--point-color); */
  text-transform: uppercase;

  color: var(--white-color);
  /* border-radius: 4rem 0 0 0; */
  overflow: hidden;

  min-height: 12rem;
}

.sub_title::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background: rgba(0, 0, 0, 0.8) url(../images/pt-bg01.png);
}

.sub_title .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 100%;
  text-align: right;
  margin-bottom: 0;
}

.sub_title .title h2 {
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.sub_title .title p {
  margin-top: 1.6rem;
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.75;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .sub_title .title {
    margin: 0 0;
    padding: 0 1.6rem;
  }

  .sub_title .title h2 {
    font-size: 4.8rem;
    font-weight: 800;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  }
}

.sub_nav {
  position: relative;
  margin-top: -4rem;
  margin-bottom: 8rem;

  background: var(--white-color);
  border: 1px solid var(--line-color);

  line-height: 6.4rem;
}

.sub_nav .inner {
  display: flex;
  justify-content: space-between;
}

.sub_nav .lnb ul {
  display: flex;
  justify-content: flex-end;
  gap: 0;
}

.sub_nav .lnb ul a {
  display: block;
  background: var(--white-color);

  white-space: nowrap;

  padding: 0 4rem;
}

.sub_nav .lnb ul li ~ li {
  border-left: 1px solid var(--line-color);
}

.sub_nav .lnb ul li.on a {
  border-top: 4px solid var(--point-color);
  margin-top: -4px;
}

.sub_nav .navigation {
  font-size: 1.4rem;
}

.sub_nav .lnb > a {
  display: none;
}

@media (max-width: 768px) {
  .sub_nav {
    position: relative;
    margin-top: -4rem;
    margin-bottom: 8rem;

    background: var(--white-color);
    border: 1px solid var(--line-color);

    border-top: 4px solid var(--primary-color);

    line-height: 6.4rem;
  }
  .sub_nav .inner {
    display: block;
    margin: 0 0;
  }

  .sub_nav .lnb ul {
    display: none;
  }

  .sub_nav .lnb > a {
    position: relative;
    display: block;
    padding: 0 1.6rem;

    font-size: 2.2rem;
  }

  .sub_nav .lnb > a::after {
    content: "";
    position: absolute;
    top: 50%;

    transform: translate(0, -50%);
    right: 1.6rem;
    width: 24px;
    height: 24px;

    background: url(../lib/icon/chevron-down.svg) no-repeat center center/22px;
    opacity: 0.5;
  }

  .sub_nav .lnb > a.on::after {
    background: url(../lib/icon/chevron-up.svg) no-repeat center center/22px;
  }

  .sub_nav .lnb ul li ~ li {
    border-left: 0px solid var(--line-color);
  }
  .sub_nav .lnb ul li {
    border-top: 1px solid var(--line-color);
  }

  .sub_nav .lnb ul a {
    display: block;
    /* background: var(--white-color); */
    background: var(--background-color);
    white-space: nowrap;

    padding: 0 0;
    padding: 0 1.6rem;
  }

  .sub_nav .lnb ul li.on a {
    border-top: 0px solid var(--point-color);
    margin-top: 0px;
  }

  .sub_nav .navigation {
    display: none;
  }
}

.sub_content {
  margin-top: 8rem;
  margin-bottom: 12rem;
}

.sub_content .page_title {
  margin-bottom: 2.4rem;
}

.sub_content .page_title h3 {
  position: relative;
  padding: 1.6rem 0;
  /* border-bottom: 1px solid var(--line-color); */
  white-space: nowrap;
}

.sub_content .page_title h3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;

  width: 12rem;
  height: 1px;

  background: var(--primary-color);
}

.sub_content .page_title h3 strong {
  font-size: 4rem;
  font-weight: 700;
}

@media (max-width: 1440px) {
}

.sub_content .content p {
  font-size: 1.7rem;
  line-height: 2.4rem;
  opacity: 0.9;
}

.sub_content .content .sub_title_desc {
  line-height: 1.5;
  margin-bottom: 5.6rem;
}

#footer {
  padding: 8rem 0 5.6rem 0;
  background: var(--footerbg-color);
  color: var(--lightgray-color);
  /* border-top: 1px solid var(--line-color); */

  font-size: 1.5rem;
  line-height: 2.4rem;
}

#footer .inner {
  display: flex;
  flex-direction: column;
  /* justify-content: center;
  align-items: center; */
  gap: 8px;
}

#footer .info {
  display: flex;
  gap: 2.4rem;
}

#footer .info li {
  position: relative;
  /* text-align: center; */
  white-space: nowrap;
}

#footer .info li ~ li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px;

  transform: translate(0, -50%);

  width: 1px;
  height: 0.5em;

  background: #ccc;
}

@media (max-width: 768px) {
  #footer .info {
    flex-direction: column;
    gap: 0;
  }

  #footer .info li ~ li::before {
    display: none;
  }
}

.to_top {
  position: fixed;
  left: 50%;
  bottom: 18rem;
  z-index: 998;

  transform: translate(-50%, 0);

  max-width: calc(1610px + 160px);
  width: 100%;

  opacity: 0;
  visibility: hidden;

  transition: 0.5s;
}

.to_top button {
  position: absolute;
  right: 0;
  width: 4rem;
  height: 4rem;

  background: var(--point-color);

  /* border-radius: 50%; */
}

.to_top button svg {
  margin-top: 2px;
}

.to_top.on {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .to_top {
    position: fixed;
    left: auto;
    right: -1.6rem;
    bottom: 14rem;

    width: auto;
  }

  .to_top.on {
    right: 1.6rem;
  }
}
