/* View Small */
button {
  -webkit-appearance: none;
  border: 1px solid black;
}
html {
  min-height: 100vh;
  font-size: 130% !important;
}

body {
  min-width: 480px;
  min-height: 100vh;
  -webkit-text-size-adjust: none;
  font-size: 1em !important;
}

.inner {
  padding: 0 20px;
  max-width: 900px;
  min-width: 100%;
  box-sizing: border-box;
}

.only_pc {
  display: none !important;
}

.only_sp {
  display: inline-flex !important;
  justify-content: start;
  align-items: start;
  flex-direction: column;
}
.only_sp.active {
  height: 100vh;
}

.header-only-sp-ttl {
  display: flex;
  align-items: center;
}

select {
  font-size: 18px !important;
}

.info_item .title_container {
  padding-bottom: 6px;
}
.title_container h2,
.subtitle_container h3,
.title_container .update_time,
.subtitle_container .update_time {
  display: block;
  margin-bottom: 0 !important;
}

._title_container .tolist {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.title_container .tolist {
  top: auto;
  bottom: 6px;
}

/** Switch **/

#menu_switch {
  /* position: fixed; */
  /* top: 37px; */
  /* right: 20px; */
  cursor: pointer;
  -webkit-tap-highlight-color: transparent !important;
  z-index: 10002;
  -o-transition: all 150ms linear;
  -ms-transition: all 150ms linear;
  -moz-transition: all 150ms linear;
  -webkit-transition: all 150ms linear;
  transition: all 150ms linear;
}
.menu-left {
  display: flex;
  justify-content: center;
  align-items: center;
}
#menu_switch{
  position: relative;
  width: 40px;
  height: 30px;
  margin: 10px;
}
.switch_bar {
  display: block;
  position: absolute;
  left: 0;
  width: 40px;
  height: 2px;
  background: #000;
  -o-border-radius: 100px;
  -ms-border-radius: 100px;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  border-radius: 100px;
  -o-transition: all 140ms linear;
  -ms-transition: all 140ms linear;
  -moz-transition: all 140ms linear;
  -webkit-transition: all 140ms linear;
  transition: all 140ms linear;
}
#menu_switch #switch_top {
  top: 0;
}
#menu_switch #switch_middle {
  top: 13px;
}
#menu_switch #switch_bottom {
  bottom: 0;
}
.expanded #menu_switch #switch_top {
  top: 14px;
  -o-transform: translateY(10px) rotate(45deg);
  -ms-transform: translateY(10px) rotate(45deg);
  -moz-transform: translateY(10px) rotate(45deg);
  -webkit-transform: translateY(10px) rotate(45deg);
  transform: rotate(40deg);
  -o-transition: all 120ms ease-in;
  -ms-transition: all 120ms ease-in;
  -moz-transition: all 120ms ease-in;
  -webkit-transition: all 120ms ease-in;
  transition: all 120ms ease-in;
}
.expanded #menu_switch #switch_bottom {
  bottom: 14px;
  -o-transform: translateY(10px) rotate(-45deg);
  -ms-transform: translateY(10px) rotate(-45deg);
  -moz-transform: translateY(10px) rotate(-45deg);
  -webkit-transform: translateY(10px) rotate(-45deg);
  transform: rotate(-40deg);
  -o-transition: all 120ms ease-in;
  -ms-transition: all 120ms ease-in;
  -moz-transition: all 120ms ease-in;
  -webkit-transition: all 120ms ease-in;
  transition: all 120ms ease-in;
}

/* Header_sp */

#header {
  position: fixed;
  padding: 1em 0;
  top: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  line-height: 38px;
  font-size: 20px;
  letter-spacing: 1px;
}

#header .title_container {
  width: 250px;
  padding-right: 0px;
  white-space: nowrap;
}
#header_sp #japanese_title .title,
#header_sp #japanese_title_sp .title {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 45px;
}

