@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: #4D5B6A;
    background-color: #FFFFEB;
    
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

.l_item {
    box-sizing: border-box;
    padding: 3vw;
}


a {
    color: #FFBE4F;
    text-decoration: none;
}
a:visited {
    color: #A6ADAB;
}
a:hover {
    opacity: .5;
}

.h1 {
    display: block;
    padding: .5em 0;
    border-bottom: 1px solid #4D5B6A;
}

small {
    font-size: .8em;
}

/*================================================
*  ヘッダー
================================================*/
#header,
#footer {
    width: 100%;
    color: #A6ADAB;
    background-color: #4D5B6A;
}

#sitetitle {
    color: #FFBE4F;
    font-size: 2.8rem;
}
#sitetitle a:visited {
    color: inherit;
}

/*================================================
*  サイドバー
================================================*/
#sidebar {
    width: 30%;
    background-color: #FFBE4F;
}

.view {
    margin: -3vw -3vw 3vw -6vw;
}
.view img {
    display: block;
    width: 100%;
}

.menu {
    margin-top: 1em;
}
.menu_item {
    display: block;
    margin: .75em 0;
    color: #4D5B6A;
}
.menu_item:hover {
    opacity: inherit;
}
.menu_item::before {
    content: "-";
    margin-right: 1em;
    color: #fff;
}
.menu_item:hover::before {
    color: #4D5B6A;
}

/*================================================
*  メイン
================================================*/
#main {
    display: block;
    width: 70%;
}

.post_title {
    font-size: 2.8rem;
}

.post {
    margin-right: 3vw;
    max-width: 1200px;
}

.fig {
    display: inline-block;
}
.fig_img {
    display: block;
}
.fig_cap {
    display: block;
    color: #A6ADAB;
    font-size: .8em;
}

/*================================================
*  フッター
================================================*/
#footer {
    width: 100%;
}

#copyright {
    display: block;
    text-align: center;
}

/*================================================
*  本文設定
================================================*/
section > * { margin: 2.5rem 0;}

/*見出しスタイル*/
section h1 { 
    font-size: 3.6rem;
}
section h2 { font-size: 3.2rem;}
section h3 { font-size: 2.8rem;}
section h4 { font-size: 2.4rem;}
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 { 
    border-bottom: 1px dashed #FFBE4F;
}
section a {
    font-weight: bold;
}

/*リストスタイル*/
section ul, section ol { list-style-type: none;}
section ol { counter-reset: list;}
section li {
    margin: .5em 0;
}
section li li {
    padding-left: 1.5em;
}
section li::before {
    display: inline-block;
    font-size: .8em;
    margin-right: 1em;
    padding: .5em;
    color: #FFFFEB;
    background-color: #4D5B6A;
}
section ul li::before {
    content: "-";
}
section ol li::before {
    counter-increment: list;
    content: counters(list, "-");
}

/*引用スタイル*/
section blockquote {
    position: relative;
    padding: 1.5em;
    padding-right: 0;
    overflow: hidden;
    border-left: 5px double #4D5B6A;
}
section blockquote::before {
    position: absolute;
    content: "“";
    top: 0;
    left: 0;
    font: 500% "ＭＳ Ｐゴシック", sans-serif;
}

/*テーブルスタイル*/
section table { table-layout: fixed;}
section td, section th{ padding: .5em;}
section th {
    background-color: #FFBE4F;
}
section td {
    border-bottom: 1px solid #A6ADAB;
}

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


/*================================================
*  ページナビ
================================================*/
.pagenav {
    position: fixed;
    background-color: #FFBE4F;
    box-sizing: border-box;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: .25em;
    
    box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    
    display: none;
}

.pagenav_item {
    display: inline-block;
    font-size: .8em;
    margin: 0 1em;
    color: #4D5B6A;
}

/*================================================
*  タブレット向け
================================================*/
@media screen and (max-width:979px){
    body {
        display: block;
    }
    #main, #sidebar {
        width: 100%;
    }
    
    .view {
        margin: -3vw;
        margin-bottom: auto;
    }
    
    .pagenav {
        display: block;
    }
}

/*================================================
*  スマートフォン向け
================================================*/
@media screen and (max-width:767px){
    #sitetitle {
        font-size: 2rem;
    }
    
    #summary {
        display: none;
    }
    
    .post_title {
        padding: 0;
        font-size: 2.4rem;
    }
    
    /*テーブルスタイル*/
    section table {
        width: 100%;
    }
    section td, section th{ 
        display: block;
    }
    section td {
        border: none;
    }
    section tr td:not(:last-child) {
        border-bottom: 1px solid #A6ADAB;
    }
}