@charset "UTF-8";

/*PCサイズレスポンシブ*/
@media(min-width:1000px) {
  body {
    min-width: 1000px;
    background-image: url(../img/school-times-haikei.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: 50% 1%;
  }

  .container {
    width: 65%;
    margin: 0 auto;
  }


  /* ヘッダー */
  .header {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    /*余白が入らないように*/
    margin: 0%;
    z-index: 1000;
  }

  .header1 {
    background-color: #f5f5f5;
    width: 60%;
    text-align: left;
  }

  .header1 img {
    height: 100%;
    object-fit: cover;

  }

  .header2 {
    background-color: #000;
    width: 40%;
    align-items: center;
  }

  .header2 ul {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin: auto;
    font-size: 30px;
    list-style: none;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;

  }

  .header2 a {
    color: #ffffff;
    text-decoration: none;
  }

  .header2 li {
    width: 100%;
    text-align: center;
    text-decoration: none;
  }


  .header2 img {
    width: 30%;

  }
nav{
  display: none;
}
  .title {
    background-color: #d283b4;
    margin-top: 150px;
    margin-bottom: 5%;
    text-align: center;
    border: 3px solid;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  h1 {
    background-color: #d283b4;
    font-size: 45px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 2%;
    padding: 3%;
    border: 6px solid #4c4f9a;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  h2 {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    margin-top: 15%;
  }

  /* -----コンテンツーーー */
  #content1 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content1 img {
    width: 40%;
    border: 2px solid;
  }

  .concept {
    width: 40%;
  }

  p {
    text-align: left;
    margin-left: 3%;
    font-family: "Klee One", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
  }

  #content2 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;

  }

  #content2 img {
    width: 40%;
    border: 2px solid;
  }

  #content3 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content3 img {
    width: 40%;
    border: 2px solid;
  }

  #content4 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content4 img {
    width: 40%;
    border: 2px solid;
  }

  #content5 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content5 img {
    width: 40%;
    border: 2px solid;
  }

  /* ------topに戻るボタン ------*/
  #pagetop {
    /* レイアウト */
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 見た目 */
    width: 60px;
    aspect-ratio: 1/1;
    background-color: #d283b4;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;

    /* デフォルトは非表示 */
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
  }

  /* 矢印 */
  .pagetop-arrow {
    height: 15px;
    width: 15px;
    border-top: 4px solid #4c4f9a;
    border-right: 4px solid #4c4f9a;
    transform: translateY(20%) rotate(-45deg);
  }

  /* スクロールされたときに適用されるCSS */
  #pagetop.visible {
    opacity: 1;
    visibility: visible;
  }
}



/*----------ipadサイズレスポンシブ----------*/
@media(min-width:600px) and (max-width:999px) {
  body {
    min-width: 600px;
    max-width: 999px;
    background-image: url(../img/school-times-haikei.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }

  .container {
    width: 70%;
    margin: 0 auto;
  }


  /* ヘッダー */
  .header {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    /*余白が入らないように*/
    margin: 0%;
    z-index: 1000;
  }

  .header1 {
    background-color: #f5f5f5;
    width: 50%;
    text-align: left;
  }

  .header1 img {
    height: 100%;
    object-fit: cover;

  }

  .header2 {
    background-color: #000;
    width: 50%;
    align-items: center;
  }

  .header2 ul {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin: auto;
    font-size: 30px;
    list-style: none;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;

  }

  .header2 a {
    color: #ffffff;
    text-decoration: none;
  }

  .header2 li {
    width: 100%;
    text-align: center;
    text-decoration: none;
    margin-right: 4%;
  }

  .header2 img {
    width: 35%;
  }

nav{
  display: none;
}
  .title {
    background-color: #d283b4;
    margin-top: 150px;
    margin-bottom: 5%;
    text-align: center;
    border: 3px solid;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  h1 {
    background-color: #d283b4;
    font-size: 45px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 2%;
    padding: 3%;
    border: 6px solid #4c4f9a;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  h2 {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    margin-top: 15%;
  }

  /* -----コンテンツーーー */
  #content1 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content1 img {
    width: 40%;
    border: 2px solid;
  }

  .concept {
    width: 40%;
  }

  p {
    text-align: left;
    margin-left: 3%;
    font-family: "Klee One", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
  }

  #content2 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;

  }

  #content2 img {
    width: 40%;
    border: 2px solid;
  }

  #content3 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content3 img {
    width: 40%;
    border: 2px solid;
  }

  #content4 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content4 img {
    width: 40%;
    border: 2px solid;
  }

  #content5 {
    background-color: rgba(231, 229, 227, 0.9);
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content5 img {
    width: 40%;
    border: 2px solid;
  }

  /* ---topに戻るボタン ---*/
  #pagetop {
    /* レイアウト */
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 見た目 */
    width: 60px;
    aspect-ratio: 1/1;
    background-color: #000;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;

    /* デフォルトは非表示 */
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
  }

  /* 矢印 */
  .pagetop-arrow {
    height: 15px;
    width: 15px;
    border-top: 4px solid #ffffff;
    border-right: 4px solid #ffffff;
    transform: translateY(20%) rotate(-45deg);
  }

  /* スクロールされたときに適用されるCSS */
  #pagetop.visible {
    opacity: 1;
    visibility: visible;
  }
}


