@charset "utf-8";

*, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

img{
    max-width: 100%;
    height: auto;
}

body{
    font-family: "Zen Maru Gothic", serif;
}

a{
    text-decoration: none;
}

h3{
    border-bottom: solid 4px rgba(76, 175, 80, 0.6);
    border-radius: 0px 0px 160px 180px/0px 0px 20px 4px;
    width: 30%;
    font-size: 30px;
    margin: auto;
    text-align: center;
}
/* --------------------loading-------------------------*/

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background:#fa8282;
  text-align:center;
  color:#fff;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width: 100%;
}

/* fadeUpをするアイコンの動き */

.fadeUp{
animation-name: fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/* --------------------header-------------------------*/

header {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background-color:#fa8282;
    padding: 20px;
  }
  
  h1 img {
    display: inline-block;
    align-items: center;
    width: 320px;
    height: auto;
    padding-top: 0;
    margin: 0 0 0 10%;
  }

  h1 img:hover{
    transform: scale(1.1,1.1);
    transition: .2s;
  }

  
  nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    flex-wrap: wrap;
    padding: 0 10% 0 10%
  }
  
  nav ul li {
    list-style: none;
    line-height: 2rem;
  }
  
  nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  }

  nav ul li a:hover {
    color: #7c7676;
    transition: .5s;
  }

  nav ul li a:active {
    color: #7c7676;
    transition: .5s;
  }

  .menuarea{
    display: flex;
    list-style: none;
    font-size: 18px;
}

.drawer label{
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 999;
    padding: 20px;
    display: none;
}

#HBG {
	display: none;
}

#HBG label {
    display: flex;
    justify-content: center;
    align-items: center;
}

#HBG+label span,
#HBG+label span::before,
#HBG+label span::after {
	content: "";
	display: block;
	height: 3px;
	background: #fff;
	border-radius: 9999px;
	transition: .5s;
}

#HBG+label span {
width: 40px;
position: relative;
}
#HBG+label span::before,
#HBG+label span::after {
width: 40px;
position: absolute;
}
#HBG+label span::before {
	bottom: 10px;
}
#HBG+label span::after {
	top: 10px;
}

#HBG:checked+label span {
	background: transparent;
}
#HBG:checked+label span::before {
	bottom: 0;
	transform: rotate(-315deg);
}
#HBG:checked+label span::after {
	top: 0;
	transform: rotate(315deg);
}


  /*---------------カレンダー----------------------  */
  h2 {
    text-align: center;
    margin-top: 100px;
    text-align: center;
    margin: 0 auto;
  }
  
  h2 img{
    width: 90%;
    height: 90%;
    object-fit: cover;
  }

  #id_home h2{
    padding-top: 120px;
  }

  /*-----------------------------動画---------------------------　*/
 .home_movie{
    text-align: center;
    margin: 0% 0% 0% 0%;
  }
  
  .youtube2{
  text-align: center;
    margin: 0% 0% 0% 0%;
  }

/* ------------------療育教室とは------------------------------ */
#id_description{
    padding-top: 15%;
}
#id_description p {
    text-align: center;
    margin: 20px;
}

#id_description p:nth-child(4) {
    background-color: #637eaa;
    padding: 30px;
    width: 45%;
    margin:20px auto;
    border-radius: 10px;
    font-size: 20px;
    color: #FFF;
}

#id_description img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.taishou {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.taishou h4 {
    font-size: 22px;
    border-bottom: solid 1px #000;
}

.taishou li {
    list-style: none;
    font-size: 20px;
}

/* -----------------------1日の流れ------------------------- */
#id_schedule{
    padding-top: 15%;
}
#id_schedule h4 {
    font-size: 22px;
    margin: 20px 20%;
    text-align: center;
}

#id_schedule p {
    margin:20px 20%;
    text-align: center;
}

#id_schedule ol {
    margin: 0 20%;
}

#id_schedule ol li {
    list-style:none;
    list-style-position: inside;
    font-size: 20px;
    line-height: 2.5rem;
}

.slider-nav{
    padding-bottom: 1rem;
    padding-top: 2rem;
}

.slider-for,.slider-nav{
    margin: auto;
    width: 50%;
    padding-top: 2rem;
}


/* -----------------療育プログラム-------------------------- */
#id_activity {
    text-align: center;
    padding-top: 15%;
}

#id_activity p{
    text-align: center;
    padding-top: 1rem;
}

#id_activity p span{
    font-weight: bold;
}

.activity_athlete h4{
    text-align: center;
    padding-top: 3rem;
}

.activity_artist h4{
    text-align: center;
    padding-top: 2rem;
}

.activity_grid{
    margin: 5%;
    padding-bottom: 1.5rem
}

