@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.3s
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
:root {
  --header-container-height: 68px;
  --color-main-aikoen: #eb8495;
  --color-main-kurumi: #26ade7;
  --color-main-jidoubu: #1ba611;
  --color-main-minto: #0c35a9;
  --color-main-homesupport: #ef7b2e;
  --color-main-himawari: #feb006;
  --color-main-olive: #0a7227;
  --facilities-button-max-width: 200px;
  --header-navi-height: 68px;
  --color-blog-aikoen: #fb978d;
  --color-blog-kurumi: #26ADE7;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

.scrim {
  background-color: rgba(0,0,0,0.75) !important;
}

.has-rounded-gothic {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.font-pc-14 {
  font-size: 14px;
}

.font-pc-20 {
  font-size: 20px;
}

.font-pc-22 {
  font-size: 22px;
}

.font-pc-24 {
  font-size: 24px;
}

.font-pc-30 {
  font-size: 30px;
}

.font-pc-32 {
  font-size: 32px;
}

.font-pc-34 {
  font-size: 34px;
}

.font-pc-44 {
  font-size: 44px;
}

.font-pc-54 {
  font-size: 54px;
}

.font-pc-64 {
  font-size: 64px;
}

[id] {
  scroll-margin-top: var(--header-navi-height);
}

body {
  margin-top: 0;
  letter-spacing: 0.1rem;
}

header .date-tags {
  margin: 0;
}

.article h2 {
  background-color: unset;
}

.article h3 {
  border: unset;
}

.wrap {
  width: 100%;
}

.main {
  background-color: unset;
}

.fixed-header {
  box-shadow: unset;
}

body:not(.content-only) #header-container {
  display: flex;
  gap: 10px;
  background-color: unset;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 3;
}

#header-container-in {
  background-color: rgba(45, 162, 55, 0.5)
}

#header-in {
  height: var(--header-container-height);
}

#navi .navi-in>ul>li>a {
    padding: 0 .5em;
    margin-right: 1em;
}

.navi {
  background-color: unset;
}

.navi-in > ul li {
  height: var(--header-container-height);
}

.navi-in a {
  color: white;
  font-size: 14px;
}

.header-tel-number {
  flex-shrink: 0;
}

.header-tel-number img {
  width: auto;
  height: var(--header-container-height);
}

.navi-menu-content {
  background-color:rgba(45, 162, 55, 1);
}

.navi-menu-content path {
  fill: white;
}

.textwidget ul {
  list-style: none;
  padding-right: 40px;
  margin-bottom: 50px;
}

.textwidget li {
  padding: 20px 0;
  border-bottom: 1px solid #ccc
}

.add-slidemenu-contents .add-slidemenu-contents:has(img) {
  text-align: center;
}

.add-slidemenu-contents img {
  width: 80%;
}

.content {
  margin-top: 0;
}

.main {
  padding: 0;
  border-width: 0px;
}

.entry-content.cf {
  margin-top: 0;
}

/* 個別ここから */

/* 個別ここまで */

.mv .wp-block-cover__inner-container {
  height: 100vh;
}

.mv-title {
  position: absolute;
  top: 100px;
  left: 30px;
  z-index: 3;
}

.mv-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.mv-mail {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 3;
}

.mv-recruit {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 3;
}

.mv-mail a,
.mv-recruit a{
  display: block;
}

.mv-mail img,
.mv-recruit img {
  height: 70px;
  width: auto;
}

.mv .mv-slider img {
  object-fit: cover;
  object-position: center center;
  width: 100vw;
  height: 100vh;
}

.appearing-animation,
.accordion-animation {
  opacity: 0;
  transform: translateY(20px);
}

.appearing-animation.visible,
.accordion-animation.visible {
  animation: animFadeInWithSlide 1s 0.5s ease-in-out forwards;
}

.lightbox-image-container .appearing-animation,
.lightbox-image-container .accordion-animation {
  opacity: 1;
}

