/* common */
@charset "UTF-8";
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family:'Noto Sans JP', sans-serif, 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック体', 'Yu Gothic', YuGothic, 'MS PGothic', Osaka, arial, sans-serif;
    color:#333;
    line-height:1.5;
    text-align: justify;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
}

h1{
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    text-align:center;
    letter-spacing:0.2rem;
    padding-top:70px;
    font-size:2.5rem;
    border-bottom:1px solid #ccc;
    padding-bottom:75px;
}


h2{
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-size:1.8rem;
    margin-bottom:40px;
    color:#294b84;
}

h3{
    font-size:1.3rem;
    margin-bottom:15px;
    color:#454545;
}

h4{
    font-size:1.15rem;
    margin-bottom:7px;
    color:#454545;
}


p{
    margin-bottom:2em;
}

p:last-child{
    margin-bottom:0;
}

li{
    list-style: none;
}

.sp{
    display:none;
}

.wrap{
    width:1200px;
    padding:120px 0;
    margin:0 auto;
}

.wrap-n{
    width:900px;
    padding:70px 0;
    margin:0 auto;
  }

.flex{
    display:flex;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}

a:hover{
    opacity: 0.8;
}

.anchor{
    position:relative;
    top:-220px;
}

.bg-gray{
    background:#f7f3e9;
}


/* header */
header{
    width:100%;
    height:100px;
    padding:35px 0px;
    background:#fff;
    position:fixed;
    top: 0;
    left: 0;
    z-index:999;
}

header div{
    justify-content: space-between;
}

header div.wrap{
    padding:0;
}


.site-logo{
    width:200px;
}


.site-logo img{
    width:100%;
}

.header-menu{
    width:800px;
}


/* menu */
.menu-content {
    margin-bottom: 0;
    z-index: 1;
    width:100%;
}
.menu-content ul {
    list-style:none;
    justify-content: space-between;
}

.menu-content ul li a {
    position: relative;
    display: inline-block;
    padding: 0 0 14px;
    color: #333;
    vertical-align: middle;
    text-decoration: none;
    font-weight:500;
}

.menu-content ul li a img{
    height:23px;
    vertical-align:middle;
    margin-right:8px;
}



/* スマホ時のみ表示 */
.sp-navi{
    display:none;
}

/* メニューオープン用のチェックボックスを非表示にする */
#menu-btn-check {
    display: none;
}

/* main-contents */
.main-content{
    margin-top:100px; /* headerの高さに合わせる */
}


/* footer */
footer{
    font-size:0.9rem;
    background:#333;
    color:#fff;
}

footer div.wrap{
    padding:30px 0;
}

footer div.flex{
    justify-content: space-between;
}
footer ul{
    margin-bottom:30px;
}
footer li{
    margin-right:3rem;
}

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






@media screen and ( max-width:800px )
{
    body{
        font-size:0.9rem;
    }

    h1{
        font-size:1.5rem;
        padding-top:30px;
        padding-bottom:30px;
    }

    h2{
        font-size:1.2rem;
        margin-bottom:20px;
    }

    h3{
        font-size:1.1rem;
        font-weight:normal;
        margin-bottom:15px;
    }

    h4{
        font-size:1rem;
        font-weight:normal;
        margin-bottom:12px;
    }

    .hp{
        display:none;
    }
    .sp{
        display:block;
    }

    .anchor{
        position:relative;
        top:-100px;
    }

    .wrap{
        width:100%;
        padding:30px 20px;
    }

    .wrap-n{
        width:100%;
        padding:30px 20px;
      }

    .contact-banner img{
        width:100%;
    }

    /* header */
    header{
        height:60px;
        padding:20px 0 10px 0;
    }

    .site-logo{
        padding-left:20px;
        width:100%;
    }
    .site-logo img{
        width:150px;
    }

    /* スマホ時のみ表示 */
    .sp-navi{
        display:inherit;
    }

    /* menu */
    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0px;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background:#fff;
        transition: all .3s ease-in;/*アニメーション設定*/
        padding:0;
        padding-top:60px;
    }

    .menu-content ul {
        display:block;
    }
    .menu-content ul li {
        border-bottom: solid 1px #ccc;
        list-style: none;
    }
    .menu-content ul li a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        color:#666;
        text-decoration: none;
        padding: 9px 15px 10px 15px;
        position: relative;
    }

    /* ホバー時の下矢印を非表示 */
    .menu-content ul li a::before, .menu-content ul li a::after{
        display:none;
    }
    .menu-content ul li a::after{
        display:none;
    }
    .menu-content ul li a:hover::after {
        display:none;
    }

    /* メニューボタン */
    .menu-btn {
        position: fixed;
        top: 5px;
        right: 10px;
        display: flex;
        height: 50px;
        width: 50px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #fff;
    }

    /* メニュークローズ時の三本線 */
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 2px;
        width: 30px;
        background-color: #333;
        position: absolute;
        transition:.2s;
    }
    .menu-btn span:before {
        bottom: 8px;
    }
    .menu-btn span:after {
        top: 8px;
    }

    /* メニューオープン時の三本線 */
    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
    }
    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
        transition:.2s;
    }
    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
        transition:.2s;
    }

    #menu-btn-check:checked ~ .menu-content {
        left: 0;/*メニューを画面内へ*/
    }

    /* main-contents */
    .main-content{
        margin-top:60px;
    }

    /* footer */
    footer{
        padding:0 20px;
        width:100%;
    }

    footer div.flex{
        width:100%;
        display:block;
    }

    footer div.wrap{
        padding:15px 0;
    }

    footer ul{
        width:100%;
        padding:0;
    }

    footer li{
        width:100%;
    }

    .company-name{
        font-size:0.8rem;
        text-align:center;
    }

    .copyright{
        text-align:center;
    }


}