@charset "UTF-8";

/* ===== ページ全体の淡いグラデーション背景 ===== */
.page-bg {
  background:
    radial-gradient(60% 40% at 85% 45%, rgba(123, 215, 223, 0.18), transparent 70%),
    radial-gradient(55% 35% at 10% 55%, rgba(146, 183, 251, 0.18), transparent 70%),
    linear-gradient(180deg, #eef4fd 0%, #f2fbfc 30%, #fafdff 60%, #f4fafc 100%);
}

/* ===== ファーストビュー ===== */
.hero {
  position: relative;
  min-height: 1050px;
  overflow: hidden;
  padding-top: 140px;
}

.hero__ellipses {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__ellipses img {
  position: absolute;
  filter: blur(2px);
}

.hero__photo {
  position: absolute;
  top: -71px;
  left: 0;
  width: 100%;
  height: 1026px;
  object-fit: cover;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__wave {
  position: absolute;
  top: 148px;
  left: 50%;
  translate: -50% 0;
  width: 1445px;
  max-width: none;
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 150px;
  font-family: var(--font-hero);
}

.hero__title {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.36em;
  line-height: 1.6;
  text-indent: 0.36em;
}

.hero__title-en {
  margin-top: 90px;
  font-size: clamp(28px, 4.5vw, 65px);
  font-weight: 700;
  color: #fafafa;
  letter-spacing: 0.1em;
  white-space: nowrap;
  line-height: 1;
}

/* 画像スライダー（無限ループ） */
.hero__slider {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  overflow: hidden;
  width: 100%;
}

.hero__track {
  display: flex;
  gap: 33px;
  width: max-content;
  animation: slide 30s linear infinite;
}

.hero__track img {
  width: 450px;
  height: 262px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow1);
}

@keyframes slide {
  from {
    translate: 0 0;
  }
  to {
    translate: calc(-1 * (450px + 33px) * 3) 0;
  }
}

/* scrollインジケーター */
.hero__scroll {
  position: absolute;
  right: 120px;
  bottom: -40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--color-font);
}

.hero__scroll .txt {
  writing-mode: vertical-rl;
  font-size: 20px;
  letter-spacing: 0.05em;
}

.hero__scroll .line {
  width: 2px;
  height: 80px;
  background: var(--grad-btn);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% {
    scale: 1 0;
  }
  50% {
    scale: 1 1;
  }
  100% {
    scale: 1 0;
    transform-origin: bottom;
  }
}

/* ===== 装飾の黄色線 ===== */
.deco-wave {
  position: absolute;
  max-width: none;
  pointer-events: none;
  z-index: -1;
}

/* Aboutの上を横切る線（右上→左へゆるやかに下る） */
.deco-wave--1 {
  width: 1600px;
  height: 420px;
  top: -190px;
  right: -80px;
  transform: scaleX(-1);
}

/* ボタン下〜強み手前を横切る全幅の線 */
.deco-wave--3 {
  width: 103%;
  height: 80px;
  left: -20px;
  top: 585px;
  transform: scaleX(-1);
}

/* ===== About ===== */
.about {
  position: relative;
  padding: 120px 5% 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  backdrop-filter: blur(5px);
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.about__catch {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

/* ===== Strengths ===== */
.strengths {
  position: relative;
  overflow: hidden;
  padding: 120px 5%;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.strengths__list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.strengths__item {
  width: 270px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.strengths__num {
  font-family: var(--font-en);
  font-size: 48px;
  line-height: 1;
  background: linear-gradient(60deg, #92b7fb, #7bd7df);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.strengths__title {
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.strengths__icon {
  position: relative;
  width: 182px;
  height: 182px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow1);
}

.strengths__icon img {
  position: absolute;
}

.strengths__icon .icon01 {
  left: 28.8%;
  top: 22%;
  width: 78px;
  height: 102px;
}

.strengths__icon .icon02-wrap {
  position: absolute;
  inset: 24.18% 30.22%;
}

.icon02-wrap .p1 {
  inset: 39.99% 44.92% 0.63% 0;
  width: auto;
  height: auto;
}

.icon02-wrap .p2 {
  inset: 40.09% 0 0.53% 54.01%;
  width: auto;
  height: auto;
}

.icon02-wrap .p3 {
  inset: 4.26% 24.67% 60.01% 23.61%;
  width: auto;
  height: auto;
}

.strengths__icon .icon03-p1 {
  inset: 50.71% 22.6% 29.67% 22.8%;
  width: auto;
  height: auto;
}

.strengths__icon .icon03-p2 {
  inset: 29.67% 29.26% 51.04% 48.88%;
  width: auto;
  height: auto;
}

/* ===== Service ===== */
.service {
  padding: 120px 5%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  background: linear-gradient(91deg, #92b7fb 0%, #7bd7df 100%);
  color: #fff;
}

.service__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  width: min(1200px, 100%);
}

.service__lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
}

/* ===== Works ===== */
.works {
  padding: 120px 5%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.works__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  width: min(1200px, 100%);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  width: 100%;
}

.works-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.works-card__img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 580 / 387;
  box-shadow: var(--shadow1);
}

.works-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.5s ease;
}

.works-card:hover .works-card__img img {
  scale: 1.05;
}

.works-card__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.works-card__tag::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-btn);
}

/* ===== Voice ===== */
.voice-wrap {
  padding: 0 5%;
}

.voice {
  padding: 120px 40px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  background: rgba(249, 249, 249, 0.9);
  border-radius: 80px;
  box-shadow: var(--shadow2);
}

.voice__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  width: min(1200px, 100%);
}

