/*
Template: jin
Theme Name: jin-child
Author: CrossPiece
Version: 1.00
*/
html {
    font-size: 62.5%;
}
body {
    font-family: "Zen Kaku Gothic New", sans-serif!important;
    font-weight: 500;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #1a1a1a;
    letter-spacing: 0.025rem!important;
    position: relative;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    background: #e2e2e2;
}
body#nofont-style .ef, body#nofont-style #prev-next a.prev:after,
body#nofont-style #prev-next a.next:after{
    font-family: "Inter", sans-serif!important;
    letter-spacing: 0.025rem!important;
}
section.related-entry-section {
    border-top: 1px solid #1a1a1a;
    padding: 60px 0;
}
h2.ttl-txt {
    font-size: 1.6rem;
    padding: 20px 0 65px;
    line-height: 1;
    border-bottom: 1px solid #b8b8b8;
}
h1, h2, h3, h4, h5 {
    font-weight: 600!important;
}
#header-box {
    background-color: #e2e2e2!important;
}
#nav-container {
    background-color: #e2e2e2!important;
}
#drawernav {
        width: 1450px;
        padding: 0 125px;
    }
#wrapper {
    background-color: #e2e2e2 !important;
}
#nav-container #drawernav ul.menu-box > li > a, #drawernav2 ul.menu-box > li > a,
#drawernav3 ul.menu-box > li > a, #drawernav4 ul.menu-box > li > a,
#drawernav5 ul.menu-box > li > a, #drawernav ul.menu-box > li.menu-item-has-children:after,
#drawernav2 ul.menu-box > li.menu-item-has-children:after,
#drawernav3 ul.menu-box > li.menu-item-has-children:after,
#drawernav4 ul.menu-box > li.menu-item-has-children:after,
#drawernav5 ul.menu-box > li.menu-item-has-children:after {
    color: #1a1a1a !important;
    border-bottom: 2px solid #1a1a1a;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    margin: 0 20px 0 0;
    position: revert;
    text-align: left !important;
    padding: 12px 0;
    width: 125px;
}
    #wrapper .tn-logo-size img {
        width: 200px !important;
    }
