@charset "utf-8";

/* ----- common ----- */
html{
  scroll-behavior: smooth;
}
::selection{
  background-color: #7B86D8;
}

.inner01{
  width: calc(100% - 12rem);
  margin: 0 6rem;
}
@media (max-width: 1024px){
  .inner01{
    width: 85%;
    margin: 0 auto;
  }
}

.inner02{
  width: 1300px;
  margin: 0 auto;
}
@media (max-width: 1440px){
  .inner02{width: 85%;}
}

.last_section{
  padding: 0 0 20rem 0 !important;
}
@media (max-width: 1024px){
  .last_section{padding: 0 0 10rem 0 !important;}
}


/* ----- text ----- */
/* h4 */
.content_title{
  padding: 8rem 0 4rem 0;
  font-size: 2.3rem;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 1024px){
  .content_title{
    padding: 6rem 0 3rem 0;
    font-size: 1.8rem;
  }
}
@media (max-width: 768px){
  .content_title{
    padding: 5rem 0 2.5rem 0;
    font-size: 1.6em;
  }
}

/* Page title */
.page_title{
  width: auto;
  height: auto;
  margin: 8rem 0 4rem 0;
  padding-top: 90px;
}
@media (max-width: 1024px){
  .page_title{margin: 7rem 0 3rem 0;}
}
@media (max-width: 768px){
  .page_title{margin: 4rem 0 3rem 0;}
}

