/* 250605追加 */
@media screen and (min-width: 769px) {
#ranking_content .swiper-wrapper,
#women_content .swiper-wrapper,
#purpose_content .swiper-wrapper,
#new_content .swiper-wrapper{
    display: flex !important;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: center !important;
    padding: 20px 0 20px;
}

#ranking_content .swiper-wrapper {
    padding: 50px 0 20px;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.sp {
    display: none !important;
}

.banner_box {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

#purpose_content .banner_box {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    width: 80%;
    max-width: 1200px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

#ranking_content .banner_box {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px 0;
    max-width: 1000px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;   
}

#new_content .banner_box {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px 0;
    max-width: 1200px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;   
    width: 100%;
}

.annotation {
    font-size: 14px;
    font-weight: 600;
    padding-top: 10px;
    color: #323232;
    padding: 0 20px 5px;
}

.swiper-slide {
    height: 200px;
    max-width: 18%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.l-footer .swiper-slide {
    overflow: visible;
}

#ranking_content .swiper-slide {
    gap: 20px;
    max-width: 23% !important;
    position: relative;
    transition-property: transform;
    display: block;
}

#new_content .swiper-slide {
    gap: 20px;
    max-width: 23% !important;
    position: relative;
    transition-property: transform;
    display: block;
    height: 220px;
}

#womenSwiper .swiper-slide, #purposeSwiper .swiper-slide,
#newSwiper .swiper-slide, #gaidbookSwiper .swiper-slide img {
    width: 220px;
}

.btn {
    padding: 4px 10px 4px 20px;
}

.content {
    display: block;
    margin: 0 auto;
    height: 90px;
    padding: 5px;
    text-align: center;
}

/* ヘッダー追従 */
.header-wrap header {
    background: #fff;
    box-shadow: 0px 0px 16px -6px rgba(0, 0, 0, 0.6);
    width: 100%;
    display: flex;
    position: sticky;
    top: 0;
}

.header-wrap header .logo {
    color: #083cac;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
}

.header-wrap nav ul {
    display: flex;
    justify-content: center;
    height: 100%;
}

.header-wrap nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    height: 100%; 
}

/* MVCSS */
h1#mv {
    margin: 0;
    max-height: 600px;
    text-align: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#mv .mv__top {
    margin: 0;
    width: 100%;
    max-height: 500px;
    background: url(../img/mv_bk.jpg) center center;
    text-align: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0;
}

#mv img {
    max-width: 400px;
    width: 100%;
    padding: 50px 50px 50px 0;
}

/* gaidbookswiper */
#gaidbook_content .swiper {
    width: 1000px;
    margin-top: 10px;
}

.gaidbookSwiper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 横に2列 */
    gap: 20px;
}

.gaidbookSwiper .swiper-wrapper {
    display: contents;
    /* グリッドレイアウトを継続 */
}

.gaidbookSwiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
}

.swiper-pagination,
.swiper-button-prev,
.swiper-button-next {
    display: none !important;
}

#gaidbook_content .swiper-slide {
    height: 380px;
    max-width: 100%;
    overflow: hidden;
    display: block;
    justify-content: center;
    margin: 0 auto;
}

#gaidbook_content .swiper-slide img {
    width: 92%;
    display: block;
    margin: 0 auto;
}

#gaidbook_content .swiper-slide p {
    font-size: 20px;
}

.l-main {
    position: relative;
    background: #fdfbdb;
    padding-top: 66px;
}

/* .anchor {
    scroll-margin-top: 50px;
} */


/* モーダルCSS */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    /* 忘れがち！ */
    width: 100%;
    height: 100vh;
    z-index: 999999;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    /* 任意：大きくしたいなら調整 */
    width: 90%;
    /* 画面幅に対して90%使う */
    background: white;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.modal-bg {
    position: absolute;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content a {
    color: #000;
    margin-top: 10px;
    display: block;
}

.l-footerBanner__slide .swiper-button-prev::after,
.l-footerBanner__slide .swiper-button-next::after {
    background-image: none !important;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    font-size: 10px;
    padding: 5px 10px;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    border-radius: 50px;
}

.l-footerBanner__slide .swiper-footer-button-prev,
.l-footerBanner__slide .swiper-footer-button-next {
    position: absolute;
    top: 75% !important;
    display: block !important;
}

#ranking_content .swiper-backface-hidden .swiper-slide,
#women_content .swiper-backface-hidden .swiper-slide,
#purpose_content .swiper-backface-hidden .swiper-slide,
#new_content .swiper-backface-hidden .swiper-slide,
#gaidbook_content .swiper-backface-hidden .swiper-slide {
    margin-right: 0px !important;
}

