* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: #17271f;
  background: #fff;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Pretendard, Arial, sans-serif;
  letter-spacing: -.035em;
  line-height: 1.65
}

a {
  color: inherit;
  text-underline-offset: 4px
}

button,
input,
select,
textarea {
  font: inherit
}

button,
a,
input,
select,
textarea {
  touch-action: manipulation
}

button {
  cursor: pointer
}

button:disabled {
  cursor: default;
  opacity: .58
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #c36426;
  outline-offset: 3px
}

[hidden] {
  display: none !important
}

.shell {
  width: min(1152px, calc(100% - 96px));
  margin: auto
}

.header {
  background: white;
  border-bottom: 1px solid #e4e9e5
}

.headbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.24;
  white-space: nowrap
}

.brand small,
.foot small {
  display: block;
  letter-spacing: .13em;
  font-size: 10px;
  color: #47695b;
  margin-top: 3px
}

.mark {
  width: 36px;
  height: 36px;
  background: #1c4839;
  border-radius: 8px;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  padding: 8px;
  transform: rotate(-2deg)
}

.mark i {
  height: 11px;
  width: 5px;
  background: #d8e7b0;
  border-radius: 2px 2px 0 0
}

.mark i:nth-child(2) {
  height: 16px
}

.mark i:nth-child(3) {
  height: 21px
}

.nav,
.head-actions,
.actions,
.examples {
  display: flex;
  align-items: center;
  gap: 12px
}

.nav {
  gap: 31px;
  margin-left: auto
}

.nav a,
.login {
  text-decoration: none;
  font-size: 15px;
  font-weight: 650
}

.nav a:hover,
.text-link:hover {
  text-decoration: underline
}

.login,
.secondary,
.action,
.pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border-radius: 6px;
  line-height: 1.5;
  text-decoration: none;
  font-weight: 650
}

.login,
.secondary,
.pager a {
  border: 1px solid #bdcdc2;
  background: #fff;
  color: #214f39
}

.action,
.searchbox button {
  background: #204e39;
  border: 1px solid #204e39;
  color: #fff
}

.action:hover,
.searchbox button:hover {
  background: #113b29
}

.secondary:hover,
.login:hover {
  background: #edf3ee
}

#nav-toggle {
  display: none
}

.hero {
  background: #f1f4ea;
  border-bottom: 1px solid #dfe5d9
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: 5%;
  padding-top: 44px;
  padding-bottom: 43px
}

.hero-copy {
  padding: 10px 0
}

.eyebrow {
  color: #456447;
  font-size: 14px;
  font-weight: 750;
  margin: 0 0 10px;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 9px
}

.small-line {
  width: 24px;
  height: 2px;
  background: #628254
}

.hero h1 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.09;
  letter-spacing: -.085em;
  margin: 14px 0 20px;
  font-weight: 800;
  color: #153a2c
}

.hero h1 span {
  color: #ce6b35
}

.hero-desc {
  color: #435848;
  font-size: clamp(16px, 1.55vw, 20px);
  margin: 0 0 22px
}

.hero-visual {
  position: relative;
  align-self: stretch;
  margin: 0;
  min-height: 326px;
  max-height: 436px
}

.hero-visual img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 45%;
  border-radius: 4px 58px 4px 4px
}

.photo-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 8px;
  background: #c66d3e
}

.searchbox {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #b4c3ad;
  background: white;
  border-radius: 7px;
  padding: 5px 5px 5px 16px;
  max-width: 475px
}

.searchbox input {
  width: 0;
  flex: 1;
  min-height: 41px;
  outline: none;
  border: 0;
  background: none;
  font-size: 16px;
  color: #1e3128
}

.searchbox button {
  border-radius: 4px;
  padding: 9px 21px;
  font-weight: 700
}

.magnify {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #587061;
  border-radius: 100%;
  position: relative
}

.magnify:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: #587061;
  transform: rotate(47deg);
  right: -5px;
  bottom: -2px
}

.suggest {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-top: 11px;
  color: #536552
}

.suggest span {
  font-weight: 700
}

.suggest a {
  text-decoration: none;
  border-bottom: 1px solid #bdcbb7
}

.phone-only {
  display: none
}

.quick {
  border-bottom: 1px solid #e2e8e0;
  background: #fff
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 18px
}

.quick-grid a {
  padding: 5px 16%;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #254d39;
  border-right: 1px solid #e0e7df
}

.quick-grid a:first-child {
  padding-left: 0
}

