@charset "utf-8";

img{
    vertical-align: bottom;
}

input,
select,
textarea{
    outline: none;
    color: #333;
    background: transparent;
    font-size: 1em;
}

select{
    border: 1px solid #999;
}

select:hover{
    background: transparent;
    border: 1px solid #333;
}

select:focus,
option:focus{
    background: #aeaeae;
    color: #333;
}

a{
    color: inherit;
    text-decoration: none;
}

body, html{
    height: 100%;
}

body{
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height:1.4em;
    letter-spacing: 0.1em;
    -webkit-text-size-adjust: 100%;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
}

#wrapper{
    background-size: 100% auto;
    min-height: 100%;
}

#content{
    max-width: 964px;
    margin: 0 auto;
    position: relative;
}

#content #header_logo{
    position: absolute;
    right:20px;
    top:-46px;
}

#content #kv{
    text-align: center;
    margin-bottom: 40px;
}

#content h1{
    font-size: 2em;
    line-height:1.6em;
}

#content h2{
    font-size: 1.8em;
    line-height:1.6em;
}

#content h3{
    font-size: 1.5em;
    line-height:1.6em;
}

#content .section{
    margin-bottom: 35px;
}

#content .section h3{
    padding-bottom: 10px;
    padding-left: 10px;
    margin-bottom: 15px;
    border-bottom: #4c4c4c 1px solid;
}

#content .section h4{
    padding: 20px 0 10px;
}

#content .section ul{
    padding: 0 10px;
}

#content .section li{
    padding: 10px 0 10px 45%;
    position: relative;
}

#content .section li.radio,
#content .section li.select{
    padding-top: 18px;
}

#content .section li.sup{
    padding-top: 0;
}

#content .section .title{
    position: absolute;
    top: 18px;
    line-height: 20px;
    left: 0;
}

#content .section li.sup .title{
    top: 8px;
}

#content .section .title span{
    color: #c3002f;
}

#content .section li .input{
    overflow: hidden;
}

#content .section li .input p{
    font-size: 11px;
    line-height: 16px;
    margin-bottom: 8px;
    text-align: justify;
    letter-spacing: 0;
}

#content .section li.text input,
#content .section textarea{
    padding: 5px 10px;
    line-height: 24px;
    margin: 0 10px;
    border: 1px solid #999;
    box-sizing: content-box;
}

#content .section li input:first-child{
    margin-left: 0 !important;
}

#content .section li.name .input span{
    display: inline-block;
    width: 32px;
}

#content .section li.name .input span.right{
    text-align: right;
}

#content .section li.name input{
    width: 138px;
}

#content .section li.radio .input p{
    font-size: 14px;
    float: left;
    color: #333;
    padding-right: 50px;
    padding-left: 28px;
    position: relative;
    width: auto;
}

#content .section li.radio input{
    opacity: 0;
}

#content .section li.radio label{
    display: block;
    position: absolute;
    left: 0px;
    top: 0;
    height: 16px;
    width: 16px;
    border: 1px solid #333;
    border-radius: 9px;
}

#wrapper.ie #content .section li.radio label{
    top: 3px;
}

#wrapper.ie8 #content .section li.radio input{
    margin-left: 10px !important;
    position: relative;
    top: 3px;
}

#wrapper.ie8 #content .section li.radio label{
    display: none;
}

#content .section li.radio input:checked + label:after{
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    position: absolute;
    top: 5px;
    left: 5px;
}

#content .section li input.year{
    width: 78px;
}

#content .section li input.month,
#content .section li input.day{
    width: 39px;
}

#content .section li.birthday .input span{
    position: relative;
    top: 10px;
    display: inline-block;
}

#wrapper.ie #content .section li.birthday .input span{
    top: 0;
}

#content .section li input.full,
#content .section textarea{
    margin: 0;
    width: 398px;
    max-width: 398px;
    min-width: 398px;
}

#content .section li.address div{
    margin-top: 12px;
}

#content .section li.address div:first-child{
    margin-top: 0;
}

#content .section li input.code_3{
    width: 38px;
    margin-right: 7px;
}

#content .section li input.code_4{
    margin-left: 7px;
    width: 58px;
}

#search_by_postal_code{
    display: inline-block;
    /*border: 2px solid #999;*/
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    width: 76px;
    height: 20px;
    line-height: 20px;
    border-radius: 3px;
    text-align: center;
    padding: 6px;
    background-color: #c3002f;
}

#search_by_postal_code:hover{
	cursor:pointer;
}

#wrapper.ie #search_by_postal_code{
    position: relative;
    top: -6px;
}

#content .section li.e-mail input + p{
    margin-top: 20px;
}

#content .section li.phonenumber p+input{
    margin-left: 0;
}

#content .section li.phonenumber input{
    width: 97px;
    margin: 0 12px 0 13px;
}

#content .confirm{
    text-align: center;
    padding: 0 5px 30px;
}

#content .submit{
    width: 420px;
    margin: 0 auto 94px;
    position: relative;
}

#content .submit:before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    border-top: 4px solid #FFF;
    border-right: 4px solid #FFF;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#content .submit input{
    width: 420px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    margin: 0;
    color: #fff;
    background-color: #c3002f;
    font-size: 21px;
    border: none;
    /* text-indent: -9999px; */
    cursor: pointer;
}

#content .submit input:hover{
    background-color:#d54c6d;
    /* opacity: .7; */
}

#kiyaku{
    margin-bottom:30px;
    border: 1px solid #999;
    height: 180px;
    overflow-x: hidden;
    overflow-y: auto;
}

#kiyaku .inner{
    padding:13px;
    line-height:1.6em;
    font-size: 12px;
}

#kiyaku .inner p{
    padding-bottom:1em;
}

