@charset "utf-8";

/**
 * MBC Weather Style 2026 (Refactored)
 * 令和8年 防災気象情報体系整理 対応版
 */

/* StyleSheet for font Settings */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.woff2) format("woff2"), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.woff) format("woff"), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.otf) format("opentype");
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.woff2) format("woff2"), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.woff) format("woff"), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.otf) format("opentype");
  font-family: 'Noto Sans Swap';
  font-display: swap;
}

body {
  line-height: 1.25;
}


.selector-for-some-widget {
  box-sizing: content-box;
}



/*==========================================*/
header {
margin:0 auto;
padding:0 auto;
background-color:#0099ff;
}

footer {
  padding: 5px;
  margin: 0px auto 0 auto;
  background-color: #f8f8f8;
}

/*==========================================*/


.title_vew h1{
margin:0 auto;
padding: .7em 0 0 0;
font-size:clamp(1.625rem, 1.429rem + 0.98vw, 1.875rem);
color:#fff;
font-weight:700;
}
.title_vew a{
text-decoration: none;
}

@media(max-width:769px) {
.title_vew h1{text-align: center;}
}

.chiikiselect{margin:1.25em 0;justify-content: flex-end;}

label {
  display: inline-block;
   margin-bottom: 0%;
/*   color: #FFF;*/
   font-weight: bold;
}



.bn-waku{
margin:1em auto;
text-align: center;
padding: 0 auto;
max-width:728px;
}
.bn-waku img{margin:0 auto;max-width:100%;}



.select-wrap{

}


table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
  border-bottom: 1px solid #eee;
  border-left: 1px solid #eee;
}

table tr {
  background-color: #fff;
  padding: .2em;
  border: 1px solid #eee;
}

.bordert{
  border: none;
}

/* table tr:last-child{
  border: none;
}
 */
table th{
  padding: .2em;
  border-right: 1px solid #fff;
  text-align: center;

}

table td {
  padding: 1em;
  font-size: 1.0em;
}

table th {
  font-size: 0.5em;
  padding: 0.5em;
}

table thead tr{
  background-color: #50598d;
  color:#fff;
}

.table_color{
  background-color: #50598d;
  color:#fff;
}

table tbody th {
    border-right: 1px solid #eee;
}

th.non {
    border-right: none;
}

.kisyo_only table td{
  padding: 1em;
  text-align: center;
  font-size: 0.9em;
  /* border-right: 1px solid #eee; */
  /* border-bottom: 1px solid #eee;*/
}

.add_box{
  text-align: center;
  margin: 0 auto;
}
.week_point{
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  overflow-x: scroll;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  border-bottom: 0px solid #eee;
  border-left: 0px solid #eee;
  /* table-layout: fixed; */
}

.week_point ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.point{
  font-size: 0.8em;
  /* border-right: 2px solid #eee; */
}

.week_point tbody th {
  font-size: 0.8em;
  /* border-right: 2px solid #eee; */
}

/* .top_h{
  margin-top: 3.3rem !important;
}
 */
.week_point tr {
/*   background-color: #fff; */
  border: 0px solid #eee;
}

.gle{
  background-color: #FFF;
}

.week_point td {
  padding: .2em;
  border-right: 1px solid #eee;
  text-align: center;
  width: 60px;
  display: inline-block;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}

.week{
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
  display: block;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  border-bottom: 0px solid #eee;
  border-left: 0px solid #eee;
  table-layout: fixed;
  font-size: 0.8em;
}

.week_tb {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
  border-bottom: 1px solid #eee; 
  border-left: 1px solid #eee; 
}

.week_tb td {
    padding: .2em;
    border-right: 1px solid #eee;
    text-align: center;
    font-size: 0.8em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.week_tb tr {
  background-color: #fff;
  padding: .2em;
  border: 1px solid #eee;
}

.week_tb tbody th,.time_color {
  border-right: 1px solid #eee;
  background-color: cornflowerblue;
  color: #FFF;
}


.point_break {
  left: -1px;
  position: sticky;
  text-align: left;
  background-color: #FFF;
  border: solid;
  border-color: #FFF;
  border-width: 3px;
  margin-left: -1px;
  -webkit-transform: translateZ(0);

/*   filter: drop-shadow(0px 0px 1.5px rgba(0,0,0,0.3)); */
}

.icon_lp {
  position: sticky;
  height: 50px;
  text-align: left;
  background-color: #FFF;
  -webkit-transform: translateZ(0);
/*   filter: drop-shadow(0px 0px 1.5px rgba(0,0,0,0.3)); */
}

.week_wether_chi{
  display: inline-block;
  margin-bottom: 10px;
}
/*スクロールバーの幅*/
.week_point ::-webkit-scrollbar {
  width: 6px;
}
/*スクロールバーのレール*/
.week_point ::-webkit-scrollbar-track {
  border-radius: 1px;
  background: #eee;
}
/*スクロールバーのつまみ*/
.week_point ::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #81D4FA;
}

.week_point tbody th {
    /* border-right: 1px solid #eee; */
    width: 70px;
    display: inline-block;
    font-size: 1em;
}

.week_point tbody th .icon_lp{
  /* border-right: 1px solid #eee; */
  width: 70px;
  display: inline-block;
  height: 50px;
  font-size: 1em;
}

.warning_time{
  font-size: 0.8em;
  font-weight: 400;
}


.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: #fff;
  background: #007bff;
  cursor: auto;
}

.nav-tabs .nav-link {
  color: #333;
  float: left;
  padding: 5px 10px;
  border: 1px solid #007bff;
  cursor: pointer;
  list-style: none;
  transition: .3s;
  border-top-left-radius: 0rem;
  border-top-right-radius: 0rem;
  font-size: 0.8em;
}

/* .nav-link {
  display: block;
  padding: .3rem 0.5rem;
} */

@media(max-width:375px) {
    .nav-tabs .nav-link {
      color: #333;
      float: left;
      margin: 0 1px -1px 0;
      padding: 10px 10px;
      border: 1px solid #007bff;
      cursor: pointer;
      list-style: none;
      transition: .3s;
      border-top-left-radius: 0rem;
      border-top-right-radius: 0rem;
      font-size: 0.8em;
  }
}


@media(max-width:320px) {
  .nav-tabs .nav-link {
    color: #333;
    float: left;
    margin: 0 1px -1px 0;
    padding: 10px 4px;
    border: 1px solid #007bff;
    cursor: pointer;
    list-style: none;
    transition: .3s;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    font-size: 0.8em;
  }
}


/*==========================================*/


h2 {
font-size: clamp(1.25rem, 1.159rem + 0.45vw, 1.5rem);
margin-top: 1rem;
}

h3 {
position: relative;
padding-left: 0.6em !important;
font-size:clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
margin-top: 0.8em;
margin-bottom: .8em;
font-weight: 500;
}

h3::after {
		position: absolute;
		top: 50%;
		left:0;
		transform:translateY(-50%);
		content: '';
		width: 5px;
		height:1.2em;
		background-color: #446689;
}

h4 {
  position: relative;
  padding-left: 0.8em !important;
  font-size: 1rem !important;
  margin-top: 0.8em;
  margin-bottom: 0.4em;
  font-weight: 600;
}

h4::after {
  position: absolute;
  top: 50%;
  left:0;
  transform:translateY(-50%);
  content: '';
  width: 5px;
  height:1em;
  background-color: #669ed8;

}



.container-fluid{
  background-color:#007bff;
  margin-top: 30px;

}
.container-fluid p.copy {
	text-align:center;
	font-size:0.6rem;
	color: #FFF;
	padding:2rem 0;
	margin: 0;
	background-color:#007bff
}

/*==========================================*/


.warnArea_table_column-01{
  background-color: #fcfcff;
  font-size: 0.8em;
}

.warnArea_table_column-02{
  background-color: #fcfcff;
  font-size: 0.8em;
}

.warnArea_table_column-03{
  background-color: #fcfcff;
  font-size: 0.8em;
}

.warnArea_table_column-04 {
  font-size: 0.8em;
}
/*==========================================*/

.red-txt{
  color:#e81010;
  font-size: 0.5em;
}

.blue-txt{
  color:#00b6d8;
  font-size: 0.5em;
}

.small_txt_06 {
	font-size:.6em;
}

/*==========================================*/

.resizeimg img { width: 100%; }

.bm_2 {
	margin-bottom:2em;
}

/*==========================================*/


.btn{
  color:#fff;
  padding: 1em;
  border-radius:20px;
  display:block;
  text-decoration:none;
  font-size:.8em
}

.btn:hover{
  background: #fff;
  transition: .2s;
}


/*==========================================*/

.add_box {
  margin-top:1rem;
  text-align: center;
}

/*==========================================*/

/*アコーディオン*/
ul,li{
  margin: 0;
  padding: 0;
  list-style: none;
}

