/* 2026-08-19指示: スクロール主体はhtml要素のため:root（=html）へ指定
   （タグセレクタ直接指定禁止のガイドラインと両立する等価表現） */
:root {
  scroll-behavior: smooth;
}

.bousai-page {
  --bousai-yellow: #ffe36c;
  --bousai-yellow-soft: #fff5bd;
  --bousai-yellow-deep: #f6cc3e;
  --bousai-navy: #11164d;
  --bousai-text: #000;
  --bousai-muted: #6b6b6b;
  --bousai-gray: #f4f4f2;
  --bousai-border: #d9d9d4;
  --bousai-link: #003eaa;
  width: 100vw;
  margin-bottom: -4rem;
  margin-left: calc(50% - 50vw);
  color: var(--bousai-text);
  background: #fff;
  font-family: "Noto Sans JP", "Noto Sans JP fallback", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: .02em;
}

.bousai-page :focus-visible {
  outline: 3px solid #174ef5;
  outline-offset: 3px;
}

.bousai-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border-width: 0;
  clip: rect(0, 0, 0, 0);
}

.bousai-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #fae58b 0%, #ffe056 100%);
}

.bousai-hero::before,
.bousai-hero::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1;
  height: 12px;
  content: "";
  background: repeating-linear-gradient(135deg, #fff 0 16px, transparent 16px 32px);
}

.bousai-hero::before {
  top: 0;
}

.bousai-hero::after {
  bottom: 0;
}

.bousai-hero__inner {
  width: min(100%, 1280px);
  padding: 52px 24px 42px;
  margin: 0 auto;
}

.bousai-hero__title {
  max-width: 20em;
  margin-bottom: 28px;
  font-size: clamp(1.9rem, 9vw, 2.2rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .04em;
}

.bousai-hero__summary {
  max-width: 42em;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.78;
}

.bousai-hero__summary + .bousai-hero__summary {
  margin-top: 18px;
}

.bousai-hero__art {
  width: min(82%, 330px);
  margin: 34px auto 0;
}

.bousai-hero__image {
  width: 100%;
  height: auto;
}

.bousai-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  width: min(100%, 1360px);
  padding: 24px 20px 0;
  margin: 0 auto;
}

.bousai-meta__date {
  color: var(--bousai-muted);
  font-size: .875rem;
}

.bousai-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.bousai-share__link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 30px;
  padding: 4px 14px;
  color: #fff;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.3;
}

.bousai-share__link--x {
  background: #000;
}

.bousai-share__link--facebook {
  background: #0756c9;
}

.bousai-share__link--line {
  background: #087d3b;
}

.bousai-share__mark {
  font-size: .7rem;
  font-weight: 700;
}

.bousai-share__link--facebook .bousai-share__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: #0756c9;
  background: #fff;
  border-radius: 50%;
  font-size: .6rem;
}

.bousai-share__link--line .bousai-share__mark {
  padding: 0 4px;
  color: #087d3b;
  background: #fff;
  border-radius: 6px 6px 6px 1px;
  font-size: .55rem;
  line-height: 1.7;
}

.bousai-topics {
  padding: 72px 20px 82px;
  background: #fff;
}

.bousai-topics__inner {
  width: min(100%, 1280px);
  padding: 28px 20px;
  margin: 0 auto;
  background: var(--bousai-gray);
  border-radius: 18px;
}

.bousai-topics__title {
  margin-bottom: 22px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.bousai-topics-block {
  position: relative;
  background: #fff;
  border: 1px solid var(--bousai-border);
  border-radius: 14px;
}

.bousai-topics-block__link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 10px 72px 10px 12px;
}

