@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500&family=Titan+One&display=swap');
html {
  font-size: 10px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 400;
}

body.ja{
  line-height: 1.5;
  font-weight: 500;
}

body.ja h2{
  font-weight: 300;
}

body.agTop p{
  font-weight: 500;
}

.tableCell{
  display: table-cell;
}

.table{
  display: table;
}



.themeColor{
  background-color: #fcd7d6;
}

.lineHeightReset{
  line-height: 1;
}

body {
  background: linear-gradient(to top, #7b00e0, #fcd7d6);
  margin: 0;
  height: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.menuOpen {
  height: 100vh;
  overflow: hidden;
}

main{
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
}

h2{
  font-size: 5vh;
  font-weight: 300;
  letter-spacing: 0.2px;
}

body.home{
  text-align: center;
}

p{
  font-size: 2.5vh;
  letter-spacing: 0.25px;
  line-height: 1.3;
}

body.ja p{
  font-size: 2.3vh;
  line-height: 1.4;
}

ul li{
  list-style: none;
}

label{
  font-family: "Titan One", san-serif;
  color: #cb6bed;
}

.wbox{
  background-color: #fcd7d6;
  mix-blend-mode: lighten;
  border-radius: 45px;
  height: 100%;
  width: 400px;
  display: flex;
}

.container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.contentWrapper{
  position: absolute;
  width: calc(100vw - 300px);
  margin: 150px 0 0 150px;
  top: 0;
  left: 0;
  gap: 75px;
  height: calc(100% - 300px);
}

.contentWrapper h2, .contentWrapper p{
  padding: 40px;
  margin: 0;
}

.textWrapper{
  align-self: stretch;
  display: table;
  padding: 40px;
}

.title-container{
  align-self: stretch;
}

.textWrapper p{
  padding: 0;
  display: table-cell;
  vertical-align: middle;
}

.lang{
  background-color: #cb6bed;
  color: white;
  cursor: pointer;
  position: absolute;
  top: -10px;
  width: 230px;
  height: 130px;
  right: 120px;
  border-radius: 0;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  -webkit-border-top-right-radius: 150%;
  -webkit-border-bottom-left-radius: 650px;
  -webkit-border-bottom-right-radius: 250%;
  -moz-border-radius-topright: 150%;
  -moz-border-radius-bottomleft: 650px;
  -moz-border-radius-bottomright: 250%;
  border-top-right-radius: 150%;
  border-bottom-left-radius: 340px;
  border-bottom-right-radius: 300%;
  z-index: 1;
}

body.menuOpen .lang {
  z-index: 0;
}

.menu-container {
  background-color: #3e9bff;
  border-radius: 100%;
  color: white;
  cursor: pointer;
  position: absolute;
  width: 290px;
  height: 290px;
  right: 0;
  top: -120px;
  transition: all 0.3s;
}
.menu-container.full-menu {
  border-radius: 0;
  padding: 0 !important;
  position: aboslute;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  transition: all 0.3s;
}

.full-menu .menu {
  top: 40px;
  right: 40px;
  text-align: right;
}

.menu {
  color:black;
  font-size: 3.5rem;
  position: absolute;
  top: 140px;
  right: 40px;
  z-index: 100;
  transition: all 0.3s;
}
.menu i {
  opacity: 0.7;
  transform: scale(1);
  transition: all 0.3s;
  font-size: 5.5rem;
}
.menu i:hover {
  opacity: 1;
  transform: scale(1.2);
  transition: all 0.3s;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
}
.overlay.open {
  opacity: 0.9;
  visibility: visible;
  height: 100%;
}
.overlay.open li {
  animation: fadeInRight 0.5s ease forwards;
  animation-delay: 0.35s;
}
.overlay.open li:nth-of-type(2) {
  animation-delay: 0.4s;
}
.overlay.open li:nth-of-type(3) {
  animation-delay: 0.45s;
}
.overlay.open li:nth-of-type(4) {
  animation-delay: 0.5s;
}
.overlay nav {
  font-size: 4vh;
  font-family: "Titan One", san-serif;
  position: relative;
  height: 70%;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  text-align: center;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  position: relative;
  height: 100%;
  width: 70vw;
  text-align: left;
  line-height: 1.15;

}
.overlay ul li {
  display: block;
  height: 20%;
  height: calc(100% / 5);
  min-height: 50px;
  position: relative;
  opacity: 0;
}

.overlay ul li ul.submenu{
  height: calc((100% - 4vh) * 0.7);
  padding-left: 5vw;
  --myHeight: calc(70vh / 5);
  --myHeightB: calc(var(--myHeight) - 4vh);
  --myHeightC: calc(var(--myHeightB) * 0.15);
  margin-top: var(--myHeightC);
}

.overlay ul li ul.submenu li{
  min-height: 2.8vh;
  display: list-item;
  font-size: 2.8vh;
}

.overlay ul li a.inline-block{
  display: inline-block;
  color: black;
}

.overlay ul li a.inline-block:hover {
  left: 30px;
  transition: all 0.3s;
  transform: scale(1) translateX(10px);
}

.overlay ul li a {
  display: block;
  position: relative;
  color: #fcd7d6;
  text-decoration: none;
  overflow: hidden;
  opacity: 0.7;
  transform: scale(1);
  transition: all 0.3s;
}
.overlay ul li a:hover, .overlay ul li a:focus, .overlay ul li a:active {
  opacity: 1;
  transform: scale(1.2);
  transition: all 0.3s;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
h1 {
  font-size: 8vh;
  font-family: "Titan One", san-serif;
  border-radius: 100%;
  color: black;
  position: relative;
  width: 100%;
  height: auto;
  z-index: 60;
  margin: 20px 0 0 0;
}

body.home h1{
  transform: rotate(-8deg);
  text-align: center;
}


h1 span {
  color: black;
}

.blob {
  animation: blobby 4s infinite;
}

.blob2 {
  animation: blobby2 6s infinite;
}

@keyframes blobby {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes blobby2 {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}
svg {
  position: absolute;
  top: 0;
}

#svg-right {
  display: block;
  fill: #7b00e0;
  opacity: 0.5;
  right: 0;
  width: 60%;
  z-index: -10;
}

#svg-left {
  fill: #3e9bff;
  margin: 0;
  width: 60%;
  z-index: -10;
  left: 0;
}



/* toggle language */

label.tgl-btn{
  font-size: 2.4rem;
}

label.tgl-btn.l1{
  position: absolute;
  width: 120px;
  padding-left: 45px;
  padding-top: 6px;
  height: 5.8rem;
  z-index: 2;
  line-height: 1.15;
}

.tgl-btn.l1::after{
  margin-top:-29px;
  margin-left: -40px;
  z-index: -1;
}

label.tgl-btn.l2{
  position: absolute;
  margin-top: 1.3rem;
  margin-left: -41px;
  z-index: 2;
}

.tg-list {
  text-align: center;
  display: flex;
  align-items: center;
  margin: 30px 0 0 -25px;
}

.tg-list-item:hover {
  opacity: 1;
  transform: scale(1.2);
  transition: all 0.3s;
  transform-origin: center;
}

.tg-list-item {
  margin: 0 2em;
  height: 5.8rem;
  width: 121px;
  opacity: 0.7;
}

.tgl {
  display: none;
}
.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
  box-sizing: border-box;
}
.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
  background: none;
}
.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
  background: none;
}
.tgl + .tgl-btn {
  outline: 0;
  display: block;
  width: 4em;
  height: 2em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 82%;
  height: 100%;
}
.tgl + .tgl-btn:after {
  left: 0;
}
.tgl + .tgl-btn:before {
  display: none;
}
.tgl:checked + .tgl-btn:after {
  left: 80%;
}

