@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 見出しリセット */
/* 見出し2 */
.article h2{
background:none;
padding: 0;
}

/* 見出し3 */
.article h3{
border-top:none;
border-bottom:none;
border-left:none;
border-right:none;
padding: 0;
}

/* 見出し4 */
.article h4{
border-top:none;
border-bottom:none;
padding: 0;
}

/* 見出し5 */
.article h5{
border-bottom:none;
padding: 0;
}

/* 見出し6 */
.article h6{
border-bottom:none;
padding: 0;
}

/* 見出しのデザイン設定 */
/* H2 */
.entry-content h2{
color: #1C1C1C; /*文字色*/
font-size: 2.0em; /*文字サイズ*/
background-color: #A9D0F5; /*背景色*/
padding-top:20px; /*文字と上部の間隔*/
padding-left:10px;/*文字と左線の間隔*/
padding-bottom:20px;/*文字と下部の間隔*/
border-left: solid 10px #0431B4; /*左側に実線・色*/
}

/* H3 */
.entry-content h3{
color: #000; /* 文字色 */
font-size: 1.5em; /* 文字サイズ */
background-color: #ebebeb;/* 背景色 */
padding: 10px;
border-left: solid 10px #0431B4; /* 左側に実線・色*/
}

/* H4 */
.entry-content h4{
color: #000; /* 文字色 */
font-size: 1.2em; /* 文字サイズ */
padding: 10px;
border-top: solid 3px #0431B4;/* 上側に実線・色 */
border-bottom: solid 3px #0431B4;/* 下側に実線・色*/
}

/* H5 */
.entry-content h5{
color: #000; /* 文字色 */
font-size: 1.0em; /* 文字サイズ */
padding: 10px;
border-bottom: dotted 3px #0431B4;/* 下側に点線・色*/
}

/* H6 */
.entry-content h6{
color: #000; /* 文字色 */
font-size: 1.0em; /* 文字サイズ */
padding: 5px;
border-left: solid 7px #0431B4; /* 左側に実線・色*/
}
/*投稿日を非表示にする、おまじない*/
.post-date {
  display: none;
}
/*更新日を非表示にする、おまじない*/
.post-update{
  display: none;
}

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

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

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

/* Kaigo Park home design: 2026-10-13. Remove this block to revert. */
body.home { background: #faf9f5; color: #333333; }
.home .entry-content { color: #333333; line-height: 1.85; }
.home .entry-content h2,
.home .entry-content h3 {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #333333;
  padding: 0;
  font-weight: 700;
  line-height: 1.5;
}
.home .entry-content > h2 {
  border-left: 5px solid #e4b529 !important;
  padding: 6px 0 6px 16px;
  margin: 56px 0 24px;
  font-size: 28px;
}
.home .entry-content .column-wrap {
  gap: 20px;
  margin-bottom: 20px;
}
.home .entry-content .column-wrap > div {
  background: #ffffff;
  border: 1px solid #e8e5da;
  border-radius: 12px;
  padding: 24px;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.home .entry-content .column-wrap h2,
.home .entry-content .column-wrap h3 {
  font-size: 20px;
  margin: 0 0 14px;
}
.home .entry-content .column-wrap p { font-size: 16px; margin: 0 0 12px; }
.home .entry-content .column-wrap p:last-child { margin-bottom: 0; }
.home .entry-content .about-stats > div { background: #fff9e6; text-align: center; }
.home .entry-content .about-stats p { font-size: 26px; font-weight: 700; }
.home .entry-content > .wp-block-cover {
  min-height: 0 !important;
  padding: 48px 32px;
  border-radius: 16px;
  color: #333333;
}
.home .entry-content .wp-block-cover__background { background-color: #fff8dc !important; }
.home .entry-content .wp-block-cover__inner-container { max-width: 860px; margin: auto; }
.home .entry-content .wp-block-cover p { text-align: center; }
.home .entry-content .wp-block-cover .fz-32px { font-size: 30px; font-weight: 700; line-height: 1.6; }
.home .entry-content .diagnosis-section {
  background: #fff9e6 !important;
  padding: 36px 28px;
  margin: 44px 0;
  border-radius: 16px;
  text-align: center;
}
.home .entry-content .diagnosis-section h2 { font-size: 26px; margin: 0 0 20px; }
.home .entry-content .wp-block-buttons { justify-content: center; }
.home .entry-content .wp-block-button__link {
  background: #f2cf59;
  color: #333333;
  border: 1px solid #dfbb42;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 700;
  line-height: 1.6;
}
.home .entry-content .wp-block-button__link:hover { background: #eac346; }
.home .entry-content a:focus-visible { outline: 3px solid #665419; outline-offset: 4px; }
.home .entry-content .column-wrap a,
.home .entry-content .wp-block-latest-posts a { color: #4a4433; text-decoration: underline; text-underline-offset: 3px; }
.home .entry-content .wp-block-latest-posts li {
  background: #ffffff;
  border: 1px solid #e8e5da;
  border-radius: 10px;
  padding: 20px;
  font-size: 16px;
}
@media screen and (max-width: 834px) {
  .home .entry-content > h2 { font-size: 24px; margin-top: 40px; }
  .home .entry-content .column-wrap { flex-direction: column; }
  .home .entry-content .column-wrap > div { width: 100%; flex-basis: auto; }
  .home .entry-content > .wp-block-cover { padding: 32px 20px; }
  .home .entry-content .wp-block-cover .fz-32px { font-size: 25px; }
}
@media screen and (max-width: 480px) {
  .home .entry-content .column-wrap > div { padding: 20px; }
  .home .entry-content .diagnosis-section { padding: 28px 20px; }
  .home .entry-content .diagnosis-section h2 { font-size: 23px; }
  .home .entry-content .wp-block-button__link { padding: 13px 20px; font-size: 16px; }
}
/* End Kaigo Park home design */

/* Home navigation and share visibility: 2026-10-13 */
.home .sns-share { display: none !important; }
.home .entry-content :is(.trouble-cards, .job-method-cards, .service-cards, .qualification-cards) > div { position: relative; }
.home .entry-content :is(.trouble-cards, .job-method-cards, .service-cards, .qualification-cards) h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.home .entry-content :is(.trouble-cards, .job-method-cards, .service-cards, .qualification-cards) > div:hover,
.home .entry-content :is(.trouble-cards, .job-method-cards, .service-cards, .qualification-cards) > div:focus-within { border-color: #d2ad36; background: #fffdf5; }
/* End home navigation and share visibility */