#ranking_content .swiper-wrapper::before {
    content: "";
    background: url(../img/top3_ttl.png) no-repeat;
    width: 350px;
    height: 90px;
    display: block;
    background-size: 100%;
    z-index: 100;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
}
}

body {
    overflow-x: hidden;
    /* 万が一横にはみ出てもスクロールさせない */
}

body.fixed {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

/* コンテンツ背景 */
#ranking_content {
    background: #fdfbdb;
    position: relative;
    padding: 0 0 20px;
}

#women_content {
    background: #f9f6ef;
    position: relative;
    padding: 20px;
}

#diagnosis_content {
    background: #ebf7fd;
    position: relative;
    padding: 20px;
}

#purpose_content {
    background: #ecf5e2;
    position: relative;
    padding: 20px;
}

#new_content {
    background: #faf7fd;
    position: relative;
    padding: 20px;
}

#gaidbook_content {
    background: #fef2d9;
    position: relative;
    padding: 20px;
}

#catygory_content {
    background: #fff;
    position: relative;
    padding: 20px;
}

#line_content {
    background: #fff;
    padding: 20px;
}

.rankingSwiper {
    background: #fff;
    width: 80%;
    width: 1000px;
    position: relative;
    margin-top: 30px;
    border: 4px solid;
    border-image-slice: 1;
    border-width: 4px;
    border-image-source: linear-gradient(90deg,
    #ffe656,
    /* ゴールド */
    #FFC107,
    #ffde3b,
    #ffe656,
    #ffde3b,
    #ffe656);
}

/* swipercss */
/* .swiper {
    width: 1200px;
} */

.course {
    max-width:  1200px;
    padding: 20px;
    /* position: relative; */
    margin: 0 auto;
}

#ranking_content .swiper-slide p {
    display: flex;
    justify-content: center;
    height: 30px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    align-items: center;
    font-size: 15px;
    color: #323232;
}

#new_content .swiper-slide p {
    display: flex;
    justify-content: center;
    height: 25px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    align-items: center;
    font-size: 15px;
    color: #323232;
}

.swiper-slide p {
    justify-content: center;
    display: flex;
    height: 40px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    align-items: center;
    font-size: 15px;
    color: #323232;
}

/* #ranking_content .swiper-slide img {
    width: 100%;
} */

#ranking_content .swiper-slide img {
    width: 100%;
    object-fit: contain; 
}

#new_content .swiper-slide img {
    width: 100%;
    object-fit: contain; 
}

#ranking_content .swiper-wrapper {
    width: 100%;
    object-fit: contain; 
    gap: 20px;
}

#new_content .swiper-wrapper {
    width: 100%;
    object-fit: contain; 
    gap: 20px;
}

#ranking_content .course {
    padding: 0 0 20px;
}

/* #womenSwiper .swiper-slide,
#purposeSwiper .swiper-slide,
#newSwiper .swiper-slide,
#gaidbookSwiper  */.swiper-slide {
    border-radius: 8px;
    background: #fff;
    box-shadow: 1px 1px 3px #ccc;
}

/* バナーCSS */
.banner_pr {
    display: block;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(51, 51, 51, 0.2);
    text-decoration: none;
    background: #fff;
    width: 240px;
}

.banner_pr .banner_pr_img {
    width: 100%;
    display: block;
}

.banner_pr_copy_em {
    text-decoration: underline;
    color: #f67921;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.banner_pr .banner_pr_copy .banner_pr_copy_day {
    font-size: 16px;
    text-decoration: none;
    font-weight: 300;
    line-height: 1.3;
}

