@charset "UTF-8";

/* ========== ========== ==========
追加のcssはこちらへ記述ください
========== ========== ========== */
.sp {
  display: none;
}

.design_fileBlock1_li_texts {
  flex-direction: column;
}

.design_fileBlock1_li_text {
  font-size: clamp(24px, calc(24 / var(--base-width-sp) * 100vw), 30px);
  font-weight: bold;
  color: var(--color-green);
  text-align: center;
  line-height: 1.4;
  font-family: var(--font-sub2);
}

.design_fileBlock1_li_note {
  font-size: 16px;
  line-height: 1.6;
  padding: 60px min(calc(60 / 768 * 100vw), 60px) 0;
  color: var(--color-gray);
  font-weight: 400;
  text-align: left;
  font-family: var(--font-main);
}

@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }

  .design_fileBlock1_li_text {
    font-size: 100%;
  }

  .design_fileBlock1_li_note {
    font-size: 11px;
    line-height: 1.4;
    display: block;
    padding: 18px calc(12 / 375 * 100vw) 0;
  }
}
/* 旧漢字・郵便番号などフォーム内注意書き */
.form_item_note {
  font-weight: 600;
  color: var(--color-gray);
  margin-bottom: 20px;
  font-size: clamp(12px, calc(12 / var(--base-width-sp) * 100vw), 14px);
  line-height: 1.6;
}

/* デザインセクション補足テキスト（王子グループ紙の使用など） */
.design_note {
  font-size: 28px;
  font-family: var(--font-sub2);
  color: var(--color-green);
  text-align: center;
  margin-top: 8px;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .form_item_note {
    font-size: 11px;
  }
  .design_note {
    font-size: 20px;
  }
}

/* リンクのカーソル */
.caution_text_link {
  cursor: pointer;
}

/* 特設サイトリンクボタン */
.btn-tokusetsu {
  display: block;
  background-color: #fff;
  color: #17A044;
  text-align: center;
  border-radius: 999px;
  border: solid 2px #17A044;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding-block: clamp(10px, calc(10 / var(--base-width-sp) * 100vw), 15px);
  font-size: clamp(17px, calc(17 / var(--base-width-sp) * 100vw), 22px);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-tokusetsu:hover {
  background-color: #17A044;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .btn-tokusetsu {
    font-size: 13px;
    white-space: nowrap;
    font-weight: bold;
  }
}

/* ========== confirmation.html ========== */

/* セクション余白（HEROと同じ） */
.confirm-section {
  padding-block: clamp(40px, 6vw, 80px);
}
.confirm-section .sectionWrap {
  padding-inline: var(--section-padding-pc-maxWidth);
}

/* レシート画像エリア */
.receipt-thumbnails {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.receipt-thumbnail-item {
  flex: 1 1 calc(50% - 8px);
  min-width: 140px;
}
.receipt-thumbnail-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}
.receipt-thumbnail-label-sub {
  font-size: 11px;
  color: #bbb;
  margin-left: 4px;
}
.receipt-swatch {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; /* 縦長（高さ4：横3）レシートは縦撮りが基本のため維持 */
  border-radius: 8px;
  border: 2px solid #ccc;
  background: repeating-linear-gradient(45deg, #e8e8e8 0px, #e8e8e8 10px, #f5f5f5 10px, #f5f5f5 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.receipt-swatch-empty {
  font-size: 12px;
  color: #aaa;
  z-index: 1;
}
.receipt-swatch-img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

/* 住所確認ボックス */
.address-confirm-box {
  background: #f0f8ec;
  border: 2px solid var(--color-green);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  max-width: 800px;
  margin-inline: auto;
}
.address-confirm-box__title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 14px;
  text-align: center;
}
.address-confirm-box__label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  justify-content: center;
}
.address-confirm-box__checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-green);
  cursor: pointer;
  flex-shrink: 0;
}
.address-confirm-box__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-green);
}

/* 応募ボタン（非活性） */
.form_btn.-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

/* 戻るボタン上マージン */
.form_submitWrap.-mt {
  margin-top: 12px;
}

/* レシート画像行（アンケート下・フル幅） */
.receipt-row {
  margin-bottom: 40px;
}
.receipt-row .receipt-thumbnails {
  max-width: 800px;
}

/* 確認画面 右カラム内レイアウト */
.confirm-right-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: calc((100% - 20px) / 2);
}
@media screen and (max-width: 768px) {
  .confirm-right-col {
    width: 100%;
  }
}

