/* =========================================
   Base
   ========================================= */
@font-face {
  font-family: "New Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url(https://www.garage.co.jp/wp/wp-content/themes/garage/assets/fonts/NewGrotesk-Regular.woff)
      format("woff"),
    url(https://www.garage.co.jp/wp/wp-content/themes/garage/assets/fonts/NewGrotesk-Regular.otf)
      format("opentype");
}

:root {
  /* 全体トーン：ネイビー＋ブルーグレー */
  --color-bg: #020617; /* ページ全体の背景 */
  --color-surface: #f8fafc; /* セクションやカードの面の色 */
  --color-text: #0b1120; /* 文字色（少し紺寄り） */
  --color-muted: #4b5563; /* サブテキスト（濃いめ） */
  --color-border: #cbd5f5; /* 枠線（青みのある薄いグレー） */
  --color-accent: #1d4ed8; /* アクセントのブルー */
  --color-accent-soft: rgba(37, 99, 235, 0.18);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;

  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.18);
  --nav-height: 70px;
  --page-pad: clamp(1.5rem, 4.5vw, 3.5rem);
}

::selection {
  background: var(--color-accent-soft);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "New Grotesk", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Yu Gothic", "游ゴシック体",
    Meiryo, "メイリオ", sans-serif;
  color: var(--color-text);
}

/* 共通のデフォルト背景（トップ以外でも使う） */
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #0b1f3b 0%, #020617 45%, #020617 100%);
  overflow-x: hidden;
  font-size: 16px;
}

/* ★TOPページ専用：グラデ＋背景画像の2レイヤー */
body.page-top {
  /* 1番目が手前（グラデーション）、2番目が奥（写真） */
  background-image:
    radial-gradient(
      circle at top,
      rgba(11, 31, 59, 0.90) 0%,
      rgba(2, 6, 23, 0.85) 45%,
      rgba(2, 6, 23, 0.95) 100%
    ),
    url("images/back1.jpg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


/* =========================================
   Page frame（フル幅）
   ========================================= */
.page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.page::before {
  display: none;
}

.page__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--page-pad);
}

main {
  flex: 1;
  background: transparent;
}

/* =========================================
   Header
   ========================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  /* ★グリーンイエロー → ネイビーへのグラデーション */
  background: linear-gradient(
    90deg,
  rgba(202, 255, 120, 0.92) 0%,   /* 黄緑っぽい */
    rgba(74, 222, 128, 0.92) 26%,  /* 少しグリーン寄り */
    rgba(15, 23, 42, 0.97) 62%,    /* ネイビーに寄せていく */
    rgba(15, 23, 42, 0.97) 100%
  );
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.55);
}


.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 会社ロゴ用に書き換え */
.nav__logo {
  display: flex;
  align-items: center;
}

/* 中の画像のサイズ調整（高さだけ決めておくと楽） */
.nav__logo img {
  display: block;
  height: 52px;   /* ロゴの見え方に合わせて 28〜40px くらいで調整してOK */
  width: auto;
}

.nav__title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #020617;
}

.nav__subtitle {
  font-size: 0.75rem;
  color: #020617;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
}

.nav__link {
  position: relative;
  cursor: pointer;
  color: #9ca3af;
  padding-block: 2px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #60a5fa;
  transition: width 0.2s ease;
}

.nav__link:hover {
  color: #f9fafb;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: #f9fafb;
}

.nav__link--active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #4b5563;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav__toggle-line {
  width: 16px;
  height: 2px;
  background: #e5e7eb;
  position: relative;
}

.nav__toggle-line::before,
.nav__toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: #e5e7eb;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav__toggle-line::before {
  top: -5px;
}

.nav__toggle-line::after {
  top: 5px;
}

.nav__toggle.is-open .nav__toggle-line {
  background: transparent;
}

.nav__toggle.is-open .nav__toggle-line::before {
  transform: rotate(45deg);
  top: 0;
}

.nav__toggle.is-open .nav__toggle-line::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 880px) {
  .nav__links {
    position: absolute;
    top: calc(var(--nav-height) + 8px);
    right: var(--page-pad);
    left: var(--page-pad);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #0b1120;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav__links.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .nav__toggle {
    display: inline-flex;
  }
}

/* =========================================
   Hero（共通）
   ========================================= */
.hero {
  position: relative;
  min-height: min(92vh, 800px);
  color: #ffffff;
  overflow: hidden;
}

/* 背景画像レイヤー */
.hero__image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.05);
  will-change: transform;
}

/* 各ページの背景画像 */
.hero--index .hero__image {
  background-image: url("images/drone1.jpg");
}
.hero--about .hero__image {
  background-image: url("images/back1.jpg");
}
.hero--cases .hero__image {
  background-image: url("images/cases-hero-drone.jpg");
  background-position: center center;
}
.hero--services .hero__image {
  background-image: url("images/services-ai-thermal-inspection.png");
  background-position: center top;
}
.hero--courses .hero__image {
  background-image: url("images/drone3.jpg");
}
.hero--contact .hero__image {
  background-image: url("images/drone2.jpg");
}

/* オーバーレイ */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 100, 235, 0.44), transparent 55%),
    linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.5) 0%,
      rgba(15, 23, 42, 0.6) 40%,
      rgba(15, 23, 42, 0.7) 100%
    );
}

/* ヒーロー内コンテンツ */
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: var(--page-pad);
  padding-top: clamp(3rem, 7vh, 4.5rem);
  padding-bottom: clamp(3rem, 10vh, 5.5rem);
  display: flex;
  align-items: flex-end;
}

.hero__content {
  max-width: 560px;
}

.hero__label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.95;
}

.hero__title {
  font-size: clamp(2.2rem, 3.3vw, 2.8rem);
  line-height: 1.3;
  margin-bottom: 14px;
}

/* グラデーション文字（警告波線対策つき） */
.hero__title span {
  background: linear-gradient(120deg, #f9d976, #f39f86);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 18px;
}

/* 画像の上の文字を読みやすくするための影 */
.hero__label,
.hero__title,
.hero__lead {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-main {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.85rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.btn-main:hover {
  transform: translateY(-1px);
  background: #e5edf9;
}

.btn-outline {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #f9fafb;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.btn-outline:hover {
  background: #ffffff;
  color: #111827;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.hero__meta strong {
  font-weight: 600;
}

@media (max-width: 880px) {
  .hero__inner {
    align-items: flex-end;
  }
}

/* =========================================
   Top Hero：写真を左に絞り、右にアクションパネル
   ========================================= */

.hero--index {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.65fr);
  min-height: min(72vh, 640px);
}

/* 左側の写真レーン */
.hero-index__media {
  position: relative;
  overflow: hidden;
}

.hero--index .hero__image {
  background-image: url("images/drone1.jpg");  /* ファイル名＆拡張子は実物に合わせる */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  transform: scale(1.08);
  transition: opacity 0.6s ease; /* フェード用 */
}
/* フェード中に一瞬薄くする */
.hero--index .hero__image.is-fading {
  opacity: 0;
}
.hero--index .hero__overlay {
  mix-blend-mode: normal;
}

/* 右側のヒーロー部分全体に背景画像を敷く */
.hero--index .hero__inner.hero-index {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding-inline: clamp(1.8rem, 4vw, 3rem);
  padding-top: clamp(2.4rem, 5vh, 3.4rem);
  padding-bottom: clamp(2.4rem, 6vh, 3.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3.5vw, 32px);
  align-items: center;

  /* ★ここから背景レイヤー */
  /* 1枚目：うっすら白グラデ（文字を読みやすくする） */
  /* 2枚目：一番後ろの写真 */
  background-image:
    linear-gradient(
      135deg,
      rgba(248, 250, 252, 0.6),
      rgba(226, 232, 240, 0.6)
    ),
    url("images/back1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* 左のメインコピー */
.hero-index__main {
  max-width: 640px;
}

.hero-index__title {
  font-size: clamp(2.1rem, 3.2vw, 2.7rem);
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-index__lead {
  font-size: 0.95rem;
  opacity: 0.96;
  margin-bottom: 18px;
}

/* 右側：Quick Access ＋ tags */
.hero-index__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

/* パネル（Quick Access） */
.hero-index__panel {
  border-radius: 20px;
  padding: 10px 12px;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(37, 99, 235, 0.45),
      rgba(15, 23, 42, 0.98)
    );
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  color: #f9fafb;
}

.hero-index__panel-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bfdbfe;
  margin-bottom: 6px;
}

.hero-index__panel-link {
  width: 100%;
  text-align: left;
  display: block;
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.4);
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    background 0.16s ease,
    transform 0.14s ease,
    border-color 0.16s ease;
}

.hero-index__panel-link:first-of-type {
  margin-top: 2px;
}

.hero-index__panel-link:hover {
  background: rgba(30, 64, 175, 0.95);
  border-color: rgba(191, 219, 254, 0.85);
  transform: translateY(-1px);
}

/* 技術タグ（Infrared / Drone / Rope） */
.hero-index__tags {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.hero-index__tag {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.75rem;
  color: #f9fafb;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}

.hero-index__tag-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
}

.hero-index__tag-text {
  font-size: 0.75rem;
  opacity: 0.96;
}

/* レスポンシブ調整 */
@media (max-width: 960px) {
  .hero--index {
    display: block;
    min-height: auto;
  }

  .hero-index__media {
    height: 42vh;
  }

  .hero--index .hero__inner.hero-index {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: var(--page-pad);
    padding-top: 1.8rem;
    padding-bottom: 2.2rem;
  }

  .hero-index__right {
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .hero-index__media {
    height: 38vh;
  }
}

/* =========================================
   INDEX ヒーローのテキストを濃い色にする
   ========================================= */

/* index のメインコピー部分だけ、文字色をダークに上書き */
.hero--index .hero__inner.hero-index,
.hero--index .hero-index__main {
  color: var(--color-text);
}

/* ラベル / タイトル / リード文も白→濃色に変更＆影を消す */
.hero--index .hero__label,
.hero--index .hero-index__title,
.hero--index .hero-index__lead {
  color: var(--color-text);
  text-shadow: none;
}

/* index ヒーロー内のリンク色 */
.hero--index .hero-index__main a {
  color: #1d4ed8;
}
.hero--index .hero-index__main a:hover {
  color: #1e3a8a;
}

/* 左側テキストブロック内のボタン（調査事例 / サービス一覧） */
.hero--index .hero-index__main .hero__actions .btn-main {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #f9fafb;
  text-shadow: none;
}

.hero--index .hero-index__main .hero__actions .btn-main:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
}

/* 「サービス一覧へ」が .btn-outline の場合 */
.hero--index .hero-index__main .hero__actions .btn-outline {
  background: transparent;
  border-color: #1d4ed8;
  color: #1d4ed8;
  text-shadow: none;
}

.hero--index .hero-index__main .hero__actions .btn-outline:hover {
  background: #e0edff;
  color: #1e3a8a;
}

/* =========================================
   右下：問い合わせショートカット（Side Dock）
   ========================================= */

.side-dock {
  position: fixed;
  right: clamp(1.4rem, 3.2vw, 3.2rem);
  bottom: clamp(4.2rem, 10vh, 6rem); /* 少し上に */
  top: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 25;
  pointer-events: none;
}

.side-dock__label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
  text-align: right;
  pointer-events: auto;
}

/* ボタン本体 */
.side-dock__item {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.8rem;
  color: #0f172a;
  text-decoration: none;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.8);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(191, 219, 254, 0.95),
      rgba(248, 250, 252, 0.98)
    );
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.side-dock__index {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: rgba(239, 246, 255, 0.95);
}

.side-dock__text {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.side-dock__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.5);
  background: radial-gradient(
      circle at 0% 0%,
      rgba(219, 234, 254, 1),
      rgba(248, 250, 252, 1)
    );
}

/* スマホでは非表示 */
@media (max-width: 960px) {
  .side-dock {
    display: none;
  }
}

/* =========================================
   Sections（淡いブルーグレー背景）
   ========================================= */
section {
  padding-block: clamp(2.7rem, 4.2vw, 3.7rem);
  background: radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.04),
      rgba(248, 250, 252, 1) 45%,
      rgba(241, 245, 249, 1) 100%
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--color-text);
}

.section-header {
  margin-bottom: 22px;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.section-lead {
  font-size: 0.95rem;
  color: #374151;
  max-width: 600px;
}

/* =========================================
   Media grid（画像・動画ギャラリー）
   ========================================= */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  background: #020617;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.media-card__thumb {
  position: relative;
  padding-top: 70%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
  will-change: transform;
}

.media-card--wide .media-card__thumb {
  padding-top: 52%;
}

.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.3) 40%,
    transparent 68%
  );
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.media-card__body {
  position: absolute;
  inset: auto 16px 12px;
  z-index: 1;
}

.media-card__tag {
  font-size: 0.75rem;
  margin-bottom: 4px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
}

.media-card__title {
  font-size: 0.98rem;
  margin-bottom: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.media-card__meta {
  font-size: 0.8rem;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.media-card--video::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  text-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
  opacity: 0.9;
}

.media-card:hover .media-card__thumb {
  transform: scale(1.06);
}

.media-card:hover::before {
  opacity: 0.95;
}

@media (max-width: 960px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .media-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   Utility grids
   ========================================= */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 880px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   Top の index カード群
   ========================================= */

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.index-grid--bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.index-card {
  position: relative;
  min-height: 150px;

  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.6);        /* 枠線を少しはっきり */
  background: #f9fafb;                               /* カードを白系にして背景と差をつける */
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);    /* ふわっと浮かせる影 */

  padding: 18px 20px 16px;
  font-size: 0.85rem;
  color: var(--color-muted);
  overflow: hidden;
}

.index-card__label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #64748b;
}

.index-card__title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.index-card__text {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #374151;
}

.index-card__link {
  font-size: 0.8rem;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.index-card__link::after {
  content: "↗";
  font-size: 0.75rem;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .index-grid,
  .index-grid--bottom {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   Footer（ワイド・シンプル情報レイアウト）
   ========================================= */

.footer {
  margin-top: auto;
  background:
    radial-gradient(
      circle at 0% 0%,               /* 左上からの光 */
      rgba(190, 242, 100, 0.50) 0%,
      rgba(15, 23, 42, 0.0) 52%
    ),
    #020617;                         /* ベースの紺色 */
  color: #e5e7eb;
  padding-block: 36px 20px;          /* 少しだけタイトに */
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--page-pad);
  display: flex;
  flex-direction: column;
  gap: 28px;                         /* 上・中・下段の間隔 */
}

/* 上段：ロゴ＋会社情報＋SNS */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;           /* 上端でそろえる */
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4); /* ← この線がバー */
}

.footer__brand-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 左側のロゴ＋社名の並び */
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* ロゴ（丸枠ナシ） */
.footer__logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: auto;
}

.footer__logo img {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* 社名＋タグライン */
.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__brand-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: #e5e7eb;
}

