/**
 * FREBULL.net - 気象庁 1週間天気予報 スタイル
 * ファイル設置場所: /wp-content/themes/frebull2026/css/weather.css
 */

.jma-weather-widget {
	border-radius: 10px;
	border: 1px solid #e7ecf2;
	background-color: #fafcff;
	padding: 20px;
	color: #536174;
}

.jma-weather-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.jma-weather-title {
	font-size: 20px;
	font-weight: 800;
}

.jma-weather-source {
	font-size: 10px;
	opacity: 0.7;
}

.jma-weather-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
}

.jma-day-card {
	background: rgb(240 247 255);
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	transition: background 0.2s;
}

.jma-day-card.today {
	background: rgba(255, 255, 255, 0.9);
	border: 2px solid rgba(255, 255, 255, 1);
}

.jma-day-label {
	font-size: 10px;
}

.jma-day-date {
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 16px;
}

.jma-weather-icon {
	font-size: 24px;
	line-height: 1;
	margin-bottom: 4px;
}

.jma-weather-desc {
	font-size: 9px;
	opacity: 0.85;
	margin-bottom: 6px;
	min-height: 22px;
	line-height: 1.3;
}

.jma-temp-max {
	font-size: 12px;
	font-weight: 700;
	color: #ff7f4f;
}

.jma-temp-min {
	font-size: 12px;
	opacity: 0.75;
	margin-top: 2px;
	color: #008dff;
}

.jma-precip {
	font-size: 10px;
	margin-top: 6px;
	opacity: 0.9;
}

.jma-precip-bar {
	height: 3px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	margin-top: 4px;
	overflow: hidden;
}

.jma-precip-fill {
	height: 100%;
	background: #90caf9;
	border-radius: 2px;
}

.jma-loading,
.jma-error {
	text-align: center;
	padding: 20px;
	font-size: 13px;
	opacity: 0.8;
}

/* スマホ対応 */
@media (max-width: 576px) {
	.jma-temp-max,
	.jma-temp-min {
		font-size: 10px;
	}
}
