/*マージン全消*/
* {
    margin: 0px;
    padding: 0px;
}

html {
    font-size: 62.5%;
    text-size-adjust: 100%;
    /*background-color: #f2f2f2;*/
}

body {
    font-size: 1.4rem; 
    height: 100%; 
    background-color: #ffffff; 
    color: #000000; 
    position: relative; 
    font: 12px/1.5 'メイリオ', 
    'ヒラギノ角ゴ Pro W3', 
    'Hiragino Kaku Gothic Pro W3', 
    'ＭＳ Ｐゴシック', 
    sans-serif; 
    display: block;
}

.wrapper {
    height: 100%;
    min-height: 120vh;
    position: relative;
    padding-bottom: 120px;
    box-sizing: border-box;
}

.tp_header{
    padding-top: 0px; 
    display: block;
}

.tp_header_inner{
    width: 990px; 
    padding-bottom: 10px;
    margin: 0px auto; 
}

.tp_header_logo{
    width: 170px; 
    margin-top: 30px; 
    margin-left: 1px; 
}

.tp_header_obi{
    height: 10px; 
    margin-top: 10px; 
    background-color: #006c60; 
    display: block;
}

.tp_header_link{
    height: 70px;
    font-size: 1.4rem;
    position: relative;
    width: 100%;
    background-color: #fafafa;
    border-bottom: 1px solid #e9e9e9;
    display: block;
    text-align: center;

}

.tp_header_link_inner{
    width: 990px;
    text-align: left;
    margin: 0px auto;
    margin-top: 1em;
    display: inline-block;
}

.tp_page_name {
     font-size: 2.8rem;
    position: relative;
    margin: 0px auto;
    display: block;
}

.tp_page_name_text{
/*    margin-top: 12px; */
    margin-top: 5px;
    display: inline-block; 
    line-height: 32px;
}

.maintext{
    /*margin-top:50px;*/
    text-align :center;
    margin: 30px auto;
}

/*
@media screen and (min-width: 0px) and (max-width: 481px) {
    body {
        width: 480px;
    }

    .tp_header_inner,
    .tp_header_link_inner{
        width: 100%; 
    }

    .tp_page_name{
        font-size: 2.4rem;
    }
}

@media screen and (min-width: 481px) and (max-width: 990px) {
    body {
        width: 990px;
    }
}

*/




/*固定文言等の枠---*/
.tp_agree_scroll {
    height: auto;
    width: 94%;
    margin: 20px auto;
    padding: 10px;
    overflow-y: auto;
    box-sizing: border-box;
    border: 1px solid #afafaf;
}


.tp_wrap {
    margin: 10px auto 0px;
    position: relative;
}

.tp_body {
    font-size: 1.4rem;
}



/*ボタン-----------------*/
.tp_page_move_cntr {
    width: 98%;
    margin: 30px auto 400px;
    text-align: center;
}

.tp_page_move_cntr .tp_prev_btm {
    text-decoration: none;
    background-color: #afafaf;
    border: 1px solid #afafaf;
    border-radius: 5px;
    display: inline-table;
    cursor: pointer;
    width: 250px;
    height: 60px;
}

.tp_prev_btm {
    color: black;
    background-color: #ffffff;
    width: 250px;
    height: 60px;
    border: 1px solid #006c60;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
}

.tp_btn_text {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}


@media screen and (min-width: 0px) and (max-width: 767px) {
    .tp_wrap {
        width: 100%;
    }

    .tp_header_inner {
        width: 100%;
    }
}


@media screen and (min-width: 768px) {

    .tp_wrap {
        width: 990px;
    }

    .tp_header_inner {
        width: 990px;
    }
}