.footer__brand-tagline {
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer__address {
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.8;
  margin-top: 2px;
}

/* 右側ブロック（SNSだけ） */
.footer__cta-block {
  display: flex;
  align-items: flex-start;          /* ← 上端で合わせる */
  justify-content: flex-end;
}

/* SNSアイコンの並び */
.footer__sns {
  display: flex;
  gap: 10px;
}

/* アイコンの枠（中に画像を入れる） */
.footer__sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

/* 中のアイコン画像 */
.footer__sns-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0.95);
  transition:
    transform 0.16s ease,
    filter 0.16s ease;
}

/* ホバー時の軽い浮き上がり */
.footer__sns-icon:hover img {
  transform: translateY(-1px) scale(1.05);
  filter: brightness(1.05);
}

/* --- ここより下は既存の footer__nav-row / footer__bottom があればそのままでOK --- */

/* スマホ用レイアウト調整 */
@media (max-width: 720px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__cta-block {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* 中段：ナビゲーションカラム */
.footer__nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 0.82rem;
}

.footer__nav-group {
  min-width: 140px;
}

.footer__nav-title {
  font-size: 0.84rem;
  margin-bottom: 8px;
  color: #f9fafb;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-list li + li {
  margin-top: 4px;
}

.footer__nav-list a {
  color: #9ca3af;
  text-decoration: none;
}

.footer__nav-list a:hover {
  color: #ffffff;
}

/* 下段：コピーライト */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  font-size: 0.76rem;
  color: #6b7280;
}

.footer__bottom-links {
  display: flex;
  gap: 16px;
}

.footer__bottom-link {
  color: #9ca3af;
  text-decoration: none;
}

.footer__bottom-link:hover {
  color: #e5e7eb;
}

/* レスポンシブ */
@media (max-width: 880px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__cta-block {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .footer__nav-row {
    flex-direction: column;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================
   Scroll reveal（左右から流れ出る）
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.17, 0.67, 0.25, 1.05);
}

.reveal--left {
  transform: translateX(-80px);
}

.reveal--right {
  transform: translateX(80px);
}

/* 表示状態 */
.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* =========================================
   Parallax images（動的画像）
   ========================================= */
[data-parallax] {
  will-change: transform;
}

/* =========================================
   スクロール境界ライン（画面の端で動くライン）
   ========================================= */
.scroll-border {
  position: fixed;
  left: 0;
  top: 0;
  width: 2px;
  height: 100vh;
  transform-origin: top;
  transform: scaleY(0);
  background: linear-gradient(to bottom, #38bdf8, #1d4ed8);
  opacity: 0.85;
  pointer-events: none;
  z-index: 30;
}

.scroll-border--top {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 100vw;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(to right, #38bdf8, #1d4ed8);
  opacity: 0.75;
  pointer-events: none;
  z-index: 29;
}

/* =========================================
   流れるような文字アニメーション（左から）
   ========================================= */

/* アニメーション対象の h1 に .js-flowline を付ける想定 */
.hero-index__title.js-flowline {
  position: relative;
}

/* 1文字ずつ包む span（JS で生成） */
.js-flowline__line {
  display: block;
  overflow: hidden;
}

.js-flowline__char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-14px);
  filter: blur(2px);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out,
    filter 0.55s ease-out;
}

/* 表示トリガーがかかったとき */
.js-flowline.is-active .js-flowline__char {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* 予備：カーソル点滅が欲しくなった時用（今は未使用） */
@keyframes typing-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

/* =========================================
   TOP直下の全面ビジュアル（インパクト画像）
   ========================================= */

.impact-visual {
  padding: 0;
  border-bottom: none;
  background: transparent;
}

.impact-visual__image {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: clamp(260px, 70vh, 520px);
  background-image: url("images/landscape1.jpg"); /* ★ここに背景写真 */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 上にかぶせている暗めのグラデーションはそのまま */
.impact-visual__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.65),
      rgba(15, 23, 42, 0.25) 30%,
      rgba(15, 23, 42, 0.65) 100%
    );
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ▼ コピーを中央寄せで重ねるコンテナ ▼ */
.impact-visual__content {
  position: absolute;
  inset: 0;
  z-index: 1;              /* グラデーションの上に出す */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding-inline: clamp(1.5rem, 5vw, 3rem);
  color: #f9fafb;
}

/* 小さな肩書き的テキスト */
.impact-visual__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* メインコピー（2行分の共通スタイル） */
.impact-visual__message {
    max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);

  /* 初期状態：まだ見せない */
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
}

/* セクションに .impact-visual--active が付いたらアニメ再生 */
.impact-visual--active .impact-visual__message {
  animation: impactMessageSlideUp 3.2s ease-out forwards;
}

/* 2行目だけ少し遅らせる */
.impact-visual--active .impact-visual__message--2 {
  animation-delay: 1.0s;
}


/* スライド＋フェードインのキーフレーム */
@keyframes impactMessageSlideUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(2px);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* スマホで少し文字を小さめに */
@media (max-width: 720px) {
  .impact-visual__message {
    font-size: 0.95rem;
  }
}

/* =========================================
   Top 下：横スライド「コンテンツ一覧」(Swiper)
   ========================================= */

.front-link-slider {
  padding-block: clamp(2.4rem, 4vw, 3.2rem);
  background: radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.04),
      rgba(248, 250, 252, 1) 45%,
      rgba(241, 245, 249, 1) 100%
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.front-link-slider__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--page-pad);
}

.front-link-slider__title {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

/* Swiper コンテナ */
.front-link-swiper {
  position: relative;
  padding-bottom: 40px; /* 下のドットぶんの余白 */
}

.front-link-swiper .swiper-slide {
  height: auto;
}

/* バナー（画像のみの太い帯） */
.front-link-banner {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
}

/* 画像サイズを一定にする＆比率固定 */
.front-link-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.3 / 1; /* 横長のバナー比率 */
  object-fit: cover;
  display: block;
}

/* Swiper ナビゲーション矢印 */
.front-link-swiper__prev,
.front-link-swiper__next {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;

  top: 50%;
  transform: translateY(-50%);
  z-index: 3; /* 画像より上に出す */
}

.front-link-swiper__prev::after,
.front-link-swiper__next::after {
  font-size: 0.9rem;
  color: #0f172a;
}

/* ページネーション（ドット） */
.front-link-swiper__pagination {
  bottom: 0;
  text-align: center;
}

.front-link-swiper__pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 4px !important;
  background: #cbd5f5;
  opacity: 0.7;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.front-link-swiper__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.4);
  background: #1d4ed8;
}

/* スマホ時はパディング少し控えめ */
@media (max-width: 720px) {
  .front-link-slider {
    padding-block: 2.2rem;
  }

  .front-link-slider__title {
    font-size: 1rem;
  }
}

/* =========================================
   お困りごと & おすすめターゲット
   ========================================= */

.concerns {
  padding-block: clamp(2.6rem, 4vw, 3.4rem);

  /* ★ここを画像＋グラデーションに変更 */
  background:
    /* 上のレイヤー：少しだけ白っぽいベールで文字を読みやすくする */
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(241, 245, 249, 0.35) 40%,
      rgba(241, 245, 249, 0.5) 100%
    ),
    /* 下のレイヤー：背景画像 */
    url("images/landscape2.jpg") center center / cover no-repeat fixed;

  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.concerns__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* 2カラムレイアウト */
.concerns__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.concerns__block {
  border-radius: 18px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
}

/* 左側：お困りごとリスト */
.concerns__block--problems {
  background: radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.06),
      #ffffff 50%
    );
}

.concerns__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.concerns__list li {
  position: relative;
  padding-left: 1.6em;
  line-height: 1.7;
  color: #374151;
}

.concerns__list li + li {
  margin-top: 6px;
}

/* チェックマーク */
.concerns__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 999px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d4ed8;
  color: #f9fafb;
}

/* 右側：ターゲット明示ブロック */
.concerns__block--targets {
  background: #0f172a;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
}

.concerns__subheading {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.concerns__target-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.concerns__target-list li {
  position: relative;
  padding-left: 1.6em;
  font-size: 0.88rem;
  line-height: 1.7;
}

.concerns__target-list li + li {
  margin-top: 4px;
}

/* ターゲット側は「人」のアイコン風に */
.concerns__target-list li::before {
  content: "◎";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.8rem;
  color: #bfdbfe;
}

.concerns__note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #cbd5f5;
}

/* レスポンシブ：縦並びに */
@media (max-width: 880px) {
  .concerns__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   最新の情報（TOPトピック）
   ========================================= */

.latest-topics {
  padding-block: clamp(2.6rem, 4vw, 3.4rem);
  background: radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.04),
      rgba(248, 250, 252, 1) 45%,
      rgba(241, 245, 249, 1) 100%
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.latest-topics__header {
  margin-bottom: 18px;
}

.latest-topics__label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.latest-topics__title {
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: var(--color-text);
}

.latest-topics__lead {
  font-size: 0.9rem;
  color: #4b5563;
}

/* トピックカード3件 */
.latest-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.latest-topic-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.latest-topic-card__thumb {
  position: relative;
  padding-top: 55%;
  overflow: hidden;
}

.latest-topic-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.latest-topic-card__body {
  padding: 10px 12px 12px;
}

.latest-topic-card__tag {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.latest-topic-card__title {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 6px;
}

.latest-topic-card__meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* hover */
.latest-topic-card:hover .latest-topic-card__thumb img {
  transform: scale(1.05);
}

/* 「もっと見る」ボタンまわり */
.latest-topics__more-wrap {
  margin-top: 16px;
  text-align: right;
}

.latest-topics__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #ffffff;
  font-size: 0.8rem;
  color: #1d4ed8;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.latest-topics__more-btn:hover {
  background: #e0edff;
  color: #1e3a8a;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

/* もっと見るで開く部分 */
.latest-topics__more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    margin-top 0.3s ease;
}

.latest-topics__more.is-open {
  max-height: 500px;
  opacity: 1;
  margin-top: 10px;
}

.latest-topics__more-inner {
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.8);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.9);
}

.latest-topics__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.latest-topics__list li + li {
  margin-top: 6px;
}

.latest-topics__list a {
  color: #1f2933;
  text-decoration: none;
}

.latest-topics__list a:hover {
  text-decoration: underline;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .latest-topics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .latest-topics__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* =========================================
   調査実績セクション
   ========================================= */

.achievements {
  padding-block: clamp(2.8rem, 4.5vw, 3.8rem);
  background: radial-gradient(
      circle at top left,
      rgba(239, 68, 68, 0.06),
      rgba(248, 250, 252, 1) 45%,
      rgba(241, 245, 249, 1) 100%
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.achievements__note {
  font-size: 0.9rem;
  color: #6b7280;
}

.achievements__summary {
  font-size: 0.9rem;
  color: #374151;
  margin-top: 4px;
}

.achievements__total {
  font-weight: 700;
  color: #dc2626;
}

/* グリッドレイアウト */
.achievements__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1024px) {
  .achievements__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .achievements__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* カード本体 */
.achievement-card {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

/* 上の赤帯（カテゴリ＋棟数） */
.achievement-card__badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px;
  background: #ef4444;
  color: #fef2f2;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.achievement-card__type {
  white-space: nowrap;
}

.achievement-card__count {
  white-space: nowrap;
}
/* カード内の画像エリア（サイズそろえる） */
.achievement-card__image {
  position: relative;
  padding-top: 62%;   /* 画像の縦横比。好みで 60〜70% くらいに調整OK */
  overflow: hidden;
}

.achievement-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  /* 枠いっぱいにトリミングして表示 */
  display: block;
}

/* =========================================
   ドローンの活用分野：オービットレイアウト
   ========================================= */

.drone-possibilities {
  padding-block: clamp(2.8rem, 4.5vw, 3.8rem);
}

.drone-possibilities__header {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: left;
}

/* 円レイアウト全体 */
.drone-orbit {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  margin-top: 18px;
  aspect-ratio: 1 / 1; /* 正方形を維持して中に円を書く */
}

/* 背景の大きな円（薄い線） */
.drone-orbit::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background:
    radial-gradient(circle at center,
      rgba(37, 99, 235, 0.12),
      rgba(15, 23, 42, 0.03) 55%,
      transparent 70%);
}

/* 中央ドローンの塊 */
.drone-orbit__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  text-align: center;
  z-index: 2;
}

.drone-orbit__center-circle {
  width: 160px;
  max-width: 34vw;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 2px solid rgba(191, 219, 254, 0.9);
  background:
    radial-gradient(circle at 30% 10%, #38bdf8, #1d4ed8);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 中央の丸の中に画像をピッタリおさめる */
.drone-orbit__center-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* はみ出してもいいから隙間なしでトリミング */
  display: block;
}

.drone-orbit__center-caption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #e5e7eb;
  text-shadow: 0 1px 4px rgba(15, 23, 42, 0.9);
}

/* 外周の項目コンテナ */
.drone-orbit__items {
  position: absolute;
  inset: 0;
}

/* 外周の丸いサムネ */
.drone-orbit__item {
  position: absolute;
  width: 120px;
  max-width: 26vw;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.drone-orbit__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.45);
  background: #020617;
}

.drone-orbit__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.drone-orbit__label {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0b1120;
}

/* ホバーでふわっと拡大 */
.drone-orbit__item:hover .drone-orbit__thumb img {
  transform: scale(1.06);
}

/* 外周の配置（時計回りに 1〜8） */
.drone-orbit__item--1 { top: 7%;  left: 50%; }   /* 上 */
.drone-orbit__item--2 { top: 22%; left: 86%; }   /* 右上 */
.drone-orbit__item--3 { top: 50%; left: 97%; }   /* 右 */
.drone-orbit__item--4 { top: 78%; left: 86%; }   /* 右下 */
.drone-orbit__item--5 { top: 93%; left: 50%; }   /* 下 */
.drone-orbit__item--6 { top: 78%; left: 14%; }   /* 左下 */
.drone-orbit__item--7 { top: 50%; left: 3%;  }   /* 左 */
.drone-orbit__item--8 { top: 22%; left: 14%; }   /* 左上 */

/* スマホ向け調整 */
@media (max-width: 720px) {
  .drone-orbit {
    max-width: 420px;
  }
  .drone-orbit__item {
    width: 96px;
  }
  .drone-orbit__center-circle {
    width: 130px;
  }
}

@media (max-width: 480px) {
  /* かなり狭い画面では縦に並べるレイアウトへ切り替え */
  .drone-orbit {
    max-width: 360px;
    aspect-ratio: auto;
    padding-top: 1.4rem;
  }

  .drone-orbit::before {
    display: none;
  }

  .drone-orbit__center {
    position: static;
    transform: none;
    margin: 0 auto 18px;
  }

  .drone-orbit__items {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 6px;
  }

  .drone-orbit__item {
    position: static;
    transform: none;
    margin: 0 auto;
  }
}


/* =========================================
   CTA and lead form improvements
   ========================================= */
a.btn-main,
a.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-main--wide { width: 100%; min-height: 46px; }

.card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
  transition: transform 0.16s ease, background 0.16s ease;
}

.card__cta:hover { background: #1e3a8a; transform: translateY(-1px); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.form {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  padding: clamp(18px, 3vw, 28px);
}

.form__intro { margin-bottom: 20px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__row { display: flex; flex-direction: column; gap: 7px; }
.form__row--full { grid-column: 1 / -1; }

.form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
}

