/*
Theme Name: elefamille
Author: mai
Version: 2.0
*/
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
ol,
ul,
li,
fieldset,
form,
label,
article,
footer,
header,
nav,
section {
  margin: 0;
  padding: 0;
  border: 0;
}

article,
footer,
header,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

main {
  overflow: hidden;
}

ol,
ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
  font-weight: lighter;
  line-height: 28px;
}

a {
  color: white;
  text-decoration: none;
}

button,
input,
textarea,
select {
  background: none;
  border: none;
  cursor: pointer;
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 40px;
  margin: auto;
  padding: 5px 10px;
  background: rgb(148, 83, 119);
  border-radius: 50px;
  letter-spacing: 2px;
}
.btn span {
  transition: 0.5s;
}
.btn::after {
  margin-left: 10px;
  right: 10px;
  width: 10px;
  height: 12px;
  clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
  background: white;
  content: "";
  transition: 0.5s;
}

.btn:hover span {
  transform: translateX(-5px);
}
.btn:hover::after {
  transform: translateX(5px);
}

.link {
  transition: opacity 0.5s;
}

.link:hover {
  opacity: 0.5;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s;
}
.fade-in.on {
  opacity: 1;
}

.fade-up {
  transform: translateY(50px);
  opacity: 0;
  transition: transform 1s, opacity 1s;
}
.fade-up.on {
  transform: translateY(0);
  opacity: 1;
}

.fade-down {
  transform: translateY(-50px);
  opacity: 0;
  transition: transform 1s, opacity 1s;
}
.fade-down.on {
  transform: translateY(0);
  opacity: 1;
}

html,
body {
  overflow-x: hidden;
  -webkit-text-size-adjust: "none" "100%" "auto";
}

body {
  width: 100%;
  height: 100%;
  margin: auto;
  background-color: rgb(8, 34, 68);
  font-family: "Montaga", "Klee One";
  color: white;
  text-align: center;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }
  body.hidden {
    overflow: hidden;
  }
}
header {
  z-index: 90;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgb(8, 34, 68);
  text-align: center;
}

.header-inner {
  max-width: 800px;
  height: 100%;
  margin: auto;
  padding: 0 10px;
}

#hamburger {
  display: none;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 100%;
  margin: auto;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 1.2rem;
}

.line-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1rem;
}

.line-icon {
  width: 35px;
  height: 35px;
}

@media screen and (max-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0;
  }
  #hamburger {
    z-index: 100;
    position: relative;
    display: flex;
    width: 40px;
    height: 30px;
    margin-right: 10px;
  }
  .hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    transition: 0.5s;
  }
  .hamburger-line:nth-child(1) {
    top: 0;
  }
  .hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(50%);
  }
  .hamburger-line:nth-child(3) {
    top: 100%;
  }
  #hamburger.active .hamburger-line:nth-child(1) {
    top: 50%;
    transform: rotate(45deg) translateY(50%);
  }
  #hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  #hamburger.active .hamburger-line:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg) translateY(50%);
  }
  .nav {
    position: fixed;
    z-index: 90;
    top: 0;
    flex-direction: column;
    justify-content: start;
    width: 250px;
    height: 100dvh;
    background-color: rgb(8, 34, 68);
    transform: translateX(100%);
    transition: transform 1s;
  }
  .nav.active {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    justify-content: start;
    gap: 30px;
    margin: 100px auto 0;
  }
  #nav-back {
    position: fixed;
    z-index: 80;
    visibility: hidden;
    top: 0;
    width: 100dvw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
  }
  #nav-back.active {
    visibility: visible;
  }
}
main {
  min-height: calc(100dvh - 80px - 200px);
}

.section-inner {
  max-width: 800px;
  margin: auto;
  margin-top: -80px;
  padding: 110px 10px 0 10px;
}

.section-title {
  font-size: 2rem;
}

.section-contents {
  margin-top: 30px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: end;
  height: 200px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
}
footer p {
  margin-bottom: 30px;
}

.article-item {
  padding: 20px 10px;
  text-align: left;
  border-top: solid 1px white;
  color: white;
  transition: all 1s;
}
.article-item:last-child {
  border-bottom: solid 1px white;
}
.article-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.article-item__link {
  display: block;
  width: 100%;
  height: 100%;
}

.article-item__title {
  display: block;
  margin-bottom: 1px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 1.3rem;
}

.article-item__date {
  display: block;
}

.no-article {
  padding: 50px 0;
}

#loading {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgb(8, 34, 68);
}
#loading .circle-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
#loading .circle {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  height: 5px;
  margin: auto;
  background-color: white;
  border-radius: 50%;
  animation: loading 1.5s infinite;
}
#loading .circle:nth-child(2) {
  animation-delay: 0.5s;
}
@keyframes loading {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(50);
    opacity: 0;
  }
}
#loading.hidden {
  display: none;
}

.star {
  position: absolute;
  display: block;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(255, 255, 255, 0.2);
  opacity: 0.6;
  animation: twinkle 5s infinite;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.8;
  }
}
.fv {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100dvw;
  height: calc(100dvh - 80px);
  margin-bottom: 50px;
  background-image: url(img/fv.jpg);
  background-size: cover;
  background-position: center;
  transition: opacity 3s;
}

.fv-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 400px;
  height: 350px;
  margin: auto;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10%;
}

.fv-content__title {
  font-size: 3rem;
  line-height: 2.5rem;
  color: rgb(8, 34, 68);
}

.fv-content__title--ja {
  font-size: 1.5rem;
}

.fv-content__exp {
  font-size: 0.9rem;
  line-height: 1.5rem;
  color: rgb(8, 34, 68);
}

