@charset "UTF-8";
@import url("./font/font.css");
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --color-primary: #0471e9;
}
html {
  font-size: 16px;
  line-height: 24px;
  font-family: "Pretendard", sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
body {
  display: block;
  position: relative;
  word-break: keep-all;
  padding-top: 0px !important;
  top: 0px !important;
}
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
img {
  max-width: 100%;
  max-height: 100%;
}
input,
button,
select,
textarea {
  border: none;
  outline: none;
  background-color: transparent;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
}
form,
label {
  display: block;
  width: 100%;
}
/* 헤더: 위에는 앱 공통 배너만 고정하고, 헤더는 본문과 함께 스크롤된다 */
.header {
  /* 폰트 한번더 첨부하기 */
  width: 100%;
  z-index: 999;
  height: 60px;
  background-color: #fff;
  position: relative;
  box-shadow: 0 0 5px #00000033;
}
.header-wrap {
  width: 100%;
  height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.header-wrap.type1 > h1 {
  font-family: Paperlogy;
  font-weight: 700;
  font-size: 23px;
  line-height: 28px;
  letter-spacing: -2%;
  text-align: center;
}
.header-wrap.type2 {
  height: 60px;
}
.header-wrap.type2 > .header-link {
  display: flex;
  align-items: center;
  height: 100%;
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -1%;
  text-align: center;
}
.header-back {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
}
.header-back > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.header-back > a > img {
  width: 100%;
  height: 100%;
}
.mt20 {
  margin-top: 20px !important;
}
.mt0 {
  margin-top: 0 !important;
}
.mb20 {
  margin-bottom: 20px !important;
}
.mb0 {
  margin-bottom: 0 !important;
}
/* main */
.main {
  padding-bottom: 20px;
}
/* 상세 페이지: 화면 아래 고정된 이전·다음 버튼(높이 75)에 본문 끝이 가리지 않게 75 + 여백 20
   (앱 공통 하단바 높이 76 은 하단바가 body 아래 여백으로 따로 확보) */
.main:has(.detail-footer) {
  padding-bottom: 95px;
}
.main-bg {
  background: linear-gradient(180deg, #e4ecff 0%, #ffffff 100%);
}
