    :root {
    --font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-size: 22px;
    --font-weight-regular: 400;
    --font-weight-bold: 700;
    --line-height: 40px;
    --font-color: rgb(96, 96, 96);
}


body {
    font-family: var(--font-family);
    color: var(--font-color);
    line-height: 1.6;
    width: 1260px;
    font-size: 24px;
    margin: 20px auto;
    margin-top: 0;
}
.slicknav_menu {
    display: none;

}
header {
    position: sticky;
    top: 0;
    display: flex;
    height: 60px;
    width: 100%;
    justify-content: space-between;
    font-family: var(--font-family);
    background: #ffffff;
    h1 {
        font-size: var(--font-size);
        font-weight: var(--font-weight-regular);
        margin: auto;
        margin-left: 0px;
        margin-right: 0px;
        padding: 0px 18px;
        text-align: center;
    }
    nav {
        display: flex;
        align-content: center;
        text-align: center;
        .nav__toggle {
            display: none;
        }
        ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-content: center;
            list-style: none;
            padding: 0;
            margin: auto;
            li {
                height: 100%;
                padding-left: 30px;
                padding-right: 30px;
                a {
                    text-align: center;
                    font-size: 16px;
                    color: #000;
                    text-decoration: none;
                }
            }
            li:hover {
                background-color: #575757;
                a{
                    color: #fff;
                }
            }
        }
    }
}

div#top{
    width: 100%;
    img {
        display: block;
        width: 100%;
        aspect-ratio: 16/9;
        margin: auto;
    }
}

div#main{
    padding-right: 20px;
    padding-left: 20px;
}

main {
    width: 100%;
    font-size: 18px;
    section {
        h2 {
            text-align: center;
            border-bottom: solid 3px #666666;
            padding-top: 25px;
            margin-bottom: 1.8em;
        }
        h3{
            text-align: center;
            font-weight: bold;
            margin-bottom: 1.62em;
        }
        p{
            margin-bottom: 1.8em;
        }
        &#company {
            text-align: center;
            margin: 0 auto;
        }
        .business {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            grid-column-gap: 1.5em;
            grid-row-gap: 10px;
            padding-left: 20px;
            padding-right: 20px;
            .business__card {
                display: grid;
                grid-template-rows: subgrid;
                grid-row: span 3;
                img {
                    width: 100%;
                    aspect-ratio: 3/2;
                    object-fit: cover;
                    margin-bottom: 5px;
                }
            }
            
        }
        &#staff {
            div {
                display: flex;
                flex-flow: column;
                align-content: center;
                justify-content: center;
                margin: auto;
                img {
                    margin: auto;
                    width: 50%;
                    aspect-ratio: 3/2;
                }
                p {
                    text-align: center;
                }
            }
            
        }
        &#contact {
            margin-bottom: 1.8em;
            form {
                padding-left: 20px;
                padding-right: 20px;
                label {
                    display: block;
                    margin-bottom: 8px;
                    font-size: 18px;
                }
            
                input[type="text"],
                input[type="email"],
                textarea {
                    width: 100%;
                    padding: 10px;
                    margin-bottom: 20px;
                    border: 1px solid #ccc;
                    border-radius: 4px;
                    font-size: 16px;
                    box-sizing: border-box;
                }
            
                button {
                    width: 100%;
                    padding: 10px;
                    background-color: #f1f5f8;
                    color: #333;
                    border: none;
                    border-radius: 4px;
                    font-size: 16px;
                    cursor: pointer;
            
                    &:hover {
                        background-color: #e0e4e8;
                    }
                }
            }
        }
        ol.list li {
            position: relative;
            padding-left: 0.5em;
            list-style-type: none;
        }

          
        ol.list li:before {
            position: absolute;
            text-indent: -1.5em;
            content: "(" counter(list-item) ")";
            
        }
          
    }
    #note {
        width: 50px;
        margin: auto;
        a {
            img{
                max-width: 100%;
            }    
        }
    }
}

footer {
    font-size: 18px;
    text-align: center;
    padding: 10px 0;
    margin: auto;
    margin-top: 20px;
}

@media screen and (max-width: 1000px) {
    header {
        width: 100%;
    }
    body{
        width: auto;
    }
    .slicknav_menu {
        display: flex;
        flex-direction:column;
        background-color: #4c4c4c;
        padding: 20px;
        div {
            display: flex;
            justify-content: flex-end;
            .slicknav_btn {
                display: flex;
                justify-content: flex-end;
                width: auto;
                align-items: center;
                border: none;
                gap: 0 10px;
                padding: 10px;
                cursor: pointer;
                border: 1px solid #fff;
                color: #fff;
                background-color: #000;
                line-height: 1.125em;
                cursor: pointer;
                border-radius:8px;
                border:1px solid #000000;
                .slicknav_menutxt {
                    font-size: 32px;
                    font-family: var(--font-family);
                }
                .slicknav_icon {
                    display: flex;
                    flex-direction: column;
                    .slicknav_icon-bar {
                        width: 20px;
                        height: 2px;
                        background-color: #fff;
                        margin: 3px 0;
                    }
                }
            }
        }
        .slicknav_nav {
            padding: 0;
            margin: 0;
            background-color: #4a4a4a;
            top: 100%;
            left: 0;
            width: 100%;
            #menuContent {
                display: none;
            li {
                list-style: none;
                a {
                    color: #fff;
                    text-decoration: none;
                    padding: 10px;
                    display: block;
                    &:hover,
                        &:focus {
                            background-color: #333;
                        }
                    }
                }
            }
        }
        .slicknav_menu:before, .slicknav_menu:after {
            content: " ";
            display: table;
        }
    }
    header{
        position: relative;
        nav {
            display: none;
        }
    }
    div#top{
        height: 60vw;
        background-image: url(../img/top.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        img {
            display: none;
        }
    }
}
@media screen and (max-width:908px) {
    main {
        section{
            &#staff {
                div {
                    padding-left: 20px;
                    padding-right: 20px;
                    img {
                        width: 100%;
                    }
                }
            }
        }
    }
}
@media screen and (max-width:800px) {
    header {
        h1 {
            width: 100%;
            font-size: 32px;
        }
    }
    div#top{
        height: 80vw;
    }
    main {
        section {
            &#contact {
                form {
                    label {
                        font-size: 18px;
                    }
                    textarea {
                        width: 100%;
                        padding: 10px;
                        margin-bottom: 20px;
                        border: 1px solid #ccc;
                        border-radius: 4px;
                        font-size: 24px;
                        box-sizing: border-box;
                    }
                
                    button {
                        width: 100%;
                        padding: 20px;
                        font-size: 18px;
                        
                    }
                }
            }
        }   
    }
}
@media screen and (max-width: 500px) {
    main {
        font-size: 18px;
        h3 {
            font-size: 24px;
        }
        section {
            .business {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }
    }
}