@charset "UTF-8";

/************************************************************************************
link-style
*************************************************************************************/

a:link {
    color: #3D4347;
    text-decoration: none;
    transition: 1s ease-in-out;
}
a:visited {
    color: #3D4347;
    text-decoration: none;
    transition: 1s ease-in-out;
}
a:active {
    color: #544735;
    text-decoration: none;
}
a:hover {
    color: #544735;
    text-decoration: none;
}

/************************************************************************************
typography
*************************************************************************************/

h1 {
    font-size: 50px;
    font-family: "Ibarra Real Nova", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.15em;
    margin: 18px 0 10px;
}

h2 {
    font-weight: 300;
}

h3,
h4,
h5,
h6 {
    font-size: 14px;
    padding: 0 0 20px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

h3 {
    padding: 0;
}

/************************************************************************************
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: 14px;
    font-family: 'YuGothic', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角あゴ ProN', Meiryo, メイリオ, 'MS PGothic', Helvetica, Arial, sans-serif;
    color: #131313;
    line-height: 1.9em;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    position: relative;
    overflow: hidden;
    background-color: #FAF8F6;
}

/************************************************************************************
container
*************************************************************************************/

#container {
    width: 100%;
    margin: 0;
    position: relative;
}

/************************************************************************************
navigation
*************************************************************************************/

.navigation {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #131313;
    padding: 0 5%;
}

.menu {
    width: 70%;
    height: auto;
    padding: 0;
    margin: 0;
    position: relative;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 13px;
    color: #fff;
}

.num {
    font-size: 12px;
    vertical-align: super;
}

.menu ul {
    margin: 0;
    display: flex;
    padding: 2% 0;
}

.menu ul li {
    margin: 0;
    padding: 0 3% 0 0;
}

.menu li a:hover,
.menu li a:link,
.menu li a:visited {
    color: #fff;
}

.menu input[type="text"] {
    width: 200px;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    font-size: 13px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.menu input::placeholder {
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: #fff;
}

.menu input[type="text"]:focus {
    outline: none !important;
    border: none;
    background-color: transparent;
}

/* social */

.social {
    width: 30%;
    margin: 0;
    padding: 0;
}

.social ul {
    margin: 0;
    display: flex;
    flex-direction: row-reverse;
}

.social li {
    padding: 6% 0 0 8%;
    margin: 0;
}

.social li a:hover,
.social li a:link,
.social li a:visited {
    font-size: 15px;
    color: #fff;
}

.x {
    position: relative;
}

.x a {
    display: block;
    width: 18px;
    height: 20px;
    font-size: 18px !important;
    text-align: center;
    line-height: 1.2rem;
}

#checkleft {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    transition: 0.3s;
}

.buttonleft,
.buttonleft span {
    display: block;
    transition: 0.3s;
    cursor: pointer;
}

/************************************************************************************
header-container
*************************************************************************************/

#header-container {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    display: flex;
    border-bottom: 1px #131313 solid;
}

#header-container header {
    width: 40%;
    height: auto;
    padding: 2% 5%;
    margin: 0;
    position: relative;
    line-height: 1.2em;
    text-align: center;
    border-right: 1px #131313 solid;
    border-left: 1px #131313 solid;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#header-container p {
    width: 30%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
    padding: 2% 5%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.intro {
    font-size: 25px;
    font-family: "Ms Madi", cursive;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.025em;
    color: #777;
    transform: rotate(-10deg);
    position: relative;
    z-index: 99;
}

/************************************************************************************
maincontents
*************************************************************************************/

#barba-wrapper {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
}

.barba-container {
    width: 90%;
    padding: 0;
    margin: 0 auto;
    border-left: 1px #131313 solid;
    border-right: 1px #131313 solid;
    overflow-x: hidden;
}

#maincontents {
    margin: 0;
    padding: 0;
}

#maincontents #main {
    padding: 0;
}

#maincontents .blogpost {
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(9, calc(100% / 9));
    grid-auto-rows: auto;
    gap: 0 0;
}