.bousai-topics-block__text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.bousai-topics-block__link:hover .bousai-topics-block__text {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bousai-topics-details {
  position: static;
}

.bousai-topics-summary {
  position: absolute;
  top: 17px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  list-style: none;
  cursor: pointer;
}

.bousai-topics-summary::-webkit-details-marker {
  display: none;
}

.bousai-topics-summary::marker {
  content: "";
}

.bousai-topics-summary__icon,
.bousai-section-heading__icon {
  position: relative;
  display: block;
  color: #222;
  background: #fff8ce;
  border-radius: 9px;
}

.bousai-topics-summary__icon::before,
.bousai-section-heading__icon::before {
  position: absolute;
  top: 24%;
  left: 24%;
  box-sizing: border-box;
  width: 52%;
  height: 42%;
  content: "";
  background: repeating-linear-gradient(to bottom, #3c4150 0 2px, transparent 2px 5px);
  border: 2px solid #3c4150;
  border-radius: 1px;
}

.bousai-topics-summary__icon::after,
.bousai-section-heading__icon::after {
  position: absolute;
  bottom: 19%;
  left: 32%;
  width: 36%;
  height: 3px;
  content: "";
  background: var(--bousai-yellow-deep);
  border-radius: 2px;
}

.bousai-topics-summary__icon {
  width: 40px;
  height: 40px;
}

.bousai-topics-summary__toggle,
.bousai-topic-list__arrow {
  position: relative;
  display: block;
  flex: 0 0 auto;
  background: var(--bousai-yellow);
  border-radius: 12px;
}

.bousai-topics-summary__toggle {
  width: 44px;
  height: 44px;
}

.bousai-topics-summary__toggle::before,
.bousai-topic-list__arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M1 10H10V1' fill='none' stroke='%231f243a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 11px 11px;
  transform: translate(-50%, -35%) rotate(225deg);
}

.bousai-topics-details[open] .bousai-topics-summary__toggle::before {
  transform: translate(-50%, -65%) rotate(45deg);
}

.bousai-topic-list {
  padding: 0 18px 12px 64px;
}

.bousai-topic-list__item {
  border-top: 1px solid var(--bousai-border);
}

.bousai-topic-list__link {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  font-size: 1.15rem;
  padding: 16px 0;
}

.bousai-topic-list__link:hover .bousai-topic-list__text {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bousai-topic-list__arrow {
  width: 42px;
  height: 42px;
}

.bousai-topic-list__arrow::before {
  transform: translate(-50%, -65%) rotate(45deg);
}

.bousai-content {
  padding: 0 20px 88px;
  background: linear-gradient(90deg, #fae58b 0%, #ffe056 100%);
  border-radius: 72px 72px 0 0;
}

.bousai-content__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.bousai-section-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 52px 0 30px;
}

.bousai-section-heading__icon {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  font-size: 2rem;
}

.bousai-section-heading__title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.45;
}

.bousai-card {
  padding: 34px 24px 40px;
  background: #fff;
  border-radius: 18px;
}

.bousai-card + .bousai-card {
  margin-top: 28px;
}

.bousai-card__label {
  margin-bottom: 8px;
  color: var(--bousai-muted);
  font-size: 1rem;
}

.bousai-card__title {
  margin-bottom: 26px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.55;
}

.bousai-card__lead-heading {
  position: relative;
  padding-left: 26px;
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
}

.bousai-card__lead-heading::before {
  position: absolute;
  top: .75em;
  left: 0;
  width: 18px;
  height: 4px;
  content: "";
  background: var(--bousai-yellow-deep);
}

.bousai-card__copy {
  font-size: 1rem;
  line-height: 1.5;
}

.bousai-card__copy + .bousai-card__copy {
  margin-top: 20px;
}

.bousai-card__strong {
  font-weight: 700;
}

.bousai-card__emphasis {
  position: relative;
  padding-left: 26px;
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 700;
}

.bousai-card__emphasis::before {
  position: absolute;
  top: .75em;
  left: 0;
  width: 18px;
  height: 4px;
  content: "";
  background: var(--bousai-yellow-deep);
}

.bousai-card__split {
  display: grid;
  gap: 32px;
}

.bousai-figure {
  width: min(100%, 480px);
  margin: 8px auto 0;
}

.bousai-figure__image {
  width: 100%;
  height: auto;
}

.bousai-figure__caption {
  margin-top: 12px;
  color: var(--bousai-muted);
  font-size: .8rem;
}

.bousai-related {
  padding: 24px 22px;
  margin-top: 30px;
  background: var(--bousai-gray);
  border-radius: 20px;
}

.bousai-related__heading {
  margin-bottom: 14px;
  font-size: 1.2rem;
  font-weight: 700;
}

.bousai-related__lead {
  margin-bottom: 14px;
  font-size: .95rem;
}

.bousai-related__link {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--bousai-link);
  font-size: .95rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bousai-related__link:hover {
  text-decoration-thickness: 2px;
}

.bousai-source {
  margin-top: 12px;
  color: var(--bousai-muted);
  font-size: .8rem;
}

.bousai-return {
  padding: 58px 20px 44px;
  background: #fff;
  text-align: center;
}

.bousai-return__link {
  display: inline-grid;
  gap: 8px;
  justify-items: center;
  font-size: .9rem;
  font-weight: 700;
}

.bousai-return__icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1px solid var(--bousai-yellow-deep);
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

.bousai-return__icon::before {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 13px;
  height: 13px;
  content: "";
  border-top: 2px solid #1f243a;
  border-left: 2px solid #1f243a;
  transform: translate(-50%, -50%) rotate(45deg);
}

.bousai-return__link:hover .bousai-return__label {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bousai-bottom-nav {
  padding: 0 20px 78px;
  background: #fff;
}

.bousai-bottom-nav__inner {
  display: grid;
  gap: 38px;
  width: min(100%, 1280px);
  padding: 34px 20px;
  margin: 0 auto;
  background: var(--bousai-gray);
  border-radius: 18px;
}

.bousai-bottom-nav__title {
  margin-bottom: 20px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
}

.bousai-link-grid {
  display: grid;
  gap: 12px;
}

.bousai-link-card {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 9px 10px 9px 18px;
  background: #fff;
  border: 1px solid var(--bousai-border);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.5;
}

.bousai-link-card--current {
  background: #fff9dc;
}

.bousai-link-card:hover {
  box-shadow: 0 0 0 2px var(--bousai-yellow-deep) inset;
}

.bousai-link-card__arrow {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  background: var(--bousai-yellow);
  border-radius: 14px;
}

.bousai-link-card__arrow::before {
  position: absolute;
  top: 50%;
  left: 45%;
  width: 12px;
  height: 12px;
  content: "";
  border-top: 2px solid #1f243a;
  border-right: 2px solid #1f243a;
  transform: translate(-50%, -50%) rotate(45deg);
}

.bousai-social {
  padding: 52px 20px 62px;
  background: #f1f1f1;
}

.bousai-social__inner {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.bousai-social__title {
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d6d6d6;
  font-size: 1.75rem;
  font-weight: 700;
}

.bousai-social__intro {
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.9;
}

.bousai-social__cards {
  display: grid;
  gap: 18px;
}

.bousai-social-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.bousai-social-card:hover .bousai-social-card__title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.bousai-social-card__image {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.bousai-social-card__body {
  display: grid;
  gap: 10px;
}

.bousai-social-card__title {
  color: var(--bousai-text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.55;
  text-underline-offset: 3px;
}

.bousai-social-card__copy {
  color: var(--bousai-text);
  font-size: .95rem;
  line-height: 1.8;
}

@media screen and (min-width: 768px) and (max-width: 1027px) {
  .bousai-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
    gap: 34px;
    align-items: center;
    min-height: 430px;
    padding: 64px 48px 54px;
  }

  .bousai-hero__title {
    font-size: 2.5rem;
  }

  .bousai-hero__art {
    width: 100%;
    max-width: 370px;
    margin: 0;
  }

  .bousai-meta {
    flex-direction: row;
    gap: 22px;
    justify-content: flex-end;
    padding-right: 48px;
    padding-left: 48px;
  }

  .bousai-topics__inner,
  .bousai-bottom-nav__inner {
    padding-right: 34px;
    padding-left: 34px;
  }

  .bousai-card {
    padding: 46px 42px 50px;
  }

  .bousai-card__split {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
    align-items: start;
  }

  .bousai-figure {
    margin-top: 0;
  }

  .bousai-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bousai-social-card {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 24px 28px;
  }

  .bousai-social-card__image {
    width: 88px;
    height: 88px;
  }
}

@media screen and (min-width: 1028px) {
  .bousai-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 42vw, 500px);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    min-height: 482px;
    padding: 92px 40px 64px;
  }

  .bousai-hero__title {
    margin-bottom: 30px;
    font-size: 2.4375rem;
  }

  .bousai-hero__summary {
    font-size: 1rem;
  }

  .bousai-hero__art {
    width: 100%;
    max-width: 500px;
    margin: 0;
  }

  .bousai-meta {
    flex-direction: row;
    gap: 28px;
    justify-content: flex-end;
    padding-top: 28px;
  }

  .bousai-topics {
    padding-top: 74px;
    padding-bottom: 104px;
  }

  .bousai-topics__inner {
    padding: 36px 40px 42px;
  }

  .bousai-topics-block__link {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 82px;
    padding-right: 88px;
    padding-left: 18px;
  }

  .bousai-topics-summary {
    top: 15px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .bousai-topics-summary__icon {
    width: 52px;
    height: 52px;
  }

  .bousai-topics-summary__toggle {
    width: 52px;
    height: 52px;
  }

  .bousai-topic-list {
    padding-right: 18px;
    padding-bottom: 16px;
    padding-left: 76px;
  }

  .bousai-topic-list__link {
    min-height: 76px;
  }

  .bousai-content {
    padding-bottom: 110px;
  }

  .bousai-section-heading {
    padding-top: 60px;
    padding-bottom: 34px;
  }

  .bousai-card {
    padding: 54px 58px 58px;
  }

  .bousai-card + .bousai-card {
    margin-top: 34px;
  }

  .bousai-card__title {
    font-size: 1.5rem;
  }

  .bousai-card__lead-heading {
    font-size: 1.1rem;
  }

  .bousai-card__split {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr);
    gap: 60px;
    align-items: start;
  }

  .bousai-figure {
    margin-top: -18px;
  }

  .bousai-related {
    padding: 28px 32px;
  }

  .bousai-bottom-nav {
    padding-top: 120px;
  }

  .bousai-return {
    position: fixed;
    right: max(18px, calc((100vw - 1360px) / 2));
    bottom: 54px;
    z-index: 10;
    padding: 0;
    background: transparent;
  }

  .bousai-bottom-nav__inner {
    padding: 42px 38px;
  }

  .bousai-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
  }

  .bousai-social {
    padding-top: 58px;
    padding-bottom: 66px;
  }

  .bousai-social-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 24px 30px;
  }

  .bousai-social-card__image {
    width: 92px;
    height: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

@media screen and (max-width: 767px) {
  .bousai-hero__inner {
    min-height: 690px;
    padding: 70px 20px 42px;
  }

  .bousai-hero__title {
    max-width: 8em;
    margin-bottom: 24px;
    font-size: 1.7rem;
  }

  .bousai-hero__summary {
    font-size: .8rem;
    line-height: 1.85;
  }

  .bousai-hero__summary + .bousai-hero__summary {
    margin-top: 12px;
  }

  .bousai-hero__art {
    width: 92%;
    max-width: 330px;
    margin-top: 62px;
  }

  .bousai-meta {
    padding: 18px 16px 0;
  }

  .bousai-meta__date {
    font-size: .8rem;
  }

  .bousai-share__link {
    min-height: 27px;
    padding: 3px 8px;
    font-size: .7rem;
  }

  .bousai-topics {
    padding: 58px 16px 66px;
  }

  .bousai-topics__inner {
    padding: 24px 14px;
    border-radius: 16px;
  }

  .bousai-topics__title {
    margin-bottom: 18px;
    font-size: 1rem;
  }

  .bousai-topics-block__link {
    min-height: 70px;
    padding-right: 66px;
  }

  .bousai-topics-block__text,
  .bousai-topic-list__link {
    font-size: .9rem;
  }

  .bousai-topics-summary {
    top: 13px;
  }

  .bousai-topic-list {
    padding-right: 12px;
    padding-bottom: 10px;
    padding-left: 64px;
  }

  .bousai-topic-list__link {
    min-height: 60px;
  }

  .bousai-topic-list__arrow {
    width: 40px;
    height: 40px;
  }

  .bousai-content {
    padding-right: 20px;
    padding-bottom: 72px;
    padding-left: 20px;
    border-radius: 56px 56px 0 0;
  }

  .bousai-section-heading {
    gap: 14px;
    padding-top: 44px;
    padding-bottom: 24px;
  }

  .bousai-section-heading__icon {
    width: 70px;
    height: 70px;
  }

  .bousai-section-heading__title {
    font-size: 1.9rem;
  }

  .bousai-card {
    padding: 28px 16px 32px;
    border-radius: 16px;
  }

  .bousai-card + .bousai-card {
    margin-top: 24px;
  }

  .bousai-card__label {
    margin-bottom: 6px;
    font-size: .75rem;
  }

  .bousai-card__title {
    margin-bottom: 20px;
    font-size: 1.15rem;
    line-height: 1.5;
  }

  .bousai-card__lead-heading {
    padding-left: 22px;
    margin-bottom: 14px;
    font-size: .9rem;
    line-height: 1.65;
  }

  .bousai-card__lead-heading::before,
  .bousai-card__emphasis::before {
    width: 14px;
  }

  .bousai-card__copy {
    font-size: .8rem;
    line-height: 1.5;
  }

  .bousai-card__copy + .bousai-card__copy {
    margin-top: 14px;
  }

  .bousai-card__emphasis {
    padding-left: 22px;
    margin-top: 26px;
    margin-bottom: 10px;
    font-size: .9rem;
  }

  .bousai-card__split {
    gap: 24px;
  }

  .bousai-figure__caption,
  .bousai-source {
    font-size: .7rem;
  }

  .bousai-related {
    padding: 20px 14px;
    margin-top: 24px;
    border-radius: 20px;
  }

  .bousai-related__heading {
    margin-bottom: 10px;
    font-size: 1.05rem;
  }

  .bousai-related__lead,
  .bousai-related__link {
    font-size: .8rem;
  }

  .bousai-return {
    padding-top: 48px;
    padding-bottom: 38px;
  }

  .bousai-bottom-nav {
    padding-right: 16px;
    padding-bottom: 64px;
    padding-left: 16px;
  }

  .bousai-bottom-nav__inner {
    gap: 32px;
    padding: 28px 16px;
    border-radius: 16px;
  }

  .bousai-bottom-nav__title {
    margin-bottom: 16px;
    font-size: 1rem;
  }

  .bousai-link-card {
    min-height: 60px;
    padding-left: 14px;
    font-size: .82rem;
  }

  .bousai-link-card__arrow {
    width: 44px;
    height: 44px;
  }

  .bousai-social {
    padding: 44px 16px 52px;
  }

  .bousai-social__title {
    padding-bottom: 14px;
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .bousai-social__intro {
    margin-bottom: 20px;
    font-size: .85rem;
    line-height: 1.8;
  }

  .bousai-social-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 14px;
  }

  .bousai-social-card__image {
    width: 64px;
    height: 64px;
  }

  .bousai-social-card__body {
    display: contents;
  }

  .bousai-social-card__title {
    grid-column: 2;
    font-size: 1.2rem;
  }

  .bousai-social-card__copy {
    grid-column: 1 / -1;
    font-size: .8rem;
    line-height: 1.75;
  }
}

/* ===== sonae ページ固有 ===== */

.bousai-content--s2 {
  background: #fff3c1;
}

.bousai-content--s3 {
  background: #fff;
  border-radius: 0;
}

.bousai-topics__grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

.bousai-line {
  display: block;
}

/* 1枠に複数リンクが並ぶため、リンクは1行ずつ積む */
.bousai-related__link {
  display: flex;
  width: fit-content;
  max-width: 100%;
}

.bousai-related__link + .bousai-related__link {
  margin-top: 14px;
}

.bousai-note {
  margin-top: 12px;
  color: #333;
  font-size: .8rem;
  line-height: 1.75;
}

.bousai-note--related {
  margin-top: 18px;
}

.bousai-points {
  position: relative;
  padding: 0 16px 22px;
  margin-top: 34px;
  border: 2px solid #f9e073;
  border-radius: 20px;
}

.bousai-points__title {
  display: inline-block;
  max-width: 100%;
  padding: 5px 18px;
  margin-top: -18px;
  margin-bottom: 20px;
  background: #f9e073;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.6;
}

.bousai-points__list {
  display: grid;
  gap: 14px;
}

.bousai-points__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.bousai-points__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #f9e073;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0;
}

.bousai-points__text {
  font-size: .85rem;
  line-height: 1.75;
}

.bousai-points__text .bousai-line + .bousai-line {
  margin-top: 2px;
}

.bousai-dial-list {
  display: grid;
  gap: 20px;
}

.bousai-dial-list__item {
  position: relative;
  padding-left: 22px;
}

.bousai-dial-list__item::before {
  position: absolute;
  top: .5em;
  left: 0;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--bousai-yellow-deep);
  border-radius: 50%;
}