#header-box #header.header-type2 #site-info {
    width: 200px;
}
#drawernav ul.menu-box li a, #drawernav2 ul.menu-box li a,
#drawernav3 ul.menu-box li a, #drawernav4 ul.menu-box li a,
#drawernav5 ul.menu-box li a {
    font-size: 15px !important;
}
#nav-container #drawernav ul.menu-box > li > a:before {
    content: "";
    background: url(img/icon-arrow.svg) center no-repeat;
    width: 12px;
    height: 12px;
    position: absolute;
    right: 25px;
    top: 35%;
    z-index: 2;
    transition: 0.3s ease;
}
#sidebar .widget {
    border-bottom: 1px solid #1a1a1a;
    padding: 0 0 40px;
    margin: 0 0 40px 0;
}
.cps-post-main ul.wp-block-list {
    padding-left: 5px;
    padding-top: 0;
    margin-top: 0em;
    margin-bottom: 1.5em;
}
.cps-post-main .wp-block-buttons>.wp-block-button {
    display: block;
    margin: 0 auto;
}
.cps-post-main .wp-block-buttons>.wp-block-button a {
    background: #1a1a1a !important;
    color: #fff;
    text-decoration: none;
    min-width: 200px;
    padding: 14px 20px;
    margin: 20px 0 30px;
}
.cps-post-main .wp-block-jin-gb-block-box.simple-box1 {
    border: 0;
    padding: 20px;
    width: 100%;
    background: #ddd;
}
    .simple-box1, .simple-box2, .simple-box3, .simple-box4, .simple-box5, .simple-box6, .simple-box7, .simple-box8, .simple-box9, .kaisetsu-box1, .kaisetsu-box2, .kaisetsu-box3, .kaisetsu-box4, .kaisetsu-box5, .kaisetsu-box6, .concept-box1, .concept-box2, .concept-box3, .concept-box4, .concept-box5, .concept-box6, .innerlink-box1 {
        width: 100%;
    }
    .cps-post-main .kaisetsu-box1-title {
    background-color: #1a1a1a !important;
}
.wp-block-jin-gb-block-rich-button a {
    background: #1a1a1a!important;
}
.top-image-btn-color a, .color-button01 a, .color-button02 a {
    font-size: 1.6rem;
}
.cps-post-main .color-button02 a, .cps-post-main .color-button02 a:hover, .cps-post-main .color-button02:before {
    background-color: #1a1a1a !important;
}
.cps-post-main .color-button01 a, .cps-post-main .color-button01 a:hover, .cps-post-main .color-button01:before {
    background-color: #1a1a1a !important;
}
.cps-post-main .kaisetsu-box1:before{background:#fff!important}
.wp-block-separator {
    border-top: 1px solid;
    margin: 0 0 20px;
}
.wp-block-buttons>.wp-block-button a:hover {
    background: #947550 !important;
}
.cps-post-main a:hover{opacity: 1}
ul.wp-block-list li:before {
    width: 8px;
    height: 8px;
    content: "";
    display: block;
    border-radius: 10px;
    position: absolute;
    left: 5px;
    top: 50%;
    margin-top: -3px;
}
@media (min-width: 768px) {
    .cps-post .h2-style01 h2 {
        font-size: 2.6rem;
        line-height: 1.5;
        padding: 5px 0;
        margin-top: 20px;
        margin-bottom: 20px;
        background: transparent !important;
        color: #1a1a1a;
    }
    .cps-post .h3-style01 h3 {
        font-size: 2.2rem;
        line-height: 1.5;
        padding: 14px 0;
        padding-top: 0;
        margin-top: 2.3rem;
        margin-bottom: 1.6rem;
        border-bottom: 1px solid #1a1a1a;
    }
    .cps-post .h4-style01 h4 {
        font-size: 1.8rem;
        line-height: 1.8rem;
        padding: 2px 0;
        margin-top: 1rem;
        margin-bottom: 0.8rem;
        border: 0;
    }
    .cps-post-main h5 {
        font-size: 1.6rem;
    }
}
#sidebar h2.wp-block-heading, label.wp-block-search__label {
    font-size: 17px !important;
    margin-bottom: 10px;
}
.post-list-mag .post-list-item .post-list-inner .post-list-meta .post-list-date,
.post-list-mag3col .post-list-item .post-list-inner .post-list-meta .post-list-date,
.post-list-mag-sp1col .post-list-item .post-list-inner .post-list-meta .post-list-date {
    position: relative;
    bottom: auto;
    left: auto;
}
.post-list-mag .post-list-item .post-list-inner .post-list-meta .post-list-date,
.post-list-mag3col .post-list-item .post-list-inner .post-list-meta .post-list-date,
.post-list-mag-sp1col .post-list-item .post-list-inner .post-list-meta .post-list-date{
    line-height: 1;
    margin: 10px 0 0;
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: -0.05rem;
    color:#1a1a1a!important;
}
.post-list-mag .post-list-item .post-list-inner .post-list-thumb img,
.post-list-mag3col .post-list-item .post-list-inner .post-list-thumb img,
.post-list-mag-sp1col .post-list-item .post-list-inner .post-list-thumb img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
    .post-list-mag .post-list-item .post-list-inner .post-list-meta .post-list-title,
    .post-list-mag3col .post-list-item .post-list-inner .post-list-meta .post-list-title,
    .post-list-mag-sp1col .post-list-item .post-list-inner .post-list-meta .post-list-title {
        font-size: 1.8rem;
        line-height: 1.6rem;
        margin-top: 7px;
    }
    .post-list-mag .post-list-item .post-list-inner .post-list-meta,
    .post-list-mag3col .post-list-item .post-list-inner .post-list-meta,
    .post-list-mag-sp1col .post-list-item .post-list-inner .post-list-meta {
        padding: 15px 17px 15px 0px;
    }
