/* ---------------------------------- リセット ---------------------------------- */
#footer2025 {
  line-height: 1.5;
  letter-spacing: 0em;
  font-family: "Noto Sans JP", sans-serif;

  /* 表示切替 */
  .sp {
    display: none !important;
  }

  .pc {
    display: block;
  }

  zoom: 120%;

  *,
  ::before,
  ::after {
    box-sizing: border-box;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    margin: 0;
    line-height: 150%;
    letter-spacing: 0;
    color: #000;
  }

  ol,
  ul {
    padding: 0;
    margin: 0;
  }

  small,
  em,
  span,
  strong {
    font-style: normal;
    font-weight: inherit;
    color: inherit;
  }
}

/* ------------------------------- Footer(PC) ------------------------------- */
#footer2025 {
  background-color: #1b2951;
  /* padding: 80px 0 40px 0; */
  padding-top: 80px;

  * {
    color: #fff;
  }

  .footer__wrapper {
    padding-inline: 24px;
    width: min(100%, calc(1760px + 24px)) !important;
    margin-inline: auto;
    @media screen and (max-width: 1600px) {
      width: 1100px !important;
      padding: 0;
    }
  }

  .footer__content {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-flow: row nowrap;
    gap: 40px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #647bac;

    @media screen and (max-width: 1600px) {
      flex-direction: column;
      gap: 80px;
    }
  }

  .footer__lbox {
    flex-shrink: 0;
  }

  .footer__rbox {
    width: min(100%, 1148px) !important;
    margin-inline: auto;
    /* flex-grow: 1; */
  }

  .footer__header {
    margin-bottom: 40px;

    footer__logo {
      width: fit-content;
    }
  }

  .footer__tel {
    display: flex;
    justify-content: center;
    align-items: end;
    flex-flow: column nowrap;
    gap: 4px;
    margin-bottom: 24px;

    .header__tel-text,
    .header__tel-call {
      font-weight: 700;
      letter-spacing: 0;
      color: #fff;
    }

    .header__tel-text {
      font-size: 15px;
      line-height: 1.3;

      span {
        letter-spacing: 0.39em;
      }
    }

    .header__tel-call {
      font-size: 36px;
      position: relative;
      padding-left: 40px;
      line-height: 1;

      &::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        margin-block: auto;
        width: 34px;
        height: 34px;
        background: no-repeat center / contain
          url("/assets/images/header_2025/header_tel2.webp");
      }
    }
  }

  .footer__button {
    width: 160px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background-color: #ff544b;

    span {
      letter-spacing: 0;
      font-weight: 700;
      color: #fff;
      font-size: 14px;
      position: relative;
      padding-left: 24px;

      &::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        margin-block: auto;
        width: 18px;
        height: 18px;
        background: no-repeat center / contain
          url("/assets/images/footer_2025/footer_icon1.webp");
        transform: translateY(1px);
      }
    }
  }

  .footer__list {
    display: flex;
    justify-content: start;
    align-items: stretch;
    flex-flow: row wrap;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer__item {
    .footer__item-title {
      color: inherit;
      font-size: 16px;
      font-weight: 700;
      padding-bottom: 8px;
      margin-bottom: 8px;
      border-bottom: 1px dashed #647bac;
    }

    .footer__item2 {
      &:not(:last-child) {
        margin-bottom: 8px;
      }

      .footer__item2-link {
        font-size: 14px;
        font-weight: 400;
      }
    }
  }

  .footer__list3 {
    margin-bottom: 40px;
  }

  .footer__item3 {
    &:not(:last-child) {
      margin-bottom: 8px;
    }

    .footer__item3-link {
      font-size: 14px;
      font-weight: 400;
      text-decoration: underline;
    }
  }

  .footer__content-box,
  .footer__content-item {
    display: flex;
    flex-flow: row nowrap;
  }

  .footer__content-box {
    justify-content: start;
    align-items: stretch;
    gap: 24px;
    @media screen and (max-width: 1600px) {
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 24px;
    }
  }

  .footer__content-item {
    justify-content: center;
    align-items: start;
    gap: 8px;

    p {
      color: inherit;
      font-size: 10px;
      font-weight: 400;
    }
    @media screen and (max-width: 1600px) {
      max-width: 640px;
    }
  }

  .footer__logo2,
  .footer__address,
  .footer__note {
    width: fit-content;
    margin-inline: auto;
  }

  .footer__address,
  .footer__note {
    font-size: 14px;
    color: inherit;
  }

  .footer__logo2 {
    display: block;
    margin-bottom: 24px;
  }

  .footer__address {
    margin-bottom: 32px;
    font-weight: 700;
  }

  .footer__note {
    margin-bottom: 24px;
    font-weight: 400;
  }

  .footer__list4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    gap: 8px;
    margin-bottom: 40px;
    @media screen and (max-width: 1600px) {
      /* max-width: 640px; */
      margin: 0 auto;
      margin-bottom: 40px;
      justify-content: space-between;
      gap: 0;
      .footer__item4 {
        width: calc((100% / 7));
      }
    }
  }

  .footer__bottom {
    background-color: #000;
    padding-block: 16px;
  }

  .footer__list5 {
    display: flex;
    justify-content: end;
    align-items: center;
    flex-flow: row wrap;
  }

  .footer__item5 {
    border-left: 1px solid #fff;

    .footer__item5-link {
      font-weight: 700;
      margin-inline: 24px;
    }
  }

  .footer__item5,
  .footer__copyright {
    color: inherit;
    font-size: 14px;
    letter-spacing: 0;
  }

  .footer__copyright {
    margin-left: 24px;
  }
}