.form__required {
  border-radius: 999px;
  padding: 2px 7px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.68rem;
  line-height: 1.2;
}

.form__control {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px 12px;
  color: #0f172a;
  font: inherit;
  font-size: 16px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form__control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

textarea.form__control { min-height: 150px; resize: vertical; }
.form__control--file { padding: 9px; }
.form__hint, .form__note { color: #64748b; font-size: 0.82rem; line-height: 1.7; }
.form__actions { margin-top: 18px; }
.form__honeypot { position: absolute; left: -9999px; opacity: 0; }

.contact-info {
  position: sticky;
  top: calc(var(--nav-height) + 18px);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: #0f172a;
  color: #e5e7eb;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.contact-info .section-title,
.contact-info .section-label { color: #ffffff; }

.contact-info__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.9rem;
}

.contact-info__list li { position: relative; padding-left: 1.35em; }
.contact-info__list li::before { content: "✓"; position: absolute; left: 0; color: #93c5fd; }

.contact-info__box {
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.88rem;
  line-height: 1.7;
}

@media (max-width: 880px) {
  :root { --nav-height: 64px; --page-pad: clamp(1rem, 5vw, 1.5rem); }
  .nav { gap: 12px; }
  .nav__logo img { height: 44px; }
  .nav__links { gap: 8px; }
  .nav__link { width: 100%; padding: 10px 8px; font-size: 0.95rem; }
  .hero { min-height: 74vh; }
  .hero__actions, .form__actions { width: 100%; }
  .hero__actions .btn-main, .hero__actions .btn-outline { width: 100%; min-height: 46px; }
  .contact-layout, .form__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-info { position: static; }
}

@media (max-width: 520px) {
  .hero__title, .hero-index__title { font-size: 1.85rem; }
  .form { border-radius: 14px; padding: 16px; }
  .btn-main, .btn-outline, .card__cta { min-height: 48px; font-size: 0.92rem; }
}


/* =========================================
   Top compression restructure
   ========================================= */
.latest-topics--compact,
.achievements--reel,
.service-field {
  padding-block: clamp(2.2rem, 3.5vw, 3rem);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
}

.scroll-cue::after {
  content: "→";
  color: #1d4ed8;
  font-size: 0.95rem;
}

.latest-reel,
.achievement-reel,
.service-field__reel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 34%);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--page-pad);
  padding: 4px max(var(--page-pad), 1rem) 18px 0;
  margin-right: calc(var(--page-pad) * -1);
}

.latest-reel::-webkit-scrollbar,
.achievement-reel::-webkit-scrollbar,
.service-field__reel::-webkit-scrollbar {
  height: 8px;
}

.latest-reel::-webkit-scrollbar-thumb,
.achievement-reel::-webkit-scrollbar-thumb,
.service-field__reel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #22c55e);
}

.latest-reel-card,
.achievement-panel,
.service-field-card {
  scroll-snap-align: start;
}

.latest-reel-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.latest-reel-card__image {
  height: 145px;
  overflow: hidden;
  background: #0f172a;
}

.latest-reel-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.latest-reel-card--logo .latest-reel-card__image {
  background: #f8b84e;
}

.latest-reel-card--logo .latest-reel-card__image img {
  object-fit: contain;
  padding: 16px;
}

.latest-reel-card__body {
  padding: 12px 14px 14px;
}

.latest-reel-card__date {
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
}

.latest-reel-card__tag {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.latest-reel-card h3 {
  margin-top: 6px;
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.45;
}

.achievement-reel {
  grid-auto-columns: minmax(280px, 38%);
  perspective: 1200px;
}

.achievement-panel {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 18px;
  color: #ffffff;
  background: #020617;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
  transform: rotateY(-3deg);
  transform-origin: left center;
}

.achievement-panel:nth-child(even) {
  transform: rotateY(3deg);
}

.achievement-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
}

.achievement-panel__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 72px 18px 18px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.9) 38%, rgba(2, 6, 23, 0.98));
}

.achievement-panel__count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.92);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
}

.achievement-panel h3 {
  margin-top: 10px;
  font-size: 1.15rem;
}

.achievement-panel p {
  margin-top: 4px;
  color: #dbeafe;
  font-size: 0.86rem;
}

.achievement-panel a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #1d4ed8;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-field {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.82)),
    url("images/landscape2.jpg") center center / cover no-repeat;
  color: #f8fafc;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.service-field .section-title,
.service-field .section-label,
.service-field .section-lead {
  color: #f8fafc;
}

.service-field .scroll-cue {
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
}

.service-field-card {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(191, 219, 254, 0.35);
  background:
    radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.22), transparent 34%),
    rgba(15, 23, 42, 0.88);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.service-field-card__tag {
  color: #93c5fd;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-field-card h3 {
  margin-top: 8px;
  font-size: 1.12rem;
}

.service-field-card p {
  margin-top: 8px;
  color: #dbeafe;
  font-size: 0.88rem;
  line-height: 1.7;
}

.service-field-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
}

.service-field-card__chips span {
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.34);
  padding: 4px 9px;
  color: #bfdbfe;
  font-size: 0.76rem;
}

.service-field-card .card__cta {
  margin-top: 14px;
}

@media (max-width: 880px) {
  .latest-reel,
  .achievement-reel,
  .service-field__reel {
    grid-auto-columns: minmax(78vw, 78vw);
    padding-right: 18vw;
  }

  .scroll-cue {
    margin-bottom: 10px;
  }

  .achievement-panel {
    min-height: 300px;
    transform: none;
  }

  .achievement-panel:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 520px) {
  .latest-reel-card__image {
    height: 132px;
  }

  .service-field-card {
    min-height: 320px;
  }
}


/* About trust page */
.about-hero .hero__overlay {
  background:
    linear-gradient(90deg, rgba(7, 20, 40, 0.86) 0%, rgba(7, 20, 40, 0.62) 48%, rgba(7, 20, 40, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 20, 40, 0.18) 0%, rgba(7, 20, 40, 0.72) 100%);
}

.about-message-section,
.about-strengths-section,
.about-company-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.about-message-section {
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
}

.representative-message {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(25, 54, 86, 0.11);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(15, 35, 62, 0.09);
  color: #223047;
}

.representative-message h2 {
  margin: 12px 0 28px;
  color: #0b1f3a;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1.45;
  letter-spacing: 0;
}

.representative-message p {
  margin: 0 0 1.15em;
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
  line-height: 2;
}

.message-highlight {
  display: inline;
  padding: 0.1em 0.35em;
  background: linear-gradient(180deg, transparent 42%, rgba(96, 165, 250, 0.22) 42%);
  color: #0b3d73;
  font-weight: 700;
}

.message-question {
  margin: 34px 0 22px !important;
  padding: 20px clamp(18px, 4vw, 30px);
  background: #eef4fb;
  border-left: 4px solid #2d74b8;
  border-radius: 12px;
  color: #0b1f3a;
  font-size: clamp(1.18rem, 3.2vw, 1.55rem) !important;
  font-weight: 700;
  line-height: 1.7 !important;
}

.representative-message__signature {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 14px;
  margin-top: 34px;
  color: #0b1f3a;
}

.representative-message__signature span {
  font-size: 0.92rem;
  color: #607188;
}

.representative-message__signature strong {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-strengths-section {
  background: #ffffff;
}

.about-strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.about-strength-card {
  position: relative;
  min-height: 220px;
  padding: 28px 24px;
  background: #f8fbff;
  border: 1px solid rgba(25, 54, 86, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 35, 62, 0.06);
  overflow: hidden;
}

.about-strength-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(45, 116, 184, 0.16);
  border-radius: 50%;
}

.about-strength-card__number {
  display: inline-flex;
  margin-bottom: 24px;
  color: #2d74b8;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-strength-card h3 {
  margin: 0 0 14px;
  color: #0b1f3a;
  font-size: 1.08rem;
  line-height: 1.55;
}

.about-strength-card p {
  margin: 0;
  color: #52627a;
  line-height: 1.85;
  font-size: 0.94rem;
}

.about-company-section {
  background: #f4f7fb;
}

.about-company-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.45fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  background: #ffffff;
  border: 1px solid rgba(25, 54, 86, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15, 35, 62, 0.08);
}

.about-company-card__intro h2 {
  margin: 12px 0 12px;
  color: #0b1f3a;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.about-company-card__intro p {
  margin: 0;
  color: #607188;
  line-height: 1.8;
}

.about-company-list {
  margin: 0;
}

.about-company-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid #e2e9f2;
}

.about-company-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.about-company-list dt {
  color: #0b1f3a;
  font-weight: 700;
}

.about-company-list dd {
  margin: 0;
  color: #47566d;
  line-height: 1.85;
}

.about-bottom-cta {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #ffffff;
}

.about-cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(115deg, rgba(9, 31, 61, 0.96), rgba(20, 57, 95, 0.92)),
    url("images/drone1.jpg") center / cover;
  border-radius: 18px;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(11, 31, 58, 0.18);
}

.about-cta-panel .section-label {
  color: #9dccff;
}

.about-cta-panel h2 {
  margin: 12px 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.45;
  letter-spacing: 0;
}

.about-cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.about-cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  min-width: 250px;
}

.about-cta-panel .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 980px) {
  .about-strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-company-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .about-message-section,
  .about-strengths-section,
  .about-company-section {
    padding: 52px 0;
  }

  .representative-message {
    border-radius: 14px;
  }

  .representative-message__signature {
    display: block;
    text-align: right;
  }

  .representative-message__signature strong {
    display: block;
    margin-top: 6px;
  }

  .about-strength-grid {
    grid-template-columns: 1fr;
  }

  .about-company-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-cta-panel {
    display: block;
  }

  .about-cta-panel__actions {
    justify-content: stretch;
    min-width: 0;
    margin-top: 24px;
  }

  .about-cta-panel__actions .btn-main,
  .about-cta-panel__actions .btn-outline,
  .about-hero .hero__actions .btn-main,
  .about-hero .hero__actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}


/* IREP inspired YNG homepage */
body.page-top {
  background: #f5f7fb;
}

.irep-yng {
  background: #f5f7fb;
  color: #071426;
  overflow: hidden;
}

.irep-yng section {
  border-bottom: 0;
}

.iy-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  padding: clamp(54px, 7vw, 88px) var(--page-pad) clamp(58px, 7vw, 96px);
  background: #f6f8fb;
  color: #071426;
  overflow: hidden;
}

.iy-hero__inner,
.iy-intro,
.iy-services,
.iy-works,
.iy-news,
.iy-contact__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.iy-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 76svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.iy-hero__visual {
  position: absolute;
  right: max(var(--page-pad), calc((100vw - 1240px) / 2));
  top: 9%;
  width: min(46vw, 650px);
  height: min(68svh, 680px);
  border-radius: 50% 50% 42% 42%;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.18);
  z-index: 1;
}

.iy-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(3, 12, 28, 0.28));
}

.iy-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.iy-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0);
}

.iy-hero__orb--one {
  left: -9vw;
  top: 14vh;
  width: 28vw;
  aspect-ratio: 1;
  border: 1px solid rgba(29, 78, 216, 0.18);
  background: radial-gradient(circle, rgba(96, 165, 250, 0.18), transparent 65%);
}

.iy-hero__orb--two {
  right: 10vw;
  bottom: 8vh;
  width: 15vw;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(202, 255, 120, 0.34), transparent 67%);
}

.iy-kicker {
  margin: 0 0 14px;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.iy-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(3.8rem, 10vw, 9.7rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: #071426;
}

.iy-hero__lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #334155;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.9;
}

.iy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.iy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #071426;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.iy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.iy-button--dark {
  background: #071426;
  color: #ffffff;
}

.iy-button--light {
  background: rgba(255, 255, 255, 0.72);
  color: #071426;
}

