body {
  font-family: "Zen Maru Gothic", serif;
  text-align: center;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
  position: relative;
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #ff9c9c;
}
a,a:visited {
  color: #ff9c9c; /* リンクの色を設定 */
  text-decoration: none; /* リンクの下線をなくす */
}
a:hover {
  color: #ff7070; /* リンクを踏んだ後の色を設定 */
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}
.ultra-regular {
  font-family: "Ultra", serif;
  font-weight: 400;
  font-style: normal;
}
.rubik-wet-paint-regular {
  font-family: "Rubik Wet Paint", system-ui;
  font-weight: 400;
  font-style: normal;
}
.limelight-regular {
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.noto-color emoji-regular {
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.timer {
  margin: 30px 0 30px;
  color: white;
}
#timerContainer,
#left {
  width: 50%; /* 画面の幅の半分を占める */
}
#timerContainer {
  order: 2; /* 順序を2に設定して右側に配置 */
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Limelight", sans-serif;
    padding: 40px;
}
#timer {
  font-size: 70px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 水平方向のオフセット、垂直方向のオフセット、ぼかしの半径、色 */
}

.timename {
  color: #fff;
}

/* ボタンのスタイル */
button {
  background-color: #ff9c9c; /* ボタンの背景色 */
  border: none; /* ボーダーをなしに設定 */
  color: white; /* 文字色を白に設定 */
  padding: 20px 20px; /* 上下に10px、左右に20pxのパディングを設定 */
  border-radius: 50px; /* 丸い形にするためにボーダー半径を50%に設定 */
  width: 200px; /* 横幅を200pxに設定 */
  cursor: pointer; /* マウスを重ねたときにポインターを表示 */
  font-size: 16px; /* フォントサイズを16pxに設定 */
  transition: background-color 0.3s ease; /* 背景色の変化をスムーズにする */
  margin: 20px auto 10px;
  font-family: "Limelight", sans-serif;
}

/* ボタンにマウスを重ねたときのスタイル */
button:hover {
  background-color: #ff7070; /* マウスを重ねたときの背景色 */
}
.timename {
  font-size: 20px;
}

/* セレクター */
#workTime,
#breakTime {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
  width: 150px;
  margin: 5px 0 15px;
  color: #666; /* テキストの色を指定 */
}
#workTime option,
#breakTime option {
  padding: 10px;
  font-size: 16px;
  background-color: #f2f2f2;
  color: #333; /* テキストの色を指定 */
}
#workTime:hover,
#workTime:focus,
#breakTime:hover,
#breakTime:focus {
  border-color: #999;
  outline-color: #ff7070; /* 選択状態のアウトラインの色を青に設定 */
}

/* 日付・時計 */
.day {
  height: 15vh; /* 画面の高さいっぱいに広げる */
  display: flex; /* Flexbox を使用 */
  justify-content: center; /* 水平方向に中央揃え */
  align-items: center; /* 垂直方向に中央揃え */
  font-family: "Limelight", sans-serif;
  background-color: #ff9c9c;
  color: #fff;
  letter-spacing: 3px;
}
#watchContainer {
  font-size: 80px;
  margin-right: 10px;
}
/* メモコンテナー */

#memoContainer {
  order: 1; /* 順序を1に設定して左側に配置 */
  height: 85vh; /* 画面の高さいっぱいに広げる */
  padding: 0px 40px 10px;
  background-color: #ff9c9c; /* 背景色を設定 */
  box-sizing: border-box;
  z-index: 1;
  overflow-y: auto; /* 高さが画面よりも高くなったらスクロール */
  position: relative;
}
.memo-container {
  position: relative;
}
.memoLogBox {
  text-align: left;
  max-height: 100%; /* メモログの最大高さを設定 */
  height: 66vh;
  position: relative;
}
#memoLog {
  position: absolute;
  bottom: 0;
  word-wrap: break-word; /* 内容が折り返されるように */
  font-family: "Zen Maru Gothic", serif, "Noto Color Emoji", sans-serif;
  overflow-y: auto; /* 縦方向のオーバーフローに対してスクロールバーを表示 */
  max-height: 66vh;
  width: 100%;
}
/* スクロールバーのスタイル */
#memoLog::-webkit-scrollbar, #form-bottom::-webkit-scrollbar, #memoContainer::-webkit-scrollbar {
  width: 8px; /* スクロールバーの幅 */
}
/* スクロールバーのトラック（背景部分） */
#memoLog::-webkit-scrollbar-track, #form-bottom::-webkit-scrollbar-track, #memoContainer::-webkit-scrollbar-track {
  background-color: #ff9c9c; /* スクロールバーのトラックの背景色 */
}
/* スクロールバーのThumb（つまみ） */
#memoLog::-webkit-scrollbar-thumb, #form-bottom::-webkit-scrollbar-thumb, #memoContainer::-webkit-scrollbar-thumb {
  background-color: #ff7070; /* スクロールバーのThumbの背景色 */
  border-radius: 4px; /* スクロールバーのThumbの角丸 */
}
/* スクロールバーのThumbにホバーしたときのスタイル */
#memoLog::-webkit-scrollbar-thumb:hover, #form-bottom::-webkit-scrollbar-thumb:hover, #memoContainer::-webkit-scrollbar-thumb:hover {
  background-color: #FFDBDB; /* スクロールバーのThumbの背景色（ホバー時） */
}


#memoLog div {
  margin-bottom: 10px;
}
#form-bottom {
  left: 0;
  margin: 0px 0px 0;
  width: 100%;
  height: 17vh;
}
#memoInput {
  border: 1px solid #fff;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 10px;
  width: 100%; /* memoInputの横幅をmemoLogと合わせる */
}
#memoInput:focus {
  outline-color: #ff7070; /* 選択状態のアウトラインの色を青に設定 */
}

.emojibutton button {
  border: none; /* ボーダーをなしに設定 */
  padding: 8px 10px; /* 上下に10px、左右に20pxのパディングを設定 */
  border-radius: 50px; /* 丸い形にするためにボーダー半径を50%に設定 */
  width: auto; /* 横幅を200pxに設定 */
  cursor: pointer; /* マウスを重ねたときにポインターを表示 */
  transition: background-color 0.3s ease; /* 背景色の変化をスムーズにする */
  margin: 4px auto 8px;
  font-size: 24px;
  font-family: "Noto Color Emoji", sans-serif;
}


.memo-item {
  display: block; /* ブロック要素として表示 */
  background-color: #fff;
  padding: 8px;
  border-radius: 12px;
  white-space: nowrap; /* テキストを折り返さないように設定 */
  margin-bottom: 10px; /* アイテム間の余白を設定 */
  width: max-content;
}
.post-time {
  font-size: 14px;
  line-height: 1.5;
}
.memo-content {margin: 0 8px 0 8px;}
.memo-keika {
  font-size: 10px;
}

#container {
  display: flex;
  justify-content: center;
}
#timerContainer {
  float: right; /* 右側に配置 */
}
#left {
  float: left; /* 左側に配置 */
}


/* メモコンテナー */