.bousai-dial-list__term {
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.75;
}

.bousai-dial-list__desc {
  font-size: .85rem;
  line-height: 1.75;
}

.bousai-trial {
  padding: 18px 20px;
  margin-top: 22px;
  background: #fef9e3;
}

.bousai-trial__lead,
.bousai-trial__item {
  font-size: .85rem;
  line-height: 1.75;
}

.bousai-figure-pair {
  margin-top: 24px;
}

.bousai-figure-pair__items {
  display: grid;
  gap: 16px;
}

/* 動画ごとに出典行を持たせるため figure をグリッド項目にする（既定マージンは打ち消す） */
.bousai-figure-pair__item {
  margin: 0;
}

.bousai-figure-pair__image {
  display: block;
  width: 100%;
  height: auto;
}

.bousai-figure-pair__caption {
  margin-top: 12px;
}

.bousai-sitecards {
  display: grid;
  gap: 28px;
}

.bousai-sitecard__link {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  height: 100%;
}

.bousai-sitecard__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8d7d5;
  border-radius: 12px;
}

.bousai-sitecard__image {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.bousai-sitecard__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
}

.bousai-sitecard__link:hover .bousai-sitecard__title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bousai-sitecard__desc {
  color: #333;
  font-size: .85rem;
  line-height: 1.75;
}

