.dddbwp-article {
    /* HIG寄り: OSの可読性が高い標準フォントを優先 */
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
        "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
        "Noto Sans JP", Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.dddbwp-article a:focus-visible,
.dddbwp-article button:focus-visible {
    outline: 2px solid rgba(0, 122, 255, 0.55);
    outline-offset: 3px;
    border-radius: 8px;
}
.dddbwp-visuallyHidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.dddbwp-tableWrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: #ffffff;
}
.dddbwp-tableWrap:focus {
    outline: 2px solid rgba(0, 122, 255, 0.45);
    outline-offset: 3px;
}
/* パンくずリスト */
.dddbwp-breadcrumb {
    margin: 0 0 14px;
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.5;
}
.dddbwp-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
}
.dddbwp-breadcrumb-item { display: inline-flex; align-items: center; }
.dddbwp-breadcrumb-sep { color: #4A585C; font-size: 14px; list-style: none; }
.dddbwp-breadcrumb-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}
.dddbwp-breadcrumb-link:hover { text-decoration: underline; }
.dddbwp-breadcrumb-current { color: #666; font-weight: 400; }
.dddbwp-disclaimer{
    margin: 24px 0 0;
    padding: 14px 16px;
    border: 1px solid #e6e8ee;
    background: #fafbfc;
    border-radius: 12px;
}
/* 配当グラフエリア: 高さを2倍確保（視認性向上） */
.dddbwp-chart-container {
    min-height: 0;
}
@media (min-width: 769px) {
    .dddbwp-chart-container {
        min-height: 480px;
    }
}
.dddbwp-disclaimer-title{
    font-weight: 800;
    font-size: 14px;
    margin: 0 0 8px;
}
.dddbwp-disclaimer p{
    margin: 0 0 8px;
    line-height: 1.8;
    font-size: 13px;
    color: #333;
}
.dddbwp-disclaimer p:last-child{ margin: 0; }


.DpsHistory__legend__dddbwp{
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px 24px;
    color: #2C3E50;
}
.DpsHistory__legendItem__dddbwp{
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.DpsHistory__legendSwatch__dddbwp{
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
}
.DpsHistory__note__dddbwp{
    margin: 10px 0 18px;
    color: #2C3E50;
    font-size: 16px;
}

/* アクセシビリティ: アニメーションを減らす設定に対応 */
@media (prefers-reduced-motion: reduce) {
    .DpsHistoryTable__table__1ooh tbody tr,
    .DprHistoryTable__table__1H43 tbody tr,
    .DpsHistoryTable__table__1ooh tbody tr:hover,
    .DprHistoryTable__table__1H43 tbody tr:hover {
        transition: none !important;
        transform: none !important;
    }
}

.StocksContents__2Wu8 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.DpsHistory__1K3I {
    margin: 30px 0;
}

.DpsHistory__chart__3woz {
    margin: 20px 0;
    text-align: center;
}
/* 期間ボタン（過去10年等）は非表示。常に10年表示のため不要 */
.DpsHistory__chart__3woz button,
.dddbwp-chart-container ~ button,
#dddbwp-graph button {
    display: none !important;
}

/* =========================================================
   無配（または配当情報が取得できない）銘柄向けの表示
========================================================= */
.DpsHistory__noDividend__dddbwp {
    margin: 16px 0 8px;
    border: 1px solid #e6e8ee;
    background: #f8f9fb;
    border-radius: 12px;
    padding: 14px 16px;
}
.DpsHistory__noDividendTitle__dddbwp {
    font-size: 16px;
    font-weight: 800;
    color: #2C3E50;
    margin: 0 0 6px;
}
.DpsHistory__noDividendText__dddbwp {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .DpsHistory__noDividendTitle__dddbwp { font-size: 18px; }
    .DpsHistory__noDividendText__dddbwp { font-size: 16px; }
}
@media (max-width: 480px) {
    .DpsHistory__noDividendTitle__dddbwp { font-size: 20px; }
    .DpsHistory__noDividendText__dddbwp { font-size: 18px; }
}

.dddbwp-rightsWrap {
    margin: 16px 0 10px;
    background: #f8f9fb;
    border-radius: 12px;
    padding: 0;
    border: 1px solid #e6e8ee;
    overflow: hidden;
}
.dddbwp-rightsTitle {
    background: #e6e8ee;
    text-align: center;
    padding: 10px 0 8px;
    border-bottom: 1px solid #e6e8ee;
}
.dddbwp-rightsPeriod {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
}
.dddbwp-rightsDivType {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}
.dddbwp-rightsRow {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 18px 16px 10px;
    justify-items: center;
    align-items: end; /* 3カードの下端を揃える（モバイルでの飛び出し対策） */
}
.dddbwp-rightsCol {
    width: 100%;
    max-width: 220px;
    text-align: center;
}
.dddbwp-rightsBubble {
    display: inline-block;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 6px;
    position: relative;
    line-height: 1;
    margin-bottom: 10px;
}
.dddbwp-rightsBubble.dddbwp-rightsBubble--placeholder {
    /* 「権利確定日」列の上下ズレ防止（高さだけ確保して非表示） */
    visibility: hidden;
}
.dddbwp-rightsBubble:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}
.dddbwp-rightsBubble.buy {
    background: #f8d9de;
    color: #d8345f;
}
.dddbwp-rightsBubble.buy:after {
    border-top: 8px solid #f8d9de;
}
.dddbwp-rightsBubble.sell {
    background: #d7f4f1;
    color: #0c8f84;
}
.dddbwp-rightsBubble.sell:after {
    border-top: 8px solid #d7f4f1;
}
.dddbwp-rightsCard {
    position: relative;
    border-radius: 8px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.dddbwp-rightsCard.buy { background: #ef5a7a; }
.dddbwp-rightsCard.sell { background: #0c9e94; }
.dddbwp-rightsCard.record { background: #7c7f84; }
.dddbwp-rightsDow {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    border: 2px solid;
}
.dddbwp-rightsDow.buy { color: #d8345f; border-color: #ef5a7a; }
.dddbwp-rightsDow.sell { color: #0c8f84; border-color: #0c9e94; }
.dddbwp-rightsDow.record { color: #333; border-color: #7c7f84; }
.dddbwp-rightsDate {
    font-weight: 900;
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
    white-space: nowrap; /* 月が2桁でも折り返さない */
}
.dddbwp-rightsDate .mm {
    font-size: 22px;
    opacity: .95;
}
.dddbwp-rightsDate .dd {
    font-size: 42px;
}
.dddbwp-rightsLabel {
    margin: 10px 0 0;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .2px;
}
.dddbwp-nowrap {
    white-space: nowrap;
}
.dddbwp-rightsLabel.buy { color: #d8345f; }
.dddbwp-rightsLabel.sell { color: #0c8f84; }
.dddbwp-rightsLabel.record { color: #333; }
.dddbwp-rightsNotes {
    padding: 8px 16px 16px;
    color: #333;
    font-size: 15px;
    line-height: 1.85;
}
.dddbwp-rightsNote {
    margin: 8px 0;
}
.dddbwp-rightsUndetermined {
    padding: 16px;
    color: #666;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    .dddbwp-rightsRow {
        gap: 12px;
        padding: 16px 10px 8px;
    }
    .dddbwp-rightsCol { max-width: 200px; }
    .dddbwp-rightsCol {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .dddbwp-rightsLabel {
        /* 端末幅が狭い時だけ、ラベルを2行まで許容しつつ高さを揃える */
        line-height: 1.15;
        min-height: 2.3em;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .dddbwp-rightsRow {
        gap: 10px;
        padding: 14px 10px 8px;
    }
    .dddbwp-rightsBubble { font-size: 14px; }
    /* 画面が狭い場合は日付を縮小して枠内に収める */
    .dddbwp-rightsCard { height: 84px; padding: 0 6px; }
    .dddbwp-rightsDow { width: 28px; height: 28px; top: -12px; font-size: 14px; }
    .dddbwp-rightsDate .mm { font-size: 18px; }
    .dddbwp-rightsDate .dd { font-size: 34px; }
    /* iPhone等で「権利付き最終日」がはみ出しやすいので縮小 */
    .dddbwp-rightsLabel { font-size: 14px; letter-spacing: 0; }
}
@media (max-width: 360px) {
    /* さらに狭い端末向けの微調整 */
    .dddbwp-rightsRow { gap: 8px; padding: 12px 8px 8px; }
    .dddbwp-rightsBubble { font-size: 13px; padding: 9px 10px; }
    .dddbwp-rightsDate .mm { font-size: 16px; }
    .dddbwp-rightsDate .dd { font-size: 32px; }
    .dddbwp-rightsLabel { font-size: 13px; min-height: 2.4em; }
}

.DpsHistoryTable__table__1ooh {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* テーブル配色（WPテーマに負けないようスコープを明確化） */
.DpsHistoryTable__table__1ooh thead .DpsHistoryTable__head__18SZ {
    background-color: #0d1b3e !important; /* ヘッダー背景（アイキャッチと同じネイビー） */
    color: #ffffff !important; /* 白抜き */
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.DpsHistoryTable__table__1ooh thead .DpsHistoryTable__head__18SZ:last-child {
    border-right: none;
}

/* ヘッダー以外（データ行）: 近い色味 */
.DpsHistoryTable__table__1ooh tbody .DpsHistoryTable__head__18SZ {
    background-color: #f8f9fa !important; /* 日付列(th)の淡色 */
    color: #2C3E50 !important;
    padding: 14px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
}

.DpsHistoryTable__head--date__21rS {
    text-align: left;
}

.DpsHistoryTable__head--annualDividend__20uG {
    text-align: right;
}

/* テーブル: Windows（Meiryo）・iOS（Hiragino/-apple-system）で視認性を優先 */
.DpsHistoryTable__table__1ooh,
.DpsHistoryTable__head__18SZ,
.DpsHistoryTable__data__nHEx {
    font-family: "Meiryo", "Yu Gothic UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
        -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.DpsHistoryTable__data__nHEx {
    padding: 14px 16px;
    border-bottom: 1px solid #e9ecef;
    background-color: #ffffff !important; /* データセルの淡色 */
    color: #2C3E50 !important;
    font-size: 14px;
    border-right: 1px solid #f0f0f0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.DpsHistoryTable__data__nHEx:last-child {
    border-right: none;
}

/* 年間配当（調整後）列を強調（太字＋少し濃い背景） */
.DpsHistoryTable__data__nHEx.DpsHistoryTable__data--adjusted__dddbwp {
    font-weight: 700;
    background-color: #f1f5f9 !important;
    color: #1a252f !important;
}

/* ストライプ行（zebra striping） */
.DpsHistoryTable__table__1ooh tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.DpsHistoryTable__table__1ooh tbody tr:nth-child(even) .DpsHistoryTable__data__nHEx {
    background-color: #fafbfc !important;
}

.DpsHistoryTable__table__1ooh tbody tr:nth-child(even) .DpsHistoryTable__head__18SZ {
    background-color: #f1f3f5 !important;
}

.DpsHistoryTable__table__1ooh tbody tr:nth-child(even) .DpsHistoryTable__data--adjusted__dddbwp {
    background-color: #e8edf3 !important;
}

.DpsHistoryTable__dateCol01__2x-P {
    text-align: left;
    font-weight: 600;
}

.DpsHistoryTable__dateCol02__1VbW {
    text-align: left;
    color: #6c757d;
    font-size: 13px;
}

.DpsHistoryTable__data__nHEx:last-child {
    border-bottom: none;
}

/* テーブル行のホバーアクション（強化版） */
.DpsHistoryTable__table__1ooh tbody tr {
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.DpsHistoryTable__table__1ooh tbody tr:hover {
    background-color: #e8f0f7 !important;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.15) !important;
    transform: translateY(-2px);
}

.DpsHistoryTable__table__1ooh tbody tr:hover .DpsHistoryTable__data__nHEx {
    background-color: #dde8f2 !important;
    transition: background-color 0.25s ease;
}

.DpsHistoryTable__table__1ooh tbody tr:hover .DpsHistoryTable__head__18SZ {
    background-color: #d1e0eb !important;
    transition: background-color 0.25s ease;
}

/* 数値セルのホバー時の強調 */
.DpsHistoryTable__table__1ooh tbody tr:hover .DpsHistoryTable__data__nHEx:not(:first-child) {
    font-weight: 700;
    color: #1a252f !important;
}

/* 年間配当（調整後）列のホバー時の特別な強調 */
.DpsHistoryTable__table__1ooh tbody tr:hover .DpsHistoryTable__data--adjusted__dddbwp {
    background-color: #c8dce8 !important;
    box-shadow: inset 0 0 0 1px rgba(44, 62, 80, 0.2);
}


.Heading__2IiV {
    /* サイト全体の見出しに馴染むよう、装飾を控えめに（スコープ内のみ） */
    font-size: 20px;
    font-weight: 700;
    margin: 24px 0 12px 0;
    line-height: 1.4;
    color: inherit;
    border: none;
    padding: 0;
}

/* インタラクション効果 */
.DpsHistoryTable__table__1ooh tr {
    transition: background-color 0.2s ease;
}

.DpsHistoryTable__data__nHEx {
    transition: background-color 0.2s ease;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .StocksContents__2Wu8 {
        padding: 15px;
    }
    
    .DpsHistoryTable__table__1ooh {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .dddbwp-chart-container {
        min-height: 640px;
    }
    .StocksContents__2Wu8 {
        padding: 10px;
    }
    
    .DpsHistoryTable__table__1ooh {
        font-size: 16px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .DpsHistoryTable__head__18SZ,
    .DpsHistoryTable__data__nHEx {
        padding: 12px;
        min-width: 96px;
    }
    
    .Heading__2IiV { font-size: 20px; }
}

@media (max-width: 480px) {
    .StocksContents__2Wu8 {
        padding: 5px;
    }
    
    .DpsHistoryTable__table__1ooh {
        /* 文字が小さく読めない問題の対策 */
        font-size: 17px;
    }

    .DpsHistoryTable__head__18SZ,
    .DpsHistoryTable__data__nHEx {
        padding: 12px;
        min-width: 96px;
    }
    
    .Heading__2IiV { font-size: 20px; }
}

/* サマリーカード（配当利回り・配当性向・100株受取額） */
.dddbwp-summary-card {
    display: flex; flex-wrap: wrap; gap: 16px;
    margin: 0 0 16px; padding: 16px 20px;
    background: #f8f9fb; border: 1px solid #e6e8ee; border-radius: 10px;
}
.dddbwp-summary-item {
    display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 100px;
}
.dddbwp-summary-label {
    font-size: 12px; color: #555; margin-bottom: 4px; text-align: center;
}
.dddbwp-summary-value {
    font-size: 22px; font-weight: 700; color: #9A7B0A; text-align: center; /* ゴールド（アイキャッチ配色） */
}
.dddbwp-summary-date {
    font-size: 11px; color: #888; margin-top: 2px; text-align: center;
}
@media (max-width: 480px) {
    .dddbwp-summary-card { flex-direction: column; gap: 12px; }
    .dddbwp-summary-item { flex-direction: row; justify-content: space-between; min-width: unset; }
    .dddbwp-summary-value { font-size: 18px; }
    .dddbwp-summary-date { font-size: 10px; }
}

/* 関連銘柄セクション */
.dddbwp-related-stocks {
    margin: 24px 0 16px; padding: 20px;
    border: 1px solid #e6e8ee; background: #f8f9fb; border-radius: 10px;
}
.dddbwp-related-stocks-title {
    font-size: 16px; font-weight: 700; color: #2c3e50; margin: 0 0 16px;
    padding: 0; border: none;
}
.dddbwp-related-section { margin-bottom: 20px; }
.dddbwp-related-section:last-child { margin-bottom: 0; }
.dddbwp-related-section-label { font-size: 13px; color: #666; margin-bottom: 10px; }
.dddbwp-related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dddbwp-related-link {
    display: inline-block; padding: 8px 14px; background: #fff;
    color: #0073aa; text-decoration: none; border-radius: 6px;
    font-size: 13px; font-weight: 500; border: 1px solid #d0d8e4;
    transition: background 0.15s, border-color 0.15s;
}
.dddbwp-related-link:hover { background: #e8f4fb; border-color: #0073aa; text-decoration: none; }
@media (max-width: 600px) {
    .dddbwp-related-links { flex-direction: column; }
    .dddbwp-related-link { text-align: center; }
}