#maincontents .itempost {
    padding: 0;
    margin: 0;
    height: auto;
}

#maincontents .itempost:nth-child(6n+1) {
    padding: 0 0 8%;
    border-right: 1px #131313 solid;
    border-bottom: 1px #131313 solid;
    grid-column: span 5 / span 5;
    grid-row: span 2 / span 2;
}

#maincontents .itempost:nth-child(6n+2) {
    position: relative;
    padding: 10%;
    border-bottom: 1px #131313 solid;
    grid-column: span 4 / span 4;
    grid-column-start: 6;
}

#maincontents .itempost:nth-child(6n+3) {
    padding: 10%;
    grid-column: span 4 / span 4;
    grid-column-start: 6;
    border-bottom: 1px #131313 solid;
}

#maincontents .itempost:nth-child(6n+4) {
    padding: 13%;
    margin: 0;
    border-right: 1px #131313 solid;
    grid-column: span 3 / span 3;
    grid-row: span 2 / span 2;
}

#maincontents .itempost:nth-child(6n+5) {
    padding: 13%;
    grid-column: span 3 / span 3;
    grid-row: span 2 / span 2;
    grid-column-start: 4;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#maincontents .itempost:nth-child(6n+6) {
    padding: 13%;
    grid-column: span 3 / span 3;
    grid-row: span 2 / span 2;
    grid-column-start: 7;
    margin: 0;
    border-left: 1px #131313 solid;
}

#maincontents .itempost:nth-child(6n+7) {
    border-top: 1px #131313 solid;

}

#maincontents .itempost:nth-child(6n+8) {
    border-top: 1px #131313 solid;

}

#maincontents .itempost .itemimg {
    width: 100%;
    aspect-ratio: 1/0.6;
    padding: 0;
    margin: 0 0 20px;
    position: relative;
    overflow: hidden;
}

#maincontents .itempost:nth-child(6n+1) .itemimg {
    width: 100%;
    aspect-ratio: 1/1;
    padding: 0;
    margin: 0 0 5%;
    position: relative;
    overflow: hidden;
}

#maincontents .itempost:nth-child(6n+2) .itemimg {
    display: none;
}

#maincontents .itempost:nth-child(6n+5) .itemimg {
    width: 100%;
    order: 2;
    margin: 0;
    aspect-ratio: 1/0.7;
    overflow: hidden;
}

#maincontents .itemimg img {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    object-fit: cover;
    display: block;
    filter: saturate(0%);
    transition: all 0.5s ease;
    opacity: 0.8;
}

#maincontents .itemimg a:hover img {
    filter: saturate(100%);
    opacity: 1;
}

.itemimg p,
picture p {
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
    z-index: 999;
}

picture p{
font-size:17px;
}

#maincontents .itempost .itemtext {
    padding: 0;
    position: relative;
}

#maincontents .itempost:nth-child(6n+1) .itemtext {
    padding: 0 8%;
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto auto;
    gap: 0 0;
    grid-template-areas: "title text" "title more";
}

#maincontents .itempost:nth-child(6n+5) .itemtext {
    width: 100%;
    order: 1;
    margin: 0 0 5%;
}

#maincontents .itempost:nth-child(6n+1) .itemtext header {
    grid-area: title;
    border-right: 1px #131313 solid;
    padding: 0 8% 0 0;
}

#maincontents .itempost:nth-child(6n+1) .itemtext .text_overflow {
    grid-area: text;
    padding: 0 0 0 10%;
}

#maincontents .itempost:nth-child(6n+1) .itemtext .readmore {
    grid-area: more;
    padding: 1rem 0 0 10%;
}

#maincontents .itemtext header time {
    margin: 0;
    padding: 0 0 10px;
    font-family: "Ms Madi", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    display: block;
    line-height: 1.2em;
    letter-spacing: 0.08em;
}

#maincontents .itemtext header h2 {
    font-size: 1.2rem;
}

