@charset "utf-8";

p {
    font-size: 15px;
}

.in100per {
    padding: 0 16px;
}

.in600 {
    padding: 0 16px;
}

.in960 {
    padding: 0 16px;
}

.in1200 {
    padding: 0 16px;
}

.col20 {
    width: 48%;
}

.col25 {
    width: 48%;
}

.col33 {
    width: 98%;
}

.col50 {
    width: 98%;
}


/* 改行 */

.br-pc,
.br-tb {
    display: none;
}

.br-sm {
    display: block;
}

section {
    padding: 16px 0;
}

section h2 {
    font-size: 25px;
    line-height: 30px;
}

#header .contact {
    display: none;
    width: 100%;
    margin-bottom: 12px;
    padding-top: 4px;
    text-align: center;
}

#header .contact .tel a {
    pointer-events: inherit;
}

#template {
    display: none;
}


#header>.in1200 {
    position: relative;
}

#lead {
    padding: initial;
}

#lead h2 {
    font-size: 20px;
}

#lead h2 span {
    display: block;
}


#top #news ul {
    display: block;
}

#top #news ul li a {
    padding: 12px 0;
}

#top #news ul li a .content {
    margin: 0px;
    padding: 0px;
}

#top #news ul li a .img {
    width: 60px;
    padding-top: 30px;
    padding-bottom: 30px;
    float: left;
}

#top #news ul li a h3 {
    margin-bottom: 0.5em;
    font-size: 16px;
}

#top #news ul li a .category {
    margin: 0px;
    padding: 0px;
}

#top #news ul li a .date {
    margin: 0px;
    padding: 0px;
}

#top #news ul li a p {
    margin-bottom: 0px;
    display: none;
}

#top #news ul li a .more {
    display: none;
}

#item-single .main-img {
    float: none;
    margin-right: auto;
    margin-left: auto;
}

#item-single .item-comment {
    float: none;
    width: 100%;
}

#item-single .item-comment h1 {
    text-align: center;
    line-height: 1.2em;
}

#item-single .item-page {
    float: none;
    width: 100%;
    padding: 1em;
}

#item-single dl {
    float: none;
    width: 100%;
}

#page #lead h1 {
    font-size: 40px;
}

#page #works ul .col25 {
    width: 96%;
    margin-bottom: 10%;
}

#page #news ul li.col25 {
    width: 100%;
    float: none;
}

#page #news ul li a .img {
    float: left;
    width: 38%;
    padding-top: 28%;
}

#page #news ul li a .content {
    float: right;
    width: 60%;
    padding-top: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
}

#page #news ul li a h3 {
    font-size: 14px;
}

#page #news ul li a p {
    display: none;
}

#page #news ul li a {
    padding: 0px;
}

#page #news ul li a .category {
    left: 40%;
}

.side_bar {
    flex-wrap: wrap;
}

#category-nav {
    width: 100%;
}


#g-navi .g-navi-footer {
    padding-top: 50px;
    position: initial;
    bottom: initial;
    left: initial;
    transform: initial;
}

#g-navi .g-navi-footer img:last-child {
    max-width: 289.14px;
    max-height: 174.09px;
}


/* リード文(トップ、会社案内) */
#products #lead .flex-around {
    gap: 20px;
}

#products #lead .flex-around .col50 {
    max-width: 346px;
    min-width: 345px;
}

#products #lead .flex-item {
    margin: 30px auto 0;
}

#top #lead .flex-item .item-box,
#products #lead .flex-item .item-box {
    padding: 20px 15px 30px;
    align-items: center;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
}

#products #lead .flex-item .item-box img {
    height: 144px;
    width: 144px;
}

#products #lead .flex-item .item-box .text {
    max-width: 171px;
    margin-top: initial;
}

#products #lead .flex-item .item-box .text h4 {
    font-size: 22px;
    padding: 10px 0;
}


#products #lead .flex-item .item-box .contents p {
    font-size: 16px;
}

#top #lead .item-bt {
    padding-top: 10px;
}

#products #lead .item-bt span {
    width: 190px;
    height: 30px;
    font-size: 16px;
}



