.weather {
  position: absolute;
  right: 3vw;
  bottom: 3vw;
  width: 33vw;
  min-width: 340px;
  max-width: 600px;
  background: rgba(40, 48, 66, 0.90);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: #fff;
  font-family: 'Hind', 'Meiryo', sans-serif;
  overflow: hidden;
  z-index: 99;
}
.weather_inner {
  padding: 18px 18px 12px 18px;
}

.weather_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.weather_header-date {
  font-size: 1.1em;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.weather_header-update {
  font-size: 0.92em;
  color: #a1b0c9;
}

.weather_header-status {
  font-size: 1.15em;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.weather_body {
  overflow-x: auto;
}

.weather_table {
  width: 100%;
  border-collapse: separate; /*←collapseじゃなくseparateで高さ・背景崩れ対策*/
  table-layout: fixed;       /*幅そろえ*/
  background: none;
}

.weather_table th,
.weather_table td {
  text-align: center;
  padding: 0;
  font-size: 0.95em;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  min-width: 70px; /*必要に応じて調整*/
  height: 50px;    /*高さ固定で背景も統一*/
  vertical-align: middle;
}

.weather_table th {
  background: rgba(255,255,255,0.07);
  font-weight: 600;
  font-size: 0.98em;
}

.weather_table td {
  font-weight: 400;
}

.weather_table thead th,
.weather_table thead td {
  background: rgba(255,255,255,0.07);
  font-weight: 600;
  font-size: 1em;
  height: 90px;      /* ヘッダーの高さ固定 */
  padding: 0;
}

.weather_table td .weather-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 2px auto;
}

.weather_table td span {
  font-size: 0.93em;
  color: #eee;
}

.weather_example {
  display: flex;
  justify-content: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  padding: 6px 0 4px 0;
  border-radius: 0 0 18px 18px;
  font-size: 0.95em;
  margin-top: 0;
  list-style: none;
}

.weather_example li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 0.95em;
  text-shadow: none;
}

.symbol1,
.symbol2,
.symbol3 {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  border: solid 1.5px #fff;
  vertical-align: middle;
  margin-right: 3px;
  background: #fff;
}
.symbol2 {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  border: 2.2px solid #37d67a;
  border-radius: 50%;
  background: transparent;
  margin: 0 2px;
}
.symbol3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8em;
  height: 1.8em;
  position: relative;
  /* 枠なし・背景なし */
  background: none;
  border: none;
  vertical-align: middle;
}

.symbol3::before,
.symbol3::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.3em;
  height: 0.21em;
  background: #ff6565;
  border-radius: 2.2px;
  transform-origin: center center;
}

.symbol3::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.symbol3::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}


/* スクロールバー隠し（お好みで） */
.weather_body::-webkit-scrollbar {
  height: 6px;
}
.weather_body::-webkit-scrollbar-thumb {
  background: rgba(120,120,120,0.2);
  border-radius: 4px;
}
.header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;   /*上下中央揃え*/
  height: 50px;              /*ヘッダー高さと合わせる*/
}

.weather-icon {
  width: 36px;
  height: 36px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 2px;
  display: block;
}

.header-label {
  font-size: 0.82em;
  color: #dbefff;
  line-height: 1.1;
  text-align: center;
  margin: 0;
}

/* --- 下部の例示行の高さもそろえる --- */
.weather_example {
  min-height: 38px;
  align-items: center;
}

/* スマホだけで表示 */
@media (max-width: 700px) {
  .weather {
    display: none !important; /* PC用は非表示 */
  }
  .weather-float {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 92vw;
    max-width: 390px;
    min-width: 220px;
    background: rgba(40,48,66,0.96);
    color: #fff;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    z-index: 9999;
    font-size: 1.07em;
    transition: all 0.2s;
  }
  .weather-float-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
    flex-shrink: 0;
  }
  .weather-float-day { font-weight: 700; margin-right: 8px; }
  .weather-float-temp { font-weight: 700; margin-right: 8px; }
  .weather-float-status { font-size: 0.97em; color: #fffa; margin-right: 10px;}
  .weather-float-expand {
    font-size: 1.32em;
    background: #fff2;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.16s;
    flex-shrink: 0;
  }
  .weather-float-expand:active { background: #fff5; }
  /* モーダル */
  .weather-modal { display: none; position: fixed; inset: 0; z-index: 99999; }
  .weather-modal-bg { background: rgba(0,0,0,0.30); position: absolute; inset: 0; }
  .weather-modal-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: #233046;
    border-radius: 24px 24px 0 0;
    padding: 24px 12px 18px 12px;
    min-height: 55vh; max-height: 85vh; overflow-y: auto;
    animation: slideup 0.3s;
  }
  @keyframes slideup { from { transform: translateY(90vh); } to { transform: none; } }
  .weather-modal-close {
    position: absolute; top: 18px; right: 22px;
    font-size: 2.4em; color: #fff;
    font-weight: bold; cursor: pointer; z-index: 10;
    background: none; border: none;
    line-height: 1;
  }
}

/* PCではスマホバナー非表示 */
@media (min-width: 701px) {
  .weather-float,
  .weather-modal { display: none !important; }
}

