@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ─── 基本設定 ─────────────────────────────────── */
:root {
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --font-mono: 'DM Mono', monospace;
  --ink: #1a1a2e;
  --accent: #EF4444;
  --bg: #F4F2EE;
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
}
*::-webkit-scrollbar {
  display: none;
}

html,
body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===============================================
   APP 枠組み（max-w-md = 448px で中央寄せ）
=============================================== */
.app {
  min-height: 100%;
  max-width: 448px;
  margin: 0 auto;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

/* ===============================================
   HERO HEADER
=============================================== */
.app-header {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
  padding: 40px 20px 32px;
}
.app-header::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(239, 68, 68, 0.6),
    rgba(239, 68, 68, 0.1),
    transparent
  );
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* タイトル */
.hero-title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.hero-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.hero-sub-line {
  height: 1px;
  width: 32px;
  background-color: var(--accent);
}
.hero-sub-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ニュース */
.news {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-date {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--accent);
  letter-spacing: 0.1em;
  width: 40px;
  flex-shrink: 0;
}
.news-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.app-main {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 28px 16px;
}

/* セクションヘッダー共通 */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-head--left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.section-bar {
  width: 3px;
  height: 14px;
  border-radius: 9999px;
  background-color: var(--accent);
}
.section-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}
.section-more {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
  background: none;
  border: none;
  transition: color 0.15s ease;
}
.section-more:hover {
  color: var(--accent);
}

/* ===============================================
   攻略カード
=============================================== */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.guide-card:hover {
  box-shadow: var(--shadow-md);
}

.hot-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: #fef2f2;
  border: 1px solid rgba(239, 68, 68, 0.5);
  padding: 2px 6px;
}

.guide-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
}
.tag-main {
  background-color: #dbeafe;
  color: #1d4ed8;
}
.guide-title {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.375;
  color: var(--ink);
  padding-right: 40px;
}
.guide-desc {
  font-size: 11px;
  line-height: 1.625;
  color: rgba(0, 0, 0, 0.45);
}
.guide-updated {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(0, 0, 0, 0.25);
  padding-top: 4px;
}

/* ===============================================
   孤高について
=============================================== */
.about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.about-hero {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background-color: var(--ink);
}
.about-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.about-name {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.25;
  color: #ffffff;
}
.about-sub {
  font-size: 11px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}
.about-text {
  font-size: 14px;
  line-height: 1.625;
  color: rgba(26, 26, 46, 0.8);
}
.about-divider {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.06);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.25);
}
.stat-value {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

/* ===============================================
   FOOTER
=============================================== */
.app-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
}
.footer-note {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.625;
  color: rgba(0, 0, 0, 0.3);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.2);
}