@charset "utf-8";

/* ===================================================================
INIT
=================================================================== */

/* RESET
--------------------*/

section a:hover {
	text-decoration: inherit;
	color: inherit;
}

/* COMMON
--------------------*/

section *:before,
section *:after {
	box-sizing: border-box;
}

body {
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノUD角ゴ StdN', '游ゴシック', YuGothic, Verdana, Arial, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Osaka', 'Meiryo', 'メイリオ', 'ＭＳ Ｐゴシック', sans-serif;
	font-size: 14px;
}

/* FONT
--------------------*/

@font-face {
	font-family: 'Alte DIN 1451 Mittelschrift';
	src: url(/fonts/din1451alt.woff);
	font-weight: normal;
	font-style: normal;
}

/* DISPLAY
--------------------*/

.in-pc { display: inline }
.in-sp { display: none }

/* FIXED IMG
--------------------*/

.c-fixed-img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
}

/* ===================================================================
ARTICLE
=================================================================== */

/* ARTICLE
--------------------*/

article {
	padding: 40px 0 80px;
}

.i-first-article {
	padding: 40px 0 55px;
}

.i-second-article {
	padding: 0 0 80px;
	background: #F5F5F1;
}

/* ===================================================================
CONTAINER
=================================================================== */

/* CONTAINER
--------------------*/

.container-1000 {
	position: relative;
	width: 100%;
	max-width: 1020px;
	padding: 0 10px;
	margin: 0 auto;
}

/* ===================================================================
HAEDING
=================================================================== */

/* MAIN HAEDING
--------------------*/

.c-main-heading {
	font-family: 'Alte DIN 1451 Mittelschrift';
	color: #FFF;
	font-size: 30px;
	text-align: center;
	line-height: 88px;
	background: #C0D033;
	letter-spacing: .1em;
}

/* BASE HAEDING
--------------------*/

.c-base-heading {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 24px;
	font-size: 24px;
	text-align: center;
	line-height: 50px;
	letter-spacing: .1em;
	font-weight: 600;
	border-top: 3px solid #B8C940;
	border-bottom: 3px solid #B8C940;
}

.c-base-heading.pc-m20 { margin: 0 0 20px }
.c-base-heading.pc-m40 { margin: 0 0 40px }

/* ===================================================================
BUTTON
=================================================================== */

/* BUTTON
--------------------*/

.c-btn {
	width: 100%;
	max-width: 355px;
	margin: 0 auto;
}

.c-btn a,
.c-btn button {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 52px;
	padding: 10px 20px;
	font-family: inherit;
	color: #333;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .1em;
	background: #B8C940;
	border: none;
	cursor: pointer;
	transition: background-color .2s cubic-bezier(.65, 0, .35, 1);
}

.c-btn a:hover,
.c-btn button:hover {
	background: #D2E24A;
}

.c-btn a:before,
.c-btn button:before {
	content: '';
	position: absolute;
	top: 50%;
	transform: translate(0, -50%) rotate(45deg);
	right: 15px;
	display: block;
	width: 7px;
	height: 7px;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
}

/* SMALL BUTTON
--------------------*/

.c-btn.small {
	max-width: 250px;
}

.c-btn.small a,
.c-btn.small button {
	justify-content: flex-start;
}

/* BACK BUTTON
--------------------*/

.c-btn.back a:before,
.c-btn.back button:before {
	right: auto;
	left: 15px;
	border-top: none;
	border-right: none;
	border-bottom: 2px solid #000;
	border-left: 2px solid #000;
}

/* MODAL BUTTON
--------------------*/

.c-btn.modal a:before,
.c-btn.modal button:before {
	content: none;
}

/* BUTTON MARGIN
--------------------*/

.c-btn.pc-m40 { margin-bottom: 40px }

/* ===================================================================
CITY LIST
=================================================================== */

/* CITY LIST
--------------------*/

.c-city-select {
	position: relative;
	width: 160px;
}

.c-city-select-main {
	width: 100%;
}

.c-city-select-main button {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	min-height: 46px;
	padding: 10px 20px;
	font-family: inherit;
	color: #333;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .1em;
	background: #B8C940;
	border: none;
	cursor: pointer;
	transition: background-color .2s cubic-bezier(.65, 0, .35, 1);
}

