:root {
  --edo-indigo: #203c54;
  --edo-indigo-dark: #142836;
  --edo-vermilion: #a23a2a;
  --edo-vermilion-dark: #70251d;
  --edo-gold: #b78a42;
  --edo-gold-light: #d7bc7a;
  --edo-ink: #28231e;
  --edo-brown: #55483b;
  --edo-muted: #766a5c;
  --washi: #f6f0df;
  --washi-deep: #e8dcc0;
  --washi-light: #fffaf0;
  --border-soft: rgba(77, 57, 38, 0.2);
  --shadow-soft: 0 6px 20px rgba(45, 34, 23, 0.1);
  --shadow-deep: 0 24px 60px rgba(23, 37, 48, 0.24);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding: 24px;
  color: var(--edo-ink);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  background-color: #b9ae95;
}

body.edo-culture {
  position: relative;
  background:
    radial-gradient(circle at 12% 16%, rgba(162, 58, 42, 0.2), transparent 25%),
    radial-gradient(circle at 88% 10%, rgba(32, 60, 84, 0.24), transparent 30%),
    linear-gradient(135deg, #c9bea5 0%, #a99d83 52%, #897d67 100%);
}

body.edo-culture::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(43,36,28,0.045) 0 1px, transparent 1px 11px);
  mix-blend-mode: soft-light;
}

.fade-in {
  animation: fadeIn 0.7s ease both;
}

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

.container {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(65, 45, 29, 0.42);
  border-radius: var(--radius-lg);
  background: var(--washi);
  box-shadow: var(--shadow-deep);
}

.container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    repeating-linear-gradient(6deg, rgba(98, 75, 48, 0.025) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(96deg, rgba(98, 75, 48, 0.02) 0 1px, transparent 1px 13px);
}

.header,
.content {
  position: relative;
  z-index: 1;
}

