:root {
  --bg: #f6f4ed;
  --ink: #1c1a18;
  --ink-soft: #5a5450;
  --card: #ffffff;
  --line: #e4dfd6;
  --accent: #9f4f4f;
  --accent-2: #de6b4e;
  --shadow: 0 18px 44px rgba(37, 24, 18, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "M PLUS 1", "M PLUS Rounded 1c", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: radial-gradient(120% 120% at 80% -20%, #ffe5dc 0%, transparent 45%),
    radial-gradient(110% 100% at 0% 110%, #f9e4d1 0%, transparent 40%), var(--bg);
  min-height: 100vh;
}

.bg-shape {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 8% 10%, rgba(255, 214, 180, 0.28), transparent 38%),
    radial-gradient(circle at 95% 95%, rgba(223, 120, 74, 0.18), transparent 42%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(740px, 100%);
  margin: 0 auto;
  padding: 20px 16px 36px;
}

.hero {
  margin-top: 10px;
  padding: 28px 22px;
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff, #fff6f0);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 700;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  line-height: 1.2;
}

.hero-lead {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.card {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 24, 18, 0.2);
}

.card:active {
  transform: translateY(0);
}

.card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.card-tag {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.card span {
  justify-self: start;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  width: fit-content;
  font-size: 13px;
}

.notice,
.panel,
.cta {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.notice p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.notice span {
  color: var(--accent);
  font-weight: 700;
}

.back-link {
  display: inline-block;
  margin: 10px 0;
  color: #5a3e32;
}

.page-head {
  margin: 6px 0 14px;
}

.point-list,
.steps {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.85;
}

.page-head h1,
h2 {
  margin-top: 2px;
  margin-bottom: 10px;
  line-height: 1.3;
}

h2 {
  font-size: 1.3rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  min-width: 520px;
}

.table-scroll {
  overflow-x: auto;
  border-radius: 12px;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  font-size: 14px;
}

th {
  background: #fef6ef;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  background: #fffaf4;
}

details summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 8px 0 2px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.cta-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: white;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 12px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(223, 107, 78, 0.3);
}

/* Wismile counseling document */
.wismile-page {
  --wsm-blue: #2180be;
  --wsm-blue-deep: #145f9a;
  --wsm-yellow: #f3d35c;
  --wsm-coral: #eb817d;
  --wsm-cream: #fffaf0;
  --wsm-ink: #243445;
  margin: 0;
  color: var(--wsm-ink);
  background: #eee9dc;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", sans-serif;
}
.wsm-paper-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: radial-gradient(#9b8a69 .5px, transparent .5px);
  background-size: 7px 7px;
  mix-blend-mode: multiply;
}
.wsm-topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px max(12px, env(safe-area-inset-left));
  background: rgba(255,253,247,.94);
  border-bottom: 1px solid rgba(33,128,190,.18);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 700;
}
.wsm-back {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--wsm-blue-deep);
  background: #e7f4fb;
  border-radius: 50%;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}
.wsm-top-price {
  padding: 8px 12px;
  color: #fff;
  background: var(--wsm-blue);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
}
.wsm-site {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: var(--wsm-cream);
  box-shadow: 0 0 70px rgba(75,57,30,.16);
}
.wsm-hero {
  position: relative;
  padding: 42px 18px 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 7%, rgba(243,211,92,.55) 0 10%, transparent 10.5%),
    linear-gradient(150deg, #fffdf8 0 58%, #e7f6fb 58% 100%);
  text-align: center;
}
.wsm-hero::before,.wsm-hero::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(33,128,190,.16);
  border-radius: 50%;
}
.wsm-hero::before { width: 280px; height: 280px; left: -180px; top: 110px; }
.wsm-hero::after { width: 190px; height: 190px; right: -110px; bottom: 70px; }
.wsm-hero-copy { position: relative; max-width: 620px; margin: 0 auto; }
.wsm-kicker { margin: 0 0 16px; color: var(--wsm-blue-deep); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.wsm-logo { display: block; width: min(330px,82%); height: auto; margin: 0 auto 18px; }
.wsm-bubble {
  position: absolute;
  right: 3%;
  top: 40px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0;
  color: var(--wsm-blue-deep);
  background: rgba(255,255,255,.76);
  border: 2px solid var(--wsm-blue);
  border-radius: 50%;
  font-weight: 900;
  transform: rotate(8deg);
}
.wsm-monthly { display: flex; align-items: flex-end; justify-content: center; color: var(--wsm-blue-deep); line-height: .85; }
.wsm-monthly>span { align-self: flex-start; margin: 7px 6px 0 0; padding: 4px 9px; color: #fff; background: var(--wsm-blue); border-radius: 999px; font-size: 12px; }
.wsm-monthly strong { font-family: "Shippori Mincho",serif; font-size: clamp(3.6rem,15vw,6.4rem); font-weight: 600; letter-spacing: -.06em; }
.wsm-monthly b { margin: 0 0 8px 7px; font-size: 22px; }
.wsm-monthly-note { margin: 10px 0 22px; color: #6c7780; font-size: 11px; }
.wsm-zero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin: 0 auto; }
.wsm-zero-grid p { margin: 0; padding: 13px 8px 10px; background: rgba(255,255,255,.82); border: 1px solid #cfe7f3; border-radius: 16px; font-size: 13px; font-weight: 700; }
.wsm-zero-grid small { display: block; color: #71808c; font-size: 10px; font-weight: 500; }
.wsm-zero-grid strong { display: block; margin-top: 2px; color: var(--wsm-blue); font-family: "Shippori Mincho",serif; font-size: 42px; font-weight: 600; line-height: 1; }
.wsm-zero-grid em { font: 700 13px "Zen Kaku Gothic New",sans-serif; font-style: normal; }
.wsm-trial-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  max-width: 590px;
  margin: 24px auto 16px;
  padding: 17px;
  text-align: left;
  background: #fff7f2;
  border: 1px solid rgba(235,129,125,.36);
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(148,88,66,.12);
}
.wsm-limit { display: grid; place-items: center; width: 68px; height: 68px; padding: 8px; color: #936c00; background: var(--wsm-yellow); border-radius: 50%; font-size: 13px; font-weight: 900; text-align: center; }
.wsm-trial-card small { color: #65727d; }
.wsm-trial-card p { display: flex; align-items: baseline; gap: 10px; margin: 2px 0; }
.wsm-trial-card p span { color: var(--wsm-coral); font-weight: 700; }
.wsm-trial-card strong { color: var(--wsm-blue-deep); font-family: "Shippori Mincho",serif; font-size: 31px; }
.wsm-trial-card em { font: 700 12px "Zen Kaku Gothic New",sans-serif; font-style: normal; }
.wsm-impact { margin: 24px 0 17px; font-family: "Shippori Mincho",serif; font-size: clamp(1.25rem,5vw,1.8rem); }
.wsm-impact span { text-decoration: underline; text-decoration-color: var(--wsm-blue); text-decoration-thickness: 5px; text-underline-offset: 4px; }
.wsm-impact b { display: inline-grid; place-items: center; width: 52px; height: 52px; margin: 0 2px; color: #745f00; background: var(--wsm-yellow); border-radius: 50%; vertical-align: middle; }
.wsm-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; max-width: 650px; margin: 0 auto; }
.wsm-features p { display: grid; grid-template-columns: 34px 1fr; gap: 1px 6px; align-items: center; margin: 0; padding: 10px; text-align: left; background: rgba(255,255,255,.8); border-radius: 13px; }
.wsm-features b { grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--wsm-blue); border-radius: 9px; font-size: 20px; }
.wsm-features span { font-size: 10px; }
.wsm-features strong { color: var(--wsm-blue-deep); font-size: 13px; }
.wsm-plan-nav {
  position: sticky;
  z-index: 40;
  top: 54px;
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 8px;
  padding: 12px clamp(12px, 3vw, 42px);
  background: rgba(239,248,252,.96);
  border-top: 1px solid #d6eaf3;
  border-bottom: 1px solid #c9e2ee;
  backdrop-filter: blur(12px);
}
.wsm-plan-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 46px;
  color: var(--wsm-blue-deep);
  background: rgba(255,255,255,.96);
  border: 1px solid #a9d4e8;
  border-radius: 12px;
  text-decoration: none;
  font-family: "Zen Kaku Gothic New",sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 0 #d5eaf4;
  transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.wsm-plan-nav small { line-height: 1; }
.wsm-plan-nav a:hover,
.wsm-plan-nav a:focus-visible {
  color: #fff;
  background: var(--wsm-blue);
  border-color: var(--wsm-blue);
  box-shadow: 0 4px 0 #0f5f96;
  outline: none;
  transform: translateY(-1px);
}
.wsm-plan-nav a:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0f5f96;
}
.wsm-plan-nav small { font-size: 9px; }
.wsm-section { padding: 62px 18px; }
.wsm-section-heading { margin-bottom: 28px; text-align: center; }
.wsm-section-heading>span { color: var(--wsm-blue); font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.wsm-section-heading h1,.wsm-section-heading h2 { margin: 8px 0 10px; font-family: "Shippori Mincho",serif; font-size: clamp(1.7rem,6vw,2.7rem); line-height: 1.45; }
.wsm-section-heading p { margin: 0; color: #687683; line-height: 1.8; font-size: 14px; }
.wsm-section-heading em { color: var(--wsm-coral); font-style: normal; }
.wsm-plans { background: #fffdf8; }
.wsm-one-course { max-width: 680px; margin: 0 auto 24px; padding: 24px; text-align: center; background: linear-gradient(135deg,#e9f6fb,#fff); border: 1px solid #cce7f2; border-radius: 20px; }
.wsm-one-course p { margin: 4px 0; color: #62717d; line-height: 1.7; }
.wsm-one-course p:first-child { color: var(--wsm-blue-deep); font-size: 20px; font-weight: 700; }
.wsm-one-course p:first-child span { display: block; color: var(--wsm-coral); font-size: 11px; letter-spacing: .12em; }
.wsm-one-course>strong { color: var(--wsm-coral); font-family: "Shippori Mincho",serif; font-size: 42px; }
.wsm-one-course em { font: 500 12px "Zen Kaku Gothic New",sans-serif; font-style: normal; }
.wsm-course { max-width: 760px; margin: 20px auto 0; overflow: hidden; background: #fff; border: 1px solid #e5ddcf; border-radius: 22px; box-shadow: 0 15px 35px rgba(90,68,35,.08); scroll-margin-top: 122px; }
.wsm-course-head { display: grid; grid-template-columns: 1fr auto; gap: 0 15px; align-items: center; padding: 19px; background: linear-gradient(105deg,#f2f9fc,#fff8f5); border-bottom: 3px solid var(--wsm-coral); }
.wsm-course-head div { display: flex; align-items: baseline; color: var(--wsm-blue-deep); }
.wsm-course-head div b { font-family: "Shippori Mincho",serif; font-size: 46px; line-height: .9; }
.wsm-course-head div span { margin-left: 4px; font-size: 13px; font-weight: 700; }
.wsm-course-head>p { margin: 0; color: var(--wsm-coral); text-align: right; }
.wsm-course-head>p strong { font-family: "Shippori Mincho",serif; font-size: 39px; line-height: 1; }
.wsm-course-head>p span { font-size: 11px; }
.wsm-course-head .wsm-installment { grid-column: 1/-1; margin-top: 8px; color: #707b84; font-size: 13px; }
.wsm-installment b { color: var(--wsm-coral); font-size: 25px; }
.wsm-course-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; padding: 20px; }
.wsm-course-data { display: grid; gap: 10px; margin: 0; }
.wsm-course-data div { padding: 12px; background: #f7f9f9; border-radius: 13px; }
.wsm-course-data dt { color: var(--wsm-blue-deep); font-size: 11px; font-weight: 900; }
.wsm-course-data dd { margin: 4px 0 0; font-size: 13px; font-weight: 700; line-height: 1.65; }
.wsm-course-data small { display: block; color: #89939a; font-size: 10px; font-weight: 400; }
.wsm-case { margin: 0; }
.wsm-case-images { display: grid; grid-template-columns: 1fr 18px 1fr; align-items: center; gap: 7px; }
.wsm-case-images span { position: relative; overflow: hidden; border-radius: 10px; }
.wsm-case-images img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wsm-case-images small { position: absolute; left: 5px; bottom: 5px; padding: 2px 5px; color: #fff; background: rgba(20,95,154,.78); border-radius: 999px; font-size: 7px; }
.wsm-case-images i { color: var(--wsm-coral); font-size: 28px; font-style: normal; text-align: center; }
.wsm-case figcaption { margin-top: 8px; color: #5c6c78; font-size: 10px; text-align: center; }
.wsm-risk { margin: 0; padding: 12px 20px 16px; color: #7e5854; background: #fff8f5; font-size: 10px; line-height: 1.65; }
.wsm-scan-note { margin: 12px 20px 0; padding: 10px; color: #73514e; background: #fff0ed; border-radius: 10px; font-size: 11px; font-weight: 700; text-align: center; }
.wsm-plan-footnote { margin: 22px 0 0; color: #77828a; font-size: 10px; text-align: center; }
.wsm-retainer { padding: 48px 24px; background: linear-gradient(135deg,#fff2b8,#fff9df); }
.wsm-retainer>span { color: #a17c00; font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.wsm-retainer h2 { margin: 9px 0 20px; font-family: "Shippori Mincho",serif; font-size: clamp(1.65rem,6vw,2.5rem); line-height: 1.45; }
.wsm-retainer ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.wsm-retainer li { position: relative; padding-left: 30px; line-height: 1.75; }
.wsm-retainer li::before { position: absolute; left: 0; content: "☆"; color: #c18e00; font-size: 22px; }
.wsm-retainer strong { padding: 1px 4px; background: var(--wsm-yellow); }
.wsm-extra { background: #f5fafc; }
.wsm-cost-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 740px; margin: 0 auto; }
.wsm-cost-list article { padding: 17px; background: #fff; border-left: 4px solid var(--wsm-blue); border-radius: 12px; box-shadow: 0 8px 20px rgba(47,91,116,.07); }
.wsm-cost-list h3 { margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.wsm-cost-list strong { color: var(--wsm-coral); }
.wsm-cost-list p { margin: 5px 0 0; color: #76828b; font-size: 11px; line-height: 1.6; }
.wsm-cost-wide { grid-column: 1/-1; }
.wsm-why { background: #fffdf7; }
.wsm-why>article { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 14px; max-width: 700px; margin: 14px auto; padding: 20px; background: #fff; border: 1px solid #eadfcd; border-radius: 18px; }
.wsm-reason-number { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: var(--wsm-blue); border-radius: 15px; font-family: "Shippori Mincho",serif; font-size: 18px; }
.wsm-why h3 { margin: 4px 0 10px; color: var(--wsm-blue-deep); font-size: 17px; }
.wsm-why p { margin: 0; color: #65727d; font-size: 13px; line-height: 1.85; }
.wsm-why img { grid-column: 2; width: min(260px,100%); margin: 10px auto 0; }
.wsm-payment { padding-bottom: 36px; background: #e9f5fa; }
.wsm-payment-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; max-width: 650px; margin: 0 auto; }
.wsm-payment-list p { display: grid; gap: 8px; justify-items: center; margin: 0; padding: 18px 8px; background: #fff; border-radius: 14px; font-size: 12px; font-weight: 700; text-align: center; }
.wsm-payment-list b { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--wsm-blue); border-radius: 50%; font-size: 20px; }
.wsm-consultation { padding: 58px 24px; color: #59443f; background: linear-gradient(140deg,#fff0eb,#fff9f5); text-align: center; }
.wsm-script { margin: 0 0 14px; color: var(--wsm-coral); font-family: "Shippori Mincho",serif; font-size: 17px; }
.wsm-consultation h2 { margin: 0 auto 18px; font-family: "Shippori Mincho",serif; font-size: clamp(1.55rem,6vw,2.4rem); line-height: 1.55; }
.wsm-consultation>p:last-child { max-width: 630px; margin: 0 auto; color: #796c67; line-height: 2; }
.wsm-disclosure { background: #fff; }
.wsm-disclosure>article,.wsm-merit-grid article { max-width: 730px; margin: 10px auto; padding: 18px; background: #f8fafb; border-radius: 15px; }
.wsm-disclosure h3 { margin: 0 0 8px; color: var(--wsm-blue-deep); font-size: 16px; }
.wsm-disclosure p,.wsm-disclosure li { color: #66747e; font-size: 13px; line-height: 1.85; }
.wsm-disclosure ul { margin: 0; padding-left: 1.2em; }
.wsm-merit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 730px; margin: 0 auto; }
.wsm-merit-grid article { margin: 0; }
.wsm-risk-box { border: 1px solid rgba(235,129,125,.35); background: #fff7f5!important; }
.wsm-risk-box h3 { color: #a5514c; }
.wsm-checkup {
  position: relative;
  max-width: 1100px;
  margin: 34px auto 0;
  padding: clamp(28px,4vw,48px);
  overflow: hidden;
  color: #24453f;
  background:
    radial-gradient(circle at 92% 10%, rgba(129,198,176,.22) 0 92px, transparent 94px),
    linear-gradient(145deg,#eff9f5,#fbfdf9);
  border: 1px solid #bddfd3;
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(44,107,87,.1);
  text-align: center;
}
.wsm-checkup-kicker {
  margin: 0 0 9px!important;
  color: #34856d!important;
  font-size: 14px!important;
  font-weight: 900;
  letter-spacing: .06em;
}
.wsm-checkup h3 {
  margin: 0 0 18px;
  color: #204f43;
  font-family: "Shippori Mincho",serif;
  font-size: clamp(1.65rem,4vw,2.5rem);
  line-height: 1.55;
}
.wsm-checkup-lead {
  max-width: 840px;
  margin: 0 auto!important;
  color: #586f69!important;
  line-height: 2!important;
}
.wsm-checkup-points {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 26px 0;
}
.wsm-checkup-points p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px;
  color: #365d54;
  background: rgba(255,255,255,.88);
  border: 1px solid #d5e9e1;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}
.wsm-checkup-points b {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: #4c9b82;
  border-radius: 50%;
  font-size: 12px;
}
.wsm-insurance {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  color: #25536b;
  background: #e9f6fb;
  border: 1px solid #b9ddea;
  border-radius: 17px;
  text-align: left;
}
.wsm-insurance strong {
  padding: 8px 13px;
  color: #fff;
  background: var(--wsm-blue);
  border-radius: 999px;
  white-space: nowrap;
}
.wsm-insurance p {
  margin: 0!important;
  color: #516d7a!important;
  font-size: 13px!important;
  line-height: 1.8!important;
}
.wsm-checkup-close {
  margin: 22px 0 0!important;
  color: #2f7561!important;
  font-weight: 900;
  line-height: 1.8!important;
}
.wsm-final-cta { padding: 64px 20px 100px; text-align: center; background: linear-gradient(155deg,#e8f6fb,#fff8df); }
.wsm-final-cta p { color: #657581; font-family: "Shippori Mincho",serif; }
.wsm-final-cta img { width: min(290px,78%); margin: 7px auto 24px; }
.wsm-final-cta a { display: block; max-width: 380px; margin: 8px auto; padding: 15px; color: #fff; background: var(--wsm-blue); border-radius: 999px; text-decoration: none; font-weight: 900; }
.wsm-final-cta .wsm-sub-link { color: var(--wsm-blue-deep); background: transparent; border: 1px solid var(--wsm-blue); }
.wsm-floating { position: fixed; z-index: 70; right: 14px; bottom: max(14px,env(safe-area-inset-bottom)); left: 14px; display: block; max-width: 520px; margin: 0 auto; padding: 15px; color: #fff; background: linear-gradient(90deg,var(--wsm-blue-deep),var(--wsm-blue)); border: 2px solid rgba(255,255,255,.7); border-radius: 999px; box-shadow: 0 12px 30px rgba(20,95,154,.3); text-align: center; text-decoration: none; font-weight: 900; }
@media(max-width:620px) {
  .wsm-hero { padding-top: 34px; }
  .wsm-bubble { top: 50px; right: -5px; width: 63px; height: 63px; font-size: 12px; }
  .wsm-logo { width: 72%; }
  .wsm-features { grid-template-columns: 1fr; }
  .wsm-features p { grid-template-columns: 34px 1fr auto; }
  .wsm-features b { grid-row: auto; }
  .wsm-features strong { justify-self: end; }
  .wsm-course-head { grid-template-columns: 1fr; text-align: center; }
  .wsm-course-head div { justify-content: center; }
  .wsm-course-head>p { margin-top: 8px; text-align: center; }
  .wsm-course-body { grid-template-columns: 1fr; }
  .wsm-course-data { grid-template-columns: 1fr 1fr; }
  .wsm-cost-list,.wsm-merit-grid { grid-template-columns: 1fr; }
  .wsm-cost-wide { grid-column: auto; }
  .wsm-checkup-points { grid-template-columns: 1fr; }
  .wsm-insurance { grid-template-columns: 1fr; text-align: center; }
  .wsm-insurance strong { justify-self: center; }
  .wsm-insurance p { text-align: left; }
}
@media(min-width:800px) {
  .wsm-topbar { padding-inline: max(28px, calc((100vw - 1500px)/2)); }
  .wsm-hero { padding-block: 68px 52px; }
  .wsm-section { padding-inline: 44px; }
  .wsm-hero-copy { max-width: 980px; }
  .wsm-trial-card { max-width: 980px; }
  .wsm-zero-grid { max-width: 760px; }
  .wsm-features { max-width: 1080px; }
  .wsm-one-course,
  .wsm-course { max-width: 1180px; }
  .wsm-cost-list { max-width: 1180px; }
  .wsm-why>article { max-width: 1100px; }
  .wsm-payment-list { max-width: 900px; }
  .wsm-disclosure>article,
  .wsm-merit-grid { max-width: 1100px; }
  .wsm-topbar { font-size: 16px; }
  .wsm-top-price { font-size: 14px; }
  .wsm-monthly-note { font-size: 13px; }
  .wsm-features span { font-size: 13px; }
  .wsm-features strong { font-size: 16px; }
  .wsm-plan-nav small { font-size: 12px; }
  .wsm-course-head div span,
  .wsm-course-head>p span { font-size: 14px; }
  .wsm-course-head .wsm-installment { font-size: 15px; }
  .wsm-course-data dt { font-size: 13px; }
  .wsm-course-data dd { font-size: 16px; }
  .wsm-course-data small { font-size: 12px; }
  .wsm-case-images small { font-size: 11px; }
  .wsm-case figcaption { font-size: 13px; }
  .wsm-risk,
  .wsm-scan-note,
  .wsm-plan-footnote { font-size: 13px; }
  .wsm-cost-list h3 { font-size: 17px; }
  .wsm-cost-list strong { font-size: 16px; }
  .wsm-cost-list p { font-size: 14px; }
  .wsm-why h3 { font-size: 20px; }
  .wsm-why p { font-size: 15px; }
  .wsm-disclosure h3 { font-size: 19px; }
  .wsm-disclosure p,
  .wsm-disclosure li { font-size: 15px; }
  .wsm-checkup-kicker { font-size: 16px!important; }
  .wsm-checkup-lead { font-size: 16px!important; }
  .wsm-checkup-points p { font-size: 16px; }
  .wsm-insurance p { font-size: 15px!important; }
  .wsm-checkup-close { font-size: 17px!important; }
  .wsm-final-cta { padding-bottom: 64px; }
}
@media(prefers-reduced-motion:no-preference) {
  .wsm-hero-copy,.wsm-trial-card { animation: wsm-rise .7s ease both; }
  .wsm-trial-card { animation-delay: .12s; }
  @keyframes wsm-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Compact counseling price cards */
#plans .wsm-course {
  margin-bottom: 18px;
  border-radius: 22px;
}

#plans .wsm-course-head {
  min-height: 0;
  padding: 14px 24px;
}

#plans .wsm-course-head > div b {
  line-height: .9;
}

#plans .wsm-course-head p {
  margin-top: 0;
  margin-bottom: 0;
}

#plans .wsm-course-body {
  display: block;
  padding: 14px 24px 18px;
}

#plans .wsm-course-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

#plans .wsm-course-data > div {
  min-height: 0;
  padding: 12px 16px;
}

#plans .wsm-course-data dt {
  margin-bottom: 3px;
}

#plans .wsm-course-data dd {
  margin-bottom: 0;
}

#plans .wsm-one-course {
  margin-bottom: 18px;
}

@media (max-width: 700px) {
  #plans .wsm-course {
    margin-bottom: 14px;
    border-radius: 18px;
  }

  #plans .wsm-course-head {
    padding: 12px 14px;
  }

  #plans .wsm-course-body {
    padding: 10px 14px 14px;
  }

  #plans .wsm-course-data {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #plans .wsm-course-data > div {
    padding: 10px 12px;
  }
}
/* Desktop comparison table */
.wsm-table-head {
  display: none;
}

#plans .wsm-course > .wsm-risk {
  display: none;
}

@media (min-width: 901px) {
  .wsm-table-head {
    display: grid;
    grid-template-columns: 9% 17% 17% 23% 34%;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #a9d7ef;
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: #0967a2;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
  }

  .wsm-table-head span {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-right: 1px solid rgba(255,255,255,.28);
    text-align: center;
  }

  .wsm-table-head span:last-child {
    border-right: 0;
  }

  #plans .wsm-course {
    display: grid !important;
    grid-template-columns: 9% 17% 17% 23% 34%;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid #bcdcec;
    border-bottom: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff;
  }

  #plans .wsm-course:last-of-type {
    border-bottom: 1px solid #bcdcec;
    border-radius: 0 0 18px 18px !important;
  }

  #plans .wsm-course:nth-of-type(even) {
    background: #f5fbfe;
  }

  #plans .wsm-course-head,
  #plans .wsm-course-body,
  #plans .wsm-course-data {
    display: contents !important;
  }

  #plans .wsm-course-head > div,
  #plans .wsm-course-head > p,
  #plans .wsm-course-data > div {
    display: flex;
    min-width: 0;
    min-height: 108px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 14px 12px !important;
    border-right: 1px solid #d5e8f2;
    background: transparent !important;
    text-align: center;
  }

  #plans .wsm-course-data > div:last-child {
    align-items: flex-start;
    border-right: 0;
    text-align: left;
  }

  #plans .wsm-course-head > div b {
    color: #0867a4;
    font-size: 34px;
    line-height: 1;
  }

  #plans .wsm-course-head > div span {
    margin-top: 4px;
    color: #0867a4;
    font-size: 13px;
    font-weight: 800;
  }

  #plans .wsm-course-head > p > strong {
    color: #e76f73;
    font-size: 31px;
    line-height: 1.05;
  }

  #plans .wsm-course-head > p > span {
    margin-top: 5px;
    color: #5c6c79;
    font-size: 12px;
  }

  #plans .wsm-installment {
    color: #5c6c79;
    font-size: 13px;
  }

  #plans .wsm-installment b {
    color: #e76f73;
    font-size: 24px;
    line-height: 1.15;
  }

  #plans .wsm-course-data dt {
    margin: 0 0 6px;
    color: #0870ae;
    font-size: 12px;
    font-weight: 800;
  }

  #plans .wsm-course-data dd {
    color: #263847;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
  }

  #plans .wsm-course-data dd small {
    display: block;
    margin-top: 2px;
    color: #87939c;
    font-size: 11px;
    font-weight: 500;
  }
}
/* Lock every desktop price item to one table row */
@media (min-width: 901px) {
  #plans .wsm-course-head > div,
  #plans .wsm-course-head > p,
  #plans .wsm-course-data > div {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    transform: none !important;
    align-self: stretch !important;
  }

  #plans .wsm-course-head > div {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  #plans .wsm-course-head > p:not(.wsm-installment) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  #plans .wsm-course-head > .wsm-installment {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  #plans .wsm-course-data > div:first-child {
    grid-column: 4 !important;
    grid-row: 1 !important;
  }

  #plans .wsm-course-data > div:last-child {
    grid-column: 5 !important;
    grid-row: 1 !important;
  }
}
/* Full-width note below the 30-visit plan */
@media (min-width: 901px) {
  #plans #course30 .wsm-scan-note {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 9px 18px !important;
    border: 0 !important;
    border-top: 1px solid #f2d2cb !important;
    border-radius: 0 !important;
    background: #fff5f2 !important;
    color: #7b554d !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
    text-align: center !important;
    white-space: normal !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
  }
}