/*SECTION NOTICE*/
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    font-family: 'HiraKakuPro', sans-serif;
    font-size: 14px;
}

.pb-widget-contact {
    padding-bottom: 30px;
}

.wpcf7-form .container .icon {
    color: red;
    padding-left: 5px;
}
.wpcf7-form .container .section-notice {
    padding-bottom: 40px;
}
.wpcf7-form .container .section-notice .notice-top {
    margin: auto;
    width: 100%;
    padding: 15px 0 15px 0;
}
.wpcf7-form .container .section-notice .category-verhical {
    display: flex;
    flex-direction: column;
    margin-bottom: 35px;
    border: 1px solid #dddddd;
}
.wpcf7-form .container .section-notice .category-verhical-title {
    background-color: #0f214e;
    color: white;
}
.wpcf7-form .container .section-notice .category-verhical-title .category-verhical-title-wrapper {
    padding: 15px;
    display: flex;
    flex-direction: row;
}
.wpcf7-form .container .section-notice .category-verhical-content {
    align-items: center;
    display: flex;
    line-height: 1.6;
}

.wpcf7-form .container .section-notice .category-verhical-content .name-verhical-title-wrapper  {
    padding: 1em;
}

.wpcf7-form .container .section-notice .name-verhical {
    display: flex;
    flex-direction: column;
    border: 1px solid #dddddd;
    margin-bottom: 20px;
}
.wpcf7-form .container .section-notice .name-verhical-title {
    background-color: #0f214e;
    color: white;
}

.info-contact-content {
    padding: 15px;
}

.wpcf7-form .container .section-notice .name-verhical-title .name-verhical-title-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: center;
    padding: 15px;
}
.wpcf7-form .container .section-notice .name-verhical-content {
    align-items: center;
    display: flex;
    line-height: 1.6;
}
.wpcf7-form .container .section-notice .name-verhical-content .name-verhical-content-wrapper {
    padding: 15px;
    width: 100%;
}


.wpcf7-form .container .section-notice .info-contact {
    display: flex;
    flex-direction: column;
    border: 1px solid #dddddd;
}
.wpcf7-form .container .section-notice .info-contact-title {
    background-color: #0f214e;
    color: white;
}
.wpcf7-form .container .section-notice .info-contact-title .info-contact-title-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: center;
    padding: 15px;
}
.wpcf7-form .container .section-notice .info-contact-content {
    align-items: center;
    /* display: flex; */
}
.wpcf7-form .container .section-notice .info-contact-content .info-contact-content-wrapper {
    padding: 15px;
}
.wpcf7-form .container .section-notice .info-contact-content span.info-contact {
    width: 100%;
    height: 170px;
    padding: 15px;
}
/*SECTION Contact*/
.wpcf7-form .container .section-contact .notice-bot {
    padding: 15px 0px 15px 0px;
}
.wpcf7-form .container .section-contact table.company_contact_table {
    width: 100%;
    border-collapse: collapse;
}
.wpcf7-form .container .section-contact table.company_contact_table tbody tr td {
    padding: 10px 100px 10px 10px;
}
.wpcf7-form .container .section-contact table.company_contact_table tbody tr td.company_contact_table_td {
    background-color: #0f214e;
    color: white;
    padding: 20px 15px 20px 15px;
}
.wpcf7-form .container .section-contact table.company_contact_table tbody tr td .form {
    height: auto;
    margin: 0 auto;
}
.wpcf7-form .container .section-contact table.company_contact_table tbody tr td .form .wpcf7-form-control-wrap input {
    height : -webkit-fill-available;
    width: 100%;
}

/*SECTION button*/
.wpcf7-form .container .section-button {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    flex-direction: column;
    align-items: center;
}
.wpcf7-form .container .section-button input {
    background-color: #7eb600;
    color: white;
    font-size: 14px;
    height: 55px;
    width: 250px;
}

.wpcf7-not-valid-tip {
    color: red;
}

.wpcf7 .screen-reader-response {
    display: none;
}

/* RESPONSIVE*/

@media (min-width: 576px)
{
    .container {
        max-width: 540px;
    }
}

@media (min-width: 760px)
{
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px)
{
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px)
{
    .container {
        max-width: 1040px;
    }
}

