@charset "UTF-8";
/*
  Template: swell
  Theme Name: Iroha Gakuen
*/

/********************************************************************
  共通
*********************************************************************/

/* デフォルトフォント */
body {
  font-family: "Zen Maru Gothic", "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
}
/* 明朝フォント */
.mincho {
  font-family: "Kaisei Decol", serif;
  font-weight: 400;
}
/* ウェイトを強制的にノーマルに */
.font-force-normal {
  font-weight: 400 !important;
}
/* ウェイトを強制的にボールドに */
.font-force-bold {
  font-weight: 700 !important;
}

/* ヘッダーの調整 */
@media only screen and (min-width:960px) { /* PCのみ */
  .l-header, .l-header__inner {
    max-width: 1200px; /* ヘッダーの最大幅 */
    margin: 0 auto;
  }
  .-parallel-bottom .l-header__logo {
    width: auto !important;
    padding: 0 20px;
  }
  .l-header__barInner {
    display: none;
  }
}

/* ヘッダーウィジェット(右側アイコン表示) */
#body_wrap .w-header {
  position: absolute;
  display: block !important;
  width: auto;
  top: 5px; /* 上下位置 */
  right: 20px; /* 左右位置 */
}
#body_wrap .w-header .textwidget {
  display: flex;
  gap: 10px;
}
#body_wrap .w-header .textwidget a {
  display: inline-block;
  width: 50px; /* アイコン(リンク)の表示サイズ */
}
@media screen and (max-width:959px) { /* モバイルのみ */
  #body_wrap .w-header {
    right: 75px; /* モバイル時の左右位置調整 */
  }
}

/* グローバルナビ（PC用） */
#gnav > .c-gnav {
  padding-left: 10px; /* 左区切り線用スペース */
  background-repeat: no-repeat;
  background-position: -285px 0; /* 左区切り線表示のための画像位置設定 */
  background-image: url("./nav3.png");
}
#gnav > .c-gnav > .menu-item {
  flex-grow: 1;
  height: 120px; /* ボタンの高さ */
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: calc(100% + 3px) 0; /* 各ボタン右区切り線表示のための画像位置設定 */
  background-image: url("./nav3.png");
}
#gnav > .c-gnav > .menu-item > a {
  width: calc(100% - 10px); /* ボタンの横幅 */
  height: 120px; /* ボタンの高さ */
  background-repeat: no-repeat;
  background-image: url("./nav3.png");
}
#gnav > .c-gnav > .menu-item:nth-of-type(1) > a {
  background-position: center -150px; /* 1つめのボタンのための画像位置調整 */
}
#gnav > .c-gnav > .menu-item:nth-of-type(2) > a {
  background-position: center -300px; /* 2つめのボタンのための画像位置調整 */
}
#gnav > .c-gnav > .menu-item:nth-of-type(3) > a {
  background-position: center -450px; /* 3つめのボタンのための画像位置調整 */
}
#gnav > .c-gnav > .menu-item:nth-of-type(4) > a {
  background-position: center -600px; /* 4つめのボタンのための画像位置調整 */
}
#gnav > .c-gnav > .menu-item:nth-of-type(5) > a {
  background-position: center -750px; /* 5つめのボタンのための画像位置調整 */
}
#gnav > .c-gnav > .menu-item:nth-of-type(6) > a {
  background-position: center -900px; /* 6つめのボタンのための画像位置調整 */
}
#gnav > .c-gnav > .menu-item:nth-of-type(7) > a {
  background-position: center -1050px; /* 7つめのボタンのための画像位置調整 */
}
#gnav > .c-gnav > .menu-item > a:hover {
  opacity: 0.8;
}
#gnav > .c-gnav > .menu-item > a > .ttl {
  text-indent: -9999px;
}

/* パンくずリスト */
.p-breadcrumb.-bg-on {
  color: #ffffff;
  background: #F48C98;
}
.p-breadcrumb.-bg-on a {
  color: #ffffff;
}
.p-breadcrumb .p-breadcrumb__item {
  font-size: 13px;
}

/* フッター */
@media screen and (min-width:960px) { /* PCのみ */
  /* フッターの上に波状模様 */
  .my-footer {
    position: relative;
    background-repeat: no-repeat;
    background-position: calc(100% - 40px) 90px;
    background-image: url("footer-flower.png");
  }
  .my-footer:before {
    position: absolute;
    z-index: 1;
    content: " ";
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-image: url("footer-above.png");
  }
}

