html {
  font-size: 100%;
  /* 16px */
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #4a4a4a;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* ちらつき防止 */
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

/* 初期設定解除 */
a {
  text-decoration: none;
  color: inherit;
  /* 親要素と同じ色にする */
}

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

img {
  display: block;
}

/* 共通スタイル*/
a:hover {
  cursor: pointer;
}

.green {
  color: #009944;
  font-weight: 500;
}

.red {
  color: #ff0000;
}

.blue {
  color: #0071bc;
}

h2 {
  font-size: clamp(30px, 2vw + 1rem, 38px);
  font-weight: 500;
  color: #009944;
  text-align: center;
  margin: 7rem 0 4rem 0;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  background-color: #fef8a6;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

h3 {
  font-size: clamp(16px, 2vw + 1rem, 23px);
  padding: 0.3rem 1rem;
  color: #009944;
  background: #f9fade;
  border-left: solid 7px #009944;
  margin-top: 3rem;
}

.green_btn {
  background-color: #009944;
  color: #fff;
  width: 200px;
  height: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
}

.green_btn:hover {
  background-color: #0d4627;
  color: #ffffff;
  cursor: pointer;
}

.white_btn {
  background-color: #ffffff;
  color: #009688;
  width: 200px;
  height: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
}

.white_btn:hover {
  background-color: #009944;
  color: #ffffff;
  cursor: pointer;
}

.sp-br {
  display: none;
}

.block {
  display: inline-block;
}

/* トップに戻る */
.top_btn {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

/* ここから個別設定 */
.wrapper {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
///// ナビゲーション
========================================================= */
nav {
  width: 100%;
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li {
  gap: 5px;
  width: calc(100% / 5);
  padding: 10px 0;
  text-align: center;
  border-right: 2px solid #009944;
}

nav ul li a .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

nav ul li a span {
  display: block;
}

nav ul li a .inline-svg {
  fill: #4a4a4a;
  width: 35px;
  height: 35px;
  cursor: pointer;
  transition: fill 0.3s ease;
}

nav ul li:first-child {
  border-left: 2px solid #009944;
}

nav ul li.extra-item {
  display: none;
}

/* =========================================================
///// ナビゲーション　ホバー
========================================================= */
nav ul li:hover .inline-svg {
  cursor: pointer;
  fill: #009944;
}

nav ul li:hover {
  color: #009944;
  cursor: pointer;
  transition: color 0.3s ease;
}

iframe {
  width: 100%;
  height: 100vh;
  /* 画面いっぱいに表示 */
  border: none;
}

/* =========================================================
///// 保護者の皆さまへ
========================================================= */
.together {
}

.together__guardian {
  font-size: clamp(18px, 1rem + 0.5vw, 23px);
  text-align: center;
  color: #ffffff;
  /* border: 1px solid #009944; */
  border-radius: 10px;
  padding: 2rem 1rem;
  background-color: rgba(0, 154, 14, 0.3);
  background-blend-mode: multiply;
  background-image: url(../images/grow.jpg);
  background-size: cover;
  background-position: 0px -120px;
}

.together__guardian p {
  font-size: 1en;
}

.together__title {
  font-size: clamp(26px, 1rem + 2.2vw, 38px);
}

.together__guardian p {
  font-weight: 500;
  letter-spacing: 0.2rem;
  margin: 0 0 1rem 0;
}

.together__director {
  display: flex;
}

.together__ph {
  margin-right: 3rem;
}

.together__text {
}

.together__vision {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.together__card {
  padding: 1rem;
  border: 1px solid #009944;
}

.together__card p {
  font-size: 18px;
  font-weight: 500;
  color: #009944;
  margin: 0 0 1rem 0;
}

.together__card ul {
  padding-left: 1em;
}

.together__card ul li {
  margin-bottom: 0.5rem;
}

.together__card ul li::marker {
  content: "●";
  font-size: 1rem;
  color: #009944;
}

/* =========================================================
///// 共に学び　共に育つ
========================================================= */
.grow {
}

.grow__ph {
}

.grow__ph img {
  max-width: 100%;
  margin: 0 auto;
}

/* =========================================================
///// 安心と安全
========================================================= */
.safety {
}

.safety__container {
  display: flex;
}

.safety__text {
  padding-right: 2rem;
}

.safety__text p {
  font-size: 18px;
  color: #009944;
  font-weight: 500;
}

.safety__ph {
}

.safety__ph img {
  max-width: 500px;
}

/* =========================================================
///// 通信サポート校
========================================================= */
.support-school {
}

.support-school__ph {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.support-school__ph img {
  max-width: 100%;
  height: auto;
}

.support-school__ph a img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: 0.5s;
}

.support-school__ph a img:hover {
  opacity: 0.5;
  transition: 0.5s;
}

/* =========================================================
///// 学校・検定情報
========================================================= */
.certification {
}

.certification__area {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
}

.certification__area a:hover {
  color: #009944;
  transition: 0.5s;
}

.certification__box {
}

.certification__area p {
  font-size: 23px;
  color: #009944;
  font-weight: 500;
  margin: 0.5rem 0;
}

.certification__area ul {
  padding-left: 1rem;
}

.certification__area ul li {
  margin-bottom: 0.5rem;
}

.certification__area ul li::marker {
  content: "●";
  font-size: 1rem;
  color: #009944;
}

.certification img {
  margin: 0 auto;
  margin-bottom: 2rem;
  transition: 0.5s;
}

.certification img:hover {
  opacity: 0.5;
  transition: 0.5s;
}

/* =========================================================
///// 取り組み
========================================================= */
.initiatives {
  margin-bottom: 5rem;
}

.initiatives__content {
  display: flex;
  justify-content: space-around;
}

.initiatives__link-btn {
  color: #009944;
  text-align: center;
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #009944;
  padding: 0.5rem;
  line-height: 1;
  transition: 0.5s;
}

.initiatives__link-btn:hover,
.initiatives__link-btn:active {
  color: #fff;
  background-color: #009944;
  cursor: pointer;
}

.initiatives__link-btn::after {
  content: "";
  width: 23px;
  height: 23px;
  margin-left: 0.5rem;
  background-image: url(../images/arrow_green.png);
  background-size: contain;
  /* ←画像を要素に合わせて表示 */
  background-repeat: no-repeat;
}

.initiatives__link-btn:hover::after {
  content: "";
  width: 23px;
  height: 23px;
  margin-left: 0.5rem;
  background-image: url(../images/arrow_white.png);
  background-size: contain;
  /* ←画像を要素に合わせて表示 */
  background-repeat: no-repeat;
}

/* =========================================================
///// プライバシーポリシー
========================================================= */
.privacy-policy {
}

.privacy-policy h2 span {
  font-size: 0.8em;
  font-weight: 300;
  display: block;
}

.privacy-policy p {
  padding: 0 2rem;
}

.privacy-policy ul {
  list-style: disc;
  padding-left: 3.5rem;
}

/* =========================================================
///// 入館手続き
========================================================= */
.procedure {
  margin-bottom: 5rem;
}

.procedure dl dt {
  font-size: 18px;
  font-weight: 500;
  margin-top: 1rem;
}

.procedure dl dt:before {
  content: "●";
  font-size: 1rem;
  color: #009944;
  margin-right: 0.5rem;
}

.procedure dl dd {
  margin-left: 1.5rem;
  /* background-color: #0071bc; */
}

.procedure img {
  margin: 0 auto;
  max-width: 680px;
  width: 100%;
}

/* =========================================================
///// 学習サポート
========================================================= */
/* オンライン英会話 */
.online {
  background-color: #ee869f;
  padding: 2rem 0 1rem 0;
  margin-bottom: 2rem;
}

.online img {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto 1rem auto;
}

/* 速読聴英会話 */
.speed-reading {
  background-color: #cee9f2;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.speed-reading img {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  transition: 0.5s;
}

.speed-reading img:hover {
  opacity: 0.5;
  transition: 0.5s;
}

/* プログラミング */
.programming {
  background-color: #fef89a;
  padding: 2rem 0 1rem 0;
  margin-bottom: 2rem;
}

.programming img {
  max-width: 100%;
  width: 100%;
  margin-bottom: 1rem;
}

/* =========================================================
///// 採用情報
========================================================= */
.recruitment {
}

.recruitment img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
///// 募集要項
========================================================= */
.guidelines {
  word-break: keep-all;
}

.guidelines dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-gap: 1rem;
}

.guidelines dl dt {
  font-weight: 500;
  border: 1px solid #009944;
  border-radius: 5px;
  display: grid;
  place-items: center;
}

.guidelines dl dd {
  margin: 0;
}

/* =========================================================
///// お申込み・連絡先について
========================================================= */
.entry {
}

.entry p {
  font-size: 25px;
  color: #fff;
  text-align: center;
  width: 80%;
  margin: 0 auto;
  background-color: #009944;
  padding: 0.2rem 0;
  border-radius: calc(25px + 0.5rem);
  cursor: pointer;
}

.entry p:hover {
  background-color: #0d4627;
}

.entry p::after {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-left: 0.5rem;
  background-image: url(../images/arrow_white.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.entry dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-gap: 1rem;
}

.entry dl dt {
  font-weight: 500;
  border: 1px solid #009944;
  border-radius: 5px;
  display: grid;
  place-items: center;
}

.entry dl dd {
  margin: 0;
}

/* =========================================================
///// 会社概要
========================================================= */
.company {
  margin-bottom: 5rem;
}

.company dl {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.company dl dt {
  text-align: center;
  background-color: #f2faf6;
  padding: 1rem;
  border-top: 1px solid #009944;
}

.company dl dt:last-of-type {
  border-bottom: 1px solid #009944;
}

.company dl dd {
  padding: 1rem 2rem;
  border-top: 1px solid #009944;
  margin: 0;
}

.company dl dd:last-child {
  border-bottom: 1px solid #009944;
}

/* =========================================================
///// レスポンシブル max-width: 960px
========================================================= */

@media screen and (max-width: 960px) {
  .wrapper {
    width: 95%;
    padding: 0;
    box-sizing: border-box;
  }

  /* =========================================================
///// バーガーメニュー
========================================================= */
  nav {
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
  }

  nav ul.menu.open {
    background-color: rgba(255, 255, 255, 0.9);
    /* 半透明の黒背景例 */
    height: 100vh;
  }

  nav ul {
    /*最初はナビゲーションボタンは非表示*/
    display: none;
    flex-direction: column;
    list-style: none;
    padding-top: 3rem;
  }

  nav ul li {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #009944;
  }

  nav ul li .nav-link {
    display: flex;
    padding-left: 3rem;
    gap: 15px;
  }

  nav ul li:first-child {
    border-left: none;
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav ul li:hover span {
    color: #009944;
    transition: color 0.3s ease;
  }

  nav ul li.extra-item {
    display: list-item;
  }

  nav li a {
    padding: 8px;
    font-size: 16px;
    color: #464646;
    display: block;
    text-align: center;
    text-decoration: none;
  }

  nav .hamburger {
    position: absolute;
    top: 32px;
    right: 1rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    z-index: 10;
  }

  nav .hamburger span {
    /*3本の線を作る*/
    transition: all 0.3s;
    position: absolute;
    height: 4px;
    background-color: #009944;
    width: 100%;
    z-index: 10;
  }

  nav .hamburger span:nth-of-type(1) {
    /*上の線の位置*/
    top: 2px;
  }

  nav .hamburger span:nth-of-type(2) {
    /*真ん中の線の位置*/
    top: 12px;
  }

  nav .hamburger span:nth-of-type(3) {
    /*下の線の位置*/
    top: 22px;
  }

  nav .hamburger.open span:nth-of-type(1) {
    /*openのとき、上の線を右斜めにする*/
    top: 10px;
    transform: translateY(6px) rotate(-33deg);
  }

  nav .hamburger.open span:nth-of-type(2) {
    /*真ん中の線を消す*/
    opacity: 0;
  }

  nav .hamburger.open span:nth-of-type(3) {
    /*下の線を左斜めにする*/
    top: 22px;
    transform: translateY(-6px) rotate(33deg);
  }

  /* =========================================================
  ///// 最初のh2
  ========================================================= */
  h2:first-of-type {
    margin: 4rem 0 4rem 0;
  }

  /* =========================================================
///// 保護者の皆さまへ
========================================================= */
  .together__guardian {
    background-position: 0px 0px;
  }
  .together__vision {
    grid-template-columns: repeat(1, 1fr);
  }

  .together__ph {
    margin-right: 0rem;
  }

  /* =========================================================
///// 安心と安全
========================================================= */
  .safety__container {
    display: block;
  }
  .safety img {
    margin: 2rem auto 0 auto;
  }

  /* =========================================================
///// 通信サポート校
========================================================= */

  .support-school__ph {
    display: block;
  }

  .support-school__ph img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
  }

  /* =========================================================
///// 学校・検定情報
========================================================= */
  .certification__area {
    grid-template-columns: repeat(2, 1fr);
  }

  .certification__area p {
    padding-left: 2rem;
  }

  .certification__area ul {
    padding-left: 3rem;
  }

  /* =========================================================
  ///// 取り組み
  ========================================================= */
  .initiatives__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .initiatives__link-btn {
    margin-bottom: 1rem;
  }
}

/* =========================================================
///// レスポンシブ max-width: 600px
========================================================= */
@media screen and (max-width: 600px) {
  .wrapper {
    width: 100%;
    padding: 0 1rem;
    margin: 0;
    max-width: 100%;
  }

  h2 {
    font-weight: 500;
  }

  /* 全体的な幅制御 */
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 改行 */
  .sp-br {
    display: block;
    margin-bottom: -1rem;
    /* 数値は調整 */
  }

  /* =========================================================
///// 保護者の皆さまへ
========================================================= */
  .together__ph img {
    margin: 0 auto;
  }

  .together__director {
    display: block;
  }

  /* =========================================================
///// 学校・検定情報
========================================================= */
  .certification__area {
    grid-template-columns: repeat(1, 1fr);
  }

  .certification__area p {
    padding-left: 2rem;
  }

  .certification__area ul {
    padding-left: 3rem;
  }

  .certification img {
    margin-top: 2rem;
  }

  /* =========================================================
///// プライバシーポリシー
========================================================= */
  .privacy-policy p {
    padding: 0;
  }

  .privacy-policy ul {
    padding-left: 1.5rem;
  }

  /* =========================================================
///// 募集要項
========================================================= */
  .guidelines dl {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }

  .guidelines dl dt {
    display: grid;
    justify-content: left;
    padding-left: 1rem;
  }

  .guidelines dl dd {
    padding: 0 1rem;
  }

  /* =========================================================
  ///// インターネットからの申込みはこちら
  ========================================================= */
  .entry p {
    font-size: 20px;
    line-height: 1.3;
    padding: 0.5rem 0;
    border-radius: 15px;
  }

  /* =========================================================
///// 会社概要
========================================================= */
  .company {
    margin-bottom: 2rem;
  }

  .company dl {
    display: grid;
    grid-template-columns: 1fr;
  }
  .company dl dt {
    text-align: left;
    padding: 0 1rem;
  }

  .company dl dt:last-of-type {
    border-bottom: none;
  }
}
