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

    .title-en {
        font-size: 16px;
        color: #ff976a;
        letter-spacing: 0.3rem;
        font-weight: 600;
    }
    .title-ja {
        font-size: 36px;
    }
}
.pc-none {
    display: none;
}
.sp-none {
    display: block;
}
.header {
    position: fixed;
    font-weight: 600;
    width: 100%;
    z-index: 999;
    background: rgb(255 255 255 / 90%);

    .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: 500;

                a.contact {
                    background-color: #fe0000;
                    padding: 0.25rem 2rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    column-gap: 8px;
                    color: #fff;
                    border-radius: 5px;
                    }
                }
            }
        .btn-sp-menu {
            display: none;
            padding: 13px 10px;
            width: 44px;
            height: 44px;
        }
    }
}
.header::after {
    content: '';
    display: block;
    background: linear-gradient(90deg, #fe0000 0%, #ffe7e7 30%, #ffe7e7 70%, #fe0000 100%);
    width: 100%;
    height: 5px;
}
main{
    padding-top: 100px;
}
.hero {
    background-image: url(../images/bg_hero.webp);
    background-position: top;
    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: 160px 24px 80px;
    }
    .section-content {
        max-width: var(--content-width);
        margin: 60px auto 0;

        .business {
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border: 5px solid #ff976a;
            box-shadow: 10px 10px #ddd;
            background-image: url(../images/business-img.webp);
            background-size: cover;

            a:hover {
                opacity: 0.75;
            }
            .business-ttl {
                color: #fff;
                font-size: 26px;
                background: rgb(0 0 0 / 30%);
                border-bottom: 3px solid #ff976a;
                padding: 1rem;
                margin: 5rem 5rem 0;
                width: calc(100% - 10rem);
                text-align: center;
            }
            .business-txt {
                padding: 2rem;
                margin: 0 5rem 5rem;
                background: rgb(255 255 255 / 80%);
                font-size: 1.15rem;
                font-weight: 400;
                line-height: 2;

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

                    a{
                        background: #fe0000;
                        color: #fff;
                        display: inline-block;
                        padding: 0.25rem 2rem;
                        letter-spacing: 0.05em;
                        border-radius: 5px;
                        margin: 2rem auto 1rem;
                    }
                }
            }
        }
    }
}
.company {
    .company-wrapper {
        padding: 160px 24px 80px;

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

            .company-info {
                border: 5px solid #ff976a;
                box-shadow: 10px 10px #ddd;
            }
            table {
                margin: 5rem;
                width: calc(100% - 10rem);
            }
            tr {
                position: relative;
            }
            th {
                padding: 24px;
                width: 40%;
                text-align: center;
                border: 3px solid rgba(255, 255, 255, 0);
                border-right-width: 10px;
                background: rgb(255 255 255 / 90%);
            }
            td {
                padding: 24px;
                text-align: center;
                border: 3px solid rgba(255, 255, 255, 0);
                background: rgb(255 255 255 / 90%);
            }
            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 {

    .footer-wrapper {
        max-width: var(--content-width);
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
        padding: 80px 1rem 40px;
        font-size: 0.9rem;

        a {
            border-bottom: 2px solid #fe0000;
            display: block;
            padding: 0.25rem 1.5rem;
        }
        a:hover {
            color: #ff976a;
        }
        span {
            font-size: 0.7rem;
            color: #999;
        }
    }
}

@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 {
        margin-bottom: 0;
        max-height: 500px;

        .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{
                border-width: 2px;
                background-position: center;

                .business-ttl{
                    font-size: 1.25rem;
                    width: calc(100% - 2rem);
                    border: 0;
                    margin: 2rem 1rem 0;
                }
                .business-txt{
                    padding: 1rem;
                    line-height: 1.8;
                    margin: 1rem;
                    font-size: 14px;

                    span a{
                        font-size: 1rem;
                        margin: 1rem auto;
                    }
                }
            }
        }
    }
    .company {
        padding-top: 60px;

        .company-wrapper {
            padding: 60px 24px;

            .section-content {
                max-width: 960px;
                margin-top: 32px;
                background-position: center;

                .company-info {
                    width: 100%;
                    font-size: 14px;
                    padding: 1rem;
                    border-width: 2px;

                    table , picture{
                        width: 100%;
                    }
                    table{
                        margin: 0;
                    }
                    th , td {
                        padding: 0.75rem;
                        width: 100%;
                        display: block;
                    }
                    th{
                        color: #fff;
                        background: rgb(0 0 0 / 30%);
                    }
                }
            }
        }
    }
    .footer {

        .footer-wrapper {
            align-items: center;
            gap: 2rem;
            font-size: 12px;
            flex-direction: column;
            padding: 1rem;

            a{
                border-width: 1px;
            }
        }
    }
}
main.privacy-main{
    font-weight: 500;

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