﻿:root {
    --brand-red: #962424;
	--brand-light-red: #B91C1C;
    --brand-red-soft: rgba(150, 35, 36, 0.05);
    --brand-dark: #3E3E3E;
    --brand-black: #212529;
    --brand-gray: #7C7C7C;
    --border-gray: #d4d4d4;
    --bk-gray: #F0F0F0;
}

body {
    background-color: #FFFFFF;
    color: var(--brand-black);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
	font-size: 14px;
}

h1, h2, h3, h4, h5, h6,
footer .footer-nav,
.navbar .nav-item, 
.mobile-header {
    font-family: 'Roboto';
}

a {
    color: var(--brand-red);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

    a.btn:hover {
        text-decoration: none;
    }

.btn {
    font-size: .85rem;
}

.btn-warning, .btn-warning:hover {
    color: #FFFFFF;
    background-color: #F58220;
}

.btn-outline-danger {
    color: var(--brand-red);
    border-color: var(--brand-red);
    background-color: #FFFFFF;
}

    .btn-outline-danger:hover {
        border-color: var(--brand-red);
        background-color: var(--brand-red);
    }

.btn.btn-white, btn-white:hover {
    background-color: #FFFFFF;
    color: var(--brand-black);
}

.btn-dark:hover {
    background-color: var(--brand-black);
}

.btn-xs {
    font-size: .7rem;
}

.bg-gray {
    background-color: var(--bk-gray) !important;
}

.btn-gray, .btn-gray:hover {
    background-color: var(--bk-gray);
}

.btn-gray-red, .btn-gray-red:hover {
    background-color: var(--bk-gray);
    border-color: var(--brand-red);
}

.btn-danger, .btn-danger:hover {
    background-color: var(--brand-red);
}

.btn-light-red {
	color: #FFF;
	background-color: var(--brand-light-red);
}

.btn-light-red:hover {
	color: #FFF;
	background-color: var(--brand-red);
}

.btn-white-block {
    width: 100%;
    background-color: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #eee;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05);
    padding: 0.75rem 1rem;
    text-align: center;
    color: #333;
    text-decoration: none;
    display: block;
}

    .btn-white-block:hover {
        background-color: #f8f9fa;
        color: #111;
        text-decoration: none;
    }
.btn-white-block {
    width: 100%;
    background-color: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #eee;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05);
    padding: 0.75rem 1rem;
    text-align: center;
    color: #333;
    text-decoration: none;
    display: block;
}

    .btn-white-block:hover {
        background-color: #f8f9fa;
        color: #111;
        text-decoration: none;
    }

.text-danger {
	color: var(--brand-red) !important;
}

.border-bray {
	border-color: var(--border-gray);
}

/* グラデーション背景 */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.to-red-900 {
    --tw-gradient-to: #7f1d1d;
}

.from-red-700 {
    --tw-gradient-from: #b91c1c;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(185, 28, 28, 0));
}

@media (min-width: 1135px) {
  .d-xl2-flex {
    display: flex !important;
  }
}


/* コンテンツ幅 */
@media (min-width: 1240px) {
    .max-container,
	main .container {
		max-width: 1240px;
	}
}

.main-row > .right-side{
 	text-align: center;
 }
/* xl以上のときだけ右300px固定にする */
@media (min-width: 1200px) {
  .main-row{
    display: flex;
    flex-wrap: nowrap;   /* 右を落とさない */
  }

  .main-row > .left-side{
    flex: 1 1 auto;      /* 残り幅全部 */
    min-width: 0;        /* 長い要素で横はみ出し防止（超重要） */
  }

  .main-row > .right-side{
    flex: 0 0 330px;     /* 固定 */
    width: 300px;
	text-align: center;
  }
}

/* ========= ヘッダー ========= */

/* ロゴ（PC用） */
.site-logo {
    width: 250px;
}

@media (max-width: 800px) {
    .site-logo {
        width: 230px;
    }
}

    .site-logo img {
        width: 100%;
    }

header a.icon-btn > div {
    font-size: .7rem;
    color: var(--brand-dark);
}

/* ナビのタブ風スタイル（PC・タブレット：md以上） */
.navbar-expand-md {
    border-bottom: 4px solid #DBD3C5;
}

    .navbar-expand-md.navbar .navbar-nav .nav-link {
        padding: 0.45rem 0.7rem;
        color: var(--brand-dark);
        font-weight: bold;
        transition: background-color 0.15s ease, color 0.15s ease, border-radius 0.15s ease;
    }

.navbar .nav-link.active,
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background-color: var(--brand-red);
    color: #fff !important;
    border-radius: 10px 10px 0 0; /* 上だけ10px角丸 */
}

