@charset "UTF-8";

/* CSS Document */
html {
  font-size: 62.5%;
  /* 16px * 62.5% = 10px */
  width: 100%;
  background-image: url("../images/p0050_l.png");
  box-sizing: border-box;
}

body {
  color: #0F2E26;
  /* RGB */
  font-family: dnp-shuei-mgothic-std, sans-serif;
  font-style: normal;
  font-size: 1.5em;
  line-height: 2.4rem;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

a {
  color: #0F2E26;
  text-decoration: none;
}

a:hover {
  color: #FDE57F;
}

a:active {
  color: #FDE57F;
}

ul {
  list-style: none;
}

/*ヘッダー設定*/
header {
  background-color: #8CDCBB;
  top: 0;
  height: 150px;
  width: 100%;
  position: fixed;
}

#header {
  display: flex;
  flex-direction: row;
  position: relative;
}

#header a:hover {
  transition: all 0.3s;
}

.header-container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
}

.header__logo {
  width: 170px;
  /*340px*/
  height: 100px;
  /*200px*/
  margin: 25px 50px;
}

.header__trackable {
  display: none;
}

.header-snsmenu-sp {
  display: flex;
  width: 120px;
  margin-top: 170px;
}

.header-snsmenulist-sp {
  width: 40px;
  margin: 0 auto;
}

.header-menu-sp li {
  width: 210px;
}

.logo {
  width: 170px;
  height: 100px;
}

h2 {
  font-family: ccmeanwhile, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 4.0rem;
  color: #37C4AE;
}

h3 {
  font-family: ccmeanwhile, sans-serif;
  font-weight: 700;
  font-style: normal;
}

h4 {
  font-family: dnp-shuei-mgothic-std, sans-serif;
  font-style: normal;
  font-size: 2.5rem;
  margin-top: 25px;
}

#g-nav {
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
  position: absolute;
  margin-left: 30%;
}

#g-nav-sp {
  display: none;
}

.header-contact {
  margin: 20px 10px 0 50%;
  text-align: center;
}

.header-menu {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
}

.header-menu li {
  margin: 0 15px;
  text-align: center;
  line-height: 1.8rem;
}

.header-menu li span {
  font-size: 1.1rem;
}

.header-menu li:last-child,
.header-menu li:nth-child(5) {
  margin: 5px 10px 0 5px;
}

.menu-now {
  color: #FDE57F;
}

.header-btn {
  position: relative;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  background: transparent;
  border-radius: 8px;
  border: solid 1px #D95A2B;
  outline: none;
  transition: all 0.2s ease;
}

.header-btn:hover {
  border-color: transparent;
}

.header-btn span {
  position: relative;
  z-index: 2;
  display: block;
  padding: 5px 15px;
  background: #FDE57F;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pushright:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 3px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: #D95A2B;
}

.pushright:hover span {
  background-color: #D95A2B;
  color: #FDE57F;
  transform: translate(3px, 3px);
}

.c-marker {
  background: -webkit-linear-gradient(left, rgb(182, 237, 214) 50%, transparent 50%);
  background: -moz-linear-gradient(left, rgb(182, 237, 214) 50%, transparent 50%);
  background: linear-gradient(left, rgb(182, 237, 214) 50%, transparent 50%);
  background-repeat: no-repeat;
  background-size: 200% .8em;
  background-position: 100% .5em;
  transition: 2s;
}

.c-marker.is-active {
  background-position: 0% .5em;
}

section.fixed {
  position: -webkit-sticky;
  /*Safari*/
  position: sticky;
  top: 70px;
  /*  z-index: -1;*/
}

.bg-line {
  margin-top: 200px;
}

