.top-page {
  --top-blue: #0080b0;
  --top-blue-dark: #004f80;
  --top-red: #e06060;
  --top-yellow: #f0e020;
  --top-pale: #edf9fc;
  --top-ink: #111827;
  --top-muted: #52606d;
  --top-line: #d7e3ea;
  --top-width: 1200px;
  color: var(--top-ink);
  font-family: var(--font-sans);
  font-feature-settings: "palt";
  background: #ffffff;
}

.top-page .site-header,
.top-page .site-footer {
  display: none;
}

.top-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.top-header__logo,
.top-header__nav {
  pointer-events: auto;
}

.top-header__logo {
  display: block;
  width: 251px;
  margin: 10px 0 0 10px;
}

.top-header__logo img {
  width: 100%;
  height: auto;
}

.top-header__nav {
  display: flex;
}

.top-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 50px;
  padding: 10px 20px;
  color: #ffffff;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.top-header__link--blue {
  background: var(--top-blue-dark);
}

.top-header__link--red {
  background: var(--top-red);
}

.top-main {
  position: relative;
  overflow: clip;
  padding-top: max(min(40.9vw, 725px), 725px);
}

.top-mv {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: max(min(40.9vw, 725px), 725px);
  min-height: 725px;
  background: #ffffff;
}

.top-mv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-mv--contain img {
  object-fit: contain;
  background: #ffffff;
}

.top-mv__menu {
  position: fixed;
  top: 94px;
  right: 0;
  z-index: 110;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 126px;
  padding: 16px 10px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 4px;
  text-decoration: none;
  background: var(--top-blue-dark);
}

.top-mv__menu span {
  writing-mode: vertical-rl;
}

.top-mv__menu::before {
  display: block;
  width: 17px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px
    no-repeat;
  content: "";
  writing-mode: horizontal-tb;
}

.top-lead {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.top-feature-slider {
  position: relative;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
}

.top-feature-slider__track {
  display: flex;
  width: 300%;
  transition: transform 0.5s cubic-bezier(0.4, 0.4, 0, 1);
  transform: translateX(calc(var(--top-feature-index, 0) * -33.3333%));
}

.top-feature-slide {
  position: relative;
  flex: 0 0 calc(100% / 3);
  min-height: 640px;
  max-height: 640px;
  overflow: hidden;
}

.top-feature-slide img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.top-feature-slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.54));
  content: "";
}

.top-feature-slide__overlay {
  position: absolute;
  bottom: 34px;
  left: 42px;
  z-index: 1;
  width: min(70%, calc(100% - 64px));
  color: #ffffff;
}

.top-feature-slide__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 14px;
}

.top-feature-slide__meta span {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: var(--top-blue);
}

.top-feature-slide__overlay h2 {
  margin: 0;
  font-weight: normal;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
}

.top-feature-slide__overlay p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.8;
}

.top-feature-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--top-blue-dark);
  border-radius: 50%;
  color: var(--top-blue-dark);
  background: #ffffff;
  transform: translateY(-50%);
}

.top-feature-slider__arrow::before {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
}

.top-feature-slider__arrow--prev {
  left: 18px;
}

.top-feature-slider__arrow--prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.top-feature-slider__arrow--next {
  right: 18px;
}

.top-feature-slider__arrow--next::before {
  transform: translateX(-2px) rotate(135deg);
}

.top-section {
  position: relative;
  z-index: 2;
  padding: 84px 0;
  background: #ffffff;
}

.top-section__inner {
  width: min(100% - 48px, var(--top-width));
  margin-inline: auto;
}

.top-heading {
  margin-bottom: 36px;
  text-align: center;
}

.top-heading__en,
.top-heading h2 {
  margin: 0;
  color: var(--top-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.35;
}

.top-heading__sub {
  margin: 0 0 8px;
  color: var(--top-blue);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
}

.top-heading h2 {
  color: var(--top-ink);
  font-family: var(--font-sans);
}

.top-heading .top-heading__lead {
  margin-top: 8px;
  color: var(--top-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}

.top-heading p:not(.top-heading__en):not(.top-heading__sub) {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--top-muted);
}

.top-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 41px 75px;
}

.top-news-card {
  display: grid;
  min-height: 400px;
  border: 1px solid var(--top-line);
  background: #ffffff;
  box-shadow: 0 7px 14px rgba(0, 79, 128, 0.18);
}

.top-news-card__image {
  width: 100%;
  aspect-ratio: 350 / 207;
  object-fit: cover;
}

.top-news-card__body {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px 15px 18px;
}

.top-news-card__meta {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  color: var(--top-muted);
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.6;
}

.top-news-card__meta span {
  color: var(--top-blue-dark);
  font-weight: 700;
}

.top-news-card h3 {
  margin: 0;
  color: var(--top-ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
}

.top-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  min-height: 50px;
  margin: 42px auto 0;
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  background: var(--top-blue-dark);
}

.top-design-capture {
  position: relative;
  z-index: 2;
  margin: 0;
  background: #ffffff;
}

