@charset "utf-8";

/* ==========================================================================
   Base Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap');

:root {
  --mainFont: 'Noto Sans JP', sans-serif;
  --subFont: "M PLUS Rounded 1c", sans-serif;
  --mainColor: #C1CB50;
  --textColor: #404040;
  --themeColor-f: #F4F0E9;
  --themeColor-g: #F9FAED;
  --themeColor-b: #DCAF6D;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mainFont);
  /* font-family: "M PLUS Rounded 1c", sans-serif; */
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  color: var(--textColor);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-feature-settings: 'palt' 1;
  font-feature-settings: 'palt' 1;
  letter-spacing: .1em;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.8;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

dl {
  margin: 0;
}

dd {
  margin: 0;
  padding: 0;
}

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

a {
  text-decoration: none;
}

a:hover {
  opacity: .8;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.clearfix::before {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  display: block;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: min(100% - 40px, 1300px);
  margin: 0 auto;
}

.inner {
  max-width: 1090px;
  margin: 0 auto;
}

.primary-btn {
  font-size: clamp(14px, 3vw, 16px);
  color: var(--mainColor);
  background: #fff;
  border-radius: 999px;
  border: solid 1px var(--mainColor);
  display: flex;
  padding: 1em;
}

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

.site-header {
  background-color: var(--themeColor-f);
  padding: 14px 0;
}

.home .site-header {
  background: url(../images/mv-bg.svg) no-repeat center top / 100%;
  background-color: var(--themeColor-f);
  padding: 30px 0 0 0;
}

@media(max-width: 740px) {
  .home .site-header {
    background: url(../images/mv-bg-sm.svg) no-repeat center top / 100%;
    background-color: var(--themeColor-f);
  }
}

.site-header__container {
  position: relative;
  max-width: min(100% - 40px, 1300px);
  margin: 0 auto;
}

.site-header__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.home .site-header__title {
  align-items: flex-start;
}

.site-logo {
  max-width: 90px;
  margin: 0;
}

.site-logo-top {
  width: 16%;
  margin: 0;
}

.site-logo a {
  display: block;
}

.header-btn {
  margin-left: auto;
}

.header-btn__link {
  position: relative;
  font-size: clamp(12px, 3vw, 16px);
  font-weight: 700;
  color: var(--mainColor);
  background: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 1em 2.4em;
  height: 60px;
}

.header-btn__link::after {
  content: "";
  background: url(../images/icon-arrow.svg?var=2) no-repeat center / contain;
  min-width: 12px;
  aspect-ratio: 1/1;
  position: absolute;
  right: 1em;
}

.mobile-nav-toggle {
  position: relative;
  min-width: 60px;
  aspect-ratio: 1/1;
  background: var(--mainColor);
  border-radius: 999px;
  border: 0;
  -webkit-appearance: none;
  padding: 1em 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5em;
}

.mobile-nav-toggle > span {
  display: block;
  width: 50%;
  height: 2px;
  background: #fff;
  margin: 0 auto;
}

.primary-nav {
  margin-top: 20px;
}

.primary-nav ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.primary-nav li {
  list-style: none;
}

.primary-nav a {
  color: #434343;
  padding: 10px 15px;
  display: block;
}

.primary-nav a:hover {
  color: #666;
}

@media(max-width: 599px) {
  .site-header {
    padding: 10px 0;
  }
  .home .site-header {
    padding: 10px 0 0 0;
  }
  .home .site-header__title,
  .site-header__title {
    align-items: center;
    gap: 0;
  }
  .site-logo-top {
    width: 24%;
  }
  .site-logo {
    width: 24%;
  }
  .header-btn {
    width: 50%;
    margin: 0;
  }
  .header-btn__link {
    height: auto;
    font-size: 3vw;
    padding: 1em 2.5em 1em 1em;
  }
  .mobile-nav-toggle {
    min-width: 16%;
  }
}

@media(min-width: 600px) {
  .home .site-header__title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
}

.mv-container {
  overflow-x: hidden;
  margin: 0 calc(50% - 50vw);
}
.mv-title {
  width: min(100% - 150px, 740px);
  margin-inline: auto;
}
.mv-title__image {
  width: 100%;
  margin-inline: auto;
}
@media(max-width: 740px) {
  .mv-title {
    padding: 2em 0 .5em 0;
  }
}
@media(min-width: 600px) {
  .mv-container {
    padding: 55px 0 0 0;
  }
}

.mv-slider {
  width: 100%;
  overflow: hidden;
}
.mv-slider__track {
  display: flex;
  width: max-content;
  animation: scroll-left 50s linear infinite;
}
.mv-slider__image {
  width: 170vw;
  flex-shrink: 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media(max-width: 599px) {
  .mv-slider__image {
    width: 26%;
    flex-shrink: 0;
  }
}

.mv-lead {
  background: var(--themeColor-b);
  padding: 5em 0 2em 0;
  margin-top: -4em;
}
.mv-lead__text {
  color: #fff;
}
@media(max-width: 599px) {
  .mv-lead__text br {
    display: none;
  }
}
@media(min-width: 600px) {
  .mv-lead__text {
    text-align: center;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--themeColor-b);
  color: #fff;
}

.site-footer__container {
  max-width: min(100% - 40px, 1300px);
  margin: 0 auto;
}

.site-footer__inner {
  max-width: 1090px;
  margin: 0 auto;
  padding: 40px 0;
}

.site-footer__nav-area {
  display: flex;
  justify-content: space-around;
  flex: 1;
}

.footer-nav__item {
  margin-bottom: 1em;
}

.footer-nav__item .text-sm {
  font-size: 12px;
}

.footer-nav--children {
  margin-top: 1em;
}

.footer-nav__link {
  font-weight: 600;
  color: #fff;
}

.footer-nav--children .footer-nav__link {
  font-weight: 400;
  margin-left: 1em;
}

.footer-nav__item--img {
  max-width: 230px;
  margin-left: -1em;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 10%));
}

