/* Google Fonts 読み込み */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Roboto:wght@700&family=Share+Tech+Mono&display=swap');

/* リセットCSS（簡易版） */
*, *::before, *::after {
  padding: 0;
  margin: 0;
}
body {
	-webkit-animation: fadeIn 5.0s ease 0s 1 normal;
	animation: fadeIn 5.0s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}

/* 全体を囲うコンテナー＆背景 */
.container {
  position: relative;
  background-image: url('../images/2025/5月/IMG_1769.jpeg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center -1000px;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media screen and (max-width: 480px) {
  .container {
    background-position: center center;
  }
}
/* 背景画像と文字を区別させるためのオーバーレイ */
.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

/* カウントダウンタイマー本体 */
.countdown {
  position: absolute;
  color: #fff;
  text-align: center;
  bottom: 10%;
}

/* タイトル */
.countdown-title {
  font-family: 'Dancing Script', cursive;
  font-size: 60px;
  line-height: 1.2;
}

/* 年のテキスト */
.new-year {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 210px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* タイマー部分を囲うコンテナー */
.time-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* hours, minutes, secondsの共通スタイル */
.time {
  font-family: 'Share Tech Mono', monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  font-size: 25px;
}

/* hours, minutes, secondsの数値のスタイル */
.time-num {
  font-size: 80px;
  line-height: 1;
}

/* 小さいデバイス用に文字サイズ & margin調整 */
@media screen and (max-width: 600px) {
  .countdown-title {
    font-size: 50px;
  }

  .new-year {
    font-size: 100px;
  }

  .time-wrap {
    margin-top: 10px;
  }

  .time {
    font-size: 12px;
    margin: 0 10px;
  }

  .time-num {
    font-size: 34px;
  }
}

#balloons {
  display: none;
}
.balloons div {
  position: absolute;
  left: 0;
  bottom: -150px;
  width: 80px;
  height: 100px;
  background: #ffa07a;
  border-radius: 50%;
  box-shadow: -6px -6px 0 rgba(0, 0, 0, 0.15) inset;
}

.balloons div:before {
  content: '';
  position: absolute;
  left: 38px;
  bottom: -70px;
  width: 2px;
  height: 70px;
  background: #a0a0a0;
  transform: rotate(5deg);
}

.balloons div:nth-of-type(1) {
  left: -5%;
  background: #9400d3;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 13s ease-in-out infinite;
}

.balloons div:nth-of-type(2) {
  left: 12%;
  background: #ffc0cb;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 7s ease-in-out infinite;
}

.balloons div:nth-of-type(3) {
  left: 18%;
  background: #ffa07a;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 16s ease-in-out infinite;
}

.balloons div:nth-of-type(4) {
  left: 22%;
  background: #f0f8ff;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 14s ease-in-out infinite;
}

.balloons div:nth-of-type(5) {
  left: 36%;
  background: #ffa07a;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 7s ease-in-out infinite;
}

.balloons div:nth-of-type(6) {
  left: 50%;
  background: #00fa9a;
  animation: wobbling_x 0.9s ease-in-out infinite alternate,
    wobbling_y 1.2s ease-in-out infinite alternate,
    fly_high 12s ease-in-out infinite;
}

.balloons div:nth-of-type(7) {
  left: 62%;
  background: #ffc0cb;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 15s ease-in-out infinite;
}

.balloons div:nth-of-type(8) {
  left: 68%;
  background: #9400d3;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 7s ease-in-out infinite;
}

.balloons div:nth-of-type(9) {
  left: 78%;
  background: #ffa07a;
  animation: wobbling_x 0.9s ease-in-out infinite alternate,
    wobbling_y 1.2s ease-in-out infinite alternate,
    fly_high 9s ease-in-out infinite;
}

.balloons div:nth-of-type(10) {
  left: 90%;
  background: #ff0000;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 11s ease-in-out infinite;
}

.balloons div:nth-of-type(11) {
  left: 0%;
  background: #f0f8ff;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 9s ease-in-out infinite 7s;
}

.balloons div:nth-of-type(12) {
  left: 3%;
  background: #ffa07a;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 7s ease-in-out infinite 2s;
}

.balloons div:nth-of-type(13) {
  left: 10%;
  background: #ff0000;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 8s ease-in-out infinite 5s;
}

.balloons div:nth-of-type(14) {
  left: 25%;
  background: #00ced1;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 12s ease-in-out infinite 6s;
}

.balloons div:nth-of-type(15) {
  left: 37%;
  background: #00fa9a;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 7s ease-in-out infinite 4s;
}

.balloons div:nth-of-type(16) {
  left: 45%;
  background: #00ced1;
  animation: wobbling_x 0.9s ease-in-out infinite alternate,
    wobbling_y 1.2s ease-in-out infinite alternate,
    fly_high 9s ease-in-out infinite;
}

.balloons div:nth-of-type(17) {
  left: 55%;
  background: #ffc0cb;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 13s ease-in-out infinite 8s;
}

.balloons div:nth-of-type(18) {
  left: 60%;
  background: #f0f8ff;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 10s ease-in-out infinite 1s;
}

.balloons div:nth-of-type(19) {
  left: 75%;
  background: #00fa9a;
  animation: wobbling_x 0.9s ease-in-out infinite alternate,
    wobbling_y 1.2s ease-in-out infinite alternate,
    fly_high 15s ease-in-out infinite 7s;
}

.balloons div:nth-of-type(20) {
  left: 95%;
  background: #00ced1;
  animation: wobbling_x 0.8s ease-in-out infinite alternate,
    wobbling_y 1.1s ease-in-out infinite alternate,
    fly_high 11s ease-in-out infinite 6s;
}

@keyframes wobbling_x {
  0% {margin-left: 8px;}
  100% {margin-left: 0px;}
}
@keyframes wobbling_y {
  0% {margin-bottom: 0px;}
  100% {margin-bottom: 8px;}
}
@keyframes fly_high {
  100% {transform:translateY(-1200px);}
}

/* signin */
.signin {
  display: none;
  -webkit-animation: fadeIn 10.0s ease 0s 1 normal;
  animation: fadeIn 10.0s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}
.signin_wrapper {
  height: 120px;
  width: 120px;
  position: fixed;
  right: 130px;
  bottom: 80px;
  color: black;
  font-size: 25px;
  text-decoration: none;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
