@charset "UTF-8";

/* 共通 */
html{
    font-size: 62.5%;
}

body{
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow-x: clip;
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    "Meiryo",
    sans-serif;
    animation: bugfix infinite 1s;
    -webkit-animation: bugfix infinite 1s;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.15);
}

@keyframes bugfix {
    from {
      padding: 0;
    }
    to {
      padding: 0;
    }
}
@-webkit-keyframes bugfix {
    from {
        padding: 0;
    }
    to {
        padding: 0;
    }
}

a{
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

img{
    width: 100%;
}

dd{
    margin: 0;
}

p{
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

h2{
    font-size: 2.8rem;
    color: #1e1e1e;
    text-align: center;
    position: relative;
}

h2::before, h2::after{
    vertical-align: middle;
    transform: scale(0.3);
    position: absolute;
    top: -18px;
}

h2::before{
    content: url('../images/headline_left.png');
    left: 0;
}

h2::after{
    content: url('../images/headline_right.png');
    right: 0;
}

h3{
    margin: 0 0 2em;
    width: 100%;
    font-size: 1.6rem;
    color: #ffffff;
    text-align: center;
    padding: 0.5em 0;
}

.wrapper{
    width: 94%;
    margin: 0 auto;
    overflow: hidden;
}

/* ヘッダー */
header{
    width: 100%;
    max-width: 500px;
    position: fixed;
    top: 0;
    z-index: 3;
    padding: 0.5em 0;
    background: #fff;
}

h1{
    max-width: 110px;
    margin: 0 auto;
}


/* メニュー */
#overlay-button {
    position: absolute;
    right: 0.8em;
    top: 0.8em;
    padding: 26px 11px;
    z-index: 20;
    cursor: pointer;
    user-select: none;
  }
  #overlay-button span {
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: #4b4b4b;
    position: relative;
    display: block;
    transition: all .2s ease-in-out;
  }
  #overlay-button span:before {
    top: -10px;
    visibility: visible;
  }
  #overlay-button span:after {
    top: 10px;
  }
  #overlay-button span:before, #overlay-button span:after {
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: #4b4b4b;
    position: absolute;
    content: "";
    transition: all .2s ease-in-out;
  }
  #overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
    background: #4b4b4b;
  }
  
  input[type=checkbox] {
    display: none;     
  }
  
  input[type=checkbox]:checked ~ #overlay {
    visibility: visible; 
  }
  
  input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
    background: transparent;
    
    
  }
  input[type=checkbox]:checked ~ #overlay-button span:before {
    transform: rotate(45deg) translate(7px, 7px);
  
  }
  input[type=checkbox]:checked ~ #overlay-button span:after {
    transform: rotate(-45deg) translate(7px, -7px);
  
  
  }
  
  #overlay {
    height: 80%;
    width: 100%;
    background-color: #ffffff;
    z-index: 10;
    visibility: hidden;
    position: relative;
    top: 3rem;
    display: none;
  }
  #overlay-input:checked ~ #overlay {
    display: block;
  }
  #overlay ul {
    text-align: center;
    height: 84vh;
    padding-left: 0;
    list-style-type: none;
  }
  #overlay ul li {
    padding: 1.8em;
  }
  #overlay ul li a {
    color: #0C5BA8;
    text-decoration: none;
    font-size: 2.2em;
  }

  #overlay h2{
    position: relative;
    margin-top: 20rem;
  }

/* メインビジュアル */
.mainvisual img{
    padding-top: 13.4%;
}

/* ピックアップメニュー */
.menu ul{
    display: flex;
    justify-content: space-between;
    margin-top: -0.3em;
}

.menu li{
    width: 50%;
}

.menu li a{
    display: block;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    color: #ffffff;
    font-weight: bold;
    padding: 1.2em 0;
}

.menu-reserved{
    background: #6E8BBE;
}

.menu-access{
    background: #CA72A3;
}

/* about */
.about{
    padding: 8em 0;
    background-image: url(../images/bg_arrow_left.png), url(../images/bg_arrow_right.png);
    background-position: left 340px, right top;
    background-repeat: no-repeat;
    background-size: 16%;
}

.about p{
    text-align: center;
    font-size: 1.8rem;
    line-height: 2.6;
    margin-bottom: 4em;
}

.about iframe{
    width: 100%;
    aspect-ratio: 16/9;
}

/* お知らせ */
.news{
    padding: 4em 0;
}