/* #header_sp #japanese_title_sp .image,
#header_sp #english_title_sp .image {
  margin-right: 2px;
} */

#header_sp .english_title {
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: 0em;
}

#japanese_title_sp {
  font-size: 25px;
}



/** Menu_select **/

#menu_select select,
#menu_select_sp select,
#menu_select_fz_sp select {
  height: 40px;
  border-radius: 4px;
  font-size:0.9em !important;
  width: 62px;
}
#menu_select select,
#menu_select_fz_sp,
#menu_select_fz_sp select {
  width: 50px;
}


#footer_menus>section>.table_areas>table:nth-child(3)  {
  margin: 0;
}


/** Sp_menu **/

#sp_menu {
  display: none;
  height: 100vh;
  overflow: auto;
  width: 100%;
}
.sp_menu_inner {
  padding: 0px 20px;
  font-size: 1rem;
}
#menu_main_sp {
  margin-bottom: 1em;
  font-size: 1.2em;
}
#menu_main_sp ul li {
  border-bottom: solid 1px #777;
}
#menu_main_sp ul li a {
  display: block;
  padding: 1em 0;
}
/* .menu_sub_sp {
  font-size: 1em;
} */
.menu_sub {
  font-size: 0.9rem;
}
.menu_sub li {
  float: none;
  display: inline-block;
}
.menu_sub li:not(:nth-of-type(3n)) {
  /* margin-right: 1.5em; */
}
.menu_sub li:not(:nth-of-type(n + 3)) {
  /* margin-bottom: 1.5em; */
}
.menu_sub ul {
  margin: 0 0 50px 0;
}

/* SP用ヘッダー、言語、サイズ変更用セレクト用CSS */
.menu_select_sp_wrapper{
  display: flex;
  /* position: absolute; */
  right: 70px;
  top: 32px;
}

.header-head {
  width: calc(100vw - 2em);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#changeCharSize{
  text-align: center;
}

#changeCharSize_df{
  font-size: 14px !important;
}

#changeCharSize_sm{
  font-size: 7px !important;
}
#changeCharSize_md{
  font-size: 12px !important;
}
#changeCharSize_bg{
  font-size: 16px !important;
}
/*　/SP用ヘッダー、言語、サイズ変更用セレクト用ＣＳＳ */

#changeCharSize option{
  font-size: 15px;
  /* display: none; */
}
/* Top_contents */

#top_contents {
  margin-top: 108px;
}
#top_contents #top_info #node_info_left {
  float: none;
  padding-right: 0;
  width: 100%;
}
#top_contents #top_info #node_info_right {
  float: none;
  padding-left: 0;
  width: 100%;
}
#node_info_left .submenu li {
  padding-left: 24px;
}
#node_info_left .submenu li:after {
  margin-top: -6.5px;
  width: 12px;
  height: 12px;
}

/* Shikuchouson_list_sp */

#shikuchouson_list_sp select {
  width: 100%;
  height: 50px;
  font-size: 1.2em !important;
}

/* Footer */

#footer_portals li {
  height: auto;
}
#footer_banners,
#footer_portals {
  margin-left: 10%;
  margin-right: 10%;
  height: auto;
}
#footer_banners ul,
#footer_portals ul {
  float: none;
  left: 0;
  height: auto;
  flex-direction: column;
}
#footer_banners li,
#footer_portals li {
  left: 0;
  float: none;
  margin: 0 0 1em;
  height: auto;
}
#footer_banners li img {
  height: auto;
  width: 100%;
}
#footer_portals {
  text-align: center;
}
#copyright {
  font-size: 0.7em;
}
#footer .menu_line p {
  font-size: 0.9em;
}
#footer .table_area {
  text-align: center;
}
/* #footer_banners .Osaka_Safe_Travels {
  width: 100%;
} */
/* Dec 28 nakajima　footer内要素を縦並びするため、flexと切り替える */
.d_p_info{
    display: block !important;
    text-align: center;
}
h2.title_bosaiinfo:after{
  margin-left: -110px !important;
  width: 220px !important;
}
.sub_title_life{
  font-size: 0.9em !important;
    border-bottom: solid 1px black;
    margin-bottom: 5px !important;
    width: 55% !important;
    margin-left: 0px !important;
    margin-top: 20px;
    display: inline-block;
}
.sub_title_info{
  font-size: 0.9em !important;
    border-bottom: solid 1px black !important;
    margin-bottom: 5px !important;
    width: 55% !important;
    margin-left: 0px !important;
    margin-top: 20px;
    display: inline-block;
}
.sub_title_kisho{
  font-size: 0.9em !important;
    border-bottom: solid 1px black;
    margin-bottom: 5px !important;
    width: 55% !important;
    margin-left: 0px !important;
    margin-top: 20px;
    display: inline-block;
}