.site-footer__copyright {
  padding: 1.4em 0;
}

.site-footer__copyright p {
  margin: 0;
  text-align: right;
  font-size: 12px;
}

@media(max-width: 740px) {
  .site-footer {
    padding-bottom: 160px;
  }
  .footer-logo {
    max-width: 80px;
    margin-bottom: 40px;
  }
  .site-footer__nav-area {
    justify-content: space-between;
  }
}
@media(max-width: 599px) {
  .site-footer__nav-area {
    flex-direction: column;
  }
  .footer-nav__item--img {
    margin: 0 auto;
  }
  .site-footer__copyright p {
    text-align: center;
  }
}
@media(min-width: 741px) {
  .site-footer__inner {
    display: flex;
  }
  .footer-logo {
    max-width: 165px;
  }
}

/* Scrool nav */
@media(max-width: 740px) {
  .scroll-btn--lg {
    display: none;
  }
  #floating-sm {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    background: url(../images/scroll-btn-bg.svg) no-repeat center / 100%;
    aspect-ratio: 400/130;
    display: grid;
    place-content: center;
    filter: drop-shadow(0 -2px 10px rgb(0 0 0 / 10%));
  }
  .floating-flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
}
@media(min-width: 741px) {
  .scroll-btn--sm {
    display: none;
  }
  #floating-lg {
    max-width: 220px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
  }
}

/* ==========================================================================
   Gloval Nav
   ========================================================================== */

.layer {
  background: rgb(0 0 0 / 60%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  visibility: hidden;
}

.layer.is-active {
  visibility: visible;
}

.drawer-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 820px);
  height: 100vh;
  background: var(--themeColor-f);
  z-index: 1000;
  overflow-y: scroll;
  transform: translateX(100%);
  transition: transform .8s cubic-bezier(0.25, 1, 0.5, 1);
}

.drawer-menu.is-active {
  transform: translateX(0);
}

#close-button {
  position: absolute;
  top: 30px;
  right: 50px;
}

#close-button span:nth-of-type(1) {
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 25%;
}

#close-button span:nth-of-type(2) {
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 25%;
}

.drawer-inner {
  padding: 30px 50px;
}

.slide-menu-logo {
  width: min(100%, 80px);
}

.drawer-nav-item {
  border-bottom: solid 1px #ccc;
  padding: 1em 0;
}

.nav-parent {
  display: flex;
  align-items: center;
  gap: 1em;
}

.nav-parent::after {
  content: "";
  display: inline-block;
  min-width: 12px;
  background: url(../images/icon-arrow.svg) no-repeat center / contain;
  aspect-ratio: 1 / 1;
}

.nav-parent > a {
  color: var(--mainColor);
  font-weight: 700;
}

.nav-child {
  margin-top: .8em;
}

.nav-child .text-sm {
  font-size: 12px;
}

.nav-child > a {
  color: #404040;
  text-decoration: underline;
}

.drawer-cta-item {
  aspect-ratio: 340 / 145;
}

.drawer-cta-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

@media(max-width: 740px) {
  .drawer-menu {
    width: calc(100% - 30px);
  }
}
@media(max-width: 599px) {
  #close-button {
    top: 16px;
    right: 30px;
  }
  .drawer-inner {
    padding: 16px 30px;
  }
  .drawer-nav-thumb {
    display: none;
  }
  .nav-parent {
    margin-left: 1em;
  }
  .nav-child-group {
    padding-left: 2em;
  }
  .drawer-cta {
    padding: 16px 0 30px 0;
  }
}
@media(min-width: 600px) {
  .drawer-content {
    padding: 16px 0 0 0;
  }
  .drawer-nav-item {
    display: flex;
    align-items: center;
  }
  .drawer-nav-thumb {
    width: min(100%, 200px);
  }
  .nav-child-group {
    padding-top: .4em;
  }
  .nav-child-group--flex {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2em;
  }
  .drawer-nav-links {
    padding-left: 2em;
    flex: 1;
  }
  .drawer-cta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 30px 0;
  }
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
  padding: 24px 0;
  font-size: 14px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  color: #808080;
}