.top-design-capture img {
  display: block;
  width: 100%;
  height: auto;
}

.top-business {
  padding: 58px 0 0;
  background: var(--top-pale);
}

.top-heading--business {
  margin-bottom: 40px;
}

.top-heading--business h2 {
  font-size: clamp(34px, 4vw, 40px);
  line-height: 1.25;
}

.top-heading--business .top-heading__sub {
  margin: 6px 0 0;
}

.top-heading--business p:not(.top-heading__en):not(.top-heading__sub) {
  margin-top: 22px;
  line-height: 1.9;
}

.top-business__content {
  display: grid;
  grid-template-columns: 500px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  max-width: 1150px;
  margin-inline: auto;
}

.top-business__graph {
  margin: 0;
}

.top-business__graph img {
  display: block;
  width: 100%;
  height: auto;
}

.top-business__summary {
  display: grid;
  gap: 15px;
  padding-top: 42px;
}

.top-business__summary p,
.top-business__summary ol {
  margin: 0;
}

.top-business__year {
  color: var(--top-blue-dark);
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
}

.top-business__amount {
  color: var(--top-blue-dark);
  font-family: var(--font-display);
  font-size: clamp(46px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.1;
}

.top-business__summary h3 {
  width: fit-content;
  margin: 0;
  padding: 9px 24px;
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 20px;
  background: var(--top-blue);
}

.top-business__summary ol {
  display: grid;
  gap: 9px;
  padding-left: 1.4em;
  font-size: 18px;
  line-height: 1.7;
}

.top-jobs {
  position: relative;
  z-index: 2;
  min-height: 250px;
  padding: 45px 0 50px;
  color: #ffffff;
  text-align: center;
  background: var(--top-blue-dark);
}

.top-jobs h2 {
  margin: 0 0 25px;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.35;
}

.top-jobs__list {
  display: grid;
  grid-template-columns: repeat(10, 100px);
  gap: 25px 20px;
  justify-content: center;
  width: min(100% - 48px, var(--top-width));
  margin-inline: auto;
}

.top-jobs__list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--top-blue-dark);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  background: #ffffff;
}

.top-banners {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px;
  width: 100%;
  margin: 0;
  padding: 35px max(22px, calc((100% - 1142px) / 2));
  box-sizing: border-box;
  background: #ffffff;
}

.top-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  justify-content: center;
  overflow: hidden;
  padding: 42px 58px;
  color: #ffffff;
  text-decoration: none;
  background-position: center;
  background-size: cover;
}

.top-banner::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: 47%;
  min-width: 258px;
  clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%);
  content: "";
}

.top-banner > * {
  position: relative;
  z-index: 1;
}

.top-banner--company {
  background-image: url("../images/join/hero-01.png");
}

.top-banner--company::before {
  background: var(--top-red);
}

.top-banner--activity {
  background-image: url("../images/top/activity-banner.png");
  background-position: center 45%;
}

.top-banner--activity::before {
  background: var(--top-blue);
}

.top-banner span {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.top-banner strong {
  margin-top: 3px;
  font-weight: normal;
  font-size: 30px;
  line-height: 1.35;
}

.top-banner em {
  display: inline-flex;
  align-items: center;
  width: 128px;
  min-height: 34px;
  margin-top: 14px;
  padding: 0 12px 0 12px;
  box-sizing: border-box;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.top-banner em span {
  flex-grow: 1;
  white-space: nowrap;
}

.top-banner em b {
  margin-left: 0px;
  font: inherit;
}

.top-sponsor {
  background: #ffffff;
}

.top-sponsor__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.top-sponsor__item {
  display: grid;
  min-height: 160px;
  place-items: center;
  border: 1px solid var(--top-line);
  color: var(--top-muted);
  font-weight: 700;
  text-decoration: none;
  background: #f5f5f5;
}

.top-links {
  position: relative;
  z-index: 2;
  padding: 54px 0 52px;
  background: #ffffff;
}

.top-links__inner {
  width: min(100% - 48px, var(--top-width));
  margin-inline: auto;
  text-align: center;
}

.top-links__heading h2 {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  color: var(--top-blue);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}

.top-links__heading h2::before,
.top-links__heading h2::after {
  display: block;
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
}

.top-links__heading h2::before {
  transform: rotate(45deg);
}

.top-links__heading h2::after {
  transform: rotate(-45deg);
}

.top-links__heading p {
  margin: 24px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.top-links__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 42px;
  margin-top: 38px;
}

.top-links__nav a {
  color: var(--top-blue);
  font-weight: 700;
  text-decoration: none;
}

.top-links__nav span {
  margin-left: 2px;
}

.top-footer {
  position: relative;
  z-index: 2;
  padding: 36px 0 34px;
  border: 2px solid var(--top-blue);
  color: #ffffff;
  background: var(--top-blue-dark);
}

.top-footer__inner {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(380px, 1fr) minmax(
      150px,
      220px
    );
  gap: 58px;
  align-items: end;
  width: min(100% - 120px, 994px);
  margin-inline: auto;
}

.top-footer__brand img {
  width: 299px;
  max-width: 100%;
  margin-bottom: 26px;
}

.top-footer__brand p {
  margin: 0 0 14px;
  font-weight: normal;
  line-height: 1.6;
}

.top-footer__map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 28px;
  margin: -2px 0 24px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
}

.top-footer__brand .top-footer__tel {
  margin-top: 0;
}

.top-footer__menus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 76px;
  align-self: center;
}

