@charset "UTF-8";

html {
    font: 100%;
}

body {
    position: relative;
    font-family: Hiragino Kaku Gothic ProN;
}

a {
    text-decoration: none;
    transition: all 0.5s;
}

a :hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
}

li {
    list-style: none;
}

.wrapper {
    max-width: 1360px;
    padding: 0 40px;
    margin: 0 auto;
}

.header {
    height: 80px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 3;
}

.header h1 {
    width: 180px;
}

nav {
    width: 300px;
    opacity: 0;
    color: #fff;
    position: fixed;
    top: 0;
    left: -300px;
    padding: 36px 50px;
    z-index: 20;
    transition: all 0.5s;
    }

.open nav {
    left: 0;
    opacity: 1;
}

.nav-menu li {
    margin-bottom: 14px;
    font-size: 0.875rem;
}

.toggle-btn {
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 20;
}

.toggle-btn span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all 0.5s;
}

.toggle-btn span:nth-child(1) {
    top: 10px;
}

.toggle-btn span:nth-last-child(2) {
    bottom: 10px;
}


.toggle-btn.open  span {
    background-color: #fff;
}

.toggle-btn.open span:nth-child(1) {
    transform: translateY(-10px) rotate(-45deg);
}

.toggle-btn.open  span:nth-child(2) {
    transform: translateY(1px) rotate(45deg);
}

#mask {
    display: none;
    transition: all 0.5s;
}

.open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
    z-index: 10;
    cursor: pointer;
}

.top {
    padding-top: 80px;
    padding-bottom: 160px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    line-height: 1.5;
}


.product-list img {
    margin-bottom: 10px;
}

.product-list p {
    font-size: 0.75rem;
}

.link-text {
    display: block;
    text-align: center;
    margin-top: 40px;
    font-size: 0.875rem;
}

.footer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer .menu {
    display: flex;
    font-size: 0.75rem;
}

.footer .menu li {
    margin-right: 30px;
}

.footer .copyright {
    font-size: 0.625rem;
}


/*products*/

.content {
    padding-top: 120px;
    padding-bottom: 160px;
}

.page-title {
    margin-bottom: 30px;
    font-size: 0.875rem;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    font-size: 0.875rem;
}

.pagination li {
    padding: 0 20px;
}

/*about*/

.about-text {
    max-width: 600px;
}

.about-text p {
    margin-bottom: 30px;
    line-height: 1.9;
    font-size: 0.875rem;
} 

/*company*/

.company {
    max-width: 600px;
}

.company dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-size: 0.875rem;
}

.company dd {
    width: 30%;
    border-bottom: solid 1px #dcdbdb;
    padding: 20px 10px;
}

.company dt {
    width: 70%;
    border-bottom: solid 1px #dcdbdb;
    padding: 20px 10px;
}

.map {
    filter: grayscale(1);
}

.map iframe {
    width: 100%;
    height: 300px;
}

/*item*/

.item {
    display: flex;
    max-width: 800px;
    justify-content: space-between;
    font-size: 0.875rem;
    line-height: 1.6;
}

.item-img {
    width: 50%;
}

.item-text {
    width: 42%;
}

.item-text p {
    margin-bottom: 30px;
}

.item-text dl {
    display: flex;
    flex-wrap: wrap;
}

.item-text dd {
    width: 30%;
}

.item-text dt {
    width: 70%;
}

@media screen and (max-width :900px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .footer {
        flex-direction: column;
    }

    .footer .menu {
        margin-bottom: 5px;
    }

    .item {
        flex-direction: column;
    }

    .item .item-img {
        width: 100%;
        margin-bottom: 30px;
    }

    .item .item-text {
        width: 100%;
    }

    .company dl {
        flex-direction: column;
    }

    .company dd {
        width: 100%;
        border-bottom: none;
        padding-bottom: 5px;
    }

    .company dt {
        width: 100%;
        padding-top: 5px;
    }
}