/* 固定ページ、ブログトップ、アーカイブのタイトル */
#body_wrap.page .c-pageTitle,
#body_wrap.blog .c-pageTitle,
#body_wrap.archive .c-pageTitle {
  font-family: "Kaisei Decol", serif;
  font-size: 38px;
  text-align: center;
}
/* タイトルの左右に花画像 */
#body_wrap.page .c-pageTitle__inner,
#body_wrap.blog .c-pageTitle__inner,
#body_wrap.archive .c-pageTitle__inner {
  display: inline-block;
  padding-left: 64px;
  padding-right: 64px;
  min-height: 45px;
  background-repeat: no-repeat;
  background-size: 62px auto, 62px auto;
  background-position: 0px 24px, right 0px top 24px;
  background-image: url("page-title-l.png"), url("page-title-r.png");
}
#body_wrap.archive .c-pageTitle__subTitle {
  display: none;
}
/* スマホ専用調整 */
@media screen and (max-width:599px) {
  /* 固定ページ、ブログトップ、アーカイブのタイトル */
  #body_wrap.page .c-pageTitle,
  #body_wrap.blog .c-pageTitle,
  #body_wrap.archive .c-pageTitle {
    --curr-area-width: calc(100vw - 2 * var(--swl-pad_container,0));
    --curr-font-width: calc(var(--curr-area-width) / (8 + 4 + 0.5));
    font-size: var(--curr-font-width);
  }
  /* タイトルの左右に花画像 */
  #body_wrap.page .c-pageTitle__inner,
  #body_wrap.blog .c-pageTitle__inner,
  #body_wrap.archive .c-pageTitle__inner {
    padding-left: calc(var(--curr-font-width) * 2 * 1.1);
    padding-right: calc(var(--curr-font-width) * 2 * 1.1);
    min-height: calc(var(--curr-font-width) * 1);
    background-size: calc(var(--curr-font-width) * 2) auto, calc(var(--curr-font-width) * 2) auto;
    background-position: 0px calc(var(--curr-font-width) * 0.5), right 0px top calc(var(--curr-font-width) * 0.5);
  }
}
/* 固定ページの中見出し(h3) */
#body_wrap.page h3.wp-block-heading {
  padding-left: 1.8em;
  background: no-repeat;
  background-image: url("page-h3.png");
  background-size: 1.5em;
}

#body_wrap.page .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
  object-fit: contain;
}

/********************************************************************
  トップページ用
*********************************************************************/

/* 余白調整 */
#body_wrap.home #content {
  padding-top: 2em;
  margin-bottom: 0;
}
#body_wrap.home #before_footer_widget {
  margin-top: 0;
}

/* メインビジュアルの下に波状模様 */
@media only screen and (min-width:960px) { /* PCのみ */
  #body_wrap.home #main_visual {
    position: relative;
  }
  #body_wrap.home #main_visual:after {
    position: absolute;
    z-index: 1;
    content: " ";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52px;
    background-image: url("main-bellow.png");
  }
}

/* 園児一人ひとりの個性を… */
#body_wrap.home #home-top-pc img {
  transform: translate(0px, -100px);
  margin-bottom: -100px;
}

