@charset "UTF-8";

/* ==================================================================
   Base
================================================================== */
:root {
  --color-text: #1a1a1a;
  --color-white: #ffffff;

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", Meiryo, sans-serif;


  --mv-width: 1104px;
  --container-width: 1105px;
  --content-width: 1090px;
  --header-height: 185px;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height, 8.8rem);
}
html.is-translated rt {
  display: none !important;
}

html.is-translated .l-gnav__link br {
  display: none!important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
form,
fieldset,
img,
a,
table,
tbody,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

body {
  
  padding-top: var(--header-height, 8.8rem);
  overflow-x: hidden;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: var(--font-base);
  font-size: 1.5rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

ul {
  list-style: none;
}

ol {
  margin-left: 1.5rem;
  padding-left: 1rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: bottom;
}

p,
li {
  font-size: 16px;
  color: #000000;

}

a {
  color:var(--theme-color);
  text-decoration: none;
  background-color: transparent;
  transition: opacity 0.2s ease;
}
a.saigai-link{
  color: #ff8b50;
}
a:hover {
  opacity: 0.75;
}

button {
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  color: inherit;
  font: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

svg {
  display: block;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
}

.desktop {
  display: block;
}

.mobile {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ==================================================================
   Theme
================================================================== */
.site-portal {
  --theme-color: #3f6fb0;
  --theme-text: #ffffff;
  --border-color: #3f6fb0;
  --active-color: #3f6fb0;
}

.site-seikatsu {
  --theme-color: #4caf50;
  --theme-text: #ffffff;
  --border-color: #4caf50;
  --active-color: #4caf50;
}

.site-kotsu {
  --theme-color: #f2994a;
  --theme-text: #ffffff;
  --border-color: #f2994a;
  --active-color: #f2994a;
  --color-light:#f7e6b2;
}

.site-saigai {
  --theme-color: #ffe902;
  --theme-text: #333333;
  --border-color: #ffe902;  
  --active-color: #ffe902;
  --color-light:#fff9bf;
}
/* ==================================================================
   Common
================================================================== */
.portal-name,
.site-name {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  color: #ffffff;
  paint-order: stroke fill;
  text-decoration: none;
}
.portal-name {
  font-size: 16px;
  line-height: 1.2;
  -webkit-text-stroke: 3px #111111;
}
.site-name {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.15em;
  -webkit-text-stroke: 7px #111111;
}
.site-name__last {
  display: inline-block;
  margin-left: -0.25em;
}

.site-name:hover {
  opacity: 0.8;
}


.page_title .inner,
.page_bottom_text .inner,
section .inner {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
}

h1 {
  display: block;
  margin: 0;
  padding: 20px 40px 20px 20px;
  color: var(--color-white);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.4;
}

h1.portal {
  background-color: #3f6fb0;
}
h1.page-heading {
  background-color: var(--theme-color);
  color: var(--theme-text);
}
h2 {
  margin: 40px 0 30px;
  color: #222222;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

h2.page-heading {
  border-bottom: 10px solid var(--theme-color);;
}
.page-heading.jirei-heading {
  display: block;
  margin: 0;
  padding: 20px 40px 20px 20px;
  color: var(--color-white);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  background-color: var(--theme-color);
  color: var(--theme-text);
}
.usually-text{
  font-size: 16px;
  color: #222222;
}
.fsz20{
  font-size: 20px;
}
.bold{
  font-weight: 700;
}
section {
  padding: 25px 5px 0;
}
section:first-of-type{
  padding: 0 5px 0;
}

section .block {
  padding: 2rem;
  border: 1px solid #aaaaaa;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.6);
}

section .block.font-normal ul li,
section .block.font-normal .intro {
  font-weight: 400 !important;
}

section .block_item {
  margin-top: 30px;
}

section .block_item:first-of-type {
  margin-top: 0;
}

section .block_item .flex .text_area h5 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-green);
  color: #333333;
  font-size: 1.5rem;
  line-height: calc(25 / 17);
}

section .block_item .flex .text_area h5:first-of-type {
  margin-top: 0;
}


section .block_item .flex .text_area p a {
  display: block;
}

section .block_item .flex .text_area p a span {
  color: var(--color-orange);
}

section h3 {
  padding: 0 10px;
  color: var(--color-text);
  border-left: 5px solid var(--border-color);
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 20px;
  line-height: 1.4;
}

section .intro {
  margin-top: 1.6rem;
  color: #333333;
  font-size: 16px;
  font-weight: 700;
  line-height: calc(25 / 17);
}

section .intro .link {
  color: var(--theme-color);
}

section .flex {
  display: flex;
  gap: 20px;
}


.page_bottom_text .inner p {
  color: #333333;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

ul li .menu {
  position: relative;
  display: flex;
  align-items: center;
  
  width: 100%;
  
  padding: 10px 20px;
  border: 1px solid #707070;
  border-radius: 8px;
  color: #333333;
  background-image: linear-gradient(
    to right,
    #ffffff calc(100% - 1.5rem),
    #fffdbb 0
  );
  font-size: 16px;
  font-weight: 700;
}
ul li .menu::after {
  content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 4px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #333;
}
ul li .menu:hover {
  opacity: 0.8;
}

ul li .menu .wrap .category {
  display: flex;
  flex-direction: column;
}

ul li .menu .wrap .category span {
  color: #7a7a7a;
  font-size: 14px;
  font-weight: 700;
  transform: translateX(-0.5em);
}

ul li .menu .wrap .pdf {
  display: flex;
  align-items: center;
  margin-top: 0.4rem;
  font-size: 14px;
}

ul li .menu .wrap .pdf .tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  border: 1px solid #e7402f;
  border-radius: 1.6rem;
  color: #e7402f;
  font-size: 14px;
}
.program-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
ul li .menu .wrap .pdf .filesize {
  margin-left: 1rem;
  font-size: 14px;
  font-weight: 400;
}
.sp-only{
  display: none;
}

.mt15 {
  margin-top: 15px;
}
.mt30 {
  margin-top: 30px;
}
.mt70 {
  margin-top: 70px;
}
.mt100 {
  margin-top: 100px;
}
.small-text{
  font-size: 14px;
  font-weight: 400;
}
.large-text{
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}
.text-right{
  text-align: right;
}
.text-center{
  text-align: center;
}
.grid3,
.grid2{
  display: grid;
  gap: 20px;
}
.grid3{
  grid-template-columns: repeat(3, 1fr);
}
.grid2{
  grid-template-columns: repeat(2, 1fr);
}
.grid3 .grid__item a .image{
  display: flex;
  justify-content: center;
}
.flex .left{
  width: 40%;
}
.flex .right{
  width: 60%;
}
.flex-gap0{
  display: flex;
  gap: 0;
}
.flex.flex_justify_around{
  gap: 0;
  justify-content: space-around;
}
.color_site{
  color: var(--theme-color);
}
@media (min-width: 851px) and (max-width: 1020px){

  .site-name{
    font-size: 26px;
  }
}
@media (max-width: 850px) {
  .site-name{
    font-size: 22px;
  }
  .portal-name{
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  h1{
    font-size: 26px;
  }
  .sp-only{
    display: block;
  }
  .grid3{
    grid-template-columns: repeat(2, 1fr);
  }
  .large-text{
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
  }
  .mt15 {
    margin-top: 10px;
  }
  .mt30 {
    margin-top: 15px;
  }
  .mt70 {
    margin-top: 35px;
  }
  .mt100 {
    margin-top: 50px;
  }
  .fsz20{
    font-size: 18px;
  }
  .page-heading.jirei-heading{
    font-size: 24px;
  }
}
@media (max-width: 420px) {
  h1{
    font-size: 24px;
  }
  section{
    padding: 20px 5px 0;
  }
  section:first-of-type{
    padding: 0 5px 0;
  }
  .site-name{
    font-size: 22px;
  }
  .grid3,
  .grid2{
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .grid3 .grid__item a .image{
    display: flex;
    justify-content: center;
  }
  .flex .right,
  .flex .left{
    width: 100%;
  }
  h2{
    margin: 25px 0 20px;
    font-size:22px ;
  }
}
/* ==================================================================
   Header
================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid #eeeeee;
  background-color: var(--color-white);
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.1);
}

.header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 10px;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 14px 0;
}


.header__branding {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: 100%;
}
html.is-translated .header__branding {
  min-width: 570px;
}
.header__organization {
  width: 190px;
}

.header__logo-title {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header__logo-title img {
  margin-inline: auto;
}

.header__logo-mext {
  margin: 0;
}

.header__logo-mext a,
.header__portal-back a,
.header__logo-title a {
  display: block;
}

.header__logo-mext img {
  width: 100%;
  max-width: 190px;
}

.header__portal-back {
  margin-top: 10px;
  display: flex;
  justify-content: end;
}

.header__portal-back img {
  width: 100%;
  max-width: 190px;
  max-height: 38px;
  object-fit: contain;
  object-position: left center;
  margin-top: 15px;
}

.header__logo-title {
  min-width: 0;
  margin: 0;
}

.header__logo-title img {
  width: 100%;
  max-width: 300px;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}

.header--portal .header__logo-title img {
  max-width: 340px;
}
.header__portal-back-mobile{
  display:none;
}
@media (max-width: 850px) {
  .header__organization{
    width: 150px;
  }
}
@media screen and (max-width: 767px){

  .header__portal-back-mobile{
      display:block;
  }

  .header__portal-back-mobile img{
      width:auto;
      max-width:200px;
      height:32px;
      object-fit:contain;
  }
html.is-translated .header__branding {
  min-width: 300px;
}
}

.header__utility {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
}

.header__tools {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 14px;
}

.p-headerLinks {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 700;
}

.p-headerLinks__item a {
  color: #222222;
}
html.is-translated .p-headerLinks {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 4px;
}

html.is-translated .p-headerLinks__item {
  flex: 0 0 100%;
  text-align: right;
}

html.is-translated .p-headerLinks__item a {
  display: inline-block;
  line-height: 1.3;
}
html.is-translated .news-list__category {
  width: auto;
  min-width: 120px;
  max-width: 180px;
  height: auto;
  min-height: 24px;

  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;

  line-height: 1.2;
  text-align: center;
}

html.is-translated .home-news-section .news-list__category {
  width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.25;
  text-align: center;
}
html.is-translated .home-news-section .news-list__link {
  grid-template-columns: 80px 160px minmax(0, 1fr);
}

@media screen and (max-width: 920px) and (min-width: 768px) {
  html.is-translated .home-news-section .news-list__link {
    grid-template-columns: 72px 130px minmax(0, 1fr);
    gap: 10px;
  }

  html.is-translated .home-news-section .news-list__category {
    font-size: 13px;
  }

  html.is-translated .home-news-section .news-list__title {
    font-size: 14px;
    line-height: 1.4;
  }
}
/* =========================================================
   Header Language Menu
========================================================= */

.header-language {
  position: relative;
  z-index: 1000;
}

.header-language__button {
  display: inline-flex;
  min-width: 146px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #08793f;
  background-color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.header-language__button:hover,
.header-language__button:focus-visible,
.header-language__button[aria-expanded="true"] {
  border-color: #08793f;
  background-color: #f4fbf7;
}

.header-language__button:focus-visible {
  outline: 3px solid rgba(0, 116, 204, 0.35);
  outline-offset: 2px;
}

.header-language__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.header-language__icon svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-language__label {
  white-space: nowrap;
}

.header-language__arrow {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.header-language__button[aria-expanded="true"]
  .header-language__arrow {
  margin-top: 4px;
  transform: rotate(225deg);
}

.language-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(400px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 120px));
  overflow-y: auto;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.language-panel[hidden] {
  display: none;
}

.language-panel::before {
  position: absolute;
  top: -9px;
  right: 54px;
  width: 16px;
  height: 16px;
  border-top: 1px solid #d5d5d5;
  border-left: 1px solid #d5d5d5;
  background-color: #ffffff;
  content: "";
  transform: rotate(45deg);
}

.language-panel__inner {
  position: relative;
  padding: 24px;
}

.language-panel__heading {
  margin-bottom: 18px;
}

.language-panel__title {
  margin: 0;
  color: #222222;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}

.language-panel__note {
  margin: 6px 0 0;
  color: #555555;
  font-size: 14px;
  line-height: 1.6;
}

.language-panel__primary-list,
.language-panel__all-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-panel__primary-list {
  margin-bottom: 24px;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}

.language-panel__primary-list > li {
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.language-panel__language {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 14px;
  border: 0;
  color: #0057cc;
  background-color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.language-panel__language:hover,
.language-panel__language:focus-visible {
  color: #003c91;
  background-color: #edf7f1;
}

.language-panel__language:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(0, 116, 204, 0.4);
  outline-offset: -3px;
}

.language-panel__language.is-current {
  color: #222222;
  background-color: #e8f4ec;
  font-weight: 800;
  text-decoration: none;
}

.language-panel__all-button {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid #08793f;
  border-radius: 8px;
  color: #08793f;
  background-color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.language-panel__all-button:hover,
.language-panel__all-button:focus-visible {
  color: #ffffff;
  background-color: #08793f;
}

.language-panel__all-button:focus-visible {
  outline: 3px solid rgba(0, 116, 204, 0.35);
  outline-offset: 2px;
}

.language-panel__all-arrow {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.language-panel__all-button[aria-expanded="true"]
  .language-panel__all-arrow {
  margin-top: 4px;
  transform: rotate(225deg);
}

.language-panel__all {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #dddddd;
}

.language-panel__all[hidden] {
  display: none;
}

.language-panel__search {
  margin-bottom: 16px;
}

.language-panel__search-label {
  display: block;
  margin-bottom: 6px;
  color: #222222;
  font-size: 14px;
  font-weight: 700;
}

.language-panel__search-input {
  width: 100%;
  height: 44px;
  padding: 8px 12px;
  border: 1px solid #777777;
  border-radius: 4px;
  color: #222222;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 16px;
}

.language-panel__search-input:focus {
  border-color: #006eb8;
  outline: 3px solid rgba(0, 116, 204, 0.3);
  outline-offset: 1px;
}

.language-panel__all-list {
  max-height: 280px;
  overflow-y: auto;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}

.language-panel__all-list > li {
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.language-panel__empty {
  margin: 16px 0 0;
  color: #555555;
  font-size: 14px;
  text-align: center;
}

.language-panel__close {
  display: block;
  margin: 24px auto 0;
  padding: 8px 16px;
  border: 0;
  color: #0057cc;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-panel__close:hover,
.language-panel__close:focus-visible {
  color: #003c91;
}

.language-panel__close:focus-visible {
  outline: 3px solid rgba(0, 116, 204, 0.35);
  outline-offset: 2px;
}

@media screen and (max-width: 767px) {
  .header-language {
    position: static;
  }

  .header-language__button {
    min-width: auto;
    width: 44px;
    padding: 0;
  }

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

  .language-panel {
    position: fixed;
    top: 74px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 90px);
  }

  .language-panel::before {
    display: none;
  }

  .language-panel__inner {
    padding: 20px 16px;
  }

  .language-panel__primary-list,
  .language-panel__all-list {
    grid-template-columns: 1fr;
  }

  .language-panel__language {
    min-height: 52px;
  }
}

.c-searchBox {
  display: flex;
  align-items: stretch;
  width: 180px;
  height: 44px;
  overflow: hidden;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background-color: #ffffff;
}
.c-searchBox__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 10px;
  border: 0;
  outline: 0;
  font-size: 13px;
}
.c-searchBox__button {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  border-left: 1px solid #cccccc;
  color: #333333;
  background-color: #ffffff;
}

.c-searchBox__button svg {
  width: 18px;
  height: 18px;
}

.l-gnav {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
}

.l-gnav__inner {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0;
  
}

.l-gnav__toggle {
  display: none;
}

.l-gnav__list {
  display: flex;
  flex-wrap: nowrap;
}

.l-gnav__item {
  flex: 1 1 0;
  min-width: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.l-gnav__item:first-child {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.l-gnav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 62px;
  padding: 8px 4px;
  color: var(--theme-text);
  background-color: var(--theme-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border-bottom:1px solid #ffffff
}

.l-gnav__link:hover {
  color: var(--theme-color);
  background-color: #ffffff;
  opacity: 1;
}
.site-saigai .l-gnav__link:hover {
  color: #333333;
  background-color: #ffffff;
  opacity: 1;
}

.l-gnav__item.is-active .l-gnav__link {
  color: #333333;
  background-color: #ffffff;
  opacity: 1;
}
/* =========================================================
   サブポータル：各ポータル切替ドロップダウン
========================================================= */

.l-gnav__item--portal-select {
  position: relative;
}

.l-gnav__portal-button {
  width: 100%;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.l-gnav__portal-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.l-gnav__portal-button[aria-expanded="true"]
  .l-gnav__portal-arrow {
  margin-top: 4px;
  transform: rotate(225deg);
}

@media screen and (min-width: 768px) {

  .l-gnav__portal-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1200;
    width: 290px;
    margin: 0;
    border: 1px solid #d8d8d8;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
  }

  .l-gnav__portal-menu[hidden] {
    display: none;
  }

  .l-gnav__portal-menu-item {
    width: 100%;
    border: 0;
  }

  .l-gnav__portal-menu-link {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #e5e5e5;
    color: #222222;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
  }

  .l-gnav__portal-menu-item:last-child
    .l-gnav__portal-menu-link {
    border-bottom: 0;
  }

  .l-gnav__portal-menu-link:hover,
  .l-gnav__portal-menu-link:focus-visible {
    color: #222222;
    background-color: #f5f5f5;
    opacity: 1;
  }

  .l-gnav__portal-menu-link.is-current {
    font-weight: 800;
  }

  .l-gnav__portal-menu-link--seikatsu.is-current {
    background-color: #eef8ef;
  }

  .l-gnav__portal-menu-link--kotsu.is-current {
    background-color: #fff4e9;
  }

  .l-gnav__portal-menu-link--saigai.is-current {
    background-color: #fffce0;
  }
}
/* =========================================================
   大元ポータル：各サブポータルへのナビカラー
========================================================= */

.header--portal .l-gnav__link--seikatsu {
  color: #ffffff;
  background-color: #4caf50;
}

.header--portal .l-gnav__link--kotsu {
  color: #ffffff;
  background-color: #f2994a;
}

.header--portal .l-gnav__link--saigai {
  color: #333333;
  background-color: #ffe53b;
}

.header--portal .l-gnav__link--seikatsu:hover {
  color: #4caf50;
  background-color: #ffffff;
}

.header--portal .l-gnav__link--kotsu:hover {
  color: #f2994a;
  background-color: #ffffff;
}

.header--portal .l-gnav__link--saigai:hover {
  color: #333333;
  background-color: #ffffff;
}

@media screen and (max-width: 920px) and (min-width: 768px) {
  .header__inner {
    gap: 14px 20px;
  }

  .header__branding {
    gap: 18px;
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .header__logo-mext img,
  .header__portal-back img {
    max-width: 145px;
  }

  .header__logo-title img {
    max-width: 230px;
  }

  .header__tools {
    gap: 8px;
  }

  .header-language__button {
    padding-inline: 8px;
  }

  .c-searchBox {
    width: 150px;
  }

  .l-gnav__link {
    min-height: 58px;
    font-size: 12px;
  }
}

/* ==================================================================
   スマートフォンヘッダー・固定ドロワー
================================================================== */

body.is-drawer-open {
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .header__inner {
    display: block;
    padding: 12px 15px 0;
  }

  .header__branding {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
  }

  .header__logo-title {
    justify-content: start;
  }
  .header__logo-title img {
    width: 100%;
    max-width: 250px;
    max-height: 62px;
  }

  .header__portal-back-mobile {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .header__portal-back-mobile img {
    width: auto;
    max-width: 200px;
    height: 32px;
    object-fit: contain;
  }

  .header__utility {
    display: block;
    width: 100%;
    margin-top: 12px;
  }

  .header__tools {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .header-language__button {
    min-height: 40px;
    padding: 6px 10px;
  }

  .header-language__text {
    font-size: 12px;
  }

  .c-searchBox {
    width: 100%;
  }

  .c-searchBox__input,
  .c-searchBox__button {
    height: 40px;
  }

  .l-gnav__toggle {
    position: relative;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .l-gnav__toggle.is-open {
    position: fixed;
    top: 12px;
    right: 15px;
    width: 48px;
    height: 48px;
    border-radius: 5px;
  }

  .l-gnav__toggle-icon {
    position: relative;
    display: block;
    width: 28px;
    height: 20px;
  }

  .l-gnav__toggle-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background-color: #222222;
    transition:
      top 0.25s ease,
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .l-gnav__toggle-icon span:nth-child(1) {
    top: 0;
  }

  .l-gnav__toggle-icon span:nth-child(2) {
    top: 8px;
  }

  .l-gnav__toggle-icon span:nth-child(3) {
    top: 16px;
  }

  .l-gnav__toggle.is-open .l-gnav__toggle-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
  }

  .l-gnav__toggle.is-open .l-gnav__toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .l-gnav__toggle.is-open .l-gnav__toggle-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
  }

  .l-gnav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 1100;
    grid-column: auto;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: #ffffff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.16);
    visibility: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .l-gnav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .l-gnav__inner {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 90px 22px 60px;
  }

  .l-gnav__list,
  .l-gnav.is-open .l-gnav__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    border: 0;
    background-color: #ffffff;
  }

  .l-gnav__item,
  .l-gnav__item:first-child {
    flex: none;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
  }

  .l-gnav__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 74px;
    padding: 16px 38px;
    border-bottom: 0;
    color: #111111;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
  }

  .l-gnav__link:hover,
  .l-gnav__item.is-active .l-gnav__link,
  .site-saigai .l-gnav__link:hover {
    color: #111111;
    background-color: var(--theme-color);
    opacity: 1;
  }

  .l-gnav__link::after {
    display: none;
  }

  .l-gnav__link--external {
    min-height: 62px;
    color: #111111;
    background-color: #ffffff;
    font-size: 15px;
    font-weight: 500;
  }

  .l-gnav__link--external:hover {
    color: #111111;
    background-color: #f7f7f7!important;
  }

  .p-headerLinks {
    display: none;
  }
}


@media screen and (max-width: 767px) {

  .l-gnav__item--portal-select {
    width: 100%;
  }

  .l-gnav__portal-button {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 74px;
    align-items: center;
    justify-content: center;
    padding: 16px 38px;
    color: #111111;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }

  .l-gnav__portal-button:hover,
  .l-gnav__portal-button[aria-expanded="true"] {
    color: #111111;
    background-color: #f5f5f5;
    opacity: 1;
  }

  .l-gnav__portal-menu {
    position: static;
    width: 100%;
    margin: 0;
    padding: 8px 14px 14px;
    background-color: #f7f7f7;
    box-shadow: none;
  }

  .l-gnav__portal-menu[hidden] {
    display: none;
  }

  .l-gnav__portal-menu-item {
    width: 100%;
    border: 0;
  }

  .l-gnav__portal-menu-link {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #dddddd;
    color: #111111;
    background-color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
  }

  .l-gnav__portal-menu-item:last-child
    .l-gnav__portal-menu-link {
    border-bottom: 0;
  }

  .l-gnav__portal-menu-link:hover {
    color: #111111;
    background-color: #f1f1f1;
    opacity: 1;
  }

  .l-gnav__portal-menu-link.is-current {
    font-weight: 800;
  }

  .l-gnav__portal-menu-link--seikatsu.is-current {
    border-left: 5px solid #4caf50;
    background-color: #eef8ef;
  }

  .l-gnav__portal-menu-link--kotsu.is-current {
    border-left: 5px solid #f2994a;
    background-color: #fff4e9;
  }

  .l-gnav__portal-menu-link--saigai.is-current {
    border-left: 5px solid #ffe902;
    background-color: #fffce0;
  }
}
@media screen and (max-width: 420px) {
  .header-language__button {
    padding-inline: 8px;
  }

  .header-language__text {
    font-size: 11px;
  }
  section .flex {
    flex-direction: column;
  }
}
/* ==================================================================
   Main Visual
================================================================== */


.l-hero__image {
  width: 100%;
  max-width: var(--mv-width);
  margin-inline: auto;
  position: relative;
}
.l-hero__image img {
  width: 100%;
}

.l-hero__image.portal {
  max-height: 88%;
  overflow: hidden;
  background: linear-gradient(180deg, #F5FAFF 0%, #D6E6FC 100%); 
}
.l-hero__image.portal img {
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(1.14) saturate(0.98) contrast(1.08);
}
.l-hero__image.portal .home-hero__message p {
  text-shadow: 3px 3px 0 #fff, -3px 3px 0 #fff, 3px -3px 0 #fff, -3px -3px 0 #fff, 0 0 10px #fff, 0 4px 6px rgba(0,0,0,.3);
}
/* =========================================================
   生活安全：生命（いのち）の安全教育 キービジュアル
========================================================= */

.seikatsu-goal-hero {
  width: 100%;
  max-width: 1104px;
  min-height: 612px;
  margin-inline: auto;
  background-image:
    url("/img/seikatsu/mv-seikatsu-goal-bg-1104x612.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.seikatsu-goal-hero__inner {
  display: flex;
  min-height: 612px;
  flex-direction: column;
  align-items: center;
  padding: 100px 40px 80px;
}


.seikatsu-goal-hero__title {
  margin: 0;
  padding: 0;

  color: #173f50;
  background: transparent;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
}


.seikatsu-goal-hero__label {
  min-width: 200px;
  margin-top: 30px;
  padding: 9px 30px;

  border-radius: 9px;

  color: #ffffff;
  background-color: #7bb86c;

  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.4em;
  text-align: center;
  text-indent: 0.4em;
}

.seikatsu-goal-hero__text {
  margin-top: 24px;
  color: #444444;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.05em;
  text-align: center;
}
/* ==================================================================
   Main
================================================================== */
.main__inner {
  width: 100%;
  max-width: var(--container-width);
  padding: 80px 20px 100px;
  margin-inline: auto;
}
/* ==================================================================
   Components
================================================================== */
.circleArrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--color-text);
  border-radius: 50%;
}

.circleArrow svg {
  width: 12px;
  height: 12px;
}

.cardList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

.cardList > li {
  display: flex;
  min-width: 0;
  border-radius: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 4px solid var(--theme-color);
  border-radius: 1.5rem;
  background-color: var(--color-white);
}

.card__visual {
  display: flex;
  align-items: stretch;
}

.card__label {
  display: flex;
  flex: 0 0 30%;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.4rem;
  border-radius: 1.2rem 0 0;
  background-color: var(--theme-color);
  text-align: center;
}
.card__label {
  display: flex;
  flex: 0 0 30%;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.4rem;
  text-align: center;
}

/* ========================================
   多言語翻訳時：カードラベル調整
======================================== */

.card__label.is-translated {
  flex: 0 1 42%;
  min-width: 0;
  padding-inline: 12px;
}

.card__label.is-translated .card__label-text {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.15;
  font-size: 18px;
}

.card__label.is-translated.is-long-text .card__label-text {
  font-size: 18px;
}

.card__label-text {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--theme-text);
    display: block;
    width: 80px;
    line-height: 1.3;
}
.card__label-text.card__label-text-medium{
  font-size: 35px;
  width: 109px;
}
.card__label-text-small {
  font-size: 25px;
}

.card__thumb {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 1.2rem 0 0;
  background-color: var(--color-white);
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 0 0 1.5rem 1.5rem;
  background-color: var(--color-white);
}

.card__text {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}


.toplink {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
  padding-bottom: 6rem;
  color: #333333;
  font-size: 1.8rem;
  font-weight: 700;
}

.toplink span {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-green);
}

.toplink span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-style: solid;
  border-width: 9px 12px 9px 0;
  border-color: transparent var(--color-white) transparent transparent;
  content: "";
  transform: translate(calc(-50% - 2px), -50%);
}

.pagetop {
  position: fixed;
  bottom: 90px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 0;
}

.pagetop .wrapper {
  display: flex;
  justify-content: flex-end;
  max-width: none !important;
  margin-inline: auto;
  padding-inline: 2rem;
}

.pagetop .pagetop__link {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #333333;
  background-color: #bbecff;
  font-size: 1.4rem;
}

.pagetop .pagetop__link::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-style: solid;
  border-width: 0 9px 12px;
  border-color: transparent transparent var(--color-white);
  content: "";
  transform: translate(-50%, calc(-50% - 1px));
}
.c-discList {
  margin-top: 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.c-discList li {
  display: list-item;
  margin-top: 0.5rem;
}

.c-discList li:first-child {
  margin-top: 0;
}
@media screen and (max-width: 767px) {
  .seikatsu-goal-hero__title {
    font-size: 30px;
  }

}
@media screen and (max-width: 550px) {

  .seikatsu-goal-hero {
    min-height: 500px;
    background-size: cover;
    background-position: center;
  }

  .seikatsu-goal-hero__inner {
    min-height: 500px;
    padding: 70px 20px 60px;
  }

  .seikatsu-goal-hero__title {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  .seikatsu-goal-hero__label {
    min-width: 150px;
    margin-top: 15px;
    padding: 7px 10px;
    font-size: 16px;
  }

  .seikatsu-goal-hero__text {
    margin-top: 22px;

    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.02em;
  }

  .seikatsu-goal-hero__text .desktop {
    display: none;
  }
}

@media screen and (max-width: 460px) {
  .pagetop {
    bottom: 30px;
  }
  .pagetop .wrapper {
    padding-inline: 10px;
  }
.card__label.is-translated.is-long-text .card__label-text {
  font-size: 14px;
}
}

.home {
  background-color: #ffffff;
}

/* ==================================================================
   Portal
================================================================== */

.home .l-hero {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.home .l-hero__image {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.home .l-hero__image > img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero__message,
.home-hero__message.saigai {
  position: absolute;
  top: 8%;
  left: 50%;
  z-index: 1;
  width: min(92%, 1000px);
  transform: translateX(-50%);
  text-align: center;
}
.home-hero__message.seikatsu{
  top: 12%;
  text-align: left;
}
.home-hero__message.kotsu{
  top: 12%;
}
.home-hero__message.saigai{
  text-align: left;
}

.home-hero__message p {
  color: #000000;
  font-size: clamp(26px, 3.5vw, 50px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-shadow:
    2px 2px 0 #ffffff,
    -2px 2px 0 #ffffff,
    2px -2px 0 #ffffff,
    -2px -2px 0 #ffffff,
    0 3px 4px rgba(0, 0, 0, 0.25);
}
.home-hero__message.saigai p {
  font-size: clamp(24px, 3vw, 37px);
}
.home-hero__message.kotsu p {
  font-size: clamp(32px, 4vw, 54px);
}
.home-hero__message.seikatsu p {
  font-size: clamp(26px, 4vw, 43px);
}
.home-hero__message.is-translated p{
  font-size: 24px;
}
@media screen and (max-width: 550px) {
  .home-hero__message.seikatsu{
    top: 5%;
  }
  .home-hero__message.seikatsu p {
    font-size: clamp(18px, 3vw, 28px);
  }
}

.home-news-section {
  padding: 40px 20px 20px;
  background-color: #ffffff;
}

.home-news-section__inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 40px;
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
}

.home-news-section__heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 30px;
  border-right: 1px solid #777777;
}

.home-news-section__heading h2 {
  margin: 0;
  color: #222222;
  font-size: 24px;
  line-height: 1.4;
}

.home-news-section__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 5px 8px 5px 14px;
  border: 1px solid #777777;
  border-radius: 30px;
  color: #333333;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.home-news-section__more .circleArrow {
  width: 24px;
  height: 24px;
  border-width: 1px;
  background-color: #555555;
  color: #ffffff;
}

.home-news-section__content {
  min-width: 0;
}

.home-news-section .news-list {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.home-news-section .news-list__item {
  border-bottom: 0;
}

.home-news-section .news-list__link {
  grid-template-columns: 80px 110px minmax(0, 1fr);
  gap: 12px;
  min-height: auto;
  padding: 6px 0;
}

.home-news-section .news-list__date {
  color: #777777;
  font-size: 14px;
}

.home-news-section .news-list__category {
  min-height: 22px;
  padding: 2px 8px;
  color: #ffffff;
  font-size: 12px;
}


.home-news-section .news-list__title {
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* =========================================================
   Home - 3つのポータル入口
========================================================= */
.home-portals {
  padding: 80px 20px 34px;
  background-color: #ffffff;
}

.home-portals__inner {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
}

.home-portals__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 10px;
}

.home-portal-card {
  min-width: 0;
}

.home-portal-card__link {
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 2px solid transparent;
  border-radius: 16px;
  color: #222222;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-portal-card__link:hover {
  color: #222222;
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14);
}

.home-portal-card__link:focus-visible {
  outline: 3px solid #3f6fb0;
  outline-offset: 3px;
}

.home-portal-card__title {
  margin: 0;
  padding: 13px 16px;
  border: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.home-portal-card__visual {
  display: flex;
  height: 145px;
  align-items: center;
  justify-content: center;
  margin: 5px 5px 0;
  border-radius: 8px;
  background-color: #ffffff;
}

.home-portal-card__visual img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.home-portal-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.home-portal-card__name {
  margin: 0 0 10px;
  color: #222222;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.home-portal-card__text {
  margin: 0 0 14px;
  color: #333333;
  font-size: 15px;
  line-height: 1.7;
}

.home-portal-card__contents {
  margin: 0 0 18px;
  padding: 0;
}

.home-portal-card__contents li {
  position: relative;
  padding-left: 1.3em;
  color: #222222;
  font-size: 15px;
  line-height: 1.75;
}

.home-portal-card__contents li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "○";
}

.home-portal-card__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.home-portal-card__link:hover .home-portal-card__more {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-portal-card--seikatsu .home-portal-card__link {
  border-color: #4caf50;
  
}

.home-portal-card--seikatsu .home-portal-card__title {
  background-color: #4caf50;
}

.home-portal-card--seikatsu .home-portal-card__more {
  color: #2f7f35;
}

.home-portal-card--kotsu .home-portal-card__link {
  border-color: #f2994a;
  
}

.home-portal-card--kotsu .home-portal-card__title {
  background-color: #f2994a;
}

.home-portal-card--kotsu .home-portal-card__more {
  color: #c86413;
}

.home-portal-card--saigai .home-portal-card__link {
  border-color: #e5cd00;
  
}

.home-portal-card--saigai .home-portal-card__title {
  color: #333333;
  background-color: #ffe53b;
}

.home-portal-card--saigai .home-portal-card__more {
  color: #756200;
}

@media screen and (max-width: 920px) and (min-width: 768px) {
  .home-portals__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-portal-card--saigai {
    grid-column: 1 / -1;
  }

  .home-portal-card--saigai .home-portal-card__link {
    max-width: calc(50% - 10px);
    margin-inline: auto;
  }
}

@media screen and (max-width: 767px) {
  .home-portals {
    padding: 30px 15px 24px;
  }

  .home-portals__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-portal-card--saigai {
    grid-column: auto;
  }

  .home-portal-card--saigai .home-portal-card__link {
    max-width: none;
  }

  .home-portal-card__visual {
    height: 128px;
  }

  .home-portal-card__visual img {
    max-height: 104px;
  }

  .home-portal-card__title {
    font-size: 20px;
  }

  .home-portal-card__body {
    padding: 16px;
  }

  .home-portal-card__name {
    font-size: 18px;
  }

  .home-portal-card__text,
  .home-portal-card__contents li,
  .home-portal-card__more {
    font-size: 14px;
  }
}

/* =========================================================
   Home Pickup
========================================================= */

.home-pickup {
  margin: 80px 0 70px ;
  padding: 20px 24px 24px!important;
  background-color: #f1f8ff;
}

.home-pickup__heading {
  margin-bottom: 16px;
}

.home-pickup__heading h2 {
  font-size: 40px;
  font-weight: 900;
  margin: 0;
  padding: 0;
  color: #075aa5;
  background: transparent;
  position: relative;
  display: inline-block;
  padding: 0 55px;
}
.home-pickup__heading h2::before,
.home-pickup__heading h2::after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 2px;
  background-color: black;
}
.home-pickup__heading h2::before {
  left: 0;
}
.home-pickup__heading h2::after {
  right: 0;
}


.home-pickup__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}


.home-pickup-card {
  min-width: 0;
}

.home-pickup-card__inner {
  display: flex;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border-radius: 14px;
  color: #111111;
  background-color: #ffffff;
  text-decoration: none;
  border: 1px solid #075aa5;
  border-radius: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-pickup-card__inner:hover {
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}



.home-pickup-card__image {
  display: flex;
  height: 190px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f7;
}

.home-pickup-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.home-pickup-card__body {
  border-top: 1px solid #075aa5;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.home-pickup-card__title {
  margin: 0 0 8px;
  padding-left: 15px;
  color: #111111;
  background: transparent;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.home-pickup-card__text {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
}
.home-pickup-card__links{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-pickup-card__link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #075aa5;
  font-size: 14px;
  font-weight: 500;
}

.home-pickup-card__inner:hover .home-pickup-card__more {
  text-decoration: underline;
}


/* =========================================================
   Home Pickup SP
========================================================= */

@media screen and (max-width: 767px) {

  .home-pickup {
    margin-top: 24px;
    padding: 18px 14px 16px;
    border-radius: 12px;
  }

  .home-pickup__heading {
    margin-bottom: 14px;
  }

  .home-pickup__heading h2 {
    font-size: 18px;
  }

  .home-pickup__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-pickup-card__image {
    height: 180px;
  }

  .home-pickup-card__body {
    padding: 16px;
  }

  .home-pickup-card__title {
    font-size: 18px;
  }

  .home-pickup-card__text,
  .home-pickup-card__more {
    font-size: 15px;
  }

}


.home-contents {
  background-color: #ffffff;
}

.home-contents .main__inner {
  max-width: var(--container-width);
  padding: 0;
}

@media screen and (max-width: 900px) {
  .home-hero__message {
    top: 9%;
  }

  .home-hero__message p {
    font-size: clamp(23px, 4.5vw, 38px);
  }

  .home-news-section__inner {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 25px;
  }

  .home-news-section__heading {
    padding-right: 20px;
  }

  .home-news-section .news-list__link {
    grid-template-columns: 90px 80px minmax(0, 1fr);
    gap: 10px;
  }

  .home-card-list .card__label {
    min-width: 110px;
  }

  .home-card-list .card__label-text {
    font-size: 32px;
  }

  .home-card-list .card__text {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .home .l-hero__image {
    min-height: 280px;
  }

  .home .l-hero__image > img {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  .home-hero__message {
    top: 20px;
    width: calc(100% - 30px);
  }

  .home-hero__message.kotsu{
    top: 15%;
  }

  .home-hero__message p {
    font-size: clamp(20px, 6vw, 29px);
    line-height: 1.45;
    letter-spacing: 0.03em;
  }
  .home-news-section {
    padding: 30px 20px 10px;
  }

  .home-news-section__inner {
    display: block;
  }

  .home-news-section__heading {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-right: 0;
    padding-bottom: 15px;
    border-right: 0;
    border-bottom: 1px solid #777777;
  }

  .home-news-section__heading h2 {
    font-size: 22px;
  }

  .home-news-section__more {
    margin-top: 0;
  }

  .home-news-section__content {
    margin-top: 10px;
  }

  .home-news-section .news-list__link {
    grid-template-columns: auto 1fr;
    gap: 6px 10px;
    padding: 12px 0;
  }

  .home-news-section .news-list__date {
    grid-column: 1;
    grid-row: 1;
  }

  .home-news-section .news-list__category {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .home-news-section .news-list__title {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px;
  }

  .home-contents {
    padding: 40px 20px 70px;
  }

  .home-card-list {
    gap: 24px 16px;
  }

  .home-card-list .card__visual {
    min-height: 120px;
  }

  .home-card-list .card__label {
    min-width: 90px;
  }

  .home-card-list .card__label-text {
    font-size: 27px;
  }

  .home-card-list .card__thumb {
    min-height: 120px;
  }

  .home-card-list .card__thumb img {
    height: 120px;
  }

  .home-card-list .card__footer {
    min-height: 55px;
    padding: 10px 12px;
  }

  .home-card-list .card__text {
    font-size: 15px;
  }
}

@media screen and (max-width: 550px) {
  .home .l-hero__image {
    min-height: 250px;
  }

  .home-hero__message p {
    font-size: clamp(18px, 5.7vw, 25px);
  }
  .home-hero__message.saigai p,
  .home-hero__message.kotsu p {
    font-size: clamp(16px, 4vw, 24px);
  }
  .home-card-list {
    grid-template-columns: 1fr;
  }

  .home-card-list .card__visual {
    min-height: 135px;
  }

  .home-card-list .card__label {
    flex-basis: 32%;
    min-width: 105px;
  }

  .home-card-list .card__label-text {
    font-size: 34px;
  }

  .home-card-list .card__thumb {
    min-height: 135px;
  }

  .home-card-list .card__thumb img {
    height: 135px;
  }

  .home-card-list .card__text {
    font-size: 16px;
  }
  .home-slider .splide__arrow--next {
    right: -10px;
  }
  .home-slider .splide__arrow--prev{
    left: -10px;
  }
}
.home .page_title {
  padding: 2rem 2rem 0;
  background-color: var(--color-white);
}

.home #section01 {
  background-color: var(--color-white);
}

.home section .block_item h4 {
  background-color: #b3b3b3;
}

.home section .intro .link,
.home #anzen_portal_accessibility .block_item > div p a {
  color: #000000;
  text-decoration: underline;
}

.home #anzen_portal_accessibility .block_item > div h5 {
  border-left-color: #b3b3b3;
}

.home #anzen_portal_promotion_schools .flex {
  row-gap: 3rem;
}

.home #anzen_portal_promotion_schools .flex .bousai,
.home #anzen_portal_promotion_schools .flex .anzen {
  padding: 2rem;
}

.home #anzen_portal_promotion_schools .flex .bousai {
  background-color: #fffdbb;
}

.home #anzen_portal_promotion_schools .flex .anzen {
  background-color: #d2f2d3;
}

.home #anzen_portal_promotion_schools .flex h2 {
  font-size: 2rem;
}
/* ==================================================
   Accessibility table
================================================== */

#anzen_portal_accessibility .table {
  width: 100%;
  margin-top: 1rem;
  overflow-x: auto;
}

#anzen_portal_accessibility table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.5;
}

#anzen_portal_accessibility th,
#anzen_portal_accessibility td {
  padding: 0.625rem 0.75rem;
  border: 1px solid #d9d9d9;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

#anzen_portal_accessibility th {
  background-color: #eeeeee;
  font-weight: 700;
}

#anzen_portal_accessibility td {
  background-color: #ffffff;
}

#anzen_portal_accessibility .check {
  min-width: 46.875rem;
}

#anzen_portal_accessibility .check th:nth-child(1),
#anzen_portal_accessibility .check td:nth-child(1) {
  width: 8%;
}

#anzen_portal_accessibility .check th:nth-child(2),
#anzen_portal_accessibility .check td:nth-child(2) {
  width: 42%;
}

