@charset "UTF-8";

/* ベースリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  color: #111;
  line-height: 1.6;
  background-color: #f7f7f7;
}

/* 1300px センター寄せコンテナ */
.form-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px 60px 80px;
}

/* ヘッダーロゴ */
.header-logo {
  text-align: center;
  padding: 15px 0 25px;
}

.header-logo h1 {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* セクション設定 */
.section {
  margin-bottom: 40px;
}

/* 暗いグレーの見出し帯 */
.section-title {
  background-color: #333333;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  padding: 10px 0;
  font-weight: bold;
  letter-spacing: 1px;
}

/* 赤色 期間帯 */
.red-period-bar {
  background-color: #ff2a2a;
  color: #ffffff;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 12px 20px;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 30px;
}

/* フォーム行（左ラベル・右入力） */
.form-body {
  padding: 0 20px;
}

.form-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}

.form-label {
  width: 200px;
  font-size: 14px;
  font-weight: bold;
  padding-top: 8px;
  color: #222;
}

.form-input {
  flex: 1;
}

/* 入力パーツ基本スタイル */
input[type="text"],
input[type="tel"],
input[type="email"],
select {
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  outline: none;
  background-color: #fff;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus {
  border-color: #999;
}

/* プレースホルダー色 */
::placeholder {
  color: #b5b5b5;
}

/* 各サイズ入力幅 */
.input-short {
  width: 100px;
}

.input-medium {
  width: 300px;
  max-width: 100%;
}

.input-full {
  width: 100%;
  max-width: 600px;
}

.input-select {
  width: 140px;
  color: #555;
  cursor: pointer;
}

/* 郵便番号 */
.zip-inputs {
  display: flex;
  align-items: center;
}

.hyphen {
  margin: 0 8px;
  color: #666;
}

/* 住所グループ */
.address-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
}

/* 店舗名 */
.shop-input-group {
  display: flex;
  align-items: center;
}

.unit-text {
  margin-left: 10px;
  font-size: 14px;
}

/* レシート写真選択ボタン */
.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  color: #222;
  transition: background-color 0.2s;
}

.file-upload-btn:hover {
  background-color: #e9e9e9;
}

.file-upload-btn input[type="file"] {
  display: none;
}

.camera-icon {
  color: #000;
}

/* ラジオボタン 2列グリッド */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  max-width: 850px;
  padding-top: 5px;
}

.radio-item {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  cursor: pointer;
}

.radio-item input[type="radio"] {
  margin-right: 8px;
  accent-color: #0075ff;
}

/* 個人情報文章 */
.privacy-box {
  padding: 25px 10px 15px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #222;
}

/* 同意チェックボックス 赤枠エリア */
.agree-checkbox-wrapper {
  margin: 20px auto 0;
  max-width: 650px;
  border: 1px solid #ff9999;
  padding: 20px;
  text-align: center;
  background-color: #fff;
}

.agree-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.agree-label input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
  accent-color: #ff2a2a;
}

.agree-text {
  color: #ff0000;
  font-size: 14.5px;
  font-weight: bold;
}

/* 赤色 送信ボタン */
.submit-btn-wrapper {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 650px;
  height: 60px;
  background-color: #ff2a2a;
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s;
}

.submit-btn span {
  position: absolute;
  right: 25px;
  font-size: 24px;
}

.submit-btn:hover {
  opacity: 0.9;
}

/* ----------------------------------
  レスポンシブ対応（スマホ画面：768px以下）
---------------------------------- */
@media screen and (max-width: 768px) {
  .form-container {
    padding: 15px 15px 50px;
  }

  .header-logo h1 {
    font-size: 16px;
  }

  .red-period-bar {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    font-size: 13px;
  }

  .form-body {
    padding: 0;
  }

  /* 行を縦並びに変換 */
  .form-row {
    flex-direction: column;
    margin-bottom: 15px;
  }

  .form-label {
    width: 100%;
    margin-bottom: 6px;
    padding-top: 0;
  }

  .input-medium,
  .input-full,
  .address-group {
    width: 100%;
    max-width: 100%;
  }

  /* ラジオボタンを1列に */
  .radio-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .privacy-box {
    font-size: 12px;
    padding: 15px 5px;
  }

  .agree-checkbox-wrapper {
    padding: 15px 10px;
  }

  .agree-text {
    font-size: 13px;
  }

  .submit-btn {
    height: 50px;
    font-size: 18px;
  }

  .submit-btn span {
    right: 15px;
    font-size: 20px;
  }
}