@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600&display=swap');

html{color:#3E3E3E;background:#FFF;font-size: 14px;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,xmp{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{
font-style:normal;font-weight:normal;}
ol,ul{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:''}
abbr,acronym{border:0;font-variant:normal;}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%;}
legend{color:#000}
input,select,textarea,button{outline:none;}
body{color:#000;-webkit-text-size-adjust:100%;font-family: 'Noto Sans JP','游ゴシック',YuGothic,sans-serif;font-weight: 500;}
img{max-width: 100%;height: auto;vertical-align: middle;}
*{box-sizing: border-box;backface-visibility: hidden;}
a{text-decoration: none;color: black;}
.english{
  font-family: 'Josefin Sans', sans-serif;
}

@media screen and (max-width: 787px){
    html{font-size: 12px;}
}


/* トップページ */

html::before,
html::after,
body::before,
body::after {
  content: "";
  background: #FFEF2B;
  position: fixed;
  display: block;
  z-index: 1;
}
html::before {
  height: 15px; 
  width: 100vw;
  left: 0;
  top: 0;
}
html::after {
  width: 15px;
  height: 100vh;
  right: 0;
  top: 0;
}
body::before {
  height: 15px;
  width: 100vw;
  bottom: 0;
  left: 0;
}
body::after {
  width: 15px;
  height: 100vh;
  top: 0;
  left: 0;
}
.contents{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    position: relative;
}
.contents h1{
    margin-bottom: 20px;
}
.contents h1 img{
    width: 260px;
    text-align: center;
}
.contents h2{
    font-size: 1.2em;
    margin-bottom: 50px;
}
.contents .btn-area{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.contents .btn-yellow{
    display: block;
    width: 220px;
    background-color: #FFEF2B;
    font-size: 1.2em;
    font-family: 'Josefin Sans', sans-serif;
    padding: 20px 0 18px 0; 
    margin-right: 20px;
    position: relative;
    overflow: hidden;
    transition: ease .2s;
}
.contents .btn-yellow span {
    position: relative;
    z-index: 3;
    color: black;
}
.contents .btn-yellow:hover span{
    color:#FFEF2B;
}
.contents .bgskew01::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    background:#555555;
    width:120%;
    height: 100%;
    transform: skewX(-25deg);
  }
.contents .bgskew01:hover::before {
    animation: skewanime .5s forwards;
}
@keyframes skewanime {
    100% {
    left:-10%;
    }
}

.contents .btn-gray{
    display: block;
    width: 220px;
    background-color: #555555;
    font-size: 1.2em;
    font-family: 'Josefin Sans', sans-serif;
    padding: 20px 0 18px 0; 
    position: relative;
    overflow: hidden;
    transition: ease .2s;
}
.contents .btn-gray span {
    position: relative;
    z-index: 3;
    color: #FFEF2B;
}
.contents .btn-gray:hover span{
    color:black;
}
.contents .bgskew02::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    background:#FFEF2B;
    width:120%;
    height: 100%;
    transform: skewX(-25deg);
  }
.contents .bgskew02:hover::before {
    animation: skewanime .5s forwards;
}


/* モーダル */
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    color: black;
    text-align: center;
    height: 100vh;
    overflow: auto;
}
.modal__bg{
    background: #FFEF2B;
    height: 100vh;
    position: fixed;
    width: 100%;
}
.modal__content{
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 60%;
}
.js-modal-close{
    width: 100%;
}
.modal h2{
    font-size: 36px;
    margin-bottom: 30px;
}
.profile-area{
    display: flex;
    justify-content: center;
}
.profile-box{
    width: 240px;
    text-align: left;
    margin-top: 30px;
}
.profile-box:first-of-type{
    margin-right: 50px;
}
.profile-box h3{
    font-size: 1.3em;
    font-weight: 600;
    margin:10px 0 5px 0;
}
.profile-box .yomi{
    font-size: 0.8em;
    margin-bottom: 10px;
}
.profile-box .coment{
    font-size: 0.9em;
}
.modal .close-btn{
    font-weight: bold;
    display: block;
    border: 1px solid black;
    border-radius: 30px;
    padding: 7px 10px 5px 10px;
    width: 100px;
    margin: 60px auto 0 auto;
}


/* コピーライト */
.copyright-area{
    position: absolute;
    bottom: 30px;
    font-size: 0.8em;
}
.copyright-area i{
    color: #555555;
    font-size: 30px;
    margin-bottom: 15px;
}




@media screen and (max-width: 787px){
    
    html::before {
        height: 10px; 
      }
      html::after {
        width: 10px;
      }
      body::before {
        height: 10px;
      }
      body::after {
        width: 10px;
      }
    h1{
        width: 80%;
        margin: 0 auto;
    }
    .contents {
        width: 70%;
        margin: 0 auto;
    }
    .contents .btn-area{
        display: block;
        width: 220px;
        margin: 0 auto 20px auto;
    }
    .contents .btn-yellow {
        width: 70%;
        margin: 0 auto 10px auto;
        padding: 15px 0 13px 0;
    }
    .contents .btn-gray {
        width: 70%;
        margin: 0 auto;
        padding: 15px 0 13px 0;
    }
    .profile-area{
        display: block;
    }
    .profile-box{
        display: flex;
        width: 100%;
    }
    .profile-box .img{
        width: 70%;
        margin-right: 15px;
    }
    .profile-box h3 {
        margin: 0 0 5px 0;
    }
    .profile-box div{
        width: 70%;
    }
    .modal__content{
        width: 100%;
    	position: relative;
   	top: auto;
    	left: auto;
    	transform: none;
	padding:40px 40px 100px 40px;
    }
}