:where(.wp-block-search__button) {
    background: #1a1a1a;
    color: #fff !important;
    border-radius: 7px;
}
.toppost-list-box-simple p.more {
    bottom: 10px;
    top: auto;
}
 [class*=" jin-ifont-"]:before {
    font-size: 1.6rem;
    vertical-align: sub;
}
.jin-ifont-twitter:before {
    font-size: 2rem;
}
.font-hatena:before {
    font-size: 1.3rem;
}
.jin-ifont-pocket:before {
    font-size: 1.5rem;
    vertical-align: super;
    margin-top: 1px;
}
.jin-ifont-line:before {
    font-size: 2.1rem;
}
.post-list-mag .post-list-item a .post-list-date,
.post-list-mag .post-list-item a .post-list-title,
#nav-container #drawernav ul.menu-box > li > a:before{transition: .3s all;}
.post-list-mag .post-list-item a:hover .post-list-inner .post-list-meta .post-list-date,
.post-list-mag .post-list-item a:hover .post-list-inner .post-list-meta .post-list-title{
    color:#947550!important;
}
.archive-post-header {
    text-align: left;
}
span.archive-title-sub.ef {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color:#1a1a1a!important;
}
.archive.date #breadcrumb ul li:nth-child(2) {
    display: none;
}
h2.archive-title.entry-title {
    font-size: 1.6rem;
    padding: 20px 0 65px;
    line-height: 1;
    border-bottom: 1px solid #b8b8b8;
}
#nav-container #drawernav ul.menu-box > li > a:hover{
    color:#947550!important;
    border-bottom: 2px solid #947550;
}
#nav-container #drawernav ul.menu-box > li > a:hover:before {
    background: url(img/icon-arrow-brown.svg) center no-repeat;
}
#drawernav ul.menu-box li.menu-item a{height:auto;}
#drawernav ul.menu-box li.menu-item a:after{display:none;}
.post-list-mag .post-list-item, .post-list-mag3col .post-list-item, .post-list-mag-sp1col .post-list-item {
        margin-bottom: 39px;
    }
    .post-list-mag .post-list-item .post-list-inner .post-list-meta .post-list-cat,
    .post-list-mag3col .post-list-item .post-list-inner .post-list-meta .post-list-cat,
    .post-list-mag-sp1col .post-list-item .post-list-inner .post-list-meta .post-list-cat {
        font-size: 1rem;
    }
.related-entry-headline-text.ef {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}
.post-list-mag3col {
    display: block;
}
.post-list-mag3col .post-list-item .post-list-inner .post-list-thumb img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}
.post-list-mag3col .post-list-item .post-list-inner .post-list-meta .post-list-date{
    position: relative;
    bottom: auto;
    left: auto;
    color: #1a1a1a !important;
    width: auto;
    text-align: left;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 15px;
    line-height: 1;
    display: block;
    padding: 0 0 15px 0;
    margin: 0;
}
.post-list-mag3col .post-list-item .post-list-inner .post-list-thumb {
    width: 300px;
    margin-right: 35px;
}
#main-contents {
    margin-right: 30px;
    margin-left: 0;
    padding-bottom: 130px;
    padding-top: 60px;
}
#wrapper #breadcrumb ul li:last-child a {
    color: #1a1a1a !important;
}
#breadcrumb {
    width: 100%;
    border-bottom: 1px solid #1a1a1a;
}
#wrapper #breadcrumb ul li a {
    color: #888!important;
}
#breadcrumb ul li {
    display: inline;
    font-size: 1.6rem;
    color: #1a1a1a;
}
#wrapper #breadcrumb:after {
    background: transparent!important;
}
#breadcrumb ul li+li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #888;
    display: inline-block;
    margin: 0 1rem .2rem;
}
#breadcrumb ul {
    max-width: 1450px;
    width: auto;
    padding: 20px 125px;
}
    .related-entry-section .post-list-mag3col a.post-list-link .post-list-meta .post-list-cat {
        font-size: 1rem;
    }
    a.post-list-link {
        background: transparent!important;
        box-shadow: none!important;
    }
    .related-entry-section .post-list-mag3col a.post-list-link .post-list-meta .post-list-title {
        font-size: 2rem;
        line-height: 1.4;
    }
.post-list-mag .post-list-link:hover, .post-list-mag-sp1col .post-list-link:hover,
.post-list-mag3col .post-list-link:hover, .post-list-mag3col-slide .post-list-link:hover {
    transform: none;
    box-shadow: none;
}
#drawernav nav.fixed-content {
        margin-left: 0;
        margin-top: 40px;
    }
    .related-entry-section .related-entry-headline {
        margin-bottom: 0;
    }
        .post-list, .post-list-mag, .post-list-mag3col, .post-list-mag-sp1col {
        padding-top: 0;
    }
