/* font */
.font-brand-300 {
  font-family: var(--brand-font-family);
  font-weight: 300;
}

.font-brand-500 {
  font-family: var(--brand-font-family);
  font-weight: 500;
}

.font-brand-700 {
  font-family: var(--brand-font-family);
  font-weight: 700;
}


/* calculator background */
.scale::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 15px;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(to bottom,
      transparent 0px,
      transparent 7px,
      #e5e7eb 7px,
      #e5e7eb 8px);
  background-size: 7px 100%;
  background-repeat: no-repeat;
  background-position: left top;
}

.line-bold {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.line-bold::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  width: 26px;
  background-color: var(--color-gray-700);
  left: -32px;
}

/* bread crumb */
.bread-crumb li+li::before {
  content: "/";
  margin: 0 6px;
  /* 좌우 간격 조절 */
  color: var(--color-gray-300);
  font-size: 0.875rem;
  /* text-sm 정도 */
}

/* input */
label {
  cursor: pointer;
}

[type="checkbox"] {
  padding: 0.25em;
  width: 1em;
  height: 1em;
  accent-color: var(--color-point-500);
}

[type="radio"] {
  appearance: none;
  border-radius: 50%;
  box-sizing: border-box;
  width: 1em;
  height: 1em;
  border: 1px solid var(--color-gray-300);
  background-color: var(--color-white);
}

[type="radio"]:checked {
  border: 5px solid var(--color-point-500);
}

/* prevent blue autofill/focus background */
#calculator input:focus,
#calculator select:focus,
#calculator textarea:focus {
  background-color: var(--color-white);
}

#calculator input:-webkit-autofill,
#calculator select:-webkit-autofill,
#calculator textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--color-white) inset;
  box-shadow: 0 0 0 1000px var(--color-white) inset;
  -webkit-text-fill-color: var(--color-gray-800);
}

/*  */
.bullet::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #6b7280;
}


/* 공통 아이콘 스타일 */
.menu-icon-line-h,
.menu-icon-line-v {
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

/* 가로선은 항상 표시 */
.menu-icon-line-h {
  display: block;
}

/* 기본: 세로선도 표시( + ) */
.menu-icon-line-v {
  display: block;
}

/* 열렸을 때(-): 세로선만 숨김 */
.menu-item-active .menu-icon-line-v {
  display: none;
}


/* spinner */
.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}


@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.font-serif {
  font-family: var(--serif-font-family);
  font-style: italic;
}

.font-brand {
  font-family: var(--brand-font-family) !important;
}

.bg-visual {
  background-image: url("/assets/images/bg-tile.jpg");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}