/* ============================================================
   top.css — トップページ専用セクションCSS
   （共通の nav / ボタン / cta / footer / eyebrow / h2 / fadeUp は
     site.css 側にあるため、ここではトップ固有のセクションのみ）
   front-page.php でのみ読み込みます。
   ============================================================ */

/* ── HERO ── */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 80px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, rgba(26,79,214,0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(26,79,214,0.04), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}
.hero-watermark {
  position: absolute; top: 50%; left: -2vw; transform: translateY(-50%);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(280px, 38vw, 560px); font-weight: 300; line-height: 0.85;
  color: rgba(26,79,214,0.045); letter-spacing: -0.06em;
  pointer-events: none; user-select: none; white-space: nowrap;
}
.hero-inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; }
.hero-title {
  font-family: var(--jp-serif); font-size: clamp(56px, 10.5vw, 168px);
  font-weight: 300; line-height: 0.98; letter-spacing: -0.02em; color: var(--ink);
}
.hero-title .line { display: block; position: relative; }
.hero-title .l1 { padding-left: 0; }
.hero-title .l2 { padding-left: 18%; }
.hero-title .l3 { padding-left: 6%; }
.hero-title em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--accent); letter-spacing: -0.04em; }
.hero-foot { margin-top: 80px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px; }
.hero-sub { font-size: 15px; color: var(--gray-700); line-height: 2.1; max-width: 460px; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

/* ── ABOUT ── */
.about { background: var(--ink); color: var(--white); padding: 140px var(--gutter); position: relative; overflow: hidden; }
.about::before { content: ''; position: absolute; top: 0; right: -10%; width: 60%; height: 100%; background: radial-gradient(ellipse at center, rgba(26,79,214,0.18), transparent 70%); pointer-events: none; }
.about-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.about .eyebrow { color: var(--accent-tint); }
.about-title { font-family: var(--jp-serif); font-size: clamp(36px, 4.5vw, 60px); font-weight: 300; line-height: 1.3; letter-spacing: 0.01em; color: var(--white); margin-top: 20px; max-width: 900px; }
.about-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-tint); background: linear-gradient(90deg, #6b95ff, #c9d8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 80px; margin-top: 80px; align-items: start; }
.about-body { max-width: 760px; }
.about-body p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 2.1; font-weight: 300; }
.about-body p + p { margin-top: 1.4em; }
.about-sig { font-family: var(--serif); font-style: italic; font-size: 22px; color: rgba(255,255,255,0.9); margin-top: 32px; letter-spacing: -0.01em; }

/* ── SERVICE ── */
.service { padding: 140px var(--gutter) 0; background: var(--white); }
.service-inner { max-width: var(--max); margin: 0 auto; }
.service-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 72px; }
.service-head-right { font-size: 14px; line-height: 2; color: var(--gray-700); max-width: 440px; justify-self: end; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--gray-200); }
.service-card { padding: 48px 0 56px; text-decoration: none; color: inherit; display: block; border-bottom: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); transition: background 0.25s; position: relative; }
.service-card:first-child { border-left: 1px solid var(--gray-200); }
.service-card .inner { padding: 0 36px; }
.service-card:hover { background: var(--paper); }
.service-card:hover .card-arrow { color: var(--accent); transform: translate(4px, -4px); }
.card-num { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.card-num::before { content: ''; display: block; width: 18px; height: 1px; background: var(--accent); }
.card-title { font-family: var(--jp-serif); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 16px; line-height: 1.45; letter-spacing: 0.01em; }
.card-body { font-size: 13px; color: var(--gray-500); line-height: 1.95; margin-bottom: 40px; min-height: 110px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; }
.card-tag { font-size: 10px; letter-spacing: 0.12em; color: var(--gray-500); padding: 4px 10px; border: 1px solid var(--gray-200); background: var(--white); }
.card-arrow { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gray-300); transition: color 0.25s, transform 0.25s; display: block; }
.service-sub { background: var(--paper); padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.service-sub-inner { max-width: var(--max); margin: 0 auto; padding: 0 36px; display: flex; align-items: flex-start; gap: 56px; }
.service-sub-label { font-family: var(--serif); font-style: italic; font-size: 12px; letter-spacing: 0.16em; color: var(--gray-500); text-transform: uppercase; white-space: nowrap; padding-top: 6px; min-width: 90px; }
.service-sub-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.service-sub-links a { font-size: 13px; color: var(--gray-700); text-decoration: none; padding: 8px 18px; border: 1px solid var(--gray-300); background: var(--white); display: inline-flex; align-items: center; gap: 8px; transition: border-color 0.2s, color 0.2s, background 0.2s; letter-spacing: 0.04em; }
.service-sub-links a::after { content: '→'; font-family: var(--serif); font-style: italic; font-size: 12px; color: var(--gray-300); transition: color 0.2s; }
.service-sub-links a:hover { border-color: var(--accent); color: var(--accent); }
.service-sub-links a:hover::after { color: var(--accent); }

/* ── WORKS ── */
.works { padding: 140px var(--gutter); background: var(--paper); position: relative; }
.works-inner { max-width: var(--max); margin: 0 auto; }
.works-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 64px; gap: 40px; flex-wrap: wrap; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.work-card { display: block; text-decoration: none; color: inherit; transition: transform 0.4s ease; }
.work-card:hover { transform: translateY(-6px); }
.work-thumb { display: block; width: 100%; height: 300px; margin-bottom: 22px; background: var(--gray-100); object-fit: cover; }
.work-title { font-family: var(--jp-serif); font-size: 18px; color: var(--ink); line-height: 1.55; font-weight: 400; }
.works-foot { margin-top: 72px; display: flex; justify-content: center; }

/* ── VOICE ── */
.voice { padding: 140px var(--gutter); background: var(--white); }
.voice-inner { max-width: var(--max); margin: 0 auto; }
.voice-head { margin-bottom: 64px; }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.voice-card { border: 1px solid var(--gray-200); padding: 48px 48px 40px; background: var(--white); position: relative; transition: border-color 0.25s, background 0.25s; }
.voice-card:hover { border-color: var(--accent); background: var(--paper); }
.voice-card .quote { font-family: var(--serif); font-style: italic; font-size: 88px; line-height: 0.7; color: var(--accent); opacity: 0.2; position: absolute; top: 22px; right: 32px; font-weight: 400; }
.voice-quote-text { font-family: var(--jp-serif); font-size: 19px; line-height: 1.85; color: var(--ink); font-weight: 400; margin-bottom: 32px; letter-spacing: 0.01em; }
.voice-quote-text em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.voice-meta { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.voice-ava { width: 56px; height: 56px; background: var(--gray-100); border-radius: 50%; position: relative; overflow: hidden; }
.voice-ava::after { content: attr(data-initial); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gray-500); }
.voice-name { font-size: 14px; color: var(--ink); font-weight: 500; }
.voice-role { font-size: 11px; letter-spacing: 0.1em; color: var(--gray-500); margin-top: 3px; }

/* ── NEWS ── */
.news { background: var(--paper); padding: 140px var(--gutter); }
.news-inner { max-width: var(--max); margin: 0 auto; }
.news-head-row { display: flex; justify-content: space-between; align-items: end; margin-bottom: 56px; gap: 40px; flex-wrap: wrap; }
.news-list { list-style: none; }
.news-item { display: grid; grid-template-columns: 130px 110px 1fr 24px; gap: 32px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--gray-200); text-decoration: none; color: inherit; transition: padding 0.25s, background 0.25s; }
.news-item:first-child { border-top: 1px solid var(--gray-200); }
.news-item:hover { padding-left: 14px; background: rgba(255,255,255,0.5); }
.news-item:hover .news-arr { color: var(--accent); transform: translateX(4px); }
.news-date { font-size: 13px; color: var(--gray-500); letter-spacing: 0.04em; font-family: var(--serif); font-style: italic; }
.news-tag { font-size: 10px; letter-spacing: 0.16em; padding: 4px 10px; border: 1px solid var(--gray-300); color: var(--gray-500); text-align: center; text-transform: uppercase; background: rgba(255,255,255,0.5); }
.news-tag.accent { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }
.news-title-text { font-size: 14px; color: var(--ink); line-height: 1.7; font-weight: 400; }
.news-arr { font-family: var(--serif); font-style: italic; color: var(--gray-300); font-size: 18px; transition: color 0.2s, transform 0.25s; text-align: right; }

