/*----------------------------------
	Common HTML elements and more for easier usage
------------------------------------*/
html {
  overflow-x: hidden;
}

html, html a, body {
  -webkit-font-smoothing: antialiased;
}

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
    font-size: 15px;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
    color: #222324;
    line-height: 1.6;
    background-image: url(../img/bg.jpg);
    background-attachment: fixed;
    background-repeat: repeat;
    /* background-size: cover; */
    background-position: center top 0%;
}

main{
    background-image: url(./bg.jpg);
    background-repeat: repeat;
    height: 100vh;
}
.container{
    width: 1200px;
    position: relative;
}
section.top-wrap {
    padding-top: 11%;
}
section.top-wrap h1{
    font-size: 18px;
    text-align: center;
    margin: 20px auto 30px;
}
section.top-wrap img{
    display: block;
    margin: 0 auto;
    max-width: 100%;
}
.link-wrap {
    display: block;
    margin: 50px auto 30px;
    text-align: center;
}
.btn-flat-border {
    display: inline-block;
    padding: 1.8rem 4.0rem;
    text-decoration: none;
    color: #222222;
    border: solid 2px #222222;
    border-radius: 3px;
    transition: .4s;
    text-align: center;
}
.btn-flat-border:hover {
  background: #222222;
  color: white;
text-decoration: none;
}
@media screen and (min-width: 768px) and (max-width: 991px){
    .container{
        width: 100%;
        position: relative;
    }
    section.top-wrap {
        padding-top: 40%;
    }
    .btn-flat-border {
        display: inline-block;
        padding: 1.8rem 2.8rem;
        text-decoration: none;
        color: #222222;
        border: solid 2px #222222;
        border-radius: 3px;
        transition: .4s;
        text-align: center;
    }
}
@media screen and (max-width: 767px) {
    .container{
        width: 100%;
        position: relative;
    }
    section.top-wrap {
        padding-top: 13%;
    }
    section.top-wrap h1 {
        font-size: 14px;
        text-align: left;
        line-height: 1.5;
        margin: 20px auto 30px;
    }
    .btn-flat-border {
        display: inline-block;
        padding: 1.4rem 2.8rem;
        text-decoration: none;
        color: #222222;
        border: solid 2px #222222;
        border-radius: 3px;
        transition: .4s;
        text-align: center;
    }
    .link-wrap {
        display: block;
        margin: 40px auto 10px;
        text-align: center;
    }
}
@media screen and (max-width: 360px){
section.top-wrap {
    padding-top: 15%;
}
.btn-flat-border {
    font-size: 14px;
    display: inline-block;
    padding: 1.3rem 1.5rem;
    text-decoration: none;
    color: #222222;
    border: solid 2px #222222;
    border-radius: 3px;
    transition: .4s;
    text-align: center;
}
}