.page_title .category{
  width: fit-content;
  height: 2.5em;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  border: 1px solid #414EAC;
  border-radius: 100%;
  color: #414EAC;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}
@media (max-width: 1024px){
  .page_title .category{font-size: 1rem;}
}

.page_title h1, h1{
  margin-top: 1.5rem;
  font-size: 4.5rem;
  text-align: center;
  font-weight: 800;
}
.page_title .h1_jp{
  font-family: "M PLUS 1p", sans-serif !important;
  font-size: 4rem;
  font-weight: 600;
}
@media (max-width: 1024px){
  .page_title h1, h1{
    max-width: 80%;
    margin: 1rem auto 0 auto;
    font-size: 3.5rem;
  }
}
@media (max-width: 768px){
  .page_title h1, h1{
    font-size: 3rem;
  }
}

/* 개인정보처리방침 */
.page_title p{
  line-height: 1.3;
  width: 85%;
  max-width: 700px;
  margin: 1em auto 0 auto;
  font-size: 1rem;
  text-align: center;
  display: flex;
}

/* Page image */
.page_image{
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 5rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.page_img img{
  width: 100%;
}
.page_image span{
  margin-bottom: 1.25rem;
  color: #414EAC;
  font-size: 1.25rem;
  font-weight: 800;
}
.page_image p{
  margin-bottom: 1rem;
  line-height: 1.3;
  font-size: 2.3rem;
  font-weight: 600;
}
@media (max-width: 1024px){
  .page_image span{
    font-size: 1rem;
  }
  .page_image p{
    font-size: 1.8rem;
  }
}
@media (max-width: 768px){
  .page_image{
    padding: 3rem;
  }
  .page_image p{
    font-size: 1.6rem;
  }
}


/* ----- btn ----- */
/* 텍스트 버튼 */
.btn_detail{
  width: fit-content;
  line-height: 1.3;
  color: #414EAC;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  justify-content: center;
  position: relative;
  transition: 0.3s;
}
.btn_detail:hover{
  color: #7b86d8;
}
.btn_detail::after{
  content: '';
  width: 100%;
  height: 1.5px;
  background-color: #414EAC;
  position: absolute;
  top: 100%;
  left: 0;
}
.btn_detail:hover::after{
  background-color: #7b86d8;
  animation: btn_detail 1s;
}
@keyframes btn_detail{
  0%{width: 0;}
  100%{width: 100%;}
}
@media (max-width: 1024px){
  .btn_detail{font-size: 1rem;}
}

/* 일반 버튼 */
.btn_circle{
  height: fit-content;
  padding: 0.7rem 1rem;
  border-radius: 5rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}
.btn_circle:hover{
  border: 1px solid #7b86d8;
  color: #fff;
  background-color: #7b86d8;
}
.btn_blue{
  border: 1px solid #414EAC;
  color: #fff;
  background-color: #414EAC;
}
.btn_white{
  border: 1px solid #414EAC;
  color: #414EAC;
  background-color: #fff;
}
@media (max-width: 1024px){
  .btn_circle{padding: 0.5rem 0.8rem;}
}

/* 큰 원 버튼 */
.btn_inquire{
  width: 12.5rem;
  height: 12.5rem;
  background-color: #343448;
  border-radius: 100rem;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: 0.3s;
}
.btn_inquire_s{
  font-size: 1.6rem;
}
.btn_inquire:hover{
  background-color: #52525f;
}
.btn_inquire::before{
  content: '';
  width: 85%;
  height: 85%;
  border: 2px dashed #fff;
  border-radius: 100rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}
.btn_inquire:hover::before{
  transform: translate(-50%, -50%) rotate(60deg);
}
.btn_inquire span{
  margin: 0.5rem 0 -1rem 0;
  color: #fff;
  font-size: 1rem;
  opacity: 0.5;
}
@media (max-width: 1440px){
  .btn_inquire{
    width: 10rem;
    height: 10rem;
  }
}
@media (max-width: 1024px){
  .btn_inquire{
    width: 8rem;
    height: 8rem;
    font-size: 1.5rem;
  }
  .btn_inquire_s{
    font-size: 1.2rem;
  }
  .btn_inquire::before{
    border: 1px dashed #fff;
  }
  .btn_inquire span{
    margin: 0.3rem 0 -0.8rem 0;
    font-size: 0.8rem;
  }
}


/* ----- box ----- */
.box{
  padding: 50px 70px;
}
.box_small{
  padding: 40px 50px;
}
@media (max-width: 1024px){
  .box{
    padding: 40px 50px;
  }
  .box_small{
    padding: 30px;
  }
}
@media (max-width: 768px){
  .box{
    padding: 30px;
  }
}


/* ----- header ----- */
.container{
  height: auto;
}
header{
  width: 100%;
  height: 90px;
  font-size: 1.25rem;
  position: fixed;
  top: 0;
  transition: 0.3s;
  z-index: 1000;
}
@media (max-width: 1024px){
  header{
    box-shadow: 0 0 0 transparent !important;
  }
}

/* .header_dark{
  transition: 0.1s;
} */
header.off{
  top: -90px;
}
header.header_light{
  background-color: #fff;
  box-shadow: 0 3px 3px #34344827;
}
/* header.header_dark{
  background-color: #343448;
  box-shadow: 0 3px 3px #34344827;
} */
header.active{
  background-color: #fff;
}
header .inner01{
  display: grid;
  grid-template-rows: 1fr auto 0.05fr;
  grid-template-areas: "header_logo header_web header_right";
}

/* header .header_logo */
.header_logo{
  grid-area: header_logo;
  width: 120px;
  height: 33px;
  margin-top: 25px;
  background: url('https://twinny.ai/assets/img/logo_dark.png') no-repeat center / contain;
}
/* .header_dark .header_logo{
  background: url('https://twinny.ai/assets/img/logo_light.png') no-repeat center / contain;
} */
.header_logo.active{
  background: url('https://twinny.ai/assets/img/logo_dark.png') no-repeat center / contain;
}

/* header .header_right */
.header_right{
  grid-area: header_right;
  margin-top: 33px;
  display: flex;
  justify-content: right;
}
.lang_nav{
  margin-top: 0 !important;
}

.inquire{
  height: fit-content;
  color: #EE7B20;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
}
.inquire:hover{
  color: #FFAE67;
}
.curve_container{
  width: 98%;
  height: 0.5rem;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.curve_box{
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.curve_line{
  width: 20rem;
  height: 20rem;
  border: 2px solid #EE7B20;
  border-radius: 100%;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
}
.inquire:hover .curve_line{
  border: 2px solid #FFAE67;
}

/* 햄버거 버튼 */
.btn_menu{
  display: none;
}
@media (max-width: 1024px){
  .btn_menu{
    width: 30px;
    height: 23px;
    margin: auto 0 auto 10px;
    display: block;
    position: relative;
    cursor: pointer;
  }
  .btn_menu div{
    width: 30px;
    height: 1.5px;
    border-radius: 10px;
    position: absolute;
    transition: 0.3s;
  }
  header .btn_menu.active div,
  .header_light .btn_menu div{
    background-color: #343448;
  }
  .header_dark .btn_menu div{
    background-color: #fff;
  }
  .btn_menu div:nth-child(1){
    top: 0;
  }
  .btn_menu div:nth-child(2){
    top: 50%;
    transform: translateY(-50%);
  }
  .btn_menu div:nth-child(3){
    bottom: 0;
  }
  .btn_menu.active div:nth-child(1),
  .btn_menu:hover div:nth-child(1){
    top: 50%;
    transform: rotate(45deg) translateY(-50%);
  }
  .btn_menu.active div:nth-child(2),
  .btn_menu:hover div:nth-child(2){
    width: 0;
  }
  .btn_menu.active div:nth-child(3),
  .btn_menu:hover div:nth-child(3){
    top: 50%;
    transform: rotate(-45deg) translateY(-50%);
  }
}

/* header .nav_web */
.nav_web{
  grid-area: header_web;
  z-index: 1000;
}
@media (max-width: 1024px){
  .nav_web{
    display: none;
  }
}

.nav_web ul{
  margin-top: 33px;
  display: flex;
  justify-content: space-around;
  transition: none !important;
}
header .nav_web li{
  width: 100px;
  margin: 0 auto;
  text-align: center;
  z-index: 1100 !important;
  transition: none !important;
}
.header_eng .nav_web li{
  width: 155px;
}
.header_jp .nav_web li{
  width: 175px;
}
.header_ko .nav_web .lang_nav li,
.header_eng .nav_web .lang_nav li,
.header_jp .nav_web .lang_nav li{
  margin: 0;
  width: fit-content;
}

/* .header_dark .mainnav{
  color: #fff;
} */
.header_light .nav_web li a,
header .nav_web li a.active{
  color: #343448;
}
header .nav_web li a:hover,
.subnav li a:hover{
  color: #FFAE67;
}
header .subnav_title, header .subnav_inner li a{
  display: none;
}
header .subnav_title.active, header .subnav_inner li a.active{
  display: inline-block;
}

.subnav_back{
  width: 100%;
  height: 18rem;
  background-color: #fff;
  box-shadow: 0 3px 3px #34344827;
  position: absolute;
  top: 90px;
  left: 0;
  z-index: 100;
  display: none;
}
.subnav_inner{
  display: flex;
  flex-direction: column;
}
.subnav li{
  width: fit-content;
  line-height: 2;
}
.header_eng .subnav li{
  width: fit-content;
}
.subnav_inner li a{
  color: #343448;
  font-size: 1rem;
  text-align: center;
}
.subnav_inner .subnav_titlebox{
  margin-bottom: -8px;
}
.subnav_inner li span{
  font-size: 0.85rem;
  color: #414EAC;
  font-weight: 400;
  text-align: center;
}

/* header .nav_mobile */
.nav_mobile{
  display: none;
}
@media (max-width: 1024px){
  .nav_mobile{
    width: 100%;
    height: calc(100vh - 90px);
    margin: 90px 0;
    padding-bottom: 100px;
    background-color: #fff;
    box-shadow: 0 3px 3px #34344827;
    overflow: scroll;
    position: absolute;
    left: 0;
    z-index: 1000;
  }
  .nav_mobile ul{
    margin-top: 33px;
    display: flex;
    flex-direction: column;
  }
  header .nav_mobile li, header .nav_mobile li a{
    text-align: center;
    z-index: 1100 !important;
  }
  .nav_mobile li .mainnav{
    margin: 40px auto 0 auto;
    color: #414EAC;
    font-weight: 600;
    font-size: 1.25rem;
    display: block;
  }
  .nav_mobile li a:hover{
    color: #FFAE67;
  }
  .nav_mobile .subnav_inner{
    margin-top: 10px;
  }
  .nav_mobile .subnav ul li{
    margin: 0 auto;
  }
}
@media (max-width: 768px){
  header{
    width: 100%;
  }
  .header_logo{
    width: 100px;
    margin-top: 30px;
  }
  .header_inquire{
    display: none;
  }
  .btn_menu{
    margin-left: 10px;
  }
}


/* ----- snb ----- */
.snb_container{
  width: auto;
  height: auto;
  position: relative;
}
.content_container{
  margin-top: -20rem;
}
.snb_box{
  width: 4rem;
  height: 20rem; /* 실제 사이즈 : 17.5rem */
  font-size: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: sticky;
  position: -webkit-sticky;
  top: 35%;
  left: calc(100% - 5rem);
  z-index: 100;
}
.snb_box a{
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.5rem;
  border-radius: 10rem;
  background-color: #fff;
  border: 1px solid #414EAC;
  display: inline-block;
  position: relative;
  transition: 0.3s;
  white-space: nowrap;
}
.snb_box_en{
  width: 4.5rem;
  height: 18rem; /* 실제 사이즈 : 17.5rem */
}
.snb_box_en a{
  width: 4.5rem;
  height: 4.5rem;
}
/* .snb_box a:last-child{
  margin-bottom: 0;
} */
.snb_box a:hover{
  border: 1px solid #7b86d8;
}
.snb_box a span{
  color: #414EAC;
  font-size: 0.8rem;
  font-weight: 600;
  position: absolute;
  /* top: 2.2rem; */
  top: 50%;
  left: 50%;
  /* transform: translateX(-50%); */
  transform: translate(-50%, -50%);
  transition: 0.3s;
}
.snb_box a:hover span{
  color: #7b86d8;
}

@media (max-width: 1024px){
  .content_container{
    margin-top: -15rem;
  }
  .snb_box{
    width: 3rem;
    height: 15rem; /* 실제 사이즈 : 13.5rem */
  }
  .snb_box a{
    width: 3rem;
    height: 3rem;
  }
  .snb_box_en a{
    width: 4rem;
    height: 4rem;
  }
  .snb_box a span{
    font-size: 0.7rem;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 768px){
  .snb_box > a:nth-child(1),
  .snb_box > a:nth-child(2),
  .snb_box > a:nth-child(3){
    display: none;
  }
  .content_container{
    margin-top: -4rem;
  }
  .snb_box{
    height: 4rem;
    top: 85%;
  }
}


/* ----- footer ----- */
footer{
  width: 100%;
  height: auto;
  padding: 80px 0;
  background-color: #fff;
  border-top: 1px solid #34344855;
}
.footer_top{
  display: flex;
  justify-content: space-between;
}
.footernav{
  display: flex;
}
.footer_btn li a,
.footer_sns li a{
  line-height: 1.5;
  font-size: 1.4rem;
  font-weight: 600;
  transition: 0.3s;
}
.footer_sns li a{
  color: #343448;
}
.footer_btn li a:hover{
  color: #FFAE67;
}
.btn_youtube a:hover{
  color: #ee4920 !important;
}
.footer_sns .btn_blog a:hover{
  color: #03C85A;
}
.footer_logo{
  width: 10%;
  min-width: 170px;
}
.footer_logo img{
  width: 100%;
}

.footer_bottom{
  height: auto;
  margin-top: 5rem;
  display: flex;
  justify-content: space-between;
}
.footer_info{
  display: flex;
  flex-direction: column;
}
.footer_btn, .footer_tel{
  width: 15rem;
}
.footer_jp .footer_btn, .footer_jp .footer_tel,
.footer_eng .footer_btn, .footer_eng .footer_tel{
  width: 25rem;
}
.footer_sns li a{
  width: 15rem;
  margin-left: 4rem;
}
.footer_copyright{
  margin: auto 0 0 4rem;
  line-height: 1.5;
  text-align: right;
}

.footer_bottom .fotter_info .footer_tel{
  display: flex;
}
.footer_tel, .footer_tel > p{
  line-height: 1.5;
  display: inline-block;
}
.more_left{
  font-weight: 600;
  margin-right: 0.5rem;
}

@media (max-width: 1440px){
  .more_text{
    display: flex;
    flex-direction: column;
  }
  .footer_tel, .more_left, .more_right{
    width: fit-content;
  }
}
@media (max-width: 1024px){
  .footer_top, .footernav, .footer_bottom{
    flex-direction: column;
    text-align: center;
  }
  .footer_sns li a{
    margin-left: 0;
  }
  .footer_logo{
    min-width: 130px;
    max-width: 170px;
    margin: 1.5rem auto;
  }
  .footer_btn, .footer_copyright{
    width: 100%;
    margin: 0 auto;
  }
  .footer_sns, .footer_bottom, .footer_tel{
    margin-top: 1rem;
  }
  .footer_copyright{
    margin-top: 1.5rem;
    text-align: center;
  }
  .footer_tel{
    margin: 0 auto !important;
  }
  .more_left, .more_right{
    margin: 0 auto;
    text-align: center;
  }
  .footer_eng .footer_copyright{
    margin: 1.5rem auto 0 auto;
  }
}
@media (max-width: 500px){
  .footer_eng .footer_btn, .footer_eng .footer_tel{
    width: 100%;
  }
}