:root {
  --primary-color: #4A0001;      /* 深い青緑（アクセント） */
  --secondary-color: #8A5A32;    /* 木版画の茶 */
  --accent-color: #D99A4E;       /* やわらかな山吹 */
  --cat-color: #B9855A;          /* 猫の毛色を思わせる茶 */
  --text-primary: #2A2119;
  --text-secondary: #5A4A3C;
  --bg-primary: #FEF3D8;         /* ナチュラルベース */
  --bg-secondary: #F7E6C5;       /* 淡い生成り */
  --border-light: rgba(0,123,113,0.18);
  --shadow-medium: 0 12px 34px rgba(77,55,31,0.15);
}

* {
  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 580px at 8% 8%, rgba(0,123,113,0.10), transparent 55%),
    radial-gradient(800px 500px at 92% 20%, rgba(217,154,78,0.18), transparent 58%),
    linear-gradient(to bottom, var(--bg-primary) 0%, #FFF8E9 42%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  padding: 20px;
}

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

.container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,252,244,0.97);
  border-radius: 22px;
  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(217,154,78,0.24), transparent 55%),
    radial-gradient(500px 300px at 15% 20%, rgba(255,243,216,0.24), transparent 50%),
    linear-gradient(150deg, #4A0001 0%, #7b0000 48%, #7f4e4e 100%);
  color: #FFF8E9;
  padding: 65px 40px;
  text-align: center;
  overflow: hidden;
}

/* 木版画風の飾り罫 */
.header::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    rgba(254,243,216,0.92) 0px,
    rgba(254,243,216,0.92) 18px,
    rgba(217,154,78,0.92) 18px,
    rgba(217,154,78,0.92) 28px,
    transparent 28px,
    transparent 36px
  );
  opacity: 0.85;
}

.header::after {
  content: "🐈";
  position: absolute;
  right: 28px;
  bottom: 22px;
  font-size: 4.8rem;
  line-height: 1;
  opacity: 0.13;
  pointer-events: none;
}

.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.22);
  position: relative;
}

.app-subtitle {
  margin-top: 18px;
  font-size: 1rem;
  letter-spacing: 0.22em;
  opacity: 0.92;
  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,252,244,0.98), rgba(254,243,216,0.88));
  padding: 35px;
  border-radius: 16px;
  border: 1px solid rgba(0,123,113,0.14);
  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(--primary-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(0,123,113,0.16);
  background:
    linear-gradient(to bottom, rgba(254,243,216,0.78), rgba(247,230,197,0.84));
}

.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(255,252,244,0.98), rgba(254,243,216,0.90));
  padding: 35px;
  border-radius: 16px;
  border: 1px solid rgba(0,123,113,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.12);
  position: relative;
}

.section-content {
  background: rgba(254,243,216,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) {
  .content {
    padding: 28px 22px;
  }

  .header {
    padding: 48px 22px;
  }

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

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