/*
 * SafePark reset / base
 * Pretendard는 common/reset_head.php에서 한 번만 로드한다.
 */

:root {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  cursor: default;
  overflow-wrap: break-word;
  tab-size: 4;
}

html {
  min-width: 32rem;
  font-family: var(--font-sans, "Pretendard", sans-serif);
  font-size: 10px;
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: inherit;
  font-size: var(--fz-17, 1.7rem);
  color: var(--text, #191f28);
  background: var(--bg, #f2f4f6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  line-height: var(--line-height-base, 1.4);
}

* {
  min-width: 0;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dd,
blockquote,
figure,
fieldset {
  margin: 0;
  border: 0;
  font-weight: inherit;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  margin: 0;
  border: 0;
  border-radius: 0;
  font: inherit;
  color: inherit;
  background: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

input,
textarea,
select {
  width: 100%;
  outline: 0;
  appearance: none;
  -webkit-user-select: text;
  user-select: text;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-placeholder, #d7d7d7);
  opacity: 1;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input::-ms-clear {
  display: none;
}

input[type="date"] {
  background: var(--surface, #fff);
}

select::-ms-expand {
  display: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

em,
i,
address {
  font-style: normal;
}

strong,
b {
  font-weight: inherit;
}

pre {
  white-space: pre-line;
}

[hidden] {
  display: none !important;
}

/* Adsense */
.ads_wrap {
  display: flex;
  justify-content: center;
}

.ads_main_sm .adsbygoogle {
  display: inline-block;
  width: 100% !important;
  height: 9.8rem !important;
  margin: 1.5rem;
}

.ads_sub_sm .adsbygoogle {
  display: inline-block;
  width: 30rem !important;
  height: 5rem !important;
  margin: 1.5rem;
}

.ads_main_big .adsbygoogle {
  display: inline-block;
  width: 100% !important;
  height: 25rem !important;
  margin: 1.5rem;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}