#anzen_portal_accessibility .check th:nth-child(3),
#anzen_portal_accessibility .check td:nth-child(3) {
  width: 10%;
}

#anzen_portal_accessibility .check th:nth-child(4),
#anzen_portal_accessibility .check td:nth-child(4),
#anzen_portal_accessibility .check th:nth-child(5),
#anzen_portal_accessibility .check td:nth-child(5) {
  width: 8%;
}

#anzen_portal_accessibility .check th:nth-child(6),
#anzen_portal_accessibility .check td:nth-child(6) {
  width: 24%;
}

@media (max-width: 767px) {
  #anzen_portal_accessibility .table {
    -webkit-overflow-scrolling: touch;
  }

  #anzen_portal_accessibility table {
    font-size: 0.8125rem;
  }

  #anzen_portal_accessibility th,
  #anzen_portal_accessibility td {
    padding: 0.5rem;
  }
}

#anzen_portal_program .program-item .flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

#anzen_portal_program .program-item .text_area {
  flex: 1 1 70%;
  min-width: 0;
}

#anzen_portal_program .program-item .image {
  flex: 0 1 30%;
}
.program-item {
  padding: 20px;
  border: 1px solid var(--theme-color);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.6);

}
/* ==================================================
   お知らせ一覧
================================================== */

