@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:  1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.fukushi-nav-list li a {
  display: block;
  padding: 6px 15px;
  text-decoration: none;
  font-weight: bold;
  color: #555;
  background-color: #f9f9f2;
  border: 1px solid #e0e0d0;
  border-radius: 5px; /* ここはあえて少し角を残して上段と差別化 */
  font-size: 1.3rem;
}

/* =========================
   共通カラー変数
========================= */
:root {
  --main-color: #CDD34B;
  --base-color: #CDD34B;
  --sub-text-color: #524839;
  --sub-color: #F6F2E9;
  --accent-color: #2B8940;
  --white: #ffffff;
  --th-color: #CDD34B;
}

/* =========================
   基本設定
========================= */
.body {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  background-color: var(--sub-color);
  color: var(--sub-text-color);
}
.body.no-scroll {
  overflow: hidden;
}

.gothic {
  font-family: "Noto Sans JP", sans-serif;
}
ol, ul {
  padding-left: 0px;
  list-style: none;
}
/* =========================
   リセット寄り
========================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.8;
}
.container-0 {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 0;
}
.main {
    padding: 0;
}
/* =========================
   >←これ
========================= */
.arrow-right-white,
.arrow-right-brown {
  position: relative;
}

.arrow-right-white-big,
.arrow-right-brown-big {
  position: relative;
}

/* 共通 */
.arrow-right-white::after,
.arrow-right-brown::after,
.arrow-right-white-big::after,
.arrow-right-brown-big::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin-left: 4px
}

/* サイズ */
.arrow-right-white::after,
.arrow-right-brown::after {
  width: 10px;
  height: 10px;
}

.arrow-right-white-big::after,
.arrow-right-brown-big::after {
  width: 16px;
  height: 16px;
}

.arrow-right-white::after {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.arrow-right-white-big::after {
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
}
.arrow-right-brown::after {
  border-top: 2px solid var(--sub-text-color);
  border-right: 2px solid var(--sub-text-color);
}
.arrow-right-brown-big::after {
  border-top: 4px solid var(--sub-text-color);
  border-right: 24px solid var(--sub-text-color);
}

.arrow-right-parent:hover .arrow-right-white::after,
.arrow-right-parent:hover .arrow-right-brown::after,
.arrow-right-parent:hover .arrow-right-white-big::after,
.arrow-right-parent:hover .arrow-right-brown-big::after {
  transform: translateY(-50%) translateX(4px) rotate(45deg);
  opacity: 0.5;
}


/* =========================
   ヘッダー
========================= */
.siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: var(--white);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.siteHeader__main {
  display: flex;
  max-width: 1200px;
  justify-content: space-around;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.siteHeader__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  min-width: 200px;
}

.siteHeader__logo img{
  width: 100%;
}
.siteHeader__character {
  max-width: 80px;
  animation: sway-character 2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes sway-character {
  0%   { transform: rotate(-3deg); }
  50%  { transform: rotate(3deg); }
  100% { transform: rotate(-3deg); }
}

.siteHeader__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}


.siteHeader__navTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px
}
.siteHeader__snsItem {
  display: block;
  width: 40px;
  height: auto;
}
.siteHeader__snsList {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.siteHeader__utilityList {
  display: flex;
  gap: 10px;
}
.siteHeader__utilityList a {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 4px 20px;
}
.siteHeader__globalNav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.siteHeader__globalNavItem a {
  font-size: large;
}
.siteHeader__globalNavItem a span {
  display: block;
  font-size: small;
  color: var(--accent-color);

}
.siteHeader__globalNav li {
  display: flex;
  align-items: center;
}
.siteHeader__globalNavItem a {
  padding: 4px 8px;
}

/* 区切り線 */
.siteHeader__globalNav li + li::before {
  content: "";
  width: 1px;
  height: 36px; /* ←長さはここで調整 */
  background: var(--base-color);
  display: inline-block;
  vertical-align: middle;
  pointer-events: none;
}

/* ハンバーガー */
.siteHeader__hamburger {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}

.siteHeader__hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  transition: 0.3s;
}

.siteHeader__hamburger span:nth-child(1) { top: 0; }
.siteHeader__hamburger span:nth-child(2) { top: 9px; }
.siteHeader__hamburger span:nth-child(3) { bottom: 0; }

/* 開いたとき（×） */
.siteHeader__hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.siteHeader__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.siteHeader__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

body.no-scroll {
  overflow: hidden;
}



