/* Zen Maru Gothic */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');

/* Noto Sans Japanese */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* Text Me One */
@import url('https://fonts.googleapis.com/css2?family=Text+Me+One&display=swap');


:root {

  /* fonts */
  --notoSansJP: 'Noto Sans JP', sans-serif;
  --textMeOne: 'Text Me One', sans-serif;
  --zenMaruGothic: 'Zen Maru Gothic', sans-serif;

  /* colors */
  --white-color: #ffffff;
  --dark-yellow-color: #FAD64A;
  --light-yellow-color: #FED831;
  --dark-gray-color: #333333;
  --black-color: #010101;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

p{
  margin: 0;
  padding: 0;
}

main{
  font-family: var(--notoSansJP);
  font-weight: 400;
}

h1{
  font-family: var(--textMeOne);
  color: var(--dark-yellow-color);
  font-size: 7.5rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 5px;
}

@media only screen and (max-width: 668px){
  h1{
    font-size: 3.5rem;
  }
}

@media only screen and (max-width: 360px){
  h1{
    font-size: 2.5rem;
  }
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  overflow: hidden;
  background-color: var(--white-color);
  transition: opacity 0.3s, position 1s;
  z-index: 9999;
  transition: 0.5s;
  padding: 25px 50px;
}

nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}


.brand a {
  margin-right: auto;
  display: flex;
  justify-content: start;
  flex-direction: column;
  font-weight: 400;
  text-decoration: none;
  color: var(--black-color);
}

.brand a > p{
  font-family: var(--zenMaruGothic);
  font-size: 0.625rem;
  letter-spacing: 1px;
}

.brand a > h4{
  font-family: var(--textMeOne);
  font-size: 1.375rem;
  letter-spacing: 2px;
}


.nav__contents{
  transition: all 0.3s ease 0s;
}

.nav__contents > a {
  display: none;
}

ul.nav__links {
  list-style: none;
  display: flex;
  text-align: center;
  align-items: center;
  width: 100%;
  cursor: pointer;
  justify-content: space-between;
}

.nav__contents[data-visible="true"]{
  visibility: visible;
  opacity: 1;
  background-color: var(--white-color);
}


ul.nav__links > li {
  padding-left: 30px;
}


ul.nav__links > li > a{
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: 0.3s all ease-in-out;
  font-size: 0.85rem;
  color: var(--black-color);
  font-family: var(--zenMaruGothic);
  font-weight: 700;
}


ul.nav__links > li > a:hover{
  color: var(--light-yellow-color);
}

ul.nav__links > li > a#last-link{
  background: var(--dark-yellow-color);
  color: var(--black-color);
  border: 3px var(--dark-yellow-color) solid;
  border-radius: 25px;
  padding: 10px 34px;
}

ul.nav__links > li > a#last-link:hover{
  background: var(--white-color);
  color: var(--black-color);
  text-decoration: none;
}

.mobile-nav-toggle{
  display: none;
}

@media only screen and (max-width: 765px){
  header {
      background-color: var(--white-color);
      box-shadow: 0 5px 2px -2px rgba(0,0,0,0);
      padding: 25px 21px;
  }
  .mobile-nav-toggle{
    right: 1rem;
  }

  .nav__contents > a {
      margin-top: 70px;
      display: grid;
      place-items: center;
      color: var(--white-color);
      text-decoration: none;
  }

  .nav__contents a > p{
    font-family: var(--zenMaruGothic);
    font-size: 0.625rem;
    letter-spacing: 1px;
  }
  
  .nav__contents a > h4{
    font-family: var(--textMeOne);
    font-size: 1.375rem;
    letter-spacing: 2px;
  }

  .nav__contents{
      position: fixed;
      inset: 0;
      transition: visibility 0s, opacity 500ms ease-out;
      z-index: -1;
      background-color: var(--white-color);
      opacity: 0;
      visibility: hidden;
      transition: 600ms all ease;
  }

  ul.nav__links{
    margin-top: 70px;
      display: flex;
      flex-direction: column;
      place-content: center;
      grid-template-columns: repeat(2, auto);
      grid-gap: 60px;
      background-color: transparent;
      padding: 50px;
      justify-content: center;
      justify-items: start;
  }

  ul.nav__links > li {
      display: flex;
      padding-left: 0;
  }

  ul.nav__links > li > a {
    color: var(--black-color);
  }


  .mobile-nav-toggle{
      color: var(--black-color);
      background-color: var(--dark-yellow-color);
      border-radius: 35px;
      padding: 13px;
      border: none;
      outline: none;
      cursor: pointer;
      display: block;
      position: fixed;
      top: 1.1rem;
      /* right: 3.1rem; */
  }

  .mobile-nav-toggle .line{
      display: block;
      width: 25px;
      height: 3px;
      background-color: var(--black-color);
      margin-block: 5px;
      border-radius: 4px;
      transition: transform .5s;
      opacity: .25s;
  }

  .mobile-nav-toggle[aria-expanded=true] .line:nth-child(1){
      transform: translateY(8px) rotate(45deg);

  }
  .mobile-nav-toggle[aria-expanded=true] .line:nth-child(2){
      opacity: 0;
      
  } 
  .mobile-nav-toggle[aria-expanded=true] .line:nth-child(3){
      transform: translateY(-8px) rotate(-45deg);
      
  } 
}