.bousai-sitecard__icon {
  justify-self: end;
  width: 48px;
  height: 48px;
  background: url("/jp/headline/bousai/images/bousai_icon_external_card.svg") no-repeat center / contain;
}

@media screen and (min-width: 768px) {
  .bousai-topics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .bousai-sitecards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .bousai-points {
    padding: 0 34px 30px;
    margin-top: 46px;
  }

  .bousai-points__title {
    padding: 6px 22px;
    margin-top: -21px;
    margin-bottom: 26px;
    font-size: 1.125rem;
  }

  .bousai-points__list {
    gap: 18px;
  }

  .bousai-points__item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }

  .bousai-points__num {
    width: 30px;
    height: 30px;
    font-size: .8rem;
  }

  .bousai-points__text,
  .bousai-dial-list__term,
  .bousai-dial-list__desc,
  .bousai-trial__lead,
  .bousai-trial__item {
    font-size: 1rem;
  }

  .bousai-dial-list {
    gap: 26px;
  }

  .bousai-note {
    font-size: .875rem;
  }

  .bousai-trial {
    padding: 22px 26px;
    margin-top: 26px;
  }

  .bousai-figure-pair__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .bousai-sitecard__thumb {
    height: 225px;
  }
}

@media screen and (min-width: 1028px) {
  .bousai-topics__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
  }

  .bousai-topics-block__link {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 18px;
    min-height: 77px;
    padding-right: 18px;
  }

  .bousai-topics-summary__icon {
    width: 40px;
    height: 40px;
  }

  .bousai-topics-block__text {
    font-size: 1.25rem;
  }

  .bousai-section-heading {
    gap: 22px;
    padding-top: 82px;
    padding-bottom: 42px;
  }

  .bousai-section-heading__icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
  }

  .bousai-section-heading__title {
    font-size: 2.25rem;
  }

  .bousai-content--s3 .bousai-section-heading {
    padding-top: 96px;
  }

  .bousai-card + .bousai-card {
    margin-top: 44px;
  }

  .bousai-card__split {
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 50px;
  }

  .bousai-figure {
    width: 100%;
    margin-top: -15px;
    margin-right: 0;
    margin-left: 0;
  }

  .bousai-figure--wide {
    max-width: 500px;
  }

  .bousai-figure--mid {
    max-width: 400px;
    margin-right: auto;
    margin-left: auto;
  }

  .bousai-figure--tall {
    max-width: 350px;
    margin-right: auto;
    margin-left: auto;
  }

  .bousai-figure-pair {
    margin-top: 34px;
  }

  .bousai-figure-pair__items {
    width: min(100%, 1040px);
    margin: 0 auto;
  }

  .bousai-sitecards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 40px;
  }

  .bousai-sitecard__title {
    font-size: 1.25rem;
  }

  .bousai-sitecard__desc {
    font-size: .9375rem;
  }

  .bousai-sitecard__icon {
    width: 52px;
    height: 52px;
  }
}

