@charset "UTF-8";

body {
  overflow-x: hidden;
  background-color: #fff;
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
  font-size: clamp(0.875rem, 0.818rem + 0.24vw, 1rem);
  /* (min 14px max 16px, min 375px max 1200px) */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media screen and (min-width: 750px) {
  .body-inner {
    max-width: 750px;
    background: #fff;
    margin-left: auto;
    margin-right: auto;
  }
}

img {
  width: 100%;
  margin-top: -1px;
  /*--隙間調整--*/
}

/* コンテンツの横幅 */
/* ============================================ */
.o-wrapper {
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================ */
/* ページ読み込み時にふわっと表示させる */
body {
  -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
  animation: fadeIn 1.5s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.l-main {
  padding-top: 70px;
}

@media screen and (max-width: 576px) {
  .l-main {
    padding-top: 50px;
  }
}

/* header */
.header_nav {
  position: fixed;
  height: 70px;
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  background-color: #fff;
  z-index: 1000;
}

@media screen and (max-width: 576px) {
  .header_nav {
    height: 50px;
  }
}

.header_nav-ttl {
  width: 190px;
  height: auto;
}

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

.total_full {
  padding-top: 0.3rem;
  padding-bottom: 1rem;
}

.ritojimu-miryoku {
  margin-top: -5.5rem;
}

@media screen and (max-width: 576px) {
  .ritojimu-miryoku {
    margin-top: -4.5rem;
  }
}

/* 教室紹介 */
.kyoushithu-secion {
  padding: 2rem 1.5rem;
  text-align: center;
  background-color: #eef4f6;
}

@media screen and (max-width: 576px) {
  .kyoushithu-secion {
    padding: 1rem 0.8rem;
  }

  .kyoushithu-maikata-info, .kyoushithu-takaki-info {
    padding: 0 0.8rem;
  }
}

.kyoushithu-secion-ttl {
  padding-bottom: 2rem;
}

@media screen and (max-width: 576px) {
  .kyoushithu-secion-ttl {
    padding-bottom: 1rem;
  }
}

.kyoushithu-maikata {
  padding-bottom: calc(100 / 16 * 1rem);
}

.kyoushithu-maikata-info, .kyoushithu-takaki-info {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.kyoushithu-maikata-ttl, .kyoushithu-takaki-ttl {
  display: inline-block;
  text-align: center;
  font-size: calc(28 / 16 * 1rem);
  color: #fff;
  background-color: #5e7eff;
  border-radius: 9999px;
  padding: 0.4rem 1.2rem;
  margin-bottom: calc(15 / 16 * 1rem);
}

@media screen and (max-width: 576px) {
  .kyoushithu-maikata-ttl, .kyoushithu-takaki-ttl {
    font-size: calc(20 / 16 * 1rem);
  }
}

@media screen and (max-width: 375px) {
  .kyoushithu-maikata-ttl, .kyoushithu-takaki-ttl {
    font-size: calc(18 / 16 * 1rem);
  }
}

.kyoushithu-maikata-access, .kyoushithu-maikata-tel, .kyoushithu-takaki-access, .kyoushithu-takaki-tel {
  font-size: calc(25 / 16 * 1rem);
  text-align: left;
  margin-bottom: calc(15 / 16 * 1rem);
  color: #4d3228;
}

.kyoushithu-maikata-access svg, .kyoushithu-maikata-tel svg, .kyoushithu-takaki-access svg, .kyoushithu-takaki-tel svg {
  position: relative;
  top: 2px;
  width: calc(25 / 16 * 1rem);
  height: calc(25 / 16 * 1rem);
}

@media screen and (max-width: 576px) {
  .kyoushithu-maikata-access, .kyoushithu-maikata-tel, .kyoushithu-takaki-access, .kyoushithu-takaki-tel {
    font-size: calc(16 / 16 * 1rem);
    margin-bottom: calc(12 / 16 * 1rem);
  }

  .kyoushithu-maikata-access svg, .kyoushithu-maikata-tel svg, .kyoushithu-takaki-access svg, .kyoushithu-takaki-tel svg {
    width: calc(16 / 16 * 1rem);
    height: calc(16 / 16 * 1rem);
  }
}

/* hover */
.footer_nav a  {
  transition: opacity 0.3s ease;
}

.footer_nav a:hover {
  opacity: 0.8;
}

.maikata-map, .takaki-map {
  width: 100%;
}

.maikata-map iframe, .takaki-map iframe {
  width: 100%;
}

/* footer */
/* ============================================ */
footer {
  display: block;
  padding: 10px;
  background: #5e7eff;
  margin-bottom: 100px;
}

ul {
  list-style: none;
}

.footer_nav {
  text-align: center;
  padding: 10px 0;
}

.footer_nav li {
  display: inline-block;
  margin: 0 5px 0 0;
  border-right: #000 solid thin;
  font-size: 13px;
}

.footer_nav li a {
  text-decoration: none;
  padding: 0 10px 0 0;
  color: #fff;
}

.footer_nav li:last-child {
  border: none;
}

footer .copyright {
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  padding-bottom: 10px;
  color: #fff;
}

.footer_button {
  text-align: center;
}

.footer_button-inner {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 95px;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  z-index: 100;
  padding: 1rem;
  animation: float 2s ease-in-out infinite;
}

.footer_button-link {
  display: block;
  cursor: pointer;
}

.footer_button-link:first-of-type {
  margin-bottom: 1rem;
  padding-right: 1rem;
}

@media screen and (max-width: 576px) {
  .footer_button-inner {
    display: block;
    height: 200px;
    width: 80%;
  }

  .footer_button-link:first-of-type {
    margin-bottom: 1rem;
    padding-right: 0;
  }

  footer {
    margin-bottom: 200px;
  }
}

@media screen and (max-width: 490px) {
  .footer_button-inner {
    height: 170px;
  }

  footer {
    margin-bottom: 170px;
  }
}

@media screen and (max-width: 460px) {
  .footer_button-inner {
    height: 155px;
  }

  footer {
    margin-bottom: 155px;
  }
}

@media screen and (max-width: 375px) {
  .footer_button-inner {
    height: 135px;
  }

  footer {
    margin-bottom: 135px;
  }
}

@media screen and (max-width: 320px) {
  .footer_button-inner {
    height: 125px;
  }

  footer {
    margin-bottom: 125px;
  }
}

@keyframes float {
  0% {
    transform: translateX(-50%) translateY(0px);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }

  100% {
    transform: translateX(-50%) translateY(0px);
  }
}