.iy-hero__panel {
  position: relative;
  z-index: 3;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.iy-hero__panel p {
  margin: 0 0 14px;
  font-weight: 900;
  font-size: 1.2rem;
}

.iy-hero__panel ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.iy-hero__panel li {
  color: #475569;
  line-height: 1.7;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.iy-scroll {
  position: absolute;
  left: var(--page-pad);
  bottom: 28px;
  writing-mode: vertical-rl;
  color: #64748b;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.iy-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 72px;
  margin: 12px auto 0;
  background: linear-gradient(#071426, transparent);
  animation: iy-scroll-line 1.8s ease-in-out infinite;
}

@keyframes iy-scroll-line {
  0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.35; }
  50% { transform: scaleY(1); opacity: 1; }
}

.iy-marquee {
  padding: 20px 0;
  background: #071426 !important;
  color: #ffffff;
  overflow: hidden;
}

.iy-marquee__track {
  display: flex;
  width: max-content;
  gap: 42px;
  animation: iy-marquee 24s linear infinite;
}

.iy-marquee span {
  white-space: nowrap;
  font-size: clamp(1.8rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  opacity: 0.92;
}

@keyframes iy-marquee {
  to { transform: translateX(-50%); }
}

.iy-intro,
.iy-services,
.iy-works,
.iy-news {
  padding: clamp(72px, 10vw, 138px) var(--page-pad);
}

.iy-section-head {
  margin: 0 auto 42px;
}

.iy-section-head h2 {
  max-width: 920px;
  margin: 0;
  color: #071426;
  font-size: clamp(2.2rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.iy-section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 32px;
  align-items: end;
}

.iy-section-head--split > p,
.iy-intro__grid p {
  color: #475569;
  line-height: 1.9;
  font-size: 1rem;
}

.iy-intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  max-width: 940px;
  margin-left: auto;
}

.iy-awards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 var(--page-pad) clamp(72px, 10vw, 128px);
  width: min(1240px, 100%);
  margin: 0 auto;
  gap: 1px;
  background: transparent !important;
}

.iy-award {
  min-height: 230px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.iy-award:first-child {
  border-radius: 26px 0 0 26px;
}

.iy-award:last-child {
  border-radius: 0 26px 26px 0;
}

.iy-award span {
  color: #1d4ed8;
  font-weight: 900;
}

.iy-award h3 {
  margin: 54px 0 10px;
  color: #071426;
  font-size: 1.35rem;
  line-height: 1.2;
}

.iy-award p {
  color: #64748b;
  line-height: 1.7;
}

.iy-services {
  background: #ffffff !important;
}

.iy-service-stage {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 28px;
}

.iy-service-nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.iy-service-nav button {
  text-align: left;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.iy-service-nav button strong {
  color: #071426;
  font-size: 1rem;
}

.iy-service-nav button.is-active {
  background: #071426;
  color: #cbd5e1;
  transform: translateX(8px);
}

.iy-service-nav button.is-active strong {
  color: #ffffff;
}

.iy-service-display {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  padding: 22px;
  border-radius: 30px;
  background: #f5f7fb;
  border: 1px solid rgba(15, 23, 42, 0.09);
}

.iy-service-display__image {
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
  background: #071426;
}

.iy-service-display__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.25s ease;
}

.iy-service-display.is-changing img {
  opacity: 0.22;
  transform: scale(1.08);
}

.iy-service-display__body {
  padding: clamp(8px, 2vw, 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.iy-service-display h3 {
  margin: 0 0 16px;
  color: #071426;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.iy-service-display p,
.iy-service-display li {
  color: #475569;
  line-height: 1.85;
}

.iy-service-display ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.iy-service-display li::before {
  content: "→";
  margin-right: 8px;
  color: #1d4ed8;
  font-weight: 900;
}

.iy-service-display .iy-button {
  align-self: flex-start;
  margin-top: 28px;
}

.iy-works {
  background: #f5f7fb !important;
}

.iy-work-rail,
.iy-news-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 430px);
  gap: 18px;
  overflow-x: auto;
  padding: 6px var(--page-pad) 22px 0;
  margin-right: calc(var(--page-pad) * -1);
  scroll-snap-type: x mandatory;
}

.iy-work-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 28px;
  background: #071426;
  scroll-snap-align: start;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

.iy-work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 0.7s ease;
}

.iy-work-card:hover img {
  transform: scale(1.06);
}

.iy-work-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(7, 20, 38, 0.78);
  backdrop-filter: blur(14px);
  color: #ffffff;
}

.iy-work-card span {
  color: #caff78;
  font-weight: 900;
}

.iy-work-card h3 {
  margin: 8px 0;
  font-size: 1.6rem;
}

.iy-work-card p {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

.iy-news {
  background: #ffffff !important;
}

.iy-text-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  color: #071426;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.iy-news-list article {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.iy-news-list img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f8fafc;
}

.iy-news-list time,
.iy-news-list h3 {
  display: block;
  margin-inline: 20px;
}

.iy-news-list time {
  margin-top: 20px;
  color: #1d4ed8;
  font-weight: 900;
}

.iy-news-list h3 {
  margin-top: 10px;
  margin-bottom: 24px;
  color: #071426;
  line-height: 1.5;
}

.iy-contact {
  padding: clamp(82px, 12vw, 150px) var(--page-pad);
  background:
    linear-gradient(115deg, rgba(7,20,38,0.95), rgba(7,20,38,0.74)),
    url("images/drone1.jpg") center / cover no-repeat !important;
  color: #ffffff;
}

.iy-contact__inner h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.iy-contact__inner p:not(.iy-kicker) {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
}

.iy-contact .iy-button--light {
  border-color: rgba(255,255,255,0.7);
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .iy-hero__inner,
  .iy-section-head--split,
  .iy-service-stage,
  .iy-service-display,
  .iy-intro__grid {
    grid-template-columns: 1fr;
  }

  .iy-hero__visual {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 46svh;
    margin: 0 auto 28px;
    border-radius: 32px;
  }

  .iy-hero__inner {
    min-height: auto;
  }

  .iy-hero__panel {
    max-width: 640px;
  }

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

  .iy-award:first-child,
  .iy-award:last-child {
    border-radius: 0;
  }

  .iy-service-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, max-content);
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .iy-service-nav button.is-active {
    transform: translateY(-2px);
  }

  .iy-service-display__image {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .iy-hero {
    padding-top: 28px;
  }

  .iy-hero h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .iy-actions .iy-button {
    width: 100%;
  }

  .iy-awards {
    grid-template-columns: 1fr;
  }

  .iy-award,
  .iy-award:first-child,
  .iy-award:last-child {
    border-radius: 20px;
  }

  .iy-work-rail,
  .iy-news-list {
    grid-auto-columns: minmax(280px, 86vw);
    padding-right: 18vw;
  }

  .iy-work-card {
    min-height: 430px;
  }
}


.iy-contact__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.iy-contact__quicklinks a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.84rem;
}


/* IREP visual refinement */
html {
  font-family: "Zen Kaku Gothic New", "Shippori Mincho B1", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

body.page-top {
  background:
    radial-gradient(circle at 12% 0%, rgba(29, 78, 216, 0.22), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #0c1828 42%, #111b28 100%);
}

.irep-yng {
  background: #0c1828;
  color: #eef5ff;
}

.iy-hero {
  min-height: calc(100svh - var(--nav-height));
  background:
    radial-gradient(circle at 18% 22%, rgba(83, 211, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #0b1625 64%, #0c1828 100%) !important;
  color: #ffffff;
}

.iy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.038) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 76%);
  pointer-events: none;
}

.iy-hero__visual {
  right: max(var(--page-pad), calc((100vw - 1280px) / 2));
  top: 8%;
  width: min(58vw, 850px);
  height: min(76svh, 780px);
  border-radius: 0;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.46);
}

.iy-hero__visual::after {
  background:
    linear-gradient(90deg, rgba(7,17,31,0.72), rgba(7,17,31,0.16) 48%, rgba(7,17,31,0.18)),
    linear-gradient(180deg, rgba(7,17,31,0.08), rgba(7,17,31,0.58));
}

.iy-hero h1,
.iy-section-head h2,
.iy-contact__inner h2 {
  font-family: "Shippori Mincho B1", "Zen Kaku Gothic New", serif;
  font-weight: 700;
}

.iy-hero h1 {
  color: #f8fbff;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.iy-hero__lead,
.iy-section-head--split > p,
.iy-intro__grid p,
.iy-hero__panel li {
  color: #c7d4e5;
}

.iy-hero__panel {
  background: rgba(7, 17, 31, 0.72);
  color: #f8fbff;
  border-color: rgba(148, 189, 230, 0.2);
}

.iy-hero__panel li {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.iy-button--light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
}

.iy-button--dark {
  background: #f8fbff;
  color: #07111f;
  border-color: #f8fbff;
}

.iy-marquee {
  background: #050b14 !important;
}

.iy-intro,
.iy-works {
  background:
    radial-gradient(circle at 92% 4%, rgba(202, 255, 120, 0.12), transparent 25%),
    #0c1828 !important;
}

.iy-section-head h2,
.iy-award h3,
.iy-service-display h3,
.iy-news-list h3,
.iy-jump-card h3 {
  color: #f8fbff;
}

.iy-possibility {
  position: relative;
  padding: clamp(76px, 10vw, 142px) var(--page-pad);
  background:
    radial-gradient(circle at 16% 18%, rgba(83, 211, 255, 0.16), transparent 28%),
    radial-gradient(circle at 84% 74%, rgba(202, 255, 120, 0.14), transparent 26%),
    linear-gradient(135deg, #08111e 0%, #101e30 58%, #08111e 100%) !important;
  color: #f8fbff;
  overflow: hidden;
}

.iy-possibility::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.55;
  pointer-events: none;
}

.iy-possibility__inner {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.iy-service-orbit {
  position: relative;
  min-height: 640px;
  margin-top: clamp(30px, 5vw, 64px);
}

.iy-service-orbit::before {
  content: "";
  position: absolute;
  inset: 12% 14%;
  border: 1px solid rgba(148, 189, 230, 0.16);
  border-radius: 42px;
  transform: rotate(-3deg);
}

.iy-service-orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: min(260px, 58vw);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 20%, rgba(83, 211, 255, 0.32), transparent 34%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
  backdrop-filter: blur(16px);
}

.iy-service-orbit__core span {
  color: #8bd8ff;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 900;
}

.iy-service-orbit__core strong {
  margin-top: 8px;
  color: #ffffff;
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.05;
}

.iy-service-node {
  position: absolute;
  z-index: 2;
  width: min(260px, 42vw);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.76);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
  backdrop-filter: blur(14px);
}

.iy-service-node img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  border-radius: 15px;
  filter: saturate(0.95) contrast(1.06);
}

.iy-service-node h3 {
  margin: 14px 0 6px;
  color: #ffffff;
  font-family: "Shippori Mincho B1", serif;
  font-size: 1.42rem;
}

.iy-service-node p {
  color: #c7d4e5;
  line-height: 1.7;
  font-size: 0.9rem;
}

.iy-service-node--one { left: 0; top: 7%; }
.iy-service-node--two { right: 3%; top: 4%; }
.iy-service-node--three { left: 8%; bottom: 2%; }
.iy-service-node--four { right: 0; bottom: 7%; }

.iy-service-arrow {
  position: absolute;
  z-index: 1;
  width: 170px;
  height: 56px;
  border-top: 2px solid rgba(139, 216, 255, 0.42);
  border-right: 2px solid rgba(139, 216, 255, 0.42);
  border-radius: 0 30px 0 0;
  animation: iy-arrow-flow 2.4s ease-in-out infinite;
}

.iy-service-arrow::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -6px;
  width: 11px;
  height: 11px;
  border-top: 2px solid #caff78;
  border-right: 2px solid #caff78;
  transform: rotate(45deg);
}

.iy-service-arrow--a { left: 23%; top: 26%; transform: rotate(18deg); }
.iy-service-arrow--b { right: 24%; top: 26%; transform: scaleX(-1) rotate(18deg); animation-delay: 0.35s; }
.iy-service-arrow--c { left: 25%; bottom: 25%; transform: scaleY(-1) rotate(18deg); animation-delay: 0.7s; }
.iy-service-arrow--d { right: 25%; bottom: 25%; transform: scale(-1, -1) rotate(18deg); animation-delay: 1.05s; }

@keyframes iy-arrow-flow {
  0%, 100% { opacity: 0.32; filter: drop-shadow(0 0 0 rgba(83,211,255,0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 12px rgba(83,211,255,0.5)); }
}

.iy-jump-links {
  padding: clamp(70px, 10vw, 130px) var(--page-pad);
  background: #0f1b2a !important;
}

.iy-jump-links > * {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.iy-jump-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.iy-jump-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 22px 58px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, background 0.25s ease;
}

.iy-jump-card:hover {
  transform: translateY(-8px);
  background:
    radial-gradient(circle at 0 0, rgba(83,211,255,0.22), transparent 42%),
    rgba(255,255,255,0.08);
}

.iy-jump-card--contact {
  background:
    radial-gradient(circle at 100% 0, rgba(202,255,120,0.26), transparent 42%),
    rgba(255,255,255,0.08);
}

.iy-jump-card span {
  color: #8bd8ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.iy-jump-card h3 {
  margin: 12px 0 10px;
  font-size: 1.4rem;
}

.iy-jump-card p {
  color: #c7d4e5;
  line-height: 1.7;
}

.iy-awards,
.iy-news,
.iy-services {
  background: #101b2a !important;
}

.iy-award,
.iy-news-list article,
.iy-service-display {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255,255,255,0.12);
}

.iy-award p,
.iy-news-list time,
.iy-service-display p,
.iy-service-display li {
  color: #c7d4e5;
}

.iy-service-nav button {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.12);
  color: #c7d4e5;
}

.iy-service-nav button strong {
  color: #f8fbff;
}

.iy-service-nav button.is-active {
  background: #f8fbff;
  color: #102033;
}

.iy-service-nav button.is-active strong {
  color: #07111f;
}

@media (max-width: 980px) {
  .iy-hero__visual {
    width: 100%;
    height: 48svh;
    clip-path: none;
  }

  .iy-service-orbit {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .iy-service-orbit::before,
  .iy-service-arrow {
    display: none;
  }

  .iy-service-orbit__core,
  .iy-service-node {
    position: static;
    transform: none;
    width: 100%;
  }

  .iy-service-orbit__core {
    aspect-ratio: auto;
    min-height: 180px;
    border-radius: 24px;
  }

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

@media (max-width: 640px) {
  .iy-jump-grid {
    grid-template-columns: 1fr;
  }
}


/* IREP compact orbit update */
.iy-hero h1 {
  max-width: 620px;
  font-size: clamp(3rem, 7.6vw, 7.4rem);
  line-height: 0.96;
}

.iy-section-head h2 {
  font-size: clamp(1.85rem, 4.8vw, 4.6rem);
  line-height: 1.08;
}

.iy-contact__inner h2 {
  font-size: clamp(2rem, 5.6vw, 5.2rem);
}

.iy-marquee span {
  font-size: clamp(1.35rem, 3.8vw, 3.6rem);
}

.iy-hero__lead,
.iy-section-head--split > p,
.iy-intro__grid p,
.iy-service-display p,
.iy-service-display li,
.iy-award p,
.iy-jump-card p {
  font-size: 0.94rem;
}

.iy-kicker {
  font-size: 0.72rem;
}

.iy-possibility--orbit {
  padding-top: clamp(62px, 8vw, 112px);
  padding-bottom: clamp(70px, 9vw, 124px);
}

.iy-possibility-orbit {
  position: relative;
  width: min(940px, 100%);
  min-height: 720px;
  margin: clamp(30px, 5vw, 58px) auto 0;
}

.iy-possibility-orbit__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(620px, 72vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(139, 216, 255, 0.32);
  border-radius: 50%;
  box-shadow:
    inset 0 0 90px rgba(83, 211, 255, 0.06),
    0 0 110px rgba(83, 211, 255, 0.08);
  animation: iy-ring-breathe 5s ease-in-out infinite;
}

@keyframes iy-ring-breathe {
  0%, 100% { opacity: 0.48; transform: translate(-50%, -50%) scale(0.985); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.02); }
}

.iy-possibility-orbit__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  width: min(210px, 42vw);
  text-align: center;
}

.iy-possibility-orbit__core img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(139, 216, 255, 0.75);
  box-shadow: 0 28px 70px rgba(0,0,0,0.32);
}

.iy-possibility-orbit__core p {
  margin-top: 12px;
  color: #dceaff;
  font-size: 0.86rem;
  line-height: 1.65;
}

.iy-possibility-node {
  position: absolute;
  z-index: 3;
  width: 138px;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  animation: iy-node-float 4.6s ease-in-out infinite;
}

.iy-possibility-node img {
  width: 138px;
  height: 138px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(139, 216, 255, 0.64);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
}

.iy-possibility-node h3 {
  margin: 10px 0 0;
  color: #f8fbff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
}

.iy-possibility-node--aerial { left: 50%; top: 0; transform: translateX(-50%); }
.iy-possibility-node--logistics { right: 12%; top: 14%; animation-delay: .2s; }
.iy-possibility-node--survey { right: 0; top: 43%; animation-delay: .4s; }
.iy-possibility-node--spray { right: 12%; bottom: 7%; animation-delay: .6s; }
.iy-possibility-node--inspection { left: 50%; bottom: -1%; transform: translateX(-50%); animation-delay: .8s; }
.iy-possibility-node--race { left: 12%; bottom: 7%; animation-delay: 1s; }
.iy-possibility-node--entertainment { left: 0; top: 43%; animation-delay: 1.2s; }
.iy-possibility-node--construction { left: 12%; top: 14%; animation-delay: 1.4s; }

@keyframes iy-node-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

.iy-possibility-arrow {
  position: absolute;
  z-index: 2;
  width: 170px;
  height: 74px;
  border-top: 2px solid rgba(139, 216, 255, 0.32);
  border-right: 2px solid rgba(139, 216, 255, 0.32);
  border-radius: 0 42px 0 0;
  animation: iy-arrow-flow 2.6s ease-in-out infinite;
}

.iy-possibility-arrow::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -6px;
  width: 11px;
  height: 11px;
  border-top: 2px solid #caff78;
  border-right: 2px solid #caff78;
  transform: rotate(45deg);
}

