@charset "utf-8";
/* CSS Document */
body{
    background-color: #fdfdfd;
}

main{
    margin:5em 0;
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 6em;
}

main section{
    padding:0;
    margin-bottom: 2em;
}
main .entry-title{
    font-size:clamp(20px, 2vw, 30px);
    color: var(--brand);
    border-bottom: 3px solid var(--brand);
    padding-bottom: 0.3em;
    margin-bottom: 0.3em;
    font-weight: bold;
    line-height: 1.4;
}
main .entry-date{
    margin-bottom: 3em;
    font-size:clamp(14px, 1.2vw, 16px);
}
main .entry-content p{
    line-height: 1.8;
    margin-bottom: 1em;
    text-align: justify;

}
main .entry-content h2{
    font-weight: bold;
    margin-bottom: 1em;
    margin-top:1em;
    background-color: var(--brand);
    color: #fff;
    padding: 0.5em 1em 0.5em 0.5em;
    font-size:clamp(16px, 1.7vw, 20px);
}
main .entry-content h3{
    font-weight: bold;
    margin-bottom: 1em;
    margin-top:1em;
}
main .entry-content h4{
    font-weight: bold;
    margin-bottom: 1em;
    margin-top:1em;
}
main .entry-content ul{
    margin-bottom: 1em;
    margin-top:1em;
    list-style: disc;
    padding-left: 1em;
}
main .entry-content ol{
    margin-bottom: 1em;
    margin-top:1em;
    list-style: decimal;
    padding-left: 1.5em;
}
main .entry-content ul li .list-none::before{
    content: '';

}
main .entry-content ul li .list-none{
    padding-left: 0.2em;
}
main .entry-content ol li{
    margin-bottom: 0.5em;
}
main .entry-content ul li{
    margin-bottom: 0.5em;
    position: relative;
    padding-left: 1.5em;
    font-feature-settings: "palt";
}
main .entry-content ol li{
    list-style: decimal;
 

}
main .entry-content ol li ul{
    margin-bottom: 2em;
}
main .entry-content ol li ul li {
    list-style: none;
    position: relative;
    padding-left: 1.5em;
    font-feature-settings: "palt";
}
main .entry-content ul li::before {
    content: '・';
    margin-right: 0.5em;
    position: absolute;
    left: 0;
}
main .entry-content p a{
    color: var(--brand);
}
main aside .wp-block-heading{
    background-color: #F4F4F4;
    font-size:clamp(16px, 1.5vw, 18px);
    font-weight: bold;
    padding:0.4em ;
    margin-bottom: 0.5em;
    color: #545454;
}
.nav-links{
    letter-spacing: 0;
    display: flex;
    gap: 10px;
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid #e0e0e0;
}
aside ul,
aside ol{
    padding-left: 0.5em!important;
}
.wp-block-categories-list.wp-block-categories li,
.wp-block-latest-posts.wp-block-latest-posts__list li{
    margin-bottom: 0.5em;
    position: relative;
    font-feature-settings: "palt";
    padding-left: 1em;

}
.wp-block-categories-list.wp-block-categories li::before,
.wp-block-latest-posts.wp-block-latest-posts__list li::before{
    content: '';
    position: absolute;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid rgb(113 113 113);
    margin-right: 0.3em;
    top: 6px;
    left: 0;
}
.wp-block-categories-list.wp-block-categories li a,
.wp-block-latest-posts.wp-block-latest-posts__list li a{
    color: #545454;
    text-decoration: none;
    padding-left: 0;
}
.wp-block-latest-posts.wp-block-latest-posts__list li a:hover{
    color: var(--brand);
}
.wp-block-search__input{
    padding: 0.5em;
    border-radius: 2px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: .5em;
    background: #fff;
    color: var(--brand);
    text-decoration: none;
    letter-spacing: 0;
    font-weight: 600;
}

.post-navigation .nav-button:hover {

   
}

.post-navigation .nav-button:active {
    transform: translateY(0);
  
}

.post-navigation .nav-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    transition: transform 0.3s ease;
}

.post-navigation .nav-button-prev .nav-arrow {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid currentColor;
    margin-right: 0.3em;
}

.post-navigation .nav-button-next .nav-arrow {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid currentColor;
    margin-left: 0.3em;
}

.post-navigation .nav-button-prev:hover .nav-arrow {
    transform: translateX(-3px);
}

.post-navigation .nav-button-next:hover .nav-arrow {
    transform: translateX(3px);
}

.post-navigation .nav-text {
    font-size: clamp(14px, 1.2vw, 16px);
}

.post-navigation .nav-previous:empty,
.post-navigation .nav-next:empty {
    display: none;
}

main .contents article{
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #eee;
}
.blog main .contents article a,
.archive main .contents article a{
    display:grid;
    grid-template-columns: 190px 1fr;
    gap:2em;

}
.wp-singular main .contents article{
    border-bottom: none;
}
main .contents article a h2{
    font-size:clamp(16px, 1.7vw, 20px);
    margin:0.2em 0 1em 0;
    font-weight: bold;
}
.post-categories{
    background-color:#6a6a6a;
    color: #fff;
    padding:0 3px;
    border-radius: 2px;
    font-size: 11px;
    line-height: 1.6;
    font-weight: bold;
    margin-left: 0.3em;
    display: inline-block;
    position: relative;
    top: -2px;
    border-radius: 2px;
}
.pagination h2 {
	display: none;
}
.pagination .nav-links .next {
	background: url(/wp-content/themes/devorcelp01/images/arrow01.png) 0 0 no-repeat;
	background-size: 8px auto;
	height: 0;
	overflow: hidden;
	border-radius: 0;
	vertical-align: middle;
	margin: 0 ;
    width:40px;
    height:40px;
    border:1px solid #eee;
}
.pagination .nav-links .prev {
	background: url(/wp-content/themes/devorcelp01/images/arrow04.png) 0 0 no-repeat;
	background-size: 8px auto;
	height: 0;
	overflow: hidden;
	border-radius: 0;
	vertical-align: middle;
	margin: 0;
    width:40px;
    height:40px;
    border:1px solid #eee;
}
.nav-links {
	text-align: center;
	letter-spacing: -.4em;
	margin-top: 1rem;
}
.nav-links .page-numbers {
	display: flex;
	letter-spacing: normal;
	background: #fff;
	margin: 0;
	align-items: center;
	width: 40px;
	height: 40px;
    border:1px solid #eee;
	justify-content: center;
	& li {
		font-family: var(--font-din);
		& a {}
	}
}
.nav-links .page-numbers.current {
	background: #777;
	color: #fff;
}
.post-thumbnail img{
    width: 100%;
    object-fit: cover;
    height: 200px;
}
.read-more{
    color: #7c7c7c;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media screen and (max-width: 768px) {
    main{
        grid-template-columns: 1fr;
        margin:3em 0;
    }
    main .contents article a {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 1.4em;
    }
    .post-thumbnail img {
        width: 100%;
        object-fit: cover;
        height: 90px;
    }
    .post-header h1{
        font-size:clamp(25px, 2.7vw, 30px);
    }
    .blog main .contents article a, .archive main .contents article a {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 1em;
    }
}