#accordion_menu > li {
  border: #eee 1px solid;
  margin-bottom: -1px;
}
#accordion_menu a{
  color: #fb0000;
  font-weight: 500;
}
/*
#accordion_menu a:before{
  background-image: url('../img/icon-warning.png');
  background-repeat: no-repeat; 

 	content:"";
	display:inline-block;
	width:0.8em;
	height:0.8em;
	background:url('../img/icon-warning.png') no-repeat;
  background-size:contain; 
}*/

#accordion_menu a[data-toggle="collapse"]{
  display: block;
  padding: 10px;
  text-decoration: none;
  position: relative;
  font-size: 0.9em;
}
#accordion_menu a[data-toggle="collapse"]:hover{
  background: #fedad9;
}

.li_linji,.li_tatsu,.li_tanji,.li_temperature,.li_dosya,.li_kouhai,.li_hunca,.li_oame,.li_kasen{
  line-height: 180%;
  font-size: 1.3em;
  background-color: #eee;
}

.li_linji{
margin: 0.1rem 0;
}


.li_kasen{
  display: block;
  padding: 10px;
  text-decoration: none;
  position: relative;
  font-size: 1.1em;
}

#menu06,#menu01,#menu02,#menu03{
  padding: 0.5em;
  padding-bottom: 1em;
}


#accordion_menu a[data-toggle="collapse"]::after{
  content:"";
  display: block;
  width: 8px;
  height: 8px;
  border-top: #0c0c0c 1px solid;
  border-right: #0c0c0c 1px solid;
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
}
#accordion_menu a[aria-expanded=false]::after{
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  transition-duration: 0.3s;
}
#accordion_menu a[aria-expanded=true]::after{
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  transition-duration: 0.3s;
}

/*アコーディオン　END*/


.kaisha {
  width: 100%;
  }

.kaisha tbody{
    width: 100%;
  }
    
    

.kaisha th, .kaisha td {
    /* border: 1px solid #ccc; */
    padding: 10px;
}
  
  .kaisha th {
  font-weight: bold;
  background-color: #dedede; 
  }
  


  @media screen and (max-width: 767px) {
  .kaisha,
  .kaisha tr,
  .kaisha td,
  .kaisha th {display:block;}
  .kaisha th {width:auto;}
  }


  @media screen and (max-width: 600px) {
    .wrap{
      overflow-x: scroll;
    }
}

/* accordionfont */
.read-linji-1,.read-linji-2,.read-tatsu-1,.read-tatsu-2,.read-tanji-1,.read-tanji-2,.read-tanji-1,.read-tanji-2,.read-temperature-1,.read-temperature-2,.read-dosya-1,.read-dosya-2{
  font-size: 0.9em;
  text-align: justify;
  text-justify: inter-ideograph;
  padding-bottom: 10px;

}




/*アイコン　警報*/
.icoWarning{
  display: inline-block;
  min-width: 5.3em;
  padding: 5px;
  border-radius: 2px;
  font-size: 0.9rem;
  line-height: 1;
  overflow: hidden;
  text-align: center;
  margin: 4px;
}

.icoWarnToEmg, .icoWarning {
  background: #e60013;
  color: #fff;
  display: inline-block;
}

.city_icon {
  background: #ffe400;
  color: #000;
  display: inline-block;
}

/*アイコン　注意報*/
.city_icon{
  display: inline-block;
  min-width: 5.5em;
  padding: 5px;
  border-radius: 2px;
  font-size: 0.9rem;
  line-height: 1;
  overflow: hidden;
  text-align: center;
  margin: 4px;
}

.jishin{
  display: none;
}


.jishinn-all{
  display: none;
}


/* セレクトbox */
.cp_ipselect {
	overflow: hidden;
	width: 90%;
	margin: 2em auto;
	text-align: center;
}
.cp_ipselect select {
	width: 100%;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.cp_ipselect select::-ms-expand {
    display: none;
}
.cp_ipselect.cp_sl01 {
	position: relative;
	border: 1px solid #bbbbbb;
	border-radius: 2px;
	background: #ffffff;
}
.cp_ipselect.cp_sl01::before {
	position: absolute;
	top: 0.8em;
	right: 0.9em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #666666;
	pointer-events: none;
}
.cp_ipselect.cp_sl01 select {
	padding: 8px 38px 8px 8px;
	color: #666666;
}

.reader {
  width: 100%;
  height: auto;
}

.swiper-container-horizontal > .swiper-scrollbar {  
	height: 5px; /* 高さ */
}
.swiper-scrollbar {
  background: rgba(34, 137, 251, 0.3); /* 背景色（現在のスライド以外） */
	border-radius: 5px; /* 丸み */
}
.swiper-scrollbar-drag {
	background: rgba(34, 137, 251, 0.7); /* 背景色（現在のスライド） */
	border-radius: 5px; /* 丸み */
}




.table td, .table th {
  padding: 0.8em;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  font-size: 0.9em;
  line-height: 180%;
}

ul li{
  line-height: 180%;
}


.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
  font-size: 0.9em;
}

/*ボタン*/
.button {
  background-color: #333;
  border: 2px solid #333;
  color: #fff;
  line-height: 50px;
}
.button:hover {
  background-color: #fff;
  border-color: #59b1eb;
  color: #59b1eb;
}

.button01{
  display: block;
  width: 100%;
  height: 70px;
  line-height: 70px;
  font-weight: bold;
  color: #FFF;
  text-decoration: none;
  text-align: center;
  background-color: #116eb4;
  border-radius: 3px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  margin-bottom: 10px;
}
.button01:hover{
  background-color: #3aa1ef; /*ボタン色*/
  text-decoration: none;
}

.button02{
  display: block;
  width: 100%;
  height: 70px;
  line-height: 70px;
  font-weight: bold;
  color: #FFF;
  text-decoration: none;
  text-align: center;
  background-color: #f39800;
  border-radius: 3px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  margin-bottom: 10px;

}
.button02:hover{
  background-color: #f39800; /*ボタン色*/
  text-decoration: none;
}

.button03{
  display: block;
  width: 100%;
  height: 70px;
  line-height: 70px;
  font-weight: bold;
  color: #c1272d;
  text-decoration: none;
  text-align: left;
  background-color: #f2f2f2;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  margin-bottom: 10px;
  padding-left: 25px;
  border-style: solid;
  border-color: #afadad;
  border-width: 1px;
}
.button03:hover{
  background-color: #f2f2f2;
  text-decoration: none;
}


.button04 {
  display: block;
  width: 100%;
  height: 70px;
  line-height: 70px;
  font-weight: bold;
  color: #116eb4;
  text-decoration: none;
  text-align: center;
  background-color: #FFF;
  border-radius: 3px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  margin-bottom: 10px;
}

.button04:hover{
  background-color: #f2f2f2;
  text-decoration: none;
}

.pc_ad{
  display: none;
}

.mobile_ad{
  display: inline-block;
}


.button04{
  display: block;
  width: 100%;
  height: 35px;
  line-height: 32px;
  font-weight: bold;
  color: #c1272d;
  text-decoration: none;
  text-align: left;
  background-color: #f2f2f2;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  margin-bottom: 10px;
  padding-left: 25px;
  border-style: solid;
  border-color: #afadad;
  border-width: 1px;
}
.button04:hover{
  background-color: #f2f2f2;
  text-decoration: none;
}

.warnArea_table_column-01{
  display: none;
  }

.warnArea_table_column-02{
    display: none;
  }

/*form CSS*/
.select-wrap {
  position: relative;
  width: 100%;
max-width: 250px;
margin:0 auto
}

.select-wrap:before {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  content: '';
  width: 15px;
  height: 15px;
  background-size: contain;
}

.select-wrap select{
  width: 100%;
  outline:none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 45px;
  padding: 5px;
  border:1px solid #ccc;
  background-color: #fff;
  border-radius: 5px;
}

.select-wrap select::-ms-expand {
  display: none;
}

/* #mbc-globalnav ul {
  list-style: none;
  padding: 0;
}
 */
.liko{
  display: inline-block;
  height: auto;
}

  
th {
  padding: 0.2em;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
}
  
td .keiho_all_cell_td{
  padding: 0.5em;
  margin:0 auto 0.6em;
  box-sizing: border-box;

}

.title_hypocenter_magunitude_all,.title_hypocenter_maxscale_all,.title_hypocenter_shingen_all,.title_hypocenter_time_all,.title_seismicintensity7,.title_seismicintensity6,.title_seismicintensity6,.title_seismicintensity6-jaku,.title_seismicintensity5-kyo,.title_seismicintensity5,.title_seismicintensity5-jaku,.title_seismicintensity4,.title_seismicintensity3,.title_seismicintensity2,.title_seismicintensity1,.title_seismicintensity6-kyo{
  background-color: #50598d;;
  color: #fff;
  width: 30%;
}


.none_a a:before {
  content: "";
  background-size: contain;
}

/* .side_contents2{
  display: none;
} */