.header {
  position: relative;
  padding: 74px 40px 68px;
  overflow: hidden;
  text-align: center;
  color: #fff8e8;
  border-bottom: 8px solid var(--edo-gold);
  background:
    radial-gradient(circle at 20% 30%, rgba(215,188,122,0.2), transparent 24%),
    radial-gradient(circle at 82% 68%, rgba(162,58,42,0.4), transparent 34%),
    linear-gradient(135deg, var(--edo-indigo-dark), var(--edo-indigo) 62%, #263f51);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 15px),
    repeating-linear-gradient(-45deg, #fff 0 1px, transparent 1px 15px);
}

.header::after {
  content: "江戸";
  position: absolute;
  right: 34px;
  bottom: -8px;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(5rem, 13vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.12em;
  color: rgba(255, 248, 232, 0.07);
  transform: rotate(-5deg);
}

.header-kicker {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 17px 6px;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  color: var(--edo-indigo-dark);
  background: var(--edo-gold-light);
  border-radius: 2px;
}

.app-title {
  position: relative;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

.app-subtitle {
  position: relative;
  max-width: 640px;
  margin: 18px auto 0;
  font-size: clamp(0.95rem, 2.4vw, 1.13rem);
  letter-spacing: 0.1em;
  color: rgba(255,248,232,0.88);
}

.content {
  padding: 54px;
}

.section {
  margin-bottom: 54px;
}

.section:last-child {
  margin-bottom: 0;
}

.section-title {
  position: relative;
  margin-bottom: 30px;
  padding: 8px 16px 10px 22px;
  color: var(--edo-indigo-dark);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(1.45rem, 4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  border-left: 7px solid var(--edo-vermilion);
  border-bottom: 1px solid rgba(32,60,84,0.24);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -3px;
  width: 96px;
  height: 5px;
  background: var(--edo-gold);
}

.app-info,
.play-section,
.recommendation-section,
.company-info {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.app-info {
  padding: 36px;
  background:
    linear-gradient(rgba(255,250,240,0.92), rgba(255,250,240,0.92)),
    repeating-linear-gradient(0deg, rgba(98,75,48,0.05) 0 1px, transparent 1px 8px);
}

.app-info::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 4px;
  background: linear-gradient(90deg, var(--edo-indigo), var(--edo-gold), var(--edo-vermilion));
}

.app-info > p {
  margin-bottom: 18px;
  color: var(--edo-brown);
}

.app-info > p:last-of-type {
  margin-bottom: 0;
}

.content-heading {
  margin: 34px 0 16px;
  color: var(--edo-indigo-dark);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.theme-card {
  position: relative;
  margin-top: 18px;
  padding: 24px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(77,57,38,0.2);
  border-left: 5px solid var(--edo-indigo);
  border-radius: var(--radius-sm);
  background: rgba(246,240,223,0.7);
}

.theme-card--event { border-left-color: var(--edo-vermilion); }
.theme-card--work { border-left-color: var(--edo-gold); }

.theme-card h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--edo-ink);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 1.17rem;
}

.theme-card p {
  margin-top: 8px;
  color: var(--edo-brown);
}

.theme-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #fff8e8;
  font-size: 0.92rem;
  border-radius: 50%;
  background: var(--edo-indigo);
}

.theme-card--event .theme-icon { background: var(--edo-vermilion); }
.theme-card--work .theme-icon { background: #927034; }

.play-section {
  margin-top: 32px;
  padding: 34px;
  color: #fdf6e7;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(215,188,122,0.18), transparent 25%),
    linear-gradient(135deg, var(--edo-vermilion-dark), var(--edo-vermilion));
}

.play-section::after {
  content: "間違い探し";
  position: absolute;
  right: -22px;
  bottom: 6px;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 3.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  transform: rotate(-6deg);
}

.play-section__label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  color: var(--edo-vermilion-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
  background: var(--edo-gold-light);
}

.play-section h3 {
  position: relative;
  margin: 0 0 14px;
  color: #fff8e8;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 1.38rem;
}

.play-section p {
  position: relative;
  margin-top: 10px;
  color: rgba(255,248,232,0.9);
}

.feature-heading {
  margin-top: 38px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.features-list li {
  position: relative;
  padding: 14px 14px 14px 42px;
  color: var(--edo-brown);
  border: 1px solid rgba(77,57,38,0.16);
  border-radius: var(--radius-sm);
  background: rgba(255,250,240,0.64);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.features-list li::before {
  content: "◆";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--edo-vermilion);
  font-size: 0.78rem;
}

.features-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(32,60,84,0.32);
  background: rgba(255,250,240,0.95);
}

.recommendation-section {
  margin-top: 34px;
  padding: 34px;
  border-top: 5px solid var(--edo-gold);
  background:
    linear-gradient(135deg, rgba(226,215,190,0.9), rgba(255,250,240,0.92));
}

.recommendation-section h3,
.company-info h3 {
  margin: 0 0 14px;
  color: var(--edo-indigo-dark);
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 1.28rem;
  letter-spacing: 0.05em;
}

.recommendation-section p {
  margin-top: 10px;
  color: var(--edo-brown);
}

.company-info {
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(255,250,240,0.94), rgba(232,220,192,0.78));
}

.company-details {
  display: grid;
  gap: 10px;
}

.company-details p {
  padding-bottom: 8px;
  color: var(--edo-brown);
  border-bottom: 1px dashed rgba(77,57,38,0.18);
}

.company-details p:last-child {
  border-bottom: 0;
}

.company-details strong {
  display: inline-block;
  min-width: 6.8em;
  color: var(--edo-vermilion-dark);
}

/* Global Notice (Reusable) */
:root {
  --notice-bg: #efe4ca;
  --notice-border: rgba(77,57,38,0.24);
  --notice-title: #142836;
  --notice-text: #55483b;
  --notice-shadow: 0 10px 25px rgba(45,34,23,0.1);
}

.site-notice {
  width: 100%;
  margin: 28px 0 0;
  padding: 0 16px 28px;
}

.site-notice__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 15px 18px;
  border: 1px solid var(--notice-border);
  border-left: 5px solid var(--edo-vermilion);
  border-radius: 8px;
  background: var(--notice-bg);
  box-shadow: var(--notice-shadow);
}

.site-notice__title {
  margin: 0 0 8px;
  color: var(--notice-title);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-notice__text {
  margin: 0;
  color: var(--notice-text);
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}

@media (max-width: 768px) {
  body { padding: 10px; }
  .header { padding: 54px 24px 50px; }
  .content { padding: 34px 28px; }
  .app-title { letter-spacing: 0.08em; }
  .app-subtitle { letter-spacing: 0.06em; }
  .app-info, .play-section, .recommendation-section, .company-info { padding: 26px 22px; }
  .features-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header { padding: 46px 18px 42px; }
  .header-kicker { font-size: 0.78rem; letter-spacing: 0.18em; }
  .content { padding: 26px 17px; }
  .section-title { padding-left: 16px; }
  .section-title::after { left: 16px; }
  .theme-card { padding: 20px 16px 18px; }
  .theme-card h4 { align-items: flex-start; }
  .company-details strong { display: block; min-width: 0; margin-bottom: 2px; }
  .site-notice { padding: 0 12px 22px; }
  .site-notice__inner { padding: 12px 14px; }
  .site-notice__title { font-size: 15px; }
  .site-notice__text { font-size: 13.5px; }
}
