@charset "UTF-8";

/* Flex */
.flex { display:flex; }
.flex-col { flex-direction:column; }
.flex-wrap { flex-wrap:wrap; }
.justify-between { justify-content:space-between; }
.justify-center { justify-content:center; }
.items-center { align-items:center; }

/* Grid */
.grid { display:grid; }
.grid-2 { grid-template-columns:repeat(2, 1fr); }
.grid-3 { grid-template-columns:repeat(3, 1fr); }
.grid-gap { gap:20px; }

/* Spacing */
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 1rem; }
.m-4 { margin: 1.5rem; }
.m-5 { margin: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.ms-1 { margin-left: 0.25rem; }
.ms-2 { margin-left: 0.5rem; }
.ms-3 { margin-left: 1rem; }
.ms-4 { margin-left: 1.5rem; }
.ms-5 { margin-left: 3rem; }

.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }
.me-4 { margin-right: 1.5rem; }
.me-5 { margin-right: 3rem; }

.mx-1 {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}
.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.mx-3 {
    margin-left: 1rem;
    margin-right: 1rem;
}
.mx-4 {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}
.mx-5 {
    margin-left: 3rem;
    margin-right: 3rem;
}

.my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}
.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.my-3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.mx-auto { margin: 0 auto; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 3rem; }

.ps-1 { padding-left: 0.25rem; }
.ps-2 { padding-left: 0.5rem; }
.ps-3 { padding-left: 1rem; }
.ps-4 { padding-left: 1.5rem; }
.ps-5 { padding-left: 3rem; }

.pe-1 { padding-right: 0.25rem; }
.pe-2 { padding-right: 0.5rem; }
.pe-3 { padding-right: 1rem; }
.pe-4 { padding-right: 1.5rem; }
.pe-5 { padding-right: 3rem; }

.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}
.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.px-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.px-4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.px-5 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}


/* Text */
.text-center { text-align: center; }
.text-start { text-align: left; }
.text-end { text-align: right; }

/* 文字の配置 */
.text-start {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}

/* グローバルな最大幅設定 */

body {
    width: 100%;
}

/* 🟠 Header */
#topbar {
    border-bottom: none;
}
.siteTitle {
    padding-bottom: 5px;
}
.smallad {
    margin-bottom: 10px;
}
.smallad.pcnone {
    padding: 0;
}

/* 🟠 スマホ ヘッダー */
#topbar .inner {
    padding: 8px 15px;
}
/* SPヘッダー並び替え */
#topbar .wrapinner {
	position: relative;
    display: flex;
	align-items: center;
	justify-content: center;
}

/* ロゴ中央 */
#topbar .siteTitle {
	order: 2;
	margin: 0 auto;
}
/* SPヘッダーの検索アイコンを小さく */
#topbar .search{
	width:18px !important;
	height:auto !important;
}

/* Retina対応（画像自体が@2xの場合も確実に縮小） */
#topbar .search img,
#topbar img.search{
	width:20px !important;
	height:auto !important;
	display:block;
}

/* 検索を左へ */
#topbar .search {
	order: 1;
    position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
}

/* ハンバーガーを右へ */
#topbar .spMenu {
	order: 3;
    position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

/* ロゴのズレ補正 */
#topbar .siteTitle img {
	display: block;
	margin: 0 auto;
}


/* スマホ 検索ボックス */
#searchArea {
    background: #f4f3f0 !important;
    padding: 30px 10px 35px 10px;
}
#searchArea form input {
    border-radius: 12px;
    margin-top: 30px;
}
#searchArea .close {
    top: 0px !important;
    right: 26px;
  }

/* スマホ ポップアップメニュー */
#spMenuArea {
    background: #f4f3f0 !important;
}

#spMenuArea .inner {
    padding: 0 70px;
}

#spMenuArea .gNav {
    margin-top: 20px;
}

