@charset "utf-8";

/* 폰트 관련 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

@font-face {
  font-family: "IBM-R";
  /* font-family: 'IBMPlexSansKR-Regular'; */
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-07@1.0/IBMPlexSansKR-Regular.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "IBM-M";
  /* font-family: 'IBMPlexSansKR-Medium'; */
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-07@1.0/IBMPlexSansKR-Medium.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  /* font-family: 'IBMPlexSansKR-SemiBold'; */
  font-family: "IBM-B";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-07@1.0/IBMPlexSansKR-SemiBold.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}

/* reset */
html,
body {
  -webkit-text-size-adjust: none; /* 크롬, 사파리, 오페라 신버전 */
  -ms-text-size-adjust: none; /* IE */
  -moz-text-size-adjust: none; /* 파이어폭스 */
  -o-text-size-adjust: none; /* 오페라 구버전 */
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
*::before,
*::after {
  box-sizing: border-box;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
textarea,
p,
blockquote,
th,
td,
input,
select,
textarea,
button {
  margin: 0;
  padding: 0;
}
body {
  overflow: visible;
  top: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height: 1.4;
  width: auto;
  height: auto;
  transform-origin: left top; /* 왼쪽 상단을 기준으로 확대 */
}
fieldset,
img {
  border: 0 none;
  vertical-align: middle;
}
img {
  max-width: 100%;
}
svg {
  overflow: visible;
}
dl,
ul,
ol,
li {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}
input,
select,
textarea,
button {
  font-size: inherit;
  font-family: inherit;
  vertical-align: middle;
}
input {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  outline: none;
  border: none;
}
input[type="text"]::placeholder {
  color: inherit;
}
/* input[type="checkbox"],
input[type="radio"] {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
} */
input[type="checkbox"]{
  width: calc(1.5rem + 9px);
  height: calc(1.5rem + 9px);
  border: 1px solid #bcbfc7;
  background-color: #fff;
  border-radius: 4px;
  transition: background-color 0.2s ease-in-out;
}
input[type="checkbox"]:checked {
  background-image: url(../img/common/icon_checkBox.svg);
  background-color: var(--primary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: calc(1rem + 6px);
  border-color: var(--primary);
}
input[type="radio"],
input[type="radio"] + label,
input[type="checkbox"],
input[type="checkbox"] + label{
  cursor: pointer;
}
input[type="radio"] {
  width: calc(1.5rem + 9px);
  height: calc(1.5rem + 9px);
  appearance: none;
  border: 1px solid #bcbfc7;
  border-radius: 50%;
  transition: border 0.2s ease-in-out;
}
input[type="radio"]:checked {
  border: 0.4em solid  var(--primary);
}
input[type="radio"]:disabled,
input[type="checkbox"]:disabled{
  background-color: var(--borderBox_top_bg);
  cursor: default;
}
input[type="checkbox"]:checked:disabled{
  background-color: var(--primary);
}
input[type="checkbox"]:disabled + label,
input[type="radio"]:disabled + label{
  color : var(--text-gray-500);
  cursor: default;
}
input[type="checkbox"]:checked:disabled + label,
input[type="radio"]:checked:disabled + label{
  color :var(--text-gray-900)
}
input[type=file]{
  font-size: clamp(14px, 1.5vw, 1.6rem);
}
input[type=file]::file-selector-button {
  width: 14rem;
  height: 40px;
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: .5rem;
  cursor: pointer;
  transition: 0.2s all ease-in;
  margin-right: 16px;
}
/* input */
textarea,
input[type="text"],
input[type="email"],
input[type="tel"] ,
input[type="number"]{
  padding: calc(.2rem + 8px) 1rem;
  font-size: 16px;
  width: 100%;
  border: 1px solid #bcbfc7;
  border-radius: 4px;
}

input:focus:not(input[type=file]),
textarea:focus {
  outline: none;
  border-color: var(--blue) !important;
  box-shadow: 0 0 5px var(--blue);
}

/* select 기본 스타일 */
select {
  width: 100%;
  padding: 0 10px;
  font-size: 16px;
  border: 1px solid #bbb;
  border-radius: 5px;
  background-color: white;
  /* line-height: 4.6rem; */
  color: #333;
  appearance: none; /* 브라우저 기본 스타일 제거 */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6' fill='none'%3E%3Cpath d='M7.3335 -8.15392e-05L4.00016 5.33325L0.66683 -8.2122e-05L7.3335 -8.15392e-05Z' fill='black'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

select:focus{
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 5px var(--blue);
}

/* hover 스타일 */
@media screen and (min-width: 1240px) {
  [type="radio"]:not(:disabled):focus-visible,
  [type="checkbox"]:not(:disabled):focus-visible {
    outline-offset: max(2px, 0.1em);
    outline: max(2px, 0.1em) dotted var(--primary);
  }
  [type="checkbox"]:not(:disabled):hover, 
  [type="radio"]:not(:disabled):hover {
    box-shadow: 0 0 0 max(4px, 0.2em) lightgray;
    cursor: pointer;
  }
  input[type=file]::file-selector-button:hover {
    background: var(--primary);
    color: #fff;
  }
}

textarea {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  resize: vertical;
  width: 100%;
  outline: none;
  font-family: inherit;
}
button {
  background: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  border: 0 none;
  cursor: pointer;
  color: #000;
  text-transform: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a:active,
a:hover {
  text-decoration: none;
}
address,
caption,
cite,
code,
dfn,
em,
var {
  font-style: normal;
  font-weight: normal;
}
caption {
  overflow: hidden;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}
legend {
  overflow: hidden;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}
strong,
b {
  font-weight: bold;
}
pre {
  font-family: inherit;
}