.banner_pr_copy {
    padding: 5px 10px 10px;
    font-size: 14px;
    line-height: 1.1;
    font-weight: bold;
    color: #323232;
    text-align: left;
}

.swiper-pagination-bullet-is-active {
    background: #323232 !important;
}


/* ボタン */
#ranking_content .btn {
    background: #f67921;
    color: #fff;
    width: 100%;
    border-radius: 30px;
    font-weight: bold;
    font-size: 15px
}

#ranking_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

#women_content .btn {
    background: #e73650;
    color: #fff;
    width: 85%;
    border-radius: 30px;
    font-weight: bold;
    font-size: 13px
}

#women_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

#diagnosis_content .btn {
    background: #00699a;
    color: #fff;
    width: 85%;
    border-radius: 30px;
    font-weight: bold;
    font-size: 13px
}

#diagnosis_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

#purpose_content .btn {
    background: #197a3b;
    color: #fff;
    width: 85%;
    border-radius: 30px;
    font-weight: bold;
    font-size: 13px
}

#purpose_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

#new_content .btn {
    background: #b062a3;
    color: #fff;
    width: 85%;
    border-radius: 30px;
    font-weight: bold;
    font-size: 13px
}

#new_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

/* バナー横型 */
#ranking_content .banner_pr {
    display: flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(51, 51, 51, 0.2);
    text-decoration: none;
    background: #fff;
    width: 49%;
}

#ranking_content .banner_pr .banner_pr_img {
    max-width: 33%;
    width: 100%;
    display: block;
}

#ranking_content .banner_pr_copy {
    padding: 5px 10px 10px;
    font-size: 16px;
    line-height: 1.1;
    font-weight: bold;
    color: #323232;
}

#new_content .banner_pr {
    display: flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(51, 51, 51, 0.2);
    text-decoration: none;
    background: #fff;
    width: 630px;
}

#new_content .banner_pr .banner_pr_img {
    max-width: 33%;
    width: 100%;
    display: block;
}

#new_content .banner_pr_copy {
    padding: 0px 10px 15px;
    font-size: 20px;
    line-height: 1.1;
    font-weight: bold;
    color: #323232;
}

/* ランキングアイコン */
#ranking_content .rank01::before {
    content: "";
    display: block;
    position: absolute;
    width: 45px;
    height: 48px;
    background: url(../img/rank_icon_01.png);
    background-size: 100%;
    top: 0;
    left: 10px;
}

#ranking_content .rank02::before {
    content: "";
    display: block;
    position: absolute;
    width: 45px;
    height: 48px;
    background: url(../img/rank_icon_02.png);
    background-size: 100%;
    top: 0;
    left: 10px;
}

#ranking_content .rank03::before {
    content: "";
    display: block;
    position: absolute;
    width: 45px;
    height: 48px;
    background: url(../img/rank_icon_03.png);
    background-size: 100%;
    top: 0;
    left: 10px;
}


/* 講座ボタン */
#ranking_content .rank01::after {
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../img/btm_01.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

#ranking_content .rank02::after {
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../img/btm_02.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

#ranking_content .rank03::after {
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../img/btm_03.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

#women_content .swiper-slide::after {
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../img/btm_pink.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

#purpose_content .swiper-slide::after {
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../img/btm_green.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

#new_content .swiper-slide::after {
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../img/btm_parple.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}


/* 文字マーカー */
#women_content .banner_pr_copy em {
    color: #e73650;
    font-weight: bold;
    background: linear-gradient(transparent 50%, #ffeb00 50%);
    font-style: normal;
}

#diagnosis_content .banner_pr_copy em {
    color: #00699a;
    font-weight: bold;
    background: linear-gradient(transparent 50%, #ffeb00 50%);
    font-style: normal;
}

#purpose_content .banner_pr_copy em {
    color: #197a3b;
    font-weight: bold;
    background: linear-gradient(transparent 50%, #ffeb00 50%);
    font-style: normal;
}

#new_content .banner_pr_copy em {
    color: #b062a3;
    font-weight: bold;
    background: linear-gradient(transparent 50%, #ffeb00 50%);
    font-style: normal;
}

