@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');


/* =======================================
共通
======================================== */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
pre,
form,
fieldset,
figure,
input,
textarea,
p,
blockquote,
th,
td {
  letter-spacing: 0;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

img {
  width: 100%;
}

:root {
  --main-w: 538px;  /* 中央カラム幅 */
  --menu-w: 460px;  /* 右カラム幅   */
}

/* --------------------
   ベース（SP）
   -------------------- */

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

body {
  margin: 0;
  color: #333;
}

html, body {
  scroll-behavior: auto !important;
}

.l-page {
  min-height: 100vh;
}

/* 左ビジュアル：SPでは上部に通常表示 */
.l-visual {
  position: relative;
  width: 100%;
  height: 35vh;   /* 好きな高さ */
  overflow: hidden;
}

.l-visual__inner,
.l-visual__inner img {
  width: 100%;
  height: 100%;
}

.l-visual__inner img {
  object-fit: cover;
  display: block;
}

/* 右側コンテンツ：SPでは1カラム */
.l-content {
  background-color: #f0f7fd;
}

.l-main,
.l-aside {
  width: 100%;
}

.l-aside {
  position: fixed;
  right: 0;
  display: none;
  height: 100vh;
  padding: 60px 24px 0;
  background-color: #f0f7fd;
  background-size: cover;
  padding-bottom: 30px;
  background-image: url('../images/common/right-menu-bg.png');
  overflow-y: auto;
}



/* --------------------
   タブレット（例：800〜1199px）
   main は 100%幅扱い
   -------------------- */
@media (min-width: 800px) and (max-width: 1160px) {

  .l-visual {
    /* タブレットでは固定はやめて、上の MV として使うイメージ */
    position: relative;
    height: 45vh;
  }

  .l-content {
    max-width: 100%;   /* お好みで */
    margin: 0 auto;
    padding: 0;
  }

  .l-main {
    width: 100%;        /* 「main-538 が 100%幅」状態 */
  }

  .l-aside {
    margin-top: 40px;   /* main の下に出す */
  }
}

/* --------------------
   PC（1200px〜）
   左：fixed、右側に main 538px + aside 460px
   -------------------- */
@media (min-width: 1160px) {

  /* 左ビジュアルを fixed にする */
  .l-visual {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: calc(100% - (var(--main-w) + var(--menu-w)));
    height: 100vh;
  }

  .l-visual__inner {
    position: absolute;
    inset: 0;
  }

  .l-visual__inner img {
    object-fit: cover;
    object-position: center center;
  }

  /* 右側コンテンツ全体を左幅ぶんずらす */
  .l-content {
    position: relative;
    z-index: 1; /* 左画像の上に表示 */
    margin-left: calc(100% - (var(--main-w) + var(--menu-w)));
    display: flex;
    align-items: flex-start;
    gap: 0;
  }

  /* 中央538px固定、右460px固定 */
  .l-main {
    width: var(--main-w);
    flex: 0 0 var(--main-w);
  }

  .l-aside {
    display: block;
    width: var(--menu-w);
    flex: 0 0 var(--menu-w);
    margin-left: auto;
  }
  .l-header_sp {
    display: none;
  }
}
@media (max-width: 1159px) {
  .l-page {
    margin-top: 70px;
  }
  #header {
    z-index: 1000;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    background-color: #f0f7fd;
    height: 70px;
  }
  .l-header_sp .menu-title {
    margin-bottom: 0;
  }
}

@media (max-width: 538px) {
  html {
    font-size: 1.85873606vw;
  }
}

/* =======================================
サイドメニュー
======================================== */

.menu-list {
  padding: 20px;
  border-radius: 16px;
  background-color: #ffffff;
}

.menu-list li {
  border-top:1px solid #ebebeb;
}
.menu-list li:last-child {
  border-bottom:1px solid #ebebeb;
}

.sub-menu li:last-child {
  border-bottom:none;
}