/* 左寄せを解除 */
#spMenuArea .gNav li {
    text-align: center !important;
    border-bottom: 1px solid #111;
    padding: 15px auto;
}

/* 中央寄せ */
#spMenuArea .gNav li a {
    justify-content: center !important;
    font-size: 1.25rem !important;
}
#spMenuArea .gNav li a:hover {
    justify-content: center !important;
    font-size: 1.25rem !important;
    background-color: #111;
    color: #fff;
    text-decoration: none !important;
}

/* 余白を調整 */
#spMenuArea .gNav li a:before {
    margin-right: 8px;
}

/* EXPOリンク */
#spMenuArea .expo-linkArea {
    margin-bottom: 15px;
    padding: 5px 45px;
}

/* ニュースリンク */
#spMenuArea ul#newsLinks li a {
    position: relative;
	display: flex;
	align-items: center;
	justify-content: center; /* ← 文字を中央に固定 */
    font-size: 1.1rem;
    color: #111;
    border: 1px solid #111;
    margin-bottom: 15px;
    padding: 10px 40px 10px 15px !important; /* 矢印スペース */
}
/* 矢印 */
#spMenuArea ul#newsLinks li a::after {
	content: ">";
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2rem;
}
#spMenuArea ul#newsLinks li a:hover {
    color: #fff;
    background-color: #111;
    text-decoration: none !important;
}
#spMenuArea ul#newsLinks li a span {
    font-weight: 700;
}

/* 情報リンク */
#spMenuArea ul#aboutLinks li a {
    font-size: 1.1rem;
    padding: 10px 15px !important;
}
#spMenuArea ul#aboutLinks li a:hover {
    color: #fff !important;
    background-color: #111 !important;
    text-decoration: none !important;
}

/* 🟠 メインコンテンツ */
#middlesec {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}
main {
    width: 100%;
    margin: 0;
    padding: 0 15px;
}

@media (min-width: 950px) {
    body {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
    }

    /* 中央寄せ＋最大幅指定（ヘッダー以外も適用） */
    .topkeywords,
    header,
    footer {
        width: 100% !important;
        max-width: 1100px !important;
        margin: 0 auto;
    }

    /* 🟠 Header */
    .pchdwrapper,
    .pcheader {
        width: 100% !important;
        max-width: 1100px !important;
        margin: 0 auto;
    }

    #pcheader {
        padding-top: 15px;
        padding-bottom: 5px;
    }

    #pcheader .siteTitle {
        padding-bottom: 0;
    }

    #pcheader .siteTitle img {
        width: 180px;
        height: auto;
        margin: 0;
        margin-bottom: 12px !important;
        margin-left: 30px !important;
        padding: 0 !important;
    }

    #pchdleft {
        display: inline-block !important;
        width: 300px;
    }

    #pchdright {
        position: relative;
        display: inline-block !important;
        width: 800px;
    }

    #pchdright .g {
        display: inline-block !important;
    }

    #pchdright .g img {
        width: 450px;
        height: auto;
    }

    .pcheader-right-wrapper,
    .pcheader-right-btn {
        display: inline-block !important;
    }

    #pchdright .pcheader-right-wrapper {
        position: absolute;
        height: 50px!important;
        right: 30px;
        top: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .pcheader-right-btn {
        display: flex;
        align-items: center;
    }

    .pcheader-right-btn a {
        padding: 5px 15px;
        border: 1px solid #111;
        border-radius: 15px;
    }

    .pcheader-right-btn a:hover {
        color: #fff;
        background-color: #111;
        text-decoration: none !important;
    }

    .pcheader-right-btn.search {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pcheader-right-btn .search-icon {
        height: 26px !important;
        width: auto;
        display: block;
    }

    .pcheader-right-btn .search-icon {
        transform: translateY(7px);
    }

    /* 🟠 メインコンテンツ */
    #middlesec {
        display: flex;
		justify-content: space-between;
        width: 100% !important;
        max-width: 1100px !important;
        margin: 0 auto;
    }

    /* センターカラム */
    main {
        width: 760px !important;
        margin: 0 auto;
    }
}

