@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
  font-family: "Noto Sans JP", sans-serif;
  font-weight:400;
  font-style:normal;
  color: #212921;
  line-height: 30px;
  font-size: 18px;
}

.sp-only,.spacer{
    display: none;
 }

 .pc-only{
    display: inline;
}


#bosyu .tex {
    width: 107px;
    z-index: 8;
    position: fixed;
    bottom: 225px;
    left: 46px;
    transform: scale(0);
    transition: transform 0.2s ease-in-out 0.1s;
  }
  
  #text.up {
    transform: scale(1);
  }
  
  #bosyu #rotate {
    width: 140px;
    height: 140px;
    opacity: 0;
    z-index: 6;
    position: fixed;
    bottom: 195px;
    left: 30px;
    transition: opacity 0.1s ease-in-out 0.1s;
  }
  
  #bosyu #rotate.rotateup {
    opacity: 1;
  }

  @keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .rotate {
    animation: rotate 18s linear infinite;
  }
  
  #toiawase,#moushikomi{
    position: fixed;
    z-index: 5;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0% 100%);
    width: 250px;
    height: 90px;
    display: flex;
    align-items: center;
    left: -300px;
    transition: left 0.3s ease-in-out 0.05s;
  }

  #toiawase{
  bottom: 115px;
  background-image: linear-gradient(90deg,#07ca43,#0c8f00);
}
#moushikomi{
    transition: left 0.3s ease-in-out;
    justify-content: center;
    bottom: 15px;
    background-image: linear-gradient(90deg, rgb(255, 135, 36), #ff1515);    
}

  #toiawase a,#moushikomi a{
    text-decoration: none;
  }

  a #toiawase p,a #moushikomi p{
    text-align: center;
    margin-left:6px ;
    font-weight: 700;
    color: white;
    letter-spacing: -1px;
  }

  a #toiawase p .linkbold,a #moushikomi p .linkbold{
    font-size: 38px;
    letter-spacing: 1px;
    font-weight: 800;
  }

  a #moushikomi p .linkbold{
    letter-spacing: -1px;
  }

  #moushikomi img{
    width: 57px;
    margin: 0px 30px 0 10px;
  }

  #toiawase.slide,#moushikomi.slide{
    left:0px;
  }
  
/* 

  #button {
    z-index: 5;
    position: fixed;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0% 100%);
    background-image: linear-gradient(90deg, rgb(255, 135, 36), #ff1515);
    bottom: 15px;
    width: 250px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: -300px;
    transition: left 0.3s ease-in-out;
  }
  
  #button a {
    font-weight: 700;
    width: 100%;
    color: white;
    text-decoration: none;
    text-align: left;
    padding-left: 15px;
    display: block;
  }
  
  #button a p span {
    font-size: 35px;
  }
  
  #button a p {
    margin: 0;
  }
  
  #button.show {
    left:0px;
  }
  
  */
main{
    position: relative;
}

.m0{
    width: 100%;
    /* opacity: 0; */
    transition: opacity 1.5s ease-in;
}

  .m0.fade-in {
    opacity: 1;
  }

.m1{
    width: 80%;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;   
}

.load-hidden {
    visibility: hidden;
}

.se1{
    margin: 60px 0;
    text-align: center;
}

.se1-2{
    width: 55%;
}

.se1 div{
    background-color: #3dab4a;
    max-width:800px;
    height: 130px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.se1 p {
    color: white;
    text-align: left;
    padding-left: 60px;
}

.se1 div img {
    position: absolute;
    bottom: 15px;
    width:45px;
    right: 25px;
}


.se2{
    text-align: center;
    background: repeating-linear-gradient(-45deg, rgba(249, 252, 247, 1), rgba(249, 252, 247, 1) 10px, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 1) 20px);
}

.se2 .se2-4{
    padding-top: 30px;
    padding-bottom: 50px;
}

.se2 h2{
    font-size: 40px;
}

.se2 h2 span{
    font-size: 80px;
    color: #3dab4a;
}

.se2 p{
    width: 900px;
    margin: 0 auto;
    /* padding-bottom: 10px; */
}

.se2 img{
    width: 55%;
}

.se2 .se2-5{
    margin: 40px auto 60px;
}

.pro-1{
    background-image: url(pro1.png);
    background-size:cover ;
}