.title_01 {
    width: 500px;
    margin: 0 auto;
    padding: 20px 0 10px;
}

.title_02 {
    width: 450px;
    margin: 0 auto;
}

#new_content .title_02 {
    width: 300px;
    margin: 0 auto;
}

/* 中身のカテゴリコンテナ */
.catygory {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
    width: 650px;
    margin: 0 auto;
    justify-content: center;
}

/* 各アイコンアイテム */
.slide_icon {
    flex: 0 0 auto;
    list-style: none;
    width: 85px;
    text-align: center;
}

.slide_icon img {
    width: 100%;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* アイコン名前 */
.icon_name {
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
    padding-top: 5px;
    color: #323232;
}

/* ガイドブック */
.gaidbook {
    width: 470px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.gaidbook img {
    z-index: 100;
}

.gaidbook img:nth-of-type(2) {
    z-index: 100;
    width: 420px;
    margin: 0 auto;
    display: block;
    justify-content: center;
}

.gaidbook::before {
    content: "";
    background: url(../img/gaidbook_bk.jpg) no-repeat;
    width: 530px;
    height: 255px;
    background-size: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

#gaidbook_content .annotation {
    padding: 30px 0;
    line-height: 1.2;
    text-align: center;
}

#gaidbook_content .annotation em {
    color: #0e9fec;
    text-decoration: underline;
    font-style: normal;
}

#gaidbook_content .swiper-slide p {
    height: 25px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    align-items: center;
    font-size: 22px;
    color: #323232;
}

.gaidbook_btn {
    width: 550px;
    margin: 0 auto;
    display: block;
    padding: 20px;
}

#line_content {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    /* max-width: 1000px; */
    justify-content: center;
}

.line_box img {
    padding-bottom: 5px;
    width: 350px;
    position: relative;
}

.line_box .ttl {
    width: 450px;
    margin: 10px auto;
    /* max-width: 1000px; */
    display: flex;
    justify-content: center;
}

.line_box .ttl img {
    width: 500px;
}


.btnbox .hukidasi img {
    padding-bottom: 25px;
}

.c-breadcrumb.footer .c-breadcrumbList {
    background: #fff;
}



/* 追従ナビ */
#mainNav {
    position: relative;
    width: 900px;
    margin: 20px auto 3px;
    /* 中央寄せ */
    padding: 0;
    background: rgba(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(85, 85, 85, 0.2);
    overflow: hidden;
    /* fixedは外す */
}

#mainNav.fixed {
    position: fixed;
    top: 47px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 10px 10px;
}

#mainNav .item img {
    width: 30px;
    height: 30px;
    padding-bottom: 5px;
}

#mainNav ul {
    display: flex;
}

#mainNav li {
    list-style: none;
border-right: 1px #ccc solid;
}

#mainNav .item p {
    font-size: 11px;
    color: #003c60;
    font-weight: bold;
}

#mainNav .item {
    width: calc(800px/6);
    margin: 0 auto;
}

#mainNav .item_box {
    text-align: center;
}

#mainNav li:last-child {
    border-right: none; 
}

#mainNav a {
    padding: 12px; 
    display: block;
    text-align: center;
}

/* 背景カラー */
.item_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー画像切り替え */
.item_box img.hover {
    display: none;
}

#mainNav a:hover img {
    display: none;
}

#mainNav a:hover img.hover {
    display: block;
    margin: 0 auto;
}


