@import url("common/c_bg_deco.css");
@import url("common/c_fonts.css");
@import url("common/c_header_footer.css");
@import url("common/c_other.css");
@import url("common/c_reset.css");

main {
    margin-top: 90px;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

    @media (min-width: 1920px) {
        max-width: 1920px;
        margin: 0 auto;
        margin-top: 90px;
    }

    .yazirushi_btn {
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #79BD9A;
        position: relative;
        margin-top: 20px;


        &::before {
            position: absolute;
            content: '';
            top: 22px;
            left: 13px;
            width: 23px;
            height: 5px;
            background: #fff;
        }

        &::after {
            position: absolute;
            content: '';
            top: 17px;
            left: 21px;
            width: 10px;
            height: 10px;
            border-top: 5px solid #fff;
            border-right: 5px solid #fff;
            transform: rotate(45deg);
        }
    }

    /* 要素を非表示 */
    .hidden_h1 {
        position: relative;

        h1 {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
    }

    .top {

        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 80px 0px 150px 0px;
        background: #2fbaff;
        color: white;

        .top_title {
            font-size: clamp(20px, 3vw, 40px);
            display: block;

            span:nth-of-type(1) {
                display: block;
            }

            span:nth-of-type(2) {
                display: block;
                margin-top: 10px;
            }

            /* 文字がぬるりと現れる START */
            opacity: 0;
            transform: matrix(1, 0, 0, 1, 0, 100);
            transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
            /* 文字がぬるりと現れる END */

        }


        .top_sub_title {
            font-size: clamp(15px, 2.5vw, 35px);

            /* 文字がぬるりと現れる START */
            opacity: 0;
            transform: matrix(1, 0, 0, 1, 0, 100);
            transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
            /* 文字がぬるりと現れる END */
        }

        .top_animation {
            opacity: 1;
            transform: matrix(1, 0, 0, 1, 0, 0);
        }

    }

    .wave {
        overflow: hidden;
        width: 100%;
        margin-top: -200px;
    }

    .wave_canvas {
        display: block;
        height: 200px;
        width: 100%;
    }

    .company {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;



        h2 {
            position: relative;
            padding: 8px 20px;
            border-top: solid 1px #333;
            border-bottom: solid 1px #333;
            font-size: 24px;
            letter-spacing: 1px;
            color: #333;
            font-family: "Sawarabi Gothic", sans-serif;
            font-weight: 400;
            font-style: normal;
            text-align: center;

            &::before {
                content: '';
                position: absolute;
                width: 1px;
                height: calc(100% - 16px);
                background: #333;
                align-items: center;
                left: -8px;
            }

            &::after {
                content: '';
                position: absolute;
                width: 1px;
                height: calc(100% - 16px);
                background: #333;
                align-items: center;
                right: -8px;
            }
        }

        p {
            text-align: center;
        }
    }

    .business {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;

        h2 {
            position: relative;
            padding: 8px 20px;
            border-top: solid 1px #333;
            border-bottom: solid 1px #333;
            font-size: 24px;
            letter-spacing: 1px;
            color: #333;
            font-family: "Sawarabi Gothic", sans-serif;
            font-weight: 400;
            font-style: normal;
            text-align: center;

            &::before {
                content: '';
                position: absolute;
                width: 1px;
                height: calc(100% - 16px);
                background: #333;
                align-items: center;
                left: -8px;
            }

            &::after {
                content: '';
                position: absolute;
                width: 1px;
                height: calc(100% - 16px);
                background: #333;
                align-items: center;
                right: -8px;
            }
        }

    }

    .recruit {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;

        h2 {
            position: relative;
            padding: 8px 20px;
            border-top: solid 1px #333;
            border-bottom: solid 1px #333;
            font-size: 24px;
            letter-spacing: 1px;
            color: #333;
            font-family: "Sawarabi Gothic", sans-serif;
            font-weight: 400;
            font-style: normal;
            text-align: center;

            &::before {
                content: '';
                position: absolute;
                width: 1px;
                height: calc(100% - 16px);
                background: #333;
                align-items: center;
                left: -8px;
            }

            &::after {
                content: '';
                position: absolute;
                width: 1px;
                height: calc(100% - 16px);
                background: #333;
                align-items: center;
                right: -8px;
            }
        }
    }

    .others_service {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;

        h2 {
            position: relative;
            padding: 8px 20px;
            border-top: solid 1px #333;
            border-bottom: solid 1px #333;
            font-size: 24px;
            letter-spacing: 1px;
            color: #333;
            font-family: "Sawarabi Gothic", sans-serif;
            font-weight: 400;
            font-style: normal;
            text-align: center;

            &::before {
                content: '';
                position: absolute;
                width: 1px;
                height: calc(100% - 16px);
                background: #333;
                align-items: center;
                left: -8px;
            }

            &::after {
                content: '';
                position: absolute;
                width: 1px;
                height: calc(100% - 16px);
                background: #333;
                align-items: center;
                right: -8px;
            }
        }

        ul {
            li {
                margin-top: 20px;
                background: #f1f1f1;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);

                @media (max-width: 500px) {
                    width: 350px;
                }

                h3 {
                    font-size: 20px;
                    background: #5fc2f5;
                    padding: 4px;
                    text-align: center;
                    color: #FFF;
                    font-weight: bold;
                    letter-spacing: 1px;
                }

                p {
                    padding: 15px 20px;
                    margin: 0;
                }
            }
        }
    }
}