@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Noto+Sans+JP:wght@100..900&display=swap');



/*ナビゲーション*/
*{
    padding: 0;
    margin: 0;
}
p{
    line-height: 1.5;
    color: #666c67;
    font-family: "Noto Sans JP";
}


/*ヘッダーのナビゲーション*/
.c-header {
  align-items: center;
  background-color: white; /* カスタマイズしてください */
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem; /* カスタマイズしてください */
  width: 100%;
}

/*
.c-header__logo {
  min-width: 80px;  カスタマイズしてください 
}*/

.c-header__list {
  box-sizing: border-box;
  display: flex;
  margin: 0;
  padding: 0;
}

.c-header__list-item {
  list-style: none;
  text-decoration: none;
}

.c-header__list-link {
  color: #666c67; /* カスタマイズしてください */
  display: block;
  margin-right: 20px; /* カスタマイズしてください */
  text-decoration: none;
  padding: 10px 0px; /* カスタマイズしてください */
  font-family: "Noto Sans JP";
}

.c-header__list-link:hover {
  filter: opacity(0.6); /* カスタマイズしてください */
}

.c-hamburger-menu {
  position: relative;
}

@media screen and (max-width: 1055px) {
  .c-hamburger-menu__list {
    background-color: white; /* カスタマイズしてください */
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 2rem; /* カスタマイズしてください */
    position: absolute;
    transform: translateX(-100%);
    transition: 0.3s; /* カスタマイズしてください */
    top: 100%;
    width: 100%;
  }

  #hamburger:checked ~ .c-hamburger-menu__list {
    transform: translateX(0%);
    transition: 0.3s;
  }
}

.c-hamburger-menu__input {
  display: none;
}

.c-hamburger-menu__bg {
  background-color: #000; /* カスタマイズしてください */
  cursor: pointer;
  display: none;
  height: 100vh;
  left: 0;
  opacity: 0.4; /* カスタマイズしてください */
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

#hamburger:checked ~ .c-hamburger-menu__bg {
  display: block;
}

.c-hamburger-menu__button {
  display: none;
}

@media screen and (max-width: 1055px) {
  .c-hamburger-menu__button {
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px; /* カスタマイズしてください */
    height: 32px; /* カスタマイズしてください */
    justify-content: center;
    width: 32px; /* カスタマイズしてください */
  }
}

.c-hamburger-menu__button-mark {
  background-color: #000; /* カスタマイズしてください */
  display: block;
  height: 1px; /* カスタマイズしてください */
  transition: 0.3s; /* カスタマイズしてください */
  width: 20px; /* カスタマイズしてください */
}

