@charset "UTF-8";

/* ヘッダーは common.css（全ページ共通） */

/* Home Hero */
.home-hero {
  width: 100%;
  height: 960px;
  position: relative;
  overflow: hidden;
  background-color: #1b2450;
  -webkit-animation: home-hero-enter 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: home-hero-enter 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@-webkit-keyframes home-hero-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes home-hero-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.home-hero-swiper .swiper-slide-active img {
  -webkit-animation: home-hero-zoom 5.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation: home-hero-zoom 5.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@-webkit-keyframes home-hero-zoom {
  from { -webkit-transform: scale(1.16) translate3d(-1.6%, -0.8%, 0); transform: scale(1.16) translate3d(-1.6%, -0.8%, 0); }
  to { -webkit-transform: scale(1); transform: scale(1); }
}

@keyframes home-hero-zoom {
  from { transform: scale(1.16) translate3d(-1.6%, -0.8%, 0); }
  to { transform: scale(1); }
}

.home-hero-swiper,
.home-hero-swiper .swiper-wrapper,
.home-hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.home-hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.home-hero-swiper .swiper-button-prev,
.home-hero-swiper .swiper-button-next {
  width: 56px;
  height: 56px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  color: transparent;
  z-index: 6;
}

.home-hero-swiper .swiper-button-prev {
  left: 24px;
}

.home-hero-swiper .swiper-button-next {
  right: 24px;
}

.home-hero-swiper .swiper-button-prev::after,
.home-hero-swiper .swiper-button-next::after {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.home-hero-swiper .swiper-button-prev::after {
  transform: rotate(-135deg);
}

.home-hero-swiper .swiper-button-next::after {
  transform: rotate(45deg);
}

.home-hero-top {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  top: auto;
  transform: none;
  z-index: 5;
  text-align: left;
  padding: 0 0 0 0;
  box-sizing: border-box;
}

.home-hero-top .home-hero-heading {
  margin: 0;
  font-family: var(--font-din-condensed);
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: none;
  transform: translateY(0.14em);
}

.home-hero-marquee {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

/* block レベルの flex + min-width でトラック幅を確定（inline-flex + translateX(-50%) が効かない環境対策） */
.home-hero-marquee-track {
  display: flex;
  flex-flow: row nowrap;
  align-items: baseline;
  width: max-content;
  min-width: max-content;
  flex-shrink: 0;
  -webkit-animation: home-hero-marquee-x 56s linear infinite;
  animation: home-hero-marquee-x 56s linear infinite;
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.home-hero-marquee-text {
  flex: 0 0 auto;
  white-space: nowrap;
}

@-webkit-keyframes home-hero-marquee-x {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
  }
}

@keyframes home-hero-marquee-x {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.home-hero-overlay {
  display: none !important;
}

/* Top sections */
.home-top2026 {
  background: #fff;
}

.home-top2026-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.home-top2026-section-bg {
  position: absolute;
  z-index: 0;
  font-family: var(--font-din-condensed);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27, 36, 80, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.home-top2026-section-bg-char {
  display: inline-block;
}

.home-top2026-news .home-top2026-section-bg {
  font-size: 300px;
}

.home-top2026-works .home-top2026-section-bg,
.home-top2026-services .home-top2026-section-bg {
  font-size: 250px;
}

.home-top2026-company .home-top2026-section-bg {
  font-size: 200px;
}

/* 背景文字：NEWS / SERVICES は右下 */
.home-top2026-news .home-top2026-section-bg {
  left: auto;
  top: auto;
  right: -0.2em;
  bottom: -90px;
  transform: none;
  text-align: right;
}

.home-top2026-services .home-top2026-section-bg {
  left: auto;
  top: auto;
  right: -0.2em;
  bottom: -70px;
  transform: none;
  text-align: right;
  color: rgba(27, 36, 80, 0.12);
  -webkit-text-stroke: 1.5px rgba(27, 36, 80, 0.08);
}

/* WORKS / COMPANY は左下 */
.home-top2026-works .home-top2026-section-bg {
  left: 0;
  top: auto;
  right: auto;
  bottom: -70px;
  transform: none;
  text-align: left;
  color: rgba(255, 255, 255, 0.06);
}

.home-top2026-company .home-top2026-section-bg {
  left: 0;
  top: auto;
  right: auto;
  bottom: -70px;
  transform: none;
  text-align: left;
  color: rgba(255, 255, 255, 0.06);
}

.home-top2026-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.home-top2026-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 68px;
  font-family: var(--font-din-condensed);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.2em;
  color: #1b2450;
}

.home-top2026-services .home-top2026-heading {
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}

.home-top2026-heading::after {
  content: "";
  display: block;
  width: 100px;
  height: 6px;
  margin-top: 20px;
  background-color: currentColor;
}

.home-top2026-heading-white {
  color: #fff;
}

.home-top2026-works .home-top2026-heading.home-top2026-heading-white {
  color: #6d81a9;
}

/* News（3列×420px + gap 16×2 = 1292px まで内幅を拡げる） */
.home-top2026-news .home-top2026-inner {
  width: min(1292px, calc(100% - 40px));
  max-width: none;
}

.home-top2026-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 420px));
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.home-top2026-news-card {
  width: 100%;
}

.home-top2026-card a {
  display: block;
  position: relative;
}

.home-top2026-card-image {
  overflow: hidden;
  margin-bottom: 0;
}

.home-top2026-news-card .home-top2026-card-image {
  position: relative;
}

.home-top2026-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.home-top2026-news-card .home-top2026-card-image img {
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.55s ease;
}

.home-top2026-news-card a:hover .home-top2026-card-image img,
.home-top2026-news-card a:focus-visible .home-top2026-card-image img {
  transform: scale(1.08);
}

.home-top2026-news-card .home-top2026-card-cat {
  position: absolute;
  right: 0px;
  bottom: 80px;
  z-index: 2;
  padding: 3px 14px;
  background: #1b2450;
  color: #fff;
  font-family: var(--font-din-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  min-width: 140px;
  text-align: center;
}

.home-top2026-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  box-sizing: border-box;
  height: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.72);
}

.home-top2026-card-meta .home-top2026-card-date {
  order: 2;
  flex-shrink: 0;
  margin-bottom: 0;
  font-family: var(--font-din-condensed);
  font-size: 16px;
  font-weight: 700;
  color: #1b2450;
  letter-spacing: 0;
  text-align: right;
}

.home-top2026-card-meta .home-top2026-card-title {
  order: 1;
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-top2026-button-wrap {
  text-align: center;
}

.home-top2026-button {
  min-width: 0;
  padding: 14px 28px 14px 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000c33;
  color: #fff;
  font-size: 18px;
  font-family: var(--font-din-condensed);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: 0;
  box-sizing: border-box;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease;
}

.home-top2026-button span {
  display: inline-block;
  line-height: 1;
  transform: translateY(0.12em);
}

.home-top2026-button:hover,
.home-top2026-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  background-color: #00134d;
}

.home-top2026-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.home-top2026-button::after {
  content: "";
  display: block;
  width: 0.42em;
  height: 0.42em;
  flex-shrink: 0;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

/* Works（Swiper：全幅・中央寄せ・ループ、カード 480px） */
.home-top2026-works {
  background: #1b2450;
  padding-bottom: 150px;
}

.home-top2026-works-carousel-outer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.home-top2026-works-swiper {
  width: 100%;
  max-width: 100%;
  padding: 0 0 12px;
  box-sizing: border-box;
  overflow: visible;
}

.home-top2026-works-swiper .swiper-slide {
  width: 480px;
  max-width: min(480px, calc(100vw - 32px));
  box-sizing: border-box;
}

.home-top2026-works-card {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
}

.home-top2026-works-card a {
  display: block;
}

.home-top2026-works-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.45s ease;
}

.home-top2026-works-card a:hover img,
.home-top2026-works-card a:focus-visible img {
  transform: scale(1.06);
}

.home-top2026-works-swiper .swiper-button-prev,
.home-top2026-works-swiper .swiper-button-next {
  color: rgba(255, 255, 255, 0.92);
}

.home-top2026-works-swiper .swiper-button-prev::after,
.home-top2026-works-swiper .swiper-button-next::after {
  font-size: 28px;
  font-weight: 700;
}

/* Services */
.home-top2026-services {
  background: #f7f7f7;
}

.home-top2026-services-copy {
  text-align: center;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
}

.home-top2026-services-text {
  max-width: 860px;
  margin: 0 auto 42px;
  font-size: 20px;
  line-height: 2;
  text-align: center;
  color: #3d3d3d;
  font-weight: 700;
}

.home-top2026-services-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 16px;
  align-items: start;
}

.home-top2026-services-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-top2026-services-item-iconwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 112px;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.home-top2026-services-item-iconwrap img {
  display: block;
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 96px;
  object-fit: contain;
}

.home-top2026-services-item-label {
  margin: 0;
  max-width: 220px;
  font-family: var(--font-din-condensed);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #8a8d92;
}

/* Company links */
.home-top2026-company {
  background: #050505;
}

.home-top2026-company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: stretch;
}