/* =========================
   フッター
========================= */
.siteFooter {
  z-index: 1000;
  margin-right: auto;
  margin-left: auto;
  font-size: 0.9rem;
}
.siteFooter__inner {
  max-width: 1000px;
  width: 80%;
  margin-right: auto;
  margin-left: auto;
}
.siteFooter__top {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}
.siteFooter__logo {
  max-width: 400px;
  width: 50%;
  min-width: 200px;
}
.siteFooter__address {
  font-size: small;
}
.siteFooter__navTitle a::before {
  margin: 0px 4px 0px 0px;
  content: "■";
  color: var(--accent-color);
  font-size: larger;
}
.siteFooter__navTitle a {
  display: block;
}
.siteFooter__navGroup {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  border-bottom: 1px solid var(--sub-text-color);
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.siteFooter__navGroup--single {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 20px;
}
.siteFooter__navColumn--single {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.siteFooter__navList li a {
  padding: 0px 4px;
  display: block;
}
.siteFooter__navList li a::before {
  content: "-";
  margin-left: 12px;
}
.siteFooter__cta {
  display: flex;
  gap: 40px;
}
.siteFooter__ctaTel a {
  display: block;
  text-align: center;
  text-decoration: none;
  background-color: var(--accent-color);
  color: var(--white);
  width: 100%;
  height: 100%;
  padding: 4px 20px;
}

.siteFooter__ctaLabel {
  display: block;
  font-size: 12px;
}

.siteFooter__ctaNumber {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  gap: 8px;
}

.siteFooter__ctaNumber img {
  width: 20px;
  height: 20px;
}
.siteFooter__ctaContact a {
  width: 100%;
  height: 100%;
  padding: 4px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sub-text-color);
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  position: relative;
  font-weight: bold;
}

.siteFooter__ctaContact a::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.siteFooter__ctaContact a::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.siteFooter__ctaTel,
.siteFooter__ctaContact {
  flex: 1;
}

.siteFooter__policyList {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: smaller;
}
.siteFooter__policyList li a {
  padding: 4px 8px;
}
.siteFooter__policyList li+ li::before {
  content: "";
  width: 1px;
  height: 16px;
  background: var(--sub-text-color);
  margin: 0px 8px;
  display: inline-block;
  vertical-align: middle;
  pointer-events: none;
}
.siteFooter__copyright {
  margin-top: 16px;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fixedCta {
  z-index: 999;
  position: fixed;
  right: 0;
  bottom: 10px;
}
.fixedCta__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fixedCta__item {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.fixedCta__item--recruit {
  color: var(--sub-text-color);
  background-color: var(--base-color);
}
.fixedCta__link--bot {
  display: none;
}
.fixedCta__box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
}
.fixedCta__image {
  width: 32px;
}

/* =========================
   共通SNS
========================= */
.topSNS {
  padding: 12px 0 8px;
  background-color: var(--white);
  text-align: center;
}

.topSNS__inner {
  width: 90%;
  margin: 0 auto;
  max-width: 1000px;
}

/* ←ここ変更 */
.topSNS__caption__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* 画像だけ上 */
.topSNS__caption__inner__img img {
  width: 80px;
}

/* SNSタイトル完全中央 */
.topSNS__caption__inner__text {
  font-size: 48px;
  font-family: serif;
  color: #555;
  text-align: center;
}

.topSNS__caption__inner__text span {
  display: block;
  font-size: 18px;
  margin-top: 8px;
  color: #666;
}

/* SNSボタン */
.topSNS__box ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.topSNS__box li {
  flex: 1;
  max-width: 260px;
}

/* ボタン */
.topSNS__box li a {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--sub-color);
  padding: 14px 16px;
  text-decoration: none;
  color: #444;
  font-size: 20px;
  position: relative;
  margin-left: 20px;
}

/* 緑バー */
.topSNS__box li a::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 0;
  width: 32px;
  height: 100%;
  background-color: #c2cc45;
}

/* アイコン */
.topSNS__img img {
  width: 28px;
}

/* テキスト */
.topSNS__text {
  font-family: serif;
}


