
@media screen and (min-width: 821px) {
  .comany-local-nav {
    gap: 0;
    grid-template-columns: repeat(5, 1fr);
  }
  .comany-local-nav > .list:last-child > .item {
    border-right: 1px solid var(--color-border);
  }
  .comany-local-nav > .list > .item {
    border-top: 0;
    border-left: 1px solid var(--color-border);
    font-size: 1rem;
    padding: 2rem 1rem;
  }
  .comany-local-nav > .list > .item::after {
    height: 1.125rem;
    width: 1.125rem;
  }
  .company-message {
    grid-template-areas: "image spacer text";
    grid-template-columns: 4fr 1fr 7fr;
    margin-top: 5.5rem;
  }
  .company-message > .text {
    grid-area: text;
  }
  .company-message > .text > .site-heading-simple {
    margin-bottom: 3.5rem;
  }
  .company-message > .text > .sign {
    margin-top: 3rem;
  }
  .company-message > .text > .sign > .job {
    font-size: 1.188rem;
  }
  .company-message > .text > .sign > .name {
    font-size: 1.813rem;
  }
  .company-message > .image {
    grid-area: image;
  }
  .company-content {
    gap: 1.5rem;
    margin-top: 3rem;
    margin-left: auto;
    max-width: 51.25rem;
  }
  .company-group {
    align-items: center;
    gap: 2.188rem;
    grid-template-columns: 5.5fr 6.5fr;
  }
  .company-group > .text {
    gap: 3.5rem;
  }
  .company-group > .image img {
    transform: translateX(1.875rem);
  }
  .company-history {
    gap: 2.188rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 6.5rem;
    margin-bottom: 10rem;
  }
  .company-history > .item > .image {
    margin-bottom: 2rem;
  }
  .company-history > .item > .site-heading-simple {
    margin-bottom: 1rem;
  }
  .comany-history-detail > .row {
    gap: 2.188rem;
    grid-template-columns: repeat(10, 1fr);
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .comany-history-detail > .row > dt {
    flex-direction: column;
    align-items: flex-start;
    grid-column: span 2;
  }
  .comany-history-detail > .row > dt > .year {
    font-size: 2.813rem;
    line-height: 1;
  }
  .comany-history-detail > .row > dd {
    gap: 2.188rem;
    grid-column: span 8;
  }
  .comany-history-detail > .row > dd > .inner {
    grid-column: span 5;
  }
  .comany-history-detail > .row > dd > .image {
    grid-column: span 3;
    width: 100%;
  }
  .company-access {
    margin-top: 3.5rem;
  }
  .company-access > .map iframe {
    height: 23.75rem;
  }
  .company-access > .access {
    flex-direction: row;
    gap: 2rem;
    margin-top: 3rem;
  }
}

@media screen and (min-width: 821px) {
  .home-hero {
    height: 49.65vw;
    min-height: 31.25rem;
    max-height: 56.25rem;
    padding-top: 0;
    padding-bottom: 0;
  }
  .home-hero::before {
    right: 62%;
  }
  .home-hero > .text {
    margin: 0 0 0 7.5vw;
    width: auto;
  }
  .home-hero > .text > .title {
    margin-bottom: min(3.89vw, 3.5rem);
  }
  .home-hero > .text > .title > .sub {
    font-size: min(1.39vw, 1.25rem);
    margin-bottom: min(2.22vw, 2rem);
  }
  .home-hero > .text > .title > .main {
    font-size: min(3.47vw, 3.125rem);
  }
  .home-hero > .text > .ornament {
    margin-top: min(2.78vw, 2.5rem);
  }
  .home-hero > .image {
    height: 100%;
    width: 62%;
  }
  .home-hero > .interface {
    transform: translateY(100%);
    inset: auto 6.875rem -1.5rem auto;
  }
  .home-hero > .interface > .swiper-pagination > .swiper-pagination-bullet {
    background-color: var(--color-project-base);
    border-color: var(--color-project-showa);
  }
  .home-hero > .interface > .swiper-pagination > .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--color-project-showa);
  }
  .home-hero > .interface > .paused {
    background-color: var(--color-project-showa);
  }
  .home-hero > .interface > .paused::after {
    background-color: var(--color-white);
  }
}