@charset "UTF-8";

/*
Theme Name:LittleDream
Theme URI: https://a-littledream.com
Description: littledreamのテーマ
Version:1.0
Author: baorin
Author URI: https://a-littledream.com
*/
/************************************************************************************
reset
*************************************************************************************/
*,
::after,
::before {
    box-sizing: border-box
}

blockquote,
body,
dd,
dl,
figcaption,
figure,
h1,
h2,
h3,
h4,
li,
ol[class],
p,
ul[class] {
    margin: 0
}

html {
    scroll-behavior: smooth
}

body {
    -webkit-overflow-scrolling: touch;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
word-break: break-word;
overflow-wrap: break-word;
}

ol[class],
ul[class] {
    list-style: none
}

a:not([class]) {
    text-decoration-skip-ink: auto
}

img {
    max-width: 100%;
    display: block
}

article > * + * {
    margin-top: 1em
}

button,
input,
select,
textarea {
    font: inherit
}

/************************************************************************************
link
*************************************************************************************/
a:link {
    color: #ccc;
    text-decoration: none;
    transition: 1s ease-in-out
}

a:visited {
    color: #ccc;
    text-decoration: none;
    transition: 1s ease-in-out
}

a:active {
    color: #fb0066;
    text-decoration: none
}

a:hover {
    color: #fb0066;
    text-decoration: none
}

/************************************************************************************
font-size
*************************************************************************************/
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 10px 0;
    letter-spacing: 2px;
    line-height: 1.2em;
    font-weight: 400;
}

h1 {
    font-size: 30px
}

h2 {
    font-size: 25px
}

h3 {
    font-size: 23px
}

h4 {
    font-size: 20px
}

h5 {
    font-size: 17px
}

h6 {
    font-size: 15px
}

/************************************************************************************
list-style
*************************************************************************************/
ul,
ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.blogpost ul,
.relate_dl ul,
.plugcontent ul,
.footer-contents ul {
    margin: 0 0 0 1.5em;
}

.blogpost ol,
.relate_dl ol,
.plugcontent ol,
.footer-contents ol {
    margin: 0 0 0 1.5em;
}

.blogpost ul li,
.relate_dl ul li,
.plugcontent ul li,
.footer-contents ul li {
    list-style-type: circle;
    list-style-position: outside;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

.blogpost ol li,
.relate_dl ol li,
.plugcontent ol li,
.footer-contents ol li {
    list-style-type: decimal;
    list-style-position: outside;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
}

/************************************************************************************
general
*************************************************************************************/
body {
    font-size: 14px;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    letter-spacing: 2px;
    color: #ccc;
    line-height: 1.9em;

    margin: 0;
    padding: 0;
    position: relative;
    background-color: #4f5891;
    height: 100%;
    overflow-y: auto;
}

body:before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/back.jpg) no-repeat center bottom/cover
}

BODY.modal-open {
    overflow: auto !important;
}

#container {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/kanban.png) no-repeat left 150px/300px auto;
    z-index: 3
}

/************************************************************************************
header-container
*************************************************************************************/
#header-container {
    width: 100%;
    height: 110px;
    padding: 0;
    margin: 0 auto;
    overflow: visible;
    color: #ddd7c9;
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/menu2.gif) transparent no-repeat 300px top/calc(100% - 300px) auto;
    z-index: 10;
    position: relative;
}

/************************************************************************************
site title
*************************************************************************************/
.site-title {
    position: absolute;
    top: 260px;
    left: 60px;
    text-align: center;
}

.site-title h1 {
    margin: 0 !important;
    padding: 0;
    font-size: 23px;
    letter-spacing: 2.5px;
    line-height: 1.2em;
    font-weight: 400;
    font-family: 'IM Fell English', serif;
}

.logo {
    user-select: none;
}

.logo b{  
     color:#fee;
     text-shadow: 0 -40px 100px, 0 0 2px, 0 0 1em rgba(251,0,102,1), 0 0 0.5em rgba(251,0,102,1), 0 0 0.1em rgba(251,0,102,1), 0 10px 3px #000;
}

.logo b span:nth-of-type(2){
      animation: blink linear infinite 2s;
}

.logo b span:nth-of-type(7){
      animation: blink linear infinite 3s;
}

@keyframes blink {
    78% {
        color: inherit;
        text-shadow: inherit
    }

    79% {
        color: #000
    }

    80% {
        text-shadow: none
    }

    81% {
        color: inherit;
        text-shadow: inherit
    }

    82% {
        color: #000;
        text-shadow: none
    }

    83% {
        color: inherit;
        text-shadow: inherit
    }

    92% {
        color: #000;
        text-shadow: none
    }

    92.5% {
        color: inherit;
        text-shadow: inherit
    }
}

.site-title p {
    margin: 0;
    line-height: 1.2em;
    font-size: 11px;
    letter-spacing: 1.5px
}

img.owl {
    width: 80px !important;
    height: auto;
    position: absolute;
    top: 80px;
    left: 70px;
    z-index: 10000;
    pointer-events: auto;
    filter: drop-shadow(4px 4px 4px #000);
}

/************************************************************************************
social-menu
*************************************************************************************/
.smenu {
    margin: 0;
    padding: 0;
    width: 250px;
    z-index: 9999;
    display: flex;
    pointer-events: auto;
    position: absolute;
    top: 360px;
    left: 70px;
}

.smenu li {
    padding: 0;
    margin: 0 15px
}

.smenu li a:hover,
.smenu li a:link,
.smenu li a:visited {
    display: block;
    width: 17px;
    height: 25px
}

.smenu img {
    width: 17px;
    margin: 0
}


/************************************************************************************
main-menu
*************************************************************************************/
#check {
    position: absolute;
    visibility: hidden
}

.button,
.button span {
    display: none;
    transition: 1s;
    cursor: pointer
}

.menu {
    width: 100%;
    height: auto;
    padding: 20px 0 0 300px;
    margin: 0;
    text-transform: uppercase;
    transform: rotate(.001deg);
    color: #fff;
    font-size: 11px;
    position: relative;
    font-family: 'IM Fell English', serif;
    pointer-events: auto;
    z-index: 5;
    letter-spacing: 1px;
}