.navbar .nav-link i {
    font-size: 0.9rem;
}

/* 2個目以降の nav-item にだけ適用 */
.navbar .nav-item + .nav-item {
    position: relative;
    margin-left: 6px; /* 前のリンクとの間隔 */
    padding-left: 6px; /* この中に縦線を描くスペース */
}

    /* 区切り線 */
    .navbar .nav-item + .nav-item::before {
        content: "";
        position: absolute;
        left: 0; /* padding の先頭に線を置く */
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 1.4em; /* 文字高さくらいの長さに */
        background-color: #ccc;
    }

.navbar .nav-item a {
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 0px;
}

    .navbar .nav-item a:hover {
        text-decoration: none;
    }

@media (min-width: 992px) and (max-width: 1199px) {
	.navbar .nav-item + .nav-item {
		margin-left: 3px; /* 前のリンクとの間隔 */
		padding-left: 3px; /* この中に縦線を描くスペース */
	}
}

/* ▼ PC（md 以上）では hover で開く ▼ */
@media (min-width: 768px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* 好みに応じて調整 */
    }

    .navbar .dropdown-menu[data-bs-popper] {
        transform: none !important; /* Popper の translate3d を無効化 */
        left: 0 !important; /* ドロップダウン親の左端から表示 */
        margin-top: 0; /* 上の余白もホバー時と同じに */
    }
}

/* ▼ dropdown 全体のボーダー（外枠）は残すならこのまま */
.navbar .dropdown-menu {
    border-radius: 0.25rem; /* Bootstrap標準の角丸 */
    overflow: hidden; /* 角丸に合わせて item をクリップ */
    padding-top: 0; /* 上余白をなくす */
    padding-bottom: 0; /* 下余白をなくす */
}

/* ▼ 各 dropdown-item の基本デザインを調整 */
.navbar .dropdown-item {
    border-radius: 0; /* 角丸リセット */
    padding: 8px 16px;
    position: relative;
}
.navbar .dropdown-item:active {
    background-color: #6b6b6b;
}

@media (min-width: 992px) and (max-width: 1020px) {
    #globalNav input {
        width: 150px;
    }
}

/* ========= スマホ用ヘッダー・ナビゲーション ========= */

.mobile-header {
    display: none;
}

@media (max-width: 767.98px) {
    .mobile-header {
        display: block;
        background: #ffffff;
        border-bottom: 1px solid var(--border-gray);
        padding: 0.4rem 0.6rem;
    }

        .mobile-header .mh-icon {
            font-size: 1.2rem;
        }

            .mobile-header .mh-icon div {
                font-size: .6rem;
                color: var(--brand-dark);
            }
}

.mobile-header .site-logo {
    width: 150px;
}

/* スマホ検索フォームのスライド用 */
#mobileSearchBox {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--border-gray);
    padding: 0.6rem;
}

/* タブレット用検索フォーム（mdのみ表示＆スライド） */
.tablet-search-box {
    display: none; /* jQueryでslideDown/Up */
    background: #fff;
    border-bottom: 1px solid var(--border-gray);
}

.js-date {
	max-width: 110px;
}

.mobile-header .form-select {
	max-width: 88px;
}

/* アコーディオンメニュー */
#mobileMenuPanel {
    border-bottom: 1px solid var(--border-gray);
    font-weight: bold;
    display: none;
}

/* 外枠 */
.mobile-menu-accordion {
    padding: 0.4rem 0;
}

/* 1階層：共通スタイル */
.mm-item {
    border-top: 1px solid var(--border-gray);
}

    .mm-item:first-child {
        border-top: none;
    }

/* 「トップ」などリンクだけの行 */
.mm-link-row {
    display: block;
    padding: 0.55rem 0.25rem;
    font-size: 0.9rem;
    color: var(--brand-dark);
    text-decoration: none;
}

/* アコーディオンの見出しボタン */
.mm-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.55rem 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--brand-dark);
}

/* 左側ラベル */
.mm-label {
    display: inline-block;
    font-weight: bold;
}

/* 右端アイコン */
.mm-icon {
    width: 1.2rem;
    text-align: right;
}

