@charset "UTF-8";

/************************************************************************************
link-style
*************************************************************************************/

a:link {
    color: #202020;
    text-decoration: none;
    transition: 1s ease-in-out;
}
a:visited {
    color: #202020;
    text-decoration: none;
    transition: 1s ease-in-out;
}
a:active {
    color: #544735;
    text-decoration: none;
}
a:hover {
    color: #544735;
    text-decoration: none;
}

/************************************************************************************
typography
*************************************************************************************/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    line-height: 1.2em;
    margin: 0;
    text-transform: uppercase;
}

h1 {
    font-size: 20px;
}

h2 {
    font-size: 15px;
}

h3 {
    font-size: 13px;
    padding: 0 0 20px;
}

h4,
h5,
h6 {
    font-size: 16px;
    padding: 0 0 20px;
}

/************************************************************************************
general
*************************************************************************************/

html {
    scroll-behavior: smooth;
    position: static;
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/************************************************************************************
list-style
*************************************************************************************/

ol,
ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.blogpost ul,
.plugcontent ul {
    margin: 0 0 0 1.5em;
}

.blogpost ol,
.plugcontent ol {
    margin: 0 0 0 1.5em;
}

.blogpost ul li,
.plugcontent ul li {
    list-style-type: circle;
    list-style-position: outside;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

.blogpost ol li,
.plugcontent ol li {
    list-style-type: decimal;
    list-style-position: outside;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

/************************************************************************************
body
*************************************************************************************/

body {
    font-size: 13px;
    font-family: 'YuGothic', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角あゴ ProN', Meiryo, メイリオ, 'MS PGothic', Helvetica, Arial, sans-serif;
    color: #202020;
    line-height: 1.9em;
    letter-spacing: 0.1em;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    position: static;
    overflow: hidden;
    background-color: #F8F7F5;
}

/************************************************************************************
container
*************************************************************************************/

#container {
    width: 100%;
    margin: 0;
    position: relative;
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    grid-template-rows: auto 1fr auto;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/************************************************************************************
header-container
*************************************************************************************/

#header-container {
    height: auto;
    padding: 21% 18%;
    background-color: #ffffff;
    margin: 0;
}

#header-container header {
    padding: 0;
    margin: 0 0 50px;
}

.intro {
    font-size: 12px;
    position: relative;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    line-height: 1.2em;
}

/************************************************************************************
menu
*************************************************************************************/

#checkleft {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    transition: 0.3s;
}

.buttonleft,
.buttonleft span {
    display: block;
    transition: 0.3s;
    cursor: pointer;
}

.menu {
    width: 100%;
    height: auto;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    line-height: 1.2em;
    text-transform: uppercase;
    font-size: 12px;
}

.menu ul {
    padding: 0;
    margin: 0;
}

.menu ul li {
    margin: 0;
    padding: 10px 0;
}

.menu input[type="text"] {
    width: 3.5rem;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    line-height: 1.2em;
    text-transform: uppercase;
    font-size: 12px;
}

.menu input::placeholder {
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: #202020;
    font-size: 12px;
}

.menu input[type="text"]:focus {
    outline: none !important;
    border: none;
    background-color: transparent;
}

/************************************************************************************
main-container
*************************************************************************************/

#main-container {
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 1;
    padding: 7% 6%;
    overflow: hidden;
    animation: fadein 0.5s forwards;
}

.notpermanent {
    margin: 0;
    padding: 0;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    grid-auto-rows: 20px;
}

.itempost {
    margin: 0;
    padding: 0;
    border-radius: 5px;
    overflow: hidden;
    background-color: #ffffff;
}

.itempost .itemimg {
    width: 100%;
    position: relative;
}

.itempost .itemimg img {
    width: 100%;
    margin: 0;
    transition: all 0.5s ease;
}

.itempost .itemimg a:hover img {
    opacity:0.8;
}

.itemimg p {
    font-size: 13px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f8f7f5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    margin: auto;
    z-index: 97;
    text-align: center;
}

.itemtext {
    position: relative;
    padding: 40px 10% 10px;
}

.itemtext time {
    font-size: 12px;
    width: 50px;
    height: 50px;
    background-color: #202020;
    color: #F8F7F5;
    position: absolute;
    top: -30px;
    left: 50%;
    margin-left: -25px;
    border-radius: 25px;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1rem;
    padding: 9px 0 0;
}

.cm {
    text-align: right;
    padding: 0;
    font-size: 10px;
}

.cm svg {
    width: 12px;
}

