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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/


/* Hiiragi footer common */
#footer {
  margin-top: 44px;
  background: #5c9291;
  color: #ffffff;
}
#footer a,
#footer .copyright {
  color: #ffffff;
}
#footer-in {
  padding-top: 28px;
}
.footer-widgets {
  padding: 8px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.footer-left {
  line-height: 1.9;
}
.hiiragi-footer-name {
  margin: 0 0 0.3em;
  font-size: 1.08em;
}
.hiiragi-footer-info p {
  margin: 0 0 0.7em;
}
.hiiragi-footer-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.hiiragi-footer-sns a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45em 1em;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}
.hiiragi-footer-sns a:hover {
  background: rgba(255, 255, 255, 0.24);
}
.navi-footer-in > .menu-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.footer-bottom {
  padding-top: 20px;
}
@media screen and (max-width: 834px) {
  .hiiragi-footer-info,
  .footer-left {
    text-align: center;
  }
  .hiiragi-footer-sns {
    justify-content: center;
  }
  .navi-footer-in > .menu-footer {
    display: block;
  }
}


/* Hiiragi menu: parent labels are hover-only - id based selectors */
#navi #menu-item-21 > a,
#navi #menu-item-45 > a,
.mobile-menu-buttons #menu-item-21 > a,
.mobile-menu-buttons #menu-item-45 > a {
  pointer-events: none;
  cursor: default;
}


/* Hiiragi menu: parent labels are hover-only */
#navi .menu-item-21 > a,
#navi .menu-item-45 > a,
.mobile-menu-buttons .menu-item-21 > a,
.mobile-menu-buttons .menu-item-45 > a {
  pointer-events: none;
  cursor: default;
}

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

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

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


/* Hiiragi footer common */
#footer {
  margin-top: 44px;
  background: #5c9291;
  color: #ffffff;
}
#footer a,
#footer .copyright {
  color: #ffffff;
}
#footer-in {
  padding-top: 28px;
}
.footer-widgets {
  padding: 8px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.footer-left {
  line-height: 1.9;
}
.hiiragi-footer-name {
  margin: 0 0 0.3em;
  font-size: 1.08em;
}
.hiiragi-footer-info p {
  margin: 0 0 0.7em;
}
.hiiragi-footer-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.hiiragi-footer-sns a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45em 1em;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}
.hiiragi-footer-sns a:hover {
  background: rgba(255, 255, 255, 0.24);
}
.navi-footer-in > .menu-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.footer-bottom {
  padding-top: 20px;
}
@media screen and (max-width: 834px) {
  .hiiragi-footer-info,
  .footer-left {
    text-align: center;
  }
  .hiiragi-footer-sns {
    justify-content: center;
  }
  .navi-footer-in > .menu-footer {
    display: block;
  }
}


/* Hiiragi footer mobile width fix */
@media screen and (max-width: 834px) {
  .footer-widgets {
    display: block;
    width: auto;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    width: auto;
    float: none;
  }
}


/* Hiiragi service pages */
.hiiragi-service-page {
  color: #344b48;
}
.hiiragi-service-page .hiiragi-service-hero {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #d8f0ea;
  border-left: 8px solid #74c6b8;
  border-radius: 8px;
  background: linear-gradient(135deg, #effbf8 0%, #fff4f8 100%);
}
.hiiragi-service-page .hiiragi-service-hero p {
  font-size: 1.05em;
  line-height: 1.9;
}
.hiiragi-service-page .hiiragi-service-photo {
  margin: 28px 0;
}
.hiiragi-service-page .hiiragi-service-photo img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d8f0ea;
  box-shadow: 0 12px 28px rgba(78, 148, 137, 0.10);
}
.hiiragi-service-page .hiiragi-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.hiiragi-service-page .hiiragi-service-card,
.hiiragi-service-page .hiiragi-service-cta {
  padding: 24px;
  border: 1px solid #d8f0ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(78, 148, 137, 0.08);
}
.hiiragi-service-page .hiiragi-service-card h3 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 2px dotted #f0bdd2;
  color: #32645e;
}
.hiiragi-service-page .hiiragi-service-list {
  padding: 20px 24px 20px 2em;
  border: 1px solid #dff1ed;
  border-radius: 8px;
  background: #fcfffe;
}
.hiiragi-service-page .hiiragi-service-flow {
  counter-reset: hiiragi-flow;
  list-style: none;
  padding: 0;
}
.hiiragi-service-page .hiiragi-service-flow li {
  counter-increment: hiiragi-flow;
  margin: 0 0 12px;
  padding: 16px 18px 16px 58px;
  position: relative;
  border: 1px solid #dff1ed;
  border-radius: 8px;
  background: #ffffff;
}
.hiiragi-service-page .hiiragi-service-flow li::before {
  content: counter(hiiragi-flow);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #74c6b8;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.hiiragi-service-page .hiiragi-service-cta {
  margin-top: 34px;
  text-align: center;
  background: linear-gradient(135deg, #f0fbf8 0%, #fff6fa 100%);
}
.hiiragi-service-page .hiiragi-service-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.hiiragi-service-page .hiiragi-service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65em 1.2em;
  border: 1px solid #8fd6ca;
  border-radius: 999px;
  background: #ffffff;
  color: #2f625b;
  font-weight: 700;
  text-decoration: none;
}
.hiiragi-service-page .hiiragi-service-link.primary {
  background: #69c5b7;
  color: #ffffff;
  border-color: #69c5b7;
}
@media screen and (max-width: 834px) {
  .hiiragi-service-page .hiiragi-service-grid {
    grid-template-columns: 1fr;
  }
  .hiiragi-service-page .hiiragi-service-actions {
    display: block;
  }
  .hiiragi-service-page .hiiragi-service-link {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
  }
}


/* Hiiragi service pages: hide auto table of contents */
.page-id-46 .toc,
.page-id-56 .toc,
.page-id-48 .toc {
  display: none;
}
