@charset "utf-8";

:root {
  --txt-color: #333;
}


html {
  font-family: YuGothic, 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo, sans-serif;
  font-size: 16px;
  color: var(--txt-color);
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}

.loading {
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  transition: all 1s;
  opacity: 1;
  visibility: visible;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

a {
  text-decoration: none;
  color: var(--txt-color);
}

li {
  list-style-type: none;
}

.header-wrapper-top,
.header-wrapper-bottom,
.section-wrapper {
  max-width: 90%;
  margin: 0 auto;
}

article {
  max-width: 70%;
  margin: 0 auto;
}

.flex {
  display: flex;
}

.top-page {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.top-page a {
  background: #fff;
  border: 1px solid #ccc;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  display: block;
  border-radius: 50%;
  opacity: 0.8;
  transition: all .3s ease;
}

.top-page a:hover {
  opacity: .5;
}

.button-contact {
  padding: 1rem 2rem;
  display: block;
  border: 1px solid #f90;
  background-color: #f90;
  border-radius: 50px;
  transition: .5s;
  width: fit-content;
  margin: 0 auto;
}

.button-contact a {
  color: #fff;
  font-weight: bold;
}

.button-contact:hover {
  background-color: #fff;
}

.button-contact:hover a {
  color: #f90;
}

.button {
  padding: 1rem 2rem;
  border: 1px solid #331f00;
  background-color: #331f00;
  border-radius: 50px;
  transition: .5s;
  width: fit-content;
  display: block;
  margin: 0 auto;
}

.button a {
  font-weight: bold;
  color: #fff;
}

.button:hover {
  background-color: #fff;
}

.button:hover a {
  color: #331f00;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 2.5rem 0 3.5rem;
  text-align: center;
  position: relative;
}

h2::before {
  content: "";
  background-color: #f90;
  width: 4rem;
  height: .3rem;
  position: absolute;
  bottom: -1rem;
  left: 50%;
  border-radius: 2px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  display: inline-block;
}

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

/* ==========header========== */

header {
  width: 100%;
  padding: 10px;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, .7);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.header-wrapper-top {
  justify-content: space-between;
}

.header-left,
.header-right {
  align-items: center;
  align-content: center;
}

.header-left {
  width: fit-content;
  height: fit-content;
}

header img {
  vertical-align: middle;
  margin-right: .25rem;
  width: fit-content;
}

.header-logo {
  font-size: 2rem;
  font-weight: bold;
  height: 2rem;
  line-height: 2rem;
}

.header-logo .namba {
  font-size: 1.3rem;
}

.header-right {
  align-items: center;
  margin-bottom: 1rem;
  justify-content: end;
}

.btn-menu {
  display: none;
}

.tel {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.3rem;
  height: 1.3rem;
  margin-right: 1rem;
}

.tel::before {
  margin-right: .25rem;
  vertical-align: middle;
  content: '\f095';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--txt-color);
  font-size: 1.05rem;
}

.header-wrapper-bottom ul {
  justify-content: flex-end;
  gap: 2rem;
  font-weight: bold;
}

.header-wrapper-bottom a:hover {
  color: #f90;
}

.sns-x::before {
  font: var(--fa-font-brands);
  content: '\e61b';
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--txt-color);
}

.sns-fb::before {
  font: var(--fa-font-brands);
  content: '\f09a';
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--txt-color);
}

.sns-insta::before {
  font: var(--fa-font-brands);
  content: '\f16d';
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--txt-color);
}

/* ==========main========== */
.slide {
  width: 100%;
  height: 85vh;
  display: block;
  position: relative;
  overflow: hidden;
}

.slide-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slider-1 24s linear infinite;
}

.slide-image:nth-child(1) {
  background-image: url(../img/mv.jpg);
  animation-delay: -2s;
}

.slide-image:nth-child(2) {
  background-image: url(../img/mv2.jpg);
  animation-delay: 6s;
}

.slide-image:nth-child(3) {
  background-image: url(../img/mv3.jpg);
  animation-delay: 14s;
}

@keyframes slider-1 {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  4.16% {
    opacity: 1;
  }

  33.33% {
    opacity: 1;
  }

  41.66% {
    opacity: 0;
    transform: scale(1.2);
  }

  100% {
    opacity: 0;
  }
}

.main-txt {
  flex-direction: column;
  gap: 2rem;
  position: absolute;
  top: 30%;
  left: 5%;
  text-align: center;
}

.main-visual h1 {
  font-size: 3rem;
  color: #f90;
  position: relative;
}

