.page {
  padding-bottom: 120px;
}
.s .page {
  padding: 14% 0 80px;
}
.innner {
  padding: 0 56px;
}
.s .innner {
  padding: 0 2.2%;
}

  .s .content-block ul > li {
    flex: 0 1 100% !important;
    max-width: 100% !important;
  }

/*******************************/
/* 下層ページモーダル */
/*******************************/
/* モーダルコンテナ */
.c-modal_content {
  width: 90%;
  max-height: 100vh;
  position: relative;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.s .c-modal_content {
  height: unset;
  max-height: 100vh;
  margin: 0;
}
/* モーダルサイズ　大 */
._modal-l {
  max-width: 1180px;
  height: 724px;
}
.s ._modal-l {
  max-width: 1180px;
  height: 724px;
}
/* タイトル */
.s .c-modal_title {
  font-size: 1.25rem;
}
/* 閉じるボタン */
.s .c-modal_closeBtn {
  max-width: 36px;
  width: 10.8% !important;
}
/* モーダル閉じるボタン　フォーカス非表示 */
.s .c-modal_closeBtn:focus {
  outline: none;
}

/********************************/
/* タイトルエリア */
/********************************/
.titleArea {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}
.s .titleArea {
  gap: 30px;
}
/* タイトル位置 */
.titleArea_center {
  justify-self: center;
  text-align: center;
  max-width: 769px;
  width: 100%;
}
/* 地域選択 */
.titleArea_right {
  width: 100%;
  justify-self: end;
}
.s .titleArea_right {
  width: fit-content;
  padding-right: 8px;
}

/*********************************/
/* コンテンツ  下層ページ*/
/*********************************/
.content-title {
  max-width: 1328px;
  width: 100%;
  margin: 28px auto 0;
  padding: 11px 0;
  border-radius: 16px 16px 0 0;
}
.s .content-title {
  margin: 10px auto 0;
  padding: 11px 20px;
}
.content-title._title-gradient .c-subTitle {
  color: #fff;
}
.content-block {
  max-width: 1328px;
  width: 100%;
  margin: 0 auto;
  border: 2px solid #fff;
  border-top: 0;
  padding: 24px 32px 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0 0 16px 16px;
}
.s .content-block {
  padding: 16px 20px 20px;
}

._attempt .content-block ul,
._transmission .content-block ul,
._map-region .content-block ul,
._disaster .content-block ul,
._disasterlink .content-block ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}
.content-block ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}
.c-externalLink-btn_item,
 .c-externalLink_item{
  flex: 0 1 calc((100% - 40px) / 3) !important;
  max-width: unset !important;
}

.s .content-block ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media screen and (max-width: 1293px) {
  .c-externalLink_item {
    max-width: unset;
    width: 100%;
  }
}
/* コンテンツがない時の見た目 */
.content-nolist {
  display: block !important;
  text-align: center !important;
  padding: 10px 0 0 !important;
  font-size: 1rem;
}
.s .content-nolist {
  padding: 0 !important;
}

/* 下層ページ */
._type-group {
  display: none;
}

/* わが家の対策ページ */
._countermeasures .titleArea_right {
  width: 100%;
  justify-self: end;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 24px;
  padding-left: 15px;
}

/* その他ページ  種別と地域選択横並び*/
.narrow-flex {
  max-width: 1328px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 16px;
}
._support-group .narrow-flex {
  grid-template-columns: 0fr auto 1fr;
}

/* わが家の対策などの下層ページ 順番によってデザイン変化する記述*/
._countermeasures .content-title,
._evacuation .content-title,
._mutual .content-title,
._learn .content-title,
._support-indivisual .content-title,
._support-group .content-title {
  margin: 32px auto 0;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 16px 16px 0 0;
}
.s ._countermeasures ._type-group:first-child .content-title {
  margin: 15px auto 0;
}

._countermeasures .content-block,
._evacuation .content-block,
._mutual .content-block,
._learn .content-block,
._support-indivisual .content-block,
._support-group .content-block {
  margin: 0 auto;
  border: 2px solid #fff;
  border-top: 0;
}
.s ._countermeasures .content-block,
.s ._evacuation .content-block,
.s ._mutual .content-block,
.s ._learn .content-block,
.s ._support-indivisual .content-block,
.s ._support-group .content-block {
  padding: 16px;
}
._countermeasures ._type-group:last-child .content-block,
._evacuation ._type-group:last-child .content-block,
._mutual ._type-group:last-child .content-block,
._learn ._type-group:last-child .content-block,
._support-indivisual ._type-group:last-child .content-block,
._support-group ._type-group:last-child .content-block {
  border-top: 0;
  border-bottom: 2px solid #fff;
  border-radius: 0 0 16px 16px;
}

/* タイトル部分 支援・相談・届出等*/
.s ._support-indivisual .c-mainTitle {
  width: 232px;
}

/* 支援・相談・届出等 　モーダルの中のタイトル部分*/
.s .region-popover_sp .c-mainTitle {
  width: 100%;
}

