html,
body,
.loader,
.wrapper,
.sitecontent,
.map {
	width: 100%;
}

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: 220px;
	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;
	bottom: 16px;
	z-index: 899;
}

#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: #ffa500;
}

.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: -1px;
	height: 30px;
}

.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: #0c419a;
}

#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: #ffa500;
	font-size: 12px;
	line-height: 2em;
	text-align: right !important;
	width: 40%;
}

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

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

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: 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 > *:not(:last-child) {
  margin-bottom: 10px;
}

/*====================================================================================
ボタンと凡例
====================================================================================*/
.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: 40px;
  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: #ffa500;
}

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

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

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

/* テキストはないが、ラインを大きく見せたいとき */
.scale.step:after {
	height: 6px;
}


/* 15時間の場合
------------------------------------------*/
.scale:nth-child(1)  {left: 0%;}
.scale:nth-child(2)  {left: 10.2804%;}
.scale:nth-child(3)  {left: 21.4953%;}
.scale:nth-child(4)  {left: 27.1028%;}
.scale:nth-child(5)  {left: 32.7103%;}
.scale:nth-child(6)  {left: 38.3178%;}
.scale:nth-child(7)  {left: 43.9252%;}
.scale:nth-child(8)  {left: 49.5327%;}
.scale:nth-child(9)  {left: 55.1402%;}
.scale:nth-child(10) {left: 60.7477%;}
.scale:nth-child(11) {left: 66.3551%;}
.scale:nth-child(12) {left: 71.9626%;}
.scale:nth-child(13) {left: 77.5701%;}
.scale:nth-child(14) {left: 83.1776%;}
.scale:nth-child(15) {left: 88.785%;}
.scale:nth-child(16) {left: 94.3925%;}
.scale:nth-child(17) {left: 100%;}

/* 27時間の場合
------------------------------------------*/
/* .scale:nth-child(1)  {left: 0%;}
.scale:nth-child(2)  {left: 1.88679%;}
.scale:nth-child(3)  {left: 3.77358%;}
.scale:nth-child(4)  {left: 5.66038%;}
.scale:nth-child(5)  {left: 7.54717%;}
.scale:nth-child(6)  {left: 9.43396%;}
.scale:nth-child(7)  {left: 11.3208%;}
.scale:nth-child(8)  {left: 13.2075%;}
.scale:nth-child(9)  {left: 15.0943%;}
.scale:nth-child(10) {left: 16.9811%;}
.scale:nth-child(11) {left: 18.8679%;}
.scale:nth-child(12) {left: 20.7547%;}
.scale:nth-child(13) {left: 22.6415%;}
.scale:nth-child(14) {left: 24.5283%;}
.scale:nth-child(15) {left: 26.4151%;}
.scale:nth-child(16) {left: 28.3019%;}
.scale:nth-child(17) {left: 30.1887%;}
.scale:nth-child(18) {left: 32.0755%;}
.scale:nth-child(19) {left: 33.9623%;}
.scale:nth-child(20) {left: 35.8491%;}
.scale:nth-child(21) {left: 37.7358%;}
.scale:nth-child(22) {left: 39.6226%;}
.scale:nth-child(23) {left: 41.5094%;}
.scale:nth-child(24) {left: 43.3962%;}
.scale:nth-child(25) {left: 47.1698%;}
.scale:nth-child(26) {left: 50.9434%;}
.scale:nth-child(27) {left: 52.8302%;}
.scale:nth-child(28) {left: 54.7170%;}
.scale:nth-child(29) {left: 56.6038%;}
.scale:nth-child(30) {left: 58.4906%;}
.scale:nth-child(31) {left: 60.3774%;}
.scale:nth-child(32) {left: 62.2642%;}
.scale:nth-child(33) {left: 64.1509%;}
.scale:nth-child(34) {left: 66.0377%;}
.scale:nth-child(35) {left: 67.9245%;}
.scale:nth-child(36) {left: 69.8113%;}
.scale:nth-child(37) {left: 71.6981%;}
.scale:nth-child(38) {left: 73.5849%;}
.scale:nth-child(39) {left: 75.4717%;}
.scale:nth-child(40) {left: 77.3585%;}
.scale:nth-child(41) {left: 79.2453%;}
.scale:nth-child(42) {left: 81.1321%;}
.scale:nth-child(43) {left: 83.0189%;}
.scale:nth-child(44) {left: 84.9057%;}
.scale:nth-child(45) {left: 86.7925%;}
.scale:nth-child(46) {left: 88.6792%;}
.scale:nth-child(47) {left: 90.5660%;}
.scale:nth-child(48) {left: 92.4528%;}
.scale:nth-child(49) {left: 94.3396%;}
.scale:nth-child(50) {left: 96.2264%;}
.scale:nth-child(51) {left: 98.1132%;}
.scale:nth-child(52) {left: 100%;} */


/*------------------------------------------
スライダー
------------------------------------------*/
.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;
  }


/* テキスト
------------------------------------------*/
.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;
}
#gotoSgtk {
    position: absolute;
    z-index: 899;
    line-height: 1.5em;
    font-size:18px;
    width:100%;
    top: 57px;
    color:#fff;
}
.gotoSgtk_innder {
    text-align: center;
    margin: 25px 10px;
    background-color:#000;
    padding: 30px 10px;
}
.gotoSgtk_href{
    font-size:22px;
    text-decoration:underline;
}
.gotoSgtk_href a{
    color:#fff;
}
.btn-06 { max-width: 320px;margin-left: auto; margin-right: auto; background: #fff; border: 1px solid #0c419a; border-radius: 4px; text-align: center; padding:7px 0  4px 0; }
.btn-06 img { vertical-align: top; }
.btn-06 a { display: block; color: #0c419a; font-size: 14px; font-weight: bold; line-height: 1em; padding: 5px 10px; }
.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;}
.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;}
