@charset "utf-8";

.customselect {
  overflow: hidden;
  margin: 2em auto;
  /* text-align: center; */
}
.customselect select {
  width: 100%;
  padding-right: 1em;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.customselect select::-ms-expand {
    display: none;
}
.customselect.sel01 {
  position: relative;
  border-radius: 2px;
  border: 2px solid #2670FF;
  border-radius: 50px;
  background: #ffffff;
  padding: 3px;
}
.customselect.sel01::before {
  position: absolute;
  top: 0.8em;
  right: 0.8em;
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #2670FF;
  pointer-events: none;
}
.customselect.sel01 select {
  padding: 8px 38px 8px 8px;
  color: black;
}

.customselect.sel02 {
  position: relative;
  border-radius: 2px;
  border: 2px solid #00b8c1;
  border-radius: 50px;
  background: #ffffff;
  padding: 3px;
}
.customselect.sel02::before {
  position: absolute;
  top: 0.8em;
  right: 0.8em;
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #00b8c1;
  pointer-events: none;
}

.customselect.sel02 select {
  padding: 8px 38px 8px 8px;
  color: black;
}

.customselect.sel03 {
  position: relative;
  border-radius: 0px;
  border: 0px;
  border-radius: 50px;
  background: #f0f0f0;
  padding: 3px;
}


.customselect_leaning select {
  -webkit-appearance: none;/* ベンダープレフィックス(Google Chrome、Safari用) */
  -moz-appearance: none; /* ベンダープレフィックス(Firefox用) */
  appearance: none; /* 標準のスタイルを無効にする */
}
::-ms-expand { /* select要素のデザインを無効にする（IE用） */
  display: none;
}

/* スイッチ */

.toggle_button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
}

.toggle_input {
  
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.toggle_label {
  width: 65px;
  height: 30px;
  background: white;
  border: 3px solid darkgrey;
  position: relative;
  display: inline-block;
  border-radius: 33px;
  transition: 0.4s;
  box-sizing: border-box;
}

.toggle_label span::before {
  content: "OFF";
  font-size: 1.3rem;
  padding: 0 0 0 26px;
  color: darkgrey;
  transition: 0.4s;
}

.toggle_label span::after {
  position: absolute;
  content: "";
  font-size: 1.3rem;
  color: darkgrey;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  left: 2px;
  top: 2px;
  z-index: 2;
  background: darkgrey;
  transition: 0.4s;
  font-weight: 550;
}

.toggle_input:checked + .toggle_label {
  border: 3px solid #4BD865;
}

.toggle_input:checked + .toggle_label span::before {
  content: "ON";
  font-size: 1.3rem;
  padding: 0 0 0 6px;
  color: #4BD865;
  transition: 0.4s;
  font-weight: 550;
}
.toggle_input:checked + .toggle_label span::after {
  content: "";
  left: 36px;
  background: #4BD865;
}

/* 非活性の時 */
.toggle_input_disable:checked + .toggle_label {
  border: 3px solid #CCCCCC;
}

.toggle_input_disable:checked + .toggle_label span::before {
  content: "ON";
  font-size: 1.3rem;
  padding: 0 0 0 6px;
  color: #CCCCCC;
  transition: 0.4s;
  font-weight: 550;
}
.toggle_input_disable:checked + .toggle_label span::after {
  content: "";
  left: 36px;
  background: #CCCCCC;
}

/* loading */
#overlay{
  position: fixed;
  display: none;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height:100%;
  text-align: center;
  vertical-align: middle;
  background: rgba(0,0,0,0.6);
}
.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
  100% { 
    transform: rotate(360deg);
  }
}
.is-hide{
  display:none;
}
