html,
body,
.loader,
.wrapper,
.sitecontent,
.map {
	width: 100%;
}
.leaflet-control-attribution a {
    display: inline !important;
}

body {
	color: #000;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-touch-callout: none;
	-moz-user-select: none;
	touch-callout: none;
	user-select: none;
	margin: 0 auto;
	background-color: #fff;
	min-width: 320px;
}

ul li {
	list-style-type: none;
}

.leaflet-top,
.leaflet-bottom {
	z-index: 899 !important;
}

#nowcast_header {
	margin-left: 45px;
}

#ameyuki_header {
	margin-left: 60px;
}

div.wrapper {
	height: 220px;
}

.sitecontent {
	position: absolute;
        height: 400px;
	left: 0;
	font-size: 14px;
}

.map:after {
	background-image: url("");
}

#map_content {
	width: 100%;
	height: 100%;
	background-color: #ccc;
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
}

.map-center {
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	margin: auto;
	background-color: rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	z-index: 898;
}

#map_menu {
	width: 200px;
}

.menu-list {
	display: table;
}

.menu-item {
	display: table-cell;
	text-align: center;
	font-weight: normal;
	font-size: 13px;
	color: #333;
	padding: 5px 0;
	width: 60px;
}

.menu-item.nechusho {
	width: 80px;
}

.menu-item img {
	height: 18px;
}

.menu-item span {
	display: none;
}

.menu-item.on {
	color: #fff;
	font-size: 16px;
	text-shadow: #000 1px 1px 0, #000 -1px -1px 0, #000 -1px 1px 0, #000 1px -1px 0, #000 0px 1px 0, #000 0-1px 0, #000 -1px 0 0, #000 1px 0 0;
}

.menu-item.on img {
	position: relative;
	left: -4px;
}

.menu-item.on span {
	display: inline-block;
	position: relative;
}

#nowcast_btn.menu-item.on {
	background: -webkit-radial-gradient(center, circle cover, #00cccc 50%, transparent);
	background: radial-gradient(#00cccc 50%, transparent);
}

#ameyuki_btn.menu-item {
	border-left: solid 1px #aaa;
	border-right: solid 1px #aaa;
}

#ameyuki_btn.menu-item.on {
	background: -webkit-radial-gradient(center, circle cover, #A234D1 50%, transparent);
	background: radial-gradient(#A234D1 50%, transparent);
}

#sekisetsu_btn.menu-item.on {
        background: -webkit-radial-gradient(center, circle cover, #BFFFFF 50%, transparent);
        background: radial-gradient(#BFFFFF 50%, transparent);
}
#nechusho_btn.menu-item.on {
	background: -webkit-radial-gradient(center, circle cover, #FF7F50 50%, transparent);
	background: radial-gradient(#FF7F50 50%, transparent);
}

#thunder_btn.menu-item.on {
	background: -webkit-radial-gradient(center, circle cover, #FFA822 50%, transparent);
	background: radial-gradient(#FFA822 50%, transparent);
}

#thunder_btn.menu-item.on span {
	left: -2px;
}

.map-bottom {
	width: 100%;
	position: absolute;
	top: 25px;
	z-index: 898;
}

.image_legend {
        width: 100%;
        position: absolute;
        bottom: 0px;
        z-index: 897;
}

#timestamp {
	width: 160px;
	line-height: 1.4em;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 15px;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	margin: 0 auto;
}

#timestamp.obs {
	color: #fff;
}

#timestamp.fcst {
	color: #4c77ae;
        background-color:#fff;
}

.pos_icon {
	pointer-events: none;
}

div.cp_panel {
	width: 100%;
	margin: 10px 0;
	text-align: left;
	word-break: break-word;
	background-color: #eee;
}

p.cp_txt {
	font-size: 10px;
	line-height: 1.3em;
	padding-left: 3px;
}

/* info panel */
.info-panel {
	color: #f4fa58;
	background: #333;
	text-align: center;
	height: 18px;
	width: 100%;
	font-size: 12px;
	padding-top: 2px;
}

.info-panel a {
	color: #fff;
	font-size: 13px;
	text-decoration: underline;
}

/* gps panel */
#map_gps {
	position: absolute;
	width: 50px;
	height: 60px;
	bottom: 20px;
	right: 1px;
	z-index: 899;
}

