@charset "utf-8";
/*
	* 基本スタイルシート
	* CMSのパーツ、テンプレートのスタイル
	* ver1
	* Copyright (C) ●●など
	* 更新履歴
		└ 
*/

/* *{
	border: solid 1px #ccc;
} */
/* ////////////////////////////////////////////////////////////////////////////////////////////////////
	CMSスタイル設定
//////////////////////////////////////////////////////////////////////////////////////////////////// */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	テンプレート > フロントページ
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
共通
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* 見出し部分 */
.bl_heading {
  font-size: clamp(28px, 1.34vw + 22.3px, 48px);
  font-weight: 700;
  position: relative;
  margin-bottom: 2.5em;
  letter-spacing: 3px;
}

.bl_heading::after {
  content: '';
  background-image: url(../img/common/head.png);
  width: 63px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  bottom: -30px;
}

/* ボタン */
/* ボタン全体 */
.bl_button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #36a853;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  padding: 1.25rem 3rem 1.25rem 1.5rem;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
  gap: 1rem;
  min-width: 200px;
  position: relative;
}

.bl_button_center {
  width: fit-content;
  margin: 0 auto;
  display: block;
}

/* 疑似要素で矢印を追加 */
.bl_button::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #36a853;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

/* ホバー時 */
.bl_button:hover {
  background-color: #2c8c44;
}

.bl_button:hover::after {
  right: 0.25rem;
}

.bl_btn:hover::after {
  transform: translateX(4px);
}

/* テキスト */
.bl_button_text {
  line-height: 1;
}

/* アイコンの円背景（非表示） */
.bl_button_icon {
  display: none;
}

/* 矢印（非表示） */
.bl_button_arrow {
  display: none;
}

/* インナー */
.bl_frontpage_inner {
  width: 1200px;
  margin: 0 auto;
  max-width: calc(100% - 2em);
  /* padding: 6rem 0; */
}

/* セクション間の余白 */
.page-template-front-page-php section+section {
  margin-top: clamp(6rem, 13vw + 6rem, 15rem);
}

@media (max-width: 768px) {
  .bl_frontpage_inner {
    max-width: calc(100% - 40px);
  }
}

@media (max-width: 576px) {
  .bl_button_text {
    font-size: var(--fontSize14);
  }

  .bl_heading {
    margin-bottom: 2.5em;
  }

  .bl_button {
    padding: 1rem 3rem 1rem 1.5rem;
  }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
bl_mainVisual
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ブロックモジュール：メインビジュアル全体 */
.bl_mainVisual {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  /* max-width: 1540px; */
  width: calc(100% - 60px);
  margin: 0 auto;
  position: relative;
  border-radius: 50px;
  margin-bottom: 6rem;
}

.bl_mainVisual::before,
.bl_mainVisual::after {
  content: '';
  width: 135px;
  height: 122px;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
}

.bl_mainVisual::before {
  background-image: url(../img/common/mv-left.png);
  top: 0;
  left: -3px;
}

.bl_mainVisual::after {
  background-image: url(../img/common/mv-right.png);
  bottom: -23px;
  right: -3px;
}

/* inner 要素：レイアウト用 */
.bl_mainVisual_inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
}

/* コンテンツ領域（ロゴ・キャッチ等） */
.bl_mainVisual_content {
  flex: 1 1 40%;
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ロゴ画像 */
.bl_mainVisual_logo {
  width: 215px;
  height: auto;
  margin-bottom: 2rem;
}

.bl_mainVisual_name {
  /* font-size: var(--fontSize26); */
  font-size: clamp(20px, 1.8vw + .25rem, 34px);
  margin-bottom: 2rem;
  font-weight: 400;
}

/* 名前表示 */
/* .bl_mainVisual_name {
  font-size: var(--fontSize24);
  color: #333;
  margin-bottom: 3rem;
} */
.bl_mainVisual_catch {
  font-size: clamp(20px, 1.8vw + .25rem, 34px);
  font-weight: 700;
  color: rgb(51, 51, 51);
  line-height: 1.6;
  letter-spacing: 2px;
}

/* 名前の強調部分 */
.bl_mainVisual_name_highlight {
  font-weight: 700;
  /* font-size: var(--fontSize26); */
}

/* キャッチコピー */
/* .bl_mainVisual_catch {
  font-size: var(--fontSize34);
  font-weight: 800;
  color: #333;
  line-height: 1.6;
} */

/* 画像ラッパー（必要なら余白やラップ用） */
.bl_mainVisual_imageWrapper {
  flex: 1 1 60%;
  max-height: 650px;
}

/* 実際の画像要素 */
.bl_mainVisual_image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}