.tgl-flat + .tgl-btn {
  padding: 2px;
  transition: all 0.2s ease;
  background: transparent;
  border: 7px solid #7b00e0;
  border-radius: 2em;
}
.tgl-flat + .tgl-btn:after {
  transition: all 0.2s ease;
  background: #7b00e0;
  content: "";
  border-radius: 1em;
}
.tgl-flat:checked + .tgl-btn {
  border: 7px solid #000;
}
.tgl-flat:checked + .tgl-btn:after {
  left: 78%;
  background: #000;
}

/* FLEX */

.inline-block{
  display: inline-block;
}

.flex{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex }

.inline-flex{display : -webkit-inline-box; display : -ms-inline-flexbox; display : -webkit-inline-flex; display : inline-flex; }

@media (min-width: 40em){
  .sm-flex{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex }
}

@media (min-width: 52em){
  .md-flex{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex }
}

@media (min-width: 64em){
  .lg-flex{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex }
}

.flex-column{ -webkit-box-orient:vertical; -webkit-box-direction:normal; -webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column }
.flex-wrap{ -webkit-flex-wrap:wrap; -ms-flex-wrap:wrap; flex-wrap:wrap }

.items-start{ -webkit-box-align:start; -webkit-align-items:flex-start; -ms-flex-align:start; -ms-grid-row-align:flex-start; align-items:flex-start }
.items-end{ -webkit-box-align:end; -webkit-align-items:flex-end; -ms-flex-align:end; -ms-grid-row-align:flex-end; align-items:flex-end }
.items-center{ -webkit-box-align:center; -webkit-align-items:center; -ms-flex-align:center; -ms-grid-row-align:center; align-items:center }
.items-baseline{ -webkit-box-align:baseline; -webkit-align-items:baseline; -ms-flex-align:baseline; -ms-grid-row-align:baseline; align-items:baseline }
.items-stretch{ -webkit-box-align:stretch; -webkit-align-items:stretch; -ms-flex-align:stretch; -ms-grid-row-align:stretch; align-items:stretch }