.menu-list li a {
  font-size: 18px;
  font-weight: 500;
  padding: 28px 0;
  line-height: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.8s;
}

.menu-list li a:hover {
  opacity: 0.8;
}
.menu-list li.active a {
  color: #4072a6;;
} 

.menu-list .arrow {
  margin-right: 4px;
  display: block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #051424;
}

.menu-list .arrow img {
  width: 8px;
}
.menu-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.menu-title a {
  font-size: 24px;
  transition: 0.7s;
}

.menu-title a:hover {
  opacity: 0.8;
}
/* プラス／マイナスアイコン */
.toggle-icon {
  width: 17px;
  height: 17px;
  position: relative;
  display: inline-block;
  margin-right: 4px;
}

.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  background-color: #333;
  transition: 0.3s ease;
}

.toggle-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  transform: translateY(-50%);
}

.toggle-icon::after {
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
}

/* 開いている状態 → マイナス（縦線を消す） */
.has-sub.open .toggle-icon::after {
  opacity: 0;
}

.sub-menu {
  display: none;
  padding-left: 20px;
}

.sub-menu li a {
  padding: 18px 0;
  font-size: 16px;
}

@media (max-width: 538px) {
  .menu-list {
    padding: 2.0rem;
    border-radius: 1.6rem;
  }

  .menu-list li a {
    font-size: 16px;
    padding: 2.8rem 0;
  }

  .menu-list .arrow {
    margin-right: 0.4rem;
    width: 2.4rem;
    height: 2.4rem;
  }

  .menu-list .arrow img {
    width: 0.8rem;
  }
  .menu-title {
    font-size: 20px;
    margin-bottom: 4rem;
  }

  .menu-title a {
    font-size: 20px;
  }

  .toggle-icon {
    width: 1.7rem;
    height: 1.7rem;
    margin-right: 0.4rem;
  }

  .toggle-icon::before {
    height: 0.3rem;
  }

  .toggle-icon::after {
    width: 0.3rem;
  }
}
/* =======================================
フッター
======================================== */

#footer {
  padding-top: 60px;
}

#footer h2 {
  color: #051424;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  margin-bottom: 24px;
}

#footer h2 a {
  transition: 0.7s;
  font-size: 24px;
}

#footer h2 a:hover {
  opacity: 0.8;
}

.ft-detail {
  color: #051424;
  text-align: center;
  font-size: 16px;
  margin-bottom: 35px;
  padding-bottom: 35px;
  line-height: 28.8px;
  font-weight: 500;
  position: relative;
}
.ft-detail a span {
  font-size: 16px;
}
.ft-detail::after {
  position: absolute;
  width: 90px;
  bottom:0;
  height: 1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #051424;
  content: '';
}
#footer .inner {
  padding: 0 24px;
}
#footer .contact-box {
  padding: 30px 0;
  border-radius: 16px;
  background-color: rgba(195, 218, 241, 0.5);
}
#footer .contact-box h3 {
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 15px;
}
.copy {
  margin-top: 40px;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  padding: 3px 0;
  text-align: center;
  background-color: #051424;
  font-weight: 400;
}
.tel-btn {
  gap: 0 5px;
  justify-content: center;
  display: flex;
  margin: 0 auto;
  border-radius: 4px;
  align-items: center;
  max-width: 315px;
  align-items: center;
  background-color: #fff;
  height: 47px;
}
.tel-btn p{
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
}
.tel-icon {
  font-size: 0;
  width: 15px;
  display: block;
}
.mail-text-box {
  margin-top: 12px;
}
.mail-text-box a {
  display: flex;
  justify-content: center;
  gap: 0 6px;
  align-items: center;
  cursor: pointer;
}
.mail-text {
  line-height: 1;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}
.mail-icon {
  padding-top: 6px;
  width: 16px;
  display: block;
  font-size: 0;
}
@media (max-width: 538px) {
#footer {
  padding-top: 6rem;
}