.pro-1 img{
    width: 55%;
    display: block;
    margin: 0px auto;
    padding-top:50px ;
}

.pro-1 p{
    color: white;
    width: 730px;
    text-align: center;
    display: block;
    margin: 50px auto 0px;
    padding-bottom: 60px;
}

.homa{
    display: flex;
    justify-content: center;
    position: relative;
    margin: 30px auto;
}

.con{
    display: flex;
    width: 700px;
    justify-content: space-around;
    align-items: end;
}


.homabg{
    background-image: url(homabg.png);
    background-size:70%;
    background-repeat:no-repeat;  
    background-position: bottom 0px left 180px;
}

.wadabg{
    background-image: url(wadabg.png);
    background-size:70%;
    background-repeat:no-repeat;  
    background-position: bottom 0px left 0px;
}

.homa img,.wata img{
    height: 500px;
}

.homa p{
    font-weight: 500;
    font-size: 12px;
    line-height: 19px;
}

.homa p span{
    font-family: "Noto Serif JP", serif;
    font-size: 50px;
    font-weight:800;
    line-height: 100px;
    position: relative;
    display: inline-block;
}

.homa p span::after {
    z-index: -1;
    content: '';
    position: absolute;
    left: 0;
    bottom: 23px;
    width: 100%;
    height: 8px;
    background-color: rgb(29, 96, 0,0.5);
}

.italic{
    font-family: "Noto Serif JP", serif;
    font-style: italic;
    width: 310px;
}



.homa div .r{
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    line-height: 18px;
    font-size: 15px;
    color: #475d53;
    margin-bottom: 30px;
}


.se3{
    background-color: #e5f6ed;
    display: flex;
    justify-content: center;
}

.se3 div{
    background-color: white;
    border-radius: 20px;
    width: 55%;
    padding-bottom: 60px;
    margin: 60px auto; 
    position: relative;
}

.se3-6{
    width: 70%;
    margin: 60px auto 5px 60px;

}

.se3-7{
    position: absolute;
    width: 230px;
    bottom: 0;
    right: 30px;
}

.se3 a{
    font-weight: 700;
    text-decoration: none;
    color: white;
    display: inline-block;
    position: relative; /* 追加 */
    left: 60px; /* 追加 */
    top: 20px;
}

.se3 a p{
    line-height: 35px;
    font-size: 25px;
    margin:0;
    padding: 20px 40px ; 
    text-align: center;
    /* width: 100%; */
    border-radius: 15px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); 
    background-image: linear-gradient(90deg, rgb(250, 191, 81), rgb(250, 143, 20));
}

.se3 a p span{
    font-size: 40px;
}

.pc{
    display: none;
}

.se4{
    background-color: #0e9a50;
    display: flex;
    justify-content: center;
}

.se4 div{
    width: 55%;
    display: flex;
    margin: 60px auto;
}

.se4 img{
    width: 100%;
}

.you{
    display: flex;
    justify-content: center;
    position: relative;
}

.you img{
    margin: 50px auto;
    width: 55%;
}

.you iframe{
    width: 49%;
    height: 49%;
    position: absolute;
    transform:translateY(-32%) ;
    top: 50%;
}



footer{
    display: flex;
    justify-content: center;
    background-color: #666666;
    margin-bottom: 0 ;
}

footer img{
    width: 300px;
    margin: 30px auto;
}