.iy-possibility-arrow--one { left: 24%; top: 23%; transform: rotate(21deg); }
.iy-possibility-arrow--two { right: 24%; top: 23%; transform: scaleX(-1) rotate(21deg); animation-delay: .35s; }
.iy-possibility-arrow--three { left: 24%; bottom: 20%; transform: scaleY(-1) rotate(21deg); animation-delay: .7s; }
.iy-possibility-arrow--four { right: 24%; bottom: 20%; transform: scale(-1, -1) rotate(21deg); animation-delay: 1.05s; }

.iy-news .iy-section-head h2 {
  max-width: 700px;
}

.iy-news-list {
  overflow-x: auto;
  overflow-y: hidden;
  align-items: stretch;
  scrollbar-width: thin;
}

.iy-news-list article {
  height: auto;
  max-height: none;
  overflow: hidden;
}

.iy-news-list img {
  height: 190px;
}

.iy-news-list h3 {
  font-size: 1.02rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .iy-possibility-orbit {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .iy-possibility-orbit__ring,
  .iy-possibility-arrow {
    display: none;
  }

  .iy-possibility-orbit__core,
  .iy-possibility-node,
  .iy-possibility-node--aerial,
  .iy-possibility-node--logistics,
  .iy-possibility-node--survey,
  .iy-possibility-node--spray,
  .iy-possibility-node--inspection,
  .iy-possibility-node--race,
  .iy-possibility-node--entertainment,
  .iy-possibility-node--construction {
    position: static;
    transform: none;
    width: 100%;
  }

  .iy-possibility-orbit__core {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
  }

  .iy-possibility-orbit__core img,
  .iy-possibility-node img {
    width: min(132px, 36vw);
    height: min(132px, 36vw);
  }
}

@media (max-width: 560px) {
  .iy-hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.35rem);
  }

  .iy-section-head h2 {
    font-size: clamp(1.72rem, 9vw, 3.1rem);
  }

  .iy-possibility-orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .iy-possibility-node h3 {
    font-size: 0.9rem;
  }
}


/* Source Han Sans JP + Tahoma typography */
:root {
  --font-ja: "Source Han Sans JP", "源ノ角ゴシック", "Noto Sans CJK JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-en: Tahoma, Verdana, Arial, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-en), var(--font-ja);
  letter-spacing: 0;
}

body {
  font-feature-settings: "palt" 0;
}

.iy-hero h1,
.iy-section-head h2,
.iy-contact__inner h2,
.iy-service-display h3,
.iy-work-card h3,
.iy-news-list h3,
.iy-jump-card h3,
.iy-possibility-node h3,
.iy-possibility-orbit__core strong {
  font-family: var(--font-en), var(--font-ja);
  letter-spacing: 0;
}

.iy-hero h1 {
  font-size: clamp(2.9rem, 7.1vw, 6.9rem);
  line-height: 1;
  font-weight: 700;
}

.iy-section-head h2 {
  font-size: clamp(1.8rem, 4.45vw, 4.25rem);
  line-height: 1.14;
  font-weight: 700;
}

.iy-contact__inner h2 {
  font-size: clamp(1.95rem, 5.2vw, 4.85rem);
  line-height: 1.12;
  font-weight: 700;
}

.iy-kicker,
.iy-marquee span,
.iy-button,
.iy-service-nav button,
.iy-award span,
.iy-work-card span,
.iy-jump-card span,
.iy-news-list time,
.nav__title,
.nav__subtitle,
.nav__link {
  font-family: var(--font-en), var(--font-ja);
  letter-spacing: 0.04em;
}

.iy-kicker {
  letter-spacing: 0.08em;
}

.iy-marquee span {
  font-size: clamp(1.28rem, 3.5vw, 3.25rem);
  letter-spacing: 0.01em;
  font-weight: 700;
}

.iy-hero__lead,
.iy-section-head--split > p,
.iy-intro__grid p,
.iy-service-display p,
.iy-service-display li,
.iy-award p,
.iy-jump-card p,
.iy-news-list h3,
.iy-possibility-orbit__core p,
.iy-contact__inner p:not(.iy-kicker) {
  letter-spacing: 0;
  line-height: 1.82;
}

.iy-service-display h3 {
  font-size: clamp(1.72rem, 3.6vw, 3.65rem);
  line-height: 1.12;
}

.iy-work-card h3,
.iy-jump-card h3 {
  font-size: 1.32rem;
  line-height: 1.28;
}

.iy-possibility-node h3 {
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

@media (max-width: 560px) {
  .iy-hero h1 {
    font-size: clamp(2.45rem, 13.5vw, 3.95rem);
  }

  .iy-section-head h2 {
    font-size: clamp(1.62rem, 8.2vw, 2.85rem);
  }
}


/* Copy refinement and roadmap possibility */
.iy-section-head h2 {
  max-width: 760px;
}

.iy-services .iy-section-head h2 {
  max-width: 540px;
}

.iy-works .iy-section-head h2 {
  max-width: 720px;
}

.reveal {
  transition-duration: 1.15s;
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.iy-possibility--roadmap {
  padding-top: clamp(64px, 8vw, 116px);
  padding-bottom: clamp(74px, 9vw, 128px);
}

.iy-possibility--roadmap .iy-section-head {
  margin-bottom: clamp(34px, 5vw, 62px);
}

.iy-possibility-roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.iy-possibility-roadmap::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(139,216,255,0), rgba(139,216,255,0.58), rgba(202,255,120,0.54), rgba(139,216,255,0));
  transform: translateY(-50%);
  animation: iy-roadmap-line 7s ease-in-out infinite;
}

@keyframes iy-roadmap-line {
  0%, 100% { opacity: 0.28; filter: blur(0); }
  50% { opacity: 0.9; filter: drop-shadow(0 0 14px rgba(139,216,255,0.42)); }
}

.iy-roadmap-card {
  position: relative;
  z-index: 2;
  min-height: 250px;
  display: grid;
  grid-template-rows: auto 132px 1fr;
  gap: 12px;
  grid-column: span 3;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.13);
  background:
    radial-gradient(circle at 0 0, rgba(83,211,255,0.14), transparent 34%),
    rgba(7, 17, 31, 0.78);
  box-shadow: 0 24px 68px rgba(0,0,0,0.24);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.iy-roadmap-card:nth-child(2n) {
  margin-top: 54px;
}

.iy-roadmap-card--wide {
  grid-column: span 4;
}

.iy-roadmap-card span {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(202,255,120,0.14);
  color: #caff78;
  font-family: var(--font-en), var(--font-ja);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.iy-roadmap-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 15px;
  filter: saturate(0.94) contrast(1.05);
}

.iy-roadmap-card h3 {
  margin: 0 0 5px;
  color: #f8fbff;
  font-family: var(--font-en), var(--font-ja);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.iy-roadmap-card p {
  margin: 0;
  color: #c7d4e5;
  font-size: 0.88rem;
  line-height: 1.72;
  letter-spacing: 0;
}

.iy-roadmap-card::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 13px;
  color: rgba(139,216,255,0.62);
  font-size: 1.2rem;
  animation: iy-roadmap-arrow 5.6s ease-in-out infinite;
}

.iy-roadmap-card:nth-child(2)::after { animation-delay: .35s; }
.iy-roadmap-card:nth-child(3)::after { animation-delay: .7s; }
.iy-roadmap-card:nth-child(4)::after { animation-delay: 1.05s; }
.iy-roadmap-card:nth-child(5)::after { animation-delay: 1.4s; }
.iy-roadmap-card:nth-child(6)::after { animation-delay: 1.75s; }
.iy-roadmap-card:nth-child(7)::after { animation-delay: 2.1s; }
.iy-roadmap-card:nth-child(8)::after { animation-delay: 2.45s; }

@keyframes iy-roadmap-arrow {
  0%, 100% { transform: translateX(0); opacity: 0.34; }
  50% { transform: translateX(7px); opacity: 1; }
}

.iy-roadmap-card.reveal {
  transform: translateY(34px) scale(0.985);
}

.iy-roadmap-card.reveal.is-visible {
  transform: none;
}

.iy-roadmap-card:nth-child(1) { transition-delay: .08s; }
.iy-roadmap-card:nth-child(2) { transition-delay: .2s; }
.iy-roadmap-card:nth-child(3) { transition-delay: .32s; }
.iy-roadmap-card:nth-child(4) { transition-delay: .44s; }
.iy-roadmap-card:nth-child(5) { transition-delay: .56s; }
.iy-roadmap-card:nth-child(6) { transition-delay: .68s; }
.iy-roadmap-card:nth-child(7) { transition-delay: .8s; }
.iy-roadmap-card:nth-child(8) { transition-delay: .92s; }

.iy-possibility-orbit,
.iy-possibility-orbit__core,
.iy-possibility-node,
.iy-service-node,
.iy-service-arrow,
.iy-possibility-arrow {
  display: none;
}

@media (max-width: 1080px) {
  .iy-roadmap-card,
  .iy-roadmap-card--wide {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .iy-possibility-roadmap {
    display: grid;
    grid-template-columns: 1fr;
  }

  .iy-possibility-roadmap::before {
    left: 18px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: none;
    background: linear-gradient(180deg, rgba(139,216,255,0), rgba(139,216,255,0.58), rgba(202,255,120,0.54), rgba(139,216,255,0));
  }

  .iy-roadmap-card,
  .iy-roadmap-card--wide {
    grid-column: auto;
    margin-top: 0 !important;
    margin-left: 24px;
    min-height: auto;
  }
}


/* Roadmap card width normalization */
.iy-roadmap-card,
.iy-roadmap-card--wide {
  grid-column: span 3;
}

.iy-roadmap-card {
  min-height: 248px;
}

@media (max-width: 1080px) {
  .iy-roadmap-card,
  .iy-roadmap-card--wide {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .iy-roadmap-card,
  .iy-roadmap-card--wide {
    grid-column: auto;
  }
}


/* About page compact trust visual update */
.about-hero .hero__image,
.hero--about .hero__image {
  background-image: url("images/about-main-drone-building.jpg");
  background-position: 58% 50%;
  filter: saturate(0.96) contrast(1.04);
}

.about-hero .hero__overlay {
  background:
    linear-gradient(90deg, rgba(6, 17, 32, 0.88) 0%, rgba(8, 24, 43, 0.68) 48%, rgba(8, 24, 43, 0.22) 100%),
    linear-gradient(180deg, rgba(13, 39, 63, 0.18), rgba(5, 14, 28, 0.42));
}

.about-hero .hero__inner {
  max-width: 1080px;
}

.about-hero .hero__copy {
  max-width: 690px;
}

.about-hero .hero__copy h1 {
  font-family: var(--font-ja);
  font-size: clamp(2.15rem, 5.3vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.about-hero .hero__copy p {
  max-width: 620px;
  font-size: clamp(0.98rem, 1.8vw, 1.13rem);
  line-height: 1.9;
  color: rgba(246, 250, 255, 0.9);
}

.about-message-section,
.about-strengths-section,
.about-company-section {
  padding: clamp(46px, 6vw, 78px) 0;
}

.about-message-section {
  background:
    linear-gradient(180deg, #eef4fa 0%, #f7fafc 48%, #ffffff 100%);
}

.representative-message {
  max-width: 860px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(56, 86, 119, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 252, 0.96));
  box-shadow: 0 18px 48px rgba(10, 31, 58, 0.1);
}

.representative-message h2,
.representative-message p,
.message-highlight,
.message-question,
.representative-message__signature {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Source Han Serif JP", "Noto Serif CJK JP", serif;
}

.representative-message h2 {
  margin: 8px 0 22px;
  font-size: clamp(1.42rem, 3vw, 2.05rem);
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: #10243e;
}

.representative-message p {
  margin-bottom: 0.92em;
  font-size: clamp(0.94rem, 1.7vw, 1.02rem);
  line-height: 2.02;
  color: #24364d;
}

.message-highlight,
.message-question {
  margin: 1.15em 0;
  padding: 14px 18px;
  border-left: 3px solid #2b84b8;
  border-radius: 0 8px 8px 0;
  background: rgba(226, 239, 248, 0.8);
  color: #0b2944;
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  line-height: 1.8;
}

.representative-message__signature {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(43, 70, 98, 0.14);
  color: #152945;
}

.representative-message__signature span {
  color: #6a7888;
  font-size: 0.84rem;
}

.representative-message__signature strong {
  font-size: clamp(1.15rem, 2.4vw, 1.42rem);
  letter-spacing: 0.08em;
}

.about-strengths-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
}

.about-strength-grid {
  gap: 16px;
}

.about-strength-card {
  min-height: 178px;
  padding: 24px 22px;
  border-color: rgba(55, 84, 118, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(10, 30, 55, 0.08);
}

.about-strength-card__number {
  margin-bottom: 14px;
  color: #2b84b8;
  font-family: var(--font-en);
  font-size: 0.84rem;
}

.about-strength-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
  line-height: 1.5;
  letter-spacing: 0;
}

.about-strength-card p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #516176;
}

.about-company-section {
  background: #edf3f8;
}

.about-company-card {
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(26px, 4.5vw, 46px);
  border: 1px solid rgba(57, 84, 113, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(8, 28, 50, 0.09);
}

.about-company-card__intro h2 {
  font-size: clamp(1.42rem, 2.6vw, 2rem);
  letter-spacing: 0;
}

.about-company-card__intro p,
.about-company-list dd {
  color: #526176;
  line-height: 1.8;
}

.about-company-list div {
  grid-template-columns: 118px 1fr;
  padding: 15px 0;
}

.about-company-list dt {
  color: #18314d;
}

.about-bottom-cta {
  padding: clamp(42px, 6vw, 74px) 0;
  background:
    linear-gradient(135deg, rgba(7, 22, 39, 0.96), rgba(17, 55, 82, 0.94));
}

.about-cta-panel {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 780px) {
  .about-hero .hero__image,
  .hero--about .hero__image {
    background-position: 56% 50%;
  }

  .about-hero .hero__copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .about-message-section,
  .about-strengths-section,
  .about-company-section {
    padding: 42px 0;
  }

  .representative-message {
    padding: 26px 20px;
  }

  .representative-message p {
    line-height: 1.9;
  }

  .about-strength-card {
    min-height: auto;
    padding: 22px 20px;
  }

  .about-company-list div {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }
}


/* Homepage loader and depth navigation update */
.iy-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(40, 130, 190, 0.28), transparent 34%),
    linear-gradient(135deg, #06101f 0%, #0d1b2f 48%, #15243a 100%);
  color: #f5f9ff;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.iy-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.iy-loader__ring {
  width: clamp(118px, 18vw, 188px);
  aspect-ratio: 1;
  border: 1px solid rgba(145, 202, 255, 0.25);
  border-top-color: #9ee8ff;
  border-right-color: rgba(255, 170, 92, 0.78);
  border-radius: 50%;
  animation: iyLoaderSpin 1.15s linear infinite;
  box-shadow: 0 0 48px rgba(85, 185, 255, 0.18), inset 0 0 28px rgba(85, 185, 255, 0.12);
}

.iy-loader__body {
  position: absolute;
  display: grid;
  gap: 6px;
  text-align: center;
  font-family: var(--font-en), var(--font-ja);
}

.iy-loader__label,
.iy-loader__body small {
  font-size: 0.72rem;
  color: rgba(235, 246, 255, 0.66);
}

.iy-loader__body strong {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

@keyframes iyLoaderSpin {
  to { transform: rotate(360deg); }
}

.iy-hero__visual img {
  transform-origin: 50% 58%;
}

body.iy-loaded .iy-hero__visual img {
  animation: iyHeroFloatIn 1.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes iyHeroFloatIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(1.08);
    filter: blur(10px) brightness(0.72);
  }
  62% {
    opacity: 1;
    filter: blur(0) brightness(1.05);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0) brightness(1);
  }
}

.iy-nav-system {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 67% 44%, rgba(71, 151, 208, 0.2), transparent 34%),
    linear-gradient(135deg, #071322 0%, #101f34 46%, #172c43 100%);
  color: #edf6ff;
}

.iy-nav-system__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(390px, 1.35fr) minmax(240px, 0.85fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
}

.iy-nav-system__left h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.iy-nav-system__left p:not(.iy-kicker) {
  margin: 0 0 18px;
  color: rgba(231, 242, 252, 0.72);
  font-size: 0.88rem;
  line-height: 1.85;
}

.iy-nav-links {
  display: grid;
  gap: 8px;
}

.iy-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 246, 255, 0.12);
  border-radius: 999px;
  color: rgba(245, 249, 255, 0.82);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.iy-nav-links a:hover {
  transform: translateX(6px);
  border-color: rgba(139, 216, 255, 0.44);
  background: rgba(139, 216, 255, 0.11);
}