.self-start{ -webkit-align-self:flex-start; -ms-flex-item-align:start; align-self:flex-start }
.self-end{ -webkit-align-self:flex-end; -ms-flex-item-align:end; align-self:flex-end }
.self-center{ -webkit-align-self:center; -ms-flex-item-align:center; align-self:center }
.self-baseline{ -webkit-align-self:baseline; -ms-flex-item-align:baseline; align-self:baseline }
.self-stretch{ -webkit-align-self:stretch; -ms-flex-item-align:stretch; align-self:stretch }

.justify-start{ -webkit-box-pack:start; -webkit-justify-content:flex-start; -ms-flex-pack:start; justify-content:flex-start }
.justify-end{ -webkit-box-pack:end; -webkit-justify-content:flex-end; -ms-flex-pack:end; justify-content:flex-end }
.justify-center{ -webkit-box-pack:center; -webkit-justify-content:center; -ms-flex-pack:center; justify-content:center }
.justify-between{ -webkit-box-pack:justify; -webkit-justify-content:space-between; -ms-flex-pack:justify; justify-content:space-between }
.justify-around{ -webkit-justify-content:space-around; -ms-flex-pack:distribute; justify-content:space-around }

.content-start{ -webkit-align-content:flex-start; -ms-flex-line-pack:start; align-content:flex-start }
.content-end{ -webkit-align-content:flex-end; -ms-flex-line-pack:end; align-content:flex-end }
.content-center{ -webkit-align-content:center; -ms-flex-line-pack:center; align-content:center }
.content-between{ -webkit-align-content:space-between; -ms-flex-line-pack:justify; align-content:space-between }
.content-around{ -webkit-align-content:space-around; -ms-flex-line-pack:distribute; align-content:space-around }
.content-stretch{ -webkit-align-content:stretch; -ms-flex-line-pack:stretch; align-content:stretch }
.flex-auto{
  -webkit-box-flex:1;
  -webkit-flex:1 1 auto;
      -ms-flex:1 1 auto;
          flex:1 1 auto;
  min-width:0;
  min-height:0;
}
.flex-none{ -webkit-box-flex:0; -webkit-flex:none; -ms-flex:none; flex:none }

.order-0{ -webkit-box-ordinal-group:1; -webkit-order:0; -ms-flex-order:0; order:0 }
.order-1{ -webkit-box-ordinal-group:2; -webkit-order:1; -ms-flex-order:1; order:1 }
.order-2{ -webkit-box-ordinal-group:3; -webkit-order:2; -ms-flex-order:2; order:2 }
.order-3{ -webkit-box-ordinal-group:4; -webkit-order:3; -ms-flex-order:3; order:3 }
.order-last{ -webkit-box-ordinal-group:100000; -webkit-order:99999; -ms-flex-order:99999; order:99999 }

