@charset "utf-8";

/* ===== リセット ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Hiragino Kaku Gothic ProN','Meiryo',sans-serif;
}

/* ===== 共通画像 ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 中央コンテンツ ===== */
.contents,
.text-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== フル幅セクション（FV含む）===== */
.fullwide {
  width: 100%;
}

.fullwide picture,
.fullwide img {
  width: 100%;
  display: block;
}

/* ===== 固定ヘッダー ===== */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;   /* ← width を使わない */
  height: 45px;
  background: #DDF9FF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}



/* ===== SP / PC 切替 ===== */
.sp-only { display: block; }
.pc-only { display: none; }

@media (min-width: 768px) {
  .sp-only { display: none; }
  .pc-only { display: block; }
}

/* ===== CTA ===== */
.cta-button {
  display: block;
  margin: 32px auto;
}

.sp-only .cta-button {
  width: 80%;
  max-width: 320px;
}

.pc-only .cta-button {
  width: 450px;
}






/* =========================
   FAQ
========================= */
.faq {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.faq summary {
  padding: 25px;
  background: #8FAADC;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.faq-content {
  padding: 16px;
  background: #f5f9ff;
}

.faq {
  margin: 20px auto;
}



/* =========================
   便箋 全体ラッパー
========================= */
.letter-wrap {
  display: flex;
  justify-content: center;
  padding: 48px 16px;
}

/* =========================
   便箋 本体
========================= */
.letter-paper {
  position: relative;
  max-width: 720px;
  width: 100%;
  padding: 44px 36px 110px;
  background-color: #F7F7F7;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* =========================
   文章エリア（罫線あり）
   ※下に1本分
========================= */
.letter-text {
  background-image: linear-gradient(
    to bottom,
    rgba(0,0,0,0.04) 1px,
    transparent 1px
  );
  background-size: 100% 2.3em;
  padding-bottom: 2.3em;
}

.letter-text p {
  font-size: 16px;
  line-height: 2.3;
  color: #333;
  margin: 0;
}

/* =========================
   下部画像エリア（罫線なし）
========================= */
.letter-bottom {
  margin-top: 12px;
  padding-right: 56px;   /* ← 右の余白 */
  padding-bottom: 18px;  /* ← 下の余白 */
  text-align: center;
}

.letter-bottom img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: inline-block;
}

/* =========================
   サイン画像
========================= */
.letter-sign {
  position: absolute;
  right: 28px;
  bottom: 20px;
  width: 140px;
  opacity: 0.85;
}

/* =========================
   スマホ対応
========================= */
@media screen and (max-width: 600px) {
  .letter-paper {
    padding: 32px 22px 100px;
  }

  .letter-text p {
    font-size: 15px;
    line-height: 2.2;
  }

  .letter-bottom {
    padding-right: 8px;
    padding-bottom: 10px;
  }

  .letter-sign {
    width: 110px;
    right: 20px;
    bottom: 16px;
  }
}



/* =========================
   手書き風
========================= */
.letter-content {
  font-family: "Zen Kurenaido", cursive;
  font-size: 16px;
  line-height: 2;
  color: #000;
}


/* =========================
   青い枠
========================= */
.point-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
  border: 2px solid #8FAADC;   /* 青い枠 */
  border-radius: 12px;
  background: #F5F9FF;
}

.point-title {
  font-weight: bold;
  color: #0F5474;
  margin-top: 16px;
  margin-bottom: 6px;
}

.point-text {
  margin: 0 0 12px;
  line-height: 1.8;
  color: #333;
}

/* スマホ微調整 */
@media (max-width: 600px) {
  .point-box {
    padding: 20px 16px;
  }
}


/* ===== プログラム全体 ===== */
.program-steps {
  margin: 60px 0;
}

.step {
  margin-bottom: 40px;
}

.step-title {
  font-size: 1.25em;
  font-weight: bold;
  color: #0F5474;
  margin-bottom: 12px;
}

.step-text {
  line-height: 1.9;
  color: #333;
}

/* ===== サポート枠 ===== */
.support-box {
  margin: 40px 0;
}

.support-list {
  margin: 16px 0 0;
  padding-left: 1.2em;
}

.support-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ===== 注釈 ===== */
.note-text {
  font-size: 0.9em;
  color: #555;
  line-height: 1.8;
  margin-top: 40px;
}

/* ===== SP微調整 ===== */
@media (max-width: 600px) {
  .program-steps {
    margin: 40px 0;
  }

  .step {
    margin-bottom: 32px;
  }

  .step-title {
    font-size: 1.15em;
  }
}


/* ===== CTA 超強押下（影なし）===== */
.cta-button {
  display: block;
  transition:
    transform 0.1s cubic-bezier(.2, .8, .4, 1);
}

/* hover：押せそうな前傾 */
.cta-button:hover {
  transform: scale(1.02);
}

/* active：ガッツリ押し込む */
.cta-button:active {
  transform: scale(0.95) translateY(4px);
}
