﻿@charset "utf-8";
/*----------------------
 * Header
 * Mobile Header
 * Footer
 * RWD
 ----------------------*/

/* Header
--------------------------------------------- */
.fix-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 73px;
  background-color: var(--blue400);
  z-index: 100;
}

.site-header {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.site-header h1 {
  position: absolute;
  top: 17px;
  left: 0;
  height: 37px;
}

.site-header h1 a {
  display: block;
  height: 100%;
}

.site-header h1 a img {
  height: 100%;
}

nav.site-nav > ul {
  display: flex;
  justify-content: center;
  gap: 26px;
  align-items: center;
}

nav.site-nav > ul > li {
  cursor: pointer;
}

nav.site-nav > ul > li > a {
  display: block;
  color: #FFF;
  font-size: 17px;
  font-weight: 500;
  padding: 12px 12px;
  transition: color .1s ease;
}

nav.site-nav > ul > li.drop > a::after {
  border: solid #FFF;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  content: "";
  margin-left: 10px;
  vertical-align: 3px;
}

nav.site-nav > ul > li > a:hover {
  color: rgba(255 255 255 / 70%);
}
 
nav.site-nav > ul > li.drop:hover > a::after {
  border-color: rgba(255 255 255 / 70%);
}

.site-global {
  position: absolute;
  top: 20px;
  right: 0;
  display: flex;
  gap: 12px;
}

.site-global > a.btn-top {
  color: #FFF;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.0;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: #3996E7;
  transition: color .15s ease, background .15s ease;
}

.site-global > a.btn-top.free {
  color: var(--blue300);
  background-color: #FFF;
}

.site-global > a.btn-top:hover {
  color: #FFF;
  background-color: rgba(255 255 255 / 20%);
}

nav.site-nav > ul > li > ul.sub-nav {
  position: absolute;
  left: 50%;
  width: 140px;
  max-width: 200px;
  border-radius: 8px;
  background-color: #FFF;
  transform: translateX(-50%);
  padding: 10px 10px;
  box-shadow: 0px 8px 18px 0px rgba(0, 0, 0, 0.12);
  visibility: hidden;
  opacity: 0;
}

nav.site-nav > ul > li:hover > ul.sub-nav {
  display: block;
  visibility: visible;
  opacity: 1;
  transition: visibility .2s ease,  opacity .2s ease;
}

ul.sub-nav li:not(:last-child) {
  margin-bottom: 2px;
}

ul.sub-nav li a {
  display: block;
  color: #5a6269;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  background-color: #FFF;
  transition: background .2s ease;
}

ul.sub-nav li a:hover {
  background-color: var(--blue100);
}

.site-header-mobile, .mobile-screen {
  display: none;
}

/* Footer
--------------------------------------------- */
.site-footer {
  width: 100%;
  background-color: #222;
}

.footer-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 0;
}

.footer-column {
  display: flex;
  justify-content: space-between;
}

.footer-logo {
  margin-bottom: 28px;
}

