/* =========================
   医院長の一分小話 専用CSS
========================= */

/* 全体 */
.short-story-body {
  margin: 0;
  min-height: 100vh;

  font-family:
    "Hiragino Maru Gothic ProN",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    sans-serif;

  color: #3f3026;

  /* ここに作った壁紙画像を入れてね */
  background:
    linear-gradient(
      rgba(255, 248, 232, 0.35),
      rgba(255, 248, 232, 0.35)
    ),
    url("sinsatu.png");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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

.short-story-header {
  padding: 64px 20px 36px;
  text-align: center;
}

.header-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 28px;

  background: rgba(255, 250, 238, 0.82);
  border: 1px solid rgba(130, 94, 62, 0.22);
  border-radius: 26px;

  box-shadow: 0 12px 32px rgba(80, 55, 35, 0.16);
  backdrop-filter: blur(4px);
}

.site-label {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: #8b6b4f;
}

.short-story-header h1 {
  margin: 0 0 18px;
  font-size: 36px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #4b3325;
}

.header-lead {
  margin: 0;
  line-height: 2;
  font-size: 16px;
}

/* =========================
   ページ本体
========================= */

.short-story-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* 上部ナビ */
.page-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;

  margin: 0 auto 28px;
}

.page-nav a {
  display: inline-block;
  padding: 10px 18px;

  color: #5a3c2b;
  text-decoration: none;
  font-size: 14px;

  background: rgba(255, 250, 238, 0.86);
  border: 1px solid rgba(130, 94, 62, 0.26);
  border-radius: 999px;

  box-shadow: 0 5px 14px rgba(80, 55, 35, 0.12);
}

.page-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 247, 0.96);
}

/* =========================
   説明カード
========================= */

.intro-card,
.story-index {
  margin: 0 auto 28px;
  padding: 26px 28px;

  background: rgba(255, 250, 238, 0.88);
  border: 1px solid rgba(130, 94, 62, 0.22);
  border-radius: 22px;

  box-shadow: 0 8px 24px rgba(80, 55, 35, 0.13);
  backdrop-filter: blur(3px);
}

.intro-card h2,
.story-index h2 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #5a3c2b;
}

.intro-card p {
  margin: 0;
  line-height: 2;
  font-size: 15px;
}

/* =========================
   目次
========================= */

.index-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.index-links a {
  display: block;
  padding: 12px 16px;

  color: #4b3325;
  text-decoration: none;

  background: rgba(255, 255, 250, 0.72);
  border-left: 5px solid rgba(139, 96, 61, 0.45);
  border-radius: 12px;
}

.index-links a:hover {
  background: rgba(255, 255, 250, 0.96);
}

/* =========================
   小話カード
========================= */

.story-list {
  margin-top: 34px;
}

.story-card {
  margin: 0 auto 42px;
  padding: 34px 34px 30px;

  background: rgba(255, 250, 238, 0.92);
  border: 1px solid rgba(130, 94, 62, 0.24);
  border-radius: 26px;

  box-shadow: 0 12px 34px rgba(70, 45, 25, 0.18);
  backdrop-filter: blur(3px);
}

/* 番号・日付 */
.story-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;

  margin-bottom: 12px;
  font-size: 13px;
  color: #8b6b4f;
}

.story-number {
  letter-spacing: 0.08em;
}

.story-date {
  letter-spacing: 0.06em;
}

/* タイトル */
.story-title {
  margin: 0 0 28px;
  padding-bottom: 14px;

  font-size: 26px;
  letter-spacing: 0.08em;
  color: #3f3026;

  border-bottom: 1px dashed rgba(120, 85, 55, 0.35);
}

/* 本文 */
.story-text {
  max-width: 680px;
  margin: 0 auto;

  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.04em;
}

.story-text p {
  margin: 0 0 1.25em;
}

/* 医院長のひとこと */
.story-note {
  max-width: 680px;
  margin: 34px auto 0;
  padding: 18px 20px;

  background: rgba(255, 255, 250, 0.72);
  border-left: 6px solid rgba(114, 76, 49, 0.45);
  border-radius: 14px;
}

.story-note span {
  display: block;
  margin-bottom: 8px;

  font-size: 13px;
  color: #8b6b4f;
  letter-spacing: 0.08em;
}

.story-note p {
  margin: 0;
  line-height: 1.8;
  font-size: 15px;
}

/* ページ上部へ戻る */
.back-to-top {
  display: block;
  width: fit-content;
  margin: 26px auto 0;
  padding: 8px 16px;

  color: #6a4934;
  text-decoration: none;
  font-size: 13px;

  border: 1px solid rgba(130, 94, 62, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 250, 0.64);
}

.back-to-top:hover {
  background: rgba(255, 255, 250, 0.95);
}

/* =========================
   フッター
========================= */

.short-story-footer {
  padding: 30px 20px 40px;
  text-align: center;
  color: #6a4934;
  font-size: 13px;
}

.short-story-footer p {
  margin: 0;
}

/* =========================
   スマホ対応
========================= */

@media (max-width: 700px) {
  .short-story-header {
    padding: 42px 16px 28px;
  }

  .header-inner {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .short-story-header h1 {
    font-size: 28px;
    letter-spacing: 0.08em;
  }

  .header-lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .short-story-page {
    padding: 0 14px 50px;
  }

  .intro-card,
  .story-index,
  .story-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .story-title {
    font-size: 22px;
  }

  .story-text {
    font-size: 15px;
    line-height: 2;
  }

  .story-meta {
    flex-direction: column;
    gap: 4px;
  }

  .page-nav {
    gap: 10px;
  }

  .page-nav a {
    font-size: 13px;
    padding: 9px 14px;
  }
}