.top-footer__nav {
  display: grid;
  gap: 16px;
  align-content: start;
}

.top-footer__nav a {
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-weight: normal;
  line-height: 1.4;
  text-decoration: none;
}

.top-footer__actions {
  display: grid;
  gap: 22px;
  justify-items: end;
  align-self: end;
}

.top-footer__sns {
  display: flex;
  gap: 28px;
  align-items: center;
}

.top-footer__sns-link {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.top-footer__sns-link--instagram {
  border: 4px solid currentColor;
  border-radius: 12px;
}

.top-footer__sns-link--instagram::before {
  display: block;
  width: 16px;
  height: 16px;
  border: 4px solid currentColor;
  border-radius: 50%;
  content: "";
}

.top-footer__sns-link--instagram::after {
  position: absolute;
  width: 5px;
  height: 5px;
  margin: -20px 0 0 22px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.top-footer__sns-link--facebook {
  border-radius: 50%;
  background: #ffffff;
  color: var(--top-blue-dark);
}

.top-footer__latest {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 180px;
  border: 2px solid var(--top-red);
  border-radius: 24px;
  color: var(--top-red);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  writing-mode: vertical-rl;
  background: #ffffff;
}

.top-footer__latest span {
  font-family: var(--font-display);
  font-size: 10px;
  writing-mode: horizontal-tb;
}

.top-footer__copy {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 20px 0 21px;
  color: var(--top-ink);
  font-family: var(--font-display);
  font-size: 13px;
  text-align: center;
  background: #ffffff;
}

@media (max-width: 980px) {
  .top-feature-slider {
    width: 92%;
  }

  .top-feature-slider__arrow {
    width: 38px;
    height: 38px;
  }

  .top-news__grid,
  .top-sponsor__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-business__content,
  .top-banners,
  .top-footer__inner {
    grid-template-columns: 1fr;
  }

  .top-links__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-footer__inner {
    width: min(100% - 48px, var(--top-width));
  }

  .top-footer__actions {
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
    justify-items: start;
  }

  .top-business__graph {
    max-width: 500px;
    margin-inline: auto;
  }

  .top-business__summary {
    max-width: 620px;
    margin-inline: auto;
    padding-top: 0;
  }

  .top-jobs__list {
    grid-template-columns: repeat(5, 100px);
  }
}

@media (max-width: 720px) {
  .top-header {
    position: fixed;
    background: #ffffff;
  }

  .top-header__logo {
    width: 210px;
    margin: 10px 0 10px 14px;
  }

  .top-header__link {
    min-width: 104px;
    min-height: 48px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .top-main {
    padding-top: min(62vw, 420px);
  }

  .top-mv {
    top: 68px;
    height: min(62vw, 420px);
    min-height: 300px;
  }

  .top-mv img {
    object-position: center;
  }

  .top-mv__menu {
    display: none;
  }

  .top-feature-slider {
    width: 100%;
  }

  .top-feature-slide,
  .top-feature-slide img {
    min-height: 320px;
  }

  .top-feature-slide__overlay {
    bottom: 24px;
    left: 20px;
    width: min(520px, calc(100% - 40px));
  }

  .top-feature-slide__overlay h2 {
    font-size: 24px;
  }

  .top-feature-slide__overlay p {
    display: none;
  }

  .top-feature-slider__arrow {
    display: none;
  }

  .top-section__inner,
  .top-jobs__list,
  .top-banners,
  .top-links__inner,
  .top-footer__inner {
    width: min(100% - 32px, var(--top-width));
  }

  .top-links {
    padding: 42px 0;
  }

  .top-links__nav {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }

  .top-footer {
    padding: 34px 0;
  }

  .top-footer__menus {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .top-footer__actions {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .top-footer__latest {
    width: auto;
    min-height: 48px;
    padding: 0 18px;
    writing-mode: horizontal-tb;
  }

  .top-news__grid,
  .top-sponsor__grid {
    grid-template-columns: 1fr;
  }

  .top-section {
    padding: 56px 0;
  }

  .top-news__grid {
    gap: 22px;
  }

  .top-business {
    padding-top: 52px;
  }

  .top-business__amount {
    font-size: 38px;
  }

  .top-jobs__list {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 16px;
  }

  .top-banners {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .top-banner {
    min-height: 210px;
    padding: 34px 36px;
  }

  .top-banner::before {
    width: 64%;
    min-width: 220px;
  }

  .top-banner strong {
    font-size: 28px;
  }
}