.main-menu{
    display: flex;
    align-items: center;
    padding: 30px 16% 0 15.5%;
    margin: 0;
}

.main-menu li {
    width: 13em;
    margin: 0;
    padding: 5px 10px;
    position: relative;
    text-align: center;
    background: radial-gradient(at 50% 40%, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.main-menu li a {
    color: #fff;
    text-shadow: 1px 1px 2px #000000;
}

.main-menu li ul {
    position: absolute;
    top: 100%;
    left: 0px;
    list-style: none;
    margin: auto;
    width: 13em;
    text-align: center;
    font-size: 12px;
    line-height: 1.5em;
    display: block;
    z-index: 999;
}

.main-menu li ul li {
    position: relative;
    overflow: hidden;
    width: 13em;
    height: 0;
    transition: .2s;
    margin: 0;
    padding: 0
}

.main-menu li ul li a:link,
.main-menu li ul li a:hover,
.main-menu li ul li a:visited {
    color: #fff;
    text-shadow: 0px 0px 0px #000000;
}

.main-menu li ul li ul {
    position: absolute;
    top: 0;
    left: 100%;
    list-style: none;
    margin: 0;
    width: 13em;
    height: auto;
    display: block;

}

.main-menu li ul li ul li {
    position: relative;
    overflow: hidden;
    width: 13em;
    height: 0;
    transition: .2s
}

.main-menu li ul li a {
    width: 100%;
    height: 100%;
    padding: 7px 10px;
    display: block;
    background: rgba(255, 255, 255, .4);
    border-bottom: 1px #ccc solid;
    color: #fff
}

.main-menu li ul li ul li a {
    width: 100%;
    height: 100%;
    padding: 7px 10px;
    display: block;
    background: rgba(255, 255, 255, .4);
    border-bottom: 1px #ccc solid;
    border-left: 1px #ccc solid
}

.main-menu li:hover > ul > li {
    overflow: visible;
    height: 100%
}

.main-menu li ul li a:hover {
    background: rgba(255, 255, 255, .4);
    color: #fff
}

/************************************************************************************
main-container
*************************************************************************************/
#main-container {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative !important;
    z-index: 5;
    display: flex
}

#maincontents,
#permanent,
#searcharea,
#editarea,
#titlelistarea{
    clear: both;
    width: calc(100% - 300px);
    padding: 50px 3%;
    margin: 0;
    position: relative;
    pointer-events: auto;
    order: 2;
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/renga.jpg) repeat-y left top/15% auto, url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/rengar.jpg) #000 repeat-y right 300px/15% auto;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
word-break: break-all;
}

/************************************************************************************
index-page
*************************************************************************************/
.sa {
    opacity: 0;
    transition: all .5s ease
}

.sa.show {
    opacity: 1;
    transform: none
}

.sa:nth-child(-n+8) {
    opacity: 1
}

#maincontents .blogpost,
#searcharea .blogpost {
    width: calc((100% - 160px)/ 4);
    margin: 0 20px 50px 20px;
    border: none;
    padding: 0;
    overflow: visible;
    position: relative;
    color: #000;
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/backgroundyellow.png) no-repeat center top/100% auto;
    z-index: 5
}

#maincontents .blogpost:nth-child(5n+1),
#searcharea .blogpost:nth-child(5n+1) {
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/backgroundblue.png) no-repeat center top/100% auto;
    color: #ccc
}

#maincontents .blogpost:nth-child(5n+1) a,
#searcharea .blogpost:nth-child(5n+1) a{
    color:#ccc;
}

#maincontents .blogpost-inner,
#searcharea .blogpost-inner {
    overflow: hidden
}

#maincontents .blogpost-inner:before,
#searcharea .blogpost-inner:before {
    content: "";
    padding-top: 170%;
    display: block
}

#maincontents .blogpost a,
#searcharea .blogpost a {
    color: #000
}

#maincoontents .blogpost:nth-child(5n+1) a,
#searcharea .blogpost:nth-child(5n+1) a {
    color: #ccc
}

.post-wrapper {
    width: 75%;
    height: 72%;
    overflow: hidden;
    margin: 0;
    position: absolute;
    top: 20%;
    left: 12.5%
}

.cat-label {
    text-align: center;
    font-size: 10px;
    font-family: serif;
    line-height: 1.2em;
    margin: 10px 0;
    height:1rem;
    overflow:hidden;
}

.cat-label a:nth-child(n + 2) {
    display: none;
}

.post-img {
    width: 100%;
    overflow: visible;
    position: relative;
    margin: 0;
    pointer-events: auto
}

.post-img:before {
    content: "";
    padding-top: 100%;
    display: block
}

.post-img a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto;
    overflow: hidden
}

.post-img img {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    object-fit: cover;
    pointer-events: auto
}

.post {
    width: 100%;
    padding: 0;
    margin: 0
}

.post header {
    padding: 0 5%
}

.post time {
    font-size: 9px;
    letter-spacing: 2px;
    line-height: 1em
}

#maincontents .blogpost .entry-title,
#searcharea .blogpost .entry-title {
    padding: 0 0 10px 0;
    margin: 0;
    font-size: 13px;
    height:1rem;
}

.text-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden !important;
}

/* lamp  */
.stlamp {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    left: -32%;
    z-index: 6
}

.stlampr {
    display: none
}

#maincontents .blogpost:nth-child(4n) .stlampr,
#searcharea .blogpost:nth-child(4n) .stlampr {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    right: -32% !important;
    display: block;
    z-index: 6
}

.waku,
.waku2,
.waku3,
.waku4 {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none
}

#maincontents .blogpost:nth-child(4n+1) .waku2,
#maincontents .blogpost:nth-child(4n+1) .waku3,
#maincontents .blogpost:nth-child(4n+1) .waku4,
#maincontents .blogpost:nth-child(4n+2) .waku,
#maincontents .blogpost:nth-child(4n+2) .waku3,
#maincontents .blogpost:nth-child(4n+2) .waku4,
#maincontents .blogpost:nth-child(4n+3) .waku,
#maincontents .blogpost:nth-child(4n+3) .waku2,
#maincontents .blogpost:nth-child(4n+3) .waku4,
#maincontents .blogpost:nth-child(4n+4) .waku,
#maincontents .blogpost:nth-child(4n+4) .waku2,
#maincontents .blogpost:nth-child(4n+4) .waku3 {
    display: none
}

