/* ==========================================================================
   タカシの逆襲 - Dark Confession Theme
   ========================================================================== */

:root {
  --bg-primary: #1a1f2e;
  --bg-secondary: #212738;
  --bg-tertiary: #2a3042;
  --border: #3a4055;
  --text-primary: #f0f0f0;
  --text-secondary: #c0c4d0;
  --text-muted: #8890a0;
  --accent-red: #e53e3e;
  --accent-red-hover: #c53030;
  --accent-gold: #f6c943;
  --accent-gold-hover: #d4a82e;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-red: 0 0 32px rgba(229, 62, 62, 0.2);
  --max-width: 740px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 2.15;
  letter-spacing: 0.03em;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
  font-weight: 900;
  line-height: 1.5;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2.1rem;
  margin: 2rem 0 1.5rem;
  line-height: 1.4;
}

h2 {
  font-size: 1.55rem;
  margin: 3.5rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  position: relative;
}

h2::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent-red);
}

h3 {
  font-size: 1.2rem;
  margin: 2.2rem 0 1rem;
  color: var(--accent-gold);
}

p {
  margin: 0 0 1.4rem;
  color: var(--text-primary);
}

strong {
  color: var(--accent-gold);
  font-weight: 700;
}

em {
  color: var(--accent-red);
  font-style: normal;
  font-weight: 700;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(234, 179, 8, 0.4);
  transition: all 0.2s;
}

a:hover {
  color: var(--accent-gold-hover);
  border-bottom-color: var(--accent-gold-hover);
}

blockquote {
  border-left: 4px solid var(--accent-red);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  color: var(--text-secondary);
  font-style: italic;
  background: var(--bg-secondary);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
}

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--accent-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 2px;
  box-shadow: var(--shadow-red);
}

.logo-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.logo-text span {
  color: var(--accent-red);
}

.nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  letter-spacing: 0.05em;
}

.nav a:hover {
  color: var(--accent-gold);
}

.nav-cta {
  background: var(--accent-red);
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.85rem !important;
  letter-spacing: 0.08em;
  border: none !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--accent-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
}

.mobile-menu {
  display: none;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  display: block;
  padding: 0.8rem 0;
  color: var(--text-primary);
  border: none;
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 6rem 1.5rem 5rem;
  background:
    radial-gradient(ellipse at top, rgba(220, 38, 38, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent-red);
  border-radius: 2px;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.hero-title .red {
  color: var(--accent-red);
}

.hero-title .small {
  display: block;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2.1;
  margin: 2rem auto 3rem;
  max-width: 560px;
  text-align: left;
}

.hero-lead p {
  margin-bottom: 1.2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--accent-red);
  color: #fff;
  padding: 1.2rem 2.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
  transition: all 0.2s;
}

.hero-cta:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.55);
  color: #fff;
  border: none;
}

.hero-cta::after {
  content: '→';
  font-size: 1.2rem;
}

.hero-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

main {
  padding: 4rem 1.5rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  margin-bottom: 5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-red);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

/* ==========================================================================
   Article Cards
   ========================================================================== */

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 0.2s;
  text-decoration: none;
  border-left: 3px solid transparent;
  display: block;
}

.article-card:hover {
  background: var(--bg-tertiary);
  border-left-color: var(--accent-red);
  transform: translateX(4px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-red);
}

.article-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.article-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.article-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ==========================================================================
   Profile Box (index)
   ========================================================================== */

.profile-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  position: relative;
}

.profile-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-red);
}

.profile-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.profile-list {
  list-style: none;
  padding: 0;
}

.profile-list li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  gap: 1rem;
  font-size: 0.92rem;
}

.profile-list li:last-child {
  border-bottom: none;
}

.profile-list .label {
  flex-shrink: 0;
  width: 100px;
  color: var(--text-muted);
  font-weight: 500;
}

.profile-list .value {
  color: var(--text-primary);
  flex: 1;
}

/* ==========================================================================
   Article Page
   ========================================================================== */

.article-main {
  padding: 3rem 1.5rem 5rem;
}

.article-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.breadcrumb a {
  color: var(--text-secondary);
  border: none;
}

.article-kicker {
  display: inline-block;
  color: var(--accent-red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--accent-red);
}

.article-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.08em;
}

.article-body {
  font-size: 1.08rem;
  line-height: 2.2;
}

.article-body p {
  margin-bottom: 1.6rem;
}

.article-body p.lead {
  font-size: 1.08rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 2.0;
}

/* ==========================================================================
   CTA Blocks
   ========================================================================== */

.cta-block {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--accent-red);
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-red);
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-red);
  margin-bottom: 1rem;
}

.cta-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.cta-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 2.0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--accent-red);
  color: #fff;
  padding: 1.1rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  transition: all 0.2s;
  border: none;
}

.cta-button:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.55);
  color: #fff;
  border: none;
}

.cta-button::after {
  content: '→';
  font-size: 1.1rem;
}

.cta-small-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.inline-cta {
  background: var(--bg-secondary);
  border-left: 4px solid var(--accent-gold);
  padding: 1.5rem 1.8rem;
  margin: 2.5rem 0;
  font-size: 0.95rem;
}

.inline-cta p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.inline-cta a {
  color: var(--accent-gold);
  font-weight: 700;
  border-bottom: 1px solid var(--accent-gold);
}

/* ==========================================================================
   Monologue Block (看板記事の告白体)
   ========================================================================== */

.monologue {
  background: var(--bg-secondary);
  padding: 2rem 2rem;
  margin: 2.5rem 0;
  border-left: 4px solid var(--accent-red);
  font-size: 0.98rem;
  line-height: 2.1;
  color: var(--text-primary);
}

.monologue p {
  margin-bottom: 1rem;
}

.monologue p:last-child {
  margin-bottom: 0;
}

.emphasis {
  display: block;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--accent-red);
  margin: 3rem 0;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.divider {
  display: block;
  text-align: center;
  color: var(--text-muted);
  margin: 3rem 0;
  font-size: 1.5rem;
  letter-spacing: 0.5em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.footer-logo span {
  color: var(--accent-red);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

.footer-nav a {
  color: var(--text-secondary);
  border: none;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto 1.5rem;
  padding: 1.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  text-align: left;
}

.footer-copyright {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  body {
    font-size: 17px;
    line-height: 2.05;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .hero {
    padding: 4rem 1.2rem 3.5rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-title .small {
    font-size: 0.9rem;
  }

  h1, .article-title {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .cta-heading {
    font-size: 1.15rem;
  }

  .article-card {
    padding: 1.5rem;
  }

  .profile-list li {
    flex-direction: column;
    gap: 0.2rem;
  }

  .profile-list .label {
    width: auto;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Selection
   ========================================================================== */

::selection {
  background: var(--accent-red);
  color: #fff;
}