.related-entry-section .post-list-mag3col .post-list-item {
    margin-bottom: 0!important;
    border-bottom: 1px solid #b8b8b8;
    padding: 40px 0;
}
.post-list-mag3col .post-list-item .post-list-inner {
    display: table;
}
#prev-next .prev .metabox, #prev-next .next .metabox {
    display: block;
}
#prev-next a:hover {
    transform: none !important;
    box-shadow: none !important;
}
#prev-next .prev .metabox img, #prev-next .next .metabox img {
        width: 60%;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        margin-bottom: 14px;
    }
.ttl.prev,.ttl.next {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    
}
#prev-next div.prev{padding-left: 30px;}
#prev-next div.next {padding-right: 30px;}
.ttl.prev:before {
    background: url(img/icon-arrow.svg) 0 0 no-repeat;
    width: 17px;
    transform: rotate(180deg);
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 9px;
    height: 15px;
}
.ttl.next:before {
    background: url(img/icon-arrow.svg) 0 0 no-repeat;
    width: 17px;
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 9px;
    height: 15px;
}
.ttl.prev:before,.ttl.prev:before {
    transition: .3s all;}
a:hover .ttl.prev:before, a:hover .ttl.next:before{
    background-image:url(img/icon-arrow-brown.svg);
}

#prev-next{margin-top: 65px;}
#prev-next .prev .metabox p, #prev-next .next .metabox p {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-top: 0 !important;
        width:100%;
}
#prev-next .prev {
        margin-right: 0;
    }
#prev-next .prev, #prev-next .next {
        min-height: auto;
}
#prev-next a.prev:after,#prev-next a.next:after{display: none;}
#prev-next a.next{text-align: right;}
    #prev-next .prev, #prev-next .next {
        background: transparent !important;
        box-shadow: none !important;}
    .related-entry-section .post-list-mag3col a.post-list-link .post-list-meta {
        padding: 0;
        padding-bottom: 30px;
        display: table-cell;
        vertical-align: middle;
    }
.related-entry-section .post-list-mag3col .post-list-item {
        width: 100%;
        margin-bottom: 40px;
    }
.wp-block-latest-posts li, .wp-block-arch liives-list li, .wp-block-categories-list {
    margin-bottom: 5px;
}
#prev-next a p{transition: .3s all;}
#prev-next a:hover p {color: #947550!important;}
.wf {
    font-family: "Inter", sans-serif;
}
.news-btn a {
    margin: 60px auto 0;
    background: #1a1a1a;
    display: block;
    border-radius: 50px;
    width: 300px;
    padding: 2rem;
    text-align: center;
    position: relative;
    color: #fff!important;
}
.news-btn a:hover {
    background: #947550;
}
.news-btn a:after {
    content: "";
    background: url(img/icon-arrow-white.svg) 0 0 no-repeat;
    width: 15px;
    height: 11px;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 25px;
}
.news-info {
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0rem;
}
span.category a {
    color: #1a1a1a;
    font-size: 1.6rem;
    position: relative;
    text-transform: capitalize;
}
span.category a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #947550;
    display: inline-block;
    margin: 0 1rem .2rem;
}
img:is([sizes="auto" i], [sizes^="auto," i]) {
    contain-intrinsic-size: 209px;
}
    .article_style1 .cps-post-box {
        background: transparent!important;
        box-shadow: none!important;
        padding: 0px;
    }
.cps-post .cps-post-header h2.cps-post-title {
    padding-bottom: 45px;
    line-height: 1.4 !important;
    font-size: 3rem !important;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 60px;
    font-weight: 600;
}
.sidebar_style2 .widget{font-size:1.4rem!important}
#drawernav ul.menu-box {
    margin: 0 0 60px;
}
#contents {
    max-width: 1450px;
    padding: 0 125px;
    width: auto;
}
@media (min-width: 768px) {
    #sidebar {
        width: calc(32.333333% - 26.6666666667px);
    }
}
    #sidebar {
        padding-top: 60px;
    }
    .post-list-mag3col .post-list-item .post-list-date,
    .related-entry-section .post-list-mag3col .post-list-title{transition: .3s all;}
    .post-list-mag3col .post-list-item a:hover .post-list-inner .post-list-meta .post-list-date,
    .related-entry-section .post-list-mag3col a.post-list-link:hover .post-list-meta .post-list-title{
        color:#947550!important;
    }