@keyframes animFadeInWithSlide {
    from{
        opacity: 0;
        transparent: transformY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ohchi-information-list-item {
  position: relative;
  border: 0 solid transparent;
  padding: 0 0 0 calc(0.2em + 40px + 5px);
}

.ohchi-information-list-item__wrap {
  gap: 1em;
  align-items: flex-start;
  padding: 1em 0;
}

.ohchi-information-list-item__inner:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1);
}

.ohchi-information-list-item__wrap .ohchi-information-list-item__thumbnail {
  overflow: hidden;
}

.ohchi-information-list-item__wrap .ohchi-information-list-item__thumbnail img {
  transform:scale(0.8);
  display: block;
  transition: transform 0.3s;
}

.ohchi-information-list-item__wrap:hover .ohchi-information-list-item__thumbnail img {
  transform: scale(1);
  transition: transform 0.3s;
}

/* ロゴのサイズ変更 */
.ohchi-information-list-item__wrap .ohchi-information-list-item__thumbnail img {
	transform: scale(0.8);
  display: block;
  transition: transform 0.3s;
}

/* ロゴのサイズ変更 */
.ohchi-information-list-item__wrap:hover .ohchi-information-list-item__thumbnail img {
	transform: scale(1);
  transition: transform 0.3s;
}

.ohchi-information-list-item__wrap::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 100%;
  height: 10px;
  background: radial-gradient(circle, #97957c 3px, transparent 3px);
  background-size: 20px 10px;
}

.ohchi-information-list-item__rihgt-wrap {
  gap: 0;
}

.ohchi-information-list-item__thumbnail {
  max-width: 100px;
  max-height: 3em;
  max-height: 100%;
}

.ohchi-info-list__items {
  list-style-type: none;
}

.ohchi-info-list__item {
  position: relative;
  padding-bottom: 1em;
}

.ohchi-info-list__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: radial-gradient(circle, #97957c 3px, transparent 3px);
  background-size: 20px 10px;
}

.ohchi-info-list__link {
  display: flex;
  gap: 1em;
  padding: 5px;
  text-decoration: none;
  color: unset;
  transition: all 0.8s ease-in-out;
}

.ohchi-info-list__link:hover {
  color: unset;
  background-color: rgba(0, 0, 0, 0.1);
}

.ohchi-info-list__attrs--upper-wrap {
  display: flex;
}

.ohchi-info-list__thumbnail {
  overflow: hidden;
  flex: 0 0 100px;
}

.ohchi-info-list__thumbnail-image {
  transition: transform 0.3s ease-in-out;
}

.ohchi-info-list__link:hover .ohchi-info-list__thumbnail-image {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

p.ohchi-info-list__label {
  color: white;
  padding: 0.1em 1.5em;
  margin-bottom: 0;
  margin-right: 30px;
}

.ohchi-info-list__label--aikoen {
  background-color: var(--color-main-aikoen);
}

.ohchi-info-list__label--kurumi {
  background-color: var(--color-main-kurumi);
}

.ohchi-info-list__label--jidoubu {
  background-color: var(--color-main-jidoubu);
}

.ohchi-info-list__label--minto {
  background-color: var(--color-main-minto);
}

.ohchi-info-list__label--homesupport {
  background-color: var(--color-main-homesupport);
}

.ohchi-info-list__label--himawari {
  background-color: var(--color-main-himawari);
}

.ohchi-info-list__label--olive {
  background-color: var(--color-main-olive);
}

.ohchi-info-pagination {
  text-align: center;
  margin-top: 2em;
}

.video-container {
  max-width: unset;
}

.ohchi-accordion-title .ohchi-accordion-title__title {
  font-size: 20px;
}

.ohchi-accordion-title__icon {
  clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 100%);
  transition: all 0.3s ease-in-out;
}

.ohchi-accordion-block.open .ohchi-accordion-title__icon {
  clip-path: polygon(50% 0, 50% 0, 100% 100%, 0 100%);
  transition: all 0.3s ease-in-out;
}