/* PC用：768px以上の場合 */
@media(min-width:768px) {
  .side_contents2{
    display: inline-block;
  }
  
  .table_keiho {
    max-width: 100%;
    margin: 0 auto;
  }


  th {
    display: table-cell;
    width: 10%;
    padding: 0.5em;

  }

  td {
    display: table-cell;

    }

  .warnArea_table_column-01{
    display: table-cell;
    }

  .warnArea_table_column-02{
    display: table-cell;
  }

  .pc_ad{
    display: inline-block;
  }

  .mobile_ad{
    display: none;
  }

	.livecamera h3 {
		margin-top: .8em;
	}
}

.keiho_all_cell{
  font-size: 0.8em;
  width: 18%;
}

.keiho_all_cell_td{
  width: 100%;
  height: auto;
  text-align: justify;
  padding-top: 10px;
}

.read-temperature-naze,.read-tanjiame-naze,.read-tatsu-naze,.read-keiho-only ,.read-tatsu-kago,.read-tanjiame-kago,.read-temperature-kago,.read-dosya-kago,.read-dosya-icon,.read-linji-kago,.read-linji-naze,.read-dosya-only,.oameli{
  padding: 10px;
}

/*津波警報バック*/
.ootsuna,.tsunami_oo_hatu {background-color: #7d0282; color: #FFF; font-size: 1.2em;}
.keitsuna,.keitsuna_kai {background-color: #ff2800; color: #FFF; font-size: 1.2em;}
.chutsuna,.tsunami_chu_kai_h {background-color: #ffff00; color: #000; font-size: 1.2em;}

.tsunami_comment{font-size: 1.2em;}


.kei_hatu:empty {
  display: none;
}

.tsunami_time{
  font-size: 0.6em;
}

.del{
  display: none;
}

.seismicintensity1,.seismicintensity2,.seismicintensity3,.seismicintensity4,.seismicintensity5,.seismicintensity6,.seismicintensity7,.seismicintensity5-jaku,table .seismicintensity5-kyo,table .seismicintensity6-kyo,table .seismicintensity6-jaku{
  text-align: left;
  border: 1px solid #eee;
}

.oo_hatu_tr td,.chi_hatu_tr td,.kei_hatu_tr td{
  padding-top: 1.2em;
  padding-bottom: 1.2em;
}


.tanji_display_time_kago,.tanji_display_time_naze,.temperature_display_time_naze,.temperature_display_time_kago,.linji_display_time_kago,.linji_display_time_naze,.tatsu_display_time_naze,.tatsu_display_time_kago,.dosya_display_time_only{
  text-align: right;
  display: block;
  font-size: 0.8em;
  color: #656565;
}

.read-tatsu-kago_only,.read-linji-naze_only,.read-linji-kago_only,.read-linji-naze_only,.read-tanjiame-kago_only,.read-tanjiame-naze_only,.read-temperature-kago_only,.read-temperature-naze_only,.read-dosya-kago_only,.read-dosya-naze_only{
  font-size: 0.9em;
  line-height: 180%;
}

.warnArea_table_column-01{
  width: 20%;
}

.warnArea_table_column-02{
  width: 15%;
}

.warnArea_table_column-03{
  width: 25%;
}

.warnArea_table_column-04{
  text-align: left;
  width: 40%;
}

.warnArea_table td{
  padding: 0.8em;
  border-right: 1px solid #eee;
  border: 1px solid #eee;
}

#accordion_menu{
  margin-top: 10px;
  margin-bottom: 10px;
}


/* 警報欄 */
#weather-keihou .waku-tokubetsu {
background-color : #000000;
text-align : left;
color : #fff;
}


#weather-keihou table {
	border-collapse: collapse;
	margin: 20px 0;
	padding: 0;
	width: 100%;
	border: none;
}
#weather-keihou tr {
	border: 1px solid #444;
}

#weather-keihou .waku1 {
	background-color : #ff2800;
	border: none;
	color : #fff;
	text-align: left;
}
#weather-keihou .waku1 font{
	color : #fff;
}

#weather-keihou .waku2 {
	background-color : #aa00aa;
	border: none;
	color : #fff;
	text-align : left;
}

#weather-keihou .waku3 {
	background-color : #ffffcc;
	border: none;
	text-align : left;
}

#weather-keihou .waku {
	border: none;
}

@media (max-width: 991.98px) {
	#weather-keihou table {
		table-layout: auto;
	}
	#weather-keihou td {
		display: block;
	}
}

@media (min-width: 992px){
/* 	.mbcnav-mainnav {
		-ms-flex-pack: end;
		justify-content: flex-end;
		margin-bottom: 0;
		position: absolute;
		top: 35px;
		right: 0;
  }  
}
 */

.news10{
  margin-bottom: 10px;
}
.mbc-logo h1 {
    margin: 0;
    margin-bottom: .5rem;
    margin-left: .5rem;
    font-size: 0;
}

.liko {
  padding: .2em;
  border-right: 1px solid #eee;
  text-align: center;
  width: 100%;
  text-align: left;
  padding-top: 3%;
  padding-bottom: 3%;
  border-top: 1px solid #eee;
}

.chiki{
  width: 30%;
  font-size: 1em;
  padding-top: 3%;
  padding-bottom: 3%;
  border-top: 1px solid #eee;
  font-weight: 500;
  background-color: #f4f4f4;
}

.typhoon {
  white-space: pre-line;
  /* width: 100px; */
  white-space: normal;
  line-height: 180%;
  padding-bottom: 50px;
  display: block;
}

/*　buttonA　*/
.jishin_all_button {
  border: 3px solid rgb(240,12,65);
  background-color: rgba(240,12,65,0);
  color: rgba(240,12,65,1);
  width: 100%;
  padding: 15px;
  line-height: 1.2em;
}

/*　ライブカメラ　*/
.cam-image {
  display: block;
  position: relative;
  margin: 0;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}
}



/* for PC */
/*
@media print, screen and (min-width: 960px) {
  #weather-keihou{margin: 0 auto; width: 100%;}
  
  #weather-keihou .waku2{width: 20%;}
  #weather-keihou .waku3{width: 80%;}
  #weather-keihou td,#weather-keihou tr{font-size: 16px;}
  } 

 @media only screen and (min-width: 769px) and (max-width: 959px) {
  #weather-keihou{margin: 0 auto;width: 100%;}
  #weather-keihou .waku2{width: 20%;}
  #weather-keihou .waku3{width: 80%;}
  #weather-keihou td,#weather-keihou tr{font-size: 15px;}
  } 
  
 @media screen and (max-width: 768px) {
  #weather-keihou{margin: 10px;}
  #weather-keihou table, .keihou_tbody, .waku, .waku1, .waku2, .waku3 {display: block; font-size: 15px;}
  COL{width: 100%;}
}
*/


@media print, screen and (max-width: 481px){
  #lisr{
    display: none;
  }
}

@media print, screen and (min-width: 481px){
  #linji_t {
    padding: 10px 0 8px 0;
    font-size: 1.2em;
    line-height: 1.4;
  }

  .menulist{
    display: none;
  }

}

.botots{
  margin-top: 60px;
}



#linji_t {
  display: block;
  width: 100%;
  line-height: 50px;
  font-weight: bold;
  color: #FFF;
  text-decoration: none;
  text-align: center;
  background-color: #b41111;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  margin-bottom: 10px;
  margin-top: 10px;
}


/* sideのスタイル */
.side_contents,
.side_contents2 {
	margin-top: 3rem;
}
@media (min-width: 768px) {
	.side_contents,
	.side_contents2 {
		margin-top: 1.5rem;
	}
}

/* side臨時リンクのスタイル */
.event-links-container {
	margin: 1.5rem auto 1rem;
}
.event-links-bnr {
	display: block;
	border:1px solid rgba(0,0,0,.2);
}
@media (min-width: 768px) {
	.event-links-bnr-title {
		display: none;
	}
}

/* 台風情報のページ */
.typhoon-ichi-top{
margin-bottom: 3em;
overflow: scroll;
height:160px;
overflow-x:hidden;
}


/* 初日の出のページ */
#hatsuhinode .event-links-container {
	display: none;
}

/* サクラのページ */
#sakura .event-links-container.sakura {
	display: none;
}
@media (min-width: 768px) {
	.hr-sakura {
		display: none;
	}
}

/* 花粉のページ */
#kafun .event-links-container.kafun {display: none;}
#kafun p img{max-width:100%;}

p.kafun-msg{
margin-top: 20px;
line-height: 1.45;
font-size:1rem;
}

p.linkbn{
padding: 0 1em ;
font-size: 1rem;
text-align: center;
}

p.linkbn a{
text-decoration: none;
display:block;
color:#3cad74;
border: 1px solid #3cad74;
padding: 0.5em;
font-weight: bold;
border-radius:10px;
}
p.linkbn span{font-size:0.75em;}

p.linkbn a:hover{
background: #c6f1db;
}


/* 熱中症のページ */
#nechu .event-links-container.nechu {
	display: none;
}