@media screen and (max-width: 1055px) {
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(1) {
    transform: translate(2px, 1px) rotate(45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(2) {
    opacity: 0;
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(3) {
    transform: translate(2px, 3px) rotate(-45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
}



/*メイン画像*/

#about{
    background : url(../img/mainphoto3.jpg) center center / cover repeat scroll padding-box border-box transparent; /*文字の後ろに画像が載せれる*//*背景画像の中心が要素の中心に配置される*/
    max-width: 100%;
    width: 100%;
    height: 700px;
}
.about_container{
  padding-top: 18%;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}
.about_container h1{
  font-family: "DM Serif Display", serif;
  font-size: 80px;
  margin: -20px 0;

}
@media screen and (max-width: 750px) {
  .about_container h1{
    font-size: 60px;
  }
}
@media screen and (max-width: 390px) {
  .about_container h1{
    font-size: 45px;
  }
}

.text_box p{
  line-height: 2;
  margin: 50px 0 0 0;
  color: #000;
}

@media screen and (max-width: 750px) {
  .text_box p{
    font-size: 14px;
  }
}
@media screen and (max-width: 390px) {
  .text_box p{
    font-size: 11px;
  }
}




/*見出しフォント*/
 h1{
    font-family: "DM Serif Display", serif;
  /*text-align: center;
    font-size: 100px;
    font-optical-sizing: auto;
    font-weight: 700;*/
}
h2{
    font-size: 65px;
    padding-top: 70px;
    margin: 10px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
@media screen and (max-width: 750px) {
  h2{
    font-size: 55px;
  }
}
@media screen and (max-width: 390px) {
  h2{
    font-size: 50px;
  }
}
h3{
    font-size: 30px;
    font-family: "Noto Sans JP";
    margin: 10px;
}
h4{
    font-size: 14px;
    font-family: "Noto Sans JP";
    margin: 10px;
}



/*セクションについて*/
section{
    text-align: center;

}









/*ニュース*/
#news{
  margin: 0 0 50px 0;
}
.newsarea{
  max-width: 80%;
  margin: 0 auto;
}
.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 120px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: black;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}

/* 装飾 */
 
*{
  box-sizing: border-box;
}
a{
  text-decoration: none;
}
body{
  margin: 20px;
}




/*ニュース　ナビゲーション*/
.topics{
    margin: 0 auto;
}
.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}



/*センター紹介2カラム*/
#back{
  background: #F6E3A2;
  padding-bottom: 60px;
}
.midashi{
  padding-bottom: 20px;
}

.img img{
  width: 300px;
}
.center_container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.text_area{
  max-width: 80%;
  width: 350px;
}
.text_area p{
  text-align: left;
}
.btn{
  padding: 0.5em 1em;
  margin: 2em 0;
  font-weight: bold;
  color: #FFF;/*文字色*/
  background: #6091d3;
  border-radius: 10px;/*角の丸み*/
  font-size: 18px;
  font-family: "Noto Sans JP";
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}
.btn:hover{
  opacity: 0.6;
}
@media screen and(max-width: 480px) {
  .center-about{
      flex-direction: column;
  }
}
@media screen and (max-width: 750px) {
  .btn{
    font-size: 17px;
    font-family: "Noto Sans JP";
  }
}
@media screen and (max-width: 390px) {
  .btn{
    font-size: 15px;
    font-family: "Noto Sans JP";
  }
}






/*学び2カラム*/
#back_manabi{
  background: white;
  padding-bottom: 60px;
}
.midashi{
  padding-bottom: 20px;
}
.img img{
  width: 300px;
}
.manabi_container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.text_area{
  max-width: 80%;
  width: 350px;
}
.text_area p{
  text-align: left;
}
.btn_forms{
  padding: 0.5em 1em;
  margin: 2em 0;    
  font-weight: bold;
  color: #FFF;/*文字色*/
  background: #FEB29E;
  border-radius: 10px;/*角の丸み*/
  font-size: 18px;
  font-family: "Noto Sans JP";
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}
.btn_forms:hover{
  opacity: 0.6;
}

.btn_area{
  height: 50px;
}
.btn_area2{
  height: 50px;
}


@media screen and(max-width: 480px) {
    .manabi-about{
        flex-direction: column;
    }
}

@media screen and (max-width: 750px) {
  .btn-forms{
    font-size: 17px;
  }
}
@media screen and (max-width: 390px) {
  .btn-forms{
    font-size: 15px;
  }
}




/*授業に関する連絡*/
.backgraund-color{
    background-color: #E8F6D8;
}
.contact-container{
    max-width: 80%;    
    border-radius: 30px;
    margin: 0 auto;
    padding: 50px 0;    
}
.contact-container h3{
    text-align: center;
    margin-bottom: 30px;
}
.contact-box{
    display: flex;
    justify-content: center;
}




/*レスポン2カラム*/
#respon_back{
  background: #E4F3F5;
  padding-bottom: 60px;
  margin: 30px 0;
}
.midashi{
  padding-bottom: 20px;
}
.img img{
  width: 300px;
}
.respon_container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.respontext_area{
  max-width: 80%;
  width: 350px;
}
.respontext_area p{
  text-align: left;
}
.respontext_area a{
    text-decoration: none;
    font-weight: bold;
    font-size: 19px;
    color: #000;
}
.respontext_area a:hover{
    color: #F2F2F2;
}







/*アクセス*/
#access{
  margin-bottom: 30px;
}
.access-about{
    width: 70%;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;
}
.access-textarea h3{
    text-align: left;
}

.btn{
  padding: 0.5em 1em;
  margin: 2em 0;
  font-weight: bold;
  color: #FFF;/*文字色*/
  background: #6091d3;
  border-radius: 10px;/*角の丸み*/
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}
.map {
    position: relative;
    width: 70%;
    padding-top: 56.25%;
    /* 16:9のアスペクト比 */
    height: 0;
    margin: 0 auto;
}
.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/*フッター*/
.container-footer{
    width: 100%;
    background-color: #707070;
    padding: 30px 0;
    text-align: center;
    font-size: small;
}
.footer_text{
  width: 90%;
  margin: 0 auto;
}

.container-footer a{
  color: white;
  text-decoration: none;
}
.container-footer p{
  color: #FFF;
}
.container-footer a:hover{
      opacity: 0.6;
}

small{
  color: #FFF;
}