/*reset.css*/
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  margin: 0;
}

body,
html,
input,
textarea,
select,
button,
table {
  font-family: 'noto', sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.5px;
}

form,
fieldset,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  word-break: keep-all;
}

form,
fieldset,
button {
  border: none;
}

ol,
ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
  word-break: keep-all;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a,
a:hover {
  text-decoration: none;
}

.d-lg-none {
  display: none;
}

.d-lg-block {
  display: block;
}

/*header*/
header {
  position: fixed;
  z-index: 99999999;
  top: 0;
  left: 0;
  width: 100%;
  transition: all .5s;
  background-color: #fff;
}

header,
header * {
  box-sizing: border-box;
}

.hd_con {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: relative;
}


.lg>a {
  display: block;
  font-size: 20px;
  line-height: 1em;
  white-space: nowrap;
}

.lg>a>img {
  display: block;
  width: 310px;
  transition: .5s;
}

.mn {
  display: flex;
  align-items: center;
}

.hd-wrap {
  display: flex;
  align-items: center;
}

/*gnb*/
.hd_bt {
  position: relative;
  z-index: 5;
}

#gnb {
  position: relative;
  z-index: 5;
}

#gnb:after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 100%;
  left: -5000px;
  right: -5000px;
  height: 0;
  background-color: #fff;
  transition: 0.4s height;
}

#gnb.on {
  border-bottom: 1px solid #ddd;
}

#gnb.on:after {
  height: 324px;
  border-top: 1px solid #ddd;
}

#gnb>ul {
  display: flex;
  flex-flow: row wrap;
  padding-left: 0;
  margin-bottom: 0;
}

#gnb>ul>li {
  position: relative;
  z-index: 1;
}

#gnb>ul>li>a {
  display: block;
  padding: 27px 50px;
  font-size: 18px;
  font-weight: 500;
  transition: all .5s;
  color: #000;
  position: relative;
}

#gnb>ul>li>ul {
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  width: 100%;
  min-width: 200px;
  box-sizing: border-box;
  background-color: #fff;
  padding: 25px 15px 25px;
  text-align: center;
  box-shadow: 0 12px 30px -2px rgba(0, 0, 0, .1);
}

#gnb>ul>li>ul>li {
  position: relative;
  z-index: 1;
  text-align: center;
}

#gnb>ul>li>ul>li>a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  white-space: nowrap;
  position: relative;
  color: #666;
}

#gnb>ul>li>ul>li>a::before {
  content: "";
  transition: .3s;
  width: 0;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
}

#gnb>ul>li>ul>li:hover>a::before {
  width: 100%;
}

#gnb>ul>li>ul>li>ul {
  position: absolute;
  z-index: 1;
  top: -10px;
  left: calc(100% + 15px);
  padding: 10px 0;
  display: none;
  min-width: 150px;
  box-shadow: 0 12px 30px -2px rgba(0, 0, 0, .1);
  background-color: #fafafa;
}

#gnb>ul>li>ul>li>ul>li>a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
}


.number {
  padding: 0 1rem;
  height: 80px;
  line-height: 80px;
  background-color: #164c5e;
}

.number>p {
  font-size: 18px;
  color: #fff;
}

/* .scr */
header.scr {
  background-color: #fff;
  border-bottom: none;
}

header.scr .hd_bt {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

/* on  */
header.on {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

header.on #gnb>ul>li>a {
  color: #1d1d1d;
}

header.on #gnb>ul>li::after {
  background-color: #1d1d1d;
}

/* menu */
.menu-toggler {
  position: relative;
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 99999;
  transition: all 500ms ease-out;
}

.menu-toggler.open {
  transform: rotate(-45deg);
}

nav.fullscreenNav.open .menu-toggler {
  position: absolute;
  right: 3rem;
  top: 2rem;
}

nav.fullscreenNav.open .menu-toggler {
  transform: rotate(-45deg);
}

.bar {
  background-color: #000;
  width: 100%;
  height: 2px;
  border-radius: 0.8rem;
  transition: background .5s ease;
}

.bar.half {
  width: 50%;
}

.bar.top {
  transform-origin: right;
  transition: transform 500ms cubic-bezier(0.54, -0.81, 0.57, 0.57), background .5s ease;
}

.open .bar.top {
  transform: rotate(-90deg) translateX(0.4rem);
}