.iy-nav-links span {
  font-family: var(--font-en);
  color: #8bd8ff;
  font-size: 0.72rem;
}

.iy-nav-orbit {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  perspective: 950px;
  cursor: ew-resize;
  user-select: none;
}

.iy-nav-orbit__space {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(219, 241, 255, 0.12);
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    radial-gradient(ellipse at center, rgba(119, 197, 255, 0.18), transparent 58%);
  box-shadow: inset 0 0 58px rgba(92, 182, 255, 0.08), 0 28px 70px rgba(0, 0, 0, 0.28);
}

.iy-nav-orbit__space::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(173, 220, 255, 0.34), transparent);
  transform: rotateX(70deg);
}

.iy-nav-planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(154px, 20vw, 210px);
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px;
  border: 1px solid rgba(220, 241, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(245, 250, 255, 0.18), rgba(255, 255, 255, 0.055));
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform, opacity;
}

.iy-nav-planet:hover {
  border-color: rgba(255, 184, 108, 0.64);
  box-shadow: 0 22px 58px rgba(255, 148, 72, 0.2);
}

.iy-nav-planet span {
  font-family: var(--font-en);
  color: #8bd8ff;
  font-size: 0.72rem;
}

.iy-nav-planet strong {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.iy-nav-planet small {
  color: rgba(232, 243, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.55;
}

.iy-nav-planet--contact {
  background: linear-gradient(145deg, rgba(255, 166, 90, 0.28), rgba(255, 255, 255, 0.07));
}

.iy-nav-orbit__hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(232, 243, 255, 0.58);
  font-size: 0.76rem;
  white-space: nowrap;
}

.iy-nav-points {
  display: grid;
  gap: 10px;
}

.iy-nav-points article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  align-items: start;
  padding: 14px 15px;
  border: 1px solid rgba(223, 242, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.iy-nav-points span {
  grid-row: span 2;
  color: #8bd8ff;
  font-family: var(--font-en);
  font-size: 0.78rem;
}

.iy-nav-points strong {
  color: #ffffff;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.iy-nav-points p {
  margin: 0;
  color: rgba(230, 242, 252, 0.68);
  font-size: 0.78rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .iy-nav-system__inner {
    grid-template-columns: 1fr;
  }

  .iy-nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .iy-nav-orbit {
    min-height: 300px;
  }

  .iy-nav-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .iy-nav-system {
    padding-inline: 16px;
  }

  .iy-nav-links,
  .iy-nav-points {
    grid-template-columns: 1fr;
  }

  .iy-nav-orbit {
    min-height: 250px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    cursor: grab;
  }

  .iy-nav-orbit__space {
    position: relative;
    display: flex;
    gap: 14px;
    min-width: 720px;
    padding: 32px 18px 46px;
    overflow: visible;
  }

  .iy-nav-planet {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 158px;
    min-height: 122px;
    transform: none !important;
    opacity: 1 !important;
    scroll-snap-align: start;
  }

  .iy-nav-orbit__hint {
    bottom: 12px;
  }
}


/* Wheel diagonal orbit refinement */
.iy-nav-orbit {
  cursor: ns-resize;
}

.iy-nav-orbit__space {
  border: 0;
  background:
    radial-gradient(circle at 48% 42%, rgba(119, 197, 255, 0.18), transparent 34%),
    radial-gradient(circle at 72% 62%, rgba(255, 166, 90, 0.12), transparent 24%);
  box-shadow: none;
  overflow: visible;
}

.iy-nav-orbit__space::before {
  left: 2%;
  right: 2%;
  top: 52%;
  height: 1px;
  opacity: 0.42;
  transform: rotate(-14deg) rotateX(70deg);
}

.iy-nav-planet {
  border-color: rgba(220, 241, 255, 0.14);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(88, 177, 255, 0.1);
}

.iy-nav-orbit__hint {
  bottom: 2px;
}

.iy-nav-orbit__hint::before {
  content: "Wheel ";
  color: #8bd8ff;
  font-family: var(--font-en);
}


/* Nav orbit spacing cleanup */
.iy-nav-system {
  padding-top: clamp(48px, 7vw, 82px);
  padding-bottom: clamp(48px, 7vw, 82px);
}

.iy-nav-system__inner {
  grid-template-columns: minmax(170px, 0.55fr) minmax(460px, 1.55fr) minmax(230px, 0.78fr);
  gap: clamp(22px, 4vw, 52px);
}

.iy-nav-system__left {
  align-self: center;
}

.iy-nav-system__left h2 {
  max-width: 9em;
  margin-bottom: 0;
}

.iy-nav-links,
.iy-nav-orbit__hint {
  display: none;
}

.iy-nav-orbit {
  min-height: 340px;
}

.iy-nav-orbit__space {
  inset: -10px 0;
}

.iy-nav-points {
  max-width: 290px;
  justify-self: end;
}

.iy-nav-points article {
  padding: 12px 14px;
}

@media (max-width: 980px) {
  .iy-nav-system__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .iy-nav-system__left h2 {
    max-width: none;
  }

  .iy-nav-points {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 620px) {
  .iy-nav-orbit {
    min-height: 228px;
  }

  .iy-nav-orbit__space {
    inset: auto;
  }
}


/* About texture and get-in-touch CTA update */
.about-message-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(239, 246, 251, 0.92), rgba(255, 255, 255, 0.9)),
    url("images/about-texture-back1.jpg") center / cover fixed;
}

.about-message-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(220, 233, 241, 0.22));
  mix-blend-mode: screen;
}

.about-message-section .page__inner {
  position: relative;
  z-index: 1;
}

.message-highlight--nowrap {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1.45;
}

.about-strength-card {
  overflow: hidden;
}

.about-strength-card:nth-child(1) {
  border-top: 4px solid #2f8fd4;
  background: linear-gradient(145deg, #ffffff 0%, #edf7ff 100%);
}

.about-strength-card:nth-child(2) {
  border-top: 4px solid #2aa889;
  background: linear-gradient(145deg, #ffffff 0%, #eefaf5 100%);
}

.about-strength-card:nth-child(3) {
  border-top: 4px solid #f1a340;
  background: linear-gradient(145deg, #ffffff 0%, #fff7e8 100%);
}

.about-strength-card:nth-child(4) {
  border-top: 4px solid #7664d8;
  background: linear-gradient(145deg, #ffffff 0%, #f2f0ff 100%);
}

.about-strength-card:nth-child(1) .about-strength-card__number {
  color: #1674b8;
}

.about-strength-card:nth-child(2) .about-strength-card__number {
  color: #14866b;
}

.about-strength-card:nth-child(3) .about-strength-card__number {
  color: #bc7418;
}

.about-strength-card:nth-child(4) .about-strength-card__number {
  color: #5947bd;
}

.about-strength-card::before {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 116px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.16;
  background: currentColor;
}

.about-contact-flow {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #06101f;
}

.about-contact-flow__link {
  position: relative;
  display: block;
  min-height: clamp(300px, 42vw, 520px);
  color: #ffffff;
  text-decoration: none;
  isolation: isolate;
}

.about-contact-flow__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 16, 31, 0.9), rgba(6, 16, 31, 0.62), rgba(6, 16, 31, 0.9)),
    url("images/about-texture-back1.jpg") center / cover;
  filter: saturate(0.82) contrast(1.08);
}

.about-contact-flow__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--contact-x, 50%) var(--contact-y, 50%), rgba(106, 197, 255, 0.26), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.about-contact-flow__marquee {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  gap: clamp(28px, 5vw, 72px);
  width: max-content;
  transform: translateY(-50%);
  animation: aboutContactMarquee 22s linear infinite;
  opacity: 0.82;
}

.about-contact-flow__marquee span {
  font-family: var(--font-en), var(--font-ja);
  font-size: clamp(4.4rem, 14vw, 13rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.42);
  text-stroke: 1px rgba(255, 255, 255, 0.42);
}

.about-contact-flow__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  align-content: end;
  padding: clamp(42px, 7vw, 78px) 0;
}

.about-contact-flow__content .section-label {
  color: #8bd8ff;
}

.about-contact-flow__content h2 {
  max-width: 760px;
  margin: 10px 0 14px;
  font-size: clamp(1.8rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.about-contact-flow__content p:not(.section-label) {
  max-width: 600px;
  margin: 0;
  color: rgba(245, 250, 255, 0.78);
  line-height: 1.9;
}

.about-contact-cursor {
  position: absolute;
  left: var(--contact-x, 50%);
  top: var(--contact-y, 50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(96px, 11vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
  color: #071322;
  font-family: var(--font-en), var(--font-ja);
  font-size: 0.88rem;
  font-weight: 700;
  transform: translate(-50%, -50%) scale(0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.about-contact-flow__link:hover .about-contact-cursor {
  transform: translate(-50%, -50%) scale(1);
}

@keyframes aboutContactMarquee {
  from {
    transform: translate3d(0, -50%, 0);
  }
  to {
    transform: translate3d(-50%, -50%, 0);
  }
}

@media (max-width: 780px) {
  .about-message-section {
    background-attachment: scroll;
  }

  .about-contact-cursor {
    position: absolute;
    left: auto;
    right: 22px;
    top: 34px;
    transform: none;
    width: 92px;
  }

  .about-contact-flow__link:hover .about-contact-cursor {
    transform: none;
  }
}


/* Privacy policy page */
.privacy-page {
  background: #071322;
}

.privacy-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 54vw, 560px);
  display: grid;
  align-items: end;
  color: #ffffff;
  background: #071322;
}

.privacy-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 31, 0.9), rgba(6, 16, 31, 0.52)),
    url("images/about-texture-back1.jpg") center / cover;
  filter: saturate(0.86) contrast(1.05);
}

.privacy-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(107, 199, 255, 0.22), transparent 30%),
    linear-gradient(180deg, transparent, rgba(7, 19, 34, 0.92));
}

.privacy-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(92px, 14vw, 154px) 0 clamp(48px, 8vw, 82px);
}

.privacy-hero h1 {
  max-width: 860px;
  margin: 12px 0 18px;
  font-family: var(--font-ja);
  font-size: clamp(2.1rem, 6vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.privacy-hero p:not(.section-label) {
  max-width: 720px;
  margin: 0;
  color: rgba(244, 249, 255, 0.82);
  line-height: 1.9;
}

.privacy-content {
  padding: clamp(52px, 8vw, 94px) 0;
  background:
    linear-gradient(180deg, #f2f6fa 0%, #ffffff 100%);
}

.privacy-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(38, 70, 104, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(8, 28, 50, 0.1);
}

.privacy-updated {
  margin: 0 0 26px;
  color: #6a7888;
  font-size: 0.9rem;
}

.privacy-block {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 6px 22px;
  padding: 26px 0;
  border-top: 1px solid rgba(28, 56, 86, 0.1);
}

.privacy-block:first-of-type {
  border-top: 0;
}

.privacy-block span {
  grid-row: span 2;
  color: #2b84b8;
  font-family: var(--font-en), var(--font-ja);
  font-weight: 700;
}

.privacy-block h2 {
  margin: 0;
  color: #10243e;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  letter-spacing: 0;
}

.privacy-block p {
  margin: 0;
  color: #526176;
  line-height: 1.9;
}

.privacy-contact {
  grid-column: 2;
  margin-top: 14px;
  padding: 18px;
  border-radius: 12px;
  background: #edf5fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.privacy-contact strong {
  display: block;
  margin-bottom: 8px;
  color: #10243e;
}

.privacy-cta {
  padding: clamp(44px, 7vw, 82px) 0;
  background: #071322;
}

.privacy-cta__panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 78% 22%, rgba(110, 199, 255, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.055);
  color: #ffffff;
}

.privacy-cta__panel h2 {
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .privacy-block {
    grid-template-columns: 1fr;
  }

  .privacy-block span {
    grid-row: auto;
  }

  .privacy-cta__panel {
    display: grid;
  }
}


/* Footer section title restore */
.footer__nav-row--titles {
  padding: clamp(22px, 4vw, 36px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__nav-row--titles .footer__nav-group {
  min-height: auto;
}

.footer__nav-row--titles .footer__nav-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-en), var(--font-ja);
  font-size: clamp(0.9rem, 1.6vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .footer__nav-row--titles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}


/* Loader scroll lock */
html.iy-loading,
body.iy-loading {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}


/* Possibility roadmap slightly faster effect */
.iy-possibility-roadmap::before {
  animation-duration: 5.8s;
}

.iy-roadmap-card.reveal {
  transition-duration: 0.88s;
}

.iy-roadmap-card::after {
  animation-duration: 4.4s;
}

.iy-roadmap-card:nth-child(1) { transition-delay: .04s; }
.iy-roadmap-card:nth-child(2) { transition-delay: .14s; }
.iy-roadmap-card:nth-child(3) { transition-delay: .24s; }
.iy-roadmap-card:nth-child(4) { transition-delay: .34s; }
.iy-roadmap-card:nth-child(5) { transition-delay: .44s; }
.iy-roadmap-card:nth-child(6) { transition-delay: .54s; }
.iy-roadmap-card:nth-child(7) { transition-delay: .64s; }
.iy-roadmap-card:nth-child(8) { transition-delay: .74s; }

.iy-roadmap-card:nth-child(2)::after { animation-delay: .24s; }
.iy-roadmap-card:nth-child(3)::after { animation-delay: .48s; }
.iy-roadmap-card:nth-child(4)::after { animation-delay: .72s; }
.iy-roadmap-card:nth-child(5)::after { animation-delay: .96s; }
.iy-roadmap-card:nth-child(6)::after { animation-delay: 1.2s; }
.iy-roadmap-card:nth-child(7)::after { animation-delay: 1.44s; }
.iy-roadmap-card:nth-child(8)::after { animation-delay: 1.68s; }


/* Footer title links order and line cleanup */
.footer__nav-row--titles {
  border-top: 0;
  border-bottom: 0;
  position: relative;
}

.footer__nav-row--titles::before,
.footer__nav-row--titles::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer__nav-row--titles::before {
  top: 0;
}

.footer__nav-row--titles::after {
  bottom: 0;
}

.footer__nav-row--titles .footer__nav-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer__nav-row--titles .footer__nav-title a:hover {
  color: #8bd8ff;
  transform: translateY(-2px);
}


/* Privacy contact compact guide */
@media (max-width: 720px) {
  .privacy-contact {
    grid-column: auto;
    align-items: flex-start;
  }

  .privacy-contact-link {
    width: 100%;
  }
}


/* Cases hero background tuning */
.hero--cases .hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 10, 24, 0.82) 0%, rgba(5, 10, 24, 0.52) 42%, rgba(5, 10, 24, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 10, 24, 0.32) 0%, rgba(5, 10, 24, 0.68) 100%);
}


