/* ==========================================================================
   Top page specific styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   ▼ ファーストビュー（サイズ完全固定版のスプリット・レイアウト）
   -------------------------------------------------------------------------- */
.home-split-hero {
    display: flex !important; 
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* 絶対に下に落とさない */
    width: 100% !important;       /* 親の幅にピッタリ合わせる */
    height: 600px !important;     /* 【重要】高さを600pxにガチッと固定！ */
/*     background: #1a1e24 !important; */
    background: #596372 !important;
    overflow: hidden !important;  /* はみ出した部分は容赦なくカット */
}

/* 左半分：文字エリア */
.home-split-hero__text-zone {
    width: 45% !important; /* 幅45%固定 */
    height: 100% !important; /* 親の600pxに合わせる */
    position: relative !important;
    z-index: 2 !important;
    padding: 0 5% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
/*     background: #1a1e24 !important; */
    background: #596372 !important;
    box-sizing: border-box !important;
}

/* 右半分：画像エリア */
.home-split-hero__image-zone {
    width: 55% !important; /* 幅55%固定 */
    height: 100% !important; /* 親の600pxに合わせる */
    position: relative !important;
    background-color: #596372 !important;
}

.home-split-hero__bg-img {
    position: absolute !important;
    top: 0 !important; left: 0 !important; 
    width: 100% !important; height: 100% !important;
    /* 大きな画像をこの箱のサイズに合わせて自動で綺麗に収める魔法 */
    background-size: cover !important; 
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1 !important;
}

/* 写真を引き締める薄いダークシールド（半透明の膜） */
.home-split-hero__image-zone::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; 
    width: 100% !important; height: 100% !important;
    background: linear-gradient(to bottom, rgba(45, 51, 61, 0.4) 0%, rgba(26, 30, 36, 0.2) 100%) !important;
    z-index: 2 !important;
}
}

/* 👑 英語タイトル */
.home-split-hero__en-title {
    font-family: 'Oswald', sans-serif !important;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem) !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    margin: 0 0 20px 0 !important;
    font-weight: 700 !important;
}

/* 💎 日本語キャッチ */
.home-split-hero__jp-title {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    color: #64b5ff !important;
    letter-spacing: 0.15em !important;
    font-weight: 700 !important;
    margin: 0 0 25px 0 !important;
}

/* 📄 リード文 */
.home-split-hero__lead-text {
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem) !important;
    color: #a1b0c4 !important;
    line-height: 1.8 !important;
    margin: 0 0 40px 0 !important;
    text-align: left !important;
}

/* 🔘 アクションボタン */
.home-split-hero__action-btn {
    display: inline-block !important;
    border: 2px solid #64b5ff !important;
    color: #64b5ff !important;
    padding: 14px 45px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-decoration: none !important;
    transition: 0.3s !important;
}

.home-split-hero__action-btn:hover {
    background: #64b5ff !important;
    color: #1a1e24 !important;
    box-shadow: 0 0 20px rgba(100, 181, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* 📱 スマホ対応（VSコードデモ基準） */
@media (max-width: 1024px) {
    .home-split-hero { flex-direction: column !important; min-height: auto !important; }
    .home-split-hero__text-zone { width: 100% !important; min-height: auto !important; padding: 60px 24px !important; }
    .home-split-hero__image-zone { width: 100% !important; height: 50vh !important; }
}
/* --------------------------------------------------------------------------
   ▼ トピックスバー
   -------------------------------------------------------------------------- */
.topics-bar {
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--color-border);
  margin-top: var(--header-height);
  font-size: 0.8rem;
}

.topics-bar__label {
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  white-space: nowrap;
  color: var(--color-blue-light);
}

.topics-bar__item {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  flex-wrap: wrap;
}

.topics-bar__item time {
  color: var(--color-text-muted);
  white-space: nowrap;
}

.topics-bar__more {
  margin-left: auto;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  white-space: nowrap;
}


/* --------------------------------------------------------------------------
   ▼ ホームバナー
   -------------------------------------------------------------------------- */
.home-banner {
  min-height: 480px;
  background: center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.home-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 29, 53, 0.88) 0%,
    rgba(0, 74, 119, 0.75) 50%,
    rgba(11, 87, 208, 0.45) 100%
  );
}

.home-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-text);
  padding: 40px;
}

.home-banner__content .en-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
}

.home-banner__content .jp-title {
  font-size: 0.9rem;
  line-height: 2;
  margin-bottom: 32px;
  opacity: 0.9;
}


/* --------------------------------------------------------------------------
   ▼ レスポンシブ対応（スマホで綺麗に上下に並ぶ設定）
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    /* タブレット・スマホ以下では綺麗に上下2段に切り替える */
    .home-split-hero { 
        flex-direction: column !important; 
        min-height: auto !important; 
    }
    .home-split-hero__text-zone { 
        width: 100% !important; 
        min-height: auto !important; 
        padding: 60px 24px !important; 
    }
    .home-split-hero__image-zone { 
        width: 100% !important; 
        height: 50vh !important; 
    }
}

@media (max-width: 768px) {
  .topics-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
  }

  .topics-bar__more {
    margin-left: 0;
  }
}