@charset "UTF-8";

/* Cast Register Custom Styles */
body:has(.regi-wip-custom) {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #FFE6BF !important; /* ensure no white band below footer on tall viewports */
}

.regi-wip-custom {
    background-color: #FFE6BF;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.regi-wip-custom-header-logo {
    width: 100%;
    text-align: center;
    padding-top: 40px;
    margin-bottom: 40px;
}

.regi-wip-custom-header-logo img {
    width: 320px;
    max-width: 90%;
    height: auto;
}

.regi-wip-custom-box {
    position: relative;
    width: 720px;
    height: auto;
    min-height: auto;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 60px 160px;
    box-sizing: border-box;
    overflow: visible;
}

.regi-wip-custom-box-wrapper {
    width: 100%;
    margin: 0 auto 0 auto;
    box-sizing: border-box;
}

.regi-wip-custom-title {
    font-size: 32px;
    font-weight: 900;
    color: #3F3F3F;
    text-align: center;
    width: 400px;
    height: 38px;
    margin: 0 0 29px 0;
    line-height: 1.5;
    font-family: 'Noto Sans JP','ヒラギノ角ゴシック','Hiragino Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'Meiryo UI',YuGothic,'Yu Gothic','Yu Gothic UI',sans-serif;
}

.regi-wip-custom-logo-ane {
    text-align: center;
    margin-bottom: 24px;
}

.regi-wip-custom-logo-ane img {
    max-width: 400px;
    display: block;
    margin: 0 auto 29px auto;
    object-fit: contain;
}

.regi-wip-custom-logo {
    text-align: center;
    margin-bottom: 32px;
}

.regi-wip-custom-logo a {
    display: inline-block;
    text-decoration: none;
    border-bottom: none;
}

.regi-wip-custom-logo img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Form container */
.regi-wip-custom-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Form field container */
.regi-wip-custom-field {
    margin-bottom: 24px;
}

.regi-wip-custom-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 4px;
    font-size: 18px;
    color: #3F3F3F;
    font-weight: 700;
    letter-spacing: 0.36px;
    line-height: 27px;
    font-family: 'Noto Sans JP','ヒラギノ角ゴシック','Hiragino Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'Meiryo UI',YuGothic,'Yu Gothic','Yu Gothic UI',sans-serif;
}

.regi-wip-custom-required {
    display: inline-block;
    background-color: #FF4040;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 6px 6px 6px;
    border-radius: 3px;
    margin-left: 8px;
    letter-spacing: 0.22px;
    line-height: 11px;
    font-family: 'Noto Sans JP','ヒラギノ角ゴシック','Hiragino Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'Meiryo UI',YuGothic,'Yu Gothic','Yu Gothic UI',sans-serif;
}

/* Input fields */
.regi-wip-custom-input {
    width: 100%;
    height: 48px;
    padding: 8px 12px;
    border: 1px solid #cdcdcd;
    border-radius: 4px;
    background-color: #FFFFFF;
    font-size: 16px;
    /*font-weight: 500;*/
    color: #000000;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    font-family: 'Noto Sans JP','ヒラギノ角ゴシック','Hiragino Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'Meiryo UI',YuGothic,'Yu Gothic','Yu Gothic UI',sans-serif;
}

.regi-wip-custom-input:focus {
    outline: none;
    border-color: #ffa71c;
    box-shadow: 0 0 0 2px rgba(255, 167, 28, 0.1);
}

.regi-wip-custom-input::placeholder {
    color: #cdcdcd;
    font-size: 16px;
    font-weight: 400;
}

/* Alert note */
.regi-wip-custom-alertnote {
    font-size: 12px;
    color: #999999;
    margin-top: 6px;
    padding-left: 0;
}