/* 🟠 フッター */
footer,
footer .inner,
footer #accessLogo {
    background-color: #f4f3f0 !important;
}

footer .inner {
    padding-top: 45px;
}

#copyright {
    margin-bottom: 0 !important;
    padding-bottom: 15px;
}

/* ===== フッターナビを完全リセット ===== */
/*#footerLink{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:18px 28px;
	padding:0;
	margin:0;
}

#footerLink li{
	list-style:none;
	float:none !important;
	display:block !important;
	width:auto !important;
	margin:0 !important;
	padding:0 !important;
	text-align:center;
	position:relative;
}*/

/* 区切り線を削除（旧テーマ対策） */
/*#footerLink li::before,
#footerLink li::after{
	content:none !important;
}*/

/* 段区切り */
/*#footerLink li.break{
	flex-basis:100%;
	height:0;
}*/

/* リンク余白だけ適切に */
/*#footerLink a{
	display:inline-block;
	padding:4px 0;
	white-space:nowrap;
}

#footerLink.cf::after{
	display:none;
}*/



/*　検索ポップアップ */
/* ✅ 検索アイコンそのものの微調整（例: 上にズレていた） */
.pcheader-right-btn.search img {
    transform: translateY(5px); /* ★ 上のズレ修正 */
}

/* ★ ポップアップ本体：上部に固定、非表示から開始 */
.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f4f3f0;
    display: none;
    z-index: 9999;
    overflow: auto;
}

.search-popup-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* ★ 中身を上部に寄せる */
.popup-inner {
    margin: 40px auto 0;
    max-width: 800px;
    padding: 40px 20px;
}

/* ★ 検索ボックス */
.search-box {
    display: flex;
    width: 100%;
    max-width: 600px; /* 必要に応じて調整 */
    border: 2px solid #000;
    border-radius: 12px;
    background: #fff;
    overflow: hidden; /* 子要素の角丸を保つため */
}

.search-box input[type="text"] {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
    height: 100%;
}

.search-box .search-submit {
    background: none;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box .search-submit img {
    height: 24px;
    width: auto;
}

/* ★ 閉じるボタン */
.close-btn {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 48px;
    cursor: pointer;
    z-index: 10000;
}

/* ★ タグボタン */
.search-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.tagWrap a {
    display: inline-block;
    background: #fff !important;
    color: #000 !important;
    font-weight: normal;
    font-size: 1.3rem !important;
    border: 1px solid #696969;
    border-radius: 30px;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-right: 15px;
    padding: 10px 20px !important;
}
.tagWrap a:hover {
    background: #000 !important;
    color: #fff !important;
    text-decoration: none !important;
}
.tagWrap a:last-of-type {
    margin-bottom: 0;
}
.tagWrap a {
    font-weight: 400;
}
.tagWrap a {
    font-size: 86%;
}


/* 🟠 Navigation */
ul#catnav {
    display: flex;
    justify-content: space-between;
    grid-template-columns: repeat(6, 1fr); /* 6分割 */
    color: #111;
    background-color: #fff;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111 !important;
    padding: 0 !important;
    margin: 0;
}

/* li をセルとして扱う */
ul#catnav li.cat-item {
    flex: 1; /* 6等分 */
    text-align: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* リンクをセルいっぱいに広げる */
ul#catnav li.cat-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: #111;
    background-color: #fff;
    text-decoration: none !important;
    padding: 15px 10px;
    box-sizing: border-box;
    transition: 0.35s;
}

/* hover でタブ全体反転 */
ul#catnav li.cat-item a:hover {
    color: #fff;
    background-color: #111;
}



/* 🟠 Slider */
.slick-slide > div {
    width: 100%;
}

