/* custom-button-styles.css */
.popup-intro__box {
    /* font-family: 'Noto Sans CJK JP', sans-serif; */
    box-sizing: border-box;
    position: fixed;
    right: 20px;
    top: 50vh;
    transform: translateY(-50%);
    background-color: #FFD23E;
    border: 3px solid #111;
    border-radius: 10px;
    padding: 25px 20px;
    width: 340px;
    height: 340px;
    color: #111111;
    text-align: center;
    box-shadow: 3px 3px 0px 0px #111;
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease;
    z-index: 201;
}
.popup-intro__box.active {
    opacity: 1;
    visibility: visible;
}
.popup-intro__box * {
    box-sizing: border-box;
}
.popup-intro__close {
    position: absolute;
    right: -10px;
    top: -10px;
    line-height: 0;
    cursor: pointer;
}
.popup-intro__box .tag__group {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}
.popup-intro__box .tag__group span {
    display: inline-block;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 2px 15px;
    min-width: 120px;
    background-color: #DB3168;
    border-radius: 14px;
}
.popup-intro__box .tag__group span:first-child {
    margin-right: 5px;
}
.popup-intro__head {
    font-size: 24px;
    line-height: 1.1;
    font-weight: bold;
    margin-bottom: 5px;
}
.popup-intro__sub {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 15px;
    line-height: 1.1;
}
.popup-intro__bnr {
    line-height: 0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}
.popup-intro__btn {
    display: inline-block;
    width: 100%;
    padding: 10px 45px 10px 15px;
    border-radius: 25px;
    text-align: center;
    color: #111;
    font-size: 15px;
    line-height: 1.4;
    background: url(/common/images/ic_arrow_right_circle.svg) no-repeat right 10px top 50%;
    background-color: #F7F0DE;
    transition: opacity .3s ease;
    font-weight: bold;
    border: 2px solid #111;
    box-shadow: 0px 4px 0px 0px #111;
}
.popup-intro__btn:hover {
    opacity: 0.6;
    text-decoration: none;
}
.popup-intro__side {
    position: fixed;
    right: -3px;
    top: 50%;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 15px;
    font-weight: bold;
    color: #111;
    line-height: 1.4;
    border: 3px solid #111;
    border-right: 0;
    box-shadow: -3px 3px 0px 0px #111;
    border-radius: 10px 0px 0px 10px;
    padding: 60px 15px 50px;
    background: url(/common/images/ic_location.svg) no-repeat right 50% top 15px, url(/common/images/ic_arrow_circle.svg) no-repeat right 50% bottom 15px;
    background-color: #F6BF2D;
    cursor: pointer;
    transition: all .3s ease;
    transform: translateX(100%) translateY(-50%);
    z-index: 99;
}
.popup-intro__side.active {
    transform: translateX(0) translateY(-50%);
}
.popup-intro__side .popup-intro__text {
    display: inline-block;
}
.popup-intro__side:hover {
    opacity: 0.8;
}
@media screen and (max-width: 1024px) {
    .popup-intro__box {
        right: 10px;
    }
}
/* Modal styles */
.overlay {
    left: 0;
    top: 0;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}
.advertising__modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
}
.advertising__modal * {
    box-sizing: border-box;
}
.advertising__modal .modal__wrap {
    border: 6px solid #ED7F00;
    border-radius: 10px;
    overflow: auto;
    max-width: 780px;
    width: 780px;
    height: 85vh;
}
.advertising__modal .modal-content {
    background-color: #FFF4D6;
    padding: 60px 50px 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'YuGothic', sans-serif;
    box-sizing: border-box;
}

.advertising__modal .modal-content .title {
    font-size: 29px;
    line-height: 1.5;
    color: #ED6D00;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.advertising__modal .modal-content .content {
    color: #111111;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}

.advertising__modal .modal-content .content--med {
    color: #000;
    margin-bottom: 40px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.66;
    text-align: center;
}

.advertising__modal .modal-content .close {
   position: absolute;
   width: 60px;
   height: 60px;
   text-align: center;
   background-color: #fff;
   box-shadow: 2px 2px 0px 0px #ED7F00;
   border: 4px solid #ED7F00;
   border-radius: 5px;
   right: -26px;
   top: -26px;
   padding-top: 17px;
}

.advertising__modal .modal-content .close:hover,
.advertising__modal .modal-content .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.advertising__modal .modal-content .image-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    line-height: 0;
    padding-top: 20px;
    margin-bottom: 30px;
    text-align: center;
}
.advertising__modal .modal-content .image-container img {
    max-width: 100%;
}