.text_overflow {
    margin: 10px 0 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.readmore a {
    display: inline-block;
    padding: 0;
    margin: 20px 0 0;
    font-size: 10px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/************************************************************************************
permanent editarea titlelist
*************************************************************************************/

#permanent {
    padding: 0 10%;
    margin: 0;
}

#permanent .blogpost {
    padding: 0 0 20px;
    margin-bottom: 40px;
    position: relative;
}

.blogpost header {
    width: 100%;
    padding: 0 0 20px;
}

.info {
    font-size: 9px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.info svg {
    width: 12px;
    vertical-align: text-top;
}

.month01:before {
    content: "Jan";
}
.month02:before {
    content: "Feb";
}
.month03:before {
    content: "Mar";
}
.month04:before {
    content: "Apr";
}
.month05:before {
    content: "May";
}
.month06:before {
    content: "Jun";
}
.month07:before {
    content: "Jul";
}
.month08:before {
    content: "Aug";
}
.month09:before {
    content: "Sep";
}
.month10:before {
    content: "Oct";
}
.month11:before {
    content: "Nov";
}
.month12:before {
    content: "Dec";
}

.blogpost img {
    max-width: 100% !important;
    height: auto;
}

/* footer */

.bottomfooter {
    width: 100%;
    height: auto;
    margin: 20px 0;
    padding: 0;
    text-align: left;
    display: flex;
    border-top: 1px #202020 solid;
    border-bottom: 1px #202020 solid;
}

.authorimage {
    width: 20%;
    padding: 20px 20px 20px 0;
    border-right: 1px #202020 solid;
    display: flex;
    justify-content: center;
    align-items: center;
}

.authortext {
    width: 80%;
    padding: 20px 0 20px 20px;
    text-align: left;
}

.authorimage img {
    width: 100%;
    height: auto;
}

.name {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.authortext p {
    margin: 10px 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    font-size: 11px;
}

/* social share */

.social-share ul {
    display: flex;
    align-items: center;
    margin: 0;
}

.social-share ul li {
    margin: 0 20px 0 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share {
    color: #202020;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 12px;
}

.x-share svg {
    width: 13px;
    fill: #202020;
    margin: 0;
}

.facebook-share svg a:visited path,
.mail-share svg a:visited path,
.pinterest-share svg a:visited path,
.x-share svg a:visited path {
    fill: #202020;
}

.pinterest-share svg {
    width: 12px;
    fill: #202020;
    margin: 0;
}

.facebook-share svg {
    width: 8px;
    fill: #202020;
    margin: 0;
}

.mail-share svg {
    width: 17px;
    fill: #202020;
    margin: 0;
}

.blogpostfooter {
    font-size: 10px;
    text-align: right;
}

.postcategory svg,
.posttag svg {
    width: 12px;
    vertical-align: middle;
}

/************************************************************************************
comment
*************************************************************************************/

.comment {
    padding: 40px 0 0;
    margin: 0;
}

.ecomment {
    height: auto;
    padding: 0 10%;
}

.comtitle {
    margin: 0;
    padding: 0 0 20px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    font-size: 12px;
}

.管理人 .comtitle {
    display: flex;
    align-items: center;
    margin: 0 important;
    padding: 0 0 20px;
}

.管理人 .comtitle:before {
    width: 50px !important;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 50%;
    background-image: url("https://blog-imgs-174.fc2.com/m/y/s/mysticdiary/room.jpg");
    background-position: center center;
    background-size: 100% 100%;
    content: "";
    display: block;
    margin: 0 20px 0 0;
}

.ctriangle {
    width: 100%;
    position: relative;
    margin: 18px 0 10px;
    padding: 30px;
    border-bottom: 1px #202020 solid;
}

.cbody {
    padding: 10px 10px 0;
}

.comfooter {
    font-size: 11px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-align: right;
}

.pcomment,
.trackback {
    padding: 40px 0 0;
    margin: 0 0 30px;
}

.ecomment p,
.pcomment p {
    padding: 5px 0;
}

.ecomment label,
.pcomment label {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    font-size: 9px;
    text-transform: uppercase;
}

#email,
#name,
#title,
#website {
    width: 48%;
    padding: 5px 10px;
    margin: 0 1% 0 0;
    border: none;
    outline: none;
    background-color: transparent;
    border-bottom: 1px #202020 solid;
    display: inline;
    font-size: 13px;
}

input[type="text"],
input[type="email"],
input[type="url"] {
    font-size: 13px;
    -webkit-border-radius: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.075) inset;
    background-color: transparent;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus {
    outline: none !important;
    border: none;
}

input[type="checkbox"] {
    vertical-align: middle;
}

textarea {
    width: 99.9%;
    height: 150px;
    scrollbar-base-color: transparent;
    scrollbar-track-color: transpanret;
    overflow: auto;
    border: none;
    outline: none;
    border-bottom: 1px #202020 solid;
    -webkit-appearance: none;
    border-radius: 0;
    padding: 5px 10px;
    font-size: 13px;
    background-color: transparent;
}

#password {
    width: 30%;
    padding: 5px 10px;
    border: none;
    outline: none;
    border-bottom: 1px #202020 solid;
    background-color: transparent;
}

#dcom,
#ecom,
#ppost {
    padding: 8px 20px;
    margin: 0 0 10px;
    height: auto;
    border: 1px #202020 solid;
    width: auto;
    font-size: 10px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: transparent;
    border-radius: 255px;
}