@media only screen and (max-width: 400px){
  /* header {
    padding: 25px 21px;
  } */

  /* .mobile-nav-toggle{
    right: 1rem;
  } */
}

/* Animations */
@keyframes flipdown {
  0% {
    opacity: 0;
    transform-origin: top center;
    transform: rotateX(-90deg);
  }
  5% {
    opacity: 1;
  }
  80% {
    transform: rotateX(8deg);
  }
  83% {
    transform: rotateX(6deg);
  }
  92% {
    transform: rotateX(-3deg);
  }
  100% {
    transform-origin: top center;
    transform: rotateX(0deg);
  }
}

.wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 90.41px 114.6px;
}

.section__heading{
  margin-bottom: 90px;
}

.section__heading > p{
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  font-family: var(--zenMaruGothic);
  font-weight: 500;
}

img.design__curve__top, img.design__curve__bottom{
  width: 100%;
  height: auto;
}

img.design__curve__top{
  margin-bottom: -5px;
}


/** ------------- Heading --------------- */
section.heading{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 25px;
  text-align: center;
}

.heading__bg{
  border-radius: 60px;
  background-color: rgb(255, 220, 80, 0.10);
  min-height: 600px;
  position: relative;
}

section.heading > .heading__bg > img{
  position: absolute;
  max-width: 100%;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
}

section.heading > .heading__bg > img.home__avatars__sp{
  display: none;
}

section.heading > .heading__bg > .heading__title{
  position: absolute;
  top: 40%; 
  left: 50%; 
  transform: translate(-50%, -50%);
  width: 100%;
}

section.heading > .heading__bg > .heading__title > h2{
  font-weight: 700;
  font-family: var(--zenMaruGothic);
  font-size: 48px;
  margin-bottom: 20px;
}

section.heading > .heading__bg > .heading__title > p{
  font-weight: 700;
  font-family: var(--zenMaruGothic);
  font-size: 24px;
}

.heading__title .page-break{
  display: none;
}