#maincontents .itempost:nth-child(6n+1) .itemtext header h2 {
    font-size: 2rem;
    padding: 0 0 5%;
    font-family: serif;
    line-height: 1.2em;
}

.readmore {
    padding: 1rem 0 0;

}

.readmore a {
    font-family: "Ibarra Real Nova", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.025em;
    font-size: 0.9rem;

}

.readmore a:hover {
    font-style: normal;
}

.arrow-left {
    vertical-align: text-bottom;
    font-size: 20px !important;
}

.arrow-right {
    vertical-align: top;
    font-size: 25px !important;
}

/************************************************************************************
origin searcharea editarea titlelist
*************************************************************************************/

#editarea,
#origin,
#searcharea,
#titlelist {
    width: 100%;
    height: auto;
    padding: 5% 12%;
    display: flex;
    margin: 0;
}

#editarea #main,
#origin #main {
    width: 75%;
    padding: 0 5% 0 0;
    margin: 0;
}

#searcharea #main,
#titlelist #main {
    width: 100%;
    padding: 0;
    margin: 0;
}

#searcharea #sidebar,
#titlelist #sidebar {
    display: none;
}

#editarea .blogpost,
#origin .blogpost,
#searcharea .blogpost,
#titlelist .blogpost {
    width: 100%;
    height: auto;
    padding: 0;
}

.blogpost header {
    width: 100%;
    padding: 0 0 20px;
}

#origin .blogpost time {
    margin: 0;
    padding: 0 0 10px;
    font-family: "Ms Madi", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    display: block;
    line-height: 1.2em;
    letter-spacing: 0.08em;
}

.month01:before {
    content: "January";
}
.month02:before {
    content: "February";
}
.month03:before {
    content: "March";
}
.month04:before {
    content: "April";
}
.month05:before {
    content: "May";
}
.month06:before {
    content: "June";
}
.month07:before {
    content: "July";
}
.month08:before {
    content: "August";
}
.month09:before {
    content: "September";
}
.month10:before {
    content: "October";
}
.month11:before {
    content: "November";
}
.month12:before {
    content: "December";
}

#origin .blogpost h2 {
    padding: 0;
    margin: 0;
    font-size: 30px;
    line-height: 1.2em;
}

.blogpost img {
    max-width: 100% !important;
    height: auto;
}

/************************************************************************************
author
*************************************************************************************/

.author {
    width: 100%;
    height: auto;
    margin: 20px 0;
    padding: 5%;
    text-align: left;
    display: flex;
    letter-spacing: 2px;
    background-color: rgba(163,180,191,0.1);
}

.authorimage {
    width: 120px;
    height: 120px;
    padding: 0;
    overflow: hidden;
    margin: 0 30px 0 0;
}

.authorimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.authortext {
    width: calc(100% - 150px);
    padding: 0;

}

.name {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 13px;
}

.authortext p {
    font-size: 10px;
}

/* footer */

.blogpostfooter {
    width: 100%;
    height: auto;
    text-align: right;
    font-size: 11px !important;
}

.folder,
.tag {
    font-size: 14px !important;
    vertical-align: sub;
}

/************************************************************************************
comment
*************************************************************************************/

.commentarea {
    position: relative;
}

.comment {
    padding: 40px 0 0;
    margin: 40px 0 30px;
    font-size: 0.8rem;
}

.comment h4,
.ecomment h4,
.pcomment h4 {
    cursor: pointer;
}

summary {
    display: block;
}

summary::-webkit-details-marker {
    display: none;
}

.comment h4 {
    width: 30%;
}

.pcomment h4 {
    position: absolute;
    left: 40%;
    top: 40px;
}

.ctriangle {
    width: 100%;
    position: relative;
    margin: 18px 0 10px;
    padding: 30px;
    background-color: rgba(163,180,191,0.1);
}

.管理人 .ctriangle {
    width: 100%;
    position: relative;
    margin: 18px 0 10px;
    padding: 30px;
    background-color: rgba(163,180,191,0.1);
}

