:root {
  --primary-color: #1a2660;      /* 深紺（夏の夜空） */
  --secondary-color: #c03a28;    /* 朱色（金魚・縁日） */
  --accent-color: #d4a832;       /* 金色（提灯・鱗） */
  --coral-color: #e86040;        /* 珊瑚色（琉金・出目金） */
  --text-primary: #14142a;
  --text-secondary: #3c3c5e;
  --bg-primary: #eeeef8;         /* 淡い藍白 */
  --bg-secondary: #e4e4f4;       /* 淡い紺白 */
  --border-light: rgba(26,38,96,0.18);
  --shadow-medium: 0 12px 34px rgba(0,0,0,0.14);
}

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

body.kingyo-theme {
  font-family: 'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  background:
    radial-gradient(900px 580px at 8% 8%, rgba(192,58,40,0.12), transparent 55%),
    radial-gradient(800px 500px at 92% 20%, rgba(212,168,50,0.14), transparent 58%),
    linear-gradient(to bottom, var(--bg-primary) 0%, #e8e8f6 40%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  padding: 20px;
}

/* ===== コンテナ ===== */

.container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,0.96);
  border-radius: 18px;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

/* ===== ヘッダー ===== */

.header {
  position: relative;
  background:
    radial-gradient(700px 360px at 80% 80%, rgba(212,168,50,0.22), transparent 55%),
    radial-gradient(500px 300px at 15% 20%, rgba(232,96,64,0.18), transparent 50%),
    linear-gradient(150deg, #0e1840 0%, #1a2660 45%, #2a1a50 100%);
  color: #ffffff;
  padding: 65px 40px;
  text-align: center;
  overflow: hidden;
}

/* 水紋の装飾 */
.header::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--secondary-color) 0px,
    var(--secondary-color) 18px,
    var(--accent-color) 18px,
    var(--accent-color) 28px,
    transparent 28px,
    transparent 36px
  );
  opacity: 0.60;
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 75%, rgba(212,168,50,0.10) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 30%, rgba(192,58,40,0.10) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 55%, rgba(255,255,255,0.05) 0 2px, transparent 3px);
}

.app-title {
  font-family: 'Shippori Mincho','Yu Mincho',serif;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  letter-spacing: 0.10em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  position: relative;
}

.app-subtitle {
  margin-top: 18px;
  font-size: 1rem;
  letter-spacing: 0.22em;
  opacity: 0.88;
  position: relative;
}

/* ===== コンテンツ ===== */

.content {
  padding: 50px;
}

.section {
  margin-bottom: 50px;
}

/* 見出し */

.section-title {
  font-family: 'Shippori Mincho','Yu Mincho',serif;
  font-size: 1.6rem;
  margin-bottom: 25px;
  padding-left: 18px;
  border-left: 5px solid var(--primary-color);
  color: var(--secondary-color);
}

/* ===== アプリ説明ブロック ===== */

.app-info {
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.97), rgba(238,238,248,0.97));
  padding: 35px;
  border-radius: 14px;
  border: 1px solid rgba(26,38,96,0.12);
  border-top: 3px solid var(--primary-color);
}

.app-info p {
  line-height: 2.0;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.description-content h4 {
  font-family: 'Shippori Mincho','Yu Mincho',serif;
  color: var(--secondary-color);
  margin-top: 28px;
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-color);
}

.description-content p {
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ===== 特徴リスト ===== */

.features-list {
  list-style: none;
  margin-top: 25px;
}

.features-list li {
  position: relative;
  padding-left: 42px;
  margin: 12px 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.features-list li::before {
  content: "🐠";
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== キーワード ===== */

.keyword-box {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid rgba(26,38,96,0.16);
  background:
    linear-gradient(to bottom, rgba(238,238,248,0.70), rgba(232,228,244,0.80));
}

.keyword-box h3 {
  font-family: 'Shippori Mincho','Yu Mincho',serif;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.keywords {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===== 運営情報 ===== */

.company-info,
.contact-info {
  background:
    linear-gradient(to bottom, rgba(248,248,255,0.98), rgba(232,232,248,0.90));
  padding: 35px;
  border-radius: 14px;
  border: 1px solid rgba(26,38,96,0.14);
  border-top: 3px solid var(--primary-color);
}

.company-info h3,
.contact-info h3 {
  font-family: 'Shippori Mincho','Yu Mincho',serif;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.company-details p {
  line-height: 2.0;
  color: var(--text-secondary);
}

/* ===== 日付 ===== */

.date-info {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== フェードイン ===== */

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

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

/* ===== プライバシーポリシー専用 ===== */

.policy-title {
  margin-top: 16px;
  font-family: 'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  opacity: 0.88;
  border: 1px solid rgba(255,255,255,0.35);
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  background: rgba(0,0,0,0.14);
  position: relative;
}

.section-content {
  background: rgba(238,238,248,0.60);
  padding: 25px;
  border-radius: 10px;
  border-left: 3px solid var(--primary-color);
}

.section-content p {
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

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

.section-content ul {
  margin-top: 10px;
  padding-left: 22px;
  color: var(--text-secondary);
  line-height: 2.0;
}

/* ===== モバイル対応 ===== */

@media (max-width: 768px) {
  .content {
    padding: 28px 22px;
  }

  .header {
    padding: 48px 22px;
  }

  .app-title {
    letter-spacing: 0.06em;
  }

  .app-info,
  .company-info,
  .contact-info {
    padding: 24px 20px;
  }
}
