/* ハンバーガーメニュー閉じるボタン */
.menu-open :where(.hamburger-menu) .item {
  background-color: var(--navigation-text-color);
}
.hamburger-menu .item {
  background-color: var(--contents-bg-color);
}
.footer .copyright-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
  .footer .snsIconColorVer {
    display: flex;
    gap: 20px;
    justify-content: center;
    @media (max-width: 767px) {
      display: none;
    }
  }
  .footer .snsIconColorVer .link {
    display: block;
    width: 30px;
    height: 30px;
  }
  .footer .snsIconColorVer .link img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }
  .footer .copyright {
    grid-column: span 2;
    text-align: center;
    font-size: var(--text-xs);
    color: var(--text-gray-color);
    padding-block: var(--p-md);
  }
  .footer .copyright .link {
    text-decoration: none;
    color: var(--text-gray-color);
  }
  /* Footer contact info - PC layout matching Figma */
  .footer .information .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
.footer .information .tel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: -moz-fit-content;
    width: fit-content;
    gap: var(--p-sm);
    font-size: 28px;
    font-weight: 400;
    line-height: normal;
    
  }
    .footer .information .logo:hover {
      opacity: 0.7;
    }
  .footer .information .tel::before {
    font: var(--fa-font-solid);
    content: "\f095";
    display: inline-block;
    padding-top: var(--p-md);
    font-size: var(--text-lg);
  }
  .footer .information .tel:hover {
    color: var(--main-color);
  }
  .footer .information .tel:hover::before {
    color: var(--main-color);
  }
  .footer .information .text {
    flex-direction: row;
    gap: 0 5px;
    color: #111;
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-weight: 350;
    line-height: 19.5px;
  }
  @media (min-width: 768px) {
    .footer .copyright-wrapper {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      grid-column: 1 / -1;
      padding-top: 20px;
      padding-bottom: 20px;
    }

    .footer .snsIconColorVer {
      justify-content: flex-end;
    }
     .footer .information .contact-info {
      flex-direction: row;
      justify-content: center;
      align-items: flex-end;
      gap: 8px;
    }
    footer .information .text {
      gap: 0 0px;
    }

    .footer .information .tel {
      font-size: 28px;
      line-height: 1.2em;
    }

    .footer .information .tel::before {
      padding-top: 4px;
    }

    .footer .information .address {
      font-size: 12px;
      line-height: 1.5em;
      margin-top: 8px;
      margin-bottom: 8px;
    }

    .footer .information .text {
      font-size: 12px;
      line-height: 1.5em;
    }
    .footer .information .logo {
      height: 84px;
    }
    .footer .information .logo .img {
      width: 256px;
      height: 69px;
    }
  }

    
  /* ★MacのChrome用：scaleを含まない新しいアニメーション */
@keyframes slideAnime-no-scale {
  0% {
    opacity: 0;
    z-index: 10;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    z-index: 1;
  }
}

/* ★MacのChromeの時だけ、アニメーション名を上書きする */
.is-mac-chrome .fv .picture01 {
  animation-name: slideAnime-no-scale;
  animation-duration: 24s;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}

.is-mac-chrome .fv .picture02 {
  animation-name: slideAnime-no-scale;
  animation-duration: 24s;
  animation-iteration-count: infinite;
  animation-delay: 8s;
}

.is-mac-chrome .fv .picture03 {
  animation-name: slideAnime-no-scale;
  animation-duration: 24s;
  animation-iteration-count: infinite;
  animation-delay: 16s;
}

.is-mac-chrome .fv .title {
  z-index: 11;
}

.header .inner .link.logo {
  max-width: 102px !important;
  width: 102px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
}

.header .inner .link.logo img {
  width: 102px !important;
  height: 80px !important;
  max-width: 102px !important;
  max-height: 80px !important;
  object-fit: contain;
}

/* SP logo size: 68×56 — applied up to 890px */
@media (max-width: 890px) {
  .header .inner .link.logo {
    max-width: 68px;
    width: 68px;
    height: 56px;
  }

  .header .inner .link.logo img {
    width: 68px !important;
    height: 56px !important;
    max-width: 68px !important;
    max-height: 56px !important;
  }
}

/* Small screen (up to 890px): increase header height from 60px to 70px
   so the logo (56px) fits without overflowing, and the breadcrumb
   sits correctly below the header in the CSS grid. */
@media (max-width: 890px) {
  body:not(.home) {
    grid-template-rows: 70px 1fr max-content;
  }

  body:not(.home) .header {
    height: 70px;
  }

  /* Home page header also needs 70px on mobile */
  body.home .header {
    height: 70px;
  }

  body.home .header .inner .link.logo {
    margin-top: 0;
  }

  /* Parent theme caps logo max-height at 60px — raise to match new header */
  body:not(.home) .header .inner .link.logo {
    max-height: 70px;
    margin-top: 0;
  }
}

@media (min-width: 890px) {
  .header .information .block-text-title {
    margin-left: 0px;
  }
}



.navigation .contents .block .list .heading {
  background-color: var(--main-color);
  color: #fff;
}

.navigation .link::before{
  border-color: var(--main-color);
}

/* ハンバーガーメニュー閉じるボタン */
.hamburger-menu .item {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 1px;
  color: var(--text-color);
  transition: background-color 0.2s ease-in;
}

.hamburger-menu {
  top: 30px;
  right: var(--content-spacing);
  left: unset;
  background-color: var(--contents-bg-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  
  @media (min-width: 768px) {
    top: var(--p-md);
    transform: none;
    left: unset;
    right: var(--content-spacing);
  }

  
  @media (min-width: 890px) {
    top: 35px;
  }
  .item {
      background-color: var(--text-color);
    }
}
