@charset "UTF-8";
body:has(.c-formmodal.is-show) {
    overflow: hidden;
}
.c-formmodal {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: block;
    padding-top: 60px;
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    transition: opacity 0s linear 0.3s;
}
.c-formmodal.is-show {
    visibility: visible;
    opacity: 1;
}

.c-formmodal__dialog {
    width: 95%;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 0 0;
    border: 0;
    background-color: transparent;
    /* border-radius: 8px; */
    transition: opacity 0s ease-out 0.3s;
    opacity: 0;
}
.c-formmodal__dialog.is-show {
    opacity: 1;
}


.c-formmodal__content {
    position: relative;
}
.c-formmodal__content__header .tabHeader__inner {
    background-color: #dcdcdc;
}
.c-formmodal__content__header .corner::after {
    background: radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0) 2.196193265vw, #dcdcdc 0);
}

.c-formmodal__content__body {
    height: auto;
    padding: 40px 20px;
    background-color: #dcdcdc;
    border: 1px solid #000;
    color: #3e3a39;
}

.c-formmodal__heading {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}
.c-formmodal__caution {
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
}
.c-formmodal__content__btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.c-formmodal__content__btns .btn {
    margin-top: 0;
}

.p-modal__choice {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-block: 40px;
}

.p-modal__choice input[type="checkbox"] {
    display: none;
}
.p-modal__choice__circle.--blue {
    --choice-bg-color: #0069b6;
}
.p-modal__choice__circle.--orange {
    --choice-bg-color: #e94609;
}
.p-modal__choice__circle.--green {
    --choice-bg-color: #009844;
}
.p-modal__choice__circle {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 138px;
    height: 138px;
    border: 1px solid #3e3a39;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    color: #3e3a39;
    background-color: #fff;
    transition: background-color 0.3s ease;
}
.p-modal__choice__circle.--smallfont {
    font-size: 25px;
    line-height: 1.32;
}
.p-modal__choice__circle::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    content: "";
    width: 30px;
    height: 30px;
    border: 1px solid #3e3a39;
    border-radius: 50%;
    padding: 4px;
    background: no-repeat center 60% url('../images/mypage/icon-check-white.svg') var(--choice-bg-color);
    background-size: 60%;
    opacity: 0;
    transform: scale(0);
    transition: opacity,transform 0.3s ease;
}


.p-modal__choice input[type="checkbox"]:checked + .p-modal__choice__circle {
    background-color: var(--choice-bg-color);
    color: #fff;
}
.p-modal__choice input[type="checkbox"]:checked + .p-modal__choice__circle::after {
    opacity: 1;
    transform: scale(1);
}
.p-modal__directconfirm {
    text-align: center;
    margin-top: 40px;
}
.p-modal__directconfirm button {
    width: auto;
    background-color: transparent;
    overflow: hidden;
}
.p-modal__directconfirm button::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 4px;
    background-color: #3e3a39;
    transition: transform 0.3s ease;
}

.p-modal__favoritetypes {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-block: 40px;
}
.p-modal__favoritetypes::after {
    content: "";
    flex: 1;
    order: 1;
}

.p-modal__favoritetype {
    position: relative;
    flex: 0 1 calc((100% - 60px) / 4 );
    box-sizing: border-box;
    /* aspect-ratio: 1 / 1; */
    padding: 5px;
    border: 1px solid #3e3a39;
    border-radius: 5px;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.p-modal__favoritetype::after {
    content: "";
    position: absolute;
    top: -15px;
    right: -15px;
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 4px;
    background: no-repeat center 60% url('../images/mypage/icon-check-white.svg') #e50012;
    background-size: 60%;
    opacity: 0;
    transform: scale(0);
    transition: opacity,transform 0.3s ease;
}

.p-modal__favoritetype:hover {
    border-color: #e50012;
}
.p-modal__favoritetype:has(.checkbox:checked) {
    border-color: #e50012;
    border-width: 2px;
}
.p-modal__favoritetype:has(.checkbox:checked)::after {
    opacity: 1;
    transform: scale(1);
}
.p-modal__favoritetype .checkbox {
    display: none;
}
.p-modal__favoritetype__fig {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    /* height: calc(100% - 2em); */
}

.p-modal__favoritetype__text {
    font-size: 16px;
    font-weight: 700;
}



@media (hover: hover) {
    .p-modal__choice__circle:hover {
        cursor: pointer;
        background-color: var(--choice-bg-color);
        color: #fff;
    }
    .p-modal__directconfirm button:hover::after {
        transform: translateX(110%);
    }

}

@media screen and (max-width: 767px) {
}