/* お知らせ */
#body_wrap.home #oshirase-title img {
  width: auto;
  height: auto;
}
@media screen and (max-width:959px) {
  #body_wrap.home #oshirase-title img {
    max-height: 40px;
  }
}
@media screen and (min-width:960px) {
  #body_wrap.home #oshirase-title img {
    max-height: 90px;
  }
}
#body_wrap.home .oshirase-container {
  padding-bottom: 60px !important;
}
#body_wrap.home #my-posts-container {
  padding: 0 20px 20px;
  min-height: 358px;
  background: #ffffff;
  border-radius: 20px;
}
#body_wrap.home #my-posts-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  gap: 1px;
}
#body_wrap.home .my-posts-tab {
  flex-grow: 1;
  padding: 10px;
  text-align: center;
  line-height: 1.2;
  color: #ffffff;
  background-color: #f95764;
  border-radius: 6px 6px 0px 0px;
  cursor: pointer;
  user-select: none;
}
#body_wrap.home .my-posts-tab:hover {
  opacity: 0.8;
}
#body_wrap.home #my-posts ul {
  list-style: none;
  padding: 0;
}
#body_wrap.home #my-posts .my-post {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}
#body_wrap.home #my-posts .my-post-category {
  flex-grow: 0;
  display: block;
  margin-top: 0.25em;
  padding: 10px;
  width: 7.5em;
  min-width: 7.5em;
  height: 2.5em;
  text-align: center;
  line-height: 1.2;
  color: #ffffff;
  background-color: #f95764;
  border-radius: 6px;
  white-space: nowrap;
}
#body_wrap.home #my-posts .my-post-link {
  overflow: hidden;
  line-break: anywhere;
  word-break: break-all;
}
@media screen and (min-width:720px) {
  #body_wrap.home #my-posts .my-post-detail {
    display: flex;
    align-items: center;
  }
  #body_wrap.home #my-posts .my-post-date {
    text-align: center;
    display: block;
    width: 5.5em;
    min-width: 5.5em;
    line-height: 1.2;
    white-space: nowrap;
  }
  #body_wrap.home #my-posts .my-post-link {
    display: block;
    line-height: 1.2;
    flex-grow: 1;
  }
}
#body_wrap.home #my-posts .my-posts-loading {
  width: 100%;
  height: 72px;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url("loading.gif");
  text-indent: -9999px;
}
#body_wrap.home #my-posts .my-posts-none {
  text-align: center;
}
/* 色分け */
#body_wrap.home .my-posts-tab[data-id="9"],
#body_wrap.home #my-posts .my-post-category-9 {
  background-color: #f99b9b;
}
#body_wrap.home .my-posts-tab[data-id="10"],
#body_wrap.home #my-posts .my-post-category-10 {
  background-color: #ff9788;
}
#body_wrap.home .my-posts-tab[data-id="11"],
#body_wrap.home #my-posts .my-post-category-11 {
  background-color: #f48e31;
}
#body_wrap.home .my-posts-tab[data-id="12"],
#body_wrap.home #my-posts .my-post-category-12 {
  background-color: #fcd353;
}

/* 園について */
#body_wrap.home #about_en-title img,
#body_wrap.home .yochien-title img,
#body_wrap.home .hoikuen-title img {
  width: auto;
  height: auto;
}
@media screen and (max-width:959px) {
  #body_wrap.home #about_en-title img {
    max-height: 40px;
  }
  #body_wrap.home .yochien-title img {
    max-height: 25px;
  }
  #body_wrap.home .hoikuen-title img {
    max-height: 25px;
  }
}
@media screen and (min-width:960px) {
  #body_wrap.home #about_en-title img {
    max-height: 90px;
  }
  #body_wrap.home .yochien-title img {
    max-height: 37px;
  }
  #body_wrap.home .hoikuen-title img {
    max-height: 37px;
  }
}

/* スライダー用 */
#body_wrap.home #sub-slider-images {
  display: none;
}
#body_wrap.home #sub-slider {
  width: 100%;
}
#body_wrap.home #sub-slider .flickity-slider {
  display: flex;
  justify-content: center;
  align-items: center;
}
#body_wrap.home #sub-slider img {
  width: 50.00vw;
  height: 33.33vw;
}
@media screen and (min-width: 480px) {
  #body_wrap.home #sub-slider img {
    width: 33.33vw;
    height: 25.00vw;
  }
}
@media screen and (min-width: 720px) {
  #body_wrap.home #sub-slider img {
    width: 25.00vw;
    height: 16.67vw;
  }
}
@media screen and (min-width: 960px) {
  #body_wrap.home #sub-slider img {
    width: 20.00vw;
    height: 13.33vw;
  }
}
#body_wrap.home #sub-slider .flickity-page-dots {
  display: none;
}