@media only screen and (max-width: 670px){
  section.heading > .heading__bg > img.home__avatars__d{
    display: none;
  }

  section.heading > .heading__bg > img.home__avatars__sp{
    display: block;
  }

  .heading__bg{
    border-radius: 60px;
    min-height: 400px;
    position: relative;
  }

  section.heading > .heading__bg > .heading__title{
    position: absolute;
    top: 40%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 100%;
  }
  
  section.heading > .heading__bg > .heading__title > h2{
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  section.heading > .heading__bg > .heading__title > p{
    font-size: 14px;
  }
}

@media only screen and (max-width: 454px){
  .heading__title .page-break{
    display: block;
  }
}

/** ------------- About --------------- */
.about__wrapper{
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 634px;
  margin: 0 auto;
  margin-bottom: 100px;
}

section.about h2.about__heading{
  font-size: 2.5rem;
  font-family: var(--zenMaruGothic);
  font-weight: bold;
  text-align: left;
  margin-bottom: 45px;
}

.about__contents__wrapper{
  text-align: left;
}

.about__contents__wrapper > .first__paragraph{
  margin-bottom: 40px;
}

.about__contents__wrapper p{
  font-size: 0.875rem;
  line-height: 28px;
  letter-spacing: 1px;
}


/** about__cards__wrapper  */
.about__cards__wrapper{
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.about__cards__wrapper .card{
  text-align: center;
  flex-basis: 33.3333%;
}

.about__cards__wrapper .card .chat img{
  max-width: 310px;
  width: 100%;
  height: 100%;
  margin-bottom: 1px;
}

.about__cards__wrapper .card img{
  width: 101px;
  height: 105px;
  margin-bottom: -5px;
}

.card__content__wrapper{
  text-align: center;
  background-color: rgb(229, 229, 229, 0.3);
  padding: 40px;
  border-radius: 5px;
}

.card__contents > span{
  font-size: 50px;
  color: #F5A70F;
  margin-bottom: 20px;
}

.card__contents > h4{
  font-family: var(--zenMaruGothic);
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 20px;
}

.card__contents > p{
  text-align: left;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 1px;
}

.about__wrapper .page-break{
  display: none;
}

.first__paragraph .first-break, .second__paragraph .first-break{
  display: block;
}

.first__paragraph .second-break, .second__paragraph .second-break{
  display: none;
}

@media screen and (max-width: 1085px) {
  .about__cards__wrapper{
    flex-direction: column;
    gap: 50px;
  }
}

@media only screen and (max-width: 454px){
  .about__wrapper .page-break{
    display: block;
  }

  .first__paragraph .first-break, .second__paragraph .first-break{
    display: none;
  }
  
  .first__paragraph .second-break, .second__paragraph .second-break{
    display: block;
  }
}


/** ------------- Works --------------- */
section.works{
  max-width: 100%;
  background: rgb(250, 214, 74, .10);
}

.works__cards__wrapper{
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.works__colOne, .works__colTwo, .works__colThree{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.works__cards__wrapper a{
  max-width: 100%;
  height: auto;
}

.works__cards__wrapper img{
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 900px) {
  .works__cards__wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
  .works__colOne, .works__colTwo, .works__colThree{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}

/** ------------- Flow ---------------- */
.step{
  padding: 40px 50px;
  border-bottom: 1px solid #333333;
  display: flex;
  gap: 160px;
  align-items: center;
}

.step__heading{
  font-family: var(--textMeOne);
  text-align: center;
}

.step__heading p:first-child{
  font-size: 1.125rem;
}

.step__heading p{
  font-size: 2rem;
}

.step__contents > h4 {
  font-family: var(--zenMaruGothic);
  font-weight: 500;
  font-size: 1.375rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.step__paragraph__wrapper{
  font-size: 0.875rem;
}

.step__paragraph__wrapper p{
  letter-spacing: 1px;
}

.step__paragraph__wrapper p:first-child{
  margin-bottom: 5px;
}

#step__one{
  padding: 0 50px 40px 50px;
}

#step__one > .step__contents > .step__paragraph__wrapper > p#step__one__paragraph{
  line-height: 25px !important;
}

.step__paragraph__wrapper p br.page-break{
  display: block;
}

@media only screen and (max-width: 948px){
  .step{
    gap: 90px;
  }
}

@media only screen and (max-width: 892px){
  .step{
    flex-direction: column;
    gap: 30px;
    padding: 40px 0;
  }

  .step__contents > h4 {
    text-align: center;
  }

  #step__one{
    padding: 40px 0 40px 0;
  }
}

@media only screen and (max-width: 670px){

  .step__paragraph__wrapper p br.page-break{
    display: none;
  }
}




/** ------------- FAQs ----------------  */
section.faqs{
  max-width: 100%;
  background: rgb(250, 214, 74, .10);
}

.transition, ul li i:before, ul li i:after, .answers {
  transition: all 0.25s ease-in-out;
}

.flipIn, ul li, h1 {
  animation: flipdown 0.5s ease both;
}

.frequently__asked__questions__accordion__wrapper h2 {
  font-family: var(--zenMaruGothic);
  font-size: 1rem;
  line-height: 29px;
  font-weight: 700;
  letter-spacing: 1px;
  background-color: transparent;
  margin: 0;
  cursor: pointer;
}

.frequently__asked__questions__accordion__wrapper .answers {
  font-size: 0.875rem;
  line-height: 29px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  max-height: 800px;
  opacity: 1;
  transform: translate(0, 0);
  z-index: 2;
  margin-top: 20px;
}

.frequently__asked__questions__accordion__wrapper ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}

.frequently__asked__questions__accordion__wrapper ul li {
  padding: 30px 70px 30px 0;
  position: relative;
  margin: 0;
  border-top: 1px solid #333333;
  display: flex;
  flex-direction: column;
}

.frequently__asked__questions__accordion__wrapper ul li .question{
  display: flex;
  align-items: center;
}

.frequently__asked__questions__accordion__wrapper ul li .question > span{
  font-size: 2.5rem;
    position: absolute;
    left: 100%;
    transform: translateX(-100%);
    padding: 30px 0 30px 0;
    transition: all 0.5s linear;
}


.frequently__asked__questions__accordion__wrapper ul li:last-of-type {
  border-bottom: 1px solid #333333;
}

.frequently__asked__questions__accordion__wrapper ul li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  top: 0;
}

.frequently__asked__questions__accordion__wrapper ul li input[type=checkbox]:checked ~ .answers  {
  margin-bottom: 0;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
}


.frequently__asked__questions__accordion__wrapper ul li input[type=checkbox] ~ .question > span.expand-more-icon{
  display: none;
}

.frequently__asked__questions__accordion__wrapper ul li input[type=checkbox] ~ .question > span.expand-less-icon{
  display: block;
}

.frequently__asked__questions__accordion__wrapper ul li input[type=checkbox]:checked ~ .question > span.expand-more-icon{
  display: block;
}

.frequently__asked__questions__accordion__wrapper ul li input[type=checkbox]:checked ~ .question > span.expand-less-icon{
  display: none;
}




/** ------------- CONTACT ----------------  */
section.contact > .wrapper > p{
  font-size: 0.875rem;
  line-height: 30px;
  margin-bottom: 60px;
}

form{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

form > input, form > textarea{
  font-size: 1rem;
  padding: 20px;
  margin-bottom: 40px;
  border: 1px solid #E5E5E5;
}

form > textarea{
  resize: vertical;
  margin-bottom: 60px;
}

form > label{
  text-align: left;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

form > label > span{
  color: #F19D38;
}

form > input.submitBtn{
  font-family: var(--notoSansJP);
  align-self: center;
  background: #F5A70F;
  font-size: 1.125rem;
  padding: 23px 141px;
  color: var(--white-color);
  font-weight: 700;
  cursor: pointer;
}


form > p{
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 20px;
}

form > p > a{
  color: var(--dark-yellow-color);
}



/** --------- PRIVACY POLICY PAGE -------- */

section.privacy .wrapper{
  padding-top: 50px !important;
}

section.privacy h2.privacy__heading{
  font-size: 1.1875rem;
  font-family: var(--zenMaruGothic);
  font-weight: bold;
  text-align: center;
  margin-bottom: 35px;
  text-decoration: underline;
  text-underline-offset: 7px;
}

section.privacy p, section.privacy ol > li{
  font-size: 1rem;
  line-height: 28px;
  letter-spacing: 1px;
}

section.privacy p, section.privacy ol{
  margin-top: 10px;
}

section.privacy h2.policy__heading{
  font-size: 1.1875rem;
  font-family: var(--zenMaruGothic);
  font-weight: bold;
  text-align: left;
  margin-bottom: 20px;
  margin-top: 35px;
}

.policy__one ol, .policy__two ol, .policy__three ol{
  margin-left: 19px;
}

.policy__one ol li, .policy__two ol li, .policy__three ol li, .policy__four ol li{
  margin: 8px 0 8px 0;
}

.policy__four ol {
  list-style-type: none;
  margin-left: 19px;
}


/* @media only screen and (max-width: 675px){
  section.privacy h2.privacy__heading{
    font-size: 1.8rem;
    margin-bottom: 35px;
  }

  section.privacy h2.policy__heading{
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
} */

.last__revise{
  display: flex;
  align-items: center;
  justify-content: end;
}

.last__revise img{
  padding: 10px;
  width: 15.194%;
}


@media only screen and (max-width: 900px){
  .last__revise{
    display: flex;
    align-items:flex-end;
    justify-content: flex-end;
    flex-direction: column;
    margin-top: 50px;
  }

  .last__revise p{
    text-align: end;
  }
  
  .last__revise img{
    padding: 10px;
    width: 50%;
    text-align: center;
  }
}





@media only screen and (max-width: 675px){
  section.heading > img{
    width: 90%;
  }

  .wrapper{
    padding: 70px 50px;
  }

  .section__heading{
    margin-bottom: 35px;
  }

  section.heading{
    padding: 0 40px;
  }
  

  section.contact > .wrapper > p{
    font-size: 0.65rem;
    line-height: 20px;
  }

  section.about h2.about__heading{
    font-size: 1.8rem;
    margin-bottom: 35px;
  }
  /* .about__contents__wrapper p{
    line-height: 20px;
    font-size: 0.70rem;
  } */
}

@media only screen and (max-width: 668px){
  section.heading{
    padding: 0 20px;
  }

  .section__heading > p{
    font-size: 0.95rem;
  }

  .frequently__asked__questions__accordion__wrapper h2 {
    font-size: 0.90rem;
  }


  .frequently__asked__questions__accordion__wrapper p {
    font-size: 0.80rem;
  }
}

@media only screen and (max-width: 450px){
  section.heading > img{
    width: 100%;
  }

  .wrapper{
    padding: 55px 25px;
  }

  .section__heading > p{
    font-size: 0.80rem;
  }

  .frequently__asked__questions__accordion__wrapper ul li .question > span{
    padding: 20px 0 20px 20px;
  }

  .frequently__asked__questions__accordion__wrapper h2 {
    font-size: 0.85rem;
  }

  .frequently__asked__questions__accordion__wrapper p {
    font-size: 0.75rem;
    margin-bottom: 0;
    margin-top: 0;
  }

  form > input.submitBtn{
    font-size: 1rem;
    padding: 15px 45px;
  }

  form > p{
    font-size: 0.75rem;
  }

  section.about h2.about__heading{
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .about__contents__wrapper > .first__paragraph{
    margin-bottom: 30px;
  }

  /* .about__contents__wrapper p{
    line-height: 17px;
    font-size: 0.68rem;
  } */
}

/** --------- Footer || Bottom Navigation -------- */
footer{
  max-width: 100%;
  padding: 60px 50px 24px 50px;
  background: var(--dark-gray-color);
}

.footer__wrapper{
  max-width: 1300px;
  margin: 0 auto;
}

.bottom__nav{
  display: flex;
  justify-content: space-between;
  padding-bottom: 115px;
}

.site__title__wrapper{
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site__title__wrapper > a{
  text-decoration: none;
  color: var(--white-color);
  font-weight: 400;
}

.site__title__wrapper > a > p{
  font-family: var(--zenMaruGothic);
  font-size: 0.875rem;
  letter-spacing: 5%;
}

.site__title__wrapper > a > h4{
  font-family: var(--textMeOne);
  font-size: 1.875rem;
  letter-spacing: 0.1em;
}


.bottom__nav__links__wrapper{
  display: flex;
  gap: 50px;
  color: var(--white-color);
}

.bottom__nav__links__wrapper > a{
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white-color);
  letter-spacing: 2px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.bottom__nav__links__wrapper > a:hover{
  color: var(--light-yellow-color);
}

.copyright{
  display: flex;
  flex-direction: row;
}

.copyright{
  color: var(--white-color);
  letter-spacing: 4px;
  font-size: 0.75rem;
}

.copyright > a{
  text-decoration: none;
  color: var(--white-color);
}

@media only screen and (max-width: 900px){
  footer{
    text-align: left;
  }

  .bottom__nav{
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding-bottom: 50px;
  }

  .bottom__nav__links__wrapper {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .copyright{
    display: flex;
    justify-content: start;
    flex-direction: column;
  }

  .copyright > p:first-child{
    margin-bottom: 15px;
  }

  .copyright > p > span{
    display: none;
  }
}

