@charset "utf-8";

/* SITE TEMPLATE
 * Header 
 * Footer
 * Mobile Nav
 * Page Head
 */

#page {
  overflow: hidden;
}

html.nav-open, body.nav-open {
  overflow: hidden;
}

/* Header
--------------------------------------------- */
.site-header {
  transition: transform 0.2s ease;
}

.site-header.scroll-fix {
  transform: translate(0, -46px);
  border-bottom: 1px solid var(--gray200);
}

/*** Top bar ***/
.header-top {
  border-bottom: 1px solid var(--gray200);
}

.header-top-nav {
  display: flex;
  max-width: 1200px;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  margin: 0 auto;
}

.header-top-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-top-link a {
  display: flex;
  align-items: center;
  color: #555;
  font-size: 13px;
  gap: 3px;
}

.header-top-link a i {
  display: block;
  width: 24px;
  height: 24px;
  background: url('../images/front/top-ico-shop.png') 0 no-repeat;
  background-size: 24px;
}

.header-top-link a:nth-of-type(2) i {
  background-image: url('../images/front/top-ico-intagram.png');
}

.header-top-link a:nth-of-type(3) i {
  background-image: url('../images/front/top-ico-tistory.png');
}

.header-top-link a:nth-of-type(4) i {
  background-image: url('../images/front/top-ico-youtube.png');
}

.site-header-mobile, .mobile-screen {
  display: none;
}

.header-lang-code {
  display: flex;
  align-items: center;
}

.header-lang-code a {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.header-lang-code a:first-of-type::after {
  display: block;
  width: 1px;
  height: 10px;
  background-color: #b8bdc8;
  margin: 0 10px;
  content: "";
}

.header-lang-code a.active {
  color: var(--primary);
}

/*** Nav ***/
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 140px;
  background-color: #FFF;
  z-index: 100;
}

.header-masthead {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  height: 95px;
  margin: 0 auto;
  align-items: center;
}

h1.site-logo {
  height: 100%;
  display: flex;
  align-items: center;
}

h1.site-logo a {
  display: block;
  width: 156px;
  height: 52px;
}

h1.site-logo a img {
  width: 100%;
  height: 100%;
}

nav.site-nav {
  display: flex;
  z-index: 10;
}

.nav-gnb {
  display: flex;
}

ul.nav-gnb > li {
  position: relative;
  display: flex;
  margin: 0px 14px;
  align-items: center;
}

ul.nav-gnb > li:last-child {
  margin-right: 0;
}

ul.nav-gnb > li:last-child a {
  width: 24px;
  height: 24px;
  padding: 0;
  background: url('../images/front/top-ico-search.svg') 0;
}

ul.nav-gnb > li > a {
  position: relative;
  display: block;
  color: var(--dark);
  font-size: 20px;
  font-weight: 600;
  padding: 16px;
  white-space: nowrap;
  transition: color .15s ease;
}


ul.nav-gnb > li.menu-item-has-children > a::after {
  display: none;
  position: absolute;
  top: 50%;
  right: -8px;
  width: 16px;
  height: 16px;
  background: url('../images/arrow-nav-down.svg') 50%;
  content: "";
  transform: translateY(-40%);
}

ul.nav-gnb > li:hover > a,
ul.nav-gnb > li.current-menu-parent > a  {
  color: var(--primary);
}

ul.nav-gnb > li.current-menu-parent > a::after,
ul.nav-gnb > li.menu-item-has-children:hover > a::after {
  background-image: url('../images/arrow-nav-down_hover.svg');
}

ul.nav-gnb > li > .sub-menu {
  position: absolute;
  background-color: #FFF;
  padding: 12px;
  margin: 0;
  border-radius: 16px;
  top: calc(100% - 0px);
  right: 50%;
  width: auto;
  min-width: 150px;
  height: auto;
  transform: translateX(50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.06);
  z-index: 1;
}

ul.nav-gnb > li:hover > .sub-menu,
ul.nav-gnb > li:focus > .sub-menu {
  visibility: visible;
  opacity: 1;
}

ul.nav-gnb > li > ul.sub-menu > li {
  margin: 0;
}

ul.nav-gnb > li > ul.sub-menu > li > a {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 12px 6px;
  transition: color 0.15s;
  white-space: nowrap;
}

ul.nav-gnb > li > ul.sub-menu > li > a:hover {
  color: var(--gray500);
}

/*** Search Top ***/
.top-search {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
  width: 100%;
  height: 140px;
  opacity: 0;
  transform: translateY(-150px);
  background-color: #FFF;
  /* backdrop-filter: blur(8px); */
  box-shadow: 0px 15px 15px 0 rgb(0 0 0 / 8%);
  z-index: 1000;
}

