#wrap.fixed {
  position: fixed;
}

#header {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 101;
  width: 100%;
}
#header .inner {
  width: 100%;
  max-width: 124rem;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 12rem;
}
#header .logo a {
  width: 12.2rem;
  height: 3.877rem;
  background: url(../images/common/logo.png) no-repeat center center/contain;
  display: block;
  text-indent: -99999px;
}
#header .nav {
  margin-left: 5rem;
}
#header .nav .gnb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}
#header .nav .gnb > li {
  margin-right: 3rem;
}
#header .nav .gnb > li:last-child {
  margin-right: 0;
}
#header .nav .gnb > li > a {
  display: block;
  color: #1A1A1A;
  font-weight: 800;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0 0.5rem;
}
#header .nav .gnb > li > a span {
  position: absolute;
  bottom: 0;
  right: 100%;
  display: block;
  width: 100%;
  height: 0.3rem;
  border-radius: 0.5rem;
  background-color: #DD1A1E;
  max-width: 0;
}
#header .nav .gnb > li > a:focus, #header .nav .gnb > li > a:hover, #header .nav .gnb > li > a.active {
  color: #DD1A1E;
  transition: 0.35s ease;
}
#header .nav .gnb > li > a:focus span, #header .nav .gnb > li > a:hover span, #header .nav .gnb > li > a.active span {
  animation: nav-hover-ani 0.6s ease forwards;
}
#header .menu {
  display: none;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 6rem;
  background-color: #FCFCFC;
  border-radius: 50%;
}
#header .menu div {
  position: relative;
  width: 3rem;
  height: 2rem;
}
#header .menu div span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  right: 0;
  background-color: #000;
  border-radius: 1rem;
  height: 0.3rem;
}
#header .menu div span:nth-of-type(1) {
  width: 3rem;
  top: 0;
}
#header .menu div span:nth-of-type(2) {
  width: 2.4rem;
  top: 1rem;
}
#header .menu div span:nth-of-type(3) {
  width: 3rem;
  top: 2rem;
}
#header .m_nav {
  display: none;
  position: fixed;
  left: 100%;
  top: 7.1rem;
  transition: 0.65s all;
  z-index: 10000;
  background-color: #fff;
  width: 100%;
  height: calc(100vh - 7.1rem);
  align-items: center;
  justify-content: center;
  background: url(../images/common/nav.png) #fff no-repeat 110% center/contain;
}
#header .m_nav ul {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-height: 50vh;
  border-top: 1px solid #DDDDDD;
}
#header .m_nav ul li {
  height: 25%;
  border-bottom: 1px solid #DDDDDD;
  width: 100%;
}
#header .m_nav ul li a {
  padding: 3rem 0;
  font-size: 2.6rem;
  font-weight: bold;
  position: relative;
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}
#header .m_nav ul li a.active {
  color: #DD1A1E;
}
#header.active .menu span:nth-of-type(1) {
  transform: translateY(1rem) rotate(-45deg);
  width: 4rem;
}
#header.active .menu span:nth-of-type(2) {
  opacity: 0;
}
#header.active .menu span:nth-of-type(3) {
  transform: translateY(-1rem) rotate(45deg);
  width: 4rem;
}
#header.active .m_nav {
  left: 0;
}

#main section .inner {
  width: 100%;
  max-width: 124rem;
  padding: 0 2rem;
  margin: 0 auto;
}

#footer {
  width: 100%;
  background-color: #373737;
  position: relative;
}
#footer .inner {
  width: 100%;
  max-width: 124rem;
  padding: 0 2rem;
  margin: 0 auto;
  padding: 5.5rem 2rem;
}
#footer .inner a:hover {
  text-decoration: underline;
}
#footer .inner .foot_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px dashed #707070;
}
#footer .inner .foot_top .comt {
  display: block;
  color: #fff;
  font-weight: 900;
  font-size: 3rem;
}
#footer .inner .foot_top .link {
  padding: 4.5rem 0;
  max-width: calc(100% - 31rem);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