.agree{
    text-align: center;
}

.agree p{
    margin-bottom:20px;
    padding:0.5em 2em;
    text-align: left;
    text-indent:-2em;
}

.agree p.link{
    border: 1px solid #999;
    margin-bottom:10px;
    padding:0.8em 1em;
    font-size: 110%;
    text-indent:0;
}

.agree p.link a{
    text-decoration: underline;
}

#notes{
    border-top: 1px solid #7e7e7e;
    max-width: 1000px;
    padding: 45px 5px 60px;
    margin: 0 auto;
    font-size: 80%;
}

#notes p{
    line-height: 1.6em;
    max-width: 590px;
    margin: 0 auto;
}

#notes > p{
    padding: 0px 5px 20px;
}

.attention{
    color: #c3002f;
}

#notes .attention{
    padding: 0px 5px 20px;
}

#notes a{
    text-decoration: underline;
}

#notes > a{
    display: block;
    text-align: center;
    line-height: 2em;
}

#copyright{
    padding-bottom:10px;
    text-align: center;
}

select:disabled{
    border: 1px solid #d0d0d0;
    color: #d0d0d0;
}


/* サンクスページ */
.thanks{
    text-align: center;
}

.thanks h1{
    font-size: 32px;
    padding-top: 40px;
    margin: 0 auto;
    text-align: center;
}

.thanks .thanksTxt{
    margin: 40px auto 70px auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.5em;
}

.sp{
    display: none;
}



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

    body{
        font-size: 10px;
    }

    .pc{
        display: none;
    }

    .sp{
        display: block;
    }

    #wrapper{
        display: inline-grid;
    }

    #content{
        padding: 0 10px;
    }

    #content #header_logo{
        top:-37px;
    }

    #content #header_logo img{
        height: 16px;
    }

    #content .section{
        margin-bottom: 25px;
    }

    #content .section h3{
        padding-left: 6px;
        padding-bottom: 14px;
    }

    #content .section h3 img{
        height: 17px;
        width: auto;
    }

    #content .section ul{
        padding: 0 6px;
    }

    #content .section li{
        padding: 8px 0 !important;
    }

    #content .section .title{
        position: relative;
        top: 0;
        line-height: 12px;
        margin-bottom: 10px;
    }

    #content .section li.name .input input+span+input{
        margin-right: 0 !important;
    }

    #content .section li .input p{
        font-size: 10px;
        line-height: 14px;
        width: 100%;
    }

    #content .section li.text input,
    #content .section textarea{
        padding: 3px 6px;
        line-height: 15px;
        margin: 0 5px;
    }

    #content .section li.name .input span{
        display: inline-block;
        width: 22px;
    }

    #content .section li.name .input span.right{
        text-align: left;
    }

    #content .section li.name input{
        width: 93px;
    }

    #content .section li.name input{
        margin-right: 15px;
    }

    #content .section li.radio .input p{
        font-size: 10px;
        color: #333;
        line-height: 11px;
        padding-right: 30px;
        padding-left: 16px;
    }

    #content .section li.radio2 .input p{
        height: auto;
        margin-bottom: 10px;
    }

    #content .section li.radio5 .input p{
        margin-bottom: 12px;
    }

    #content .section li.radio5 .input p:last-of-type{
        margin-bottom: 2px;
    }

    #content .section li.radio input{
        height: 1px;
    }

    #content .section li.radio label{
        left: 0;
        height: 10px;
        width: 10px;
        top: 0 !important;
    }

    #content .section li.radio input:checked + label:after{
        width: 4px;
        height: 4px;
        top: 3px;
        left: 3px;
    }

    #content .section li input.year{
        width: 69px;
    }

    #content .section li input.month,
    #content .section li input.day{
        width: 29px;
    }

    #content .section li.birthday .input span{
        top: 4px;
    }

    #content .section li input.full,
    #content .section textarea{
        margin: 0;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        box-sizing: border-box;
    }

    #content .section li.address div{
        margin-top: 5px;
    }

    #content .section li input.code_3{
        width: 31px;
        margin-right: 3px;
    }

    #content .section li input.code_4{
        margin-left: 3px;
        width: 51px;
    }

    #search_by_postal_code{
        font-size: 10px;
        width: 50px;
        height: 18px;
        line-height: 18px;
        top: 0 !important;
    }

    #content .section li.e-mail input + p{
        margin-top: 15px;
    }

    #content .section li.phonenumber input{
        width: 39px;
        margin: 0 3px 0 3px;
    }

    #content .section textarea{
        height: 50px;
        max-height: 50px;
    }

    #content .submit{
        width: 255px;
        margin: 0 auto 50px;
    }

    #content .submit input{
        width: 254px;
        height: 47px;
        font-size: 18px;
        line-height: 46px;
    }

    #content .submit:before {
        top: 15px;
    }

    #kiyaku{
        margin: 20px 6px 40px;
        height: 120px;
    }

    #kiyaku .inner{
        padding: 10px;
        font-size: 10px;
    }

    .agree{
        margin: 0 6px;
    }

    #content .section .subtitle{
        position: relative;
        top: 5px;
        left: 0;
        display: block;
    }

    #content .section .city .subtitle{
        top: 5px;
    }

    #content .section .subtitle p{
        display: block;
        width: 100%!important;
        text-align: left!important;
    }

    #content .section .subtitle span{
        color: #c3002f;
    }


    /* サンクスページ */
    .thanks{
        width: 768px;
        padding-bottom: 50px!important;
    }
    .thanks .thanksTxt{
        margin-bottom: 40px;
        font-size: 14px;
    }
}

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


    /* サンクスページ */
    .thanks{
        width: 420px;
    }
}