#searcharea .blogpost:nth-child(4n+1) .waku2,
#searcharea .blogpost:nth-child(4n+1) .waku3,
#searcharea .blogpost:nth-child(4n+1) .waku4,
#searcharea .blogpost:nth-child(4n+2) .waku,
#searcharea .blogpost:nth-child(4n+2) .waku3,
#searcharea .blogpost:nth-child(4n+2) .waku4,
#searcharea .blogpost:nth-child(4n+3) .waku,
#searcharea .blogpost:nth-child(4n+3) .waku2,
#searcharea .blogpost:nth-child(4n+3) .waku4,
#searcharea .blogpost:nth-child(4n+4) .waku,
#searcharea .blogpost:nth-child(4n+4) .waku2,
#searcharea .blogpost:nth-child(4n+4) .waku3 {
    display: none
}

/************************************************************************************
single-post
*************************************************************************************/
#permanent {
    padding: 50px 5% 50px 5%;
}

#permanent .blogpost {
    padding: 0 0 20px 0;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 1px #444 solid
}
#permanent .blogpost img{
max-width:100%;
}
#permanent .entry-title {
    padding: 0 0 20px 0;
    margin: 0;
    font-size: 20px
}

.blogpost p {
    padding: 0 0 20px 0
}

.post {
    padding: 0;
}

.post header {
    margin: 0;
    padding: 0
}

.edit {
    padding: 20px 0 0 0
}

.info {
    width: 100%;
    height: auto;
    text-align: right;
    font-family: serif;
    font-size: 11px !important
}

.info img {
    display: inline
}

#permanent .stlamp{
    width: 70px;
    height: 70px;
    position: absolute;
    top: -30px;
    left: -7%;
    z-index: 6
}

#permanent .stlampr{
    display: block;
    width: 70px;
    height: 70px;
    position: absolute;
    top: -30px;
    right: -7%;
    z-index: 6
}

.center {
    text-align: center;
}

.fc2_footer {
    margin: 20px 0 0 0;
}

.fc2button-facebook iframe {
    width: 105px !important;
}

/************************************************************************************
relate area
*************************************************************************************/
#fc2relate_entry_thumbnail_area {
    width: 100%;
    padding: 0;
    margin: 50px 0;
    overflow: auto;
    animation-duration: 2s;
    animation-name: RightToLeft;
    word-wrap: break-word;
}

#fc2relate_entry_thumbnail_area .relate_dt {
    margin: 0 auto;
    padding: 10px 0 0 0;
    font-size: 0;
    position: relative;
    text-align: center;
}

#fc2relate_entry_thumbnail_area .relate_dt:before {
    font-size: 17px;
    content: "YOU MAY ALSO LIKE";
    font-family: 'IM Fell English', serif;
    letter-spacing: 2px;
    line-height: 1.0em;
    display: block;
}

#fc2relate_entry_thumbnail_area ul {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

#fc2relate_entry_thumbnail_area li {
    width: 30% !important;
    padding: 0;
    list-style-type: none;
    text-align: center;
    font-size: 13px;
    position: relative;
}

#fc2relate_entry_thumbnail_area .relate_entry_thumbnail {
    width: 100% !important;
    height: auto !important;
    overflow: hidden;
    position: relative;
}

#fc2relate_entry_thumbnail_area .relate_entry_thumbnail:before {
    content: "";
    display: block;
    padding-top: 75%;
}

#fc2relate_entry_thumbnail_area .relate_entry_thumbnail img {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    object-fit: cover;
}

#fc2relate_entry_thumbnail_area .relate_entry_thumbnail {
    display: block;
    overflow: hidden；
}

#fc2relate_entry_thumbnail_area .relate_entry_title {
    width: 100%;
    height: 100%;
    padding: 15px;
    position: absolute;
    overflow: hidden !important;
    color: #ffffff;
    font-size: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column;
}

#fc2relate_entry_thumbnail_area .relate_entry_title:hover {
    background-color: rgba(0, 0, 0, 0);
    transition: 0.2s;
}

#fc2relate_entry_thumbnail_area .relate_entry_title a {
    color: #ffffff;
    display: block !important;
    width: 100%;
}

#fc2relate_entry_thumbnail_area .relate_entry_title .relate_entry_title_text {
    max-height: 100% !important;
    display: block !important;
}

#fc2relate_entry_thumbnail_area .relate_entry_date {
    margin: 3px 0 0 0 !important;
}

/************************************************************************************
author
*************************************************************************************/
.author {
    width: 100%;
    height: auto;
    letter-spacing: 2px;
    margin: 2em 0;
    position: relative;
    background-color: rgba(12, 9, 65, 0.3);
    padding: 20px;
    display: flex
}