@media screen and (max-width: 767px) {
  .bousai-section-heading__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .bousai-section-heading__title {
    font-size: 1.625rem;
  }

  .bousai-sitecard__thumb {
    height: 190px;
  }

  .bousai-figure-pair__caption {
    font-size: .7rem;
  }
}

/* ===== 2026-08-16 FB: 支給アイコン・動画（sonae） ===== */

/* トピックス欄／セクション見出しのアイコンは支給PNG（淡黄の角丸タイル込み）に差し替え。
   ベースCSSの疑似要素による書類風図形は打ち消す。 */
.bousai-topics-summary__icon,
.bousai-section-heading__icon {
  overflow: hidden;
  background: none;
}

.bousai-topics-summary__icon::before,
.bousai-topics-summary__icon::after,
.bousai-section-heading__icon::before,
.bousai-section-heading__icon::after {
  content: none;
}

.bousai-icon-image {
  display: block;
  width: 100%;
  height: 100%;
}

/* c2 政府広報プレーヤー（inettv2.js が #movi_97608 に描画）。
   縦位置は同じ右カラムに入る .bousai-figure と揃える。 */
.bousai-video {
  margin-top: 8px;
}

.bousai-video__frame {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

/* プレーヤーは外部スクリプトが差し込むため、枠に収まるよう受け皿側で抑える */
.bousai-video__frame iframe,
.bousai-video__frame video,
.bousai-video__frame embed,
.bousai-video__frame object,
.bousai-video__frame img {
  max-width: 100%;
}

.bousai-video__frame iframe,
.bousai-video__frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.bousai-video__credit {
  margin-top: 10px;
}

/* c5 YouTubeサムネイル（別タブでYouTubeの視聴ページを開く） */
.bousai-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.bousai-video-thumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20.4%;
  aspect-ratio: 102 / 77;
  background: #f00;
  border-radius: 33% / 29%;
  transform: translate(-50%, -50%);
}