/* 入浴時警戒情報のページ */
#bathalert .event-links-container.bathalert {
	display: none;
}


.dropmenu {
  width: 100%;
	margin: 0 auto;
}
.dropmenu li {
	position: relative;
}
.dropmenu li a {
	display: block;
	margin: 0;
	padding: 13px 15px;
	font-size: 14px;
	line-height: 1;
	background: #83c2ff;
	color: #ffffff;
	cursor: pointer;
}
.dropmenu li a:after {
	content: '';
	display: inline-block;
	position: absolute;
	right: 15px;
	top: 40%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 5px 0 5px;
	border-color: #FFFFFF transparent transparent transparent;
}
.dropmenu li ul {
	position: absolute;
	width: 100%;
	z-index: 9999;
	top: 100%;
	left: 0;
}
.dropmenu li ul li{
	overflow: hidden;
	height: 0;
	transition: .2s;
}
.dropmenu li ul li a{
	border-top: 1px solid #dddddd;
	background: #efefef;
	color: #333333;
}
.dropmenu li ul li a:after {
	content: none;
}
.dropmenu li ul li:first-child a{
	border-top: none;
}
@media screen and (min-width: 601px) {
	.dropmenu li:hover a:after {
		transform: rotate(180deg);
		transition: .1s;
	}
	.dropmenu li:hover ul li{
		overflow: visible;
		height: 40px;
	}
	.dropmenu li ul li a:hover {
		background: #ffd999;
		transition: .5s;
	}
}
@media screen and (max-width: 600px) {
	.dropmenu li.active_sp a:after {
		transform: rotate(180deg);
		transition: .1s;
	}
	.dropmenu li.active_sp ul li{
		overflow: visible;
		height: 40px;
	}
}




.col-sm-12{
  font-size:  0.8rem;
}

.main-title {
  margin: 0 auto 1em;
  /* padding: 0.5em; */
  border: 1px solid var(--main-color);
  color: var(--main-color);
  font-size: max(1.125rem, min(.989rem + .68vw, 1.5rem));
}


.navilist {
margin: 0 auto;
padding:0;
/*background-color: #f8f8f8;*/
}


.le{
  background-color: rgb(255, 255, 255);
  width: 98%;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 20px;
  padding-bottom: 10px;
}



#load_bg {
	display: block;
	height: 10000000px;
}


/* 追加 */
/**
 * MBC Weather Style 2026 (Refactored)
 * 令和8年 防災気象情報体系整理 対応版
 */

:root {
  /* メインカラー */
  --main-blue: #0099ff;
  --main-dark-blue: #007bff;
  --bg-gray: #f8f8f8;
  --border-color: #eee;

  /* 警戒レベル色（令和8年基準） */
  --level-5: #000000; /* 特別警報 / 氾濫発生 */
  --level-4: #aa00aa; /* 危険警報 / 避難指示相当 */
  --level-3: #ff2800; /* 警報 / 高齢者等避難相当 */
  --level-2: #fff100; /* 注意報 */
  
  /* コンポーネント用 */
  --rinji-blue: #1e88e5;
  --tatsu-orange: #f57f17;
}

/* ===================================================================
   1. Base & Global Styles
   =================================================================== */
body {
  line-height: 1.25;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
}

header {
  margin: 0 auto;
  padding: 0 auto;
  background-color: var(--main-blue);
}

.title_vew h1 {
  margin: 0 auto;
  padding: .7em 0 0 0;
  font-size: clamp(1.625rem, 1.429rem + 0.98vw, 1.875rem);
  color: #fff;
  font-weight: 700;
}

.navilist {
  margin: 0 auto;
  padding: 0;
}

/* ===================================================================
   2. Typography (Headings)
   =================================================================== */
h2 {
  font-size: clamp(1.25rem, 1.159rem + 0.45vw, 1.5rem);
  margin-top: 1rem;
  font-weight: 600;
}

h3 {
  position: relative;
  padding-left: 0.8em !important;
  font-size: clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

h3::after {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  content: '';
  width: 6px;
  height: 1.2em;
  background-color: #446689;
}

/* ===================================================================
   3. JS Components (Alerts, Records, Rinji)
   =================================================================== */

/* 外枠の基本設定（既存のものを拡張） */
.c-modern-alert {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background: #fff;
  border: 1px solid #ddd;
  
  /* Flexboxで中身を横並びにする */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  gap: 15px;
}

/* アイコンとテキストを包むエリア */
.c-modern-alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1; /* 残りの幅を埋める */
}