.authorimage {
    width: 90px;
    height: 90px;
    margin: 20px;
    overflow: hidden;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.authorimage img {
    max-width: 127px !important;
    margin: -18px 0 0 -18px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.authortext {
    width: calc(100% - 170px);
    padding: 0 0 0 30px;
}

.name {
    font-size: 14px;
}

.authortext p {
    font-size: 11px;
    margin: 10px 0 0 0;
}

/* social */
.author .social {
    font-size: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff;
}

.author .social ul {
    margin: 0 !important;
    display: flex !important;
}

.author .social li {
    padding: 0 !important;
    margin: 0 15px 0 0 !important;
    overflow: hidden;
}

.author .social li a:link,
.author .social li a:visited {
    display: block;
    width: 17px;
    height: 25px;
    color: #fff;
}

.author .social li a:hover {
    width: 120px;
    transition: width 0.5s linear;
    -webkit-transition: width 0.5s linear;
}

.author .social img {
    width: 17px;
    margin: 0 10px 0 0;
    display: inline;
}

.info {
    width: 100%;
    height: auto;
    font-size: 11px;
    padding: 0;
    margin-top: 30px;
    text-align: right;
    letter-spacing: 2px;
}

.info time {
    color: #fff;
    padding: 0;
    margin: 0;
}

.info time:after {
    content: "";
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
}

.info a:not(:last-child):after{
    content: "、";
}

/************************************************************************************
comment
*************************************************************************************/
.comment {
    width: 100%;
    padding: 40px 0 0 0;
    margin: 40px 0 30px 0;
    color: #fff;
}

.comment h4,
.pcomment h4,
.ecomment h4,
.trackback h4 {
    font-size: 17px;
    padding: 0 0 20px 0;
    font-family: 'IM Fell English', serif;
    letter-spacing: 2px;
    line-height: 1.0em;
}

.comtitle {
    margin: 0;
    padding: 0 0 10px 0;
}

.comt {
    width: calc(100% - 70px);
}

.ctriangle {
    width: 100%;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    background-color: rgba(12, 9, 65, 0.3);
    border:1px #222 solid;
}

div[class$="comname"]:not(.管理人comname) .comtitle {
    display: flex;
    align-items: center;
}

div[class$="comname"]:not(.管理人comname) .comtitle:before {
    width: 50px;
    height: 50px;
    background-image: url(https://blog-imgs-140-origin.fc2.com/m/y/s/mysticdiary/pw-mysteryperson.jpg);
    background-position: center center;
    background-size: 100% 100%;
    content: "";
    display: block;
    margin: 0 20px 0 0;
}

.管理人comname .ctriangle {
    background-color: rgba(12, 9, 65, 0.3);
    border:1px #222 solid;
}

.管理人comname .comtitle {
    vertical-align: middle;
}

.管理人comname .comtitle:before {
    width: 50px;
    height: 50px;
    background-image: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/avatar_202106030943078b1.jpg) !important;
    background-position: center center;
    background-size: 100% 100%;
    content: "";
    display: inline-block;
    margin: 0 20px 0 0;
    vertical-align: middle;
}

.cbody {
    padding: 10px 10px 0 10px;  
}

.pcomment,
.trackback {
    width: 100%;
    padding: 40px 0 0 0;
    margin: 0 0 30px 0;
    color: #fff;
}

.ecomment {
    width: 100%;
    padding: 40px 0 0 0;
    margin: 0 0 30px 0;
    color: #fff;
}

.pcomment p,
.ecomment p {
    padding: 5px 0;
}

.pcomment label,
.ecomment label {
    color: #fff;
    font-size: 9px;
}

#name,
#title,
#email,
#website {
    width: 48%;
    padding: 5px 10px;
    margin: 0 1% 0 0;
    border: none;
    outline: none;
    background-color: rgba(12, 9, 65, 0.3);
    display: inline;
    font-size: 13px;
    color: #fff;
    border:1px #222 solid;
}

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 0px 0px rgba(0, 0, 0, 0.075) inset;
    background-color: transparent;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 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;
    background-color: rgba(12, 9, 65, 0.3);
    -webkit-appearance: none;
    border-radius: 0;
    padding: 5px 10px;
    font-size: 13px;
    color: #fff;
    border:1px #222 solid;
}

#password {
    width: 30%;
    padding: 5px 10px;
    border: none;
    outline: none;
    background-color: rgba(12, 9, 65, 0.3);
    color: #fff;
    border:1px #222 solid;
}

#ppost,
#ecom,
#dcom {
    color: #ffffff;
    padding: 10px 15px;
    margin: 0 0 10px 0;
    height: auto;
    background-color: rgba(12, 9, 65, 0.3);
    width: auto;
    font-size: 11px;
    font-family: 'IM Fell English', serif;
    letter-spacing: 2px;
    line-height: 1.0em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border:1px #222 solid;
}

.comfooter {
    font-size: 10px;
    padding: 10px 0 0 0;
    margin: 0;
    text-align: right;
    letter-spacing: 2px;
}

/************************************************************************************
editarea
*************************************************************************************/

#editarea .stlamp {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6
}

#editarea .stlampr {
    display: block;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 6
}


/************************************************************************************
trackback
*************************************************************************************/
.trackback {
    word-break: break-all;
}

.tbfooter {
    font-size: 9px;
    padding: 10px 0 0 0;
    border-bottom: 1px #555555 solid;
    margin: 0;
    text-align: right;
}

/************************************************************************************
titlelist
*************************************************************************************/

#titlelistarea h4 {
    font-size: 17px;
    font-family: 'IM Fell English', serif;
    letter-spacing: 2px;
    line-height: 1.0em;
    text-align: center;
}

.titlelist{
    width:100%;
}

#titlelistarea h2 {
    width: 100%;
    padding: 5px 0;
    font-size: 15px;
    margin: 0 0 20px 0;
    position: relative;
    color: #fff;
}

.titlelistfooter {
    font-size: 9px;
    font-style: italic;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#titlelistarea .stlamp{
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    left: 0%;
    z-index: 6
}

#titlelistarea .stlampr{
    display: block;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    right: 0%;
    z-index: 6
}
/************************************************************************************
search
*************************************************************************************/
#searcharea h4 {
    font-size: 17px;
    font-family: 'IM Fell English', serif;
    letter-spacing: 2px;
    line-height: 1.0em;
}

#searcharea h2 {
    padding: 0 0 20px 0;
}

.none {
    display: none;
}

.block {
    display: block;
    padding: 0 30px;
    height: 400px;
}

/************************************************************************************
sidebar
*************************************************************************************/
#sidebar {
    padding: 0;
    width: 300px;
    height: auto;
    margin: 700px 0 0 0;
    order: 1;
    overflow: visible;
    position: relative;
    z-index: 10;
    color: #ccc
}

.plugin {
    padding: 10px 30px 10px 40px;
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/siderepeat_20210603094338080.png) repeat-y left top/100% auto
}

.plugcontent {
    font-size: 12px;
    margin: 0 0 30px 0;
    padding: 0 0 42px 0;
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/sidebottom_20210603094336f31.png) no-repeat left bottom/100% auto
}

