﻿@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: #000;
    background-color: #ccc;
}

a {
    color: #900;
}
a:visited {
    color: #666;
}
a:hover {
    text-decoration: none;
}

.l_wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -ms-align-items: stretch;
    align-items: stretch;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
}
.l_item {
    box-sizing: border-box;
    padding: 2.5rem;
    background-color: #fff;
    box-shadow: 15px 15px 0px rgba(0,0,0,0.1);
}

.h1 {
    display: block;
    font-size: 3.2rem;
    color: #000;
    border-bottom: 1px solid #000;
}

/*================================================
*  ヘッダー
================================================*/
#header {
    border-top: none;
    width: 100%;
    margin-bottom: 5rem;
}

#siteTitle {
    font-size: 3.6rem;
}
.summary {
    width: 100%;
}

/*================================================
*  サイドバー
================================================*/
#sidebar {
    width: -webkit-calc(30% - 5rem / 2);
    width: calc(30% - 5rem / 2);
}

.menu {
    margin: 5rem 0;
}
.menu li {
    margin: .5em 0;
}

/*================================================
*  メイン
================================================*/
#main {
    width: -webkit-calc(70% - 5rem / 2);
    width: calc(70% - 5rem / 2);
}

.post_view {
    display: block;
    /*適宜変更してください*/
    margin: 0 auto;
    max-width: 100%;
    max-height: 40vh;
}

.post_main {
    margin-top: 5rem;
    padding: 0 .5em;
}

/*================================================
*  フッター
================================================*/
#footer {
    border-bottom: none;
    width: 100%;
    margin-top: 5rem;
}
.copyright {
    text-align: center;
    display: block;
}

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

/*見出しスタイル*/
section h1 { 
    font-size: 3.6rem;
}
section h2 { 
    padding-left: .5em;
    font-size: 2.8rem;
    border-left: 5px solid #000;
}
section h3 { font-size: 2.4rem;}
section h4 { 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 {
    margin: .5em 0;
    padding-left: 1.5em;
}
section ul li::before {
    display: inline-block;
    content: "";
    height: 1em;
    width: 1em;
    margin-right: 1em;
    vertical-align: middle;
    background-color: #900;
}
section ol li::before {
    content: counters(list, "-")".";
    color: #900;
    margin-right: 1em;
}

/*引用スタイル*/
section blockquote {
    position: relative;
    padding: 1.5em;
    background-color: #ccc;
    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;}
section td, section th{ padding: .5em;}
section th {
    text-align: left;
    background-color: #ccc;
}
section tr:not(:last-child) {
    border-bottom: 1px solid #666;
}

/*================================================
*  ページナビ
================================================*/

.page_nav {
    position: fixed;
}

#menuon {
    display: none;
}

/*トップに戻るやつ*/
#pagetop {
    z-index: 1000;
    right: 5%;
    bottom: 5%;
    width: 4em;
    height: 4em;
    background-color: #000;
    overflow: hidden;
}
#pagetop a {
    text-decoration: none;
    display: block;
    color: #fff;
    font-size: 3em;
    text-align: center;
}
#pagetop:hover {
    background-color: transparent;
}
#pagetop:hover a {
    color: #000;
}

/*================================================
*  スマートフォン向け
================================================*/
@media screen and (max-width:979px){
    /*レイアウト*/
    #main, #sidebar {
        width: 100%;
        margin: 2.5rem 0;
    }
    #header {
        margin-bottom: 2.5rem;
    }
    #footer {
        margin-top: 2.5rem;
    }
    .l_item {
        padding: 1.5rem;
        box-shadow: none;
    }
    
    /*見出し*/
    #siteTitle, .h1 {
        font-size: 2.4rem;
    }
    
    
    /*トップに戻るやつ*/
    #pagetop {
        width: 3em;
        height: 3em;
    }
    #pagetop a {
        font-size: 2em;
    }
    
    /*その他サイズ*/
    .post_main {
        margin-top: 2.5rem;
        padding: 0;
    }
    section {
        margin-top: 2.5rem;
    }
    .menu {
        margin-top: 2.5rem;
    }
    
    /*見出しスタイル*/
    section h1 { 
        font-size: 2.8rem;
    }
    section h2 { 
        padding-left: .5em;
        font-weight: bold;
        font-size: 2.0rem;
    }
    section h3 { font-size: 2.0rem; font-weight: bold;}
}

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