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

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f5f5;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  color: #1a1a2e;
  padding-bottom: 80px; /* 固定CTAの高さ分 */
}

/* ===== LPラッパー ===== */
.lp-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  display: flex;        /* 画像間の隙間をflexboxで解消 */
  flex-direction: column;
}

/* ===== LP画像 ===== */
.lp-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== ENTRYフォーム ===== */
.form-section {
  background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
  padding: 48px 20px 60px;
}

.form-inner {
  max-width: 560px;
  margin: 0 auto;
}

.form-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.25);
  border-radius: 20px;
  display: inline-block;
  padding: 4px 16px;
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
}

.form-title {
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  color: #1a2456;
  margin-bottom: 6px;
  line-height: 1.3;
}

.form-sub {
  text-align: center;
  font-size: 13px;
  color: #fff;
  margin-bottom: 28px;
  font-weight: 600;
}

/* フォーム本体 */
.entry-form {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1a2456;
  margin-bottom: 6px;
}

.required {
  display: inline-block;
  background: #e84545;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.optional {
  display: inline-block;
  background: #999;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff8c00;
  background: #fff;
}

/* 送信ボタン */
.submit-btn {
  display: block;
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #ff8c00, #ffa500);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 24px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(255,140,0,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}

.submit-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shine 2.5s infinite;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,140,0,0.5);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
  line-height: 1.7;
}

/* ===== 固定CTA（フローティング） ===== */
.fixed-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 500px;
  z-index: 9999;
  background: transparent;
}

.fixed-cta-btn {
  display: block;
  background: linear-gradient(135deg, #1a2456, #2a3a7a);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  padding: 18px 20px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.fixed-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shine 2.8s 1s infinite;
}

.fixed-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,36,86,0.45);
}

/* ===== 光アニメーション ===== */
@keyframes shine {
  0%   { left: -100%; }
  100% { left: 150%; }
}

/* ===== PC調整 ===== */
@media (min-width: 900px) {
  .lp-wrap {
    box-shadow: 0 0 40px rgba(0,0,0,0.08);
  }

  .form-section {
    padding: 60px 40px 72px;
  }

  .form-title {
    font-size: 30px;
  }

  .entry-form {
    padding: 36px 40px;
  }

  .submit-btn {
    font-size: 20px;
    padding: 20px;
  }

  .fixed-cta {
    padding: 12px 16px 14px;
  }

  .fixed-cta-btn {
    font-size: 17px;
    padding: 16px 20px;
  }
}

/* ===== モーション軽減対応 ===== */
@media (prefers-reduced-motion: reduce) {
  .fixed-cta-btn::after,
  .submit-btn::after {
    animation: none;
  }
}
