@font-face {
    font-family: 'myfont';
    src: url('myfont.woff') format('woff');
}

/* 全体 */

html {
    height: 100%;
}

body {
    margin: 0px;
    width: 100%;
    height: 100%;
}

body h1 {
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-weight: 500;
    font-size: 38px;
    text-align: center;
    color: #4169e1;
}

body h2 {
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-weight: 700;
    font-size: 29px;
    text-align: center;
}

body p {
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-weight: 500;
    line-height: 1.9;
    font-size: 14px;
    color: #4169e1;
}

table {
    font-family: "Mplus 1p";
    font-weight: 500;
    font-size: 14px;
}

body a {
    font-family: "Mplus 1p";
    font-weight: 300;
    line-height: 1.9;
    text-decoration: none;
}


/* reset */

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
}

ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th {
    text-align: left;
}

q:before,
q:after {
    content: '';
}

object,
embed {
    vertical-align: top;
}

legend {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    color: #4169e1;
}

img,
abbr,
acronym,
fieldset {
    border: 0;
}


/*----------------------------------------------------------------------------------main----------*/

.main {
    height: 100%;
    width: 100%;
    background: url(../images/main01.jpg) no-repeat center center;
    background-size: cover;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}


#main_catch {
    width: 100% margin:auto;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    /* Safari */
    align-items: center;
}


#logo_back img {
    width: 480px;
}


/*----------------------------------------------------------------------------------article----------*/

article {
    margin-top: ;
    text-align: ;
    line-height: 1.9;
}


article h1 {
    font-family: "Mplus 1p";
    font-weight: 800;
    font-size: 40px;
    text-align: center;
}



article h2 {
    margin: 0px auto 20px;

    font-weight: 700;
    font-size: 28px;
    text-align: center;
    font-family: 'myfont', "Mplus 1p";
}

article h3 {
    margin: 0px auto 20px;
    font-family: "Mplus 1p";
    font-weight: 700;
    font-size: 20px;
    text-align: center;
}

article p {
    padding: 0px auto 0px;
    font-family: "Mplus 1p";
    font-weight: 500;
    line-height: 1.9;
}

article a {
    color: #000;
}

/*----------------------------------------------------------------------------------greet----------*/

#greet {
    width: 100%;
    padding: 60px 0px 0px;
    text-align: center;
    background-color: ;
}

#greet p {
    max-width: 640px;
    margin: 0 auto;
    padding: 0px 0px 30px;
    text-align: left;
}

#greet h1 {
    color: ;
}

#greet a {
    text-decoration: none;
}



/* SEC02 Gallery
------------------------------------------------------------*/

#gallery {
    max-width: 900px;
    margin: 0 auto 60px;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    justify-content: center;
    -webkit-justify-content: center;
}


#gallery li {
    width: 31%;
    margin: 0 1% 16px;
    line-height: 0;
}


#gallery img {
    width: 100%;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}




#gallery2 {
    max-width: 900px;
    margin: 0 auto 60px;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    justify-content: center;
    -webkit-justify-content: center;
}


#gallery2 li {
    width: 48%;
    margin: 0 1% 16px;
    line-height: 0;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    justify-content: center;
    -webkit-justify-content: center;
}


#gallery2 img {
    width: 100%;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}


/*----------------------------------------------------------------------------------gaiyo----------*/

#gaiyo {
    width: 100%;
    padding: 60px 0px 60px;
    text-align: center;
    background: #0099FF;
}


#gaiyo h1 {
    color: #fff;
}

#gaiyo h2 {
    color: #fff;
}



.aisatsu {
    max-width: 900px;
    margin: 50px auto 30px;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    /* Safari */
    justify-content: center;
    -webkit-flex-wrap: nowrap;
    /* Safari */
    flex-wrap: nowrap;

}

.aisatsu h2 {
    text-align: left;

}

.aisatsu p {
    width: 540px;
    margin-top: -20px;
    margin-right: 40px;
    text-align: left;
    color: #fff;

}

.aisatsu img {
    width: 300px;

}


#syacho {
    max-width: 900px;
    margin: 0px auto;
}

#syacho img {
    width: 100%;
}


/*----------------------------------------------------------------------------------gaiyo_table---------*/

#gaiyo table {
    margin-right: auto;
    margin-left: auto;
    margin-top: 40px;
    padding-bottom: 40px;
    font-size: 14px;
    width: 900px;
}



table.type04 {
    border-collapse: separate;
    border-spacing: 1px;
    text-align: left;
    line-height: 1.5;
}

table.type04 th {
    width: 20%;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    vertical-align: top;
    color: #fff;
    border-bottom: dotted 1px #fff;
}

