@charset "utf-8";

* {
    font-family: "Noto Sans JP", serif;
}
/* ｓｐ */

/* 共通 */
.font-en {
    font-family: "Noto Sans", serif;
}

.wrapper {
    padding-inline: 40px;
}

header {
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: f;
}

header h1 {
    width: 180px;
}


.nav {
    font-size: 14px;
    position: fixed;        
    top: 0;           
    left:-100%;         
    width:100%;           
    height: 100vh;         
    background: #000;     
    pointer-events: none;   
    /* transition:right 0.8s,;    */
}

.container {
    display: grid;          
    gap: 1rem;              
    list-style: none;
    padding: 36px 0 0 50px;
    left: -100%;
    transition: left 1s;
}



.nav a {
    color: #fff;          
    text-decoration: none;  
}

.menu {
    width: 30px;           
    height: 30px;          
    border: none;                      
    background-color: transparent;
    position: relative;
}

.menu span {
    display: block;
    height: 0;
    width: 30px;
    border-top: #333 2px solid;
    position: absolute;
    /* background-color: #333; */
    left: 0; 
}

.menu span:first-child {
    top:10px;
    transition: rotate 0.5s;
}

.menu span:last-child {
    top:20px;
    transition: rotate 0.5s;
}

.nav.open {
    left: 0;
    opacity: 0.7;
    pointer-events: all; 
}

.container.open {
    left: 50px;
    top: 36px;
}

.menu.open {
    position: fixed;
    right: 40px;
}

.menu.open span {
    border-color: #fff;
}

.menu.open span:first-child {
    translate: 0 5px ;
    rotate: 45deg;
}

.menu.open span:last-child {
    translate: 0 -5px;
    rotate: -45deg;
}

main {
    padding-bottom: 102px;
}



/* footer */
footer ul {
    font-size: 12px;
    list-style-type: none;
    display: flex;
    width: fit-content;
    gap: 30px;
    margin-bottom: 0;
}

footer small {
    margin-top: 0;
    padding: 0 0 20px;
    font-size: 10px;
}



/* index */


.top-grid ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.top-grid ul li {
    padding-bottom: 20px;
    font-size: 12px;
}

.top-grid ul li img {
    padding-bottom: 10px;
}

.top-more {
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-size: 14px;
    padding-top: 40px;
}

/* product */
.pro-grid ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pro-grid ul li {
    padding-bottom: 20px;
    font-size: 12px;
}

.pro-grid ul li img {
    padding-bottom: 10px;
}

.pro-more {
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-size: 14px;
    padding-top: 40px;
}

.pro-main .pro-more {
    display: flex;
    gap: 40px;
}

/* about */
.about {
    font-size: 14px;
}

.about h2 {
    padding: 40px 0 30px 0;
}

.about p {
    padding-bottom: 30px;
}

/* product-item */
.item {
    font-size: 14px;
}

.item h2 {
    padding: 40px 0 30px 0;
}

.item img {
    padding-bottom: 30px;
}

.item p {
    padding-bottom: 30px;
}

.item td {
    padding-left: 14px;
}

/* company */
.company {
    font-size: 14px;
}

.company h2 {
    padding: 40px 0 50px 0;
}
/* 
.company div p {
    padding: 20px 0 10px;
}

.company div p:last-child {
    padding: 0 0 20px 0;
}

.company div {
    border-bottom: #dcdbdb 1px solid;
}

.company div:last-child {
    border: none;
}
 */

.company table tr {
    display: flex;
    flex-direction: column;
}

.company tr {
    border-bottom: 1px solid #dcdbdb;
}

.company tr:last-child {
    border-bottom: none;
}

.company th {
    padding: 20px 0 10px;
}

.company td {
    padding: 0 0 20px 0;
}

.company iframe {
    margin: 20px 0 0 0;
    width: 100%;
    height: 300px;
    background-color: #dcdbdb;
    place-content: center;
    text-align: center;
    filter: grayscale(1);
}



@media (max-width:900px) {
    header {
        margin-bottom :-20px;
    }
}

@media (min-width:900px) {
    /* 共通 */
    body {
        max-width: 1280px;
        margin: 0 auto;
    }

    .wrapper {
        padding-inline: 0;
    }
    
    footer {
        display: flex;
        justify-content: space-between;
    }
    
    /* index */
    .top-grid ul {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }

    .top-grid ul li {
        padding-bottom: 20px;
    }

    .top-more {
        padding-top: 20px;
    }

    /* product */
    .pro-grid ul {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }

    .pro-grid ul li {
        padding-bottom: 20px;
    }

    .pro-more {
        padding-top: 20px;
    }

    /* about */
    .wrapper.about {
        max-width: 600px;
    }    

    .about h2 {
        padding: 35px 0;
    }

    .about p:last-child {
        padding-bottom: 20px;
    }

    /* item */

    /* font-size が反映されない */
    main.item .wrapper {
        max-width: 800px;
        padding-bottom: 60px;
    }

    .item .pc-item {
        display: flex;
        gap: 64px;
        font-size: 14px;
    }

    .item img {
        padding-bottom: 0;
        width: 400px;
        height: 400px;
        object-fit: cover;
    }

    .item-more {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    /* comapany */

    .company.wrapper {
        width: 600px;
    }


    /* .company.wrapper {
        width: 600px;
    }

    .company div {
        display: flex;
    }

    .company div p:first-child {
        width: 4rem;
        padding-left: 124px; 
    }*/

    .company table {
        width: 100%;
    }

    .company table tr {
        flex-direction: row;
    }

    .company th {
        width: 190px;
        padding: 20px 0 20px 10px ;
    }

    .company td {
        padding: 20px 0 0 0;
    }

    .company tr:last-child {
        padding-bottom: 20px;
    }
}