.quick-grid a:last-child {
  border: 0
}

.quick-grid strong,
.quick-grid small {
  display: block
}

.quick-grid small {
  font-size: 13px;
  color: #617066
}

.quick-icon {
  font: 24px Georgia, serif;
  width: 44px;
  height: 44px;
  background: #edf2e7;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #315b40
}

.featured {
  padding-block: 51px
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 19px
}

.section-head .eyebrow {
  margin: 0 0 4px
}

.section-head h2 {
  margin: 0
}

.text-link {
  font-size: 15px;
  font-weight: 650;
  color: #345743
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.course-card,
.panel {
  border: 1px solid #dce4dc;
  border-radius: 10px;
  background: #fff;
  padding: 23px
}

.course-card {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color .15s, transform .15s
}

.course-cover, .detail-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #edf2ed
}

.course-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px
}

.course-card:hover {
  transform: translateY(-2px);
  border-color: #8ca894
}

.cat {
  display: inline-block;
  align-self: flex-start;
  background: #edf2e9;
  color: #45603f;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700
}

.course-card h3 {
  margin: 13px 0 6px
}

.course-card p {
  color: #53635b;
  font-size: 15px;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.card-bottom {
  display: flex;
  gap: 7px;
  border-top: 1px solid #e9ede8;
  padding-top: 10px;
  margin-top: auto;
  color: #657268;
  font-size: 13px
}

.special {
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  background: #f2f4ed;
  border-radius: 9px;
  overflow: hidden
}

.special img {
  width: 100%;
  height: 100%;
  max-height: 305px;
  object-fit: cover
}

.special>div {
  padding: 34px
}

.special h2 {
  margin: 2px 0 9px
}

.special p {
  max-width: 420px
}

.footer {
  border-top: 1px solid #dfe7df;
  background: #f6f7f4
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 28px
}

.foot nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.foot nav a {
  font-size: 14px;
  color: #46594d
}

.inner {
  padding-block: 33px 60px;
  min-height: 65vh
}

.inner h1 {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.18;
  margin: 11px 0 16px;
  letter-spacing: -.065em
}

.lead {
  font-size: 18px;
  color: #50645a;
  max-width: 780px;
  margin: 0 0 23px
}

h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: -.06em;
  line-height: 1.3
}

h3 {
  line-height: 1.4;
  font-size: 20px
}

.crumb,
.source {
  font-size: 14px;
  color: #607066
}

.crumb a,
.source a,
.reply a {
  color: #345c46
}

.narrow {
  max-width: 800px
}

.filter,
.course-top {
  padding: 22px;
  background: #f1f5ee;
  border-radius: 9px;
  display: flex;
  gap: 15px;
  align-items: end;
  margin: 24px 0 28px
}

.filter label,
.stack label {
  display: grid;
  gap: 4px;
  font-weight: 650
}

.filter label:first-child {
  flex: 1
}

.filter label:nth-child(2) {
  min-width: 160px
}

.filter input,
.filter select,
.stack input,
.stack select,
.stack textarea {
  padding: 9px 12px;
  border: 1px solid #b4c2b6;
  border-radius: 5px;
  width: 100%;
  background: white;
  min-height: 45px;
  color: #24372b
}

.inner em {
  font-size: .73em;
  color: #65845d;
  font-style: normal
}

.actions,
.examples {
  flex-wrap: wrap
}

.course-top {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 50px);
  align-items: center
}

.detail-cover {
  border-radius: 6px
}

.course-top h1 {
  margin-top: 12px
}

.course-top .actions {
  margin-bottom: 0
}

.lessons,
.directory,
.faq {
  list-style: none;
  padding: 0;
  border-top: 1px solid #dce4dc
}

.lessons li,
.directory a,
.faq details {
  border-bottom: 1px solid #dce4dc;
  padding: 14px 8px
}

.lessons li,
.directory a {
  display: flex;
  align-items: center;
  gap: 15px
}

.lessons small,
.directory small {
  margin-left: auto;
  color: #586a5f;
  flex-shrink: 0
}

.lessons li>span {
  color: #60755f;
  flex-shrink: 0
}

.directory a {
  text-decoration: none
}

.directory a:hover,
.faq summary:hover {
  background: #f4f7f0
}

.faq summary {
  cursor: pointer;
  font-weight: 700
}

.faq details p {
  line-height: 1.8
}

.pager,
.stack {
  display: flex;
  gap: 12px
}