.news-list {
  max-width: 58.75rem;
  margin: 0 auto;
  border: 1px solid #b7b7b7;
  border-radius: 0.25rem;
  background-color: #ffffff;
  padding: 0 2.5rem;
}

.news-list__item {
  border-bottom: 1px solid #c7c7c7;
}

.news-list__item:last-child {
  border-bottom: 0;
}

.news-list__link {
  display: grid;
  grid-template-columns: 80px 110px 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 6.5rem;
  padding: 1.25rem 0;
}

.news-list__link:hover .news-list__title {
  text-decoration: none;
}

.news-list__date {
  color: #666666;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.news-list__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.875rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.news-list__category--portal {
  background-color: #3f6fb0;
  color: #ffffff;
}

.news-list__category--seikatsu {
  background-color: #4caf50;
  color: #ffffff;
}

.news-list__category--kotsu {
  background-color: #f2994a;
  color: #ffffff;
}

.news-list__category--saigai {
  background-color:#FFD65A;
  color: #222222!important;
}

.news-list__title {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.news-list__link--disabled .news-list__title {
  text-decoration: none;
}

@media (max-width: 767px) {
  .news-list {
    padding: 0 1rem;
  }

  .news-list__link {
    grid-template-columns: auto 1fr;
    gap: 0.5rem 0.75rem;
    min-height: auto;
    padding: 1.25rem 0;
  }

  .news-list__date {
    grid-column: 1;
    grid-row: 1;
  }

  .news-list__category {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .news-list__title {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.9375rem;
  }
}

/* ==================================================================
   Page - 安全教育推進校
================================================================== */
#anzen_portal_promotion_schools .page-anchor {
  margin-top: 3rem;
}

#anzen_portal_promotion_schools .page-anchor__list {
  display: flex;
  justify-content: center;
}

