/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Zen+Kaku+Gothic+New&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
* { box-sizing: border-box; padding: 0; margin: 0; font-size: 16px; color: #003860; }
  :root {
    --color-base: #003860;
    --color-orange: #FF8800;
    --color-green: #008C15;
    --color-red: #C94C4E;
    --color-beige: #F6EFE5;
  }
  .bg-orange { background-color: var(--color-orange); }
  .bg-green { background-color: var(--color-green); }
  .bg-red { background-color: var(--color-red); }
  .bg-beige { background-color: var(--color-beige); }
  img { width: 100%; }
  a { text-decoration: none; color: inherit; transition: all .3s ease-out; }
  
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
  }
  header .container {
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
  }
  header .header_logo img {
    max-width: 100px;
  }
  header ul {
    margin: 0 1rem;
  }
  header ul li {
    width: auto;
  }
  header ul li a {
    padding: 1rem;
    font-size: 14px;
    transition: all .3s ease-out;
  }
  header ul li a:hover {
    font-weight: bold;
  }
  header .header_cta {
    gap: .5rem;
  }
  header .header_cta a {
    padding: .5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 170px;
    font-weight: 600;
    transition: all .3s ease-out;
  }
  header .header_cta a:hover {
    transform: translate(2px, 2px);
  }
  header .header_cta a > * {
    color: white;
  }
  header .header_cta a span {
    margin-left: auto;
  }
  header .header_cta a i {
    display: inline-block;
    font-size: 10px;
    border: 1px solid white;
    padding: 6px;
    border-radius: 20px;
    line-height: 1;
    margin-left: auto;
  }
  
  header .navBar {
    display: flex;
    gap: 1rem;
  }
  header .navBar a {
    padding: 0.8rem;
    aspect-ratio: 1/1;
  }
  header .navBar a i {
    font-size: 30px;
    line-height: 1;
    display: block;
  }
  header .jsBars {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transition: all .3s ease;
    position: relative;
    width: calc(30px + 1.6rem);
  }
  header .jsBars:hover {
    background-color: var(--color-red);
  }
  header .jsBars:not(.open) {
    background-color: white;
  }
  header .jsBars.open {
    justify-content: center;
    background-color: var(--color-red);
  }
  header .jsBars span {
    transition: all .3s ease;
    width: 30px;
    height: 3px;
    background-color: var(--color-red);
    display: block;
  }
  header .jsBars.open span {
    background-color: white;
  }
  header .jsBars.open span:first-child {
    transform: rotate(-45deg) translateY(1.5px);
  }
  header .jsBars.open span:last-child {
    transform: rotate(45deg) translateY(-1.5px);
  }
  header .spNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    transition: all .3s ease;
    background-color: var(--color-red);
  }
  header .spNav.open {
    right: 0;
    z-index: 9;
  }
  header .spNav ul {
    padding: 20vw 1rem 0 1rem;
    width: 80%;
    margin: 0 auto;
  }
  header .spNav ul a {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid white;
    color: white;
    position: relative;
  }
  header .spNav ul a::after {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 8px;
    line-height: 1;
    aspect-ratio: 1/1;
    border: 1px solid white;
    border-radius: 20px;
    padding: 7px;
  }
  body:not(.open) {
    position: relative;
    height: 100%;
  }
  body.open {
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  body.open .header_logo img {
    opacity: 0;
  }
  body.open .navBar .mail {
    display: none;
  }
  body:not(.open) .navBar .mail {
    display: inline-block;
  }

  main {
    position: relative;
    background-color: #F6F3EC;
  }
  main .mainBtn {
    display: block;
  }
  main .mainBtn:hover {
    transform: translate(2px, 2px);
  }
  
  .message {
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    padding: min(15vw, 80px) 1.5rem min(10vw, 100px) 1.5rem;
    margin-bottom: 100px;
    position: relative;
  }
  .message .container {
    border-radius: 20px;
    padding: 1rem 2rem;
    width: 100%;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f3f3f3 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f3f3f3 calc(100% - 1px));
    background-size: 20px 20px;
    background-repeat: repeat;
    background-position: center center;
    position: relative;
  }
  .message .img {
    transform: translateY(-7%);
  }
  .message .messageBtn {
    display: block;
  }
  .message .messageBtn:hover {
    transform: translate(2px, 2px);
  }
  .message .message-btn {
    max-width: min(40vmax, 580px);
    display: block;
    margin: 0 auto;
    margin-top: -5%;
    margin-bottom: 3%;
    position: relative;
    z-index: 2;
  }
  .message .message-images {
    position: absolute;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20%;
    z-index: 1;
  }
  .recommend .recommend-head {
    margin: 0 auto;
    max-width: 750px;
  }
  .programs {
    border-radius: 2rem;
    padding: min(10vw, 80px) 1.5rem min(10vw, 100px) 1.5rem;
  }
  .swiper {
  width: 100%;
    height: auto;
  }
  .swiper .swiper-slide {
	height: auto;
}
  .swiper .swiper-slide-item {
	height: 100%;
}
  
  .cta {
    padding: 80px 0;
  }
  .cta .container {
    padding: 1.5rem min(5vw, 2rem) 1rem;
    width: 80%;
    max-width: 700px;
    background-color: #ECFAEE;
    border: 4px solid #D7F3DB;
    text-align: center;
    color: black;
    border-radius: 10px;
  }
  .cta h3 {
    font-weight: 900;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: .05rem;
  }
  .cta h3 b {
    color: var(--color-green);
    display: inline-block;
    font-size: inherit;
  }
  .cta h3 b span {
    color: var(--color-green);
    font-size: 40px;
  }
  .ctaBtn {
    display: block;
    max-width: 542px;
    margin: 0 auto;
    transition: all .3s ease-out;
  }
  .ctaBtn img {
    width: 100%;
  }
  .ctaBtn:hover {
    transform: translate(-1.6rem, -0.8rem);
  }
  
  .voice .container {
    border: 4px solid #D0C5B4;
    border-radius: 40px;
    padding: min(5vw, 3rem);
    max-width: 1140px;
  }
  .voice .translate {
    transform: translateY(min(-6vw, -4rem));
  }
  .step {
    padding: 80px 0;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
  }
  .salon {
    padding: 80px 0;
  }
  .salon .container {
    max-width: 700px;
  }
  .faq {
    padding-bottom: 80px;
  }
  .faq .container {
    max-width: 800px;
    margin: 0 auto;
  }
  .faq ul li {
    margin-bottom: 1.5rem;
  }
  .faq ul li .question, .faq ul li .answer {
    transition: all 0.5s ease-out;
  }
  .faq ul li .question {
    background-color: var(--color-base);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 20px;
    color: white;
    font-weight: 700;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    margin-bottom: 0;
    cursor: pointer;
    transition: all 0.5s ease-out;
  }
  .faq ul li .question:not(.active) {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  .faq ul li .question > * {
    color: white;
  }
  .faq ul li .question span {
    margin-right: auto;
    margin-left: .5rem;
    width: 80%;
  }
  .faq ul li .question:hover span {
    opacity: 0.6;
  }
  .faq ul li .question i {
    border: 1px solid white;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
  }
  .faq ul li .question::before {
    content:'Q.';
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    color: white;
  }
  .faq ul li .answer {
    background-color: var(--color-beige);
    padding: 1rem 1.5rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: relative;
    z-index: -1;
    transition: all 0.5s ease-out;
  }
  .faq ul li .answer span {
    position: relative;
    padding-left: 30px;
    display: block;
    font-family: "Zen Kaku Gothic New";
    color: black;
  }
  .faq ul li .answer::before {
    content:'A.';
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    position: absolute;
    left: 1.5rem;
    top: 1rem;
    color: var(--color-red);
  }
  .faq ul li .answer.active {
    display: flex !important;
    height: auto;
    opacity: 1;
    margin-top: 0;
  }
  .faq ul li .answer:not(.active) {
    opacity: 0;
    height: 0;
    margin-top: -2rem;
  }
  
  .footerCta {
    text-align: center;
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f3f3f3 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f3f3f3 calc(100% - 1px));
    background-size: 20px 20px;
    background-repeat: repeat;
    background-position: center center;
    position: relative;
    padding: 80px 0;
  }
  .footerCta h3 span {
    font-size: 40px;
    color: var(--color-red);
  }
  .footerCta .ctaBtn {
    margin: 2rem auto;
  }
  footer {
    padding-top: 30px;
  }
  footer .footer_logo {
    width: calc(100px + 2rem);
    margin: 0 auto;
    display: block;
  }
  footer ul li a {
    display: inline-block;
    padding: 1rem;
    color: white;
  }
  footer ul li a:hover {
    font-weight: bold;
  }
  .pagetop { 
    position:fixed; 
    bottom: 1rem; 
    right: 1rem;
    width: 18%;
    max-width: 100px;
    z-index: 9;
  }
  
  @media screen and (max-width:767px) {
    main {
      padding-top: 80px;
    }
    main .mainBtn .sp {
      position: fixed;
      left: 50%;
      bottom: 0;
      width: 100%;
      max-width: 350px;
      transform: translateX(-50%);
      z-index: 8;
    }
    footer {
      padding-bottom: 7rem;
    }
    footer ul li {
      width: 100%;
    }
    .pagetop {
      right: .5rem;
      bottom: 7.5rem;
    }
  }
  @media screen and (min-width:768px) {
    header .container {
      background-color: white;
      box-shadow: 0px 0px 20px 0px #37250C26;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
    }
    main {
      padding-top: max(50px, 1vw);
    }
    main .mainBtn .pc {
      position: absolute;
      left: 5vw;
      bottom: 3vw;
      max-width: 45%;
    }
    .ctaBtn {
      transform: translate(-1.8rem, -1rem);
    }
    .message .right, 
    .message .left {
      position: absolute;
    }
    .message .right {
      top: 12%;
      right: 0;
      width: 20%;
    }
    .message .left {
      bottom: -1.5rem;
      left: 0;
      width: 20%;
    }
  }
  @media screen and (min-width:1080px) {
    main {
      padding-top: 0;
    }
  }