/* CSS Document /
/government/comm/future026.asp */

/* --- Base Elements --- */
em {
    color: #ff0000;
    font-weight: bold;
    font-style: normal;
}

/* 章見出し（下線解除） */
#scrl3 h3, #scrl4 h3 {
    margin-bottom: .5em;
    padding-bottom: 0;
    border-bottom: 0;
}
/* --- Individual Cases (インタビューリンク) --- */
.individual_cases {
    & a {
        width: 100%;
        border: 1px solid #d9e0de;
        border-radius: 4px;
        margin-top: 30px;
        padding: 15px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        transition: 0.3s;
        text-decoration: none;
        color: inherit;
        &:hover { opacity: 0.7; }
    }
    figure {
        width: 35%;
        margin: 0;
        img { width: 100%; height: 100%; object-fit: cover; }
    }
}

.individual_cases_text {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    p {
        font-size: 15px;
        line-height: 1.5;
    }
    .case_btn {
        margin-top: 1em;
        text-align: right;
    }
    .case_btn_link {
        width: 100%;
        display: inline-block;
        position: relative;
        padding: 7px 10px 8px;
        background: #152768;
        border: 1px solid #152768;
        border-radius: 4px;
        text-align: center;
        box-sizing: border-box;
        span {
            color: #fff;
            font-size: 14px;
            font-weight: bold;
            &::after {
                content: "";
                position: absolute;
                inset: 50% 10px auto auto;
                width: 5px;
                height: 5px;
                margin-top: -0.25em;
                border: solid #fff;
                border-width: 2px 2px 0 0;
                transform: rotate(45deg);
            }
        }
    }
}

@media (max-width: 767px) {
    .individual_cases_text {
        width: 60%;
        p {
            font-size: 14px;
            line-height: 1.5;
        }
    }
}

@media screen and (min-width: 48em) and (max-width: 64em), (max-width: 580px) {
    .individual_cases {
        a {
            flex-direction: column;
        }
        figure {
            width: 100%; margin-bottom: 20px;
        }
    }
    .individual_cases_text {
        width: 100%;
    }
}