.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;
}


/* OAuth ボタン（Google） */
.oauth-block{ 
  max-width: 550px;
  margin: 0 auto 150px auto;
}
.oauth-btn{
  display:flex;
  align-items:center; 
  justify-content:center; 
  gap:10px;
  width:100%; 
  height:60px; 
  border:1px solid #ebedf0;
  border-radius:10px;
  background:#f8f9fa; 
  font-weight:700;
  box-shadow:0 1px 2px rgba(0,0,0,.05);
}
.oauth-btn:hover{ background:#f8fafc; }
.oauth-logo{ width:18px; height:18px; }

/* 選択ボタン */
.signupChoice { display:flex; flex-direction:column; gap:12px; }
.choice-btn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  height:46px; border-radius:10px; font-weight:700; text-decoration:none; cursor:pointer;
  border:1px solid #ebedf0; background:#fff;
}
.choice-btn--email{ background:#17a2b8; border-color:#17a2b8; color:#fff; }
.choice-btn--email:hover{ filter:brightness(.96); }
.choice-btn--google{ color:#555; }
.choice-btn--google:hover{ background:#f8fafc; }

/* カーテン（全画面オーバーレイ） */
.curtain{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  background:rgba(15,23,42,.55); backdrop-filter: blur(2px); z-index:1000;
}
.curtain.is-open{ display:flex; }

/* パネル */
.curtain__panel{
  width:min(560px, 92vw); max-height:85vh; overflow:auto;
  background:#fff; border:1px solid #eef1f4; border-radius:12px;
  box-shadow:0 24px 48px rgba(16,24,40,.16);
  padding:22px 20px;
  animation: pop .14s ease;
}

.choice-btn.is-disabled {
  opacity: .5;
  cursor: not-allowed;
}

@keyframes pop{ from{ transform:scale(.98); opacity:0 } to{ transform:scale(1); opacity:1 } }

.curtain__title{ margin:4px 0 10px; font-size:1.25rem; text-align:center; }
.curtain__close{
  position:absolute; margin:10px; right:0; top:0; width:36px; height:36px;
  border:none; background:#fff; border-radius:999px; box-shadow:0 1px 2px rgba(0,0,0,.08);
  font-size:18px; cursor:pointer;
}

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

  .oauth-block{ 
    margin: 0 15px 150px 15px;
  }

  .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;
  }

  .signupCustomer { margin: 16px; padding: 16px; }
  .signupCustomer__title { font-size: 1.4rem; }
  .signupCustomer__input { height: 40px; }
  .signupCustomer__button, .oauth-btn { height: 42px; }

  .curtain__panel {
    width: 90%;
    max-width: 360px;
  }

  .modal form {
    padding: 16px;
  }

  .choice-btn {
    font-size: 16px;
    height: 50px;          /* 46px → 50px に少しだけ余裕を */
    line-height: 1.2;      /* 文字が潰れないように */
  }

  /* Googleロゴも少しだけ拡大してバランス調整（任意） */
  .oauth-logo {
    width: 20px;
    height: 20px;
  }
}