/* アイコンの色とサイズ */
.c-modern-alert-icon {
  color: #d4a000;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* 注意報テキスト */
.c-modern-alert-text {
  font-size: 0.95rem;
  font-weight: bold;
  color: #444;
  line-height: 1.4;
  text-align: left; /* 親のcenter指定をリセット */
}

/* 「詳細を見る」ボタンのデザイン */
.c-modern-alert-btn {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--main-blue);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.c-modern-alert-btn:hover {
  opacity: 0.8;
}

/* スマホ対応：幅が狭いときは縦並びにする */
@media screen and (max-width: 575px) {
  .c-modern-alert {
    flex-direction: column;
        align-items: flex-start;
    align-items: stretch;
    text-align: center;
    padding: 12px;
  }
  .c-modern-alert-content {
    justify-content: center;
    margin-bottom: 10px;
  }
  .c-modern-alert-text {
    text-align: center;
  }
  .c-modern-alert-btn {
    width: 100%;
    text-align: center;
  }
}

/* 県内一覧の詳細リスト用（Alert.js renderAllで使用） */
.c-alert-all-list {
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.c-alert-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.c-alert-row:last-child {
  border-bottom: none;
}
/* ===================================================================
   4. Badges (Level Tags)
   =================================================================== */
.c-alert-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.85rem;
  color: #fff;
  text-align: center;
}

.is-emergency { background-color: var(--level-5); }
.is-warning   { background-color: var(--level-3); }
.is-advisory  { background-color: var(--level-2); color: #333; }

/* 地震情報用 震度バッジ */
.c-shindo-badge {
  display: inline-block;
  width: 60px;
  text-align: center;
  font-weight: bold;
  border-radius: 4px;
  margin-right: 8px;
}
.scale-7 { background: #b71c1c; color: #fff; }
.scale-6kyo { background: #d32f2f; color: #fff; }
.scale-5kyo { background: #e64a19; color: #fff; }

/* ===================================================================
   5. Tables (Legacy & WarnArea)
   =================================================================== */
.warnArea_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  table-layout: fixed;
}

.warnArea_table td {
  padding: 10px;
  border: 1px solid var(--border-color);
  background: #fff;
  font-size: 0.9rem;
}

.warnArea_table_column-01 { background-color: #f0f4f8; font-weight: bold; }
.warnArea_table_column-02 { background-color: #fafafa; }

/* スマホでは縦並びにするための設定 */
@media screen and (max-width: 767px) {
  .warnArea_table, .warnArea_table tbody, .warnArea_table tr, .warnArea_table td {
    display: block;
    width: 100%;
  }
  .warnArea_table_column-01, .warnArea_table_column-02 {
    display: none; /* 地域区分は非表示にして見やすく */
  }
}

/* ===================================================================
   6. Custom Select (Header Area)
   =================================================================== */
.select-wrap {
  margin: 10px auto;
  max-width: 250px;
}

.select-wrap select {
  width: 100%;
  height: 45px;
  padding: 0 10px;
  border: 2px solid var(--main-blue);
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* ===================================================================
   7. Common Layout Helpers
   =================================================================== */
.livecamera {
  margin-bottom: 2rem;
}

.cam-image {
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 5px;
}

.le {
  background-color: #fff;
  border-radius: 20px;
  padding: 10px;
  margin: 10px auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* =========================================
   臨時情報カード レイアウト調整 (2026)
   - ヘッダー: アイコン+タイトル(左) / 発表時刻+▽(右)
   - 本文: headline と text を縦に並べる
   ========================================= */

/* タイトル領域: タイトル文字列を改行可能にする */
.c-modern-alert.is-rinji .c-rinji-title {
    flex: 1;
    min-width: 0;
}
.c-modern-alert.is-rinji .c-rinji-title-text {
    flex: 1;
    line-height: 1.4;
}

/* 右側のメタ情報(発表時刻 + トグル) */
.c-modern-alert.is-rinji .c-rinji-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 12px;
    color: #888;
}

/* アイコンの位置・サイズ調整 */
.c-modern-alert.is-rinji .c-modern-alert-icon {
    flex-shrink: 0;
    line-height: 1; /* SVG周りの隙間をなくす */
}
.c-modern-alert.is-rinji .c-modern-alert-icon svg {
    display: block; /* インライン要素の上下ベースラインずれを防ぐ */
}

/* 本文エリア: headline → text の順に縦並び */
.c-modern-alert.is-rinji .c-rinji-body {
    padding: 15px;
    background: #fff;
}
.c-modern-alert.is-rinji .c-rinji-headline {
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}
.c-modern-alert.is-rinji .c-rinji-text {
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
}

/* トグルアイコンの回転(開いた時) */
.c-modern-alert.is-rinji.is-open .c-rinji-toggle-icon svg {
    transform: rotate(180deg);
}
.c-modern-alert.is-rinji .c-rinji-toggle-icon svg {
    transition: transform 0.2s ease;
}

/* =========================================
   臨時情報カード 構造の強制(2026 上書き)
   - カード全体: 縦並び (block)
   - ヘッダー: 横並び(タイトル ←→ 発表時刻+▽)
   - 本文: ヘッダーの下に独立して表示
   ========================================= */
.c-modern-alert.is-rinji {
    display: block !important;
    padding: 0;
    overflow: hidden;
}
.c-modern-alert.is-rinji .c-rinji-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    cursor: pointer;
    background-color: #f0f7ff;
    border-bottom: 1px solid #e1e8f0;
}
.c-modern-alert.is-rinji .c-rinji-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    color: #007bff;
    font-weight: bold;
    font-size: 1.0rem;
}
.c-modern-alert.is-rinji .c-rinji-title-text {
    line-height: 1.4;
    flex: 1;
}
.c-modern-alert.is-rinji .c-rinji-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 12px;
    color: #888;
}
.c-modern-alert.is-rinji .c-rinji-time {
    font-size: 0.85rem;
    white-space: nowrap;
}
.c-modern-alert.is-rinji .c-modern-alert-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #cce5ff;
    color: #0056b3;
    border-radius: 50%;
    line-height: 1;
}
.c-modern-alert.is-rinji .c-modern-alert-icon svg {
    display: block;
}

/* 本文(初期は閉じている。クリックでslideToggleで開く) */
.c-modern-alert.is-rinji .c-rinji-body {
    padding: 15px;
    background: #fff;
}
.c-modern-alert.is-rinji .c-rinji-headline {
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}
.c-modern-alert.is-rinji .c-rinji-text {
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
    white-space: pre-wrap; /* \n を改行として表示 */
}
.c-modern-alert.is-rinji .c-rinji-toggle-icon svg {
    transition: transform 0.2s ease;
}
.c-modern-alert.is-rinji.is-open .c-rinji-toggle-icon svg {
    transform: rotate(180deg);
}

/* 臨時情報カードの上部余白(設定ボタンとの間隔) */
.c-modern-alert.is-rinji {
    margin-top: 15px;
}

/* =========================================
   臨時情報カード スマホ対応(~767px)
   - タイトルを2行まで許可
   - 発表時刻+▽は右側を維持し、上端揃え
   ========================================= */
@media (max-width: 767px) {
    .c-modern-alert.is-rinji .c-rinji-header {
        align-items: center; /* 上端揃え(タイトルが2行になっても発表時刻は上に) */
        padding: 10px 12px;
    }
    .c-modern-alert.is-rinji .c-rinji-title {
        font-size: 0.9rem;
        align-items: center; /* アイコンとタイトル文字の上端揃え */
        gap: 8px;
    }
    .c-modern-alert.is-rinji .c-rinji-title-text {
        /* 2行までの折り返しを許可、3行目以降は省略 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.35;
    }
    .c-modern-alert.is-rinji .c-rinji-meta {
        margin-left: 8px;
        gap: 4px;
        padding-top: 2px; /* アイコンと縦位置を揃えるため微調整 */
    }
    .c-modern-alert.is-rinji .c-rinji-time {
        font-size: 0.75rem;
    }
    .c-modern-alert.is-rinji .c-modern-alert-icon {
        width: 28px;
        height: 28px;
    }
    .c-modern-alert.is-rinji .c-rinji-body {
        padding: 12px;
    }
    .c-modern-alert.is-rinji .c-rinji-headline {
        font-size: 0.92rem;
    }
    .c-modern-alert.is-rinji .c-rinji-text {
        font-size: 0.88rem;
    }
}
/* タイトル文字を左揃え(text-align: left) */
.c-modern-alert.is-rinji .c-rinji-title-text {
    text-align: left;
}

/* =========================================
   竜巻注意情報カード(is-tatsumaki) は is-rinji と同じレイアウトを継承
   ========================================= */
.c-modern-alert.is-tatsumaki {
    display: block !important;
    padding: 0;
    overflow: hidden;
    margin-top: 15px;
    border-left-color: #ff6b00; /* オレンジ系で竜巻らしく */
}
.c-modern-alert.is-tatsumaki .c-rinji-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    cursor: pointer;
    background-color: #fff5e6;
    border-bottom: 1px solid #ffe1c2;
}
.c-modern-alert.is-tatsumaki .c-rinji-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    color: #ff6b00;
    font-weight: bold;
    font-size: 1.0rem;
}
.c-modern-alert.is-tatsumaki .c-rinji-title-text {
    line-height: 1.4;
    flex: 1;
    text-align: left;
}
.c-modern-alert.is-tatsumaki .c-rinji-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 12px;
    color: #888;
}
.c-modern-alert.is-tatsumaki .c-rinji-time {
    font-size: 0.85rem;
    white-space: nowrap;
}
.c-modern-alert.is-tatsumaki .c-modern-alert-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffe1c2;
    color: #c75300;
    border-radius: 50%;
    line-height: 1;
}
.c-modern-alert.is-tatsumaki .c-modern-alert-icon svg {
    display: block;
}
.c-modern-alert.is-tatsumaki .c-rinji-body {
    padding: 15px;
    background: #fff;
    text-align: left;
}
.c-modern-alert.is-tatsumaki .c-rinji-headline {
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
    text-align: left;
}
.c-modern-alert.is-tatsumaki .c-rinji-text {
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
    text-align: left;
    white-space: pre-wrap;
}
.c-modern-alert.is-tatsumaki .c-rinji-toggle-icon svg {
    transition: transform 0.2s ease;
}
.c-modern-alert.is-tatsumaki.is-open .c-rinji-toggle-icon svg {
    transform: rotate(180deg);
}

/* 対象地域タグ */
.c-modern-alert.is-tatsumaki .c-tatsumaki-area-list {
    margin: 12px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}
.c-modern-alert.is-tatsumaki .c-tatsumaki-area-title {
    font-size: 0.85rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 6px;
    text-align: left;
}
.c-modern-alert.is-tatsumaki .c-tatsumaki-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.c-modern-alert.is-tatsumaki .c-tatsumaki-area-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #444;
}
.c-modern-alert.is-tatsumaki .c-tatsumaki-note {
    margin-top: 10px;
    padding: 8px 10px;
    background: #fff8ec;
    border-left: 3px solid #ff6b00;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #555;
    text-align: left;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .c-modern-alert.is-tatsumaki .c-rinji-header {
        align-items: center;
        padding: 10px 12px;
    }
    .c-modern-alert.is-tatsumaki .c-rinji-title {
        font-size: 0.9rem;
        align-items: center;
        gap: 8px;
    }
    .c-modern-alert.is-tatsumaki .c-rinji-title-text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.35;
    }
    .c-modern-alert.is-tatsumaki .c-rinji-meta {
        margin-left: 8px;
        gap: 4px;
        padding-top: 2px;
    }
    .c-modern-alert.is-tatsumaki .c-rinji-time {
        font-size: 0.75rem;
    }
    .c-modern-alert.is-tatsumaki .c-modern-alert-icon {
        width: 28px;
        height: 28px;
    }
    .c-modern-alert.is-tatsumaki .c-rinji-body {
        padding: 12px;
    }
    .c-modern-alert.is-tatsumaki .c-rinji-headline {
        font-size: 0.92rem;
    }
    .c-modern-alert.is-tatsumaki .c-rinji-text {
        font-size: 0.88rem;
    }
}

/* Rinjiの本文を左揃え(竜巻と統一) */
.c-modern-alert.is-rinji .c-rinji-body,
.c-modern-alert.is-rinji .c-rinji-headline,
.c-modern-alert.is-rinji .c-rinji-text,
.c-modern-alert.is-rinji .c-rinji-title-text {
    text-align: left;
}


/* =========================================
   高温情報カード(is-temperature) - Rinji と同じレイアウト
   ========================================= */
