:root {
  --book-gold: #cda300;
  --book-green: #c9ea88;
  --book-pink: #f7c3ce;
  --book-blue: #c7ddf3;
  --book-ink: #333333;
  --book-paper: #f3f3f0;
}

.book-page-note {
  color: #6b7280;
  font-size: 0.95rem;
  text-align: right;
}

.book-strip {
  background: var(--book-gold);
  color: #ffffff;
  text-align: center;
}

.book-section-shell {
  padding: 1.5rem;
  position: relative;
}

.book-hero-stage {
  background: linear-gradient(145deg, #f6f1e3, #fdfcf8);
  border: 1px solid #eadfb8;
  border-radius: 1.5rem;
  padding: 1.75rem;
}

.book-hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.book-hero-circle {
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  aspect-ratio: 1 / 1;
  position: relative;
}

.book-hero-circle.green {
  background: radial-gradient(circle, #e8f5d9 0%, var(--book-green) 100%);
}

.book-hero-circle.pink {
  background: radial-gradient(circle, #fde8ec 0%, var(--book-pink) 100%);
}

.book-hero-circle.blue {
  background: radial-gradient(circle, #e8f0fa 0%, var(--book-blue) 100%);
}

.book-hero-circle h3 {
  color: #111827;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.book-hero-circle .book-hero-subtitle {
  color: #4b5563;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.book-hero-circle .book-hero-note {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.4;
}

.book-hero-period {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0.5rem;
  color: var(--book-ink);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  text-align: center;
}

.book-hero-update-link {
  background: var(--book-gold);
  border-radius: 9999px;
  color: #ffffff;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  text-align: center;
  text-decoration: none;
}

.book-hero-update-link:hover {
  opacity: 0.9;
}

.book-main-poster {
  background: radial-gradient(circle at top left, #dce9cf 0, #dce9cf 68%, transparent 68.5%),
    #f7f7f2;
  border-radius: 2rem;
  min-height: 100%;
  padding: 1.75rem;
}

.book-main-kicker {
  color: #5e7b38;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.book-main-title {
  color: #101010;
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.book-main-subtitle {
  color: #4b5563;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.55rem;
}

.book-side-stack {
  display: grid;
  gap: 1rem;
}

.book-side-card {
  border-radius: 999px;
  overflow: hidden;
  padding: 1.5rem 1.25rem;
  position: relative;
}

.book-side-card h3 {
  color: #111827;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.1;
}

.book-side-card p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
}

.book-side-pink {
  background: radial-gradient(
      circle at 88% 50%,
      rgba(255, 255, 255, 0.42) 0 56%,
      transparent 56.5%
    ),
    var(--book-pink);
}

.book-side-blue {
  background: radial-gradient(
      circle at 88% 50%,
      rgba(255, 255, 255, 0.42) 0 56%,
      transparent 56.5%
    ),
    var(--book-blue);
}

.book-poster-frame {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1.3rem;
  box-shadow: 0 24px 40px rgba(70, 55, 24, 0.12);
  overflow: hidden;
  padding: 0.75rem;
}

.book-poster-frame img {
  border-radius: 1rem;
  display: block;
  width: 100%;
}

.book-mini-poster {
  border-radius: 1rem;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.1);
  margin: 1rem auto 0;
  max-width: 17rem;
  overflow: hidden;
}

.book-mini-poster img {
  display: block;
  width: 100%;
}

.book-detail-link {
  align-items: center;
  color: var(--book-ink);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 0.75rem;
  text-decoration: none;
}

.book-pill-link {
  align-items: center;
  border-radius: 9999px;
  color: #111827;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 0.75rem;
  padding: 0.65rem 1.2rem;
  text-decoration: none;
}

.book-pill-link img {
  height: 1.85rem;
  width: 1.85rem;
}

.book-pill-link.green {
  background: #dbeecf;
  border: 2px solid #8fc06c;
}

.book-pill-link.pink {
  background: #f5d4db;
  border: 2px solid #e3a4b2;
}

.book-pill-link.blue {
  background: #d4e7f7;
  border: 2px solid #8ab4db;
}

.book-pill-link.gold {
  background: #f5e4bd;
  border: 2px solid #dfb856;
}

.book-pill-link.orange {
  background: #f5d2b3;
  border: 2px solid #c96c18;
}

.book-cta-board {
  background: #f0dccb;
  border: 2px solid #d9b896;
  border-radius: 1.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.75fr);
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.book-arrow-list {
  display: grid;
  gap: 1rem;
}

.book-rect-link {
  align-items: center;
  background: #efc8a4;
  border-radius: 0.75rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  color: #3b2f28;
  display: inline-flex;
  font-size: 1.45rem;
  font-weight: 900;
  gap: 0.85rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.book-rect-link:hover {
  opacity: 0.85;
}

.book-rect-link img {
  height: 2.2rem;
  width: 2.2rem;
}

.book-disclosure-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.book-disclosure-pill {
  align-items: center;
  border-radius: 9999px;
  color: #333;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.book-disclosure-pill:hover {
  opacity: 0.85;
}

.book-disclosure-pill.green {
  background: var(--book-green);
}

.book-disclosure-pill.pink {
  background: var(--book-pink);
}

.book-disclosure-pill.blue {
  background: var(--book-blue);
}

.book-disclosure-pill img {
  height: 1.6rem;
  width: 1.6rem;
}

.book-cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.book-inquiry-btn {
  background: #555;
  border-radius: 0.5rem;
  color: #fff;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.book-inquiry-btn:hover {
  opacity: 0.85;
}

.book-deadline-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.book-deadline-footer .book-deadline-main {
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.book-deadline-footer .book-deadline-sub {
  color: #d91515;
}

.benefit-board {
  background: #ffffff;
  border-radius: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.benefit-title {
  background: #0ab64b;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-align: center;
}

.benefit-shell {
  background: #ffffff;
  padding: 2.5rem 3rem;
}

.benefit-list {
  display: grid;
  gap: 1.8rem;
  max-width: 42rem;
  margin: 0 auto;
}

.benefit-item {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 2.5rem minmax(0, 1fr);
}

.benefit-item img {
  width: 2.5rem;
}

.benefit-table {
  border: 2px solid #1a6bb5;
  border-radius: 0.75rem;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.7;
}

.benefit-table-head {
  background: #1a6bb5;
  color: #ffffff;
  font-weight: 700;
  padding: 0.6rem 1rem;
  text-align: center;
  border: 1px solid #1457a0;
}

.benefit-table-label {
  background: #e8f1fb;
  border: 1px solid #b3d0ef;
  color: #0d4a8a;
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.benefit-table-body {
  background: #ffffff;
  border: 1px solid #b3d0ef;
  color: #333333;
  padding: 0.85rem 1.2rem;
  vertical-align: top;
}

.benefit-table tbody tr:nth-child(even) .benefit-table-label {
  background: #d6e8f8;
}

.benefit-table tbody tr:nth-child(even) .benefit-table-body {
  background: #f5faff;
}

.brochure-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
}

.brochure-copy {
  display: grid;
  gap: 1rem;
}

.brochure-actions {
  display: grid;
  gap: 0.9rem;
  max-width: 19rem;
}

.brochure-actions a {
  align-items: center;
  border-radius: 9999px;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 900;
  gap: 0.85rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
}

.brochure-actions a img {
  height: 1.8rem;
  width: 1.8rem;
}

.brochure-actions a.green {
  background: #d5edbf;
  color: #2f3b21;
}

.brochure-actions a.pink {
  background: #f5d0d8;
  color: #4b2834;
}

.brochure-actions a.blue {
  background: #d5e8f7;
  color: #203a57;
}

.benefit-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 1rem;
}

.benefit-card {
  background: #ffffff;
  border-radius: 1rem;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  min-height: 100%;
  padding: 1rem 0.75rem;
  text-align: center;
}

.benefit-card img {
  max-height: 7.4rem;
  object-fit: contain;
}

.notice-phone-box {
  align-items: center;
  background: #ffffff;
  border: 3px solid #605555;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
}

.notice-phone-box img {
  max-height: 7rem;
}

.ohisama-layout {
  display: grid;
  gap: 1.5rem;
}

.ohisama-hero {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ohisama-hero > :last-child {
  align-self: start;
}

/* スライド21: 1ブロック（見出し＋4枚カード＋ご不明点） */
.ohisama-stage {
  display: block;
}

.ohisama-stage__single {
  max-width: 100%;
}

.ohisama-bubble {
  background:
    url('/dfs/group/b_group/ohisama-screen.png') center/contain no-repeat,
    url('/dfs/group/retirement/retirement-ohisama.png') center/72% no-repeat,
    url('/dfs/group/b_group/ohisama-screen.png') center/0 no-repeat;
  min-height: 20rem;
  position: relative;
}

.ohisama-bubble::before {
  background:
    url('/dfs/group/retirement/retirement-ohisama.png') center/72% no-repeat,
    url('/dfs/group/b_group/ohisama-screen.png') center/0 no-repeat;
  border-radius: 999px;
  content: '';
  inset: 3rem 3.5rem 3.5rem;
  position: absolute;
}

.ohisama-panel {
  background: #f5d2b3;
  border: 3px solid #c96c18;
  border-radius: 1.8rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 2.5rem 1.25rem;
}

.ohisama-card {
  align-items: start;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr;
}

.ohisama-card img {
  max-height: 6rem;
  object-fit: contain;
}

.ohisama-card__img--sm {
  max-height: 4rem;
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.faq-nav a {
  color: #665d44;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.faq-category-block {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.faq-category-title {
  align-items: center;
  color: #222;
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  gap: 0.75rem;
}

.faq-category-title::before {
  background: url('/dfs/group/b_group/sprout-green-faq.png') center/contain no-repeat;
  content: '';
  display: inline-block;
  height: 2rem;
  width: 2rem;
}

/* グループ介護保険 FAQ見出し：切り出した双葉単体PNGを使用 */
#faq-care .faq-category-title::before {
  display: none !important;
  content: none !important;
}
.faq-category-title .faq-category-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
}

/* グループ3大疾病保険 FAQ見出し：青双葉アイコン */
#faq-disease .faq-category-title::before {
  background-image: url('/dfs/group/b_group/sprout-blue-faq.gif');
}

/* おひさまねっと FAQ見出し：素材から切り出した太陽アイコン */
#faq-ohisama .faq-category-title::before {
  background-image: url('/dfs/group/b_group/ohisama-sun-faq.png');
}

.faq-panel {
  border-radius: 0.4rem;
  padding: 0.9rem 1rem 1rem;
}

.faq-question {
  color: #111827;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.45;
}

.faq-answer {
  color: #383838;
  font-size: 1.2rem;
  line-height: 1.7;
  padding: 0.85rem 1rem 0 1rem;
}

.faq-green {
  background: #dbeecf;
  border: 2px solid #8fc06c;
}

.faq-pink {
  background: #f5d4db;
  border: 2px solid #e3a4b2;
}

.faq-blue {
  background: #d4e7f7;
  border: 2px solid #8ab4db;
}

.faq-gold {
  background: #f5e4bd;
  border: 2px solid #dfb856;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .ohisama-hero {
    grid-template-columns: 1fr;
  }

  .ohisama-hero > :last-child {
    order: -1;
  }
}

@media (max-width: 1024px) {
  .book-cta-board,
  .brochure-layout,
  .ohisama-hero {
    grid-template-columns: 1fr;
  }

  .book-hero-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .book-hero-circle {
    padding: 1.5rem 1rem;
  }

  .book-hero-circle h3 {
    font-size: 1.2rem;
  }

  .benefit-card-grid,
  .ohisama-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .benefit-card-grid,
  .ohisama-panel {
    grid-template-columns: 1fr;
  }

  .book-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .book-hero-circle {
    aspect-ratio: auto;
    border-radius: 2rem;
    padding: 2rem 1.5rem;
  }

  .book-main-title {
    font-size: 2.7rem;
  }

  .book-rect-link,
  .brochure-actions a {
    font-size: 1.1rem;
  }

  .book-disclosure-row {
    flex-direction: column;
    align-items: center;
  }

  .faq-question {
    font-size: 1.15rem;
  }

  .faq-answer {
    font-size: 1rem;
    padding-left: 0;
    padding-right: 0;
  }
}
