@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
body {
    font-family: YakuHanJP, "Noto Serif JP", "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    line-height: 1.43;
    font-weight: 400;
    color: #444444;
    counter-reset: number 0;
    background: url(../images/site-bg.jpg) no-repeat;
    background-size: cover;
    background-color: #fff;
}
a {
    word-break: break-all;
    color: #444444;
    transition: all .2s;
}
.sp {
    display: none;
}
.en {
    font-family: "adobe-garamond-pro", "Noto Serif JP", serif;
    font-weight: 600;
    font-style: italic;
}
.inner {
    max-width: 1200px;
    margin: 0 auto;
}
img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}
.gothic {
    font-family: YakuHanJP, "Noto Sans JP", sans-serif;
}
@media screen and (max-width:1000px) {
    body {
        background: url(../images/site-bg-sp.jpg) no-repeat;
    }
    .inner {
        width: 100vw;
        padding: 0 5%;
        margin: 0 auto;
    }
    .sp {
        display: block;
    }
    .pc {
        display: none;
    }
}

header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}
header .header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}
header .site-logo {
    display: block;
    width: 140px;
    position: relative;
    z-index: 20;
}
header .site-logo.mirable {
    width: 200px;
}
header .global_menu {
    display: flex;
    gap: 35px;
}
.hum {
    display: none;
}
.header_contents {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fafafa;
    z-index: 10;
    padding: 80px 5%;
    opacity: 0;
    pointer-events: none;
    border: #000;
    height: 100lvh;
    flex-direction: column;
}

@media screen and (max-width:1000px) {
    header .header_inner {
        padding: 0 0 0 5%;
    }
	header .site-logo {
		width: 120px;
	}
	header .site-logo.mirable {
		width: 160px;
	}
    header .global_menu {
        display: none;
    }
    .hum {
        display: block;
        position: relative;
        width: 60px;
        height: 60px;
        cursor: pointer;
        transition: all .3s;
        z-index: 101;
        outline: none;
        border: none;
        background-color: transparent;
        vertical-align: bottom;
        padding: 0;
    }
    .hum span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 16px;
        height: 3px;
        background: #00cbc5;
    }
    .hum span:nth-child(1) {
        top: 25px;
        width: 50%;
    }
    .hum span:nth-child(2) {
        top: 32px;
        width: 30%;
    }
    .hum.active span:nth-child(1) {
        top: 20px;
        left: 16px;
        transform: translate(3px, 9px) rotate(-45deg);
        width: 40%;
    }
    .hum.active span:nth-child(2) {
        top: 32px;
        left: 16px;
        transform: translate(3px, -3px) rotate(45deg);
        width: 40%;
    }
    .header_contents.active {
        opacity: 1;
        pointer-events: unset;
    }
    header .header_contents.active .search_area {
        opacity: 1;
        pointer-events: unset;
        background-color: #fff;
        border-radius: 10px;
        border: solid 1px #e8e8e8;
        padding: 5px;
    }
    header .header_contents.active .global_menu-sp {
        display: flex;
        flex-direction: column;
        margin: 40px 0 0;
        border-top: solid 1px #e8e8e8;
    }
    header .header_contents.active .global_menu-sp .menu_item {
        font-size: 1.6rem;
        font-weight: 500;
        display: block;
        border-bottom: solid 1px #e8e8e8;
        padding: 20px 0;
        position: relative;
    }
    header .header_contents.active .global_menu-sp .menu_item::after {
        content: url(../images/kagi-arrow.svg);
        width: 8px;
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
    header .header_contents .Search-form-style {
        position: relative;
    }
    header .header_contents .search-btn {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        border: none;
        background: none;
        font-size: 2rem;
        color: #000;
        cursor: pointer;
    }
    header .header_contents .form-text {
        width: calc(100% - 40px);
        font-size: 1.4rem;
        padding: 15px 0;
        border: none;
        margin-left: auto;
        display: block;
        outline: none;
    }
}

.main-layout {
    display: flex;
    justify-content: space-between;
    max-width: 1260px;
    margin: 60px auto 0;
}
.main-layout #main {
    width: calc(100% - 500px);
}
.main-layout #sidebar {
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media screen and (max-width:1000px) {
    .main-layout {
        flex-direction: column;
        width: 100%;
        padding: 0 5%;
        margin: 40px auto 0;
        gap: 40px;
    }
    .main-layout #main {
        width: 100%;
    }
    .main-layout #sidebar {
        width: 100%;
    }
}

