@charset "UTF-8";

/* =============================
common
============================= */
:root {
    --primary-white: #FDFDFD;
    --primary-black: #000000;
    --primary-grey: 217, 217, 217;
    --primary-lightGrey: #B4B4B4;
    --primary-blueGray: #606871;
    --primary-blue: #024B8F;
}

html {
    font-size: 62.5%;
    width: 100%;
}

body {
    font-family:
        "Averia Serif Libre",
        "Shippori Mincho",
        sans-serif;
    font-style: normal;
    color: #000;
    background-color: var(--primary-white), #FDFDFD;
    line-height: 1.5;
    width: 100%;
    height: 100vh;
    position: relative;
    display: none;
}

img {
    max-width: 100%;
    height: auto;
}

.JP {
    font-family: "Shippori Mincho";
}

.EG {
    font-family: "Averia Serif Libre";
}


/* ------------------------------------------
 * ページネーション（カテゴリー共通）
 * ------------------------------------------ */

/* 全体のコンテナ */
.pagination-wrapper {
    margin: 80px 0 40px; /* 上に広めの余白 */
    text-align: center;
}

/* ページ番号のリスト（WPが自動出力する構造に対応） */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* 数字同士の間隔 */
    flex-wrap: wrap; /* スマホで溢れたら折り返す */
}

/* 各数字・矢印の基本スタイル */
.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 5px;
    background-color: transparent;
    border: 1px solid transparent; 
    outline: none;
    color: #333;
    text-decoration: none;
    font-family: 'Averia Serif Libre', serif; /* 英字フォント */
    font-size: 14px;
    transition: all 0.3s ease;
}

/* 現在のページのスタイル（反転させる） */
.pagination .page-numbers.current {
    background-color: #f7f7f7;
}

/* ホバーした時 */
.pagination a.page-numbers:hover {
    border: 1px solid #dcdcdc; /* 線の色 */
}

/* 「…」（中略）のスタイル */
.pagination .page-numbers.dots {
    border: none;
    padding: 0;
    min-width: 20px;
}

/* 前へ/次へ 矢印の微調整 */
.pagination .prev, .pagination .next {
    font-weight: bold;
}

/* スマホ用の調整 */
@media screen and (max-width: 768px) {
    .pagination-wrapper {
        margin: 50px 0 30px;
    }
    .pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }
}



/* common pc */
@media screen and (min-width:769px) {
    body {
        /* height: 100%; */
        position: relative;
    }

    .container {
        padding-top: 60px;
    }

    .spBr {
        display: none;
    }
}

/* pc 769px */

/* =============================
header
============================= */
.header,
.nav__header {
    display: flex;
    padding: 2.4vh 5.3% 0;
    /* height: 50px; */
    justify-content: center;
    position: relative;
}

.header__topic img,
.nav__topic img {
    height: 3.5vh;
}

