@charset "UTF-8";

/* ==========================================================================
   1. レイアウト & グリッド (Layout & Grid)
   ========================================================================== */

/* フレックス行 */
.wr-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

/* カラム共通 */
.wr-col {
    box-sizing: border-box;
    min-width: 0;
}

/* カラム幅 (PC) */
.wr-col-12 { width: 100%; }
.wr-col-9  { width: calc(75% - 1.125rem); }
.wr-col-8  { width: calc(66.666% - 0.5rem); }
.wr-col-7  { width: calc(58.333% - 0.625rem); }
.wr-col-6  { width: calc(50% - 0.75rem); }
.wr-col-5  { width: calc(41.666% - 0.875rem); }
.wr-col-4  { width: calc(33.333% - 1rem); }
.wr-col-3  { width: calc(25% - 0.375rem); }

/* クリアフィックス */
.wr-clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* 汎用マージン・区切り線 */
.wr-mb-zero,
.wr-mb-0 {
    margin-bottom: 0 !important;
}

.wr-hr {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}


/* ==========================================================================
   2. 画像・メディア関連 (Images & Media)
   ========================================================================== */

.wr-col img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
}

.wr-img-responsive {
    max-width: 100%;
    height: auto;
}

.wr-picture-container {
    display: block;
    margin-bottom: 20px;
}

.wr-picture-container img {
    display: block;
    width: 100%;
    height: auto;
}

