@charset "UTF-8";
/* ==========================================================================
   トップページ MV より下のセクション（2026-09 デザイン調整版）
   front-page.php でのみ読み込む（include/fc_enqueue_assets.php）
   ========================================================================== */

:root {
  /* 英字ラベル（白地） */
  --top-blue: #1f5fbf;
  /* 英字ラベル・リンク hover（黒地） */
  --top-blue-on-dark: #4d94ff;
  /* カードの矢印ボタン */
  --top-navy: #1b2b4b;
  --top-ink: #1d1d1d;
  --top-text: #4a4a4a;
  --top-mute: #6b6b6b;
  --top-line: #e3e6ea;
  --top-works-bg: #1c1c1c;
  --top-about-bg: #121212;
  --top-placeholder: #eef1f4;
  --top-gutter: clamp(20px, 4.6vw, 120px);
}

/* --------------------------------------------------------------------------
   共通
   -------------------------------------------------------------------------- */
.top-sec {
  padding-block: 110px;
  background: #fff;
  color: var(--top-ink);
  /* テーマの body は両端揃え。左揃えに戻す。 */
  text-align: left;
  text-justify: auto;
}

.top-sec *,
.top-sec *::before,
.top-sec *::after {
  box-sizing: border-box;
}

.top-sec--dark {
  background: var(--top-works-bg);
  color: #fff;
}

.top-sec--black {
  background: var(--top-about-bg);
  color: #fff;
}

.top-sec__inner {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding-inline: var(--top-gutter);
}

.top-sec img {
  display: block;
  max-width: 100%;
}

.top-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* セクション見出し */
.top-head {
  margin-bottom: 48px;
}

.top-head__en {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--top-blue);
}

.top-sec--dark .top-head__en,
.top-sec--black .top-head__en {
  color: var(--top-blue-on-dark);
}

.top-head__ja {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: inherit;
}

.top-head__lead {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--top-text);
}

.top-sec--dark .top-head__lead,
.top-sec--black .top-head__lead {
  color: #c9cfd8;
}

/* テキストリンク（〜を見る →） */
.top-more,
.top-more:link,
.top-more:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  color: var(--top-ink);
  transition: color 0.25s ease;
}

.top-more i {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.top-more:hover,
.top-more:focus-visible {
  color: var(--top-blue);
  text-decoration: none;
}

.top-more:hover i,
.top-more:focus-visible i {
  transform: translateX(3px);
}

.top-sec--dark .top-more,
.top-sec--black .top-more {
  color: #fff;
}

.top-sec--dark .top-more:hover,
.top-sec--black .top-more:hover,
.top-sec--dark .top-more:focus-visible,
.top-sec--black .top-more:focus-visible {
  color: var(--top-blue-on-dark);
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
}

/* 3列グリッド（サービス・制作事例・取組実績） */
.top-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 48px;
}

.top-grid__item {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   カード（サービス・取組実績）
   -------------------------------------------------------------------------- */
.top-card,
.top-card:link,
.top-card:visited {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--top-ink);
  text-decoration: none;
}

.top-card__thumb {
  overflow: hidden;
  border-radius: 4px;
  background: var(--top-placeholder);
}

.top-card__thumb--service {
  aspect-ratio: 2 / 1;
}

.top-card__thumb--interview {
  aspect-ratio: 800 / 520;
}

.top-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.top-card__body {
  flex: 1;
  padding-top: 18px;
}

.top-card__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: inherit;
  transition: color 0.25s ease;
}

.top-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--top-text);
}

.top-card__client {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--top-blue);
}

.top-card__labels {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--top-mute);
  /* ラベルが多い事例もあるので2行で切る */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top-card__arrow {
  align-self: flex-end;
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  margin-top: 16px;
  border-radius: 50%;
  background: var(--top-navy);
  color: #fff;
  font-size: 13px;
  transition: background-color 0.25s ease;
}

.top-card:hover .top-card__thumb img,
.top-card:focus-visible .top-card__thumb img {
  transform: scale(1.03);
}

.top-card:hover .top-card__title,
.top-card:focus-visible .top-card__title {
  color: var(--top-blue);
}

.top-card:hover .top-card__arrow,
.top-card:focus-visible .top-card__arrow {
  background: var(--top-blue);
}

