/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #B4E4FD;
  color: #0b3c6d;
}

/* ===== Layout ===== */
.lp {
  margin: 0 auto;
}

/* ===== Hero ===== */
.hero {
  position: relative;      /* 基準点 */
  width: 100%;
  overflow: hidden;
}

/* 背景画像 */
.top-bg {
  width: 100%;
  height: auto;
  display: block;
}


/* ブランド */
.brand {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #02438D;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: clamp(48px, 4vw, 48px);
}

/* 四角 */
.square {
  width: 32px;
  height: 32px;
  background: #ffc698;
}

/* タイトル */
.hero h1 {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 100%;
  font-size: clamp(64px, 6vw, 128px);
  line-height: 1.3;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

/* ===== Card ===== */
.card1 {
  width: 60%;
  background: #fff;
  border-radius: 0 0 40px 40px;
  padding: 24px 0;
  margin: 0 auto 24px;
}

.card2 {
  width: 90%;
  background: #EDF9FF;
  border-radius: 24px;
  padding: 32px;
  margin: 0 auto 24px;
}

.lead {
  margin: 0;
  display: inline-block;
  padding: 16px 40px 16px 56px;
  font-size: 44px;
  font-weight: bold;
  color: #004ea2;
  background: #bfe8ff;
}

.big {
  display: flex;
  justify-content: center;
  margin: 24px 0;
  font-size: 24px;
  text-align: center;
}

.medium {
  padding-top: 16px;
}

.num {
  margin: 0;
  line-height: 1;
  font-size: 104px;
  font-weight: bold;
  color: #004ea2;
  background: linear-gradient(transparent 80%, #ffeb3b 80%);
}

.highlight {
  margin: 0;
  font-size: 44px;
  font-weight: bold;
  line-height: 1.2;
  background: linear-gradient(transparent 60%, #ffeb3b 60%);
}

.small {
  margin: 0;
  font-size: 24px;
  text-align: left;
}

.lead2 {
  margin: 80px 0 0 auto;
  font-size: 36px;
  display: block;
  width: 85%;
  padding: 4px 40px 4px 24px;
  font-weight: bold;
  color: #004ea2;
  background: #bfe8ff;
}

.campaign-list {
  margin: 40px 0 0 48px;
}

.campaign-list li {
  font-size: 36px;
  padding-bottom: 20px;
  font-weight: 500;
}

mark {
  background: linear-gradient(transparent 60%, #ffeb3b 60%);
}

.note {
  color: red;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 0 80px;
}

/* ===== Flow ===== */
.lead3 {
  margin: 40px 0 24px;
  font-size: 40px;
  text-align: center;
}

.flow ol li {
  font-size: 20px;
  font-weight: bold;
  margin: 12px 0;
}

/* ===== Period ===== */
.period-hero {
  position: relative;     /* ← 基準 */
  width: 100%;
  overflow: hidden;
  text-align: center;
}

/* 背景画像 */
.period-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* 注意書き */
.attention {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #000;
  width: 100%;
  font-size: 24px;
  font-weight: bold;
}

/* 黄色カプセル */
.period {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  background: #ffeb3b;
  padding: 24px 48px;
  border-radius: 999px;
  font-size: 24px;
}

/* ===== CTA Section ===== */

.cta-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 24px auto 40px;
  display: grid;
  width: 60%;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* 各カラム */
.cta-item {
  text-align: center;
}

/* 上の小見出し */
.cta-lead {
  font-size: 24px;
  font-weight: bold;
  color: #0b3c6d;
  margin-bottom: 16px;
  position: relative;
}

/* ボタン共通 */
.cta-button {
  display: block;
  padding: 24px 16px;
  border-radius: 20px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 赤ボタン */
.cta-button.primary {
  background: #f75669;
  color: #fff;
}

/* 白ボタン */
.cta-button.secondary {
  background: #fff;
  color: #f75669;
}

/* ホバー */
.cta-button:hover {
  transform: scale(1.04);
  box-shadow: 0 0 10px rgba(175,150,0,0.4);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-button {
    font-size: 24px;
    padding: 20px 16px;
  }

  .cta-lead {
    font-size: 20px;
  }

  .cta-lead::before,
  .cta-lead::after {
    display: none;
  }
}


/* ===== Responsive ===== */
@media (max-width: 600px) {
  .card {
    padding: 24px 16px;
  }
}