#footer .inner .foot_top .link > li {
  margin-left: 10rem;
}
#footer .inner .foot_top .link > li:first-child {
  margin-left: 1rem;
}
#footer .inner .foot_top .link > li > a {
  color: #fff;
  font-weight: 800;
  display: block;
  margin-bottom: 1.5rem;
}
#footer .inner .foot_top .link > li > ul li a {
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  display: block;
}
#footer .inner .foot_bot {
  padding-top: 4.5rem;
}
#footer .inner .foot_bot .logo {
  width: 12.2rem;
  height: 3.877rem;
  background: url(../images/common/logo_w.png) no-repeat center center/contain;
  display: block;
  text-indent: -99999px;
  margin-bottom: 2rem;
}
#footer .inner .foot_bot .contact {
  display: flex;
  flex-flow: row wrap;
}
#footer .inner .foot_bot .contact dl {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
#footer .inner .foot_bot .contact dl dt {
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  margin-right: 1rem;
}
#footer .inner .foot_bot .contact dl dd {
  color: #fff;
  font-weight: bold;
  margin-right: 4rem;
}
#footer .inner .foot_bot .contact dl dd a {
  display: flex;
  align-items: center;
}
#footer .inner .foot_bot .contact dl dd a .ci_link {
  background-image: url(../images/common/link_w.png);
  margin-left: 0.5rem;
}
#footer .inner .foot_bot .copy {
  color: rgba(255, 255, 255, 0.5);
  display: block;
}

#scroll-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  background-color: #000;
  border-radius: 50%;
  position: fixed;
  right: 8rem;
  bottom: 6rem;
  z-index: 100;
  opacity: 0;
  transition: 0.5s all;
}
#scroll-top.on {
  opacity: 1;
}
#scroll-top.none {
  display: none;
}
#scroll-top.disable {
  position: absolute;
  top: -4rem;
}
#scroll-top:hover {
  background-color: #DD1A1E;
  transition: 0.55s all;
  animation: squish 2s ease-in forwards;
}

@keyframes nav-hover-ani {
  0% {
    max-width: 0;
  }
  35% {
    max-width: 100%;
  }
  75% {
    max-width: 100%;
    width: 1.4rem;
    right: 2px;
  }
  100% {
    max-width: 100%;
    width: 1.4rem;
    right: 4px;
  }
}
@keyframes squish {
  5% {
    transform: scale(1.2, 0.9);
  }
  10% {
    transform: scale(0.9, 1.2) translate(0, -4px);
  }
  15% {
    transform: scale(1);
  }
}
@media (max-width: 1440px) {
  #scroll-top {
    right: 6rem;
  }
}
@media (max-width: 1200px) {
  #footer .inner .foot_top .link {
    max-width: 100%;
  }
  #footer .inner .foot_top .link > li {
    margin-left: 5rem;
  }
  #footer .inner .foot_top .link > li:first-child {
    margin-left: 0;
  }
  #scroll-top {
    right: 5rem;
  }
}
@media (max-width: 768px) {
  #footer .inner .foot_top {
    flex-flow: column;
  }
  #footer .inner .foot_top .link > li {
    margin-left: 3rem;
  }
  #scroll-top {
    right: 3rem;
    bottom: 4rem;
    width: 6rem;
    height: 6rem;
  }
  #scroll-top.disable {
    top: -3rem;
  }
  #header {
    border-bottom: 1px solid #DDDDDD;
    position: fixed;
    background-color: #fff;
  }
  #header .inner {
    justify-content: space-between;
    height: 7rem;
  }
  #header .menu {
    display: flex;
  }
  #header .nav {
    display: none;
  }
  #header .logo a {
    width: 11.5rem;
  }
  #header .m_nav {
    display: flex;
  }
}
@media (max-width: 450px) {
  #scroll-top {
    right: 2rem;
    bottom: 3rem;
    width: 5rem;
    height: 5rem;
  }
  #scroll-top.disable {
    top: -2rem;
  }
  #footer .inner {
    padding: 4rem 2rem;
  }
  #footer .inner .foot_top .link {
    padding: 3rem 0;
  }
  #footer .inner .foot_top .link > li {
    margin-left: 1.5rem;
  }
  #footer .inner .foot_top .comt {
    font-size: 2.4rem;
  }
  #footer .inner .foot_bot {
    padding-top: 3rem;
  }
}