.three_d_modal_flex01{
    width: calc(100% - 58.52%);
    position: relative;
}
.three_d_modal_flex02{
    width: 58.52%;
}
.modal_slider-container {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    background: #fff;
    display: flex;
    flex-direction: column;
    max-width: 330px;
}
.modal_flex_contnet{
    display: flex;
    gap:60px;
}
.modal_slider_main {
    display: flex;
    transition: transform 0.5s ease-in-out;
    flex: 1;
}
.slide {
    box-sizing: border-box;
    border: 1px solid #707070;
    border-radius: 5px;
    max-height: 100%;
    min-width:330px;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide img {
    height:auto;
    border-radius: 5px;
}
.thumb.active {
    opacity: 1;
    border-color: #000;
}
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
}
.modal_slider-main {
    display: flex;
    transition: transform 0.5s ease-in-out;
    flex: 1;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
    min-width: 100%;
    box-sizing: border-box;
    max-width: 330px;
    height: 100%;
    max-height: 330px;
    min-height: 330px;
}
.slide img {
    width: 90%;
    height: auto;
    object-fit: cover;
    display: flex;
    align-items: center;
    border-radius: 10px 10px 0 0;
}
.slider-thumbs-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider-thumbs {
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin-top: 20px;
    gap:20px;
    background-color:#ffffff;
    justify-content: space-around;
    display: flex;
}
.modal_content_area{
    max-width: calc(1109px - 180px);
    min-width:calc(1109px - 180px);
    max-height: calc(587px - 140px);
    min-height: calc(587px - 140px);;
    margin: 0 auto;
    border: 1px solid #707070;
    border-radius: 5px;
    background: #ffffff;
    /*ズレる場合は別途調整*/
    /*
    padding-top: 70px;
    padding-bottom: 70px;
    padding-left: 90px;
    padding-right: 90px;
    */
    /*
    aspect-ratio: 16/9;
    */
}
.main-swiper.swiper-container {
    width: 100%;
    height: 330px;
    overflow: hidden;
    border: 1px solid #DFDFDF;
    border-radius: 10px;
}
.swiper-slide img {
    width: 300px;
    height: auto;
    border-radius: 5px;
}
.thumbs-container {
    margin-top: 20px;
    overflow: hidden;
}
.thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    border: 1px solid #E1E4E7;
}
.main-swiper.swiper-backface-hidden{
    width:332px !important;
}
.main-swiper.swiper-slide-active{
    width: 332px !important;
    max-width: 330px !important;
    min-width: 330px !important;
    border-radius: 5px;
}
.main-swiper.swiper-slide-prev{
    width: 330px !important;
}
.swiper-wrapper .swiper-slide{
    box-sizing: border-box;
    border: 1px solid #E1E4E7;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumbs-swiper .swiper-slide {
    width:calc(100% / 3);
    height: auto;
    box-sizing: border-box;
    border: 1px solid #E1E4E7;
}
.thumbs-swiper .swiper-slide img {
    width: 100%;
    height: auto;
}
.thumbs-swiper .swiper-slide {
    width:calc(100% / 3);
    box-sizing: border-box;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 95px;
}
.thumbs-swiper .swiper-slide img {
    width: 90%;
    height: auto;
    border-radius: 5px;
    max-height: 90%;
    object-fit: contain;
}
.thumbs-swiper .swiper-wrapper {
    display: flex;
    padding: 0;
    margin: 0;
}
.swiper-container {
    position: relative;
    width: 100%;
}
.swiper-button-next,
.swiper-button-prev {
    width: 11.53px !important;
    height: 44px;
    color: #1d1d1d !important;
    z-index: 10;
}
.swiper-button-next {
    right: 15px;
}
.swiper-button-prev {
    left: 15px;
}
.modal_flex_contnet {
    display: flex;
    align-items: flex-start;
    position: relative;
}
.three_d_modal_flex01 {
    flex: 1;
    margin-right: 20px;
}
.thumbs-container {
    flex: 0 0 auto;
}
.swiper-button-next,
.swiper-button-prev {
    width: 5px !important;
    height: 5px;
    color: #1D1D1D !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: absolute;
    transition: color 0.3s;
    top: 67% !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    border-width: 3px; /* 太さ調整 */
}
@media(max-width:768px){
    .swiper-button-next,
    .swiper-button-prev {
        top: 60% !important;
    }
}
@media(max-width:520px){
    *.swiper-button-next,
    *.swiper-button-prev {
        top: 63% !important;
    }
}
.swiper-button-prev{
    left: -12px !important;
}
.swiper-button-next{
    right: -12px !important;
}
.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    color: #E1E4E7 !important;
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 12px !important;
    font-weight: 900;
}
.swiper-button-next:not(.swiper-button-disabled) {
    color: #1D1D1D !important;
}
.swiper-button-prev:not(.swiper-button-disabled) {
    color:#E1E4E7 !important;
}
/*=========================*/
/*=====FLEX 右=====*/
/*=========================*/
.three_d_modal_flex02_in_flex_headingtext{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.three_d_modal_flex02_in_flex_headingtext_favorite{
    width: 32px;
    height: 32px;
    margin: 0 0 0 auto;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #ffffff;
    cursor: pointer;
    /*微調整*/
    text-align: end;
    border: 1px solid #C6C6C6;
    right: 5px;
    position: relative;
}
.three_d_modal_flex02_in_flex_headingtext_favorite.clicked {
    border-color: #FF7600;
}
.three_d_modal_flex02_in_flex_headingtext_favorite.clicked i {
    color: #FF7600;
}
.three_d_modal_flex02_in_flex_headingtext_favorite i {
    color: #C6C6C6;
    width: 16.87px;
    vertical-align: middle;
}
.three_d_modal_flex02_border{
    height: 1px;
    background-color: #E1E4E7;
    margin-top: 5px;
    margin-bottom: 5px;
}
.three_d_modal_flex02_text01{
    text-align: right;
    width: 280px;
    margin:0 0 0 auto;
}
.three_d_modal_flex02_text02{
    text-align: right;
    width: 280px;
    margin:0 0 0 auto;
    padding-top: 15px;
    display: contents;
}
.three_d_modal_flex02_text03{
    text-align: right;
    width: 280px;
    margin:0 0 0 auto;
    padding-top: 5px;
}
span.three_d_modal_flex02_text01_span01{
    padding-left: 40px;
}
span.three_d_modal_flex02_text02_span01{
    padding-left: 20px;
}
.three_d_modal_flex02_file_area_heading{
    margin-top: 10px;
}
.three_d_modal_flex02_file_area_flex_content{
    padding-top: 15px;
    padding-bottom: 15px;
}
.modal_size_add{
    padding-bottom: 20px;
}
.modal_size_add p{
    font-weight: 400;
}
.three_d_modal_flex2_file_area_flex_in_flex_content{
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    gap: 20px;
}
.three_d_modal_flex2_file_area_flex_in_flex_content01{
    border-left: 1px solid #E1E4E7;
    padding-left: 25px;
}
.three_d_modal_flex2_file_area_flex_in_flex_content02{
    border-left: 1px solid #E1E4E7;
    padding-left: 25px;
}
.three_d_modal_flex2_file_area_flex_in_flex_content03{
    border-left: 1px solid #E1E4E7;
    border-right: 1px solid #E1E4E7;
    padding-left: 25px;
    padding-right: 25px;
}
.three_d_modal_flex02_file_area_flex{
    display: flex;
    align-items: center;
    gap:25px;
}
.three_d_modal_flex02_file_area_flex label{
    display: flex;
    align-items: center;
}
.three_d_modal_flex2_file_area_flex_in_flex_content{
    display: flex;
    align-items: center;
    gap:30px;
}
.three_d_modal_flex2_file_area_flex_in_flex_content label{
    display: flex;
    gap:10px;
    padding-right: 10px;
}
.modal_copyright_policy{
    display: flex;
    align-items: center;
    gap:10px;
    padding-bottom: 10px;
}
.modal_btn_content02{
    padding-top: 10px;
}

.modal_flex_contnet{
    align-items: center;
    margin: 0 auto;
}
/*-----ボタン設置後GAEにて別途調整-----*/
/*
.modal_content_area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    box-sizing: border-box;
}
*/
.mypage_modal_user_container{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.mypage_modal_user_wrapper{
    background-color: #ffffff;
    max-width: 555px;
    min-width: 555px;
    min-height: 450px;
    max-height: 450px;
    margin: 0 auto;
    box-sizing: border-box;
    border: 1px solid #9A9A9A;
    border-radius: 5px;
}
.mypage_modal_user_img{
    text-align: center;
}
.mypage_modal_user_choose_area{
    text-align: center;
    min-width: 505px;
    max-width: 505px;
    margin: 0 auto;
    border: 1px solid #9A9A9A;
    background-color: #ffffff;
    border-radius: 5px;
    padding-top: 35px;
    padding-bottom: 35px;
}
.mypage_modal_user_button{
    text-align: center;
}
.mypage_modal_user_img img{
    width: 120px;
}
/*---------*/
/*---------*/
/*---------*/

/*---------*/
/*---追記---*/
/*---------*/
.main-swiper.swiper-backface-hidden {
    width:100% !important;
}
.modal_content_area{
    max-width:1186px !important;
    min-width:1186px !important;
    box-sizing:border-box;
    max-height: 618px !important;
    min-height: 618px !important;
}
.modal_flex_contnet {
    gap:45px !important;
    padding:65px !important;
    justify-content:center;
}
.three_d_modal_flex01{
    width:562px !important;
    box-sizing:border-box;
}
.three_d_modal_flex02{
    width:472px !important;
}
.main-swiper.swiper-backface-hidden{
    max-width:100% !important;
    min-width:100% !important;
    box-sizing:border-box;
}
.close-btn {
    top: 20px;
    /*
    right: 20px;
    */
}
button.close-btn{
    border:none;
}
.modal_flex_contnet {
    /*
    align-items: flex-start;
    */
    align-items: center;
}
.three_d_modal_flex02_in_flex_headingtext{
    border-bottom:1px solid #E1E4E7;
}
.modal_add_dw_text p{
    font-size: 14px;
}
.modal_btn_wrapper button{
    width:100%;
    background-color:#717171;
    color:#ffffff;
    padding-top:16px;
    padding-bottom:16px;
    height:51px;
    box-sizing:border-box;
    border:none;
    border-radius:3px;
}
/*---------*/
/*---------*/
/*---------*/
.modal_content_area {
    max-width: auto !important;
    min-width: auto !important;
    max-height: 900px !important;
    margin: 0 auto;
    border: 1px solid #707070;
    border-radius: 5px;
    background: #ffffff;
    /*
    padding:0 !important;
    */
    box-sizing:border-box;
}
.payment_setting_container{
    height: 100%;
}
.payment_modal_container{
    border: none;
}
@media(max-width:768px){
    .modal_content_area {
        max-width: 92vw !important;
        min-width: 92vw !important;
        max-height:70vh !important;
        min-height:70vh !important;
        padding-top: 70px;
        padding-bottom: 70px;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing:border-box;
    }
    .payment_modal_container {
        max-width: 100% !important;
        min-width:100% !important;
        width: 100%;
        padding-left:20px;
        padding-right: 20px;
    }
    .payment_select_flex_content{
        gap:10px !important;
    }
    .payment_form_group05 select {
        min-width: 120px !important;
        max-width: 120px !important;
    }
    .payment_form_group04 select{
        min-width: 120px !important;
        max-width: 120px !important;
    }
}
@media(max-width:330px){
    .payment_form_group05 select {
        min-width: 100px !important;
        max-width: 100px !important;
    }
    .payment_form_group04 select{
        min-width: 100px !important;
        max-width: 100px !important;
    }
}
.feescontent1_flex_cotent {
    min-height: 368px;
    max-height: 368px;
    box-sizing:border-box;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 276px;
    max-width: 276px;
}
p.feescontent1_flex_cotent_p02 {
    font-size:35px;
}
.feescontent1_flex_cotent span.font_size_15{
    font-size:14px;
    color:#FF7600;
}
.fees_content1_link_wrapper {
    padding-top:0;
}
.fees_content1_list_wrapper{
    padding-bottom:0;
}
ul.feescontent1_flex_cotent_list_ul{
    font-size:14px;
}
p.feescontent1_list_under_text_p{
    font-size:14px;
    margin-top:-5px;
}
.feescontent1_flex_cotent_p02{
    margin-top:-20px
}
.fees_content1_name_h3_flex img{
    width:20px;
}
p.feescontent1_flex_cotent_border {
    transform: scale(1.09);
}
.fees_top_tb {
    min-width: 844px !important;
    max-width: 844px !important;
    margin: 0 auto !important;
}
.fees_service_text_wrapper {
    min-width: 1166px !important;
    max-width: 1166px !important;
}
.fees_service_text_01 p{
    font-size:25px;
    font-weight:700;
}
.fees_top_tb__th {
    min-width: 163px;
    box-sizing: border-box;
}
.fees_top_tb__th_left{
    min-width:200px;
    width: 100%;
    max-width: 200px !important;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
}
.contact_btn_link a {
    font-weight: 700;
}
.feescontent1_flex_content_top01_inc .feescontent1_flex_cotent {
    min-height: 358px;
    max-height: 358px;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 350px;
    max-width: 350px;
}
.feescontent1_flex_cotent_p02{
    font-size:30px !important;
}
.feescontent1_flex_content_top01_inc .fees_content1_period_wrapper{
    min-height:0;
}
.feescontent1_flex_content_top01_inc .feescontent1_flex_cotent_in_forbtn {
    align-items: flex-start;
    height:85%;
}
.feescontent1_flex_content_top01_inc .fees_content1_name_wrapper {
    padding-bottom: 10px;
}
.feescontent1_flex_content_top01_inc .feescontent1_flex_cotent_border{
    transform: scale(1.07);
}
.table_fees_top_tb_wrapper_inc .fees_top_tb__th{
    width:330px !important;
    max-width:50% !important;
    min-width:50% !important;
}
.table_fees_top_tb_wrapper_inc .fees_top_tb__th_left{
    width:330px;
}
.fees_top_tb__th{
    border:1px solid #ffffff;
    border-bottom:0;
    border-top:0;
}
.fees_top_tb__td{
    border:1px solid #FF7600;
    box-sizing:border-box;
}
.fees_top_tb__th_left{
    border-left:2px solid #FF7600;
}
.fees_top_tb__th_left_FCE3CD{
    background-color:#FCE3CD;
}
.fees_top_tb__th_right{
    border-right:2px solid #FF7600;
}
.fees_top_tb__th_left_FFFAF5{
    background-color:#FFFAF5;
}
.fees_top_tb__td_in{
    background-color:#FFFFFF;
}
.fees_top_tb {
    border-collapse: separate;
    border-spacing: 0; 
}
.fees_top_tb__thead .fees_top_tb__th:first-child {
    border-top-left-radius: 10px;
}
.fees_top_tb__thead .fees_top_tb__th:last-child {
    border-top-right-radius: 10px;
}
.fees_top_tb__tbody .fees_top_tb__tr:last-child .fees_top_tb__td:first-child {
    border-bottom-left-radius: 10px;
}
.fees_top_tb__tbody .fees_top_tb__tr:last-child .fees_top_tb__td:last-child {
    border-bottom-right-radius: 10px;
}

@media (max-width: 768px) {
    .fees_top_wrapper {
        width: 95vw;
        margin: 0 auto;
    }
    .table_fees_top_tb_wrapper_scroll {
        max-width: 100% !important;
        overflow-x: auto !important;
    }
    .fees_top_tb {
        width: 100% !important;
    }
    .fees_under_table_heading_text {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto;
        margin-bottom: -20px;
        text-align: center;
    }
    .fees_under_table_content {
        background-color: #f4f4f4;
        max-width: 100%;
        width: 100% !important;
        margin: 0 auto;
        border-radius: 5px;
        padding: 35px 25px 15px;
        box-sizing: border-box;
    }
    .fees_top_tb {
        min-width: 100px !important;
        max-width: 100px !important;
        margin: 0 auto !important;
    }
    .fees_under_table_asterisk_text {
        max-width: 100%;
        width: 100% !important;
    }
    .feescontent {
        padding: 0;
    }
    .fees_service_text_wrapper {
        min-width: 100% !important;
        max-width: 100% !important;
    }
    .feescontent1_flex_cotent {
        min-height: 350px;
        max-height: 350px;
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
        min-width: 350px;
        max-width: 350px;
    }
    .fees_top_heading_text h2,
    .table_fees_top_tb_heading p{
        font-size:25px;
    }
    .feescontent1_flex_content_top{
        flex-wrap:wrap;
    }
    .table_fees_top_tb_wrapper_inc .fees_top_tb__th {
        width: 330px !important;
        max-width: none !important;
        min-width: none !important;
    }
}
.modal_content_area{
    width:1010px;
    box-sizing:border-box;
    height:566px;
    min-height:566px !important;
    max-height:566px !important;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
}
.modal_bold_text,
.modal_btn_area_wrapper{
    width:100%;
}
.modal-overlay-close .modal_content_area {
    width: 1186px;
    box-sizing: border-box;
    height: 566px;
    min-height: 620px !important;
    max-height: 620px !important;
}
@media(min-width:769px){
    .modal-overlay-close .modal_content_area_template{
        min-height: auto !important;
        max-height: none !important;
    }
    .modal-overlay-close .modal_content_area_template{
        height: auto;
    }
}
.modal-overlay-close .modal_flex_contnet{
    padding-top:35px !important;
    padding-bottom:35px !important;
}
.modal-overlay-close .three_d_modal_flex01 {
    width: 512px !important;
    box-sizing: border-box;
}
.modal-overlay-close .thumbs-container .thumbs-swiper{
    width: 100%;
    max-width: auto !important;
    min-width: auto !important;
}
.close-btn {
    font-size: 18px !important;
    font-weight:700;
}
/*------------------------*/
/*------------------------*/
/*------------------------*/
@media(max-width:768px){
    .modal-overlay-close .thumbs-container .thumbs-swiper{
        width: 100%;
        max-width: auto !important;
        min-width: auto !important;
    }
    .modal_flex_contnet{
        flex-wrap:wrap;
        padding:0 !important;
        gap:10px !important;
    }
    .modal-overlay-close .modal_content_area {
        width: 1186px !important;
        max-width:98vw !important;
        min-width:98vw !important;
        box-sizing: border-box;
        height: 566px;
        min-height:80% !important;
        max-height: 80% !important;
        /*
        overflow:hidden;
        */

    }
    .three_d_modal_flex01{
        width:100% !important;
        width: 118px !important;
        box-sizing: border-box;
        height: auto;
        min-height: 100% !important;
        max-height: 100% !important;
        margin-right: 0px;
    }
    .three_d_modal_flex02 {
        width: 100% !important;
    }
    .modal_flex_contnet form{
        width:100% !important;
            margin-top:20px
    }
    .modal-overlay-close .modal_flex_contnet {
        padding-top: 5px !important;
        max-width: 100%;
    }
    .modal-overlay-close .three_d_modal_flex01 {
        width: 280px !important;
        box-sizing: border-box;
    }
    .three_d_modal_flex02_in_flex_headingtext_heading p{
        font-size:20px;
    }
    .three_d_modal_flex02_text02 p{
        font-size:16px;
    }
    .three_d_modal_flex02_text02 {
        width: 280px;
        text-align: right;
        padding-top: 15px;
    }
    .modal_add_dw_text{
        margin-top:15px;
    }
    .three_d_modal_flex02_in_flex_headingtext{
        padding-bottom:15px
    }
    .modal_flex_contnet{
        display:flex;
        align-items:center;
        margin:0 auto;
    }
    .modal-overlay-close .modal_content_area_add_mo {
        overflow: auto;
    }
    .modal_content_area {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .three_d_modal_flex02_file_area_flex {
        gap: 0px;
    }
}
/*スマホでテスト*/

/*------------------------*/
/*------------------------*/
/*------------------------*/
/*---
モーダル1枚表示用CSS

.thumbs-container,
.swiper-button-next,
.swiper-button-prev{
    display:none !important;
}
.modal-overlay-close .modal_content_area {
    height: auto !important;
    min-height: auto !important;
    max-height: auto !important;
}

*/
.mypage_modal_user_img img{
    object-fit:cover
}
.close_button_add_contnent{
    text-align:right;
}
.close_button_add_contnent .close-btn {
    background-color: black;
    border-radius: 9999px;
    color: white;
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-left: auto;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom:15px;
}
/*
#iconFileInput {
    display: none;
}
*/
.custom-file-label {
    padding-top:2.5px;
    padding-bottom:2.5px;
    display: inline-block;
    box-sizing:border-box;
    border:1px solid #1D1D1D;
    color:#1d1d1d;
    font-weight:700;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    max-height:31px;
    min-width:176px;
    font-size: 14px;
}
.mypage_modal_user_wrapper{
    display:grid;
}
.modal{
    z-index: 10000000;
}
.modal-overlay-close .modal_content_area_mydata_width_ch {
    width: 745px;
    box-sizing: border-box;
    height: 451px;
    min-height: 451px !important;
    max-height: 451px !important;
}
.modal-overlay-close .modal_content_area_mydata_width_ch{
    min-height: 533px !important;
    max-height: 533px !important;
}
.modal_content_area_mydata_width_ch .modal_natural_text{
    text-align: center;
    width: 100%;
}
.modal_content_area_mydata_width_ch{
    align-items: flex-start;
}
/*---Swiperはナビゲーション必須---*/
.swiper-button-next:after,
.swiper-button-prev:after{
    font-size: 20px !important;
}
@media(max-width:768px){
    .swiper-button-next:after{
        margin-right:20px
    }
    .swiper-button-prev:after{
        margin-left:20px;
    }
}
.three_d_modal_flex02_file_area_flex label{
    font-weight:bold;
}
.download_goods,
.download_template{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px
}
.download_goods img,
.download_template img{
    width:20px !important;
    height:auto;
}
.swiper-button-prev:not(.swiper-button-disabled) {
    color: #1D1D1D !important;
}
.modal_content_area{
    align-items:flex-start !important;
}
.modal_width_add_ch .modal_bold_text p{
    font-size:20px;
}
.modal_width_add_ch .modal_natural_text{
    text-align:center;
}
.modal_width_add_ch .modal_natural_text{
    margin:0 auto;
}
.modal_width_add_ch .modal_natural_text p{
    font-size:16px;
}
.modal_width_add_ch .modal_content_area{
    align-items:center !important;
    justify-content: center;
}
.modal_width_add_ch .modal_content_area {
    width: 1010px;
    box-sizing: border-box;
    height: auto;
    min-height: 451px !important;
    max-height: 451px !important;
}
.modal_width_add_ch .modal-overlay-close .modal_content_area {
    width: 1186px;
    box-sizing: border-box;
    height: 566px;
    min-height: 451px !important;
    max-height: 451px !important;
    max-width: 751px !important;
    min-width: 751px !important;
}
@media(max-width:768px){
    .modal_width_add_ch .modal-overlay-close .modal_content_area {
        max-width: 95vw !important;
        min-width: 95vw !important;
        margin: auto !important;
    }
    .modal_btn_width a {
        font-size: 16px;
        width: auto;
        display: block;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .modal_btn_white a{
        color:#1d1d1d !important;
    }
}
.modal_width_add_ch .modal-overlay-close .modal_content_area {
    width: 745px;
}
@media(max-width:768px){
    .modal_width_add_ch .modal-overlay-close .modal_content_area {
        width: 95vw;
    }
}
.modal_content_area_payment{
    min-height: auto;
}
.modal_content_area_payment{
    min-height: auto;
}
body .modal_width_add_ch_vertical .modal-overlay-close .modal_content_area{
    min-height:877px !important;
    max-height:877px !important;
}
.payment_modal_container{
    max-width:100%;
    min-width:100%;
}
.payment_modal_container{
    padding-left:0;
    padding-right:0;
    max-width:100%;
    min-width:100%;
    display:flex;
    justify-content: center;
}
.payment_modal_wrapper{
    width:100%;
    max-width:531px;
    min-width:531px;
    margin:0 auto;
}
/*
button.close-btn{
    margin:0 auto;
}
*/
.payment_modal_wrapper{
    padding-top:20px
}
.payment_setting_button{
    text-align:end;
    margin-top:15px;
}
.payment_btn{
    margin-bottom:75px;
}
.payment_form_group04 label{
    width:100%;
}
.payment_form_group04 select{
    width:94px;
}
.payment_form_group05 select{
    width:150px;
}
.payment_form_group04{
    width:145px;
}
.payment_select_flex_content{
    gap:0;
}
.payment_form_group04 select{
    width:120px;
}
.payment_form_group04_select select{
    -webkit-appearance: none;
}
.payment_form_group04_select:after{
    content: '▼';
    pointer-events: none;
    color: #1d1d1d;
    z-index: 999;
    position: relative;
    left: -30px;
}
.payment_form_group05 select{
    width:120px;
}
.payment_form_group05_select select{
    -webkit-appearance: none;
}
.payment_form_group05_select:after{
    content: '▼';
    pointer-events: none;
    color: #1d1d1d;
    z-index: 999;
    position: relative;
    left: -30px;
}
.modal_explanation {
    background-color: #ebebeb;
    padding: 15px;
    border-radius: 5px;
    max-height: 100px;
    min-height: 100px;
    overflow: overlay;
}
@media(max-width:768px){
    .modal_explanation {
        max-height: 80px;
        min-height: 80px;
    }
}
@media(max-width:768px){
    .payment_modal_wrapper{
        max-width: 100%;
        min-width: 100%;
    }
}
@media(max-width:768px){
    .payment_setting_container_add .payment_modal_container{
        padding-left:10px;
        padding-right:10px;
    }
}
@media (min-width: 769px) and (max-width: 1080px){
    .swiper-button-next,
    .swiper-button-prev {
        top: 56% !important;
    }
}
@media (min-width: 769px) and (max-width: 1100px) {
    /*モーダル調整*/
    .close-btn{
        margin-left:auto;
    }
    .modal_content_area{
        align-items: center !important;
        display: table;
    }
    .modal-overlay-close {
        height: 100%;
    }
    .modal-overlay-close .modal_flex_contnet{
        vertical-align: middle;
    }
    .modal-overlay-close .three_d_modal_flex01 {
        width: 320px !important;
    }
    button.close-btn {
        border: none;
        margin-left: auto;
        justify-content: center;
        display: flex;
        align-items: center;
    }
    .modal_flex_contnet form{
        width: 58.52% !important;
    }
    .three_d_modal_flex02 {
        width: 100% !important;
    }
    .modal-overlay-close .modal_content_area {
        width: 95vw;
        height: auto;
        min-height: 560px !important;
        max-height: 580px !important;
    }
    .modal-overlay-close .modal_flex_contnet {
        padding-top: 0 !important;
        align-items: center;
        gap: 10px !important;
        max-height: 560px;
        max-height: 500px;
    }
    body .modal_size_add {
        margin-bottom: 10px;
    }
}