/* Home */

/** Home_features **/

#home_map {
  float: none;
  margin-bottom: 1.5em;
  width: 100%;
  height: auto;
}

.page_local #home_map {
  margin-top: -36px;
}

#home_map_large {
  float: none;
  width: 100%;
}
#home_map_large h3.title {
  padding: 18px 0;
  font-size: 1.1em;
  z-index: 1;
}
#home_map_message {
  font-size: 0.8rem;
  padding: 0.5rem;
  top: 20px;
  right: 10px;
  z-index: 1;
  width: calc(100% - 165px);
  line-height: 22px;
}
#home_map_legend {
  width: auto;
  z-index: 1;
  width: 160px;
}
#home_map_legend > h3 {
  line-height: 30px;
  height: 30px;
}
#home_map_select {
  float: none;
  padding: 0 20px 20px 20px;
  width: 100%;
  height: auto;
}
#home_map_large .ol-viewport {
  margin: -24px 0 0 -24px;
  margin: 0;
  width: calc(100% + 48px) !important;
  width: 100% !important;
  z-index: 0;
}
#_home_map_large .ol-viewport canvas {
  width: calc(1024px + 96px) !important;
  height: calc(1104px + 103px) !important;
}
.home_map_select_pane {
  position: relative;
  float: left;
  margin-bottom: 0.6em;
  top: 0;
  width: calc((92%) / 3);
  margin-left: 2%;
}
/* .home_map_select_pane:nth-of-type(2n) {
  margin-left: 2%;
  margin-right: 2%;
} */

.home_map_select_others a {
  border: solid 2px #fff;
  font-size: 16.64px;
  line-height: 38.48px !important;
}
.title_mini {
  display: inline-block;
  top: 15px;
  font-size: 15px;
  z-index: 100;
}
.home_map_secect {
  width: 100% !important;
}
.home_map_select_others {
  float: left;
  width: calc((98%) / 2);
  margin-left: 0.5%;
  margin-right: 0.5%;
  margin-top: 1.3%;
  margin-bottom: 18px;
}

.home_map_select_others a {
  /* font-size: 0.65rem; */
}

.home_map_select_wrapper {
  flex-direction: row;
  align-self: stretch;
}

#home_map_legend {
  bottom: 24px;
  font-weight: normal;
}
#home_map_legend #home_map_legend_icons li {
  font-size: 0.8em !important;
}

#home_map_large {
  padding: 20px;
}
#home_map_large .ol-zoom {
  right: 20px;
  bottom: 0;
}
#home_map_large .ol-zoom-in {
  width: 50px;
  height: 50px;
}
#home_map_large .ol-zoom-out {
  width: 50px;
  height: 50px;
}
#home_map_large button {
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  font-size: 1.3em;
  line-height: 30px;
  background: #fff;
  outline: none;
  border: solid 1px #ccc;
}

#home_info {
  float: none;
  width: 100%;
  -o-border-radius: 4px;
  -ms-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
