/* ハンバーガーメニュー閉じるボタン */
.menu-open :where(.hamburger-menu) .item {
  background-color: var(--navigation-text-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);
  }
  @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;
    }
  }
    
  /* ★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: 240px !important;
  width: 240px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

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

/* Mobile adjustments */
@media (max-width: 767px) {
  .header .inner .link.logo {
    max-width: 138px;
    width: 138px;
    height: 26px;
  }
  
  .header .inner .link.logo img {
    width: 138px !important;
    height: 26px !important;
    max-width: 138px !important;
    max-height: 26px !important;
  }
}

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


.post-news .title,
.post-news .title a,
.post-news .heading .link {
  cursor: pointer; 
}

.navigation .contents .block .list .heading {
  background-color: var(--sub-color);
  color: var(--text-color);
}

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

/* About Us page - Images layout */

.page-profile .page-contents {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg, 20px);
}

.page-profile .about-imgs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-profile .about-imgs .img {
  width: 100%;
  max-width: 190px;
  min-width: 190px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

@media (min-width: 890px) {
  .page-profile .page-contents {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-lg, 20px);
  }

  .page-profile .table {
    flex: 1;
    max-width: calc(100% - 210px);
  }

  .page-profile .about-imgs {
    flex-shrink: 0;
    width: 190px;
    align-self: flex-start;
    align-items: flex-start;
  }

  .page-profile .about-imgs .img {
    width: 190px;
    height: 190px;
    max-width: 190px;
    max-height: 190px;
  }
}