@charset "UTF-8";

#contents{
    padding-bottom: 144px;
}

@media screen and (max-width: 767px){
    #contents{
        padding-bottom: 50px;
    }
}

#contents-link {
    position: relative;
	z-index: 2;
    margin-top: 122px;

    @media screen and (max-width: 767px){
        margin-top: 50px;
    }

    .w1200.inner {
        display: flex;
        justify-content: center;

        @media screen and (max-width: 990px){
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
        }

        .link {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 32px;
            padding-bottom: 46px;
            width: calc(100% - (30px * 2) / 3);
            border: 2px solid #000;
            transition: opacity 0.3s ease;

            @media screen and (max-width: 990px){
                width: 100%;
                max-width: 400px;
            }

            @media screen and (max-width: 767px){
                padding-top: 16px;
                padding-bottom: 23px;
            }

            &:not(:first-child) {
                margin-left: 30px;
            }

            @media screen and (max-width: 990px){
                &:not(:first-child) {
                    margin-left: 0;
                    margin-top: 30px;
                }
            }

            .main {
                font-family: "Noto Sans JP";
                font-weight: bold;
                font-size: 24px;
                letter-spacing: 0.05em;
                line-height: 32px;
                text-align: center;
                color: #000;

                @media screen and (max-width: 767px){
                    font-size: 16px;
                    line-height: 24px;
                    text-align: left;
                }
            }

            .sub {
                margin-top: 5px;
                font-family: "Noto Sans JP";
                font-weight: 500;
                font-size: 16px;
                letter-spacing: 0.05em;
                line-height: 20px;
                text-align: center;
                color: #198ec5;

                @media screen and (max-width: 767px){
                    margin-top: 3px;
                    font-size: 14px;
                    line-height: 18px;
                    text-align: left;
                }
            }

            .mark {
                position: absolute;
                bottom: -23px;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 46px;
                height: 46px;
                border-radius: 50%;
                background-color: #000;

                &::after {
                    content: "";
                    width: 7px;
                    height: 7px;
                    transform: rotate(135deg);
                    border-top: 2px solid #fff;
                    border-right: 2px solid #fff;
                }

                @media screen and (max-width: 767px){
                    bottom: -15px;
                    width: 30px;
                    height: 30px;

                    &::after{
                        width: 5px;
                        height: 5px;
                    }
                }
            }
        }

        @media (hover: hover) and (pointer: fine){
            .link:hover{
                opacity: 0.7;
                transition: opacity 0.3s ease;
            }
        }
    }
}