.ohchi-accordion-content {
  overflow: hidden;
  transition: max-height 1s ease-in-out;
}

.ohchi-accordion-block:not(.open) .ohchi-accordion-content {
  max-height: 0;
}

/* .ohchi-accordion-has-tab-block .ohchi-accordion-content{
  height: 0;
} */

.ohchi-accordion-has-tab-block.open .ohchi-accordion-content{
  max-height: unset;
  height: auto;
  transition: max-height 1s ease-in-out;
}

.breadcrumb {
  font-size: 12px;
}

.breadcrumb-item:not(.breadcrumb-item--current)::after {
  content: ">";
}

.breadcrumb a {
  color: var(--cocoon-text-color);
}

.ohchi-blog-contents-wrap .appearing-animation {
    opacity: 1;
    transform: translateY(0);
}

.ohchi-blog-contents__title {
  text-align: center;
  margin-bottom: 50px;
}

.ohchi-blog-contents__label-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 1em;
}

.ohchi-blog-contents__label {
  padding: 5px 1em;
}

.ohchi-blog-contents__thumbnail-wrap {
  margin-bottom: 50px;
}

.ohchi-blog-contents__contents-wrap {
  margin-bottom: 100px;
}

.ohchi-blog-contents__thumbnail img {
  width: 100%;
  height: auto;
}

.ohchi-blog-contents__next-prev-wrap {
  display: flex;
  margin-bottom: 2em;;
}

.ohchi-blog-contents__next-wrap,
.ohchi-blog-contents__prev-wrap {
  flex: 0 0 50%;
}

.ohchi-blog-contents__next,
.ohchi-blog-contents__prev {
  width: 50%;
  min-width: 6em;
  margin-left: auto;
  margin-right: auto;
  line-height: 3em;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}

.ohchi-blog-contents__archive-button {
  width: fit-content;
  padding: 0 2em;
  margin: auto;
  line-height: 3em;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
}

.footer-left,
.footer-right {
  display: none;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

@media screen and (max-width: 1655px) {
    .wrap {
        /* width: 1656px; */
        width: 100%;
    }
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/

  body:not(.content-only) #header-container {
    display: none;
  }
  
  body.content-only .mobile-menu-buttons {
    display: none;
  }

  .mobile-menu-buttons .menu-button {
    justify-content: flex-start;
  }

  #menu-header-mobile-button {
    justify-content: flex-end;
    padding-left: 1em;
    padding-right: 1em;
  }

  #navi-menu-open {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 5px;
  }

  #header-container {
    display: none;
  }

  #menu-header-mobile-button {
    height: var(--header-container-height);
    background-color: rgba(45, 162, 55, 1);
  }

  .mobile-menu-buttons .menu-caption {
    font-size: 16px;
    color: white;
  }

  #navi-menu-open path {
    fill: white !important;
  }

}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  .font-tablet-32 {
    font-size: 32px;
  }

  .font-tablet-24 {
    font-size: 24px;
  }

  .font-tablet-20 {
    font-size: 20px;
  }

  .font-tablet-18 {
    font-size: 18px;
  }

  .font-tablet-14 {
    font-size: 14px;
  }

  main.main {
    padding: 0;
  }

  .ohchi-information-list-item {
    padding: 0;
  }
  
  .ohchi-information-list-item__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ohchi-info-list__attrs--upper-wrap {
    flex-direction: column;
  }  

}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .font-mobile-24 {
    font-size: 24px;
  }

  .font-mobile-22 {
    font-size: 22px;
  }

  .font-mobile-18 {
    font-size: 18px;
  }

  .font-mobile-14 {
    font-size: 14px;
  }

  .font-mobile-12 {
    font-size: 12px;
  }

  .font-mobile-9 {
    font-size: 9px;
  }

  .mv-mail img,
  .mv-recruit img {
    height: 50px;
    width: auto;
  }

}
