header {
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 10;
  background: #fff;
  transition: transform .3s ease;
}
header .mobile {
  display: none;
}
header .pc {
  display: block;
}
header .menu_btn {
  cursor: pointer;
  z-index: 1;
  position: absolute;
  padding: 12px 15px;
  width: 60px;
  box-sizing: border-box;
  height: 48px;
  right: 0;
}
header .menu_btn .menu_close {
  display: none;
}
header>.logo {
  position: absolute;
  left: 20px;
  top: 12px;
}
header .quick {
  background: #FFF;
  line-height: 30px;
  padding: 18px 0;
}
header .quick ul li {
  display: inline-block;
  padding: 0px 10px;
  line-height: 30px;
  vertical-align: top;
}
header .quick ul.link li:first-child {
  padding-left: 0px;
}
header .quick ul li a {
  vertical-align: top;
  display: flex;
  padding: 0px 10px;
  font-size: 14px;
  line-height: 30px;
  height: 30px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color .3s ease, background .3s ease;
  color: #1D1D1D;
}
header .quick ul li a>img {
  position: relative;
  height: 14px;
  padding-top: 8px;
}
header .quick ul li a:hover {
  color: #f65259;
}
header .quick ul.member li a span {
  position: relative;
  text-transform: capitalize;
  display: inline-block;
}
header .quick ul.member li a img+span {
  margin-left: 3px;
}
header .quick ul.member li {
  padding: 0;
}
header nav {
  min-height: 47px;
  position: relative;
}
header nav .logo {
  height: 100%;
}
header nav .logo a {
  display: block;
  box-sizing: border-box;
  padding-top: 7px;
  height: 47px;
}
header nav .flex {
  justify-content: flex-start;
}
header nav ul.depth1 {
  display: flex;
  font-size: 0;
  transition: padding .3s ease;
}
header nav ul li.has_sub.active ul.depth2::before,
header nav ul li.has_sub.show ul.depth2::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 100vw;
  height: 48px;
  background-color: #FFF;
}
header nav ul.depth1 li {
  padding-right: 40px;
  line-height: 48px;
}