/************************************************************************************
trackback
*************************************************************************************/

.trackback {
    padding: 0;
    margin: 0;
    word-break: break-all;
}

.tbfooter {
    padding: 10px 0 0;
    border-bottom: 0.5px #202020 solid;
    margin: 0;
    font-size: 9px;
    text-align: right;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    font-style: italic;
}

/************************************************************************************
titlelist
*************************************************************************************/

.titlelist {
    width: 100%;
    position: relative;
    padding: 0 10%;
}

.titlelistfooter {
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 10px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
}

/***********************************************************************************
searcharea
*************************************************************************************/

.none {
    display: none;
}

.block {
    display: block;
    padding: 0 30px;
    height: 400px;
}

/************************************************************************************
sidebar
*************************************************************************************/

#sidebar {
    padding: 0 18%;
    width: auto;
    margin: 0;
    grid-column-start: 1;
    grid-row-start: 2;
    background-color: #ffffff;
}

.plugcontent {
    font-size: 13px;
    margin: 0 0 30px;
}

#sidebar input[type="text"] {
    width: 99%;
    border-bottom: 1px #202020 solid;
}

#sidebar input[type=submit] {
    padding: 0 10px !important;
    background: #202020;
    margin-top: 10px 0 0 0 !important;
    font-size: 9px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f8f7f5;
}

/************************************************************************************
related post
*************************************************************************************/

.related-post {
    padding: 5% 0;
    margin: 0;
}

.related-post-inner {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
}

.related-post-each {
    width: 30%;
    padding: 0;
    margin: 0 5% 0 0;
}

.related-post-each:nth-child(3) {
    padding: 0;
    margin: 0;
}

.related-post-each:nth-child(4) {
    display: none;
}

.related-post-each a {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
}

.relatedtitle h2 {
    font-size: 0.7rem;
    text-align: center;
}

.relatedimage {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1.1;
    display: block;
}

.relatedimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.relatedimage img:hover {
    filter: brightness(80%);
}

.relatedimage p {
    font-size: 12px;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f8f7f5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    margin: auto;
    z-index: 97;
}

/************************************************************************************
footer
*************************************************************************************/

#footer-container {
    padding: 0 18% 10px;
    grid-row-start: 3;
    background-color: #ffffff;
}

#footer-container footer {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 0.7rem;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/************************************************************************************
navigation
*************************************************************************************/

.pagenav {
    width: 100%;
    height: auto;
    padding: 5% 0;
    margin: 0;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    font-size: 13px;
}

#next,
#prev {
    padding: 0 0.5rem;
}

.postnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0 0;
    grid-template-areas: "dib dib2";
    padding: 2% 0;
    font-size: 12px;
}

#nexttitle {
    grid-area: dib;
    padding: 3% 3% 3% 0;
    margin: 0;
    border-right: 1px #202020 solid;
}

#prevtitle {
    grid-area: dib2;
    padding: 3% 0 3% 3%;
    margin: 0;
    text-align: right;
}

#nexttitle span,
#prevtitle span {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#page-top {
    position: absolute;
    bottom: 10px;
    right: 20px;
}

#page-top svg {
    width: 30px;
}

/************************************
** image
************************************/

figure {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    -webkit-backface-visibility: hidden;
}

iframe[src*="youtube.com"] {
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}

/************************************
** p,table
************************************/

.paragraph,
p {
    margin: 0;
}