.main-visual h1::after {
  content: "";
  background-color: rgba(255, 255, 255, .5);
  width: 9em;
  height: .7em;
  position: absolute;
  bottom: .5rem;
  left: -.5rem;
  z-index: -1;
}

.main-visual p {
  font-weight: 500;
  text-shadow: 0 1px 5px #fff;
}

/* ==========lessons========== */
#lessons {
  flex-direction: column;
  justify-content: center;
}

#lessons .content {
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 3rem 1rem;
}

#lessons img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: bottom;
}

#lessons .content-card {
  position: relative;
  width: calc((100% - 2rem) / 3);
  height: auto;
  z-index: -200;
}

#lessons .content-menu {
  max-width: 275px;
  height: 50px;
  position: absolute;
  bottom: -1rem;
  left: 10%;
}

#lessons p {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 auto;
  width: 80%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
  padding: .5rem;
  text-align: center;
}

.lesson-course .lesson-course-name,
.lesson-title {
  font-size: 1.4rem;
  font-weight: bold;
}

.lesson-course .lesson-course-name span,
.content-card p {
  font-size: 1rem;
  margin: 0 .3rem;
}

#lesson-btn {
  margin: 4rem auto 2.5rem;
}

.lesson-item {
  gap: 1rem;
}

.lesson-img {
  width: 40%;
}

.lesson-course {
  width: 60%;
}

.lesson-course p {
  text-align: justify;
}

.lesson-course-top {
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
}

.lesson-list {
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* ==========point========== */
#point {
  padding-bottom: 2.5rem;
}

.point-container {
  width: 100%;
  margin-bottom: 5.5rem;
}

.point-container:nth-of-type(2) {
  flex-direction: row-reverse;
}

.point-container:nth-of-type(3) {
  margin-bottom: 0;
}

.point-box {
  width: 65%;
  background-color: #ffebcc;
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
}

.box01,
.box02,
.box03 {
  width: fit-content;
  display: block;
  margin: 0 auto;
}

.point-box.c01::after {
  content: "01";
  font-family: "Poller One", serif;
  font-size: 8rem;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  right: 5rem;
  bottom: 0;
  color: rgba(255, 255, 255, .5);
}

.point-box.c02::after {
  content: "02";
  font-family: "Poller One", serif;
  font-size: 8rem;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  left: 5rem;
  bottom: 0;
  color: rgba(255, 255, 255, .5);
}

.point-box.c03::after {
  content: "03";
  font-family: "Poller One", serif;
  font-size: 8rem;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  right: 5rem;
  bottom: 0;
  color: rgba(255, 255, 255, .5);
}

.point-txt {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  z-index: 5;
}

.point-img {
  width: 35%;
  position: relative;
}

.point-img img {
  position: absolute;
  bottom: -2rem;
  left: 30%;
  width: auto;
  max-height: 310px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.point-container:nth-of-type(2) img {
  position: absolute;
  bottom: -2rem;
  left: -30%;
}

/* ==========flow========== */
#flow {
  position: relative;
  background: linear-gradient(#fff, #ffebcc);
  padding: 2.5rem 0;
  z-index: -300;
}

#flow::after {
  content: "";
  position: absolute;
  height: 50px;
  width: 100%;
  -webkit-clip-path: polygon(45% 0, 50% 100%, 55% 0);
  clip-path: polygon(45% 0, 50% 100%, 55% 0);
  background: #ffebcc;
  bottom: -49px;
}

.flow-container {
  width: 80%;
  gap: 1.5rem;
  margin: 0 auto 1.5rem;
}

.flow-card {
  width: 300px;
  height: auto;
  border-radius: 10px;
  padding: 1rem;
  margin: 0 auto;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: inline-block;
}

.flow-card p,
.flow-card img {
  display: block;
  margin: 0 auto;
}

.flow-card .number {
  font-family: "Poller One", serif;
  font-weight: 400;
  font-style: normal;
  color: #F90;
  font-size: 1.4rem;
}

.flow-card img {
  margin: 1.5rem auto;
  filter: brightness(250%);
  width: 60px;
}

.flow-txt {
  text-align: left;
}

/* ==========voice========== */
#voice {
  padding: 2.5rem 0;
  background-color: rgba(255, 255, 255, .7);
  background-image: url(../img/voice-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
}

.voice {
  width: 80%;
  gap: 1.5rem;
  margin: 0 auto;
  flex-wrap: wrap;
}

.voice-container {
  width: calc((100% - 3rem) / 3);
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin: 0 auto 1.5rem;
}

