/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
    color: #000000;
    line-height: 1.6;
    background-color: #000;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#form_wrap {
    font-size: 16px;
    padding: 70px 20px;
    background-color: #EDEBEB;
}

.p16.m_bold {
    font-size: 26px;
    font-weight: 600;
    padding: 20px 20px 50px;
    text-align: center;
}
#form_wrap .check input , #form_wrap .radio input {
    margin-right: 5px;
}
#form_wrap .contact_txt {
    text-align: center;
}
#form_wrap .footer_bottom {
    padding-bottom: 20px !important;
}
#form_wrap h3 {
    text-align: center;
    margin-bottom: 20px;
}

/* media query : mobile
---------------------------------------------*/
@media screen and (max-width: 768px) {
    .sp_mr {
        margin-top: 10px !important;
    }
    .form {
        width: auto;
        box-sizing: border-box;
    }
    .form .title {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100vw;
        height: 220px;
        text-align: center;
        margin: 0 calc(50% - 50vw) 50px;
        background-color: rgba(255, 255, 255, 0.6);
    }
    .form .title:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../../assets/img/property-intro_title_bg.jpg) no-repeat;
        background-size: cover;
        background-position: center bottom 30%;
        z-index: -1;
    }
    .form .title h2 {
        font-size: 1.9rem;
        margin-bottom: 0;
    }
    .form .input-wrap {
        padding-bottom: 25px;
        margin-bottom: 20px;
        border-bottom: 1px solid #e3e3e3;
    }
    .form .input-wrap:first-of-type {
        padding-top: 20px;
        border-top: none;
        border-bottom: 1px solid #e3e3e3;
    }
    .form .input-wrap label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: justify;
        width: 100%;
        margin-bottom: 10px;
        box-sizing: border-box;
    }
    .form .input-wrap label .required {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 21px;
        font-size: 0.8rem;
        color: #fff;
        padding: 3px 7px;
        background-color: #d00303;
        border-radius: 2px;
    }
    .form .input-wrap div.input {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
    }
    .form .input-wrap div.input input::placeholder {
        font-size: 1rem;
    }
    .form .input-wrap div.input > input,
    .form .input-wrap div.input > textarea {
        width: 100%;
        font-size: 1rem;
        padding: 15px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input div {
        display: flex;
        justify-content: left;
    }
    .form .privacy_02 .input-wrap div.input div {
        width: 100% !important;
    }
    .form .input-wrap div.input select {
        width: 70%;
        font-size: 1rem;
        padding: 15px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input select option {
        padding: 3px 7px;
    }
    .form .form-submit_button {
        margin-top: 40px;
    }
    .form .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 220px;
        height: 59px;
        font-size: 1rem;
        color: #fff;
        border-radius: 10px;
        margin-left: auto;
        margin-right: auto;
        border: 0 !important;
        background-color: #D70019 !important;
        filter: drop-shadow(0 5px 0 rgb(128, 0, 15, 1));
        border: 0;
        transition: transform 0.3s ease, filter 0.3s ease;
    }

    .form input[type="submit"].button:hover {
        transform: translateY(5px);
        filter: drop-shadow(0 0 0 rgb(128, 0, 15, 1));
        cursor: pointer;
    }

    .form dl.confirm {
        display: flex;
        flex-wrap: wrap;
        box-sizing:border-box !important;
        margin-top: 30px;
    }
    .form dl.confirm dt,
    .form dl.confirm dd {
        display: flex;
        box-sizing:border-box !important;
        margin: 0 !important;
        flex-wrap: wrap;
        padding: 25px 0;
        border-bottom: 1px solid #e3e3e3;
        box-sizing: border-box;
    }
    .form dl.confirm dt:first-of-type,
    .form dl.confirm dd:first-of-type {
        border-top: 1px solid #e3e3e3;
        border-bottom: 1px solid #e3e3e3;
    }
    .form dl.confirm dt {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 30%;
        box-sizing: border-box;
    }
    .form dl.confirm dd {
        width: 70%;
        padding-left: 15px;
        box-sizing: border-box;
        margin-left: 0 !important;
    }
    .form .form-submit_button {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .form p.form-submit_button .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: calc(50% - 7.5px);
        height: 59px;
        font-size: 1rem;
        color: #fff;
        border-radius: 10px;
        background-color: #D70019;
        filter: drop-shadow(0 5px 0 rgb(128, 0, 15, 1));
    }
    dd {
        margin-inline-start: 0 !important;
    }

    .form.complete .content {
        max-width: 780px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    } 
    .form .return_button {
        margin-top: 40px;
    }
    .form .return_button a {
        color: #fff;
    }
}

