/* 省略前の `blog.css` をベースに、クラス名を短縮した形で上書き */

/* メインコンテナ */
.main-cont {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
/* 記事タイトル */
.art-title {
    color: #0056b3;
    text-align: center;
    font-size: 2.4em;
    margin-bottom: 30px;
    border-bottom: 4px solid #0056b3;
    padding-bottom: 12px;
    letter-spacing: 0.05em;
}
/* セクションタイトル */
.sec-h2 {
    color: #007bff;
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 6px solid #007bff;
    padding-left: 15px;
    background-color: #eef7ff;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 6px;
}
/* サブセクションタイトル */
.sub-h3 {
    color: #28a745;
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px dashed #28a745;
    padding-bottom: 8px;
}
/* キャラクター対話ボックス */
.char-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}
/* ポイ太の対話ボックス */
.poita-box {
    background-color: #e0f2f7;
    flex-direction: row-reverse;
}
/* ポイ子の対話ボックス */
.poiko-box {
    background-color: #ffe0e0;
}
/* キャラクター名 */
.char-name {
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    width: 90px;
    text-align: center;
    padding: 8px 0;
    border-radius: 5px;
}
/* ポイ太の名前 */
.poita-name {
    margin-right: 0;
    margin-left: 20px;
    color: #0056b3;
    background-color: #cce7ff;
}
/* ポイ子の名前 */
.poiko-name {
    margin-right: 20px;
    margin-left: 0;
    color: #d63384;
    background-color: #ffe8ee;
}
/* 吹き出し内容 */
.dialog-cont {
    flex-grow: 1;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* ポイ太の吹き出しのしっぽ */
.poita-box .dialog-cont::before {
    content: '';
    position: absolute;
    right: -12px;
    left: auto;
    top: 18px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 12px;
    border-color: transparent transparent transparent #fff;
}
/* ポイ子の吹き出しのしっぽ */
.poiko-box .dialog-cont::before {
    content: '';
    position: absolute;
    left: -12px;
    right: auto;
    top: 18px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    border-color: transparent #fff transparent transparent;
}
/* 補足情報ボックス */
.sup-info {
    background-color: #f0faff;
    border-left: 5px solid #007bff;
    padding: 18px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    font-size: 1em;
    color: #444;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.sup-info strong {
    color: #0056b3;
}
/* リストアイテム */
.main-cont ul li, .main-cont ol li { /* ul/olの子孫として指定 */
    margin-bottom: 10px;
}
/* 強調テキスト */
.em-strong {
    color: #e67e22;
}
.em-text {
    color: #e67e22;
    font-style: normal;
    font-weight: bold;
}
/* 通常段落 */
.art-p {
    margin-bottom: 1.2em;
}
/* 注意書きフッター */
.foot-note {
    font-size: 0.9em;
    color: #666;
    text-align: right;
    margin-top: 35px;
}
/* 記事内画像 */
.art-img {
    display: block;
    margin: 25px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
/* 引用ブロック */
.quote-box {
    background-color: #fffaf0;
    border-left: 6px solid #ff9800;
    margin: 30px 0;
    padding: 20px 25px;
    font-style: italic;
    color: #555;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
/* テーブル */
.data-tbl {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}
.data-tbl th,
.data-tbl td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
.data-tbl th {
    background-color: #eef7ff;
    font-weight: bold;
    color: #0056b3;
}
.data-tbl tr:nth-child(even) {
    background-color: #fbfdff;
}

/* シェアボタンコンテナ */
.share-wrap {
    text-align: center;
    margin: 40px 0;
    padding: 25px;
    border-top: 1px dashed #ddd;
    border-bottom: 1px dashed #ddd;
    background-color: #fdfdfd;
    border-radius: 10px;
}

/* 個別シェアボタン */
.share-btn {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.4em;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.share-tw {
    background-color: #1DA1F2;
}

.share-fb {
    background-color: #1877F2;
}

.share-line {
    background-color: #00C300;
}

/* 引用元付き画像コンテナ */
.cite-img-wrap {
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

/* 引用元画像 */
.cite-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

/* 画像引用文 */
.img-cap {
    font-size: 0.9em;
    color: #777;
}

/* 関連記事セクション */
.rel-art-sec {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed #ddd;
}

/* 関連記事リスト */
.rel-art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* 関連記事アイテム */
.rel-art-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.rel-art-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 関連記事サムネイル */
.rel-art-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

/* 関連記事コンテンツ */
.rel-art-cont {
    padding: 20px;
}

/* 関連記事タイトル */
.rel-art-title {
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 1.2em;
    line-height: 1.4;
    color: #0056b3;
}

/* 関連記事抜粋 */
.rel-art-exc {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}

/* 記事トップのサムネイル */
.top-thumb {
    margin: 30px auto;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.top-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

/* 目次コンテナ */
.toc-box {
    background-color: #fcfdff;
    border: 1px solid #cceeff;
    border-radius: 10px;
    padding: 25px;
    margin: 40px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* 目次タイトル */
.toc-title {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 20px;
    border-left: none;
    padding-left: 0;
    text-align: center;
    font-size: 2em;
    background-color: transparent;
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* 目次リスト */
.toc-list {
    list-style-type: decimal;
    padding-left: 30px;
}

/* 目次リンク */
.toc-link {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.toc-link:hover {
    color: #007bff;
    text-decoration: underline;
}

/* 広告フォームコンテナ */
.ad-form-sec {
    background-color: #e6f7ff;
    border: 1px solid #99daff;
    border-radius: 10px;
    padding: 30px;
    margin: 50px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 広告フォームタイトル */
.ad-form-title {
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8em;
    border-bottom: none;
    padding-bottom: 0;
}

/* 広告フォーム説明文 */
.ad-form-desc {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 25px;
}

/* 広告フォーム入力欄 */
.ad-form-input {
    width: calc(100% - 30px);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.1em;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 広告フォーム送信ボタン */
.ad-form-btn {
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.ad-form-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

/* 著者プロフィールセクション */
.auth-prof {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 著者プロフィール画像 */
.auth-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 25px;
    border: 4px solid #007bff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 著者プロフィール情報 */
.auth-details {
    flex-grow: 1;
}

/* 著者名 */
.auth-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 8px;
}

/* 著者肩書き */
.auth-title {
    font-size: 1em;
    color: #555;
    margin-bottom: 12px;
}

/* 著者自己紹介 */
.auth-bio {
    font-size: 0.95em;
    color: #666;
    line-height: 1.7;
}

/* 円グラフコンテナ */
.pie-chart {
    text-align: center;
    margin: 40px 0;
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

/* 円グラフタイトル */
.pie-title {
    margin-bottom: 25px;
    color: #007bff;
    font-size: 1.6em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

/* 円グラフ本体 */
.pie-graphic {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-image: conic-gradient(
        #4CAF50 0% 30%,
        #2196F3 30% 60%,
        #FFC107 60% 80%,
        #E91E63 80% 100%
    );
    margin: 0 auto 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 円グラフ凡例 */
.pie-legend {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95em;
}

.pie-legend li {
    margin: 0 15px 8px 0;
    display: flex;
    align-items: center;
}

.pie-legend li::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    margin-right: 8px;
}

.leg-c1::before { background-color: #4CAF50; }
.leg-c2::before { background-color: #2196F3; }
.leg-c3::before { background-color: #FFC107; }
.leg-c4::before { background-color: #E91E63; }


/* 横棒グラフコンテナ */
.bar-chart {
    margin: 40px 0;
    background-color: #fefefe;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

/* 横棒グラフタイトル */
.bar-title {
    margin-bottom: 25px;
    color: #007bff;
    font-size: 1.6em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

/* 横棒グラフアイテム */
.bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* 横棒グラフ項目名 */
.bar-label {
    width: 140px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 1em;
    color: #555;
}

/* 横棒グラフバーのラッパー */
.bar-wrap {
    flex-grow: 1;
    background-color: #e0e0e0;
    border-radius: 6px;
    height: 30px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 横棒グラフバー */
.bar-fill {
    height: 100%;
    background-color: #2196F3;
    border-radius: 6px;
    text-align: right;
    color: #fff;
    font-size: 0.9em;
    line-height: 30px;
    padding-right: 10px;
    box-sizing: border-box;
    font-weight: bold;
}

/* 各種アクションボタンコンテナ */
.act-btns {
    text-align: center;
    margin: 50px 0;
}

/* ボタン共通スタイル */
.act-btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.act-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* プライマリボタン */
.act-btn-pri {
    background-color: #007bff;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.35);
}

/* セカンダリボタン */
.act-btn-sec {
    background-color: #fff;
    color: #007bff;
    border: 2px solid #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.15);
}

/* 警告ボタン */
.act-btn-warn {
    background-color: #ffc107;
    color: #333;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.35);
}

/* 注意書きボックス */
.caution-box {
    background-color: #fff8e1;
    border-left: 6px solid #ffc107;
    padding: 20px 25px;
    margin: 40px 0;
    border-radius: 10px;
    font-size: 1em;
    color: #555;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.caution-box strong {
    color: #e0a800;
}

/* ランキングセクション */
.rank-sec {
    margin: 50px 0;
}

/* ランキングリスト */
.rank-list {
    list-style: none;
    padding: 0;
}

/* ランキングアイテム */
.rank-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.rank-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ランキング番号 */
.rank-num {
    font-size: 2.8em;
    font-weight: bold;
    color: #007bff;
    margin-right: 25px;
    width: 60px;
    text-align: center;
    flex-shrink: 0;
    background-color: #eef7ff;
    border-radius: 8px;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ランキングコンテンツ */
.rank-details {
    flex-grow: 1;
}

/* ランキングタイトル */
.rank-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 8px;
}

/* ランキング説明 */
.rank-desc {
    font-size: 1em;
    color: #666;
}

/* リンクボックス */
.link-box {
    background-color: #f0faff;
    border: 1px solid #b3e0ff;
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.link-box:hover {
    background-color: #e0f5ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* リンクアイコン */
.link-icon {
    font-size: 1.8em;
    color: #007bff;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 外部リンクアイコン */
.ext-link-icon {
    color: #28a745;
}

/* リンクテキスト */
.link-text {
    flex-grow: 1;
}

/* リンクタイトル */
.link-title {
    display: block;
    font-size: 1.2em;
    color: #0056b3;
    margin-bottom: 5px;
}

/* リンク補足文 */
.link-sup {
    font-size: 0.95em;
    color: #666;
}

/* キャラクター紹介セクション */
.char-intro-sec {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

/* キャラクタープロフィールカード */
.char-prof-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.char-prof-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* キャラクタープロフィール画像 */
.char-prof-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 4px solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ポイ太のプロフィール画像ボーダー */
.poita-img-b {
    border-color: #007bff;
}

/* ポイ子のプロフィール画像ボーダー */
.poiko-img-b {
    border-color: #d63384;
}

/* キャラクタープロフィール名 */
.char-prof-name {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ポイ太のプロフィール名色 */
.poita-name-c {
    color: #0056b3;
}
/* ポイ子のプロフィール名色 */
.poiko-name-c {
    color: #d63384;
}

/* キャラクタープロフィール説明文 */
.char-prof-desc {
    font-size: 0.95em;
    color: #555;
    line-height: 1.7;
}

/* 地図コンテナ */
.map-cont {
    margin: 50px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background-color: #fefefe;
    padding: 20px;
}

/* 地図タイトル */
.map-title {
    text-align: center;
    margin-bottom: 25px;
    color: #007bff;
    border-left: none;
    padding-left: 0;
    font-size: 1.8em;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    background-color: transparent;
    border-radius: 0;
}

/* レスポンシブ地図ラッパー */
.map-resp {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-resp iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .main-cont {
        padding: 15px;
    }

    .art-title {
        font-size: 1.8em;
    }

    .sec-h2 {
        font-size: 1.4em;
        padding-left: 10px;
    }
    .sub-h3 {
        font-size: 1.2em;
    }

    .char-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .char-name {
        width: auto;
        margin: 0 0 10px 0 !important;
        padding: 5px 15px;
    }

    .dialog-cont {
        padding: 12px 15px;
    }
    .dialog-cont::before {
        display: none;
    }

    .poita-box {
        flex-direction: column;
    }

    .bar-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .bar-label {
        width: 100%;
        margin-bottom: 5px;
    }

    .act-btn {
        display: block;
        width: calc(100% - 20px);
        margin-left: 0;
        margin-right: 0;
        font-size: 1.1em;
        padding: 12px 20px;
    }

    .rank-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 18px;
    }

    .rank-num {
        margin-bottom: 10px;
        margin-right: 0;
        width: auto;
        font-size: 2.2em;
    }
    .rank-title {
        font-size: 1.2em;
    }
    .rank-desc {
        font-size: 0.9em;
    }

    .link-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .link-icon {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 1.5em;
    }
    .link-title {
        font-size: 1.1em;
    }
    .link-sup {
        font-size: 0.85em;
    }

    .char-intro-sec {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .char-prof-card {
        width: 100%;
        max-width: 280px;
        padding: 20px;
    }
    .char-prof-img {
        width: 90px;
        height: 90px;
    }
    .char-prof-name {
        font-size: 1.2em;
    }
    .char-prof-desc {
        font-size: 0.85em;
    }

    .auth-prof {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .auth-avatar {
        margin-right: 0;
        margin-bottom: 15px;
        width: 90px;
        height: 90px;
    }
    .auth-name {
        font-size: 1.3em;
    }
    .auth-title {
        font-size: 0.9em;
    }
    .auth-bio {
        font-size: 0.85em;
    }

    .pie-chart,
    .bar-chart,
    .ad-form-sec,
    .caution-box,
    .map-cont {
        padding: 18px;
    }
    .ad-form-title,
    .pie-title,
    .bar-title,
    .map-title {
        font-size: 1.4em;
    }
    .ad-form-desc {
        font-size: 1em;
    }
	 .share-btn.share-insta {
	     background-color: #E1306C;
	 }
}