#footer h2 {
  font-size: 2.4rem;
  margin-bottom: 2.4rem;
}

#footer h2 a {
  font-size: 2.4rem;
}

.ft-detail {
  font-size: clamp(14px, 1.6rem, 1.6rem);
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  line-height: 2.88rem;
}
.ft-detail a span {
  font-size: clamp(14px, 1.6rem, 1.6rem);
}
.ft-detail::after {
  width: 9rem;
}
#footer .inner {
  padding: 0 2.4rem;
}
#footer .contact-box {
  padding: 3rem 0;
  border-radius: 1.6rem;
}
#footer .contact-box h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(14px, 1.6rem, 1.6rem);
}
.copy {
  margin-top: 4rem;
  font-size: clamp(12px, 1.4rem, 1.4rem);
  padding: 0.3rem 0;
}
.tel-btn {
  gap: 0 0.5rem;
  border-radius: 0.4rem;
  max-width: 31.5rem;
  height: 4.7rem;
}
.tel-btn p{
  font-size: clamp(14px, 1.8rem, 1.8rem);
}
.tel-btn p span {
  font-size: clamp(14px, 1.8rem, 1.8rem);
}
.tel-icon {
  width: 1.5rem;
}
.mail-text-box {
  gap: 0 0.6rem;
  margin-top: 1.2rem;
}
.mail-text {
  font-size: clamp(14px, 1.8rem, 1.8rem);
}
.mail-icon {
  padding-top: 0.6rem;
  width: 1.6rem;
}

}

/* =======================================
SPMENU
======================================== */

.openbtn {
  position: fixed;
  right: 0;
  top: 0;
  width: 70px;
  height: 70px;
  display: none;
  background-color: var(--main-color);
  transform: translate3d(0, 0, 0);
  z-index: 9999;
  background-color: #4072a6;
}


.openbtn {
  cursor: pointer;
  margin-left: 0;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 1.4rem;
  height: 2px;
  background-color: #fff;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
  left: 17px;
  width: 35px;
}

.openbtn span:nth-of-type(2) {
  top: 24px;
  left: 17px;
  width: 35px;
}

.openbtn span:nth-of-type(3) {
  top: 33px;
  left: 17px;
  width: 35px;
}

.openbtn.active span:nth-of-type(1) {
  top: 17px;
  width: 35px;
  left: 17px;
  background-color: #fff;
  transform: translateY(5px) rotate(-150deg);
}

.openbtn.active span:nth-of-type(3) {
  top: 27px;
  left: 17px;
  width: 35px;
  background-color: #fff;
  transform: translateY(-5px) rotate(150deg);
}

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

.openbtn.active p {
  color: #fff;
}

.overlay-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -280px;
  width: 280px;
  color: #fff;
  text-align: left;
  background-color: var(--main-color);
  transition: transform 0.5s ease;
  overflow-y: auto;
  z-index: 9900;
  padding-bottom: 50px;
}

.overlay-menu-inner {
  position: relative;
  height: 100%;
  padding: 0;
}

.spNav-top-01 > ul > li {
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
}

.spNav-top-01 ul {
  width: 100%;
}

.spNav-top-01 > ul > li:nth-child(n+2) {
  margin-top: 22px;
}

.sp-nav-copy {
  margin-top: 60px;
  padding-bottom: 80px;
  color: #fff;
  font-size: 12px;
}

.overlay-menu-inner .fa-angle-right {
  padding-right: 5px;
}

.overlay-menu .tel {
  font-size: 0;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  display: flex;
  gap: 0 10px;
  line-height: 1;
  color: var(--blue-color);
  align-items: center;
  margin-top: 30px;
}

.overlay-menu .tel-icon {
  width: 30px;
  font-size: 24px;
  color: #fff;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-menu .tel a {
  display: block;
  font-size: 0;
  line-height: 1;
}