.bousai-video-thumb__play::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32%;
  height: 47%;
  content: "";
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translate(-40%, -50%);
}

.bousai-video-thumb:hover .bousai-video-thumb__play,
.bousai-video-thumb:focus-visible .bousai-video-thumb__play {
  background: #c00;
}

@media screen and (min-width: 768px) and (max-width: 1027px) {
  .bousai-video {
    margin-top: 0;
  }
}

@media screen and (min-width: 1028px) {
  .bousai-video {
    margin-top: -15px;
  }
}

/* ===== 2026-08-18 v4#4: YouTubeモーダル ===== */
.bousai-video-dialog {
  width: min(92vw, 960px);
  padding: 44px 12px 12px;
  border: none;
  border-radius: 12px;
}

.bousai-video-dialog::backdrop {
  background: rgba(0, 0, 0, .6);
}

.bousai-video-dialog__close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px 10px;
  color: #1f243a;
  cursor: pointer;
  background: var(--bousai-yellow);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}

.bousai-video-dialog__frame {
  aspect-ratio: 16 / 9;
}

.bousai-video-dialog__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

/* ===== 2026-08-18 v3-F: 現行流用図版の角丸（新規図版の焼き込み実測に整合） ===== */
.bousai-figure-pair__image,
.bousai-figure__image,
.bousai-sitecard__image {
  border-radius: 12px;
}