.管理人 .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: 5px;
    background-image: url("https://blog-imgs-174.fc2.com/m/y/s/mysticdiary/portrait.jpg");
    background-position: center center;
    background-size: 100% 100%;
    content: "";
    display: block;
    margin: 0 20px 0 0;
}

.cbody {
    padding: 10px;
}

.comfooter {
    padding: 10px 0 0;
    margin: 0;
    font-size: 9px;
    text-align: right;
    font-family: "Ibarra Real Nova", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.2em;
}

/************************************************************************************
post comment,edit comment
*************************************************************************************/

.pcomment {
    padding: 0;
    margin: 0;
}

.ecomment p,
.pcomment p {
    padding: 5px 0;
}

.ecomment {
    width: 100%;
    position: relative;
    padding: 0;
}

.ecomment label,
.pcomment label {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    font-size: 0.6rem;
}

#email,
#name,
#title,
#website {
    width: 48%;
    padding: 5px 10px;
    margin: 0 1% 0 0;
    border: none;
    outline: none;
    background-color: transparent;
    border-bottom: 0.5px #131313 solid;
    display: inline;
    font-size: 0.8rem;
}

input[type="text"],
input[type="email"],
input[type="url"] {
    -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;
    font-size: 0.8rem;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffff 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: 0.5px #131313 solid;
    -webkit-appearance: none;
    border-radius: 0;
    padding: 5px 10px;
    margin-top: 20px;
    background-color: transparent;
    font-size: 0.8rem;
}

#password {
    width: 30%;
    padding: 5px 10px;
    border: none;
    outline: none;
    border-bottom: 0.5px #131313 solid;
    background-color: transparent;
}

#dcom,
#ecom,
#ppost {
    padding: 5px 10px;
    margin: 0 0 10px;
    height: auto;
    background-color: #131313;
    width: auto;
    color: #fff;
    font-size: 0.8rem;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/************************************************************************************
trackback
*************************************************************************************/

.trackback {
    padding: 0;
    margin: 0;
    word-break: break-all;
}

.trackback h4 {
    position: absolute;
    right: 0;
    top: 40px;
    cursor: pointer;
}

.tbfooter {
    padding: 10px 0 0;
    border-bottom: 0.5px #131313 solid;
    margin: 0;
    font-size: 9px;
    text-align: right;
    font-family: "Ibarra Real Nova", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.2em;
}

/************************************************************************************
titlelist
*************************************************************************************/

.titlelist {
    width: 100%;
    position: relative;
    text-align: center;
}

.searcharea h4,
.titlelost h4 {
    text-align: center;
}

.titlelistfooter {
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 10px;
    font-family: "Ibarra Real Nova", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.2em;
}

/***********************************************************************************
searcharea
*************************************************************************************/

.searcharea {
    width: 100%;
    padding: 0;
    position: relative;
}

#searcharea .itempost {
    width: 100%;
    padding: 0 0 30px;
    margin: 0 0 30px;
    display: flex;
    align-items: flex-start;
    border-bottom: 0.5px #131313 solid;
}

#searcharea .itemimg {
    width: 40%;
    height: auto;
    padding: 0;
    margin: 0;
    position: relative;
    aspect-ratio: 1/0.5;
    overflow: hidden;
}

#searcharea .itemimg img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    filter: saturate(0%);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    opacity: 0.8;
}

#searcharea .itemimg img:hover {
    filter: saturate(100%);
    opacity: 1;
}

#searcharea .itemtext {
    width: 60%;
    padding: 0 0 0 30px;
    margin: 0;
}

#searcharea .blogpost header {
    width: 100%;
    padding: 0 0 20px;
}

#searcharea .blogpost time {
    font-size: 10px;
    font-family: "Ms Madi", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
    padding: 0;
}

#searcharea .blogpost h2 {
    padding: 0;
    margin: 0;
    font-size: 15px;
}

.none {
    display: none;
}

.block {
    display: block;
    padding: 0 30px;
    height: 400px;
}

/************************************************************************************
sidebar
*************************************************************************************/