.advertising__modal .modal-content .sub-title {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.advertising__modal .modal-content .sub-title__box {
    display: inline-block;
    font-size: 23px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 3px 15px 1px;
    min-width: 170px;
    background-color: #DB3168;
    border-radius: 20px;
}
.advertising__modal .modal-content .sub-title__box:first-child {
    margin-right: 10px;
}

/* Form styles */
.advertising__form .sub-title-form {
    color: #000000;
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: bold;
    padding-left: 15px;
    border-left: 5px solid #ED7F00;
}

.advertising__form label {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px
}
.advertising__form label span {
    display: inline-block;
    margin-right: 5px;
    color: #E31800;
}
.advertising__form .input__control {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: 50px;
    padding: 10px 15px;
    border: 1px solid #C7C7C7;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
    background-color: #fff;
    color: #111;
    margin-bottom: 15px;
}
.advertising__form .input__control::placeholder {
    color: #AFAFAF;
}
.advertising__form .input__control:focus {
    outline: none;
}

.advertising__form input[type="checkbox"] {
    margin: 0px 10px 0px 0px;
    width: 23px;
    height: 23px;
    border-radius: 2px;
    border: 1px solid #C7C7C7;
}

.advertising__form input[type="number"] {
    width: 90px;
}
.advertising__form textarea.input__control {
    height: 105px;
    line-height: 1.6;
    margin-bottom: 10px;
    resize: none;
}
.input__wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}
.advertising__form .input__wrap label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}
.form__btn {
    font-family: 'YuGothic', sans-serif;
    width: 50%;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    padding: 10px 15px;
    height: 50px;
    text-align: center;
    transition: opacity .3s ease;
    border: 0;
    cursor: pointer;
}
.form__btn--brown {
    background-color: #333333;
}

.form__btn--gray {
    background-color: #888888;
}

.advertising__form .confirm-button {
    margin-right: 30px;
    background-color: #ED7F00;
}
.form__btn:hover {
    opacity: 0.8;
}

.advertising__form .sup_text {
    font-size: 15px;
    font-weight: bold;
    color: #000;
    margin-left: 10px;
}

/* Error message styles */
.advertising__form .error-total {
    padding: 7px 15px 7px 35px;
    background: url(/common/images/ic_error.svg) no-repeat left 10px top 50%;
    background-color: #FFE8E5;
    border: 2px solid #E31800;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #E31800;
    margin-bottom: 25px;
}
.advertising__form .input--error {
    border-color: #E31800;
    box-shadow: 0px 3px 6px rgba(255, 0, 0, 0.16);
    margin-bottom: 10px;
}
.advertising__form .error-message {
    color: #E31800;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Success message styles */
.advertising__form .success-message {
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(51, 146, 7, 0.1);
    margin: 20px auto;
    width: 80%;
}

.success-message h2 {
    color: #006b00;
    margin-bottom: 10px;
    font-size: 24px;
}

.success-message .title {
    color: #000000;
    margin-bottom: 10px;
    font-size: 20px;
}

.success-message .sub-title {
    color: #e97132;
    margin-bottom: 10px;
    font-size: 20px;
}

.success-message .content {
    color: #000000;
    margin-bottom: 15px;
    font-size: 16px;
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 10px;
}

.success-message .close-modal-btn {
    background-color: #414c52;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.success-message .close-modal-btn:hover {
    background-color: #aeaeae;
}

/* General styles for the confirmation form */
.confirmation__box {
    background-color: #fff;
    padding: 10px 40px;
    border-radius: 3px;
    margin-bottom: 35px;
}

/* Title styles */
.confirmation__box .confirm__item {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #111;
    padding: 20px 0px;
    font-weight: 500;
}
.confirmation__box .confirm__item:not(:last-child) {
    border-bottom: 1px solid #C7C7C7;
}
.confirmation__box .confirm__label {
    font-weight: bold;
    min-width: 180px;
    margin-right: 20px;
}
.confirmation__box span {
    display: inline-block;
}
#confirmation_form {
    display: none;
}
.content-confirm {
    display: none;
}
.mr20 {
    margin-right: 20px !important;
}
.mr0 {
    margin-right: 0 !important;
}