/* スライドショー */
.bl_mainVisual_imageWrapper.splide {
  display: flex;
  flex-direction: column;
}

.splide__slide {
  border-radius: 50px;
}

.splide__track {
  border-radius: 0 50px 50px 0;
  max-height: 650px;
  flex: 1;
  overflow: hidden;
}

.splide__list {
  height: 100%;
}

.splide__slide {
  height: 100%;
}

/* スライドの画像 */
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1);
  /* 最初から枠いっぱいに表示 */
  transition: opacity 1.5s ease, transform 6s ease;
  transform-origin: center center;
  /* 中心から拡大 */
}

/* 表示中のスライド */
.splide__slide.is-active img {
  opacity: 1;
  transform: scale(1.1);
  /* 枠いっぱいから少しズームイン */
}

/* 768px以上での調整 */
@media (min-width: 768px) {
  .bl_mainVisual_imageWrapper {
    min-height: 450px;
  }

  .splide__track {
    min-height: 450px;

  }
}




/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .bl_mainVisual::before, .bl_mainVisual::after
 {
    width: 95px;
    height: 96px;
}
}

@media (max-width: 768px) {
  .bl_mainVisual_inner {
    flex-direction: column;
  }

  .bl_mainVisual_content,
  .bl_mainVisual_imageWrapper {
    flex: 1 1 100%;
  }

  .splide__track {
    border-radius: 0 0 40px 40px;
  }
}

@media (max-width: 576px) {

  .bl_mainVisual::before,
  .bl_mainVisual::after {
    width: 70px;
    height: 70px;
  }

  .bl_mainVisual_logo {
    width: 100px;
    height: auto;
    margin-bottom: 1rem;
  }

  .bl_mainVisual_logo {
    width: 130px;
    margin-bottom: 1rem;
  }

  .bl_mainVisual_content {
    padding: 1.5rem 0;
  }

  .bl_mainVisual_name {
    margin-bottom: 1rem;
  }

  .bl_mainVisual {
    width: calc(100% - 40px);
  }

}



/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
bl_news
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* お知らせセクション */
/* .bl_news {
  background: #fafafa;
  padding: 3rem 1rem;
} */
.bl_bl_headingWrap {
  display: flex;
  flex-direction: column;
}

.bl_news_inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(3rem, 1.301rem + 7.25vw, 10rem);
  width: 100%;
  max-width: calc(1200px + 40px);
  /* 基準幅 + 両padding余白分 */
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* 見出し部分 */
/* .bl_news_heading {
  flex: 0 0 120px; 
} */



/* 記事リスト */
.bl_news_list {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 0 !important;
}

/* 各記事 */
.bl_news_listItem {
  border-bottom: 1px solid #666666;
  padding: 1.25rem 0;
  display: flex;
  /* flex-wrap: wrap; */
  align-items: center;
  gap: 2rem;
}

.bl_news_top {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: #666;
  width: 8rem;
}

.bl_news_date {
  white-space: nowrap;
  color: #666666;
  font-weight: 600;
  letter-spacing: 1px;
}

.bl_news_cat a {
  color: #fff;
  text-decoration: none;
  font-size: var(--fontSize14);
  font-weight: 500;
  padding: 3px 20px;
  background-color: var(--mainColor);
  border-radius: 50vh;

}

.bl_news_btm {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  width: calc(100% - 8rem);
}

.bl_news_newIcon {
  background: #d76933;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 7px;
  /* border-radius: 3px; */
  margin-right: 5px;
}

