@charset "utf-8";
/*!
 * WIZE — page-top.css
 * 読み込みは inc/enqueue.php（base → ページ別 page-* → wordpress の順。ページ別の割り当ては wize_css_pages_for_current_page）
 */
/* ---- 40-page-top.css ---- */
/* =========================================================
   Page: TOP — ヒーロー、Featured、NEWS グリッド
   page-top.php
   ========================================================= */
/* =========================================================
   HERO (TOP)
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 720px;
  padding: calc(var(--header-h) + 90px) 0 130px;
  background: radial-gradient(circle at 75% 50%, rgba(243, 244, 255, 0.5) 0%, #fff 70%);
  overflow: hidden;
}
.hero__wave {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.95;
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: waveColorChange 30s linear infinite;
}
.hero__lines { position: absolute; top: 0; right: 0; z-index: 2; width: 55%; height: 100%; opacity: 0.3; pointer-events: none; }
.hero .container { position: relative; }
.hero__content { position: relative; z-index: 10; max-width: 620px; }
.hero__title {
  margin-bottom: 35px;
  font-family: var(--f-serif);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.1em;
  color: var(--c-ink);
}
.hero__text {
  margin-bottom: 45px;
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.03em;
  color: #4a5160;
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 20px; }
.hero__visual {
  position: absolute;
  right: 8%;
  top: 50%;
  z-index: 5;
  width: 520px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
  perspective: 1000px;
}
.hero__mark {
  --logo-scale: 1;
  width: 380px;
  height: 380px;
  opacity: 0.82;
  filter: drop-shadow(0 15px 35px rgba(153, 69, 255, 0.22)) drop-shadow(0 15px 35px rgba(20, 241, 149, 0.22));
  transform: scale(var(--logo-scale)) rotateY(0deg);
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease);
  animation: logoRotateY 30s linear infinite;
}
/* hero load sequence */
.hero__title, .hero__text, .hero__buttons { animation: heroUp 1.2s var(--ease) both; }
.hero__text { animation-delay: 0.15s; }
.hero__buttons { animation-delay: 0.3s; }
.hero__visual { animation: heroFade 1.6s var(--ease) 0.2s both; }

@media (max-width: 1199px) {
  .hero__visual { right: 2%; width: 420px; height: 420px; }
  .hero__mark { width: 300px; height: 300px; }
}
@media (max-width: 960px) {
  .hero { flex-direction: column; min-height: 0; padding: calc(var(--header-h) + 48px) 0 72px; }
  /* SP：一文を最上部に、ロゴマークは小さくして一文と本文のあいだに置く。
     container・content の箱をなくし（display: contents）、一文・ロゴ・本文・ボタンを .hero の縦並びにして order で並べ替える */
  .hero .container, .hero__content { display: contents; }
  .hero__title, .hero__text, .hero__buttons { position: relative; z-index: 10; width: 100%; padding: 0 var(--pad); }
  .hero__title { order: 1; }
  .hero__visual { order: 2; position: relative; right: auto; top: auto; transform: none; width: 210px; height: 210px; margin: 0 auto 24px; animation-delay: 0.1s; }
  .hero__text { order: 3; }
  .hero__buttons { order: 4; }
  .hero__mark { width: 170px; height: 170px; }
  .hero__title { font-size: clamp(32px, 7vw, 44px); margin-bottom: 24px; }
  .hero__text { margin-bottom: 32px; }
  .hero__text br { display: none; }
}

/* link with arrow */
.link-more { display: inline-flex; align-items: center; gap: 6px; flex: none; font-family: var(--f-sans); font-size: 12px; font-weight: 600; color: var(--c-indigo); }
.link-more .arrow { transition: transform 0.3s var(--ease); }
.link-more:hover .arrow { transform: translateX(4px); }
/* IR eyebrow badge */
.badge-ir-news { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 16px; border: 1px solid rgba(var(--c-indigo-rgb), 0.15); border-radius: 30px; background: linear-gradient(135deg, rgba(var(--c-indigo-rgb), 0.1) 0%, rgba(168, 85, 247, 0.1) 100%); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--c-indigo); }
/* =========================================================
   FEATURED (TOP) — 左に画像、右に見出しリスト
   ========================================================= */