.bg-lineimg {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.section-title {
  text-align: center;
}

.title-sun {
  width: 156px;
  /*195px*/
  height: 120px;
  /*195px*/
}

.title-palmtree {
  width: 100px;
  /*200px*/
  height: 150px;
  /*300px*/
}

.section-othertop {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.section-othertop__topimg img {
  width: 100%;
  max-width: 1050px;
}

.bg-line {
  margin-top: 200px;
  opacity: 0.8;
  width: 100%;
  object-fit: cover;
  filter: saturate(200%);
}

footer {
  background-color: #8CDCBB;
  position: relative;
  margin-top: 200px;
  width: 100%;
}

footer .footer-menu a:hover {
  transition: all 0.3s;
}

.footer-menu-sp {
  display: none;
}

.footer-menu {
  position: relative;
  display: flex;
  justify-content: flex-start;
  padding-bottom: 40px;
  width: 80%;
  max-width: 750px;
  margin: 0 auto;
}

.sitemap {
  margin: 75px 0 40px 20px;
  font-size: 1.5rem;
  line-height: 3.0rem;
}

.footer-courses {
  font-size: 1.2rem;
  margin-left: 25px;
}

.footer-contact {
  text-align: center;
  margin: 50px 0 0 210px;
}

.square {
  color: #FDE57F;
}

.trial-lesson p {
  color: #D95A2B;
}

.scroll-top {
  position: fixed;
  right: 5%;
  bottom: 10px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  white-space: nowrap;
  animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove {
  0% {
    bottom: 20px;
  }

  50% {
    bottom: 25px;
  }

  100% {
    bottom: 20px;
  }
}

.scroll-top.scroll-view {
  opacity: 1;
  visibility: visible;
}

.scroll-top a {
  text-decoration: none;
  color: #D95A2B;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
}

.js-scroll a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 50px;
  background: #D95A2B;
}

.js-scroll a::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -6px;
  width: 1px;
  height: 20px;
  background: #D95A2B;
  transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-scroll a::before {
  right: -11px;
}

.js-pagetop a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 50px;
  background: #D95A2B;
}

.js-pagetop a::before {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  width: 1px;
  height: 20px;
  background: #D95A2B;
  transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-pagetop a::before {
  right: 0;
}

small {
  font-size: 1.0rem;
  width: 230px;
  margin: 0 auto;
  display: block;
}

.trial-btn {
  position: relative;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  background: transparent;
  border-radius: 8px;
  border: solid 1px #D95A2B;
  outline: none;
  transition: all 0.2s ease;
}

.trial-btn:hover {
  border-color: transparent;
}

.trial-btn span {
  position: relative;
  z-index: 2;
  display: block;
  padding: 15px 40px;
  background: #FDE57F;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pushright2:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-color: #D95A2B;
}

.pushright2:hover span {
  background-color: #D95A2B;
  color: #FDE57F;
  transform: translate(4px, 4px);
}

.school-name {
  padding-right: 10px;
}

.school-name p {
  font-size: 1.3rem;
}

.footer-tel {
  text-align: left;
  width: 290px;
  margin: 15px auto 0;
  padding-left: 40px;
}

.footer-tel a {
  font-weight: 600;
}

.businesshours {
  font-size: 1.3rem;
  line-height: 2.0rem;
  padding-top: 5px;
}

.businesshours span {
  font-weight: 600;
}

.trial-lesson p {
  font-size: 1.3rem;
  font-weight: 600;
}

.footerdecoration {
  display: flex;
  position: relative;
}

.footer-palmtree {
  width: 236px;
  /*295px*/
  height: 352px;
  /*440px*/
  position: absolute;
  bottom: -200px;
  left: 5%;
}

.footer-car {
  width: 232px;
  /*290px*/
  height: 144px;
  /*180px*/
  position: absolute;
  bottom: -201px;
  right: 0;
}

.footerdecoration__car {
  width: 100%;
  animation: animate-banner 8s linear infinite;
}

@keyframes animate-banner {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.footer__trial-lesson p {
  color: #D95A2B;
  font-weight: 600;
  margin-top: 10px;
}

.trackable-container {
  position: absolute;
  left: 15px;
  width: 100%;
  max-width: 988px;
}

.openbtn1 {
  display: none;
  position: absolute;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
}

.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #FDE57F;
  width: 45%;
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  top: 23px;
}

.openbtn1 span:nth-of-type(3) {
  top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

#g-nav-sp.panelactive {
  position: fixed;
  z-index: 9;
  top: 0;
  width: 100%;
  height: 100vh;
}

.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #8CDCBB;
  opacity: 0.85;
  transform: scale(0);
  top: -50px;
  left: calc(50% - 50px);
  transition: all .6s;
}

.circle-bg.circleactive {
  transform: scale(50);
}

#g-nav-sp.panelactive {
  display: block;
}

#g-nav-sp ul {
  opacity: 0;
  position: absolute;
  z-index: 999;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#g-nav-sp.panelactive ul {
  opacity: 1;
}

#g-nav-sp.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: .2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

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

  100% {
    opacity: 1;
  }
}

#g-nav-sp li {
  text-align: center;
  list-style: none;
}

#g-nav-sp li a {
  olor: #0F2E26;
  font-size: 1.6rem;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.header-menu-sp li a span {
  font-size: 1.2rem;
  border-top: solid 2px #FDE57F;
  padding-top: 6px;
}