a.bl_news_title {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.bl_news_title:hover {
  text-decoration: underline;
}

/* 記事がない場合 */
.bl_news_empty {
  /* color: #666; */
  font-size: 0.9rem;
  padding: 1rem 0;
}

.sp-btn {
  display: none;
}

@media (max-width: 768px) {
  .bl_news_inner {
    flex-direction: column;
    gap: 0;
  }

  .bl_bl_headingWrap {
    margin-bottom: 2.5em;
  }

  .bl_news_heading {
    text-align: center;
    width: initial;
    margin-bottom: 0;
  }

  .bl_news_listItem {
    flex-wrap: wrap;
    gap: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .bl_news_top,
  .bl_news_btm {
    width: 100%;
  }

  .pc-btn {
    display: none;
  }

  .sp-btn {
    display: block;
    margin: 0 auto;
  }

  .bl_news_list {
    margin-bottom: 2em;
  }
}

@media (max-width: 576px) {

  a.bl_news_title,
  .bl_news_date {
    font-size: var(--fontSize14);
  }

  .bl_news_cat a {
    font-size: var(--fontSize12);
  }

}




/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
bl_philosophy
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.bl_philosophy {
  background-color: #fff;
  position: relative;
}

.bl_philosophy .bl_frontpage_inner {
  padding: 7rem 0;
}

.bl_philosophy::before {
  background-image: url(../img/common/waves.svg);
  display: block;
  content: '';
  background-size: cover;
  width: 100%;
  height: 100px;
  position: absolute;
  top: -100px;
  transform: rotateX(180deg);
  /* 軸を基準点に回転する */

}

.bl_philosophy::after {
  background-image: url(../img/common/waves.svg);
  display: block;
  content: '';
  background-size: cover;
  width: 100%;
  height: 100px;
  position: absolute;
  bottom: -100px;
}

.bl_philosophy_txt {
  text-align: center;
  font-weight: 500;
  line-height: 2;
}

.bl_philosophy_heading {
  font-size: clamp(28px, 1.34vw + 22.3px, 32px);
  text-align: center;
}

/* 装飾の画像 */
.leaf-left {
  content: '';
  background-image: url(../img/common/bl_philosophy-left.png);
  background-size: contain;
  width: 200px;
  height: 500px;
  position: absolute;
  left: 40px;
  top: -250px;
  background-repeat: no-repeat;
  ;
}

.leaf-right {
  content: '';
  background-image: url(../img/common/bl_philosophy-right.png);
  background-size: contain;
  width: 200px;
  height: 450px;
  position: absolute;
  right: 60px;
  bottom: -250px;
  background-repeat: no-repeat;
  z-index: 1;
}

.shape-left {
  content: '';
  background-image: url(../img/common/shape-left.png);
  background-size: contain;
  width: 300px;
  height: 300px;
  position: absolute;
  left: 60px;
  bottom: -160px;
  background-repeat: no-repeat;
  z-index: 1;
}

.shape-right {
  content: '';
  background-image: url(../img/common/shape-right.png);
  background-size: contain;
  width: 300px;
  height: 300px;
  position: absolute;
  right: 60px;
  top: -190px;
  background-repeat: no-repeat;
  z-index: 1;
}

.sp-wrap {
  display: none;
}

.pc-wrap {
  display: block;
}

@media (max-width: 1200px) {
  .shape-right {
    width: 250px;
    height: 250px;
    right: 0;
    top: -160px;
  }

  .shape-left {
    width: 250px;
    height: 250px;
    left: 5px;
    bottom: -150px;
  }

  .leaf-left {
    width: 150px;
    height: 250px;
    top: -180px;
    left: 40px;
  }

  .leaf-right {
    width: 150px;
    height: 290px;
    position: absolute;
    right: 10px;
    bottom: -150px;
  }
}

@media (max-width: 768px) {
  .shape-right {
    width: 150px;
    height: 170px;
    top: -120px;
    right: 0;
  }

  .shape-left {
    width: 150px;
    height: 170px;
    bottom: -150px;
    left: 0;
  }
}



@media (max-width: 576px) {
  .sp-wrap {
    display: block;
  }

  .pc-wrap {
    display: none;
  }

  .leaf-left {
    width: 70px;
    height: 174px;
    left: 0;
    top: -80px;
  }

  .leaf-right {
    width: 70px;
    height: 174px;
    right: 0;
    bottom: -150px;
  }

  .page-template-front-page-php .bl_philosophy {
    margin-top: 12rem;
    margin-bottom: 12rem;
  }

  /* ウェーブの位置 */
  .bl_philosophy::before {
    width: 870px;
    top: -100px;
    left: -30px;
  }

  .bl_philosophy::after {
    width: 1100px;
    height: 100px;
    right: -510px;
  }

  .bl_philosophy .bl_frontpage_inner {
    padding: 5rem 0;
  }
}

@media (max-width: 576px) {
  .bl_heading.bl_philosophy_heading {
    font-size: var(--fontSize24);
  }

  .bl_philosophy_txt {
    font-size: var(--fontSize14);
    text-align: start;
  }
}




/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
bl_facility
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.bl_facility_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  /* カードの間隔 */
}

.bl_facility_heading {
  /* font-size: var(--fontSize48); */
  text-align: center;
}

.bl_facility_card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: calc((100% - 4rem) / 3);
  /* max-width: 320px; */
  border: solid 5px #fff;
  transition: all 0.3s ease;
}

