/* ================================================================
   ARTICLE CSS — モバレコ記事ページスタイル
   Brand: 白黒基調 / モノトーン / クリーン / モダン
   blog.css の後に読み込む。同一詳細度・後勝ちで上書きするため !important 不要。
   ================================================================ */


/* ===================================================================
   0. 全体のベースリセット — 余白・行間の土台
   =================================================================== */
.contentsArea .mainContents {
    padding-right: 40px;
}

.entry-content {
    color: #222;
}

article {
    padding-bottom: 40px;
}


/* ===================================================================
   1. 記事タイトルエリア
   =================================================================== */
.contentsArea .mainContents .detail-tit {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0;
    letter-spacing: -0.01em;
    color: #111;
}

.contentsArea .mainContents .entry-title {
    font-weight: 700;
    color: #111;
}

.thumbnail_and_title {
    background: transparent;
}

/* 日付・更新日 */
.entry-header .date {
    padding: 0;
    font-size: 12px;
    color: #888;
    border-bottom: none;
    margin-bottom: 0;
}

.entry-header .date p {
    font-size: 12px;
    color: #888;
}

.entry-header .date time {
    color: #888;
}

/* 投稿情報バー */
.entry-header .post-information {
    padding: 0;
    border-bottom: none;
    margin: 0 0 4px;
    min-height: 0;
    line-height: 1.3;
}

.entry-header .post-information .date,
.entry-header .post-information .info,
.entry-header .post-information p,
.entry-header .post-information .writer-info,
.entry-header .post-information .writer-info p {
    margin: 0;
    padding: 0;
}

/* ライター情報 */
.entry-header .writer-info p {
    font-size: 12px;
    color: #666;
}

.entry-header .writer-info p a {
    color: #222;
    text-decoration: none;
    border-bottom: 1px dotted #ccc;
}

.entry-header .writer-info p a:hover {
    border-bottom-color: #222;
}


/* ===================================================================
   2. アイキャッチ画像
   =================================================================== */
.post-thumbnail {
    margin-bottom: 28px;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
}

.post-thumbnail img {
    border-radius: 14px;
    display: block;
}


/* ===================================================================
   3. リード文
   =================================================================== */
.mainContents .leadtxt,
.mainContents-sp .leadtxt {
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 2;
    color: #333;
    padding-bottom: 32px;
    border-bottom: 1px solid #eee;
}


/* ===================================================================
   4. 見出し — h2 / h3 / h4
   =================================================================== */

/* h2: 黒太帯の下線 */
.mainContents h2,
.mainContents-sp h2,
.entry-content h2 {
    background-color: transparent;
    background-image: none;
    color: #111;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 3px solid #111;
    padding: 4px 8px 12px;
    margin-top: 64px;
    margin-bottom: 28px;
    margin-left: 0;
    margin-right: 0;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
    box-shadow: none;
}

.mainContents h2::before,
.mainContents h2::after,
.mainContents-sp h2::before,
.mainContents-sp h2::after,
.entry-content h2::before,
.entry-content h2::after {
    content: none;
    display: none;
}

/* h3: 左に黒い線 */
.mainContents h3,
.mainContents-sp h3 {
    border-bottom: none;
    border-left: 3px solid #333;
    padding: 2px 0 2px 14px;
    margin-top: 48px;
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    color: #111;
}

/* h4: 細い下線 */
.mainContents h4,
.mainContents-sp h4,
.entry-content h4 {
    border-bottom: 1px solid #e5e5e5;
    border-left: none;
    background: transparent;
    padding: 4px 0 6px;
    margin-top: 32px;
    margin-bottom: 14px;
    margin-left: 0;
    margin-right: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    border-radius: 0;
    color: #111;
}


/* ===================================================================
   5. 本文テキスト
   =================================================================== */
.mainContents p,
.mainContents-sp p {
    line-height: 1.9;
    margin-bottom: 22px;
    font-size: 16px;
    color: #333;
}

.mainContents li,
.mainContents-sp li {
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 6px;
    color: #333;
}

.mainContents a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mainContents a:hover {
    color: #555;
}

.mainContents .strong,
.mainContents-sp .strong {
    font-weight: 700;
}


/* ===================================================================
   6. 目次（TOC）
   =================================================================== */
.mainContents .toc,
.mainContents-sp .toc {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 40px;
}