p.more {
    background: url(img/icon-arrow.svg) 0 0 no-repeat;
    width: 15px;
    height: 11px;
    margin: 10px 0 0 auto;
    position: absolute;
    right: 9px;
    top: 41%;
    transition: 0.3s ease;
}
a:hover p.more{
    background: url(img/icon-arrow-brown.svg) 0 0 no-repeat;
}
#drawernav ul.menu-box li.menu-item {
    margin-right: 10px!important;
}
.cps-post-main p {
    font-size: 1.6rem;
    line-height: 1.7;
    letter-spacing: 0.16rem;
    margin-bottom: 20px;
}

.cps-post-main{padding-top: 0;}
#drawernav ul.menu-box li.menu-item a {
    padding: 12px 21px;}

/* footer
----------------------------------------------------*/
footer p {
    margin: 0;
}
footer.footer {
    color: #fff;
    background: #404040;
}
footer.footer a.footer-contact-link {
    display: block;
    padding: 0 5%;
    color: #fff;
}
footer.footer .footer-contact {
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    padding: 140px 0;
}
footer.footer .footer-contact::before {
    content: "";
    background: url(img/icon-arrow-white.svg) center no-repeat;
    width: 14px;
    height: 12px;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    transition: 0.3s ease;
    
}
footer.footer .footer-contact::after {
    content: "";
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid #fff;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s ease;
}
footer.footer a:hover .footer-contact::before {
    background: url(img/icon-arrow.svg) center no-repeat;
}
footer.footer a:hover .footer-contact::after {
    content: "";
    background: #fff;
}
footer.footer .footer-contact .contact-item1 .en-title {
    font-size: 7vw;
    font-weight: 700;
    line-height: 1.2;
}
footer.footer .footer-contact .contact-item2 {
    margin: 0 0 0 5%;
    padding: 0 100px 0 0;
    flex-grow: 1;
}
footer.footer .footer-contact .contact-item2 .title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
footer.footer .footer-pagetop {
    text-align: right;
    padding: 20px 5%;
}
footer.footer .footer-pagetop #pagetop {
    display: inline-block;
    color: #fff;
    position: relative;
    padding-right: 30px;
    cursor: pointer;
}
footer.footer .footer-pagetop #pagetop:hover {
    opacity: .7;
}
footer.footer .footer-pagetop #pagetop::after {
    content: "";
    background: url(img/icon-arrow-white.svg) center no-repeat;
    width: 14px;
    height: 12px;
    position: absolute;
    right: 0;
    top: 1rem;
    rotate: -90deg;
}
footer.footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5%;
    margin: 40px 0;
}
footer.footer .footer-links .fnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5% 0 0;
    flex-grow: 1;
}
footer.footer .footer-links .fnav ul {
    width: 32%;
}
footer.footer .footer-links .fnav ul li {
    margin-bottom: .5rem;
    font-size: 1.5rem!important;
}
footer.footer .footer-links .fnav ul li a {
    color: #fff;
}
footer.footer .footer-links .fnav ul li a:hover {
    opacity: .7;
}
footer.footer .footer-links .fnav a.target::after {
    content: "";
    background: url(img/icon-window-white.svg) center no-repeat;
    width: 12px;
    height: 10px;
    display: inline-block;
    margin-left: .5rem;
}
footer.footer .footer-address .company {
    font-weight: 700;
    margin-bottom: 16px;
}
footer.footer .copy {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 40px;
}
footer.footer .footer-text {
    display: flex;
    justify-content: center;
    white-space: nowrap;
    font-size: 14vw;
    font-weight: 700;
    padding: 0 5% 20px;
    letter-spacing: 1rem;
    line-height: 1.2;
}
footer.footer .footer-text span {
    display: block;
}
footer.footer .footer-text .space {
    margin-right: 3rem;
}
p.tel a {
    color: #fff!important;
}
@media screen and (max-width: 768px) {
    footer.footer .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 0;
    }
    footer.footer .footer-contact::after {
        width: 40px;
        height: 40px;
    }
    footer.footer .footer-contact::before {
        right: 14px;
    }
    footer.footer .footer-contact .contact-item1 .en-title {
        font-size: 10vw;
    }
    footer.footer .footer-contact .contact-item2 {
        font-size: 1.6rem;
        margin: 10px 0 0;
        padding: 0 50px 0 0;
    }
    footer.footer .footer-contact .contact-item2 p {
        font-size: 1.4rem;
    }
    footer.footer .footer-links {
        margin: 0;
    }
    footer.footer .footer-links .fnav {
        padding: 0;
    }
    footer.footer .footer-links .fnav ul li {
        font-size: 1.4rem;
    }
    footer.footer .footer-links .fnav ul.nav-list1,
    footer.footer .footer-links .fnav ul.nav-list2 {
        width: 49%;
    }
    footer.footer .footer-links .fnav ul.nav-list3 {
        width: 100%;
        margin-top: 40px;
        display: flex;
        flex-wrap: wrap;
        gap: 0 1.6rem;
    }
    footer.footer .footer-address {
        margin: 40px 0 0;
        font-size: 1.4rem;
    }
    footer.footer .footer-address .company {
        margin-bottom: 10px;
    }
    footer.footer .copy {
        font-size: 1.2rem;
        margin-top: 20px;
    }
    footer.footer .footer-text {
        font-size: 10vw;
        padding: 40px 5% 40px;
    }
}
label.sp-menu-open.no-fix {
    display: none;
}