.plugcontent h3 {
    width: 100%;
    height: 175px;
    padding: 83px 0 0 10px;
    font-size: 17px;
    text-align: center;
    margin: 0 auto;
    letter-spacing: 2px;
    font-weight: 400;
    font-family: 'IM Fell English', serif;
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/h4title.png) no-repeat right top/100% auto
}

#sidebar input[type=text] {
    width: 99%;
    background-color: rgba(12, 9, 65, 0.3);
    color: #ccc;
    border:1px #222 solid;
}

#sidebar input[type=submit] {
    padding: 0 10px !important;
    background-color: rgba(12, 9, 65, 0.3);
    border-radius: 3px;
    font-size: 9px;
    color: #ccc;
    border:1px #222 solid;
}

input#searchareafield:-ms-input-placeholder,
input#searchareafield::-moz-placeholder,
input#searchareafield::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .1) !important
}

/************************************************************************************
footer-container
*************************************************************************************/
#footer-container {
    width: calc(100% - 300px);
    padding: 0;
    margin: 0 0 0 300px;
    position: relative;
    color: #ccc;
    background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/renga.jpg) repeat-y left top/15% auto, url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/rengar.jpg) #000 repeat-y right 300px/15% auto;
}

.footer-inner {
    width: 100%;
    padding: 0 3%;
    margin: 0;
    position: relative;
    display: flex;
    text-align: left;
    pointer-events: none;
    z-index: 6;  
    font-size: 12px
}

.footer-contents .plugin{
    padding:0 20px;
}

#footer-container .footer-contents {
    width: calc(100% / 3);
    overflow: visible;
    text-align: left;
    position: relative
}

#footer-container .footer-contents:first-child {
    padding: 0 10px 30px 10px;
    border-right: 1px #222333 solid;
    pointer-events: auto
}

#footer-container .footer-contents:nth-child(2) {
    padding: 0 10px 30px 10px;
    border-right: 1px #222333 solid;
    pointer-events: auto
}

#footer-container .footer-contents:nth-child(3) {
    padding: 0 10px 30px 10px;
    pointer-events: auto
}

#footer-container h3 {
    padding: 20px 0;
    height: auto;
    font-size: 15px;
    text-align: center;
    margin: 0 auto;
    font-family: 'IM Fell English', serif;
    letter-spacing: 2px;
    font-weight: 400;
    background-image: none;
    color: #fff;
}

.footer-address {
    width: 100%;
    padding: 10px 0;
    font-size: 10px;
    text-align: center;
    font-family: serif
}

/************************************************************************************
navigation
*************************************************************************************/

#page-top img {
    width: 40px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    animation: top 2s linear infinite
}

@keyframes top {
    0% {
        margin: 0
    }

    50% {
        margin: -10px 0
    }

    100% {
        margin: 0
    }
}

.pagenav,
.postnav {
    width: 100%;
    height: 50px;
    text-transform: uppercase;
    font-size: 13px;
    padding: 0;
    margin: 20px 0;
    letter-spacing: 2px;
    color: #222333;
    position: relative;
    align-items: center;
    display: flex;
    line-height: 1.2em;
}

#next {
    width: 50%;
    height: 50px;
    padding: 0 10px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    text-align: right;
    font-family: 'IM Fell English', serif;
    font-size: 13px;
    line-height: 1em;
    letter-spacing: 2px;
}

#prev {
    width: 50%;
    height: 50px;
    padding: 0 0 0 10px;
    position: absolute;
    border-left: 1px #222333 solid;
    top: 0;
    right: 0;
    align-items: center;
    display: flex;
    font-family: 'IM Fell English', serif;
    font-size: 13px;
    line-height: 1em;
    letter-spacing: 2px;
}

#prevtitle {
    width: 50%;
    height: 50px;
    padding: 0 10px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    text-align: right;

}

#nexttitle {
    width: 50%;
    height: 50px;
    padding: 0 0 0 10px;
    position: absolute;
    border-left: 1px #222333 solid;
    top: 0;
    right: 0;
    align-items: center;
    display: flex;

}

/************************************************************************************
media
*************************************************************************************/
figure {
    margin: 0
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    backface-visibility: hidden
}

iframe{
    max-width:100%;
}
/************************************************************************************
other
*************************************************************************************/
.paragraph,
p {
    margin: 0
}

table {
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0
}

table th a {
    color: #ccc !important
}

table tr {
    padding: 15px 10px;
    border-bottom: 1px #444 solid
}

table th {
    border-right: 1px solid #444;
    text-align: left;
    padding: 5px 10px;
    color: #ccc
}

table td {
    padding: 5px 10px
}

/************************************************************************************
blockquote
*************************************************************************************/
blockquote {
    background-color: rgba(12, 9, 65, 0.3);
    margin: 1em 0;
    padding: 40px 1.2em;
    position: relative;
    color: #ccc
}

blockquote::after,
blockquote::before {
    color: #4f528c;
    font-family: serif;
    position: absolute;
    font-size: 100px
}

blockquote::before {
    content: "“";
    line-height: 1.1;
    left: 10px;
    top: 0
}

blockquote::after {
    content: "”";
    line-height: 0;
    right: 10px;
    bottom: 0
}

/************************************************************************************
code
*************************************************************************************/
pre {
    background-color: rgba(12, 9, 65, 0.3);
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    margin: 1em 0;
    color: #ccc;
    border:1px #222 solid;
    width:100%;
word-break: break-word;
overflow-wrap: break-word;
}

code{
   display: inline-block;
white-space: normal;
max-width:100%; 
word-break:break-all; 
word-wrap:break-word;
}
/************************************************************************************
calender
*************************************************************************************/
.calender td{
    padding:5px 0 !important;
    text-align:center;
}

