@charset "utf-8";

body {
    font-size: 18px;
    color: #353535;
}


/* CSS Document */

img {
    line-height: 0;
    vertical-align: top;
}

th {
    font-weight: 400;
    text-align: left;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-table;
}

/* Hides from IE-mac \*/

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

.sp {
    display: none;
}

.red {
    color: red;
}

/*header
------------------------------------*/

header {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

header h1 {
    width: 320px;
    float: left;
}

header address {
    width: 535px;
    float: right;
}

#topimg {
    width: 1500px;
    margin: 0 auto 50px;
}

main {
    width: 1000px;
    margin: 0 auto;
}

section {
    margin: 0 0 80px;
}

.title {
    width: 1000px;
    border-bottom: #ccc 1px solid;
    border-top: #00a0e9 3px solid;
    padding: 20px 10px;
    margin: 0 auto 30px;
    box-sizing: border-box;
    font-size: 35px;
}

/*フッター
---------------------------------*/

footer {
    width: 100%;
    height: 80px;
    background: url(../images/footer.jpg) repeat-x 0 0;
}

#footer_wrapper {
    width: 940px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

#footer_wrapper h2 {
    width: 469px;
    height: 55px;
    position: absolute;
    top: 15px;
    left: 0px;
}

#footer_wrapper p {
    position: absolute;
    top: 15px;
    right: 0;
}

.photo {
    width: 100%;
    text-align: center;
    margin: 0 0 50px;
}

.topmovie {
    width: 1000px;
    margin: 0 auto 5%;

}

.topmovie h2 {
    font-size: 25px;
    text-align: center;
    color: #2f5982;
}

#box01 p {
    text-align: center;
    font-size: 130%;
    margin: 0 0 2%;
}



#box01 h3 {
    font-size: 150%;
    margin: 0 0 2%;
    color: #2f80bb;
    text-align: center;
}


#box02 p {
    font-size: 130%;
    margin: 0 0 2%;
    font-weight: bold;
}

#box03 table {
    width: 100%;
}

#box03 table th {
    width: 30%;
    background: #5b9bd5;
    padding: 2%;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    border: #eef5fb 1px solid;
    vertical-align: middle;
}

#box03 table td {
    width: 70%;
    padding: 2%;
    box-sizing: border-box;
    border: #eef5fb 1px solid;
    background: #e9eff7;
}

#box04 table {
    width: 100%;
}

#box04 table td {
    padding: 2%;
    box-sizing: border-box;
    border: #ccc 1px solid;
    font-size: 80%;
}

#box05 h3 {
    font-size: 150%;
    margin: 0 0 2%;
    color: orange;
    text-align: center;
}

#box06 table {
    width: 100%;
}

#box06 table th {
    width: 30%;
    background: #5b9bd5;
    padding: 2%;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    border: #eef5fb 1px solid;
    vertical-align: middle;
}

#box06 table td {
    width: 70%;
    padding: 2%;
    box-sizing: border-box;
    border: #eef5fb 1px solid;
    background: #e9eff7;
}

#box06 h3 {
    font-size: 200%;
    margin: 0 0 3%;
}

#box06 h4 {
    font-size: 150%;
    color: #2f80bb;
    margin: 3% 0;
    text-align: center;
}

/*スマホ
------------------------------*/

@media screen and (max-width: 750px) {
    body {
        font-size: 14px;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    /*header
------------------------------------*/
    header {
        width: 100%;
        margin: 0 auto;
        padding: 3%;
        box-sizing: border-box;
    }

    header h1 {
        width: 45%;
        float: left;
    }

    header address {
        width: 50%;
        float: right;
    }

    #topimg {
        width: 100%;
        margin: 0 auto 20px;
    }


    main {
        width: 94%;
        margin: 0 auto;
    }

    section {
        margin: 0 0 8%;
    }

    .title {
        width: 100%;
        border-bottom: #ccc 1px solid;
        border-top: #00a0e9 3px solid;
        padding: 3% 2%;
        margin: 0 auto 3%;
        box-sizing: border-box;
        font-size: 20px;
    }

    /*フッター
---------------------------------*/
    footer {
        width: 100%;
        height: auto;
        background: url(../images/footer.jpg) repeat-x 0 0;
        padding: 3% 0;
    }

    #footer_wrapper {
        width: 94%;
        height: auto;
        margin: 0 auto;
        position: static;
    }

    #footer_wrapper h2 {
        width: 100%;
        height: auto;
        position: static;
    }

    #footer_wrapper p {
        position: static;
        font-size: 10px;
    }

}

/* パソコン・スマホ共通のCSS */
#PageTopBtn {
    position: fixed;
    /*ボタンの配置場所を固定*/
    bottom: 10px;
    /*下からのボタンの配置場所を指定*/
    right: 10px;
    /*右からのボタンの配置場所を指定*/
}

#PageTopBtn a {
    display: block;
    /*配置の調整*/
    text-decoration: none;
    /*文字の下線を消す*/
    color: #fff;
    /*文字の色*/
    background: #00bfff;
    /*ボタンの背景色*/
    text-align: center;
    /*文字を中央に配置*/
    border-radius: 5%;
    /*ボタンの角を少し丸くする*/
    outline: none;
    /*クリックしたときの黒い枠を消す*/
}

#PageTopBtn a:hover {
    text-decoration: none;
    background: #87cefa;
    /*マウスオーバー時の背景色*/
}

/* パソコンで表示する場合のCSS */
@media (min-width: 768px) {
    #PageTopBtn {
        font-size: 13px;
        /*文字のサイズ*/
    }

    #PageTopBtn a {
        width: 100px;
        /*ボタンの幅*/
        padding: 10px 0;
        /*文字の配置場所の調整*/
    }
}

/* スマホで表示する場合のCSS */
@media (max-width: 767px) {
    #PageTopBtn {
        font-size: 10px;
    }

    #PageTopBtn a {
        width: 70px;
        padding: 5px 0;
    }
}