.contents {
    position: relative;
	z-index: 2;

    .w1200.inner {
        border: 2px solid #000;

        .title {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px 0 20px 0;
            background-color: #000;

            & span {
                font-family: "Noto Sans JP";
                font-weight: bold;
                font-size: 28px;
                letter-spacing: 0.05em;
                line-height: 32px;
                text-align: center;
                color: #fff;

                @media screen and (max-width: 767px){
                    font-size: 15px;
                    line-height: 26px;
                }
            }
        }

        .detail {
            padding: 0 83px 78px 83px;

            @media screen and (max-width: 767px){
                padding: 0 20px 20px;
            }

            .with-img {
                display: flex;
                margin-top: 70px;
                padding-bottom: 48px;
                border-bottom: 1px solid #000;

                @media screen and (max-width: 767px){
                    flex-direction: column;
                    align-items: center;
                    justify-content: flex-start;
                    margin-top: 25px;
                    padding-bottom: 25px;
                }

                .img {
                    flex-shrink: 0;
                    width: 50%;
                    max-width: 410px;

                    @media screen and (max-width: 767px){
                        width: 100%;
                    }
                }

                .text {
                    flex-grow: 1;
                    margin-left: 32px;

                    @media screen and (max-width: 767px){
                        margin-left: 0;
                        margin-top: 15px;
                    }

                    .main {
                        font-family: "Noto Sans JP";
                        font-weight: bold;
                        font-size: 22px;
                        letter-spacing: 0.05em;
                        line-height: 30px;
                        text-align: left;
                        color: #000;

                        @media screen and (max-width: 767px){
                            font-size: 16px;
                            line-height: 24px;
                        }
                    }

                    .sub {
                        margin-top: 22px;
                        font-family: "Noto Sans JP";
                        font-weight: 500;
                        font-size: 16px;
                        letter-spacing: 0.05em;
                        line-height: 28px;
                        text-align: left;
                        color: #000;

                        @media screen and (max-width: 767px){
                            font-size: 14px;
                            line-height: 22px;
                        }
                    }
                }
            }

            .business {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding-bottom: 48px;
                border-bottom: 1px solid #000;

                @media screen and (max-width: 767px){
                    padding-bottom: 25px;
                }

                .name {
                    margin-top: 48px;
                    margin-bottom: 34px;
                    padding: 3px 16px;
                    font-family: "Noto Sans JP";
                    font-weight: bold;
                    font-size: 22px;
                    letter-spacing: 0.05em;
                    line-height: 26px;
                    text-align: center;
                    color: #fff;
                    background-color: #000;

                    @media screen and (max-width: 767px){
                        margin-top: 25px;
                        margin-bottom: 20px;
                        font-size: 16px;
                        line-height: 24px;
                    }
                }

                .content {
                    display: flex;
                    flex-wrap: wrap;

                    @media screen and (max-width: 767px){
                        flex-direction: column;
                        flex-wrap: nowrap;
                        align-items: center;
                        justify-content: flex-start;
                    }

                    .with-icon {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: flex-start;
                        width: calc((100% - (52px * 2)) / 3);

                        &:not(:nth-child(3n + 1)) {
                            margin-left: 52px;
                        }

                        &:nth-child(n + 4) {
                            margin-top: 46px;

                            .main{
                                margin-top: 15px;
                                margin-bottom: 8px;
                            }
                        }

                        @media screen and (max-width: 1120px){
                            width: calc((100% - 52px) / 2);

                            &:not(:nth-child(3n + 1)) {
                                margin-left: 0;
                            }

                            &:nth-child(2n) {
                                margin-left: 52px;
                            }

                            &:nth-child(n + 3) {
                                margin-top: 46px;

                            }

                        }

                        @media screen and (max-width: 767px){
                            width: 100%;


                            &:nth-child(n + 3) {
                                margin-top: 0;

                                .main{
                                    margin-top: 5px;
                                    margin-bottom: 5px;
                                }
                            }

                            &:not(:first-child){
                                margin-top: 15px;
                                margin-left: 0;
                            }

                        }

                        .icon {
                            flex-shrink: 0;
                            width: 80%;

                            & img {
                                width: 100%;
                            }
                        }

                        .main {
                            margin-top: 20px;
                            margin-bottom: 10px;
                            font-family: "Noto Sans JP";
                            font-weight: bold;
                            font-size: 18px;
                            letter-spacing: 0.05em;
                            line-height: 28px;
                            text-align: center;
                            color: #198ec5;

                            @media screen and (max-width: 767px){
                                font-size: 16px;
                                line-height: 24px;
                            }
                        }

                        .sub {
                            font-family: "Noto Sans JP";
                            font-weight: 500;
                            font-size: 16px;
                            letter-spacing: 0.05em;
                            line-height: 22px;
                            text-align: left;
                            color: #000;

                            @media screen and (max-width: 767px){
                                max-width: 350px;
                                font-size: 14px;
                                line-height: 22px;
                            }
                        }
                    }
                }

                &.first {
                    .content {
                        .with-icon {
                            .icon {
                                max-width: 78px;
                            }
                        }
                    }
                }

                &.second {
                    .name{
                        margin-bottom: 24px;
                    }
                    .content {
                        .with-icon {
                            .icon {
                                max-width: 112px;
                            }
                        }
                    }
                }

                &.third {
                    .content {
                        .with-icon {
                            .icon {
                                max-width: 98px;
                            }
                        }
                    }
                }
            }


            .achievements{
                display: flex;
                flex-direction: column;
                align-items: center;
                padding-top: 48px;
                padding-bottom: 48px;
                border-bottom: 1px solid #000;

                @media screen and (max-width: 767px){
                    padding-top: 25px;
                    padding-bottom: 25px;
                }

                .text{
                    margin-bottom: 18px;
                    padding: 3px 16px;
                    font-family: "Noto Sans JP";
                    font-weight: bold;
                    font-size: 22px;
                    letter-spacing: 0.05em;
                    line-height: 26px;
                    text-align: center;
                    color: #fff;
                    background-color: #000;

                    @media screen and (max-width: 767px){
                        font-size: 16px;
                        line-height: 24px;
                    }
                }

                .content{
                    display: flex;
                    flex-direction: column;
                    align-items: flex-start;
                    justify-content: flex-start;
                    padding: 26px 31px 26px 33px;
                    width: 100%;
                    background-color: #F2F3F5;

                    @media screen and (max-width: 767px){
                        padding: 20px;
                    }

                    .main{
                        margin-bottom: 10px;
                        font-family: "Noto Sans JP";
                        font-weight: bold;
                        font-size: 18px;
                        letter-spacing: 0.05em;
                        line-height: 28px;
                        text-align: left;
                        color: #198ec5;

                        @media screen and (max-width: 767px){
                            font-size: 16px;
                            line-height: 24px;
                        }
                    }


                    & ul{
                        & li{
                            display: flex;
                            align-items: flex-start;
                            justify-content: flex-start;
                            font-family: "Noto Sans JP";
                            font-weight: 500;
                            font-size: 16px;
                            letter-spacing: 0.05em;
                            line-height: 24px;
                            text-align: left;
                            color: #000;

                            &::before{
                                content: "";
                                flex-shrink: 0;
                                margin-top: 10px;
                                margin-right: 8px;
                                width: 8px;
                                height: 8px;
                                background-color: #198EC5;
                            }

                            @media screen and (max-width: 767px){
                                font-size: 14px;
                                line-height: 22px;

                                &::before{
                                    margin-top: 7px;
                                    margin-right: 5px;
                                }
                            }

                        }
                    }
                }

            }
            .achievements.type01{
                .content{
                    & ul{
                        display: flex;
                        flex-wrap: wrap;

                        & li{
                            width: 40%;

                            @media screen and (max-width: 1200px){
                                width: 50%;
                            }

                            @media screen and (max-width: 1040px){
                                width: 100%;
                            }
                        }
                    }
                }
            }

            .achievements.type02{
                .double{
                    display: flex;
                    justify-content: center;

                    @media screen and (max-width: 980px){
                        flex-direction: column;
                        align-items: center;
                        justify-content: flex-start;
                        width: 100%;
                    }

                    .content{
                        width: calc((100% - 19px) / 2);

                        &:last-child{
                            margin-left: 19px;
                        }

                        @media screen and (max-width: 980px){
                            width: 100%;

                            &:last-child{
                                margin-left: 0;
                                margin-top: 15px;
                            }
                        }

                    }
                }
            }

            .voice{
                margin-top: 48px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;

                @media screen and (max-width: 767px){
                    margin-top: 25px;
                }

                .text{
                    padding: 3px 16px;
                    font-family: "Noto Sans JP";
                    font-weight: bold;
                    font-size: 22px;
                    letter-spacing: 0.05em;
                    line-height: 26px;
                    text-align: center;
                    color: #fff;
                    background-color: #000;

                    @media screen and (max-width: 767px){
                        font-size: 16px;
                        line-height: 24px;
                    }
                }

                .content{
                    margin-top: 18px;
                    padding: 24px 20px 24px 33px;
                    width: 100%;
                    background-color: #F2F3F5;

                    @media screen and (max-width: 767px){
                        padding: 20px;
                    }

                    & ul{
                        & li{
                            display: flex;
                            align-items: flex-start;
                            justify-content: flex-start;
                            font-family: "Noto Sans JP";
                            font-weight: 500;
                            font-size: 16px;
                            letter-spacing: 0.05em;
                            line-height: 24px;
                            text-align: left;
                            color: #000;

                            &::before{
                                content: "";
                                flex-shrink: 0;
                                margin-top: 10px;
                                margin-right: 8px;
                                width: 8px;
                                height: 8px;
                                background-color: #198EC5;
                            }

                            @media screen and (max-width: 767px){
                                font-size: 14px;
                                line-height: 22px;

                                &::before{
                                    margin-top: 7px;
                                    margin-right: 5px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

#contents01 {
    margin-top: 153px;

    @media screen and (max-width: 767px){
        margin-top: 50px;
    }
}

#contents02 {
    margin-top: 114px;

    @media screen and (max-width: 767px){
        margin-top: 50px;
    }

}

#contents03 {
    margin-top: 139px;
    margin-bottom: 144px;

    @media screen and (max-width: 767px){
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

#under-link {
    margin:0 auto 0 auto;
    width: 80%;
    max-width: 578px;
    min-width: 280px;

    @media screen and (max-width: 767px){
        width: calc(100% - 40px);
    }

    .link{
        position: relative;
        transition: opacity 0.3s ease;
        width: 100%;
        height: 100%;

        .img{
            width: 100%;

            & img{
                width: 100%;
            }
        }

        .text{
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            width: auto;
            height: auto;

            & span{
                font-family: "Noto Sans JP";
                font-weight: bold;
                font-size: 24px;
                letter-spacing: 0.05em;
                line-height: 33px;
                text-align: left;
                color: #fff;

                @media screen and (max-width: 767px){
                    font-size: 16px;
                    line-height: 24px;
                }
            }

            .icon{
                margin-left: 6px;
                width: 18px;
                height: 21px;

                @media screen and (max-width: 767px){
                    width: 12px;
                    height: 14px;
                }
            }
        }

        &::after{
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-color: #5B5B5B;
            opacity: 0.9;
        }
    }
}

@media (hover: hover) and (pointer: fine){
    #under-link .link:hover{
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }
}