table.type04 td {
    width: 80%;
    padding: 10px;
    vertical-align: top;
    color: #fff;
    border-bottom: dotted 1px #fff;
}

/*----------------------------------------------------------------------------------service----------*/





#service {
    width: 100%;
    padding: 60px 0px 60px;
    text-align: center;
    background-color: ;
}

#service p {
    max-width: 640px;
    margin: 0 auto;
    padding: 0px 0px 30px;
    text-align: left;
}

#service h1 {
    color: #4169e1;
}

#service a {
    text-decoration: none;
}

#service table {
    margin-right: auto;
    margin-left: auto;
    margin-top: 0px;
    padding-bottom: 40px;
    font-size: 14px;
    width: 900px;

}

table.type05 {
    border-collapse: separate;
    border-spacing: 1px;
    line-height: 1.5;
}

table.type05 th {
    width: 100%;
    padding: 10px 18px;
    font-weight: 100%;
    font-size: 20px;
    text-align: center;
    color: #4169e1;
    border-bottom: dotted 1px #4169e1;
}


#service .btn {
    max-width: 280px;
    margin: 20px auto 0;
    background-color: #4169e1;
    color: #fff;
    padding: 11px 0;
    line-height: 100%;
    /*角丸*/
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    behavior: url(PIE.htc);
    text-align: center;
}


#service .btn:hover {
    background: rgba(0, 0, 0, .5);
    transition: 1.2s;
}


/*----------------------------------------------------------------------------------saiyo---------*/

#saiyo {
    width: 100%;
    padding: 60px 0px 60px;
    text-align: center;
    background: #0099FF;
}


#saiyo h1 {
    color: #fff;
}

#saiyo h2 {
    color: #fff;
}


#saiyo table {
    margin-right: auto;
    margin-left: auto;
    margin-top: 40px;
    padding-bottom: 40px;
    font-size: 14px;
    width: 900px;
}

#saiyo .btn {
    text-align: center;
    max-width: 280px;
    margin: 20px auto 0;
    background-color: #4169e1;
    color: #fff;
    padding: 11px 0;
    line-height: 100%;
    /*角丸*/
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    behavior: url(PIE.htc);
}


#saiyo .btn:hover {
    background: rgba(0, 0, 0, .5);
    transition: 1.2s;
}


/*----------------------------------------------------------------------------------map----------*/


.map {
    height: 400px;
    width: 100%;
}


/*----------------------------------------------------------------------------------access----------*/

#access {
    width: 100%;
}

#access p {
    text-align: center;
}

#access p a {
    border-bottom: 1px dotted;
}

#access p a:hover {
    border: none;
}


/*----------------------------------------------------------------------------------contact----------*/


h1.test {
    padding-top: 40px;
    color: #4169e1
}


#contact {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 70px;
}



#contact p {
    text-align: center;
}

#contact h1 {
    font-family: 'myfont';
    font-size: 70px;
    text-align: center;
    color: #4169e1
}

#contact .telnum {
    margin-top: px;
}

#contact .btn {
    max-width: 280px;
    margin: 20px auto 0;
    background-color: #4169e1;
    color: #fff;
    padding: 11px 0;
    line-height: 100%;
    /*角丸*/
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    behavior: url(PIE.htc);
}

#contact a {
    text-decoration: none /;
}

#contact .btn:hover {
    background: rgba(30, 30, 30, 0.7);
    transition: .8s;
}

/*----------------------------------------------------------------------------------footer---------*/

footer {
    padding: 20px;
    text-align: center;
    background-color: #4169e1;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
}



.back {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
}

.back img {
    width: 262px;
    position: fixed;
    top: 0px;
    left: 0px;
}