/* --------------------------------------------------------------------------
   制作事例
   -------------------------------------------------------------------------- */
.top-grid--works {
  gap: 48px;
}

.top-work,
.top-work:link,
.top-work:visited {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: #26324a;
  color: #fff;
  text-decoration: none;
}

.top-work__shot {
  position: relative;
  aspect-ratio: 25 / 16;
  overflow: hidden;
  background: #0f1c2c;
}

.top-work__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

/* hover で暗幕＋外部リンクアイコン（MV の実績タイルと同じ見せ方） */
.top-work__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 18, 32, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.top-work__hover i {
  display: inline-block;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 19px;
  line-height: 50px;
  text-align: center;
  color: #fff;
}

a.top-work:hover .top-work__hover,
a.top-work:focus-visible .top-work__hover {
  opacity: 1;
}

a.top-work:focus-visible {
  outline: 2px solid var(--top-blue-on-dark);
  outline-offset: 3px;
}

.top-work__label {
  margin: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}

/* --------------------------------------------------------------------------
   アルファス CDグループについて
   -------------------------------------------------------------------------- */
.top-about__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.top-about__photo {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 919 / 520;
}

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

.top-about__title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.55;
  color: #fff;
}

.top-about__catch {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--top-blue-on-dark);
}

.top-about__body {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 2;
  color: #c9cfd8;
}

.top-about__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.top-about__item {
  overflow: hidden;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  background: #1d1d1d;
}

.top-about__item-photo {
  aspect-ratio: 560 / 320;
  overflow: hidden;
}

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

.top-about__item-body {
  padding: 20px 20px 24px;
}

.top-about__item-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}

.top-about__item-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #b9c0ca;
}

/* --------------------------------------------------------------------------
   お知らせ／コラム
   -------------------------------------------------------------------------- */
.top-info__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 80px;
}

.top-info__col {
  min-width: 0;
}

.top-info .top-head {
  margin-bottom: 28px;
}

.top-news {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--top-line);
}

.top-news li {
  border-bottom: 1px solid var(--top-line);
}

/* レイアウトは :link を付けない素のセレクタに書く（SP の上書きが詳細度で負けないように） */
.top-news__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 4px;
  text-decoration: none;
}

.top-news__item:link,
.top-news__item:visited {
  color: var(--top-ink);
}

.top-news__date {
  font-size: 14px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
  color: var(--top-mute);
}

.top-news__title {
  font-size: 15px;
  line-height: 1.8;
  transition: color 0.25s ease;
}

.top-news__item:hover .top-news__title,
.top-news__item:focus-visible .top-news__title {
  color: var(--top-blue);
}

.top-columns {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.top-column {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  text-decoration: none;
}

.top-column:link,
.top-column:visited {
  color: var(--top-ink);
}

.top-column__thumb {
  aspect-ratio: 400 / 260;
  overflow: hidden;
  border-radius: 4px;
  background: var(--top-placeholder);
}

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

.top-column__date {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  color: var(--top-mute);
}

.top-column__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  transition: color 0.25s ease;
}

.top-column:hover .top-column__title,
.top-column:focus-visible .top-column__title {
  color: var(--top-blue);
}

/* --------------------------------------------------------------------------
   tablet（〜1199px）
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 1199px) {
  .top-sec {
    padding-block: 90px;
  }

  .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 36px;
  }

  .top-about__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-bottom: 56px;
  }

  .top-about__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media only screen and (max-width: 900px) {
  .top-info__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   mobile（〜767px）
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .top-sec {
    padding-block: 72px;
  }

  .top-sec__inner {
    padding-inline: 20px;
  }

  .top-head {
    margin-bottom: 32px;
  }

  .top-head__ja {
    font-size: 28px;
  }

  .top-head__lead {
    margin-top: 14px;
    font-size: 14px;
  }

  .top-grid,
  .top-grid--works {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .top-card__title {
    font-size: 16px;
  }

  .top-about__title {
    font-size: 22px;
  }

  .top-about__body {
    font-size: 14px;
  }

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

  .top-news__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    padding: 16px 2px;
  }

  .top-column {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
  }

  .top-column__title {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   prefers-reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .top-card__thumb img,
  .top-work__hover,
  .top-more i {
    transition: none;
  }

  .top-card:hover .top-card__thumb img {
    transform: none;
  }
}
