:root{
  --brand:#1f8a8a;
  --brand2:#2a7a85;
  --ink:#0b2230;
  --muted:#6b7c85;
  --soft:#f3f8f7;
  --card:#ffffff;
  --line:#e6eeec;
  --warn:#f3c969;
  --warnbg:#fff9e8;
  --bad:#e04a4a;
  --badbg:#fff1f1;
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --r:22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans","Noto Sans JP",sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.85;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}

.wrap{
  width:min(720px, 100%);
  margin:0 auto;
  padding:0 16px;
}

.section{padding:52px 0}
.soft{background:var(--soft)}

.h2{
  text-align:center;
  font-size:22px;
  margin:0 0 22px;
  letter-spacing:.01em;
}
.h3{font-size:16px; margin:12px 0 6px}
.p{margin:8px 0}
.center{text-align:center}
.muted{color:var(--muted)}
.fine{color:var(--muted); font-size:12.5px; margin:8px 0 0}
.note{font-size:12px; color:var(--muted); margin:10px 0 0}

.em{color:var(--brand); font-weight:700}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  height:56px;
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
}
.topbar-logo{
  height:26px; width:auto;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  font-weight:800;
  border:1px solid var(--line);
  background:#fff;
}
.btn.primary{
  border:none;
  color:#fff;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
}
.btn.ghost{
  background:#fff;
}
.btn.pill{border-radius:999px; padding:16px 18px}
.w100{width:100%}

/* HERO */
.hero{
  padding:26px 0 12px;
  background:
    radial-gradient(800px 340px at 20% 0%, rgba(31,138,138,.16), transparent 55%),
    radial-gradient(700px 320px at 85% 0%, rgba(243,201,105,.14), transparent 60%),
    #fff;
}
.hero-inner{text-align:center}
.hero-logo{
  width:min(320px, 78%);
  margin:0 auto 18px;
}
.hero-title{
  margin:0;
  font-size:26px;
  line-height:1.25;
}
.hero-title span{
  display:block;
  font-weight:600;
  color:var(--muted);
  margin-top:6px;
}
.hero-text{margin:16px 0 0}
.hero-sub{margin:12px 0 0; color:var(--muted)}
.hero-price{
  margin:18px 0 10px;
  font-size:26px;
  font-weight:900;
  color:var(--brand);
}
.hero-price span{font-size:14px; color:var(--muted)}

/* Cards */
.card{
  background:var(--card);
  border-radius:0;
  padding:16px;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  margin-bottom:18px;
}
.card-img{
  border-radius:0;
  width:100%;
  height:auto;
}

/* Lists */
.dot{
  margin:16px 0 0;
  padding-left:0; /* Remove padding to allow centering of bullet points */
  list-style-position:inside; /* Bring bullet points inside the content flow */
  text-align:center;
}
.dot li{margin:8px 0}
.list{
  margin:0;
  padding-left:18px;
}
.list li{margin:8px 0}

/* Message */
.message{
  margin-top:18px;
  text-align:center;
  font-size:16px;
}
.softbox{
  background:#eef7f6;
  border-radius:0;
  padding:16px;
}

/* Highlight blocks */
.highlight{
  text-align:center;
  font-size:18px;
  font-weight:700;
  padding:18px 14px;
  border-radius:0;
  background:#eef7f6;
  border:1px solid var(--line);
}
.stack{display:grid; gap:14px; margin-top:16px}

.alert{
  background:var(--badbg);
  border-radius:0;
  padding:16px;
  border:1px solid rgba(224,74,74,.18);
}
.alert-title{
  font-weight:900;
  color:var(--bad);
  margin-bottom:8px;
}
.good{
  background:#eef7f6;
  border-radius:0;
  padding:16px;
  border:1px solid var(--line);
}
.good-title{
  font-weight:900;
  color:var(--brand);
  margin-bottom:8px;
}

/* Check list */
.check{
  list-style:none;
  padding:0;
  margin:10px 0 0;
}
.check li{
  margin:10px 0;
  padding-left:26px;
  position:relative;
}
.check li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  color:var(--brand);
  font-weight:900;
}

/* Flow */
.flow{list-style:none; padding:0; margin:0}
.flow-item{
  display:flex; gap:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:0;
  padding:16px;
  margin-bottom:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}
.num{
  width:38px; height:38px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  background:#e6f4f3; color:var(--brand);
  font-weight:900;
  flex:0 0 auto;
}
.flow-title{font-weight:900; margin-bottom:6px}

/* Recommend */
.recommend{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}
.recommend li{
  background:#eef7f6;
  border:1px solid var(--line);
  border-radius:0;
  padding:14px;
}

/* Notice box */
.notice-box{
  border:2px solid var(--warn);
  border-radius:0;
  padding:20px;
  background:var(--warnbg);
}

/* Form */
.form-card{margin-top:14px}
.form{margin-top:6px}
.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.field{display:grid; gap:6px}
.field-wide{grid-column:1/-1}
.label{font-size:12.5px; font-weight:900; color:var(--muted)}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  font-size:14px;
  outline:none;
  background:#fff;
  color:var(--ink);
}
input:focus,select:focus,textarea:focus{
  border-color: rgba(31,138,138,.45);
  box-shadow:0 0 0 4px rgba(31,138,138,.12);
}
.invalid{
  border-color: rgba(224,74,74,.55) !important;
  box-shadow:0 0 0 4px rgba(224,74,74,.12) !important;
}
.error{min-height:16px; color:var(--bad); font-size:12px}

.agree{margin-top:10px}
.checkbox{
  display:flex; align-items:center; gap:10px;
  font-size:13.5px;
  color:var(--muted);
}
.checkbox input{width:18px; height:18px}

.form-actions{margin-top:12px}

/* Toast */
.toast{
  display:none;
  margin-top:12px;
  padding:12px 12px;
  border-radius:14px;
  font-size:13.5px;
}
.toast.ok{background:#eef7f6; border:1px solid var(--line); color:var(--brand)}
.toast.ng{background:var(--badbg); border:1px solid rgba(224,74,74,.18); color:var(--bad)}

/* Pay card */
.pay{margin-top:14px}

/* Final */
.final{
  padding:54px 0;
  background:#fff;
  text-align:center;
}
.final-lead{font-size:18px; line-height:1.7; margin:0}
.final-lead .accent{color:var(--brand); font-weight:900}
.final-text{margin:16px 0 0}
.final-price{
  margin:22px 0 10px;
  font-size:26px;
  font-weight:900;
  color:var(--brand);
}
.final-price span{font-size:14px; color:var(--muted)}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:22px 0 28px;
  color:var(--muted);
  font-size:12.5px;
}
.footer-inner{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
}
.footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}
.footer-links a{ text-decoration:underline; color:var(--muted) }

@media (max-width: 430px) {
  .hero-title {
    font-size: 22px; /* Adjust font size for smaller screens */
  }
  .h2 {
    font-size: 20px; /* Adjust h2 font size for smaller screens */
  }
  .section {
    padding: 36px 0; /* Reduce vertical padding for smaller screens */
  }
}

@media (min-width:768px){
  .grid{grid-template-columns:1fr 1fr}
  .field-wide{grid-column:1/-1}
}
