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

/* 全体を囲うコンテナー */
.container {
  position: relative;
  width: 100%;
  height: 100vh;
  /* background-color: #15151e; */
  background-color: #f7eccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* 背景画像用 */
.background-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url('washi-txillust6.png');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
  filter: blur(2px) brightness(0.7);
}

.center-image {
  display: block;
  margin: 0 auto 32px auto; /* 下の余白も少し増やす */
  width: 400px;             /* 画像を大きく */
  height: auto;
  z-index: 1;
  position: relative;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}


/* 時計の共通スタイル */
.clock {
  position: relative;
  z-index: 1;
  font-family: 'Share Tech Mono', monospace;
  text-align: center;
  margin-top: 0;
}

.clock-date {
  font-size: 90px;
  font-weight: bold;
  color: #111; /* 濃い黒 */
  text-shadow:
  0 0 16px #fff,   /* 大きめのぼかしで光感 */
  0 0 32px #fff,   /* さらに大きく広げる */
  0 0 4px #fff;    /* 中心部を少し強調 */
  margin-bottom: 0.5em; /* 日付と時間の間を広げる */
}

.clock-time {
  font-size: 320px;
  font-weight: bold;
  color: #111; /* 濃い黒 */
  text-shadow:
  0 0 32px #fff,   /* かなり大きく光らせる */
  0 0 64px #fff,   /* さらに外側に広げる */
  0 0 8px #fff;    /* 中心部を強調 */
}

/* .badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.5); 
  border-radius: 20px;             
  padding: 0.2em 0.8em;            
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  margin: 0.2em 0;
} */



/* .clock {
  position: relative;
  z-index: 1;
  font-family: 'Share Tech Mono', monospace;
  color: #222; 
  text-shadow: 0 0 10px #fff, 0 0 2px #fff; 
  line-height: 1.2;
  text-align: center;
} */


/* .clock {
  position: relative;
  z-index: 1;
  font-family: 'Share Tech Mono', monospace;
  color: #daf6ff;
  text-shadow: 0 0 20px #0aafe6;
  line-height: 1.2;
  text-align: center;
} */

/* 日付のスタイル */
/* .clock-date {
  font-size: 50px;
}

/* 時間のスタイル */
/*.clock-time {
  font-size: 200px;
} */

/* レスポンシブ対応 */
@media screen and (max-width: 500px) {
  .center-image {
    width: 40vw;
    margin-bottom: 6vw;
  }
  .clock-date {
    font-size: 5vw;
  }
  .clock-time {
    font-size: 20vw;
  }
}