/************************************************************************************
smaller than 1200px
*************************************************************************************/
@media screen and (max-width:1200px) {
    #container {
        width: 1000px;
        overflow: hidden
    }

    #header-container {
        background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/menu3.gif) transparent no-repeat 300px bottom/700px auto;
    }

   .main-menu{
        display: flex;
        align-items: center;
        padding: 20px 8% 0 7.6%;
    }

    .main-menu li {
        line-height: 1.1rem;
    }

    .main-menu li ul {
        position: absolute;
        top: 100%;
        left: 0;
    }

    .main-menu li ul li ul {
        position: absolute;
        top: 0%;
        left: 100%;
    }

    #maincontents .blogpost,
    #searcharea .blogpost {
        width: calc((100% - 120px)/ 3);     
        border: none;
        box-shadow: none
    }

    #maincontents .blogpost .stlampr,
    #searcharea .blogpost .stlampr {
        display: none
    }

    #maincontents .blogpost:nth-child(4n) .stlampr,
    #searcharea .blogpost:nth-child(4n) .stlampr {
        display: none;
    }

    #maincontents .blogpost:nth-child(3n) .stlampr,
    #searcharea .blogpost:nth-child(3n) .stlampr {
        width: 70px;
        height: 70px;
        position: absolute;
        top: 0;
        right: -28% !important;
        display: block !important;
    }

    #permanent .stlamp{
        left: -9%;
    }

    #permanent .stlampr{   
        right: -9%;
    }

    .footer-inner {
        width: 100%;
        padding: 0;
        margin: 0;
        position: relative;
        display: block;
        text-align: left;
        pointer-events: none;
        z-index: 6
    }

    #footer-container .footer-contents {
        width: 100%;
        padding: 30px 0
    }

   .footer-contents .plugin{
        padding:0;
    }

    #footer-container .footer-contents:first-child {
        border-right: none;
        border-bottom: 1px #444 solid;
        padding: 0 30px 0
    }

    #footer-container .footer-contents:nth-child(2) {
        border-right: none;
        padding: 0 30px 0;
        border-bottom: 1px #444 solid
    }

    #footer-container .footer-contents:nth-child(3) {
        padding: 0 30px 60px 30px;
    }

    .author .social li {
        padding: 0 !important;
        margin: 0 15px 0 0 !important;
        display: inline-block !important;
        overflow: hidden
    }

    .author .social li a:link,
    .author .social li a:visited {
        display: block;
        width: 17px;
        height: 25px;
        color: #5a575c
    }

    .author .social li a:hover {
        width: 17px
    }

    .author .social img {
        width: 17px;
        margin: 0 10px 0 0
    }
}