.bar.bottom {
  align-self: flex-end;
  transform-origin: left;
  transition: transform 500ms cubic-bezier(0.54, -0.81, 0.57, 0.57), background .5s ease;
}

.open .bar.bottom {
  transform: rotate(-90deg) translateX(-0.4rem)
}

.open .bar {
  background-color: #fff;
}

header.on .bar {
  background-color: #1d1d1d;
}

/* mt-menu */
.mt-menu {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: -101%;
  left: 0;
  z-index: 99998;
  transition: .8s ease-in-out;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mt-menu.mt-open {
  top: 0;
}

.wmenu-mo {
  padding-left: 2rem;
  display: flex;
  align-items: center;
}

.wmenu-mo>h3 {
  font-size: 20px;
  color: #000;
  margin-left: 15px;
  font-weight: 400;
}

.mt-logo {
  margin-bottom: 3rem;
  text-align: center;
}

.mt-logo img {
  display: inline-block;
  width: 400px;
}

.mt-menu>ul {
  width: 100%;
  max-width: 1230px;
  display: flex;
  justify-content: center;
}

.mt-menu>ul>li {
  flex: 1 0 auto;
  margin-right: 1.5rem;
}

.mt-menu>ul>li:last-child {
  margin-right: 0;
}

.mt-menu>ul>li>a {
  color: #fff;
  font-size: 19px;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  display: block;
  border-bottom: 1px solid #fff;
  transition: .4s;
}

.mt-menu>ul>li>ul>li {
  margin-bottom: 8px;
}

.mt-menu>ul>li>ul>li:last-child {
  margin-bottom: 0;
}

.mt-menu>ul>li>ul>li>a {
  color: #fff;
  font-size: 15px;
  transition: .4s;
}

@media(max-width:1199px) {
  .hd_con {
    padding: 0 15px;
  }

  .lg>a {
    padding: 15px 0;
  }

  .lg>a>img {
    max-width: 200px;
  }

  .mn {
    display: none;
  }

  .mo_btn {
    display: block;
  }

  .d-none {
    display: none;
  }

  .d-block {
    display: block;
  }

  .mo_btn {
    display: block;
  }

  .number {
    display: none;
  }
}


/*wrapper*/
.article_mover {
  position: absolute;
  z-index: -1;
  bottom: 100%;
}


/*footer*/
footer {
  padding: 50px 0 130px;
  background-color: #171717;
}

.ft_con {
  width: 100%;
  max-width: 1430px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
}

.ft-lg {
  width: 300px;
}

.ft_pt:last-child {
  text-align: right;
  padding-left: 3rem;
}

.ft_txt>p {
  font-size: 15px;
  color: #666;
  font-weight: 400;
  word-break: keep-all;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.ft_cp {
  font-size: 13px;
  color: #666;
  font-weight: 400;
}

#fnb>ul {
  overflow: hidden;
  text-align: right;
  margin-bottom: 1.5rem;
}

#fnb>ul>li {
  display: inline-block;
  margin-left: 20px;
  padding: 2px;
}

#fnb>ul>li>a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #999;
  transition: .2s;
}

#fnb>ul>li>a:hover {
  color: #fff;
}

/* mediaquery */

@media(min-width:1200px) {
  .d-lg-none {
    display: none;
  }

  .d-lg-block {
    display: block;
  }

  .d-lg-flex {
    display: flex;
  }

  .fixed-wrap {
    display: none;
  }

  /* quickmenu */
  .quickmenu {
    position: fixed;
    left: 50%;
    bottom: 3rem;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1230px;
    padding: 0 15px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    transition: .4s;
  }

  .quickmenu>a {
    display: block;
    padding: 1.5rem 15px;
    border-radius: 10px;
    width: 32.8%;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    position: relative;
    color: #fff;
    backdrop-filter: blur(5px);
    transition: .3s;
  }

  .quickmenu>a:hover {
    border-radius: 0;
    color: #fff;
  }

  .quickmenu>a>span {
    display: inline-block;
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    line-height: 1;
  }

  .quickmenu>a:nth-child(1) {
    background-color: rgba(120, 22, 27, 0.9);
  }

  .quickmenu>a:nth-child(2) {
    background-color: rgba(62, 176, 68, 0.9);
  }

  .quickmenu>a:nth-child(3) {
    background-color: rgba(45, 175, 226, 0.9);
  }

  .quickmenu.scr {
    bottom: 1rem;
  }
}

