:root {
  --red: #c9252d;
  --brown: #5b3522;
  --dark: #1d1714;
  --cream: #fbf4e9;
  --paper: #fffaf2;
  --line: #eadfce;
  --muted: #746a62;
  --white: #fff;
  --max: 1440px;
  --header: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--dark);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  background: var(--white);
  word-break: keep-all;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

ul,
ol,
p,
h1,
h2,
h3,
figure,
address {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

.wrap {
  width: 100%;
  overflow: hidden;
}

.section-space {
  padding: 110px 44px;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 40px;
}

.section-head.side {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-head.compact {
  margin-bottom: 24px;
}

.section-head span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.section-head h2 {
  color: var(--brown);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: 0;
}

.section-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 1439px) {
  :root {
    --header: 84px;
  }

  .section-space {
    padding: 96px 32px;
  }
}

@media (max-width: 767px) {
  :root {
    --header: 68px;
  }

  .section-space {
    padding: 70px 20px;
  }

  .section-head.side {
    display: block;
  }

  .section-head > a {
    margin-top: 22px;
  }

  .section-head h2 {
    font-size: 2rem;
    line-height: 1.25;
  }
}

@media (max-width: 320px) {
  .section-space {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-head h2 {
    font-size: 1.78rem;
  }
}
