@charset "UTF-8";

/* =========================
COMMON
========================= */

:root {
    --navy: #233360;
    --contentPadding: 4.4%;
}

html {
    font-size: 62.5%;
    margin: 0;
    padding: 0;
}

.main {
    position: relative;
    font-family: "Noto Sans JP", Arial, sans-serif;
    color: var(--navy, #233360);
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.75;
    width: 100%;
}

.main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url(../images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

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

/* =========================
Header
========================= */

.header {
  background-image: url(../images/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 78px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
  
.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  position: relative;

}

.header__title img {
  display: block;
  height: 100%;
  width: 72px;
}

.header__logo {
  z-index: 100;
}

.nav__header {
  display: flex;
  justify-content: flex-end;
}

.hamburger {
  margin-top: 13px; 
  position: relative;
  color: #233360;
}

.hamburger::after {
  content: 'MENU';
  position: absolute;
  bottom: -28px;
  left: 0;
  width: 100%;
  height: 100%;
}

.hamburger.active::after {
  content: 'CLOSE';
  position: absolute;
  bottom: -28px;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(-100%);
  background-image: url(../images/SP-navi.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: ease .4s;
  z-index: -10;
}

.button__harf {
  display: block;
  width: 120px;
  margin: 8px 0;
}

.nav-items {
  position: absolute;
  top: 56%;
  left: 42%;
  transform: translate(-50%, -50%);
  padding: 0;
}

.nav-items__item {
  width: 100%;
  display: flex;
  margin-bottom: 24px;
}

.note {
  width: 22px;
}

.note--inst {
  width: 24px;
}

.nav__txt {
  margin-left: 12px;
}

.nav__txt--about {
  width: 108px;
  margin-bottom: 10px;
}

.nav__txt--inst {
  width: 138px;
  margin-left: -4px;
  margin-bottom: 4px;
}

.nav__txt--lesson {
  width: 146px;
  margin-left: 4px;
}

.nav__txt--voice {
  width: 106px;
  margin-bottom: 8px;
}

.nav__txt--access {
  width: 70px;
  margin-bottom: 10px;
}

.nav__txt--contact {
  width: 247px;
  margin-top: 3px;
  margin-left: 2px;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 52px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #233360;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
} 
/* =====================
main
===================== */

.button_arch {
  max-width: 323px;
}

/* =====================
footer
===================== */

.footer {
  background-image: url(../images/footer-bg.png);
  display: flex;
  padding: 40px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;    
}

.footer__img {
  display: flex;
  gap: 12%;
  align-items: center;
}

.footer__logo {
  max-width: 170px;
}

.footer__nav {
  margin: 24px 40px;  
}

.footer__nav__items {
  display: flex;
  flex-direction: column;
  gap: 40px;  
}

.footer__flex {
  display: flex;
  gap: 32px;
  flex-direction: column;  
}

.copy {
  font-family: "Noto Sans JP", Arial, sans-serif;
  color: var(--navy, #233360);
  margin: 0 auto;
  font-size: 12px;
  line-height: 170%;
}



@media screen and (min-width: 769px) {
  .footer {
    padding: 24px;
    background-image: url(../images/PC-footer.png);
    background-repeat: no-repeat;
    background-size: cover;
  }

  .footer__logo {
    max-width: 192px;
    margin: 0 100px;
  }

  .nav__item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer__nav {
    margin: 0px 4px;
  }

  .footer__nav__flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer__nav-items__item:last-child {
    margin-left: 12px;
  }

  .footer__about {
    max-width: 150px;
  }

  .footer__inst {
    max-width: 135px;
    margin-top: -12px
  }

  .footer__lesson {
    max-width: 150px;
      margin-top: -14px;
  }

  .footer__voice {
    max-width: 150px;
  }

  .footer__access {
    max-width: 150px;
  }

  .footer__flex {
      display: flex;
      flex-direction: row;
      width: 100%;
      align-items: flex-end;
  }

  .footer__nav__items {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
  
  .column {
    display: flex;
    flex-direction: column;
    justify-content: space-around
  }
}

.footer__instaIcon--sp {
  display: block;
  width: 45px;
  height: 45px;
}


@media screen and (min-width: 769px) {

  .header__title {
    max-width: 131px;
  }

  .header__title img {
      display: block;
      max-width: 131px;
  }

}

@media screen and (min-width: 769px) {
  .header__nav {
    background-image: none;
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    width: 64%;
    z-index: 0;
  }
}


@media screen and (min-width: 769px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}

@media screen and (min-width: 769px) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    margin-left: 16%;
    align-items: flex-end;
  }

  .footer__nav-items__item,
  .nav-items__item {
      width: 100%;
      display: flex;
      justify-content: center;
    }

  .note {
    display: block;
  }

  .nav__txt {
    display: block;
    margin-left: 0;
  }

  .nav-items__item:nth-child(5) {
    margin-left: -42px;
  }

  .nav-items__item:last-child {
    display: none;
  }

  .footer__instaIcon--sp {
    display: none;
  }

  .footer__nav-items__item a,
  .nav-items__item a {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.footer__instaIcon--pc {
  display: none;
}

@media screen and (min-width: 769px) {
  .hamburger {
    display: none;
  }
  
  .footer__instaIcon--pc {
    display: block;
    width: 45px;
  }
  
}