#anzen_portal_promotion_schools .page-anchor__item {
  width: min(100%, 400px);
}

#anzen_portal_promotion_schools .page-anchor__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 10px 40px 10px 20px;
  border: 1px solid #707070;
  border-radius: 0.8rem;
  background-color: #ffffff;
  color: #333333;
  font-size: 16px;
  font-weight: 700;
  max-width: 400px;
  width: 100%;
}

#anzen_portal_promotion_schools .page-anchor__link::after {
  position: absolute;
  top: 50%;
  right: 1.6rem;
  width: 0.8rem;
  height: 0.8rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}


#anzen_portal_promotion_schools .table-scroll {
  width: 100%;
  margin-top: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#anzen_portal_promotion_schools .table-scroll:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
}

#anzen_portal_promotion_schools .promotion-schools-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background-color: #ffffff;
}

#anzen_portal_promotion_schools .promotion-schools-table th,
#anzen_portal_promotion_schools .promotion-schools-table td {
  padding: 12px 14px;
  border: 1px solid #aaaaaa;
  text-align: left;
  vertical-align: middle;
  font-size: 16px;
}

#anzen_portal_promotion_schools .promotion-schools-table thead th {
  background-color: #eeeeee;
  font-weight: 700;
  text-align: center;
}

#anzen_portal_promotion_schools .promotion-schools-table tbody th {
  background-color: #f7f7f7;
  font-weight: 700;
  text-align: center;
}

#anzen_portal_promotion_schools .promotion-schools-table a {
  color: var(--theme-color);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media screen and (max-width: 768px) {
  #anzen_portal_promotion_schools .page-anchor {
    margin-top: 2rem;
  }

  #anzen_portal_promotion_schools .page-anchor__link {
    min-height: 5rem;
    font-size: 1.5rem;
  }


  #anzen_portal_promotion_schools .promotion-schools-table th,
  #anzen_portal_promotion_schools .promotion-schools-table td {
    padding: 12px;
  }
}
/* ==================================================================
   Page - 安全教育の教材・指導資料
================================================================== */
.teaching-materials .materials-menu {
  margin-top: 3rem;
}

.teaching-materials .materials-menu__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.teaching-materials .materials-menu__list > li {
  display: flex;
}

.teaching-materials .materials-menu__list .menu {
  max-width: none;
}

.teaching-materials .movies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.teaching-materials .movies .movies_link{
  display: block;
  width: 100%;
  padding: 10px 10px 18px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #707070;
}
.teaching-materials .movies .movies_link .title{
  font-size:16px;
  line-height: 1.1875;
  font-weight: 700;
  color: #333;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}
.teaching-materials .movies .movies_link .title span{
  font-size: 14px;
  color: #777;
  margin-top: 12px;
}
.teaching-materials #section03 .flex {
  margin-top: 0;
}

.teaching-materials #section03 .flex .item img {
  margin-top: 0.5rem;
}

.teaching-materials #section03 .block {
  margin-top: 2rem;
}

.materials-pdf__description {
  margin-top: 16px;
}

.materials-pdf__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 46%);
  align-items: center;
  gap: 50px;
  margin-top: 30px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.6);
}

.materials-pdf__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.materials-pdf__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100px;
  padding: 10px 15px;
  overflow: hidden;
  border: 1px solid #707070;
  border-radius: 14px;
  background-image: linear-gradient(
    to right,
    #ffffff calc(100% - 22px),
    #fffdbb 0
  );
}

.materials-pdf__icon {
  flex: 0 0 58px;
  margin-right: 20px;
}

.materials-pdf__icon img {
  width: 58px;
  max-height: 64px;
  object-fit: contain;
}

.materials-pdf__content {
  display: block;
  min-width: 0;
}

.materials-pdf__title {
  display: inline;
  color: #222222;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.materials-pdf__text {
  display: inline;
  margin-left: 14px;
  color: #777777;
  font-size: 15px;
  font-weight: 700;
}

.materials-pdf__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.materials-pdf__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid #e7402f;
  border-radius: 20px;
  color: #e7402f;
  background-color: #ffffff;
  font-size: 14px;
  line-height: 1;
}

.materials-pdf__filesize {
  color: #333333;
  font-size: 14px;
}

.materials-pdf__arrow {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #333333;
  transform: translateY(-50%);
}