/* トップページ */
/* SDGs */
#sdgs {
    padding-top: 20px;
    padding-bottom: 90px;
}


/* banner */
#banner .in100per {
    padding: initial;
}

#banner .flex-banner .flex-catch {
	margin: 10px auto;
}

/* Googleマップ */
#map_canvas .in100per {
    height: 500px;
}

#map_canvas .in100per p iframe {
    height: 500px;
}



/* tableテーブル共通設定(company-table) */
table.company-table {
    margin-top: initial;
    margin-bottom: 10px;
}

table.company-table,
table.company-table tr:last-child th::after,
table.company-table th::before {
    max-width: 400px;
}

table.company-table tr:first-child th::before,
table.company-table tr:last-child th::after {
    content: initial;
}

table.company-table th,
table.company-table td {
    display: block;
    width: 100%;
    text-align: center;
}

table.company-table th {
    font-size: 18px;
    padding: 10px 0;
}

table.company-table td {
    font-size: 14px;
    padding: 10px 0 0;
}

table.company-table .google-bt {
    justify-content: center;
}



/* 固定ページ：共通設定 */

#article_404,
.single article main,
#sdgs .flex-sdgs,
#company #sdgs .base-sdgs,
#overview,
#greeting,
#contact-privacy,
#contact-thanks,
#contact-tel,
#contact-form {
    max-width: 91vw;
    border-radius: 18px;
    margin: 0 auto 20px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
}

#greeting {
    margin: 40px auto 90px;
}

#article_404,
#contact-thanks {
    margin: 40px auto 60px;
}

.single article main {
    margin: 80px auto 0;
}

.single article main h2,
#company #sdgs .flex-sdgs h2 p,
#overview .flex-company .flex-around h2,
#greeting .flex-company .flex-around h2,
#contact-tel .flex-contact .flex-around h2,
#contact-form .flex-contact .flex-around h2 {
    padding: 10px 8vw;
    border-radius: 0 0 10px 10px;
    margin-bottom: 5px;
}

.single article main h2 {
    padding: 10px 0 5px;
    width: 85%;
}

#company #sdgs .flex-sdgs h2 p,
#overview .flex-company .flex-around h2,
#greeting .flex-company .flex-around h2 {
    padding: 10px 15vw;
}


/* 個別ページ：商品案内 */
.single article main {
    padding-left: 10px;
    padding-right: 10px;
}


.single article main section {
    margin: 20px auto;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
}

.single article main section h3 {
    max-width: fit-content;
    margin-left: 85px;
}

.single article main section h3 .block-sub {
    flex-direction: column;
    align-items: flex-start;
}


.single article main section ul.features {
    padding: 16px;
}

.single article main section ul.features li p {
    font-size: 14px;
}

.single article main section#section1 {
    margin: 20px auto;
}

.single article main section .list-loop,
.single article main section .pdf-loop {
    margin: 20px auto 0;
}


.single article main section#section1 .flex-around:first-of-type,
.single article main section#section1 .flex-around {
    margin: 30px auto;
}

.single article main section#section1 .flex-pr {
    padding: 20px;
}

.single article main section#section1 .flex-around .col50:first-of-type {
    width: 77vw;
}

.single article main section#section1 .flex-around .product-description p {
    font-size: 24px;
    max-width: 300px;
}




/* 固定ページ：会社案内 */
#company #sdgs {
    padding-top: 135px;
    margin-top: 75px;
    padding-bottom: initial;
}

#company #sdgs .in100per {
    padding: 0px 0 50px;
}

#company #sdgs .flex-sdgs::before {
    content: initial;
}

#company #sdgs .flex-sdgs::after {
    bottom: -170px;
    left: 0;
}


#company #sdgs .flex-sdgs .flex-around {
    padding: 20px 0px 10px;
}

#company #sdgs .flex-sdgs .flex-around img {
    max-width: 90%;
    max-height: 90%;
}

#company #map_canvas {
    padding-top: 130px;
}

#company #map_canvas::before {
    top: -80px;
}

#company #map_canvas::after {
    top: -100px;
}