.bl_facility_card>a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.bl_facility_card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.bl_facility_card a:hover {
  opacity: initial;
}

.bl_facility_img {
  overflow: hidden;
  position: relative;
}

.bl_facility_img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.bl_facility_card:hover .bl_facility_img img {
  transform: scale(1.1);
}

.bl_facility_body {
  padding: 1rem .5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
  font-size: var(--fontSize20);
  text-align: center;
}

.bl_facility_card {
  position: relative;
}

@media (max-width: 992px) {
  .bl_facility_body {
    font-size: var(--fontSize16);
  }
}

@media (max-width: 768px) {
  .bl_facility_body {
    font-size: var(--fontSize14);
  }
}

@media (max-width: 576px) {
  .bl_facility_card {
    width: 100%;
  }

  .bl_facility_heading {
    font-size: var(--fontSize24);
  }


  .bl_facility_card>a {
    display: flex;
    align-items: center;
    flex-direction: row;
  }

  .bl_facility_card {
    width: 100%;
  }

  .bl_facility_img {
    aspect-ratio: 1 / 1;
    border-radius: 15px;
  }

  .bl_facility_img img {
    width: 100px;
    height: 100%;
    object-fit: cover;
  }

  .bl_facility_body {
    font-size: var(--fontSize14);
    text-align: start;
  }

  .bl_facility_card {
    border: solid 10px #fff;
  }

  .bl_facility_card {
    border: solid 10px #fff;
  }

  .bl_facility_cards {
    gap: 1.5rem !important;
  }

}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
bl_faq
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.bl_faq_heading {
  text-align: center;
}

.faq-item {
  margin-top: 20px;
  /* max-width: 720px; */
  margin-left: auto;
  margin-right: auto;
  /* border: 1px solid var(--mainColor); */
  color: #fff;
}

.faq-question__wrap {
  position: relative;
  background: #2f953a;
  color: #fff;
  padding: 1.5rem 3rem 1.5rem 3.5rem;
  cursor: pointer;
  vertical-align: middle;
  border-radius: 20px;
  transition: background-color 0.5s ease;
}

.faq-question__wrap:hover {
  background: #41b04d;
}

.faq-question__wrap.active {
  background: #41b04d;
}

.minus-icon {
  position: absolute;
  content: "";
  width: 20px;
  height: 3px;
  background: #fff;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.plus-icon {
  position: absolute;
  content: "";
  width: 20px;
  height: 3px;
  background: #fff;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transition: ease all 0.5s;
  /* 擬似要素のトランジションを追加 */
  z-index: 2;
}

/* プラスアイコンの背景に半透明の丸を追加 */
.plus-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: -1;
  transition: ease all 0.5s;
}

.plus-icon.active {
  transform: translateY(-50%);
}

.plus-icon.active::before {
  background-color: rgba(0, 0, 0, 0.15);
}

.faq-question__title {
  font-weight: 600;
  color: #fff;
  font-size: var(--fontSize20);
  position: relative;
  padding-left: 1rem;
}

.faq-question__title::before {
  position: absolute;
  color: #fff;
  content: "Q";
  /* transform: translateY(-50%); */
  font-size: var(--fontSize36);
  font-weight: 900;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: -2rem;
  height: fit-content;
  /* border: solid; */
  line-height: 1;
}

.faq-item .faq-answer__wrap {
  /* background: #fff; */
  max-height: 0 !important;
  overflow: hidden !important;
  /* padding-left: 3.5rem;
	padding-right: 3rem; */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0 !important;
  /* CSSのみで滑らかなアニメーション */
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important,
    opacity 0.4s ease !important,
    padding 0.4s ease !important;
  /* ブラウザ最適化 */
  will-change: max-height, opacity, padding;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* 他のCSSの影響を完全に排除 */
  transform: none !important;
  -webkit-transform: none !important;
}

.faq-item .faq-answer__wrap.active {
  max-height: 400px !important;
  /* 十分に大きな値を設定 */
  opacity: 1 !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  position: relative;
}

.faq-answer__title {
  position: relative;
  font-weight: 600;
  color: var(--mainColor);
  font-size: 20px;

}

.faq-answer__title::before {
  position: absolute;
  color: var(--mainColor);
  content: "A";
  top: 50%;
  left: -35px;
  transform: translateY(-50%);
}

.faq-answer__text {
  margin-top: 5px;
  position: relative;
  color: var(--black);
  font-size: var(--fontSize18);
  font-weight: 600;
}