/* 交通アクセス */
#body_wrap.home .access-colum2 iframe {
  width: 100%; /* マップを幅いっぱいに */
}
#body_wrap.home #access-title img {
  width: auto;
  height: auto;
}
@media only screen and (max-width:959px) { /* モバイルのみ */
  /* 表示順変更 */
  #body_wrap.home .access-columns {
    flex-direction: column-reverse;
  }
  #body_wrap.home #access-title {
    padding-bottom: 20px !important;
  }
  #body_wrap.home #access-title img {
    max-height: 40px;
  }
  #body_wrap.home .access-container {
    padding-top: 20px !important;
  }
  #body_wrap.home #phone-no-yochien a,
  #body_wrap.home #phone-no-hoikuen a {
    position: relative;
  }
  #body_wrap.home #phone-no-yochien a:after,
  #body_wrap.home #phone-no-hoikuen a:after {
    position: absolute;
    display: inline-block;
    margin-left: 5px;
    content: "";
    width: 2em;
    height: 2em;
    top: 50%;
    transform: translate(0, -62.5%);
    background-size: 2em 2em;
    background-image: url("phone.png");
  }
}
@media screen and (min-width:960px) {
  #body_wrap.home #access-title img {
    max-height: 90px;
  }
  #body_wrap.home #access-title {
    padding-bottom: 0px !important;
  }
  /* 電話番号の色 */
  #body_wrap.home #phone-no-yochien a,
  #body_wrap.home #phone-no-hoikuen a {
    color: #555 !important;
  }
}

/* ローディングアニメーション */
#body_wrap.home {
  opacity: 0.0;
  transition: opacity 0.75s ease;
}
#loading-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  background-color: #fce5d9;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: transform 0.15s linear, opacity 0.75s ease;
}
#loading-panel img {
  width: 200px; /* ロゴのサイズを指定（モバイル） */
  height: auto;
}
@media screen and (min-width: 960px) {
  #loading-panel img {
    width: 250px; /* ロゴのサイズを指定（PC） */
  }
}


/********************************************************************
  お問い合わせ用
*********************************************************************/

/* 電話案内 */
#contact-form .contact-tel-info {
  margin-left: auto;
  margin-right: auto;
  padding: 23px 0;
  width: 480px;
  max-width: 100%;
  color: #333;
  background-color: #fce3e8;
  border-radius: 20px;
}
@media screen and (max-width:959px) {
  #contact-form .phone-no-yochien a,
  #contact-form .phone-no-hoikuen a {
    position: relative;
  }
  #contact-form .phone-no-yochien a:after,
  #contact-form .phone-no-hoikuen a:after {
    position: relative;
    display: inline-block;
    margin-left: 5px;
    content: "";
    width: 2em;
    height: 2em;
    transform: translate(0, 10%);
    background-size: 2em 2em;
    background-image: url("phone.png");
  }
}

/* フォーム */
#contact-form .wpcf7 {
  display: flex;
  justify-content: center;
  width: 640px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#contact-form .wpcf7 .wpcf7-form,
#contact-form .wpcf7-form>div {
  width: 640px;
  max-width: 100%;
}
#contact-form .wpcf7-form label,
#contact-form .wpcf7-form .wpcf7-form-control-wrap {
  display: inline-block;
  width: 640px;
  max-width: 100%;
}
#contact-form .wpcf7-form input[type="text"],
#contact-form .wpcf7-form textarea {
  width: 640px;
  max-width: 100%;
}
#contact-form .wpcf7-form-control {
  margin-bottom: 10px;
  padding-top: 7px;
  padding-bottom: 7px;
  background: #ffffff;
  border-radius: 7px !important;
}
#contact-form .fm-caption {
  display: inline-block;
  margin: 1em 0 10px 0px;
  font-weight: 700;
  font-size: 87.5%;
}
#contact-form .fm-required .fm-caption:before {
  content: "必須";
  display: inline-block;
  padding: 0px 10px;
  margin-right: 5px;
  font-weight: 700;
  font-size: 87.5%;
  letter-spacing: 2px;
  color: #fff;
  background-color: #f48c98;
  border-radius: 8px;
}
#contact-form .fm-not-required .fm-caption:before {
  content: "任意";
  display: inline-block;
  padding: 0px 10px;
  margin-right: 5px;
  font-weight: 700;
  font-size: 87.5%;
  letter-spacing: 2px;
  color: #fff;
  background-color: #f48c98;
  border-radius: 8px;
}
#contact-form .fm-zip-mark {
  margin-right: 10px;
}
#contact-form .fm-zip-mark+span {
  display: inline-block;
  width: auto !important;
}
#contact-form .fm-zip-input {
  display: inline-block;
  width: 150px !important;
}
#contact-form #fm-submit {
  position: relative;
  margin-top: 20px;
  text-align: center;
}
#contact-form #fm-submit .wpcf7-submit {
  width: 150px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  background-color: #f48c98;
}
#contact-form #fm-submit .wpcf7-spinner {
  position: absolute;
}


.force-hide {
  display: none !important;
}
