@charset "utf-8";
body {
    font-family: "M PLUS 1", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }
/*header*/
.header_container {
    display: flex;
    justify-content: space-between;
}
#logo img {
    width: 30vw;
}
.name {
    font-size: 10px;
    width: 70vw;
    text-align: center;
}
/*カンパニー*/
.company_image img {
    width: 100%;
}
.company_image {
    margin: 30px 0;
    position: relative;
}
.inner_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    padding: 0.6rem 1rem;
    background-color: rgba(255, 255, 255, 0.7);
}
.inner_text h2 {
    font-size: 1.4rem;
    white-space: nowrap;
}
.inner_text h2 span {
    text-align: center;
    display: block;
    font-size: 0.8rem;
}
/*テーブル*/
#overview h2 {
    text-align: center;
    padding: 1rem 0;
}
.company-table {
    width: 94%;
    font-size: 0.9rem;
    margin: 0 3%;
    line-height: 1.5rem;
}
.company-table table {
    border-collapse: collapse;
}
.company-table table th {
    background-color: #f0f8ff;
    width: 6rem;
    padding: 0.5rem 0.7rem;
    border: solid 1px #b4d9fa;
}
.company-table table td {
    padding: 0.5rem 0.7rem;
    border: solid 1px #b4d9fa;
}
/*取扱商品*/
.products h2 {
    text-align: center;
}
.products {
    margin-top: 4rem;
    margin-bottom: 4rem;
}
.products-image img {
    width: 100%;
}
.products-image {
    padding: 1rem;
    position: relative;
}
.products-image_inner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.6rem 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 1rem;
}
.products-image_inner-text p {
    color: white;
    text-align: center;
}
.products-image_inner-text p span {
    font-size: 0.6rem;
    white-space: nowrap;
}
.products-other {
    margin: 3rem
}
.products-other h3 {
    text-align: center;
    padding-bottom: 1rem;
}
.products-other ul li {
    line-height: 1.9rem;
}
/*お知らせ*/
.info h2 {
    text-align: center;
    padding: 0.8rem 0;
}
.info {
    margin: 5rem 5%;
    display: block;
}
.info-title {
    font-size: 0.9rem;
    border-bottom: solid 0.7px;
}
.info-text {
    font-size: 0.9rem;
    padding-top: 0.4rem;
}
/*別事業*/
#another {
    padding-top: 3rem;
}
#another h2 {
    text-align: center;
}
#logo-2 img {
    width: 40%;
    display: block;
    margin: 0 auto;
}
#logo-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.another-text {
    text-align: center;
    padding: 0.5rem;
}
.another-text p span {
    font-size: 0.8rem;
}
/*アクセス*/
#access {
    margin: 100px 0;
}
#access h2 {
    text-align: center;
}
#access iframe {
    width: 100%;
    height: 70vw;
}
/*フッター*/
.footer-top {
    font-size: 0.9rem;
}
.footer-top a {
    text-decoration: none;
    color: black;
}
.footer-top a:hover {
    color: blue;
}
footer {
    display: flex;
    justify-content: space-around;
    padding: 3rem 0;
}

/*レスポンシブ*/
@media (min-width: 768px) {
    #logo img {
        width: 17vw;
    }
    .name {
        font-size: 1.1rem;
        width: 83vw;
        padding-top: 10px;
    }
    /*カンパニー*/
    #overview h2 {
        font-size: 2.7rem;
        padding: 2.8rem 0;
    }
    .company_image img {
        height: 30vw;
        object-fit: cover;
        overflow: hidden;
        object-position: center 20%;
    }
    .inner_text h2 {
        font-size: 2.7rem;
    }
    .inner_text h2 span {
        font-size: 1.3rem;
    }
    /*テーブル*/
    .company-table {
        font-size: 1.3rem;
        width: 60%;
        display: block;
        margin: 0 auto;
        line-height: 2.3rem;
    }
    .company-table table th {
        width: 8rem;
    }
    /*取扱商品*/
    .products {
        width: 60%;
        margin: 170px auto;
    }
    .products-image_container {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(2,auto);
        gap: 20px;
        align-items: center;
    }
    .products h2 {
        font-size: 2.7rem;
        padding-bottom: 60px;
    }
    .products-image_inner-text {
        font-size: 1.2rem;
    }
    .products-image_inner-text p span {
        font-size: 0.9rem;
    }
    .products-other h3 {
        font-size: 1.5rem;
        padding-bottom: 2rem;
        padding-top: 3rem;
    }
    .products-other ul li {
        font-size: 1.3rem;
        line-height: 2.6rem;
    }
    /*お知らせ*/
    .info h2 {
        font-size: 2.7rem;
        padding-bottom: 60px;
    }
    .info {
        width: 50%;
        margin: 150px auto;
    }
    .info-title {
        font-size: 1.3rem;
    }
    .info-text {
        font-size: 1.2rem;
        padding-top: 1rem;
    }
    /*別事業*/
    #logo-2 img {
        width: 200px;
    }
    #logo-2 {
        padding-bottom: 2rem;
    }
    .another-text {
        font-size: 1.3rem;
        padding: 1rem;
    }
    .another-text p span {
        font-size: 1rem;
    }
    #another h2 {
        font-size: 2.7rem;
        padding-bottom: 60px;
    }
    /*アクセス*/
    #access {
        margin: 120px 0;
    }
    #access iframe {
        width: 40%;
        height: 30vw;
        display: block;
        margin: 0 auto;
    }
    #access h2 {
        font-size: 2.7rem;
        padding-bottom: 60px;
    }
    /*フッター*/
    footer {
        padding-right: 30%;
    }
    .footer-top {
        font-size: 1.1rem;
    }
}