/* .faq-answer__text::before {
    position: absolute;
    color: #ED7486;
    content: "A";
    transform: translateY(-50%);
    font-size: 2rem;
    left: -2rem;
    font-weight: bold;
    top: 1rem;
} */

@media (max-width: 576px) {

  .faq-question__title {
    font-size: var(--fontSize14);
    padding-left: 0;
  }

  .faq-question__title::before {
    font-size: var(--fontSize20);
    left: -1.75rem;
  }

  .faq-answer__text {
    font-size: var(--fontSize14);
  }

  .faq-question__wrap {
    padding: 1rem 2.5rem 1rem 2.5rem;
    border-radius: 10px;
  }

  .bl_footerContainerTop::before {
    width: 80px;
    height: 58px;
    bottom: 110px;
    left: 3px;
  }

  .bl_footerContainerTop::after {
    width: 70px;
    height: 100px;
    right: 0;
    top: 20px;
  }

  .faq-item .faq-answer__wrap.active {
    max-height: 300px !important;
    /* スマホ版用の値 */
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* 開閉アイコン */
  .plus-icon::before {
    width: 25px;
    height: 25px;
  }

  .plus-icon,
  .minus-icon {
    width: 15px;
  }

  .faq-tab-button {
    font-size: var(--fontSize14);
    padding: 10px 15px;
  }

  .faq-tab-item.active .faq-tab-button {
    background-color: #fff;
    border-radius: 5px;
  }


}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
bl_recruit
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.bl_recruit {
  /* background-color: #e6692a; */
  background-image: url(../img/common/bg-orange.png);
  padding: 60px 20px;
}

.bl_recruit_heading {
  /* font-size: var(--fontSize48); */
  margin-bottom: 4rem;
  letter-spacing: 4px;
}

.bl_recruit_inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
}

/* ボタン */
.bl_recruit .bl_button {
  background-color: #d76933;
}

.bl_recruit .bl_button::after {
  color: #d76933;
}

.bl_recruit .bl_button .bl_button_icon {
  color: #d76933;
}

/* レスポンシブ時に 1 カラム構成にする */
@media (max-width: 1024px) {
  .bl_recruit_inner {
    grid-template-columns: 1fr;
  }
}