#sidebar {
    padding: 0;
    width: 25%;
    margin: 0;
}

.profile {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1.5;
    margin: 0 auto 50px;
    position: relative;
    color: #333333;
    padding: 0;
}

.about {
    width: 70%;
    height: auto;
    margin: 0 auto;
    text-align: justify;
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    position: absolute;
    top: 5%;
    left: 15%;
}

.profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.plugcontent {
    font-size: 13px;
    margin: 0 0 30px;
}

#sidebar input[type="text"] {
    width: 99%;
    border: 1px #cccccc solid;
    background-color: #eeeeee;
}

#sidebar input[type=submit] {
    padding: 0 10px !important;
    background: rgba(242,213,206,1);
    margin-top: 10px 0 0 0 !important;
    font-size: 9px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: #333333;
}

.archivetitle {
    cursor: pointer;
}

.parchive {
    height: 300px;
    overflow-y: auto;
}

.parchive li {
    height: auto !important;
}

#sidebar .main_list:first-child {
    display: none;
}

/************************************************************************************
related post
*************************************************************************************/

.related-post {
    width: 100%;
    padding: 0 12%;
    margin: 0 0 5%;
}

.related-post-inner {
    width: 100%;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 23.5% repeat(2, 1fr) 23.5%;
    grid-template-rows: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 0;
    border-top: 3px #131313 double;
}

.related-post h4 {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    padding: 0 0 1%;
}

.related-post-each {
    border-right: 1px #131313 solid;
    padding: 5% 3%;
}

.related-post-each:first-child {
    padding: 5% 10% 0 0;
    margin: 0;
    grid-area: 1 / 1 / 2 / 2;
}

.related-post-each:nth-child(2) {
    padding: 5% 10%;
    margin: 0;
    grid-area: 1 / 2 / 2 / 3;
}

.related-post-each:nth-child(3) {
    padding: 5% 10%;
    margin: 0;
    grid-area: 1 / 3 / 2 / 4;
}

.related-post-each:nth-child(4) {
    border: none;
    padding: 5% 0 0 10%;
    margin: 0;
    grid-area: 1 / 4 / 2 / 5;
}

.related-post-each:nth-child(5) {
    display: none;
}

.related-post-each a {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    position:relative;
}

.relatedtitle {
    height: 4rem;
    font-size: 1rem;
    font-family: serif;
}

.relatedimage {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1.1;
    display: block;
}

.relatedimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0%);
    transition: all 0.5s ease;
    opacity: 0.8;
}

.relatedimage img:hover {
    filter: saturate(100%);
    opacity: 1;
}

.relatedimage p{
font-size: 17px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
    z-index: 999;
}

/************************************************************************************
ticker
*************************************************************************************/

.ticker-wrap {
    width: 100%;
    height: 80px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    background-color: #131313;
}

.ticker {
    display: inline-block;
    animation: marquee 20s linear infinite;
    padding: 1.5rem 0;
}

.item-collection-1 {
    position: relative;
    left: 0;
    animation: swap 20s linear infinite;
}

.titem {
    display: inline-block;
    padding: 0 1rem;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.2rem;
}

/* Transition */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes swap {
    0%,
    50% {
        left: 0;
    }
    100%,
    50.01% {
        left: 100%;
    }
}

/************************************************************************************
bottomcontents
*************************************************************************************/

.bottomcontents {
    width: 100%;
    padding: 5%;
    display: flex;
    justify-content: space-between;
}

.bcontent {
    width: 30%;
}

/************************************************************************************
footer
*************************************************************************************/

#footer-container {
    width: 100%;
    padding: 0;
    border-top: 3px #131313 double;
    display: flex;
}

.footer {
    width: 90%;
    margin: 0 0 0 5%;
    padding: 1%;
    font-size: 0.7rem;
    line-height: 1.3em;
    border-left: 1px #131313 solid;
    border-right: 1px #131313 solid;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

#top {
    width: 5%;
    position: relative;
    height: auto;
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
    font-size: 30px;
}