/* ===== 2026-08-18 v5-12: 連続セクションの角丸背後の白抜け解消 ===== */
.bousai-content:has(+ .bousai-content) {
  padding-bottom: 160px;
}

.bousai-content + .bousai-content {
  margin-top: -72px;
}

@media screen and (max-width: 767px) {
  .bousai-content:has(+ .bousai-content) {
    padding-bottom: 128px;
  }

  .bousai-content + .bousai-content {
    margin-top: -56px;
  }
}

/* ===== 2026-08-18 v5-10/v4-3: リンク行アイコンをSVG支給素材へ統一 ===== */
.bousai-link-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: .35em;
  background: url("/jp/headline/bousai/images/bousai_icon_external_link.svg") no-repeat center / contain;
}

/* ===== 2026-08-18 v5-6: トピックスアイコン枠52px統一（余白8pxは支給PNG焼き込み） ===== */
.bousai-topics-summary__icon {
  width: 52px;
  height: 52px;
}

/* ===== 2026-08-18 v5-8: 枠線上辺とタイトルラベルの中央揃え（共通指定） ===== */
.bousai-points__title {
  position: relative;
  top: -1px;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 2px;
  transform: translateY(-50%);
}

@media (max-width: 1027px) {
  .bousai-points__title {
    margin-top: 0;
    margin-bottom: 5px;
  }
}

