.h1 {
    position: relative;
    padding: .3em 0 .2em 1em;
    border-bottom: 3px solid #ff0404;
    color: #333333;
}

.h1::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #ff0404;
    content: '';
}

.h1::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #ff0404;
    content: '';
}

.selectbox-1 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox-1::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #464646;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-1 select {
    appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: none;
    border-bottom: 2px solid #ff0404;
    background-color: #fff;
    color: #262626;
    font-size: 1em;
    cursor: pointer;
}

.selectbox-1 select:focus {
    outline: none;
}

h2 {
	padding: 10px; /* 余白 */
	background-color: #fff; /* 背景色 */
	border-left: 2px dotted rgb(255, 0, 0); /* 左の切れ端 */
	border-right: 2px dotted rgb(255, 0, 0); /* 右の切れ端 */
	box-shadow: 0 0 5px rgb(255, 0, 0); /* 影 */
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin:0 auto;
    padding: .9em 2em;
    border: 1px solid #ff0404;
    border-radius: 25px;
    background-color: #fff;
    color: #ff0404;
    font-size: 1em;
}

.button:hover {
    animation: button 1s;
}

@keyframes button {
    0% {
        box-shadow: 0 0 0 0 rgb(255 4 4 / 50%);
    }
    100% {
        box-shadow: 0 0 0 1.2em rgb(0 0 0 / 0%);
    }
}

.button::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #ff0404;
    border-right: 2px solid #ff0404;
    content: '';
}

@keyframes selectbox-1 {
    0% {
        box-shadow: 0 0 0 0 rgb(255 4 4 / 50%);
    }
    100% {
        box-shadow: 0 0 0 1.2em rgb(0 0 0 / 0%);
    }
}
* {
    text-align: center;
    justify-content: center;
}


.xbutton a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    max-width: 250px;
    padding: 10px 25px;
    color: #333;
    font-family: "Noto Sans Japanese";
    text-decoration: none;
    color: #333;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    background: #eee;
    border-radius: 9999px;
    border-bottom: 2px solid #999;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
}
.xbutton a:hover {
    color: #fff;
    background: #999;
    border-bottom: 2px solid #fff;
    transform: translateY(3px);
}