header nav ul.depth1>li.active>a:after,
header nav ul.depth1>li.show>a:after {
  position: absolute;
  bottom: -1px;
  content: "";
  left: 0;
  height: 3px;
  width: 100%;
  background: #FFF;
  opacity: 1;
  transition: opacity .3s ease;
}
header nav ul.depth1>li:hover>a,
header nav ul.depth1>li.active>a {
  color: #FFF;
}
header nav ul.depth1 li a {
  display: block;
  font-size: 15px;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
}
header nav ul.depth2 li a {
  font-family: 'Apple SD Gothic Neo';
}
ul.depth1 li.has_sub.active .submenu_wrapper,
ul.depth1 li.has_sub.show .submenu_wrapper {
  display: block;
  height: 48px;
  background: #fff;
}
.submenu_wrapper {
  display: none;
  width: 100%;
  height: 0;
  position: absolute;
  top: 49px;
  left: 0;
}
header nav li ul.depth2 {
  display: none;
  position: absolute;
  left: 0;
  width: 100%;
}
header nav li.active ul.depth2,
header nav li.show ul.depth2 {
  display: flex;
  justify-content: center;
}
header nav ul.depth2 li a {
  font-size: 14px;
  font-weight: 300;
  transition: color .3s ease;
  color: #000;
}
header nav ul.depth2 li.current a,
header nav ul.depth2 li:hover a {
  color: #F65259;
  font-weight: bold;
}
header nav ul.depth1 li:nth-of-type(2) ul.depth2 li:first-child {
  margin-left: -540px;
}
header nav ul.depth1 li:nth-of-type(4) ul.depth2 li:first-child {
  margin-left: -280px;
}
header nav ul.depth1 li:nth-of-type(5) ul.depth2 li:first-child {
  margin-left: -300px;
}
header nav ul.depth1 li:nth-of-type(6) ul.depth2 li:first-child {
  margin-left: 300px;
}
header nav ul.depth1 li:nth-of-type(7) ul.depth2 li:first-child {
  margin-left: 570px;
}
.home header+.dummy {
  height: 115px;
}
header+.dummy {
  height: 169px;
  background-color: #f4f5f9;
}
header.quick_hide {
  transform: translateY(-32px);
}
header.quick_hide .quick {
  padding: 0;
}
header.quick_hide .logo.pc {
  visibility: hidden;
}
.main-nav {
  background: linear-gradient(#EF3B29 48px, #FFF 48px); 
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
}

footer {
  background: #191742;
}
footer ul li a {
  color: #fff;
}
footer ul.depth1 {
  padding-top: 75px;
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer ul.depth1>li {}
footer ul.depth1>li>a {
  font-size: 16px;
  font-weight: 600;
  display: block;
  padding-bottom: 15px;
}
footer ul.depth2>li>a {
  font-size: 15px;
  font-weight: 300;
  line-height: 30px;
  opacity: 0.6;
}
footer ul.depth2>li>a:hover {
  opacity: 1;
}
footer .sns {
  padding-top: 60px;
  display: flex;
  justify-content: end;
}
footer .sns>span {
  margin-right: 30px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0px;
  color: #FFFFFF;
  min-width: 50px;
}
footer .sns ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}
footer .sns ul li a {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .info {
  padding-top: 60px;
  padding-bottom: 75px;
}
footer .info>div {
  margin-bottom: 10px;
}
footer .info a,
footer .info span {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0px;
  color: #FFFFFF;
}
footer .info div>p {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0px;
  color: #FFFFFF;
}
footer .info>p {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0px;
  color: #FFFFFF;
}

/* add */
.totalmenu { display: none; }
.footer-hr { margin: 50px 0; opacity: 0.3; }
.footer-copyright { display: flex; padding-bottom: 50px; }
.footer-copyright li { flex: 1 1 auto; }
.footer-logo { padding: 25px 0; }
.footer-info { color: #FFF; }
.footer-info p { color: #FFF; opacity: 0.5; font-size: 14px; font-weight: 300; line-height: 1.3; margin-bottom: 0.25rem; }

@media screen and (max-width:900px) {
  .home header+.dummy {
    height: 96px;
  }
  header+.dummy {
    height: 144px;
  }
  header {
    transition: all .3s ease;
    height: 48px;
    position: fixed;
  }
  header.quick_hide {
    transform: inherit;
  }
  html.mobile_menu_active header {
    height: 100vh;
  }
  html.mobile_menu_active,
  html.mobile_menu_active body {
    overflow: hidden;
  }
  html.mobile_menu_active header .menu_btn .menu_icon {
    display: none;
  }
  html.mobile_menu_active header .menu_btn .menu_close {
    display: block;
  }
  header .mobile {
    display: block !important;
  }
  header nav:after,
  header .pc {
    display: none !important;
  }
  header:after {
    position: absolute;
    content: "";
    background: linear-gradient(151deg, #FF3C00 45%, #FFA506 97%);
    left: 0;
    top: 48px;
    display: none;
    width: 100vw;
    height: calc(100vh - 48px);
    z-index: 8;
  }
  html.mobile_menu_active header:after {
    display: block;
  }
  header nav {
    min-height: 48px;
  }
  header .menu_btn {
    height: 48px;
    z-index: 999;
  }
  .main-nav {
    background: linear-gradient(#EF3B29 48px, #FFF 48px);
  }
  header .totalmenu {
    display: none;
  }
  .mobile_menu_active header .totalmenu {
    display: block;
    position: fixed;
    overflow-y: auto;
    top: 0;
    height: 100vh;
    z-index: 9;
    background-color: #FFF;
  }
  header .wrap_outside {
    width: 100vw;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  header .wrap_outside>* {
    width: 100%;
  }
  header nav ul.depth1 li {
    padding-right: 30px;
  }
  header .quick {
    padding: 8px 0;
    height: 30px;
    overflow: hidden;
    visibility: hidden;
  }
  header.quick_hide .quick,
  header.quick_hide .menu_btn,
  header.quick_hide .logo {
    display: none !important;
  }
  header .inner {
    padding: 0 0 0 20px;
  }
  .mobile-login {
    padding: 16px 0 24px 20px;
  }
  .mobile-login::after {
    position: absolute;
    left: 0;
    top: 54px;
    content: "";
    width: 100%;
    height: 1px;
    background-color: #E8ECF5;
  }
  header .inner ul.link li {
    width: 50%;
    float: left;
    padding: 8px 0;
  }

  footer .inner {
    padding: 0px 20px;
  }
  footer ul.depth1>li {
    padding-left: 8vw;
    box-sizing: border-box;
    width: calc(100% / 3);
  }
  footer ul.depth1>li:nth-of-type(n+4) {
    padding-top: 40px;
  }

  header .quick ul.member li a img+span {
    margin-left: 0px;
  }

  /* add */
  header nav .wrap { display: block; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
  header nav ul.depth1 { width: max-content; overflow-x: auto; }
  header nav li ul.depth2 { position: relative; width: max-content; padding-left: 20px; }
  .submenu_wrapper { position: absolute; width: 100%; left: 0; overflow-x: scroll; }
  header nav ul li.has_sub.active ul.depth2::before, header nav ul.depth1.menuover li.has_sub ul.depth2::before { left: 0; transform: none; }
  header nav ul.depth1 li:nth-of-type(2) ul.depth2 li:first-child { margin-left: 0; }
  header nav ul.depth1 li:nth-of-type(4) ul.depth2 li:first-child { margin-left: 0; }
  header nav ul.depth1 li:nth-of-type(5) ul.depth2 li:first-child { margin-left: 0; }
  header nav ul.depth1 li:nth-of-type(6) ul.depth2 li:first-child { margin-left: 0; }
  header nav ul.depth1 li:nth-of-type(7) ul.depth2 li:first-child { margin-left: 0; }
  .footer-copyright { flex-direction: column; }
  .footer-hr { display: none; }
  .footer-logo { width: 80px; }
  footer .sns { justify-content: start; }
  .accordion-menu details summary { position: relative; display: flex; justify-content: space-between; position: relative; list-style: none; padding: 0 20px; margin: 1rem 0; }
  .accordion-menu details summary::after { position: absolute; top: 0rem; right: 1.5rem; content: ""; display: block; width: 24px; height: 24px; background-position: right center; background-repeat: no-repeat; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><polyline fill='none' stroke-width='2' stroke='rgba(0, 0, 0, 1)' points='6 12 17 23 30 11'/></svg>"); }
  .accordion-menu details summary::-webkit-details-marker { display:none; }
  .accordion-menu details[open] summary { color: #EF3B29; font-weight: bold; }
  .accordion-menu details[open] summary::after { rotate: 180deg; }
  details[open] .accordion-dropdown { background-color: #F6F7FA; border-top: 1px solid #eee; animation: slipdown .3s; }
  .accordion-dropdown ul { display: inline-table; padding: 0.5rem 0; }
  .accordion-dropdown ul li { float: left; width: 50%; font-size: 14px; padding: 10px 24px; box-sizing: border-box; }
  .accordion-dropdown ul li:hover, .accordion-dropdown ul li.active { font-weight: bold; }
  .mobile-linkmenu ul { display: inline-table; border-top: 1px solid #DAE0ED; }
  .mobile-linkmenu ul li { float: left; width: 50%; padding: 10px 24px; box-sizing: border-box; }
  .mobile-linkmenu ul li a { font-size: 14px; color: #8790A3; }
  .mobile-linkmenu ul li .linkicon { display: inline-block; height: 24px; vertical-align: middle; }
}
@media screen and (max-width:500px) {
  footer .sns {
    padding-top: 30px;
  }
  footer ul.depth1 {
    display: none;
  }
  footer ul.depth1>li {
    width: 50%;
  }
  footer ul.depth1>li:nth-of-type(n+3) {
    padding-top: 40px;
  }
}

