:root {
  --navy: #0b1f48;
  --blue: #1d4ed8;
  --light-blue: #eff6ff;
  --text: #1f2937;
  --muted: #4b5563;
  --border: #dbe2ea;
  --bg: #f6f8fc;
  --white: #ffffff;
}
* { box-sizing: border-box; }
body.site {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--blue); }
a:hover { color: #1e40af; }
.page { max-width: 1080px; margin: 0 auto; padding: 0 16px 48px; }
.topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 18px 0; margin-bottom: 24px; }
.topbar-inner { max-width: 1080px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: bold; font-size: 24px; line-height: 1; }
.brand-icon { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.brand-text { display: inline-flex; align-items: center; white-space: nowrap; }
.brand-wordmark { width: auto; height: 42px; max-width: 260px; border-radius: 0; object-fit: contain; image-rendering: auto; flex: 0 0 auto; }
.callout { background: var(--light-blue); color: var(--navy); border: 1px solid #bfdbfe; border-radius: 10px; padding: 10px 14px; font-size: 15px; font-weight: bold; }
.hero { background: linear-gradient(135deg, #0b1f48 0%, #1d4ed8 100%); color: var(--white); border-radius: 16px; padding: 30px 24px; margin-bottom: 24px; }
.hero h1 { margin: 0 0 12px; font-size: 34px; line-height: 1.2; }
.hero p { margin: 0 0 12px; max-width: 760px; font-size: 17px; line-height: 1.45; }
.hero-note { margin: 0 0 18px; max-width: 760px; font-size: 16px; font-weight: 600; }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-block; padding: 10px 14px; border-radius: 8px; font-weight: bold; text-decoration: none; border: 1px solid transparent; }
.button-primary { background: #22c55e; color: #032915; }
.button-secondary { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.45); }
.section { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; margin-bottom: 20px; }
.section h2 { margin-top: 0; margin-bottom: 8px; color: var(--navy); font-size: 26px; text-align: center; }
.program-overview h2 { text-align: center; }
.program-overview h4 { text-align: left; }
.program-overview h3 { text-align: center; }
.program-overview h3 { margin: 18px 0 10px; color: #0f2555; font-size: 24px; line-height: 1.3; }
.program-overview p { margin: 0 0 12px; font-size: 16px; }
.program-simple-label { font-weight: 600; color: #1f2937; }
.program-overview ul { margin: 0 0 12px 20px; }
.program-overview li { margin-bottom: 8px; font-size: 16px; }
.program-intro { background: #f9fbff; border-color: #d6e3f5; }
.program-intro p:last-child { margin-bottom: 0; }
.program-reasons { margin-top: 4px; grid-template-columns: repeat(2, minmax(250px, 1fr)); align-items: stretch; }
.program-reasons .card { background: #f9fbff; border-color: #d6e3f5; display: flex; flex-direction: column; }
.program-reasons .card h4 { margin: 0 0 8px; font-size: 17px; color: #0f2555; min-height: 2.4em; }
.program-reasons .card p { margin: 0; }
.steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.steps li { background: #f9fbff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.step-number { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: var(--white); text-align: center; line-height: 28px; font-weight: bold; margin-bottom: 8px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.card { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: #fcfdff; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: #0f2555; }
.card img { width: 100%; height: 145px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; border: 1px solid #c8d4e2; display: block; }
.footer { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

.carousel { position: relative; overflow: hidden; }
.carousel-track { min-height: 80px; padding: 0 42px; }
.carousel-item { display: none; }
.carousel-item.active { display: block; padding: 2px 0; }
.testimonial-quote { font-style: italic; color: var(--muted); border-left: 4px solid #93c5fd; padding-left: 14px; margin: 0 0 6px; }
.testimonial-author { margin-top: 10px; font-weight: bold; color: #203b66; }
.testimonial-photo-row { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.testimonial-photo-row img { width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 10px; border: 1px solid #c8d4e2; background: #eef4ff; }
.testimonial-gallery-card p { margin-top: 0; color: var(--muted); }
.testimonial-gallery-row { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.testimonial-gallery-link { display: block; flex: 0 0 auto; width: 120px; border: 1px solid #c8d4e2; border-radius: 8px; padding: 3px; background: #eef4ff; }
.testimonial-gallery-link img { width: 100%; height: 64px; object-fit: cover; border-radius: 6px; display: block; }
.testimonial-gallery-link:hover { border-color: #1d4ed8; box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.15); }

.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(11,31,72,0.85); color: #fff; font-size: 17px; cursor: pointer; }
.carousel-control.prev { left: 12px; }
.carousel-control.next { right: 12px; }

.testimonial-list { display: grid; gap: 14px; }
.testimonial-card { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: #fcfdff; }
.testimonial-card p { margin-top: 0; }

.price-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px 40px; }
.price-intro { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.price-title { color: #cc0000; text-align: center; margin: 0 0 12px; }
.price-table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 14px; overflow-x: auto; }
.price-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.price-table th, .price-table td { border: 1px solid #ccc; padding: 6px 8px; text-align: center; }
.price-table th { background-color: #f2f2f2; font-weight: bold; }
.price-table tr:nth-child(even) td { background-color: #fafafa; }


@media (max-width: 640px) {
  .carousel-track { padding: 0 34px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand-wordmark { height: 34px; max-width: 210px; }
  .program-overview h3 { font-size: 22px; }
  .program-reasons { grid-template-columns: 1fr; }
  .program-reasons .card h4 { font-size: 16px; min-height: 0; }
}


.note-red { color: #b91c1c; font-weight: bold; }
.trademark-wrap { max-width: 980px; margin: 0 auto; padding: 0 16px 40px; }
.trademark-content { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.trademark-content h2 { color: #0f2555; margin-top: 0; }
.trademark-content ul { margin-top: 8px; }

.dup-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: #fcfdff; }
.dup-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.dup-table td { vertical-align: top; padding: 14px 10px; border-bottom: 1px solid #d9e3f0; }
.dup-table tbody tr:last-child td { border-bottom: 0; }
.cell-star { width: 34px; text-align: center; padding-right: 4px; }
.cell-star img { width: 28px; height: 28px; margin-top: 0; }
.cell-type { width: 205px; font-size: 17px; font-weight: 700; color: #0f2555; line-height: 1.3; padding-left: 4px; }
.cell-copy p { margin: 0 0 10px; font-size: 16px; }
.cell-copy { padding-left: 8px; }
.cell-image { width: 210px; text-align: center; }
.image-frame { width: 190px; height: 120px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c8d4e2; border-radius: 8px; background: #ffffff; overflow: hidden; }
.image-frame img { max-width: 190px; max-height: 120px; width: auto; height: auto; }
.image-na { color: #64748b; font-size: 13px; font-style: italic; }

@media (max-width: 900px) {
  .dup-table { min-width: 700px; }
  .cell-type { width: 180px; font-size: 16px; }
  .cell-copy p { font-size: 15px; }
  .image-frame { width: 160px; height: 105px; }
  .image-frame img { max-width: 160px; max-height: 105px; }
}