/* サブメニュー（2階層目） */
.mm-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 0.35rem 0.75rem; /* 少し右に下げる */
    font-size: 0.85rem;
}

    .mm-submenu li + li {
        margin-top: 0.15rem;
    }

    .mm-submenu a {
        display: block;
        padding: 0.2rem 0;
        color: var(--brand-dark);
        text-decoration: none;
        font-weight: bold;
    }

        .mm-submenu a:hover {
            text-decoration: underline;
        }

/* 開閉時のアイコン回転 */
.mm-toggle[aria-expanded="true"] .mm-icon i {
    transform: rotate(180deg);
}

.mm-toggle .mm-icon i {
    transition: transform 0.15s ease;
}

/* スマホメニュー：アクティブ表示 */

/* トップなど単独リンク */
.mm-link-row.active {
    background-color: var(--brand-red);
    color: #fff !important;
}

/* 第2階層のリンク */
.mm-submenu a.active {
    background-color: var(--brand-red);
    color: #fff !important;
    border-radius: 4px;
}

/* ========= フッタ ========= */
footer {
    font-size: .8rem;
    background-color: var(--brand-red);
    padding-top: 20px;
}

    footer .input-group {
        max-width: 210px;
    }

        footer .input-group .btn-outline-danger,
        footer .input-group .btn-outline-danger:hover {
            border-color: #FFFFFF;
        }

    footer .form-select,
    .navbar .form-select {
        max-width: 90px;
    }

    footer .search-row > div:first-child {
        text-align: right;
    }

    footer .search-row > div:last-child {
        text-align: left;
    }

@media (max-width: 991.98px) {
    footer .form-select {
        max-width: none;
        width: calc(30% - 57px);
    }

    footer .input-group {
        max-width: none;
    }

    footer .search-row a {
        width: 45%;
    }

    footer .search-row > div:first-child > div {
        width: calc(60% - 57px);
    }

    footer .search-row > div:first-child, footer .search-row > div:last-child {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
	footer .form-select, footer .js-date {
		max-width: none;
        width: 45%;
    }
	
	footer .search-row > div:first-child > div {
        width: 93%;
    }
}

footer .footer-nav {
    margin-top: 20px;
}

    footer .footer-nav > div > div {
        font-weight: bold;
        display: block;
    }

    footer .footer-nav ul {
        list-style: none;
    }

    footer .footer-nav a {
        color: #FFFFFF;
    }

/* 下部固定バナー */
.fixed-banner {
    background: linear-gradient(to bottom, #962424 20%, #6E1919 80%);
    color: #fff;
    font-size: 1.2rem;
    padding: 0.7rem 0;
    z-index: 1030;
}

    .fixed-banner a {
        color: #FFFFFF;
        text-decoration: none;
    }

    .fixed-banner button {
        border-color: #FFFFFF;
        background: transparent;
        color: #fff;
        font-size: 1rem;
        line-height: 1;
    }

        .fixed-banner button:hover {
            border: 1px solid;
        }

@media (max-width: 575.98px) {
  .fixed-banner {
    font-size: 1rem;
  }
}


/* ========= モーダル・カルーセル ========= */

.modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    font-size: 1.5rem;
	opacity: 1;
}

.article-carousel {
    padding-bottom: 20px;
}

.image-modal .modal-content, .carousel-modal .modal-content {
	background-color: transparent !important;
	border: none;
}



/* メインカルーセルの大きい画像 */
#mainCarousel img {
    width: 100%;
    object-fit: contain; /* ← 比率維持・全表示 */
    aspect-ratio: 690 / 450;
}

/* モーダル内の画像 */
#modalCarousel img {
    width: 100%;
    /*height: 70vh;*/
    object-fit: contain;
    aspect-ratio: 690 / 450;
}

/* キャプション共通（画像の下） */
.caption-box {
    background: rgba(0, 0, 0, 0.5);
    color: #333;
    padding: 8px 14px;
    text-align: left;
    margin-top: 5px;
}

.caption-text {
    text-align: center;
    margin: 0;
    font-weight: bold;
    color: #FFFFFF;
    font-size: 0.9rem;
}

.modal-content .caption-box {
	background-color: transparent;
}

/* サムネイルエリア（メインカルーセルの下） */
.article-carousel .thumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
}

