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

  /* 表示切替 */
  .sp {
    display: block;
  }

  .pc {
    display: none !important;
  }

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

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

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

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

  p {
    font-size: 3.6vw;
  }
}

/* ------------------------------- Footer(PC) ------------------------------- */
#footer2025 {
  background-color: #1b2951;
  /* padding: 20.51vw 0 10.26vw 0; */
  padding-top: 10.26vw;

  * {
    color: #fff;
  }

  .footer__wrapper {
    padding-inline: 4.1vw;
    width: min(100%, calc(1760px + 6.15vw)) !important;
    margin-inline: auto;
  }

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

  .footer__lbox {
    flex-shrink: 0;
    width: 100%;
  }

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

  .footer__header {
    margin-bottom: calc((20 / 390) * 100vw);

    footer__logo {
      width: fit-content;
    }
  }

  .footer__tel {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: end;
    flex-flow: column nowrap;
    gap: 1.03vw;
    margin-bottom: 6.15vw;
    margin: 0 auto 6.15vw auto;

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

    .header__tel-text {
      font-size: calc((15 / 390) * 100vw);
      line-height: 1.3;

      span {
        letter-spacing: 0.39em;
      }
    }

    .header__tel-call {
      font-size: calc((38 / 390) * 100vw);
      position: relative;
      padding-left: 10.26vw;
      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: calc((290 / 390) * 100vw);
    height: calc((44 / 390) * 100vw);
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1.03vw;
    background-color: #ff544b;

    span {
      letter-spacing: 0;
      font-weight: 700 !important;
      color: #fff !important;
      font-size: 3.6vw;
      position: relative;
      padding-left: 6.15vw;

      &::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: column wrap;
    gap: 8.21vw;
    margin-bottom: 10.26vw;
  }

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

    .footer__item2 {
      &:not(:last-child) {
        margin-bottom: 2.05vw;
      }

      .footer__item2-link {
        font-size: 3.6vw;
        font-weight: 400;
      }
    }
  }

  .footer__list3 {
    margin-bottom: 10.26vw;
  }

  .footer__item3 {
    &:not(:last-child) {
      margin-bottom: 4.1vw;
    }

    .footer__item3-link {
      font-size: 3.6vw;
      font-weight: 400;
      text-decoration: underline;
    }
  }

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

  .footer__content-box {
    justify-content: start;
    align-items: stretch;
    gap: 6.15vw;
  }

  .footer__content-item {
    justify-content: center;
    align-items: start;
    gap: 2.05vw;

    p {
      color: inherit;
      font-size: 10px;
      font-weight: 400;
    }
  }

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

  .footer__address,
  .footer__note {
    font-size: 3.6vw;
    color: inherit;
    text-align: center;
  }

  .footer__logo2 {
    display: block;
    margin-bottom: 4.1vw;
  }

  .footer__address {
    font-size: calc((12 / 390) * 100vw);
    margin-bottom: 8.21vw;
    font-weight: 700;
  }

  .footer__note {
    margin-bottom: 6.15vw;
    font-weight: 400;
  }

  .footer__list4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    gap: 2.05vw;
    margin-bottom: 10.26vw;
  }

  .footer__bottom {
    background-color: #000;
    padding-block: 4.1vw calc((100 / 390) * 100vw);
  }

  .footer__list5 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    margin-bottom: 4.1vw;
  }

  .footer__item5 {
    /* border-left: 1px solid #fff; */
    &:nth-child(1) {
      border-right: 1px solid #fff;
    }

    .footer__item5-link {
      font-weight: 700;
      margin-inline: 6.15vw;
    }
  }

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

  .footer__copyright {
    text-align: center;
    /* margin-left: 6.15vw; */
    font-size: calc((12 / 390) * 100vw);
  }
}
/* ============ サイドボタン  ============ */
#side-button {
  display: none !important;
}
#side-button-sp{
    line-height: 1.5;
  letter-spacing: 0em;
  font-family: "Noto Sans JP", sans-serif;

  /* 表示切替 */
  .sp {
    display: block;
  }

  .pc {
    display: none !important;
  }

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

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

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

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

  /* p {
    font-size: 3.6vw;
  } */
}
#side-button.show {
  opacity: 1;
  display: flex;

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

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

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

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

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

    transition: opacity display 0.5s ease-in-out;
    transition: transform 0.1s ease-in-out;

    span {
      color: #fff;
      font-weight: 700;
      font-size: 20px;
      letter-spacing: 0;
      writing-mode: vertical-rl;
      position: relative;
      /* transition: all 0.3s ease-in-out; */

      &::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: 6.15vw;

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

  .side-button__link--share {
    span {
      padding-bottom: 6.15vw;

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

.side-button2 {
  inset: auto 0 0 0;
  position: fixed;
  z-index: 1001;
  padding: 2.05vw;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(3px);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;

  &.show {
    opacity: 1;
    transform: translateY(0);
  }

  .side-button2__text {
    color: #1b2951 !important;
    font-size: 3.6vw;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: 2.05vw;
    text-align: center;
  }

  .side-button2__box {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-flow: row nowrap;
    gap: 2.05vw;
  }

  .side-button2__button {
    width: calc((183 / 390) * 100vw);
    padding-block: 2.05vw;
    /* height: calc((42 / 390) * 100vw); */
    border-radius: 1.03vw;
    display: flex;
    justify-content: center;
    align-items: center;

    span {
      color: #fff !important;
      font-size: calc((15 / 390) * 100vw);
      font-weight: 700;
      line-height: 1.2;
      letter-spacing: 0;
      position: relative;
      padding-left: 8.21vw;
      text-align: center;

      &::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        margin-block: auto;
        width: calc((24 / 390) * 100vw);
        height: calc((24 / 390) * 100vw);
        background: no-repeat center / contain;
      }

      small {
        color: inherit;
        font-weight: 400;
        font-size: calc((10 / 390) * 100vw);
        /* line-height: 0; */
        letter-spacing: inherit;
      }
    }
  }

  .side-button2__button--call {
    background-color: #ff544b;

    span {
      transform: translateY(calc((-4 / 390) * 100vw));

      &::before {
        background-image: url("/assets/images/top_2025/sp-sec00_icon1.webp");
        transform: translateY(calc((3 / 390) * 100vw));
      }
    }
  }

  .side-button2__button--mail {
    background-color: #444f6f;

    span {
      &::before {
        background-image: url("/assets/images/top_2025/sp-sec00_icon2.webp");
      }
    }
  }
}