.top-search.active {
  opacity: 1;
  transform: translateY(0);
  transition: transform .15s ease, opacity .1s ease-in-out;
}

.top-search form.search-form {
  width: 50%;
  max-width: 500px;
}

.top-search input.search-field {
  width: 100%;
  padding: 16px 35px 16px 20px;
  background-color: var(--gray100);
  font-size: 16px;
  border: 0;
  border-radius: 12px;
}

.top-search .search-submit {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 32px;
  height: 32px;
  font-size: 0;
  border: 0;
  transform: translateY(-50%);
  background: url(
  'https://etctrip.cdn3.cafe24.com/images/theme/ico-search-dark.png') 50%;
  z-index: 1;
  cursor: pointer;
}

.btn-close-search {
  position: absolute;
  top: calc(140px + 16px);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border:  none;
  box-shadow: 0px 10px 15px 2px rgb(0 0 0 / 10%);
  background: #FFF url('../images/front/ico-close-dark.png') 50%;
}

/* Footer
--------------------------------------------- */
.site-footer {
  background: var(--dark);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.footer-servie {
  display: flex;
  margin-bottom: 40px;
}

.footer-servie a {
  color: #DDD;
  font-size: 15px;
}

.footer-servie a:hover {
  text-decoration: underline;
}

.footer-servie a:not(:last-of-type):after {
  display: inline-block;
  width: 1px;
  height: 60%;
  margin: 0 12px;
  background-color: #666;
  content:"";
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.footer-address p {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer-address p, .footer-address p span {
  color: #DDD;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-address p a:hover {
  text-decoration: underline;
}

.footer-copyright {
  color: #BBB;
  font-size: 12px;
  letter-spacing: 0.05em;
}

#page-up {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 62px;
  height: 62px;
  background: #F2F2F2 url(../images/ico-arrow-top.svg) 50%;
  z-index: 100;
  cursor: pointer;
  border-radius: 20px;
  /* box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
}

/*** Page Head ***/
.page-hero {
  width: 100%;
  height: calc(var(--page_hero_height) + var(--header_height));
  padding-top: var(--header_height);
  background: #FBF4EC url(../images/front/main-p-3d.png) 90% 0;
}

main.result-main .page-hero {
  background-image: none;
}

main.result-main .page-hero-inner {
  justify-content: center;
}

.page-hero-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
}

.page-hero-inner h2 {
  color: var(--dark);
  font-size: 32px;
  font-weight: 700;
}

/* RWD
--------------------------------------------- */
@media screen and (max-width:1536px) {
  .header-top, .header-masthead, .container, .site-footer {
    padding: 0 16px;
  }

  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
    background-position-x: 115%;
  }
}


@media screen and (max-width:1280px) {
  /* Page */
  .page-hero-inner h2 {
    left: 16px;
  }
}

@media screen and (max-width:1024px) {
  /* page */
  * {
    --page_hero_height: 100px;
  }

  .page-hero {
    height: calc(var(--page_hero_height) + var(--mob_header_height));
    padding-top: var(--mob_header_height);
    background-size: 300px;
    background-position-x: 110%;
  }

  .page-hero-inner h2 {
    font-size: 20px;
  }

  /** Footer **/
  .footer-content {
    padding: 40px 0;
  }

  .footer-address, .footer-address p {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 800px) {
  /* */
}

@media screen and (max-width: 640px) {
  /** Footer **/
  .footer-servie {
   margin-bottom: 24px;
  }

  .footer-servie a {
    font-size: 13px;
  }

  .footer-servie a:not(:last-of-type):after {
    margin: 0 8px;
  }

  .footer-address {
    margin-bottom: 24px;
  }

  .footer-address p, .footer-address p span {
    font-size: 12px;
  }

  .footer-address {
    gap: 6px;
  }

  .footer-address p {
    gap: 6px 12px;
  }

  .footer-copyright {
    margin-top: 0;
    font-size: 10px;
  }

}

@media screen and (max-width: 480px) {
  /* page */
  .page-hero {
    background-size: 220px;
    background-position: calc(100% + 60px) -40%;
  }
}

/* Mobile_Navigation
 * Break_Point
 */
@media screen and (max-width:1024px) {
  
  .top-search {
    height: 80px;
  }

  .btn-close-search {
    top: calc(80px + 16px);
    width: 32px;
    height: 32px;
    background-size: 24px;
  }

  .top-search form.search-form {
    width: calc(100% - 24px);
    max-width: inherit;
  }

  .top-search input.search-field {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header, .mega-screen {
    display: none;
  }

  #page-up {
    display: none !important;
  }

  .site-header-mobile {
    display: block;
    z-index: 100;
  }

  html.nav-open .mobile-header h1.mobile-logo {
    display: none;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--mob_header_height);
    background-color: #FFF;
    z-index: 100;
  }

  .site-header-mobile.fix .mobile-header {
    border-bottom-color: #E0E0E0;
    background-color: #FFF;
    box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
  }

  .nav-open .site-header-mobile.fix .mobile-header {
    background-color: transparent;
    box-shadow: none;
  }

  .nav-open .mobile-header {
    border-bottom-width: 0;
  }

  .mobile-header h1.mobile-logo {
    padding-left: 16px;
  }

  .mobile-header h1.mobile-logo a {
    display: block;
    width: 100px;
  }

  .mobile-header h1.mobile-logo a img {
    height: auto;
  }

  .site-header-mobile.fix h1.mobile-logo a img {
    display: block;
  }

  .mob-ico-search {
    position: absolute;
    top: 50%;
    right: 54px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    padding: 0;
    background: url('../images/front/top-ico-search.svg') 50% 1px;
    background-size: 21px;
  }

  .mob-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 34px;
    height: 30px;
    padding: 7px;
    z-index: 9000;
    font-size: 24px;
  }

  .mob-toggle:before, .mob-toggle:after {
    background-color: var(--dark);
    content: '';
    display: block;
    height: 2px;
    transition: all 0.1s ease-in-out;
  }

  .mob-toggle:before {
    box-shadow: 0 7px 0 0px var(--dark);
    margin-bottom: 12px;
  }

  .mob-toggle--active:before {
    background-color: var(--dark);
    box-shadow: 0 0 0 var(--dark);
    transform: translateY(6px) rotate(45deg);
  }

  .mob-toggle--active:after {
    background-color: var(--dark);
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-header-mobile.fix .mob-toggle:before, .site-header-mobile.fix .mob-toggle:after {
    background-color: var(--primary);
  }

  .site-header-mobile.fix .mob-toggle:before {
    box-shadow: 0 7px 0 0px var(--primary);
  }

  .site-header-mobile.fix .mob-toggle--active:before {
    box-shadow: 0 0 0 #1C3386;
  }

  .site-header-mobile.fix .mob-toggle--active:before {
    background-color: #FFF;
    box-shadow: 0 0 0 #FFF;
  }

  .site-header-mobile.fix .mob-toggle--active:after {
    background-color: #FFF;
  }

  .mob-toggle:hover {
    cursor: pointer;
  }

  .mobile-screen {
    display: block;
    position: fixed;
    z-index: 10;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100dvh;
    overflow-y: auto;
    padding-top: var(--mob_header_height);
    opacity: 0;
    visibility: hidden;
    background-color: #FFF;
  }

  .mobile-screen--open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /*height: calc(100svh - var(--mob_header_height));*/
    height: 100%;
    padding: 24px 16px;
    overflow-y: auto;
  }

  .mobile-nav-wrap {
    flex-grow: 1;
  }

  .mobile-nav-list > .menu-item {
    border-bottom: 1px solid var(--gray200);
  }

  .mobile-nav-list > .menu-item > a {
    display: block;
    padding: 18px 8px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
  }

  .mobile-nav-list > .menu-item.current-menu-parent > a {
    color: var(--secondary);
  }

  .mobile-nav-list > .menu-item > ul.sub-menu {
    display: none;
    margin-bottom: 12px;
  }

  .mobile-nav-list > .menu-item > ul.sub-menu li.menu-item a {
    display: block;
    color: var(--gray500);
    font-size: 14px;
    padding: 10px 12px;
  }

  .mobile-nav-list > .menu-item > ul.sub-menu li.menu-item.current-menu-item a {
    color: var(--secondary);
    text-decoration: underline;
  }

  .mobile-nav-list > .menu-item.menu-item-has-children > a::before {
    position: absolute;
    top: calc(50% - 5px);
    right: 12px;
    border: solid var(--dark);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    content:"";
  }

  .mobile-nav-list > .menu-item.menu-item-has-children > a.on::before {
    transform: rotate(226deg);
  }

  .mobile-screen-slogun {
    color: rgb(255 255 255 / 60%);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.08em;
    font-family: var(--eng);
    margin-top: 48px;
  }

  .mobile-container .header-lang-code {
    justify-content: flex-end;
  }

  .header-top-link.mob-bottom {
    justify-content: center;
    gap: 16px;
  }

  .header-top-link.mob-bottom a i {
    width: 28px;
    height: 28px;
    background-size: 30px;
  }
}
