﻿@charset "utf-8";

.home-case-ul {
    margin-top: 40px;
}

.home-case-li {
    align-items: flex-start;
    display: flex;
    justify-content: center;
    max-width: 760px;
    padding: 20px 0 60px;
}

.home-case-li:nth-child(2n+1) {
    margin: 0 auto;
}

.home-case-li .text {
    margin-right: 15px;
}

.home-case-li .number {
    display: block;
    font-family: "Roboto Condensed", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.home-case-li .number .color {
    color: #d92127;
}

.home-case-li .project {
    background: #fff;
    border: 1px solid;
    color: #d92127;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    padding: 0 5px;
}

.home-case-li h3 {
    font-size: 2rem;
    margin: 5px 0 10px;
}

.home-case-li .company {
    font-weight: 700;
}

.home-case-li .switch-image {
    flex: none;
}

.section-inner-center {
    border-top: #000 1px solid;
    padding-bottom: 20px;
    padding-top: 60px;
}


.content {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.left {
    margin-right: 20px;
    width: 48%;
}

.right {
    width: 48%;
}

.title {
    font-size: 3rem;
    font-weight: bold;
}

.business {
    margin-top: 10px;
}

.switch-image .image02 {
    top: -69px;
}

@media screen and (max-width: 768px) {
    .home-case-li {
        padding: 0;
    }
    .content {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        margin-top: 30px;
    }

    .left {
        margin-right: 0;
        margin-top: 20px;
        width: 100%;
    }

    .right {
        width: 100%;
    }

    .title {
        font-size: 2.8rem;
        font-weight: bold;
    }
}

@media screen and (max-width: 425px) {
    .home-case-li {
        flex-direction: column-reverse;
    }

    .home-case-li .text {
        margin-right: 0;
        margin-top: 20px;
    }

    .title {
        font-size: 2.4rem;
        font-weight: bold;
    }

    .home-case-li {
        align-items: center;
    }
}

.home-case-li .website-title {
    font-size: 15px;
    font-weight: 700;
    margin-top: 20px;
}
.home-case-li .website-link {
    position: relative;
    color: #0645AD;
}
.home-case-li .website-link::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-44%);

    background-image: url('../img/common/external_link_icon.svg');
    background-size: cover;
    width: 12px;
    height: 12px;
}