@charset "UTF-8";

p,
.detail {
    & a[target="_blank"] {
        text-decoration: underline;

        @media (hover: hover) and (pointer: fine) {
            &:hover {
                text-decoration: none;
            }
        }

        &::after {
            content: "";
            display: inline-block;
            margin-left: 0.3rem;
            margin-bottom: -0.5rem;
            width: 2.4rem;
            height: 2.4rem;
            background-image: url("../../common/img/parts/out-link.svg");
            background-size: 100% 100%;
            background-repeat: no-repeat;

            @media screen and (max-width: 767px) {
                width: 2rem;
                height: 2rem;
            }
        }
    }
}

#contents {
    padding-bottom: 20.7rem;
    background-color: #F2F4EF;

    @media screen and (max-width: 767px) {
        padding-bottom: 8rem;
    }
}

#overview {
    margin-bottom: 15.5rem;

    @media screen and (max-width: 767px) {
        margin-bottom: 8rem;
    }

    .title {
        margin-bottom: 7.8rem;

        @media screen and (max-width: 767px) {
            margin-bottom: 4.3rem;
        }
    }

    .contents {
        display: flex;
        align-items: flex-start;
        gap: 12rem;
        margin-bottom: 8rem;

        @media screen and (max-width: 767px) {
            flex-direction: column;
            gap: 3rem;
            margin-bottom: 5rem;
        }

        .img {
            flex-shrink: 0;
            width: 80rem;
            border-radius: 0 8rem 0 0;
            overflow: hidden;

            @media screen and (max-width: 767px) {
                margin-left: -2.4rem;
                width: calc(100% + 2.4rem);
                border-radius: 0 3.4rem 0 0;
            }
        }

        .text {
            flex-grow: 1;
            margin-top: 6.5rem;

            @media screen and (max-width: 767px) {
                margin-top: 0;
            }

            .main {
                margin-bottom: 3.6rem;
                font-style: normal;
                font-weight: 600;
                font-size: 3.2rem;
                line-height: 160%;
                letter-spacing: 0.05em;
                color: #000000;

                @media screen and (max-width: 767px) {
                    margin-bottom: 1.6rem;
                    font-size: 1.8rem;
                }
            }

            .sub {
                font-style: normal;
                font-weight: 400;
                font-size: 1.8rem;
                line-height: 200%;
                letter-spacing: 0.1em;
                color: #000000;

                @media screen and (max-width: 767px) {
                    font-size: 1.4rem;
                }
            }
        }
    }

    .btn-area {
        display: flex;
        gap: 0.6rem;
        margin-bottom: 2.3rem;

        @media screen and (max-width: 767px) {
            flex-direction: column;
            margin-bottom: 1.4rem;
        }

        .btn {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: calc((100% - 0.6rem) / 2);
            background-color: #fff;
            padding: 6rem 5.6rem 6rem 15.1rem;

            @media screen and (max-width: 767px) {
                width: 100%;
                padding: 3.4rem;
            }

            &:nth-child(1) {
                border-radius: 3rem 0 0 3rem;
            }

            &:nth-child(2) {
                border-radius: 0 3rem 3rem 0;
            }

            @media screen and (max-width: 767px) {
                &:nth-child(1) {
                    border-radius: 2rem 2rem 0 0;
                }

                &:nth-child(2) {
                    border-radius: 0 0 2rem 2rem;
                }
            }

            .text {
                .main {
                    margin-bottom: 0.8rem;
                    font-family: 'Alexandria';
                    font-style: normal;
                    font-weight: 500;
                    font-size: 4.2rem;
                    line-height: 5rem;
                    text-align: center;
                    letter-spacing: 0.05em;
                    color: #000000;

                    @media screen and (max-width: 767px) {
                        margin-bottom: 0.6rem;
                        font-size: 2rem;
                        line-height: 2.8rem;
                    }
                }

                .sub {
                    font-style: normal;
                    font-weight: 700;
                    font-size: 2rem;
                    line-height: 160%;
                    letter-spacing: 0.1em;
                    text-align: center;
                    color: #000000;

                    @media screen and (max-width: 767px) {
                        font-size: 1.2rem;
                    }
                }
            }

            .icon {
                position: relative;
                width: 6rem;
                height: 6rem;
                background-image: url("../../common/img/parts/out-link-bk.svg");
                background-size: 100% 100%;
                background-repeat: no-repeat;
                transition: ease 0.3s background-image;

                @media screen and (max-width: 767px) {
                    width: 4.4rem;
                    height: 4.4rem;
                }

                &::after {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    z-index: 1;
                    display: inline-block;
                    width: 100%;
                    height: 100%;
                    background-image: url("../../common/img/parts/out-link-bk.svg");
                    background-size: 100% 100%;
                    background-repeat: no-repeat;
                    opacity: 1;
                    transition: ease 0.3s opacity;
                }

                &::before {
                    content: "";
                    position: absolute;
                    top: 0;
                    left: 0;
                    z-index: 1;
                    display: inline-block;
                    width: 100%;
                    height: 100%;
                    background-image: url("../../common/img/parts/out-link-bk-active.svg");
                    background-size: 100% 100%;
                    background-repeat: no-repeat;
                    opacity: 0;
                    transition: ease 0.3s opacity;
                }
            }

            @media (hover: hover) and (pointer: fine) {
                &:hover {
                    .icon {
                        &::after {
                            opacity: 0;
                        }

                        &::before {
                            opacity: 1;
                        }
                    }
                }
            }
        }

        &.type-1 {
            display: block;
            gap: 0;
            margin-top: 5rem;
            margin-bottom: 1.9rem;

            @media screen and (max-width: 767px) {
                margin-top: 2.5rem;
            }

            .btn {
                padding: 2.9rem 2.5rem 2.9rem 4.7rem;
                width: 100%;

                @media screen and (max-width: 767px) {
                    padding: 2rem;
                }

                &:nth-child(1) {
                    border-radius: 1rem;
                }

                @media screen and (max-width: 767px) {
                    &:nth-child(1) {
                        border-radius: 1.5rem;
                    }
                }

                .text {
                    margin-top: 0;

                    .sub {
                        text-align: left;

                        @media screen and (max-width: 767px) {
                            font-size: 1.6rem;
                        }
                    }
                }
            }
        }
    }

    .detail {
        font-style: normal;
        font-weight: 600;
        font-size: 1.8rem;
        line-height: 180%;
        text-align: center;
        letter-spacing: 0.1em;
        color: #000000;

        @media screen and (max-width: 767px) {
            font-size: 1.4rem;
            text-align: left;
        }

        & a {
            display: inline;
            text-decoration: underline;

            @media (hover: hover) and (pointer: fine) {
                &:hover {
                    text-decoration: none;
                }
            }
        }

        &.type-1 {
            text-align: left;
        }
    }
}