/*----------spサイズレスポンシブ----------*/
@media(min-width:0px) and (max-width:599px) {
  body {
    min-width: 0px;
    max-width: 599px;
    background-image: url(../img/school-times-haikei.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }

  .container {
    /* background-color: #fff462; */
    width: 85%;
    margin: 0 auto;
  }
  /*========= ナビゲーションのためのCSS ===============*/

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
top:-120%;
  left:0;
width:100%;
  height: 100vh;/*ナビの高さ*/
background:#abdad1;
  /*動き*/
transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
list-style: none;
  text-align: center; 
}

#g-nav li a{
color: #333;
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
  position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
}

/*×に変化*/	
/*ボタン内側*/
.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: #666;
  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: #666f;
}

.openbtn span:nth-of-type(3) {
top:36px;
}

/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
.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%;
}

  /* ヘッダー */
  .header {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    /*余白が入らないように*/
    margin: 0%;
    z-index: 1000;
  }

  .header1 {
    background-color: #f5f5f5;
    width: 100%;
    text-align: left;
    border-bottom: #000 solid 4px;
  }

  .header1 img {
    height: 100%;
    object-fit: cover;

  }
.header2{
  display: none;
}
  nav img{
    width: 30%;
  }
  .title {
    background-color: #d283b4;
    margin-top: 150px;
    margin-bottom: 5%;
    text-align: center;
    border: 3px solid;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  h1 {
    background-color: #d283b4;
    font-size: 35px;
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 2%;
    padding: 3%;
    border: 6px solid #4c4f9a;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  h2 {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    margin-top: 15%;
    margin-bottom: 0;
  }

  /* -----コンテンツーーーーーーーーーーーーーーーー */
  #content1 {
    background-color: rgba(231, 229, 227, 0.9);
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content1 img {
    width: 80%;
    border: 2px solid;
    margin-top: 10%;
  }

  .concept {
    width: 100%;
  }

  p {
    text-align: center;
    margin-left: 3%;
    margin-right: 3%;
    font-family: "Klee One", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;


  }

  #content2 {
    background-color: rgba(231, 229, 227, 0.9);
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;

  }

  #content2 img {
    width: 80%;
    border: 2px solid;
  }

  #content3 {
    background-color: rgba(231, 229, 227, 0.9);
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content3 img {
    width: 80%;
    border: 2px solid;
  }

  #content4 {
    background-color: rgba(231, 229, 227, 0.9);
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content4 img {
    width: 80%;
    border: 2px solid;
  }

  #content5 {
    background-color: rgba(231, 229, 227, 0.9);
    text-align: center;
    align-items: center;
    margin-bottom: 15%;
    border: 4px solid;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  #content5 img {
    width: 80%;
    border: 2px solid;
  }

  /* ------topに戻るボタン ------*/
  #pagetop {
    /* レイアウト */
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 見た目 */
    width: 40px;
    aspect-ratio: 1/1;
    background-color: #000;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;

    /* デフォルトは非表示 */
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
  }

  /* 矢印 */
  .pagetop-arrow {
    height: 15px;
    width: 15px;
    border-top: 4px solid #ffffff;
    border-right: 4px solid #ffffff;
    transform: translateY(20%) rotate(-45deg);
  }

  /* スクロールされたときに適用されるCSS */
  #pagetop.visible {
    opacity: 1;
    visibility: visible;
  }
}