@charset "UTF-8";

/* common */

body {
    min-height: 794px;
    max-width: 1150px;
    margin: 0 auto;
    font-size: 16px;
    font-family:"Hiragino Kaku Gothic ProN", "MS Pゴシック", Meiryo, sans-serif;
    background: #f0f4fc;
}

@media (max-width:767px) {
    body {font-size: 14px;
    }
}

h1, h2, h3{
    margin: 0;
}

p {
    margin: 0;
    line-height: 2;
}

/* header */
header {
    background: white;
    margin: 0;
    padding: 0 0.5rem;
    border-bottom: 1px solid #edeef0;
}

.title {
    margin: 0;
    padding-top: 0.7rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.title a {
    color: #000000;
    text-decoration: none;
}

.navbarlist {
    margin: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;

}

.navbarlist li a {
    display: block;
    padding: 0.5em 1em;
    vertical-align: middle;
    color: #000000;
    text-decoration: none;
}

.navbarlist li a:hover {
    background-color: #eeeeee;
}

/* ########## 768px 以上のヘッダーナブバー ########## */
@media (min-width: 768px) {
    
    header:after {
        content: "";
        display: block;
        clear: both;
    }
    
    .title {
        padding: 0.5rem 2rem;
        text-align: left;
        float: left;
        width: 40%;
    }
    
    navigationmenu {
        float: left;
        width: 60%
    }
    
    .navbarlist {
        padding: 0.8rem 0;
        justify-content: flex-end;
    }
}
/* footer */

footer {
    height: auto;
    margin: 0 auto;
    padding: 1em;
    text-align: center;
    background: #2b2c2e;
    color: #ffffff;
}

/* top img */

.topimg {
    position: relative;  
}

.topimg1 {
    width: 100%;
    vertical-align: bottom; /* 画像の下に変な隙間が生じたのでこのタグによって解消した */
}

.topimg2 {
    position: absolute;
    top: 10%;
    left: 56%;
    width: 40%;
}

.topimg3_wrapper {
    text-align: center;
    background: #2b2c2e;
}

.topimg3 {
    width: 100%;
    max-width: 1000px;
    vertical-align: bottom;
}

/***** スクロール ******/
.pagetop {
    cursor: pointer;
    position: fixed;
    bottom: 40px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: url(/images/pagetop.png) no-repeat;
    opacity: 0.5;
    -webkit-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
}
.pagetop:hover {
    opacity: 0.9
}