/* 各タブのカラー定義 */
.ranking_tab:hover a,
.ranking_tab.is-active a {
    background-color: #fa6200;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ranking_tab:hover .item_box p,
.ranking_tab.is-active .item_box p {
    color: #fff !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.women_tab:hover a,
.women_tab.is-active a {
    background-color: #e73650;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.women_tab:hover .item_box p,
.women_tab.is-active .item_box p {
    color: #fff !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.diagnosis_tab:hover a,
.diagnosis_tab.is-active a {
    background-color: #00699a;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.diagnosis_tab:hover .item_box p,
.diagnosis_tab.is-active .item_box p {
    color: #fff !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.purpose_tab:hover a,
.purpose_tab.is-active a {
    background-color: #197a3b;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.purpose_tab:hover .item_box p,
.purpose_tab.is-active .item_box p {
    color: #fff !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.new_tab:hover a,
.new_tab.is-active a {
    background-color: #b062a3;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.new_tab:hover .item_box p,
.new_tab.is-active .item_box p {
    color: #fff !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.catygory_tab:hover a,
.catygory_tab.is-active a {
    background-color: #fa6200;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.catygory_tab:hover .item_box p,
.catygory_tab.is-active .item_box p {
    color: #fff !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.gaidbook_tab:hover a,
.gaidbook_tab.is-active a {
    background-color: #fa6200;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.gaidbook_tab:hover .item_box p,
.gaidbook_tab.is-active .item_box p {
    color: #fff !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 画像切り替え用CSS */
/* 通常画像は表示 */
.item_box img:not(.hover) {
    display: inline;
}

/* ホバー画像は初期非表示 */
.item_box img.hover {
    display: none;
}

/* ホバー時はホバー画像表示、通常画像は非表示 */
.item:hover .item_box img.hover {
    display: inline;
}

.item:hover .item_box img:not(.hover) {
    display: none;
}

/* is-activeクラスが付いたらホバー画像を常に表示 */
.item.is-active .item_box img.hover {
    display: inline;
}

.item.is-active .item_box img:not(.hover) {
    display: none;
}

/* ズームアイコン */
.gaidbookSwiper .swiper-slide::after {
    content: "";
    background: url(../img/zoom_icom.svg);
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;

}

/* ページTOPボタン */
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 60px;
    bottom: 60px;
    background: #f67921;
    border: solid 2px #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
}


@media screen and (max-width: 768px) {
.pc {
    display: none;
}

.course {
    padding: 20px 10px 20px;
    /* position: relative; */
    width: 100%;
}

 .swiper {
    width: 100%;   
    padding: 5px 5px 10px ;
    overflow: hidden;
    box-sizing: border-box;
}

#ranking_content .swiper {
    width: 100%;   
    padding: 30px 0px 10px !important;
    margin-top: 25px;
}

.swiper-slide p {
    display: flex;
    justify-content: center;
    height: 30px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    align-items: center;
    font-size: 13px;
    color: #323232;
}

.swiper-slide {
    gap: 20px;
    position: relative;
    transition-property: transform;
    display: block;
    margin: 0 auto;
}

.swiper-slide {
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.rankingSwiper img {
    width: 100%;
}

.swiper-pagination {
    text-align: center;
    margin-top: 10px; 
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 5px !important;
    text-align: center;
}

.banner_pr {
    width: 350px;
}

.banner_box {
    gap: 10px;
    padding: 10px 0;
    display: grid;
}

.annotation {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding-top: 5px;
    color: #323232;
}

.banner_pr .banner_pr_img {
    max-width: 35%;
    width: 100%;
    display: block;
}

/* ボタン */
#ranking_content .btn{
    background: #f67921;
    color: #fff;
    width: 170px;
    border-radius: 30px;
    padding: 3px;
    font-weight: bold;
    font-size: 13px
}

#ranking_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

#women_content .btn {
    background: #e73650;
    color: #fff;
    width: 170px;
    border-radius: 30px;
    padding: 3px;
    font-weight: bold;
    font-size: 13px
}

#women_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

#diagnosis_content .btn {
    width: 170px;
    padding: 3px;
}

#diagnosis_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

#purpose_content .btn {
    width: 170px;
    padding: 3px;
}

#purpose_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

#new_content .btn {
    color: #fff;
    width: 170px;
    border-radius: 30px;
    padding: 3px;
    font-weight: bold;
    font-size: 13px
}

#new_content .btn::after {
    content: "▶︎";
    font-size: 10px;
    padding-left: 5px;
}

.content {
    display: block;
    margin: 0 auto;
    text-align: center;
}

/* バナーCSS */
.banner_pr {
    display: flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(51, 51, 51, 0.2);
    text-decoration: none;
    background: #fff;
    width: 98%;
    margin: 0 auto;
}

.banner_pr .banner_pr_img {
    max-width: 32%;
    width: 100%;
    display: block;
}

.banner_pr_copy_em {
    text-decoration: underline;
    color: #f67921;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.banner_pr .banner_pr_copy .banner_pr_copy_day {
    font-size: 16px;
    text-decoration: none;
    font-weight: 300;
    line-height: 1.3;
}

.banner_pr_copy {
    padding: 5px 10px;
    font-size: 13px;
    line-height: 1.1;
    font-weight: bold;
    color: #323232;
    text-align: left;
}

#ranking_content .banner_pr {
    display: flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(51, 51, 51, 0.2);
    text-decoration: none;
    background: #fff;
    width: 98%;
}

#new_content .banner_pr {
    display: flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(51, 51, 51, 0.2);
    text-decoration: none;
    background: #fff;
    width: 98%;
}

#women_content .swiper-slide::after {
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../img/btm_pink.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

#women_content.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

/* 横バナー文字 */
#ranking_content .banner_pr_copy {
    padding: 5px 10px 10px;
    font-size: 14px;
    line-height: 1.1;
    font-weight: bold;
    color: #323232;
}

#new_content .banner_pr_copy {
    padding: 5px 10px 5px;
    font-size: 14px;
    line-height: 1.1;
    font-weight: bold;
    color: #323232;
}

.swiper-button-next,
.swiper-button-prev {
    top: 265px !important;
}

#new_content .swiper-button-next,
#new_content .swiper-button-prev {
    top: 385px !important;
}

#gaidbook_content .swiper-button-next,
#gaidbook_content .swiper-button-prev {
    top: 600px !important;
}

#ranking_content .swiper-button-next,
#ranking_content .swiper-button-prev {
    display: none;
}

#new_content .swiper-button-next,
#new_content .swiper-button-prev {
    display: none;
}