.breadcrumb__item:not(:last-child)::after {
  content: "›";
  margin-left: .5em;
  color: #808080;
}

.breadcrumb__link {
  color: #808080;
}

.breadcrumb__link:hover {
  color: #808080;
}

.breadcrumb__link--home {
  display: flex;
  align-items: center;
  gap: .5em;
}

.icon-home {
  display: block;
  min-width: 13px;
  height: 13px;
  background: url(../images/icon-home.svg) no-repeat center / contain;
}

/* ==========================================================================
   Content Area
   ========================================================================== */

.content-area {
  padding: 40px 0;
}

.archive-title {
  font-size: 28px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

/* ==========================================================================
   Page Section
   ========================================================================== */

.page-mv-image img {
  width: 100%;
}

.page-contents {
  padding-bottom: 60px;
}

.page-section {
  padding: 24px 0;
}

.page-inner {
  margin: 60px 0;
}

.section__title {
  font-family: var(--subFont);
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 500;
  margin: 1em 0;
}

.section__link.prev-link::after {
  left: 1em;
  right: auto;
  transform: rotate(180deg);
}
.prev-link {
  width: min(100%, 400px);
}
.next-link {
  width: min(100%, 400px);
  margin-left: auto;
}

@media(max-width: 740px) {
  .prev-link,
  .next-link {
    margin-inline: auto;
  }
}
@media(max-width: 599px) {
  .page-contents {
    padding-bottom: 30px;
  }  
  .page-inner {
    margin: 30px 0;
  }
}

/* ==========================================================================
   Section (General)
   ========================================================================== */

.section {
  padding: 60px 0;
}

.section--primary {
  background-color: var(--themeColor-g);
}

.section__heading {
  position: relative;
  font-family: var(--subFont);
  font-weight: 500;
  font-size: clamp(25px, 4vw, 40px);
  z-index: 0;
  display: grid;
  padding-left: 1em;
  padding-top: 22px;
  margin-bottom: 1.2em;
  letter-spacing: 0;
  word-break: break-all;
}

.section__heading::after {
  content: "";
  aspect-ratio: 1 / 1;
  background: var(--mainColor);
  border-radius: 999px;
  width: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.common-title {
  position: relative;
  font-size: clamp(16px, 3vw, 20px);
  border-bottom: solid 1px rgb(193 203 80 / 10%);
  padding-bottom: .2em;
  margin-bottom: 1.5em;
}

.common-title::after {
  content: "";
  width: 100px;
  height: 1px;
  background: var(--mainColor);
  position: absolute;
  left: 0;
  bottom: 0;
}

.section__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--mainColor);
  text-decoration: none;
  border-radius: 999px;
  background: #fff;
  border: solid 1px var(--mainColor);
  padding: .5em 2em;
}
.section__link::after {
  content: "";
  background: url(../images/icon-arrow.svg?var=2) no-repeat center / contain;
  min-width: 12px;
  aspect-ratio: 1 / 1;
  position: absolute;
  right: 1em;
}

.primary__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  background: var(--mainColor);
  border: solid 1px var(--mainColor);
  padding: .5em 2em;
}
.primary__link::after {
  content: "";
  background: url(../images/icon-arrow-f.svg?var=2) no-repeat center / contain;
  min-width: 12px;
  aspect-ratio: 1 / 1;
  position: absolute;
  right: 1em;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media(max-width: 740px) {
  .section__heading::after {
    width: 75px;
  }
  .page-nav {
    margin: ;
  }
}
@media(max-width: 599px) {
  .section {
    padding: 30px 0;
  }
  .page-nav {
    padding: 30px 0 0 0;
  }
}

/* ==========================================================================
   News List
   ========================================================================== */

.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
}

.news-list__date {
  color: #999;
}

.news-list__category {
  font-size: 13px;
  color: #0A5D2A;
  display: flex;
  align-items: center;
  gap: .4em;
}

.news-list__category::before {
  content: "";
  min-width: 16px;
  aspect-ratio: 1 / 1;
  background: url(../images/icon-tag.svg) no-repeat center / contain;
}