.pager {
  justify-content: center;
  align-items: center;
  margin-top: 24px
}

.stack {
  flex-direction: column;
  align-items: stretch
}

.stack .action,
.stack .secondary {
  align-self: flex-start
}

.panel {
  margin-block: 17px
}

.panel h3 {
  margin-block: 8px
}

.reply {
  padding-top: 15px;
  margin-top: 17px;
  border-top: 1px solid #dbe5dc
}

.reply h2 {
  font-size: 21px
}

.preserve,
.info-text p {
  white-space: pre-line
}

.sr-only,
.skip {
  position: absolute;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden
}

.skip:focus {
  position: fixed;
  clip-path: none;
  top: 6px;
  left: 6px;
  width: auto;
  height: auto;
  padding: 8px;
  background: #fff;
  z-index: 20
}

@media(max-width:850px) {
  .shell {
    width: calc(100% - 44px)
  }

  .headbar {
    gap: 16px
  }

  .nav {
    gap: 14px
  }

  .nav a,
  .login {
    font-size: 14px
  }

  .hero-grid {
    gap: 4%
  }

  .hero-visual {
    min-height: 298px
  }

  .quick-grid a {
    padding-inline: 12%
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .foot {
    align-items: start
  }
}

@media(max-width:650px) {
  .shell {
    width: calc(100% - 32px)
  }

  .headbar {
    min-height: 64px
  }

  .brand {
    font-size: 17px;
    gap: 8px
  }

  .mark {
    width: 32px;
    height: 32px;
    padding: 6px
  }

  .head-actions {
    gap: 8px
  }

  .login {
    padding: 6px 10px
  }

  #nav-toggle {
    display: inline-flex;
    border: 1px solid #becbbd;
    background: white;
    border-radius: 5px;
    padding: 5px 9px;
    font-size: 17px
  }

  .nav {
    display: none;
    position: absolute;
    z-index: 5;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d9e2d7;
    padding: 12px 20px;
    box-shadow: 0 9px 18px #19372218
  }

  .nav.open {
    display: grid
  }

  .nav a {
    padding: 8px
  }

  .hero-grid {
    padding-block: 23px 20px;
    grid-template-columns: 1fr;
    gap: 18px
  }

  .hero-copy {
    padding: 0
  }

  .hero h1 {
    font-size: 48px;
    margin: 9px 0 12px
  }

  .hero-desc {
    margin-bottom: 14px
  }

  .hero-visual {
    height: 167px;
    min-height: 0
  }

  .hero-visual img {
    border-top-right-radius: 32px;
    object-position: 50% 43%
  }

  .quick-grid {
    padding-block: 10px
  }

  .quick-grid a,
  .quick-grid a:first-child {
    display: grid;
    gap: 5px;
    padding: 4px;
    text-align: center;
    justify-items: center
  }

  .quick-icon {
    width: 31px;
    height: 31px;
    border-radius: 8px;
    font-size: 19px
  }

  .quick-grid strong {
    font-size: 14px
  }

  .quick-grid small {
    font-size: 11px
  }

  .featured {
    padding-block: 32px
  }

  .course-grid {
    grid-template-columns: 1fr
  }

  .featured .course-card:last-child {
    grid-column: auto
  }

  .course-card-body,
  .panel {
    padding: 18px
  }

  .featured .eyebrow {
    font-size: 12px
  }

  .section-head .text-link {
    font-size: 13px
  }

  .special {
    display: flex;
    flex-direction: column;
    margin-bottom: 34px
  }

  .special img {
    height: 145px
  }

  .special>div {
    padding: 21px
  }

  .foot {
    flex-direction: column;
    gap: 12px
  }

  .foot nav {
    gap: 8px 13px
  }

  .inner {
    padding-block: 23px 40px
  }

  .filter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px
  }

  .course-top {
    display: block;
    padding: 16px
  }

  .course-top .detail-cover {
    margin-bottom: 18px
  }

  .course-top .actions {
    flex-direction: row
  }

  .course-top .lead {
    margin-bottom: 9px
  }

  .directory a {
    gap: 8px
  }

  .directory small {
    display: none
  }

  .lessons li {
    gap: 9px
  }

  .lessons strong,
  .directory strong {
    min-width: 0;
    word-break: keep-all
  }

  .inner h1 {
    overflow-wrap: anywhere
  }

  .lead {
    font-size: 16px
  }

  .head-actions .login {
    white-space: nowrap
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important
  }
}