.materials-pdf__preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.materials-pdf__preview img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.materials-pdf__link:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  .materials-pdf__box {
    grid-template-columns: 1fr;
    gap: 30px;
    padding:0;
  }

  .materials-pdf__preview {
    order: -1;
  }

  .materials-pdf__preview img {
    max-width: 500px;
  }

  .materials-pdf__link {
    min-height: 86px;
    padding: 14px 40px 14px 16px;
  }

  .materials-pdf__icon {
    flex-basis: 48px;
    margin-right: 14px;
  }

  .materials-pdf__icon img {
    width: 48px;
    max-height: 54px;
  }

  .materials-pdf__title {
    font-size: 15px;
  }

  .materials-pdf__text {
    display: block;
    margin-left: 0;
    font-size: 13px;
  }

  .materials-pdf__tag,
  .materials-pdf__filesize {
    font-size: 14px;
  }
  .teaching-materials .movies {
    gap: 10px;
  }
}
@media screen and (max-width: 550px) {
  .teaching-materials .movies {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.evacuation-training {
  padding-inline: 0;
}

.evacuation-training__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.evacuation-training__group h3 {
  margin-bottom: 16px;
}

.evacuation-training__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.evacuation-training__list .menu {
  display: flex;
  max-width: none;
  min-height: 86px;
  gap: 10px;
}

 .pdf.inochinoanzenkyouiku{
  display: flex;
  flex-direction: column;
  align-items: center;
 }
 .pdf-wrap{
  display: flex;
  gap: 20px;
 }
 .pdf-wrap.colum{
  flex-direction: column;
  gap: 0;
  font-size: 14px;
 }
.pdf-category {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.pdf-category.inochinoanzenkyouiku {
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pdf-category span {
  color: #777777;

}

.evacuation-training__number {
  flex: 0 0 50px;
  color:#333333;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}
.evacuation-training__number .small-number {
  font-size: 18px;
}
.evacuation-training__number--all{
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 768px) {
  .evacuation-training__groups {
    grid-template-columns: 1fr;
  }

}
@media screen and (max-width: 550px) {
  .pdf-category {
    font-size: 15px;
  }
  .evacuation-training__number {
    font-size: 20px;
  }
}
    
/* ==================================================================
   Page - 教材・資料を探す先生へ
   teaching_materials.blade.php 内の統合コンテンツ
================================================================== */
.teacher-resources {
  margin-top: 70px;
  padding: 0;
  background-color: #ffffff;
}

.teacher-resources__title {
  margin-bottom: 30px;
}


.teacher-resources-nav__link {
  min-height: 110px;
}

.teacher-resources-nav__link .lightblue-link-card__image {
  flex: 0 0 58px;
}

.teacher-resources-nav__link .lightblue-link-card__image img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.teacher-resources-nav__link .lightblue-link-card__body {
  justify-content: center;
}

.teacher-resources-nav__link .lightblue-link-card__title {
  font-size: 16px;
  line-height: 1.5;
}

.teacher-resources__section {
  padding: 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.teacher-resources__section + .teacher-resources__section {
  margin-top: 60px;
}

.teacher-resources__section-title {
  margin: 0 0 22px;
  padding: 10px 14px;
  border: 0;
  color: var(--color-text);
  background-color: var(--theme-color);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.teacher-resources__section > p {
  margin-top: 14px;
  color: #222222;
  font-size: 16px;
  line-height: 1.9;
}

.teacher-resources-card-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.teacher-resources-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.teacher-resources-card-grid .lightblue-link-card {
  height: 100%;
}

.teacher-resources-card-grid .lightblue-link-card--vertical {
  height: 100%;
}

.teacher-resources-card-grid
  .lightblue-link-card__image--cover img {
  width: 100%;
  height: 240px;
  object-fit: contain;
}
  .lightblue-link-card__image--cover.right__img {
  width: 20%;
  height: fit-content;
  align-items: center;
}

.teacher-resources-material-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.teacher-resources-material-index > li {
  display: flex;
  min-width: 0;
}

.teacher-resources-material-index .lightblue-link-card {
  width: 100%;
}

.teacher-resources-material-index
  .lightblue-link-card--horizontal {
  min-height: 78px;
}

.teacher-resources-material-index
  .lightblue-link-card__body {
  justify-content: center;
}

.teacher-resources-material-index
  .lightblue-link-card__title {
  font-size: 15px;
  line-height: 1.55;
}


.teacher-material-detail {
  margin-top: 30px;
  padding: 0 18px 18px;
  border: 1px solid #c7c7c7;
  background-color: #ffffff;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.teacher-material-detail > h4 {
  margin: 0 -18px 18px;
  padding: 9px 14px;
  color: #ffffff;
  background-color: #ff8b50;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.teacher-material-detail > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}

.teacher-material-detail > ul > li {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  color: #222222;
  font-size: 15px;
  line-height: 1.8;
}

.teacher-material-detail > ul > li.col2 {
  grid-column: 1 / -1;
}

.teacher-material-detail > ul > li > span:first-child {
  display: block;
  margin: -12px -12px 10px;
  padding: 6px 10px;
  color: #222222;
  background-color: #fffac8;
  font-size: 14px;
  font-weight: 700;
}

.teacher-material-detail .image {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.teacher-material-detail .image > span {
  flex: 0 0 calc(100% + 24px);
}

.teacher-material-detail .image img {
  width: auto;
  max-width: min(210px, 100%);
  max-height: 150px;
  object-fit: contain;
}

.teacher-material-detail ul ul {
  margin-top: 10px;
  padding-left: 1.5em;
  list-style: disc;
}

.teacher-material-detail a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.teacher-resources__section > h4 {
  margin: 30px 0 12px;
  padding: 8px 12px;
  border-left: 5px solid #ff8b50;
  color: #222222;
  background-color: #fff7ef;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}


.teacher-resources__section > ul li {
  margin-top: 7px;
  color: #222222;
  font-size: 15px;
  line-height: 1.8;
}
.teacher-partners-detail {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid #c7c7c7;
  background-color: #ffffff;
}

.teacher-partners-detail h4 {
  margin: 30px 0 12px;
  padding: 8px 12px;
  color: #222222;
  background-color: #fffac8;
  font-size: 18px;
  font-weight: 700;
}

.teacher-partners-detail h4:first-child {
  margin-top: 0;
}

.teacher-partners-detail p,
.teacher-partners-detail li {
  color: #222222;
  font-size: 15px;
  line-height: 1.8;
}

.teacher-partners-detail ul {
  margin-top: 10px;
  padding-left: 1.5em;
  list-style: disc;
}

.teacher-partners-detail a,
.teacher-resources__section > ul a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media screen and (max-width: 767px) {
  .teacher-resources {
    margin-top: 50px;
  }

  .teacher-resources-nav__list,
  .teacher-resources-card-grid--two,
  .teacher-resources-material-index {
    grid-template-columns: 1fr;
  }

  .teacher-resources-nav__link {
    min-height: 90px;
  }

  .teacher-resources-nav__link .lightblue-link-card__image {
    flex-basis: 48px;
  }

  .teacher-resources-nav__link .lightblue-link-card__image img {
    width: 48px;
    height: 48px;
  }

  .teacher-resources__section + .teacher-resources__section {
    margin-top: 45px;
  }

  .teacher-resources__section-title {
    font-size: 19px;
  }

  .teacher-resources-card-grid
    .lightblue-link-card__image--cover img {
    height: auto;
    max-height: 300px;
  }

  .teacher-material-detail > ul {
    grid-template-columns: 1fr;
  }

  .teacher-material-detail > ul > li,
  .teacher-material-detail > ul > li.col2 {
    grid-column: 1;
  }

  .teacher-partners-detail {
    padding: 16px;
  }
  .teacher-resources-card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 550px) {
  .teacher-resources-card-grid--three {
    grid-template-columns: 1fr;
  }
  .teacher-resources-nav__list {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
/* ==================================================================
   教材・資料を探す先生へ：カード表示調整
================================================================== */

/* ==========================================================
   教材・資料を探す先生へ
   上部3つのページ内リンク
========================================================== */

.teacher-resources-nav {
  margin-bottom: 50px;
}

.teacher-resources-nav__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.teacher-resources-nav__list > li {
  display: flex;
  min-width: 0;
}

.teacher-resources-nav__list .lightblue-link-card {
  width: 100%;
  height: 100%;
}

.teacher-resources-nav__link.lightblue-link-card--horizontal {
  display: flex;
  align-items: center;
  gap: 18px;

  min-height: 118px;
  padding: 18px 28px 18px 20px;
}

.teacher-resources-nav__link .lightblue-link-card__image {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 72px;
  width: 72px;
  height: 72px;
}

.teacher-resources-nav__link .lightblue-link-card__image img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.teacher-resources-nav__link .lightblue-link-card__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.teacher-resources-nav__link .lightblue-link-card__title {
  width: 100%;

  color: #222;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;

  text-align: center;
  text-decoration: none;
}


/* ==========================================================
   SP
========================================================== */

@media screen and (max-width: 767px) {

  .teacher-resources-nav__list {
    grid-template-columns: 1fr;
  }

  .teacher-resources-nav__link.lightblue-link-card--horizontal {
    gap: 14px;
    min-height: 92px;
    padding: 14px 18px;
  }

  .teacher-resources-nav__link .lightblue-link-card__image {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
  }

  .teacher-resources-nav__link .lightblue-link-card__image img {
    width: 48px;
    height: 48px;
  }

  .teacher-resources-nav__link .lightblue-link-card__title {
    font-size: 16px;
  }
}


.teacher-resources-material-index
  .lightblue-link-card--horizontal {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 12px 36px 12px 16px;
}


.teacher-resources-material-index
  .lightblue-link-card__body {
  display: block;
  width: 100%;
  min-width: 0;
}


.teacher-resources-material-index
  .lightblue-link-card__title {
  display: block;
  width: 100%;
  color: #222222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}


.teacher-resources-material-index
  .lightblue-link-card__arrow {
  right: -13px;
}

@media screen and (max-width: 767px) {
  .teacher-resources-nav__link.lightblue-link-card--horizontal {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    min-height: 92px;
    padding: 14px 20px;
  }

  .teacher-resources-nav__link .lightblue-link-card__image {
    width: 56px;
    height: 56px;
  }

  .teacher-resources-nav__link .lightblue-link-card__image img {
    width: 50px;
    height: 50px;
  }

  .teacher-resources-nav__link .lightblue-link-card__title {
    font-size: 16px;
  }

  .teacher-resources-material-index
    .lightblue-link-card--horizontal {
    min-height: 64px;
    padding: 10px 34px 10px 14px;
  }

  .teacher-resources-material-index
    .lightblue-link-card__title {
    font-size: 15px;
  }
}

/* ==================================================================
   実例検索
================================================================== */

#jitsureikensaku_search section.result,
#jitsureikensaku_search section.item-group {
  padding: 0;
}

#jitsureikensaku_search section.result:last-of-type,
#jitsureikensaku_search section.item-group:last-of-type {
  padding-bottom: 0;
}

#jitsureikensaku_search .result-title {
  margin: 0;
  border: 0;
  font-weight: 700;
  line-height: 1.4;
}

#jitsureikensaku_search .item-group__heading {
  display: flex;
  align-items: center;
  height: 52px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

#jitsureikensaku_search
  .item-group__heading--seikatsu {
  color: #ffffff;
  background-color: #4caf50;
}

#jitsureikensaku_search
  .item-group__heading--kotsu {
  color: #ffffff;
  background-color: #f2994a;
}

#jitsureikensaku_search
  .item-group__heading--saigai {
  color: #333333;
  background-color: #ffe902;
}

#jitsureikensaku_search
  .item-group__heading--hinan {
  color: #ffffff;
  background-color: #e899c2;
}

#jitsureikensaku_search form {
  padding: 30px 0 0;
}
#jitsureikensaku_search form .inner {
  background-color: #f3f3f3;
  border-radius: 10px;
  margin: auto;
  padding: 20px 20px;
}
#jitsureikensaku_search form .flex {
  display: flex;
  align-items: center;
  justify-content: center;
  row-gap: 10px;
  column-gap: 20px;
}
#jitsureikensaku_search form .flex p {
  color: #7a7a7a;
  font-size: 16px;
  font-weight: 700;
}
#jitsureikensaku_search form .flex select {
  color: #333333;
  padding: 0 10px;
  width: 200px;
  height: 48px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  outline: none;
}
#jitsureikensaku_search form .flex select.selected {
  border: 1px solid #0e9513;
}
#jitsureikensaku_search form .flex:not(:last-child) {
  margin-bottom: 20px;
}
#jitsureikensaku_search form .flex .input-group input[type=radio] {
  display: none;
}
#jitsureikensaku_search form .flex .input-group label {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 88px;
  min-height: 30px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #e6e6e6;
  border-radius: 15px;
}
#jitsureikensaku_search form .flex .input-group label.selected {
  color: #0e9513;
  border-color: #0e9513;
}
#jitsureikensaku_search form .input-button {
  text-align: center;
}
#jitsureikensaku_search form .input-button button {
  position: relative;
  background: none;
  border: 0;
  padding-left: 20px;
  color: #333333;
  width: 160px;
  height: 40px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  border: 1px solid #333333;
  border-radius: 20px;
}
#jitsureikensaku_search form .input-button button::after {
  content: "";
  position: absolute;
  top: 4.5px;
  right: 5px;
  height: 30px;
  width: 30px;
  background-image: url("/img/icon/search.png");
  background-repeat: no-repeat;
  background-size: 100%;
}
#jitsureikensaku_search .result {
  margin: auto;
  margin-top: 40px;
  
}
#jitsureikensaku_search .result .inner {
  max-width: 1028px;
  margin: 0 auto;
}
#jitsureikensaku_search .result-title {
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: #fff;
  height: 52px;
  font-size: 24px;
  background-color: #ff8e50;
  border-radius: 4px;
}
#jitsureikensaku_search .result .table {
  overflow: auto;
}
#jitsureikensaku_search .result .table .wrapper {
  position: relative;
  z-index: 0;
  width: 100%;
  min-width: 980px;
}
#jitsureikensaku_search .result .table .wrapper::after {
  content: "";
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: #fff;
  border: 1px solid #aaaaaa;
}
#jitsureikensaku_search .result .table table {
  width: 100%;
  border-collapse: collapse;
}
#jitsureikensaku_search .result .table table tr:nth-child(2) td {
  padding-top: 20px;
}
#jitsureikensaku_search .result .table table tr:last-child td {
  padding-bottom: 20px;
}
#jitsureikensaku_search .result .table table th {
  padding: 20px 0;
  color: #7a7a7a;
  font-size: 12px;
}
#jitsureikensaku_search .result .table table th:nth-child(4) {
  padding-left: 20px;
  text-align: left;
}
#jitsureikensaku_search .result .table table td {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
}
#jitsureikensaku_search .result .table table td a {
  position: relative;
  padding-left: 1em;
  color: #ff8e50;
  text-decoration: underline;
}
#jitsureikensaku_search .result .table table td a::before {
  position: absolute;
  content: "・";
  left: 0;
  color: #000;
}
#jitsureikensaku_search .result .table table td.id, #jitsureikensaku_search .result .table table td.shu, #jitsureikensaku_search .result .table table td.school {
  text-align: center;
}
#jitsureikensaku_search .result .empty {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
#jitsureikensaku_search .anchors {
  margin-top: 20px;
}
#jitsureikensaku_search .anchors ul {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  margin: auto;
  max-width: 660px;
}
#jitsureikensaku_search .anchors ul li {
  width: 22%;
}
#jitsureikensaku_search .anchors a {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 1em;
  color: #333333;
  width: 100%;
  height: 40px;
  font-size: 16px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #707070;
  overflow: hidden;
}
#jitsureikensaku_search .anchors a::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 15px;
  background-color: #fffdbb;
}
#jitsureikensaku_search .anchors a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 4px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #333;
}

#jitsureikensaku_search ul.item-list {
  margin: auto;
  margin-top: 20px;
}
#jitsureikensaku_search ul.item-list li:not(:last-child) {
  margin-bottom: 20px;
}
#jitsureikensaku_search ul.item-list .shu {
  flex: 0 0 auto;
  width: 50px;
}
#jitsureikensaku_search ul.item-list .school {
  flex: 0 0 auto;
  width: 130px;
}
#jitsureikensaku_search ul.item-list .grade {
  width: 130px;
}
#jitsureikensaku_search ul.item-list a {
  position: relative;
  display: flex;
  align-items: center;
  column-gap: 40px;
  padding: 20px 60px 20px 20px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #707070;
  overflow: hidden;
  flex-wrap: wrap;
}
#jitsureikensaku_search ul.item-list a > div {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
html.is-translated #jitsureikensaku_search .item-list a > div {
  white-space: normal;
  min-width: 0;
}

html.is-translated #jitsureikensaku_search .item-list a span {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
}
#jitsureikensaku_search ul.item-list a span:first-child {
  color: #7a7a7a;
  font-size: 12px;
  font-weight: 700;
}
#jitsureikensaku_search ul.item-list a span:last-child {
  color: #333333;
  font-size: 15px;
  font-weight: 700;
}
#jitsureikensaku_search ul.item-list a::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 15px;
  background-color: #fffdbb;
}
#jitsureikensaku_search ul.item-list a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 4px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #333;
}

#jitsureikensaku_search .all-items {
  margin-top: 30px;
  padding: 20px 10px 40px;
  font-size: 16px;
  background-color: #fff;
  border: 1px solid #aaaaaa;
}
#jitsureikensaku_search .all-items .item-group:not(:last-child) {
  margin-bottom: 40px;
}

------------------------------------------------------------------ */
.life-safety-education {
  padding-inline: 0;
}

.life-safety-education__contents {
  margin-top: 30px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.6);
}

.life-safety-education__item {
  padding: 0;
}

.life-safety-education__item + .life-safety-education__item {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #cccccc;
}

.life-safety-education__item:last-of-type {
  padding-bottom: 0;
}

.life-safety-education__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  align-items: start;
  gap: 40px;
  margin-top: 20px;
}

.life-safety-education__points {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: life-safety-point;
}

.life-safety-education__points li {
  position: relative;
  padding: 8px 0 8px 42px;
  font-weight: 700;
  counter-increment: life-safety-point;
}

.life-safety-education__points li::before {
  position: absolute;
  top: 7px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--theme-text);
  background-color: var(--theme-color);
  content: counter(life-safety-point);
  font-size: 14px;
  font-weight: 700;
}

.life-safety-education__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.life-safety-education__links .menu {
  max-width: none;
}

.life-safety-education__image {
  display: block;
}

.life-safety-education__image img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.life-safety-education__flyers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 20px;
}