/* Case 01 infrared visual */
.case-detail-visual {
  min-height: 300px;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.24);
  margin-bottom: 18px;
}

.case-detail-visual--infrared {
  background-image: url("images/case-01-infrared-wall.jpg");
}

@media (max-width: 720px) {
  .case-detail-visual {
    min-height: 220px;
    border-radius: 14px;
  }
}


/* Playable case video card */
.media-card--playable {
  cursor: default;
}

.media-card__thumb--video {
  padding-top: 0;
  aspect-ratio: 16 / 10;
  background: #020617;
}

.media-card__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card--playable:hover .media-card__thumb {
  transform: none;
}


/* Cases gallery action split */
.cases-gallery-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
}

.media-card {
  border: 0;
  text-align: left;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button.media-card {
  display: block;
  width: 100%;
  padding: 0;
  font: inherit;
  appearance: none;
  background: #020617;
}

.media-card:hover,
.media-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.22);
  outline: none;
}

.media-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.32), 0 24px 54px rgba(15, 23, 42, 0.22);
}

.media-card__action {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.media-card--video-action .media-card__action {
  background: rgba(29, 78, 216, 0.74);
}

.media-card--playable .media-card__body {
  pointer-events: none;
}

.media-card--playable .media-card__video {
  pointer-events: auto;
}

.case-anchor {
  display: block;
  position: relative;
  top: -90px;
  visibility: hidden;
}

.case-support-section {
  margin-top: 58px;
  padding: 38px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.section-header--compact {
  max-width: 920px;
}

.case-info-grid,
.case-flow-grid {
  display: grid;
  gap: 16px;
}

.case-info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-flow-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.case-info-card,
.case-flow-card {
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.case-info-card h3,
.case-flow-card h3 {
  margin: 0 0 8px;
  color: #14223b;
  font-size: 1rem;
  line-height: 1.5;
}

.case-info-card p,
.case-flow-card p {
  margin: 0;
  color: #526174;
  font-size: 0.9rem;
  line-height: 1.8;
}

.case-flow-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #1d4ed8;
  font-family: Tahoma, sans-serif;
  font-weight: 800;
}

.case-contact-cta {
  margin-top: 44px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, #101827 0%, #1e3a8a 100%);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.case-contact-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: 0;
}

.case-contact-cta p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.9;
}

.case-contact-cta .btn-main {
  background: #ffffff;
  color: #14223b;
}

@media (max-width: 1080px) {
  .case-info-grid,
  .case-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .case-support-section,
  .case-contact-cta {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .case-info-grid,
  .case-flow-grid,
  .case-contact-cta {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Compact case detail summaries */
.case-detail-summaries {
  padding: 72px 0;
  background: linear-gradient(180deg, #eef4f8 0%, #f8fafc 100%);
}

.case-summary-list {
  display: grid;
  gap: 18px;
}

.case-summary-card {
  display: grid;
  grid-template-columns: minmax(240px, 34%) 1fr;
  min-height: 240px;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.case-summary-card__media {
  min-height: 240px;
  background-size: cover;
  background-position: center;
}

.case-summary-card__body {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-summary-card__num {
  font-family: Tahoma, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #1d4ed8;
  margin-bottom: 10px;
}

.case-summary-card h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.45;
}

.case-summary-card p {
  margin: 0;
  color: #475569;
  line-height: 1.85;
  font-size: 0.95rem;
}

.case-summary-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.case-summary-card dl div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f5f9;
}

.case-summary-card dt {
  margin: 0 0 4px;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.case-summary-card dd {
  margin: 0;
  color: #14223b;
  font-size: 0.86rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .case-detail-summaries {
    padding: 52px 0;
  }

  .case-summary-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-summary-card__media {
    min-height: 190px;
  }

  .case-summary-card__body {
    padding: 22px 18px;
  }

  .case-summary-card dl {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Video action click affordance */
.media-card--playable .media-card__action {
  pointer-events: auto;
}

.media-card--playable .media-card__body {
  cursor: pointer;
}


/* CEO message editorial redesign */
.about-message-section--ceo {
  --ceo-x: 50%;
  --ceo-y: 50%;
  padding: clamp(58px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at var(--ceo-x) var(--ceo-y), rgba(70, 142, 190, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(9, 26, 49, 0.9), rgba(15, 38, 64, 0.74) 42%, rgba(238, 246, 251, 0.88) 43%, rgba(255, 255, 255, 0.94)),
    url("images/about-texture-back1.jpg") center / cover fixed;
}

.representative-message--ceo {
  position: relative;
  max-width: 1120px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 32px 90px rgba(4, 18, 35, 0.18);
  transform: translateY(22px);
  transition: transform 0.8s ease, box-shadow 0.8s ease;
}

.representative-message--ceo.is-visible,
.representative-message--ceo.is-ceo-visible {
  transform: translateY(0);
}

.representative-message--ceo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 32, 54, 0.08), transparent 36%),
    radial-gradient(circle at var(--ceo-x) var(--ceo-y), rgba(18, 116, 166, 0.14), transparent 32%);
  mix-blend-mode: multiply;
}

.ceo-message__backtext {
  position: absolute;
  top: -0.17em;
  right: -0.08em;
  z-index: 0;
  font-family: Tahoma, "Source Han Sans", sans-serif;
  font-size: clamp(4.5rem, 15vw, 13rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(8, 32, 58, 0.045);
  white-space: nowrap;
  transform: translateX(calc((var(--ceo-x) - 50%) * -0.025));
}

.ceo-message__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.9fr);
  min-height: 620px;
}

.ceo-message__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(34px, 5vw, 58px) clamp(24px, 4vw, 42px);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(7, 22, 43, 0.96), rgba(13, 45, 73, 0.92)),
    url("images/about-main-drone-building.jpg") center / cover;
}

.ceo-message__side::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(34%, 360px);
  pointer-events: none;
  background: linear-gradient(120deg, rgba(40, 154, 204, 0.18), transparent 55%);
}

.ceo-message__eyebrow,
.ceo-message__caption {
  position: relative;
  z-index: 1;
  font-family: Tahoma, "Source Han Sans", sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(222, 240, 255, 0.74);
}

.ceo-message__leadword {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  font-family: Tahoma, "Source Han Sans", sans-serif !important;
  font-size: clamp(1.18rem, 2.5vw, 2rem) !important;
  font-weight: 700;
  line-height: 1.24 !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
}

.ceo-message__line {
  position: relative;
  z-index: 1;
  display: block;
  width: 1px;
  min-height: 130px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.74), rgba(255,255,255,0));
  transform-origin: top;
  animation: ceoLinePulse 4.6s ease-in-out infinite;
}

.ceo-message__body {
  padding: clamp(34px, 6vw, 68px) clamp(28px, 6vw, 82px);
  color: #172a42;
}

.representative-message--ceo h2,
.representative-message--ceo p,
.representative-message--ceo .message-highlight,
.representative-message--ceo .message-question,
.representative-message--ceo .representative-message__signature {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Source Han Serif JP", "Noto Serif CJK JP", serif;
}

.representative-message--ceo h2 {
  margin: 10px 0 24px;
  max-width: 760px;
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  line-height: 1.48;
  color: #0d213b;
}

.representative-message--ceo p {
  max-width: 760px;
  font-size: clamp(0.94rem, 1.45vw, 1.02rem);
  line-height: 1.95;
  color: #2b3f56;
}

.representative-message--ceo .message-highlight {
  background: linear-gradient(180deg, transparent 54%, rgba(76, 154, 209, 0.25) 54%);
  color: #082b4f;
}

.message-statement {
  display: inline-block;
  margin: 18px 0 16px !important;
  padding: 8px 0 10px;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem) !important;
  line-height: 1.6 !important;
  color: #071f3b !important;
  border-bottom: 1px solid rgba(10, 55, 92, 0.28);
}

.representative-message--ceo .message-question {
  width: fit-content;
  margin: 18px 0 20px !important;
  padding: 12px 18px;
  border: 1px solid rgba(22, 73, 112, 0.16);
  border-left: 3px solid #2578aa;
  border-radius: 0;
  background: rgba(238, 246, 250, 0.82);
  color: #0a2947;
}

.representative-message--ceo .representative-message__signature {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 47, 76, 0.14);
}

.representative-message--ceo .representative-message__signature strong {
  font-size: clamp(1.18rem, 2.2vw, 1.48rem);
  letter-spacing: 0.1em;
}

.representative-message--ceo .ceo-message__body > * {
  opacity: 0;
  transform: translateY(18px);
}

.representative-message--ceo.is-ceo-visible .ceo-message__body > * {
  animation: ceoTextRise 0.9s ease forwards;
}

