@charset "utf-8";

/*-----------------------------ページ共通----------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-break: break-all;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

main {
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  max-width: 1180px;
  width: 100%;
}

img {
  max-width: 100%;
}

.top-img {
  height: auto;
  display: block;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

p {
  margin: .75em 0 1.75em;
}

.page-content {
  padding: 4.5rem 2rem 6.5rem;
}

.page-content h1 {
  font-size: 4.2rem;
  margin-block: .5em;
}

.page-content h2 {
  position: relative;
  padding: .2em 1.4em;
  border-radius: 1rem;
  background-color: #C2D9F3;
  color: #0b0b0b;
  font-size: 3.2rem;
  margin-block: .5em 1em;
}

.page-content h2::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 30px;
  width: 0;
  height: 0;
  border: 1.25rem solid transparent;
  border-top-color: #c2d9f3;
}

.page-content h3 {
  border-bottom: dashed 2px #3371b8;
  color: #333;
  font-size: 2.8rem;
  margin: .5em .5rem 1em;
  padding: 1rem 3.5rem;
}


.page-content h4 {
  border-bottom: 2px dashed #3371B8;
  padding: 0.5em 0;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.page-content h5 {
  border-left: 4px solid #3371B8;
  padding-left: 0.5em;
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.page-content p {
  padding-inline: 1em;
}

.other .page-content h3 {
  border: none;
  line-height: 1;
  margin-block: 1em .65em;
  max-width: 100%;
  padding: 0 3rem;
  position: relative;
  width: max-content;
}

.other .page-content h3::before,
.other .page-content h3::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: .75rem;
  height: 85%;
  border: 2px solid #3371b8;
}

.other .page-content h3::before {
  left: 1rem;
  border-right: none;
}

.other .page-content h3::after {
  right: 1rem;
  border-left: none;
}


.main-img img {
  display: block;
  margin: auto;
  max-width: 1440px;
  width: 100%;
}


/*-----------------------------table設定----------------------------------*/
.table-wrap {
  border: 2px solid black;      
  border-radius: .65rem;
  overflow: hidden;
  margin: 2rem 0;             
}

table {
  border-collapse: collapse;
  width: 100%;
}

table th,
table td {
  border: 1px solid black; 
  padding: 1rem;
  text-align: center;
  font-size: 1.6rem;
}

/* テーブルヘッダー */
table th {
  background: #3371B8;
  color: #fff;
}

/* li だけ左揃えに戻す（・も文字も左寄せ） */
td li {
  text-align: left;
  font-size: 1.6rem;
}

tr {
  background-color: #fff;
}



/*-----------------------------リスト設定----------------------------------*/
ul {
  padding-left: 2em;
}

ol {
  counter-reset: my-counter;
  list-style: none;
  margin: .75em 1rem;
  padding-left: 2em;
}

ol > li {
  position: relative;
  margin-bottom: .75em;
}

ol > li::before {
  align-items: center;
  background-color: #3371B8;
  border-radius: 50%;
  box-sizing: border-box;
  color: #fff;
  content: counter(my-counter);
  counter-increment: my-counter;
  display: flex;
  font-size: .85em;
  font-weight: bold;
  height: 1.5em;
  justify-content: center;
  left: -2em;
  line-height: 1;
  position: absolute;
  top: .15em;
  width: 1.5em;
}



/*-----------------------------ヘッダー設定----------------------------------*/
.logo {
  display: block;
  margin: auto;
  padding: 0px;
  max-width: 1680px;
  width: 100%;
}

.logo-header {
  display: inline-block;
}




/*-----------------------------フッター設定----------------------------------*/
.footer {
  width: 100%;
  background: #b6e2cd;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: 1280px;
  margin: auto;
  padding-inline: 2rem;
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.5rem;
  line-height: 1.5rem;
}



/*-----------------------------背景色----------------------------------*/

.target,
.educational,
.admission {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: #ECF9F1;
}

.target-inner,
.educational-inner,
.admission-inner,
.other-inner {
  max-width: 1180px;
  margin: 0 auto;  
}



/*-----------------------------ニュース----------------------------------*/
.news-content {
  padding-inline: 2.5rem;
}

.news-items {
  display: flex;
  padding: 1.5rem 2.5rem;
  border-bottom: .1rem solid #B3B3B3;
  position: relative;
}



/*-----------------------------その他----------------------------------*/
.news-inner,
.humanimage-inner,
.curriculum-inner,
.contact-inner {
}



.button_circle-round {
  font-size: 2.8rem;
  font-weight: bold;
  background:#3371B8;
  color:#fff;
  width: 7.5rem;
  height: 7.5rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;

  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
}


.trigger {
  height: 300px;
}

.button_circle-round {
  /* position: sticky; */
  top: 85vh; 
}



/*-----------------------------レスポンシブ対応　追加箇所----------------------------------*/
@media (max-width: 768px) {
  .logo-header img {
    max-width: 100%;
  }

  p {
    margin: 1rem 0 2rem 0;
    line-height: 2.4rem;
  }

  .page-content h1 {
    font-size: 2.8rem;
  }

  .page-content h2 {
    font-size: 2.4rem;
    padding: 1rem 1.5rem;
  }

  .page-content h3 {
    font-size: 2rem;
    margin-inline: 0;
    padding: 1rem;
  }

  .page-content h4 {
    font-size: 1.8rem;
  }

  .page-content h5 {
    font-size: 1.6rem;
  }

  .page-content p {
    padding-inline: .25rem;
  }

  ol {
    margin-inline: 0;
  }

  .page-content {
    padding: 3.5rem 1.5rem 4.5rem;
  }

  .news-content {
    padding-inline: .25rem;
  }

  /* .news-items {
    padding: 1rem 1.5rem;
    display: block
  } */

  .copyright {
    font-size: 1.2rem;
    line-height: 1.4rem;
    margin-bottom: 1rem;
  }

}


@media screen and (min-width:768px) {

  .sp-only {
    display: none !important;
  }

}

@media screen and (max-width:767px) {

  .pc-only {
    display: none !important;
  }

}

@media (max-width: 841px) {
  .news-items {
    padding: 1rem 1.5rem;
    display: block
  }
}
