:root {
    --content-width: 1156px;
    --content-width-wide: 1264px;
}
body {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 600;
    color: #333;
}
.section-header {
    font-weight: 600;
    letter-spacing: 0.5rem;
    text-align: center;

    .title-en {
        font-size: 16px;
        color: #2acb9a;
        letter-spacing: 0.3rem;
        font-weight: 600;
    }
    .title-ja {
        font-size: 36px;
        font-weight: 900;
    }
}
.pc-none {
    display: none;
}
.sp-none {
    display: block;
}
.header {
    position: fixed;
    font-weight: 600;
    width: 100%;
    z-index: 999;
    background: linear-gradient(45deg, rgb(42 203 154 / 50%) 0%, rgb(211 255 162 / 70%) 50%, rgb(243 255 9 / 40%) 100%);

    .header-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100px;
        padding: 0 24px;
        max-width: var(--content-width);
        margin: 0 auto;

        .logo {
            font-size: 1.5rem;
            height: 100px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            img {
                max-width: 60px;
            }
        }
        .nav {

            ul {
                display: flex;
                gap: 3rem;
                align-items: center;
                font-weight: 600;

                a.contact {
                    background-color: #2acb9a;
                    padding: 12px 24px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    column-gap: 8px;
                    color: #fff;
                    }
                }
            }
        .btn-sp-menu {
            display: none;
            padding: 13px 10px;
            width: 44px;
            height: 44px;
        }
    }
}
main{
    padding-top: 100px;
}
.hero {
    background-image: url(../images/bg_hero.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(110%);
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 700px;

    .catch {
        font-size: 56px;
        font-weight: 400;
        color: #fff;
        text-shadow: 1px 1px 4px #000000;
    }
}
.service {
    .service-wrapper {
        padding: 80px 24px;
    }
    .section-content {
        max-width: var(--content-width);
        margin: 60px auto 0;

        .business {
            display: flex;
            flex-wrap: wrap;
            border: 5px solid #d2edec;

            a:hover {
                opacity: 0.75;
            }
            .business-img {
                width: 40%;
                background: #d2edec;
                padding: 1rem 1.5rem 2rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 1rem;

                p{
                    text-align: center;
                    font-size: 1.5rem;
                    -webkit-text-stroke: 0.5px #000;
                    font-weight: 100;
                }
                picture{
                    padding: 0 15%;
                    display: flex;
                    align-items: center;
                }
                img {
                    border: 0;
                    vertical-align: top;
                }
            }
            .business-txt {
                padding: 2rem;
                width: 60%;
                font-size: 1.15rem;
                line-height: 2;
                font-weight: 100;
                text-decoration: underline;
                text-decoration-color: #f3ff09;

                span{
                    display: block;
                    text-align: center;

                    a{
                        background: #2acb9a;
                        color: #fff;
                        display: inline-block;
                        padding: 0.5rem 3rem;
                        font-weight: bold;
                        letter-spacing: 0.05em;
                    }
                }
            }
        }
    }
}
.company {
    .company-wrapper {
        padding: 80px 24px;

        .section-content {
            max-width: var(--content-width);
            margin: 60px auto 0;
            background-image: url(../images/bg_company.webp);

            .company-info {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                border: 5px solid #d2edec;
            }
            table {
                width: calc(60% - 4rem);
                margin: 2rem;
            }
            tr {
                position: relative;
            }
            tr::before {
                content: '';
                display: block;
                width: 100%;
                height: 2px;
                background: linear-gradient(to right, #2acb9a, #f3ff09);
                position: absolute;
                bottom: 0;
            }
            th {
                padding: 24px;
                width: 50%;
                text-align: center;
            }
            td {
                padding: 24px;
                text-align: center;
            }
            picture{
                width: 40%;
                background: #d2edec;
                padding: 2rem 7%;
                display: flex;
                align-items: center;
            }
        }
    }
}
.privacy {

    .privacy-wrapper {
        padding: 180px 24px;
    }
    .section-content {
        max-width: 960px;
        margin: 0 auto;
        margin-top: 60px;

        h4 {
            margin: 1rem auto 0;
            font-size: 1.5rem;
        }
        p {
            padding: 1rem;
        }
    }
}
.footer {
    background-color: #2acb9a;
    color: #fff;

    .footer-wrapper {
        max-width: var(--content-width);
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem 1rem 1rem;
        font-size: 0.9rem;

        a:hover {
            text-decoration: underline;
        }
        span {
            font-size: 0.75rem;
        }
    }
}

@media screen and (max-width: 900px) {
    .header {

        .header-wrapper {
            height: 64px;

            .logo {
                height: 24px;
                font-size: 1.25rem;
            }
            .nav {
                position: absolute;
                width: 100%;
                top: 64px;
                left: 0;
                height: 0;
                overflow-y: hidden;
                background-color: transparent;
                color: #003333;

                ul {
                    margin-top: 60px;
                    margin-bottom: 60px;
                    flex-direction: column;

                    a.contact {
                        color: #fff;
                    }
                }
            }
            .btn-sp-menu {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }
        }
    }
    .btn-sp-menu span {
        display: block;
        width: 100%;
        height: 1px;
        background-color: black;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    header.open .btn-sp-menu span {
        position: absolute;
        top: 50%;
        right: 20px;
        width: 24px;
        background-color: black;
        transform-origin: center;
    }
    header.open .btn-sp-menu span:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    header.open .btn-sp-menu span:nth-child(2) {
        opacity: 0;
    }
    header.open .btn-sp-menu span:nth-child(3) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    .header.open {
        background-color: rgba(255, 255, 255, 0.90);

        .nav {
            background-color: rgba(255, 255, 255, 0.90);
            height: calc(100svh - 64px);
            overflow-y: auto;
        }
    }
    main{
        padding-top: 64px;
    }
    .section-header {

        .title-en {
            font-size: 12px;
        }
        .title-ja {
            font-size: 32px;
        }
    }
    .pc-none {
        display: block;
    }
    .sp-none {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .hero {

        .catch {
            font-size: 28px;
            padding: 1rem;
        }
    }
    .service {
        padding-top: 60px;

        .service-wrapper {
            padding: 60px 24px;
        }
        .section-content {
            margin-top: 32px;
            flex-direction: column;
            row-gap: 24px;

            .business{
                flex-direction: column;

                .business-img , .business-txt{
                    width: 100%;
                }
                .business-txt{
                    padding: 1rem;
                    line-height: 1.8;
                }
            }
            img {
                width: 100%;
            }
        }
    }
    .company {

        .company-wrapper {
            padding: 60px 0;

            .section-content {
                max-width: 960px;
                margin: 0 auto;
                margin-top: 32px;
                flex-direction: column;
                gap: 32px;
                padding: 60px 24px;

                .company-image {

                    img {
                        width: 100%;
                    }
                }
                .company-info {
                    width: 100%;
                    font-size: 14px;
                    padding: 0;
                    flex-direction: column-reverse;

                    table , picture{
                        width: 100%;
                    }
                    table{
                        margin: 0;
                    }
                    th{
                        width: 40%;
                    }
                    th , td {
                        padding: 1rem;
                    }
                    picture{
                        padding: 2rem 5rem;
                    }
                }
            }
        }
    }
    .footer {

        .footer-wrapper {
            align-items: center;
            gap: 12px;
            font-size: 12px;
        }
    }
}
main.privacy-main{
    font-weight: 500;

    h4{
        font-weight: 600;
    }
    .privacy .section-content p{
        padding: 1rem 0;
    }
}