/* スライダー全体の幅制御 */
.main-slider {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* Slick のトラックに overflow 指定 */
.slick-list {
    overflow: hidden;
}

/* 各スライド画像の制御 */
.main-slider img {
    width: 100%;
    height: auto;
    display: block;
}

.sliderWrap {
    margin-top: 0 !important;
}

/* モバイル表示の基本スタイル */
.slide-item {
    text-align: left;
    margin: 0;
    background: #fff;
    box-sizing: border-box;
    padding: 0px;
}

.slide-image img {
    width: 100%;
    display: block;
}

.slide-meta {
    max-width: 100%;
    text-align: left;
    padding: 15px;
}

.slide-title {
    width: 100%;
    font-size: 1.75rem;
    font-weight: bold;
    color: #222;
    word-break: break-word !important;
    white-space: normal !important; /* 折り返し許可 */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3; /* 行数を指定 */
    line-clamp: 3;
    margin-bottom: 10px;
}

.slide-info {
    font-size: 0.85rem;
    color: #666;
}

.slide-info span + span::before {
    /*content: "｜";*/
    margin: 0 5px;
}

.slick-prev,
.slick-next {
    top: 30%;
    font-size: 3.0rem !important;
}

.slick-prev::before,
.slick-next::before {
    width: 30px !important;
    height: 30px !important;
}

/*.slick-dots li.slick-active button {
    color: #555 !important;
}

.slick-dots li.slick-active button:before {
	color: #555 !important;
}

.slick-dots li button:before {
	font-size: 10px !important;
}*/


@media (min-width: 950px) {
    /* 🟠 Slider */
    .main-slider {
        max-width: 1100px;
    }

    .sliderWrap {
        margin-top: 15px !important;
    }

    .slide-meta {
        padding: 15px;
    }

    .slide-title {
        width: 400px;
        font-size: 1.3rem;
        -webkit-line-clamp: 2; /* 行数を指定 */
    }
    .slide-info {
        font-size: 1rem;
    }

    .slick-prev,
    .slick-next {
        top: 40%;
    }
}

/* 🟠 一覧へのリンク */
a.archive-link {
    font-weight: normal !important;
    font-size: 1.0rem !important;
    text-align: center !important;
}

a.and-more-link {
    display: block;
    width: 150px;
    font-size: 1.3rem;
    color: #111;
    text-align: center !important;
    background-color: #fff;
    border: 1px solid #111;
    text-decoration: none !important;
    margin: 5px auto !important;
    padding: 10px 30px;
}

a.and-more-link:hover {
    color: #fff;
    background-color: #111;
    transition: 0.35s;
}

.sidebar .a.and-more-link {
    width: 120px !important;
}

/* 🟠 TOP 新着 */
.article-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.article-thumb {
    flex: 0 0 160px;
    max-width: 160px;
}

.article-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    flex: 1;
}

a.article-title-link {
    color: #111;
}

.article-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3; /* 行数を指定 */
    line-clamp: 3;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 140% !important;
    word-break: break-word;
    border: none;
    margin: 0 0 10px 0;
    padding-left: 0;
}

.article-excerpt {
    display: none;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 10px;
    line-height: 145%;
}

.article-meta {
    font-size: 1.0rem;
    color: #777;
}

.article-meta span + span::before {
    /*content: "｜";*/
    margin: 0 6px;
}

.article-pr,
.article-cat {
    font-weight: normal;
    margin-left: 10px;
}

@media (min-width: 950px) {
    .article-excerpt {
        display:block;;
    }

    .article-meta {
        font-size: 0.85rem;
    }
}

/* 🟠 コンテンツタイトル */
/* タイトル全体中央揃え */
.center-title {
    text-align: center;
    margin-bottom: 30px;
}

/* 英語タイトル（大きく太字） */
.sectiontitle-en {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
    color: #222;
}

/* 日本語タイトル（小さく細字） */
.sectiontitle-ja {
    font-size: 0.95rem;
    font-weight: bold;
    color: #666;
    margin-top: 10px;
    padding: 0;
}