/************************************************************************************
smaller than 1000px
*************************************************************************************/
@media screen and (max-width:1000px) {
    #container{
        width:100%;
        overflow:hidden;
    }

    #header-container {
        background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/menu2.gif) transparent no-repeat center bottom/100% auto;
    }

    .site-title {
        margin: 0 auto;
        padding: 25px 0 0 0;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto
    }

    .site-title p {
        text-shadow: 1px 1px 3px #222;
        margin: 0;
        padding: 0
    }

    img.owl {
        width: 60px !important;
        height: auto;
        position: absolute;
        top: 30px;
        left: 15%;
        z-index:12;
    }

    #check {
        width: 25px;
        height: 60px;
        visibility: hidden;
        position: fixed;
        top: 0;
        right: 20px;
        z-index: 999999
    }

    .menu {
        visibility: hidden
    }

    .menu {
        position: fixed;
        width: 100vw;
        height: 100vh;
        overflow: auto;
        background-color: rgba(0, 0, 0, .8);
        top: 0;
        left: 0;
        color: #fff !important;
        padding: 80px 30px;
        z-index: 9999 !important;
        visibility: hidden;
        opacity: 0;
        transition: .3s linear;
        pointer-events: auto
    }

    .main-menu  {
        display: block;
        padding: 0 15.5%
    }

    .main-menu li {
        width: 100%;
        margin: 0;
        padding: 20px 0;
        position: relative;
        text-align: center
    }

    .smenu {
        display: flex !important;
        justify-content: space-around;
        align-items: flex-start;
        flex-wrap: wrap;
        margin: 0 auto !important;
        padding: 0 !important;
        position: relative !important;
        top: auto;
        left: auto;
        pointer-events: auto
    }

    #check:checked ~ .menu {
        visibility: visible;
        opacity: 1
    }

    #check:not(:checked) ~ .menu{
        visibility: hidden;
        opacity: 0
    }

    #check:checked ~ .button span {
        background-color: #ccc
    }

    #check:not(:checked) ~ .button span {
        background-color: #ccc
    }

    #header-container .button {
        position: fixed;
        top: 0;
        right: 20px;
        width: 25px;
        height: 50px;
        padding: 0;
        z-index: 999999;
        display: block;
        pointer-events: auto
    }

    #header-container .button span {
        width: 25px;
        height: 2px;
        background-color: #ccc;
        border-radius: 2px;
        z-index: 999999;
        display: block;
        position: absolute;
        box-shadow: 1px 1px 2px #222
    }

    #header-container .button span:nth-of-type(1) {
        top: 20px
    }

    #header-container .button span:nth-of-type(2) {
        top: 28px;
        width: 22px;
        margin: 0 0 0 3px
    }

    #header-container .button span:nth-of-type(3) {
        top: 36px
    }

    #check:checked ~ .button span:nth-of-type(1) {
        -webkit-transform: translateY(9px) rotate(-45deg);
        transform: translateY(9px) rotate(-45deg)
    }

    #check:checked ~ .button span:nth-of-type(2) {
        opacity: 0
    }

    #check:checked ~ .button span:nth-of-type(3) {
        -webkit-transform: translateY(-7px) rotate(45deg);
        transform: translateY(-7px) rotate(45deg)
    }

    .block {
        display: block;
        padding: 0 20px;
        height: auto
    }

    .main-menu li ul {
        position: relative;
        top: auto;
        left: auto;
        list-style: none;
        margin: 0;
        width: auto;
        background: 0 0;
        text-align: center
    }

    .main-menu li ul li {
        position: relative;
        overflow: visible;
        width: auto;
        height: auto;
        transition: .2s;
        font-size: 10px !important
    }

    .main-menu li ul li ul {
        position: relative;
        top: 0;
        left: 0;
        list-style: none;
        margin: 0;
        width: auto
    }

    .main-menu li ul li ul li {
        position: relative;
        overflow: visible;
        width: auto;
        height: auto;
        transition: .2s;
        font-size: 10px !important;
        margin: 0 5px
    }

    .main-menu li ul li a {
        width: 100%;
        height: 100%;
        padding: 10px 0;
        display: block;
        background: 0 0;
        border-bottom: 1px #333 solid;
        color: #fff !important;
    }

    .main-menu li ul li ul li a {
        width: 100%;
        height: 100%;
        padding: 10px 0;
        display: block;
        background: 0 0;
        border-bottom: 1px #333 solid;
        border-left: 0 #fff solid
    }

    .main-menu li:hover > ul > li {
        overflow: visible;
        height: 100%
    }

    .main-menu li ul li a:hover {
        background: 0 0;
        color: #fff
    }

    .main-menu li ul li a:hover,
    .main-menu li ul li a:link,
    .main-menu li ul li a:visited {
        color: #fff !important;
        text-shadow: 0px 0px 0px #000000;
    }

    .facebook img,
    .instagram img,
    .pinterest img,
    .twitter img {
        width: 20px
    }

    #main-container {
        width: 100%;
        padding: 0;
        margin: 0;
        position: relative !important;
        z-index: 5;
        display: flex;
        flex-flow: column;
    }

    #maincontents,
    #searcharea,
    #titlelistarea,
    #editarea {
        width: 100%;
        order: 1;
        }

    #maincontents .blogpost,
    #searcharea .blogpost {
        width: calc((100% - 160px)/ 4);
        margin: 0 20px 50px 20px;
        border: none;
        box-shadow: none
    }
    
    .stlamp {
        width: 70px;
        height: 70px;
        position: absolute;
        top: 0;
        left: -37%;
        z-index: 6
    }

    .stlampr {
        display: none
    }

    #maincontents .blogpost:nth-child(3n) .stlampr, 
    #searcharea .blogpost:nth-child(3n) .stlampr {
        display:none !important;
    }

    #maincontents .blogpost:nth-child(4n) .stlampr,
    #searcharea .blogpost:nth-child(4n) .stlampr {
        width: 70px;
        height: 70px;
        position: absolute;
        top: 0;
        right: -37% !important;
        display: block;
        z-index: 6
    }

    #permanent{
        width: 100%;
        padding: 50px 5% 50px 5%;
        margin: 0;
        position: relative;
        order: 1
    }

    #permanent .stlamp {
        left: -7%;
    }

    #permanent .stlampr {
        right: -7%;
    }

    .blogpost {
        padding: 0 0 20px 0;
        margin-bottom: 20px;
        position: relative
    }

    .post time {
        font-size: 11px;
        letter-spacing: 0;
        line-height: 1em
    }

    .relatedpost-title {
        width: 80%;
        display: block;
        letter-spacing: 2px;
        font-size: 15px;
        padding: 20px 0 20px 0;
        margin: 0 0 15px 10%;
        text-align: center
    }

    .entry {
        display: block
    }

    .post-wrapper {
        width: 75%;
        height: 73%;

    }

    .related-entry {
        width: 100%;
        height: 30vh;
        margin: 0 0 30px 0
    }

    .related-title {
        padding: 0;
        font-size: 12px !important
    }

    .author{
        display:block;
    }

    .author-inner {
        padding: 20px;
        display: block
    }

    .author-inner {
        padding: 20px;
        display: block
    }

    .authorimage {
        width: 90px;
        height: 90px;
        margin: 20px auto 40px auto;
        overflow: hidden;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg)
    }

    .authorimage img {
        max-width: 127px;
        margin: -18px 0 0 -18px;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg)
    }

    .authortext {
        width: 100%;
        padding: 0;
        text-align: center
    }

    .author .social ul {
        width: 100%;
        height: auto;
        padding: 0;
        margin: 30px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: none !important
    }

    .author .social li {
        margin: 0 2% !important;
        list-style-type: none
    }

    #sidebar {
        position: relative;
        padding: 0;
        width: 100%;
        height: auto;
        margin: 0;
        overflow: visible;
        order: 2 !important;
        background: url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/renga.jpg) repeat-y left top/15% auto, url(https://blog-imgs-146-origin.fc2.com/m/y/s/mysticdiary/rengar.jpg) #000 repeat-y right 300px/15% auto
    }

    #sidebar h3 {
        width: 100%;
        height: auto;
        padding: 30px 0 20px 0;
        font-size: 17px;
        text-align: center;
        margin: 0 auto;
        letter-spacing: 2px;
        font-weight: 400;
        background-image: none
    }

    .plugin {
        padding: 10px 0 10px 0;
        background: none
    }

    .plugcontent{
        background-color: transparet;
        padding: 20px 5%
    }

    .plugcontent img {
        display: block;
        margin: 0 auto
    }

    #footer-container {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        height: auto
    }

    .footer-address {
        width: 100%;
        margin-top: 20px
    }

    .footer-inner {
        width: 100%;
        padding: 0 5% ;
    }

    #footer-container .footer-contents {
        width: 100%;
        padding: 30px 0
    }

    #footer-container .footer-contents:first-child {
        border-right: none;
        border-bottom: 1px #444 solid;
        padding: 0 0 30px 0
    }

    #footer-container .footer-contents:nth-child(2) {
        border-right: none;
        padding: 0 0 30px 0;
        border-bottom: 1px #444 solid
    }

    #footer-container .footer-contents:nth-child(3) {
        padding: 0 0 30px 0
    }

    .postnav {
        display: block
    }

    .next {
        width: 100%;
        height: auto;
        margin-right: 0;
        text-align: left;
        order: 1;
        position: relative
    }

    .prev {
        width: 100%;
        height: auto;
        text-align: right;
        order: 2;
        position: relative;
        margin-top: 15px
    }
    
}

