@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: #666;
    background: -webkit-linear-gradient(bottom, #ffe2cf 0%, #8e92a8 100%) fixed;
    background: linear-gradient(to top, #ffe2cf 0%, #8e92a8 100%) fixed;
    
    margin: 0 auto;
    padding: 0 3vw;
    max-width: 1200px;
    
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

a {
    color: #FF1654;
    text-decoration: none;
}
a:visited {
    color: #8e92a8;
}
a:hover {
    text-decoration: underline;
}

#header, #footer {
    width: 100%;
    margin: 3vw 0;
}
.header_item, .footer_item, .main_item {
    padding: 3vw;
}

.l_item:not(#sidebar) {
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
}

.h1 {
    display: block;
    padding: .5em;
    text-align: center;
    color: #fff;
    font-size: 2.4rem;
}

small {
    font-size: .8em;
}

/*================================================
*  ヘッダー
================================================*/


/*================================================
*  サイドバー
================================================*/
#sidebar {
    width: 35%;
}
.menu_item {
    position: relative;
    left: -0.5em;
    display: block;
    padding: .5em 1em;
    margin: .5em 0;
    color: #fff;
    background-color: #3b435f;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
    border-radius: 0 1rem 1rem 0;
    
    transition: all .25s ease;
}
.menu_item:hover {
    text-decoration: none;
    left: 0;
}

/*================================================
*  メイン
================================================*/
#main {
    display: block;
    width: 65%;
    z-index: 1;
}
.post_title {
    font-size: 2.8rem;
    color: #8e92a8;
}
.post_title:first-letter {
    color: #FF1654;
}
.post_header {
}
.post_header::after {
    display: block;
    content: "";
    margin-top: 3vw;
    height: 40vh;
    background: url(../images/bg-min.jpg) center/cover;
    border-radius: 1rem;
}

.post_main {
}

.fig {
    display: inline-block;
}
.fig_img {
    display: block;
    max-width: 100%;
}
.fig_cap {
    color: #8e92a8;
    font-size: .8em;
}

/*================================================
*  フッター
================================================*/
#copyright {
    display: block;
}

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

/*見出しスタイル*/
section h1 { 
    font-size: 3.6rem;
    text-align: center;
}
section h2 { 
    font-size: 3.2rem;
    border-bottom: 1px solid #dde0ed;
}
section h3 { 
    position: relative;
    font-size: 2.8rem;
    padding-left: 1em;
}
section h3::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: .25em;
    left: 0;
    border: .5em solid transparent;
    border-left: .5em solid #8e92a8;
}
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 { 
    background-color: #ffff00;
}

/*リストスタイル*/
section ul, section ol { list-style-type: none;}
section ol { counter-reset: list;}
section ul, section ol {
    padding: .25em 1em;
    background-color: #dde0ed;
}
section>ul>li,
section>ol>li {
    padding-left: 0;
}
section li {
    margin: .5em 0;
    padding-left: 1em;
}
section li::before {
    color: #FF1654;
    font-weight: bold;
    margin-right: 1em;
}
section ul li::before {
    content: "- ";
}
section ol li::before {
    counter-increment: list;
    content: counters(list, "-")".";
}

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

/*テーブルスタイル*/
section table { 
    table-layout: fixed;
    width: 100%;
    background-color: #dde0ed;
}
section td, section th{ padding: .5em;}
section th {
    text-align: left;
    background-color: #fff;
}
section tr:not(:last-child) {
    border-bottom: 1px solid #8e92a8;
}

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

/*================================================
*  ページナビ
================================================*/
.pagenav {
    position: fixed;
    color: #fff;
    
    right: 5%;
    bottom: 5%;
    z-index: 1000;
}

.pagenav_item {
    box-sizing: border-box;
    display: inline-block;
    margin: 0 .25em;
    padding-top: .25em;
    width: 2em;
    height: 2em;
    color: inherit;
    background-color: #8e92a8;
    font-size: 2.8rem;
    text-align: center;
    
    box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
    transition: all .25s ease;
}
.pagenav_item:visited {
    color: inherit;
}
.pagenav_item:hover {
    text-decoration: none;
    box-shadow: 5px 5px 30px rgba(0,0,0,0.5);
}

#gomenu {
    background-color: #FF1654;
    display: none;
}

/*================================================
*  タブレット向け
================================================*/
@media screen and (max-width:979px){
    #main, #sidebar {
        width: 100%;
    }
    #sidebar {
        margin-top: 3vw;
    }
    
    .menu_item {
        left: 0;
        top: 0;
        border-radius: 1rem;
    }
    .menu_item:hover {
        top: .25em;
    }
    
    #gomenu {
        display: inline-block;
    }
}

/*================================================
*  スマートフォン向け
================================================*/
@media screen and (max-width:767px){
    #summary {
        display: none;
    }
    
    section ul, section ol {
        padding: .25em;
    }
    
    section td,
    section th {
        display: block;
    }
    section tr {
        border-bottom: 1px solid #8e92a8;
    }
    section table tr:first-child {
        border-top: 1px solid #8e92a8;
    }
}