.mainContents .toc > li,
.mainContents-sp .toc > li {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.mainContents .toc > li:last-child,
.mainContents-sp .toc > li:last-child {
    border-bottom: none;
}

.mainContents .toc a,
.mainContents-sp .toc a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.mainContents .toc a:hover,
.mainContents-sp .toc a:hover {
    color: #000;
}


/* ===================================================================
   7. テーブル
   =================================================================== */
.mainContents table.table,
.mainContents-sp table.table {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 32px;
    box-shadow: none;
    width: 100%;
}

.mainContents table.table th,
.mainContents-sp table.table th {
    background: #f7f7f7;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    color: #222;
    text-align: left;
}

.mainContents table.table td,
.mainContents-sp table.table td {
    border: none;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* 最終列の右線を消す */
.mainContents table.table th:last-child,
.mainContents-sp table.table th:last-child,
.mainContents table.table td:last-child,
.mainContents-sp table.table td:last-child {
    border-right: none;
}

/* 最終行の下線を消す */
.mainContents table.table tr:last-child td,
.mainContents-sp table.table tr:last-child td {
    border-bottom: none;
}

/* テーブルヘッダー行（赤背景→黒に統一） */
.mainContents table.table td.bg-color_red,
.mainContents-sp table.table td.bg-color_red {
    background: #222;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}


/* ===================================================================
   8. CTA ボタン
   =================================================================== */
.cv-btn_flex .flex-container {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.cv-btn_flex .flex-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.cv-btn_flex .item2 .arrow {
    font-weight: 700;
}

.closing-text {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.entry-content .ec-button,
.entry-content .ec-button2 {
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.entry-content .ec-button:hover,
.entry-content .ec-button2:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 1;
}


/* ===================================================================
   9. SNSシェアボタン
   =================================================================== */
.sns_title-border {
    margin: 40px 0 16px;
}

.sns_title-border p {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.sns_title-border:before,
.sns_title-border:after {
    border-top-color: #ddd;
}

.sns_btn_box {
    margin-bottom: 36px;
    border-radius: 4px;
    overflow: hidden;
}

.sns_btn_box li {
    transition: opacity 0.2s ease;
}


/* ===================================================================
   10. 関連記事
   =================================================================== */
.entry-content .ec-relatedPost {
    margin: 40px 0;
    padding: 20px 24px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.entry-content .ec-relatedPost_head {
    font-weight: 700;
    font-size: 15px;
    color: #222;
    margin-bottom: 12px;
}

.entry-content .ec-relatedPost_listItem a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.entry-content .ec-relatedPost_listItem a:hover {
    color: #555;
}


/* ===================================================================
   11. 著者情報ボックス
   =================================================================== */
.author-info {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 0;
    margin-top: 48px;
    overflow: hidden;
}

.author-info > p:first-child {
    background: #222;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 12px 24px;
    margin: 0;
    line-height: 1.4;
    border-bottom: none;
}

.author-info > p:first-child .detail {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    font-size: 12px;
    margin-left: 6px;
}

.author-info .author_box_super {
    padding: 24px 28px 20px;
    margin: 0;
}

.author-info .author_box_super .title_box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.author-info .author_box_super .title_box .icon {
    flex-shrink: 0;
}

.author-info .author_box_super .title_box .icon img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e5e5;
}

.author-info .author_box_super .title_box .text .title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
}

.author-info .author_box_super .title_box .text .title a {
    color: #111;
    text-decoration: none;
}

.author-info .author_box_super .title_box .text .title a:hover {
    color: #555;
}

.author-info .author_box_super .title_box .text .title a:before {
    border-color: #222;
}

.author-info .author_box_super .author_section_box {
    margin-top: 4px;
}

.author-info .author_box_super .author_section_box .title {
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.author-info .author_box_super .author_section_box .title span {
    background-color: #222;
    color: #fff;
    border-radius: 3px;
    font-size: 11px;
    padding: 3px 10px;
    letter-spacing: 0.05em;
}

.author-info .author_box_super .author_section_box .text {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
}

.author-info .author_box_super .author_section_box .text p {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}

.author-info .author_box_super .author_section_box .text ul {
    padding-left: 18px;
    margin-bottom: 10px;
}

.author-info .author_box_super .author_section_box .text li {
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 3px;
}

.author-info .author_box_super .author_section_box + .author_section_box {
    margin-top: 8px;
}

.author-info .author-detail-inner {
    background: transparent;
    border: none;
    border-top: 1px solid #eee;
    border-radius: 0;
    padding: 16px 28px;
    margin-top: 0;
}

.author-info .author-detail-inner ul {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.author-info .author-detail-inner ul li {
    margin: 0;
    padding: 0;
}

.author-info .author-detail-inner ul li a {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 8px 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.author-info .author-detail-inner ul li a:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}


/* ===================================================================
   12. パンくずリスト
   =================================================================== */
.topicPath {
    margin: 0;
    padding: 2px 0;
    font-size: 10px;
    line-height: 1.3;
}

.topicPath > .inner {
    margin: 0;
    padding: 0;
}

.topicPath .breadcrumbs {
    color: #999;
    margin: 0;
    padding: 0;
}

.topicPath p.breadcrumbs {
    font-size: 10px;
    line-height: 1.3;
    margin: 0;
}

.topicPath .breadcrumbs ul,
.topicPath .breadcrumbs ol {
    margin: 0;
    padding: 0;
}

.topicPath .breadcrumbs li {
    margin: 0;
    padding: 0;
}

.topicPath .breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.topicPath .breadcrumbs a:hover {
    color: #000;
    text-decoration: underline;
}

.topicPath .sep {
    color: #ccc;
}

.article-back-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #d9d9d9;
    background: rgba(255, 255, 255, 0.96);
    color: #222;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.article-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.article-back-top:hover {
    background: #fff;
    border-color: #bbb;
}


/* ===================================================================
   13. サイドバー
   =================================================================== */
.popular_box .title_box,
.campaign_box .title_box,
.search_box .title_box,
.recommend_box .title_box,
.ranking .title_box {
    background: #222;
    font-size: 14px;
    padding: 14px 16px;
    font-weight: 700;
}

.popular_box,
.campaign_box,
.search_box,
.recommend_box {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.widget .ranking {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.widget .ranking .detail {
    border-bottom-color: #eee;
    padding: 12px;
}

.widget .ranking .detail .ranking_btn a {
    border-radius: 4px;
    transition: opacity 0.2s ease;
}


/* ===================================================================
   14. キャラクター（吹き出し）ボックス
   =================================================================== */
.character {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 28px;
}

.character .character-heading {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.character .character-name {
    color: #333;
}


/* ===================================================================
   15. 画像キャプション
   =================================================================== */
.mainContents .pic-box .caption,
.mainContents-sp .pic-box .caption {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    line-height: 1.5;
}

.mainContents .eyecatch-image,
.mainContents-sp .eyecatch-image {
    margin-bottom: 24px;
}

.mainContents .eyecatch-image img,
.mainContents-sp .eyecatch-image img {
    border-radius: 4px;
}


/* ===================================================================
   16. 注釈ボックス（PR表記）
   =================================================================== */
.header_note-box .toggle-btn {
    color: #333;
}

.header_note-box .toggle-con {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

.header_note-box .toggle-con p {
    font-size: 90%;
    color: #333;
}

.footer_note-box {
    background: #f7f7f7;
    border-radius: 4px;
    border: 1px solid #eee;
}


/* ===================================================================
   17. フッターリンクエリア
   =================================================================== */
.footer_link_box {
    border-bottom-color: #e5e5e5;
}

.footer_link_box .set p {
    color: #555;
}

.footer_link_box .set ul li a {
    color: #777;
    transition: color 0.2s ease;
}

.footer_link_box .set ul li a:hover {
    color: #222;
}


/* ===================================================================
   18. UQモバイルおすすめボックス
   =================================================================== */
.uqmobile-recommend_box {
    border-radius: 6px;
    overflow: hidden;
}


/* ===================================================================
   19. 全体トランジション
   =================================================================== */
a {
    transition: color 0.15s ease, opacity 0.15s ease;
}


/* ===================================================================
   20. レスポンシブ — 767px以下
   =================================================================== */
@media screen and (max-width: 767px) {
    .contentsArea .mainContents {
        padding-right: 0;
    }

    .contentsArea .mainContents .detail-tit {
        font-size: 23px;
        line-height: 1.4;
    }

    .mainContents h2,
    .mainContents-sp h2,
    .entry-content h2 {
        font-size: 20px;
        margin-top: 48px;
        margin-bottom: 20px;
    }

    .mainContents h3,
    .mainContents-sp h3 {
        font-size: 17px;
        margin-top: 36px;
    }

    .mainContents h4,
    .mainContents-sp h4,
    .entry-content h4 {
        font-size: 16px;
        margin-top: 28px;
    }

    .mainContents p,
    .mainContents-sp p {
        font-size: 15.5px;
        line-height: 1.85;
    }

    .mainContents table.table,
    .mainContents-sp table.table {
        font-size: 13px;
    }

    .mainContents table.table th,
    .mainContents-sp table.table th,
    .mainContents table.table td,
    .mainContents-sp table.table td {
        padding: 10px 12px;
    }

    .entry-content .ec-relatedPost {
        padding: 16px;
    }

    .character {
        padding: 16px;
    }

    .author-info .author_box_super {
        padding: 20px;
    }

    .author-info .author_box_super .title_box .icon img {
        width: 56px;
        height: 56px;
    }

    .author-info .author_box_super .title_box .text .title {
        font-size: 15px;
    }

    .author-info .author-detail-inner {
        padding: 14px 20px;
    }

    .author-info .author-detail-inner ul {
        flex-direction: column;
        gap: 6px;
    }

    .author-info .author-detail-inner ul li a {
        display: block;
        text-align: center;
        padding: 10px 16px;
    }

    .article-back-top {
        right: 12px;
        bottom: 16px;
        min-width: 104px;
        height: 36px;
        padding: 0 12px;
        font-size: 11px;
    }
}
