/* --- WebReport Base Layout --- */

/* .wr-row */
.wr-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

/* .wr-mb-zero */
.wr-mb-zero {
    margin-bottom: 0 !important;
}

/* .wr-col */
.wr-col {
    box-sizing: border-box;
    min-width: 0;
}

/* .wr-col-12 */
.wr-col-12 {
    width: 100%;
}

/* .wr-col-9 */
.wr-col-9 {
    width: calc(75% - 1.125rem);
}

/* .wr-col-6 */
.wr-col-6 {
    width: calc(50% - 0.75rem);
}

/* .wr-col-4 */
.wr-col-4 {
    width: calc(33.333% - 1rem);
}

/* .wr-col-4-cols */
.wr-col-4-cols {
    width: calc(25% - 1.125rem);
}

/* .wr-col-3 */
.wr-col-3 {
    width: calc(25% - 0.375rem);
}

/* .wr-justify-center */
.wr-justify-center {
    justify-content: center !important;
}

/* --- Content Elements --- */

/* .wr-float-right */
.wr-float-right {
    float: right;
    width: 25%;
    margin-left: 1.5rem;
    margin-bottom: 0.9375rem;
    margin-top: 0.3125rem;
}

/* .wr-clearfix */
.wr-clearfix::after {
    content: "";
    display: block;
    clear: both;
}

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

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

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

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

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

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

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

/* --- Headings & Boxes --- */

/* .wr-h2-style3 */
.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 */
.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-h4-l-border */
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-h2-center */
.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 */
.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 */
.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 */
.wr-h2-center-large::after {
    content: "";
    background-color: #b1174b;
    width: 3.75rem;
    height: 1px;
    position: absolute;
    left: 50%;
    bottom: -1px;
    margin-left: -1.875rem;
}

/* .wr-q-box */
.wr-q-box {
    background-color: #cd6aa1;
    color: #FFFFFF;
    padding: 0.75rem 1.25rem;
    border-radius: 0.625rem;
    font-size: 1.125rem;
    font-weight: bold;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* .wr-focus-box */
.wr-focus-box {
    background-color: #f5f5f5;
    border-radius: 0.75rem;
    padding: 1.5625rem;
    box-sizing: border-box;
}

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

/* .wr-pink-banner */
.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;
}

/* --- List & Tables --- */

/* .wr-list */
ul.wr-list {
    padding-left: 0 !important;
    list-style: none !important;
    margin-bottom: 1.25rem !important;
    margin-top: 1.25rem !important;
}

/* .wr-list li */
ul.wr-list li {
    position: relative !important;
    padding-left: 1.5em !important;
    display: block !important;
    margin-bottom: 0.625rem !important;
    line-height: 1.5 !important;
    color: #333 !important;
}

/* .wr-list li::before */
ul.wr-list li::before {
    content: "●" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #b1174b !important;
    font-size: 0.8em !important;
}

/* .wr-list2 */
.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 */
.wr-list2 li {
    padding: 15px 10px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px dashed #dcb2bc;
}

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

/* --- Special Components --- */

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

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

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

/* .wr-bold-full-line */
.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;
}

/* .wr-bold-mid-full-line */
.wr-bold-mid-full-line {
    font-weight: bold;
    display: block;
    border-bottom: 2px solid #fbe8ee;
    padding-bottom: 0.3125rem;
    margin-bottom: 0.9375rem;
    color: #333;
    font-size: 1.1em;
    text-align: center;
}

/* .wr-card */
.wr-card {
    background-color: #fff;
    border: 1px solid #fbe8ee;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

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

/* .event-section */
.event-section {
    display: flex;
    gap: 5rem;
    position: relative;
}

/* .event-section::after */
.event-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: #ccc;
}

/* .event-section > div */
.event-section > div {
    flex: 1;
}

/* .wr-graph-row */
.wr-graph-row {
    gap: 3rem !important;
}

/* .wr-graph-col */
.wr-graph-col {
    width: calc((100% - (3rem * 2)) / 3) !important;
}

/* .highlight-text */
.highlight-text {
    font-weight: bold;
    line-height: 1.6;
}

/* .mb-10 */
.mb-10 {
    margin-bottom: 10px;
    display: block;
}

/* 名簿全体のスタイル */
.officer-list {
    line-height: 2.2; /* 行間を少し広げて読みやすく */
    margin-bottom:20px ;
}

/* 各行のレイアウト */
.officer-item {
    display: flex;
    flex-wrap: wrap; /* スマホなどで幅が足りない場合に折り返し許可 */
}

/* 役職部分のスタイル */
.officer-title {
    width: 14em;    /* 一番長い役職名に合わせて幅を固定 */
    flex-shrink: 0; /* 幅を縮ませない */
}

/* 名前部分のスタイル */
.officer-name {
    flex: 1; /* 残りの幅をすべて使う */
}

/* PCでは改行を表示しない */
.sp-br {
    display: none;
}

/* --- Responsive (Mobile) --- */

@media screen and (max-width: 767px) {
    /* .wr-row, .wr-section padding */
    .wr-row, 
    .wr-section {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        box-sizing: border-box !important;
    }

    /* .wr-col mobile width */
    .wr-col {
        width: 100% !important;
        margin-bottom: 0.625rem;
    }

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

    /* .wr-q-box size */
    .wr-q-box {
        font-size: 1rem;
        padding: 0.625rem 0.9375rem;
    }

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

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

    /* .event-section mobile */
    .event-section {
        flex-direction: column;
        gap: 2.5rem;
    }

    .event-section::after {
        display: none;
    }

    /* .wr-h2-style3 mobile */
    .wr-h2-style3 {
        font-size: 1.25rem !important;
        padding: 0.8rem 0;
        margin-top: 2.5rem !important;
        margin-bottom: 0px !important;
    }

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

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

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

    /* .wr-col-9, .wr-col-3 mobile */
    .wr-col-9, .wr-col-3 {
        width: 100% !important;
        margin-bottom: 1.25rem;
    }

    /* .wr-bold-mid-full-line mobile */
    .wr-bold-mid-full-line {
        font-size: 1.0em;
    }

    /* .reorder-mobile */
    .reorder-mobile {
        display: flex;
        flex-direction: column;
    }

    .reorder-mobile .wr-col:nth-child(2) {
        order: -1;
    }

    .sp-br {
        display: block; /* ブロック要素にして改行を発生させる */
        content: "";    /* 余計なスペースが入らないよう念のため */
        margin: 0;
    }
}