/*----------------------------------------------------------------------------------タブレット・スマホ---------*/

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

    #main_catch {
        width: 100% margin:auto;
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        /* Safari */
        align-items: center;
        -webkit-justify-content: center;
        /* Safari */
        justify-content: center;
        -webkit-flex-direction: column;
        /* Safari */
        flex-direction: column;
    }



    #logo_back img {
        width: 280px;
    }
}


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

    
    article {
        width: 100%;
        margin-top: ;
        text-align: ;
        line-height: 1.9;
    }




    article h1 {
        margin: 0px auto;
        font-weight: 800;
        font-size: 28px;
        color: #4169e1
    }


    article h2 {
        margin: 0px auto 20px;
        font-weight: 700;
        font-size: 26px;
    }

    article h3 {
        margin: 0px auto 20px;
        font-weight: 700;
        font-size: 16px;
    }

    article p {
        margin: 0px auto;
        font-weight: 300;
        line-height: 1.9;
        font-size: 12px;
    }

    /*----------------------------------------------------------------------------------sp_greet----------*/
    
    #greet {
        width: 100%;
        text-align: center;
        padding: 30px 0px;
    }

    #greet h1 {
        margin: 0px auto;
        font-weight: 900;
        font-size: 32px;
        color: #4169e1
    }

    #greet p {
        width: 90%;
        text-align: left;
    }


    /*----------------------------------------------------------------------------------sp_gallery----------*/
    
    #gallery {
        width: 90%;
        margin: 0 auto 30px;
        display: flex;
        display: -webkit-flex;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        justify-content: center;
        -webkit-justify-content: center;
    }


    #gallery li {
        width: 48%;
        line-height: 0;
        transition: 1.2s;
    }


    #gallery img {
        margin: 0;
        padding: 0;
        vertical-align: bottom;
    }


    #gallery2 {
        width: 90%;
        margin: 0 auto 30px;
        display: flex;
        display: -webkit-flex;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        justify-content: center;
        -webkit-justify-content: center;
    }



    #gallery2 li {

        line-height: 0;
        transition: 1.2s;
    }


    #gallery2 img {
        margin: 0;
        padding: 0;
        vertical-align: bottom;
    }



    /*----------------------------------------------------------------------------------gaiyo----------*/
    
    #gaiyo {
        width: 100%;
        padding: 30px 0px 10px;
    }



    #gaiyo p {
        text-align: left;
    }


    .aisatsu {
        width: 90%;
        margin: 30px auto 0px;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        /* Safari */
        justify-content: center;
        -webkit-flex-wrap: wrap;
        /* Safari */
        flex-wrap: wrap;
    }

    .aisatsu h2 {
        text-align: left;
    }

    .aisatsu p {
        width: 100%;
        margin: -10px auto 30px;
        text-align: center;
        color: #fff;

    }

    .aisatsu img {
        width: 300px;

    }



    /*----------------------------------------------------------------------------------gaiyo_table---------*/



    #gaiyo table {
        margin-right: auto;
        margin-left: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 12px;
        width: 90%;
    }


    table.type04 {
        border-collapse: separate;
        border-spacing: 1px;
        text-align: left;
        line-height: 1.5;
    }

    table.type04 th {
        width: 30%;
        padding: 10px;
        font-weight: bold;
        vertical-align: top;
        color: #fff;
        border-bottom: dotted 1px #fff;
    }

    table.type04 td {
        width: 70%;
        padding: 10px;
        vertical-align: top;
        color: #fff;
        border-bottom: dotted 1px #fff;
    }




    /*----------------------------------------------------------------------------------service----------*/
    #service {
        background: #fff;
    }

    #service p {
        width: 90%;
    }

    #service img {
        width: 100%;
    }

    #service h1 {
        margin: 0px auto;
        font-weight: 900;
        font-size: 36px;
        color: #4169e1;
    }

    #service table {
        margin-right: auto;
        margin-left: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 12px;
        width: 90%;
    }


    /*----------------------------------------------------------------------------------saiyo_table---------*/

    #saiyo {
        width: 100%;
        padding: 30px 0px 40px;
    }

    #saiyo p {
        text-align: left;
    }


    .aisatsu img {
        display: none;

    }

    #saiyo table {
        margin-right: auto;
        margin-left: auto;
        margin-top: 20px;
        margin-bottom: 0px;
        font-size: 12px;
        width: 90%;
    }


    #saiyo th {
        font-family: "Mplus 1p";
        font-size: 12px;
        line-height: 1.9;
    }

    #saiyo td {
        text-align: left;
        font-family: "Mplus 1p";
        line-height: 1.9;
    }



    #saiyo .btn {
        margin: 0px auto;
    }


    /*----------------------------------------------------------------------------------access----------*/

    #access {
        width: 100%;
        padding: 0;
    }

    #access p {
        margin-top: 10px;
        text-align: center;
    }


    #access p a {
        border-bottom: 1px dotted;
    }

    #access p a:hover {
        border: none;
    }


    /*----------------------------------------------------------------------------------contact----------*/

    #contact {
        width: 100%;
        padding-bottom: 40px;
    }

    #contact h1 {
        font-family: 'myfont';
        font-size: 48px;
        text-align: center;
        padding-top: 30px;
    }

    #contact p {
        text-align: center;
    }

    #contact a {
        text-decoration: none;
    }



    #contact .btn {
        max-width: 280px;
        margin: 10px auto 0;
        padding: 11px 0;
        line-height: 100%;
        /*角丸*/
        -moz-border-radius: 6pxx;
        -webkit-border-radius: 6px;
        border-radius: 6px;
        behavior: url(PIE.htc);
    }



    /*----------------------------------------------------------------------------------footer---------*/

    footer {
        padding: 10px;
        text-align: center;
    }

    footer p {
        font-size: 12px;
    }

}
