@charset "utf-8";
:root{
    --font-ns:'Noto Sans JP', sans-serif;
    --htext: #4C2A18;
}
/* http://jigsaw.w3.org/css-validator/ */
html {
    scroll-behavior: smooth;
}
html,
body{
    height: 100%;
}
body *{
    position: relative;
}
img{
    max-width: 100%;
}
/* body */
body {
    font-family: sans-serif;
    word-break: break-word;
    -webkit-text-size-adjust: 100%;
    line-height: 1.6875;
    background: #EAF6F8;
}
.sp{display: none;}
.skip{
    position: absolute;
    left: 0;
}
.center{
    text-align: center;
}
.cmt{
    border: none;
    background: #F7F7F3;
    padding: 2rem;
}
strong{
    font-size: 1.1rem;
    color: #4C2A18;
}
body * {
    box-sizing: border-box;
}
#container{
    width: 800px;
    max-width: 96%;
    margin: 0 auto;
    background: #fff;
    border-left:3px solid #D9E5E7;
    border-right:3px solid #D9E5E7;
}
main,footer{
    padding: 25px;
}
main{
    padding-bottom: 6rem;
}
header{
    position: relative;
    background-image:url(../images/header.png) ;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 15/6;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;

}
#logo{
    position: absolute;
    left: -9000px;
}
#ocbt{
    display: none;
}
#gnav ul{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
#gnav li{
    margin:0.5rem min(2rem,3vw);
}
#gnav a{
    display: block;
    margin: 0 auto;
    color: var(--htext);
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
#gnav a:hover{
    opacity: 0.7;
}
h2,h3,h4{
    color: var(--htext);
    line-height: 1.6;
}
main h2{
    border-top: 3px solid #5B9C69;
    background: linear-gradient(to bottom, #D6F0F4 0%, #FFFFFF 100%);
    font-size: 1.4rem;
    padding: 0.5rem;
    margin-top: 3rem;
}
main #section1 h2{
    margin-top:0;
}
h3{
    font-size: 1.2rem;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    background-color: #D6F0F4;
    margin-top: 2rem;
}
h3::before{
    content: '';
    display: block;
    width: 5px;
    left: 0;
    top: 0.5rem;
    height: calc(1.2rem * 1.6);
    position: absolute;
    background: #5B9C69;
}
h4{
    font-size: 1.1rem;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    margin-top: 1.5rem;
}
h4::before{
    content: '';
    display: block;
    width: 5px;
    left: 0;
    top: 0.5rem;
    height: calc(1.1rem * 1.6);
    position: absolute;
    background: #5F6A6999;
}
h5{
    font-size: 1.1rem;
    margin: 1rem auto;
}
h5 img{
    display: block;
    max-width: 180px;
    margin: 0 0 1rem;
}
.history{
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #D9E5E7;
}
.history li{
    border-bottom: 1px solid #D9E5E7;
    padding: 0.5rem ;
    font-size: 1rem;
    font-weight: normal;
}

#section2 ol{
    margin: 0;
    padding: 0;
    border-top: 1px solid #D9E5E7;
}
#section2 ol li{
    border-bottom: 1px solid #D9E5E7;
    padding: 0.5rem ;
    font-size: 1.1rem;
    list-style-position: inside;
    font-weight: bold;
}
#section3 .cmt strong{
    color: #D33333;
}
#section4{
    padding-bottom: 1rem;
}
iframe{
    display: block;
    margin: 0 auto;
}
#pagetop{
    float: right;
    position: sticky;
    bottom: 1rem;
}
#pagetop img{
    display: block;
}
footer{
    border-top: 1px solid #D9E5E7;
    padding: 1rem 25px;
    text-align: center;
}
footer h2 img{
    display: block;
    margin: 0 auto;
    max-width: 280px;
}
@media all and (max-width: 640px){
    header{
        background-size: 120vw;
        background-position: center top;
        aspect-ratio: 15/9;
    }

    #ocbt {
        position: absolute;
        top: 1rem;
        right: 1rem;
        text-align: center;
        font-size: 0.8rem;
        line-height: 0.8rem;
        text-decoration: none;
        color: #000;
        display: block;
        z-index: 2000;
    }

    #spmenu {
        margin: 0;
        padding: 5px 0;
        display: block;
        text-decoration: none;
        color: #000;
        font-size: 0.8rem;
        text-align: center;
        width: 40px;
        height: 40px;
        border-bottom: none !important;
    }

    #spmenu span.bar,
    #spmenu span.bar::after,
    #spmenu span.bar::before {
        content: "";
        width: 40px;
        border-top: 5px solid #000;
        display: block;
        margin: 10px auto 4px;
        transition: 0.5s;
        position: relative;
    }
    .menuon #ocbt {
        color: #fff;
    }
    .menuon #spmenu span.bar::before,
    .menuon #spmenu span.bar::after{
        border-top: 5px solid #fff;

    }
    .menuon #spmenu span.bar {
        border-top: 5px solid transparent;
    }
    .menuon #spmenu span.bar::before {
        transform: rotate(-45deg);
        top: 0;
    }
    .menuon #spmenu span.bar::after {
        transform: rotate(45deg);
        top: -15px;
    }
    #gnav {
        display: block;
        position: fixed;
        background: rgba(70, 33, 13,0.9);
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        padding: 20px;
        z-index: 1000;
        transform: translateY(-100vh);
        transition: 0.5s;
    }

    .menuon #gnav {
        transform: translateY(0);
    }
    #gnav ul{
        margin-top: 100px;
        flex-direction: column;
        border-bottom: 1px solid #fff;
    }
    #gnav li{
        width:  100%;
        margin: 0;
        border-top: 1px solid #fff;
    }
    #gnav a{
        color: #fff;
        text-align: left;
        width: 100%;
        padding: 0.5rem 0;
    }

    

    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget iframe[style]{
        width: 100% !important;
    }
    .movbt,.pdf{
        font-size: 0.72rem;
        padding: 0.5rem;
    }
}