/* 住所確認ボックス内の注意書き */
.address-confirm-box__notes {
  list-style: none;
  margin-bottom: 16px;
  padding: 0;
}
.address-confirm-box__notes li {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

/* 確認ページ 抽選案内 */
.confirm-notice {
  max-width: 800px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid var(--color-green);
}
.confirm-notice__main {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.confirm-notice__sub {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* 都道府県セレクト：住所1と同じスタイル */
select[name="prefecture"],
select[name=prefecture] {
  background-color: #DDD;
  color: var(--color-gray);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 5px;
  border: solid 1px var(--color-gray);
}

/* design_text1 追記エリア */
.design_text1--notes {
  margin-top: 8px;
}
.design_text1__note {
  font-family: var(--font-sub2);
  font-size: clamp(11px, calc(11 / var(--base-width-sp) * 100vw), 13px);
  color: var(--color-gray);
  line-height: 1.7;
  text-align: center;
}

/* HEROエリア 抽選注記（応募期間と左揃え） */
.FV_lottery_notes {
  margin-top: 12px;
}
.FV_lottery_note {
  font-family: var(--font-sub2);
  font-size: clamp(10px, calc(10 / var(--base-width-sp) * 100vw), 13px);
  color: var(--color-gray);
  line-height: 1.7;
}

/* 都道府県注釈：右揃え */
.form_item_note--right {
  text-align: right;
  margin-bottom: 0;
}

/* ========== FV 抽選注記：応募期間の直下へ移動 ========== */
/* 元の位置の注記を非表示 */
.FV_texts .FV_lottery_notes {
  display: none !important;
}
/* 画像直下に再配置した注記（通常フローで画像と同じコンテナ内） */
.period_title {
  font-size: clamp(28px, calc(28 / var(--base-width-sp) * 100vw), 46px) !important;
}
.FV_lottery_notes--bottom {
  display: block !important;
  position: static !important;
  margin: -50px 0 0 0 !important;
  text-align: left;
}

@media screen and (max-width: 768px) {
  /* SP: 注記が画像テキストに被らないよう上マージン緩和 */
  .FV_lottery_notes--bottom {
    margin: -10px 0 0 0 !important;
  }
  /* SP: タイトル主従バランス調整 */
  .period_title {
    font-size: 18px !important;
    line-height: 1.5;
    word-break: keep-all;
  }
  .design_title {
    font-size: 20px !important;
    line-height: 1.5;
  }
  .design_title .font-16 {
    font-size: 12px !important;
  }
}

/* ========== thanks.html ========== */

.thanks-wrap {
  min-height: 100vh;
  background-color: var(--color-bg, #f0f8ec);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.thanks-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(32px, 5vw, 60px) clamp(24px, 5vw, 60px);
  max-width: 720px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  text-align: center;
}

.thanks-icon {
  width: 72px;
  height: 72px;
  background: var(--color-green, #17A044);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thanks-icon svg {
  width: 40px;
  height: 40px;
  stroke: #fff;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks-title {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: bold;
  color: var(--color-green, #17A044);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  margin-bottom: 8px;
}

.thanks-code {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
}

.thanks-code span {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-left: 6px;
}

.thanks-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 0 0 28px;
}

.thanks-section-title {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background: var(--color-green, #17A044);
  border-radius: 4px;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 16px;
}

.thanks-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  text-align: left;
}

.thanks-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.thanks-table th {
  width: 38%;
  padding: 12px 8px;
  font-size: 13px;
  color: #888;
  font-weight: normal;
  vertical-align: top;
}

.thanks-table td {
  padding: 12px 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  word-break: break-all;
}

.thanks-message {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 32px;
}

.thanks-btn {
  display: block;
  background-color: var(--color-green, #17A044);
  color: #fff;
  text-align: center;
  border-radius: 999px;
  border: solid 2px var(--color-green, #17A044);
  width: 100%;
  max-width: 480px;
  margin: 0 auto 16px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  box-sizing: border-box;
}

.thanks-btn:hover {
  background-color: #fff;
  color: var(--color-green, #17A044);
}

.thanks-btn.-outline {
  background-color: #fff;
  color: var(--color-green, #17A044);
}

.thanks-btn.-outline:hover {
  background-color: var(--color-green, #17A044);
  color: #fff;
}

.no-data {
  color: #bbb;
  font-style: italic;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }
  .thanks-table th,
  .thanks-table td {
    font-size: 12px;
    padding: 10px 4px;
  }
  .thanks-table th {
    width: 42%;
  }
  .thanks-btn.-outline {
    font-size: 13px;
  }
}
