@charset "UTF-8";
/* CSS Document */
/*1440px以上*/
@media screen and (max-width: 1200px) and (min-width: 768px){
    #PageContents{
        font-size: 1.33vw;
        line-height: 125%;
    }
    #PageContents h2{
        font-size: 2.33vw;
        line-height: 125%;
    }
    #PageContents h3 {
        font-size: 1.66vw;
        line-height: 125%;
    }
}
#PageContents h1 {
	margin-left: auto;
	margin-right: auto;
}
#PageContents h2{
    width: 100%;
}
#PageContents h3 {
	font-weight: 700;
	margin-top: 1em;
	margin-bottom: 1em;
	border-bottom: solid 2px var(--color-Blue);
	clear: both;
}
#WeatherArea {
	width: calc(100vw * ( 1200 / 1440));
    max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
    margin-bottom: 5rem;
	display: grid;
	grid-template-columns: 20% auto;
	grid-template-rows: auto;
	grid-template-areas: "LocationList WeatherData";
}
/*1440px以上*/
@media screen and (min-width: 1440px) {
    #WeatherArea {
        grid-template-columns: 240px auto;
    }
}
#Time {
	width: calc(100vw * ( 1200 / 1440));
    max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	font-size: 80%;
	text-align: right;
}
#WeatherArea #LocationList {
	grid-area: LocationList;
    position: relative;
}
#WeatherArea #LocationList #LocationListBlock {
	display: flex;
	flex-direction: column;
	position: relative;
    width: 100%;
}
#WeatherArea #LocationList .LocationBox {
	width: 100%;
	border: solid 1px var(--color-LtBrown);
    background-color: var(--color-white);
	padding: 0.25em;
	margin-bottom: 0.5em;
	border-radius: 0.5em;
}
#WeatherArea #LocationList .LocationBox.Current {
	border: solid 2px var(--color-Blue);
}
#WeatherArea #LocationList .LocationBox a {
	color: var(--color-Brown);
	text-decoration: none;
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	grid-template-areas: "WeatherIcon LocationName"
		"WeatherIcon Temperature";
}
#WeatherArea #LocationList .LocationBox .WeatherIcon {
	grid-area: WeatherIcon;
	display: flex;
	justify-content: center;
	align-items: center;
}
#WeatherArea #LocationList .LocationBox .WeatherIcon img {
	width: 3.75vw;
	max-width: 45px;
	height: auto;
}
#WeatherArea #LocationList .LocationBox .LocationName {
	grid-area: LocationName;
	font-size: 80%;
	line-height: 150%;
	padding-left: 0.5em;
	/* 地点名を折り返すように追加 */
	word-break: break-all;
}
#WeatherArea #LocationList .LocationBox .Temperature {
	grid-area: Temperature;
	font-size: 100%;
	line-height: 150%;
	text-align: center;
}
#WeatherArea #LocationList .LocationBox.EditBtn {
	padding: 0;
	background: var(--color-Blue);
	border-color: var(--color-Blue);
}
#WeatherArea #LocationList .LocationBox.EditBtn a {
	display: block;
	font-size: 80%;
	text-align: center;
	padding: 0.25em 2em 0.25em 0.25em;
	color: #ffffff;
	background: url("../images/global/icn_edit_wh_2026.png") no-repeat center right 0.5em;
	background-size: 1.5em;
}
#TodaysWeather {
	grid-area: WeatherData;
    margin-left: 20px;
    position: relative;
}
#TodaysWeather #TabMenu {
	display: block;
	margin: 1em 0;
}
#TodaysWeather #TabMenu ul {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	border-bottom: solid 1px var(--color-Blue);
}
#TodaysWeather #TabMenu ul li {
	display: inline-flex;
	list-style: none;
	margin-right: 1em;
	width: 40%;
}
#TodaysWeather #TabMenu ul li span {
	display: block;
	width: 100%;
	background-color: #ffffff;
	color: var(--color-Blue);
	text-decoration: none;
	text-align: center;
	line-height: 200%;
	border: solid 1px var(--color-Blue);
	border-bottom: none;
	cursor: pointer;
}
#TodaysWeather #TabMenu ul li span:hover, #TodaysWeather #TabMenu ul li.Current span {
	background-color: var(--color-Blue);
	color: #ffffff;
}
#TodaysWeather #TodaysWeatherData {
	display: flex;
	justify-content: space-between;
	position: relative;
    width: 100%;
}
#TodaysWeather .WeatherBox {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	grid-template-areas: "DateName DateName"
		"TodaysWeather TodaysData";
	width: calc(50% - 0.5em);
	border: solid 2px var(--color-Blue);
	border-radius: 10px;
	overflow: hidden;
}
#TodaysWeather .WeatherBox .DateName {
	grid-area: DateName;
	background-color: var(--color-Blue);
	color: #ffffff;
	font-weight: 700;
	text-align: center;
	line-height: 200%;
}
#TodaysWeather .WeatherBox .WeatherIcon {
	grid-area: TodaysWeather;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding: 1em 0.5em 1em;
}
#TodaysWeather .WeatherBox .WeatherIcon img {
	width: calc( 100vw * ( 200 / 1440));
	max-width: 200px;
	height: auto;
}
#TodaysWeather .WeatherBox .WeatherIcon .WeatherText {
	text-align: center;
	font-size: 80%;
	line-height: 150%;
}
#TodaysWeather .WeatherBox .TodaysData {
	grid-area: TodaysData;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1em;
}
#TodaysWeather .WeatherBox .TodaysData table {
	width: auto;
	margin: 0 auto;
}
#TodaysWeather .WeatherBox .TodaysData table th {
	text-align: right;
	font-weight:400;
	padding: 0.5em;
	white-space: nowrap;
}
#TodaysWeather .WeatherBox .TodaysData table td {
	padding: 0.5em;
	white-space: nowrap;
	text-align: center;
}
table#Weather10Day {
	width: 100%;
}
table#Weather10Day th, table#Weather10Day td {
	border: solid 1px var(--color-LtBrown);
	padding: 0.5em;
	font-weight:400;
	text-align: center;
	vertical-align: middle;
}
table#Weather10Day td.WeatherIcon {
	font-size: 80%;
	line-height: 150%;
	vertical-align: top;
}
table#Weather10Day td.WeatherIcon img {
	width: 3.75vw;
	max-width: 45px;
	height: auto;
}
table#Weather10Day th {
	background-color: var(--color-PaleBlue);
	white-space: nowrap;
}
#SelectDate {
	display: block;
}
#SelectDate ul {
	display: flex;
	justify-content: center;
    gap:0.5em;
}
#SelectDate ul li {
	list-style: none;
	margin: 0 auto;
}
#SelectDate ul li a {
	width: 15em;
	display: block;
	border: solid 1px var(--color-Blue);
	padding: 0.25em 0;
	text-align: center;
	text-decoration: none;
	border-radius: 1em;
}
#SelectDate ul li a:hover {
	background: var(--color-Blue);
	color: #ffffff;
}