#sidebar .side-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px 25px 35px;
    box-shadow: 0 0 10px 0 rgba(5, 43, 63, .05);
}
#sidebar .side-item.search-block {
    padding: 10px 25px;
}
#sidebar .search-block .Search-form-style {
    position: relative;
}
#sidebar .search-block .form-text {
    width: calc(100% - 40px);
    font-size: 1.4rem;
    padding: 15px 0;
    border: none;
    margin-left: auto;
    display: block;
    outline: none;
}
#sidebar .search-block .search-btn {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border: none;
    background: none;
    font-size: 2rem;
    color: #000;
    cursor: pointer;
}
#sidebar .side-title {
    text-align: center;
    margin-bottom: 25px;
}
#sidebar .side-title .title-en {
    color: #00cbc5;
    font-size: 2.4rem;
}
#sidebar .side-title .title-jp {
    color: #7b909b;
    font-size: 1.2rem;
}
#sidebar .side-cat-list {
    border-top: solid 1px #e8e8e8;
}
#sidebar .side-cat-list .side-cat-item {
    padding: 20px 0;
    border-bottom: solid 1px #e8e8e8;
    font-size: 1.6rem;
    font-weight: 500;
    color: #444444;
    display: block;
    position: relative;
}
#sidebar .side-cat-list .side-cat-item::after {
    content: url(../images/kagi-arrow.svg);
    width: 8px;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

#sidebar .rank-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
#sidebar .rank-tab .tab {
    padding: 8px 0;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background-color: #b3b3b3;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
}
#sidebar .rank-tab .tab.active {
    background-color: #00cbc5;
}
#sidebar .rank-content {
    display: none;
    flex-direction: column;
    gap: 15px;
}
#sidebar .rank-content.show {
    display: flex;
}
#sidebar .ranking-article_item {
    position: relative;
}
#sidebar .ranking-article_item .rank-number {
    position: absolute;
    top: -7px;
    left: -7px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #b3b3b3;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 5;
    box-shadow:
    inset 2px 2px 4px rgba(255, 255, 255, 0.7),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.3);
}
#sidebar .ranking-article_item .rank-number::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 60%;
    height: 30%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: rotate(-20deg);
    filter: blur(1px);
    pointer-events: none;
}
#sidebar .ranking-article_item:first-child .rank-number {
  background: linear-gradient(145deg, #ffd700, #c9a000, #fff5b7); /* ゴールド */
}
#sidebar .ranking-article_item:nth-child(2) .rank-number {
  background: linear-gradient(145deg, #d9d9d9, #b3b3b3, #e6e6e6); /* シルバー */
}
#sidebar .ranking-article_item:nth-child(3) .rank-number {
  background: linear-gradient(145deg, #cd7f32, #a06022, #f2b67b); /* ブロンズ */
}
#sidebar .ranking-article_link {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
#sidebar .ranking-article_link .thumbnail {
    width: 100px;
    border-radius: 4px;
    aspect-ratio: 1;
    overflow: hidden;
}
#sidebar .ranking-article_link .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s;
}
#sidebar .ranking-article_link:hover .thumbnail img {
    transform: scale(1.1);
}
#sidebar .ranking-article_link .textarea {
    width: calc(100% - 115px);
}
#sidebar .ranking-article_link .textarea .article_ttl {
    font-size: 1.5rem;
    font-weight: 500;
}
#sidebar .ranking-article_link .textarea .meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0 5px;
}
#sidebar .ranking-article_link .textarea .meta .category {
    font-size: 1rem;
    color: #fff;
    padding: 3px 15px;
    border-radius: 20px;
    background-color: #0781db;
}
#sidebar .ranking-article_link .textarea .meta .date {
    font-size: 1.1rem;
}
#sidebar .ranking-article_link .textarea .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
	margin-top: 10px;
}
#sidebar .ranking-article_link .textarea .tag-list .post-tag {
    font-size: 1rem;
    color: #adadad;
}
#sidebar .ranking-article_link .textarea .tag-list .post-tag::before {
    content: "#";
}
#sidebar .keyword-list-wrap {
    border-top: solid 1px #e8e8e8;
    padding: 20px 0;
}
#sidebar .keyword-list-wrap:last-child {
    border-bottom: solid 1px #e8e8e8;
}
#sidebar .keyword-list-wrap .keyword-item-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #868686;
    margin-bottom: 20px;
}
#sidebar .keyword-list-wrap .keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#sidebar .keyword-list-wrap .keyword-list .keyword-link {
    display: block;
    width: fit-content;
    background-color: #9f9f9f;
    padding: 5px 10px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
}
#sidebar .keyword-list-wrap .keyword-list .keyword-link:hover {
    background-color: #00cbc5;
}

