*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #ffffff;
  color: #173b70;
  -webkit-font-smoothing: antialiased;
}

.friend-page {
  max-width: 600px;
  margin: 0 auto;
  background: #faf7f2;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(23,59,112,.08);
}

/* ── メインビジュアル ── */
.main-visual {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 共通セクション見出し ── */
.sec-heading {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #173b70;
  letter-spacing: .1em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sec-heading::before,
.sec-heading::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(to right, transparent, #d9b896);
}
.sec-heading::after {
  background: linear-gradient(to left, transparent, #d9b896);
}

/* ════════════════════════════════
   ② 特典内容
════════════════════════════════ */
.tokuten-section {
  background: #fff;
  padding: 36px 24px 32px;
  border-bottom: 1px solid #e4ddd3;
}

.tokuten-body {
  background: #faf7f2;
  border: none;
  border-radius: 0;
  padding: 34px 24px 36px;
  text-align: center;
}

.campaign-lead {
  background: transparent;
  margin: 0;
  padding: 0 0 4px;
  text-align: center;
}

.campaign-highlight {
  background: transparent;
  margin: 0;
  padding: 0;
}

.tokuten-desc {
  font-size: 13.5px;
  color: #444;
  line-height: 2.15;
  margin-bottom: 16px;
}
.tokuten-desc .em { color: #e25818; font-weight: 700; }

.tokuten-amount {
  font-size: 28px;
  font-weight: 900;
  color: #e25818;
  letter-spacing: .05em;
  line-height: 1.35;
  margin-top: 4px;
  margin-bottom: 8px;
}

.tokuten-present {
  font-size: 14px;
  color: #444;
  margin-top: 4px;
  margin-bottom: 20px;
}

.tokuten-period {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 16px;
}
.tokuten-period__label {
  font-size: 11px;
  font-weight: 500;
  color: #173b70;
  letter-spacing: .06em;
}
.tokuten-period__date {
  font-size: 14px;
  font-weight: 700;
  color: #173b70;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ════════════════════════════════
   ③ ご利用の流れ
════════════════════════════════ */
.flow-section {
  background: #fff;
  padding: 36px 24px 32px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  position: relative;
}

.step-row:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 62px;
  bottom: -4px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #d9b896 0px, #d9b896 5px,
    transparent 5px, transparent 11px
  );
}

.step-badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: #173b70;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 10px rgba(23,59,112,.2);
}
.step-badge__s { font-size: 8px; font-weight: 700; letter-spacing: .06em; opacity: .8; }
.step-badge__n { font-size: 20px; font-weight: 900; }

.step-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  background: #f0ece4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #173b70;
  font-size: 22px;
  border: 2px solid #e4ddd3;
}

.step-body { flex: 1; padding-top: 10px; }

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: #173b70;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}
.step-desc .em { color: #e25818; font-weight: 700; }

/* ════════════════════════════════
   ④ お申し込み方法
════════════════════════════════ */
.apply-section {
  background: #faf7f2;
  padding: 36px 24px;
  border-top: 1px solid #e4ddd3;
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.apply-card {
  background: #fff;
  border: 1.5px solid #e4ddd3;
  border-radius: 12px;
  padding: 18px 16px;
}

.apply-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #173b70;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #e4ddd3;
}

.apply-card__icon {
  width: 32px;
  height: 32px;
  background: #173b70;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

.apply-card__body {
  font-size: 12px;
  color: #555;
  line-height: 1.85;
}
.apply-card__body .em { color: #e25818; font-weight: 700; }

/* ════════════════════════════════
   ⑤ クーポンのご利用について
════════════════════════════════ */
.coupon-section {
  background: #fff;
  padding: 36px 24px;
  border-top: 1px solid #e4ddd3;
}

.coupon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.coupon-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #faf7f2;
  border: 1.5px solid #e4ddd3;
  border-radius: 12px;
  padding: 14px;
}

.coupon-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 5px);
  margin: 0 auto;
}

.coupon-item__icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  border: 1.5px solid #e4ddd3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #173b70;
  font-size: 16px;
  flex-shrink: 0;
}

.coupon-item__text {
  font-size: 12.5px;
  color: #444;
  line-height: 1.75;
  padding-top: 2px;
}
.coupon-item__text .em { color: #e25818; font-weight: 700; }

/* ════════════════════════════════
   ⑥ ご注意事項
════════════════════════════════ */
.note-section {
  background: #ffffff;
  padding: 28px 24px 36px;
  border-top: 1px solid #e4ddd3;
}

.note-section .sec-heading { margin-bottom: 16px; }

.note-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-list li {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}
.note-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #b0a090;
}



/* ════════════════════════════════
   REFINED：アイコンを減らした上品版
════════════════════════════════ */
.flow-section {
  background: #fff;
  padding: 48px 28px 34px;
}

.steps.refined-steps {
  max-width: 440px;
  gap: 14px;
}

.refined-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 54px 1fr;
  column-gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #eee6dc;
}
.refined-step:last-child { border-bottom: none; }

.refined-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #d9b896;
  background: #fff;
  color: #173b70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: .04em;
}
.refined-step__num span:first-child {
  font-size: 8px;
  font-weight: 700;
  color: #9b7c5d;
  margin-bottom: 3px;
}
.refined-step__num span:last-child {
  font-size: 20px;
  font-weight: 800;
}
.refined-step__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #eadfce;
  color: #173b70;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.refined-step__title {
  font-size: 16px;
  font-weight: 700;
  color: #173b70;
  margin-bottom: 6px;
}
.refined-step__text {
  font-size: 13px;
  line-height: 1.85;
  color: #555;
}
.refined-step__text .em { color: #e25818; font-weight: 700; }

.coupon-section.refined-coupon-section {
  background: #fff;
  padding: 38px 28px 40px;
  border-top: 1px solid #e4ddd3;
}

.coupon-lead {
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
  color: #555;
  margin: -6px auto 22px;
}

.coupon-list {
  list-style: none;
  max-width: 440px;
  margin: 0 auto;
  background: #fffdf9;
  border: 1.5px solid #eadfce;
  border-radius: 16px;
  padding: 20px 22px;
}
.coupon-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid #eee6dc;
  font-size: 13px;
  line-height: 1.75;
  color: #444;
}
.coupon-list li:last-child { border-bottom: none; }
.coupon-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #d9b896;
  background: #fff;
}
.coupon-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 22px;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid #173b70;
  border-bottom: 1.5px solid #173b70;
  transform: rotate(45deg);
}
.coupon-list .em { color: #e25818; font-weight: 700; }

@media (max-width: 480px) {
  .flow-section,
  .coupon-section.refined-coupon-section { padding-left: 22px; padding-right: 22px; }
  .refined-step { grid-template-columns: 44px 46px 1fr; column-gap: 10px; }
  .refined-step__num { width: 42px; height: 42px; }
  .refined-step__icon { width: 44px; height: 44px; font-size: 17px; }
  .coupon-list { padding: 16px 18px; }
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 480px) {
  .coupon-grid { grid-template-columns: 1fr; }
  .coupon-item:last-child:nth-child(odd) { grid-column: auto; max-width: 100%; }
  .apply-grid { grid-template-columns: 1fr; }
}