#ranking_content .swiper-wrapper {
    position: relative;
    max-width: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: border-box;
    flex-wrap: wrap;   
    gap: 5px;
}

#new_content .swiper-wrapper {
    position: relative;
    max-width: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: border-box; 
    gap: 5px;
}

#new_content .swiper-slide p {
    height: 55px;
    font-size: 12px;
}

#ranking_content .swiper-slide {
    width: calc(33.333% - 5px);
    height: 130px;
    border-radius: 5px;
    box-sizing: border-box;
}

#new_content .swiper-slide {
    width: calc(32% - 5px) !important;
    height: 130px;
    border-radius: 5px;
    box-sizing: border-box;
}

#ranking_content .swiper-slide img {
    width: 100%;
    margin: 0 auto;
    display: flex;
}

#new_content .swiper-slide img {
    width: 100%;
    margin: 0 auto;
    display: flex;
}

/* #ranking_content .swiper-slide:nth-of-type(3) img {
    width: 90%;
    margin: 8px auto 0;
    display: flex;
    border-radius: 5px;
} */

.title_01 {
    width: 360px;
    margin: 0 auto;
    padding: 10px 0 5px;
}

.title_02 {
    width: 330px;
    margin: 0 auto 5px;
}

#new_content .title_02 {
    width: 280px;
    margin: 0 auto 5px;
}

#ranking_content .swiper-slide img {
    height: auto;
    object-fit: contain;
}

#new_content .swiper-slide img {
    height: auto;
    object-fit: contain;
}

/* スライドの親要素 */
#catygory_content .slide {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
}

/* 中身のカテゴリコンテナ */
.catygory {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 0 16px;
    width: max-content;
    margin: 0 auto;
    /* 必須 */
}

/* 各アイコンアイテム */
.slide_icon {
    flex: 0 0 auto;
    list-style: none;
    width: 80px;
    text-align: center;
}

.slide_icon img {
    width: 100%;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

#catygory_content {
    padding: 10px;
}

/* ガイドブック */
.gaidbook {
    width: 85%;
    margin: 10px auto 0;
    position: relative;
    z-index: 100;
}

.gaidbook img {
    z-index: 100;
}

#gaidbook_content .gaidbook img {
    width: 92%;
    margin: 0 auto;
    display: block;
}

