@charset "UTF-8";
/*================================================
*  CSSリセット
================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
*  一般・共通設定
================================================*/
html {
    font-size: 62.5%;
}
body {
    font-family: "小塚ゴシック Pro L","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
    font-size: 2rem;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    
    color: #4a4a48;
    background-color: #f1f2eb;
    overflow-x: hidden;
}

.l_item {
    min-height: 200px;
    
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
}
.contents {
    width: 90%;
    max-width: 1200px;
}

.h1 {
    display: block;
    color: #f1f2eb;
    font-size: 3.6rem;
}
.h1_s {
    padding: 0 .25em;
    background-color: #4a4a48;
}

small {
    display: block;
    font-size: .8em;
}

#main::before,
#main::after,
#sidebar::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    z-index: 1;
}
#main::before {
    left: 0vw;
    top: -100px;
    border-top: 100px solid transparent;
    border-right: 100vw solid #f1f2eb;
}
#main::after,
#sidebar::after {
    right: 0vw;
    bottom: -100px;
    border-bottom: 100px solid transparent;
    border-left: 100vw solid #f1f2eb;
}
#sidebar::after {
    border-right: 100vw solid #d8dad3;
}

a {
    color:  #228B22;
    text-decoration: none;
}
a:visited {
    color: #708090;
}
a:hover {
    text-decoration: underline;
}


/*================================================
*  ヘッダー
================================================*/
#header {
    color: #f1f2eb;
    height: 60vh;
}
#sitetitle {
    font-size: 4.8rem;
}
#sitetitle a {
    color: inherit;
}
#sitetitle a:hover {
    text-decoration: none;
}

#summary {
    margin-top: 2rem;
}


/*================================================
*  サイドバー
================================================*/
#sidebar {
    padding-top: 100px;
    position: relative;
    background-color: #d8dad3;
}

.menu {
    margin: 5rem 0;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}
.menu_item {
    position: relative;
    box-sizing: border-box;
    display: block;
    padding: 1em 2em;
    width: 50%;
}
.menu_item:nth-child(even) {
    padding-right: 0;
    text-align: left;
}
.menu_item:nth-child(odd) {
    padding-left: 0;
    text-align: right;
    border-right: 1px solid #566246;
}
.menu_item:nth-child(odd)::before {
    content: "";
    position: absolute;
    right: -1em;
    top: 50%;
    height: 1px;
    width: 2em;
    background-color: #566246;
}

/*================================================
*  メイン
================================================*/
#main {
    padding: 50px 0;
    position: relative;
    background-color: #f1f2eb;
}

.fig {
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.fig_img {
    display: block;
}
.fig_cap {
    position: absolute;
    padding: .25em;
    bottom: -100%;
    width: 100%;
    font-size: .8em;
    color: #d8dad3;
    background-color: #4a4a48;
    transition: all .25s ease;
}
.fig:hover .fig_cap {
    bottom: 0;
}

/*================================================
*  フッター
================================================*/
#footer {
    background-color: #4A4A48;
    padding-top: 100px;
}
#copyright {
    color: #d8dad3;
    text-align: center;
}

/*================================================
*  本文設定
================================================*/
section > * { margin-top: 5rem;}

/*見出しスタイル*/
section h1 { 
    font-size: 3.6rem;
    text-align: center;
    border-top: 1px solid #d8dad3;
    border-bottom: 1px solid #d8dad3;
}
section h2,
section h3 { 
    font-size: 2.8rem;
    padding-left: .25em;
}
section h2 { 
    background-color: #d8dad3;
}
section h3 { 
    border-left: 1.5em solid #d8dad3;
}
section h4 { 
    font-size: 2.4rem;
    font-weight: bold;
    color: #566246;
}
section h5 { font-weight: bold;}

/*テキストスタイル*/
section i, section b, section em, section a { margin: 0 .25em;}
section i { font-style: oblique;}
section b { font-weight: bold;}
section em { text-decoration: underline;}

/*リストスタイル*/
section ul, section ol { list-style-type: none;}
section ol { counter-reset: list;}
section ol li { counter-increment: list;}
section li {
    position: relative;
    padding: .5em 1em;
    padding-right: 0;
}
section ul li {
    border-left: 1px solid #739a42;    
}
section ul li::before {
    position: absolute;
    content: "";
    height: 1px;
    width: 1em;
    background-color: #739a42;
    top: 50%;
    left: -0.5em;
}
section ol li::before {
    content: counter(list)".";
    color: #739a42;
    margin-right: 1em;
}

/*引用スタイル*/
section blockquote {
    position: relative;
    padding: 1.5em;
    background-color: #d8dad3;
    overflow: hidden;
}
section blockquote::before {
    position: absolute;
    content: "“";
    top: 0;
    left: 0;
    opacity: .3;
    font-family:"ＭＳ Ｐゴシック",sans-serif;
    font-size: 500%;
    line-height: 1;
}

/*テーブルスタイル*/
section table { 
    table-layout: fixed;
    width: 100%;
}
section td, section th{ 
    padding: .5em;
    border: 1px solid #bfc3b7;
}
section th {
    font-weight: bold;
    background-color: #d8dad3;
}

section:nth-child(n+2) {
    margin-top: 10rem;
}

/*================================================
*  ページナビ
================================================*/
.pagenav {
    position: fixed;    
    z-index: 1000;
}

#gotop {
    bottom: 5%;
    right: 5%;
    
}
#gotop .pagenav_item {
    display: table-cell;
    width: 2em;
    height: 2em;
    color: #d8dad3;
    background-color: #4a4a48;
    font-size: 3.6rem;
    text-align: center;
    vertical-align: middle;
}

#gomenu {
    width: 100%;
    top: 5px;
    left: 0;
    color: #fff;
}
#gomenu .pagenav_item {
    position: relative;
    display: block;
    color: inherit;
    font-weight: bold;
    text-align: center;
}
#gomenu .pagenav_item::before,
#gomenu .pagenav_item::after {
    position: absolute;
    content: "";
    width: 35%;
    height: 1px;
    top: 50%;
    background-color: #fff;    
}
#gomenu .pagenav_item::before {
    left: 5%;
}
#gomenu .pagenav_item::after {
    right: 5%;
}

#gomenu.is-black {
    color: #4a4a48;
}
#gomenu.is-black .pagenav_item::before,
#gomenu.is-black .pagenav_item::after {
    background-color: #4a4a48;    
}
/*================================================
*  タブレット向け
================================================*/
@media screen and (max-width:979px){
    #sitetitle {
        font-size: 3.6rem;
    }
    
    section td,
    section th {
        display: block;
    }
}

/*================================================
*  スマートフォン向け
================================================*/
@media screen and (max-width:767px){
    .h1 {
        font-size: 2.8rem;
    }
    #summary {
        display: none;
    }
        
    #sitetitle {
        font-size: 2.8rem;
    }
    
    #main::before {
        top: -50px;
        border-top: 50px solid transparent;
    }
    #main::after,
    #sidebar::after {
        bottom: -50px;
        border-bottom: 50px solid transparent;
    }
    
    
    .menu {
        display: block;
    }
    .menu_item:nth-child(n) {
        padding: 1em 0;
        padding-left: 1em;
        width: 100%;
        text-align: left;
        border-left: 1px solid #566246;
        border-right: none;
    }
    .menu_item:nth-child(n)::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -0.5em;
        height: 1px;
        width: 1em;
        background-color: #566246;
    }
}