table.Weather24Hour {
	table-layout: fixed;
	width: 100%;
}
table.Weather24Hour tr.ProbabilityPrecipitation td {
	writing-mode: horizontal-tb;
}
table.Weather24Hour th, table.Weather24Hour td {
	border: solid 1px var(--color-LtBrown);
	padding: 0.5em;
	font-size: 75%;
	line-height: 120%;
	font-weight:400;
	text-align: center;
	vertical-align: middle;
}
table.Weather24Hour th {
	width: 5em;
	background-color: var(--color-PaleBlue);
	white-space: nowrap;
}
table.Weather24Hour td.Past {
	color: #cccccc;
}
table.Weather24Hour td.WeatherIcon {
	font-size: 50%;
	line-height: 120%;
	vertical-align: top;
}
table.Weather24Hour td.WeatherIcon img {
	width: 3em;
	height: auto;
}
table.Weather24Hour tr.GraphAarea th {
	border-bottom: none;
	padding-top: 2em;
}
table.Weather24Hour tr.GraphAarea td {
	background: #eeeeee;
	height: 200px;
}
table.Weather24Hour th.PortTH {
	border-top: none;
}
table.Weather24Hour th.PortTH div {
	display: none;
}
#CurrentLocation {
	display: none;
}
/*登録地追加・変更*/
#LocationArea {
	display: grid;
	grid-template-columns: 50% 50%;
	grid-template-rows: auto;
	grid-template-areas: "LocationList MapArea";
	width:calc( 100vw * ( 1200 / 1440 ));
    max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
    margin-bottom: 5rem;
}
#LocationArea #LocationList {
	grid-area: LocationList;
    position: relative;
}
#LocationArea #LocationList table {
	width: 100%;
	margin-right: auto;
}
#LocationArea #LocationList table th, #LocationArea #LocationList table td {
	font-weight:400;
	text-align: center;
	padding: 0.25em;
	font-size: 80%;
	vertical-align: middle;
}
#LocationArea #LocationList table th {
	background-color: var(--color-LtBlue);
}
#LocationArea #LocationList table tr:nth-child(odd) td {
	background-color: var(--color-PaleBlue);
}
.Priority {
	white-space: nowrap;
}
.Priority label {
	position: relative;
	cursor: pointer;
	padding-left: 1.5em;
	color: var(--color-LtBrown);
}
.Priority input:checked + label {
	color: var(--color-Brown);
}
.Priority label::before {
	content: "";
	display: block;
	border-radius: 50%;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
	background: url("../images/weather/hourly/icn_star_gr.png") no-repeat center center;
	background-size: contain;
	width: 1.5em;
	height: 1.5em;
	left: 0;
}
.Priority input:checked + label::before {
	content: "";
	background: url("../images/weather/hourly/icn_star_or.png") no-repeat center center;
	background-size: contain;
	border-radius: 50%;
	width: 1.5em;
	height: 1.5em;
	left: 0;
}
.Priority input[type=radio] {
	position: absolute;
	white-space: nowrap;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
}
#LocationArea #LocationList .Address{
	text-align: left;
}
#LocationArea #LocationList .Address a {
	color: var(--color-Brown);
}
#LocationArea #LocationList .LabelName {
	border: solid 1px var(--color-Blue);
	padding: 0.25em;
	width: 10em;
}
#LocationArea #LocationList .LabelName::placeholder {
	color: var(--color-LtBlue);
}
#LocationArea .DeleteBtn {
	border: none;
	width: 3em;
	height: 1.5em;
	outline: none;
	background-color: var(--color-Blue);
	text-align: center;
}
#LocationArea .DeleteBtn::before {
	content: '削除';
	color: white;
}
#LocationArea a.BtnBlue{
    width: 10em;
    margin: 0 auto;
}
#LocationArea #MapArea {
	grid-area: MapArea;
    margin-left: 20px;
    position: relative;
}
#LocationArea #MapArea #MapSearch {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	margin-bottom: 0.5em;
}
#LocationArea #MapArea #MapSearch input[type=text] {
	border: solid 1px var(--color-Blue);
	padding: 0.5em;
	width: 20em;
	margin-right: 0.5em;
	font-size: 80%;
}
#LocationArea #MapArea #MapSearch input::placeholder {
	color: var(--color-LtBlue);
}
#LocationArea #MapArea #MapSearch input[type=button] {
	border: none;
	padding-left: 2em;
	font-size: 80%;
	background: url("../images/global/icn_search_wh_2026.png") no-repeat center left 0.5em var(--color-Blue);
	background-size: 1em;
	color: #ffffff;
}
#LocationArea #MapArea iframe {
	width: 100%;
	height: calc(100vh - 300px);
	max-height: 450px;
	min-height: 150px;
}
#LocationArea #MapArea #BottomBtn {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin-top: 0.5em;
}
#LocationArea #MapArea #BottomBtn .BtnBlue {
	font-size: 80%;
	margin: 0 0.5em;
}
.Highest {
	color: var(--color-LtRed);
}
.Lowest {
	color: var(--color-Blue);
}
/*スマホ*/
@media screen and (max-width: 767px) {
    #PageContents h3{
        text-align: left;
    }
	#WeatherArea {
        width: calc( 100vw * ( 312 / 360));
        max-width: calc( 100vw * ( 312 / 360));
		grid-template-columns: auto;
		grid-template-rows: auto auto;
		grid-template-areas: "LocationList""WeatherData";
        margin: 0 auto 5rem;
        z-index: 1;
	}
    #Time {
        width: calc( 100vw * ( 312 / 360));
        max-width: calc( 100vw * ( 312 / 360));
    }
	#WeatherArea #LocationList {
		position: relative;
		width: 100%;
        margin: 0 auto;
	}
    #WeatherArea #LocationList::before {
        width: calc(100vw * ( 350 / 360));
        right:auto;
        left:calc(100vw * ( -24 / 360));
    }
    #WeatherArea #LocationList::after{
        width: calc(100vw * ( 350 / 360));
        right:auto;
        left:calc(100vw * ( -24 / 360));
    }
	#WeatherArea #LocationList #LocationListBlock {
		display: flex;
		flex-direction: row;
		align-items: stretch;
        width: calc(100vw * ( 312 / 360) - 15vw);
		height: auto;
        margin-right: auto;
        padding: 0.25em 0;
		overflow-x: scroll;
		/*スクロールバー非表示（IE・Edge）*/
		-ms-overflow-style: none;
		/*スクロールバー非表示（Firefox）*/
		scrollbar-width: none;
	}
	/*スクロールバー非表示（Chrome・Safari）*/
	#WeatherArea #LocationList #LocationListBlock::-webkit-scrollbar {
		display: none;
	}
	#WeatherArea #LocationList .LocationBox {
		margin-right: 0.5em;
		margin-bottom: 0;
	}
	#WeatherArea #LocationList .LocationBox .WeatherIcon img {
		width: calc( 100vw * ( 45 / 360));
	}
	#WeatherArea #LocationList .LocationBox .LocationName {
		grid-area: LocationName;
		font-size: 70%;
		line-height: 150%;
		padding: 0 0.25em;
		white-space: nowrap;
	}
	#WeatherArea #LocationList .LocationBox .Temperature {
		font-size: 80%;
		line-height: 150%;
	}
	#WeatherArea #LocationList .LocationBox.EditBtn {
		display: flex;
		justify-content: center;
		align-items: center;
		width: auto;
		padding: 0;
		background: var(--color-Blue);
		border-color: var(--color-Blue);
	}
	#WeatherArea #LocationList .LocationBox.EditBtn a {
		white-space: nowrap;
		font-size: 80%;
		padding: 0 2.5em 0 0.5em;
		color: #ffffff;
		background: url("../images/global/icn_edit_wh_2026.png") no-repeat center right 0.75em;
		background-size: 1.5em;
	}
	#CurrentLocation {
		display: block;
		position: absolute;
		top: 50%;
        right: calc( 100vw * ( 10 / 360));
        transform: translateY(-50%);
	}
	#CurrentLocation a {
		display: flex;
		align-items: flex-end;
		justify-content: center;
		width: 10vw;
		height: 10vw;
		aspect-ratio: 1 / 1;
		border-radius: 0.5em;
		background: url("../images/weather/hourly/icn_current_location.png") no-repeat top 5px center var(--color-Blue);
		background-size: 50%;
		line-height: 150%;
		font-size: 75%;
		color: #ffffff;
		text-decoration: none;
	}
	#TodaysWeather {
        padding: 1rem 0 !important;
		display: block;
		height: auto;
        margin: 1rem auto 0 !important;
	}
    #TodaysWeather h2{
        font-size: 120%;
        line-height: 125%;
    }
    #TodaysWeather #TabMenu ul li span {
        font-size: 80%;
        line-height: 200%;
    }
    #TodaysWeather #TodaysWeatherData {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        width: calc( 100vw * ( 312 / 360));
    }
    #TodaysWeather .WeatherBox {
        width: 100%;
        border-radius: 1em;
        margin-bottom: 1em;
    }
    #TodaysWeather .WeatherBox .WeatherIcon img {
        width: 40vw;
        max-width: 40vw;
        height: auto;
    }
    table#Weather10Day {
        writing-mode: vertical-lr;
        inline-size: 100vh;
    }
    table#Weather10Day th {
        inline-size: 4em;
    }
    table#Weather10Day th div, table#Weather10Day td div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        writing-mode: horizontal-tb;
    }
    table#Weather10Day td.WeatherIcon {
        vertical-align: middle;
    }
    table#Weather10Day td.WeatherIcon img {
        width: 12vw;
        max-width: 12vw;
        height: auto;
    }
    #SelectDate ul{
        width: 100%;
        gap:0.25rem;
    }
    #SelectDate ul li {
        width: 100%;
		list-style: none;
	}
	#SelectDate ul li a {
        width: 100%;
		font-size: 80%;
		line-height: 120%;
	}
    #SelectDate ul li a {
        width: 100%;
    }
    table.Weather24Hour {
        writing-mode: vertical-lr;
        /* 表が縦長になるので縦幅指定をmax-contentに変更 */
        inline-size: max-content;
        table-layout: auto;
        width: 100%;
    }
    table.Weather24Hour th, table.Weather24Hour td{
        padding: 0.25rem !important;
        font-size: 55% !important;
    }
    table.Weather24Hour th {
        inline-size: 4em;
    }
    table.Weather24Hour tr.GraphAarea {
        display: none;
    }
    table.Weather24Hour th.PortTH {
        border-top: solid 1px var(--color-LtBrown);
    }
    table.Weather24Hour th.PortTH div {
        display: block;
    }
    table.Weather24Hour th div, table.Weather24Hour td div {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: auto;
        height: 100%;
        writing-mode: horizontal-tb;
    }
    table.Weather24Hour td.WeatherIcon {
        vertical-align: middle;
        /* 画像表示部分の最低縦幅を指定 */
        min-height: 8vw;
    }
    table.Weather24Hour td.WeatherIcon img {
        width: 8vw;
        max-width: 8vw;
        height: auto;
        aspect-ratio: 1 / 1;
    }
	/*登録地追加・変更*/
	#LocationArea {
		display: grid;
		grid-template-columns: auto;
		grid-template-rows: auto auto;
		grid-template-areas: "MapArea""LocationList";
		width: calc( 100vw * ( 312 / 360));
		margin-left: auto;
		margin-right: auto;
	}
    #LocationArea #LocationList{
        width: 100%;
        margin-top: 1rem;
    }
	#LocationArea #LocationList table {
		width: 100%;
	}
    #LocationArea #LocationList table th, #LocationArea #LocationList table td{
        font-size: 75%;
        line-height: 125%;
    }
    #LocationArea #MapArea {
        margin-left: 0;
    }
    /*登録地追加・変更*/
    #LocationArea #LocationList table th {
        white-space: nowrap;
    }
    .Priority label {
        display: block;
        padding-left: 0;
        padding-top: 1.5em;
    }
    .Priority label::before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .Priority input:checked + label::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .Priority input[type=radio] {
        position: absolute;
        white-space: nowrap;
        border: 0;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        overflow: hidden;
        height: 1px;
        width: 1px;
        margin: -1px;
        padding: 0;
    }
    #LocationArea #MapArea #MapSearch input[type=text] {
        /* iOSで検索欄に入力しようとすると拡大するため対策 */
        width: calc(100% - 4.5em);
        font-size: 16px;
    }
    #LocationArea #MapArea #MapSearch input[type=button] {
        font-size: 100%;
    }
    #LocationArea #MapArea iframe {
        height: 40vh;
        max-height:40vh;
        min-height:40vh;
    }
    #LocationArea #MapArea #BottomBtn {
        flex-wrap: wrap;
    }
    #LocationArea #MapArea #BottomBtn .BtnBlue {
        margin: 0.25em 0.5em;
    }
}