/* media query : desktop
---------------------------------------------*/
@media screen and (min-width: 769px) {
    .form {
        margin: 0 auto;
    }
    .form .input-wrap {
        display: flex;
        padding-bottom: 25px;
        margin-bottom: 25px;
        border-bottom: 1px solid #e3e3e3;
    }
    .form .input-wrap:first-of-type {
        padding-top: 25px;
        border-top: none;
        border-bottom: 1px solid #e3e3e3;
    }
    .form .input-wrap label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: justify;
        width: 240px;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .form .input-wrap label .required {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 23px;
        font-size: 0.8rem;
        color: #fff;
        padding: 3px 7px;
        background-color: #d00303;
        border-radius: 2px;
    }
    .form .input-wrap div.input {
        display: flex;
        flex: 1;
        padding: 0 15px;
        box-sizing: border-box;
        flex-direction: column;
        align-items: flex-start;
    }
    .form .input-wrap div.input input::placeholder {
        font-size: 1rem;
    }
    .form .input-wrap div.input > input,
    .form .input-wrap div.input > textarea {
        width: 100%;
        font-size: 1rem;
        padding: 18px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input div {
        display: flex;
    }
    .form .privacy_02 .input-wrap div.input div  {
        width: 100%;
        align-items: center;
    }
    .form .input-wrap div.input select {
        width: 33.33%;
        font-size: 1rem;
        padding: 18px;
        box-sizing: border-box;
    }
    .form .input-wrap div.input select option {
        padding: 3px 7px;
    }
    .form div.form-submit_button {
        margin-top: 50px;
    }
    .form .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 255px;
        height: 64px;
        font-size: 1rem;
        color: #fff;
        border-radius: 10px;
        border:0 !important;
        margin-top: -5px;
        margin-left: auto;
        margin-right: auto;
        background-color: #D70019;
        filter: drop-shadow(0 5px 0 rgb(128, 0, 15));
        border: 0;
        border-color: #00498a !important;
        transition: transform 0.3s ease, filter 0.3s ease;
    }
    .form input[type="submit"].button:hover {
        transform: translateY(5px);
        filter: drop-shadow(0 0 0 rgb(128, 0, 15, 1));
        cursor: pointer;
    }

    .form dl.confirm {
        display: flex !important;
        flex-wrap: wrap;
        margin-top: 50px;
    }
    .form dl.confirm dt,
    .form dl.confirm dd {
        padding: 35px 15px;
        border-bottom: 1px solid #e3e3e3;
        box-sizing: border-box !important;
        margin-left: 0 !important;
    }
    .form dl.confirm dt:first-of-type,
    .form dl.confirm dd:first-of-type {
        border-top: 1px solid #e3e3e3;
        border-bottom: 1px solid #e3e3e3;
    }
    .form dl.confirm dt {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 25%;
        box-sizing: border-box !important;
    }
    .form dl.confirm dd {
        width: 75%;
        box-sizing: border-box !important;
        margin-left: 0 !important;
    }
    .form .form-submit_button {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }

    .form.complete .content {
        max-width: 780px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    } 
    .form .return_button {
        margin-top: 50px;
    }
    .form .return_button a {
        color: #fff;
    }
}


input[type="submit"] {
    border: 0;
    box-shadow: 0;
}
input[type="button"] {
    border: 0;
    box-shadow: 0;
}
.form div.validation-error {
    display: block;
    color: #d00303;
    text-align: justify;
    padding-left: 10px;
}
.form .error-message {
    background-color: #efefef;
    color: #d00303;
}
#form_wrap input , #form_wrap textarea , #form_wrap select {
    border: 1px solid #2E2722;
}

#form_wrap .btn {
    border: 3px solid #D70019;
    border-radius: 10px;
    color: #D70019;
    margin: 5rem auto 0 auto;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 1rem 0;
    text-decoration: none !important;
}
#form_wrap .btn:hover {
    color: #fff;
    background-color: #D70019;
}

/* Header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    background-color: #000000;
}

.header-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 50px;
    height: 109px;
    gap: 20px;
}

.header-logo img {
    width: 140px;
    height: 24px;
}

.header-banner {
    background: linear-gradient(270deg, rgba(37, 92, 11, 1) 64%, rgba(7, 8, 34, 1) 100%);
    padding: 0 50px 0 30px;
    display: flex;
    align-items: center;
    height: 100%;
    width: auto;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.header-banner:hover {
    opacity: 0.9;
}

.banner-content {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    width: 100%;
}

.banner-badge {
    border-radius: 5px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.362;
    color: #FFFFFF;
}

.banner-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.362;
    color: #FFFFFF;
}

.banner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.banner-link::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url(../../images/arrow.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.banner-link:hover::after,
.header-banner:hover .banner-link::after {
    transform: translateX(5px);
}

/* Form page main padding for fixed header */
/* Form page main padding for fixed header */
#main {
    padding-top: 109px;
    background-color: #000;
    position: relative;
}