.footer-address {
  display: flex;
  gap: 12px 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-address span {
  display: inline-block;
  color: #e9e9e9;
  font-size: 14px;
}

.footer-address span em {
  color: #9A9B9C;
  display: inline-block;
  margin-right: 0.5em;
}

.footer-link {
  display: flex;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 6px 0;
}

.footer-link a {
  display: inline-block;
  color: #e9e9e9;
  font-size: 14px;
}

.footer-link a:hover {
  text-decoration: underline;
}

.footer-link a::after {
  display: inline-block;
  width: 2px;
  height: 2px;
  background-color: #FFF;
  border-radius: 2px;
  content: "";
  vertical-align: middle;
  margin: .8em; 
}

.footer-link a:last-child::after {
  visibility: hidden;
}

.footer-btn-group {
  display: flex;
  gap: 12px;
}

.footer-btn {
  display: inline-block;
  color: #FFF;
  font-size: 13px;
  line-height: 1.0;
  padding: 10px;
  border: 1px solid #FFF;
  border-radius: 6px;
}

.footer-btn:hover {
  background-color: #FFF;
  color: #333;
}

.site-info p {
  color: #888;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 4px;
  word-break: keep-all;
}

.footer-cs-call {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.footer-cs-title {
  display: flex;
  gap: 12px;
  color: #9A9B9C;
  font-size: 15px;
  font-weight: 600;
  align-items: center;
  word-break: keep-all;
}

.footer-cs-content {
  margin-top: -6px;
}

.footer-cs-number {
  display: block;
  color: #FFF;
  font-size: 28px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.footer-cs-content.footer-bank {
  margin-top: 0;
}

.footer-cs-content.footer-bank p {
  color: #9A9B9C;
  font-size: 14px;
}

.footer-cs-content.footer-bank p:not(:last-child) {
  margin-bottom: .5em;
}

.footer-cs-content.footer-bank .bank-number {
  color: #FFF;
  font-size: 18px;
  font-weight: 600;
}

.footer-rights {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 18px;
  border-top: 1px solid #666666;
}

.footer-rights p {
  color: #9A9B9C;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-cert {
  display: flex;
  gap: 16px;
  margin: 24px 0  
}

.footer-cert img {
  width: 64px;
  height: 64px;
}

.footer-cert img:not(:first-of-type) {
  cursor: pointer;
}

.site-footer .ic-blog {
  display: block;
  width: 48px;
}

.site-footer .ic-blog img {
  width: 100%;
}

.fix-bottom {
  position: fixed;
  right: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 998;
}

.fix-bottom a {
  display: block;
  width: 58px;
  height: 58px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.1);
}

.fix-bottom.fix-abs {
  position: absolute;
  top: -102px;
}

.circle-kakao {
  background: #FDDF25 url(../images/main/ico-kakao.png) 50% no-repeat;
}

.circle-top {
  background: #FFF url(../images/main/ico-go-top.png) 50% no-repeat;
}

/* Responesive
--------------------------------------------- */

/** Notebook 1536px **/
@media screen and (max-width: 1536px) {
  /* Nav */
  .site-header h1 {
    left: 16px;
  }

  .site-global {
    right: 16px;
  }

  .footer-content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/** HD 1280px **/
@media screen and (max-width: 1280px) {
  /* Nav */
  nav.site-nav > ul {
    gap: 10px;
  }
}

/** Apple iPad Pro 12.9 1024px **/
@media screen and (max-width: 1024px) {
  
  /* header */
  .fix-bar {
    display: none;
  }

  .site-header-mobile {
    display: block;
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
  }

  .site-header-mobile.fix {
    position: fixed;
    top: 0;
  }

  html.nav-open, body.nav-open {
    overflow: hidden;
  }

  html.nav-open .mobile-header h1.mobile-logo, 
  html.nav-open .mobile-header .mob-copy {
    display: none;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: 0 16px;
    background-color: var(--blue400);
  }

  .mobile-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    z-index: 10;
    height: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) -202%, rgba(0, 0, 0, 0) 32%);
  }

  .nav-open .mobile-header::after {
    display: none;
  }

  .nav-open .mobile-header {
    background-color: transparent;
    border-bottom: 1px solid var(--stroke);
  }

  .site-header-mobile h1.mobile-logo a img {
    display: block;
    height: 24px;
  }

  .mob-copy {
    color: var(--blue200);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.0;
    margin-right: 38px;
  }

  .mob-toggle {
    position: absolute;
    top: 12px;
    right: 10px;
    width: 34px;
    height: 30px;
    padding: 6px;
    z-index: 9000;
    font-size: 24px;
  }

  .mob-toggle:before, .mob-toggle:after {
    background-color: #FFF;
    content: '';
    display: block;
    height: 2px;
    transition: all 0.15s ease-in-out;
  }

  .mob-toggle:before {
    box-shadow: 0 7px 0 0px #FFF;
    margin-bottom: 12px;
  }

  .mob-toggle--active:before {
    background-color: var(--blue400);
    box-shadow: 0 0 0 var(--blue400);
    transform: translateY(6px) rotate(45deg);
  }

  .mob-toggle--active:after {
    background-color: var(--blue400);
    transform: translateY(-8px) rotate(-45deg);
  }

  .mob-toggle:hover {
    cursor: pointer;
  }

  .mobile-screen {
    display: block;
    position: fixed;
    z-index: 999;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    padding-top: 50px;
    opacity: 0;
    visibility: hidden;
    background-color: #FFF;
  }

  .mobile-screen--open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-container {
    height: calc(100vh - 50px);
    padding: 24px;
    overflow-y: auto;
  }

  .mob-screen-copy {
    color: var(--blue400);
    font-size: 21px;
    font-weight: 800;
    text-align: center;
    margin: 6px 0 24px 0;
  }

  .mobile-menu {
    border-bottom: 1px solid transparent;
  }

  .mobile-menu > a {
    display: block;
    padding: 16px 8px;
    color: var(--blue400);
    font-size: 16px;
    font-weight: 600;
  }

  .mobile-menu ul.mobile-menu-sub {
    display: none;
    margin: 0 16px;
  }

  .mobile-menu ul.mobile-menu-sub li a {
    display: block;
    color: var(--text);
    font-size: 16px;
    padding: 8px 0;
  }

  .mobile-menu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-menu.alone > a::after {
    display: block;
    width: 24px;
    height: 24px;
    background: url(../images/main/ico-arrow-right.svg) 0;
    background-size: 24px;
    content: "";
    opacity: .6;
  }

  .mobile-menu.has-sub > a::after {
    display: block;
    width: 24px;
    height: 24px;
    background: url(../images/main/ico-fold.svg) 0;
    background-size: 24px;
    content: "";
  }

  .mobile-menu.has-sub > a.fold::after {
    background: url(../images/main/ico-unfold.svg) 0 no-repeat;
  }

  .mobile-btn-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 38px auto 24px auto;
  }

  .btn-mob-start {
    display: block;
    color: #FFF;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.0;
    padding: 14px 20px;
    border-radius: 6px;
    background-color: var(--blue300);
    border: 1px solid var(--blue300);
  }

  .btn-mob-start.line {
    background-color: #FFF;
    color: var(--blue300);
  }

  /* Footer */
  .footer-column {
    flex-direction: column;
    gap: 38px;
  }

  .footer-column-cs {
    display: flex;
    gap: 38px;
  }

  .footer-cert {
    margin-bottom: 0;
  }

  .footer-cs-call {
    /* flex-direction: column; */
    gap: 18px;
  }

  .footer-cs-number {
    font-size: 24px;
  }

  .footer-btn {    
    font-size: 12px;    
    padding: 8px;
  }

  .footer-cert img {
    width: 48px;
    height: auto;
  }

  #page-up {
    display: none
  }

  .fix-bottom {
    right: 16px;
  }

  .fix-bottom.fix-abs {
    top: -29px;
  }
}

