@charset "utf-8";

:root {
    --evolve-red: #7a1f2b;
    --evolve-pale: #f6f2f2;
    --evolve-line: #ded7d8;
    --evolve-text: #333;
}

/* ==========================================================
   EVOLVE / FACILITIES
========================================================== */

.sub_visual figure {
    background-image: url(../image/facilities/main.jpg);
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    background-size: cover;
    background-position: center;
}

.sub_visual::before {
    background: rgba(35, 11, 15, .42);
}

.icopy h2,
.icopy p,
.icopy p span {
    color: #fff;
}

section.sub_content {
    margin: 0 auto 130px;
}

.facilities-section {
    padding: 95px 0 110px;
    background: #fff;
}

.facilities-section .inner,
.management-section .inner {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.section-heading {
    position: relative;
    margin: 0 0 38px;
}

.section-label {
    margin: 0 0 10px;
    color: var(--evolve-red);
    font-family: 'Ubuntu', sans-serif;
    font-size: .78em;
    line-height: 1.3;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
}

h3.sub-head {
    margin: 0;
    color: #111;
    font-size: 2.2em;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: 2px;
}

.updated {
    position: absolute;
    right: 0;
    bottom: 3px;
    margin: 0;
}

.updated small {
    color: #666;
    font-size: .88em;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 参加施設一覧 */
.facility-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 65px;
    border-top: 1px solid var(--evolve-line);
    border-left: 1px solid var(--evolve-line);
}

.facility-list li {
    display: flex;
    align-items: center;
    min-height: 78px;
    margin: 0;
    padding: 18px 22px;
    border-right: 1px solid var(--evolve-line);
    border-bottom: 1px solid var(--evolve-line);
    color: #222;
    font-size: .95em;
    line-height: 1.65;
    font-weight: 500;
}

.facility-list li::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin: 0 12px 0 0;
    border-radius: 50%;
    background: var(--evolve-red);
}

/* 医療機関＋研究者 */
.member-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4%;
}

.member-row {
    margin: 0;
    padding: 26px 0;
    border-top: 1px solid var(--evolve-line);
}

.member-row:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--evolve-line);
}

.member-row h5 {
    margin: 0;
    color: #111;
    font-size: 1em;
    line-height: 1.6;
    font-weight: 500;
}

.member-row p {
    margin: 7px 0 0;
    color: var(--evolve-text);
    line-height: 1.8;
}

/* 研究運営 */
.management-section {
    margin: 0;
    padding: 95px 0 105px;
    background: var(--evolve-pale);
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.management-card {
    min-height: 165px;
    margin: 0;
    padding: 30px 32px;
    background: #fff;
    border-top: 3px solid var(--evolve-red);
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.management-card h5 {
    margin: 0;
    color: #111;
    font-size: 1.05em;
    line-height: 1.75;
    font-weight: 500;
}

.management-card p {
    margin: 15px 0 0;
    color: var(--evolve-text);
    line-height: 1.8;
}

/* ==========================================================
   Responsive
========================================================== */

@media screen and (max-width: 1000px) {
    .facilities-section {
        padding: 80px 0 90px;
    }

    .facility-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .management-section {
        padding: 80px 0 90px;
    }
}

@media screen and (max-width: 767px) {
    section.sub_content {
        margin-bottom: 70px;
    }

    .facilities-section {
        padding: 58px 0 65px;
    }

    .facilities-section .inner,
    .management-section .inner {
        width: 90%;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    h3.sub-head {
        font-size: 1.55em;
        letter-spacing: 1px;
    }

    .updated {
        position: static;
        margin: 8px 0 0;
        text-align: left;
    }

    .facility-list {
        grid-template-columns: 1fr;
        margin-bottom: 45px;
    }

    .facility-list li {
        min-height: 0;
        padding: 15px 16px;
        font-size: .9em;
    }

    .member-grid {
        display: block;
    }

    .member-row {
        padding: 20px 0;
    }

    .member-row:nth-last-child(2) {
        border-bottom: none;
    }

    .member-row:last-child {
        border-bottom: 1px solid var(--evolve-line);
    }

    .member-row h5 {
        font-size: .95em;
    }

    .member-row p {
        font-size: .9em;
    }

    .management-section {
        padding: 58px 0 65px;
    }

    .management-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .management-card {
        min-height: 0;
        padding: 24px 22px;
    }
}