/* 種別が多いもの */
._learn .type-list {
  max-width: 820px;
}
._learn .region-select,
._mutual .region-select,
._support-indivisual .region-select {
  padding-right: 20px;
}

/* チェックボックス */
._countermeasures .titleArea_right .c-filter-chips {
  flex-wrap: wrap;
}
.s ._countermeasures .titleArea_right .c-filter-chips {
  display: none;
}
._countermeasures .titleArea_right .c-filter-chips__chip .c-filter-chips__list {
  align-items: center;
}
._countermeasures .titleArea_right .c-filter-chips__chip .c-filter-chips__chip {
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 72px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
._countermeasures .checkbox-round {
  flex-shrink: 0;
}
._countermeasures .content-block ul {
  width: unset;
}

.s .c-externalLink_regionArea {
  flex-direction: unset !important;
  flex-wrap: wrap !important;
}

/* 種別はチェックボックスのデフォルトのチェック非表示 */
.type-list .type-item .checkbox-round {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
}
.s .type-list {
  display: none;
}
.type-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.type-list-item p {
  flex-shrink: 0;
  font-size: 0.875rem;
}
.type-list-item .c-filter-chips__text {
  font-size: 0.875rem;
  font-weight: normal;
}
.type-list .c-filter-chips__chip {
  min-height: 36px;
  padding: 4px 12px 3px 8px;
}
.type-list .checkbox-round:checked::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 3px;
}

/* 支援・相談・届出等（団体ページ）　ラベル */
._support-group .type-label {
  gap: 4px;
}

/**********************************/
/* 災害情報リンク集 */
/**********************************/
._disasterlink .content-block {
  margin-top: 32px;
  border-radius: 16px;
  border: 2px solid #fff;
}
._disasterlink .c-externalLink-btn_title {
  justify-content: center;
}
._disasterlink .c-externalLink-btn_item {
  position: relative;
}
._iconOutlink {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 16px;
  height: 16px;
}

._disasterlink .c-externalLink_iconBg {
  padding: 5px;
}

._disasterlink .c-externalLink-btn_title {
  padding: 16px 32px 16px 16px;
}

@media screen and (max-width: 1180px) and (min-width: 961px) {
  .c-externalLink_item {
    flex: 0 1 calc(33.6% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }
}

@media screen and (max-width: 960px) {
  .c-externalLink_item {
    flex: 0 1 calc(50.6% - 8px) !important;
    max-width: calc(100% - 8px) !important;
  }
}

@media screen and (max-width: 1024px) {
  .c-externalLink-btn_item {
    flex: 0 1 calc((100% - 20px) / 2) !important;
    max-width: calc(100% - 20px) !important;
  }
  .c-externalLink-btn_content p {
    max-width: unset;
  }
  ._attempt .content-block ul,
  ._transmission .content-block ul,
  ._map-region .content-block ul,
  ._disaster .content-block ul,
  ._disasterlink .content-block ul {
    gap: 19px 15px;
  }
}

/***********************************/
/* 地図で探す 詳細*/
/***********************************/
._map-region .map-region-help {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  top: 9%;
  right: 7%;
}
._map-region .help-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0c72be;
  background-color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  border-radius: 6px;
  padding: 8px 12px;
  box-shadow: 4px 4px 10px #00648033;
}
.s ._map-region .help-link {
  gap: 5px;
  font-size: 0.75rem;
  border-radius: 6px;
  padding: 8px;
}
._map-region .help-link:hover {
  color: #0c72be;
  text-decoration: underline;
}
._map-region .icon-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #fff;
  color: #666;
  border: 2px solid #ccc;
  border-radius: 50%;
  font-size: 1rem;
}
._map-region .c-filter-chips__item::marker {
  display: none;
}
._map-region .c-filter-chips {
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  list-style: none;
}
/* SP では、ページ上部のカテゴリ絞り込みチップだけ非表示にする */
.s ._map-region .category_center .c-filter-chips {
  display: none;
}
._map-region .c-filter-chips__chip {
  font-weight: 400;
}
._map-region .type-list .checkbox-round:checked::after {
  top: 4px;
}

._map-region .map-region-help.pc {
  display: flex;
}
.s ._map-region .map-region-help.pc {
  display: none;
}
._map-region .map-region-help.sp {
  display: none;
}
.s ._map-region .map-region-help.sp {
  display: flex;
  padding: 16px 8px 8px 0;
}

.categoryArea {
  max-width: 1328px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding-top: 40px;
}
.s .categoryArea {
  display: none;
}
.category_center {
  justify-self: center;
  text-align: center;
  max-width: 769px;
  width: 100%;
}
.category_right {
  width: 100%;
  justify-self: end;
}
._map-region .region-select {
  padding-right: 0;
}
.s ._map-region .titleArea {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 8px;
}
.s ._map-region .region-select_trigger_sp {
  justify-self: end;
}

@media screen and (max-width: 1037px) {
  ._map-region .titleArea {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  ._map-region .map-region-help {
    padding-top: 16px;
    justify-content: center;
  }
  ._map-region .titleArea_center {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