/** Tablet Apple iPad Pro 11 834px **/
@media screen and (max-width: 834px) {
  /* Footer */
  .footer-content {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .footer-column {
    gap: 32px 0;
  }

  .footer-logo {
    width: 100px;
    margin-bottom: 16px;
  }

  .footer-address {
    gap: 8px 12px;
  }

  .footer-address span, .footer-link a {
    font-size: 12px;
  }

  .footer-cs-call {
    margin-bottom: 18px;
    gap: 12px;
  }

  .footer-cs-title {
    font-size: 12px;
    flex-shrink: 0;
    gap: 8px;
  }

  .footer-cs-title img {
    display: none;
  }

  .footer-cs-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer-btn {
    font-size: 12px;
    padding: 8px 10px;
  }

  .footer-cs-number {
    font-size: 20px;
    margin-bottom: 0;
  }

  .footer-column-cs {
    flex-direction: column;
    gap: 12px;
  }

  .footer-cs-content.footer-bank p:not(:last-child) {
    margin-bottom: 0;
  }

  .footer-cs-content.footer-bank p {
    font-size: 12px;
  }

  .footer-cs-content.footer-bank .bank-number {
    font-size: 16px;
  }

  .footer-cs-content.footer-bank {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-rights {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 12px;
  }

  .footer-rights p {
    font-size: 12px;
  }

  .site-footer .ic-blog {
    width: 42px;
    margin-left: -2px;
  }  
}

/** Tablet 640px or landscape **/
@media screen and (max-width: 640px) {
  /* */
}

/** Mobile iPhone Pro 12 Max 428px **/
@media screen and (max-width: 428px) {
  /** Footer **/
  .footer-cert {
    gap: 10px;
  }

  .footer-cert img {
    width: 42px;
    height: 42px;
  }

  .fix-bottom {
    bottom: 24px;
  }

  .fix-bottom a {
    width: 52px;
    height: 52px;
    background-size: 24px;
    right: -6px;
  }
}