/************************************************************************************
smaller than 768px
*************************************************************************************/
@media screen and (max-width:768px) {
    
    #maincontents {
        padding: 50px 3% 50px 3%;
    }

    .site-title {
        color: #ccc
    }

    #permanent {
        width: 100%;
        padding: 50px 5%;
        margin: 0;
        position: relative;
        order: 1
    }

    .post-wrapper {
        width: 75%;
        height: 74%;
    }

    #maincontents .blogpost,
    #searcharea .blogpost {
        width: calc((100% - 120px)/ 3);
        margin-bottom: 40px;
        border: none;
        box-shadow: none
    }

    .stlamp {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        left: -27%;
        z-index: 6
    }

    #searcharea .stlamp {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        left: -27%;
        z-index: 6
    }

    #maincontents .blogpost:nth-child(3n) .stlampr,
    #searcharea .blogpost:nth-child(3n) .stlampr {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        right: -27% !important;
        display: block !important;
        z-index: 6
    }

    #maincontents .blogpost:nth-child(4n) .stlampr, #searcharea .blogpost:nth-child(4n) .stlampr {
        display:none;
    }

    .plugcontent ul {
        margin: 0;
        padding: 0 20px;
    }

}

/************************************************************************************
smaller than 480px
*************************************************************************************/
@media screen and (max-width:480px) {
    img.owl {
        width: 50px !important;
        height: auto;
        position: absolute;
        top: 45px;
        left: 10%
    }

    #maincontents .blogpost,
    #searcharea .blogpost{
        width: calc((100% - 80px)/ 2);
        margin-bottom: 40px;
        border: none;
        box-shadow: none
    }

    .stlamp {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        left: -31%;
        z-index: 6
    }

    #searcharea .stlamp {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        left: -31%;
        z-index: 6
    }

    #maincontents .blogpost:nth-child(3n) .stlampr,
    #searcharea .blogpost:nth-child(3n) .stlampr {
        display: none !important;
        z-index: 6
    }

    #maincontents .blogpost:nth-child(4n) .stlampr,
    #searcharea .blogpost:nth-child(4n) .stlampr {
        display: none !important;
        z-index: 6
    }

    #maincontents .blogpost:nth-child(2n) .stlampr,
    #searcharea .blogpost:nth-child(2n) .stlampr {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        right: -31% !important;
        display: block !important;
        z-index: 6
    }

    #permanent .stlamp{
        width: 50px;
        height: 50px;
        position: absolute;
        top: -30px;
        left: -10%;
        z-index: 6
    }

    #permanent .stlampr{
        display: block;
        width: 50px;
        height: 50px;
        position: absolute;
        top: -30px;
        right: -10%;
        z-index: 6
    }

    .block {
        display: block;
        padding: 0 20px;
        height: auto
    }

    #searcharea .blogpost {
        overflow: visible;
        display: block
    }

    #maincontents .post,
    #searcharea .post {
        width: 100%;
        padding: 0;
        margin-top: 0
    }

    .entry {
        display: block
    }

    .related-entry {
        width: 100%;
        height: 30vh;
        margin: 0 0 30px 0;
        position: relative;
        overflow: hidden
    }

}

/************************************************************************************
smaller than 375px
*************************************************************************************/
@media screen and (max-width:375px) {
    .stlamp {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        left: -35%;
        z-index: 6
    }

    #searcharea .stlamp {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        left: -35%;
        z-index: 6
    }

    #maincontents .blogpost:nth-child(4n) .stlampr,
    #searcharea .blogpost:nth-child(4n) .stlampr {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        right: -35% !important;
        display: block;
        z-index: 6
    }

    #maincontents .blogpost:nth-child(2n) .stlampr,
    #searcharea .blogpost:nth-child(2n) .stlampr {
        width: 50px;
        position: absolute;
        top: 0;
        right: -35% !important;
        display: block;
        z-index: 6
    }

    #permanent .stlamp{
        width: 50px;
        height: 50px;
        position: absolute;
        top: -50px;
        left: -5%;
        z-index: 6
    }

    #permanent .stlampr{
        display: block;
        width: 50px;
        height: 50px;
        position: absolute;
        top: -50px;
        right: -5%;
        z-index: 6
    }
  
    #editarea .stlamp,
    #titlelistarea .stlamp {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 6
    }
  
    #editarea .stlampr,
    #titlelistarea .stlampr {
        display: block;
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 6
    }

    .block {
        display: block;
        padding: 0 20px;
        height: auto
    }

    #searcharea .blogpost {
        overflow: visible;
        display: block
    }

    #maincontents .post,
    #searcharea .post {
        width: 100%;
        padding: 0;
        margin-top: 0
    }

    .entry {
        display: block
    }

    .related-entry {
        width: 100%;
        height: 30vh;
        margin: 0 0 30px 0;
        position: relative;
        overflow: hidden
    }
}

/************************************************************************************
smaller than 320px
*************************************************************************************/
@media screen and (max-width:320px) {

    #maincontents .blogpost,
    #searcharea .blogpost {
        width: calc((100% - 80px)/ 2);
        margin-bottom: 40px;
        border: none;
        box-shadow: none
    }

    .stlamp {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        left: -49%;
        z-index: 6
    }

    #searcharea .stlamp {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        left: -41%;
        z-index: 6
    }

    #maincontents .blogpost:nth-child(4n) .stlampr,
    #searcharea .blogpost:nth-child(4n) .stlampr {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        right: -41% !important;
        display: block;
        z-index: 6
    }

    #maincontents .blogpost:nth-child(2n) .stlampr,
    #searcharea .page-blogpost:nth-child(2n) .stlampr {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 0;
        right: -41%;
        display: block;
        z-index: 6
    }

    #permanent .stlamp,
    #titlelistarea .stlamp,
    #editarea .stlamp{
        width: 50px;
        height: 50px;
        position: absolute;
        top: -30px;
        left: -10%;
        z-index: 6
    }

    #permanent .stlampr,
    #titlelistarea .stlampr,
    #editarea .stlampr {
        display: block;
        width: 50px;
        height: 50px;
        position: absolute;
        top: -30px;
        right: -10%;
        z-index: 6
    }

    .block {
        display: block;
        padding: 0 20px;
        height: auto
    }

    #searcharea .blogpost {
        overflow: visible;
        display: block
    }

    #maincontents .post,
    #searcharea .post {
        width: 100%;
        padding: 0;
        margin-top: 0
    }

    .entry {
        display: block
    }

    .related-entry {
        width: 100%;
        height: 30vh;
        margin: 0 0 30px 0;
        position: relative;
        overflow: hidden
    }
}


