@charset "UTF-8";


/*背景*/
.stars {
    position: relative;
    background-color: #233957;
    overflow: hidden; 
}

.star {
    position: absolute;
    display: block;
    background-color: #fff; 
    border-radius: 50%;
    box-shadow: 0 0 4px 2px rgba(#fff, 0.2); 
    opacity: 0;
    animation: twinkle 5s infinite;
}
.hero {
    position: relative;
    background-image: url(../images/17.png),url(../images/18.png);
    background-repeat: repeat-y,no-repeat;
    background-position: center,center bottom;
    background-size: contain;
    z-index: 2;
}
@keyframes twinkle {
    0% {
      opacity: 0;
    }
  
    50% {
      transform: scale(1.1);
      opacity: 1;
    }
  
    100% {
      opacity: 0;
      transform: scale(1);
    }
}

/*タイトル*/
.top {
    padding-top: 10vw;
    margin-bottom: 10vw;
}

/*お問合せフォーム*/
form {
    width: 50vw;
    color: #eeefee;
    margin: 0 auto;
    padding-bottom: 25vw;
    display: flex;
    flex-direction: column;
}
.c_hr {
    margin-bottom: 2.5vw;
    width: 50vw;
    margin-left: 50%;
    transform: translateX(-50%);
}
.c_item {
    margin-bottom: 2.5vw;
    display: flex;
    justify-content: space-between;
}
.label {
    margin-right: 10vw;
    font-size: 1.25vw;
    white-space: nowrap;
}
.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;
}
textarea {
    padding: 0.5vw;
}
.required {
    background-color: #f81850;
    font-size: 0.8vw;
    padding: 0.15vw;
    border-radius: 0.5vw;
    margin-right: 0.5vw;
}
.any {
    background-color: #2718f8;
    font-size: 0.8vw;
    padding: 0.15vw;
    border-radius: 0.5vw;
    margin-right: 0.5vw;
}
.infomation {
    font-size: 1vw;
    margin-left: 50%;
    white-space: nowrap;
}
.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: #6ec8fc;
    text-decoration: underline;
}
.break {
    display: inline;
}
.breaks {
    display: none;
}

/*タブレット*/
@media screen and (max-width: 1025px) and (min-width: 450px) {
    form {
        width: 50vw;
    }
    .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) {
    .star {
        box-shadow: 0 0 2px 1px rgba(#fff, 0.2); 
    }
    form {
        width: 55.5vw;
    }
    .c_hr {
        margin-bottom: 3.5vw;
        width: 55.5vw;
    }
    .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: 5%;
        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;
    }
}