/* Checkbox - custom center and black without background images */
.regi-wip-check {
    width: 100%;
    height: 33px;
    margin: 24px 0 !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.regi-wip-check__check {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    white-space: nowrap !important;
}


.regi-wip-check input[type="checkbox"] {
    display: inline-block !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 1px solid #000000 !important;
    background-color: #ffffff !important;
    position: relative !important;
    cursor: pointer !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    transition: background-color .15s ease, border-color .15s ease !important;
    outline: none !important;
    box-shadow: none !important;
    accent-color: black !important;
    vertical-align: middle !important;
}

.regi-wip-check input[type="checkbox"]:hover { box-shadow: none !important; }
.regi-wip-check input[type="checkbox"]:focus,
.regi-wip-check input[type="checkbox"]:focus-visible { outline: none !important; box-shadow: none !important; }

.regi-wip-check input[type="checkbox"]:checked {
    background-color: #ffffff !important;
}

.regi-wip-check input[type="checkbox"]::after {
    content: "" !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 6px !important;
    height: 12px !important;
    border: solid transparent !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.regi-wip-check input[type="checkbox"]:checked::after {
    border-color: #111 !important;
}

.regi-wip-check__check__label_renew {
    padding: 0 !important;
    background: none !important;
    line-height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    color: #333 !important;
    cursor: pointer !important;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Noto Sans JP','ヒラギノ角ゴシック','Hiragino Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'Meiryo UI',YuGothic,'Yu Gothic','Yu Gothic UI',sans-serif;
}

.regi-wip-check__check__label_renew a {
    color: #333 !important;
    text-decoration: underline !important;
    font-weight: 400;
    transition: opacity 0.2s !important;
}

.regi-wip-check__check__label_renew a:hover {
    opacity: 0.8 !important;
}

.regi-wip-custom-submit-btn {
    width: 100%;
    height: 64px;
    background: #FFA71C !important;
    background-color: #FFA71C !important;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.36px;
    line-height: 27px;
    border: none;
    border-radius: 66px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s ease;
    margin-bottom: 24px;
    font-family: 'Noto Sans JP','ヒラギノ角ゴシック','Hiragino Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'Meiryo UI',YuGothic,'Yu Gothic','Yu Gothic UI',sans-serif;
}

.regi-wip-custom-submit-btn:hover {
    opacity: 0.9;
}

.regi-wip-custom-submit-btn:active {
    opacity: 0.8;
}

.regi-wip-custom-submit-btn__icon {
    width: 20px;
    height: 20px;
    background: url("../../images/model/icon_air_white_20.png") no-repeat center;
    background-size: contain;
}

/* Links section */
.regi-wip-custom-links {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #3f3f3f;
    letter-spacing: 0.26px;
    line-height: 19.5px;
    margin-top: 16px;
}

.regi-wip-custom-links p {
    margin: 0 0 8px 0;
    font-weight: 500;
}

.regi-wip-custom-links a {
    color: #4986e8;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.regi-wip-custom-links a:hover {
    opacity: 0.8;
}

/* remove leftover image-based rule */

/* Divider */
.regi-wip-custom-divider {
    width: 100% !important;
    height: 1px !important;
    background-color: #5c5c5c !important;
    margin: 28px 0 !important;
    border: none !important;
    display: block !important;
}

/* Alert box for errors */
.regi-wip-custom-alert {
    margin-bottom: 24px;
    padding: 12px 16px;
    background-color: #f7d3da;
    border-radius: 4px;
}

.regi-wip-custom-alert__text {
    color: #da2647;
    font-size: 14px;
    line-height: 1.5;
}

.regi-wip-custom ~ .area-footer {
    margin-top: 0 !important;
}

.regi-button-custom {
    font-weight: 500;
    font-size: 18px;
    font-family: 'Noto Sans JP','ヒラギノ角ゴシック','Hiragino Sans','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'Meiryo UI',YuGothic,'Yu Gothic','Yu Gothic UI',sans-serif;
}
/* Footer copyright (© BIJIN&Co.) custom */
.area-footer .area-home-copyright {
    background: transparent !important;
    color: #2E2E2E !important;
    font-size: 12px !important;
    margin: 0 !important;
    padding: 40px 0 !important;
    text-align: center !important;
    display: block !important;
    font-weight: normal;
}

.area-footer .area-home-copyright__inner { max-width: 100% !important; }

/* Desktop - min-width: 751px */
@media screen and (min-width: 751px) {
    .regi-wip-custom-box-wrapper {
        width: 100%;
        margin: 0 auto 0 auto;
        padding-left: calc((100% - 720px) / 2);
        padding-right: calc((100% - 720px) / 2);
        box-sizing: border-box;
    }
    
    .regi-wip-custom-box {
        width: 720px;
        margin: 0 auto;
        display: block;
        height: auto;
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .regi-wip-custom-box-wrapper {
        padding: 0 16px;
        margin: 0 auto 0 auto;
    }
    
    .regi-wip-custom-box {
        width: calc(100% - 32px);
        max-width: 720px;
        height: auto;
        min-height: 600px;
        margin: 0 auto;
        padding: 32px 24px;
    }
    
    .regi-wip-custom-header-logo {
        margin-bottom: 24px;
        padding-top: 24px;
    }

    .regi-wip-custom-title {
        font-size: 24px;
        font-weight: 900;
        margin: 0 auto 24px auto;
        width: 100%;
        height: auto;
    }

    .regi-wip-custom-field {
        margin-bottom: 20px;
        width: 100%;
        height: 79px;
    }
    
    .regi-wip-custom-logo-ane {
        margin-bottom: 24px;
        text-align: center;
    }
    
    .regi-wip-custom-logo-ane img {
        max-width: 247px;
        margin: 24px auto;
    }
}

@media screen and (max-width: 480px) {
    .regi-wip-custom-box {
        padding: 24px 16px;
    }

    .regi-wip-custom-title {
        font-size: 24px;
        font-weight: 900;
        margin: 0 auto 24px auto;
        width: 100%;
        height: auto;
    }

    .regi-wip-custom-input {
        height: 44px;
        font-size: 13px;
    }

    .regi-wip-custom-submit-btn {
        height: 64px !important;
        border-radius: 66px !important;
        font-size: 14px;
    }

    .regi-wip-custom-links {
        margin-top: 8px !important;
        text-align: center !important;
        font-weight: 500 !important;
    }

    .regi-wip-custom-links p {
        margin: 8px 0 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.7 !important;
    }

    .regi-wip-custom-links a {
        color: #0066cc !important;
        font-weight: 500 !important;
        text-decoration: underline !important;
        text-underline-offset: 2px !important;
    }

    .regi-wip-custom-divider {
        margin: 12px 0 !important;
        height: 1px !important;
        background-color: #2E2E2E !important;
    }
    
    .regi-wip-custom-logo-ane {
        margin-bottom: 24px;
        text-align: center;
    }
    
    .regi-wip-custom-logo-ane img {
        max-width: 247px;
        margin: 24px auto;
    }
}
