/* ========================================
   うり＆みっこ の深そうで深い話
   案B：学校の落書きノート風
   ======================================== */

/* --- リセット & ベース --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --notebook: #fffef7;
  --grid-line: #c8dce8;
  --grid-line-bold: #a0c4d8;
  --ink: #1a1a2e;
  --ink-light: #444460;
  --ink-faint: #8888a0;
  --pencil: #555570;
  --marker-yellow: rgba(255, 240, 80, 0.45);
  --marker-pink: rgba(255, 130, 160, 0.35);
  --marker-blue: rgba(100, 180, 255, 0.3);
  --marker-green: rgba(120, 220, 160, 0.3);
  --accent-uri: #e06030;
  --accent-mikko: #6858a8;
  --red-pen: #d03030;
  --blue-pen: #2060c0;
  --sticky-yellow: #fff9b0;
  --sticky-pink: #ffd0d8;
  --sticky-blue: #d0e8ff;
  --sticky-green: #d0f0d8;
  --border: #d0d0c8;
  --hole-punch: #e8e0d0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Klee One", "Zen Kurenaido", "Hiragino Maru Gothic Pro", sans-serif;
  color: var(--ink);
  background: #e8e4d8;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- ノート背景 --- */
.paper-bg {
  min-height: 100vh;
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--notebook);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.15), -2px 0 8px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--grid-line-bold);
}

/* ノートの穴パンチ */
.paper-bg::before {
  content: "";
  position: fixed;
  left: max(0px, calc((100vw - 900px) / 2));
  top: 0;
  width: 40px;
  height: 100vh;
  z-index: 200;
  pointer-events: none;
  background-image:
    radial-gradient(circle 8px at 20px 120px, var(--hole-punch) 8px, transparent 8px),
    radial-gradient(circle 8px at 20px 360px, var(--hole-punch) 8px, transparent 8px),
    radial-gradient(circle 8px at 20px 600px, var(--hole-punch) 8px, transparent 8px);
  background-repeat: no-repeat;
}

/* --- 浮遊する落書き --- */
.floating-doodles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.doodle {
  position: absolute;
  opacity: 0.06;
  font-size: 2rem;
}

.doodle--1 { top: 12%; left: 8%; animation: floatA 8s ease-in-out infinite; }
.doodle--2 { top: 28%; right: 10%; animation: floatB 10s ease-in-out infinite; }
.doodle--3 { top: 52%; left: 5%; animation: floatA 12s ease-in-out infinite reverse; }
.doodle--4 { top: 72%; right: 7%; animation: floatB 9s ease-in-out infinite; }
.doodle--5 { top: 88%; left: 12%; animation: floatA 11s ease-in-out infinite; }
.doodle--6 { top: 42%; right: 15%; animation: floatB 7s ease-in-out infinite reverse; }

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -15px) rotate(3deg); }
  50% { transform: translate(-8px, -25px) rotate(-2deg); }
  75% { transform: translate(12px, -10px) rotate(2deg); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-15px, -20px) rotate(-3deg); }
  66% { transform: translate(10px, -30px) rotate(2deg); }
}

/* --- ナビゲーション --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 1rem 3rem;
  background: rgba(255, 254, 247, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--grid-line-bold);
}

.nav-title {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 1.1rem;
  color: var(--pencil);
  letter-spacing: 0.15em;
  transform: rotate(-1deg);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--blue-pen);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-bottom: 1px dashed var(--blue-pen);
  transition: all 0.3s ease;
  transform: rotate(-0.5deg);
  display: inline-block;
}

.nav-links a:hover {
  background: var(--marker-yellow);
  color: var(--ink);
  border-bottom-style: solid;
}

/* --- ヒーロー --- */
.hero {
  position: relative;
  text-align: center;
  padding: 5rem 2rem 4rem 3rem;
  z-index: 1;
}

.hero-sub {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.95rem;
  color: var(--ink-faint);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  transform: rotate(-0.5deg);
}

.hero-title {
  font-family: "Zen Kurenaido", sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.name {
  font-size: 3.2rem;
  display: inline-block;
  position: relative;
}

.name--uri {
  color: var(--accent-uri);
  transform: rotate(-3deg);
  text-decoration: underline wavy var(--accent-uri);
  text-underline-offset: 6px;
}

.name--mikko {
  color: var(--accent-mikko);
  transform: rotate(2deg);
  text-decoration: underline wavy var(--accent-mikko);
  text-underline-offset: 6px;
}

.amp {
  font-size: 1.8rem;
  color: var(--pencil);
  margin: 0 0.3rem;
  display: inline-block;
}

.title-main {
  font-size: 1.6rem;
  display: block;
  margin-top: 0.5rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--marker-yellow);
  display: inline;
  padding: 0.1em 0.4em;
  transform: rotate(0.5deg);
}

