body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background-image: linear-gradient(45deg, #93a5cf 0%, #e4efe9 100%);
  
}

h1 {
  color: white;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

textarea.form-control:focus {
  border-color: #43B0F1 !important;
  outline: none !important;
  box-shadow: 0 0 10px 0.4rem rgba(67, 176, 241, 0.25) !important;
}

textarea {
  overflow: auto;
  background-color: rgba(248, 249, 250, 0.2) !important;
  border-left: 8px solid #ffffff !important;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 20px !important;
  padding: 20px !important;
  max-height: 450px;
}

.preview-box, .custom-button {
  background-color: rgba(248, 249, 250, 0.2);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.preview-box {
  border-left: 8px solid #ffffff;
  padding: 20px;
  margin-top: 20px;
  border-radius: 20px;
  min-height: 300px;
  max-height: 300px;
  overflow-y: auto;
}

.button-wrapper {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.button-wrapper .custom-button {
  margin-bottom: 10px;
}

.custom-button {
  display: inline-block;
  padding: 20px;
  color: white;
  border: none;
  border-radius: 20px;
  text-align: center;
}



.custom-button:hover {
  text-decoration: none;
  opacity: 0.8;
}

.fas.fa-home {
  font-size: 20px;
}

.fas.fa-question-circle{
  font-size: 20px; 
}

.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.3s, transform 1.3s;
}


.modal-content {
  background-color: rgba(255, 255, 255, 0.9); /* 背景を半透明グレーに */
  border-radius: 20px; /* 角を丸く */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);  /* ソフトな影 */
}

.modal-dialog {
  max-width: 60%; /* モーダルの最大幅を60%に設定 */
  margin: 5% auto; /* 上部に5%のマージンを追加し、モーダルを中央に配置 */
}


.modal-header, .modal-footer {
  border: none; 
  margin: auto;  /* タイトルを中央に配置 */
  flex-grow: 1;  /* タイトルがヘッダー全体を占めるようにする */
}



.modal-title {
  color: #333; /* タイトルの色を暗めのグレーに */
  margin: auto;  /* タイトルを中央に配置 */
  flex-grow: 1;  /* タイトルがヘッダー全体を占めるようにする */
}

.modal-body {
  color: #555; /* 本文の色を薄めのグレーに */
}

.btn-secondary {
  background-color: #ccc; /* キャンセルボタンの背景色をグレーに */
  border: none; /* 枠線をなくす */
}

.btn-primary {
  background-color: #007bff; /* OKボタンの背景色をブルーに */
  border: none; /* 枠線をなくす */
}

/* コピーボタン */
.copy-tooltip {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1000;
  pointer-events: none;
}