/* 대원칙: 할머니도 혼자 — 큰 글씨, 높은 대비, 큰 버튼, 한 화면 한 동작 */
:root {
  --text: #1a1a1a;
  --muted: #555;
  --bg: #ffffff;
  --soft: #f4f6fb;
  --navy: #002060;
  --blue: #0432ff;
  --line: #d5d9e2;
  --ok: #007a3d;
  --ng: #c00000;
}
* { box-sizing: border-box; }
html { font-size: 19px; }
@media (min-width: 768px) { html { font-size: 20px; } }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font-family: "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.8; -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
a { color: var(--blue); }
h1 { font-size: 1.6rem; line-height: 1.4; color: var(--navy); margin: 1.4rem 0 1rem; }
h2 { font-size: 1.25rem; color: var(--navy); margin: 2rem 0 .8rem; border-left: 6px solid var(--navy); padding-left: .6rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
p, li { margin: .4rem 0; }
.muted { color: var(--muted); font-size: .9rem; }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }

/* header / footer */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; }
.brand { font-weight: 900; color: var(--navy); text-decoration: none; font-size: 1rem; line-height: 1.4; display: flex; align-items: center; gap: .5rem; }
.brand img { width: 44px; height: 44px; flex-shrink: 0; }
.nav { display: flex; gap: 8px; flex-shrink: 0; }
.nav a {
  text-decoration: none; font-weight: 700; color: var(--navy); font-size: .9rem; line-height: 1.3;
  border: 2px solid var(--navy); border-radius: 10px; padding: .45rem .7rem; background: #dfe7f7; white-space: nowrap;
}
.nav a:hover, .nav a:active { background: var(--navy); color: #fff; }
.site-footer { margin-top: 3rem; background: var(--soft); border-top: 1px solid var(--line); padding: 1.2rem 0 2rem; font-size: .78rem; color: #333; line-height: 1.7; }
.site-footer p { margin: .2rem 0; }
.footer-links a { margin-right: 14px; display: inline-block; }

/* 공통 블록 */
.card { border: 2px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; margin: 1rem 0; background: #fff; }
.card.em { border-color: var(--navy); }
.hero { background: var(--soft); border-radius: 16px; padding: 1.6rem 1.2rem; margin-top: 1.2rem; }
.hero h1 { margin-top: 0; }
.btn {
  display: block; width: 100%; text-align: center; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1.15rem; padding: 1rem; margin: 1rem 0;
  border-radius: 14px; border: 0; background: var(--navy); color: #fff;
}
.btn.sub { background: #dfe7f7; color: var(--navy); border: 2px solid var(--navy); font-size: 1rem; }
.btn:disabled { opacity: .5; }

/* 요금 */
.price-list { display: grid; gap: 14px; }
@media (min-width: 768px) { .price-list { grid-template-columns: repeat(3, 1fr); } }
.price { text-align: center; }
.price .count { font-size: 1.2rem; font-weight: 900; color: var(--navy); }
.price .amount { font-size: 2rem; font-weight: 900; }
.price .amount small { font-size: 1rem; }
.price .regular { color: var(--muted); text-decoration: line-through; font-size: .85rem; }

/* 표 */
table.info { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.info th, table.info td { border-top: 1px solid var(--line); padding: .7rem .4rem; text-align: left; vertical-align: top; }
table.info th { width: 36%; color: var(--navy); font-weight: 700; }
@media (max-width: 560px) {
  table.info th, table.info td { display: block; width: 100%; }
  table.info td { border-top: 0; padding-top: 0; }
}

/* 단계 */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: .8rem 0 .8rem 3.2rem; border-bottom: 1px dashed var(--line); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: .8rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.progress { display: flex; gap: 6px; margin: 1.2rem 0 .4rem; }
.progress span { flex: 1; height: 10px; border-radius: 5px; background: var(--line); }
.progress span.on { background: var(--navy); }
.progress-label { font-weight: 700; color: var(--navy); }

/* 결과 */
.big-amount { font-size: 2.2rem; font-weight: 900; text-align: center; margin: .4rem 0; }
.ok { color: var(--ok); }
.ng { color: var(--ng); }
.notice { background: #fff6e5; border: 2px solid #f0b400; border-radius: 12px; padding: .9rem 1rem; }

/* 카드 입력 안내 그림 */
.mock-form { border: 2px solid var(--line); border-radius: 14px; padding: 1rem; background: var(--soft); }
.mock-field { position: relative; background: #fff; border: 2px solid #9aa3b5; border-radius: 10px; padding: .6rem .8rem .6rem 3rem; margin: .7rem 0; }
.mock-field b { display: block; font-size: .85rem; color: var(--muted); }
.mock-field .num {
  position: absolute; left: .6rem; top: 50%; transform: translateY(-50%);
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ng); color: #fff;
  font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.card-pics { display: grid; gap: 12px; margin: 1rem 0; }
@media (min-width: 640px) { .card-pics { grid-template-columns: 1fr 1fr; } }
.card-pics figure { margin: 0; }
.card-pics.single { display: block; margin: 1rem 0; }
@media (min-width: 640px) { .card-pics.single svg { max-width: 370px; } }   /* PC에선 카드 그림과 같은 크기 */
.card-pics figcaption { font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.card-pics svg { width: 100%; height: auto; display: block; }
.card-pics .mk rect { fill: none; stroke: #ff3b3b; stroke-width: 3.5; }
.card-pics .mk circle { fill: #e00000; stroke: #fff; stroke-width: 2; }
.card-pics .mk text { fill: #fff; font-size: 17px; font-weight: 700; text-anchor: middle; font-family: sans-serif; }
.test-banner { background: #ffe0e0; color: var(--ng); text-align: center; font-weight: 700; padding: .4rem; font-size: .85rem; }

/* 카드 정보 안심 문구 */
.safe-note { display: flex; gap: .8rem; align-items: flex-start; background: #eaf6ef; border: 2px solid var(--ok); border-radius: 14px; padding: 1rem; margin: 1.2rem 0; }
.safe-note svg { width: 2.2rem; height: 2.2rem; flex-shrink: 0; fill: var(--ok); stroke: var(--ok); stroke-width: 2.4; }
.safe-note p { margin: 0; }
.safe-note strong { color: var(--ok); }
.card-pics .sample rect { fill: #fff; stroke: #c00000; stroke-width: 2; }
.card-pics .sample text { fill: #c00000; font-size: 14px; font-weight: 700; text-anchor: middle; font-family: sans-serif; }

.hero-logo { display: block; width: 180px; height: 180px; margin: 0 auto 1rem; }
@media (min-width: 768px) { .hero-logo { width: 220px; height: 220px; } }
.hero { text-align: center; }
/* 핸드폰: 메뉴 버튼을 로고 아래 줄에 반반으로 */
@media (max-width: 559px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav { width: 100%; }
  .nav a { flex: 1; text-align: center; padding: .55rem .4rem; font-size: .95rem; }
}

/* 추가 요금 없음 강조 */
.no-fee { background: #fff6d6; border: 3px solid #f0b400; border-radius: 14px; padding: .9rem 1rem; margin: 1rem 0; text-align: center; }
.no-fee strong { display: block; font-size: 1.35rem; color: var(--ng); }
.no-fee span { font-weight: 700; }