.news-list__title {
  font-size: 16px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list__link {
  color: var(--textColor);
  text-decoration: underline;
}

@media(max-width: 740px) {
  .news-title {
    display: flex;
    align-items: center;
  }
  .section__link--news {
    margin-left: auto;
  }
  .news-list {
    margin: 1em 0 0 0;
  }
  .news-list__item {
    display: grid;
    grid-template-columns: 6.5em 1fr;
    gap: .6em .5em;
  }
  .news-list__title {
    grid-area: 2 / 1 / 3 / 3;
  }
}

@media(min-width: 741px) {
  .news-box {
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 60px;
    align-items: center;
  }
  .section__link--news {
    max-width: 176px;
    margin-inline: auto;
  }
  .news-list__item {
    display: grid;
    grid-template-columns: 6.5em 6em 1fr;
  }
}

/* ==========================================================================
   Top 子どもが本来もっている「育つ力」を大切に。
   ========================================================================== */

.about-text {
  margin-bottom: 1.6em;
}

.section__link--about {
  width: max-content;
  margin-left: auto;
}

.about-nav {
  margin: 35px 0 0 0;
}

.about-nav-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-nav-item {
  background: var(--themeColor-g);
  border-radius: 999px 10px 10px 999px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
}

.about-nav-link {
  color: var(--textColor);
  font-family: var(--subFont);
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 1.5em;
  padding: 1.2em;
  height: 100%;
}

.about-nav-link .text-sm {
  font-style: normal;
  font-size: clamp(12px, 3vw, 16px);
}

.nav-icon {
  display: block;
  min-width: 30px;
  aspect-ratio: 1/1;
}

.nav-icon--vision {
  background: url(../images/icon-vision.svg) no-repeat center / contain;
}

.nav-icon--price {
  background: url(../images/icon-price.svg) no-repeat center / contain;
}

.nav-icon--calender {
  background: url(../images/icon-calender.svg) no-repeat center / contain;
}

.nav-icon--map {
  background: url(../images/icon-map.svg) no-repeat center / contain;
}

.nav-icon--lessons {
  background: url(../images/icon-lessons.svg) no-repeat center / contain;
}

@media(max-width: 840px) {
  .about-nav-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 740px) {
  .section__link--about {
    margin-inline: auto;
  }
  .about-visual {
    margin-top: 1.6em;
  }
}

@media(max-width: 599px) {
  .about-nav-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }
}

@media(min-width: 741px) {
  .about-flex {
    display: grid;
    grid-template-columns: 1fr 45%;
    gap: 40px;
    align-items: center;
  }
}

.section__link--feature {
  max-width: 180px;
  width: 100%;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 10px;
  margin: 30px 0 0 0;
}

.feature-thumb {
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
  border-radius: 10px;
}

.feature-thumb img {
  width: 100%;
}

.feature-label {
  display: block;
  font-family: var(--subFont);
  font-size: clamp(16px, 3vw, 20px);
  line-height: 1.2;
  text-align: center;
  margin: .8em;
}

@media(max-width: 840px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 740px) {
  .feature-intro-text {
    margin-bottom: 2em;
  }
  .section__link--feature {
    margin: 0 auto;
  }
}

@media(max-width: 599px) {
  .feature-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media(min-width: 741px) {
  .feature-intro {
      display: flex;
      align-items: flex-end;
  }
  .section__link--feature {
    margin-left: auto;
  }
}

/* ==========================================================================
   Top ​モンテッソーリ教具で おしごと体験を
   ========================================================================== */

#experience {
  position: relative;
  z-index: 0;
}

#experience::after {
  content: "";
  background: url(../images/experience-bg.svg) no-repeat center top / 100%;
  width: 100%;
  aspect-ratio: 1440/345;
  position: absolute;
  top: 0;
  left: 0;
}

.figure-triangle {
  width: 100%;
  height: 120px;
  aspect-ratio: 1/cos(30deg);
  clip-path: polygon(50% 0,100% 100%,0 100%);
  background: var(--themeColor-f);
}

.section--experience {
  background: var(--themeColor-f);
}

.experience-content {
  padding: 16px 0;
}

.experience-title {
  position: relative;
  z-index: 1;
  width: min(100% - 100px, 670px);
  margin-inline: auto;
}

.experience-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
}

.experience-item {
  position: relative;
  z-index: 1;
}

.experience-thumb img {
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
  border-radius: 10px;
}

.experience-tag {
  aspect-ratio: 110/126;
}

@media(max-width: 740px) {
  #experience::after {
    background: url(../images/experience-bg-sm.svg) no-repeat center top / 100%;
    aspect-ratio: 400/200;
    width: 100%;
    height: 100%;
  }
  .figure-triangle {
    height: 65px;
  }
  .experience-details {
    padding: 60px 0 0 0;
  }
  .experience-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .experience-thumb {
    width: 72%;
    margin-left: auto;
  }
  .experience-tag {
    width: 32%;
    position: absolute;
    top: 0;
    left: 0;
  }
}

@media(min-width: 741px) {
  .experience-details {
    padding: 100px 0 0 0;
  }
  .experience-tag {
    width: min(100%, 110px);
    position: absolute;
    left: 0;
    top: -5em;
  }
}

/* 無料個別体験 */
.trial-text {
  margin-bottom: 2em;
}

.section__link--experience {
  max-width: 180px;
  width: 100%;
  margin-inline: auto;
}

.trial-summary-group > dt {
  background: var(--themeColor-g);
}

@media(max-width: 740px) {
  .trial-info-box {
    margin: 2.5em 0 0 0;
  }
  .trial-summary-group > dt {
    padding: .2em 1em;
  }
  .trial-summary-group > dd {
    padding: 1em;
  }
}