.home-top2026-company-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 0;
  text-align: center;
}

.home-top2026-company-heading {
  margin: 0 0 12px;
  font-family: var(--font-din-condensed);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #636b70;
}

.home-top2026-company-desc {
  width: 350px;
  max-width: 100%;
  margin: 0 auto 60px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #fff;
  text-align: center;
}

.home-top2026-company-card > a {
  display: block;
  width: 100%;
  max-width: 350px;
  margin-top: auto;
  overflow: hidden;
}

.home-top2026-company-card img {
  width: 100%;
  aspect-ratio: 4 / 4;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.home-top2026-company-card:hover img,
.home-top2026-company-card:focus-within img {
  opacity: 0.6;
}

@media only screen and (max-width: 767px) {
  .pc-only-br {
    display: none;
  }

  .home-hero {
    margin-top: 56px;
    height: 360px;
  }

  .home-hero-top {
    bottom: 16px;
    top: auto;
    padding: 0 0 0 14px;
    transform: none;
  }

  .home-hero-swiper .swiper-button-prev,
  .home-hero-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
  }

  .home-hero-swiper .swiper-button-prev {
    left: 8px;
  }

  .home-hero-swiper .swiper-button-next {
    right: 8px;
  }

  .home-hero-swiper .swiper-button-prev::after,
  .home-hero-swiper .swiper-button-next::after {
    width: 14px;
    height: 14px;
    border-top-width: 2px;
    border-right-width: 2px;
  }

  .home-hero-top .home-hero-heading {
    font-size: clamp(40px, 11.5vw, 72px);
    line-height: 1;
  }

  .home-hero-marquee-track {
    -webkit-animation-duration: 44s;
    animation-duration: 44s;
  }

  .home-top2026-section {
    padding: 52px 0;
  }

  .home-top2026-works {
    padding-bottom: 150px;
  }

  .home-top2026-inner {
    width: calc(100% - 32px);
  }

  .home-top2026-news .home-top2026-inner {
    width: calc(100% - 32px);
    max-width: none;
  }

  .home-top2026-news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-top2026-news .home-top2026-section-bg {
    font-size: 31vw;
    bottom: -3vw;
  }

  .home-top2026-works .home-top2026-section-bg {
    font-size: 24.4vw;
    bottom: -3vw;
  }

  .home-top2026-services .home-top2026-section-bg {
    font-size: 17.6vw;
    bottom: -3vw;
  }

  .home-top2026-company .home-top2026-section-bg {
    font-size: 17.6vw;
    bottom: -3vw;
  }

  .home-top2026-button {
    padding: 14px 22px 14px 26px;
  }

  .home-top2026-works-swiper .swiper-slide {
    max-width: min(480px, calc(100vw - 48px));
  }

  .home-top2026-services-copy {
    font-size: 20px;
    line-height: 1.5;
  }

  .home-top2026-services-text {
    margin-bottom: 28px;
    font-size: 13px;
    line-height: 1.8;
    text-align: left;
  }

  .home-top2026-services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 12px;
  }

  .home-top2026-services-list li {
    width: calc((100% - 24px) / 3);
  }

  .home-top2026-services-item-iconwrap {
    height: 96px;
    margin-bottom: 10px;
  }

  .home-top2026-services-item-iconwrap img {
    max-height: 80px;
  }

  .home-top2026-services-item-label {
    max-width: 100%;
    font-size: 14px;
  }

  .home-top2026-company-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-top2026-company {
    padding-bottom: 100px;
  }

  .home-top2026-company-card {
    width: 100%;
    min-width: 0;
  }

  .home-top2026-company-card > a {
    max-width: 100%;
  }

  .home-top2026-company-heading {
    margin-bottom: 10px;
    font-size: 28px;
    letter-spacing: 0.1em;
  }

  .home-top2026-company-desc {
    margin-bottom: 30px;
  }
}
