* {
  box-sizing: border-box;
}

:root {
  --bg: #fffdfa;
  --mint: #e9f8f3;
  --mint-strong: #caeee3;
  --blush: #ffe8e6;
  --blush-soft: #fff4f1;
  --coral: #f2766b;
  --coral-dark: #c84740;
  --ink: #26312f;
  --muted: #66736f;
  --line: #d8e4df;
  --surface: #ffffff;
  --shadow: 0 18px 45px rgba(71, 101, 94, 0.14);
  --radius: 22px;
}

html {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 232, 230, 0.72), transparent 26rem),
    radial-gradient(circle at 90% 4%, rgba(202, 238, 227, 0.78), transparent 24rem),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(120deg, rgba(38, 49, 47, 0.035) 1px, transparent 1px),
    linear-gradient(300deg, rgba(38, 49, 47, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

body::after {
  content: "ㅎ ㅏ ㄴ ㄱ ㅡ ㄹ";
  position: fixed;
  top: 120px;
  left: 4vw;
  z-index: -1;
  color: rgba(242, 118, 107, 0.08);
  font-size: 92px;
  font-weight: 900;
  letter-spacing: 18px;
  pointer-events: none;
  transform: rotate(-8deg);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  color: var(--ink);
  background: var(--mint-strong);
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(216, 228, 223, 0.78);
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.site-logo {
  width: 52px;
  height: 52px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(71, 101, 94, 0.16);
  object-fit: cover;
}

.brand-name {
  display: block;
  font-weight: 800;
  line-height: 1.2;
}

.brand-area {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--coral-dark);
}

.site-nav a[aria-current="page"] {
  color: var(--coral-dark);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--coral);
  border-radius: 999px;
}

.nav-cta {
  padding: 9px 14px;
  color: var(--surface) !important;
  background: var(--coral);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(242, 118, 107, 0.24);
}

.nav-cta[aria-current="page"]::after {
  display: none;
}

.page {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
  padding: 64px 0 84px;
}

.page-narrow {
  width: min(100% - 40px, 780px);
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 20px;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.16;
}

h2 {
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 850;
  line-height: 1.28;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.4;
}

p {
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 54px;
  position: relative;
  padding: 72px 0 58px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 20px;
  background:
    radial-gradient(18px 12px at 18px 12px, var(--mint-strong) 98%, transparent 100%) repeat-x;
  background-size: 42px 20px;
  opacity: 0.9;
}

.hero-copy {
  max-width: 590px;
}

.hero h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 5.8vw, 64px);
  line-height: 1.08;
}

.hero h1 span {
  display: block;
  color: var(--coral);
}

.hero-subtitle {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 850;
  line-height: 1.35;
}

.hero .lead {
  max-width: 540px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.button-primary,
.button-secondary,
.button-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button-primary {
  color: var(--surface);
  background: var(--coral);
  box-shadow: 0 16px 32px rgba(242, 118, 107, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.button-line {
  color: #128c3b;
  background: #e9fff0;
  border: 1px solid #bde8c7;
}

.button-primary:hover,
.button-secondary:hover,
.button-line:hover {
  transform: translateY(-2px);
}

.button-primary:focus-visible,
.button-secondary:focus-visible,
.button-line:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(242, 118, 107, 0.36);
  outline-offset: 3px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(145deg, var(--surface), #f4fffb);
  border: 1px solid rgba(216, 228, 223, 0.88);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "ㅎ ㄱ ㄴ";
  position: absolute;
  top: 14px;
  right: 24px;
  z-index: 2;
  color: rgba(242, 118, 107, 0.24);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 8px;
}

.hero-desk {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.teacher-photo {
  position: absolute;
  top: 24px;
  left: 24px;
  display: block;
  width: 118px;
  aspect-ratio: 1;
  border: 6px solid #fff6f4;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(71, 101, 94, 0.18);
}

.hero-note {
  margin: 18px;
  padding: 18px 20px;
  background: rgba(255, 232, 230, 0.92);
  border-radius: 18px;
}

.hero-note p {
  margin-bottom: 0;
  font-weight: 800;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 18px 24px;
}

.line-button {
  display: block;
  width: 168px;
  height: 52px;
}

.instagram-icon {
  display: block;
  width: 52px;
  height: 52px;
}

.section {
  padding: 76px 0;
  border-top: 1px solid rgba(216, 228, 223, 0.72);
}

.section:nth-of-type(2n + 1) {
  background:
    linear-gradient(180deg, rgba(233, 248, 243, 0.42), rgba(255, 253, 250, 0));
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.section-heading h2::after,
.page-title h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--coral) 0 11px,
    transparent 11px 17px
  );
  border-radius: 999px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reason,
.lesson-card,
.voice,
.notice-card,
.profile-summary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(71, 101, 94, 0.08);
}

.reason {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.reason p:last-child,
.voice p:last-child,
.content-section p:last-child,
.lesson-section p:last-child,
.cta-section p:last-child {
  margin-bottom: 0;
}

.reason::after {
  content: "♡";
  position: absolute;
  right: 22px;
  bottom: 10px;
  color: rgba(242, 118, 107, 0.18);
  font-size: 42px;
  font-weight: 900;
}

.reason-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--coral-dark);
  background: var(--blush);
  border-radius: 50%;
  font-weight: 900;
}

.lesson-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: center;
}

