.cover {
  background: #f4f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;

padding: 40px 0; 

}

/* 週間天気 全体 */
.weekly-wrap {
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* スライダー本体 */
.weekly-slider {
  display: flex;
  gap: 12px;
  padding: 12px 4px;
  width: max-content;
}
.non-active{display:none;}
/* 1日分カード */
.weekly-card {
  flex: 0 0 auto;
  width: 110px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.weather-area {
  display: none;
}

.weather-area.is-active {
  display: block;
}

/* 日付 */
.weekly-date {
  font-size: 14px;
  margin-bottom: 6px;
}

.time-blocks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.time-item {
  flex: 1;
  text-align: center;
}

.time-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* アイコン */
.weekly-icon svg {
  width: 48px;
  height: 48px;
}

/* 気温 */
.weekly-temp {
  font-size: 13px;
  margin-top: 6px;
}

.app {
  max-width:360px;
  margin: 100px auto;
  padding: 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  text-align: center;
}

.source {
  font-size: 11px;
  color: #999;
}

.date-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.today-date {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.prefecture {
  font-size: 14px;
  color: #444;
  margin: 0;
}

.today-date {
  margin-top: 6px;
  font-size: 14px;
  color: #666;
}

.date-area {
  display: flex;
  justify-content: center;
  align-items: center; /* ← これが重要 */
  gap: 12px;
  margin-top: 8px;
}

.prefecture,
.today-date {
  margin: 0;
  line-height: 1.4;   /* 行高を揃える */
  font-size: 14px;    /* サイズも明示的に揃える */
  color: #666;
}

h1 {
  font-size: 20px;
  margin-bottom: 20px;
}

#area {
  font-size: 14px;
  color: #666;
}

#weather {
  font-size: 16px;
  margin-top: 12px;
}

button {
  margin-top: 28px;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  background: #222;
  color: #fff;
  cursor: pointer;
}

button:hover {
  opacity: 0.85;
}
.weather-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}

.weather-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.weather-icon svg {
  width: 64px;
  height: 64px;
}

.weather-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}
/* 午前・午後ブロックは左寄せにする */
.weather-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;          /* ← これ重要 */
}

/* アイコンは固定幅 */
.weather-icon {
  flex-shrink: 0;
}

/* テキストは左揃え */
.weather-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;          /* ← 親の center を上書き */
}