.map-gps-btn {
	background-image: url('https://dcsgtk.wni.co.jp/s/img/btn_gps.png');
	background-repeat: no-repeat;
	background-size: 40px 40px;
	width: 40px;
	height: 40px;
}

.map-gps-txt {
	font-size: 13px;
	font-weight: 700;
	line-height: 1em;
	width: 100%;
	text-align: left;
	text-shadow: #fff 1px 1px 0, #fff -1px -1px 0, #fff -1px 1px 0, #fff 1px -1px 0, #fff 0px 1px 0, #fff 0-1px 0, #fff -1px 0 0, #fff 1px 0 0;
}

.gps-working-btn,
.loading {
	opacity: 0.3;
}

.gps-working-txt {
	font-weight: bold;
	color: #00f;
}

/* under map panel */
.map-panel {
	opacity: 0;
}

.st1 {
	margin-bottom: -45px;
}

.under-map-panel1 {
	background: #333;
	text-align: center;
	height: 40px;
	width: 100%;
}

.legend {
	margin-top: -3px;
	height: 90px;
}

.legend.nechusho {
	max-width: 100%;
}

@media screen and (max-width:380px) {
	.legend.nechusho {
		height: 25px;
	}
}

.legend.ameyuki {
	margin-left: -5px;
}

.legend.thunder {
	margin-top: -2px;
}

@media screen and (max-width:380px) {
	.legend.thunder {
		height: 25px;
	}
}
@media screen and (max-width:320px) {
	.legend.thunder {
		height: 23px;
	}
}

#list_legend li {
	font-size: 11px;
	color: #fff;
	vertical-align: middle;
	font-weight: 400;
}

#list_legend li[class^="rank"]::before {
	content: '■';
	display: inline-block;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	margin-right: 2px;
}

#list_legend li.rank1::before {
	color: #FFFF00;
}

#list_legend li.rank2::before {
	color: #FF9933;
}

#list_legend li.rank3::before {
	color: #E00000;
}

#list_legend li.rank4::before {
	color: #9900CC;
}

.btn-tm {
	width: 60px;
	height: 30px;
	padding-top: 4px;
	box-sizing: border-box;
	border: solid 1px #fff;
	border-radius: 8px;
	overflow: hidden;
	background: #4489FB;
}

#btn_tm_left.disabled,
#btn_tm_right.disabled {
	color: #9F9F9F;
	background: #051A3E;
	font-weight: 300;
}

.btn-prev {
	position: relative;
	left: 12px;
	width: 0px;
	height: 0px;
	border: 10px solid;
	border-color: transparent #fff transparent transparent;
}

.btn-prev.disabled {
	border-color: transparent #424242 transparent transparent;
}

.btn-next {
	position: relative;
	left: 25px;
	width: 0px;
	height: 0px;
	border: 10px solid;
	border-color: transparent transparent transparent #fff;
}

.btn-next.disabled {
	border-color: transparent transparent transparent #424242;
}

.under-map-panel2 {
	background: #333;
	text-align: center;
	width: 100%;
	height: 50px;
}

ul.item-list {
	width: 100%;
	overflow: hidden;
	padding-top: 5px;
}

ul.item-list li {
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	margin: 0 1px;
}

.range-left-txt {
	color: #fff;
	font-size: 12px;
	line-height: 2em;
	text-align: left !important;
	width: 40%;
}

.range-right-txt {
	color: #4c77ae;
	font-size: 12px;
	line-height: 2em;
	text-align: right !important;
	width: 40%;
}

.time-position {
	width: 80%;
	height: 2px;
	background: -webkit-linear-gradient(left, #fff 37%, #4c77ae 38%);
	background: linear-gradient(to right, #fff 37%, #4c77ae 38%);
}

.time-position .ui-slider-handle {
	width: 20px;
	height: 20px;
	margin-top: -6px;
	background: #fff;
	border-radius: 20px;
	outline: none;
}
.tm_pos_nowcast{
      height: 2px;
}

a:focus,
*:focus {
	outline: none;
}

/* play */
#map_play_btn {
	position: relative;
	width: 45px;
	height: 43px;
	top: -48px;
	padding-left: 82%;
}

#map_play_btn>* {
	display: inline-block;
	vertical-align: middle;
}

#map_play_btn p {
	width: 40px;
	padding: 3px 8px;
}