@media(min-width: 741px) {
  .trial-flex {
    display: grid;
    grid-template-columns: 16fr 15fr;
    gap: 24px 36px;
  }
  .trial-summary {
    border-top: solid 1px #ccc;
  }
  .trial-summary-group {
    display: grid;
    grid-template-columns: 30% 1fr;
    border-bottom: solid 1px #ccc;
  }
  .trial-summary-group > dt {
    text-align: center;
    padding: 1em;
    display: grid;
    place-content: center;
  }
  .trial-summary-group > dd {
    padding: 1em 2em;
  }
}

/* ==========================================================================
   Pagination
   ========================================================================== */

ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  margin-top: 60px;
}

ul.page-numbers li {
  font-family: var(--subFont);
  list-style: none;
  width: 40px;
  height: 40px;
}

ul.page-numbers a,
ul.page-numbers span {
  display: grid;
  place-content: center;
  padding: 10px 15px;
  border: 1px solid var(--mainColor);
  border-radius: 999px;
  color: var(--mainColor);
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 20px;
}

ul.page-numbers a:hover {
  background-color: #f5f5f5;
  opacity: 1;
}

ul.page-numbers .current {
  background-color: var(--mainColor);
  color: #fff;
  border-color: var(--mainColor);
}

.next.page-numbers,
.prev.page-numbers {
  border: 0;
}

.next.page-numbers .arrow {
  display: block;
  min-width: 30px;
  height: 30px;
  background: url(../images/icon-arrow-f.svg) no-repeat center / contain;
}
.prev.page-numbers .arrow {
  display: block;
  min-width: 30px;
  height: 30px;
  background: url(../images/icon-arrow-f.svg) no-repeat center / contain;
  transform: rotate(180deg);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
  padding: 20px;
}

.sidebar__container {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 5px;
}

.widget {
  margin-bottom: 30px;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget__title {
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

/* ==========================================================================
   Responsive Video (iframe)
   ========================================================================== */

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 30px 0;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Page About
   ========================================================================== */

@media(max-width: 740px) {
  .about-hero-visual {
    margin-right: calc(50% - 50vw);
    padding: 1em 0 0 0;
  }
}

@media(min-width: 741px) {
  .about-hero {
    display: flex;
    align-items: center;
    margin-right: calc(50% - 50vw);
    gap: 2em;
  }
  .about-hero-body {
    flex: 1;
  }
  .about-hero-visual {
    width: 50%;
  }
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 2fr;
}
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.sub-nav {
  gap: 12px 24px;
}
.sub-nav--about {
  margin: 50px 0 0 0;
}
.sub-nav--about .sub-nav-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 24px;
}
.sub-nav-main {
  background: var(--themeColor-g);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
}
.sub-nav-card,
.sub-nav-link {
  color: var(--textColor);
}
.sub-nav-thumb {
  position: relative;
  aspect-ratio: 345/170;
}
.sub-nav-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sub-nav-icon {
  width: 80px;
  height: 40px;
  border-radius: 999px 999px 0 0;
  position: absolute;
  bottom: -.5em;
  left: 0;
  right: 0;
  z-index: 1;
  margin: 0 auto;
  background: var(--themeColor-g);
  place-content: end;
}
.sub-nav-icon .thumb-icon {
  display: block;
  width: 24px;
  height: 24px;
  margin-inline: auto;
  filter: brightness(0.4);
}
.sub-nav-label,
.sub-nav-item {
  font-family: var(--subFont);
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 500;
}
.sub-nav-label {
  padding: 1.2em;
}
.sub-nav-label span {
  font-size: clamp(12px, 3vw, 16px);
}
.sub-nav-item {
  background: var(--themeColor-g);
  border-radius: 999px 10px 10px 999px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
}
.sub-nav-link {
  color: var(--textColor);
  font-family: var(--subFont);
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 1.5em;
  padding: 1.2em;
  height: 100%;
}
.sub-nav-link::before {
  content: "";
  min-width: 26px;
  aspect-ratio: 1 / 1;
  background: url(../images/icon-arrow.svg) no-repeat center / contain;
}
@media(max-width: 740px) {
  .sub-nav--about {
    margin: 24px 0;
  }
  .grid-2col,
  .grid-3col {
    grid-template-columns: 1fr;
  }
  .sub-nav--about .sub-nav-list {
    gap: 12px 24px;
  }
}
@media(max-width: 599px) {
  .sub-nav--about .sub-nav-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ==========================================================================
   Page Vision
   ========================================================================== */

.vision-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 30px 0 0 0;
}
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 30px;
}
@media(max-width: 740px) {
  .vision-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .vision-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ==========================================================================
   Page Lessons
   ========================================================================== */

.page-nav-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}
@media(max-width: 740px) {
  .page-nav-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
  }
}
@media(max-width: 599px) {
  .page-nav-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.materials-title {
  font-weight: 700;
  margin: 1em 0;
}
.materials-card {
  display: grid;
  grid-template-columns: 35fr 69fr;
  align-items: center;
  gap: 1em 40px;
  margin: 100px 0 0 0;
}
.materials-card img {
  width: 100%;
}
.materials-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.materials-visual {
  position: relative;
}
.materials-tag {
  width: min(100%, 110px);
  position: absolute;
  left: 0;
  top: -5em;
}
@media(max-width: 740px) {
  .materials-card {
    grid-template-columns: 1fr;
  }
  .materials-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.feature-sub-title {
  font-size: 20px;
  background: var(--themeColor-g);
  padding: .4em .6em;
  display: flex;
  align-items: center;
  gap: .5em;
}
.icon-nature {
  display: block;
  min-width: 20px;
  aspect-ratio: 1/1;
  background: url(../images/about/lessons/icon-flower.svg) no-repeat center / contain;
}
.icon-music {
  display: block;
  min-width: 20px;
  aspect-ratio: 1/1;
  background: url(../images/about/lessons/icon-music.svg) no-repeat center / contain;
}
.icon-cookie {
  display: block;
  min-width: 20px;
  aspect-ratio: 1/1;
  background: url(../images/about/lessons/icon-cookie.svg) no-repeat center / contain;
}
.icon-love {
  display: block;
  min-width: 20px;
  aspect-ratio: 1/1;
  background: url(../images/about/lessons/icon-love.svg) no-repeat center / contain;
}
.features-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em 30px;
  margin: 40px 0;
}
.feature-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px 0;
}
.feature-images img {
  width: 100%;
}
.feature-desc p:not(:last-of-type) {
  margin-bottom: 1.5em;
}
@media(max-width: 740px) {
  .features-details {
    grid-template-columns: repeat(1, 1fr);
  }
}

