.box1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 45px;
}

.box1 .imgBox {
    width: 50%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.box1 .imgBox img {
    position: relative;
    z-index: 1;
    width: 100%;
}

.box1 .imgBox a {
    position: absolute;
    z-index: 2;
    left: 61%;
    top: 61%;
}

.box1 .text {
    width: 45%;
    display: inline-block;
    vertical-align: top;
    max-width: 585px;
    background: #fff;
    box-shadow: 0 0 30px #eee;
    padding: 65px 50px;
}

.box1 .text h1 {
    font-size: 36px;
    line-height: 1.3;
    color: var(--color);
}

.box1 .text h4 {
    display: block;
    font-size: 18px;
    color: #CA1C1D;
    line-height: 1;
    font-family: arial;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #D9D9D9;
}

.box1 .text h4:first-of-type {
    border-top: 0px;
}

.box1 .text p {
    font-size: 22px;
    color: #000;
    line-height: 1.3;
    font-weight: bold;
    margin-top: 5px;
}

@media (max-width: 1440px) {
    .box1 .imgBox a {
        left: 61%;
        top: 55%;
    }

    .box1 .text h1 {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .box1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .box1 .imgBox {
        width: 100%;
        max-width: 500px;
        margin-bottom: 45px;
    }

    .box1 .text {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .box1 .text {
        width: 90%;
        padding: 30px;
    }

    .box1 .text h1 {
        font-size: 28px;
    }

    .box1 .text h4 {
        font-size: 16px;
        margin-top: 15px;
        padding-top: 15px;
    }

    .box1 .text p {
        font-size: 18px;
    }.box1 .imgBox a{
        width: 75px;
    }
}




/* 留言 */
.message .title {
    color: #333;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 75px;
}

form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.input1 {
    width: 48%;
    height: 50px;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 30px;
}

textarea {
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 30px;
}

.codeBox .input {
    width: 200px;
    height: 50px;
    border-bottom: 1px solid #D9D9D9;
}

.input4 {
    width: 200px;
    height: 50px;
    background: var(--color);
    color: #fff;
}

@media (max-width: 992px) {
    .message .title {
        font-size: 32px;
        margin-top: 60px;
        margin-bottom: 30px;
    }
}



@media (max-width: 640px) {}