@media (max-width: 700px) {
  .weather-float {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 92vw;
    max-width: 390px;
    min-width: 220px;
    background: rgba(40,48,66,0.96);
    color: #fff;
    border-radius: 22px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.24);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    padding: 12px 18px;
    z-index: 9999;
    font-size: 1.07em;
    transition: all 0.2s;
  }
  .weather-float-date, .weather-float-week, .weather-float-update, .weather-float-status, .weather-float-temp {
    margin-right: 6px;
    font-weight: 500;
  }
  .weather-float-temp { font-weight: 700; }
  .weather-float-expand {
    font-size: 1.32em;
    background: #fff2;
    border-radius: 50%;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900;
    cursor: pointer;
    border: none;
    color: #fff;
    margin-left: 8px;
  }
  .weather-float-expand:active { background: #fff5; }
  /* モーダル等はそのまま使ってOK */
}
@media (min-width: 701px) {
  .weather-float, .weather-modal { display: none !important; }
}
.weather-float-expand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff2;
  border-radius: 14px;
  width: 74px;
  height: 54px;
  border: 2px solid #fff4;
  cursor: pointer;
  box-shadow: 0 2px 8px #0002;
  transition: background 0.18s, transform 0.10s;
  font-size: 0.93em;
  margin-left: 8px;
  outline: none;
}

.weather-float-expand:hover,
.weather-float-expand:active {
  background: #0a84ff;
  color: #fff;
  transform: scale(1.05);
  border-color: #0a84ff;
  box-shadow: 0 4px 18px #0a84ff33;
}

.plus-circle {
  background: #fff;
  color: #0a84ff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 900;
  margin: 4px auto 2px auto;
  box-shadow: 0 2px 4px #0001;
  transition: box-shadow 0.2s, background 0.2s;
}

.weather-float-expand:hover .plus-circle,
.weather-float-expand:active .plus-circle {
  background: #0a84ff;
  color: #fff;
  box-shadow: 0 4px 12px #0a84ff44;
}

.tap-hint {
  font-size: 0.72em;
  color: #fff9;
  margin-top: 0;
  letter-spacing: 0.02em;
  animation: tap-bounce 1.3s infinite;
  user-select: none;
  pointer-events: none;
}
@keyframes tap-bounce {
  0%, 100% { opacity: 1; transform: translateY(0);}
  60% { opacity: 0.6; transform: translateY(4px);}
}
.floating-business-btn {
  position: fixed;
  bottom: 95px;          /* 好きな位置に調整 */
  right: 18px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #69afa5;
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 18px #0a84ff44;
  padding: 10px 14px 8px 14px;
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.2s;
  font-size: 1.05em;
  font-weight: 700;
  animation: floatingY 2.2s ease-in-out infinite;
}

@keyframes floatingY {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-12px);}
}

.floating-business-btn:hover {
  background: #69afa5;
  box-shadow: 0 8px 24px #add8d2;
}

.info-label {
  font-size: 0.98em;
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  font-weight: bold;
  text-shadow: 0 2px 6px #fff;
}

.plus-circle {
  background: #fff;
  color: #69afa5;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55em;
  font-weight: 900;
  box-shadow: 0 2px 8px #add8d2;
  margin: 0 auto;
  transition: background 0.15s, color 0.15s;
}
.floating-business-btn:active .plus-circle {
  background: #69afa5;
  color: #fff;
}
.floating-business-btn {
  position: fixed;
  left: 80%;
  bottom: 95px; /* 天気バナーより上に出す想定 */
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  background: #69afa5;
  box-shadow: 0 2px 18px rgba(0,0,0,0.18);
  border: none;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  cursor: pointer;
  animation: fluffy 3s infinite ease-in-out;
  transition: box-shadow 0.2s;
}
.floating-business-btn:active {
  box-shadow: 0 0 8px #69afa5;
}
@keyframes fluffy {
  0%,100% { transform: translateX(-50%) scale(1) translateY(0);}
  20% { transform: translateX(-50%) scale(1.08) translateY(-6px);}
  40% { transform: translateX(-50%) scale(0.99) translateY(5px);}
  70% { transform: translateX(-50%) scale(1.04) translateY(-4px);}
}
.business-label {
  font-size: 0.98em;
  color: #fff;
  font-weight: bold;
  line-height: 1.15;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
  text-align: center;
  pointer-events: none;
}
.business-plus {
  font-size: 2.1em;
  color: #fff;
  font-weight: bold;
  line-height: 0.8;
  pointer-events: none;
}
@media (min-width: 701px) {
  .floating-business-btn { display: none !important; }
}


.header-label-t {
  font-size: 0.82em;
  color: #dbefff;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 0 0;
} 

@media (max-width: 768px) {
.header-label-t {
  font-size: 0.72em;
  color: #dbefff;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 0 0;
} 
}
/* スマホのweather-modal内テーブル（モーダル）用に色を明示的に指定 */
@media (max-width: 700px) {
  .weather_modal_table th,
  .weather_modal_table td {
    color: #fff !important;    /* ←上書き力強め */
  }
}