input,select,textarea,button{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="radio"]{
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}


.absolute-center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.must-icon{
    position: relative;
}
.must-icon::before {
	content: "必須";
    display: inline-block;
	color: #fff;
    background-color: #fc9903;
	padding: 0.1rem 0.8rem;
    margin-right: 0.4rem;
	font-size: 0.7rem;
    border-radius: 50px;
    vertical-align: text-top;
}

.btn-active{
    box-shadow: 3px 3px 3px rgb(0 0 0 / 20%);
}

.btn-active::before{
    display: block;
    position: absolute;
    z-index: 2;
    left: -30%;
    top: -50%;
    content: "";
    width: 50px;
    height: 200px;
    transform: rotate(30deg);
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, white 50%, rgba(255, 255, 255, 0) 100%);
    -webkit-animation: activeButton 3s infinite linear;
    animation: activeButton 3s infinite linear;
}

.slide-next::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 11px;
    transform: translateY(-50%);
    display: block;
    background-image: url(../assets/images/arrow-white.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 12px;
    height: 9px;
}

@keyframes activeButton {
    0% {
        left: -30%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

#navigator img{
    animation: character 2.5s linear 0s infinite;
}

@keyframes character {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


/*=====================
    medical
=====================*/


.form__header-p-wrapper {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid white;
}
.form__header-p-wrapper > p {
    margin-right: 5px;
    font-size: 14px;
    color: white;
    font-weight: 700;
}
.form__header-p-wrapper > p:nth-of-type(1) {
    font-size: 14px;
}
.form__header-p-wrapper > p:nth-of-type(2) {
    margin-left: 5px;
    font-size: 16px;
}

.form__header-circle-wrapper {
    display: flex;
}


.form__header-circle-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 1px;
    background-color: #45adae;
    z-index: 0;
    display: block;
}

.form__header-circle {
    background-color: white;
    border: 1px solid #45adae;
    width: 23px;
    height: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    color: #45adae;
    font-size: 13px;
    margin: 0 6px;
}

.active-step {
    background-color: #45adae;
    color: white;
}

/* フォーム */
.form-step {
    padding: 15px 20px 40px;
    border-bottom: 1px solid white;
}

    .form-step .grid-cols-2 {
        margin-bottom: 30px;
    }

.question-title {
    text-align: left;
    font-size: 16px;
}
.must::before {
    content: "必須";
    background-color: #E19D44;
    color: white;
    border-radius: 5px;
    margin-right: 10px;
    padding: 3px 5px;
    font-size: 13px;
}
.not-must::before {
    background-color: #B6B6B6;
}

.radio-form {
    padding: 0 !important;
    box-shadow: unset !important;
    border: 1px solid #DCDCDC;
    border-radius: unset !important;
    height: 46px;
    font-size: 16px !important;
    color: #4A4A4A !important;
    background-color: white !important;
}

.peer:checked ~ .peer-checked\:bg-secondary {
    color: white !important;
    background-color: #45adae !important;
}

.slide-next {
    width: 300px;
    height: 60px;
    box-shadow: unset !important;
    margin: 0 auto;
    margin-bottom: 30px;
    border-radius: 5px;
}

.btn-actives {
    background-color: #00A695 !important;
}

.slide-prev {
    margin-left: 20px;
}

.step-txt {
    font-size: 12px;
    margin-bottom: 20px;
    padding: 0 20px;
    text-align: center;
}
.step-txt > a {
    color: #45adae;
    text-decoration: underline;
}

.rgs .slick-slider .slick-next, .rgs .slick-slider .slick-prev {
    display: none !important;
}

.sp {
    display: none !important;
}
@media (max-width: 768px) {
    .sp {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .pc {
        display: none;
    }
}

@media (max-width: 768px) {

    .main__inner {
        margin: 0 auto;
        flex-direction: column-reverse;
    }

    .main-left {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
        margin-top: 50px;
        margin-bottom: 100px;
    }

    .main-right {
        margin-bottom: 0;
        width: 100%;
    }

    /* フォーム */
    .form-step .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin-bottom: 20px;
    }

.step-txt {
    text-align: left;
}


.header {
    height: 50px;
}

.header__inner > a {
    width: 100px;
}
}