@charset "utf-8";
/* こどものそら通信(/bulletin/)とこどものそらニュースレター(/newsletter/)の2ページ専用。他のページからは読み込まない */

/* ===== ページの見出し ===== */
.LetterHero {
  --letter-ink: #23435f;
  --letter-accent: #2f80c9;
  --letter-sky-top: #d9efff;
  --letter-sky-bottom: #f7fbff;
  position: relative;
  max-width: 960px;
  margin: 10px auto 64px;
  padding: 56px 32px 48px;
  border-radius: 28px;
  overflow: hidden;
  text-align: center;
  color: var(--letter-ink);
  background:
    radial-gradient(ellipse 160px 60px at 12% 24%, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 0) 61%),
    radial-gradient(ellipse 110px 46px at 19% 18%, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 0) 61%),
    radial-gradient(ellipse 180px 64px at 90% 78%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0) 61%),
    radial-gradient(ellipse 120px 50px at 83% 72%, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0) 61%),
    linear-gradient(180deg, var(--letter-sky-top) 0%, var(--letter-sky-bottom) 100%);
  box-shadow: 0 18px 40px rgba(35, 67, 95, 0.08);
}
.LetterHero--Newsletter {
  --letter-accent: #e0607e;
  --letter-sky-top: #ffe9ef;
  --letter-sky-bottom: #fffafb;
}
.LetterHero .LetterHero_Title {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: "Zen Maru Gothic", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--letter-ink);
}
.LetterHero_TitleSub {
  display: inline-block;
  color: var(--letter-accent);
}
.LetterHero_Dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 20px;
}
.LetterHero_Dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.LetterHero_Dots span:nth-child(1) { background: #f39800; }
.LetterHero_Dots span:nth-child(2) { background: #e95295; }
.LetterHero_Dots span:nth-child(3) { background: #3a8fd6; }
.LetterHero_Dots span:nth-child(4) { background: #f5c400; }
.LetterHero_Dots span:nth-child(5) { background: #3fb26b; }
.LetterHero_Tagline {
  margin: 0 0 16px;
  font-family: "Zen Maru Gothic", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--letter-ink);
}
.LetterHero_Lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  color: #4a5d6e;
}

/* ===== お問い合わせへの案内 ===== */
.LetterCta {
  position: relative;
  max-width: 880px;
  margin: 8px auto 72px;
  padding: 48px 32px 40px;
  border-radius: 28px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #2f80c9 0%, #1b5f9e 100%);
  box-shadow: 0 20px 44px rgba(27, 95, 158, 0.25);
  overflow: hidden;
}
.LetterCta::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.LetterCta_Eyebrow {
  margin: 0 0 10px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  opacity: 0.85;
}
.LetterCta .LetterCta_Title {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: none;
  font-family: "Zen Maru Gothic", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.LetterCta_Text {
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}
.LetterCta_Button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1b5f9e;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.LetterCta_Button:hover,
.LetterCta_Button:focus {
  color: #1b5f9e;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}
.LetterCta_Arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  color: #ffffff;
  background: #f39800;
  transition: transform 0.2s ease;
}
.LetterCta_Button:hover .LetterCta_Arrow {
  transform: translateX(3px);
}
.LetterCta_Note {
  margin: 20px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 767px) {
  .LetterHero {
    margin: 0 auto 40px;
    padding: 40px 18px 34px;
    border-radius: 20px;
  }
  .LetterHero .LetterHero_Title { font-size: 28px; }
  .LetterHero_Tagline { font-size: 16px; }
  .LetterHero_Lead { font-size: 14px; text-align: left; }
  .LetterCta {
    margin: 0 auto 48px;
    padding: 36px 18px 30px;
    border-radius: 20px;
  }
  .LetterCta .LetterCta_Title { font-size: 21px; }
  .LetterCta_Text { font-size: 14px; text-align: left; }
  .LetterCta_Button { padding: 14px 24px; font-size: 15px; }
}

/* ===== 号のカード ===== */
/* 文章の欄は、日付1行と内容3行の高さ(4行分)を常に取る。内容が2行以下でも「PDFを開く」「ダウンロード」のボタンを、内容が3行のときの位置にそろえる(2026-10-15 宮崎様の指示) */
.LetterCard .card-text {
  line-height: 1.6;
  min-height: 6.4em;
}
