body {  
  background-image: url('./background.png');
  background-size: cover;
  background-position: top center;
  margin: 0;
  padding: 0;
}

/* 横浜市モード時は背景を非表示 */
body.yokohama-mode {
  background-image: none;
  background-color: #FFFFFF;
}

/* 横浜市用の警告バナー */
.yokohama-warning {
  background-color: #FBF1F1;
  padding: 0px 24px 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
}

.warning-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.warning-text {
  margin: 0;
  font-size: 12px;
  font-weight: bold;
  color: #D32F2F;
  line-height: 1.4;
  flex: 1;
}

/* 横浜市用のレイアウト */
.yokohama-layout {
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  overflow-x: hidden;
  min-height: 636px;
}

/* 警告バナー表示時のレイアウト調整 */
body.yokohama-mode.show-warning .yokohama-layout {
  margin-top: 60px;
}

/* 警告バナーが高い場合のレイアウト調整 */
body.yokohama-mode.show-warning-tall .yokohama-layout {
  margin-top: 78px;
}

/* 横浜市用の上部背景 */
.yokohama-top {
  width: 100%;
  background-image: url('./background-yokomaha-top.png');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  min-height: 340px;
  aspect-ratio: 375 / 340;
}

/* 横浜市用の中間テキスト */
.yokohama-middle {
  padding: 3px 0px 10px 0px;
  text-align: center;
  background-color: #FFFFFF;
  flex-shrink: 0;
}

.yokohama-description {
  font-size: 12px;
  font-weight: bold;
  color: rgba(33, 37, 41, 1);
  line-height: 1.6;
  margin: 0;
}

/* 横浜市用の下部ラッパー */
.yokohama-bottom-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5px 0px 19px 0px;
  background-color: #FFFFFF;
}

/* 横浜市用の下部背景 */
.yokohama-bottom {
  background-image: url('./background-yokomaha-bottom.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  aspect-ratio: 327 / 240;
  min-height: 240px;
  width: 87.2%;
  margin: 0 auto;
}

/* 横浜市用のボタン */
.yokohama-buttons {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

/* 横浜市用の著作権表示 */
.yokohama-bottom .yokohama-copyright {
  margin-top: 10px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 10px;
  color: #000;
}

body {
  font-family: "SF Pro", Arial, Helvetica, sans-serif;
}

.android {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.ios {
  font-family: "SF Pro", Arial, Helvetica, sans-serif;
}


.download-buttons {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.bottom {
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.description {
  text-align: center;
  font-size: 14px;
  color: rgba(33, 37, 41, 1);
} 

.copyright {
  margin-top: 24px;
  text-align: center;
  font-size: 10px;
  color: #000;
}

/* Error Dialog Styles */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.dialog-content {
  background-color: white;
  border-radius: 24px;
  width: 90%;
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.dialog-body {
  padding: 30px 30px 20px 30px;
  text-align: center;
}

.dialog-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}

.dialog-footer {
  padding: 0 30px 30px 30px;
  display: flex;
  justify-content: center;
}

.dialog-button {
  background-color: #4457D1;
  color: white;
  border: none;
  border-radius: 24px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.dialog-button:hover {
  background-color: #3646B0;
}

.dialog-button:active {
  background-color: #2A3890;
}