/* オリジナルの sectiontitle を上書きしないように */
.sectiontitle-wrapper {
    display: inline-block;
}

/* 🟠 PICK UP */
/* コンテナ */
.pickup-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: 20px;
}

/* 各アイテムのベース */
.pickup-item {
    width: 32%;
    display: block;
    margin-bottom: 15px;
}

.pickup-item img {
    width: 100%;
    display: block; /* inline-blockやinlineだと余白ができる */
}

/* レイアウト切り替え */
.pickup-item:nth-child(1),
.pickup-item:nth-child(2),
.pickup-item:nth-child(6),
.pickup-item:nth-child(7) {
    width: 49%;
}

.pickup-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.pickup-title h3 {
    font-size: 1.2rem !important;
    margin: 10px 0 5px;
    font-weight: bold;
    text-align: left;
    line-height: 140% !important;
    border: none !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3; /* 行数を指定 */
    line-clamp: 3;
}

.pickup-title a {
    color: #111;
}

.pickup-meta {
    font-size: 1.0em;
    color: #666;
    text-align: left !important;
    margin-top: 10px;
}

.pickup-meta span {
    margin-right: 10px;
}

/* SP表示 */
@media screen and (max-width: 768px) {
    .pickup-item {
        width: 100%;
    }

    .pickup-item:nth-child(1) {
        width: 100%;
    }
    .pickup-item:nth-child(2),
    .pickup-item:nth-child(3),
    .pickup-item:nth-child(4),
    .pickup-item:nth-child(5) {
        width: 48%;
    }

    .pickup-item:nth-child(n+6) {
        display: none;
    }
}

@media screen and (min-width: 950px) {
    .pickup-title h3 {
        font-size: 1.1rem !important;
    }

    .pickup-meta {
        font-size: 0.8em;
    }
}

/* 🟠 サイドメニュー */

/* アクセスランキング */
/* タイトル */
.rankingTitle {
    font-size: 1.7rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid black;
    line-height: 1;
    background-image: none;
    margin-bottom: 15px;
    padding: 7px 0;
}
/*　小ランキング　*/
#ranking li {
    padding: 0 !important;
}
.ranking-list-small {
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
}
.ranking-list-small li {
	list-style: none !important;
    background-image: none !important;
}
.ranking-list-small .ranking-item {
	margin-bottom: 12px;
}
.ranking-list-small .ranking-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #111;
}
.ranking-list-small .ranking-thumb {
	position: relative;
	width: 110px;
	min-width: 110px;
	aspect-ratio: 4/3;
	overflow: hidden;
}
.ranking-list-small .ranking-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* 順位バッジ（共通） */
.ranking-list-small .rank-badge {
	position: absolute;
	top: 0;
	left: 0;
	width: 24px;
	height: 24px;
	background: #fff;
	color: #000;
	font-weight: bold;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0 0 4px 0;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.ranking-list-small .ranking-text {
	font-size: 14px;
	line-height: 1.5;
	font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3; /* 行数を指定 */
    line-clamp: 3;
}

/* フリーマガジン */
#magazine {
    background-color: #e5dfce;
    text-align: center;
    padding: 15px;
    border-radius: 15px;
}

.magazineTitle {
    font-size: 2.0rem !important;
    font-weight: bold;
    text-align: center !important;
    border-bottom: none;
    line-height: 1;
    background-image: none;
    margin: 0;
    padding: 0;
}

#magazine img {
    width: 70%;
}

#magazine ul.btn-list li {
    display: block;
    width: 80%;
    font-size: 1.2rem;
    margin: 0 auto 15px auto;
}

#magazine ul.btn-list li a {
    display: block;
    border: 1px solid #111;
    padding: 15px !important;
}

#magazine ul.btn-list li a:hover {
    color: #fff;
    background-color: #111;
    text-decoration: none !important;
}

.sp-magazine-top {
    margin-top: 30px !important;
}