/* ── COLUMN ── */
.column { padding: 140px var(--gutter); background: var(--white); }
.column-inner { max-width: var(--max); margin: 0 auto; }
.column-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.column-head-sub { font-size: 14px; line-height: 2; color: var(--gray-700); max-width: 440px; justify-self: end; }
.column-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.column-card { display: block; text-decoration: none; color: inherit; transition: transform 0.35s ease; }
.column-card:hover { transform: translateY(-4px); }
.column-card:hover .column-arr { color: var(--accent); }
.column-thumb { aspect-ratio: 16/10; margin-bottom: 24px; position: relative; overflow: hidden; }
.column-thumb.ct1 { background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4), transparent 60%), linear-gradient(135deg, #1a4fd6 0%, #0f3aa8 70%, #0a2570 100%); }
.column-thumb.ct2 { background: radial-gradient(circle at 80% 70%, rgba(26,79,214,0.3), transparent 60%), linear-gradient(140deg, #15161a 0%, #2a2a2f 100%); }
.column-thumb.ct3 { background: radial-gradient(circle at 60% 40%, #e8eefb, transparent 65%), linear-gradient(180deg, #f5f4f0 0%, #d6d5d0 100%); }
.column-cat { position: absolute; top: 18px; left: 20px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 10px; background: rgba(255,255,255,0.85); backdrop-filter: blur(4px); color: var(--ink); }
.column-thumb.ct3 .column-cat { background: rgba(255,255,255,0.9); }
.column-date { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--gray-500); letter-spacing: 0.04em; margin-bottom: 12px; }
.column-title { font-family: var(--jp-serif); font-size: 17px; font-weight: 400; color: var(--ink); line-height: 1.7; letter-spacing: 0.01em; margin-bottom: 18px; min-height: 84px; }
.column-arr { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--gray-500); letter-spacing: 0.08em; transition: color 0.2s; }
.column-foot { margin-top: 72px; display: flex; justify-content: center; }

/* ── HERO 入場アニメ ── */
.hero-title .l1 { animation: fadeUp 0.85s 0.05s ease both; }
.hero-title .l2 { animation: fadeUp 0.85s 0.18s ease both; }
.hero-title .l3 { animation: fadeUp 0.85s 0.31s ease both; }
.hero-foot     { animation: fadeUp 0.85s 0.5s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 56px); padding-bottom: 56px; }
  .hero-title .l2 { padding-left: 8%; }
  .hero-foot { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-head { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); }
  .works-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-thumb { height: 240px; }
  .voice-grid { grid-template-columns: 1fr; }
  .voice-card { padding: 36px 28px; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-arr { display: none; }
  .column-head { grid-template-columns: 1fr; gap: 24px; }
  .column-grid { grid-template-columns: 1fr; gap: 32px; }
}