/************************************************************************************
navigation
*************************************************************************************/

.pagenav {
    width: 40px;
    height: 200px;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 38%;
    right: 1.5%;
    z-index: 999999;
    text-align: center;
}

#next {
    font-family: "Ms Madi", cursive;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.08em;
    font-size: 20px;
    transition: 0.3s;
    transform: rotate(90deg);
    position: absolute;
    top: 30px;
    left: 0;
}

#next:hover {
    top: 20px;
}

#prev {
    font-family: "Ms Madi", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 0.08em;
    position: absolute;
    top: 110px;
    left: 3px;
    transition: 0.3s;
    transform: rotate(90deg);
}

#prev:hover {
    top: 120px;
}

#nexttitle {
    width: auto;
    height: auto;
    padding: 0 0 10px;
    margin: 0 0 30px;
    font-size: 13px;
    border-bottom: 0.5px #131313 solid;
    display: block;
}

#prevtitle {
    width: 100%;
    height: auto;
    font-size: 13px;
    padding: 10px 0 0;
    margin: 10px 0 0;
    text-align: right;
    border-top: 0.5px #131313 solid;
    display: block;
}

/************************************
** image
************************************/

figure {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    -webkit-backface-visibility: hidden;
}

/************************************
** 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 #131313;
    overflow: auto;
    padding: 10px;
    margin: 1em 0;
    max-height: 500px;
    overflow-y: auto;
}

/************************************************************************************
smaller than 1200
*************************************************************************************/
@media screen and (max-width: 1200px) {

    h1 {
        letter-spacing: 0.1em;
    }

    #editarea,
    #origin,
    #searcharea,
    #titlelist {

        padding: 5%;
    }
    .related-post {

        padding: 0 5%;

    }
}
/************************************************************************************
smaller than 1080
*************************************************************************************/
@media screen and (max-width: 1080px) {

    h1 {
        letter-spacing: 0.025em;
    }
}
/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {

    h1 {
        font-size: 45px;
    }

    #maincontents .itempost:nth-child(6n+1) .itemtext {
        display: block;
    }

    #maincontents .itempost:nth-child(6n+1) .itemtext header {
        border: none;
        padding: 0;
    }

    #maincontents .itempost:nth-child(6n+1) .itemtext header h2 {
        padding: 0;
    }

    #maincontents .itempost:nth-child(6n+1) .itemtext .text_overflow {
        padding: 5% 0 0;
    }

    #maincontents .itempost:nth-child(6n+1) .itemtext .readmore {
        padding: 1rem 0 0;
    }
}
/************************************************************************************
smaller than 980
*************************************************************************************/

@media screen and (max-width: 980px) {

    .navigation {
        height: 40px;
    }

    .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: 999;
    }

    #checkleft:not(:checked)~ .menu {
        left: -100%;
        opacity: 0;
        position: fixed;
        top: 0;
        transition: 0.3s;
    }

    .buttonleft {
        position: fixed;
        top: 0;
        left: 0;
        width: 65px;
        height: 60px;
        padding: 20px;
        z-index: 9999999;
        display: block;
    }

    .buttonleft span {
        width: 23px;
        height: 2px;
        background-color: #fff;
        border-bottom: 1px #131313 solid;
        border-radius: 2px;
        z-index: 9999999;
        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) {
        -webkit-transform: translateY(9px) rotate(-45deg);
        transform: translateY(9px) rotate(-45deg);
    }

    #checkleft:checked~ .buttonleft span:nth-of-type(2) {
        opacity: 0;
    }

    #checkleft:checked~ .buttonleft span:nth-of-type(3) {
        -webkit-transform: translateY(-7px) rotate(45deg);
        transform: translateY(-7px) rotate(45deg);
    }

    .menu ul {
        margin: 0;
        display: block;
        padding: 5%;
        text-align: center;
    }

    .menu ul li {
        margin: 0;
        padding: 20px 0;
    }

    .num {
        display: none;
    }

    .menu input[type="text"] {
        width: 200px;
        text-align: center;
    }

    .social {
        display: none;
    }

    #header-container p {
        display: none;
    }

    #header-container header {
        width: 100%;
        border: none;
    }

    #editarea,
    #origin,
    #searcharea,
    #titlelist {
        display: block;
    }

    #editarea #main,
    #origin #main {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #sidebar {
        padding: 0;
        width: 100%;
        margin: 5% 0 0;
    }

}