#home_info_topics,
#home_info_news,
.placeholder {
  margin-bottom: 1.5em;
}

.news-inner {
  height: 130px;
}

#home_info_topics {
height: 100px;
}
#home_info_news {
  height: 230px;
}
#home_info_news.active {
  height: 100%;
  padding: 10px;
  min-height: 240px;
}
#home_info_others{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#home_info_others_left {
  line-height: 1.5em;
  width: 100%;
}

#home_info_others_right{
  width: 100%;
}
#home_info_others_right #home_info_mail {
  height: 132px;
  padding: 25px 20px;
}
#home_info_others_left p a {
  height: 35px;
  line-height: 35px;
}
#home_info_mail_left {
  width: calc(100% - 100px);
}
#home_info_mail_right {
  width: 88px;
}
#home_info_mail_right img {
  width: 100%;
  height: auto;
}
.home_info_columns {
  margin-left: 5%;
  margin-right: 5%;
}

.timeline-Header {
  display: none;
}
/** Top_maps **/

#top_maps td {
  display: block;
  margin-right: 0;
  width: 100%;
  border-right: none;
}
#top_maps tr td:not(:last-of-type) {
  border-bottom: solid 2px #fff;
}
#top_maps tr td.city_empty {
  border-bottom: none;
}
#top_maps .city_name {
  width: 25%;
  width: 32%;
}
#top_maps .table_areas {
  float: none;
  margin-right: 0.5%;
  margin-bottom: 15px;
  width: 100%;
}
#top_maps .hinanjo_open .city_name a {
  background: #00c289 url(../images/common/hinanjo_label.png) no-repeat right
    8px center / 14px;
}
#top_maps .city_name a {
  padding: 7px;
}
#top_maps .tile_container {
  width: 75%;
  padding: 5px;
}
#top_maps .tile_container .tile {
  padding: 5px;
}
.legend_mark_chuihou,
.legend_mark_keihou,
.legend_mark_tokubetsu,
.legend_mark_keikai {
  display: inline-block;
  width: 25px;
  line-height: 20px;
  border-left-width: 5px;
}
.legend_mark_hinanjo {
  display: inline-block;
  width: 25px;
  line-height: 24px;
}

/** Top_info **/

#home #top_info {
  background: #f0f8f8;
  -webkit-text-size-adjust: none;
}
.top_info_container {
  padding: 2em 0;
}
#top_info #top_info_left,
#top_info #top_info_right {
  float: none;
  width: 100%;
}
#top_info #top_info_right {
  padding: 0;
}
.info_item .title_container h2 {
  font-size: 1.15em;
}

#kisho_info .title_container > h2 {
  margin-right: 0;
}
._title_container .update_time,
._subtitle_container .update_time {
  font-size: 0.8em !important;
}
.subtitle_container {
  margin-bottom: 6px;
}
.update_time {
  margin-bottom: 6px !important;
  font-size: 0.8em !important;
  line-height: 1.4em;
}
.table_container h3 {
  font-size: 1.1em;
}
.info_item_container.double .info_item {
  float: none !important;
  width: 100%;
}
.tolist_remAbsolute {
  position: static;
  display: inline-flex;
  justify-content: flex-end;
  margin: 0 -10px 0 0;
  width: 100%;
}
#top_info #top_info_left {
  padding: 0;
  border-right: none;
}

/* Bousainews */

.news_icon {
  /* margin-top: 5px; */
  width: 30px;
  height: 30px;
  line-height: 30px;
}
.news_frame {
  padding: 1.5em 1.5em 0.5em 1.5em;
}

.bousainews-ttl-wrapper {
  flex-direction: column;
  align-items: start;
}
.home_news_hanrei {
  font-size: 0.9em;
  width: 100%;
}

.bousainews_hanrei .home_news_hanrei {
  width: auto;
}

.home_news_hanrei > ul {
  float: right;
}

