html,body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    scroll-behavior: smooth;
    /* font-family: "游明朝", YuMincho, "ヒラギノ明朝 Pr6 W6", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif; */
}

body{
    max-width: 750px;
    margin: 0 auto !important;
    color: var(--color-text);
}

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,.optional{
    position: relative;
}
.must-icon::before {
	content: "必須";
    display: inline-block;
	color: #fff;
    background: #ed7650;
	padding: 0.1rem 0.8rem;
    margin-right: 0.4rem;
	font-size: 0.7rem;
    border-radius: 50px;
    vertical-align: text-top;
}
.optional::before{
    content: "任意";
    display: inline-block;
	color: #000;
    background: #ebebeb;
	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;
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1px solid;
    border-right: 1px solid;
    border-color: #fff;
    transform: translateY(-50%) rotate(45deg);
}

@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);
    }
}