@layer base {
  :root {
    --main-width: 1100px;
    --family-roboto: 'Roboto', sans-serif;
  }
  ::-webkit-scrollbar {
    background: var(--deco1-color);
  }
  @media (min-width: 768px) {
    body {
      grid-template-rows: max-content 1fr max-content;
    }
  }
  /* tenasap-header */
  .tenasap-header {
    grid-area: header;
    position: relative;
    z-index: 100;
  }
  .tenasap-header .logo {
    position: absolute;
    width: 110px;
    height: 110px;
    background: #fff;
    border-bottom-right-radius: 36px;
    overflow: hidden;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  }
  .tenasap-header .logo .link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 16px 16px 18px 12px;
  }
  .tenasap-header .logo .link img {
    width: 100%;
    height: auto;
  }
  .tenasap-header .logo .link:hover {
    opacity: 0.7;
  }
  @media (min-width: 768px) {
    .tenasap-header .logo {
      width: 160px;
      height: 160px;
      border-bottom-right-radius: 60px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .tenasap-header .logo .link {
      padding: 30px 33px 38px 26px;
    }
  }
  .tenasap-header .inner {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    height: 60px;
    padding-left: 104px;
    padding-right: 78px;
    background: linear-gradient(132deg, #0c99f2 1.43%, #1d6dc8 28.25%);
  }
  .tenasap-header .inner .list {
    display: none;
  }
  .tenasap-header .inner .contact-tel {
    display: none;
  }
  .tenasap-header .inner .contact-mail {
    display: none;
  }
  @media (min-width: 768px) {
    .tenasap-header .inner {
      height: 108px;
      padding-left: 212px;
      padding-right: 78px;
    }
    .tenasap-header .inner .contact-tel {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .tenasap-header .inner .contact-tel .tel {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text-contrast-color);
      font-family: var(--family-roboto);
      font-size: 28px;
      font-weight: 700;
      text-decoration: none;
      transition: 0.2s ease-in;
    }
    .tenasap-header .inner .contact-tel .tel:hover {
      color: var(--sub-color);
    }
    .tenasap-header .inner .contact-tel .tel:hover::before {
      color: var(--sub-color);
    }
    .tenasap-header .inner .contact-tel .tel::before {
      font: var(--fa-font-solid);
      content: '\f095';
      display: inline-block;
      font-size: var(--text-lg);
      color: var(--text-contrast-color);
      padding-top: var(--p-sm);
      transition: 0.2s ease-in;
    }
    .tenasap-header .inner .contact-tel .block-text-row {
      display: flex;
      gap: 4px;
      margin: 0;
    }
    .tenasap-header .inner .contact-tel .block-text {
      font-size: 12px;
      color: var(--text-contrast-color);
    }
    .tenasap-header .inner .contact-mail {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .tenasap-header .inner .contact-mail .btn-mail {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 160px;
      height: 52px;
      border-radius: 6px;
      background: var(--sub-color);
      color: var(--text-contrast-color);
      font-weight: var(--weight-bold);
      text-decoration: none;
      letter-spacing: 1px;
      transition: 0.2s ease-in;
    }
    .tenasap-header .inner .contact-mail .btn-mail:hover {
      filter: brightness(1.1);
    }
  }
  @media (min-width: 1480px) {
    .tenasap-header .inner .list {
      display: flex;
      align-items: center;
      gap: 15px;
      height: 100%;
    }
    .tenasap-header .inner .list .item .link {
      display: flex;
      align-items: center;
      height: 40px;
      background: #fff;
      border-radius: 20px;
      padding: 0 24px;
      color: var(--main-color);
      text-decoration: none;
      transition: 0.2s ease-in;
    }
    .tenasap-header .inner .list .item .link:hover {
      font-weight: 700;
    }
  }

  /* hamburger-menu */
  .hamburger-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    top: 2px;
    right: 2px;
    width: 56px;
    height: 56px;
    padding: 14px;
    border: none;
    background: #1d6dc8;
    z-index: 1000;
    cursor: pointer;
    transition: 0.2s ease-in;
  }
  .hamburger-menu .item {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-contrast-color);
    border-radius: 2px;
    transition: background-color 0.2s ease-in;
  }
  .hamburger-menu:hover {
    filter: brightness(1.1);
    opacity: 1;
  }
  @media (min-width: 768px) {
    .hamburger-menu {
      top: 26px;
      right: 8px;
    }
  }
  .menu-open :where(.hamburger-menu) {
    background-color: unset;
  }
  .menu-open :where(.hamburger-menu) .item {
    background-color: var(--text-contrast-color);
  }
  .menu-open :where(.hamburger-menu) .item-top {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    rotate: 45deg;
    translate: -50% -50%;
  }
  .menu-open :where(.hamburger-menu) .item-center {
    opacity: 0;
  }
  .menu-open :where(.hamburger-menu) .item-bottom {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    rotate: -45deg;
    translate: -50% -50%;
  }

  /* sp-bottom */
  .sp-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #fff;
    z-index: 100;
  }
  .sp-bottom-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-contrast-color);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    border: 1px solid #fdf0f0;
    background: linear-gradient(103deg, #0c99f2 10.86%, #1d6dc8 71.32%);
    transition: 0.4s;
  }
  .sp-bottom-link::before {
    content: '';
    display: inline-block;
    aspect-ratio: 1 / 1;
  }
  .sp-bottom-link:hover {
    filter: brightness(1.2);
  }
  .sp-bottom-tel {
    background: linear-gradient(103deg, #0c99f2 10.86%, #1d6dc8 71.32%);
  }
  .sp-bottom-tel::before {
    width: 18px;
    margin-top: 4px;
    background: url(../image/common_ico_tel.svg) no-repeat center bottom /
      contain;
  }
  .sp-bottom-mail {
    border-left: none;
    background: linear-gradient(97deg, #fec015 7.04%, #f99300 62.82%);
  }
  .sp-bottom-mail::before {
    width: 24px;
    background: url(../image/common_ico_mail.svg) no-repeat center bottom /
      contain;
  }
  @media (min-width: 768px) {
    .sp-bottom {
      display: none;
    }
  }

  /* footer */
  .footer {
    padding-bottom: 56px;
  }
  .footer .information {
    gap: var(--gap-md);
  }
  .footer .information .link:hover img {
    opacity: 0.7;
  }
  .footer .information .contact-tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .footer .information .tel {
    font-family: var(--family-roboto);
    font-weight: 700;
    font-size: 30px;
  }
  .footer .information .tel::before {
    padding-top: 0;
  }
  .footer .information .contact-tel span {
    font-size: 13px;
  }
  .footer .list .item .link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-inline: 8px;
  }
  @media (min-width: 768px) {
    .footer {
      grid-template-columns: 55% 45%;
    }
    .footer .information {
      align-items: flex-start;
    }
    .footer .information .contact-tel {
      flex-direction: unset;
      flex-wrap: wrap;
      justify-content: flex-start;
      gap: 0 4px;
    }
    .footer .information .text {
      flex-direction: row;
      gap: 0;
    }
    .footer .list .item .link {
      display: block;
      padding-inline: unset;
    }
  }

  /* navigation */
  @media (min-width: 768px) {
    .navigation .contents .block .list {
      grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    }
  }

  /* breadcrumb */
  .breadcrumb {
    justify-content: flex-end;
  }
}

/* 画面外にいる状態 */
.fadein {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 0.7s;
}
/* 画面内に入った状態 */
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
  animation-delay: 0.5s;
}