/* ===== 2026-08-20 v6付随: 下部ナビ矢印タイルをデザイン実測52px・radius16pxへ統一（PC/SP同値） ===== */
.bousai-link-card__arrow {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

@media (max-width: 767px) {
  .bousai-link-card__arrow {
    width: 52px;
    height: 52px;
  }
}

/* ===== v10: トピックス欄の親項目に黄色の地を敷く（Figma修正版の「Mark」：文字の幅に合わせる・左右4px・角の半径2px・高さ26px）。
   色はFigmaの Yellow80（#FFF3C1） ===== */
.bousai-topics-block__text {
  justify-self: start;
  padding: 0 4px;
  margin-left: 2px;
  background: #fff3c1;
  border-radius: 2px;
}

/* PCの親項目はFigmaで20px・行の高さ26px（事前防災ページは従来から20px） */
@media screen and (min-width: 1028px) {
  .bousai-topics-block__text {
    font-size: 1.25rem;
    line-height: 1.3;
  }
}

/* ===== v10: キービジュアル差し替え（Figmaの表示は437×344。従来は500幅）。PC・SPはFigmaの幅。タブレットはPCと同じ比（437/500）で縮める ===== */
@media screen and (min-width: 1028px) {
  /* 上下の余白はFigmaのスクショ実測で各69px前後。帯の高さ482pxを保つため、絵の上下を余白にはみ出させる */
  .bousai-hero__art {
    max-width: 437px;
    justify-self: center;
    margin: -23px 0 5px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1027px) {
  .bousai-hero__art {
    max-width: 323px;
    justify-self: center;
  }
}
@media screen and (max-width: 767px) {
  /* SP版Figmaの表示は286×225 */
  .bousai-hero__art {
    max-width: 286px;
  }
}

/* ===== v10: ※注記。関連リンク下は2文を1段落にまとめる。どの注記も、折り返した行が※の下に入らないようにする ===== */
.bousai-note--hang {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

/* 1つの段落に※が複数並ぶ注記。1本ずつ行にして、折り返した行が※の下に入らないようにする */
.bousai-note__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}
/* もともと「※」の後ろに半角の空きがあった注記（備蓄）は、同じ幅の空きを残す */
.bousai-note__row--gap {
  column-gap: .27em;
}