/* サービス紹介 */
.service{
    background-image: url(../images/bg_service.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: left center;
}

.service ul{
    margin-bottom: 2em;
}

.service-image{
    margin-bottom: 2em;
}

.service-detail{
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 2em;
}

.price{
    font-size: 2.4rem;
    font-weight: bold;
    vertical-align: end;
}

.yen{
    font-size: 1.2rem;
}

.service-txt{
    font-size: 1.2rem;
}

.para-odd{
    width:80%;
    margin:2em 0 0 4em;
    display:inline-block;
    transform:skewX(8deg);
}

.para-odd h3{
    margin-left: -2em;
}

.para-odd .no-skew{
    transform:skewX(-8deg);
}

.para-odd .service-image{
    width: 80%;
    margin-left: 2em;
}

.para-odd .service-detail{
    width: 90%;
    margin-left: 2em;
}

.para-odd .service-txt{
    width: 92%;
    margin-left: 3.4em;
    margin-bottom: 2em;
}

.para-odd .no-skew-txt{
    display: block;
    transform:skewX(-8deg);
}

.para-even{
    width:80%;
    margin:2em 0 0 4em;
    display:inline-block;
    transform:skewX(-8deg);
}

.para-even h3{
    margin-left: 2em;
}

.para-even .no-skew{
    transform:skewX(8deg);
}

.para-even .service-image{
    width: 80%;
    margin-left: 4em;
}

.stretch-conditioning{
    width:80%;
    margin:2em 0 0 4em;
    display:inline-block;
    transform:skewX(-5deg);
}

.stretch-conditioning h3{
    transform:skewX(-5deg) !important;
    margin-left: 1.2em;
}

.stretch-conditioning .no-skew{
    transform:skewX(5deg);
}

.para-even .service-detail{
    width: 90%;
    margin-left: 1em;
}

.para-even .service-txt{
    width: 92%;
    margin-left: -0.8em;
    margin-bottom: 2em;
}

.para-even .no-skew-txt{
    display: block;
    transform:skewX(8deg);
}

.para-odd h3{
    transform:skewX(8deg);
}

.para-even h3{
    transform:skewX(-8deg);
}

.r-academy{
    background: rgba(202,114,163,0.3);
}

.r-academy h3{
    background: #C674A5;
}

.r-academy .price{
    color: #C674A5;
}

.stretch-conditioning{
    background: rgba(98,184,166,0.3);
}

.stretch-conditioning h3{
    background: #62B8A6;
}

.stretch-conditioning .price{
    color: #62B8A6;
}

.relaxation{
    background: rgba(255, 185, 87, 0.3);
}

.relaxation h3{
    background: #ff912b;
}

.relaxation .price{
    color: #ff912b;
}

.soccer{
    background: rgba(110,182,119,0.3);
}

.soccer h3{
    background: #6EB677;
    margin-left: 1.8em;
}

.soccer .price{
    color: #6EB677;
}

.jjmix{
    background: rgba(229,168,35,0.3);
}

.jjmix h3{
    background: #E5A823;
}

.jjmix .price{
    color: #E5A823;
}

.start-academy{
    background: rgba(229, 116, 35, 0.3);
}

.start-academy h3{
    background: #e58e23;
    margin-left: 1.8em;
}

.start-academy .price{
    color: #e58e23;
}

.reserve-jump{
    text-decoration: underline;
    font-size: 1.4rem;
    line-height: 1.2;
    color:#e58e23;
}

.jjmix .service-detail{
    display: block;
    text-align: center;
    margin-left: 3.4em;
}

.start-academy .service-detail{
    display: block;
    text-align: center;
    margin-left: 0em;
}


/* 予約 */
.reserve{
    padding: 2em 0;
    text-align: center;
}

.reserve p{
    color: #0C5BA8;
    font-weight: bold;
    font-size: 2.4rem;
    margin-bottom: 0.6em;
}

.reserve ul li{
    margin-bottom: 1em;
}

.reserve ul li a{
    display: block;
    width: 100%;
    padding: 1.4em 0;
    font-size: 1.4rem;
    border-radius: 10px;
}

.reserve ul li a:active{
    color: #fff;
}

.reserve .r-academy{
    background: #C674A5;
}

.reserve .relaxation{
    background: #ff912b;
}

.reserve .conditioning{
    background: #62B8A6;
}

.reserve .soccer{
    background: #6EB677;
}

.reserve .physical{
    background: #E5A823;
}

.reserve .physical2{
    background: #e58e23;
}

/* SNS */
.bg-box{
    background-image: url(../images/bg_arrow_left.png), url(../images/bg_arrow_right.png);
    background-position: left 660px, right top;
    background-repeat: no-repeat;
    background-size: 16%;
}

.sns{
    padding: 4em 0;
}

.sns ul{
    display: flex;
    justify-content: center;
    gap: 8px;
}

.sns li{
    width: 30%;
}

/* アクセス */
.access{
    padding: 4em 0;
}

.access-box iframe{
    width: 100%;
    height: 40vh;
}

.access-box p{
    font-size: 1.6rem;
    text-align: left;
}

/* スクール */
.school{
    padding: 4em 0;
}

.school dl{
    display: flex;
    justify-content: center;
    gap: 35px;
    align-items: center;
}

.school dt{
    width: 50%;
}

.school .bold{
    font-weight: bold;
    margin-bottom: 0.5em;
}

footer{
    background: #0C5BA8;
    padding: 1em 0;
}

.school-logo{
    width: 88%;
}

footer p{
    font-size: 1.1rem;
    margin-bottom: 1.5em;
}

.link{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 1em;
}

.sanko{
    width: 80px;
}

.sdgs{
    width: 150px;
}

small{
    display: block;
    text-align: center;
}

.fade div{
    max-height: 380px;
}
.fade div{
    object-fit: cover;
}