/* サムネイル1個分の枠 */
.article-carousel .thumb-item {
    width: 15%; /* 横に並べる数はここで調整 */
    background: #FFF; /* 余白の色（黒） */
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 3px;
    overflow: hidden;
    display: flex; /* 中央寄せ用 */
    align-items: center;
    justify-content: center;
}

    /* サムネイル画像：比率維持＋全体表示 */
    .article-carousel .thumb-item img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        aspect-ratio: 690 / 450;
        object-fit: contain; /* 念のため指定（なくてもOKなブラウザが多いです） */
    }

/* アクティブなサムネイルは青枠 */
.article-carousel .thumb-active {
    border-color: #0d6efd;
}

/* ボタンの外側（白の丸い背景・透明感あり） */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6); /* 半透明の白丸 */
    border-radius: 50%;
    opacity: 1 !important; /* Bootstrap の薄くなる仕様を打ち消す */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* アイコン（矢印）の色を濃いグレーに変更） */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(30%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(40%) contrast(90%);
    width: 1.5rem;
    height: 1.5rem;
    /* これで濃いグレーのアイコンに変換される */
}

/* hover時は背景を少し濃く */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ========= 右カラム ========= */

/* 右カラム動画 */
#sideMovie {
    max-width: 300px;
    margin: auto;
}

/* 右カラム カルーセル内カード */
#sideLinkCarousel {
    max-width: 300px;
    margin: auto;
}

#sideLinkCarousel .carousel-control-prev {
    left: 5px;
}

#sideLinkCarousel .carousel-control-next {
    right: 5px;
}

/* ========= トップバナー ========= */
.top-banner {
	text-align: center;
}
.top-banner a {
    display: block;
    width: 100%;
    max-height: 270px;
}

    .top-banner a img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        display: block;
        margin: auto;
    }

@media (min-width: 992px) {
  .top-banner.d-lg-block > div {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    /* GPTが inline で min-width 970 を持つので、そのままでもOK */
    /* display:block; も付けると安定します */
    display: block;
  }
}

/* ========= 下に並んだバナー、右に並んだバナー ========= */
.banner-area {
    display: grid;
    justify-content: center;
    margin-bottom: -2em;
}