.c-modern-alert.is-temperature {
    display: block !important;
    padding: 0;
    overflow: hidden;
    margin-top: 15px;
    border-left-color: #e53935;
}
.c-modern-alert.is-temperature .c-rinji-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    cursor: pointer;
    background-color: #fff0f0;
    border-bottom: 1px solid #ffd6d6;
}
.c-modern-alert.is-temperature .c-rinji-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    color: #d32f2f;
    font-weight: bold;
    font-size: 1.0rem;
}
.c-modern-alert.is-temperature .c-rinji-title-text {
    line-height: 1.4;
    flex: 1;
    text-align: left;
}
.c-modern-alert.is-temperature .c-rinji-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 12px;
    color: #888;
}
.c-modern-alert.is-temperature .c-rinji-time {
    font-size: 0.85rem;
    white-space: nowrap;
}
.c-modern-alert.is-temperature .c-modern-alert-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffd6d6;
    color: #b71c1c;
    border-radius: 50%;
    line-height: 1;
}
.c-modern-alert.is-temperature .c-modern-alert-icon svg {
    display: block;
}
.c-modern-alert.is-temperature .c-rinji-body {
    padding: 15px;
    background: #fff;
    text-align: left;
}
.c-modern-alert.is-temperature .c-rinji-headline {
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
    text-align: left;
}
.c-modern-alert.is-temperature .c-rinji-text {
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
    text-align: left;
    white-space: pre-wrap;
}
.c-modern-alert.is-temperature .c-rinji-toggle-icon svg {
    transition: transform 0.2s ease;
}
.c-modern-alert.is-temperature.is-open .c-rinji-toggle-icon svg {
    transform: rotate(180deg);
}

/* スマホ対応(is-temperature) */
@media (max-width: 767px) {
    .c-modern-alert.is-temperature .c-rinji-header {
        align-items: center;
        padding: 10px 12px;
    }
    .c-modern-alert.is-temperature .c-rinji-title {
        font-size: 0.9rem;
        align-items: center;
        gap: 8px;
    }
    .c-modern-alert.is-temperature .c-rinji-title-text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.35;
    }
    .c-modern-alert.is-temperature .c-rinji-meta {
        margin-left: 8px;
        gap: 4px;
        padding-top: 2px;
    }
    .c-modern-alert.is-temperature .c-rinji-time {
        font-size: 0.75rem;
    }
    .c-modern-alert.is-temperature .c-modern-alert-icon {
        width: 28px;
        height: 28px;
    }
    .c-modern-alert.is-temperature .c-rinji-body {
        padding: 12px;
    }
    .c-modern-alert.is-temperature .c-rinji-headline {
        font-size: 0.92rem;
    }
    .c-modern-alert.is-temperature .c-rinji-text {
        font-size: 0.88rem;
    }
}


/* =========================================
   津波警報・注意報カード(テーブル形式)
   ========================================= */
