/* ===== トップページ（プロダクト） =====
   値は 資料/TOPページ-html/Main.dc.html（デザインのモック）から。 */

.top { overflow: hidden; }

/* ---------- ヒーロー ---------- */
.hero-visual { position: relative; max-width: 1680px; margin: 0 auto; }
.hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1281 / 436; }
.glow {
  position: absolute; aspect-ratio: 1 / 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 180, 90, 0.5) 0%, rgba(255, 140, 40, 0.2) 38%, rgba(255, 120, 20, 0) 68%);
  mix-blend-mode: screen; pointer-events: none;
}
.glow.is-small { background: radial-gradient(circle, rgba(255, 190, 110, 0.55) 0%, rgba(255, 140, 40, 0.2) 40%, rgba(255, 120, 20, 0) 68%); }
.glow.is-meter { background: radial-gradient(circle, rgba(255, 214, 150, 0.3) 0%, rgba(255, 170, 80, 0.1) 42%, rgba(255, 150, 60, 0) 66%); }
.hero-fade { position: absolute; pointer-events: none; }
.hero-fade.is-bottom { left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(180deg, rgba(12, 9, 7, 0) 0%, #0c0907 100%); }
.hero-fade.is-left { left: 0; top: 0; bottom: 0; width: 5%; background: linear-gradient(90deg, #0c0907 0%, rgba(12, 9, 7, 0) 100%); }
.hero-fade.is-right { right: 0; top: 0; bottom: 0; width: 5%; background: linear-gradient(270deg, #0c0907 0%, rgba(12, 9, 7, 0) 100%); }

@keyframes glowA { 0%, 100% { opacity: .55 } 18% { opacity: .92 } 31% { opacity: .62 } 47% { opacity: 1 } 63% { opacity: .7 } 82% { opacity: .88 } }
@keyframes glowB { 0%, 100% { opacity: .8 } 22% { opacity: .58 } 40% { opacity: .95 } 58% { opacity: .66 } 77% { opacity: 1 } }
@keyframes glowC { 0%, 100% { opacity: .5 } 35% { opacity: .85 } 60% { opacity: .6 } 80% { opacity: .9 } }
@keyframes breathe { 0%, 100% { opacity: .45 } 50% { opacity: .9 } }
.glow-a { animation: glowA 5.3s ease-in-out infinite; }
.glow-b { animation: glowB 6.7s ease-in-out infinite; }
.glow-c { animation: glowC 4.1s ease-in-out infinite; }

.hero-copy { padding-top: 20px; padding-bottom: 120px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 64px; }
.hero-title-col { flex: 1.25 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-title {
  margin: 0; font-family: var(--ff-serif-ja); font-weight: 600; font-size: clamp(42px, 5.6vw, 80px);
  line-height: 1.28; letter-spacing: 0.05em; color: var(--text-strong);
}
.hero-text-col { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero-lead { margin: 0; font-size: 17px; line-height: 2; color: var(--text-mid); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* ---------- セクション共通 ---------- */
.sec { padding-top: 120px; padding-bottom: 120px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 56px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 64px; }
.sec-head-title { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sec-title {
  margin: 0; font-family: var(--ff-serif-ja); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.4; letter-spacing: 0.05em; color: var(--text-strong);
}
.sec-head-text { flex: 1 1 380px; min-width: 0; margin: 0; color: var(--text-mid); line-height: 1.95; }
.sec-more { display: flex; justify-content: center; }

/* ---------- 機能 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; }
.feat { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; min-width: 0; border-top: 1px solid var(--line-mid); }
.feat-en { font-family: var(--ff-serif-en); font-weight: 600; font-size: 15px; letter-spacing: 0.24em; color: var(--amber); }
.feat-name { margin: 0; font-family: var(--ff-serif-ja); font-weight: 600; font-size: 23px; line-height: 1.5; letter-spacing: 0.04em; color: var(--text-strong); }
.feat-text { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--text-mid); }

/* ---------- JOURNAL ---------- */
.top-journal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 28px; }
.tj-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: border-color .25s, transform .25s; }
.tj-card:hover { border-color: var(--line-strong); transform: translateY(-2px); color: var(--text); }
.tj-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.tj-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); transition: transform .5s; }
.tj-card:hover .tj-thumb img { transform: scale(1.03); }
.tj-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.tj-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; letter-spacing: 0.06em; color: var(--text-faint); }
.tj-cat { color: var(--amber); }
.tj-title { margin: 0; font-family: var(--ff-serif-ja); font-weight: 600; font-size: 17px; line-height: 1.65; color: var(--text-strong); }

/* ---------- 配布の案内 ---------- */
.download {
  position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background-color: #1a110a; background-image: url(/assets/top/ambient.jpg); background-size: cover; background-position: center;
}
.download-glow {
  position: absolute; left: 50%; top: 50%; width: min(760px, 90%); aspect-ratio: 2 / 1; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255, 160, 70, 0.2) 0%, rgba(255, 140, 40, 0) 68%); pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}
.download-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 128px 32px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.download-title { margin: 0; font-family: var(--ff-serif-ja); font-weight: 600; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.4; letter-spacing: 0.06em; color: var(--text-strong); }
.download-info { margin: 0; font-size: 15px; letter-spacing: 0.06em; color: #e6d8c2; }

@media (max-width: 768px) {
  .hero-copy { padding-bottom: 80px; }
  .hero-lead { font-size: 16px; }
  .sec { padding-top: 80px; padding-bottom: 80px; gap: 40px; }
  .download-inner { padding: 96px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .glow-a, .glow-b, .glow-c, .download-glow { animation: none; }
}