.banner-area .banner-list {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 1024px) {
    .banner-area .banner-list {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1023px) {
    .banner-area .banner-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-area .banner-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.banner-area .banner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.banner-area .banner-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ========= 記事（リスト表示） ========= */
.new-article {
	font-size: 18px;
}

section {
    padding: .5rem;
}

.section-title {
    color: var(--brand-red);
    font-size: 18px;
    font-weight: 700;
    border-bottom: 4px solid var(--brand-red);
	border-bottom: solid 4px #6b6b6b;
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.section-title:after {
	position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 4px var(--brand-red);
    bottom: -4px;
    width: 80%;
	margin-left: -.5rem;
}

    .section-title i {
        color: var(--brand-red);
        font-size: 0.9rem;
    }

#sideMovie .section-title {
    font-size: 1rem;
    color: var(--brand-dark);
    border-bottom: 4px solid var(--brand-dark);
}

.article-row {
    display: flex !important; /* 横並びを強制 */
    align-items: stretch;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 1rem 0;
}

.article-list .article-row + .article-row {
    border-top: 1px solid var(--border-gray);
}

/* SP1列PC2列の場合 */
.article-col--2 + .article-col--2 > .article-row {
    border-top: 1px solid var(--border-gray);
}

    .article-row .article-row .article-main {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        flex: 1 1 auto;
        min-width: 0; /* 狭い画面での崩れ防止 */
    }

.article-row .article-body {
    flex: 1 1 auto;
    min-width: 0;
}

.article-title {
    line-height: 1.5;
}

.article-row .article-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.right-side .article-row .article-title {
    font-size: 0.85rem;
}

.article-row .article-text {
    font-size: .85rem;
    line-height: 1.5;
}

.article-row .article-thumb {
    /*min-width: 100px;
    max-width: 110px;
    min-height: 100px;
    max-height: 110px;
    width: 30%;*/
    width: 100px;
    height: 100px;
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* ★追加：アイコンの基準にする */
}

	.ranking .article-row .article-thumb {
		min-width: 80px;
		max-width: 80px;
	}

    .article-row .article-thumb a {
        display: block;
        width: 100%;
        height: 100%;
        position: relative; /* こちらを基準にしたい場合はここにrelativeでもOK */
    }

    .article-row .article-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

@media (min-width: 768px) {
    .top-article .article-row .article-thumb {
        max-width: 300px;
        width: 300px;
        height: 225px;
    }
}

/* 左上のアイコン（複数画像用） */
.article-row .thumb-multi-icon {
    position: absolute;
    z-index: 2;
    font-size: 0.7rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 必要なら、複数画像のものだけ表示したいときに絞る */
.article-row .article-thumb:not(.gallery) .thumb-multi-icon {
    display: none;
}

@media (min-width: 768px) { /* md */
    .article-row .article-thumb {
        max-width: 100px;
    }
	
    .top-article .article-row .article-title {
        font-size: 1.3rem;
    }

    .top-article .article-row .article-text {
        font-size: 1rem;
    }
}

.article-row .article-meta {
    font-size: 12px;
    color: var(--brand-gray);
}

    .article-row .article-meta .date {
        padding-right: .3rem;
        margin-right: .2rem;
        border-right: 1px solid var(--brand-gray);
    }

    .article-row .article-meta .category {
        font-weight: bold;
        color: var(--brand-gray);
    }

/* ランキング専用：赤丸の番号 */
.ranking-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 期間タブ（直近 / 昨日 / 一週間）: 角丸無し + 下線 */
.period-tabs {
    border-bottom: 1px solid var(--border-gray);
    justify-content: space-between;
}

    .period-tabs .nav-item {
        width: 30%;
    }

    .period-tabs .nav-link {
        border-radius: 0;
        font-size: 0.85rem;
        padding: 0.25rem 0.8rem;
        border: 0;
        border-bottom: 3px solid transparent;
        color: #555;
        background: transparent;
        width: 100%;
    }

        .period-tabs .nav-link.active {
            border-bottom-color: var(--brand-red);
            color: var(--brand-red);
            background: transparent;
            font-weight: 600;
        }

/* カテゴリーページタイトル */
.category-title {
    color: var(--brand-red);
    font-weight: bold;
}

/* The Paper */

.thepaper {
	background-color: #F9F5EE;
	padding: 0;
}

.thepaper .section-title {
	padding: .5rem;
	margin-bottom: 0;
	background-color: #131F5B;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-image: linear-gradient(
      to right,
	  #FFF584 0%,
	  #BF933A 26%,
	  #C79F47 46%,
	  #FFF8AD 75%,
	  #C79F47 100%
	 ) 1;
}

.thepaper .section-title:after {
	border: none;
}

.thepaper .section-title a {
	color: #FFF;
}

.thepaper .section-title .small {
	font-size: 14px;
}

.thepaper .section-title .img {
	text-align: right;
	height: 24px;
	width: auto;
}

.thepaper .section-title .img img {
	height: 100%;
	vertical-align: top;
}

.thepaper .article-row {
	border-bottom: 0px;
	padding-top: .5rem;
}

.thepaper .row {
	padding: 1.5rem 1.5rem 0.3rem;
}

.thepaper .article-thumb, .thepaper .article-thumb img {
	width: 100%;
	max-height: 200px;
	object-fit: contain;
}

.thepaper-article-icon {
	width: 55px;
	margin-top: .5rem;
}

.thepaper-article-icon img {
	width: 100%;
}

.thepaper .readmore {
	background-color: #131F5B;
	font-weight: bold;
	padding: .5rem;
}

.thepaper .readmore a {
	color: #FFF;
}

/* ========= 記事（詳細ページ） ========= */
.article-body h1 {
    font-size: 42px;
    line-height: 110%;
}

.article-body h2 {
    font-size: 27px;
    line-height: 120%;
}

.article-body h3 {
    font-size: 20px;
    line-height: 140%;
}

.article-body h4 {
    font-size: 18px;
    line-height: 140%;
}

.article-body h5 {
    font-size: 16px;
    line-height: 140%;
}

.article-body h6 {
    font-size: 13px;
    line-height: 150%;
}

.article-detail .article-title a {
    color: var(--brand-dark);
    font-weight: bold;
}

.article-detail .article-main {
    display: flex;
    flex-flow: column;
    border-top: 1px solid var(--border-gray);
    padding-top: .5rem;
    border-bottom: none;
}

.card .btn {
    font-weight: bold;
}

.article-detail .article-meta {
    font-weight: bold;
    font-size: .85rem
}

.article-detail .article-meta .category {
    color: var(--brand-red);
}

.article-detail .article-meta .date {
    border: none;
}

.article-detail .article-thumb {
    height: 250px;
    margin: auto;
    margin-top: 1rem;
    display: block;
}
.article-detail .article-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article-detail .article-thumb-title {
    font-size: .85rem;
    font-weight: bold;
    margin-top: 1rem;
}

.article-detail .article-text {
    font-size: 1rem;
    margin-top: 2rem;
    line-height: 1.8;
}

.article-detail .article-text p {
	margin-bottom: 0;
	padding-bottom: .5rem;
}

@media (min-width: 768px) { /* md */
	.article-detail .article-thumb-box {
        float: left;
        margin-right: 20px;
        min-height: unset;
        max-width: 330px;
    }

    .article-detail .article-text {
        margin-top: .5rem;
    }
}



/* SNS アイコン丸ボタン */
.sns-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    margin-left: 6px;
    text-decoration: none;
}

.sns-fb {
    background: #3b5998;
}

.sns-x {
    background: #000;
}

.sns-line {
    background: #06c755;
}

.sns-icon:hover {
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
}

/* ========= パンくず ========= */
.breadcrumb-wrapper {
    padding: 15px 8px;
    border-bottom: 1px solid var(--border-gray);
}

.breadcrumb {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: var(--brand-gray);
    font-size: 0.75rem;
    font-weight: bold;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--border-gray);
}

