/**
 * ボタンスタイルシート
 * サンクスページなどで使用するボタンスタイル
 */

/* LINEボタン */
.btn-line {
  background-color: #06C755;
  border-color: #06C755;
  color: #fff !important;
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid #06C755;
  border-radius: 0.8rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* 訪問済みリンクでも白い色を維持 */
.btn-line:visited {
  color: #fff !important;
}

.btn-line:hover {
  background-color: #05b048;
  border-color: #05b048;
  color: #fff !important;
  text-decoration: none;
}

.btn-line:focus {
  background-color: #05b048;
  border-color: #05b048;
  color: #fff !important;
  box-shadow: 0 0 0 0.25rem rgba(6, 199, 85, 0.5);
  text-decoration: none;
}

.btn-line:active {
  background-color: #049a3d;
  border-color: #049a3d;
  color: #fff !important;
  text-decoration: none;
}

/* 戻るボタン */
.btn-back {
  background-color: #6c5ce7;
  border-color: #6c5ce7;
  color: #fff !important;
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid #6c5ce7;
  border-radius: 0.8rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-top: 1rem;
}

/* 訪問済みリンクでも白い色を維持 */
.btn-back:visited {
  color: #fff !important;
}

.btn-back:hover {
  background-color: #5a4fcf;
  border-color: #5a4fcf;
  color: #fff !important;
  text-decoration: none;
}

.btn-back:focus {
  background-color: #5a4fcf;
  border-color: #5a4fcf;
  color: #fff !important;
  box-shadow: 0 0 0 0.25rem rgba(108, 92, 231, 0.5);
  text-decoration: none;
}

.btn-back:active {
  background-color: #4a3fb8;
  border-color: #4a3fb8;
  color: #fff !important;
  text-decoration: none;
}

/* エラーメッセージ内のボタン */
.error-message .btn-back {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