.c-tsunami-card {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 6px solid #757575;
}
.c-tsunami-card.is-tsunami-info { border-left-color: #757575; }
.c-tsunami-card.is-tsunami-advisory { border-left-color: #ff9800; }
.c-tsunami-card.is-tsunami-warning { border-left-color: #f44336; }
.c-tsunami-card.is-tsunami-major { border-left-color: #6a1b9a; }

/* ヘッダー */
.c-tsunami-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    gap: 12px;
}
.c-tsunami-card.is-tsunami-advisory .c-tsunami-header { background: #fff3e0; }
.c-tsunami-card.is-tsunami-warning .c-tsunami-header { background: #ffebee; }
.c-tsunami-card.is-tsunami-major .c-tsunami-header { background: #f3e5f5; }

.c-tsunami-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.c-tsunami-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}
.c-tsunami-card.is-tsunami-advisory .c-tsunami-icon { color: #e65100; }
.c-tsunami-card.is-tsunami-warning .c-tsunami-icon { color: #b71c1c; }
.c-tsunami-card.is-tsunami-major .c-tsunami-icon { color: #4a148c; }
.c-tsunami-icon svg { display: block; }

.c-tsunami-title-text {
    font-weight: bold;
    font-size: 1.05rem;
    color: #333;
    text-align: left;
    line-height: 1.3;
}
.c-tsunami-meta {
    text-align: right;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #666;
}
.c-tsunami-time { font-weight: bold; }
.c-tsunami-office { font-size: 0.78rem; margin-top: 2px; }

/* テーブル */
.c-tsunami-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.c-tsunami-table thead th {
    background: #fafafa;
    padding: 10px 12px;
    border-bottom: 2px solid #e0e0e0;
    font-size: 0.85rem;
    font-weight: bold;
    color: #555;
    text-align: left;
    white-space: nowrap;
}
.c-tsunami-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.92rem;
    color: #333;
    vertical-align: middle;
}
.c-tsunami-table tbody tr:last-child td {
    border-bottom: none;
}
.c-tsunami-td-area {
    font-weight: bold;
    white-space: nowrap;
}
.c-tsunami-td-status {
    white-space: nowrap;
}
.c-tsunami-td-height {
    font-weight: bold;
    white-space: nowrap;
}
.c-tsunami-td-arrival {
    color: #666;
    white-space: nowrap;
}

/* ステータスバッジ */
.c-tsunami-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}
.c-tsunami-status.is-status-info { background: #757575; }
.c-tsunami-status.is-status-advisory { background: #ff9800; }
.c-tsunami-status.is-status-warning { background: #f44336; }
.c-tsunami-status.is-status-major { background: #6a1b9a; }

/* 避難メッセージ */
.c-tsunami-note {
    padding: 10px 16px;
    background: #fff;
    color: #555;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}
.c-tsunami-note.is-warning {
    background: #ffebee;
    color: #b71c1c;
    font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .c-tsunami-header {
        padding: 10px 12px;
    }
    .c-tsunami-title-text { font-size: 0.95rem; }
    .c-tsunami-meta { font-size: 0.75rem; }
    .c-tsunami-icon { width: 30px; height: 30px; }
    .c-tsunami-table thead th { font-size: 0.78rem; padding: 8px 8px; }
    .c-tsunami-table tbody td { font-size: 0.85rem; padding: 8px 8px; }
    .c-tsunami-status { font-size: 0.7rem; padding: 2px 8px; }
    /* スマホでは到達時刻列を折り返し */
    .c-tsunami-td-arrival { white-space: normal; font-size: 0.78rem; }
}


/* 津波カード: 上部の余白(週間天気バナーとの間隔) */
#tsunami {
    margin-top: 20px;
}

/* 警報・注意報バッジの間隔を確実に確保 */
.c-alert-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center;
    margin: 8px 0;
}


/* =========================================
   地震情報カード
   ========================================= */
.c-earthquake-card {
    margin-bottom: 20px;
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 6px solid #757575;
}

/* 最大震度に応じたカード色 */
.c-earthquake-card.is-shindo-1,
.c-earthquake-card.is-shindo-2,
.c-earthquake-card.is-shindo-3 { border-left-color: #66bb6a; }
.c-earthquake-card.is-shindo-4 { border-left-color: #ffb300; }
.c-earthquake-card.is-shindo-5jaku { border-left-color: #ff9800; }
.c-earthquake-card.is-shindo-5kyou { border-left-color: #ff6f00; }
.c-earthquake-card.is-shindo-6jaku { border-left-color: #e53935; }
.c-earthquake-card.is-shindo-6kyou { border-left-color: #c62828; }
.c-earthquake-card.is-shindo-7 { border-left-color: #6a1b9a; }

/* ヘッダー */
.c-earthquake-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    gap: 12px;
}
.c-earthquake-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.c-earthquake-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}
.c-earthquake-icon svg { display: block; }
.c-earthquake-title-text {
    font-weight: bold;
    font-size: 1.05rem;
    color: #333;
    text-align: left;
}
.c-earthquake-meta {
    text-align: right;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #666;
}
.c-earthquake-time { font-weight: bold; }
.c-earthquake-office { font-size: 0.78rem; margin-top: 2px; }

/* サマリー(震源・震度・M値など) */
.c-earthquake-summary {
    padding: 12px 16px;
    background: #fff;
}
.c-earthquake-summary-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}
.c-earthquake-summary-row:last-child { border-bottom: none; }
.c-earthquake-summary-row.is-text { align-items: center; }
.c-earthquake-label {
    flex-shrink: 0;
    width: 110px;
    font-size: 0.85rem;
    color: #666;
    font-weight: bold;
}
.c-earthquake-value {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
    text-align: left;
}

/* 震度バッジ */
.c-shindo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    background: #999;
    white-space: nowrap;
    line-height: 1.2;
    box-sizing: border-box;
}
.c-shindo-badge.is-large {
    font-size: 1.05rem;
    padding: 5px 18px;
    border-radius: 18px;
    min-width: 90px;
}
.c-shindo-badge.scale-1 { background: #95cda3; color: #1b5e20; }
.c-shindo-badge.scale-2 { background: #66bb6a; }
.c-shindo-badge.scale-3 { background: #43a047; }
.c-shindo-badge.scale-4 { background: #ffb300; color: #5d4037; }
.c-shindo-badge.scale-5jaku { background: #ff9800; }
.c-shindo-badge.scale-5kyou { background: #ff6f00; }
.c-shindo-badge.scale-6jaku { background: #e53935; }
.c-shindo-badge.scale-6kyou { background: #c62828; }
.c-shindo-badge.scale-7 { background: #6a1b9a; }
.c-shindo-badge.scale-unknown { background: #999; }

/* 県内各地の震度 */
.c-earthquake-points {
    padding: 12px 16px 16px;
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
}
.c-earthquake-points-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0e0e0;
}
.c-earthquake-points-list {
    display: flex;
    flex-direction: column;
        align-items: flex-start;
    gap: 6px;
}
.c-earthquake-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}
.c-earthquake-row .c-shindo-badge {
    flex-shrink: 0;
    margin-top: 2px;
}
.c-earthquake-cities {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    text-align: left;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .c-earthquake-header { padding: 10px 12px; }
    .c-earthquake-title-text { font-size: 0.95rem; }
    .c-earthquake-meta { font-size: 0.75rem; }
    .c-earthquake-icon { width: 30px; height: 30px; }
    .c-earthquake-summary { padding: 10px 12px; }
    .c-earthquake-label { width: 90px; font-size: 0.78rem; }
    .c-earthquake-value { font-size: 0.88rem; }
    .c-earthquake-points { padding: 10px 12px 12px; }
    .c-earthquake-points-title { font-size: 0.85rem; }
    .c-earthquake-cities { font-size: 0.85rem; }
    .c-shindo-badge { font-size: 0.75rem; padding: 2px 8px; }
    .c-shindo-badge.is-large { font-size: 1rem; padding: 4px 12px; }
}


/* =========================================
   気象防災速報カード(BousaiSokuho)
   - 全種別を赤系で統一(緊急情報)
   ========================================= */
.c-bousai-card {
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 6px solid #d32f2f;
}
.c-bousai-card:first-child {
    margin-top: 20px;
}

/* ヘッダー */
.c-bousai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffebee;
    border-bottom: 1px solid #ffcdd2;
    cursor: pointer;
    gap: 12px;
}
.c-bousai-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.c-bousai-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b71c1c;
}
.c-bousai-icon svg { display: block; }
.c-bousai-title-block {
    flex: 1;
    min-width: 0;
    text-align: left;
}
.c-bousai-type-label {
    font-size: 0.78rem;
    font-weight: bold;
    color: #b71c1c;
    line-height: 1.3;
}
.c-bousai-name {
    font-size: 0.95rem;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
    margin-top: 2px;
}
.c-bousai-meta {
    text-align: right;
    flex-shrink: 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}
.c-bousai-time {
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
}
.c-bousai-toggle-icon svg {
    transition: transform 0.2s ease;
}
.c-bousai-card.is-open .c-bousai-toggle-icon svg {
    transform: rotate(180deg);
}

/* 本文 */
.c-bousai-body {
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}
.c-bousai-text {
    line-height: 1.7;
    color: #333;
    font-size: 0.95rem;
    text-align: left;
    white-space: pre-wrap;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .c-bousai-header {
        padding: 10px 12px;
        align-items: center;
    }
    .c-bousai-title {
        gap: 8px;
    }
    .c-bousai-icon {
        width: 30px;
        height: 30px;
    }
    .c-bousai-type-label { font-size: 0.72rem; }
    .c-bousai-name { font-size: 0.88rem; }
    .c-bousai-time { font-size: 0.75rem; }
    .c-bousai-body { padding: 12px; }
    .c-bousai-text { font-size: 0.88rem; }
}


/* =========================================
   左端の縦線(border-left)を 6px に統一(色は各モジュール色を維持)
   ========================================= */
.c-modern-alert.is-rinji {
    border-left: 6px solid #2196f3 !important;
}
.c-modern-alert.is-tatsumaki {
    border-left: 6px solid #ff6b00 !important;
}
.c-modern-alert.is-temperature {
    border-left: 6px solid #e53935 !important;
}


/* =========================================
   各情報カードのアイコンサイズを統一(36x36px)
   ========================================= */
.c-modern-alert.is-rinji .c-modern-alert-icon,
.c-modern-alert.is-tatsumaki .c-modern-alert-icon,
.c-modern-alert.is-temperature .c-modern-alert-icon,
.c-bousai-card .c-bousai-icon {
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0;
}

/* SVG自体も統一(20x20px) */
.c-modern-alert.is-rinji .c-modern-alert-icon svg,
.c-modern-alert.is-tatsumaki .c-modern-alert-icon svg,
.c-modern-alert.is-temperature .c-modern-alert-icon svg,
.c-bousai-card .c-bousai-icon svg {
    width: 20px !important;
    height: 20px !important;
}

/* スマホ対応: 28x28 で統一 */
@media (max-width: 767px) {
    .c-modern-alert.is-rinji .c-modern-alert-icon,
    .c-modern-alert.is-tatsumaki .c-modern-alert-icon,
    .c-modern-alert.is-temperature .c-modern-alert-icon,
    .c-bousai-card .c-bousai-icon {
        width: 28px !important;
        height: 28px !important;
    }
    .c-modern-alert.is-rinji .c-modern-alert-icon svg,
    .c-modern-alert.is-tatsumaki .c-modern-alert-icon svg,
    .c-modern-alert.is-temperature .c-modern-alert-icon svg,
    .c-bousai-card .c-bousai-icon svg {
        width: 16px !important;
        height: 16px !important;
    }
}


/* 気象防災速報の発表時刻を通常太さに統一(他のカードと揃える) */
.c-bousai-card .c-bousai-time {
    font-weight: normal !important;
}


/* 警報・注意報バッジ - 危険警報(レベル4)追加 */
.is-danger {
    background-color: var(--level-4) !important;  /* 紫 */
    color: #ffffff !important;
}
/* 特別警報の文字色を白に明示 */
.is-emergency {
    color: #ffffff !important;
}
/* 警報の文字色を白に明示 */
.is-warning {
    color: #ffffff !important;
}


/* =========================================
   AlertLevelHigh: レベル5・4 警戒情報カード
   ========================================= */
.c-alert-high-card.is-warning-card {
    border-left: 6px solid #ff2800;
    background: #fff5f5;
}
.c-alert-high-card.is-warning-card .c-alert-high-icon {
    border-color: #ff2800;
    color: #ff2800;
}
.c-alert-high-card.is-warning-card .c-alert-high-header {
    background: #fff5f5;
}
.c-alert-high-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-left: 6px solid #aa00aa;
    border-radius: 6px;
    margin: 20px 0;
    overflow: hidden;
}
.c-alert-high-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f5f0f5;
    border-bottom: 1px solid #ddd;
}
.c-alert-high-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.c-alert-high-icon {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 2px solid #aa00aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aa00aa;
    flex-shrink: 0;
}
.c-alert-high-title-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}
.c-alert-high-time {
    font-size: 0.9rem;
    color: #666;
}
.c-alert-high-body {
    padding: 8px 0;
}
.c-alert-high-row {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px dashed #eee;
}
.c-alert-high-row:last-child {
    border-bottom: none;
}
.c-alert-high-badge-cell {
    flex-shrink: 0;
    width: 180px;
    margin-right: 12px;
}
.c-alert-high-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    white-space: nowrap;
}
.c-alert-high-badge.is-level-5 {
    background: #0c000c;
    color: #ffffff;
}
.c-alert-high-badge.is-level-4 {
    background: #aa00aa;
    color: #ffffff;
}
.c-alert-high-badge.is-level-3 {
    background: var(--level-3);
    color: #ffffff;
}
.c-alert-high-cities {
    flex: 1;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #333;
    padding-bottom: 4px;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .c-alert-high-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 12px;
    }
    .c-alert-high-badge-cell {
        width: auto;
        margin-right: 0;
        margin-bottom: 4px;
    }
    .c-alert-high-icon {
        width: 28px;
        height: 28px;
    }
    .c-alert-high-icon svg {
        width: 16px;
        height: 16px;
    }
}


/* =========================================
   津波避難メッセージの背景色を重要度別に統一
   ========================================= */
/* 大津波警報(紫) */
.c-tsunami-card.is-tsunami-major .c-tsunami-note {
    background: #aa00aa !important;
    color: #ffffff !important;
    font-weight: bold;
}
/* 津波警報(赤) */
.c-tsunami-card.is-tsunami-warning .c-tsunami-note {
    background: #ff2800 !important;
    color: #ffffff !important;
    font-weight: bold;
}
/* 津波注意報(オレンジ) */
.c-tsunami-card.is-tsunami-advisory .c-tsunami-note {
    background: #ff8800 !important;
    color: #ffffff !important;
    font-weight: bold;
}


/* =========================================
   chukeiho_test.html 用に style.css から移植
   ========================================= */

.warnArea_table_column-01{
  background-color: #fcfcff;
  font-size: 0.8em;
}

.warnArea_table_column-02{
  background-color: #fcfcff;
  font-size: 0.8em;
}

.warnArea_table_column-03{
  background-color: #fcfcff;
  font-size: 0.8em;
}

.warnArea_table_column-04 {
  font-size: 0.8em;
}

.red-txt{
  color:#e81010;
  font-size: 0.5em;
}

.resizeimg img { width: 100%; }

.warnArea_table_column-01{
  display: none;
  }

.warnArea_table_column-02{
    display: none;
  }

@media(min-width:768px) {
  .side_contents2{
    display: inline-block;
  }
  
  .table_keiho {
    max-width: 100%;
    margin: 0 auto;
  }


  th {
    display: table-cell;
    width: 10%;
    padding: 0.5em;

  }

  td {
    display: table-cell;

    }

  .warnArea_table_column-01{
    display: table-cell;
    }

  .warnArea_table_column-02{
    display: table-cell;
  }

  .pc_ad{
    display: inline-block;
  }

  .mobile_ad{
    display: none;
  }

	.livecamera h3 {
		margin-top: .8em;
	}
}

.warnArea_table_column-01{
  width: 20%;
}

.warnArea_table_column-02{
  width: 15%;
}

.warnArea_table_column-03{
  width: 25%;
}

.warnArea_table_column-04{
  text-align: left;
  width: 40%;
}

.warnArea_table td{
  padding: 0.8em;
  border-right: 1px solid #eee;
  border: 1px solid #eee;
}

.cam-image {
  display: block;
  position: relative;
  margin: 0;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.side_contents,
.side_contents2 {
	margin-top: 3rem;
}

@media (min-width: 768px) {
	.side_contents,
	.side_contents2 {
		margin-top: 1.5rem;
	}
}
/* =========================================
   ↓ 警報マップ関連 (style.css から移行)
   ========================================= */
/* =========================================
   6. 警報マップ (Leaflet)
   ========================================= */
.map-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px;
    container-type: inline-size;
}

.map-container {
    width: 100%;
    aspect-ratio: 16 / 10; /* アスペクト比固定 */
    display: grid;
    /* 左(島) 1.2 : 右(本土) 2.8 */
    grid-template-columns: 1.2fr 2.8fr; 
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    box-sizing: border-box;
    padding: 0;
}

.map-box {
    position: relative;
    background: #f0f6ff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

/* エリア配置 */
#box-taneyaku { grid-column: 1 / 2; grid-row: 1 / 2; }
#box-amami    { grid-column: 1 / 2; grid-row: 2 / 3; }
#box-hondo    { grid-column: 2 / 3; grid-row: 1 / 3; }

.map-canvas { width: 100%; height: 100%; background: transparent; }

/* ラベル設定 */
.area-label {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #444;
    z-index: 1000;
    border-bottom-right-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .area-label { font-size: 0.75rem; padding: 1px 5px; }
}

/* =========================================
   7. 地図ポップアップ (Leaflet Popup)
   ========================================= */

/* --- ポップアップ全体の外枠 --- */
.leaflet-popup-content-wrapper {
    border-radius: 4px;      /* 角丸を少し抑えめに */
    padding: 0;              /* デフォルトの余白を削除 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* 影を少し柔らかく */
    background: #fff;
    border: 1px solid #ccc;  /* 薄い枠線を追加してくっきりと */
}

/* --- ポップアップの中身 --- */
.leaflet-popup-content {
    margin: 0 !important;    /* Leafletが強制的に付ける余白を解除 */
    width: auto !important;
    min-width: 140px;        /* 最小幅を少し広げて安定感を出す */
    text-align: center;
}

/* --- 吹き出しの矢印（しっぽ）部分 --- */
.leaflet-popup-tip-container {
    width: 30px;
    height: 15px;
    margin: 0 auto;
    overflow: hidden;
    pointer-events: none;
}

.leaflet-popup-tip {
    width: 15px;
    height: 15px;
    padding: 0;
    margin: -8px auto 0;
    background: #fff;
    pointer-events: auto;
    transform: rotate(45deg);
    border: 1px solid #ccc; /* 本体と同じ枠線 */
    border-top-color: transparent; /* 繋ぎ目を消す */
    border-left-color: transparent; /* 繋ぎ目を消す */
    box-shadow: none;       /* 矢印部分の影は削除して一体化 */
}

/* --- ポップアップ内のデザイン --- */

/* ヘッダー（市町村名） */
.map-popup-header {
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px;           /* 余白を調整 */
    background-color: #f8f9fa; /* 薄いグレーの背景色を追加 */
    border-bottom: 1px solid #eee;
    border-radius: 4px 4px 0 0; /* 上部だけ角丸を引き継ぐ */
    color: #333;
}

/* ボディ（警報タグエリア） */
.map-popup-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;                /* タグの間隔 */
    padding: 12px;           /* 全体の余白 */
}

/* ボディ内のタグ */
.map-popup-body .c-alert-tag {
    font-size: 0.95em;
    margin: 0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1); /* わずかな立体感 */
}

/* 発表なしのテキスト */
.map-popup-body .icoNormal {
    font-size: 0.95em;
    color: #777;
}

/* =========================================
   地図の上に重ねるカスタムポップアップ (Overlay Popup)
   ========================================= */
#custom-map-popup {
    position: absolute;
    z-index: 9999; /* どの要素よりも上に表示 */
    background: #fff;
/*     border: 1px solid #ccc; */
    border-radius: 4px;
/*     box-shadow: 0 3px 10px rgba(0,0,0,0.3); */
    min-width: 140px;
    text-align: center;
    transform: translate(-50%, -100%); /* 座標の真上に表示 */
    margin-top: -12px; /* 吹き出しの矢印分だけ上にずらす */
    pointer-events: none; /* クリックを透過させる（誤操作防止） */
    display: none; /* 初期状態は非表示 */
}

/* 吹き出しの矢印（しっぽ） */
#custom-map-popup::after {
    content: "";
    position: absolute;
    top: 100%; /* 本体の下 */
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
/*     border-style: solid; */
    border-color: #fff transparent transparent transparent; /* 上向きの白三角 */
}

/* 枠線の影（矢印用） */
#custom-map-popup::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -9px;
/*     border-width: 9px;
    border-style: solid; */
    border-color: #ccc transparent transparent transparent;
}

/* PC時はグリッドを維持 */
.map-container {
    display: grid;
}

/* マップ スマホ時Swiper */
@media (max-width: 767px) {
    .map-container {
        display: block !important;
        height: 260px;
        overflow: hidden;
        position: relative;
    }
    .map-container .swiper-wrapper {
        display: flex;
        height: 100%;
    }
    .map-box.swiper-slide {
        width: 100% !important;
        height: 100% !important;
        flex-shrink: 0;
    }
    .swiper-pagination {
        position: absolute;
        bottom: 6px;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 1001;
    }
    .swiper-pagination-bullet {
        display: inline-block;
        width: 8px;
        height: 8px;
        background: #999;
        border-radius: 50%;
        margin: 0 3px;
        opacity: 1;
    }
    .swiper-pagination-bullet-active {
        background: #0066cc;
    }
}


/* ▼ 追加：天気予報テーブルのヘッダー日付の改行を強制解除して横一行にする */
#timearea table th, #16daysarea table th, #weekarea table th {
    white-space: nowrap !important;
}
#timearea table th br, #16daysarea table th br, #weekarea table th br {
    display: none !important;
}

/* ▼ 追加：時間予報ヘッダーの日付クラスの自動折り返しを完全に禁止する */
.wTableTime__td.date,
.wTableTime__td.date p {
    white-space: nowrap !important;
}

/* ▼ 追加：時間予報ヘッダーの日付の左側に心地よい隙間（余白）を作る */
.wTableTime__td.date p {
    padding-left: 12px !important;
}

/* ▼ 追加：雨雲レーダー（2の方）のタブ切り替え時の横幅潰れ・ズレを完全に強制解決する */
.area_o .swiper-container,
.area_o .swiper-wrapper,
.area_o .swiper-slide,
.area_o .swiper-slide img {
    width: 100% !important;
    max-width: 100% !important;
}

/* AlertLevelHigh バッジ */
.c-alert-high-badge.is-level-5 { background: #0c000c; color: #fff; }
.c-alert-high-badge.is-level-4 { background: #aa00aa; color: #fff; }
.c-alert-high-badge.is-level-3 { background: #ff2800; color: #fff; }

/* ========== 噴火情報 ========== */
.c-volcano-card {
    background: #fff;
    border: 1px solid #e05a00;
    border-left: 4px solid #e05a00;
    border-radius: 6px;
    margin-top: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.c-volcano-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e05a00;
    color: #fff;
    padding: 10px 14px;
}

.c-volcano-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.c-volcano-icon {
    display: flex;
    align-items: center;
}

.c-volcano-title-text {
    font-weight: bold;
    font-size: 1rem;
}

.c-volcano-meta {
    font-size: 0.8rem;
    text-align: right;
}

.c-volcano-body {
    padding: 12px 14px;
}

.c-volcano-row {
    display: flex;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dashed #eee;
    gap: 12px;
}

.c-volcano-row:last-child {
    border-bottom: none;
}

.c-volcano-label {
    font-size: 0.8rem;
    color: #666;
    min-width: 50px;
    flex-shrink: 0;
}

.c-volcano-value {
    font-size: 0.95rem;
    font-weight: bold;
}