.breadcrumb-current {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--brand-red);
    color: #fff;
    font-weight: bold;
    font-size: 0.75rem;
}

/* ========= ページング ========= */
.custom-pagination .page-link {
    border: none;
    background-color: #f2f2f2;
    color: #666;
    width: 36px;
    height: 36px;
    padding: 0;
    text-align: center;
    line-height: 36px;
    border-radius: 0;
    font-weight: 500;
}

.custom-pagination .page-item + .page-item .page-link {
    margin-left: 4px;
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--brand-red);
    color: #fff;
}

.custom-pagination .page-link:focus {
    box-shadow: none;
}

.custom-pagination .page-link:hover {
    background-color: #e4e4e4;
    color: #333;
}

/* ========= ログイン画面 ========= */
.login-wrapper form,
.forget-password-wrapper form {
    max-width: 275px;
    margin: auto;
}

    .login-wrapper form label,
    .forget-password-wrapper form label {
        font-size: .85rem;
        margin-bottom: .3rem;
    }

.notice-small {
    font-size: 0.8rem;
    line-height: 1.2;
}

.login-wrapper .form-control {
    font-size: 14px;
}

.forget-password-wrapper .btn-white-block {
    font-size: .9rem;
}

/* ========= 申込関連画面 ========= */
.apply .btn-light-red {
	font-size: .9rem;
	font-weight: normal;
}

.apply h5.subtitle {
	border-bottom: 2px solid var(--brand-light-red);
	font-weight: bold;
	padding-bottom: .75rem;
}

.apply-paper .card {
	max-width: 768px;
	margin: auto;
}

.paper-digital-benefits .card {
	max-width: 900px;
	margin: auto;
}

.paper-digital-benefits .content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.paper-digital-benefits .text-content {
    flex: 1;
    min-width: 250px;
}

.paper-digital-benefits .image-content {
    flex: 0 0 auto;
    max-width: 300px;
    width: 100%;
}

.paper-digital-benefits .image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========= 紙面一覧 ========= */
.newspaper-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.newspaper-item-wrapper {
    width: 100%;
}

.newspaper-item {
    display: flex;
    width: 100%;
    padding: 10px;
    gap: 10px;
}

