@charset "UTF-8";

html{
  scroll-behavior: smooth;
}
body{
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-synthesis: none;
}
main{
  max-width:600px;
  background-color: #fff;
  color: #666;
  margin:0 auto;
  overflow: hidden;
}
.wrapper{
  padding: 0 16px;
}
.bg{
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("../img/bg-img.png"),
                    linear-gradient(145deg, #cce0f4 0%, #46abdd 33%, #1e9cd7 66%, #187bbc);
  background-repeat: repeat;
  z-index: -99;
}
h2,h3,h4,h5{text-align: center;}
h2{
  font-size: 28px;
}
h3{
  font-size: 24px;
  color: #2E86C7;
  margin-bottom: 30px;
}
h4{
  font-size: 22px;
  color: #2E86C7;
  padding: 45px 0 10px;
  margin-bottom: 20px;
}
h4 .underline{
  position: relative;
  border-bottom: 1px solid #2E86C7;
  padding: 4px 8px;
}
h4 .underline img{
  position: absolute;
  top: -15px;
  left: -50px;
}
p{
  font-size: 15.5px;
  font-weight: 500;
  line-height: 2;
}
.font-size_12{
  font-size: 12px;
}
.font-size_26{
  font-size: 26px;
}
.font-size_32{
  font-size: 36px;
}

/* 左からスライドイン */
.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1s ease-out, transform 0.5s ease-out;
}
.slide-in-left.show {
  opacity: 1;
  transform: translateX(0);
}
/* 右からスライドイン */
.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s ease-out, transform 0.5s ease-out;
}
.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}
/* 下からスライドイン */
.slide-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.slide-in-up.show {
  opacity: 1;
  transform: translateY(0);
}
.slide-in-up-2 {
  transform: translateY(50%);
  transition: transform 0.5s ease-out;
}
.slide-in-up-2.show {
  transform: translateY(0);
}
/* 上からスライドイン */
.slide-in-down {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.slide-in-down.show {
  opacity: 1;
  transform: translateY(0);
}
.delay {
  transition-delay: 1.2s;
}


#mv{
  background-image: url("../img/mv_back.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.logo img{
  width:15%;
  margin:2%;
}
h1{
  text-align: center;
}
h1 img{
  width:80%;
  vertical-align: bottom;
}
.mv_chara{
  display:flex;
  justify-content: center;
  align-items: center;
}
.chara_img img{
  width:100%;
  vertical-align: bottom;
}

#intro1{
  background-image: url(../img/intro1-bg.png),linear-gradient(0deg, #b9e8fd, #e2f5f7);
  background-repeat: no-repeat;
  background-position: left bottom;
  padding: 70px 0 80px;
}
#intro1 h2{
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 50px;
}
#intro1 p{
  padding: 0 8px;
}
.intro1-wave{
  background-color: #d6d6d6;
}


#intro2{
  background-image: linear-gradient(0deg, #ffffff, #d6d6d6 30%);
  padding: 50px 0;
}
#intro2 h2{
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 30px;
}
#intro2 h2 span{
  font-size: 34px;
  font-weight: 700;
}
#intro2 h2 rt{
  position: relative;
  top: -4px;
  font-size: 8px;
}
#intro2 .bubble-list{
  position: relative;
  max-width: 325px;
  height: 455px;
  margin: 0 auto 15px;
}
#intro2 .bubble-list li{
  position: absolute;
  width: 165px;
  height: 160px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.35);
  text-align: center;
  background-repeat: no-repeat;
  background-position: center;
  box-sizing: border-box;
}
#intro2 .bubble-list li:nth-child(1){
  left: 0;
  background-image: url(../img/bubble-1.png);
  padding: 45px 8px 0 0;
}
#intro2 .bubble-list li:nth-child(2){
  top: 10px;
  right: 0;
  background-image: url(../img/bubble-2.png);
  padding: 45px 0 0 0;
}
#intro2 .bubble-list li:nth-child(3){
  top: 145px;
  left: 26px;
  background-image: url(../img/bubble-3.png);
  padding: 60px 0 0 0;
}
#intro2 .bubble-list li:nth-child(4){
  top: 210px;
  right: 0;
  background-image: url(../img/bubble-4.png);
  padding: 42px 0 0 0;
}
#intro2 .bubble-list li:nth-child(5){
  bottom: 0;
  background-image: url(../img/bubble-5.png);
  padding: 57px 0 0 5px;
}
#intro2 .arrow{
  text-align: center;
}
.intro2-wave{
  background-color: #E2F5F7;
}