.line-wrapper {
  height: 1rem;
  margin: 1em;
  position: relative;
}

@media screen and (max-width: 768px) {
  #fv {
    max-height: 100dvh;
  }
}
#concept .section-title-wrapper {
  justify-content: start;
}

.concept__contents {
  max-width: 500px;
  padding-left: 1em;
  padding-right: 1em;
  margin: auto;
}

.concept__txt-wrapper {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 50px;
}
.concept__txt-wrapper p {
  font-size: 1em;
  line-height: 2em;
}
.concept__txt-wrapper span {
  display: inline-block;
}

.concept__img-wrapper {
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  aspect-ratio: 5/2;
}
.concept__img-wrapper img {
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  left: 0;
  top: 0;
  transition: opacity 3s;
}
.concept__img-wrapper img.current {
  opacity: 1;
}

.to-news-btn-wrapper {
  margin-top: 20px;
}

.pagination {
  margin-top: 20px;
}

.page-numbers {
  display: inline-block;
  line-height: 30px;
  font-size: 1.2rem;
}

.page-numbers:not(.next, .prev) {
  width: 30px;
  height: 30px;
}

.page-numbers.current {
  border-radius: 50%;
  background-color: white;
  color: rgb(8, 34, 68);
}

.page-numbers:not(.current) {
  transition: opacity 0.5s;
}

.page-numbers:not(.current):hover {
  opacity: 0.5;
}

.menu__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.menu .menu-item {
  padding: 30px;
  background: rgba(232, 232, 232, 0.8);
  border-radius: 10px;
  color: black;
}

.menu-item__title {
  text-align: left;
  line-height: 3rem;
  font-size: 2rem;
  font-weight: bold;
}

.menu-item__sub-title {
  margin-top: 10px;
  text-align: right;
  font-size: 1.5rem;
}

.menu-item__course-list {
  margin-top: 15px;
  text-align: center;
}

.menu-course__item {
  display: inline;
}

.menu-course__item:not(:last-child)::after {
  content: " /";
}

.menu-item__explain {
  margin-top: 20px;
  text-align: center;
}

.menu-item__link {
  display: block;
  width: 200px;
  margin: auto;
  margin-top: 30px;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  color: rgb(8, 34, 68);
}
.menu-item__link span {
  position: relative;
  display: block;
  transition: 0.5s;
}
.menu-item__link span::after {
  position: absolute;
  bottom: 5px;
  width: 40px;
  height: 15px;
  transform: skew(45deg);
  border-right: 1px solid rgb(8, 34, 68);
  border-bottom: 1px solid rgb(8, 34, 68);
  content: "";
  transition: 0.5s;
}

.menu-item__link:hover span {
  transform: translateX(-40px);
}
.menu-item__link:hover span::after {
  width: 150px;
}

.menu__annotation {
  margin-top: 50px;
}

.menu-annotation__title {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

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

@media screen and (max-width: 768px) {
  .menu-course__item {
    display: list-item;
    text-align: right;
  }
  .menu-course__item::before {
    content: "- ";
  }
  .menu-course__item:not(:last-child)::after {
    display: none;
  }
}
.single-menu__back-btn-wrapper {
  margin-top: 30px;
}

.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.profile__img {
  max-width: 35%;
  margin: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 30px;
}

.profile__explains {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .profile {
    flex-direction: column;
  }
}
.single,
.single-inner {
  min-height: inherit;
}

.single-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.single-contents {
  text-align: left;
}

.article__title {
  font-size: 2rem;
  line-height: 2.5rem;
  margin-bottom: 10px;
}

.article__date {
  margin-bottom: 15px;
}

.single-pagination {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.single-pagination div {
  width: 45%;
}

.single-pagination__prev {
  text-align: left;
}

.single-pagination__next {
  text-align: right;
}

.access__location {
  font-size: 1.2rem;
}

.access__open {
  margin-top: 10px;
}

.access__map {
  margin-top: 40px;
}

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

.reserve__attention-list {
  margin-bottom: 20px;
  padding-left: 20px;
  text-align: left;
  list-style: circle;
}

.reserve .wpcf7 {
  text-align: center;
}

.reserve .wpcf7-form {
  max-width: 500px;
  margin: auto;
}

.reserve input[type=text],
.reserve input[type=email],
.reserve input[type=tel],
.reserve textarea {
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.reserve textarea {
  resize: none;
}
.reserve label {
  text-align: left;
  cursor: pointer;
}
.reserve p {
  text-align: left;
  margin-bottom: 15px;
}
.reserve p.center {
  text-align: center;
}
.reserve .wpcf7-list-item {
  display: block;
}

.required {
  margin-left: 5px;
  padding: 2px;
  font-size: 0.8rem;
  border-radius: 3px;
  background: rgb(148, 83, 119);
}

.submit-btn-wrapper p {
  width: 100%;
  margin: 30px 0;
  text-align: center;
}

.reserve .wpcf7-submit {
  display: block;
  width: 100px;
  height: 45px;
  margin: auto;
  background-color: rgb(148, 83, 119);
  border-radius: 2px;
  color: white;
  transition: opacity 0.5s;
}

.reserve .wpcf7-submit:hover {
  opacity: 0.5;
}

.reserve .wpcf7 .wpcf7-response-output {
  background: white;
  padding: 20px 10px;
  font-size: 1.2rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 .wpcf7-not-valid-tip {
  color: #c45252;
  font-weight: bold;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border: 2px solid #c45252;
}

.wpcf7 form.sent .wpcf7-response-output {
  border: 5px solid rgb(8, 34, 68);
  color: rgb(8, 34, 68);
}

.reserve .screen-reader-response {
  display: none;
}/*# sourceMappingURL=style.css.map */