@charset "utf-8";
/* CSS Document */
/*========= 全体設定 ===============*/
body {
  font-family: "Cardo", serif;
  color: #333;
	background: #DCBEC1;
  box-sizing: border-box;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%; /*回転時の文字サイズ自動調節機能*/
}
/*========= header ===============*/



h3 {
  font-size: 100px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: bold;
  position: absolute;
  bottom: 80px;
  left: 10px;
}
h1 {
  font-size: 32px;
  margin-top: 10px;
  font-weight: bold;
}
p {
  font-size: 15px;
  margin-top: 40px;
  margin-left: 25px;
  margin-bottom: 80px;
}
/*========= ナビゲーション ===============*/
/*アクティブになったエリア*/
#g-nav.panelactive {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}
/*丸の拡大*/
.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #D47C8C;
  /*丸のスタート位置と形状*/
  transform: scale(0); /*scaleをはじめは0に*/
  top: calc(50% - 50px); /*50%から円の半径を引いた値*/
  left: calc(50% - 50px); /*50%から円の半径を引いた値*/
  transition: all .6s; /*0.6秒かけてアニメーション*/
}
.circle-bg.circleactive {
  transform: scale(50); /*クラスが付与されたらscaleを拡大*/
}
/*ナビゲーションの縦スクロール*/
#g-nav-list {
  display: none; /*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#g-nav.panelactive #g-nav-list {
  display: block; /*クラスが付与されたら出現*/
}
/*ナビゲーション*/
#g-nav ul {
  opacity: 0; /*はじめは透過0*/
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}
#g-nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: .2s; /*0.2 秒遅らせて出現*/
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*リストのレイアウト設定*/
#g-nav li {
  text-align: center;
  list-style: none;
}
#g-nav li a {
  font-size: 25px;
  color: #333;
  text-decoration: none;
  padding: 20px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999; /*ボタンを最前面に*/
  cursor: pointer;
  width: 50px;
  height: 50px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
/*========= main ===============*/
main {
  width: 100vw;
  height: 100vh;
  margin: 0;
  position: relative;
  overflow: hidden;
}



/*モーダル全体コンテナ*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.modal {
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 650px;
  max-height: 80vh;
  overflow-y: auto;
  display: none;
}
/*閉じるボタン*/
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #888;
}
.modal h2 {
  margin-top: 0;
}
.modal h3 {
  color: #555;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}
/* モーダル全体 */
.task-list {
  padding-left: 0;
  list-style: none;
}
.task-list li {
  margin-bottom: 12px;
}
.progress-bar {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}
.progress-bar div {
  height: 10px;
  border-radius: 10px;
  background-color: #4CAF50;
  transition: width 0.5s ease-in-out;
}
/* PC */
#code-modal video {
  width: 100%; /* モーダル幅に合わせる */
  height: auto; /* アスペクト比を維持 */
  display: block;
}
/* カレンダー　モーダル */
#calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
#calendar-header button {
  background: #ddd;
  color: #333;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
}
#calendar-month-year {
  font-size: 1.2em;
  font-weight: bold;
}
#calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}
#calendar-grid div {
  padding: 10px;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
#calendar-grid div:hover {
  background-color: #f0f0f0;
}
#calendar-grid .day-header {
  font-weight: bold;
  background: none;
  cursor: default;
}
#calendar-grid .not-month {
  color: #ccc;
  background: #f9f9f9;
  cursor: default;
}
#calendar-grid .today {
  background-color: #a3c2e8;
  font-weight: bold;
}
#calendar-grid .event {
  background-color: #f9f59f;
}
/*========= PC(モバイルファースト方式) ===============**/
@media screen and (min-width: 768px) {
  body {
    background-attachment: fixed; /* ページをスクロールしても画像を固定 */
  }
  /* ハンバーガーメニュー */
  .openbtn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
  }
  .openbtn span {
    background-color: #fff;
  }
}