@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: #403d39;
    background-color: #fffcf2;
    position: relative;
}

a {
    color: #eb5e28;
    text-decoration: none;
}
a:visited {
    color: #ccc5b9;
}
a:hover {
    color: #403d39;
}

.l_wrapper {
    position: relative;
    margin-left: 30%;

    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.l_item {
    padding: 3vw;
}


.h1 {
    display: block;
    font-size: 2.8rem;
    font-weight: normal;
    text-align: center;
}
.h1::before {
    content: attr(data-back);
    display: block;
    color: #eb5e28;
    font-size: .6em;
}


/*================================================
*  ヘッダー
================================================*/
#header {
    box-sizing: border-box;
    position: absolute;
    width: 30%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #eb5e28;
    z-index: 1000;
}
#header::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 30px;
    right: 0px;
    border: 30px solid transparent;
    border-right: 40px solid #fffcf2;
}

.header_item {
    position: fixed;
    top: 0;
    left: 0;
    width: 30%;
    height: 100vh;
    min-height: 400px;
    
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
}
.header_item.is-walldown {
    position: static;
    width: 100%;
}
#sitetitle {
    box-sizing: border-box;
    width: 100%;
    padding: 1em;
    color: #fffcf2;
}
#sitetitle a {
    color: inherit;
}
#summary {
    box-sizing: border-box;
    width: 100%;
    padding: 1em;
}


/*================================================
*  サイドバー
================================================*/
.menu {
    margin: 5rem 0;

    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}
.menu li {
    box-sizing: border-box;
    width: 33.3%;
    border-left: 1px solid #eb5e28;
}
.menu li a {
    box-sizing: border-box;
    display: block;
    padding: 1em;
    height: 100%;
}
.menu li:hover {
    border-left: 1px solid transparent;
}

/*================================================
*  メイン
================================================*/
.post_main {
    margin: 0 auto;
    max-width: 700px;
}

.post_view {
    display: block;
    margin: 3vw auto;
    width: 100%;
    max-width: 40vmax;
}

.post_img {
    display: block;
    max-width: 100%;
    max-height: 40vh;
    margin: 0 auto;
    box-shadow: 5px 5px 10px rgba(64, 61, 57, 0.3);
}

/*================================================
*  フッター
================================================*/
#footer {
    color: #ccc5b9;
    background-color: #403d39;
}
.copyright {
    display: block;
    padding: 1em;
    font-size: 1.6rem;
}

/*================================================
*  本文設定
================================================*/
section > * { margin: 2.5rem 0;}
section {
    margin-top: 5rem;
}
/*見出しスタイル*/
section h1 { font-size: 3.2rem;}
section h2 { font-size: 2.8rem;}
section h3 { 
    box-sizing: border-box;
    font-size: 2.4rem;
    padding-left: 6px;
    border-left: 3px solid #eb5e28;
}
section h4 { 
    color: #eb5e28;
    font-weight: bold;
}
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 { 
    font-style: oblique;
    font-weight: bold;
}

/*リストスタイル*/
section ul, section ol { list-style-type: none;}
section ol { counter-reset: list;}
section ol li { counter-increment: list;}
section li {
    margin: .5em 0;
    padding-left: 1.5em;
}
section ul li::before {
    display: inline-block;
    content: "";
    height: 1px;
    width: 1em;
    margin-right: 1em;
    vertical-align: middle;
    background-color: #eb5e28;
}
section ol li::before {
    content: counters(list, "-")".";
    margin-right: 1em;
    color: #eb5e28;
}

/*引用スタイル*/
section blockquote {
    position: relative;
    padding: 1.5em;
    background-color: #ccc5b9;
    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;
    text-align: center;
}
section th {
    color: #fffcf2;
    background-color: #eb5e28;
}
section table tr:nth-child(2n + 1) {
    background-color: #e6e1d6;
}

/*================================================
*  ページナビ
================================================*/
#menuon {
    margin: 5rem 0;
    color: #fffcf2;
}
#menuon a {
    display: inline-block;
    color: inherit;
    padding: .25em 1em;
    border-top: 1px solid #403d39;
    border-bottom: 1px solid #403d39;
}
#menuon a:hover {
    border: none;
}


#pagetop {
    position: fixed;
    display: block;
    bottom: 5vw;
    right: 5vw;
    width: 6rem;
    height: 6rem;

    color: #fffcf2;
    background-color: #252422;
    z-index: 1000;
}
.pagenav_item {
    display: block;
    color: inherit;
    font-size: 1.6rem;
    text-align: center;
}
.pagenav_item:hover {
    color: #eb5e28;
}
.pagenav_icon {
    font-size: 200%;
    display: block;
    line-height: 1;
}

/*================================================
*  タブレット向け
================================================*/
@media screen and (max-width:979px){
    .l_wrapper {
        margin-left: 0;
    }
    #header {
        position: relative;
        width: 100%;
    }
    #header::before {
        top: auto;
        bottom: 0px;
        left: 30px;
        border: 20px solid transparent;
        border-bottom: 20px solid #fffcf2;
    }
    .header_item {
        position: static;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    #sitetitle {
        padding: 0;
        margin-top: 1rem;
    }
    #menuon {
        margin: 1rem;
    }
    #menuon a {
        font-size: 1.6rem;
    }

    #summary {
        display: none;
    }

    .h1 {
        font-size: 2.4rem;
    }

    .menu li {
        width: 50%;
    }


    /*見出しスタイル*/
    section h1 { font-size: 2.8rem;}
    section h2 { font-size: 2.4rem;}
    section h3 { font-size: 2.2rem; }
    section td, section th { display: block; }
    section table tr:nth-child(n) { background-color: #fffcf2; }
    section table td:nth-child(2n + 2) { background-color: #e6e1d6; }
}

/*================================================
*  スマートフォン向け
================================================*/
@media screen and (max-width:767px){
    .menu li {
        width: 100%;
    }
}