.life-safety-education__flyer h4 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.life-safety-education__flyer-image {
  display: block;
}

.life-safety-education__flyer-image img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

@media screen and (max-width: 768px) {


  .life-safety-education__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .life-safety-education__image {
    order: -1;
  }

  .life-safety-education__image img {
    max-width: 500px;
    margin-inline: auto;
  }

  .life-safety-education__flyers {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .life-safety-education__flyer-image img {
    max-width: 500px;
    margin-inline: auto;
  }
}

.bicycle-safety-initiative {
  padding-inline: 0;
}

.bicycle-safety-initiative__contents {
  margin-top: 30px;
}

.bicycle-safety-initiative__item + .bicycle-safety-initiative__item {
  margin-top: 40px;
}

.bicycle-safety-initiative__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 34%);
  align-items: start;
  gap: 40px;
  margin-top: 50px;
}

.bicycle-safety-initiative__detail + .bicycle-safety-initiative__detail {
  margin-top: 24px;
}

.bicycle-safety-initiative__detail h4 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.bicycle-safety-initiative__detail h4:before{
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--theme-color);
  margin-right: 5px;
}

.bicycle-safety-initiative__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.bicycle-safety-initiative__image {
  display: block;
}

.bicycle-safety-initiative__image img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
}
.flex-shrink-0{
  flex-shrink: 0;
  max-width: 300px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


@media screen and (max-width: 768px) {
  .bicycle-safety-initiative__item {
    padding: 0;
  }

  .bicycle-safety-initiative__row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }

  .bicycle-safety-initiative__image {
    order: -1;
  }

  .bicycle-safety-initiative__image img {
    max-width: 500px;
    margin-inline: auto;
  }
  .bicycle-safety-initiative__item + .bicycle-safety-initiative__item{
    margin-top: 15px;
  }
}
@media (max-width: 420px) {
  .flex-shrink-0{
    max-width: 100%;
  }
}

.message{
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
@media (max-width: 420px) {
  .message{
    font-size: 20px;
  }
}

.saigai__inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 80px auto ;
  padding-inline: 20px;
}

.shinsai100-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 50px;
  padding: 0;
}

.shinsai100-intro__text p {
  margin-top: 18px;
  color: #222222;
  font-size: 18px;
  line-height: 1.9;
}

.shinsai100-intro__text p:first-child {
  margin-top: 0;
}

.shinsai100-intro__media video {
  display: block;
  width: 100%;
  height: auto;
}


.shinsai100-materials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 65px;
  padding: 0;
}

.shinsai100-material__heading {
  margin: 0 0 10px;
  padding: 10px 14px;
  border: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.shinsai100-material__heading--elementary {
  background-color: #209344;
}

.shinsai100-material__heading--secondary {
  background-color: #1461a8;
}

.shinsai100-card {
  position: relative;
  display: flex;
  height: calc(100% - 58px);
  flex-direction: column;
  padding: 10px 24px 12px 10px;
  overflow: hidden;
  border: 1px solid #666666;
  border-radius: 10px;
  color: #222222;
  background-color: #ffffff;
}

.shinsai100-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 100%;
  background-color: #bbecfc;
  content: "";
}

.shinsai100-card::after {
  position: absolute;
  top: 50%;
  right: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #ffffff;
  content: "";
  transform: translateY(-50%);
}

.shinsai100-card:hover {
  opacity: 1;
}

.shinsai100-card:hover::before {
  background-color: #ff8e50;
}

.shinsai100-card img {
  width: 100%;
  height: auto;
}

.shinsai100-card p {
  margin-top: 12px;
  color: #222222;
  font-size: 17px;
  line-height: 1.6;
}


.shinsai100-links {
  margin-top: 65px;
  padding: 0;
}

.shinsai100-links__heading {
  margin: 0 0 20px;
  padding: 4px 0 4px 12px;
  border-left: 5px solid #ff8e50;
  color: #222222;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.shinsai100-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shinsai100-links li {
  position: relative;
  padding-left: 20px;
}

.shinsai100-links li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #ff8e50;
  content: "▼";
}

.shinsai100-links a {
  color: #e96f32;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.shogaku-note {
  background-color: #ffffff;
}

