@charset "UTF-8";

/*---------------------------
|サイト内共通の文字色設定|P.162|
----------------------------*/
body {
    margin: 0;
    padding: 0%;
    color: #333;
}
p{
    padding-left: 10px;
    padding-right: 10px;
}
a {
     color: #b7a077;
}
a:visited {
     color: #a8a8a8; 
}
a:hover {
    color: #988564;
    font-weight: bold;
    text-decoration: none;
}

/*-------------
|ヘッダー|P.172|
-------------*/
header {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}
#head-visual{
    height: 150px;
}
#logo-front{
    position:absolute;
    left: 50%;
    transform: translate(-50%, 0);
    height: 130px;
    margin-top: 10px;
    object-fit: cover;
    opacity: 80%;
}
#logo-back{
    position: absolute;
    height: 150px;
    width: 100%;
    object-fit: cover;
}
/*-----------
|基本枠|P.179|
-----------*/
#wrapper {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
#main {
    width: calc(100% - 88px);
    margin: 0 auto;
}
#main h1 {
    font-size: 26px;
    border-left: solid 5px #c45048;
    padding: 4px 9px 4px 14px;
    margin-top: 30px;
}
#main h2 {
    position: relative;
    border-bottom: 2px solid rgb(0, 0, 0);
    padding: 0px 9px;
    font-size: 22px;
    margin-top: 20px;
}
#main h2:before {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 16%;
    height: 2px;
    content: '';
    background: #c45048;
}
#main h3 {
    font-size: 18px;
    border-left: solid 3px #b7a077;
    padding: 4px 9px 4px 14px;
}
#main figure{
    text-align: center;
}
.navi-box{
    display: flex;
    justify-content: space-around;
}
.navi-box a{
    color: #c45048;
    text-decoration: none;
    border:solid;
    border-color: #c45048;
    border-width: 2px;
    font-weight: bold;
    display: inline-block;
    padding: 10px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    
}
.navi-box a:hover{
   color: hsl(4, 100%, 70%);
   border-color: hsl(4, 100%, 70%);
}
/*-----------\
|サイドブロック|
\------------*/
#rightblock{
    float: right;
    display: flex;
    flex-direction: column;
}
#leftblock{
    display: flex;
    flex-direction: column;
    float: left;
}
#rightblock img{
    width: 28px;
    float: right;
}
#leftblock img{
    width: 28px;
    float: left;
}
#wrapper{
    background-image: url(../img/sideblockleft.png),url(../img/sideblockright.png);
    background-position:left , right ;
    background-size: 28px;
    background-repeat: repeat-y;
}
/*-------------
|フッター|P.189|
-------------*/
footer {
   background-image: url(../img/Footimg.jpg);
    text-align: center;
    max-width: 980px;
    width: 100%;
    margin: 0 auto 0;
}
footer a{
    color: black;
    font-size: larger;
    text-decoration: none;
}
footer a:visited {
    color: black; 
}
footer #footer_nav {  
    padding: 10px 0;
}
footer #footer_nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
footer #footer_nav li {
    display: inline;
    border-left: solid 1px black;
    margin-left: 8px;
    padding-left: 8px;
    font-size: smaller;
}
footer #footer_nav li:last-child {
    border-right: solid 1px black;
    padding: 0 8px;
}
/*---------------
|スマホ対応|P.238|
---------------*/
@media screen and (max-width:767px){
    footer{
        width: 100%;
    }
    img {
        max-width: 100%;
    }
    header,
    #global_navi,
    #sidebar,
    #wrapper{
        width: 100%;
    }
    
    #sideblock{
        width: 0%;
    }
}
/*---------------
|bxslider|
---------------*/
#slider_wrapper{
    display: flex;
    justify-content: center;
}
.bx-wrapper img {
    margin: 0 auto;
    width: 100%;
    height: 400px;
    object-fit: cover;
}