@media (max-width: 768px) { 
    body{
        font-size: 12px;
        font-weight: 500;
    }
    .pc-only{
        display: none;
    }
     .sp-only,.spacer{
        display: block;
     }

     .spacer{
        height: 2px;
     }

    #bosyu .tex {
        width: 37px;
        bottom: 96px;
        left: 10px;
        transition: transform 0.2s ease-in-out;     
      }
       
      #bosyu #rotate {
        width: 50px;
        height: 50px;
        bottom: 85px;
        left: 4px;
        transition: all 0.1s ease-in-out;
      }

      #toiawase,#moushikomi{
        width: 67px;
        justify-content: start;
        align-items: center;
        left: -100px;
      }
    
      #toiawase{
        height: 42px;
      bottom: 46px;
    }
    #moushikomi{
        height:35px;
        bottom: 4px;
        background-image: linear-gradient(90deg, rgb(255, 135, 36), #ff1515);    
    }
        
      a #toiawase p,a #moushikomi p{
        text-align: center;
        /* margin-left:6px ; */
        font-weight: 500;
        color: white;
        font-size: 8px;
        line-height: 1.2em;
      }
    
      a #toiawase p .linkbold{
        font-size: 11px;
        letter-spacing: 0px;
        font-weight: 800;
      }
      a #moushikomi p .linkbold{
        font-size: 12px;
        font-weight: 800;

          }
    
      a #moushikomi p .linkbold{
        letter-spacing: -1px;
      }
  
    main{
        display: flex;
        justify-content: center;
    }
    .m0{
        width: 120%;
        overflow: hidden;
    }

    .m1{
        width: 95%;
    }
    .se1{
        margin: 20px 0;
    }
    .se1 div{
        margin-top: 0px;
    }
    .se1-2,.se1 div{
        width: 90%;
    }
    .se1 p {
        line-height: 18px;
        padding: 0px 20px; 
    }
    .se1 div img {
        width: 20px;
    }
    .se1 div img {
        bottom: 12px;
        width:50px;
        right: 15px;
        opacity: 0.4;
    }
    .sp{
        display: none;
    }
    .se2{
    background: repeating-linear-gradient(-45deg, rgba(249, 252, 247, 1), rgba(249, 252, 247, 1) 4px, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 1) 8px);
    }

    .se2 .se2-4{
        padding-top: 15px;
    padding-bottom: 5px;
    }
    .se2 h2{
        font-size: 18px;
        padding-top: 0px;
    }
    .se2 h2 span{
        font-size: 30px;
    }
    .se2 p{
        line-height: 18px;
        width: 90%;
        padding-bottom: 10px;
    }
    .se2 img{
        width: 90%;
    }
    
    .se2 .se2-5{
        margin: 10px auto;
    }
    .se3 div{
        padding-bottom: 30px;
        width: 90%;
        margin: 20px auto;
    }
    .se3-6{
        width: 80%;
        margin: 20px auto auto 20px;
    }
    .se3-7{
        width: 90px;
        bottom: 0;
        right: 10px;  
    }
    .se3 a{
        left: 20px; 
        top: 10px;
    }
    
    .se3 a p{
        font-weight: 700;
        line-height: 18px;
        font-size: 11px;
        margin:0 ;
        padding: 10px 7px; 
        text-align: center;
        width: 100%;
    }
    
    .se3 a p span{
        font-size: 20px;
    }
    .pc{
        display: inline;
    }
    .se4{
        background-color: #0e9a50;
        display: flex;
        justify-content: center;
    }
    
    .se4 div{
        width: 70%;
        display: flex;
        margin: 10px auto;
    }
    
    .se4 img{
        width: 100%;
    }

    
.you img{
    margin: 20px auto;
    width: 95%;
}

.you iframe{
    width: 75%;
    height: 45%;
}

   footer img{
        width: 100px;
        margin: 20px auto;
    }


    .pro-1 img{
        width: 80%;
        padding-top:30px ;
    }
    .pro-1 p{
        width: 80%;
        line-height: normal;
        margin: 10px auto 0px;
        padding-bottom: 20px;
    }


    .homa{
        /* display: flex;
        justify-content: center;
        position: relative; */
        margin: 30px auto;
    }
    
    .con{
        /* display: flex; */
        width: 90%;
        justify-content: space-around;
        align-items: end;
    }
    
    
    .homabg{
        background-size:90%;
        background-position: bottom 0px left 0px;
    }
    
    .wadabg{
        background-size:90%;
        background-position: bottom 0px left 0px;
    }
    
    .homa img{
        height: 230px;
    }
    
    .homa p{
        font-weight: 500;
        font-size: 10px;
        line-height: normal;
    }
    
    .homa p span{
        font-family: "Noto Serif JP", serif;
        font-size: 25px;
        font-weight:800;
        line-height: 50px;
        position: relative;
        display: inline-block;
    }
    
    .homa p span::after {
        bottom: 12px;
        width: 100%;
        height: 8px;
        background-color: rgb(29, 96, 0,0.5);
    }
    
    .italic{
        font-family: "Noto Serif JP", serif;
        font-style: italic;
        width: 180px;
    }
    
    
    
    .homa div .r{
        font-family: "Poppins", sans-serif;
        font-weight: 800;
        line-height: normal;
        font-size: 8px;
        color: #475d53;
        margin-bottom: 0px;
    }
}