/* #operation_info > .title_container {
  flex-direction: row;
}

#operation_info > .title_container > .home_news_hanrei {
  width: auto;
}

#operation_info > .title_container > .home_news_hanrei > ul {
  float: right;
  flex-direction: column;
}

#operation_info > .title_container > .home_news_hanrei > ul > li {
  margin-bottom: 2px;
} */

.home_news_hanrei .news_icon {
  width: 25px;
  height: 25px;
  line-height: 25px;
  font-size: 0.8em;
}

/* Kishou */

.list_link.link_external,
.link_external {
  padding-left: 39px;
  background: url(../images/common/icon_external.png) no-repeat left center /
    27px;
}
#kisho_link_external li.link_external a {
  display: block;
  text-decoration: none;
}
#shikuchouson_list_sp {
  margin-bottom: 2em;
}

.link_external {
  /* width: 0 !important;
  height: 0 !important; */
}

/* Zishin_tsunamiinfo */

/* Keikailevel */

.hinan_frame_left,
.hinan_frame_right {
  float: none;
  width: 100%;
}
.hinan_frame_left {
  margin-bottom: 1em;
}

/* Hinanjo */

.hinanjo_area_table {
  display: -ms-flexbox;
  display: flex;
  padding-bottom: 45px;
  padding-bottom: 0;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}
._hinanjo_area_table:after {
  position: absolute;
  right: 0;
  bottom: 0;
  content: "";
  width: 60px;
  height: 30px;
  background: url(../images/common/icon_scrollable.png) no-repeat center / 60px;
}
.hinanjo_area_table table {
  width: 250%;
  background: #fff;
}
.hinanjo_area table {
  background: #fff;
}

/* Home_Local */

#home_info_local {
  height: auto;
}
#home_map_image {
  height: 474px;
}
.page_local #home_info_others p a {
  height: auto;
}
.page_local #top_info {
  /* padding: 1em; */
  background: #f0f8f8;
}
#home_info_topics .tolist,
#home_info_news .tolist {
  right: 24px;
  top: 18px;
}

/*すべてのカメラ画像ページ 27000/camera_all 用 */
.all-Camera-wrapper {
  flex-direction: column;
}

.all-Camera-card {
  padding: 5% 3%;
}

.all-Camera-card a {
  font-size: 25px;
}

/*河川のカメラ画像 27000/rivers-camera.html 用*/

.rivers-wrapper {
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 10px;
}

.rivers-wrapper>div {
  width: calc(100% / 2 - 20px);
}


/*災害に備えて用*/
.prepare-left {
  display: none;
}
.prepare-left a {
  font-size: 1rem !important;
}
.prepare-right {
  padding: 0;
}
.prepare-right-spttl {
  display: block;
  text-align: center;
  background-color: #203764;
  color: white;
}
.prepare-right {
  width: 100%;
}
.prepare-right-btn {
  flex-direction: column;
  /* width: 100%; */
  /* height: 40px; */
}

/*日常の心得用*/
.kokoroe-right{
  width: 100%;
}
.kokoroe-left {
  display: block;
  order: 2;
  width: 88%;
  margin-top: 40px;
}
.kokoroe-left .prepare-left-2ndletter {
  line-height: 1.5rem;
}
.kokoroe {
  flex-direction: column;
}


/*地震発生時の心得用*/
.kokoroe-right-jishin {
  padding: 30px 10px;
}
.kokoroe-right-jishin-btn {
  text-align: left;
  padding: 15px;
}

/*防災ボランティア用 */
.bosai-vol-btn > a {
  width: 100%;
  text-align: center;
}
.bosai-vol-application {
  flex-direction: column;
  padding: 0;
}
.bosai-vol-application > img {
  width: 100%;
}
.bosai-vol-application-inner {
  width: 100%;
}

/* 一覧表示用 */
.other_list_style-wrap > ul {
  justify-content: center ;
}
.other_list_style_notcenter {
  justify-content: left !important;
}


