@charset "utf-8";

html,body{
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    color: #404040;
    background-color: #ffffff;
    position: relative;
}

.header-wrap{
    width: 100%;
    height: 72px;
    padding: 0 9px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.logo-wrap{
    padding: 6px 0;
}

.logo{
    height: 60px;
}

.logo img{
    display: block;
    height: 60px;
}

.back{
    width: 36px;
    height: 48px;
    padding-top: 6px;
}

.back a{
    display: block;
    text-align: center;
}

.back img{
    display: block;
    width: 90%;
}

.back a span{
    display: none;
}

main{
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px 0;
}

h2{
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
}

.desc{
    margin-bottom: 60px;
    padding: 0 18px;
}

form{
    width: 100%;
    padding: 0;
}

.inputs{
    width: 100%;
    padding: 60px 18px;
    background-color: #d6e3d7f0;
}

label{
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

label span{
    display: inline-block;
    width: 240px;
    margin-right: 30px;
}

label span::before{
    content: "必須";
    display: inline-block;
    font-size: 0.8em;
    padding: 0.1em 0.5em;
    margin-right: 1em;
    background-color: #D82121;
    color: #fff;
}

label span.opt::before{
    content: "任意";
    background-color: #999;
}

label input, label textarea{
    display: block;
    width: 100%;
    margin-top: 15px;
}

label input{
    max-width: 360px;
}

label textarea{
    height: 420px;
}

input[type="submit"], input[type="button"]{
    display: block;
    margin: 60px auto 120px;
    width: 120px;
    height: 48px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    background-color: #005d24;
}

input[type="button"]{
    background-color: #404040;
}

input[type="submit"].para{
    margin: 60px auto 0;
}

input[type="button"].para{
    margin: 30px auto 120px;
}

input[type="button"].back-top{
    width: 210px;
}

/*==== エラー時の表示*/

.error_messe {
    margin: 30px auto;
    padding-left: 1.5em;
    font-weight: 500;
    position: relative;
}

.error_messe::before {
    content: "■";
    position: absolute;
    left: 0.25em;
}

/*==== 確認画面のテーブル*/

table{
    width: 100%;
}

tr, th, td{
    border: none;
    line-height: 1.5;
}

tr{
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-flow: row wrap;
    padding: 0.5em;
    margin-bottom: 1.5em;
}

th{
    width: 100%;
    padding: 0.75em 0.5em;
    text-align: left;
    font-weight: 500;
}

td{
    width: 100%;
    min-height: 48px;
    padding: 0.75em 0.5em;
    background-color: #fff;
    font-weight: 400;
}




@media screen and (min-width: 834px){

    main{
        padding: 60px 30px;
    }

    h2{
        text-align: left;
        font-size: 30px;
    }

    .header-wrap{
        height: 90px;
        border-bottom: 1px solid #005d24;
    }

    .logo-wrap{
        padding: 12px 0 0 0;
    }

    .logo{
        height: 78px;
    }

    .logo img{
        display: block;
        height: 78px;
    }

    .back{
        width: auto;
        height: 90px;
        padding: 30px 0;
    }

    .back img{
        display: none;
    }

    .back a{
        font-size: 18px;
        line-height: 2;
        padding: 0 0.5em;
    }

    .back a span{
        display: inline;
    }

    .desc{
        padding: 0;
    }

    .inputs{
        padding: 60px 30px;
    }

    label input, label textarea{
        display: inline-block;
        margin-top: 0;
    }

    label:last-child{
        display: flex;
    }

    label:last-child span{
        flex: 0 0 240px;
    }

    label:last-child textarea{
        max-width: 720px;
    }
    
    th{
        width: 180px;
        text-align: left;
    }

    td{
        width: calc(100% - 200px);
    }
}

@media screen and (min-width: 1080px){

    .inputs{
        padding: 90px 60px;
    }

    label{
        margin-bottom: 45px;
    }

}

@media screen and (min-width: 1320px){

    .header-wrap{
        padding: 0 60px;
    }

}