.voice__list {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

/* ===== Media ===== */
.media {
  padding: 120px 5%;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.media__list {
  display: flex;
  gap: 130px;
  justify-content: center;
  flex-wrap: wrap;
}

.media-card {
  width: 404px;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.media-card__thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #d9d9d9;
  box-shadow: var(--shadow1);
  overflow: hidden;
  cursor: pointer;
}

.media-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.media-card__thumb:hover img {
  transform: scale(1.04);
}

/* YouTube風の再生ボタン */
.media-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  border-radius: 12px;
  background: rgba(28, 28, 28, 0.75);
  transition: background 0.3s;
  pointer-events: none;
}

.media-card__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}

.media-card__thumb:hover .media-card__play,
.media-card__thumb:focus-visible .media-card__play {
  background: #f00;
}

.media-card__thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.media-card__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #2c2d35;
}

.media-card__date {
  color: #2c2d35;
}

.media-card__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 45px;
  border-radius: 999px;
  background: var(--grad-text);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s;
}

.media-card__btn:hover {
  opacity: 0.85;
}

.media-card__btn img {
  width: 24px;
}

/* ===== Column & Blog ===== */
.column {
  padding: 120px 0 140px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.column__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  align-items: center;
}

.column__list {
  display: flex;
  gap: 24px;
  width: 100%;
  padding: 8px 0 16px 8%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.column-card {
  flex-shrink: 0;
  width: 306px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-snap-align: start;
}

.column-card__thumb {
  height: 203px;
  border-radius: 8px;
  background: #d9d9d9;
  box-shadow: 1px 1px 8px rgba(156, 156, 156, 0.25);
  overflow: hidden;
}

.column-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.column-card__tag {
  padding: 2px 26px;
  border-radius: 999px;
  background: var(--color-sub);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.column-card__date {
  font-family: var(--font-en);
  font-size: 13px;
}

.column-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

/* ===== レスポンシブ ===== */
@media (max-width: 1180px) {
  .hero {
    min-height: 0;
    padding-top: 120px;
    padding-bottom: 100px;
  }

  .hero__copy {
    margin-top: 80px;
  }

  .hero__title-en {
    margin-top: 48px;
    /* スマホでは1行に収まらないので折り返す（2026-09-11） */
    white-space: normal;
    text-align: center;
    padding: 0 6%;
    line-height: 1.3;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 900px) {
  .service__grid,
  .works__grid {
    grid-template-columns: 1fr;
  }

  .voice__list {
    justify-content: center;
  }

  .media__list {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .hero__title {
    letter-spacing: 0.15em;
    text-indent: 0.15em;
  }

  .about__text br,
  .service__lead br {
    display: none;
  }

  .service__lead {
    text-align: left;
  }

  .hero__track img {
    width: 300px;
    height: 175px;
  }

  @keyframes slide {
    from {
      translate: 0 0;
    }
    to {
      translate: calc(-1 * (300px + 33px) * 3) 0;
    }
  }

  .about,
  .strengths,
  .service,
  .works,
  .voice,
  .media,
  .column {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about {
    padding-bottom: 0;
  }

  .about__catch {
    font-size: 18px;
  }

  .about__text {
    text-align: left;
  }

  .voice-wrap {
    padding: 0 4%;
  }

  .voice {
    border-radius: 40px;
    padding-left: 6%;
    padding-right: 6%;
  }

  .voice {
    padding-left: 20px;
    padding-right: 20px;
  }

  .voice-card,
  .contact-card,
  .media-card {
    width: 100%;
    max-width: 404px;
  }

  .contact {
    border-radius: 40px 40px 0 0;
    padding: 80px 6% 60px;
  }

  .contact__head {
    gap: 24px;
  }
}