@media (min-width: 950px) {
    #magazine img {
        width: 80%;
    }

    #magazine ul.btn-list li {
        width: 90%;
        font-size: 1.1rem;
        margin: 0 auto 10px auto;
    }

    #magazine ul.btn-list li a {
        display: block;
        border: 1px solid #111;
        padding: 10px !important;
    }
}

/* キーワード */
#sidekeywords {
    text-align: center;
    margin-bottom: 30px;
    border-top: 2px solid #111;
    border-bottom: 2px solid #111;
    padding: 10px 0;
}

#sidekeywords .sectiontitle-wrapper {
    background-color: #f4f3f0;
    padding: 15px;
}

/* 英語タイトル（大きく太字） */
#sidekeywords .sectiontitle-en {
    font-size: 1.7rem;
}

/* 日本語タイトル（小さく細字） */
#sidekeywords .sectiontitle-ja {
    font-size: 0.90rem;
    font-weight: bold;
    color: #111;
    margin-top: 5px;
}

#sidekeywords ul li {
    display: inline-block;
}

#sidekeywords ul li a {
    display: block;
    color: #111;
    background-color: #fff;
    margin: 5px;
    padding: 7px 12px;
    border: 1px solid #717171;
    border-radius: 15px;
    text-decoration: none !important;
}

#sidekeywords ul li a:hover {
    color: #fff;
    background-color: #111;
}

/* スマホ表示領域 */
.pcnone {
    padding: 15px;
}

/* PRESS */
#pressArea {
    display: block;
}

.pressTitle {
    font-size: 1.7rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid black;
    line-height: 1;
    background-image: none;
    padding: 7px 0;
}

#pressArea ul li {
    display: block;
    font-size: 1rem;
    line-height: 145%;
    border-bottom: 1px solid #696969;
    padding: 10px 0;
}
#pressArea ul li span {
    display: inline-block;
    padding: 0 5px;
}
#pressArea ul li:last-child {
    border-bottom: none;
}

@media (min-width: 950px) {
    #pressArea ul li {
        font-size: 0.86rem;
    }
}

/* EVENT */
#eventArea {
    display: block;
    background-color: #f4f3f0;
    text-align: center;
    margin-top: 30px !important;
    margin-bottom: 30px;
    padding: 15px;
}

#eventArea .wrapper {
    height: 160px;
    background-color: #fdfdfc;
}

#eventArea .sectiontitle-wrapper {
    margin-top: 45px;
    padding: 15px;
}

/* 英語タイトル（大きく太字） */
#eventArea .sectiontitle-en {
    font-size: 1.7rem;
}

/* 日本語タイトル（小さく細字） */
#eventArea .sectiontitle-ja {
    font-size: 0.90rem;
    font-weight: bold;
    color: #111;
    margin-top: 5px;
}

/* パンくずリスト */
.breadcrumb-wrapper {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    
}

.breadcrumb {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefoxでスクロールバーを隠す */
    margin: 25px 0 10px 0;
}

.breadcrumb ul {
    display: inline-flex;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    margin-right: 0.5em;
    list-style: none;
}

.breadcrumb li {
    color: #7c7c7c;
    margin-right: 0.5em;
    flex-shrink: 0;
}

.breadcrumb li::after {
    content: ">";
    margin-left: 0.5em;
}

.breadcrumb li:last-child::after {
    content: none;
}

@media (max-width: 767px) {
    .breadcrumb {
        font-size: 13px;
        padding: 8px 10px;
    }
}



/* 🟠 投稿ページ */
#singlearticle {
    max-width: 100%;
    overflow-x: hidden;
}

article#singlearticle h1 {
    line-height: 145%;
}

.articledate {
    text-align: left;
    color: #696969;
    padding: 5px 0 15px 0;
}