#map_play_btn p a {
	color: #fff;
	font-size: 12px;
	pointer-events: none;
	display: block;
	position: relative;
}

#map_play_btn p a.stop:before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-left: 17px solid #fff;
	margin: 0 auto 5px 5px;
}

#map_play_btn p a.playing:before {
	content: "";
	display: block;
	width: 5px;
	height: 20px;
	border-right: 4px solid #fff;
	border-left: 4px solid #fff;
	margin: 0 auto 5px 5px;
}

.time-slider {
	height: 30px;
	width: 85%;
	margin: 0 auto;
	padding-top: 10px;
	padding-left: 5%;
}

.slider-range-txt {
	position: relative;
	top: -20px;
	width: 84% !important;
	padding-left: 2%;
}

/* pinpoint */
.osusume_style {
	margin: 15px 10px 15px;
}

.osusume_pinp {
	line-height: 40px;
	background: #f50000;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-size: 15px;
	text-decoration: none;
}

.osusume_pinp a {
	font-size: 16px;
	color: #fff;
	display: block;
	position: relative;
}

.osusume_pinp a:before {
	content: "";
	background: url(https://dcsgtk.wni.co.jp/s/img/icon_radar_wh.png) no-repeat;
	background-size: 100%;
	display: inline-block;
	width: 25px;
	height: 25px;
	vertical-align: middle;
	margin-left: 10px;
	margin-right: 10px;
}

.osusume_pinp a:after {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border: 2px solid #fff;
	border-left: none;
	border-top: none;
	vertical-align: middle;
	margin-right: 10px;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	position: absolute;
	top: 50%;
	right: 5px;
	margin-top: -6px;
}

/* etc */
#loading_box {
	position: fixed;
	z-index: 2001;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #333;
	opacity: 0.4;
}

#loading_box img {
	position: absolute;
	z-index: 2002;
	top: 50%;
	left: 50%;
	margin: -40px 0 0 -20px;
	width: auto;
}

img.tiled-radar {
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: pixelated;
}

.balloon .balloon__inner:after {
	left: unset;
	right: 25px;
}
/*▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼
▼ 2021.06.08
▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼△▼*/
/*====================================================================================
全体
====================================================================================*/
img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/*====================================================================================
マップ下
====================================================================================*/
#under_map {
  padding: 0px 0px 10px 0;
  background: #333;
  margin-bottom: 0;
  position: relative;
}

#under_map > * {
  width: 100%;
  max-width: 1050px;
  padding: 5px 25px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/*====================================================================================
ボタンと凡例
====================================================================================*/
.under-map-panel1 {
  height: 30px;
  position: relative;
}

.under-map-panel1 .item-list {
  padding-top: 0;
}

/*------------------------------------------
凡例
------------------------------------------*/
.under-map-panel1 #radar_legend {
	margin-top: 0px;
}
/*
.legend.thunder {
	margin-top: 0;
}
*/
/*------------------------------------------
ボタン
------------------------------------------*/
.under-map-panel1 .btn-tm {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.under-map-panel1 #btn_tm_left {
  left: 15px;
}

.under-map-panel1 #btn_tm_right {
  right: 15px;
}

/*====================================================================================
目盛りエリア
====================================================================================*/
#under_map > .under-map-panel2 {
  height: auto;
  position: relative;
}

/*------------------------------------------
目盛り
------------------------------------------*/
.scaleGroup {
	box-sizing: border-box;
  	position: relative;
  	height: 40px;
}