.overlay-menu {
  display: block;
  opacity: 0;
  left: 0;
  top: 0;
  transition: 0.7s;
  position: fixed;
  overflow: auto;
  width: 100%;
  height: 100%;
  z-index: 1001;
  pointer-events: none;
  z-index: 1000;
}

.overlay-menu.active {
    opacity: 1;
    position: fixed;
    right: 0;
    display: block;
    height: 100vh;
    padding: 80px 0 0;
    background-color: #f0f7fd;
    background-size: cover;
    pointer-events: all;
    background-image: url(../images/common/right-menu-bg.png);
}  

.overlay-menu-inner {
  position: relative;
  height: 100%;
}

.spNav-top-01 > ul > li {
  border-bottom: 2px solid #fff;
}

.spNav-top-01 ul li a {
  padding-right: 30px;
  background-repeat: no-repeat;
  background-position: right top 4px;
  font-weight: 500;
  display: block;
  font-size: 18px;
  color: #fff;
  width: 100%;
  line-height: 1;
}

.spNav-top-01 ul {
  width: 100%;
}

.spNav-top-01 > ul > li:nth-child(n+2) {
  margin-top: 25px;
}

.sp-nav-copy {
  margin-top: 60px;
  color: #fff;
  font-size: 12px;
}
.ftNav-top {
  padding: 0 24px;
}
/* 親 li */
.spNav-top-01 ul > li {
  list-style: none;
}

/* 園についてのボタン */
.spNav-top-01 .has-sub .sub-toggle {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  padding: 0;
}

/* ＋／− アイコン */
.spNav-top-01 .has-sub .sub-toggle-icon {
  font-size: 18px;
}

/* 開いているときに − にしたい場合 */
.spNav-top-01 .has-sub.is-open .sub-toggle-icon {
  content: "−";
}

/* サブメニュー */
.spNav-top-01 .has-sub .sub-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  max-height: 0;               /* 初期は閉じる */
  transition: max-height .3s ease;  /* ビヨンと出るアニメーション */
}

.spNav-top-01 .has-sub .sub-nav li a{
  display: flex;
  gap: 0 7px;
  align-items: center;
}

/* サブメニューの各項目 */
.spNav-top-01 .has-sub .sub-nav li a {
  padding: 8px 24px;
  text-decoration: none;
  font-size: 16px;
}

.spNav-top-01 .has-sub .sub-nav li .arrow {
  width: 14px;
  font-size: 0;
  display: block;
}

.spNav-top-01 .has-sub .sub-nav li a:hover {
  background-color: #eee;
}

/* 開いた状態 */
.spNav-top-01 .has-sub.is-open .sub-nav {
  max-height: 500px; /* 中身より少し大きめならOK（5件くらいなら十分） */
}

.overlay-menu .ft-detail {
    color: #051424;
    margin-top: 30px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    line-height: 28.8px;
    font-weight: 500;
    position: relative;
}
/* SP専用にしたい場合はメディアクエリで */
@media (min-width: 769px) {
  .spNav-top-01 {
    display: none;
  }
}

@media (max-width: 1270px) {

  .openbtn {
    position: fixed;
    right: 0;
    top: 0;
    display: block;
    transform: translate3d(0, 0, 0);
    z-index: 9999;
  }

  .openbtn {
    top: 0;
    right: 0;
    display: block;
  }

  .openbtn p {
    font-size: 13px !important;
    line-height: 1 !important;
    text-align: center;
    color: #fff;
    padding-left: 1px;
    font-weight: 700;
    margin-top: 40px;
  }
}

@media (max-width: 786px) {
  .openbtn {
    display: block;
  }

}
@media (max-width: 538px) {
  .overlay-menu .ft-detail {
      margin-top: 3rem;
      font-size: 1.6rem;
      margin-bottom: 3.5rem;
      padding-bottom: 3.5rem;
      line-height: 2.88rem;
  }
}
@media (max-width: 480px) {
  .openbtn {
    display: block;
  }
}