@media(max-width:1777px) {
  #gnb>ul {
    flex-wrap: nowrap;
    max-width: 991px;
    overflow-x: auto;
  }

  #gnb>ul>li {
    flex: 1 0 auto;
  }
}

@media(max-width:1499px) {
  .lg>a>img {
    width: 250px;
  }

  #gnb>ul {
    max-width: 600px;
  }

  #gnb>ul>li>a {
    padding: 27px 20px;
  }
}

@media(max-width:1199px) {
  .d-none {
    display: none !important;
  }

  .d-block {
    display: block;
  }

  .wmenu-mo>h3 {
    display: none;
  }

  .quickmenu {
    display: none;
  }

  .open .bar {
    background-color: #000 !important;
  }

  /* mt-menu */
  .mt-menu {
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    top: 0;
    left: auto;
    right: -101%;
    background-color: #fff !important;
    z-index: 99998;
    transition: .8s ease-in-out;
    overflow-y: auto;
    padding: 0 0 2rem;
  }

  .mt-menu.mt-open {
    right: 0;
    top: 0;
    left: auto;
  }

  .mo_mn_mn {
    padding: 1rem 15px 2rem;
  }

  .mo_mn_mn>li>a {
    display: block;
    padding: 10px 0px;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid #f2f2f2;
  }

  .mo_mn_mn>li>ul {
    display: none;
    background-color: #fafafa;
    padding: 10px 0;
  }

  .mo_mn_mn>li>ul>li>a {
    display: block;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #818181;
  }

  .mo_mn_mn>li>a.more {
    position: relative;
  }

  .mo_mn_mn>li>a.more::after {
    content: "";
    width: 10px;
    height: 2px;
    background-color: #666;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }

  .mo_mn_mn>li>a.more::before {
    content: "";
    width: 2px;
    height: 10px;
    background-color: #666;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    transition: .3s;
  }

  .mo_mn_mn>li>a.more.act::before {
    opacity: 0;
  }

  .momn-img {
    display: flex;
  }

  .momn-img img {
    width: 100%;
  }

  .mnb-mark {
    display: flex;
    padding: 0 20px;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .mnb-mark img {
    max-width: 220px;
  }

  .mnb-btn {
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  .mnb-btn>a {
    display: block;
    width: 48%;
    font-size: 14px;
    color: #666;
    padding: 8px;
    text-align: center;
    border-radius: 3px;
    background-color: #ffc61b;
  }

  .mnb-wrap {
    display: flex;
    padding: 0 15px;
  }

  .mnb-wrap>a {
    display: block;
    width: 50%;
    text-align: center;
    color: #666;
    font-size: 12px;
    position: relative;
  }

  .mnb-wrap>a:first-child::after {
    content: "";
    width: 1px;
    height: 50px;
    background-color: #ddd;
    position: absolute;
    top: 11px;
    right: 0;
  }

  .mnb-wrap>a>h5 {
    font-size: 30px;
  }

  .fixed-wrap {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    background-color: #25498e;
    z-index: 88888;
  }

  .fixed-wrap>a {
    font-size: 16px;
    line-height: 60px;
    color: #fff;
    width: 33.3333%;
    text-align: center;
    position: relative;
  }

  .fixed-wrap>a:nth-child(1) {
    background-color: #78161B;
  }

  .fixed-wrap>a:nth-child(2) {
    background-color: #3EB044;
  }

  .fixed-wrap>a:nth-child(3) {
    background-color: #2DAFE2;
  }

  footer {
    padding: 40px 0 80px;
  }

  .ft_con {
    padding: 0 15px;
    flex-direction: column;
  }

  .ft-lg {
    max-width: 200px;
    margin: 0 auto 1.5rem;
  }

  .ft_pt:last-child {
    padding-left: 0;
  }

  #fnb>ul {
    text-align: center;
    margin-bottom: 1rem;
  }

  #fnb>ul>li {
    margin-left: 0;
    padding: 0 15px 10px 0;
  }

  #fnb>ul>li>a {
    font-size: 14px;
  }

  .ft_pt:last-child {
    text-align: center;
  }

  .ft_txt>p {
    font-size: 13px;
    line-height: 1.6;
  }

}