/* 폰트 최적화: font-display: swap 적용 */
@font-face {
  font-family: 'pretendard';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/woff2/PretendardVariable.woff2')
    format('woff2-variations');
}

* {
  margin: 0;
  padding: 0;
  font-family:
    'pretendard',
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
}

body {
  font-family:
    'pretendard',
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
a {
  text-decoration: none;
}
a:link {
  color: inherit;
  font-family: 'pretendard', sans-serif;
  text-decoration: none;
}
a:visited {
  color: inherit;
  font-family: 'pretendard', sans-serif;
  text-decoration: none;
}
a:hover {
  color: #ff4e00;
  font-family: 'pretendard', sans-serif;
  text-decoration: none;
}
a:active {
  color: inherit;
  font-family: 'pretendard', sans-serif;
  text-decoration: none;
}
li {
  list-style: none;
}
img {
  border: none;
}
.nomargin {
  margin: 0 !important;
}
.noborder {
  border: none !important;
}
.clearfix {
  *zoom: 1;
}
.clearfix:after {
  clear: both;
  display: block;
  content: '';
}

select {
  padding: 4px;
  color: #555;
  border: 1px solid #d2d2d2;
}

/* sub */
.subwrap {
  width: 1200px;
  margin: 0px auto;
  padding: 50px 0;
}
.subtitle {
  width: 1200px;
  border-bottom: 1px solid #ccc;
  height: 50px;
  margin-bottom: 30px;
}
.subleft {
  width: 50%;
  float: left;
  line-height: 50px;
  font-size: 20px;
  font-weight: bold;
  color: #212121;
}
.subright {
  width: 50%;
  float: right;
  line-height: 50px;
  text-align: right;
  font-size: 12px;
  font-family: 'Gulim';
}

.subleft2 {
  width: 60%;
  float: left;
  line-height: 50px;
  text-align: right;
  font-size: 30px;
  font-weight: bold;
  color: #212121;
}
.subright2 {
  width: 40%;
  float: right;
  line-height: 50px;
  text-align: right;
  font-size: 12px;
  font-family: 'Gulim';
}

.write {
  background: fff;
  border: 1px solid #ddd;
  color: #333;
}

/*************************** 일반 & 고급모드 토글버튼 ******************************/
.switch {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 80px;
  height: 30px;
  padding: 3px;
  background-color: white;
  border-radius: 18px;
  cursor: pointer;
  /*
	box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
	background-image: -webkit-linear-gradient(top, #eeeeee, white 25px);
	background-image: -moz-linear-gradient(top, #eeeeee, white 25px);
	background-image: -o-linear-gradient(top, #eeeeee, white 25px);
	background-image: linear-gradient(to bottom, #eeeeee, white 25px);
*/
}

.switch-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.switch-label {
  position: relative;
  display: block;
  height: inherit;
  font-size: 12px;
  text-transform: uppercase;
  background: #47a8d8;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.12),
    inset 0 0 2px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.15s ease-out;
  -moz-transition: 0.15s ease-out;
  -o-transition: 0.15s ease-out;
  transition: 0.15s ease-out;
  -webkit-transition-property: opacity background;
  -moz-transition-property: opacity background;
  -o-transition-property: opacity background;
  transition-property: opacity background;
}

.switch-label:before,
.switch-label:after {
  position: absolute;
  top: 50%;
  margin-top: -0.6em;
  line-height: 1;
  -webkit-transition: inherit;
  -moz-transition: inherit;
  -o-transition: inherit;
  transition: inherit;
  font-family: 'NanumGothic';
}

.switch-label:before {
  content: attr(data-off);
  right: 11px;
  color: #fff;
}

.switch-label:after {
  content: attr(data-on);
  left: 11px;
  color: white;
  text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  opacity: 0;
}

.switch-input:checked ~ .switch-label {
  background: #4fb845;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.15),
    inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.switch-input:checked ~ .switch-label:before {
  opacity: 0;
}

.switch-input:checked ~ .switch-label:after {
  opacity: 1;
}

.switch-handle {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  background-image: -webkit-linear-gradient(top, white 40%, #f0f0f0);
  background-image: -moz-linear-gradient(top, white 40%, #f0f0f0);
  background-image: -o-linear-gradient(top, white 40%, #f0f0f0);
  background-image: linear-gradient(to bottom, white 40%, #f0f0f0);
  -webkit-transition: left 0.15s ease-out;
  -moz-transition: left 0.15s ease-out;
  -o-transition: left 0.15s ease-out;
  transition: left 0.15s ease-out;
}

.switch-handle:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -6px;
  width: 12px;
  height: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
  background-image: -webkit-linear-gradient(top, #eeeeee, white);
  background-image: -moz-linear-gradient(top, #eeeeee, white);
  background-image: -o-linear-gradient(top, #eeeeee, white);
  background-image: linear-gradient(to bottom, #eeeeee, white);
}

.switch-input:checked ~ .switch-handle {
  left: 65px;
  box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

.switch-gray > .switch-label {
  background: #eceeef;
}

.switch-gray > .switch-label:before {
  color: #666 !important;
}

.switch-gray > .switch-input:checked ~ .switch-label {
  background: #47a8d8;
}
/*************************** /일반 & 고급모드 토글버튼 ******************************/
.subtitle {
  width: auto;
  border-bottom: 0;
  height: auto;
  margin-bottom: 0;
}

.card-title,
.card-title2 {
  white-space: normal;
}
