@charset "UTF-8";

.sdgsquest-page { padding-bottom: 72px; background: #fff; }
.sdgsquest-title { display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; height: 355px; padding: 0 15px 20px; color: #fff; background: url("../img/special-contents/bg_main.png") center / cover no-repeat; font-size: 21px; line-height: 1.2; text-align: center; }
.sdgsquest-title span { display: block; width: 100%; font-family: Roboto, sans-serif; font-size: 55px; letter-spacing: .15rem; }
.sdgsquest-inner { margin: 0 auto; }
.sdgsquest-page .breadcrumbs { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 20px 0 32px; padding: 0; list-style: none; font-size: 13px; }
.sdgsquest-page .breadcrumbs li + li::before { content: ">"; margin-right: 8px; color: #777; }
.sdgsquest-page .breadcrumbs a, .sdgsquest-article a { color: #1c59ae; }
.sdgsquest-article { line-height: 1.9; overflow-wrap: anywhere; }
.sdgsquest-article p { margin: 0 0 1.4em; }
.sdgsquest-article h2 { width: 100%; margin: 40px 0; padding: 0 0 16px; color: var(--text); border-bottom: 2px solid var(--rbc-main); font-size: 20px; line-height: 1.45; }
.sdgsquest-main-image, .sdgsquest-ja, .sdgsquest-banner { margin: 28px auto; text-align: center; }
.sdgsquest-main-image img, .sdgsquest-ja img, .sdgsquest-banner img { display: inline-block; max-width: 100%; height: auto; }
.sdgsquest-table-wrap { overflow-x: auto;margin-bottom: 40px; }
.sdgsquest-table-wrap table { width: 100%; min-width: 680px; border-collapse: collapse; }
.sdgsquest-table-wrap th, .sdgsquest-table-wrap td { padding: 10px; border: 1px solid #bbb; vertical-align: top; text-align: left; }
.sdgsquest-table-wrap th { width: 22%; background: #f6f6f6; }
.sdgsquest-entry, .sdgsquest-list { margin: 30px 0; text-align: center; }
.sdgsquest-entry a, .sdgsquest-list a { display: inline-block; padding: 14px 42px; color: #fff; background: var(--rbc-main); border-radius: 4px; font-weight: 700; text-decoration: none; }
.sdgsquest-sponsors-title { margin-bottom: 24px !important; text-align: center; font-size: 35px !important; }
.sdgsquest-sponsors { display: grid; gap: 18px; margin: 18px auto; }
.sdgsquest-sponsors--three { grid-template-columns: repeat(3, minmax(0, 270px)); justify-content: center; }
.sdgsquest-sponsors--two { grid-template-columns: repeat(2, minmax(0, 270px)); justify-content: center; }
.sdgsquest-sponsors img { width: 100%; height: auto; }
.sdgsquest-sdgs-label { margin: 34px 0 0 !important; text-align: center; }
.sdgsquest-banner { margin-top: 8px; }

@media (max-width: 768px) {
  .sdgsquest-page { padding-bottom: 38px; }
  .sdgsquest-title { height: 26vw; margin-top: 10px; padding-bottom: 0; font-size: 14px; }
  .sdgsquest-title span { font-size: 27px; }
  .sdgsquest-inner { width: min(var(--content-max-width), calc(100% - 20px)); }
  .sdgsquest-page .breadcrumbs { margin-bottom: 22px; }
  .sdgsquest-article { font-size: 15px; }
  .sdgsquest-article h2 { margin: 40px 0; font-size: 19px; }
  .sdgsquest-table-wrap { margin-inline: -2px; }
  .sdgsquest-sponsors { gap: 10px; }
  .sdgsquest-sponsors--three, .sdgsquest-sponsors--two { grid-template-columns: repeat(2, minmax(0, 270px)); }
  .sdgsquest-sponsors img { width: 100%; }
  .sdgsquest-sponsors--three img:last-child { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
  .sdgsquest-sponsors-title { font-size: 25px !important; }
}