/* Form page hero section */
.form-hero {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    height: 500px;
    background-image: url(../../images/form_fv.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form-hero-title {
    position: absolute;
    top: 80px;
    left: 60px;
    z-index: 1;
}

.form-hero-premium {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    color: #8D863D;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.form-hero-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 30px;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.2;
}

.form-hero-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    z-index: 1;
}

/* Form container */
.sec_contact {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 70px 0;
}

.wrap,
.contact_wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

}

.privacy_01 , .privacy_02 {
    text-align: justify;
    padding-bottom: 1rem;
}
.privacy_wrap {
    text-align: justify;
}
.privacy-notice {
    font-size: 24px;
    padding: 40px 0 20px;
    border-bottom: 1px solid #000000;
    color: #000000;
    text-align: center;
}
.privacy_wrap .p14.p_left {
    padding-top: 40px;
    max-height: 400px;
    overflow-y: auto;
    margin: 20px 0;
    background-color: #fff;
}
.privacy_wrap .privacy-section {
    margin-bottom: 1.5rem;
    padding: 0 20px;
}
.privacy_wrap .privacy-section strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.privacy_wrap .privacy-section > div {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}
.privacy_wrap .privacy-section ol {
    margin: 0.8rem 0 0.8rem 1.5rem;
    padding: 0;
}
.privacy_wrap .privacy-section ol li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}
.error-message {
    list-style: none;
    padding: 1rem;
}
h2 {
    color: #D3962D;
    display: block;
    line-height: 0;
    font-size: 30px;
}

.input-wrap button, .input-wrap input, .input-wrap select, .input-wrap textarea {
    background-color: #fff !important;
}

/* Footer / Copyright Styles */
.copyright {
    width: 100%;
    background-color: #000000;
    padding: 50px 100px;
}

.copyright-content {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.copyright-logo {
    margin-bottom: 10px;
}

.copyright-logo img {
    width: 140px;
    height: 24px;
}

.copyright-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.copyright-company {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.362;
    color: #FFFFFF;
    text-align: center;
}

.copyright-description {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.362;
    color: #FFFFFF;
    text-align: left;
    max-width: 1200px;
}

.copyright-address,
.copyright-contact,
.copyright-hours {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.362;
    color: #FFFFFF;
    text-align: center;
}

.copyright-contact {
    font-weight: 700;
    font-size: 30px;
}

.copyright-hours {
    font-size: 17px;
}

.copyright-year {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.362;
    color: #FFFFFF;
    text-align: center;
}

/* Header Responsive Styles */
@media (max-width: 1000px) {
    .banner-badge {
        font-size: 13px;
    }
    .form-hero {
        height: 300px;
        padding: 0 20px;
    }
    .form-hero-title {
        top: 30px;
    }
    .form-hero-text {
        font-size: 32px;
    }

    .banner-text {
        font-size: 18px;
    }

    .copyright-company {
        font-size: 20px;
    }

    .copyright-description {
        font-size: 13px;
    }

    .copyright-address,
    .copyright-contact,
    .copyright-hours {
        font-size: 18px;
    }

    .copyright-hours {
        font-size: 15px;
    }

    .copyright-year {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 0 0 20px;
    }
    .header-banner {
        padding: 10px 20px;
    }

    .banner-content {
        flex-direction: column;
        gap: 10px;
    }

    .banner-text {
        font-size: 16px;
    }

    .form-hero-name {
        font-size: 20px;
    }

    .form-hero-title {
        left: 20px;
    }

    .form-hero-text {
        font-size: 22px;
    }

    .p16.m_bold {
        font-size: 18px;
    }

    .sec_contact {
        padding: 30px 0;
    }

    #form_wrap {
        padding: 30px 20px;
    }

    .privacy-notice {
        font-size: 18px;
    }

}

@media (max-width: 510px) {
    .banner-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 0 0 20px;
        flex-wrap: nowrap;
        gap: 8px;
        height: 60px;
    }

    .header-logo img {
        width: 80px;
        height: auto;
        flex-shrink: 0;
    }

    .header-banner {
        display: flex;
        padding: 6px 0 0 20px;
        min-width: 0;
    }

    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        width: 100%;
        padding-right: 20px;
    }

    .banner-badge {
        font-size: 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .banner-text {
        font-size: 11px;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
        width: 100%;
    }
    
    .banner-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        max-width: 100%;
        padding-right: 0;
    }
    
    .banner-link::after {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    #main {
        padding-top: 60px;
    }

    .form-hero {
        height: 250px;
    }

    .form-hero-premium {
        font-size: 13px;
    }

    .form-hero-name {
        font-size: 16px;
    }

    .form-hero-text {
        font-size: 18px;
    }

    .copyright {
        padding: 30px 20px;
    }
}

/* Responsive line break classes */
br.br-480 {
    display: none;
}

@media (max-width: 480px) {
    br.br-480 {
        display: block;
    }
}

br.br-no-480 {
    display: block;
}

@media (max-width: 480px) {
    br.br-no-480 {
        display: none;
    }
}