/* =========================
   ポリシー等
========================= */
.policyPage {
  background-color: var(--white);
}
.policyPage__inner {
  width: 90%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.policyPage h2 {
  font-size: x-large;
  padding-top : 24px;
  text-align: center;
}

.policyPage h3 {
  margin-top: 60px;
  border-bottom: 1px solid var(--base-color);
  padding-bottom: 4px;
  font-size: x-large;
}
.policyPage p {
  margin-top: 20px;
}
.policyPage__p--end p {
  text-align: end;
  font-size: small;
  padding-bottom: 40px;
}
/* =========================
   TOP:FV
========================= */

.firstView {
  position: relative;
  height: calc(100vh - 200px);
  overflow: hidden;
  background-color: var(--sub-text-color);
}


/* 動画 */
.firstView__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.firstView__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kantan-btn {
  position:relative;
}
.kantan-btn a {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 8px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:12px;
  width: 400px;
  font-size: x-large;
  position:absolute;
  top:-30px;
}
.kantan-btn a img{
  width: 40px;
  height: auto;
}
.sub-text-btn a {
  background-color: var(--sub-text-color);
  color: var(--white);
  padding: 8px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:8px;
}
.sub-text-btn a img{
  width: 32px;
  height: auto;
}




/* =========================
   タブUI
========================= */
.single-facility_info-tabs__list {
  position: sticky;
  top: 120px;
  background-color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 10;
}

.single-facility_info-tabs__tab {
  padding: 12px;
  border: 1px solid var(--sub-text-color);
  background-color: var(--white);
  cursor: pointer;
}

.single-facility_info-tabs__tab.is-active {
  background-color: var(--sub-text-color);
  color: var(--white);
}

.single-facility_info-tabs__panel {
  display: none;
}

.single-facility_info-tabs__panel.is-active {
  display: block;
}

/* =========================
   施設基本情報テーブル
========================= */
.single-facility_info-inner-box {
  margin: 32px 0;
}

.single-facility_info-inner-box_flex {
  border-top: 1px solid var(--sub-text-color);
  border-left: 1px solid var(--sub-text-color);
}

.single-facility_info-inner-box_flex-box {
  display: grid;
  grid-template-columns: 30% 1fr;
  border-right: 1px solid var(--sub-text-color);
  border-bottom: 1px solid var(--sub-text-color);
}

.single-facility_info-inner-box_flex-box h5 {
  margin: 0;
  padding: 12px;
  background-color: var(--th-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-facility_info-inner-box_flex-box p {
  margin: 0;
  padding: 12px;
}

/* =========================
   医療対応 grid
========================= */
.single-facility_info-basic-medical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sub-text-color);
  border-left: 1px solid var(--sub-text-color);
}

.single-facility_info-basic-medical-grid > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-right: 1px solid var(--sub-text-color);
  border-bottom: 1px solid var(--sub-text-color);
}

.single-facility_info-basic-medical-grid h5 {
  width: 50%;
  padding: 8px;
  margin: 0;
  background-color: var(--th-color);
}

.single-facility_info-basic-medical-grid p {
  width: 50%;
  margin: 0;
  text-align: center;
  font-weight: 500;
}

/* =========================
   料金
========================= */
.single-facility_info-price-monthly {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 24px 0;
}

.single-facility_info-price-breakdown {
  margin-top: 16px;
}

.single-facility_info-price-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--sub-text-color);
}

/* =========================
   動画
========================= */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000;
  margin: 32px 0;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   アクセス
========================= */
.single-facility_info-access address {
  font-style: normal;
  margin-bottom: 16px;
}

.google-map {
  position: relative;
  padding-top: 56.25%;
}

.google-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* =========================
   NEWS
========================= */
.News__header {
    background-color: var(--white);
    padding:80px 0 40px;
    text-align: center;
    font-size: 40px;
    line-height: 1.5em;
}
.News__header__jp {
    display: block;
    font-size: 32px;
}



.News {
  background-color: var(--base-color);
  padding: 60px 20px;
}

.News__inner {
width:80%;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
}

.News__meta {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}

.News__category {
  background: var(--sub-text-color);
  color: var(--white);
  padding: 4px 20px;
}

.News__date {
  color: var(--sub-text-color);
}

.News__title {
  font-size: 24px;
  margin: 20px 0;
}

.News__divider {
  margin: 20px 0;
}

.News__thumbnail img {
  width: 100%;
  height: auto;
}
.News__content img {
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.News__content {
  margin-top: 30px;
  line-height: 1.8;
}

.News__prev {
  text-align: left;
}

.News__toc {
  text-align: center;
}

.News__next {
  text-align: right;
}

/* ===== ナビ ===== */

.News__bottomNav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 60px;
}

/* TOC */
.News__tocContent {
  display: none;
  margin-top: 10px;
  text-align: left;
}

