/* 株式会社エブリスマホ コーポレートサイト
   Layout: 黒〜濃紺の帯を縦に重ね、金の明朝見出しと細い金線の図で「AIの先駆者」を見せる。単一のダークテーマ。 */
:root {
  color-scheme: dark;
  --black: #05060c;
  --navy: #0a1230;
  --navy-2: #101b44;
  --ink: #ece4cf;          /* 本文：象牙 */
  --ink-soft: #a7a9bd;     /* 補足 */
  --gold: #d6b25e;
  --gold-hi: #f6e3a1;
  --gold-lo: #8c6a24;
  --line: rgba(214, 178, 94, 0.26);
  --line-soft: rgba(214, 178, 94, 0.12);
  --cyan: #7fe3ff;
  --ok: #8fe3b0;
  --warn: #f4c96b;
  --gold-grad: linear-gradient(115deg, #8c6a24 0%, #f6e3a1 28%, #d6b25e 50%, #fff3c9 62%, #b08a36 100%);

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-latin: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.8rem, 1.3rem + 2.2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.4rem + 4vw, 4.2rem);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.85; letter-spacing: 0.02em;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--black);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.4; text-wrap: balance; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--navy); padding: 8px 12px; }

.gold-text {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: rgba(5, 6, 12, 0.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.brand b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.08em; display: block; line-height: 1.2; }
.brand small { display: block; font-family: var(--font-latin); font-size: 0.62rem; letter-spacing: 0.28em; color: var(--gold); }
.nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 12px; font-size: var(--step--1); letter-spacing: 0.06em; position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta { border: 1px solid var(--gold); color: var(--gold-hi); margin-left: 8px; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: rgba(214, 178, 94, 0.12); }
.menu-btn {
  display: none; margin-left: auto; min-width: 44px; min-height: 44px; border: 1px solid var(--line);
  background: transparent; color: var(--gold-hi); font: inherit; font-size: var(--step--1); padding: 0 14px;
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: rgba(5, 6, 12, 0.97); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: var(--step-0); border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav .nav-cta { margin: 12px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 0 28px; text-decoration: none; letter-spacing: 0.1em; font-weight: 700; font-size: var(--step--1);
  border: 1px solid var(--gold); transition: background .3s, color .3s, box-shadow .3s;
}
.btn .ic { font-size: 1.1em; }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: #1a1406; border-color: transparent; box-shadow: 0 10px 30px -12px rgba(214, 178, 94, 0.7); }
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 14px 40px -10px rgba(246, 227, 161, 0.8); }
.btn-line { color: var(--gold-hi); background: transparent; }
.btn-line:hover { background: rgba(214, 178, 94, 0.1); }

/* Sections */
section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.band-navy { background: linear-gradient(180deg, var(--navy) 0%, #070c22 100%); }
.eyebrow {
  font-family: var(--font-latin); font-size: 0.78rem; letter-spacing: 0.32em; color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.sec-head { display: grid; gap: 18px; max-width: 48rem; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { font-size: var(--step-3); letter-spacing: 0.04em; }
.sec-head p { color: var(--ink-soft); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(37, 56, 140, 0.55), transparent 70%),
              radial-gradient(ellipse 50% 50% at 10% 90%, rgba(140, 106, 36, 0.18), transparent 70%), var(--black); }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-tag { font-family: var(--font-latin); letter-spacing: 0.3em; font-size: 0.78rem; color: var(--gold); display: flex; align-items: center; gap: 12px; }
.hero-tag img { width: 30px; height: 30px; border-radius: 8px; }
.hero h1 { font-size: var(--step-4); letter-spacing: 0.06em; line-height: 1.3; }
.hero h1 .gold-text { animation: shimmer 6s linear infinite; }
.hero-en { font-family: var(--font-latin); color: var(--ink-soft); letter-spacing: 0.18em; font-size: var(--step--1); }
.hero-lead { font-size: var(--step-1); color: var(--ink); opacity: .88; max-width: 33rem; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: var(--step--1); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ic { color: var(--gold); font-size: 1.15em; }

/* Phone mockup with orbit rings */
.hero-visual { position: relative; display: grid; place-items: center; min-width: 0; padding-block: 24px; }
.orbit { position: absolute; width: min(520px, 118%); aspect-ratio: 1; max-width: none; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; }
.orbit circle { fill: none; }
.orbit .r1 { stroke: rgba(214, 178, 94, 0.45); stroke-width: 0.6; stroke-dasharray: 2 6; }
.orbit .r2 { stroke: rgba(214, 178, 94, 0.25); stroke-width: 0.5; }
.orbit .r3 { stroke: rgba(127, 227, 255, 0.25); stroke-width: 0.5; stroke-dasharray: 40 12 4 12; }
.orbit .dot { fill: #f6e3a1; stroke: none; }
.spin { transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.spin.rev { animation-duration: 60s; animation-direction: reverse; }
.phone {
  position: relative; width: min(300px, 82vw); border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #2a2412, #0b0b10 30%, #0b0b10 70%, #3a2f12);
  box-shadow: 0 0 0 1px rgba(246, 227, 161, 0.35), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(214, 178, 94, 0.35);
}
.screen { border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #0c1538, #070b1d); padding: 14px 12px 16px; display: grid; gap: 10px; min-height: 520px; align-content: start; }
.screen-top { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--ink-soft); padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.screen-top img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.screen-top b { color: var(--gold-hi); font-family: var(--font-latin); letter-spacing: 0.16em; font-size: 0.8rem; display: block; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 1.6s ease-in-out infinite; }
.msg { font-size: 0.74rem; line-height: 1.65; padding: 9px 11px; max-width: 88%; border-radius: 14px; }
.msg.me { justify-self: end; background: rgba(214, 178, 94, 0.16); border: 1px solid var(--line); border-bottom-right-radius: 3px; }
.msg.ai { background: rgba(127, 227, 255, 0.07); border: 1px solid rgba(127, 227, 255, 0.2); border-bottom-left-radius: 3px; }
.mini-plan { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 8px; font-size: 0.72rem; background: rgba(5, 6, 12, 0.5); }
.mini-plan header { display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.mini-plan h3 { font-family: var(--font-body); font-size: 0.78rem; color: var(--gold-hi); }
.mini-stages { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.mini-stages div { border: 1px solid var(--line-soft); border-radius: 8px; padding: 6px 7px; line-height: 1.45; }
.mini-stages small { display: block; color: var(--gold); font-size: 0.64rem; }
.mini-stages .ic { color: var(--gold); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 0.68rem; font-weight: 700; padding: 1px 9px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.chip.ok { color: var(--ok); }
.chip.warn { color: var(--warn); }
.screen .note { font-size: 0.62rem; color: var(--ink-soft); text-align: center; }
.seq > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.seq > :nth-child(2) { animation-delay: .3s; } .seq > :nth-child(3) { animation-delay: .7s; }
.seq > :nth-child(4) { animation-delay: 1.1s; } .seq > :nth-child(5) { animation-delay: 1.5s; } .seq > :nth-child(6) { animation-delay: 1.8s; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .orbit { width: min(460px, 100%); }
}

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: var(--navy); overflow: hidden; padding-block: 18px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-latin); letter-spacing: 0.3em; font-size: 0.9rem; color: var(--gold); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee span::after { content: "✦"; color: var(--gold-lo); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--black); padding: clamp(28px, 3vw, 40px) 28px; display: grid; gap: 14px; align-content: start; transition: background .4s; }
.pillar:hover { background: #0b1023; }
.pillar .ic-wrap { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-hi); font-size: 28px; position: relative; }
.pillar .ic-wrap::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed var(--line); animation: spin 18s linear infinite; }
.pillar h3 { font-size: var(--step-2); }
.pillar .en { font-family: var(--font-latin); font-size: 0.72rem; letter-spacing: 0.24em; color: var(--gold); }
.pillar p { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* Network diagram */
.diagram-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.diagram { width: 100%; height: auto; overflow: visible; }
.diagram text { font-family: var(--font-body); fill: #ece4cf; font-size: 13px; }
.diagram .lbl-en { font-family: var(--font-latin); fill: #d6b25e; font-size: 9px; letter-spacing: 2.5px; }
.diagram .node { fill: #0b1230; stroke: #d6b25e; stroke-width: 1; }
.diagram .node-core { fill: #0b1230; stroke: #f6e3a1; stroke-width: 1.5; }
.diagram .link { stroke: rgba(214, 178, 94, 0.35); stroke-width: 1; fill: none; }
.diagram .flow-line { stroke: #f6e3a1; stroke-width: 1.8; fill: none; stroke-dasharray: 4 14; animation: dash 1.6s linear infinite; }
.diagram .flow-line.cyan { stroke: #7fe3ff; }
.diagram .halo { fill: none; stroke: rgba(246, 227, 161, 0.5); animation: halo 3s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.diagram .glyph { stroke: #f6e3a1; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.legend { display: grid; gap: 22px; }
.legend li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.legend .sw { width: 28px; height: 2px; margin-top: 14px; background: var(--gold-hi); }
.legend .sw.cyan { background: var(--cyan); }
.legend .sw.dim { background: rgba(214, 178, 94, 0.35); }
.legend b { display: block; font-family: var(--font-display); font-size: var(--step-1); }
.legend p { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 860px) { .diagram-wrap { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 30px 26px 28px; border: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(16, 27, 68, 0.5), rgba(5, 6, 12, 0.2)); display: grid; gap: 10px; align-content: start; overflow: hidden; transition: border-color .3s, transform .3s; }
.step:hover { border-color: var(--gold); transform: translateY(-4px); }
.step::before { content: "0" counter(step); position: absolute; right: 16px; top: 4px; font-family: var(--font-latin); font-size: 4.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(214, 178, 94, 0.35); }
.step .ic { font-size: 30px; color: var(--gold-hi); }
.step .who { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--gold); }
.step h3 { font-size: var(--step-1); }
.step p { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .steps { grid-template-columns: 1fr; } }

/* Plans diagram */
.plan-types { display: grid; gap: 18px; }
.ptype { display: grid; grid-template-columns: 16rem 1fr; gap: 28px; align-items: center; padding: 26px; border: 1px solid var(--line-soft); background: rgba(5, 6, 12, 0.45); }
.ptype > div { min-width: 0; }
.ptype h3 { font-size: var(--step-1); display: flex; gap: 12px; align-items: center; }
.ptype h3 .ic { color: var(--gold-hi); font-size: 1.3em; }
.ptype p { color: var(--ink-soft); font-size: var(--step--1); margin-top: 6px; }
.track { display: flex; align-items: center; min-width: 0; }
.seg { flex: 1; min-width: 0; padding: 14px 10px; text-align: center; font-size: 0.82rem; line-height: 1.45; border: 1px solid var(--gold); position: relative; overflow: hidden; }
.seg small { display: block; font-family: var(--font-latin); color: var(--gold); letter-spacing: 0.16em; font-size: 0.64rem; }
.seg.a { background: linear-gradient(90deg, rgba(214, 178, 94, 0.22), rgba(214, 178, 94, 0.06)); }
.seg.b { border-color: var(--cyan); background: linear-gradient(90deg, rgba(127, 227, 255, 0.18), rgba(127, 227, 255, 0.04)); }
.seg.b small { color: var(--cyan); }
.seg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 243, 201, 0.22) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 4.5s ease-in-out infinite; }
.gap { flex: 0 0 72px; text-align: center; color: var(--ink-soft); font-size: 0.68rem; border-top: 1px dashed var(--ink-soft); padding-top: 4px; }
.arrow { flex: 0 0 34px; display: grid; place-items: center; color: var(--gold-hi); }
.plans-note { margin-top: 22px; font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 760px) { .ptype { grid-template-columns: 1fr; gap: 18px; } .gap { flex-basis: 48px; } .arrow { flex-basis: 26px; } }

/* Voices */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.two-col > * { min-width: 0; }
.col-title { font-size: var(--step-2); margin-bottom: 20px; display: flex; gap: 12px; align-items: center; }
.col-title .ic { color: var(--gold-hi); }
.voice-list { display: grid; gap: 12px; }
.voice-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-soft); background: rgba(16, 27, 68, 0.35); }
.voice-list .ic { font-size: 22px; color: var(--gold); margin-top: 3px; }
.voice-list .from { display: block; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--gold); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { padding: 28px 22px; border-top: 1px solid var(--gold); background: linear-gradient(180deg, rgba(214, 178, 94, 0.08), transparent 60%); display: grid; gap: 12px; align-content: start; }
.benefit .ic { font-size: 32px; color: var(--gold-hi); }
.benefit h3 { font-size: var(--step-1); }
.benefit p { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 980px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.migrate { margin-top: 36px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 28px; border: 1px solid var(--line); background: radial-gradient(ellipse at 0% 50%, rgba(37, 56, 140, 0.5), transparent 70%), var(--navy); }
.migrate img { width: 92px; border-radius: 22px; box-shadow: 0 0 40px -6px rgba(127, 227, 255, 0.45); }
.migrate h3 { font-size: var(--step-1); margin-bottom: 6px; }
.migrate p { color: var(--ink-soft); }
@media (max-width: 560px) { .migrate { grid-template-columns: 1fr; } }

/* Roadmap */
.roadmap { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.roadmap::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--cyan)); }
.rm { position: relative; display: grid; gap: 8px; padding-top: 58px; align-content: start; min-width: 0; }
.rm::before { content: ""; position: absolute; top: 16px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--black); border: 1px solid var(--gold); }
.rm.now::before { background: var(--gold-hi); box-shadow: 0 0 0 6px rgba(246, 227, 161, 0.15), 0 0 20px var(--gold); animation: pulse 2s ease-in-out infinite; }
.rm.next::before { border-color: var(--cyan); border-style: dashed; }
.rm time { font-family: var(--font-latin); font-size: var(--step-2); color: var(--gold-hi); line-height: 1; font-variant-numeric: tabular-nums; }
.rm.next time { color: var(--cyan); }
.rm h3 { font-size: var(--step-0); }
.rm p { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 900px) {
  .roadmap { grid-template-columns: 1fr; gap: 0; padding-left: 30px; }
  .roadmap::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold-lo), var(--gold-hi), var(--cyan)); }
  .rm { padding: 0 0 28px; }
  .rm::before { left: -30px; top: 6px; }
}
.status { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.status li { background: var(--black); padding: 18px 20px; display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; font-size: var(--step--1); }
@media (max-width: 700px) { .status { grid-template-columns: 1fr; } }

/* Company */
.company .two-col { align-items: start; }
.dl { display: grid; grid-template-columns: 7.5em 1fr; margin: 0; border-top: 1px solid var(--line); }
.dl dt, .dl dd { padding: 16px 4px; border-bottom: 1px solid var(--line-soft); margin: 0; min-width: 0; }
.dl dt { color: var(--gold); font-size: var(--step--1); letter-spacing: 0.1em; }
.ceo { display: grid; gap: 18px; padding: 32px; border: 1px solid var(--line); background: var(--navy); position: relative; overflow: hidden; }
.ceo::after { content: "EVERY SMAHO"; position: absolute; right: -10px; bottom: -18px; font-family: var(--font-latin); font-size: 3.6rem; color: transparent; -webkit-text-stroke: 1px rgba(214, 178, 94, 0.14); white-space: nowrap; pointer-events: none; }
.ceo blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 2; position: relative; z-index: 1; }
.ceo cite { font-style: normal; color: var(--gold); font-size: var(--step--1); letter-spacing: 0.12em; }

/* News */
.news-list { border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 9em 7em 1fr; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line-soft); align-items: baseline; transition: background .3s; }
.news-list li:hover { background: rgba(214, 178, 94, 0.05); }
.news-list time { font-family: var(--font-latin); color: var(--gold); font-size: var(--step--1); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.news-list .cat { font-size: 0.7rem; text-align: center; border: 1px solid var(--line); padding: 1px 6px; color: var(--ink-soft); }
@media (max-width: 600px) { .news-list li { grid-template-columns: auto auto; justify-content: start; } .news-list li p { grid-column: 1 / -1; } }

/* Contact */
.contact { overflow: hidden; background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(140, 106, 36, 0.28), transparent 70%), var(--black); }
.contact .wrap { display: grid; justify-items: center; text-align: center; gap: 24px; }
.contact h2 { font-size: var(--step-3); }
.contact p { color: var(--ink-soft); }
.contact .spirit { width: 200px; -webkit-mask-image: radial-gradient(circle, #000 50%, transparent 68%); mask-image: radial-gradient(circle, #000 50%, transparent 68%); }
.contact-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-item { border: 1px solid var(--line); padding: 16px 24px; display: grid; gap: 2px; min-width: 0; background: rgba(5, 6, 12, 0.6); }
.contact-item b { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--gold); font-weight: 400; }
.contact-item span { font-size: var(--step-1); font-weight: 700; user-select: all; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #030409; color: var(--ink-soft); font-size: var(--step--1); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 44px; display: flex; flex-wrap: wrap; gap: 18px 36px; justify-content: space-between; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--gold-hi); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer .copy { width: 100%; font-family: var(--font-latin); letter-spacing: 0.16em; font-size: 0.72rem; color: var(--gold-lo); }

/* Plain document pages */
.doc { padding-block: 56px 96px; }
.doc .wrap { max-width: 760px; display: grid; gap: 20px; }
.doc h1 { font-size: var(--step-3); }
.doc h2 { font-size: var(--step-1); margin-top: 12px; color: var(--gold-hi); }
.doc ul { padding-left: 1.4em; list-style: disc; }

/* Scroll reveal: 対応ブラウザーのみ。非対応でも最初から表示される */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}

@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes halo { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }
@keyframes reveal { from { opacity: .15; transform: translateY(28px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