table {
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table th {
    background-color: #A3B4BF;
}

table tr:nth-of-type(2n+1) {
    background-color: rgba(163,180,191,0.1);
}

table td,
table th {
    border: 1px solid #A3B4BF;
    padding: 6px;
}

/************************************
** 引用（blockquote）
************************************/

blockquote {
    background-color: rgba(163,180,191,0.1);
    margin: 1em 0;
    padding: 30px 1.2em;
    position: relative;
}

blockquote::after,
blockquote::before {
    color: #A3B4BF;
    font-family: serif;
    position: absolute;
    font-size: 400%;
}

blockquote::before {
    content: "“";
    line-height: 1.1;
    left: 10px;
    top: 0;
}

blockquote::after {
    content: "”";
    line-height: 0;
    right: 10px;
    bottom: 0;
}

/************************************
** pre
************************************/

pre {
    background-color: rgba(163,180,191,0.1);
    border: 0.5px solid #202020;
    overflow: auto;
    padding: 10px;
    margin: 1em 0;
    max-height: 500px;
    overflow-y: auto;
}

/************************************************************************************
smaller than 1100
*************************************************************************************/
@media screen and (max-width: 1100px) {

    #container {
        display: block;
    }

    #header-container {
        width: 100%;
        padding: 5% 10%;
    }

    #header-container header {
        margin: 0;
        text-align: center;
    }

    .buttonleft,
    .buttonleft span {
        display: block;
        transition: 0.3s;
        cursor: pointer;
    }

    #checkleft:checked~ .menu {
        position: fixed;
        top: 0;
        left: 0;
        opacity: 1;
        transition: 0.3s;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        z-index: 998;
    }

    #checkleft:not(:checked)~ .menu {
        left: -100%;
        opacity: 0;
        position: fixed;
        top: 0;
        transition: 0.3s;
    }

    .buttonleft {
        position: absolute;
        top: 0;
        left: 0;
        width: 65px;
        height: 60px;
        padding: 20px;
        z-index: 999;
        display: block;
    }

    .buttonleft span {
        width: 23px;
        height: 2px;
        background-color: #f8f7f5;
        border-bottom: 1px #131313 solid;
        border-radius: 2px;
        z-index: 99;
        display: block;
        position: absolute;
    }

    .buttonleft span:nth-of-type(1) {
        top: 10px;
    }

    .buttonleft span:nth-of-type(2) {
        width: 20px;
        top: 18px;
    }

    .buttonleft span:nth-of-type(3) {
        top: 26px;
    }

    #checkleft:checked~ .buttonleft span:nth-of-type(1) {
        transform: translateY(9px) rotate(-45deg);
    }

    #checkleft:checked~ .buttonleft span:nth-of-type(2) {
        opacity: 0;
    }

    #checkleft:checked~ .buttonleft span:nth-of-type(3) {
        transform: translateY(-7px) rotate(45deg);
    }

    .menu {
        position: relative;
        top: auto;
        right: auto;
        font-size: 16px;
        width: 100%;
        display: block;
        mix-blend-mode: unset;
    }

    .menu ul {
        padding: 0;
        display: block;
        width: 100%;
        text-align: center;
        padding: 10%;
    }

    .menu ul li {
        margin: 0;
        padding: 10px 0;
        text-align: center;
        width: 100%;
    }

    .menu ul li:nth-child(3) {
        margin-left: 0;
    }

    .menu li a:hover,
    .menu li a:link,
    .menu li a:visited {
        color: #f8f7f5;
    }

    .menu input[type="text"] {
        text-align: center;
        color: #f8f7f5;
        font-size: 16px;
        width: 100%;
    }

    .menu input::placeholder {
        margin: 0;
        padding: 0;
        background-color: transparent;
        color: #f8f7f5;
        font-size: 16px;
    }

    #main-container {
        padding: 10% 10% 5%;
    }

    #sidebar {
        padding: 5% 10%;
        width: auto;
        margin: 0;
    }

    #footer-container {
        padding: 0 10% 10px;
    }

}

/************************************************************************************
smaller than 830
*************************************************************************************/
@media screen and (max-width: 830px) {

    #header-container {
        width: 100%;
        padding: 5%;
    }

    #main-container {
        padding: 10% 5% 5%;
    }

    #permanent {
        padding: 0;
        margin: 0;
    }

    .ecomment {
        padding: 0;
    }

    .titlelist {
        padding: 0;
    }

    #sidebar {
        padding: 5%;
        width: auto;
        margin: 0;
    }

    #footer-container {
        padding: 0 5% 10px;
    }

}

/************************************************************************************
smaller than 600
*************************************************************************************/
@media screen and (max-width: 600px) {

    .authorimage {
        width: 30%;
    }

    .authortext {
        width: 70%;
    }

    .related-post-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .related-post-each {
        width: 48%;
        padding: 0 !important;
        margin: 0 0 30px 0 !important;
    }

    .related-post-each:nth-child(4) {
        display: block;
    }

}
