:root {
  --ink: #16324a;
  --muted: #5c7388;
  --line: #d5e3ee;
  --bg: #e7f1f8;
  --card: #ffffff;
  --soft: #f4f9fc;
  --accent: #1486c9;
  --dock: 58px;
  --column: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

figure { margin: 0; }

ul, ol { list-style: none; margin: 0; padding: 0; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 8px; }

.column {
  width: 100%;
  margin: 0;
  background: var(--card);
  min-height: 100vh;
  padding-bottom: calc(var(--dock) + 16px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #e8f0f6;
}

.header-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand img { height: 56px; width: auto; }

.head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.head-call,
.head-sms,
.dock a,
.carousel-bar button {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.head-blog {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #16324a;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.head-call,
.head-sms {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}

.head-sms {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.head-call svg,
.head-call span,
.head-sms svg,
.head-sms span {
  display: block;
  line-height: 1;
}

.head-call svg,
.head-sms svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hero {
  background: #e8f0f6;
  padding: 0 0 20px;
}

.hero-shot {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: #10283c;
}

.hero-shot video {
  pointer-events: none;
  user-select: none;
  object-position: center center;
}

.lead {
  background: #e8f0f6;
  padding: 0 14px 22px;
}

.lead-card {
  padding: 26px 22px 24px;
  border-radius: 18px;
  background: #fff;
  color: #000;
}

.lead-card h1,
.lead-card p { word-break: keep-all; }

.lead-card h1 {
  color: #1486c9;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.lead-local {
  margin-top: 10px;
  color: #16324a;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
}

.kw-page .lead-card h1 {
  color: #000;
  font-size: 1.85rem;
  line-height: 1.25;
}

.lead-card .lead-slogan {
  margin-top: 8px;
  color: #000;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.lead-card p {
  margin-top: 16px;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

.block { padding: 26px 20px 8px; }

h1 {
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

h2 {
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

.places li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.price-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table caption {
  padding: 12px 14px 0;
  text-align: left;
  color: var(--muted);
  font-size: 0.86rem;
}

.price-table th,
.price-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table thead th {
  background: var(--soft);
  font-size: 0.88rem;
}

.price-table .mo-br { display: none; }

.price-table tbody th { white-space: nowrap; }

.price-table td:nth-child(n+3),
.price-table th:nth-child(n+3) {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.addons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.addons li {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 0.92rem;
}

.carousel { margin-top: 16px; outline: none; }

.carousel-viewport { overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform 0.4s ease;
}

.carousel[data-flow] .carousel-track { transition: none; }

.carousel[data-flow] .carousel-dots { display: none; }

.carousel-slide { flex: 0 0 calc(100% - 36px); min-width: 0; }

.shot {
  position: relative;
  overflow: hidden;
  background: #d5e6f2;
}

.shot img,
.shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide.shot img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.carousel-slide figcaption,
.tag {
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

#reviews .carousel-slide { flex-basis: calc(100% - 16px); }

.review {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 100%;
}

.review-photo {
  aspect-ratio: 16 / 9;
  background: #e7f1f8;
  flex: 0 0 auto;
  overflow: hidden;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-body .tag { margin-top: 0; }

.stars { color: var(--accent); letter-spacing: 0.04em; font-size: 0.8rem; }

.review p:last-child {
  margin-top: 0;
  line-height: 1.65;
}

.pc-br,
.mo-br,
.mo-only,
.mo-lines,
.mo-review,
.mo-faq { display: none; }

.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.carousel-bar button {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  min-height: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b7c9d8;
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  background: var(--accent);
  width: 18px;
  border-radius: 8px;
}

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

.story {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.story img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.story h3 {
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.story .tag { margin-top: 4px; }

.story p:last-child { margin-top: 8px; }

.steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.steps span {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.places { margin-top: 8px; }

.area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.area-links a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.places li {
  display: block;
  font-weight: 500;
}

.place-note {
  color: #9a4d16;
  font-weight: 650;
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.faq article {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.faq h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.faq p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.85;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 20px 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer img {
  height: 92px;
  width: auto;
  flex: 0 0 auto;
}

.float-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(16, 40, 64, 0.22);
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

.float-call,
.float-sms,
.float-top {
  position: fixed;
  right: 16px;
  z-index: 7;
}

.float-call {
  bottom: calc(var(--dock) + 16px);
  background: var(--accent);
  color: #fff;
}

.float-sms {
  bottom: calc(var(--dock) + 78px);
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.float-top {
  bottom: calc(var(--dock) + 140px);
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: stretch;
  height: var(--dock);
  background: var(--accent);
  color: #fff;
  font-size: 1.02rem;
}

.dock a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.dock a + a { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.35); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 860px) {
  body { padding: 24px 0 40px; }

  .column {
    width: min(var(--column), 100%);
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(20, 70, 110, 0.12);
    overflow: hidden;
  }

  .header { border-radius: 16px 16px 0 0; }

  .brand img { height: 64px; }

  .hero { padding: 0 0 18px; }

  .lead {
    padding: 8px 28px 36px;
    background: #fff;
  }

  .lead-card {
    padding: 28px 8px 8px;
    background: #fff;
    color: #000;
    text-align: center;
  }

  .lead-card br { display: none; }

  .lead-card h1,
  .lead-card p { white-space: nowrap; }

  .lead-card h1 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
  }

  .lead-card .lead-slogan {
    margin-top: 12px;
    color: #000;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.25;
  }

  .lead-card p {
    margin-top: 14px;
    color: #1486c9;
    font-size: 1.6rem;
    font-weight: 750;
    letter-spacing: -0.04em;
  }

  .kw-page .lead-card h1 {
    font-size: 2.6rem;
    white-space: normal;
  }

  .kw-page .lead-card .lead-slogan {
    font-size: 1.35rem;
    font-weight: 650;
    color: #16324a;
  }

  .kw-page .lead-card .lead-local {
    color: #1486c9;
    font-size: 1.25rem;
    white-space: normal;
  }

  .hero-shot {
    aspect-ratio: 16 / 9;
  }

  .price-table { min-width: 720px; }

  .carousel[data-per="3"] .carousel-slide {
    flex-basis: calc((100% - 24px) / 3);
  }

  #reviews .carousel-track { align-items: stretch; }

  #reviews .carousel[data-per="2"] .carousel-slide {
    flex-basis: calc((100% - 12px) / 2);
    height: auto;
    align-self: stretch;
  }

  #reviews .review-body { padding: 18px 18px 20px; }

  .pc-br { display: inline; }

  .stories { gap: 16px; }

  .story {
    grid-template-columns: 280px 1fr;
    align-items: center;
    padding: 16px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .steps li { border-bottom: 0; align-items: start; }

  .faq { grid-template-columns: 1fr 1fr; }

  .float-call { bottom: calc(24px + var(--dock) + 16px); }

  .float-sms { bottom: calc(24px + var(--dock) + 78px); }

  .float-top { bottom: calc(24px + var(--dock) + 140px); }

  .dock {
    left: 50%;
    right: auto;
    bottom: 24px;
    transform: translateX(-50%);
    width: min(var(--column), 100%);
  }
}

@media (max-width: 859px) {
  #reviews .carousel-track { align-items: stretch; }

  #reviews .carousel-slide {
    height: auto;
    align-self: stretch;
  }

  #reviews .tag { display: none; }

  .pc-only { display: none; }

  .mo-br,
  .mo-only { display: inline; }

  .mo-lines {
    display: block;
    container-type: inline-size;
    padding-right: 40px;
  }

  .mo-lines > span {
    display: block;
    white-space: nowrap;
    font-size: min(1rem, calc(100cqi / 20.8));
    line-height: 1.65;
  }

  #reviews .mo-review {
    display: block;
    container-type: inline-size;
    padding-right: 8px;
  }

  #reviews .mo-review > span {
    display: block;
    white-space: nowrap;
    font-size: min(0.95rem, calc(100cqi / 20.6));
    line-height: 1.55;
  }

  #faq .mo-faq {
    display: block;
    container-type: inline-size;
    padding-right: 36px;
  }

  #faq .mo-faq > span {
    display: block;
    white-space: nowrap;
    font-size: min(1rem, calc(100cqi / 19.2));
    line-height: 1.7;
  }

  #price {
    padding-left: 10px;
    padding-right: 10px;
  }

  #price .sub {
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: -0.06em;
  }

  .table-wrap { overflow-x: hidden; }

  .price-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 10px;
  }

  .price-table col.col-course { width: 16%; }
  .price-table col.col-work { width: 36%; }
  .price-table col.col-size { width: 12%; }

  .price-table .mo-br { display: inline; }
  .price-table .pc-only { display: none; }

  .price-table tbody td:nth-child(2) { word-break: keep-all; }

  .price-table caption {
    padding: 8px 6px 0;
    font-size: 10px;
  }

  .price-table th,
  .price-table td {
    padding: 8px 2px;
    line-height: 1.35;
    text-align: center;
    vertical-align: middle;
  }

  .price-table thead th {
    font-size: 10px;
    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
  }

  .price-table td:nth-child(n+3),
  .price-table th:nth-child(n+3) {
    text-align: center;
    letter-spacing: -0.04em;
  }

  .kw-page .lead-card h1 {
    font-size: 2.15rem;
  }

  .kw-page .lead-card .lead-slogan {
    margin-top: 10px;
    color: #16324a;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: -0.03em;
  }
}

.blog {
  padding: 22px 16px 40px;
  background: #fff;
}

.blog-wrap {
  width: min(760px, 100%);
  margin: 0 auto;
}

.blog h1 {
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.blog-lead,
.blog-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}

.blog-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.blog-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  text-decoration: none;
}

.blog-card img {
  width: 148px;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
}

.blog-card h2 {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.blog-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-figure {
  margin: 18px 0;
}

.blog-figure img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.blog-body p {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.85;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.blog-back {
  display: inline-block;
  margin-top: 22px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 859px) {
  .head-call,
  .head-sms,
  .head-blog {
    height: 36px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card img {
    width: 100%;
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { transition: none; }
}