.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(1) { animation-delay: 0.06s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(2) { animation-delay: 0.14s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(3) { animation-delay: 0.22s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(4) { animation-delay: 0.30s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(5) { animation-delay: 0.38s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(6) { animation-delay: 0.46s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(7) { animation-delay: 0.54s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(8) { animation-delay: 0.62s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(9) { animation-delay: 0.70s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(10) { animation-delay: 0.78s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(11) { animation-delay: 0.86s; }
.representative-message--ceo.is-ceo-visible .ceo-message__body > *:nth-child(12) { animation-delay: 0.94s; }

@keyframes ceoTextRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ceoLinePulse {
  0%, 100% {
    transform: scaleY(0.72);
    opacity: 0.54;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 820px) {
  .about-message-section--ceo {
    padding: 46px 0;
    background-attachment: scroll;
  }

  .ceo-message__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ceo-message__side {
    min-height: 220px;
    padding: 28px 24px;
  }

  .ceo-message__line {
    width: 120px;
    min-height: 1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.72), rgba(255,255,255,0));
  }

  .ceo-message__body {
    padding: 28px 22px 34px;
  }

  .ceo-message__backtext {
    top: 0.18em;
    right: -0.18em;
    font-size: 4.8rem;
  }
}


/* Inline expanding case details */
.cases-media-grid {
  align-items: stretch;
}

.cases-media-grid.is-detail-open .media-card {
  transition: transform 0.42s ease, box-shadow 0.42s ease, filter 0.42s ease, opacity 0.42s ease;
}

.cases-media-grid.is-detail-open .media-card:not(.is-case-active) {
  filter: saturate(0.68) brightness(0.72);
}

.cases-media-grid.is-detail-open .media-card:not(.is-case-active)::after {
  content: "他を見る";
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(4, 16, 31, 0.2), rgba(4, 16, 31, 0.72));
  backdrop-filter: blur(1.5px);
}

.cases-media-grid.is-detail-open .media-card:not(.is-case-active):hover,
.cases-media-grid.is-detail-open .media-card:not(.is-case-active):focus-visible {
  transform: translateY(-2px);
  filter: saturate(0.9) brightness(0.82);
}

.media-card.is-case-active {
  grid-column: span 2;
  min-height: 520px;
  box-shadow: 0 34px 88px rgba(3, 14, 31, 0.34);
}

.media-card.is-case-active::before {
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, 0.86) 0%, rgba(7, 20, 39, 0.7) 44%, rgba(7, 20, 39, 0.28) 100%),
    linear-gradient(to top, rgba(2, 8, 20, 0.94), rgba(2, 8, 20, 0.18));
}

.media-card.is-case-active .media-card__thumb {
  transform: scale(1.04);
}

.media-card.is-case-active .media-card__body {
  inset: auto clamp(18px, 4vw, 42px) clamp(18px, 4vw, 38px);
  max-width: min(680px, calc(100% - 36px));
}

.media-card.is-case-active .media-card__tag,
.media-card.is-case-active .media-card__meta,
.media-card.is-case-active .media-card__action {
  display: none;
}

.media-card__detail {
  display: none;
  max-width: 620px;
  padding: clamp(18px, 3vw, 28px);
  color: #ffffff;
  background: rgba(5, 18, 36, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  transform: translateY(18px);
  opacity: 0;
}

.media-card.is-case-active .media-card__detail {
  display: block;
  animation: caseDetailFloat 0.58s ease forwards;
}

.media-card__detail-num {
  display: block;
  margin-bottom: 10px;
  font-family: Tahoma, "Source Han Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #9dd8ff;
}

.media-card__detail h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.4;
}

.media-card__detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.85;
}

.media-card__detail dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.media-card__detail dl div {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.media-card__detail dt {
  margin: 0 0 5px;
  color: #9dd8ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.media-card__detail dd {
  margin: 0;
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.55;
}

@keyframes caseDetailFloat {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .media-card.is-case-active {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .media-card.is-case-active {
    grid-column: span 1;
    min-height: 560px;
  }

  .media-card.is-case-active .media-card__body {
    inset: auto 14px 14px;
    max-width: calc(100% - 28px);
  }

  .media-card__detail {
    padding: 18px;
  }

  .media-card__detail dl {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Single case detail reset control */
.cases-media-grid {
  position: relative;
}

.case-detail-reset {
  position: absolute;
  top: -58px;
  right: 0;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.cases-media-grid.is-detail-open .case-detail-reset {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.case-detail-reset:hover,
.case-detail-reset:focus-visible {
  background: #0f172a;
  color: #ffffff;
  outline: none;
}

.cases-media-grid.is-detail-open .media-card:not(.is-case-active)::after {
  content: "";
  background: linear-gradient(180deg, rgba(4, 16, 31, 0.08), rgba(4, 16, 31, 0.58));
  backdrop-filter: blur(1px);
}

@media (max-width: 720px) {
  .case-detail-reset {
    top: -50px;
    right: 0;
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.86rem;
  }
}


/* Case detail UI bug fixes */
.cases-media-grid.is-detail-open .media-card:not(.is-case-active) {
  pointer-events: none;
}

.cases-media-grid.is-detail-open .case-detail-reset {
  pointer-events: auto;
}

.cases-media-grid.is-detail-open .media-card:not(.is-case-active)::after {
  content: "" !important;
}

.media-card.is-case-active {
  z-index: 5;
}

.case-detail-reset {
  white-space: nowrap;
}


/* Reposition single other-case control */
.case-detail-reset {
  top: 50% !important;
  right: clamp(16px, 4vw, 34px) !important;
  left: auto !important;
  z-index: 12 !important;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(6, 18, 34, 0.78);
  color: #ffffff;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  transform: translateY(-50%) scale(0.96) !important;
}

.case-detail-reset span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.case-detail-reset span::after {
  content: "↺";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  font-family: Tahoma, sans-serif;
  font-size: 0.92rem;
  line-height: 1;
}

.cases-media-grid.is-detail-open .case-detail-reset {
  transform: translateY(-50%) scale(1) !important;
}

.case-detail-reset:hover,
.case-detail-reset:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
}

.case-detail-reset:hover span::after,
.case-detail-reset:focus-visible span::after {
  border-color: rgba(15, 23, 42, 0.24);
}

.cases-media-grid.is-detail-open .media-card:not(.is-case-active)::after {
  content: "" !important;
  pointer-events: none;
}

@media (max-width: 720px) {
  .case-detail-reset {
    top: auto !important;
    right: 50% !important;
    bottom: 18px !important;
    min-height: 46px;
    padding: 0 18px;
    transform: translateX(50%) translateY(10px) scale(0.96) !important;
  }

  .cases-media-grid.is-detail-open .case-detail-reset {
    transform: translateX(50%) translateY(0) scale(1) !important;
  }
}


/* Focus mode for expanded case detail */
.cases-media-grid.is-detail-open {
  grid-template-columns: minmax(0, 1fr);
  padding-top: 64px;
}

.cases-media-grid.is-detail-open .media-card.is-case-active {
  grid-column: 1 / -1;
  width: 100%;
}

.cases-media-grid.is-detail-open .media-card:not(.is-case-active) {
  position: absolute;
  inset: 64px 0 auto 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px) scale(0.88);
  filter: blur(8px) saturate(0.5) brightness(0.6);
}

.cases-media-grid.is-detail-open .media-card:not(.is-case-active)::after {
  content: "" !important;
  display: none !important;
}

.cases-media-grid.is-detail-open .case-detail-reset {
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  transform: translateY(0) scale(1) !important;
}

.case-detail-reset {
  min-height: 46px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
}

.case-detail-reset:hover,
.case-detail-reset:focus-visible {
  background: #0f172a;
  color: #ffffff;
}

@media (max-width: 720px) {
  .cases-media-grid.is-detail-open {
    padding-top: 58px;
  }

  .cases-media-grid.is-detail-open .case-detail-reset {
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    transform: translateY(0) scale(1) !important;
  }
}


/* Compact desktop case detail view */
@media (min-width: 961px) {
  .cases-media-grid.is-detail-open {
    max-width: 1040px;
    margin-inline: auto;
    padding-top: 56px;
  }

  .cases-media-grid.is-detail-open .media-card.is-case-active {
    min-height: min(62vh, 520px);
    max-height: 620px;
  }

  .media-card.is-case-active .media-card__body {
    inset: auto 34px 30px;
    max-width: min(560px, calc(100% - 68px));
  }

  .media-card__detail {
    max-width: 540px;
    padding: 22px 24px;
  }

  .media-card__detail h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.62rem);
    margin-bottom: 10px;
  }

  .media-card__detail p {
    font-size: 0.92rem;
    line-height: 1.72;
  }

  .media-card__detail dl {
    gap: 8px;
    margin-top: 14px;
  }

  .media-card__detail dl div {
    padding: 10px 12px;
  }

  .media-card__detail dd {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .case-detail-reset {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .case-detail-reset span::after {
    width: 24px;
    height: 24px;
    font-size: 0.82rem;
  }
}


/* Reduce desktop case detail to about 60 percent */
@media (min-width: 961px) {
  .cases-media-grid.is-detail-open {
    max-width: 660px;
  }

  .cases-media-grid.is-detail-open .media-card.is-case-active {
    min-height: min(52vh, 420px);
    max-height: 470px;
  }

  .media-card.is-case-active .media-card__body {
    inset: auto 24px 22px;
    max-width: min(470px, calc(100% - 48px));
  }

  .media-card__detail {
    max-width: 450px;
    padding: 18px 20px;
  }
}


/* Inspection cards color system and scroll background */
.case-support-section--inspection {
  --case-bg-start: rgb(218, 233, 245);
  --case-bg-end: rgb(211, 235, 228);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--case-bg-start), var(--case-bg-end));
  border-color: rgba(63, 100, 127, 0.18);
  box-shadow: 0 26px 64px rgba(19, 49, 73, 0.12);
  transition: background-color 0.1s linear;
}

.case-support-section--inspection::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 72, 99, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 72, 99, 0.045) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, 0.42) 58% 66%, transparent 66%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  opacity: 0.76;
}

.case-support-section--inspection .section-header {
  position: relative;
  z-index: 1;
}

.case-support-section--inspection .section-label {
  color: #175b87;
}

.case-support-section--inspection .case-info-grid {
  position: relative;
  z-index: 1;
}

.case-support-section--inspection .case-info-card {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 24px 20px 20px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 24%, white);
  border-top: 4px solid var(--card-accent);
  background: color-mix(in srgb, var(--card-tint) 82%, white);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--card-accent) 13%, transparent);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.case-support-section--inspection .case-info-card::after {
  content: counter(case-card, decimal-leading-zero);
  position: absolute;
  right: 14px;
  bottom: 8px;
  font-family: Tahoma, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--card-accent) 12%, transparent);
}

.case-support-section--inspection .case-info-grid {
  counter-reset: case-card;
}

.case-support-section--inspection .case-info-card {
  counter-increment: case-card;
}

.case-support-section--inspection .case-info-card:nth-child(1) {
  --card-accent: #2563a6;
  --card-tint: #e8f2fb;
}

.case-support-section--inspection .case-info-card:nth-child(2) {
  --card-accent: #0d8496;
  --card-tint: #e4f5f6;
}

.case-support-section--inspection .case-info-card:nth-child(3) {
  --card-accent: #c17618;
  --card-tint: #fff2dc;
}

.case-support-section--inspection .case-info-card:nth-child(4) {
  --card-accent: #33815e;
  --card-tint: #e7f4ec;
}

.case-support-section--inspection .case-info-card h3 {
  position: relative;
  z-index: 1;
  color: color-mix(in srgb, var(--card-accent) 76%, #0f172a);
}

.case-support-section--inspection .case-info-card p {
  position: relative;
  z-index: 1;
  color: #405267;
}

.case-support-section--inspection .case-info-card:hover {
  transform: translateY(-4px);
  background: color-mix(in srgb, var(--card-tint) 66%, white);
  box-shadow: 0 22px 42px color-mix(in srgb, var(--card-accent) 19%, transparent);
}

@media (max-width: 720px) {
  .case-support-section--inspection {
    padding: 26px 18px;
    border-radius: 16px;
  }

  .case-support-section--inspection .case-info-card {
    min-height: auto;
    padding: 20px 18px;
  }
}


/* Move inspection scroll color to the outer gallery background */
.cases-gallery-section {
  --gallery-bg-start: rgb(248, 250, 252);
  --gallery-bg-end: rgb(238, 244, 248);
  background:
    linear-gradient(180deg, var(--gallery-bg-start), var(--gallery-bg-end));
}

.case-support-section--inspection {
  --case-bg-start: rgb(240, 246, 251);
  --case-bg-end: rgb(226, 242, 239);
  background:
    linear-gradient(135deg, var(--case-bg-start), var(--case-bg-end));
}


/* Dark connected timeline for the inspection flow */
.case-flow-section {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(120, 191, 225, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(rgba(116, 184, 218, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 184, 218, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #071a2d 0%, #0b2d49 55%, #164d68 100%);
  background-size: 34px 34px, 34px 34px, 100% 100%;
  box-shadow: 0 28px 64px rgba(4, 18, 32, 0.3);
}

.case-flow-section .section-label {
  color: #82c9ee;
}

.case-flow-section .section-title {
  color: #ffffff;
}

.case-flow-section .section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.case-flow-section .case-flow-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.case-flow-section .case-flow-card {
  position: relative;
  min-width: 0;
  min-height: 220px;
  padding: 12px clamp(16px, 2vw, 26px) 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.case-flow-section .case-flow-card:not(:last-child) {
  border-right: 1px solid rgba(162, 215, 239, 0.18);
}

.case-flow-section .case-flow-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 36px;
  right: -14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(134, 205, 237, 0.45);
  border-radius: 999px;
  background: #0b2d49;
  color: #9edaf5;
  font-family: Tahoma, sans-serif;
  font-size: 0.9rem;
  line-height: 1;
}

.case-flow-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.case-flow-section .case-flow-card__icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0;
  border: 1px solid rgba(149, 218, 247, 0.42);
  border-radius: 999px;
  background: rgba(116, 198, 235, 0.1);
  color: #b7e7fb;
  font-family: Tahoma, "Source Han Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
}

.case-flow-section .case-flow-card__step {
  display: inline-flex;
  margin: 0;
  color: rgba(176, 224, 245, 0.58);
  font-family: Tahoma, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case-flow-section .case-flow-card h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(0.96rem, 1.25vw, 1.08rem);
  line-height: 1.55;
}

.case-flow-section .case-flow-card p {
  margin: 0;
  color: rgba(221, 237, 246, 0.76);
  font-size: 0.86rem;
  line-height: 1.75;
}

.case-flow-section .case-flow-card:hover .case-flow-card__icon {
  background: rgba(119, 207, 244, 0.2);
  border-color: rgba(170, 228, 252, 0.72);
  transform: translateY(-3px);
}

.case-flow-section .case-flow-card__icon {
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 960px) {
  .case-flow-section .case-flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-flow-section .case-flow-card {
    min-height: auto;
    padding: 18px 8px 28px 70px;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(162, 215, 239, 0.18);
  }

  .case-flow-section .case-flow-card:last-child {
    border-bottom: 0;
  }

  .case-flow-section .case-flow-card:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -14px;
    left: 18px;
  }

  .case-flow-card__head {
    position: absolute;
    top: 18px;
    left: 8px;
    display: block;
    margin: 0;
  }

  .case-flow-section .case-flow-card__icon {
    width: 46px;
    height: 46px;
  }

  .case-flow-section .case-flow-card__step {
    position: absolute;
    top: -4px;
    right: -13px;
    padding: 2px 5px;
    border-radius: 4px;
    background: #164d68;
    color: #d9f1fb;
  }
}


/* Services lineup cards */
.service-lineup-grid {
  align-items: stretch;
  gap: clamp(16px, 2vw, 24px);
}

.service-lineup-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 360px;
  padding: clamp(24px, 3vw, 32px);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-lineup-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #2563eb, #38bdf8);
}

.service-lineup-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.13);
}

.service-lineup-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.service-lineup-card__number {
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-lineup-card .card__tag {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.service-lineup-card .card__title {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.service-lineup-card p {
  margin: 0 0 20px;
  color: #475569;
  line-height: 1.8;
}

.service-lineup-card .card__meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.65;
}

.service-lineup-card--other {
  background: linear-gradient(145deg, #eff6ff 0%, #f8fafc 100%);
}

@media (max-width: 1040px) {
  .service-lineup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .service-lineup-grid { grid-template-columns: minmax(0, 1fr); }
  .service-lineup-card { min-height: 0; padding: 24px 22px; }
}


/* Courses page programs */
.course-overview,
.course-section {
  scroll-margin-top: 88px;
}

.course-program-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.course-program-nav a {
  display: grid;
  min-height: 164px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f7f9fc);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
  color: #0f172a;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-program-nav a:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.course-program-nav span { color: #2563eb; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; }
.course-program-nav strong { align-self: end; margin-top: 24px; font-size: 1.2rem; }
.course-program-nav small { margin-top: 5px; color: #64748b; font-size: 0.84rem; }

.course-paid-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.course-detail-card {
  display: flex;
  min-width: 0;
  padding: clamp(26px, 4vw, 42px);
  flex-direction: column;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
}

.course-detail-card__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.course-detail-card__label { color: #2563eb; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; }
.course-detail-card__days { padding: 7px 11px; border-radius: 999px; background: #eff6ff; color: #1e40af; font-size: 0.78rem; font-weight: 700; }
.course-detail-card h3 { margin: 22px 0 10px; color: #0f172a; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.course-detail-card__target { min-height: 3.4em; margin: 0 0 20px; color: #475569; line-height: 1.7; }
.course-detail-card ul,
.course-feature ul { display: grid; gap: 10px; margin: 0 0 26px; padding-left: 1.25em; color: #334155; line-height: 1.7; }

.course-price {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 20px 0 4px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.course-price span { color: #64748b; font-size: 0.88rem; }
.course-price strong { color: #dc2626; font-size: clamp(1.12rem, 2vw, 1.42rem); }
.course-price strong small { font-size: 0.72em; }

.course-support-note {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 4px solid #2563eb;
  border-radius: 0 18px 18px 0;
  background: #eff6ff;
}

.course-support-note strong { color: #0f172a; font-size: 1.08rem; }
.course-support-note p { margin: 8px 0 0; color: #334155; line-height: 1.75; }
.course-price-note { margin: 14px 0 0; color: #64748b; font-size: 0.82rem; }

.course-section--free { background: #0b1728; }
.course-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border-radius: 32px;
  background: linear-gradient(135deg, #12243c, #0b1728);
  color: #fff;
}

.course-feature h2 { margin: 8px 0 20px; font-size: clamp(2rem, 4vw, 3.6rem); }
.course-feature p { color: #d6e0ee; line-height: 1.85; }
.course-feature ul { color: #e2e8f0; }
.course-feature__note { margin-bottom: 26px; font-size: 0.9rem; }
.course-feature__mark { display: grid; aspect-ratio: 1; place-content: center; border: 1px solid rgba(96, 165, 250, 0.45); border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,0.34), rgba(15,23,42,0.3)); text-align: center; }
.course-feature__mark span { color: #60a5fa; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; }
.course-feature__mark strong { margin-top: 12px; font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.35; }
.course-feature--custom { background: linear-gradient(135deg, #fff, #f1f5f9); color: #0f172a; box-shadow: 0 18px 46px rgba(15,23,42,0.09); }
.course-feature--custom p,
.course-feature--custom ul { color: #475569; }
.course-feature--custom .course-feature__mark { border-color: rgba(37,99,235,0.3); background: radial-gradient(circle, #dbeafe, #f8fafc); }

@media (max-width: 860px) {
  .course-program-nav { grid-template-columns: minmax(0, 1fr); }
  .course-program-nav a { min-height: 130px; }
  .course-paid-grid { grid-template-columns: minmax(0, 1fr); }
  .course-detail-card__target { min-height: 0; }
  .course-feature { grid-template-columns: minmax(0, 1fr); }
  .course-feature__mark { display: none; }
}

@media (max-width: 520px) {
  .course-detail-card__top { align-items: flex-start; flex-direction: column; }
  .course-feature { padding: 28px 22px; border-radius: 24px; }
}