/************************************************************************************
smaller than 780
*************************************************************************************/
@media screen and (max-width: 780px) {

    .related-post-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0;
        grid-row-gap: 0;
    }

    .related-post-each:first-child {
        grid-area: 1 / 1 / 2 / 2;
    }
    .related-post-each:nth-child(2) {
        grid-area: 1 / 2 / 2 / 3;
    }
    .related-post-each:nth-child(3) {
        grid-area: 2 / 1 / 3 / 2;
    }
    .related-post-each:nth-child(4) {
        grid-area: 2 / 2 / 3 / 3;
    }

    .related-post-each:nth-child(2n+1) {
        padding: 5% 10% 5% 0;
        margin: 0;
    }

    .related-post-each:nth-child(2n+2) {

        padding: 5% 0 5% 10%;
    }

    .related-post-each:nth-child(1) {
        border-bottom: 1px #131313 solid;

    }

    .related-post-each:nth-child(2) {
        border-bottom: 1px #131313 solid;
        border-right: none;
    }

    .bottomcontents {
        display: block;
    }

    .bcontent {
        width: 100%;
        margin: 0 0 5%;
    }

    #maincontents .itempost:nth-child(6n+1) {
        border-bottom: 1px #131313 solid;
    }

    #maincontents .itempost:nth-child(6n+4) {
        margin: 0;
        padding: 10%;
        grid-column: span 4 / span 4;
        grid-column-start: 1;
        grid-row: span 1 / span 1;
        border-bottom: 1px #131313 solid;
    }

    #maincontents .itempost:nth-child(6n+5) {
        margin: 0;
        padding: 10%;
        border-right: 1px #131313 solid;
        grid-column: span 4 / span 4;
        grid-column-start: 1;
        grid-row: span 1 / span 1;
    }

    #maincontents .itempost:nth-child(6n+6) {
        padding: 8%;
        margin: 0;
        grid-column: span 5 / span 5;
        grid-column-start: 5;
        grid-row: span 2 / span 2;
        border-left: none;
    }
}
/************************************************************************************
smaller than 600
*************************************************************************************/
@media screen and (max-width: 600px) {

    .barba-container {
        width: 100%;
        border: none;
    }

    h1 {
        font-size: 35px;
    }

    #maincontents .blogpost {
        display: block;
    }

    #maincontents .itempost:nth-child(6n+1) {
        border-right: none;
    }

    #maincontents .itempost:nth-child(6n+2) {
        padding: 8%;
    }

    #maincontents .itempost:nth-child(6n+3) {
        padding: 8%;
    }

    #maincontents .itempost:nth-child(6n+4) {
        margin: 0;
        padding: 8%;
        border-right: none;
    }

    #maincontents .itempost:nth-child(6n+5) {
        margin: 0;
        padding: 8%;
        border-right: none;
        border-bottom: 1px #131313 solid;
    }

    #maincontents .itempost:nth-child(6n+8) {
        border-top: none;
    }

    .pagenav {
        width: 100%;
        height: auto;
        position: relative;
        padding: 5% 0;
    }

    #next {
        position: relative;
        top: auto;
    }

    #prev {
        position: relative;
        top: auto;
    }

    #next:hover,
    #prev:hover {
        top: auto;
    }

    #sidebar {
        margin: 0;
    }

    .comment {
        margin: 0;
        padding: 0;
    }

    .comment h4,
    .pcomment h4,
    .trackback h4 {
        position: relative;
        width: 100%;
        top: auto;
        left: 0;
        right: auto;
    }

    #searcharea .itemimg {
        aspect-ratio: 1 / 1.5;
    }
}