.hero-desc {
  margin-top: 2.5rem;
  font-size: 1rem;
  color: var(--pencil);
  line-height: 2.2;
  transform: rotate(-0.3deg);
}

.scroll-hint {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.scroll-arrow {
  font-size: 1.5rem;
  color: var(--blue-pen);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.75rem;
  color: var(--ink-faint);
  letter-spacing: 0.15em;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- テロップ --- */
.ticker-wrap {
  overflow: hidden;
  padding: 0.7rem 0;
  background: var(--marker-blue);
  z-index: 1;
  position: relative;
  border-top: 2px dashed var(--blue-pen);
  border-bottom: 2px dashed var(--blue-pen);
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
  width: max-content;
}

.ticker-item {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.9rem;
  color: var(--blue-pen);
  letter-spacing: 0.05em;
}

.ticker-sep {
  margin: 0 1.2rem;
  color: var(--ink-faint);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- セクション共通 --- */
.section-heading {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 1.4rem;
  text-align: center;
  color: var(--ink);
  letter-spacing: 0.12em;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
}

.section-heading::after {
  content: "";
  display: block;
  height: 8px;
  background: var(--marker-yellow);
  margin-top: -10px;
  transform: rotate(0.5deg);
}

.heading-deco {
  color: var(--ink-faint);
  font-weight: 400;
  margin: 0 0.3rem;
}

/* --- スクロールアニメーション --- */
.reveal {
  opacity: 0;
  transform: translateY(25px) rotate(-0.5deg);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* ヒーロー用アニメーション */
.fade-in { animation: fadeIn 1s ease forwards; }
.fade-in-delay { opacity: 0; animation: fadeIn 1s ease 0.3s forwards; }
.fade-in-delay-2 { opacity: 0; animation: fadeIn 1s ease 0.8s forwards; }
.bounce-in { animation: bounceIn 0.8s ease forwards; }
.bounce-in-delay { opacity: 0; animation: bounceIn 0.8s ease 0.2s forwards; }
.slide-up { opacity: 0; animation: slideUp 0.8s ease 0.5s forwards; }
.spin-slow { animation: spinSlow 8s linear infinite; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(2deg); }
  70% { transform: scale(0.95) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(-3deg); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.wiggle { animation: wiggle 3s ease-in-out infinite; }
.float { animation: iconFloat 4s ease-in-out infinite; }

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- エピソード一覧 --- */
.episodes {
  padding: 4rem 2rem 4rem 3rem;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.episode-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.episode-card {
  background: var(--notebook);
  border: none;
  padding: 1.8rem 2rem;
  position: relative;
  transition: transform 0.3s ease;
  border-left: 4px solid var(--red-pen);
  /* ノートの切れ端風 */
  box-shadow:
    1px 1px 0 rgba(0, 0, 0, 0.03),
    inset 0 -1px 0 var(--border);
}

.episode-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent #e8e4d8 transparent transparent;
}

.episode-card:hover {
  transform: rotate(0deg) translateX(4px) !important;
}

.episode-card--tilted-left { transform: rotate(-0.6deg); }
.episode-card--tilted-right { transform: rotate(0.7deg); }
.episode-card--straight { transform: rotate(0deg); margin-left: 0.8rem; }

.episode-number {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.8rem;
  color: var(--red-pen);
  letter-spacing: 0.1em;
  display: inline-block;
  border: 2px solid var(--red-pen);
  padding: 0.05rem 0.5rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  transform: rotate(-2deg);
}

.episode-tag {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  margin-left: 0.5rem;
  display: inline-block;
  letter-spacing: 0.05em;
  transform: rotate(1deg);
}

.episode-tag--uri {
  background: var(--marker-pink);
  color: var(--accent-uri);
}

.episode-tag--mikko {
  background: var(--marker-blue);
  color: var(--accent-mikko);
}

.episode-tag--both {
  background: var(--marker-green);
  color: #308030;
}

.episode-title {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--ink);
}

.episode-snippet {
  font-size: 0.88rem;
  color: var(--pencil);
  line-height: 2;
}

.episode-date {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 0.8rem;
  font-family: "Zen Kurenaido", sans-serif;
  letter-spacing: 0.1em;
}

.more-link-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.more-link {
  color: var(--blue-pen);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border: 1px dashed var(--blue-pen);
  border-radius: 20px;
  transition: all 0.3s ease;
  display: inline-block;
  transform: rotate(-0.5deg);
}

.more-link:hover {
  background: var(--marker-blue);
  transform: rotate(0deg);
}

/* --- 名言集 --- */
.quotes {
  padding: 4rem 2rem 4rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* 付箋風カード */
.quote-card {
  padding: 1.5rem 1.3rem;
  position: relative;
  transition: transform 0.3s ease;
  border: none;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.1);
}

.quote-card:hover {
  transform: translateY(-4px) rotate(0deg) !important;
  box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.15);
}

.quote-card--uri {
  background: var(--sticky-pink);
  transform: rotate(-1.5deg);
}

.quote-card--mikko {
  background: var(--sticky-blue);
  transform: rotate(1.2deg);
}

/* 付箋のテープ風 */
.quote-card::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(1deg);
  width: 50px;
  height: 14px;
  background: rgba(200, 200, 180, 0.5);
  border-radius: 1px;
}

.quote-text {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 0.8rem;
  margin-top: 0.5rem;
  color: var(--ink);
}

.quote-by {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 0.3rem;
}

.quote-verdict {
  font-size: 0.76rem;
  color: var(--red-pen);
  font-family: "Zen Kurenaido", sans-serif;
  transform: rotate(-1deg);
  display: inline-block;
}

/* --- データ分析 --- */
.stats {
  padding: 4rem 2rem 4rem 3rem;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stats-subtitle {
  text-align: center;
  font-size: 0.8rem;
  color: var(--red-pen);
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  font-family: "Zen Kurenaido", sans-serif;
  transform: rotate(-0.5deg);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stat-card {
  background: var(--notebook);
  border: 1px dashed var(--pencil);
  padding: 1.3rem;
  transition: transform 0.3s ease;
  transform: rotate(-0.3deg);
}

.stat-card:nth-child(even) {
  transform: rotate(0.4deg);
}

.stat-card:hover {
  transform: rotate(0deg) translateY(-2px);
}

.stat-label {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.82rem;
  color: var(--pencil);
  margin-bottom: 0.4rem;
}

.stat-number {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.stat-unit {
  font-size: 0.73rem;
  color: var(--ink-faint);
  margin-bottom: 0.8rem;
  font-family: "Zen Kurenaido", sans-serif;
}

.stat-bar {
  height: 8px;
  background: #ebebeb;
  border-radius: 4px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease;
}

.stat-bar-fill.animate { width: var(--fill-width); }
.stat-bar--uri { background: var(--accent-uri); }
.stat-bar--mikko { background: var(--accent-mikko); }

/* --- ふたりについて --- */
.about {
  padding: 4rem 2rem 4rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-person {
  padding: 2rem 1.5rem;
  width: 270px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
  border: none;
}

.about-person--uri {
  background: var(--sticky-yellow);
  transform: rotate(-2deg);
}

.about-person--mikko {
  background: var(--sticky-green);
  transform: rotate(1.5deg);
}

.about-person:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 3px 5px 12px rgba(0, 0, 0, 0.15);
}

/* テープ */
.about-person::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 60px;
  height: 14px;
  background: rgba(200, 200, 180, 0.5);
  border-radius: 1px;
}

.about-person { position: relative; }

.person-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.person-name {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-person--uri .person-name { color: var(--accent-uri); }
.about-person--mikko .person-name { color: var(--accent-mikko); }

.person-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.trait {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-light);
}

.person-desc {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 2;
  text-align: left;
}

.person-power {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--ink-faint);
}

.power-label {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.72rem;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 0.3rem;
}

.power-bar {
  display: block;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.power-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  animation: powerGlitch 3s ease-in-out infinite;
}

.power-fill--uri { background: var(--accent-uri); }
.power-fill--mikko { background: var(--accent-mikko); }

@keyframes powerGlitch {
  0%, 100% { width: 30%; }
  20% { width: 80%; }
  25% { width: 10%; }
  50% { width: 60%; }
  70% { width: 95%; }
  75% { width: 5%; }
}

.power-text {
  font-size: 0.68rem;
  color: var(--red-pen);
  font-family: "Zen Kurenaido", sans-serif;
}

.about-between {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  gap: 0.5rem;
}

.between-text {
  font-size: 2rem;
  color: var(--pencil);
  font-family: "Zen Kurenaido", sans-serif;
}

.between-sub {
  font-size: 0.72rem;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.6;
}

/* 相性診断 */
.about-compatibility {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: var(--sticky-yellow);
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
  transform: rotate(0.3deg);
  position: relative;
}

.about-compatibility::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  background: rgba(200, 200, 180, 0.5);
}

.compat-title {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.compat-meter {
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 7px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto 1rem;
  border: 1px dashed var(--pencil);
}

.compat-fill {
  height: 100%;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--accent-uri), var(--red-pen), var(--accent-mikko));
  width: 0;
  transition: width 2s ease;
}

.compat-fill.animate { width: 100%; }

.compat-result {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 1.1rem;
  color: var(--red-pen);
  margin-bottom: 0.5rem;
}

.compat-comment {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 2;
}

.about-note {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
  line-height: 2;
  transform: rotate(-0.3deg);
}

.about-note small { font-size: 0.78rem; opacity: 0.7; }

/* --- 次回予告 --- */
.next-episode {
  padding: 4rem 2rem 4rem 3rem;
  position: relative;
  z-index: 1;
}

.next-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--sticky-pink);
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
  transform: rotate(-0.5deg);
}

