@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #8ac8eb;
}
input[type="submit"] {
    transition: .3s;
}
input[type="submit"]:hover {
    transform: scale(1.1);
    transition: .3s;
}
/*背景*/
.hero {
    background-image: url(../images/sirakaba.png),url(../images/5.png);
    background-repeat: repeat-y,no-repeat;
    background-position: center,center bottom;
    background-size: contain;
}
/*タイトル*/
.top {
    padding-top: 10vw;
    margin-bottom: 10vw;
}

/*お問合せフォーム*/
form {
    width: 78vw;
    color: #eeefee;
    margin: 0 auto;
    padding-bottom: 18vw;
    display: flex;
    flex-direction: column;
}
.c_item {
    margin-bottom: 2.5vw;
    font-size: 1.25vw;
    margin-left: 19%;
    margin-right: 19%;
}
.label {
    margin-right: 10vw;
}
.inputs {
    float: right;
    width: 25vw;
    height: 5vh;
    border-radius: 0.5vw;
    color: #5B4E4E;
}
.input {
    float: right;
    width: 25vw;
    height: 30vh;
    border-radius: 0.5vw;
    color: #5B4E4E;
}
.required {
    background-color: #f81850;
    padding: 0.15vw;
    border-radius: 0.5vw;
    margin-right: 0.5vw;
}
.any {
    background-color: #2718f8;
    padding: 0.15vw;
    border-radius: 0.5vw;
    margin-right: 0.5vw;
}
.infomation {
    font-size: 1vw;
    margin-left: 50%;
    white-space: nowrap;
}
.infomation a {
    color: #0b73ea;
    text-decoration: underline;
}
.btn {
    margin: 3vw auto;
}
.btn input[type="submit"] {
    transition: .3s;
}
.btn input[type="submit"]:hover {
    transform: scale(1.1);
    transition: .3s;
}
.info_item {
    display: flex;
}
.info_items {
    margin-top: 0.9vw;
}
.popup_wrap input {
    display: none;
}
.popup_overlay {
    display: flex;
    justify-content: center;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.5s, transform 0s 0.5s;
    transform: scale(0);
}
    
.popup_trigger {
    position: absolute;
    width: 100%;
    height: 100%;
}
    
.popup_content {
    position: relative;
    align-self: center;
    width: 70vw;
    padding: 30px 40px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.5vw;
    transition: 0.5s;
    text-align: justify;
    color: #5B4E4E;
}
    
.close_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    cursor: pointer;
    padding:8px;
    background: #3f88f5;
    color: #fff;
    border-radius:15px;
    line-height:14px;
    font-weight:bold;
}
    
.popup_wrap input:checked ~ .popup_overlay {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s;
}
    
.popup_wrap input:checked ~ .popup_overlay .popup_content{
    transform: translateY(50px);
}
    
.open_btn {
    cursor: pointer;
    color: #0025f8;
    text-decoration: underline;
}
.break {
    display: inline;
}
.breaks {
    display: none;
}
/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    form {
        width: 90vw;
    }
    .c_item {
        font-size: 1.5vw;
    }
    .inputs {
        height: 2.5vh;
        width: 28vw;
    }
    .input {
        height: 15vh;
        width: 28vw;
    }
    .infomation input {
        width: 1.7vw;
    } 
    .infomation {
        font-size: 1.25vw;
        margin-left: 50%;
        white-space: nowrap;
    }
    .popup_content {
        width: 90vw;
        padding: 40px 20px;
        font-size: 1.4vw;
        line-height: 1.6vw;
    }
}
/*スマホ*/
@media screen and (max-width: 450px) {
    form {
        width: 90vw;
    }
    .c_item {
        font-size: 1.5vw;
    }
    .inputs {
        height: 2vh;
        width: 27.5vw;
        font-size: 2vw;
    }
    .input {
        height: 10vh;
        width: 27.5vw;
        font-size: 2vw;
    }
    .infomation input {
        width: 2vw;
    } 
    .infomation {
        font-size: 2vw;
        margin-left: 20%;
        white-space: nowrap;
    }
    .label {
        font-size: 2vw;
        margin-right: 7vw;
    }
    .required {
        font-size: 1.7vw;
        padding: 0.15vw;
        border-radius: 0.5vw;
        margin-right: 0.5vw;
    }
    .any {
        font-size: 1.7vw;
        padding: 0.15vw;
        border-radius: 0.5vw;
        margin-right: 0.5vw;
    }
    .popup_content {
        width: 95vw;
        padding: 10px 5px;
        font-size: 2vw;
        line-height: 3.5vw;
    }
    .break {
        display: none;
    }
    .breaks {
        display: inline;
    }
    .close_btn {
        position: absolute;
        top: 5px;
        right: 5px;
        font-size: 12px;
        cursor: pointer;
        padding:4px;
        border-radius:50%;
        line-height:12px;
    }
}