/* メモリ全体
------------------------------------------*/
.scale {
  color: #fff;
  display: block;
  height: 65px;
  font-weight: bold;
  position: absolute;
  text-align: center;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* テキスト
------------------------------------------*/
.scale .text {
	opacity: 0;
  	font-size: 12px;
  	line-height: 1.15em;
  	width: 30px;
  	position: absolute;
    left: 50%;
	transform: translateX(-50%);
}

/* 時間○（数字のしたのテキスト） */
.scale .small {
	font-size: 10px;
	font-size: normal;
	display: block;
}

/* テキスト表示（基本は非表示） */
.scale.show .text {
	opacity: 1;
}

/* 〇〇時間後のテキストのカラー */
.scale.after .text {
	color: #fff;
}

/* ライン
------------------------------------------*/
.scale:after {
  content: "";
  position: absolute;
  width: 1px;
  height: 2px;
  background-color: #fff;
  left: 0px;
  top: 4px;
}

/* 〇〇時間後のラインのカラー */
.scale.after:after {
	background-color: #fff;
}

/* テキストがあるときのラインの高さ */
.scale.show:after {
	height: 10px;
}

/* テキストはないが、ラインを大きく見せたいとき */
.scale.step:after {
	height: 6px;
}
/* memori slider koko*/
.scale:nth-child(1)  {left: 0%;}
.scale:nth-child(2)  {left: 25.7%;}/*現在*/
.scale:nth-child(3)  {left: 34.4%;}
.scale:nth-child(4)  {left: 43.1%;}
.scale:nth-child(5)  {left: 51.8%;}
.scale:nth-child(6)  {left: 60.5%;}
.scale:nth-child(7)  {left: 69.2%;}
.scale:nth-child(8)  {left: 77.9%;}/*1時間*/
.scale:nth-child(9)  {left: 82.22%;}
.scale:nth-child(10)  {left: 86.54%;}
.scale:nth-child(11)  {left: 90.86%;}
.scale:nth-child(12)  {left: 95.18%;}
.scale:nth-child(13)  {left: 99.5%;}
/*------------------------------------------
スライダー
------------------------------------------*/
.time-slider {
  width: 100%;
  height: auto;
  padding-left: 0;
  box-sizing: border-box;
}

.time-position {
  width: 100%;
}

/* つまみの丸
------------------------------------------*/
.ui-slider .ui-slider-handle {
	top: 50%;
	transform: translate(-12.5px,-50%);
	margin-top: 0;
  }
  
  .ui-slider-horizontal .ui-slider-handle {
	margin-left: 0 !important;
  }


/* テキスト
------------------------------------------*/
.slider-range-txt {
  top: 0;
  width: 100% !important;
  padding-left: 0;
  font-size: 0;
}

.slider-range-txt .range-left-txt, .slider-range-txt .range-right-txt {
  width: 49.5%;
  margin: 0;
}

/*------------------------------------------
再生ボタン
------------------------------------------*/
#map_play_btn {
	width : auto;
	height: auto;
	padding-left: 0;
	position: absolute;
	top: auto;
	bottom: 20px;
	right: 0px;
}

#map_play_btn p {
	width: auto;
	padding: 0;
  }
  
#map_play_btn p a.stop:before {
  border-right: 0;
}

#map_play_btn p a.playing:before,
#map_play_btn p a.stop:before {
  margin: 0 auto 5px auto;
}

#map_play_btn:hover {
  cursor: pointer;
}
.tiled-radar { opacity: 0.7 !important; }

/* テキスト青、背景白、ボーダー青 */
.btn-01, .btn-06 { /* 押せない時 */ }
.btn-01, .btn-06 { margin-left: auto; margin-right: auto; background: #fff; border: 1px solid #0c419a; border-radius: 4px; text-align: center; padding:7px 0  4px 0; }
.btn-01 img, .btn-06 img { vertical-align: top; }
.btn-01 a, .btn-06 a { display: block; color: #0c419a; font-size: 14px; font-weight: bold; line-height: 1em; padding: 5px 10px; }
.btn-01.close, .close.btn-06 { border: 1px solid rgba(12, 65, 154, 0.3); position: relative; }
.btn-01.close a, .close.btn-06 a { color: rgba(12, 65, 154, 0.3); }
.btn-01.close:after, .close.btn-06:after { content: ""; display: block; width: 100%; height: 24px; position: absolute; top: 0; }
.btn-01 {max-width: 300px;}
.btn-01 img {
    margin-right: 5px;
}
.btn-06 { max-width: 320px;box-shadow: 2px 2px 4px gray;background: -webkit-gradient(linear, left top, left bottom, from(mistyrose), to(#fff)); }
.btn-06 .img { float: left; }
.btn-06 .txt { font-size: 1rem; display: block; }
.btn-06 .txt .txt_small { font-size: 14px; display: block; font-weight: normal; padding-top:10px; }
.txt_title{padding-bottom:10px; line-height: 1.2em;}

.btn-06 .txt:after { content: ""; display: block; width: 0; height: 0;bottom: 20px; border: 6px solid transparent; border-left: 8px solid #0c419a; position: relative; left: 99%; margin-right: -8px; }
.btn-06 a{padding:5px 10px 0px 10px !important;}


