@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');

body {
    font-family: YakuHanJP, "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 400;
    color: #313232;
    background-color: #f4fbff;
}
a {
    word-break: break-all;
    transition: .2s;
}
.sp {
    display: none;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
#wrap {
    max-width: 950px;
    margin: 0 auto;
}
@media screen and (max-width:640px) {
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
}

.main_header {
    width: 100%;
    margin: 20px 0 10px;
}
.breadcrumb {
    display: flex;
    gap: 10px;
}
.breadcrumb a.bc {
    color: #132f55;
    font-size: 1.4rem;
    text-decoration: underline;
}
.breadcrumb span.bc {
    color: #313232;
    font-size: 1.4rem;
}
.breadcrumb span.bc::before {
    content: ">";
    margin-right: 10px;
    color: #313232;
}
.site-layout {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width:1000px) {
    .breadcrumb {
        flex-direction: column;
        gap: 3px;
}
}

#sidebar {
    width: 230px;
}
.side-item {
    margin-bottom: 50px;
}
.side-item .side-title {
    font-size: 2rem;
    font-weight: 700;
    color: #3595d3;
    margin-bottom: 10px;
}
.side-item .caution {
    font-size: 1.1rem;
    color: #505d70;
    margin-top: 10px;
}
.user-text {
    font-size: 1.3rem;
    color: #132f55;
    margin-top: 10px;
}
.sns-wrap {
	display: flex;
	gap: 10px;
}
.sns-wrap a {
	color: #3595d3;
	font-size: 1.2rem;
	text-decoration: underline;
}
.post-title-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.post-title-list li a {
    display: inline-block;
    padding: 3px 10px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    background-color: #132f55;
}
.post-title-list li a:hover {
    text-decoration: underline;
}

#main {
    width: calc(100% - 260px);
}

.pagenation {
    margin-top: 50px;
    text-align: center;
    font-weight: 500;
    font-style: normal;
}
.pagenation .wp-pagenavi {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pagenation .wp-pagenavi .pages {
    display: none;
}
.pagenation .wp-pagenavi .nextpostslink,
.pagenation .wp-pagenavi .previouspostslink {
    display: none;
}
.pagenation .wp-pagenavi .page,
.pagenation .wp-pagenavi .first,
.pagenation .wp-pagenavi .last {
    display: block;
    width: 44px;
    height: 44px;
    border: solid 1px #e8e8e8;
    border-radius: 50%;
    background-color: #fff;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.pagenation .wp-pagenavi .page:hover,
.pagenation .wp-pagenavi .last:hover {
    background-color: #3595d3;
    color: #fff;
}
.pagenation .wp-pagenavi .current {
    display: block;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: #3595d3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.pagenation .wp-pagenavi .extend {
    display: block;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: #fff;
    color: #3595d3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

footer {
    width: 100%;
    border-top: solid 1px #3595d3;
    background-color: #fff;
    margin-top: 80px;
    padding-top: 30px;
}
footer .caution {
    text-align: center;
    font-size: 1.3rem;
    color: #3e3e3e;
    margin-bottom: 20px;
}
footer .copyright {
    text-align: center;
    font-size: 1.1rem;
    padding-bottom: 10px;
}

@media screen and (max-width:1000px) {
    #wrap {
        width: 100%;
        padding: 0 5%;
    }
    .breadcrumb .bc {
        font-size: 1.2rem;
    }
    .site-layout {
        margin-top: 20px;
        flex-direction: column-reverse;
        gap: 50px;
    }
    #main {
        width: 100%;
    }
    .popular-articles {
        margin-bottom: 0;
    }
    .pagenation {
        margin-top: 20px;
    }
}

.search-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.search-posts .search-post {
    padding: 45px 30px;
    background-color: #fff;
    border: solid 1px #3695d3;
}
.search-posts .search-post .search-post__title a {
    color: #3695d3;
    font-size: 2rem;
    font-weight: 600;
}
.search-posts .search-post .search-post__date {
    font-size: 1.2rem;
    color: #b5b5b5;
}
.search-posts .search-post .search-post__content {
    margin-top: 20px;
}
.search-posts .search-post .search-post__content p {
    margin: 1em 0;
}
.search-posts .search-post .search-post__more-wrap {
    text-align: right;
}
.search-posts .search-post .search-post__more-wrap a {
    color: #3695d3;
    font-size: 1.7rem;
    font-weight: 600;
    text-decoration: underline;
}