/* タグ */
.keywords {
    display: inline-block;
    background-image: none;
    border: none;
    padding-left: 0;
}
.keywords li {
    display: inline-block;
    background-color: transparent;
}
.keywords li a {
    color: #000;
    background-color: #fff;
    border: 1px solid #7c7c7c;
    border-radius: 15px;
    padding: 5px 15px;
}
.keywords li a:hover {
    color: #fff;
    background-color: #000;
    text-decoration: none !important;
}
.keywords_title {
    display: inline-block;
}
.keywords_title img {
    width: 32px;
    height: 11.5px;
}

/* SNS リンク */
.snslink {
    display: flex;
    justify-content: left; /* space-between → center に変更 */
    max-width: 100%;
    margin: 5px auto 15px auto;
    gap: 16px; /* ★ アイコン間の余白を調整 */
    background-image: none;
    padding-left: 0;
}
.snslink div {
    width: auto !important;
}
.snslink_title img {
    width: 50px;
    height: 12px;
    margin-top: 5px;
}


/* 🟠 カテゴリー */

h1.sectiontitle {
    font-size: 2.4rem;
    margin-bottom: 30px;
}

/* 共通スタイル */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.article-box {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    /*border-bottom: 1px solid #ddd;*/
    /*padding-bottom: 1.5rem;*/
}

/* アイキャッチ画像（左） */
.article-left {
    width: 150px;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
}
.thumbnail-wrap{
    position: relative;
    display: block;
}
.article-thumbnail{
    width: 100%;
    height: auto;
    display: block;
}

/* テキスト（右） */
.article-right {
    width: auto;
    margin-top: 1rem;
}

.article-title h2 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3; /* 行数を指定 */
    line-clamp: 3;
}

.article-excerpt {
    display: none;
}

.article-meta {
    font-size: 0.95rem;
    color: #696969;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.article-meta span {
    display: inline-block;
}

.article-pr {

    font-weight: normal;
    margin-left: 10px;
}

/* ---------- PCサイズ ---------- */
@media (min-width: 768px) {
    .article-box {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }

    .article-left {
        width: 25%;
        max-width: 250px;
        flex-shrink: 0;
    }

    .article-right {
        width: 75%;
        margin-top: 0;
    }

    .article-title h2 {
        font-size: 1.4rem;
        -webkit-line-clamp: 2; /* 行数を指定 */
        line-clamp: 2;
    }

    .article-excerpt {
        font-size: 1rem;
        color: #555;
        line-height: 1.6;
        margin-bottom: 0.8rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 2; /* 行数を指定 */
        line-clamp: 2;
    }

    .article-meta {
        font-size: 0.9rem;
    }
}

/* 🟠 ランキングページ */
.rank-badge{
	position: absolute;
	top: 0;
	left: 0;
	width: 30px;
	height: 30px;
	background: #fff;
	color: #000;
	font-weight: bold;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    border-radius: 0 0 8px 0;
}


/* 🟠 ページネーション */
.pagenation {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	gap: 10px;
    overflow-x: auto;
	margin-top: 40px;
	font-size: 16px;
}

.pagenation a,
.pagenation span,
.pagenation .dots {
	white-space: nowrap;
}

.pagenation .page-numbers {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 36px;
	text-align: center;
	border-radius: 50%;
	background-color: #f5f5f5;
	color: #333;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s ease;
}

.pagenation .page-numbers:hover {
	background-color: #ccc;
	color: #000;
    text-decoration: none !important;
}

.pagenation .current {
	background-color: #333;
	color: #fff;
	pointer-events: none;
}

.pagenation .dots {
	background: none;
	pointer-events: none;
	color: #666;
}

.pagenation .next img,
.pagenation .prev img {
	width: 24px;
	height: 24px;
	display: block;
}

@media screen and (max-width: 480px) {
	.pagenation a,
	.pagenation span,
	.pagenation .dots {
		font-size: 1.4rem;
		width: 36px;
		height: 36px;
		line-height: 36px;
		border-radius: 50%;
		text-align: center;
	}
}