/* --- テキスト側モジュール --- */
.bl_recruitContent {
  background-color: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bl_recruitContent_ttl {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.bl_recruitContent_txt {
  font-size: var(--fontSize16);
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 28px;
}

.bl_recruitContent_btn {
  /* ボタンに関するスタイルは下で el_btn と組み合わせて制御 */
}

/* --- 画像側モジュール --- */
.bl_recruitImages {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.bl_recruitImages_item {
  flex: 1;
}

.bl_recruitImages_img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* レイアウトが縦並びになったときの対応 */
@media (max-width: 768px) {
  .bl_recruitImages {
    /* flex-direction: column; */
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .bl_recruitContent_txt {
    text-align: start;
  }

  .bl_recruitContent_txt br {
    display: none;
  }
}


/* ---------- エレメントモジュール = el_ ---------- */

.el_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.el_btn_icon {
  margin-left: 8px;
  font-size: 16px;
}

/* el_btn に対するスキン（モディファイア風扱い） */
.el_btn {
  background-color: #e6692a;
  color: #fff;
}

.el_btn:hover {
  background-color: #cc5522;
}

/* ---------- ヘルパー = hp_ ---------- */

/* 必要があればテキスト中央揃えなどもヘルパーで使う */
.hp_tac {
  text-align: center !important;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	テンプレート > 記事ページ（single.php）
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* リングノートのスタイル */
.bl_main-contents {
  background-color: #fff;
  border-radius: 20px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.bl_main-contents::before {
  position: absolute;
  top: -10px;
  content: '';
  background-image: url(../img/common/ringnote.png);
  width: 1200px;
  height: 38px;
  background-repeat: no-repeat;
}



.bl_post-ttl {
  font-size: var(--fontSize24);
  font-weight: 600;
}

.bl_post_date {
  display: flex;
  margin-bottom: 1rem;
  gap: .5rem;
}

/* 投稿記事タイトル */
.bl_post-ttl {
  margin-bottom: 4rem;
  border-bottom: solid 1px #ccc;
  padding: 1rem 0;
}

@media (max-width: 576px) {

  .bl_main-contents::before {
    position: absolute;
    top: -10px;
    content: '';
    background-image: url(../img/common/ringnote.png);
    width: 90%;
    height: 45px;
    background-repeat: no-repeat;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	テンプレート > デフォルトテンプレート(page.php)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ページタイトル */
.bl_page-ttl {
  background-color: #fff;
  font-size: 40px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 17rem;
  z-index: 0;
  position: relative;
}

.bl_page-ttl-txt {
  position: relative;

}

.bl_page-ttl-txt::after {
  content: '';
  background-image: url(../img/common/head.png);
  width: 63px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  bottom: -30px;
}

@media (max-width: 992px) {
  .bl_main-contents {
    padding: 4rem 1rem;
  }
}

@media (max-width: 576px) {

  .bl_page-ttl {
    font-size: var(--fontSize24);
    height: 9rem;

  }

  .bl_page-ttl-txt::after {
    width: 30px;
    height: 14px;
    bottom: -20px;
  }
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	テンプレート > 施設一覧ページ(page-facility-list.php)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.bl_list-page_facility_cards {
  column-gap: 2rem;
  row-gap: 3rem;
  justify-content: flex-start;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	テンプレート > 施設詳細ページ(facility-page.php)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* ==================================== */
/* 1. 共通設定とGridレイアウト (PC版) */
/* ==================================== */
.bl_facility-hero {
  background-color: #fdfdfa;
  margin-top: 50px;
}

.bl_facility-hero-inner {
  display: grid;

  grid-template-columns: 1fr 1fr;
  /* 2行構成を維持しますが、中央寄せの目的でFlexboxを使います */
  grid-template-rows: min-content min-content;

  /* 【重要な変更点】ここで全体の垂直方向の中央寄せは行いません */
  /* align-items: center; を削除または上書き */

  max-width: calc(100% - 15%);
  margin: 0 auto;

  row-gap: 0;
  column-gap: 3rem;

  /* 【追加】左側のコンテンツをラップし、中央寄せするための設定 */
  /* 左側のコンテンツ全体が上下中央に位置するように、Flexboxの代わりに
     1列目をひとつの論理的なコンテナとして扱い、画像に対して中央寄せします。 */
}

/* ------------------------------------------------------------- */
/* 【修正】左側の見出しと文章全体を上下中央に寄せるための設定 */
/* ------------------------------------------------------------- */

/* 1列目のアイテム全体を、画像に対して中央寄せするために、
   1列目全体を囲む仮想的なラッパーとして機能するよう設定します。 */
.bl_facility-hero-header {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  /* 【追加】FlexboxでH1とPを縦に配置するための準備 */
  /* H1とPをFlexアイテムにするため、この要素をFlexコンテナにします */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* H1が上端に寄り過ぎないよう微調整 */
}

.bl_facility-hero-body {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  padding-bottom: 3rem;
  /* 【追加】Flexboxアイテムとして機能させるための設定 */
  /* Pのブロックを上下中央寄せの一部と見なすため */
}

/* 2. 画像ブロック：2列目全体を占有し、中央寄せの基準とする */
.bl_facility-hero-image {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  /* 1行目と2行目全体を占有 */

  text-align: right;
  position: relative;
  top: -50px;
  /* 画像が中央寄せの基準になります */
}

/* --- H1とPの余白調整 --- */

/* 1. タイトルブロック内のH1スタイル */
.bl_facility-hero-header h1 {
  position: relative;
  text-align: center;
  font-size: var(--fontSize48);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 5rem;
  padding-top: 4rem;
}

/* H1装飾 */
.bl_facility-hero-header h1::after {
  content: '';
  background-image: url(../img/common/head.png);
  width: 63px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  bottom: -30px;
  margin: auto;
}

/* 3. 文章ブロック内のPスタイル */
.bl_facility-hero-body p {
  /* P要素のブラウザデフォルトマージンをリセット */
  margin-top: 0;
  margin-bottom: 0;

  font-size: 1rem;
  line-height: 2;
  text-align: center;
  font-weight: 500;
}

/* --- 画像スタイル --- */
.bl_facility-hero-image img {
  width: 100%;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}


/* ==================================== */
/* 3. レスポンシブ対応 */
/* モバイルで「タイトル -> 画像 -> 文章」の順序を実現 */
/* ==================================== */

/* 1200px以下 */
@media (max-width: 1200px) {
  .bl_facility-hero-header h1 {
    font-size: var(--fontSize36);
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  .bl_facility-hero-image {
    top: 120px;
  }
}


@media (max-width: 992px) {
  .bl_facility-hero-body br {
    display: none;
  }

  .bl_facility-hero-body p {
    text-align: start;
    margin-top: 0;
    margin-bottom: 0;
  }

}


/* 768px以下 (モバイル版) */
@media (max-width: 768px) {
  /* .bl_facility-hero {
    padding: 4rem 1rem 2rem 1rem; 
  } */

  .bl_facility-hero-inner {
    grid-template-columns: 1fr;
    /* 1カラムに */

    /* モバイルでの順序を明確に指定 */
    grid-template-areas:
      "content"
      /* 1. タイトルと文章のグループ */
      "image";
    /* 2. 画像 */

    gap: 1rem;
    /* モバイルの各要素間のギャップ */
  }

  /* 【修正点】モバイルでのエリア配置を grid-area で再定義 */
  .bl_facility-hero-content-group {
    grid-area: content;
    /* 1番上に配置 */
    align-self: auto;
    /* 中央寄せを無効化 */
  }

  .bl_facility-hero-image {
    grid-area: image;
    text-align: center;
    position: static;
    top: 0;
  }

  /* 画像と文章が分かれるように、画像とグループが並んだ後、
     グループ内の要素が縦に並ぶため、ここでは追加の順序制御は不要です。 */
  .bl_facility-hero-image img {
    max-width: 100%;
  }

  .bl_facility-hero-body {
    grid-column: initial;
    grid-row: initial;
  }

  .bl_facility-hero {
    margin-top: 0;
  }
}


@media (max-width: 576px) {
  .bl_facility-hero-header h1 {
    margin-bottom: 2.5rem;
    font-size: var(--fontSize24);
  }

  .bl_facility-hero-body p {
    font-size: var(--fontSize14);
  }



}


/* ============================================================
	障がい者グループホームWellbeing山ノ神 ページの独自のスタイル
============================================================ */

body.group-home .st_editor h2,
body.group-home .el_editorTitle_leftBorder {
  background-color: #3e9fb5;
}

body.group-home .bl_news_cat a {
  background-color: #3e9fb5;
}

/* body.group-home .st_editor .wp-block-button__link{
	background-color: #3e9fb5;
} */

body.group-home .bl_facility-hero-image img {
  border-radius: 0;
}

/* 見出し */
body.group-home .bl_facility-hero-text h1::after {
  position: absolute;
  display: block;
  background: #3e9fb5;
  width: 60px;
  height: 4px;
  margin-top: 1rem;
  left: 0;
  border-radius: 50vh;
}

body.group-home .st_editor h3 {
  /* background-color: #d3f2f9; */
  border-radius: 0;
}
body.group-home .bl_button,body.group-home .st_editor .wp-block-button__link{
    background-color: #3e9fb5;
}
body.group-home .st_editor .wp-block-button__link::after,body.group-home .bl_button::after{
color: #3e9fb5;
}

body.group-home .st_editor h3::after {
  background-color: #3e9fb5;
  border-radius: 3px;
}

/* テーブル */

body.group-home .st_editor .wp-block-table td,
body.group-home .st_editor .wp-block-table th {
	border: 1px solid #eaf1f3;
}

body.group-home .st_editor .wp-block-table th {
	background-color: #f4f8f9;
}

body.group-home .st_editor [class*="is-style-hp_tableWidth"] table tbody th,
body.group-home .st_editor [class*="is-style-hp_tableWidth"] table thead th,
body.group-home .st_editor [class*="is-style-hp_tableWidth"] table tbody td:nth-child(2n+1) {
	background-color: #f4f8f9;
}

/* リスト */
body.group-home .st_editor ul>li::marker {
    color: #3e9fb5;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	テンプレート > 子ページの目次を表示する
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.st_pageList li {
  border-bottom: 2px dotted #bebebe;
}

.st_pageList li>a {
  display: block;
  position: relative;
  margin: .5rem 0;
  padding: 1rem 2rem 1rem 0;
  border-radius: 5px;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.st_pageList li>a::after {
  content: "→";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: #e5f2e8;
  color: #36a853;
  transition: all 0.3s ease;
  font-size: 1rem;
  right: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.st_pageList li>a:hover,
.st_pageList li>a:focus {
  padding-left: 0.5rem;
}

.st_pageList li>a:hover::after,
.st_pageList li>a:focus::after {
  right: -0.5rem;
  background-color: #36a853;
  color: #fff;
}




/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	テンプレート > 子ページの目次を2カラム表示する
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.st_pageList.st_pageList__col2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.st_pageList.st_pageList__col2 li {
  width: calc(50% - 1rem);
}

@media screen and (max-width: 576px) {
  .st_pageList.st_pageList__col2 {
    display: block;
  }

  .st_pageList.st_pageList__col2 li {
    width: 100%;
  }
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
	テンプレート > 投稿記事一覧
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* カテゴリ別記事 */
.bl_side {
  margin-bottom: 2rem;
}

.bl_side-catList {
  display: inline-flex;
  gap: .5rem;
  flex-wrap: wrap;
  row-gap: .75rem;
}

.bl_side-catList li {
  /* display: inline-block; */
  background-color: #4CAF50;
  border-radius: 50vh;
  padding: .5rem 1.5rem;
  /* width: calc((100% - 2rem) / 3); */
}

.bl_side-catList li {
  background-color: #ffffff;
  border-radius: 50vh;
  padding: .5rem 1rem;
  text-align: center;
}

/* .bl_side-catList li + li{
	margin-left: .5rem;
} */

.bl_side-catList li a {
  font-weight: 600;
  /* color: #fff; */
  text-decoration: none;
  font-size: var(--fontSize14);
}

h3.bl_side-ttl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: var(--fontSize20);
  margin-bottom: 1rem;
}

h3.bl_side-ttl::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../img/common/icon-side-ttl.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

aside.bl_side {
  margin-bottom: 2rem;
}

/* ------------------------------------- */
/* 共通スタイル (PCではリストを表示) */
/* ------------------------------------- */
.bl_side-catList {
  /* 必要に応じて、元のリストのスタイルを維持 */
  list-style: none;
  padding: 0;
}

/* セレクトボックスをPCでは非表示にするためのクラス */
.bl_side-catSelect {
  display: none;
  width: 100%;
  /* 幅を調整 */
  padding: 8px;
  font-size: 16px;
  border: 1px solid #fff;
  box-sizing: border-box;
  background-color: #fff;
  color: #494949;
}

/* ------------------------------------- */
/* スマホ向けのスタイル (Media Query) */
/* ------------------------------------- */
@media screen and (max-width: 767px) {

  /* リスト（ul）をスマホで非表示にする */
  .bl_side-catList {
    display: none;
  }

  /* セレクトボックス（select）をスマホで表示する */
  .bl_side-catSelect {
    display: block;
    /* block要素として表示 */
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .bl_side-catList li {
    width: calc((100% - .5rem) / 2);
  }
}






/* ******************************************************************************************
	パーツ > ページャー
****************************************************************************************** */
.bl_pager {
  display: flex;
  justify-content: space-between;
  margin-top: calc(1.5rem + 5rem);
  /* editor相殺分 + 余白 */
}

.bl_pager_prev,
.bl_pager_next {
  width: calc(50% - 1rem);
}

.bl_pager_prev a,
.bl_pager_next a {
    position: relative;
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 105px;
    color: var(--black);
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
}

.bl_pager_prev a:before,
.bl_pager_next a:before {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  margin: auto;
  color: var(--black);
}

.bl_pager_prev a {
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 1.25rem;
  padding-left: 2.5rem;
}

.bl_pager_next a {
  padding-right: 2.5rem;
  padding-left: 1.25rem;
}

/*左向き, 右向きの矢印*/
.bl_pager_prev a,
.bl_pager_next a {
  position: relative;
}

.bl_pager_prev a:before,
.bl_pager_next a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  transition: .3s;
  width: 13px;
  height: 13px;
  margin: auto;
  border-top: 2px solid var(--mainColor);
  border-right: 2px solid var(--mainColor);
}

/*左向きの矢印*/
.bl_pager_prev a:before {
  right: auto;
  left: 1rem;
  transform: rotate(-135deg);
}

/*右向きの矢印*/
.bl_pager_next a:before {
  right: 1rem;
  left: auto;
  transform: rotate(45deg);
}

@media (max-width:768px) {
  .bl_pager {
    display: block;
  }

  .bl_pager_prev,
  .bl_pager_next {
    width: 100%;
  }

  .bl_pager_prev+.bl_pager_next {
    margin-top: 1rem;
  }
}

/* ******************************************************************************************
	404ページ
****************************************************************************************** */
.st_editor .el_errorUrl {
  padding: 10px 0;
  border-bottom: 3px solid var(--mainColor);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.st_editor .el_errorUrl:before {
  content: "\f138";
  padding-right: 10px;
  color: var(--mainColor);
  font-weight: bold;
  font-size: 1rem;
  font-family: "Font Awesome 5 Free";
}

.st_editor .bl_errorList li::marker {
  color: var(--mainColor);
  font-size: 1.125rem;
}