/*
*地域防災計画用
*/
.area_bousai_ttl {
  flex-direction: column;
}

.area_bousai_ttl a {
  /* font-size: 0.6em; */
}
.area_bousai_ttl_btn {
  width: 98%;
  display: flex;
  justify-content: end;
  padding: 5px;
}

/*preventinfomail用*/
.preventinfomail_mailoverview > table {
  width: 100% !important;
}

.preventinfomail_nagare > img,
.preventinfomail_kaijo img,
.preventinfomail_mailchange img{
    width: 50% !important;
}
.preventinfomail_qr img {
  width: 25% !important;
}
.preventinfomail_links {
  display: inline-flex;
  /* flex-direction: column; */
  flex-wrap: wrap;
  justify-content: center;
}
.preventinfomail_links a {
  width: 200px;
  padding: 1px;
}
/* .preventinfomail_links a:last-of-type {
  line-height: 80px;
} */
/* @media screen and (max-width: 420px) {
  #header {
    position: static;
  }
} */


#operation_info .folder_tree>.file_name#help,
#operation_info .folder_tree>.file_name#privacy {
  display: block;
  margin-top:-120px;
  padding-top:120px;
}

/* SPの背景色指定 */
.sp_bg_color {
  background: #f0f8f8;
}

.yajirushi {
  top: 17px;
}
.yajirushi.active {
  top: 12px;
}

/*アンカーリンク表示場所対策*/
.contact_list_ttl#byouin,
.contact_list_ttl#hokenjo,
.contact_list_ttl#denki,
.contact_list_ttl#gas,
.contact_list_ttl#jyousuido,
.contact_list_ttl#gesuido,
.contact_list_ttl#denwa{
    margin-top:-100px;
    padding-top:100px;
}
.contact_list_ttl#byouin~p,
.contact_list_ttl#hokenjo~p,
.contact_list_ttl#denki~p,
.contact_list_ttl#gas~p,
.contact_list_ttl#jyousuido~p,
.contact_list_ttl#gesuido~p,
.contact_list_ttl#denwa~p{
padding-bottom: 15px;
}

#roi-wrapper{
  margin-top: -100px !important;
  padding-top: 150px;
}

.page_local #top_info_right #kisho_info.info_item {
  margin-top: -100px;
  padding-top: 100px;
}

/*避難所検索説明用*/
.hinanjo_serch-content {
  padding: 0 15px;
}
.hinanjo_serch-content:nth-of-type(2) {
  gap: 30px;
  font-size: 1em;
  line-height: 1.5em;
}
.hinanjo_serch img {
  width: 60%;
}
/* .hinanjo_serch img:nth-of-type(1) {
  width: 35%;
} */

/*防災リンク集用*/
.bousai_link_content {
  width: 100%;
  margin: 10px;
}

/*市町村トップ大阪府のページへ用*/
.pref_links_text {
  font-size: 0.8em !important;
}

/*map上*/
.home_map_hinan {
  font-size: 0.7em;
}

#traffic_button:hover {
  color:#888888;
  background-color: #ffffff;
  opacity       : 1;
}
#traffic_button.isActive{
  color:#000000;
  background-color: #ebebeb;
}


#traffic_button {
  position: absolute;
  top: 11px;
  background-color: #ffffff;
  left: 215px;
  height: 40px;
  padding-top: 0px;
  cursor:pointer;
  width:90px;
  font-size:18px;
  text-align:center;
  color:#888888;
  display:none;
}




.top_maps_legend_attention {
  font-size: 0.8em;
}


.news-alert-area {
  top: 8px;
}

.news-alert-city {
  top: 7px;
}

#news-js-readmore p {
  padding-bottom: 0;
}

.osaka_pump_info {
  width: 530px;
}

#node_info_right > p {
  padding-bottom: 50px;
}

/* 防災の心得TOPのメニュー */
.kokoroe-left-menu-top {
  display: none;
}