.grow-1{flex-grow: 1;}


/* bg */

.centerMargin{
  margin: 0 auto;
}

.vw80{
  width: calc(100vw - 150px);
}

ul.bg-270{
  padding: 0;
}


ul.bg-270 li{
  min-width: 270px;
}


.backgrounds{
  margin: 75px;
  border-radius: 75px;
  overflow: hidden;
}

.backgrounds ul li{
  height: calc(50vh - 75px);
  list-style: none;
}

.bgCover{
  background-size: cover;
}

.b1{
  background-image: url("https://ik.imagekit.io/7cnvczgmka/sl/b1.svg");
}
.b2{
  background-image: url("https://ik.imagekit.io/7cnvczgmka/sl/b2.svg");
}
.b3{
  background-image: url("https://ik.imagekit.io/7cnvczgmka/sl/b3.svg");
}
.b4{
  background-image: url("https://ik.imagekit.io/7cnvczgmka/sl/b4.svg");
}


@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 100/69){
  h1{
    margin: 80px 0 0 0;
  } 

  body.ja h1{
    margin-top: 30px;
  }
  
  h2{
    font-size: 3.6vh;
    padding: 15px 0;
  }

  body.home h2{
    padding: 15px 40px;
  }

  body.ja h2{
    font-size: 3.8vh;
  }

  .backgrounds ul li:last-child {
    display:block;
  }
  .wbox{
    height: calc(50vh - 150px);
    border-radius: 0;
    width: 100%;
  }

  #wbox1{
    -webkit-border-top-left-radius: 45px;
    -webkit-border-top-right-radius: 45px;
    -moz-border-radius-topleft: 45px;
    -moz-border-radius-topright: 45px;
    border-top-left-radius: 45px;
    border-top-right-radius: 45px;
  }

  #wbox2{
    -webkit-border-bottom-right-radius: 45px;
    -webkit-border-bottom-left-radius: 45px;
    -moz-border-radius-bottomright: 45px;
    -moz-border-radius-bottomleft: 45px;
    border-bottom-right-radius: 45px;
    border-bottom-left-radius: 45px;
  }
  
  .contentWrapper{
    height: unset;
    gap: unset;
    flex-direction: column
  }
  
  .backgrounds ul li:nth-child(7) {
    display: none;
  }   
  .backgrounds ul li:nth-child(8) {
    display: none;
  }   
 
  .backgrounds ul li:nth-child(9) {
    display: none;
  }    
  .backgrounds ul li:last-child {
    display: none;
  }  

  
  
}

@media (min-aspect-ratio: 100/69) and (max-aspect-ratio: 320/211){

  .backgrounds ul li:nth-child(9) {
    display: none;
  }    
  .backgrounds ul li:last-child {
    display: none;
  }
  h1{
    margin: 90px 0 0 0;
  }
  
}

@media (min-aspect-ratio: 320/211) {
  .backgrounds ul li:nth-child(7) {
    display: none;
  }   
  .backgrounds ul li:nth-child(8) {
    display: none;
  }   
  .backgrounds ul li:nth-child(9) {
    display: none;
  }    
  .backgrounds ul li:last-child {
    display: none;
  }
    ul.bg-270 li{
    min-width: 341.66666px;
  }

  .overlay nav {
    font-size: 4.5vh;
  }
  
  .overlay ul li ul.submenu{
    height: calc((100% - 4.5vh) * 0.7);
    padding-left: 5vw;
    --myHeight: calc(70vh / 5);
    --myHeightB: calc(var(--myHeight) - 4.5vh);
    --myHeightC: calc(var(--myHeightB) * 0.15);
    margin-top: var(--myHeightC);
  }
}