.container{
  margin:auto;
}
@media (max-width: 760px)
{
    
}
@media (max-width: 576px) {
    .linecontact-container {
        width: 100%;
    }
    .linecontact-container-wrapper {
        padding: 0;
    }
    .linecontact-container-wrapper .left {
        padding-bottom: 15px;
    }
    .container-wrapper .title h2 {
        text-align: center;
    }
    .wpcf7-form .container .section-contact table.company_contact_table tbody tr td {
        padding: 0;
    }
    .wpcf7-form .container .section-contact table.company_contact_table tbody tr td .form {
        padding-left: 15px;
        padding-right: 15px;
    }
    .wpcf7-form .container .section-contact table.company_contact_table tbody tr td.company_contact_table_td {
        padding: 15px 15px 15px 15px;
    }
    .wpcf7-form .container .section-contact table.company_contact_table tbody tr td .form .wpcf7-form-control-wrap input{
        display: inline-block;
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
    }
    .wpcf7-form .container .section-notice .category-verhical-title .category-verhical-title-wrapper {
        padding: 10px;
    }
    .wpcf7-form .container .section-notice .name-verhical-title .name-verhical-title-wrapper{
        display: flex;
        flex-direction: row;
        height: 100%;
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
    }
    .wpcf7-form .container .section-notice .info-contact-title .info-contact-title-wrapper{
        padding-right: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .container {
        padding: 0 !important;
    }
}

@media only screen and (max-width: 600px) {
    .wpcf7 input, .wpcf7 textarea { 
        line-height: 2.2em;
        padding: 2px 8px;
    }
    .wpcf7-form .container .section-contact table.company_contact_table tbody tr td {
        padding: 0;
    }
}

/*CONFIRM MODAL (preview before real submit)*/
body.koyo-confirm-lock {
    overflow: hidden;
}
.koyo-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}
.koyo-confirm-modal.is-open {
    display: block;
}
.koyo-confirm-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 33, 78, 0.65);
    animation: koyoConfirmFade 0.25s ease;
}
.koyo-confirm-modal__box {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 760px;
    max-height: 88vh;
    overflow-y: auto;
    margin: 5vh auto;
    padding: 0 0 20px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(15, 33, 78, 0.35);
    animation: koyoConfirmPop 0.28s ease;
}
@keyframes koyoConfirmFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes koyoConfirmPop {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.koyo-confirm-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease, transform 0.2s ease;
}
.koyo-confirm-modal__close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}
.koyo-confirm-modal__head {
    background: linear-gradient(135deg, #0f214e 0%, #1e3a7a 100%);
    color: #fff;
    padding: 26px 20px 22px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}
.koyo-confirm-modal__step {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.12em;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 10px;
}
.koyo-confirm-modal__title {
    font-size: 20px;
    font-weight: bold;
}
.koyo-confirm-modal__note {
    font-size: 13px;
    color: #555;
    padding: 18px 28px 5px;
    line-height: 1.8;
    text-align: center;
}
.koyo-confirm-modal__table {
    width: calc(100% - 56px);
    margin: 12px 28px 18px;
    border-collapse: collapse;
    font-size: 14px;
}
.koyo-confirm-modal__table th,
.koyo-confirm-modal__table td {
    border: 1px solid #dddddd;
    padding: 10px 14px;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}
.koyo-confirm-modal__table th {
    background-color: #0f214e;
    color: #fff;
    width: 32%;
    white-space: nowrap;
}
.koyo-confirm-modal__table tbody tr:nth-child(even) td {
    background-color: #f7f9fc;
}
.koyo-confirm-modal__buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 16px 28px 4px;
    flex-wrap: wrap;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e5e9f2;
    box-shadow: 0 -8px 20px rgba(15, 33, 78, 0.08);
    z-index: 3;
}
.koyo-confirm-modal__btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    height: 55px;
    min-width: 210px;
    padding: 0 24px;
    color: #fff;
    letter-spacing: 0.05em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.koyo-confirm-modal__btn--send {
    background: linear-gradient(180deg, #8cc400 0%, #7eb600 100%);
    box-shadow: 0 4px 14px rgba(126, 182, 0, 0.4);
}
.koyo-confirm-modal__btn--send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(126, 182, 0, 0.5);
}
.koyo-confirm-modal__btn--back {
    background-color: #fff;
    color: #0f214e;
    border: 2px solid #0f214e;
}
.koyo-confirm-modal__btn--back:hover {
    background-color: #eef2f9;
}
/* Success message panel (after real submit) */
.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #f0f7e6;
    border: 2px solid #7eb600;
    border-radius: 8px;
    color: #0f214e;
    font-size: 15px;
    line-height: 2;
    margin: 30px auto 10px;
    max-width: 760px;
    padding: 25px 20px;
    text-align: center;
}

/* Result dialog on the confirm screen (success / error) */
.koyo-confirm-modal__result {
    padding: 36px 28px 8px;
    text-align: center;
}
.koyo-confirm-modal__result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    font-size: 34px;
    font-weight: bold;
    line-height: 72px;
    color: #fff;
}
.koyo-confirm-modal__result.is-success .koyo-confirm-modal__result-icon {
    background: linear-gradient(180deg, #8cc400 0%, #7eb600 100%);
    box-shadow: 0 8px 22px rgba(126, 182, 0, 0.45);
}
.koyo-confirm-modal__result.is-error .koyo-confirm-modal__result-icon {
    background: linear-gradient(180deg, #e05555 0%, #c43d3d 100%);
    box-shadow: 0 8px 22px rgba(196, 61, 61, 0.4);
}
.koyo-confirm-modal__result-title {
    font-size: 20px;
    font-weight: bold;
    color: #0f214e;
    margin-bottom: 12px;
}
.koyo-confirm-modal__result-msg {
    font-size: 14px;
    line-height: 2;
    color: #333;
    margin-bottom: 26px;
}
.koyo-confirm-modal__result .koyo-confirm-modal__buttons {
    border-top: none;
    box-shadow: none;
    position: static;
    padding: 0 0 8px;
}

/* Captcha tip: below the widget, above the preview submit button */
.koyo-confirm-tip[data-koyo-captcha-tip] {
    display: block;
    text-align: center;
    margin: 12px auto;
}

/* Honeypot field: never visible to humans */
.koyo-confirm-modal__table .koyo-hp-wrap,
.wpcf7-form .koyo-hp-wrap,
.wpcf7-form input[name="your-website"] {
    display: none !important;
}

@media only screen and (max-width: 600px) {
    .koyo-confirm-modal__box {
        width: 94%;
        margin: 4vh auto;
        border-radius: 8px;
    }
    .koyo-confirm-modal__title {
        font-size: 17px;
    }
    .koyo-confirm-modal__note {
        padding: 14px 16px 4px;
    }
    .koyo-confirm-modal__table {
        width: calc(100% - 32px);
        margin: 10px 16px 20px;
        font-size: 13px;
    }
    .koyo-confirm-modal__table th {
        width: 38%;
    }
    .koyo-confirm-modal__buttons {
        padding: 0 16px;
    }
    .koyo-confirm-modal__btn {
        min-width: unset;
        width: 100%;
    }
} 