.lesson-preview img,
.main-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lesson-preview img {
  border: 10px solid var(--surface);
}

.lesson-list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.lesson-list li {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 750;
}

.profile-summary {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px;
}

.profile-summary img {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  object-fit: cover;
}

.plain-list,
.notes,
.price-grid ul {
  padding-left: 1.25em;
}

.plain-list li,
.notes li,
.price-grid li {
  margin-bottom: 8px;
}

.notes {
  margin-top: 38px;
  padding: 22px 24px 22px 42px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 228, 223, 0.86);
  border-radius: var(--radius);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.voice {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.voice::before {
  content: "“";
  position: absolute;
  top: 6px;
  right: 20px;
  color: rgba(242, 118, 107, 0.16);
  font-size: 70px;
  font-weight: 900;
  line-height: 1;
}

.voice h3 {
  color: var(--coral-dark);
}

.voice p {
  color: var(--muted);
}

.page-narrow > .voice h2 {
  padding-right: 44px;
  color: var(--ink);
  font-size: 22px;
}

.page-narrow > .voice h3 {
  display: inline-flex;
  margin: 10px 0 8px;
  padding: 4px 10px;
  color: var(--coral-dark);
  background: rgba(255, 232, 230, 0.68);
  border-radius: 999px;
  font-size: 14px;
}

.page-narrow > .voice p {
  line-height: 1.9;
}

.cta-section {
  padding: 42px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 35%, rgba(255, 255, 255, 0.76), transparent 11rem),
    linear-gradient(135deg, var(--mint), var(--blush));
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.cta-section::after {
  content: "배우는 즐거움";
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: rgba(200, 71, 64, 0.16);
  font-size: 28px;
  font-weight: 900;
  transform: rotate(-8deg);
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  max-width: 680px;
}

.contact-panel {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-note,
.small-note {
  color: var(--muted);
  font-size: 14px;
}

.mini-cta {
  margin-top: 46px;
  padding: 30px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.78), transparent 10rem),
    linear-gradient(135deg, rgba(233, 248, 243, 0.92), rgba(255, 232, 230, 0.88));
  border: 1px solid rgba(216, 228, 223, 0.86);
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(71, 101, 94, 0.1);
}

.mini-cta h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.mini-cta p {
  max-width: 690px;
  color: var(--muted);
}

.trial-points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trial-points li {
  padding: 15px 17px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(216, 228, 223, 0.9);
  border-radius: 16px;
  font-weight: 750;
}

.page-title {
  max-width: 780px;
  margin-bottom: 38px;
}

.content-section,
.lesson-section {
  margin-top: 30px;
}

.main-image + .content-section,
.main-image + .lesson-section {
  margin-top: 34px;
}

.content-section + .content-section,
.lesson-section + .lesson-section,
.voice + .voice {
  margin-top: 24px;
}

.content-section {
  position: relative;
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(216, 228, 223, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(71, 101, 94, 0.07);
}

.content-section h2,
.lesson-section h2,
.voice h2 {
  margin-bottom: 16px;
}

.content-section h3 {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(216, 228, 223, 0.95);
}

.lesson-section {
  padding: 30px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(71, 101, 94, 0.07);
}

.lesson-section .main-image {
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  border: 8px solid var(--surface);
  object-fit: cover;
  object-position: center;
}

.lesson-section .main-image + .price-grid,
.lesson-section .main-image + p {
  margin-top: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.price-grid > div {
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, var(--surface), var(--blush-soft));
  border: 1px solid rgba(216, 228, 223, 0.95);
  border-radius: 18px;
}

.price-grid h3 {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 12px;
  padding: 5px 12px;
  color: var(--coral-dark);
  background: rgba(255, 232, 230, 0.74);
  border-radius: 999px;
  font-size: 16px;
}

.price-grid ul {
  margin-bottom: 0;
}

.small-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(233, 248, 243, 0.74);
  border: 1px solid rgba(216, 228, 223, 0.9);
  border-radius: 16px;
}

.page-title + .main-image {
  aspect-ratio: 16 / 7;
  border: 10px solid var(--surface);
  object-fit: cover;
  object-position: center;
}

.plain-list {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
}

.plain-list li,
.price-grid li {
  padding-left: 2px;
}

.reserve-link {
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid rgba(216, 228, 223, 0.78);
  background: rgba(255, 255, 255, 0.58);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .lesson-preview,
  .profile-summary {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-card {
    order: initial;
  }

  .reason-grid,
  .voice-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .page,
  .page-narrow,
  .footer-inner {
    width: min(100% - 28px, 1040px);
  }

  .site-logo {
    width: 46px;
    height: 46px;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .nav-cta {
    padding: 8px 12px;
  }

  .page {
    padding-top: 38px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 25px;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button-primary,
  .button-secondary,
  .button-line {
    width: 100%;
  }

  .hero-card,
  .contact-panel,
  .cta-section,
  .lesson-section,
  .content-section,
  .mini-cta {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-card {
    padding: 0;
  }

  .teacher-photo {
    width: 86px;
    top: 16px;
    left: 16px;
  }

  .hero-note {
    margin: 14px;
  }

  .cta-section::after {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .page-title {
    margin-bottom: 28px;
  }

  .notes {
    padding: 18px 18px 18px 34px;
  }

  .mini-cta h2 {
    font-size: 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