.gaidbook::before {
    content: "";
    background: url(../img/gaidbook_bk.jpg) no-repeat;
    width: 350px;
    height: 160px;
    background-size: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    }

#gaidbook_content .annotation {
    padding: 20px 0;
    line-height: 1.2;
}

#gaidbook_content .annotation em {
    color: #0e9fec;
    text-decoration: underline;
    font-style: normal;
}

.gaidbookSwiper {
    display: block; 
    padding: 0px 20px 30px !important;
}

#gaidbook_content .swiper-slide img {
    width: 92%;
    display: block;
    margin: 0 auto 15px;
}

#gaidbook_content .swiper-slide p {
    height: 20px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    align-items: center;
    font-size: 19px;
    color: #323232;
}

.gaidbook_btn {
    width: 400px;
    margin: 0 auto;
    display: block;
    padding: 10px 20px 20px;
}

#line_content {
    padding: 20px;
}

.line_box img {
    padding-bottom: 5px;
    width: 350px;
    display: block;
    margin: 0 auto;
}

.btnbox .hukidasi img {
    padding-bottom: 0;
    display: block;
    margin: 0 auto;
}

/* デフォルトで横スクロールできるように */
.scrollable-element ul {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    margin: 0;
    list-style: none;
    -webkit-overflow-scrolling: touch;
    /* iOS対応 */
    scrollbar-width: none;
    /* Firefox非表示 */
}

/* スマホナビスクロール */
#mainNav {
    position: fixed;
    top: 77px;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    background: #fff;
    z-index: 999;
    overflow: hidden; /* ← ナビ自体にはスクロールさせない */
}

#mainNav.fixed {
    position: fixed;
    top: 77px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

/* 横スクロールするのは ul のみ */
#mainNav ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#mainNav ul::-webkit-scrollbar {
    display: none;
}


    #mainNav .item {
        width: auto;
        min-width: 70px;
        flex-shrink: 0;
    }

    #mainNav .item_box {
        height: auto;
        padding: 0;
    }

    #mainNav .item p {
        font-size: 10px;
        color: #003c60;
        font-weight: bold;
        line-height: 1.2;
    }

    #mainNav .item img {
        width: 25px;
        height: 25px;
        padding-bottom: 5px;
    }

        #mainNav a {
            padding: 12px 0;
            display: block;   
        }

    .l-main {
        padding-top: 142px;
    }

/* 背景カラー */
.item_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#ranking_content .swiper-wrapper::before {
    content: "";
    background: url(../img/top3_tttl_sp.png) no-repeat;
    width: 280px;
    height: 50px;
    display: block;
    background-size: 100%;
    z-index: 100;
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
}

.rankingSwiper {
    background: none;
    width: 80%;
    border: none;
    width: 100%;
    position: relative;
}

/* ランキングアイコン */
#ranking_content .rank01::before {
    content: "";
    display: block;
    position: absolute;
    width: 35px;
    height: 38px;
    background: url(../img/rank_icon_01.png);
    background-size: 100%;
    top: 0;
    left: 10px;
}

#ranking_content .rank02::before {
    content: "";
    display: block;
    position: absolute;
    width: 35px;
    height: 38px;
    background: url(../img/rank_icon_02.png);
    background-size: 100%;
    top: 0;
    left: 10px;
}

#ranking_content .rank03::before {
    content: "";
    display: block;
    position: absolute;
    width: 35px;
    height: 38px;
    background: url(../img/rank_icon_03.png);
    background-size: 100%;
    top: 0;
    left: 10px;
}


