:where([class^="ri-"])::before {
  content: "\f3c2";
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

.hero-background {
  width: 100%;
  height: 100%;
  background-image: url("../img/header.jpg");
  background-position: center right;
  background-size: cover;
}

.table-scroll::-webkit-scrollbar {
  height: 8px;
}

.table-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 8px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 8px;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
}

.custom-checkbox {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
}

.custom-checkbox::after {
  position: absolute;
  top: 2px;
  left: 6px;
  display: none;
  width: 5px;
  height: 10px;
  content: "";
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #4f46e5;
  border-color: #4f46e5;
}

input[type="checkbox"]:checked + .custom-checkbox::after {
  display: block;
}

.custom-radio {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  cursor: pointer;
}

.custom-radio::after {
  position: absolute;
  top: 4px;
  left: 4px;
  display: none;
  width: 8px;
  height: 8px;
  content: "";
  background: white;
  border-radius: 50%;
}

input[type="radio"]:checked + .custom-radio {
  background-color: #4f46e5;
  border-color: #4f46e5;
}

input[type="radio"]:checked + .custom-radio::after {
  display: block;
}

.custom-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.custom-switch input {
  width: 0;
  height: 0;
  opacity: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background-color: #e5e7eb;
  border-radius: 24px;
  transition: 0.4s;
}

.switch-slider::before {
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  content: "";
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .switch-slider {
  background-color: #4f46e5;
}

input:checked + .switch-slider::before {
  transform: translateX(20px);
}

.custom-range {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 5px;
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: #4f46e5;
  border-radius: 50%;
}

.custom-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  cursor: pointer;
  background: #4f46e5;
  border: none;
  border-radius: 50%;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.open {
  max-height: 500px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}
