@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&family=DM+Mono:wght@300;400;500&display=swap');

/* 全体の設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 背景デザイン・フォント等の設定 */
.app {
  min-height: 100vh;
  background: linear-gradient(155deg, #d6eef9 0%, #e8f6fd 45%, #f4fbff 100%);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  padding: 1.2rem 1rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb1 {
  width: 340px;
  height: 340px;
  background: rgba(130, 205, 240, .18);
  top: -120px;
  right: -80px;
}

.orb2 {
  width: 200px;
  height: 200px;
  background: rgba(90, 185, 230, .11);
  top: 360px;
  right: -20px;
}

.orb3 {
  width: 270px;
  height: 270px;
  background: rgba(90, 185, 230, .14);
  bottom: -70px;
  left: -70px;
}

/* コンテンツの配置設定 */
.inner {
  /* clamp(最小値, 推奨値, 最大値) 90vw（画面幅の90%） */
  max-width: clamp(320px, 90vw, 800px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* トップ（タイトル・検索窓）の設定 */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.app-title {
  display: flex;
  align-items: center;
  font-size: 27px;
  font-weight: 520;
  color: #2081aa;
  letter-spacing: -1.5px;
}

.app-logo {
  height: 1.3em;
  transform: translateY(3px);
}

.search-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-row select {
  background: rgba(255, 255, 255, 75%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 185, 225, .3);
  border-radius: 10px;
  padding: 8px 10px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 15px;
  color: #106f98;
  font-weight: 550;
  outline: none;
  cursor: pointer;
}

.search-btn {
  background: #3aafd6;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 16px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}

.search-btn:hover {
  background: #229fc8;
}

.search-btn:active {
  transform: scale(.97);
}

/* location */
.location-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: .9rem;
}

.location-label {
  font-size: 15px;
  letter-spacing: .14em;
  color: #5cb5dc;
  font-weight: 500;
}

.location-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a6484;
}

/* GAP display */
.gap-display {
  background: rgba(58, 175, 214, .12);
  border: 1.5px solid rgba(58, 175, 214, .3);
  border-radius: 20px;
  padding: 1rem 1.2rem .9rem;
  margin-bottom: .75rem;
}

.gap-display-label {
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #3aafd6;
  font-weight: 500;
  margin-bottom: .25rem;
}

.gap-display-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: .5rem;
}

.gap-display-value {
  font-family: 'DM Mono', monospace;
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -3px;
}

.gap-display-unit {
  font-size: 25px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
}

.gap-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gap-chip {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(100, 185, 225, .2);
  border-radius: 10px;
  padding: .55rem .8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gap-chip-label {
  font-size: 12px;
  letter-spacing: .1em;
  color: #57c3f1;
  font-weight: 500;
}

.gap-chip-val {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  font-weight: 400;
  color: #1a6484;
}

.gap-chip-unit {
  font-size: 11px;
  color: #7bbfdb;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

.neutral {
  color: #3aafd6 !important;
}

/* feel */
.feel-card {
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 185, 225, .2);
  border-radius: 16px;
  padding: .85rem 1.1rem;
  margin-bottom: .9rem;
}

.feel-label {
  font-size: 14px;
  letter-spacing: .13em;
  color: #67afcd;
  font-weight: 500;
  margin-bottom: .35rem;
}

.feel-text {
  font-size: 18px;
  color: #1a6484;
  line-height: 1.65;
  font-weight: 400;
}

/* divider */
.divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: .8rem 0 .75rem;
}

.divider span {
  font-size: 12px;
  letter-spacing: .13em;
  color: #79cbee;
  font-weight: 500;
  white-space: nowrap;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(61, 166, 214, 0.22);
}

/* day columns */
.day-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.day-col {
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 185, 225, .2);
  border-radius: 16px;
  padding: .85rem .9rem;
}

.day-col-header {
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7bbfdb;
  font-weight: 500;
  margin-bottom: .3rem;
}

.day-main-label {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a0d2e8;
  font-weight: 500;
  margin-bottom: 4px;
}

.day-main-val {
  font-family: 'DM Mono', monospace;
  font-size: 38px;
  font-weight: 300;
  color: #1a6484;
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: .6rem;
}

.day-main-unit {
  font-size: 15px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: #7bbfdb;
}

.day-subs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(100, 185, 225, .18);
  padding-top: .55rem;
}

.day-sub-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day-sub-label {
  font-size: 10px;
  color: #7bbfdb;
  font-weight: 500;
}

.day-sub-val {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-weight: 400;
  color: #2479a8
}
