/* ==========================
:root variables
========================== */
:root {
  --main-pink: #dec5c8;
  --accent-red: #d2163e;
  --brand-green: #28a861;
  --soft-yellow: #fff9e5;
  --white: #ffffff;
  --text-main: #443333;
  /* メインビジュアルに合わせた丸ゴシック */
  --font-base: 'Zen Maru Gothic', "Hiragino Sans", "Meiryo", sans-serif;
}

/* ======================
reset css
========================*/
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
li {
  list-style: none;
}
a {
  display: block;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 弾むようなアニメーション */
}

/* ==========================
Base styles
========================== */
body {
  font-family: var(--font-base);
  font-size: 1.6rem;
  color: var(--text-main);
  background-color: #14703f;
  background-image: radial-gradient(#1ba05e 1px, transparent 1px);
  background-size: 20px 20px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* SP/PC 表示切り替え */
.sp_only { display: block; }
.pc_only { display: none; }
@media screen and (min-width: 768px) {
  .sp_only { display: none; }
  .pc_only { display: block; }
}

/* ==========================
container
========================== */
.lp-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background-color: var(--white);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.content-wrapper {
  padding: 60px 20px;
}

/* ==========================
Step Cards
========================== */
.step-card {
  background: var(--soft-yellow);
  border-radius: 30px;
  padding: 45px 20px 40px;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  border: 3px dashed var(--brand-green);
}

.step-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-green);
  color: var(--white);
  padding: 6px 24px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
}

.step-title {
  font-size: 2.4rem;
  color: var(--brand-green);
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.4;
}

.step-text {
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 700;
}

/* ==========================
Benefit Section (割引率)
========================== */
.benefit-section {
  padding: 20px 0 60px;
  text-align: center;
}

.section-title {
  color: var(--accent-red);
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-weight: 900;
}

.benefit-flex {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.benefit-item {
  padding: 25px 20px;
  border-radius: 25px;
  color: var(--white);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバーでふわっと浮く */
.benefit-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.benefit-item.regular { background: linear-gradient(135deg, #75c177, #59a35b); }
.benefit-item.silver { background: linear-gradient(135deg, #b5b5b5, #8e8e8e); }
.benefit-item.gold { background: linear-gradient(135deg, #e6c85d, #bda13a); }

.rank-name {
  font-size: 1.6rem;
  font-weight: 900;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  display: inline-block;
  margin-bottom: 12px;
  padding-bottom: 2px;
}

.discount-val {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.discount-val span {
  font-size: 2.2rem;
  margin-left: 2px;
}

/* ==========================
Buttons & CTA
========================== */
.btn-mypage {
  display: inline-block;
  background: var(--white);
  border: 3px solid var(--brand-green);
  color: var(--brand-green);
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.6rem;
}

/* ログインボタンホバー: 色反転と少しの傾き */
.btn-mypage:hover {
  background: var(--brand-green);
  color: var(--white);
  transform: scale(1.05) rotate(-2deg);
}

.btn-cta {
  background: var(--accent-red);
  color: var(--white);
  padding: 22px;
  border-radius: 60px;
  font-weight: 900;
  font-size: 2.2rem;
  box-shadow: 0 8px 0 #900d28;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* 購入ボタンホバー: 押し込み感 */
.btn-cta:hover {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #900d28;
}

.btn-cta span {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 4px;
  opacity: 0.9;
}

.info-bubble {
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 25px;
  font-size: 1.4rem;
  position: relative;
  border: 2px solid #eee;
}

/* 吹き出しの三角部分 */
.info-bubble::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 12px 12px 0 12px;
  border-color: var(--white) transparent transparent transparent;
}

/* ==========================
Notes & Footer
========================== */
.notes-section {
  background: #fdfdfd;
  padding: 30px 20px;
  border-radius: 25px;
  border: 1px solid #eee;
}

.notes-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #333;
  font-weight: 900;
  text-align: center;
}

.notes-list {
  padding-left: 0.5em;
}
.notes-list li {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #666;
  position: relative;
  padding-left: 1.5em;
}
.notes-list li::before {
  content: "※";
  position: absolute;
  left: 0;
}

.footer {
  background: #333;
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}
.copyright {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* ==========================
Responsive (Tablet/PC)
========================== */
@media screen and (min-width: 768px) {
  .lp-container { max-width: 800px; }
  .content-wrapper { padding: 80px 60px; }
  .benefit-flex { flex-direction: row; }
  .benefit-item { flex: 1; }
  .step-title { font-size: 3.2rem; }
  .discount-val { font-size: 7rem; }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.pulse-animation {
  animation: pulse 2.5s infinite ease-in-out;
}