.activity_grid img{
    padding-left: 1rem;

}
/* -----------------スタッフ紹介-------------------------- */
#id_staff{
    padding-top: 15%;
}
.stafftop p{
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.staff h4{
    font-size: 20px;
    text-align: center;
}

.staff ul{
    list-style: none;
}

.staff{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.staff div{
    width: 30%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.photo{
    padding-top: 2rem;
}
.photo p:first-child{
    text-align: center;
    font-weight: bold;
}

.photo p:last-child{
    font-size: 14px;
    padding-top: 1rem;
}

.photo div {
    cursor: pointer;
    height: 350px;
    margin-inline: auto;
    margin-top: 20px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .7s;
    width: 350px;
  }
  /* 画像のスタイル */
.photo div img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: auto;
    left: 0;
    position: absolute;
    width: 100%;
  }
  /* 2枚目の画像は最初裏返し */
.photo div img:last-of-type {
    transform: rotateY( 180deg );
  }
  /* hoverすると2枚とも回転 */
.photo div:hover,.photo div:active {
    transform: rotateY( 180deg );
  }

/* -----------------利用の流れ-------------------------- */
#id_process{
    padding-top: 15%;
}

#id_process p{
    text-align: center;
    padding-top: 1rem;
}

.triangle{
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid rgb(153, 151, 151);
    margin: auto;
}

.process{
    text-align: center;
    margin-top: 2rem;
}

.process ul{
    border: solid 4px rgba(76, 175, 80, 0.6);
    border-radius: 8px;
    margin-left: 20%;
    margin-right: 20%;
}

.process ul li{
    list-style: none;
    font-size: 20px;
    padding-bottom: 1rem;
    padding-top: 1rem;
    font-weight: bold;
}
.process ul li a{
    color: #000;
}
/* -----------------施設情報-------------------------- */
#id_access{
    padding-top: 15%;
}
.access{
    text-align: center;
    margin-top: 1rem;
}

.access address{
    margin-bottom: 1rem;
}
.access iframe{
    width: 100%;
    height: 400px;
}

.access address ul{
    font-style: normal;
    list-style: none;
}


.access address ul li:first-child{
    font-size: 24px;
    text-align: center;
    padding-bottom: 1rem;
}

.access address ul li:last-child{
    font-size: 24px;
    line-height: 2;
}

.access address ul li a{
    color: #000;
}

.access address ul li a:hover{
    color: #ee2c2c;
}
/* -----------------SNS-------------------------- */
#id_sns{
    margin-top: 3rem;
}

#id_sns p{
    text-align: center;
    padding-top: 1rem;
}

.sns{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 2rem 20% 3rem 20%;
}

.sns img:hover{
    transform: scale(1.1,1.1);
    transition: .2s;
}

/* -----------------footer-------------------------- */
footer{
    background: #fa8282;
}

footer div{
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: #fff;
}

.returntop{
    position: fixed;
    bottom: .5rem;
    right: .5rem;
}

.returntop:hover{
    transform: scale(.9,.9);
    transition: .2s;
}

small{
    font-size: 1rem;
}

/* -----------------mobile版-------------------------- */

@media (max-width:800px) {

body h3{
        font-size: 20px;
        min-width: 40%;
    }
.drawer label{
    display: block;
    cursor: pointer;
}

.menuarea{
    display: block;
    background: #fa8282e6;
    position: absolute;
    top: 0;
    right: -1000px;
    transition: all .5s ;
    width: 100%;
    height: 100vh;
    text-align: center;
    font-weight: bolder;
    padding-left: 0;
    font-size: 1.2rem;
    padding-top: 10%;
}

header nav ul li{
   margin-top: 10%;
}
     header nav ul li img{
   margin: 4rem;
}

#HBG:checked ~ .menuarea{
    right: 0;
}

h1 img {
    display: inline-block;
    width: 200px;
    height: auto;
    padding-top: 0;

  }

  #id_home h2{
    padding-top: 90px;
  }

  nav ul li {
    line-height: 1rem;
  }

  .slider-for,.slider-nav{
    width: 70%;
}

  #id_activity p{
    font-size: 12px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.activity_athlete h4,.activity_artist h4{
    max-width: 40%;
    margin: auto;
}

.stafftop p{
    font-size: 12px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.staff{
    display: block;   
}

.staff div{
    width: 80%;
    margin: auto;
}

#id_process p{
    font-size: 12px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.process ul li{
    font-size: 14px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.access address ul li:first-child,.access address ul li:last-child{
    font-size: 18px;
}

.access address ul li:nth-child(2),.access address ul li:nth-child(3){
    font-size: 12px;
    padding-left: 1rem;
    padding-right: 1rem;
}

#id_sns p{
    font-size: 12px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sns img{
    width: 70%;
}

.returntop img{
    width: 70%;
}

#id_description p {
    font-size: 12px;
  }

  #id_description p:nth-child(4) {
    font-size: 2vh;
    width: 60%;
    padding: 15px;
  }

  .taishou {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 10px;
}

.taishou h4 {
    font-size: 15px;
}

.taishou li {
    list-style: none;
    font-size: 13px;
    margin-bottom: 7px;
}

#id_schedule h4 {
font-size: 15px;
margin: 10px 5%;
}

#id_schedule p {
margin:10px 5%;
font-size: 12px;
width: 90%;
}

#id_schedule ol {
margin: 0 5%;
}

#id_schedule ol li {
list-style:none;
list-style-position: inside;
font-size: 15px;
line-height: 1.7rem;
}
}