/*header*/
header{
    width: 100%;
    height: 90px;
    background: linear-gradient(blanchedalmond, white);
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    border-bottom: chocolate 5px solid;
}
header img{
    width: 15%;
    height: auto;
}
@media(max-width: 750px){
    header img{
        width: 38%;
        height: auto;
    }    
}
/*リンクの形状*/
#page-top a{
    display: flex;
    justify-content: center;
    align-items: center;
    background: chocolate;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    color: beige;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.3s;
}
#page-top a:hover{
    background: rebeccapurple;
}
/*リンクを固定*/
#page-top{
    position: fixed;
    right: 10px;
    z-index: 2;
    opacity: 0;
    transform: translateY(100px);
}
/*上に上がる動き*/
#page-top.UpMove{
    animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
    from{
        opacity: 0;
        transform: translateY(100px);        
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
/*下に下がる動き*/
#page-top.DownMove{
    animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
    from{
        opacity: 1;
        transform: translateY(0);}
        to{
            opacity: 1;
            transform: translateY(100px);
        }
    }

/*header*/
/*ボタン外側*/
.openbtn{
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background: lightpink;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
}
/*ボタン内側*/
.openbtn span{
    display: inline-block;
    /*アニメーション*/
    transition: all .4s;
    position: absolute;
}
.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
    height: 2px;
    background: white;
    width: 62%;
    left: 10px;
}
.openbtn span:nth-of-type(1){
    top: 13px;
}
.openbtn span:nth-of-type(2){
    top: 19px;
    left: 11px;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: black;
}
.openbtn span:nth-of-type(3) {
    top: 36px;
}
.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
.mainblur{
    filter: blur(5px);
}
/*ナビゲーション*/
#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overfow-scrolling: touch;
}
#g-nav ul{
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
nav ul{
    list-style: none;
    text-align: center;
}
nav ul li a{
    display: inline-block;
    text-decoration: none;
    color: black;
    padding: 10px;
}
#g-nav{
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    background: lightpink;
    transition: all 0.6s;
}
#g-nav.panelactive{
    right: 0;
    opacity: 1;
    z-index: 999;
}
.gnavi li{
    color: rgba(255,255,255,0);
}
.gnavi li a{
    position: relative;
}
.gnavi li.current a,
.gnavi li a:hover{
    color: lightskyblue;
}
.gnavi li a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: yellow;
    transition: all .3s;
    transform: scale(0,1);
    transform-origin: center top;
}
.gnavi li.current a::after,
.gnavi li a:hover::after{
    transform: scale(1,1);
}
/*トップイメージ*/
.top{
    text-align: right;    
    background: linear-gradient(100deg, rgb(243, 195, 195), white);
    display: flex;
    justify-content: space-around;
    align-items: flex-end;    
}
@media(max-width: 750px){

}
.top img{
    position: relative;
    margin: 3px;
    filter: opacity(0.54);
}
.sub{
    position: absolute;
    top: 13%;
    left: 5%;
    text-shadow: 0 0 20px rgba(250, 250, 60, 0.6);
    font-family: serif;
    font-weight: bold;
}
@media(max-width: 750px){
    .sub{
        font-size: 20px;
        top: 3%
    }
}
.title{
    position: absolute;
    top: 21%;
    left: 15%;
    text-shadow: 0 0 15px rgb(248, 143, 6);
    font-family: serif;
    font-size: 300%;    
}
@media(max-width: 750px){
    .title{
        font-size: 30px;
        top: 7%;
    }
}
.oshirase{
    font-family: serif;
    border-bottom: 1px dashed brown;
}
.oshirase h2{
    background: linear-gradient(90deg,rgb(236, 198, 139), white);
}
.eigyoujikan img{
    width: 65%;
    height: 65%;
    margin-left: 20%;
    margin-right: 20%;
}
.thirdeyear{
    margin-left: 20%;
    margin-right: 20%;
    display: none;
    border: 5px double brown;
}
/*マッサージメニュー*/
.menu{
    font-family: serif;
    font-style: inherit;
    text-shadow: 2px 2px 2px blanchedalmond;
}
.menu h1{
    background: linear-gradient(90deg,rgb(236, 198, 139), white);
}
.menu h2{
    text-align: center;
    background: linear-gradient(90deg,rgb(236, 198, 139), white);
}
.menu h3{
    text-align: center;
}
#mnaiyou{
    display: flex;
    justify-content: center;
}
@media(max-width: 750px){
    #mnaiyou{
        display: block;
        margin-left: 25%;
        margin-right: 25%;
    }
}
.card {
    width: 250px;
    height: 315px;
  }
  .card:nth-child(2) {
    margin-right: 10px;
    margin-left: 10px;
  }  
  .picture img {
    width: 100%;
    height: 200px;
  }    
  .description {
    width: 100%;
    height: 145px;
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
  }
  .description p {
    font-size: 13px;
    color: dimgray;
  }
  /*トレーニングメニュー*/