.next-inner::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(1deg);
  width: 55px;
  height: 14px;
  background: rgba(200, 200, 180, 0.5);
}

.next-label {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.85rem;
  color: var(--red-pen);
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.next-title {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.next-desc {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 2;
  margin-bottom: 1rem;
}

.next-date {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* --- 料金表 --- */
.pricing {
  padding: 4rem 2rem 4rem 3rem;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pricing-intro {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  transform: rotate(-0.3deg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.price-card {
  padding: 1.8rem 1.3rem;
  text-align: center;
  position: relative;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: rotate(0deg) translateY(-5px) !important;
  box-shadow: 3px 5px 12px rgba(0, 0, 0, 0.18);
}

.price-card::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(1deg);
  width: 45px;
  height: 14px;
  background: rgba(200, 200, 180, 0.5);
}

.price-card--light {
  background: var(--sticky-blue);
  transform: rotate(-1.5deg);
}

.price-card--standard {
  background: var(--sticky-yellow);
  transform: rotate(0.8deg);
}

.price-card--premium {
  background: var(--sticky-pink);
  transform: rotate(-0.5deg);
}

.price-card-popular {
  position: absolute;
  top: 10px;
  right: -8px;
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.65rem;
  background: var(--red-pen);
  color: white;
  padding: 0.15rem 0.6rem;
  transform: rotate(3deg);
  letter-spacing: 0.05em;
}

.price-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.price-card-name {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--ink);
}

.price-card-desc {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.price-amount {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.price-amount small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-faint);
}

.price-unit {
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-bottom: 1.2rem;
}

.price-features {
  list-style: none;
  text-align: left;
  font-size: 0.78rem;
  color: var(--pencil);
  line-height: 2.2;
}

.price-features li::before {
  content: "✎ ";
  color: var(--ink-faint);
}

.price-note {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--ink-faint);
  font-size: 0.7rem;
  color: var(--ink-faint);
}

.pricing-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 2;
  transform: rotate(-0.3deg);
}

.pricing-footer small {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* --- フッター --- */
.footer {
  text-align: center;
  padding: 3rem 2rem 3rem 3rem;
  border-top: 2px dashed var(--pencil);
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.footer-squiggle {
  color: var(--ink-faint);
  opacity: 0.25;
  letter-spacing: -0.1em;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-text {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 0.95rem;
  color: var(--pencil);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}

.footer-disclaimer {
  font-size: 0.68rem;
  color: var(--ink-faint);
  opacity: 0.6;
}

/* --- レスポンシブ --- */
@media (max-width: 640px) {
  .paper-bg {
    margin: 0;
    box-shadow: none;
  }

  .paper-bg::before {
    left: 0;
  }

  .nav {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    padding-left: 2rem;
  }

  .nav-links {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .name { font-size: 2.2rem; }
  .title-main { font-size: 1.2rem; }
  .hero { padding: 3.5rem 1.5rem 3rem 2.5rem; }
  .episodes { padding: 3rem 1.2rem 3rem 2.5rem; }
  .episode-card { padding: 1.3rem 1.1rem; }
  .episode-card--straight { margin-left: 0; }
  .quotes { padding-left: 2.5rem; }
  .quotes-grid { grid-template-columns: 1fr; }
  .stats { padding-left: 2.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .about { padding-left: 2.5rem; }

  .about-grid {
    flex-direction: column;
    align-items: center;
  }

  .about-between { padding-top: 0; }
  .about-person { width: 100%; max-width: 300px; }
  .pricing { padding-left: 2.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer { padding-left: 2.5rem; }
}