.voice-img {
  width: 100%;
}

.voice img {
  border-radius: 10px 10px 0 0;
}

.voice-txt {
  width: 100%;
  padding: 1rem;
}

.voice-txt p {
  text-indent: 1rem;
}

/* ==========contact========== */
#contact {
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}

#contact2 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}

.contact-txt {
  font-weight: bold;
  font-size: 1.5rem;
}

.contact-txt::before {
  content: "＼";
  margin-right: .5rem;
}

.contact-txt::after {
  content: "／";
  margin-left: .5rem;
}

.contact-btn {
  margin-top: 2.5rem;
}

.contact-btn:hover {
  opacity: 1;
  transform: scale(1.15, 1.15);
  -webkit-transform: scale(1.15, 1.15);
}

/* ==========faq========== */
#faq {
  background-color: #FEEABC;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

#faq h2 {
  margin-top: 0;
}

#faq ul {
  width: 60%;
  margin: 0 auto;
}

#faq li {
  padding: .5rem 1rem;
  position: relative;
}

.accordion-q span,
.accordion-a span {
  margin-left: .5rem;
}

.accordion-q span::after {
  content: "\f0d7";
  font: var(--fa-font-solid);
  font-weight: 900;
  font-size: 1.05rem;
  position: absolute;
  right: 3%;
  top: 30%;
}

.accordion-q {
  margin-top: 1rem;
  background-color: #fff;
}

.accordion-q:nth-of-type(1) {
  margin-top: 0;
}

.accordion-a {
  display: none;
  background-color: #fff;
  opacity: .6;
}


/* ==========news========== */
#news {
  background-color: #FEEABC;
  background-image: url(../img/news-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

#news h2 {
  margin-top: 0;
}

#news ul {
  width: 60%;
  margin: 0 auto;
}

#news li {
  background-color: rgba(255, 255, 255, .7);
  padding: .5rem;
  margin-bottom: 1rem;
  box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.3);
}

#news li:nth-of-type(3) {
  margin-bottom: 0;
}

#news time {
  margin-right: 1rem;
}

#news .button {
  margin-top: 2.5rem;
}

/* ==========アクセス========== */
#access {
  padding-bottom: 2.5rem;
}

#access .section-wrapper {
  justify-content: space-around;
  gap: 2rem;
  width: 80%;
}

.map-left {
  width: calc((100% - 2rem) /2);
  height: auto;
}

.map-right {
  width: calc((100% - 2rem) /2);
  height: auto;
  padding: 1rem;
  box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.3);
}

#googlemap {
  width: 100%;
  height: 100%;
}

table {
  width: 100%;
}

caption {
  font-size: 1.2rem;
  text-align: center;
}

th {
  text-align: left;
}

td {
  text-indent: 1rem;
}

/* ==========footer========== */
footer {
  background-color: #331f00;
  color: #fff;
  padding: 2.5rem;
  text-align: center;
}

footer ul {
  justify-content: center;
  gap: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

footer a {
  color: #fff;
}

.footer-logo {
  display: block;
  margin: 0 auto;
}

footer .sns-x::before {
  font: var(--fa-font-brands);
  content: '\e61b';
  font-weight: 400;
  font-size: 1.2rem;
  color: #fff;
}

footer .sns-fb::before {
  font: var(--fa-font-brands);
  content: '\f09a';
  font-weight: 400;
  font-size: 1.2rem;
  color: #fff;
}

footer .sns-insta::before {
  font: var(--fa-font-brands);
  content: '\f16d';
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
}

small {
  margin-top: .5rem;
}

.contact.wrapper {
  width: 60%;
  min-width: 50%;
  margin-bottom: 3rem;
  margin: 0 auto;
}

.required {
  color: #f00;
}

input {
  height: 2rem;
  width: 100%;
  background-color: #FEEABC;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.date p {
  margin-right: 2rem;
}

#date {
  width: 100%;
}

textarea {
  height: 5rem;
  width: 100%;
  background-color: #FEEABC;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#submit {
  width: 30%;
  padding: .5rem 1rem;
  text-align: center;
  border: 1px solid #f90;
  background: #f90;
  border-radius: 50px;
  transition: .5s;
  display: block;
  margin: 2rem auto 3rem;
  color: #fff;
  font-weight: bold;
  line-height: auto;
  height: auto;
}

#submit:hover {
  background-color: #fff;
  color: #f90;
}

.fixed-contact {
  height: 0;
  overflow: hidden;
}