.c-city-select-main button:hover {
	background: #D2E24A;
}

.c-city-select-main button:before {
	content: '';
	position: absolute;
	top: 50%;
	transform: translate(0, -50%) rotate(45deg);
	right: 15px;
	display: block;
	width: 7px;
	height: 7px;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
}

.c-city-select-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	box-shadow: 0 2px 5px rgba(51, 51, 51, .25);
	z-index: 1;
}

.c-city-select-menu.active {
	display: block;
}

.c-city-list {
	max-height: 200px;
	padding: 10px 20px;
	background: #FFF;
	overflow-y: auto;
}

.c-city-list::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}

.c-city-list::-webkit-scrollbar-track {
	background: #F5F5F1;
}

.c-city-list::-webkit-scrollbar-thumb {
	background: #B8C940;
}

@-moz-document url-prefix() {

	.c-city-list {
		scrollbar-width: thin;
		scrollbar-color: #B8C940 #F5F5F1;
	}

}

.c-city-list > ul {
	padding: 5px 0;
	border-top: 1px solid #D8D8D8;
	border-bottom: 1px solid #D8D8D8;
}

.c-city-list > ul > li + li {
	margin: 5px 0 0;
	padding: 5px 0 0;
	border-top: 1px solid #D8D8D8;
}

.c-city-list > ul > li > a {
	color: #49892F;
	transition: color .2s cubic-bezier(.65, 0, .35, 1);
}

.c-city-list > ul > li > a:hover {
	color: #B8C940;
}

.c-city-list > ul > li > a.active {
	color: #333;
	font-weight: 600;
	pointer-events: none;
}

/* ===================================================================
IFRAME
=================================================================== */

/* IFRAME
--------------------*/

.c-iframe {
	width: 100%;
	margin: 0 auto;
}

.c-iframe-inner {
	position: relative;
	display: block;
	width: 100%;
	height: 0;
	padding: 56.25% 0 0;
}

.c-iframe-inner iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ===================================================================
TABLE
=================================================================== */

/* TABLE
--------------------*/

.c-table table {
	position: relative;
	display: table;
	table-layout: fixed;
	border-collapse: collapse;
	width: 100%;
}

.c-table table thead {
	display: table-header-group;
}

.c-table table tbody {
	display: table-row-group;
}

.c-table table tr th,
.c-table table tr td {
	padding: 10px 28px;
	vertical-align: middle;
}

.c-table table tr th {
	color: #FFF;
	font-weight: 600;
	text-align: left;
	letter-spacing: .1em;
	background: #339999;
	border: 1px solid #52A8A8;
}

.c-table table tr td {
	text-align: center;
	background: #FFF;
	border: 1px solid #D2D2D2;
}

.c-table table tr td.center { text-align: center }
.c-table table tr td.left { text-align: left }

/* EACH
--------------------*/

.i-today .c-table table tr th {
	font-size: 18px;
	width: calc(140 / 480 * 100%);
}

.i-today .c-table table tr td {
	width: calc(340 / 480 * 100%);
}

.d-disaster .c-table table tr th {
	font-size: 16px;
	width: calc(250 / 1000 * 100%);
}

.d-disaster .c-table table tr td {
	width: calc(750 / 1000 * 100%);
}

/* ===================================================================
DISASTER LEVEL
=================================================================== */

/* DISASTER LEVEL
--------------------*/

.c-d-lv-list > ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.c-d-lv-list.center > ul { justify-content: center }
.c-d-lv-list.flex-start > ul { justify-content: flex-start }

.c-d-lv-list > ul > li.lv5 { order: 1 }
.c-d-lv-list > ul > li.lv4 { order: 2 }
.c-d-lv-list > ul > li.lv3 { order: 3 }
.c-d-lv-list > ul > li.lv2 { order: 4 }
.c-d-lv-list > ul > li.lv1 { order: 5 }

.c-d-lv-list > ul [class^=c-d-lv] {
	padding: 6px 10px;
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
	letter-spacing: .1em;
	border-radius: 3px;
}