@media (orientation: portrait) {
  body.topNudge main{
    top: 50px;
  }

  .wbox{
    height: unset;
    border-radius: 0;
    min-width: 50vw;
  }

  #wbox1{
    -webkit-border-top-left-radius: 45px;
    -webkit-border-top-right-radius: 45px;
    -moz-border-radius-topleft: 45px;
    -moz-border-radius-topright: 45px;
    border-top-left-radius: 45px;
    border-top-right-radius: 45px;
  }

  #wbox2{
    -webkit-border-bottom-right-radius: 45px;
    -webkit-border-bottom-left-radius: 45px;
    -moz-border-radius-bottomright: 45px;
    -moz-border-radius-bottomleft: 45px;
    border-bottom-right-radius: 45px;
    border-bottom-left-radius: 45px;
  }
  
  .contentWrapper{
    height: unset;
    gap: unset;
  }

  .backgrounds ul li:last-child {
    display: none;
  }  
  
}

@media all and (max-width: 980px) {
  html, body{
    font-weight: 400;
  }

  h1 {
    font-size: 9vw;
    font-family: "Titan One", san-serif;
  }

  h2{
    font-weight: 300;
  }

  .wbox{
    height: unset;
  }


}
@media all and (max-width: 700px) {

  h1{
    font-size: 12vw;
    line-height: 1;
  }

  .container{
    height: unset;
  }

  .backgrounds ul li{
    height: 30vh;
  }

  .backgrounds{
    margin: 50px;
  border-radius: 50px;
  }

  .vw80{
    width: calc(100vw - 100px);
  }

  .contentWrapper{
    margin: 210px 50px 150px 50px;
    width: calc(100vw - 100px);    
  }

  .contentWrapper h2 {
    padding: 30px;
    margin: 0;
    font-size: 3.9vh;
  }

  body.ja .contentWrapper h2{
    font-size: 4.3vh;
  }

  .textWrapper{
    padding: 30px;
  }

  #wbox1{
    border-radius:0;
  }

  #wbox2{
    border-radius:0;
  }

  .menu-container {
    width: 240px;
    height: 250px;
    right: 0;
    border-radius: 0;
    -webkit-border-top-left-radius: 100px;
    -webkit-border-bottom-right-radius: 40px;
    -webkit-border-bottom-left-radius: 100%;
    -moz-border-radius-topleft: 100%;
    -moz-border-radius-bottomright: 40px;
    -moz-border-radius-bottomleft: 100%;
    border-top-left-radius: 110%;
    border-bottom-right-radius: 280px;
    border-bottom-left-radius: 220%;
  }

  .menu{
    right: 40px;
  }

  #svg-right {
    right: 0;
    width: 1350px;
    z-index: -20;
  }

}

@media all and (max-width: 440px) {
  .lang{
    left: 0;
    right: unset;
  }
}

@media all and (min-width: 980px) and (max-height: 620px) {
  .contentWrapper{
  gap: unset;
  height: calc(100% - 150px);
}

  .textWrapper{
  padding: 20px;
}

.wbox{
  border-radius: 0
}

#wbox1{
  -webkit-border-top-left-radius: 45px;
  -moz-border-radius-topleft: 45px;
  border-top-left-radius: 45px;
}

#wbox2{
  -webkit-border-top-right-radius: 45px;
  -moz-border-radius-topright: 45px;
  border-top-right-radius: 45px;
}

h1{
  transform: rotate(0deg);
}


}

@media all and (min-width: 700px) and (max-width: 980px) and (max-height: 620px) {
  p{
    font-size: 1.5rem;
  }

  body.ja p{
    font-size: 1.4rem;
  }
  
  .contentWrapper{
  gap: unset;
  height: calc(100% - 150px);
}

  .textWrapper{
  padding: 20px;
}

.wbox{
  border-radius: 0
}

#wbox1{
  -webkit-border-top-left-radius: 45px;
  -moz-border-radius-topleft: 45px;
  border-top-left-radius: 45px;
    -webkit-border-right-left-radius: 45px;
  -moz-border-radius-topright: 45px;
  border-top-right-radius: 45px;
  height: unset;
}

#wbox2{
  -webkit-border-bottom-right-radius: 45px;
  -moz-border-radius-bottomright: 45px;
  border-bottom-right-radius: 45px;
    -webkit-border-bottom-left-radius: 45px;
  -moz-border-radius-bottomleft: 45px;
  border-bottom-left-radius: 45px;
  height: unset;
}

h1{
  transform: rotate(0deg);
}

.contentWrapper h2, .contentWrapper p{
  padding: 20px;
}
}