.shogaku-note .page_title h1 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.shogaku-note__character {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.shogaku-note ruby {
  ruby-align: center;
}

.shogaku-note rt {
  font-size: 0.5em;
}

.shogaku-note__section {
  padding-top: 35px;
}

.shogaku-note__grade-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.shogaku-note__grade {
  min-width: 0;
}

.shogaku-note__grade-title {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
  min-height: 72px;
  margin: 0 0 24px;
  padding: 10px 18px;
  border: 0;
  border-radius: 3px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.shogaku-note__grade-number {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.shogaku-note__grade-title ruby {
  line-height: 1.1;
}

.shogaku-note__grade-title rt {
  font-size: 12px;
}

.shogaku-note__grade--lower .shogaku-note__grade-title {
  background-color: #25a461;
}

.shogaku-note__grade--middle .shogaku-note__grade-title {
  background-color: #f1654e;
}

.shogaku-note__grade--upper .shogaku-note__grade-title {
  background-color: #824892;
}

/* ==================================================================
   Component - 右側水色リンクカード
================================================================== */

.lightblue-link-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightblue-link-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 2px solid #666666;
  border-radius: 10px;
  color: #333333;
  background-color: #ffffff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.lightblue-link-card a{
  width: 100%;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  color: #333;
  border-right: solid 16px #bbecff;
  position: relative;
}


.lightblue-link-card:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
}

.lightblue-link-card:focus-visible {
  outline: 3px solid var(--theme-color);
  outline-offset: 3px;
}


.lightblue-link-card__arrow {
  position: absolute;
  top: 50%;
  right: -13px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  transform: translateY(-50%);
}

.lightblue-link-card--horizontal {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 120px;
  padding: 12px 20px 12px 12px;
}

.lightblue-link-card--vertical {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 18px 20px 16px;
}

.lightblue-link-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.lightblue-link-card__image img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.lightblue-link-card__mian-image {
  width: 100%;
  margin-bottom: 18px;
}

.lightblue-link-card__mian-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.lightblue-link-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.lightblue-link-card__body.left__body {
  width: 80%;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.lightblue-link-card--vertical .lightblue-link-card__body {
  flex: 1;
  width: 100%;
}

.lightblue-link-card__title {
  color: #222222;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.lightblue-link-card__subtitle {
  display: block;
  margin-top: 2px;
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.lightblue-link-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}

.lightblue-link-card--vertical .lightblue-link-card__meta {
  margin-top: auto;
  padding-top: 10px;
}

.lightblue-link-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 23px;
  padding: 0 8px;
  border: 2px solid #ff6c61;
  border-radius: 20px;
  color: #ff5f55;
  background-color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.lightblue-link-card__size {
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.lightblue-link-card--text-heavy {
  min-height: 290px;
}

.lightblue-link-card--text-heavy > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  align-items: start;
  gap: 18px;
}

.lightblue-link-card--text-heavy
  .lightblue-link-card__body {
  min-width: 0;
}

.lightblue-link-card--text-heavy
  .lightblue-link-card__image {
  align-self: start;
}

.lightblue-link-card--text-heavy
  .lightblue-link-card__image img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

.lightblue-link-card__description {
  margin-top: 10px;
  color: #222222;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.lightblue-link-card__note {
  margin-top: 10px;
  color: #333333;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.shogaku-note__archive {
  padding-top: 55px;
  padding-bottom: 60px;
}

.shogaku-note__archive .program-link-list {
  max-width: 760px;
  margin-top: 25px;
}

.shogaku-note__archive .program-link-list .menu {
  max-width: none;
  min-height: 80px;
  padding: 14px 44px 14px 18px;
  background-image: linear-gradient(
    to right,
    #ffffff calc(100% - 22px),
    #fff9bf 0
  );
}

.shogaku-note__archive .program-link-list .wrap {
  display: block;
  width: 100%;
}

.shogaku-note__archive .program-link-list .category {
  display: block;
  color: #222222;
  font-size: 16px;
  line-height: 1.6;
}

.shogaku-note__archive .program-link-list .pdf {
  margin-top: 8px;
}

.shogaku-note__archive .program-link-list .tag {
  min-width: 60px;
}

@media screen and (max-width: 900px) {
  .shogaku-note__grade-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .shogaku-note__grade-title {
    min-height: 62px;
  }


  .lightblue-link-card--vertical {
    min-height: 290px;
  }

}


@media screen and (max-width: 767px) {
  .shinsai100-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .shinsai100-intro__text p {
    font-size: 16px;
    line-height: 1.8;
  }

  .shinsai100-materials {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 45px;
  }

  .shinsai100-material__heading {
    font-size: 20px;
  }

  .shinsai100-card {
    height: auto;
  }

  .shinsai100-card p {
    font-size: 15px;
  }

  .shinsai100-links {
    margin-top: 45px;
  }

  .shinsai100-links__heading {
    font-size: 20px;
  }

  .shinsai100-links a {
    font-size: 15px;
  }
  .shogaku-note .page_title h1 {
    gap: 12px;
    padding: 16px 20px;
    font-size: 26px;
  }

  .shogaku-note__character {
    width: 64px;
    height: 64px;
  }

  .shogaku-note__section {
    padding-top: 25px;
  }

  .shogaku-note__grade-list {
    gap: 32px;
  }

  .shogaku-note__grade-title {
    min-height: 56px;
    margin-bottom: 16px;
    padding: 9px 14px;
    font-size: 22px;
  }

  .shogaku-note__grade-number {
    font-size: 24px;
  }

  .lightblue-link-card-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lightblue-link-card--horizontal {
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 12px;
    min-height: 110px;
    padding: 10px 18px 10px 10px;
  }

  .lightblue-link-card--vertical {
    min-height: auto;
  }

  .lightblue-link-card__image img {
    width: 68px;
    height: 68px;
  }

  .lightblue-link-card__image.lightblue-link-card__image--cover img {
    width: 100%;
    height: auto;
    max-height: 280px;
  }

  .lightblue-link-card__title {
    font-size: 17px;
  }

  .lightblue-link-card__subtitle {
    font-size: 13px;
  }

  .lightblue-link-card__size {
    font-size: 13px;
  }
}

@media screen and (max-width: 550px) {
  .shogaku-note .page_title h1 {
    align-items: center;
    font-size: 23px;
  }
  .lightblue-link-card a.flex{
    flex-direction: column;
    justify-content: center;
  }
  .lightblue-link-card__arrow {
    right: -12px;
    font-size: 11px;
  }

  .lightblue-link-card--vertical {
    padding: 14px 18px 14px 14px;
  }

  .lightblue-link-card--horizontal {
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 105px;
  }

  .lightblue-link-card__image img {
    width: 40px;
    height: 40px;
  }

  .lightblue-link-card__title {
    font-size: 16px;
  }

  .lightblue-link-card__meta {
    gap: 6px;
    margin-top: 7px;
  }

  .lightblue-link-card__label {
    min-width: 46px;
    height: 21px;
    padding-inline: 6px;
    font-size: 12px;
  }

  .lightblue-link-card__size {
    font-size: 12px;
  }

  .shogaku-note__archive .program-link-list .menu {
    min-height: auto;
  }
  .lightblue-link-card--text-heavy > a {
    display: flex;
    flex-direction: column-reverse;
  }

  .lightblue-link-card--text-heavy
    .lightblue-link-card__image img {
    max-width: 160px;
    margin-inline: auto;
  }
}
/* ==================================================================
   Page - 防災ノート（中学生・高校生）
================================================================== */

.cyukou-note {
  background-color: #ffffff;
}

.cyukou-note .page_title h1 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cyukou-note__character {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.cyukou-note__section {
  padding-top: 35px;
}

.cyukou-note__grade-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 50px;
}

.cyukou-note__grade {
  min-width: 0;
}

.cyukou-note__grade-title {
  min-height: 64px;
  margin: 0 0 24px;
  padding: 12px 18px;
  border: 0;
  border-radius: 3px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.cyukou-note__grade--junior .cyukou-note__grade-title {
  background-color: #0176bc;
}

.cyukou-note__grade--senior .cyukou-note__grade-title {
  background-color: #ef77a3;
}

.cyukou-note__archive {
  padding-top: 55px;
  padding-bottom: 60px;
}

.cyukou-note__archive .program-link-list {
  max-width: 760px;
  margin-top: 25px;
}

.cyukou-note__archive .program-link-list .menu {
  max-width: none;
  min-height: 80px;
  padding: 14px 44px 14px 18px;
  background-image: linear-gradient(
    to right,
    #ffffff calc(100% - 22px),
    #fff9bf 0
  );
}

.cyukou-note__archive .program-link-list .wrap {
  display: block;
  width: 100%;
}

.cyukou-note__archive .program-link-list .category {
  display: block;
  color: #222222;
  font-size: 16px;
  line-height: 1.6;
}

.cyukou-note__archive .program-link-list .pdf {
  margin-top: 8px;
}

@media screen and (max-width: 900px) {
  .cyukou-note__grade-list {
    gap: 28px;
  }
}

@media screen and (max-width: 767px) {
  .cyukou-note .page_title h1 {
    gap: 12px;
    padding: 16px 20px;
    font-size: 26px;
  }

  .cyukou-note__character {
    width: 64px;
    height: 64px;
  }

  .cyukou-note__section {
    padding-top: 25px;
  }

  .cyukou-note__grade-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cyukou-note__grade-title {
    min-height: 56px;
    margin-bottom: 16px;
    padding: 10px 14px;
    font-size: 24px;
  }
}

@media screen and (max-width: 550px) {
  .cyukou-note .page_title h1 {
    font-size: 22px;
  }

  .cyukou-note__archive .program-link-list .menu {
    min-height: auto;
  }
}
/* ==================================================================
   Page - 防災学習に役立つリンク集
   resources/views/saigai/link.blade.php
   resources/views/saigai/link-soshiki.blade.php
================================================================== */

.saigai-links-page {
  --links-main-color: #ffe902;
  
  --links-light-color: #fff9bc;
  --links-arrow-color: #bcecff;
  --links-border-color: #888888;
  --links-blue-color: #0068b7;
  color: #111111;
}

.saigai-links-page *,
.saigai-links-page *::before,
.saigai-links-page *::after {
  box-sizing: border-box;
}

.saigai-links-page ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.saigai-links-page img {
  max-width: 100%;
  height: auto;
}

.saigai-links-page ruby {
  ruby-align: center;
}

.saigai-links-page rt {
  font-size: 0.5em;
  line-height: 1;
}


.saigai-links-page .saigai-header-bg {
  overflow: hidden;
  background-color: #fff8a8;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.72) 0,
    rgba(255, 255, 255, 0.72) 8px,
    transparent 8px,
    transparent 18px
  );
}

.saigai-links-page .saigai-header-bg .inner {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.saigai-links-page .saigai-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 22px 0;
  color: #111111;
  background: transparent;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-shadow:
    3px 3px 0 #ffffff,
    -3px 3px 0 #ffffff,
    3px -3px 0 #ffffff,
    -3px -3px 0 #ffffff;
}

.saigai-links-page .saigai-header .bousaikun {
  flex: 0 0 auto;
  width: 86px;
  height: 100px;
  object-fit: contain;
}


.saigai-links-page .clearfix::after {
  display: block;
  clear: both;
  content: "";
}

.saigai-links-page .Reformation {
  width: 100%;
}


.saigai-links-page .links {
  margin-bottom: 40px;
}

.saigai-links-page .links > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.saigai-links-page .links > ul > li {
  position: relative;
  min-width: 0;
}

.saigai-links-page .links a {
  display: block;
  min-height: 108px;
  padding: 14px 20px 16px;
  border: 2px solid var(--links-main-color);
  border-radius: 10px;
  color: var(--color-text);
  background-color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.saigai-links-page .links .title {
  display: block;
  margin-bottom: 4px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
}

.saigai-links-page .links > ul > li:not(.on) a {
  color: var(--color-text);
  background-color: var(--theme-color);
}

.saigai-links-page .links > ul > li.on::after {
  position: absolute;
  bottom: -19px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 20px solid var(--links-main-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.saigai-links-page .Reformation > h3 {
  margin: 0 0 24px;
  padding: 15px 15px 10px;
  border: 0;
  border-radius: 2px;
  color: var(--color-text);
  background-color: var(--theme-color);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.saigai-links-page .link_index {
  display: flex;
  flex-direction: column;
}

.saigai-links-page .link_index > li {
  
  display: grid;
  grid-template-columns: 42px 112px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 10px;
  row-gap: 8px;
  align-items: center;
  min-height: 145px;
  padding: 16px 0;
  border-bottom: 1px solid var(--links-main-color);
}
.saigai-links-page .link_index > li.flex{
  display: flex;
}
.saigai-links-page .link_index > li:first-child {
  padding-top: 0;
}

.saigai-links-page .link_index > li:last-child {
  border-bottom: 0;
}

.saigai-links-page .link-index__kana,
.saigai-links-page .link_index > li > span {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--color-text);
  background-color: var(--links-main-color);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.saigai-links-page .link-index__category {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

.saigai-links-page .link-index__character,
.saigai-links-page .link_index > li > img {
  grid-column: 1 / 3;
  grid-row: 2;
  
  height: auto;
  align-self: end;
  justify-self: center;
  object-fit: contain;
}
.saigai-links-page .link_index > li > img.e{
  max-width: 49px;
}
.saigai-links-page .link_index > li > img.a{
  max-width: 82px;
}
.saigai-links-page .link_index > li > img.u{
  max-width: 132px;
}
.saigai-links-page .link_index > li > img.i{
  max-width: 130px;
}
.saigai-links-page .link_index > li > img.soshiki-a{
  max-width: 109px;
}
.saigai-links-page .link_index > li > img.soshiki-i{
  max-width: 109px;
}
.saigai-links-page .link_index > li > img.soshiki-u{
  max-width: 109px;
}

.saigai-links-page .link-index__buttons,
.saigai-links-page .link_index > li > ul {
  display: grid;
  grid-column: 3;
  grid-row: 1 / 3;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: minmax(72px, auto);
  gap: 8px;
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

.saigai-links-page .link-index__buttons > li,
.saigai-links-page .link_index > li > ul > li {
  position: relative;
  min-width: 0;
  min-height: 72px;
}

.saigai-links-page .link-index__buttons > li.col2,
.saigai-links-page .link_index > li > ul > li.col2 {
  grid-column: span 2;
}

.saigai-links-page .link-index__buttons > li.col3,
.saigai-links-page .link_index > li > ul > li.col3 {
  grid-column: span 3;
}

.saigai-links-page .link-index__buttons > li > a,
.saigai-links-page .link_index > li > ul > li > a {
  position: relative;
  display: flex;
  flex-direction:column;
  width: 100%;
  height: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 10px 28px 9px 9px;
  overflow: hidden;
  border: 2px solid var(--links-border-color);
  border-radius: 5px;
  color: #111111;
  background-color: #ffffff;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.18);
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}


.saigai-links-page .link-index__buttons > li > a::before,
.saigai-links-page .link_index > li > ul > li > a::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 100%;
  background-color: var(--links-arrow-color);
  content: "";
}

.saigai-links-page .link-index__buttons > li > a::after,
.saigai-links-page .link_index > li > ul > li > a::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 8px solid #ffffff;
  content: "";
  transform: translateY(-50%);
}


.saigai-links-page .link_index.soshiki > li > ul {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}


.saigai-links-page .link_list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.saigai-links-page .link_list > li {
  position: relative;
  padding: 0 0 30px 10px;
  border-bottom: 1px solid var(--links-main-color);
}

.saigai-links-page .link_list > li:last-child {
  border-bottom: 0;
}

.saigai-links-page .link_list > li > span {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #ffffff;
  background-color: var(--links-main-color);
  font-size: 22px;
  font-weight: 800;
}

.saigai-links-page .link_list > li > div {
  
  margin: 0 0 18px;
  padding: 8px 18px;
  border-radius: 3px;
  background-color: var(--links-light-color);
  color: #111111;
}

.saigai-links-page .link_list > li > div > div {
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.3;
}

.saigai-links-page .link_list > li > div a {
  color: #ffffff;
  text-decoration: none;
}

.saigai-links-page .link_list > li > ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.saigai-links-page .link_list > li > ul > li {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.saigai-links-page .link_list > li > ul > li > ul {
  margin-top: 10px;
  padding: 14px 18px 14px 42px;
  border-radius: 5px;
  background-color: #ffffff;
}

.saigai-links-page .link_list > li > ul > li > ul > li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}

.saigai-links-page .link_list > li > ul > li > ul > li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-text);
  content: "";
}

.saigai-links-page .link_list a:not([id]) {
  color: var(--links-blue-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.saigai-links-page .link_list .pdf::after,
.saigai-links-page .link_list .movie::after,
.saigai-links-page .link_list .map::after,
.saigai-links-page .link_list .kids::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 2px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: middle;
}

.saigai-links-page .link_list .pdf::after {
  background-color: #d60000;
  content: "PDF";
}


.saigai-links-page .link_list .kids::after {
  background-color: #eb7b00;
  content: "KIDS";
}
.saigai-links-page .link_list .movie {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  background-color: #7356a5;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.saigai-links-page [id^="1_"],
.saigai-links-page [id^="2_"],
.saigai-links-page [id^="3_"],
.saigai-links-page [id^="4_"] {
  scroll-margin-top: 150px;
}


@media screen and (max-width: 900px) {
  
  .saigai-links-page .link_index > li {
    grid-template-columns: 42px 92px minmax(0, 1fr);
  }

  .saigai-links-page .link-index__character,
  .saigai-links-page .link_index > li > img {
    width: 82px;
    max-height: 100px;
  }

  .saigai-links-page .link-index__buttons,
  .saigai-links-page .link_index > li > ul,
  .saigai-links-page .link_index.soshiki > li > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .saigai-links-page .link_index > li > ul > li.col2{
    grid-column: span 1;
  }
}


@media screen and (max-width: 767px) {
  .saigai-links-page .saigai-header-bg .inner {
    padding-inline: 15px;
  }

  .saigai-links-page .saigai-header {
    gap: 12px;
    padding: 18px 0;
    font-size: 26px;
  }

  .saigai-links-page .saigai-header .bousaikun {
    width: 58px;
    height: 70px;
  }


  .saigai-links-page .links {
    margin-bottom: 32px;
  }

  .saigai-links-page .links > ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .saigai-links-page .links a {
    min-height: 0;
    padding: 13px;
    font-size: 14px;
  }

  .saigai-links-page .links .title {
    font-size: 22px;
  }

  .saigai-links-page .links > ul > li.on::after {
    bottom: -12px;
    border-top-width: 12px;
    border-right-width: 13px;
    border-left-width: 13px;
  }

  .saigai-links-page .Reformation > h3 {
    margin-bottom: 18px;
    font-size: 22px;
  }

  .saigai-links-page .link_index > li {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 12px;
    min-height: 0;
    padding: 18px 0;
  }
 
  .saigai-links-page .link-index__category {
    grid-column: 2;
    grid-row: 1;
    font-size: 16px;
  }

  .saigai-links-page .link-index__character,
  .saigai-links-page .link_index > li > img {
    display: none;
  }

  .saigai-links-page .link-index__buttons,
  .saigai-links-page .link_index > li > ul,
  .saigai-links-page .link_index.soshiki > li > ul {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .saigai-links-page .link-index__buttons > li,
  .saigai-links-page .link_index > li > ul > li,
  .saigai-links-page .link-index__buttons > li.col2,
  .saigai-links-page .link-index__buttons > li.col3,
  .saigai-links-page .link_index > li > ul > li.col2,
  .saigai-links-page .link_index > li > ul > li.col3 {
    grid-column: span 1;
    min-height: 68px;
  }

  .saigai-links-page .link-index__buttons > li > a,
  .saigai-links-page .link_index > li > ul > li > a {
    min-height: 68px;
    padding: 9px 25px 9px 8px;
    font-size: 14px;
  }

  .saigai-links-page .link_list > li {
    padding-left: 0;
  }

  .saigai-links-page .link_list > li > span {
    position: static;
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    font-size: 19px;
  }

  .saigai-links-page .link_list > li > div {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .saigai-links-page .link_list > li > div > div {
    font-size: 18px;
  }

  .saigai-links-page .link_list > li > ul > li > ul {
    padding: 12px 14px 12px 28px;
  }
  .saigai-links-page .link_index > li.flex {
    display: grid;
  }
}
@media screen and (max-width: 420px) {
  .saigai-links-page .link_list > li > ul > li > ul{
    padding: 5px 5px 5px 16px;
  }
}

.disaster-experience-page {
  background-color: #ffffff;
}

.disaster-experience-hero {
  background-color: #fff9a8;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.72) 0,
    rgba(255, 255, 255, 0.72) 8px,
    transparent 8px,
    transparent 18px
  );
}

.disaster-experience-hero__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--content-width);
  min-height: 150px;
  margin-inline: auto;
  padding: 22px 20px;
}

.disaster-experience-hero__character {
  flex: 0 0 auto;
  width: 86px;
  height: 100px;
  object-fit: contain;
}

.disaster-experience-hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin: 0;
  padding: 0;
  color: #111111;
  background: transparent;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow:
    3px 3px 0 #ffffff,
    -3px 3px 0 #ffffff,
    3px -3px 0 #ffffff,
    -3px -3px 0 #ffffff;
}

.disaster-experience-hero__title small {
  font-size: 24px;
  font-weight: 800;
}


.disaster-experience {
  background-color: #ffffff;
}

.disaster-experience__inner {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 30px 20px 80px;
}

.disaster-experience ruby {
  ruby-align: center;
}

.disaster-experience rt {
  font-size: 0.5em;
  line-height: 1;
}

.disaster-experience__main-image {
  width: 100%;
}

.disaster-experience__main-image img {
  width: 100%;
  height: auto;
}

.disaster-experience__lead {
  margin-top: 25px;
  color: #222222;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.6;
}

.disaster-experience__description {
  margin-top: 26px;
  color: #222222;
  font-size: 16px;
  line-height: 1.9;
}

.disaster-experience__text-link {
  color: #e57900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disaster-experience-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 30px;
}

.disaster-experience-info__item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.disaster-experience-info__item dt {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 12px;
  border-radius: 4px;
  color: var(--color-text);
  background-color: var(--theme-color);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.disaster-experience-info__item dd {
  padding-top: 5px;
  color: #222222;
  font-size: 16px;
  line-height: 1.9;
  margin-left: 20px;
}

.disaster-experience-info__item dd p {
  color: inherit;
  font-size: inherit;
}

.disaster-experience-info__note {
  margin-top: 4px;
  font-size: 14px !important;
}

.disaster-experience-download {
  margin-top: 45px;
  padding: 28px 24px 24px;
  background-color: #ffffff;
}

.disaster-experience-download__heading {
  margin: 0;
  color: #ef476f;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.7;
}

.disaster-experience-download__description {
  margin-top: 18px;
  color: #222222;
  font-size: 16px;
}

.disaster-experience-download__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.disaster-experience-download__list.flex {
  display: flex;
}


.disaster-experience-download__card {
  min-width: 0;
}

.disaster-experience-download__card > a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.disaster-experience-download__card.lightblue-link-card--text-heavy > a {
  display: grid;
}

.digital-stamp-card {
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 20px;
  align-items: start;
}


.digital-stamp-card .right__img {
  width: 170px;
  align-self: start;
}

.digital-stamp-card .right__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.disaster-experience__footnote {
  margin-top: 25px;
  color: #333333;
  font-size: 14px;
  line-height: 1.8;
}


@media screen and (max-width: 767px) {
  .disaster-experience-download {
    margin-top: 35px;
    padding: 22px 15px 18px;
  }

  .disaster-experience-download__heading {
    font-size: 19px;
  }

  .disaster-experience-download__list {
    grid-template-columns: 1fr;
  }
  .disaster-experience-download__list.flex {
    flex-direction: column;
  }
  .disaster-experience-info__item {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0px;
  }
  .disaster-experience-hero__title{
    font-size: 24px;
  }
  .disaster-experience__lead{
    font-size: 20px;
  }
  .disaster-experience-hero__character {
    width: 58px;
    height: auto;
  }
  .disaster-experience-info__item dd{
    padding-top:15px
  }
}


.sitemap-page {
  background-color: #ffffff;
}


.sitemap-section > .inner {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
}

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

.sitemap-group {
  overflow: hidden;
  border: 2px solid var(--sitemap-theme);
  border-radius: 10px;
  background-color: #ffffff;
}

.sitemap-group--portal {
  --sitemap-theme: #4777b5;
  --sitemap-theme-light: #eef4fb;
}

.sitemap-group--saigai {
  --sitemap-theme: #f0d900;
  --sitemap-theme-light: #fffbea;
}

.sitemap-group--kotsu {
  --sitemap-theme: #f2994a;
  --sitemap-theme-light: #fff3e8;
}

.sitemap-group--seikatsu {
  --sitemap-theme: #4caf50;
  --sitemap-theme-light: #eef9ef;
}

.sitemap-group__title {
  margin: 0;
  padding: 14px 18px;
  color: #ffffff;
  background-color: var(--sitemap-theme);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.sitemap-group--saigai .sitemap-group__title {
  color: #222222;
}

.sitemap-list {
  padding: 10px 18px 18px;
}

.sitemap-list > li {
  border-bottom: 1px solid #dddddd;
}

.sitemap-list > li:last-child {
  border-bottom: 0;
}

.sitemap-list > li > a {
  position: relative;
  display: block;
  padding: 13px 34px 13px 20px;
  color: #222222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.sitemap-list > li > a::before {
  position: absolute;
  top: 1.15em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--sitemap-theme);
  border-right: 2px solid var(--sitemap-theme);
  content: "";
  transform: rotate(45deg);
}

.sitemap-list > li > a:hover {
  color: var(--sitemap-theme);
  background-color: var(--sitemap-theme-light);
  opacity: 1;
}

.sitemap-sublist {
  margin: 0 0 12px 22px;
  padding: 0 0 0 16px;
  border-left: 3px solid var(--sitemap-theme);
}

.sitemap-sublist li + li {
  margin-top: 6px;
}

.sitemap-sublist a {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  color: #444444;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sitemap-sublist a::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--sitemap-theme);
  content: "";
}


.sitemap-common {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid #bbbbbb;
  border-radius: 8px;
  background-color: #f8f8f8;
}

.sitemap-common__title {
  margin: 0 0 18px;
  color: #222222;
  font-size: 22px;
  font-weight: 700;
}

.sitemap-common__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
}

.sitemap-common__list a {
  position: relative;
  display: block;
  padding: 8px 10px 8px 20px;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
}

.sitemap-common__list a::before {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #555555;
  border-right: 2px solid #555555;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.sitemap-common__list a[aria-current="page"] {
  color: #777777;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  

  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sitemap-group__title {
    font-size: 20px;
  }

  .sitemap-list > li > a {
    padding-block: 12px;
    font-size: 15px;
  }

  .sitemap-common {
    margin-top: 24px;
    padding: 18px 15px;
  }

  .sitemap-common__list {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.contact-info {
  font-style: normal;
}

.contact-info a {
  color: var(--theme-color);
  text-decoration: underline;
}

.footer {
  padding: 50px 20px 20px;
  border-top: 4px solid var(--border-color);
  background-color: var(--portal-color);
}

.footer__nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.footer__nav ul li a {
  color: #666666;
  font-size: 13px;
  line-height: 1;
}

.footer__logo {
  padding: 30px 0 10px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.footer__logo span {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1;
}

.footer__copy {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}


[v-cloak] {
  display: none !important;
}

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

/* ==================================================================
   Responsive
================================================================== */

@media screen and (min-width: 769px) {
  #jitsureikensaku_search form {
      padding: 40px 0 0;
    }

  #jitsureikensaku_search .result .table table td {
      font-size: 1.6rem;
    }

  #jitsureikensaku_search .anchors ul {
      justify-content: center;
      column-gap: 20px;
    }

  #jitsureikensaku_search .anchors ul li {
      justify-content: center;
      column-gap: 20px;
    }

  #jitsureikensaku_search .anchors a {
      height: 68px;
      font-size: 1.5rem;
    }

  #jitsureikensaku_search .all-items {
      margin-top: 40px;
      font-size: 2rem;
    }
}


@media screen and (max-width: 768px) {
  #jitsureikensaku_search form .flex {
      flex-wrap: wrap;
    }

  #jitsureikensaku_search form .flex p {
      width: 100%;
    }

  #jitsureikensaku_search .result-title {
      font-size: 2rem;
      line-height: 1.4583333333;
      padding: 8px 14px;
    }

  #jitsureikensaku_search ul.item-list a span:first-child {
      font-size:14px;
    }

