@charset "utf-8";

/* ------------------------------
   基本設定
------------------------------ */
body {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #f4f5f7;
  margin: 0;
  padding: 40px 0;
  color: #333;
}

#wrapper {
  max-width: 930px;
  margin: 0 auto;
  background: #fff;
  padding: 50px 50px 70px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* ------------------------------
   ロゴ
------------------------------ */
.logo-box {
  text-align: center;
  margin-bottom: 32px;
}
.logo-box img {
  max-width: 160px;
  width: 100%;
  height: auto;
}

/* ------------------------------
   LP
------------------------------ */

.lp img{
    max-width: 100%;
}

.lp div{
    margin-bottom: 30px;
}

.lp h2{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: #eee;
    border-radius: 5px;
    
}

/* ------------------------------
   リード文
------------------------------ */
.lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #444;
}

/* ------------------------------
   STEPデザイン
------------------------------ */
.step {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 0;
  margin: 0 0 48px;
}
.step li {
  list-style: none;
  text-align: center;
  color: #999;
}
.step li .circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  margin: 0 auto 6px;
}
.step li.active .circle {
  background: #e53935;
  color: #fff;
}
.step li.active {
  color: #e53935;
  font-weight: bold;
}
.step li p {
  margin: 0;
  font-size: 13px;
}

/* ------------------------------
   フォームカード
------------------------------ */
.form-card {
  background: #fff;
  padding: 36px 36px 48px;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* ------------------------------
   テーブルレイアウト
------------------------------ */
.form-table {
  width: 100%;
  border-collapse: collapse;
}
.form-table th {
  width: 210px;
  padding: 16px 0 6px;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
}
.form-table td {
  padding: 6px 0 20px;
}
.note {
  padding-bottom: 20px;
  font-size: 14px;
  color: #e53935;
}

/* ------------------------------
   input / textarea
------------------------------ */
input[type="text"],
textarea {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  transition: all .2s;
  box-sizing: border-box;
}
input[type="text"]:focus,
textarea:focus {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.15);
  outline: none;
}

/* チェックボックス類 */
.form-table td label {
  margin-right: 16px;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
}

/* 出店中モール（縦並び） */
.mall-checks label {
  display: block;
  margin-bottom: 4px;
}

/* ------------------------------
   プライバシーポリシー枠（グレー基調）
------------------------------ */
.policy-box {
  margin-top: 40px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
}

.policy-header {
  background: #eee;     /* ← 赤からグレーへ変更 */
  color: #333;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}

.policy-body {
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.7;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border-radius: 0 0 10px 10px;
  border-top: 1px solid #eee;
}

.policy-check {
  display: block;
  padding: 16px 20px;
  font-size: 14px;
  background: #fafafa;
}

/* ------------------------------
   ボタン
------------------------------ */
.submit-btn {
  display: block;
  width: 100%;
  background: #e53935;
  color: #fff;
  padding: 16px;
  font-size: 17px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 28px;
  transition: 0.2s;
    text-decoration: none;
}
.submit-btn:hover {
  background: #c62828;
}
.submit-btn:active {
  transform: scale(0.98);
}

/* ------------------------------
   スマホ対応
------------------------------ */
@media (max-width: 600px) {
  #wrapper {
    padding: 28px 20px 50px;
  }
  .form-card {
    padding: 26px 20px 36px;
  }
  .form-table th,
  .form-table td {
    width: 100%;
    display: block;
  }
  .form-table th {
    margin-top: 8px;
  }
  .step {
    gap: 30px;
  }
  .step li .circle {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

/* 入力画面：確認ボタン（グレー） */
.btn-confirm-gray {
  display:block;
  width:100%;
  padding:16px;
  background:#666;
  color:#fff;
  border:none;
  border-radius:8px;
  margin-top:30px;
  cursor:pointer;
  font-size:16px;
  transition:.2s;
}
.btn-confirm-gray:hover {
  background:#555;
}

/* ラジオ + チェックボックスの行間調整 */
.form-block td label,
.mall-checks label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;      /* ← 右側スペース */
    margin-bottom: 10px;     /* ← 下余白 */
    font-size: 14px;
}

.mall-checks {
    display: flex;
    flex-wrap: wrap;          /* ← 折返しOKにする */
    gap: 10px 20px;           /* ← 縦横の余白を統一 */
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 6px;        /* ← チェックと文字の距離 */
}

/* ラジオボタン行を縦に綺麗に並べる */
.radio-group label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;   /* ← これで行間がつく */
    font-size: 14px;
    line-height: 1.7;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
}

/* ---- ラジオボタンの行間を統一 ---- */
.form-block td {
    line-height: 1.7 !important;   /* ← td の行間を強制的に統一 */
}

.form-block td label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 6px;
    font-size: 14px;
}

/* ---- ラジオボタンの行間を広げる（最適値） ---- */
.radio-group label,
.consult-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px; /* ← 余白アップ（ここが重要） */
    line-height: 1.8;
    font-size: 14px;
}

.radio-group,
.consult-group {
    margin-top: 6px;
}

.confirm-title {
    text-align: center;
    font-size: 18px;
    margin: 30px 0 25px;
    font-weight: 600;
}