.News__tocList {
  list-style: none;
  padding: 0;
}

.News__tocList li {
  margin-bottom: 5px;
}

.News__tocList a {
  color: var(--sub-text-color);
  text-decoration: none;
}

/* ボタン */
.News__tocButton {
  background: var(--sub-text-color);
  color: var(--white);
  border: none;
  padding: 8px 16px;
}

.News__back {
  text-align: center;
}

.News__backBtn {
  display: inline-block;
  background: var(--sub-text-color);
  color: var(--white);
  padding: 4px 40px;
  text-decoration: none;
}
/************************************
** コンタクトフォーム
************************************/
.form__caption {
  background-color: var(--white);
  padding: 20px 0px;
}
.form__caption__inner {
  width: 80%;
  margin: 0 auto;
  max-width: 1000px;
}
.form__caption__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.form__caption__text h2 {
  text-align: center;
  font-size: 60px;
  margin-bottom:0;
}
.form__caption__link {
  width: 80%;
  margin: 30px auto 0px;
  gap: 40px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  justify-content: center;
  align-items: center;
}
.form__caption__link a {
  background-color: var(--accent-color);
  color: var(--white);
  height: 80px;
  text-align: center;
  line-height: 80px;
}

.contactBox {
  background-color: var(--base-color);
  padding: 40px 0 60px;
  margin-bottom: 40px;
}
.h-adr {
  width: 80%;
  max-width: 1000px;
  margin: 0px auto;
  background-color: var(--white);
}
.wpcf7 {
  background-color: var(--white);
}
.custom-mw-form th {
  background-color: var(--white) !important;
}
.custom-mw-form tbody tr th p .req {
  background: var(--accent-color);
  text-align: center;
}
.custom-mw-form tbody tr th p {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wpcf7 input.wpcf7-submit {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 24px 40px !important;
  border-radius: 0 !important;
  cursor: pointer;
}

/* 無効状態 */
.wpcf7 input.wpcf7-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.custom-mw-form a{
  color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){

  /* ハンバーガー表示 */

  .siteHeader__hamburger {
  display: block;
  }


  /* ナビ隠す */
.siteHeader__nav {
  position: fixed;
  top: 120px;
  right: -100%;
  width: 100%;
  height: calc(100vh - 120px);
  background: var(--white);
  transition: 0.3s;
  justify-content: flex-end;
  align-items: center;
}
  /* 開いた状態 */
.siteHeader__nav.active {
  right: 0;
  flex-direction: column-reverse;
  gap: 40px;
}

.siteHeader__navTop {
  flex-direction: column;
  gap: 40px;
}
.siteHeader__utilityList {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}
.siteHeader__utilityList li a{
  padding: 12px 20px;
}


  /* メニュー縦並び */
  .siteHeader__globalNav {
  flex-direction: column;
  gap: 20px;
  padding-top: 40px;
  align-items: flex-start;
  }

  /* 区切り消す（SPでは不要） */
  .siteHeader__globalNav li + li::before,
  .siteHeader__globalNav li + li span::before {
  content: none;
  }


  /* ナビ開いた状態 */
  .siteHeader__navBottom.active {
  right: 0;
  }
  .siteHeader__navTop.active {
  right: 0;
  }



  .siteHeader__nav {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  }
  .siteFooter__top {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  }
  .siteFooter__navGroup {
  flex-wrap: wrap;
  gap: 10px;
  }
  .siteFooter__navGroup+.siteFooter__navGroup {
  border-top: 1px solid var(--sub-text-color);
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  }
  .siteFooter__cta {
  gap: 10px;
}
  .siteFooter__ctaTel a {
  padding: 4px 4px;
}
  .siteFooter__policyList {
  flex-direction: column;
  }
  .siteFooter__policyList li+ li::before {
  display: none;
  }
  .topSNS__caption__box ul {
    flex-direction: column;
    align-items: center;
  }

  .topSNS__caption__box li {
    width: 100%;
    max-width: 300px;
  }

  .topSNS__caption__inner__text {
    font-size: 32px;
  }
  .form__caption__link {
  grid-template-columns: 1fr;
  }
  .topSNS__box ul {
  flex-direction: column;
}
  .topSNS__box li {
    width: 100%;
  }
  .siteFooter__navColumn--single {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
  }
}
@media screen and (max-width: 400px) {
  .siteHeader__character {
  display: none;
  }
  
}