html.is-translated #jitsureikensaku_search ul.item-list .grade {
  width: 100%;
}
  #jitsureikensaku_search ul.item-list a span:last-child {
      font-size: 14px;
    }
    .teaching-materials .materials-menu__list {
      grid-template-columns: 1fr;
    }
  
  
    .teaching-materials #section03 .flex .item:last-child {
      margin-top: 2rem;
    }
}

@media (max-width: 767px) {
  body {
    width: 100%;
    font-size: 1.4rem;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .card__label-text {
    font-size: 24px;
    width: 60px;
  }
  .card__label-text-small {
    font-size: 16px;
  }
  .card__text {
    font-size: 15px;
  }

  .card__footer {
    padding: 12px 16px;
  }
  .circleArrow {
    width: 24px;
    height: 24px;
  }
  #anzen_portal_program .program-item .flex {
    flex-direction: column;
  }

  #anzen_portal_program .program-item .text_area,
  #anzen_portal_program .program-item .image {
    width: 100%;
    flex-basis: auto;
  }
  .footer__nav ul {
    flex-direction: column;
  }

}

@media (max-width: 550px) {
  .cardList {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .main__inner {
    padding:40px 20px 50px;
  }
  .card__label-text{
    font-size: 38px;
  }
  .card__label-text-small {
    font-size: 25px;
  }
  .card__label.is-translated .card__label-text-small{
    font-size: 12px;
  }

  .card__label {
    flex-basis: 40%;
  }

  .card__label-text {
    font-size: 34px;
    width: 85px;
  }
  #jitsureikensaku_search ul.item-list a {
      row-gap: 5px;
      padding: 10px 30px 10px 15px;
    }
}

/* ==================================================================
   Page - 防災士養成講座
   resources/views/saigai/bousaishi.blade.php
================================================================== */
.bousaishi-page {
  background-color: #ffffff;
}

.bousaishi-hero {
  background-color: #fff36a;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.62) 0,
    rgba(255, 255, 255, 0.62) 8px,
    transparent 8px,
    transparent 18px
  );
}

.bousaishi-hero__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 22px 20px;
}

.bousaishi-hero__icon {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.bousaishi-hero__title {
  margin: 0;
  padding: 0;
  color: #111111;
  background: transparent;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.4;
}

.bousaishi-main {
  padding: 0;
  background-color: #ffffff;
}

.bousaishi-kv img,
.bousaishi-course-image img {
  width: 100%;
  height: auto;
}

.bousaishi-section {
  padding: 0;
}

.bousaishi-section + .bousaishi-section {
  margin-top: 44px;
}

.bousaishi-section__title {
  margin: 0 0 18px;
  padding: 9px 14px;
  color: #ffffff;
  background-color: #ff8b50;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
}

.bousaishi-section__lead {
  color: #222222;
  font-size: 16px;
  line-height: 1.9;
}

.bousaishi-box {
  position: relative;
  margin-top: 26px;
  padding: 34px 18px 20px;
  border: 1px solid #b8b8b8;
  background-color: #ffffff;
}

.bousaishi-box__title {
  position: absolute;
  top: -18px;
  left: -1px;
  min-width: 58%;
  margin: 0;
  padding: 8px 15px;
  border: 0;
  color: #ffffff;
  background-color: #ff9f00;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.bousaishi-box__title::before,
.bousaishi-activity-card__title::before {
  margin-right: 5px;
  content: "▶";
}

.bousaishi-box__title span {
  font-size: 16px;
}

.bousaishi-process-list {
  margin: 0;
  padding-left: 20px;
}

.bousaishi-process-list li {
  margin-top: 5px;
  color: #222222;
  font-size: 15px;
  line-height: 1.7;
}

.bousaishi-course-image {
  margin-top: 26px;
}

.bousaishi-school-box {
  padding: 54px 18px 22px;
}

.bousaishi-school-box__note {
  margin-bottom: 16px;
  color: #333333;
  font-size: 14px;
  text-align: right;
}

.bousaishi-school-map {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
  min-height: 950px;
  padding: 8px;

  background-color: #ffffff;
  background-image: url("/img/saigai/bousaishi/pic_bg.png");
  background-size: 80% auto;
  background-position: center;
  background-repeat: no-repeat;
}

.bousaishi-school-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.bousaishi-school-list {
  border: 1px solid #888888;
  background-color: #ffffff;
  max-width: 200pX;
}

.bousaishi-school-list h4 {
  margin: 0;
  padding: 5px 8px;
  color: #111111;
  background-color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.bousaishi-school-list ul {
  padding: 7px 9px 10px;
}

.bousaishi-school-list li {
  font-size: 14px;
  line-height: 1.65;
}

.bousaishi-school-list a {
  display: block;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bousaishi-school-list--west {
  background-color: #8f2f09;
}

.bousaishi-school-list--center {
  background-color: #2f61ef;
}

.bousaishi-school-list--east {
  background-color: #009733;
}

.bousaishi-school-list--west a,
.bousaishi-school-list--center a,
.bousaishi-school-list--east a {
  color: #ffffff;
}

.bousaishi-school-list--west-branch a {
  color: #993300;
}

.bousaishi-school-list--center-branch a {
  color: #0066cc;
}

.bousaishi-school-list--east-branch a {
  color: #006633;
}

.bousaishi-school-list--west-branch h4 {
  background-color: #fff7b8;
}

.bousaishi-school-list--center-branch h4 {
  background-color: #bfe3ff;
}

.bousaishi-school-list--east-branch h4 {
  background-color: #c9ffad;
}

.bousaishi-activity-card {
  position: relative;
  margin-top: 34px;
  padding: 42px 18px 18px;
  border: 1px solid #b8b8b8;
  background-color: #ffffff;
}

.bousaishi-activity-card__title {
  position: absolute;
  top: -18px;
  left: -1px;
  min-width: 58%;
  margin: 0;
  padding: 8px 15px;
  border: 0;
  color: #ffffff;
  background-color: #ff9f00;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.bousaishi-activity-card__content {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.bousaishi-activity-card__photos {
  display: grid;
  gap: 8px;
}

.bousaishi-activity-card__photos img {
  width: 100%;
  height: auto;
}

.bousaishi-activity-card__text p {
  color: #222222;
  font-size: 15px;
  line-height: 1.9;
}

.bousaishi-activity-card__text p + p {
  margin-top: 14px;
}

@media screen and (max-width: 767px) {
  .bousaishi-hero__inner {
    gap: 12px;
    padding: 18px 15px;
  }

  .bousaishi-hero__icon {
    width: 54px;
    height: 54px;
  }

  .bousaishi-hero__title {
    font-size: 24px;
  }

  .bousaishi-section + .bousaishi-section {
    margin-top: 34px;
  }

  .bousaishi-section__title {
    font-size: 20px;
  }

  .bousaishi-box__title,
  .bousaishi-activity-card__title {
    position: static;
    min-width: 0;
    margin: -34px -18px 18px;
  }

  .bousaishi-school-box {
    padding-top: 34px;
  }

  .bousaishi-school-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bousaishi-school-map {
    gap: 16px;
    background: none;
  }

  .bousaishi-activity-card__content {
    grid-template-columns: 1fr;
  }

  .bousaishi-activity-card__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bousaishi-activity-card__photos:not(.bousaishi-activity-card__photos--two) {
    grid-template-columns: minmax(0, 260px);
  }
  .bousaishi-school-list {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .bousaishi-hero__title {
    font-size: 21px;
  }

  .bousaishi-section__lead,
  .bousaishi-process-list li,
  .bousaishi-activity-card__text p {
    font-size: 14px;
  }

  .bousaishi-activity-card__photos {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   機械翻訳 注意モーダル
========================================================= */

.translation-notice {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.45);
}

.translation-notice[hidden] {
  display: none;
}

.translation-notice__dialog {
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  padding: 32px;
  overflow-y: auto;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.translation-notice__title {
  margin: 0 0 16px;
  color: #222222;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.translation-notice__text {
  margin: 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
}

.translation-notice__close {
  display: block;
  min-width: 120px;
  margin: 28px auto 0;
  padding: 10px 24px;
  border: 2px solid #08793f;
  border-radius: 6px;
  color: #08793f;
  background-color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.translation-notice__close:hover,
.translation-notice__close:focus-visible {
  color: #ffffff;
  background-color: #08793f;
}

@media screen and (max-width: 767px) {
  .translation-notice {
    padding: 16px;
  }

  .translation-notice__dialog {
    padding: 24px 20px;
  }

  .translation-notice__title {
    font-size: 20px;
  }

  .translation-notice__text {
    font-size: 15px;
  }
}
/* =========================================================
   翻訳時：グローバルナビの長文対策
========================================================= */

html.is-translated .l-gnav__link {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.25;
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
  font-size: 14px;
}