.table-wrap {
  border-bottom: solid 1px #ccc;
}
.table-block {
  display: grid;
  grid-template-columns: 25% 1fr;
}
.table-th {
  background: var(--themeColor-g);
  text-align: center;
  padding: 1em .5em;
}
.table-td {
  padding: 1em 2em;
}
.table-th,
.table-td {
  border-top: solid 1px #ccc;
  display: grid;
  align-items: center;
}
@media(min-width: 741px) {
  .table-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.director-profile {
  background: var(--themeColor-g);
  padding: 1em;
}
.director-visual {
  display: flex;
  align-items: center;
  gap: 2em;
}
.director-img {
  width: min(100%, 100px);
}
.director-name {
  font-family: var(--subFont);
  font-size: 20px;
  font-weight: 500;
  flex: 1;
}
.director-history-title,
.director-history-text {
  line-height: 1.8;
}
.director-message {
  padding: 1em 0 0 0;
}
@media(max-width: 840px) {
  .director-history-title {
    margin-bottom: 1em;
  }
}
@media(max-width: 740px) {
  .director-history-box {
    padding: 1em 0;
  }
}
@media(min-width: 741px) {
  .director-profile {
    display: grid;
    grid-template-columns: auto 1fr;
  }
  .director-visual {
    border-right: solid 1px #d9d9d9;
    padding-right: 1em;
  }
  .director-name {
    text-align: center;
  }
  .director-history-box {
    padding: .5em 2em;
  }
  .director-history-text {
    flex: 1em;
    word-break: keep-all;
  }
}
@media(min-width: 841px) {
  .director-history {
    display: flex;
    gap: 1.5em;
  }
}

/* ==========================================================================
   Page Price
   ========================================================================== */

.price-block ul {
  list-style: disc;
  margin-left: 1.5em;
}
.price-block .tax {
  font-size: 12px;
}
.price-table {
  margin: 1.5em 0 0 0;
  width: min(100%, 560px);
}
.price-table .table-block {
  grid-template-columns: 8em 1fr;
  border-bottom: solid 1px #ccc;
}
.price-note {
  background: var(--themeColor-g);
  padding: 1em;
}
@media(min-width: 741px) {
  #transport .table-block {
    grid-template-columns: 12em 1fr;
  }
}

/* ==========================================================================
   Page Holiday
   ========================================================================== */

