.hk-wrap {
    max-width: 46.4rem;
    background-color: #fff;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.3);
    @media screen and (max-width: 480px) {
        box-shadow: none;
        margin-bottom: 5.5rem;
    }

    hgroup {
        p {
            background-color: #f02424;
            font-size: 2.2rem;
            color: #fff;
            width: 30.8rem;
            text-align: center;
            letter-spacing: 0.1em;
            padding: 0.6em 0 0.8em 0.1em;
            position: relative;
            margin-bottom: 2rem;
            @media screen and (max-width: 480px) {
                font-size: 2rem;
                width: 26.7rem;
            }
            &::after {
                content: "";
                display: block;
                width: 2rem;
                height: 1.2rem;
                clip-path: polygon(0 0, 100% 0, 50% 100%);
                background-color: #f02424;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translate(-50%, 98%);
            }
        }
        h2 {
            font-size: 4rem;
            font-style: italic;
            padding-left: 4.2rem;
            margin-bottom: 1rem;
            font-weight: 900;
            @media screen and (max-width: 480px) {
                font-size: 3.5rem;
                padding-left: 4rem;
            }
            span {
                display: inline-block;
                position: relative;
                &::after {
                    content: "";
                    display: block;
                    position: absolute;
                    top: 0;
                    right: 0;
                    transform: translate(100%, -55%);
                    width: 4.8rem;
                    aspect-ratio: 4/4.5;
                    background-image: url(../img/title-ten.svg);
                    background-repeat: no-repeat;
                    background-size: contain;
                }
                @media screen and (max-width: 480px) {
                    &::after {
                        width: 4rem;
                    }
                }
                strong {
                    color: #f02424;
                }
            }
        }
    }

    #hk-form {
        padding: 0 3rem 5rem;
        position: relative;
        z-index: 30;
        @media screen and (max-width: 480px) {
            padding: 0 1rem 5rem;
        }
        .hk-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            padding: 0.6rem 1.6rem;
            box-sizing: border-box;

            label {
                font-size: 2rem;
                font-weight: 500;
                width: 37%;
                flex-shrink: 0;
                @media screen and (max-width: 480px) {
                    font-size: 1.8rem;
                }
                span {
                    font-size: 1.4rem;
                    color: #fff;
                    background-color: #b5b5b6;
                    display: inline-block;
                    padding: 0.2rem 0.5em 0.4rem;
                    margin-right: 0.3em;
                    vertical-align: middle;
                    @media screen and (max-width: 480px) {
                        font-size: 1.2rem;
                    }
                    &.hissu {
                        background-color: #f02424;
                    }
                }
            }
            select,
            input,
            option {
                width: 63%;
                box-sizing: border-box;
                flex-shrink: 0;
                font-size: 1.6rem;
                padding: 0.5em;
                border-radius: 0.4rem;
                appearance: none;
                border: 1px solid #b5b5b6;
                @media screen and (max-width: 480px) {
                    font-size: 1.4rem;
                }
            }
            select,
            option {
                background-image: url(../img/icon-sankaku-shita.svg);
                background-size: 1.72rem 0.86rem;
                background-repeat: no-repeat;
                background-position: center right 1rem;
                @media screen and (max-width: 480px) {
                    background-size: 1.48rem 0.74rem;
                }
            }
            &#hk-year-row {
                background-color: #fffbc7;
                padding: 1.6rem;
                margin: 1rem 0;
                .hk-note {
                    width: 100%;
                    font-size: 1.6rem;
                    font-weight: 500;
                    margin-bottom: 1.2rem;
                }
            }
        }
        .privacy {
            font-size: 1.4rem;
            letter-spacing: 0.02em;
            padding-left: 0.02em;
            text-align: center;
            margin: 1em 0 0;
            a {
                text-decoration: underline;
                color: #000;
            }
        }
        .hk-actions {
            position: absolute;
            bottom: 0;
            width: 37.4rem;
            background-color: #fff;
            border-radius: 9999px;
            left: 50%;
            transform: translate(-50%, 45%);
            text-align: center;
            box-shadow: 0.6rem 0.6rem 0.4rem rgba(0, 0, 0, 0.3);
            border: 2px solid #fff;
            overflow: hidden;
            @media screen and (max-width: 480px) {
                width: 32.4rem;
            }
            #hk-submit {
                outline: none;
                -webkit-appearance: none;
                -moz-appearance: none;
                appearance: none;
                border: none;
                background-color: #f02424;
                font-size: 3rem;
                font-weight: 900;
                color: #fff;
                letter-spacing: 0.11em;
                padding: 0.2em 0 0.2em 0.11em;
                width: 100%;
                cursor: pointer;
                @media screen and (max-width: 480px) {
                    font-size: 2.6rem;
                }
                span {
                    color: #ffff00;
                }
            }
            #hk-submit[disabled] {
                opacity: 0.5;
                cursor: not-allowed;
            }
        }
    }
}
