@charset "utf-8";

/*-------------------------------------------
共通
-------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
}

.header-sp,
.footer-sp {
  display: none;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
header {
  background-color: #FFFC86;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.header-logo {
  width: 100px;
  height: 100px;
}

.cmn-container {
  padding: 0 20px;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav-item {
  margin-left: 20px;
}

.header-nav-item:hover {
  text-decoration: underline;
}

.header-nav-buttton {
  display: inline-block;
  padding: 10px 15px;
  color: #fff;
  background-color: #ff8b20;
  border-radius: 999px;
}

.header-logo-link:hover,
.header-nav-buttton:hover {
  opacity: 0.8;
}

.header-nav-buttton:hover {
  text-decoration: underline #fff;
}

.header-nav-current {
  position: relative;
}

.header-nav-current::after {
  content: "";
  width: 100%;
  height: 4px;
  background-color: #ff8b20;
  position: absolute;
  left: 0;
  bottom: -10px;
}

/*
ハンバーガ―メニュー
*/
.hamburger {
  width: 100px;
  height: 100px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  cursor: pointer;
  transition: 0.3s;
}

.hamburger:hover {
  opacity: 0.7;
}

/* ハンバーガーメニューの線の設定（メニューが閉じている時） */
.hamburger span {
  width: 50px;
  height: 3px;
  background: #333;
  position: absolute;
  left: 25px;
  transition: 0.3s ease-in-out;
}

/* 1本目の線の位置を設定 */
.hamburger span:nth-child(1) {
  top: 36px;
}

/* 2本目の線の位置を設定 */
.hamburger span:nth-child(2) {
  top: 50px;
}

/* 3本目の線の位置を設定 */
.hamburger span:nth-child(3) {
  top: 64px;
}

/*
ハンバーガーメニューの線の設定（メニューが開いている時）
1本目の線を-45度回転
*/
.hamburger.active span:nth-child(1) {
  top: 47px;
  transform: rotate(-45deg);
}

/* 2本目と3本目は重ねて45度回転 */
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 47px;
  transform: rotate(45deg);
}

.header-fixed-height {
  margin-top: 100px;
}

/*-------------------------------------------
フッター
-------------------------------------------*/
.footer {
  background: #FFFC86;
  padding: 80px 0 0;
  clear: both;
  margin-top: 100px;
}

.footer-contact-area {
  display: flex;
  justify-content: space-between;
}

.footer-contact-title {
  width: 100%;
  text-align: center;
  border: 2px solid #333;
  padding: 10px 0;
  border-radius: 999px;
  font-size: 18px;
}

.footer-logo-wrapper {
  width: 120px;
  margin-left: 70px;
}

.footer-logo {
  width: 100%;
}

.footer-contact-wrapper {
  width: 75%;
}

.footer-contact-inner {
  margin-top: 27px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-contact-phone-wrapper {
  display: flex;
  align-items: center;
}

.footer-contact-phone {
  font-size: 60px;
  margin-left: 10px;
}

.footer-contact-phone-icon {
  width: 44px;
}

.footer-contact-time {
  font-size: 18px;
  display: block;
  margin-left: 60px;
}

.footer-contact-mail-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.footer-contact-mail-wrapper::after {
  content: "";
  width: 1px;
  height: 66px;
  background-color: #000;
  position: absolute;
  top: -10px;
  left: -20px;
}

.footer-contact-mail {
  margin: 0 10px;
  font-size: 20px;
}

.footer-school-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

/* 2行目の校舎情報が左右に分かれて表示されるため調整 */
/* 擬似要素(before,after)を追加することで2行目の左詰めを実現している */
/* 2行目が3校以上になった場合などは適宜コメントアウトする */
.footer-school-list::before {
  content: "";
  width: 22%;
  order: 1;
}

.footer-school-list::after {
  content: "";
  width: 22%;
}

.footer-school-item {
  width: 22%;
  margin-top: 37px;
}

.footer-school-item-title {
  background-color: #FFDB20;
  text-align: center;
  border-radius: 999px;
}

.footer-school-item-title .footer-school-name {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 10px 0;
}

.footer-school-item-title a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-school-item-text {
  padding: 10px 20px;
  line-height: 1.4;
}

.footer-map {
  text-decoration: underline;
  position: relative;
  padding-left: 17px;
  margin-left: 8px;
}

.footer-map:hover {
  text-decoration: none;
}

.footer-map::before {
  content: "";
  width: 14px;
  height: 18px;
  background: url(../images/ico_map.png) no-repeat 0 0 / 100% 100%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer-company-area {
  margin-top: 80px;
  text-align: center;
  padding-bottom: 40px;
}

.footer-company-title {
  width: 30%;
  margin: 0 auto;
  border: 2px solid #333;
  padding: 10px 0;
  border-radius: 999px;
  font-size: 18px;
}

.footer-company-name {
  margin-top: 20px;
  font-weight: bold;
  font-size: 17px;
}

.footer-company-address {
  margin-top: 20px;
}

.company-url-wrapper {
  margin-top: 20px;
}

.privacy-wrapper {
  margin-top: 50px;
}

.footer-company-privacy {
  text-decoration: underline;
}

.footer-company-privacy:hover {
  text-decoration: none;
}

.copyright {
  background-color: #B5F9C4;
  color: #3A3A3A;
  font-size: 22px;
  text-align: center;
  padding: 30px 0;
}

/*-------------------------------------------
レスポンシブ
-------------------------------------------*/
@media screen and (max-width: 768px) {

  /*-------------------------------------------
  共通
  -------------------------------------------*/
  .header-sp,
  .footer-sp {
    display: block;
  }

  .header-pc,
  .footer-pc {
    display: none;
  }

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  .header-wrapper {
    display: block;
  }

  .header-nav {
    display: none;
  }

  header.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
  }

  .header-nav.active {
    display: block;
    text-align: center;
  }

  .header-nav.active .header-nav-list {
    display: block;
  }

  .header-nav-item {
    margin-top: 5vh;
  }

  /*-------------------------------------------
  フッター
  -------------------------------------------*/
  .footer {
    padding: 20px 0 100px;
    margin-top: 50px;
  }

  .footer-contact-area {
    display: none;
  }

  .footer-school-list {
    display: block;
  }

  .footer-school-item {
    width: 100%;
    margin-top: 24px;
  }

  .footer-map {
    text-decoration: none;
    margin-left: 0;
  }

  .fixed-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 50px;
    display: flex;
    align-items: center;
  }

  .footer-phone-sp,
  .footer-contact-sp {
    font-size: 16px;
    width: 50vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-phone-sp {
    background-color: #FFDB20;
  }

  .footer-contact-sp {
    background-color: #B5F9C4;
  }

  .footer-contact-phone-sp,
  .footer-contact-mail-sp {
    margin-left: 5px;
  }

  .footer-contact-link-sp {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }

  .footer-contact-phone-icon {
    width: 18px;
  }

  .footer-contact-mail-icon {
    width: 23px;
  }
}