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

/* 基本設定 */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* コンテナ設定 */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* メインコンテンツエリア */
main {
  position: relative;
  z-index: 1;
}

/* 画像の基本スタイル */
.img {
  width: 100%;
  height: auto;
  display: block;
}

/* 背景パターン */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff0a3;
  background-image: url("https://tax.mitsukaru-pro.co.jp/lp/pizza-meetup/img/PIZZA.svg");
  background-repeat: repeat, repeat;
  background-position: 0 0, 0 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* タブレット以上（768px以上）のスタイル */
@media (min-width: 768px) {
  .container {
    max-width: 480px;
  }

  body::before {
    opacity: 1;
  }
}

/* デスクトップ以上（1024px以上）のスタイル */
@media (min-width: 1024px) {
  .container {
    max-width: 480px;
  }
}

/* セクション固有のスタイル */
.fv-cta {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.fv-btn {
  width: 100%;
  display: inline-block;
  text-decoration: none;
}

.fv-btn:active .fv-btn-img {
  content: url("./fv-cta02.png");
}

.fv-btn-img {
  width: 100%;
  height: auto;
}

.about-img {
  width: 100%;
  height: auto;
}

.detail-img {
  width: 100%;
  height: auto;
}

.cta-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 768px) {
  .cta-container {
    max-width: 480px;
  }
}

@media (min-width: 1024px) {
  .cta-container {
    max-width: 480px;
  }
}

.cta-img {
  width: 100%;
  height: auto;
}

.form-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .form-container {
    max-width: 480px;
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .form-container {
    max-width: 480px;
    padding: 24px;
  }
}

.form {
  width: 100%;
}

/* フッター */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin: 0 auto;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before {
    transition: none;
  }
}

/* サンクスページスタイル */
.thanks-page-body::before {
  opacity: 1;
  background-size: 200px 80px;
}
.thanks-page {
  min-height: 100vh;
  padding-top: 80px;
  padding-left: 16px;
  padding-right: 16px;
}
.thanks-content {
  background-color: #fff;
  border-radius: 16px;
  padding: 40px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
}

.thanks-header {
  margin-bottom: 32px;
}

.thanks-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.thanks-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.thanks-message {
  margin-bottom: 40px;
}

.thanks-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.thanks-heading {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.thanks-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.thanks-details {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.details-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.details-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.detail-value {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.thanks-reminder {
  margin-bottom: 32px;
}

.reminder-box {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.reminder-title {
  font-size: 16px;
  font-weight: 600;
  color: #856404;
  margin: 0 0 12px 0;
}

.reminder-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.thanks-actions {
  margin-top: 32px;
}

.back-btn {
  display: inline-block;
  background-color: #ff7b00;
  color: #fff;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.back-btn:hover {
  background-color: #e66a00;
}

.back-btn:active {
  background-color: #d45a00;
}

/* タブレット以上でのサンクスページスタイル */
@media (min-width: 768px) {
  .thanks-content {
    padding: 60px 40px;
  }

  .thanks-title {
    font-size: 32px;
  }

  .thanks-heading {
    font-size: 28px;
  }

  .details-grid {
    flex-direction: row;
    justify-content: space-around;
    gap: 24px;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: none;
    padding: 0;
  }

  .detail-label {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .detail-value {
    font-size: 16px;
  }
}