#intro3{
  background-color: #E2F5F7;
  padding: 20px 0 40px;
}
#intro3 .yomio{
  margin-bottom: -48%;
}
#intro3 .yomio img{
  width: 100%;
}
#intro3 .wrapper{
  position: relative;
  z-index: 10;
}
#intro3 h2{
  background-image: url(../img/intro3-title-bg.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
  font-size: 20px;
  line-height: 1.2;
  padding: 5% 0 5px;
  margin-bottom: -1px;
}
#intro3 h2 span{
  color: #2E86C7;
}
#intro3 .content{
  background-color: #fff;
  border-radius: 16px;
  padding: 30px 16px 40px;
}
#intro3 p{
  margin-bottom: 35px;
}
#intro3 .flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
#intro3 .flex li{
  width: calc(50% - 15px);
}
#intro3 .flex .text{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 54px;
  border: 1px solid #2E86C7;
  border-radius: 8px;
  margin-bottom: 15px;
}
#intro3 .flex .text p{
  color: #2E86C7;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  margin-bottom: 0;
}
#intro3 .flex .icon{
  text-align: center;
}

#flow{
  padding: 50px 0 80px;
}
#flow .text{
  padding: 0 8px;
  margin-bottom: 30px;
}
#flow .flow-list{
  padding: 0 8px;
  margin-bottom: 20px;
  background-image: url(../img/flow-bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
}
#flow .flow-list img{
  width: 100%;
}
#flow a:hover{
  opacity: 0.75;
}
#flow .flow-flex{
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5%;
}
#flow .flow-left{
  width: 15%;
  padding-top: 2%;
}
#flow .flow-right{
  display: flex;
  flex-wrap: wrap;
  width: 80.2%;
  align-content: space-between;
}


#flow small{
  display: block;
  font-size: 14px;
  line-height: 1.2;
  padding: 0 8px;
  margin-bottom: 40px;
}

.step-area {
  padding: 40px 8px 0;
  background-image: repeating-linear-gradient(90deg, #2e86c7, #2e86c7 2px, transparent 2px, transparent 9px);
  background-position: left top;
  background-repeat: repeat-x;
  background-size: 100% 1px;
}
.step-area p{
  margin-bottom: 20px;
}
.step-area .illust{
  overflow: hidden;
  background-color: #E2F5F7;
  margin-bottom: 50px;
}
.step-area .illust.left{
  border-radius: 0 16px 16px 0;
  margin-left: -24px;
}
.step-area .illust.right{
  border-radius: 16px 0 0 16px;
  margin-right: -24px;
}
.step-area .illust img{
  width: 100%;
}

#example{
  background-color: #FDFDEF;
  padding: 50px 0 0;
}
#example p{
  margin-bottom: 30px;
}
#example dl img{
  width: 100%;
  margin-bottom: 15px;
}
#example dt{
  color: #2E86C7;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 15px;
}
#example dt span{
  font-size: 0.8em;
}
#example dd{
  font-weight: 500;
  line-height: 2;
  margin-bottom: 70px;
}
.yomio_body{
  text-align: center;
}

#question{
  position: relative;
  background-color:#E2F5F7;
  border-radius: 16px 16px 0 0;
  margin-top: -40px;
  padding: 60px 0 30px;
}
#question::before{
  position: absolute;
  content: url(../img/yomio_hand.png);
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
}
#question p{
  padding: 0 8px;
  margin-bottom: 40px;
}
#question dl{
  padding: 0 8px;
}
#question dt{
  margin-bottom: 15px;
}
#question dt img{
  width: 100%;
}
#question dd{
  font-weight: 500;
  line-height: 2;
  margin-bottom: 40px;
}

#inquiry{
  padding: 45px 0 40px;
  background-color: #2E86C7;
}
#inquiry p{
  color: #fff;
  padding: 0 8px;
  margin-bottom: 20px;
}
.button a {
    background: #FFDC00;
    border-radius: 30px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 250px;
    padding: 10px 25px;
    color: #2E86C7;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 700;
    box-shadow: 4px 4px 0px 0px #fff;
}
.button a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #2E86C7;
    border-right: 3px solid #2E86C7;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
#profile{
  padding: 100px 0;
  background-image: url(../img/profile_bg.png);
  background-position: center;
  background-repeat: no-repeat;
}
#profile .chara{
  text-align: center;
  margin-bottom: 20px;
}
#profile h5{
  color: #2E86C7;
  font-size: 24px;
  margin-bottom: 25px;
}
#profile h5 span{
  font-size: 20px;
}
#profile p{
  padding: 0 8px;
  margin-bottom: 30px;
}

#footer{
  padding: 30px 0 20px;
  text-align: center;
}

.foam-btn{
  position: fixed;
  bottom: 5px;
  right: 5px;
  transition: 0.5s;
  z-index: 20;
}
.is-hidden {
  visibility: hidden;
  opacity: 0;
}

