@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.8.0
*/

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

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

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

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

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

/************************************
** ねんごろ：ヘッダー共通調整
************************************/
/* 子テーマのロゴ画像はTOP以外でも自然な大きさに固定する */
img.nengoro-site-logo,
.header-site-logo-image.nengoro-site-logo {
  width: auto !important;
  height: 92px !important;
  max-width: 100% !important;
  max-height: 92px !important;
  object-fit: contain;
}

/* Cocoon側のメニュー全幅下線を消し、各項目の短いラインへ */
#navi .navi-in > ul > li,
.navi .navi-in > ul > li {
  position: relative;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
#navi .navi-in > ul > li > a,
.navi .navi-in > ul > li > a {
  border-bottom: 0 !important;
  box-shadow: none !important;
}
#navi .navi-in > ul > li::after,
.navi .navi-in > ul > li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 54%;
  max-width: 76px;
  height: 1px;
  transform: translateX(-50%);
  background: #8FA396;
  pointer-events: none;
}
#navi .navi-in > ul > li:nth-child(1)::after,
.navi .navi-in > ul > li:nth-child(1)::after { background: #D96B72; }
#navi .navi-in > ul > li:nth-child(2)::after,
.navi .navi-in > ul > li:nth-child(2)::after { background: #6F9B7B; }
#navi .navi-in > ul > li:nth-child(3)::after,
.navi .navi-in > ul > li:nth-child(3)::after { background: #D7B55B; }
#navi .navi-in > ul > li:nth-child(4)::after,
.navi .navi-in > ul > li:nth-child(4)::after { background: #C56A87; }
#navi .navi-in > ul > li:nth-child(5)::after,
.navi .navi-in > ul > li:nth-child(5)::after { background: #72919E; }
#navi .navi-in > ul > li:nth-child(6)::after,
.navi .navi-in > ul > li:nth-child(6)::after { background: #A3B47A; }
#navi .navi-in > ul > li:nth-child(7)::after,
.navi .navi-in > ul > li:nth-child(7)::after { background: #C66C82; }

@media screen and (max-width: 834px) {
  img.nengoro-site-logo,
  .header-site-logo-image.nengoro-site-logo {
    height: 74px !important;
    max-height: 74px !important;
  }
}

/************************************
** ねんごろ：About・問い合わせ・フッター導線
************************************/
.nengoro-about-contact-cta {
  margin: 56px 0 12px;
  padding: 28px 30px;
  background: #F0F3F1;
  border-top: 1px solid rgba(59,91,76,.16);
}

.nengoro-about-contact-label {
  margin: 0 0 16px !important;
  color: #333;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.nengoro-contact-cta-button {
  display: inline-flex;
  min-width: 180px;
  padding: 11px 18px;
  background: #3B5B4C;
  color: #fff !important;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  transition: background-color .2s ease;
}

.nengoro-contact-cta-button:hover {
  background: #2F493D;
  color: #fff !important;
}

.nengoro-footer-links {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 28px 0 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  border-top: 1px solid rgba(34,34,34,.10);
}

.nengoro-footer-links a {
  color: #555;
  font-size: .78rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color .2s ease;
}

.nengoro-footer-links a:hover {
  color: #3B5B4C;
}

@media screen and (max-width: 560px) {
  .nengoro-about-contact-cta {
    margin-top: 42px;
    padding: 24px 20px;
  }

  .nengoro-footer-links {
    width: calc(100% - 32px);
    padding-top: 24px;
    gap: 8px 18px;
  }
}