/* 書類・白背景画像用ボーダースタイル */
.wr-img-border {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover .wr-img-border {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* お知らせ枠：サムネイル用 */
.wr-news-thumb-col {
    text-align: center;
}

.wr-news-thumb-img {
    max-width: 200px;
    width: 100%;
    height: auto;
}


/* ==========================================================================
   3. タイポグラフィ & テキストカラー (Typography & Colors)
   ========================================================================== */

/* 段落共通 */
.wr-row .wr-col p {
    margin-top: 0;
    margin-bottom: 1.5em !important;
    line-height: 1.8;
}

.wr-row .wr-col p:last-child {
    margin-bottom: 0 !important;
}

.wr-clearfix p {
    margin-bottom: 1.8em !important;
    line-height: 1.8;
}

.wr-clearfix p:last-child {
    margin-bottom: 0 !important;
}

/* 注記・キャプション用小テキスト */
.wr-text-right-sm {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    margin-bottom: 0 !important;
    line-height: 1.5;
}

/* 役員・代表署名エリア */
.wr-float-right {
    float: right;
    width: 25%;
    margin-left: 1.5rem;
    margin-bottom: 0.9375rem;
    margin-top: 0.3125rem;
}

.wr-signature {
    text-align: right;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.wr-signature p {
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
    font-weight: bold;
}

.wr-signature p:first-child {
    margin-bottom: 0.125rem !important;
}

.sp-br {
    display: none;
}


/* ==========================================================================
   4. 見出し & ボックス & バナー (Headings & Boxes)
   ========================================================================== */

/* 大見出し (上下ボーダー) */
.wr-h2-style3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #a32a4c;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #a32a4c;
    border-bottom: 1px solid #a32a4c;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}

/* 帯状見出し (ベタ塗り背景) */
.wr-h3-style3 {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #a32a4c;
    padding: 1.2rem 1.25rem;
    border-radius: 8px;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

/* 下線アクセント付き中央揃え見出し */
.wr-h2-center {
    font-size: 1.125rem;
    line-height: 1.2;
    text-align: center;
    border-bottom: 1px solid #cbcbcb;
    padding-bottom: 0.9375rem;
    position: relative;
    margin-bottom: 1.875rem;
    margin-top: 2.5rem;
    color: #333;
    font-weight: bold;
}

.wr-h2-center::after {
    content: "";
    background-color: #b1174b;
    width: 3.75rem;
    height: 1px;
    position: absolute;
    left: 50%;
    bottom: -1px;
    margin-left: -1.875rem;
}

.wr-h2-center-large {
    font-size: 1.8rem !important;
    line-height: 1.4 !important;
    text-align: center;
    border-bottom: 1px solid #cbcbcb;
    padding-bottom: 1.25rem;
    position: relative;
    margin-bottom: 2rem;
    margin-top: 3rem;
    color: #b1174b;
    font-weight: bold;
}

.wr-h2-center-large::after {
    content: "";
    background-color: #b1174b;
    width: 3.75rem;
    height: 1px;
    position: absolute;
    left: 50%;
    bottom: -1px;
    margin-left: -1.875rem;
}

/* 左線付き中見出し */
h4.wr-h4-l-border {
    font-size: 1.125rem;
    color: #b1174b;
    padding: 0.3125rem 0 0.5rem 0.9375rem;
    border-left: 5px solid #b1174b;
    border-bottom: 1px solid #b1174b;
    margin-top: 1.875rem;
    font-weight: bold;
}

.wr-card .wr-h4-l-border {
    margin-bottom: 20px;
    margin-top: 0px;
}

/* 質問ボックス (ぶら下げインデント付き) */
.wr-q-box {
    background-color: #c46294;
    color: #ffffff;
    font-weight: bold;
    border-radius: 8px;
    line-height: 1.5;
    font-size: 1.125rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    box-sizing: border-box;
    padding: 0.85rem 1.25rem 0.85rem calc(1.25rem + 1.65em);
    text-indent: -1.5em;
}

/* フォーカスボックス (左アクセント線) */
.wr-focus-box {
    background-color: #fdf6f7;
    border-left: 4px solid #a32a4c;
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    box-sizing: border-box;
}

.wr-focus-box p {
    margin-bottom: 0 !important;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #333;
}

/* ピンクバナー */
.wr-pink-banner {
    background-color: #fbe8ee;
    border-radius: 0.5rem;
    padding: 0.9375rem 1.25rem;
    margin: 1.25rem 0;
    color: #b1174b;
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
    line-height: 1.5;
}


/* ==========================================================================
   5. カード & リスト (Cards & Lists)
   ========================================================================== */

/* 汎用カード */
.wr-card {
    background-color: #fff;
    border: 1px solid #fbe8ee;
    border-radius: 12px;
    padding: 1.5rem;
    height: auto !important;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.wr-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0 !important;
}

.wr-card .wr-h2-center {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* カード内見出しボーダー */
.wr-bold-full-line {
    font-weight: bold;
    display: block;
    border-bottom: 1px solid #b1174b;
    padding-bottom: 0.3125rem;
    margin-bottom: 0.9375rem;
    color: #333;
    font-size: 1.3em;
    text-align: center;
}

/* 企業価値向上に向けた取組み まとめ（3連カード） */
.wr-summary-cards {
    align-items: stretch;
    gap: 0.75rem;
}

.wr-summary-cards .wr-col {
    display: flex;
    margin-bottom: 0;
}

.wr-summary-cards .wr-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

/* 真円ドット付きリスト */
ul.wr-list {
    padding-left: 0 !important;
    list-style: none !important;
    margin-bottom: 1.25rem !important;
    margin-top: 1.25rem !important;
}

ul.wr-list li {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 0.625rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
    padding-left: 0 !important;
}

ul.wr-list li::before {
    content: "" !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    background-color: #b1174b !important;
    border-radius: 50% !important;
    margin-top: 0.55em !important;
    margin-right: 0.6em !important;
    flex-shrink: 0 !important;
}

/* 枠付きステップリスト */
.wr-list2 {
    list-style: none;
    padding: 10px;
    background-color: #fdf6f7;
    border-left: 8px solid #a32a4c;
    border-radius: 8px;
    width: 100%; 
    box-sizing: border-box;
    margin-bottom: 20px;
}

.wr-list2 li {
    padding: 15px 10px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px dashed #dcb2bc;
}

.wr-list2 li:last-child {
    border-bottom: none;
}


/* ==========================================================================
   6. 業績・優待テーブル (Tables)
   ========================================================================== */

/* --- 6-1. 業績テーブル --- */
.wr-table-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.wr-table-title .highlight {
    color: #a32a4c;
}

.wr-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0.5rem;
}

.wr-report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    color: #333;
    white-space: nowrap;
}

.wr-report-table th {
    font-weight: 500;
    text-align: center;
    padding: 0.75rem 1rem;
    line-height: 1.3;
    vertical-align: bottom;
    border-bottom: 2px solid #888888;
}

.wr-report-table td {
    text-align: right;
    padding: 1rem;
    border-bottom: 1px solid #d0d0d0;
}

.wr-report-table th:first-child,
.wr-report-table td:first-child {
    text-align: left;
    font-size: 0.95rem;
    color: #444;
}

.wr-report-table .unit-cell {
    font-size: 0.85rem;
    color: #666;
    font-weight: normal;
}

.wr-report-table .col-highlight {
    background-color: #fbe8ee;
    font-weight: bold;
    color: #333;
}

.wr-table-note {
    font-size: 0.75rem;
    color: #666;
    text-align: left;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* --- 6-2. 株主優待テーブル --- */
.wr-yutai-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 1.5rem 0;
}

.wr-yutai-wrapper {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
}

.wr-yutai-img-wrapper {
    width: 200px;
    flex-shrink: 0;
    text-align: center;
    margin: 0 !important;
}

.wr-yutai-img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.wr-yutai-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    font-size: 0.85rem;
    color: #333333;
    line-height: 1.6;
}

.wr-yutai-table td, 
.wr-yutai-table th {
    border: 1px solid #dcdcdc;
    padding: 1.15rem 0.9rem;
    vertical-align: middle;
    box-sizing: border-box;
}

.wr-yutai-table .yutai-header-col {
    width: 20%;
    white-space: nowrap;
    text-align: center;
    font-weight: 500;
}

.wr-yutai-table .pink-bg {
    background-color: #fdf0f4;
}

.wr-yutai-table .yutai-note {
    font-size: 0.72rem;
    color: #555555;
    margin-top: 0.4rem;
    margin-bottom: 0 !important;
    line-height: 1.35;
}

.wr-yutai-table .inner-table-cell {
    padding: 0 !important;
}

.wr-inner-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.wr-inner-table th,
.wr-inner-table td {
    border: 1px solid #777777;
    padding: 0.75rem 0.5rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

.wr-inner-table th {
    font-weight: 500;
    color: #333;
}


/* ==========================================================================
   7. グラフ関連 (Charts)
   ========================================================================== */

/* 2カラム・3カラム用グラフカード共通 */
.chart-card {
    background: #fff;
    border: 1px solid #fbe8ee;
    border-radius: 12px;
    padding: 1.5rem 1.25rem 1.25rem;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.chart-card .wr-h2-center {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.chart-card-unit {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
}

/* 配当金グラフ */
.dividend-chart-wrapper {
    height: 340px;
}

/* Vision グラフ */
.vision-chart-card {
    background: #fff;
    border: 1px solid #fbe8ee;
    border-radius: 12px;
    padding: 2.5rem 1.5rem 1.5rem;
    box-sizing: border-box;
    margin: 2rem auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.vision-chart-wrapper {
    position: relative;
    height: 400px;
    width: 100%;
}

/* ROE グラフ */
.roe-chart-container {
    position: relative;
    width: 100%;
}

.roe-chart-wrapper {
    height: 360px !important;
}

.roe-legend-box {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: #ffffff;
    border: 1px solid #777777;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    line-height: 1.3;
    text-align: center;
    color: #333333;
    z-index: 2;
}

.roe-legend-box span {
    font-weight: bold;
}

.roe-chart-note {
    font-size: 0.75rem;
    color: #666666;
    text-align: center;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* PBR グラフ */
.pbr-chart-container {
    position: relative;
    width: 100%;
}

.pbr-unit-text {
    position: absolute;
    top: 0;
    right: 0.5rem;
    font-size: 0.85rem;
    color: #444444;
    font-weight: 500;
    z-index: 2;
}


/* ==========================================================================
   8. レスポンシブ (Mobile: max-width: 767px)
   ========================================================================== */

@media screen and (max-width: 767px) {
    /* グリッド・レイアウト */
    .wr-row, 
    .wr-section {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        box-sizing: border-box !important;
    }

    .wr-col,
    .wr-col-9,
    .wr-col-8,
    .wr-col-7,
    .wr-col-6,
    .wr-col-5,
    .wr-col-4,
    .wr-col-3 {
        width: 100% !important;
        margin-bottom: 0.625rem;
    }

    /* 企業価値向上に向けた取組み まとめタイトル下余白 */
    .wr-summary-title-row {
        margin-bottom: 24px !important;
    }

    .wr-float-right {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .sp-br {
        display: block;
        content: "";
        margin: 0;
    }

    /* タイポグラフィ・注記 */
    .wr-text-right-sm {
        font-size: 11px;
        letter-spacing: -0.02em;
    }

    /* 見出し・ボックス */
    .wr-h2-style3 {
        font-size: 1.25rem !important;
        padding: 0.8rem 0;
        margin-top: 2.5rem !important;
        margin-bottom: 0 !important;
    }

    .wr-h3-style3 {
        font-size: 1.0rem !important;
        padding: 0.6rem 1rem;
        border-radius: 6px;
        margin-bottom: 0 !important;
    }

    .wr-h2-center {
        font-size: 1.0rem;
    }

    .wr-h2-center-large {
        font-size: 1.25rem !important;
        margin-top: 2rem;
        margin-bottom: 0;
    }

    .wr-q-box {
        font-size: 0.9rem;
        padding: 0.75rem 0.85rem 0.75rem calc(0.85rem + 1.65em);
        text-indent: -1.45em;
    }

    .wr-focus-box {
        padding: 1.25rem;
    }

    .wr-pink-banner {
        font-size: 1.1em;
        padding: 0.75rem 0.9375rem;
    }

    /* 業績テーブル */
    .wr-table-title {
        font-size: 1.25rem;
    }

    .wr-report-table {
        font-size: 0.875rem;
    }

    .wr-report-table th, 
    .wr-report-table td {
        padding: 0.6rem 0.5rem;
    }

    /* 株主優待テーブル */
    .wr-yutai-row {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .wr-yutai-wrapper {
        width: 100%;
    }

    .wr-yutai-img-wrapper {
        width: 160px;
    }

    .wr-yutai-table {
        table-layout: fixed;
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .wr-yutai-table td, 
    .wr-yutai-table th {
        padding: 0.65rem 0.4rem;
        word-break: break-word;
    }

    .wr-yutai-table .yutai-header-col {
        width: 28%;
        white-space: normal;
        font-size: 0.75rem;
        padding: 0.65rem 0.3rem;
    }

    .wr-yutai-table .yutai-note {
        font-size: 0.65rem;
        margin-top: 0.3rem;
    }

    .wr-inner-table {
        table-layout: fixed;
    }

    .wr-inner-table th,
    .wr-inner-table td {
        padding: 0.45rem 0.2rem;
        font-size: 0.72rem;
        white-space: normal;
        word-break: break-word;
    }

    /* グラフ */
    .chart-card {
        padding: 1.25rem 0.75rem 1rem;
    }

    .chart-wrapper {
        height: 220px;
    }

    .dividend-chart-wrapper {
        height: 280px;
    }

    .vision-chart-card {
        padding: 1.5rem 0.5rem 1rem !important;
        margin: 1rem 0.5rem;
    }

    .vision-chart-wrapper {
        height: 350px !important;
    }

    .roe-chart-wrapper {
        height: 300px !important;
    }

    .roe-legend-box {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
        right: 0.25rem;
        top: 0.25rem;
    }

    .roe-chart-note {
        font-size: 0.7rem;
        text-align: left;
    }

    .pbr-unit-text {
        font-size: 0.75rem;
        right: 0.25rem;
    }
}