/* ============ サイドボタン  ============ */
#side-button-sp{
  display: none !important;
}
#side-button {
  line-height: 1.5;
  letter-spacing: 0em;
  font-family: "Noto Sans JP", sans-serif;

  /* 表示切替 */
  .sp {
    display: none !important;
  }

  .pc {
    display: block;
  }

  zoom: 120%;

  *,
  ::before,
  ::after {
    box-sizing: border-box;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    margin: 0;
    line-height: 150%;
    letter-spacing: 0;
    color: #000;
  }

  ol,
  ul {
    padding: 0;
    margin: 0;
  }

  small,
  em,
  span,
  strong {
    font-style: normal;
    font-weight: inherit;
    color: inherit;
  }
}

#side-button.show {
  opacity: 1;
  display: flex;

  .side-button__link {
    pointer-events: auto;
  }
}

.side-button {
  z-index: 1001;
  position: fixed;
  inset: 120px 0 auto auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column nowrap;
  gap: 16px;

  opacity: 0;
  transition: all 0.5s ease-in-out;

  @media screen and (max-width: 1600px) {
    zoom: 80%;
    inset: 24vh 0 auto auto;
  }

  @media screen and (max-width: 1440px) {
    zoom: 65%;
    inset: 24vh 0 auto auto;
  }

  .side-button__link {
    width: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #153c7b;
    border-radius: 4px 0 0 4px;
    padding: 12px 0;
    pointer-events: none;

    transition: opacity display 0.5s ease-in-out;
    transition: transform 0.1s ease-in-out;
    &:hover {
      opacity: 1 !important;
    }
    span {
      color: #fff !important;
      font-weight: 700 !important;
      font-size: 20px;
      letter-spacing: 0;
      writing-mode: vertical-rl;
      position: relative;

      &::before,
      &::after {
        content: "";
        position: absolute;
        margin: auto;
        width: 18px;
        height: 18px;
        background: no-repeat center / contain;
      }
    }
  }

  .side-button__link--mail {
    background-color: #ff544b;

    span {
      padding-top: 24px;

      &::before {
        inset: 0 0 auto 0;
        background-image: url("/assets/images/top_2025/sec00_deco3.webp");
      }
    }
  }

  .side-button__link--share {
    span {
      padding-bottom: 24px;

      &::before {
        inset: auto 0 0 0;
        background-image: url("/assets/images/top_2025/sec00_deco1.webp");
      }
    }
  }
}
