@charset "shift_jis";

*,*::before,*::after {
    box-sizing: border-box;

}
.wrapper {
    width: 960px;
    margin: 0 auto;
}
table {
    border-collapse: collapse;
}

ol,ul {
    padding-left: 0;
}

h1 {
    font-size: 1.5rem;
    margin: 0;
}

h2 {
    font-size: 1.2rem;
}

h3 {
    font-size: 1rem;
}

/* pタグのmarginいらないとき */
.no-margin {
    margin: 0;
}

/*header*/
.head-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    display: flex;
    gap: 3em;
}
.logo-img img {
    display: block;
}
.head-flex p {
    margin: 0;
}


.top-nav {
    border-top: 1px #000 solid;
    border-bottom: 1px #000 solid;
    padding: 10px 0;
}

/*oshirase*/
.oshirase {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1em;
}
.newslist {
    border: none;
    font-size: 9.8pt;
    padding-right: 8px;
    vertical-align: top;
}

.newslist .date {
    color: #333;
    font-weight: bold;
}


/* 製品一覧 */
.product-list {
    margin-bottom: 1em;
}

.category-header {
    background: #060;
    font-size: 11pt;
    padding: 4px 21px;
    margin-top: 1.5em;
    color: white;
}

.product {
    grid-template-columns: 200px auto;
    grid-template-rows: auto;
    display: grid;
    background: #fff4e6;
    padding: 0px 21px;
}

.product+.product {
    border-top: 1px solid #e3a990;
}

.product-image {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    text-align: center;
    padding: 13px 0;
}

.product-image a {
    display: inline-block;
}

.product-description {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    font-size: 10pt;
    padding: 8px 0 13px 21px;
}

.product-title{
    color: #630;
    text-decoration:none;
    display:inline-block;
    margin-bottom: 0.5em;
    font-size:10pt;
}

.product-title:visited {
    color: #630;
}

.product-name {
    font-size: 12pt;
    font-weight: bold;
}

.netis-info {
    display: inline-block;
    border: 1px solid #000;
    background: white;
    padding: 3px 5px;
}

.sub-links {
    padding: 8px 0px;
}

.sub-links a {
    display:inline-block;
}

.sub-links+.sub-links{
    padding-top: 0px;
}



/*otoiawase*/
.foot {
    margin-top: 1em;
}
.foot > p {
    text-align: center;
}
.table-e8 {
    width: 100%;
    font-size: 13px;
}
.foot-title,
.table-e8 tr:nth-child(odd) td {
    background-color: #e8e8e8;
}
.table-e8 td:nth-child(odd) {
    text-align: center;
}
.table-e8 td {
    padding: 5px 3px 3px;
}



@media screen and (max-width:768px) {
    .wrapper {
        max-width: 100%;
        padding: 0 10px;
    }

    .top-nav a {
        text-wrap: nowrap;
        white-space: nowrap;
    }

    
    .head-flex {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5em 0.75em;
        gap: 0.5em;
    }

    .logo-img {
        gap: 1em;
        width: 100%;
    }

    .logo-img img {
        max-height: 40px;
        width: auto;
    }

    .head-flex p {
        font-size: 0.8em;
        width: 100%;
    }



    .oshirase {
        justify-content: center;
    }
    .product {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    .product-image {
        grid-area: 1 / 1 / 2 / 2;
    }
    .product-description {
        grid-area: 2 / 1 / 3 / 2;
        padding: 8px 10px 13px;
    }


    /* info.asp */
    .title-new img {
        display: block;
        max-width: 100%;
    }
   
}