@media (min-width: 1200px) {
    #header {
        width: 100%!important;
    }
}

#header-box #site-info {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}
@media (min-width: 768px) {
    #header-box #header {
        width: 100%;
        padding: 0 40px;
    }
}
#header-box #header.header-type2 #site-info {
    text-align: left;
}
     #site-info .tn-logo-size img {
        width: 100% !important;
    }
@media (min-width: 1200px) {
    #header #site-info .tn-logo-size img {
        width: 200px !important;
    }
}
@media (max-width: 1024px) {
    #sidebar {
        margin-left: 0px !important;
    }
    #main-contents {
        width: 100%;
        float: none;
        margin-left: 0px;
    }
    #sidebar {
        width: 100%;
        float: none;
        max-width: 100% !important;
    }
#main-contents {
    margin-right: 0px;
    padding-bottom: 70px;
}
}
@media (max-width: 767px) {
    #sidebar {
        position: relative !important;
        left: auto !important;
        top: auto !important;
    }
#contents {
    max-width: 1450px;
    padding: 0 60px;
    width: auto;
}
#breadcrumb ul {
    padding: 20px 60px;
}
#header-box #header.header-type2 #site-info {
    width: 120px;
    margin: 0 60px;
}
#prev-next {
        display: flex;
    }
    #prev-next a.prev, #prev-next a.next {
    width: 50%;
}
#prev-next .prev .metabox img, #prev-next .next .metabox img {
    width: 75%;
}
#prev-next .next {
        margin-top: 0px;
    }
#prev-next a.next {
    margin-left: auto;
}
.post-list-mag3col .post-list-item .post-list-inner .post-list-thumb img {
    width: 220px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}
.post-list-mag3col .post-list-item .post-list-inner .post-list-thumb {
    width: 220px;
}
.post-list-mag3col .post-list-item .post-list-inner {
    display: block;
}
    .post-list-mag3col .post-list-item .post-list-inner .post-list-thumb {
        width: 100%;
        margin: 0;
    }
    .post-list-mag3col .post-list-item .post-list-inner .post-list-thumb img {
        width: 100%;}
    .related-entry-section .post-list-mag3col a.post-list-link .post-list-meta {
    padding-top: 30px;padding-bottom: 0;
}
.post-list-mag3col .post-list-item .post-list-inner .post-list-meta .post-list-date{
    padding:0 0 20px;
}
p.more {
    top: auto;
    bottom: 4%;
}
.related-entry-section .post-list-mag3col a.post-list-link .post-list-meta .post-list-title {
    font-size: 1.8rem;
}
.post-list-mag3col .post-list-item .post-list-inner .post-list-meta .post-list-date {
    font-size: 1.5rem;}
.cps-post .cps-post-header h2.cps-post-title {
    font-size: 2rem !important;}
}
.post-list-mag .post-list-item .post-list-inner .post-list-meta .post-list-title {
    line-height: 1.4;
}


@media (max-width: 640px) {
    #contents {
        padding: 0 30px;
    }
    #breadcrumb ul {
        padding: 10px 30px;
    }
    #breadcrumb ul li {
        font-size: 1.3rem;
    }

#header-box #header.header-type2 #site-info {
    margin: 0 30px;
}
}