.openbtn1 {
  position: fixed;
  z-index: 9999;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #FAD865;
  width: 45%;
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  top: 23px;
}

.openbtn1 span:nth-of-type(3) {
  top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

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

  100% {
    opacity: 1;
  }
}

/*----スマホ　レスポンシブ----*/
@media(max-width:899px) {
  body {
    font-size: 1.4rem;
  }

  header {
    height: 80px;
    width: 100%;
    background-color: #8CDCBB;
  }

  h1 {
    position: fixed;
    z-index: 100;
  }

  #g-nav {
    display: none;
  }

  .openbtn1 {
    display: block;
    z-index: 10;
  }

  .header-container {
    display: flex;
    position: relative;
  }

  .trackable-container {
    position: absolute;
    right: 15px;
  }

  .header__logo {
    width: 100px;
    height: 60px;
    margin: 10px;
  }

  .header__logo img {
    width: 100px;
    height: 60px;
  }

  .section-othertop__topimg img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
  }

  .header-contact-sp {
    width: 300px;
    margin: 0 auto;
  }

  .header__trackable {
    right: 60px;
    display: flex;
    position: fixed;
    top: 15px;
    z-index: 10;
  }

  .header__trackable1 {
    font-size: 1.2rem;
    line-height: 1.7rem;
    font-weight: 600;
    padding: 13px 0;
    color: #D95A2B;
    text-align: center;
    width: 100px;
    height: 44px;
    border-radius: 5px 0 0 5px;
    background-color: #FDE57F;
    border: solid 1px #D95A2B;
  }

  .header__trackable2 {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 5px;
    color: #FDE57F;
    text-align: center;
    width: 40px;
    height: 44px;
    border-radius: 0 5px 5px 0;
    line-height: 1.7rem;
    background-color: #D95A2B;
  }

  h2 {
    font-size: 2.3rem;
  }

  h4 {
    font-size: 1.6rem;
    margin-top: 15px;
  }

  .title-sun {
    width: 60px;
    /*195px*/
    height: 45px;
    /*195px*/
  }

  .title-palmtree {
    width: 40px;
    height: 60px;
  }

  .bg-line {
    margin: 100px auto 0;
    z-index: -10;
  }

  .bg-lineimg {
    height: 150px;
    object-fit: cover;
    z-index: -10;
  }

  section.fixed {
    position: relative !important;
    top: 0;
  }

  section.fixed:first-of-type {
    padding-top: 100px;
  }

  .footer-palmtree {
    width: 130px;
    height: 190px;
  }

  .footer-car {
    width: 150px;
    height: 95px;
  }

  footer {
    z-index: 101;
    height: 720px;
  }

  .sitemap {
    font-size: 1.3rem;
    line-height: 2.5rem;
    width: 150px;
    margin: 190px auto 0;
  }

  footer {
    height: 950px;
  }

  .footer-menu {
    display: none;
  }

  .footer-menu-sp {
    display: block;
    padding-top: 30px;
    margin-top: 30px;
  }

  .school-name-sp {
    margin: 0 auto;
    width: 230px;
    text-align: center;
  }

  .school-name-sp p {
    width: 230px;
    margin: 0 auto;
  }

  .sitemap-sp {
    margin: 50px auto 0;
    font-size: 1.5rem;
    width: 180px;
  }

  .sitemap-sp li {
    padding: 10px 0;
  }

  .footer-courses-sp li {
    padding: 5px 0 5px 25px;
  }

  .footer-courses-sp {
    padding-top: 3px;
  }

  .footer-tellink-sp {
    font-size: 2.0rem;
    width: 210px;
    margin: 30px auto 0;
  }

  .businesshours-sp {
    font-size: 1.5rem;
    width: 240px;
    margin: 20px auto 0;
  }

  .footer__trial-lesson-sp {
    width: 240px;
    margin: 20px auto 15px;
  }

  .footer__trial-lesson-sp p {
    text-align: center;
    /* margin-top: 20px; */
    margin-top: 10px;
    color: #D95A2B;
    font-weight: 600;
  }

  small {
    /* margin: 50px auto 0; */
    margin: 0 auto;
  }

}

@media(min-width:1050px) {
  #g-nav {
    margin-left: 400px;
  }

  .footerdecoration {
    position: relative;
  }

  .footer-palmtree {
    position: absolute;
    left: 8%;
  }

}

@media (min-width: 751px) {
  a[href*="tel:07085210586"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}