/* .nav初期表示 */
.nav {
    background-color: rgba(var(--primary-grey), 0.90);
    background-image: url(../images/sjokinawa-49.png);
    background-repeat: no-repeat;
    background-position: 125% 45%;
    background-size: 50%;
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.close__btn--pc {
    display: none;
}

.close__btn--sp {
    position: absolute;
    right: 5.3%;
    height: 2.4vh;
}

.nav__message {
    opacity: 0%;
    visibility: hidden;
    transition: opacity 1.2s, visiblity 1.2s;
}

/* .nav__message.active表示  */
.nav__message.active {
    opacity: 50%;
    visibility: visible;
    transform: translateX(0);
}


.nav__message--pc {
    display: none;
}

.nav__message--sp {
    position: absolute;
    top: 77.4vh;
}

.nav__list {
    text-align: center;
    margin: 9.3vh 0 11.8vh;
    z-index: 100;
}

.nav__item {
    width: fit-content;
    margin: 0 auto 7.2vh;
    position: relative;
}

.nav__item a {
    display: inline-block;
    padding-bottom: 1vh;
}

.nav__item--l__image::after,
.nav__item--r__image::after {
    background-color: var(--primary-blue);
    bottom: 0;
    content: '';
    display: block;
    height: 1.5px;
    left: 0;
    position: absolute;
    transition: all 0.5s;
    width: 0;
}

.nav__item--l__image:hover::after,
.nav__item--r__image:hover::after {
    width: 100%;
}

.nav__item img {
    height: 1.8vh;
}

.navfooter {
    padding: 5px 0 8px;
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.navsns {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.navsns__item img {
    height: 2.4vh;
}

.navcopy {
    text-align: center;
    margin-top: 1.8vh;
    color: var(--primary-lightGrey);
    font-size: 0.6rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.132px;
}


/* .nav.active表示 */
.nav.active {
    opacity: 1;
    visibility: visible;
    /* transform: translateX(0); */
}

.header__btn--pc {
    display: none;
}

.header__btn--sp {
    position: absolute;
    right: 5.3%;
}

/* header pc */
@media screen and (min-width: 769px) {
    .header,
    .nav__header {
        padding: 30px 2%;
        height: 85px;
        width: 100vw;
        top: 0;
        z-index: 10000;
    }
    
    .header {
        position: fixed;
    }

    .header__topic img,
    .nav__topic img {
        height: 4.5vh;
    }

    .close__btn--sp {
        display: none;
    }

    .close__btn--pc {
        display: block;
        position: absolute;
        right: 2.88%;
        width: 5.07%;
        cursor: pointer;
    }

    .nav {
        background-position: 94% 31%;
        background-size: 24%;
    }

    .nav__message--sp {
        display: none;
    }

    .nav__message--pc {
        display: block;
        position: absolute;
        top: 67vh;
    }

    .nav__list {
        margin: 11vh 17.2% 16.1vh 17.8%;
        display: flex;
        gap: 13.3%;
    }

    .nav__item {
        margin: 0 0 7.2vh;
    }

    .nav__item--l,
    .nav__item--r {
        margin: 0 0;
    }

    .nav__item--l__image,
    .nav__item--r__image {
        margin-bottom: 13.2vh;
    }

    .nav__item--l__image a,
    .nav__item--r__image a {
        display: inline-block;
        padding-bottom: 1vh;
    }

    .nav__item::after {
        display: none;
    }

    .nav__item--l__image::after,
    .nav__item--r__image::after {
        background-color: var(--primary-blue);
        bottom: 0;
        content: '';
        display: block;
        height: 1.5px;
        left: 0;
        position: absolute;
        transition: all 0.5s;
        width: 0;
    }

    .nav__item--l__image:hover::after,
    .nav__item--r__image:hover::after {
        width: 100%;
    }

    .nav__item--l__image:last-of-type {
        margin-bottom: 0;
    }

    .nav__item--r__image:last-of-type {
        margin-bottom: 0;
    }

    .nav__item--l__image img,
    .nav__item--r__image img {
        height: 2.9vh;
    }

    .nav__item--r {
        margin-top: 8.9vh;
    }

    .header__btn--sp {
        display: none;
    }

    .header__btn--pc {
        display: block;
        position: absolute;
        right: 2.88%;
        width: 5.07%;
        cursor: pointer;
    }

    .navfooter {
        padding: 0 0 0.9vh;
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translateX(-46%);
    }

    .navsns {
        display: flex;
        justify-content: center;
        gap: 35px;
        margin-bottom: 1.9vh;
    }

    .navcopy {
        text-align: center;
        margin-top: 0;
        color: var(--primary-lightGrey);
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: -0.22px;
    }
}

/* pc 769px */


/* =============================
footer
============================= */
.footer {
    padding: 5px 0 8px;
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

.sns {
    width: 50vw;
    min-width: 160px;
    max-width: 250px;
    display: flex;
    justify-content: space-between;
}

.sns__item img {
    height: 2.4vh;
    min-width: 15px;
}

.copy {
    text-align: center;
    margin-top: 1.8vh;
    color: var(--primary-lightGrey);
    font-size: 0.6rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.132px;
}


/* footer 769px */
@media screen and (min-width:769px) {
    .footer {
        padding: 0 0 0.9vh;
        position: fixed;
        bottom: 0px;
        left: 50%;
        transform: translateX(-46%);
    }

    .sns {
        margin-bottom: 1.9vh;
        min-width: unset;
        max-width: unset;
        gap: 50px;
        justify-content: center;
    }

    .copy {
        margin-top: 0;
        font-size: 1rem;
        line-height: 1.5;
        letter-spacing: -0.22px;
    }
}

/* ==================================
scrollTop
===================================== */
.topBtn {
    display: inline-block;
    padding: 19px;
    border-radius: 50%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.24px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.25);

    position: fixed;
    bottom: 1.69%;
    left: 83%;
}

/* scrollTop pc */
@media screen and (min-width:769px) {
    .topBtn {
        padding: 1.91vw;
        font-size: 1.6rem;
        letter-spacing: 0.5px;
        bottom: 3%;
        left: 90%;
    }
}