#tnaiyou{
    display: flex;
    justify-content: center;
}
.card {
    width: 500px;
    height: 500px;
  }
.card:nth-child(2) {
    margin-right: 10px;
    margin-left: 10px;
}
.video video {
    width: 100%;
    height: 200px;
}
.description {
    width: 100%;
    height: 145px;
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
}
.description p {
    font-size: 13px;
    color: dimgray;
}
/*美容ダイエット*/
#bnaiyou{
    display: flex;
    justify-content: center;
    margin-bottom: 7%;
}
@media(max-width: 750px){
    #bnaiyou{
        display: block;
        margin-left: 25%;
        margin-right: 25%;
    }
}
.card {
    width: 250px;
    height: 315px;
}
@media(max-width: 750px){
    .card{
        margin-bottom: 1%;
    }
}
.card:nth-child(2) {
    margin-right: 10px;
    margin-left: 10px;
}
.picture img {
    width: 100%;
    height: 200px;
}
.description {
    width: 100%;
    height: 145px;
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
}
.description p {
    font-size: 13px;
    color: dimgray;
}
/*美容ダイエットお客様の声*/
#byouser{
    display: flex;
    justify-content: center;
}
.card {
    width: 300px;
    height: 315px;
}
.card:nth-child(2) {
    margin-right: 10px;
    margin-left: 10px;
}
.picture img {
    width: 100%;
    height: 200px;
}
.description {
    width: 100%;
    height: 145px;
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
}
.description p {
    font-size: 13px;
    color: dimgray;
}
/*キャスト紹介*/
#cast{
    display: flex;
    justify-content: center;
    margin-bottom: 20%;
}
@media(max-width: 750px){
    #cast{
        display: block;
        margin-left: 25%;
        margin-right: 25%;
        margin-bottom: 60%;
    }
}
.card {
    width: 250px;
    height: 315px;
  }
  @media(max-width: 750px){
    .card{
        margin-bottom: 80%;
    }
  }  
  .card:nth-child(2) {
    margin-right: 10px;
    margin-left: 10px;
  }  
  .picture img {
    width: 95%;
    height: 230px;
  }  
  .description {
    width: 100%;
    height: 145px;
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
  }
  .description h4 {
    font-size: 15px;
    color: rgb(77, 67, 67);
  }  
  .description p {
    font-size: 13px;
    color: dimgray;
  }
  /*footer*/
footer{
    clear: left; 
    background-color: chocolate;
    padding: 40px;
}
footer ul{
    list-style-type: none;
    margin: 0 0 5px;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

footer ul li{
    margin: 0 0 0 0px;
}
footer ul li a,
footer ul li a:link,
footer ul li a visited{
    text-decoration: none;
    font-size: 13px;
    font-family: serif;
    color: black;
    background: chocolate;
}
@media (max-width: 480px){
    footer{
        clear: left; 
        background-color: chocolate;
        padding: 20px;
    }
    footer ul{
        list-style-type: none;
        margin: 0 0 5px;
        padding: 0;
        display: flex;
        justify-content: flex-end;
    }
    
    footer ul li{
        margin: 0 0 0 10px;
    }
    footer ul li a,
    footer ul li a:link,
    footer ul li a visited{
        text-decoration: none;
        font-size: 3px;
        font-family: serif;
        color: black;
        background: chocolate;
    }
    
    footer ul li a:hover{
        color: white;
        border-bottom: 1px solid white;
    }
    footer p,a{
        color: black;
        font-family: serif;
        list-style: none;
    }
    footer a:hover{
        color: burlywood;
    }
}
footer ul li a:hover{
    color: white;
    border-bottom: 1px solid white;
}
footer p,a{
    color: black;
    font-family: serif;
    list-style: none;
    text-align: right;
}