.feature__head { margin-bottom: 48px; }
.feature__head .section-title-wrap { margin-bottom: 0; }
.feature__btn {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--c-border-tint);
  border-radius: 50%;
  background: #fff;
  font-family: var(--f-en);
  font-size: 15px;
  color: var(--c-indigo-deep);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.feature__btn:hover { border-color: transparent; background: var(--grad); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--c-indigo-rgb), 0.3); }
.feature-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.feature-split__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: var(--grad-soft); box-shadow: 0 18px 44px rgba(26, 30, 38, 0.1); touch-action: pan-y; }
.feature-split__img { position: absolute; inset: 0; z-index: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.18, 1); }
.feature-split__img.is-prev { z-index: 1; clip-path: inset(0); transition: none; }
.feature-split__img.is-active { z-index: 2; clip-path: inset(0); }
.feature-split__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); -webkit-user-drag: none; user-select: none; }
.feature-split__img.is-active img { transform: none; }
.feature-split__list { border-top: 1px solid var(--c-line); }
.feature-split__item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 6px 18px 0; border-bottom: 1px solid var(--c-line); cursor: pointer; transition: background-color 0.3s; }
.feature-split__item:hover { background: rgba(var(--c-indigo-rgb), 0.03); }
.feature-split__num { padding-top: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: #c3c8d6; transition: color 0.3s; }
.feature-split__text .card__meta { margin-bottom: 6px; }
.feature-split .badge { position: static; padding: 2px 10px; border-radius: 30px; box-shadow: none; font-family: var(--f-sans); letter-spacing: 0.04em; }
.feature-split__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--f-sans); font-size: 14px; font-weight: 700; line-height: 1.7; color: var(--c-sub); transition: color 0.3s; }
.feature-split__title:hover { color: var(--c-indigo); }
.feature-split__item.is-current .feature-split__num { color: var(--c-indigo); }
.feature-split__item.is-current .feature-split__title:not(:hover) { color: var(--c-ink); }
.feature-split__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.feature-split__bar span { position: absolute; inset: 0; background: var(--grad-line); transform: scaleX(0); transform-origin: left; }
.feature-split__bar span.is-running { animation: featureProgress var(--feature-interval, 6s) linear forwards; }
.js-feature.is-paused .feature-split__bar span { animation-play-state: paused; }
@keyframes featureProgress { to { transform: scaleX(1); } }
@media (max-width: 960px) {
  .feature-split { grid-template-columns: 1fr; gap: 24px; }
  .feature-split__item:not(.is-current) .card__meta { display: none; }
}
@media (max-width: 767px) {
  .feature__head { margin-bottom: 32px; }
  .feature__btn { width: 42px; height: 42px; }
  .feature-split__media { border-radius: var(--radius); }
}
@media (prefers-reduced-motion: reduce) {
  .feature-split__img, .feature-split__img img { transition: none; }
}
/* =========================================================
   NEWS GRID (TOP)
   ========================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; } /* minmax(0, …)：タグ等の中身より列を狭められるようにする（768px・320px 付近ではみ出すため） */
@media (max-width: 1079px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
.news-grid__item { display: flex; }
.news-grid__item > .news-card { flex: 1; min-width: 0; }
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(var(--c-indigo-rgb), 0.05);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(var(--c-indigo-rgb), 0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(var(--c-indigo-rgb), 0.12); }
.news-card__image { aspect-ratio: 16 / 9; overflow: hidden; background: var(--grad-soft); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-card__image img { transform: scale(1.06); }
.news-card__body { flex: 1; padding: 18px 18px 20px; }
.news-card__title { font-family: var(--f-sans); font-size: 14px; font-weight: 700; line-height: 1.65; color: var(--c-text); transition: color 0.3s; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover .news-card__title { color: var(--c-indigo); }
.news-card__body { display: flex; flex-direction: column; }
.news-card .tag { max-width: 100%; white-space: normal; } /* カードが狭いとき（320px・768px 付近）は長いタグ名を折り返す */
.news-card__cat { margin-top: auto; padding-top: 12px; font-family: var(--f-sans); font-size: 11px; color: var(--c-muted); }
@media (max-width: 767px) {
  .news-card { border-radius: 12px; }
  .news-card__body { padding: 12px 12px 14px; }
  .news-card .card__meta { flex-wrap: wrap; gap: 4px 8px; margin-bottom: 6px; }
  .news-card__title { font-size: 13px; }
}