#greeting .flex-company .flex-around .flex-item .img {
    height: 100px;
}

#greeting .flex-company .flex-around .flex-item .img img:first-child {
    left: -60px;
    max-width: 154px;
    max-height: 154px;
}

#greeting .flex-company .flex-around .flex-item .img img:last-child {
    bottom: -80px;
    transform: translateX(2px);
    max-width: 135px;
    max-height: 135px;
}

#company #sdgs .flex-sdgs .flex-around .col50:first-child p,
#greeting .flex-company .flex-around .flex-item .text p {
    margin: 1em 0.5em;
}



/* 固定ページ：お問い合わせ */
body.page-privacy-policy #banner,
body.page-thanks #banner,
body.page-contact #banner {
    padding-top: 170px;
    margin-top: 50px;
}



#contact #lead .flex-around {
    padding-top: initial;
}

#privacy-policy #lead .flex-around {
    padding-top: 30px;
    padding-left: 4.6vw;
    padding-right: 4.6vw;
    padding-bottom: 30px;
}

#contact-privacy .flex-privacy dl.privacy-list dt span.title {
    top: 0;
    transform: initial;
}

#contact-form .flex-contact .flex-around .text p,
#contact #lead .flex-around p {
    padding: 0.5vw 5vw;
    text-align: initial;
}

#contact-tel .flex-contact .flex-around h2,
#contact-form .flex-contact .flex-around h2 {
    padding: 10px 8vw;
    border-radius: 0 0 10px 10px;
    margin-bottom: 5px;
}


#contact-tel .flex-contact .flex-around .text p.tel a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    pointer-events: all;
}





/* フッター */
#footer ul {
    margin-top: 28px;
}

#footer .in1200 {
    padding: initial;
}

#footer .flex-around {
    border-radius: 0;
}



@media (max-width: 484px) {
    .col16 {
        width: 48%;
        margin-left: 0;
    }

    .col16:nth-child(2n) {
        margin-left: 4%;
    }

    /* リード文(トップ、会社案内) */
    #top #lead {
        background-image: url(../img/haikei-s.webp);
        padding: 6vw 0 115vw;
    }

    #top #lead .flex-around {
        gap: 40px;
    }



    #sdgs h2 {
        margin-bottom: 45px;
    }

    #sdgs .flex-sdgs {
        padding: 7px 10px;
        border-radius: 18px;
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
        background: linear-gradient(to top left, #d8ebf3 0%, #f4f9fb 90%, #ffffff 60%, #ffffff 100%);
    }

    #sdgs .flex-sdgs::after {
        bottom: -80px;
        right: 29vw;
    }

    #sdgs .flex-sdgs .flex-around {
        border-radius: 13px;
        background: linear-gradient(to bottom, #d8ebf3 0%, #f4f9fb 40%, #ffffff 70%, #ffffff 100%);
    }

    #info h2 {
        margin-bottom: 35px;
    }

    #info::before {
        left: 8px;
        top: -125px;
    }

    #info::after {
        top: -150px;
    }

    #info .in100per {
        padding-top: 25px;
        padding-bottom: 50px;
    }

    #info .flex-info {
        padding: 7pxpx;
        border-radius: 18px;
    }

    #info .flex-info .flex-around {
        border-radius: 13px;
    }

    #banner {
        padding-top: 160px;
    }

    #banner .flex-banner {
        padding: 80px 16px 40px;
    }

    /* tableテーブル共通設定(company-table) */
    table.company-table,
    table.company-table tr:last-child th::after,
    table.company-table th::before {
        max-width: 300px;
        overflow: hidden;
    }


    /* 個別ページ：商品案内 */
    .single article main section .in100per {
        padding: initial;
    }



}

@media (max-width: 374px) {

    article,
    footer {
        overflow: hidden;
    }

    #g-navi .g-navi-head .g-navi-bt img {
        max-width: 11vw;
        max-height: 11vw;
    }

    /* リード文(トップ、会社案内) */
    #products #lead .flex-around .col50,
    #top #lead .flex-around .col50 {
        min-width: initial;
    }

}