.c-d-lv1,
.c-d-lv2 { background: #F2E700 }
.c-d-lv3 { color: #FFF; background: #FF2800 }
.c-d-lv4 { color: #FFF; background: #AA00AA }
.c-d-lv5 { color: #FFF; background: #0C000C }

@media screen and (max-width: 1023px) {

	/* ===================================================================
	INIT
	=================================================================== */

	/* DISPLAY
	--------------------*/

	.in-pc { display: none }
	.in-sp { display: inline }

	/* ===================================================================
	ARTICLE
	=================================================================== */

	/* ARTICLE
	--------------------*/

	article {
		padding: 30px 0 60px;
	}

	.i-first-article {
		padding: 30px 0;
	}

	.i-second-article {
		padding: 0 0 60px;
	}

	/* ===================================================================
	CONTAINER
	=================================================================== */

	/* CONTAINER
	--------------------*/

	.container-1000 {
		max-width: 520px;
	}

	/* ===================================================================
	HAEDING
	=================================================================== */

	/* MAIN HAEDING
	--------------------*/

	.c-main-heading {
		font-size: 20px;
		line-height: 72px;
		letter-spacing: .02em;
	}

	/* BASE HAEDING
	--------------------*/

	.c-base-heading {
		column-gap: 18px;
		font-size: 18px;
		line-height: 44px;
		border-top: 2px solid #B8C940;
		border-bottom: 2px solid #B8C940;
	}

	.c-base-heading.sp-m15 { margin: 0 0 15px }

	/* EACH
	--------------------*/

	.c-base-heading.livecamera svg { width: 24px } /* PC : 30px */
	.c-base-heading.today svg { width: 18px } /* PC : 23px */
	.c-base-heading.prefectural-weather svg { width: 28px } /* PC : 33px */
	.c-base-heading.precipitation-probability svg { width: 30px } /* PC : 35px */
	.c-base-heading.expected-temperatures svg { width: 26px } /* PC : 32px */
	.c-base-heading.weekly svg { width: 20px } /* PC : 24px */
	.c-base-heading.laundry svg { width: 22px } /* PC : 27px */
	.c-base-heading.typhoon svg { width: 24px } /* PC : 30px */
	.c-base-heading.disaster svg { width: 24px } /* PC : 30px */

	/* ===================================================================
	BUTTON
	=================================================================== */

	/* BUTTON
	--------------------*/

	.c-btn {
		max-width: 355px;
	}

	.c-btn a {
		justify-content: center;
		transition: none;
	}

	/* SMALL BUTTON
	--------------------*/

	.c-btn.small {
		max-width: 355px;
	}

	.c-btn.small a,
	.c-btn.small button {
		justify-content: center;
	}

	/* ===================================================================
	CITY LIST
	=================================================================== */

	/* CITY LIST
	--------------------*/

	.c-city-select {
		width: 140px;
	}

	.c-city-select-main button {
		min-height: 40px;
		padding: 5px 15px;
		transition: none;
	}

	/* ===================================================================
	TABLE
	=================================================================== */

	/* TABLE
	--------------------*/

	.c-table table tr th,
	.c-table table tr td {
		padding: 10px 12px;
	}

	/* EACH
	--------------------*/

	.i-today .c-table table tr th {
		font-size: 16px;
		width: calc(100 / 355 * 100%);
	}

	.i-today .c-table table tr td {
		width: calc(255 / 355 * 100%);
	}

	.d-disaster .c-table table tr th {
		font-size: 14px;
		width: calc(130 / 355 * 100%);
	}

	.d-disaster .c-table table tr td {
		font-size: 12px;
		width: calc(225 / 355 * 100%);
	}

	/* ===================================================================
	DISASTER LEVEL
	=================================================================== */

	/* DISASTER LEVEL
	--------------------*/

	.c-d-lv-list > ul {
		gap: 5px;
	}

	.c-d-lv-list > ul [class^=c-d-lv] {
		padding: 6px 8px;
		letter-spacing: 0;
	}

	.c-d-lv-list.sp-fs12 [class^=c-d-lv] { font-size: 12px }
	.c-d-lv-list.sp-fs10 [class^=c-d-lv] { font-size: 10px }

}