.article_list {
    display: flex;
    gap: 45px;
    flex-wrap: wrap;
}
.article_item {
    width: calc((100% - 45px) / 2);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px 0 rgba(5, 43, 63, .05);
}
.article_item .thumbnail {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
	aspect-ratio: 16 / 9;
}
.article_item .thumbnail .category {
    position: absolute;
    bottom: -1px;
    right: 10px;
    background-color: #0781db;
    padding: 5px 10px;
    border-radius: 10px 10px 0 0;
    font-size: 1.2rem;
    color: #fff;
    display: inline-block;
}
.article_item .thumbnail img {
    vertical-align: bottom;
    transition: all .3s;
}
.article_link:hover .thumbnail img {
    transform: scale(1.05);
}
.article_item .textarea {
    padding: 20px 24px;
}
.article_item .meta_area .category {
    font-size: 1.3rem;
    color: #0781db;
}
.article_item .article_ttl {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 5px 0 20px;
}
.article_item .date {
    font-size: 1.2rem;
}
.article_item .tag-list {
    display: flex;
	flex-wrap: wrap;
    margin-top: 10px;
    gap: 2px 5px;
}
.article_item .tag-list .post-tag {
    font-size: 1.1rem;
}
.article_item .tag-list .post-tag::before {
    content: "#";
}

.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: #00cbc5;
    color: #fff;
}
.pagenation .wp-pagenavi .current {
    display: block;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: #00cbc5;
    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: #00cbc5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

@media screen and (max-width:1000px) {
    .article_list .article_item {
        width: 100%;
    }
    .article_list {
        gap: 25px;
    }
    .pagenation {
        margin-top: 30px;
    }
}

.recommend {
    background-color: #fff;
    padding: 80px 0;
    border-bottom: solid 1px #ee87b4;
    margin-top: 80px;
}
.recommend .section-ttl {
    font-size: 3.6rem;
    text-align: center;
    color: #00cbc5;
}
.recommend .recommend-lead {
    font-size: 1.5rem;
    margin: 20px 0;
    text-align: center;
}
.recommend_slider .slick-track {
    padding: 20px 0;
}
.recommend_slider .article_item {
    width: 360px;
    margin: 0 20px;
}

@media screen and (max-width:1000px) {
    .recommend {
        margin-top: 40px;
        padding: 40px 0;
    }
    .recommend .section-ttl {
        font-size: 2.4rem;
    }
    .recommend .recommend-lead {
        margin: 15px 0;
    }
    .recommend_slider .article_item {
        width: 82vw;
        margin: 0 10px;
    }
}

footer {
    background-color: #f6f6f6;
    padding: 60px 0 0;
}
.footer-inner {
    width: 1260px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.footer-logo-area {
    width: 260px;
    display: flex;
    flex-direction: column;
}
.copyright {
    font-size: 1.1rem;
    text-align: right;
    margin-top: 10px;
}
.footer-sns-links {
    margin-top: auto;
    display: flex;
    gap: 25px;
}
.footer-sns-links .sns-link {
    width: 25px;
    display: block;
}
.footer-nav {
    width: calc(100% - 400px);
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: 50px;
}
.footer-nav-item {
    width: 250px;
}
.footer-link-title {
    padding-bottom: 10px;
    border-bottom: solid 1px #7e7d7b;
}
.footer-link-title .en {
    font-size: 1.2rem;
    color: #a7a7a5;
}
.footer-link-title .jp {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}
.footer-nav-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}
.footer-nav-items .footer-nav-item {
    position: relative;
    padding-left: 15px;
}
.footer-nav-items .footer-nav-item::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #4e4d49;
    border-right: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}
.footer-sub-menu {
    gap: 15px;
    margin: 0 auto;
    padding: 20px 0;
    border-top: solid 1px #cecece;
    margin-top: 60px;
}
.footer-sub-menu .inner {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.footer-sub-menu a {
    font-size: 1.3rem;
}
.footer-sub-menu a:hover {
    text-decoration: underline;
}

@media screen and (max-width:1000px) {
    footer {
        padding: 40px 0 0;
    }
    .footer-inner {
        width: 100%;
        padding: 0 5%;
        flex-direction: column;
    }
    .footer-logo-area {
        width: 100%;
    }
    .footer-logo-area .site-logo {
        width: 240px;
        margin: 0 auto;
    }
    .copyright {
        text-align: center;
    }
    .footer-sns-links {
        justify-content: center;
        margin-top: 30px;
        gap: 30px;
    }
    .footer-sns-links .sns-link {
        width: 30px;
    }
    .footer-nav {
        width: 100%;
        margin-top: 40px;
        gap: 35px;
    }
    .footer-nav-item {
        width: 100%;
    }
    .footer-sub-menu .inner {
        justify-content: center;
        gap: 20px;
    }
    .footer-sub-menu a {
        font-size: 1.2rem;
    }
}