@charset "utf-8";
/* CSS Document */

/* 開くボタンのスタイル */
.modal-button {
  padding: 15px 30px;
  background: #0a0a0a;
  color: #00ff88;
  border: 2px solid #00ff88;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
display:inline-block;/*コレ*/
	margin: 20px;
}
div{
text-align:center;
  width: auto;
  margin: 1rem auto; /* 左右を自動で中央に */
 }

.modal-button:hover {
  background: #00ff88;
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

.modal-button2 {
  padding: 15px 30px;
  background: #0a0a0a;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
display:inline-block;/*コレ*/
}
div{
text-align:center;
  width: auto;
  margin: 1rem auto; /* 左右を自動で中央に */
 }

.modal-button2:hover {
  background: #00ff88;
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

/* 背景マスクのスタイル */
.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mask.appear {
  opacity: 1;
  visibility: visible;
}

/* フルスクリーンモーダル本体のスタイル */
.modal.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  border: 2px solid #00ff88;
  box-shadow: inset 0 0 50px rgba(0, 255, 136, 0.1), 0 0 50px rgba(0, 255, 136, 0.3);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.modal.fullscreen.appear {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 100%;
　max-width: 1200px;
  margin: 0 auto; /* 中央寄せ */
  max-height: 85vh;
  overflow-y: auto;
}

/* 右上が絶対配置で「×」ボタン */
.modal.fullscreen > .modal-content > .close-btn-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.modal.fullscreen > .modal-content > .close-btn-container .close-btn {
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 2px solid #00ff88;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.modal.fullscreen > .modal-content > .close-btn-container .close-btn:hover {
  background: #00ff88;
  color: #0a0a0a;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
}

/* モーダルコンテンツ中央揃え */
.fullscreen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
}

.modal p {
  color: #FFFFFF;
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 1080px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}


/* 下部の「CLOSE」ボタンスタイル */
.fullscreen-content .close-btn-container {
  margin-top: 30px;
}

.fullscreen-content .close-btn {
  padding: 12px 30px;
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 2px solid #00ff88;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 120px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.fullscreen-content .close-btn:hover {
  background: #00ff88;
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
}