#flow {
    .title {
        margin-bottom: 8.9rem;

        @media screen and (max-width: 767px) {
            margin-bottom: 4.3rem;
        }
    }

    .table {
        & table {
            width: 100%;

            & tr {
                width: 100%;

                & th {
                    position: relative;
                    vertical-align: top;

                    & span {
                        position: relative;
                        z-index: 2;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 5.2rem;
                        height: 5.2rem;
                        /* font-family: 'DIN'; */
                        font-style: normal;
                        font-weight: 700;
                        font-size: 2rem;
                        line-height: 2.6rem;
                        text-align: center;
                        color: #FFFFFF;
                        border-radius: 50%;
                        background-color: #000000;

                        @media screen and (max-width: 767px) {
                            width: 4rem;
                            height: 4rem;
                            font-size: 1.6rem;
                            line-height: 2rem;
                        }
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        top: 0;
                        left: calc(50% - 3px);
                        bottom: 0;
                        z-index: 1;
                        display: inline-block;
                        width: 2px;
                        background-color: #000000;

                        @media screen and (max-width: 767px) {
                            left: calc(50% - 1px);
                        }
                    }
                }



                & td {
                    padding-left: 2.3rem;

                    @media screen and (max-width: 767px) {
                        padding-left: 1rem;
                    }

                    .main {
                        padding: 1.1rem 0;
                        font-style: normal;
                        font-weight: 600;
                        font-size: 2.4rem;
                        line-height: 3rem;
                        letter-spacing: 0.05em;
                        color: #000000;

                        @media screen and (max-width: 767px) {
                            padding: 0.5rem 0;
                            font-size: 1.8rem;
                            line-height: 2.4rem;
                        }
                    }

                    .sub {
                        margin-top: 0.6rem;
                        font-style: normal;
                        font-weight: 400;
                        font-size: 1.8rem;
                        line-height: 200%;
                        letter-spacing: 0.1em;
                        color: #000000;

                        @media screen and (max-width: 767px) {
                            margin-top: 0.4rem;
                            font-size: 1.4rem;
                        }
                    }
                }

                &:not(:last-child) {
                    & td {
                        padding-bottom: 4.4rem;

                        @media screen and (max-width: 767px) {
                            padding-bottom: 3.2rem;
                        }
                    }
                }
            }
        }
    }
}