* {
  box-sizing: border-box;
}

html {
  font-size: 10px;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-size: 1.6rem;
  height: 100vh;
  display: flex;
  justify-content: center;
  background-color: #fafafa;
}

.common-wrap {
  position: relative;
  max-width: 450px;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  box-shadow: 0 -2px 15px 0 rgba(0, 0, 0, 0.1);
  overflow-y: scroll;
  /* firefox scroll width */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.common-wrap::-webkit-scrollbar {
  width: 4px;
}

.common-wrap::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.common-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.section {
  padding: 5px 15px;
}

p {
  line-height: 1.45 !important;
}

a {
  outline: none;
}
a:focus-visible {
  border: 2px solid var(--point-color) !important;
}

button {
  margin: 0;
  padding: 0;
  background-color: unset;
  border: unset;
  outline: none;
  cursor: pointer;
}
button:focus-visible {
  border: 2px solid var(--point-color) !important;
}

input:focus + label {
  opacity: 1;
  border: 2px solid var(--sub_color);
}

select {
  color: #424242;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url(../assets/img/arrow-down.svg);
  background-size: 18px;
  background-position: 98% 9px;
  background-repeat: no-repeat;
}

input, select {
  background-color: #fff !important;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  height: 37px;
  line-height: 35px !important;
  padding: 0 9px;
  font-size: 1.6rem;
  outline: none;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
}
input::-moz-placeholder, select::-moz-placeholder {
  font-size: 1.6rem;
  color: #bdbdbd;
}
input::placeholder, select::placeholder {
  font-size: 1.6rem;
  color: #bdbdbd;
}
input:focus, input:focus-visible, select:focus, select:focus-visible {
  border: 2px solid var(--point-color);
}

textarea {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 10px 9px;
  font-size: 1.6rem;
  outline: none;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
}
textarea::-moz-placeholder {
  font-size: 1.6rem;
  color: #bdbdbd;
}
textarea::placeholder {
  font-size: 1.6rem;
  color: #bdbdbd;
}
textarea:focus, textarea:focus-visible {
  border: 2px solid var(--point-color);
}

.dark-style-btn {
  border: 1px solid var(--sub_color);
  background-color: var(--sub_color);
  color: #fff;
  transition: all 0.2s;
  outline: none;
}
.dark-style-btn:hover {
  border-color: var(--point-color);
  background-color: var(--point-color);
}
.dark-style-btn:focus-visible {
  border: 2px solid var(--point-color) !important;
}

.gray-style-btn {
  border: 1px solid #e0e0e0;
  background-color: #e0e0e0;
  color: #424242;
  transition: all 0.2s;
  outline: none;
}
.gray-style-btn:hover {
  background-color: #424242;
  color: #e0e0e0;
}
.gray-style-btn:focus-visible {
  border: 2px solid #424242;
}

.sr-only {
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}
