@charset "utf-8";

/* CSS Document */
header {
    position: relative;
    padding-bottom: 33%;
    background: url(../images/concept/lavender_bg.jpg) no-repeat center 0;
}

#contents h2 {
    font-size: 162.5%;
    background: url(../images/home/title_line.png) no-repeat center bottom;
    text-align: center;
    padding-bottom: 1%;
    margin-bottom: 5%;
    margin-top: 5%;
}

#contents h3 {
    font-size: 112.5%;
    background: url(../images/home/icon.png) no-repeat left center;
    padding-left: 2.5%;
    margin-left: 4%;
    border-bottom: 1.5px solid #333;
    width: 90%;
    margin-top: 10%;
    margin-bottom: 1%;
}

#contents p {
    margin-top: 15px;
    margin-left: 5%;
}

#Home p {
    margin-left: 10%;
}

table {
    width: 100%;
    margin-top: 10%;
    border-style: none;
}

table th {
    width: 35%;
    color: #333333;
    background: #a4c1d7;
    border: none;
}

td {
    background: rgba(204, 153, 153, 0.3);
    border: none;
    padding: 1% 0%;
}

tr {
    border-bottom: 1px dashed #fff;
    padding: 20px;
    vertical-align: middle;
}

tr:last-child {
    border-bottom: none;
}

td {
    padding: 1% 2%;
}

td #email,
textarea {
    width: 70%;

}

#form {
    line-height: 2.0;
    width: 80%;
    margin: 0px auto;
}

footer {
    margin-top: 10%;
}

.submit {
    margin: 20px 0px;
    border-radius: 20px;
    padding: 5px 10px;
    background-color: #ffd841;
    width: 10%;
}

#form form p {
    text-align: center;
}

/*contents---------------------------------*/
@media screen and (max-width: 1050px) {

    /*ここには画面サイズ1050pxまでのスタイルを書く*/
    #contents h2 {
        padding-bottom: 3%;
    }

    #contents h3 {
        padding-left: 6%;
        width: 85%;
    }

    .submit {
        width: 16%;
    }
}

@media screen and (max-width: 560px) {

    /*ここには画面サイズ560pxまでのスタイルを書く*/
    header {
        background: url(../images/concept/lavender-sp.jpg) no-repeat center 0;
        min-height: 240px;
        padding-bottom: 15%;
        width: 100%;
        background-size: cover;
    }

    h1 {
        width: 0 auto;
        margin-top: 25%;
        text-align: center;
    }

    #contents h2 {
        padding-bottom: 5%;
    }

    #contents h3 {
        padding-left: 8%;
        width: 85%;
        background-size: 6%;
    }

    #contents p {
        width: 90%;
        margin: 15px auto 0;
    }

    #form {
        width: 90%;
    }

    table td,
    table th {
        display: block;
        border: none;
        text-align: center;
        margin: 0 auto;
    }

    table th {
        width: 100%;
    }

    table td {
        width: 100%;
        line-height: 4;
        padding: 0% 0%;
    }

    /*td:last-child {
    padding-top: 5%;
}*/
    .submit {
        width: 30%;
    }
}
