.signupStore {
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

.signupStore__title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #666;
}

.signupStore__field {
  margin-bottom: 15px;
}

.signupStore__label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.signupStore__input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* フィールドが親要素からはみ出さない */
}

.signupStore__button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #17a2b8;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 30px; /* ボタンを下にずらす */
}

.signupStore__button:hover {
  background-color: #0056b3;
}

.signupStore__field .error-message {
  color: red;
  font-size: 0.9em;
  margin-top: 5px;
  font-weight: bold; /* 文字を太くする */
}

/* 親コンテナのスタイル */
.signupstore__flashMessages-container {
  margin: 10px 0;
  padding: 0;
}

/* 各メッセージの基本スタイル */
.signupstore__flashMessages {
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold; 
}

/* メッセージの種類ごとのスタイル */
.signupstore__flashMessages--error {
  color:red;
}

.signupstore__flashMessages--success {
  color: blue;  
}

.signupstore__flashMessages--info {
  color: black;
}

.signupStore__loginLink {
  text-align: center; /* 中央揃え */
  margin-top: 20px;
  font-size: 1rem; /* 少し大きめの文字サイズ */
  color: #666; /* 落ち着いたベース文字色 */
}

.signupStore__loginLink--link {
  color: #1e90ff; /* 明るめの青色 (DodgeBlue) */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.signupStore__loginLink--link:hover {
  color: #00bfff; /* ホバー時にさらに明るい青色に変更 */
}

.form-text {
  font-size: 0.85em;
  color: #6c757d; /* 薄いグレー */
  margin-top: 5px;
}

/* 左寄せにしてリンクを縦並びに */
.privacy-section {
  text-align: center;
  margin-top: 20px;
}

.privacy-section .policy-links p {
  margin: 5px 0;
}

.privacy-section .policy-links a {
  color: #1e90ff;
  text-decoration: underline;
  font-weight: bold;
  margin: 5px 0;
  display: block; 
}

.privacy-section  {
  margin-top: 20px;
}
.checkbox-area {
  margin-top: 30px;
  color: #555;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 80%;
  overflow-y: auto;
  border-radius: 10px;
}
.modal-body {
  max-height: 300px;
  overflow-y: scroll;
  padding-right: 10px;
}
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.policy-section {
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
}

.policy-section h3.policy-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #007b8a;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
}

.policy-section h4 {
  font-size: 1rem;
  margin-top: 1rem;
  color: #444;
}

@media (max-width: 560px) {
  .signupStore {
    margin: 20px;
    padding: 10px;
  }

  .signupStore__title {
    font-size: 1.5rem;
  }

  .signupStore__input {
    font-size: 16px !important;
    padding: 6px;
    height: 40px;
    border-radius: 6px;
  }

  .signupStore__button {
    font-size: 1rem;
    padding: 8px;
    height: 40px;
    border-radius: 6px;
  }
}