.holiday-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px 8px;
}
.holiday-item {
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
  border-radius: 10px;
  overflow: hidden;
}
.holiday-month {
  font-weight: 700;
  text-align: center;
  background: var(--themeColor-g);
  padding: 1em .5em;
}
.holiday-item:nth-of-type(even) .holiday-month {
  background: rgb(34 116 64 / 30%);
}
.holiday-date {
  padding: 1em .5em;
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 6em;
}
@media(max-width: 1139px) {
  .holiday-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media(max-width: 699px) {
  .holiday-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Page Access
   ========================================================================== */

.access-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
}
.access-item:not(:first-of-type) {
  margin-top: 2em;
}
.iframe-wrapper {
  aspect-ratio: 51/36;
}
.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}
@media(max-width: 740px) {
  .access-flex {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Page Montessorisystem
   ========================================================================== */

.origin-flex {
  display: grid;
  grid-template-columns: 1fr 224px;
  align-items: center;
  gap: 30px 60px;
}
.concept-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media(max-width: 740px) {
  .origin-flex {
    grid-template-columns: 1fr;
  }
  .origin-visual {
    width: min(100%, 224px);
    justify-self: center;
  }
  .concept-flex {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ==========================================================================
   Page Faq
   ========================================================================== */

.faq-list {
  border-bottom: solid 1px #E2E2E2;
}
.faq-q {
  position: relative;
  border-top: solid 1px #E2E2E2;
  padding: 1em 3em 1em 1em;
  cursor: pointer;
}
.faq-q::before {
  content: "Q";
  color: var(--mainColor);
  margin-right: 1.5em;
}
.faq-q.is-active {
  background: var(--themeColor-g);
  border-top: 0;
}
.open-icon {
  position: absolute;
  right: 1em;
  top: .8em;
}
.dli-plus {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  width: 1em;
  height: 0.1em;
  background: var(--mainColor);
  border-radius: 0.1em;
  position: relative;
  transition: transform .3s;
}
.faq-q.is-active .open-icon .dli-plus {
  transform: rotate(180deg);
}
.dli-plus::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: rotate(90deg);
}
.faq-q.is-active .dli-plus::before {
  display: none;
}
.faq-a {
  display: none;
  padding: 1.5em 1em;
}
.faq-a ul {
  list-style: disc;
  margin-left: 1.5em;
}

/* ==========================================================================
   Page Personal
   ========================================================================== */

.personal-section ul {
  list-style: disc;
  margin-left: 1.5em;
}
.personal-section a {
  color: var(--mainColor);
}

/* ==========================================================================
   Page Triallesson
   ========================================================================== */

.concept-flex--triallesson {
  align-items: center;
}
.section__link--triallesson {
  width: min(100%, 260px);
  margin: 1.5em auto 0 auto;
}
.concept-block ul {
  list-style: disc;
  margin-left: 1.5em;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media(max-width: 740px) {
  .recommend-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.flow-item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  filter: drop-shadow(0 4px 10px rgb(0 0 0 / 10%));
}
.flow-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow-content {
  padding: 1em 1.5em;
}
.flow-title {
  font-weight: 600;
  margin: 0 0 1em 0;
  display: flex;
  align-items: baseline;
}
.flow-title::before {
  content: attr(data-no);
  display: inline-block;
  font-size: 30px;
  font-weight: 500;
  color: var(--mainColor);
  margin-right: .5em;
}
.flow-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 25px solid transparent;
  border-left: 25px solid transparent;
  border-top: 25px solid var(--mainColor);
  border-bottom: 0;
  margin: 20px 12%;
}
.flow-note {
  margin: 1.5em 0 0 0;
}
@media(max-width: 740px) {
  .flow-icon {
    margin: 20px auto;
  }
}
@media(min-width: 741px) {
  .flow-item {
    display: grid;
    grid-template-columns: 3fr 7fr;
  }
  .flow-note {
    text-align: right;
  }
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

input[type=text],
input[type=tel],
input[type=email],
input[type=date],
textarea {
  appearance: none;
  border: solid 1px #ccc;
  border-radius: 5px;
  padding: 1em 1em;
  font-size: 16px;
  width: 100%;
}
input::placeholder {
  color: #ccc;
}
input.datepicker {
  background-image: url(../images/icon-calender-g.svg);
  background-repeat: no-repeat;
  background-size: 22px 24px;
  background-position: center left 1em;
  padding-left: calc(22px + 1.5em);
}

.form-section {
  margin: 0 calc(50% - 50vw);
  padding: 0 20px;
}
.form-block {
  background: var(--themeColor-g);
  width: min(100%, 1300px);
  margin: 0 auto;
  padding: 50px 10px;
}
.form-text {
  margin-bottom: 1.5em;
}
@media(max-width: 740px) {
  .sm-hidden {
    display: none;
  }
  .form-block {
    padding-bottom: 15px;
  }
}
@media(min-width: 741px) {
  .lg-hidden {
    display: none;
  }
}

.form-container,
.submit-box {
  margin-top: 60px;
}
.submit-box .primary__link {
  width: min(100%, 400px);
  padding: .8em 2em;
  margin: 0 auto;
  background-image: url(../images/icon-arrow-f.svg);
  background-repeat: no-repeat;
  background-size: 12px 12px;
  background-position: center right 1em;
}
.form-text > a,
.personal-link > a,
.contact-block a {
  color: var(--mainColor);
  text-decoration: underline;
}
.personal-link .wpcf7-list-item {
  margin: 0;
}
@media(max-width: 740px) {
  .form-container,
  .submit-box {
    margin-top: 30px;
  }
  .form-box > dt {
    padding-bottom: .5em;
  }
  .form-box > dd {
    margin-bottom: 1.2em;
  }
}
@media(min-width: 741px) {
  .form-box {
    display: grid;
    grid-template-columns: 20% 1fr;
    gap: 24px 8px;
    margin-bottom: 24px;
  }
  .form-box > dt:not(.textarea-form),
  .form-box > dt:not(.textarea-form) > p {
    display: grid;
    align-items: center;
    line-height: 1.4;
  }
  .textarea-form {
    padding-top: .5em;
    word-break: auto-phrase;
  }
}

#get-involved-page .page-inner {
  margin-top: 0;
}

/* ==========================================================================
   Post Card (List View)
   ========================================================================== */
.post-date {
  color: #999999;
}
.post-category {
  color: #0A5D2A;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: .4em;
}
.post-category::before {
  content: "";
  min-width: 16px;
  aspect-ratio: 1/1;
  background: url(../images/icon-tag.svg) no-repeat center / contain;
}
.post-title > a {
  font-size: 16px;
  font-weight: 400;
  color: var(--textColor);
  text-decoration: underline;
}
.post-item {
  display: grid;
  grid-template-columns: 7em 8em 1fr;
  align-items: baseline;
  padding: 2em 0;
  border-bottom: solid 1px #ccc;
}
@media(max-width: 999px) {
  .post-item {
    grid-template-columns: 7em 1fr;
    padding: 1em 0;
  }
  .post-title {
    grid-area: 2 / 1 / 3 / 3;
    margin-top: 1em;
  }
}
@media(max-width: 740px) {
  .post-box {
    padding-bottom: 50px;
  }
}
@media(min-width: 741px) {
  .post-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0 100px;
  }
}

/* サイドバー */
.sidebar-title {
  font-size: 20px;
  color: var(--mainColor);
  background: var(--themeColor-g);
  padding: .4em 1.5em;
}
.category-tags {
  padding: 16px 24px 60px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-tag {
  color: #0A5D2A;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: .4em;
  border: solid 1px #0A5D2A;
  border-radius: 999px;
  padding: .2em 1em;
}
.icon-tag {
  display: block;
  min-width: 16px;
  aspect-ratio: 1/1;
  background: url(../images/icon-tag.svg) no-repeat center / contain;
}

.archive-year-item {
  border-bottom: solid 1px #ccc;
}
.archive-year-toggle {
  position: relative;
  color: var(--textColor);
  appearance: none;
  border: 0;
  width: 100%;
  background: none;
  text-align: left;
  padding: 1em 24px;
}
.archive-month-list {
  display: none;
  padding-left: 1em;
  padding: 0 1em 1em calc(1em + 24px);
}
.archive-year-item.is-open .archive-month-list {
  display: block;
}
.archive-month-list li > a {
  color: var(--textColor);
  text-decoration: underline;
}
.archive-month-list li:not(:last-of-type) {
  margin-bottom: .5em;
}

.archive-year-toggle .arrow {
  display: block;
  width: 7px;
	height: 7px;
	border-top: 1px solid var(--textColor);
	border-left: 1px solid var(--textColor);
	transform: rotate(45deg);
  position: absolute;
  top: 1.5em;
  right: calc(1em + 24px);
  
  transition: transform 0.3s;
}
.archive-year-item.is-open .arrow {
  transform: rotate(225deg);
  top: 1.2em;
}

/* ==========================================================================
   Post Article (Single View)
   ========================================================================== */

.post-article__meta {
  border-bottom: solid 1px #ccc;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em 1em;
  padding: 0 0 1em 0;
}
.post-article__meta .post-category > a {
  color: #0A5D2A;
}
@media(min-width: 741px) {
  .post-article__meta {
    padding: 0 2em 1em 2em;
  }
}

.post-article__content {
  padding-top: 30px;
}

.eye-catch {
  width: min(100%, 700px);
  margin: 0 auto 30px auto;
}

.post-article__content .wp-block-image {
  /* width: min(100%, 700px); */
}

.post-article__content h1 {
  font-family: var(--subFont);
  font-weight: 500;
  font-size: clamp(25px, 4vw, 40px);
  letter-spacing: 0;
  margin: .5em 0;
}

.post-article__content h2 {
  position: relative;
  font-family: var(--subFont);
  font-size: clamp(16px, 3vw, 20px);
  border-bottom: solid 1px rgb(193 203 80 / 10%);
  padding-bottom: .2em;
  margin-bottom: 1.5em;
}
.post-article__content h2::after {
  content: "";
  width: 100px;
  height: 1px;
  background: var(--mainColor);
  position: absolute;
  left: 0;
  bottom: 0;
}

.post-article__content h3 {
  font-family: var(--subFont);
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 500;
  margin: 1em 0;
}

.post-article__content h4 {
  font-family: var(--subFont);
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 500;
  margin: 1em 0;
}

.post-article__content p + h2,
.post-article__content ul + h2,
.post-article__content ol + h2 {
  margin-top: 3em; 
}

.post-article__content p + h3,
.post-article__content ul + h3,
.post-article__content ol + h3,
.post-article__content p + h4,
.post-article__content ul + h4,
.post-article__content ol + h4 {
  margin-top: 2em; 
}

.post-article__content p,
.post-article__content ul,
.post-article__content ol {
  margin: 1.5em 0;
}

.post-article__content ul {
  list-style: disc;
  margin-left: 1.5em;
}

.post-article__content a {
  color: var(--mainColor);
  text-decoration: underline;
}