/* 講座ボタン */
#ranking_content .rank01::after {
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 25px;
    background: url(../img/btm_01.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

#ranking_content .rank02::after {
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 25px;
    background: url(../img/btm_02.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

#ranking_content .rank03::after {
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 25px;
    background: url(../img/btm_03.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

#new_content .swiper-slide::after {
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 25px;
    background: url(../img/btm_parple.png);
    background-size: 100%;
    bottom: 0;
    right: 0;
}

/* モーダル */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    /* 忘れがち！ */
    width: 100%;
    height: 100vh;
    z-index: 999999;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 任意：大きくしたいなら調整 */
    width: 95%;
    /* 画面幅に対して90%使う */
    background: transparent;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

.modal-content p {
    color: #fff;
}

.modal-bg {
    position: absolute;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content a {
    color: #000;
    margin-top: 10px;
    display: block;
}

body {
    overflow-x: hidden !important;
    /* 万が一横にはみ出てもスクロールさせない */
}

#gaidbook_content .swiper {
    overflow: hidden;
}

#mainNav .item {
    width: calc(760px/11.1);
    margin: 0 auto;
}

#women_content .swiper {
    overflow: hidden;
}

#purpose_content .swiper {
    overflow: hidden;
}

#new_content .swiper {
    overflow: hidden;
    padding: 5px 5px 20px;
}

.l-footer {
    overflow: hidden;
}

.l-footer .swiper-button-prev::after,
.l-footer .swiper-button-next::after {
    background-image: none !important;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    font-size: 12px;
    padding: 5px 10px;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    border-radius: 50px;
}

.l-footerBanner__slide .swiper-button-prev,
.l-footerBanner__slide .swiper-button-next {
    position: absolute;
    top: 75% !important;
    transform: translateY(-50%) !important;
}

/* コンテンツ背景 */
#ranking_content {
    padding: 0;
}

#women_content {
    padding: 0;
}

#diagnosis_content {
    padding: 0;
}

#purpose_content {
    padding: 0;
}

#new_content {
    padding: 0;
}

#gaidbook_content {
    padding: 0;
}

#catygory_content {
    padding: 0;
}

#line_content {
    padding: 20px;
}

.l-footerBanner__slide .swiper-button-prev::after,
.l-footerBanner__slide .swiper-button-next::after {
    background-image: none !important;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    font-size: 10px;
    padding: 5px 10px;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    border-radius: 50px;
}

.l-footerBanner__slide .swiper-button-prev {
    left: -10px;
}

.l-footerBanner__slide .swiper-button-next {
    right: -10px;
}

#ranking_content .course {
    padding: 20px 10px 20px;
}

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #f67921;
    border: solid 2px #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
}

#ranking_content .swiper-slide p {
    display: flex;
    justify-content: center;
    height: 53px;
    line-height: 1.1;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    align-items: center;
    font-size: 12px;
    color: #323232;
}

.l-headerNavMenu.hasIcon .quality::before {
    background-image: url(../img/icon_search02.svg);
}

.l-headerNav {
    width: 100%;
    background-color: var(--color-bg-base);
    border-top: 1px solid var(--color-accent-orange);
    position: fixed;
    top: 149px;
    left: 0;
    z-index: 3;
    display: none;
}

.l-headerNavMenu.hasIcon .course::before {
    background-image: url(../img/icon_course_02.png);
}

.l-headerNavMenu.hasIcon .comment::before {
    background-image: url(../img/icon_comment_02.png);
}

#mainNav .scrollable-element {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

#mainNav .scrollable-element ul {
    display: flex;
    width: max-content;
    padding: 0;
    margin: 0;
}

}

/* 選択中ナビ */
.item.is-active.ranking_tab {
    background-color: #fa6200;
}

.item.is-active.women_tab {
    background-color: #e73650;
}

.item.is-active.diagnosis_tab {
    background-color: #00699a;
}

.item.is-active.purpose_tab {
    background-color: #197a3b;
}

.item.is-active.new_tab {
    background-color: #b062a3;
}

.item.is-active.catygory_tab {
    background-color: #fa6200;
}

.item.is-active.gaidbook_tab {
    background-color: #fa6200;
}

#mainNav .is-active {
    background: #f67921;
}

.item.is-active {
    opacity: 1;
    transition: background-color 0.3s ease; }

/* .is-active {
    opacity: 1;
}

.item {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    color: white;
    margin-right: 5px;
    opacity: 0.6;
    transition: 0.3s;
} */

.swiper {
    overflow: visible;
}

.l-main {
    position: relative;
}

.l-footer .swiper {
    overflow: hidden !important;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
   background: #323232;
}