@layer base {
  :root {
    --fa-font-zen-kaku-gothic-antique: 'Zen Kaku Gothic Antique', sans-serif;
  }
    body {
    grid-template-columns: minmax(0, 1fr);
  }
  .main {
    overflow-x: hidden;
  }
  .static-first-view {
    width: 100% !important;
  }
  /* header */
  .header {
    background-color: var(--header-color);
  }
  .header .inner .link {
    color: var(--text-contrast-color);
  }
  .header .inner .link:hover {
    color: var(--text-contrast-color);
    font-weight: var(--weight-bold);
  }
  @media (min-width: 890px) {
    .header .information {
      padding-top: 0;
    }
    .header .list .item.group:first-child .tag {
      margin-top: var(--p-lg);
    }
    .header .information .block {
      color: var(--text-contrast-color);
    }
    .header .information .block-text {
      font-family: var(--fa-font-zen-kaku-gothic-antique);
      font-weight: 500;
      font-size: 15px;
    }
    .header .information .tel {
      color: var(--text-contrast-color);
      font-size: var(--text-xxl);
    }
    .header .information .tel::before {
      color: var(--text-contrast-color);
    }
    .header .information .tel:hover {
      color: var(--sub-color);
    }
    .header .information .tel:hover:before {
      color: var(--sub-color);
    }
    .header .sep {
      background-color: var(--text-contrast-color);
    }
    .header .list .item:last-child .link {
      border-right: 1px solid var(--text-contrast-color);
    }
    .header .list .item .text {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 60px;
      color: var(--text-contrast-color);
      font-size: var(--text-lg);
    }
    .header .link {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 60px;
      color: var(--text-contrast-color);
      font-size: var(--text-lg);
    }
    .header .inner .link.logo {
      max-width: 273px;
      max-height: 90px;
      height: 90px;
      padding-top: 16px;
    }
    .header .inner .link.logo:hover {
      background: none;
      opacity: 0.8;
    }
    .header .list .item .menu {
      grid-template-columns: 200px 1fr;
    }
    .header .list .item .menu .heading{
      font-size: var(--text-md);
      padding-top: var(--p-lg);
    }
  }

  /* hamburger-menu */
  .hamburger-menu {
    background-color: var(--deco1-color);
  }
  .hamburger-menu .item {
    background-color: var(--text-contrast-color);
  }
  .menu-open :where(.hamburger-menu) .item {
    background-color: var(--text-contrast-color);
  }
  @media (min-width: 890px) {
    .hamburger-menu {
      top: 36px;
    }
  }

  @media (min-width: 890px) and (max-width: 1029px) {
    .header .list {
      display: none;
    }
  }

  /* navigation */
  .navigation .contents .block .list .heading {
    color: var(--main-color);
    background-color: var(--sub-color);
  }
  .navigation .link:hover {
    color: var(--sub-color);
    text-decoration: none;
  }
  .navigation .link::before {
    border-color: var(--sub-color);
  }

  /* Footer */
  .footer2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: var(--p-xxl);
    align-items: center;
    background-color: #2d2d2d;
    grid-area: footer;
  }
  .footer2 .information {
    padding-inline: var(--content-spacing);
    padding-bottom: var(--p-lg);
    display: flex;
    flex-direction: column;
    align-items: left;
  }
  .footer2 .information .logo {
    width: 244px;
    height: 60px;
    aspect-ratio: 61/15;
  }
  .footer2 .information .logo .image {
    width: 244px;
    height: 60px;
    object-fit: cover;
  }
  .footer2 .information .logo-contact-wrapper p:first-child {
    padding-top: 10px;
  }
  .footer2 .company-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 388.667px;
    height: 96.599px;
    gap: 0;
    @media (max-width: 767px) {
      max-width: 95%;
      height: auto;
    }
  }
  .footer2 .company-image-wrapper .image {
    aspect-ratio: 503 / 125;
    object-fit: cover;
    @media (max-width: 767px) {
      width: 100%;
      height: auto;
    }
  }
  .footer2 .information .link {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: var(--weight-bold);
    color: #fff;
    text-align: left;
    text-decoration: none;
    margin-bottom: var(--p-md);
  }
  .footer2 .information .link:hover {
    opacity: 0.7;
  }
  .footer2 .information .address {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
    font-size: 11.25px;
    font-style: normal;
    font-weight: 400;
    line-height: 14.4px;
    color: #fff;
  }
  .footer2 .information .tel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: -moz-fit-content;
    width: fit-content;
    gap: var(--p-sm);
    font-size: var(--text-xl);
    line-height: var(--line-height-md);
    text-decoration: none;
    position: relative;
    color: #fff;
  }
  .footer2 .information .tel::before {
    font: var(--fa-font-solid);
    content: '\f095';
    display: inline-block;
    padding-top: var(--p-md);
    font-size: var(--text-lg);
  }
  .footer2 .information .tel:hover {
    color: var(--sub-color);
  }
  .footer2 .information .tel:hover::before {
    color: var(--sub-color);
  }
  .footer2 .information .contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer2 .information .text {
    color: #fff;
    font-family: Meiryo;
    font-size: 11.25px;
    font-style: normal;
    font-weight: 400;
    line-height: 14.4px;
  }
  .footer2 .list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #e6e6da;
  }
  .footer2 .list .item {
    border-bottom: 1px solid #e6e6da;
  }
  .footer2 .list .item:nth-child(odd) {
    border-right: 1px solid #e6e6da;
  }
  .footer2 .list .item .link {
    width: 100%;
    padding-block: var(--p-md);
    font-size: var(--text-sm);
    text-align: center;
    color: #fff;
    text-decoration: none;
    display: block;
  }
  .footer2 .list .item .link:hover {
    color: var(--sub-color);
    font-weight: var(--weight-bold);
  }
  .footer2 .fujisan-wrapper {
    display: none;
  }
  .footer2 .fujisan-wrapper .image {
    width: 545px;
    height: 137px;
    aspect-ratio: 342/85;
    object-fit: cover;
  }

  .footer2 .copyright {
    grid-column: span 2;
    text-align: center;
    font-size: var(--text-xs);
    color: #fff;
    padding-block: var(--p-md);
  }
  .footer2 .copyright .link {
    text-decoration: none;
    color: #fff;
  }

  .footer2 .address-pc {
    display: none !important;
  }

  .footer2 .address-sp {
    display: flex !important;
  }
  @media (min-width: 975px) and (max-width: 1034px) {
    .footer2 .list {
      grid-template-columns: repeat(4, auto) !important;
      justify-content: center;
    }
  }

  @media (min-width: 975px) {
    .footer2 {
      display: grid;
      align-items: flex-start;
      grid-template-columns: auto 1fr;
      grid-template-areas:
        'images list'
        'info   info'
        'copy   copy';
      padding: var(--p-xl) var(--content-spacing) 0 var(--content-spacing);
      position: relative;
    }
    .footer2 .information .logo-contact-wrapper p:first-child {
      padding-top: 0px;
    }

    .footer2 .company-image-wrapper {
      grid-area: images;
      width: 503px;
      height: 125px;
      aspect-ratio: 334/83;
    }
    .footer2 .information {
      grid-area: info;
      padding-left: 0;
      padding-right: 0;
      display: block;
      position: relative;
      z-index: 1;
    }
    .footer2 .information .logo-contact-wrapper {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: var(--p-lg);
      padding-top: var(--p-md);
    }
    .footer2 .information .logo-contact-wrapper > p {
      display: inline-block;
      vertical-align: bottom;
      margin: 0;
    }
    .footer2 .information .link {
      width: auto;
      font-size: var(--text-xl);
      font-weight: var(--weight-bold);
      margin-bottom: 0;
    }
    .footer2 .information .logo {
      width: 474px;
      height: 48px;
    }
    .footer2 .information .contact-info {
      display: flex;
      flex-direction: row;
      align-items: flex-end;
      gap: 8px;
      margin-top: 12px;
    }
    .footer2 .information .tel {
      font-size: 28px;
      line-height: 1.2em;
    }
    .footer2 .information .tel::before {
      padding-top: 4px;
    }
    .footer2 .information .address {
      font-size: 12px;
      line-height: 1.5em;
      margin-top: 8px;
      margin-bottom: 8px;
    }
    .footer2 .address-sp {
      display: none !important;
    }

    .footer2 .address-pc {
      display: flex !important;
      margin-top: 8px;
      margin-bottom: 8px;
    }
    .footer2 .information .text {
      flex-direction: row;
      gap: 0 0px;
      font-size: 12px;
      line-height: 1.5em;
    }
    .footer2 .list {
      grid-area: list;
      width: auto;
      display: grid;
      grid-template-columns: repeat(5, auto);
      justify-content: flex-end;
      align-content: start;
      gap: 0 var(--gap-lg);
      margin-top: 6px;
      border-top: none;
      position: relative;
      z-index: 1;
    }
    .footer2 .list .item {
      border: none;
    }
    .footer2 .list .item:nth-child(odd) {
      border: none;
    }
    .footer2 .fujisan-wrapper {
      display: flex;
      position: absolute;
      right: var(--content-spacing);
      bottom: 36px;
      width: 545px;
      height: 137px;
      z-index: 0;
      pointer-events: none;
      right: calc(var(--content-spacing) - 50px);
    }
    .footer2 .fujisan-wrapper .image {
      width: 545px;
      height: 137px;
      aspect-ratio: 362/91;
      object-fit: cover;
    }
    .footer2 .copyright {
      grid-area: copy;
      margin-left: calc(-1 * var(--content-spacing));
      margin-right: calc(-1 * var(--content-spacing));
      width: calc(100% + 2 * var(--content-spacing));
      position: relative;
      background-color: #333388;
      z-index: 1;
    }
  }
}

@media (min-width: 895px) and (max-width: 1150px) {
  .footer2 .information .contact-info {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
  }
}


.header .inner .link.logo {
  max-width: 201px !important;
  width: 201px;
  height: 49.5px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

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

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

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  min-width: 240px;
  white-space: nowrap;
  padding-inline: 48px;
}