.newspaper-pagecount {
    background: #333;
    color: #fff;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.newspaper-image {
    width: 30%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.newspaper-image img {
    width: 100%;
    height: auto;
    display: block;
}

.newspaper-content {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.newspaper-content .article-title {
    margin: 0;
    padding: 2px 0;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.newspaper-content .article-title a {
    color: #000;
}

@media screen and (max-width: 800px) {
	.newspaper-item {
        flex-direction: column;
        align-items: center;
    }
	
    .newspaper-image {
        width: auto;
        text-align: center;
        margin-bottom: 20px;
    }
	
	.newspaper-image img {
        height: auto;
        display: block;
        margin: 0 auto;
    }
	
	.newspaper-content {
        width: 100%;
        padding: 0 20px;
    }
}

/* ========= クロスメディア ========= */

/* 上の説明ボックスの見た目 */
  .cm-hero {
    border: 1px solid #d6d6d6;
    padding: 2.25rem 1.75rem;
  }

  /* カード（サムネ＋タイトル）の見た目 */
  .cm-card {
    border: 1px solid #e9e9e9;
    overflow: hidden;
    height: 100%;
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .cm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08);
  }

.cm-thumb {
	width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
}
  .cm-thumb img{
    object-fit: contain;
    width: 100%;
    height: 100%;
  }

  .cm-title {
    padding: .9rem .5rem .5rem;
    font-size: .95rem;
	line-height: 1rem;
    text-align: center;
    margin: 0;
  }

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

/* ========= フォーム ========= */
.stack {
    display: flex;
    flex-direction: column;
}

.stack--50 {
    gap: 50px;
}

.stack--40 {
    gap: 40px;
}

.stack--30 {
    gap: 30px;
}

.stack--25 {
    gap: 25px;
}

.stack--20 {
    gap: 20px;
}

.stack--18 {
    gap: 18px;
}

.stack--16 {
    gap: 16px;
}

.stack--8 {
    gap: 8px;
}

.subscription-shell {
    width: min(100%, 979px);
    margin: 0 auto;
}

.subscription-frame {
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    background: #fff;
    padding: clamp(24px, 3vw, 40px);
}

.subscription-inner {
    max-width: 802px;
    margin: .625rem auto;
}

.subscription-label {
    letter-spacing: .2em;
    color: var(--brand-gray);
}

.subscription-title {
    font-size: clamp(1.4rem, 3vw, 1.95rem);
    font-weight: 800;
}

.subscription-desc {
    border: 1px solid #e4e4e4;
    padding: 10px 15px;
    font-size: .875rem;
}

.section-bar {
    width: 10px;
    height: 28px;
    background: var(--brand-red);
    display: inline-block;
}

.subscription-table {
    --bs-table-border-color: #e4e4e4;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    font-size: clamp(.82rem, 1.6vw, .95rem);
    border-collapse: separate;
    border-spacing: 0;
}

.subscription-table th {
    font-weight: 700;
}

.subscription-table td {
    font-weight: 600;
    text-align: center;
}

.subscription-table td,
.subscription-table th {
    padding-top: 1rem;
    padding-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.125rem;
}

.subscription-table thead th {
    border-bottom: 1px solid #e4e4e4;
    color: #000;
    text-align: center;
    background: #fff;
}

.subscription-table thead th:not(:first-child) {
    white-space: nowrap;
    min-width: 90px;
}

.subscription-table thead th:first-child {
    text-align: left;
}

.subscription-table tbody tr+tr td,
.subscription-table tbody tr+tr th {
    border-top: 1px solid #e4e4e4;
}

.subscription-table tbody th,
.subscription-table thead th:first-child {
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.premium-head {
    border: 1px solid var(--brand-red) !important;
    background-color: var(--brand-red-soft) !important;
}

.premium-head__label {
    color: var(--brand-red);
}

.subscription-table tbody .premium-col {
    background-color: #f5f5f5 !important;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4:
}

.subscription-table img {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.table-mark-cross {
    color: #969696 !important;
    font-weight: 700;
}

.feature-note {
    font-size: .95rem;
    color: var(--brand-gray);
    text-align: center;
}

.subscription-btn {
    display: block;
    width: min(100%, 400px);
    margin: 0 auto;
    padding: .9rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--brand-red);
    border: 2px solid var(--brand-red);
    color: #fff;
    border-radius: .25rem;
}

.subscription-btn:hover {
    background: #7a1d1f;
    border-color: #7a1d1f;
    color: #fff;
}

/* =========================================
   ログイン中ローディング
========================================= */
.cms-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

    .cms-loading.is-active {
        display: block;
    }

.cms-loading__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(1px);
}

.cms-loading__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.cms-loading__spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 5px solid #d8e0ea;
    border-top-color: var(--brand-red);
    animation: cms-spin 0.8s linear infinite;
}

.cms-loading__text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-blue);
    letter-spacing: 0.02em;
}

@keyframes cms-spin {
    to {
        transform: rotate(360deg);
    }
}

.cms-login-error {
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--brand-red);
    line-height: 1.5;
}

