@charset "UTF-8";
/* CSS Document */

/*common
────────────────────────────────────*/
section:not(.hero) {
    padding: 50px 0;
  }
main .inner{
    max-width: 1000px;
}
.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/*page_mv
────────────────────────────────────*/
.hero {
    height: 200px;
    background: #cccccc;
    margin-bottom: 50px;
}
.single .hero,
.archive .hero{
	background-image:url("../images/post/post_bg.jpg");
}

.hero .inner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero h1,
.single .hero p {
    font-size: 3rem;
	background-color: #ffffff;
    padding: 0px 40px;
}

/*archive-section、single-section共通
────────────────────────────────────*/
.archive-section .main, .single-section .main {
    width: 70%;
}
#sidebar {
    width: 25%;
}
#sidebar h3 {
    font-size: 1.7rem;
    letter-spacing: 0.04em;
    text-indent: 0.04em;
    background: #db852f;
    line-height: 1.4;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 5px;
    color: #ffffff;
    font-weight: 500;
    width: 80%;
    margin-left: 10%;
    position: relative;
}
#sidebar ul {
    margin-top: -17.5px;
    margin-bottom: 50px;
    background: #fff5d8;
    padding: 25px 10px 15px 10px;
    border-radius: 10px;
}
#sidebar li {
    padding: 6px 3px;
    line-height: 1.6;
}
.widget_archive select {
    width: 100%;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.widget_archive label {
    display: none;
}

@media screen and (max-width:768px) {
        .archive-section .main, .single-section .main {
        width: 100%;
    }
    #sidebar {
        width: 100%;
        margin-top: 45px;
    }
    #sidebar h3 {
        font-size: 1.6rem;
    }
    #sidebar ul {
        margin-bottom: 25px;
    }
}
@media screen and (max-width:540px) {

}

/*archive-section
────────────────────────────────────*/
.archive-section .post_excerpt {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: #CBCBCB 1px solid;
}
.archive-section .post_excerpt a {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.archive-section .post_excerpt figure {
    width: 150px;
    height: 150px;
    object-fit: cover;
}
.archive-section .post_excerpt figure img {
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.archive-section .post_excerpt .txt_area {
    width: calc(100% - 170px);
    padding-top: 8px;
}
.archive-section .post_excerpt h2 {
    font-size: 1.8rem;
    color: #00A5E0;
    font-weight: 500;
}
.archive-section .post_excerpt .date {
    font-size: 1.4rem;
}
/*ページャー───*/
.archive-section .pager {
    font-size: 0;
    text-align: center;
    margin: 70px 0;
    font-weight: 400;
}
.archive-section .pager span, .archive-section .pager a {
    font-size: 1.8rem;
    font-weight: 500;
    background: #ffffff;
    border: #00A5E0 1px solid;
    padding: 1px 13px 0 13px;
    display: inline-block;
    height: 40px;
    border-radius: 20px;
    margin: 0 7px 0 0;
    color: #00A5E0;
}
.archive-section .pager .current {
    background: #00A5E0;
    color: #fff;
}

@media screen and (max-width:540px) {
    .archive-section .post_excerpt {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    .archive-section .post_excerpt figure {
        width: 90px;
        height: 90px;
    }
    .archive-section .post_excerpt .txt_area {
        width: calc(100% - 105px);
        padding-top: 3px;
    }
    .archive-section .pager {
        margin: 50px 0;
    }
}

/*single-section
────────────────────────────────────*/
.single-section .single-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
}
.single-section .single-title + p {
    border-bottom: #CBCBCB 1px solid;
    padding-bottom: 10px;
}
.single-section img {
    width: auto;
}

.single-section .post-area{
	margin-top:20px;
}

.single-section .post-area p {
    margin: 25px 0;
}
.single-section .post-area figure.aligncenter {
    text-align: center;
}
.single-section .post-area img {
    width: 100%;
    max-width: fit-content;
}
.single-section .pager {
    display: flex;
    justify-content: space-around;
    margin: 100px 0;
}
.single-section .pager li {
    list-style: none;
    width: 45%;
    display: flex;
}
.single-section .pager li a {
    background: #ffffff;
    width: 100%;
    border-radius: 40px;
    text-align: center;
    padding: 12px 15px;
    position: relative;
    color: #db852e;
    font-weight: 400;
    display: flex;
    align-items: center;
    line-height: 1.5;
    min-height: 55px;
    border: #db852e 2px solid;
}
.single-section .pager li.next-left a {
    padding-left: 35px;
}
.single-section .pager li.next-right a {
    padding-right: 35px;
}
.single-section .pager li a:before {
    content: '';
    width: 14px;
    height: 14px;
    border: 0px;
    border-top: solid 2px #db852e;
    border-right: solid 2px #db852e;
    position: absolute;
    top: 45%;
    margin-top: -4px;
}
.single-section .pager li.next-left a:before {
    -ms-transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    left: 16px;
}
.single-section .pager li.next-right a:before {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 16px;
}

@media screen and (max-width:768px) {
    .single-section .pager li {
        width: 48%;
    }
}
@media screen and (max-width:540px) {
    .single-section .pager {
        margin: 50px 0;
    }
}
