:root {
  --primary-color: #1D8EAA;      /* 水面を思わせる水色 */
  --secondary-color: #0E5F78;    /* 深い水色 */
  --accent-color: #E45F4F;       /* 金魚の赤 */
  --gold-color: #D7A84B;         /* 縁日の灯り・錦の金 */
  --text-primary: #17313A;
  --text-secondary: #47636C;
  --bg-primary: #EAF9FB;         /* 淡い水面 */
  --bg-secondary: #CFEFF5;       /* 水色の余韻 */
  --paper-color: #FFFDF2;        /* 和紙の白 */
  --border-light: rgba(29,142,170,0.22);
  --shadow-medium: 0 14px 38px rgba(28,94,115,0.18);
}

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

body.ukiyoneko-theme,
body.kingyo-theme {
  font-family: 'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  background:
    radial-gradient(900px 560px at 12% 10%, rgba(255,255,255,0.72), transparent 58%),
    radial-gradient(760px 480px at 92% 18%, rgba(228,95,79,0.12), transparent 60%),
    radial-gradient(900px 620px at 50% 100%, rgba(29,142,170,0.22), transparent 64%),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.28) 0px,
      rgba(255,255,255,0.28) 2px,
      transparent 2px,
      transparent 18px
    ),
    linear-gradient(to bottom, var(--bg-primary) 0%, #F8FEFF 44%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  padding: 20px;
}

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

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

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

.header {
  position: relative;
  background:
    radial-gradient(520px 260px at 18% 22%, rgba(255,255,255,0.36), transparent 56%),
    radial-gradient(480px 280px at 82% 70%, rgba(228,95,79,0.20), transparent 58%),
    repeating-radial-gradient(
      ellipse at 50% 112%,
      rgba(255,255,255,0.18) 0px,
      rgba(255,255,255,0.18) 2px,
      transparent 3px,
      transparent 18px
    ),
    linear-gradient(150deg, #6ED5E5 0%, #1D8EAA 48%, #0E5F78 100%);
  color: #FFFDF2;
  padding: 66px 40px 62px;
  text-align: center;
  overflow: hidden;
}

/* 水面の波紋 */
.header::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -16px;
  height: 48px;
  background:
    radial-gradient(42px 16px at 26px 18px, transparent 58%, rgba(255,253,242,0.86) 60%, rgba(255,253,242,0.86) 66%, transparent 68%) 0 0 / 88px 28px repeat-x,
    linear-gradient(to bottom, transparent 0%, rgba(255,253,242,0.96) 74%);
  opacity: 0.92;
}

.header::after {
  content: "金魚";
  position: absolute;
  right: 28px;
  bottom: 22px;
  font-family: 'Shippori Mincho','Yu Mincho',serif;
  font-size: 4.6rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(255,253,242,0.14);
  pointer-events: none;
  writing-mode: vertical-rl;
}

.app-title {
  font-family: 'Shippori Mincho','Yu Mincho',serif;
  font-size: clamp(1.85rem, 4.6vw, 2.8rem);
  letter-spacing: 0.10em;
  text-shadow: 0 2px 14px rgba(4,44,57,0.25);
  position: relative;
}

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

.app-lead {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,253,242,0.46);
  background: rgba(14,95,120,0.22);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  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);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 8px;
  margin-top: 10px;
  background:
    radial-gradient(18px 7px at 9px 7px, transparent 56%, rgba(29,142,170,0.34) 58%, rgba(29,142,170,0.34) 68%, transparent 70%) 0 0 / 36px 8px repeat-x;
}

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

.app-info {
  background:
    radial-gradient(520px 220px at 85% 8%, rgba(110,213,229,0.20), transparent 58%),
    linear-gradient(to bottom, rgba(255,253,242,0.98), rgba(234,249,251,0.82));
  padding: 35px;
  border-radius: 18px;
  border: 1px solid rgba(29,142,170,0.18);
  border-top: 3px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.app-info::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(29,142,170,0.18);
  box-shadow: 0 0 0 14px rgba(29,142,170,0.05), 0 0 0 28px rgba(29,142,170,0.04);
  pointer-events: none;
}

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

.description-content {
  margin-top: 28px;
  padding-top: 8px;
}

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

.description-content h4::before {
  content: "◯";
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 0.82em;
}

.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;
  color: var(--primary-color);
  font-weight: 700;
}

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

.keyword-box {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid rgba(29,142,170,0.18);
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(228,95,79,0.10), transparent 58%),
    linear-gradient(to bottom, rgba(234,249,251,0.82), rgba(255,253,242,0.92));
}

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

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

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

.company-info,
.contact-info {
  background:
    linear-gradient(to bottom, rgba(255,253,242,0.98), rgba(234,249,251,0.82));
  padding: 35px;
  border-radius: 18px;
  border: 1px solid rgba(29,142,170,0.18);
  border-top: 3px solid var(--primary-color);
}

.company-info h3,
.contact-info h3 {
  font-family: 'Shippori Mincho','Yu Mincho',serif;
  color: var(--secondary-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.38);
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  background: rgba(14,95,120,0.20);
  position: relative;
}

.section-content {
  background: rgba(234,249,251,0.68);
  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) {
  body.ukiyoneko-theme,
  body.kingyo-theme {
    padding: 12px;
  }

  .content {
    padding: 28px 22px;
  }

  .header {
    padding: 48px 22px 50px;
  }

  .header::after {
    right: 14px;
    bottom: 20px;
    font-size: 3.4rem;
  }

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

  .app-subtitle {
    letter-spacing: 0.12em;
  }

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

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