.cms-login-error-box,
.cms-login-success-box {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.cms-login-error-box {
    color: var(--brand-red);
    border: 1px solid rgba(172, 31, 36, 0.18);
    background: rgba(172, 31, 36, 0.06);
}

.cms-login-success-box {
    color: var(--brand-blue);
    border: 1px solid rgba(51, 77, 110, 0.18);
    background: rgba(51, 77, 110, 0.06);
}

.right-ad-article {
    text-align: left;
}

.ad-article__section {
    margin-bottom: 25px;
}

.ad-article__block {
    padding: 10px 0 5px;
    font-size: 1rem;
    word-break: break-all;
    border-bottom: 1px solid #dcdcdc;
}

.ad-article__heading {
    position: relative;
    padding-bottom: 8px;
    padding-left: 25px;
    font-size: 1rem;
    font-weight: 700;
    word-break: break-all;
    border-bottom: 1px solid #808080;
    margin-bottom: 8px;
}

    .ad-article__heading::before {
        content: '';
        display: inline-block;
        position: absolute;
        top: -10px;
        bottom: 0;
        left: 0;
        width: 15px;
        height: 5px;
        background: #962424;
        margin: auto;
    }

.ad-article__item {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ad-article__list {
    margin-bottom: 5px;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    word-break: break-all;
}

.ads {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.side-ad {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .side-ad > div:last-child {
        margin-bottom: 0;
    }

    .side-ad > div {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .side-ad .youtube-wrap {
        text-align: center;
        margin: 10px 0;
    }

.pre-line {
    white-space: pre-line;
}

.preload body {
    visibility: hidden;
}

[v-cloak] {
    display: none !important;
}

/* 上部のお知らせ */
.announcement-display-wrapper {
    border: 1.5px solid var(--brand-red);
    background-color: #F1F1F1 !important;
    margin-bottom: 10px !important;
}

ul.announcement-display {
    padding: 5px 0 !important;
}

li.announcement-item {
    padding: 5px 10px !important;
}

.announcement-item {
    line-height: 1.5;
}

    .announcement-item .news-flash {
        padding: 5px 7px 5px 10px;
        border-radius: 4px;
    }

    .announcement-item a {
        font-size: 16px;
    }

/* 右サイドのyoutube */
.youtube-heading {
    text-align: center;
    font-weight: bold;
    border-bottom: solid 3px #999;
    font-size: 1.8rem;
    color: #444;
    line-height: 1.4;
}

    .youtube-heading .customize-unpreviewable {
        font-size: 18px;
        color: #444;
        text-decoration: none;
    }

.youtube-title {
    padding: 5px 0;
    text-align: center;
    font-size: 14px;
}


    .youtube-title .customize-unpreviewable {
        font-size: 14px;
        color: #444;
        text-decoration: none;
    }

/* 右サイドのスライダー */
.swiper-wrapper-container {
    overflow: hidden;
    position: relative;
    margin: auto;
}

.mySwiper {
    overflow: visible;
}

.swiper-button-next, .swiper-button-prev {
    color: #0073aa;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
}

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 18px;
    }

.image-wrapper {
    background-color: #ffffff;
    text-align: center;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.slider-overlay {
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    margin-top: 5px;
}

.slider-title {
    font-size: 14px;
    font-weight: 700;
}

.clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-text.clamp-5 p {
    padding: 0;
}

/* 広告記事アイコン */
span.m-pr {
    background: #727272 !important;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    padding: 2px 15px !important;
    margin: 0 5px 0 0px;
    position: relative;
    top: -1px;
    border-radius: 3px;
}

/* サイドの広告 */
@media screen and (max-width: 799px) {
    .vc_col-sm-4 .side-ads {
        display: none !important;
    }
}

@media screen and (min-width: 800px) {
    .vc_col-sm-4 .side-ads {
        display: block !important;
    }
}

/* 画像保存・ドラッグ禁止 & 独自コンテクストメニュー */
.no-drag-image {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
}

.custom-context-menu {
    position: fixed;
    z-index: 99999;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    padding: 6px;
    min-width: 220px;
}

.custom-context-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-context-menu-item:hover,
.custom-context-menu-item:focus {
    background-color: #f1f3f5;
    color: #c90000;
}

.custom-context-menu-item i {
    font-size: 14px;
    color: #495057;
    margin-right: 8px;
    transition: color 0.15s ease;
}

.custom-context-menu-item:hover i {
    color: #c90000;
}

