﻿@charset "utf-8";
@media (min-width: 576px){
    .tab-area .tab-title a {
        padding: 10px 20px;
        background: #ddd;
        color: #333;
    }
    body.about.kind_53 .d-flex, 
    body.about.kind_60 .d-flex {
        justify-content: center;
    }
}
@media (min-width: 768px){
    .header .navbar .navbar_btn, .header .navbar .small-btn-box {
        position: absolute;
        top: 12px;
    }

    .header .navbar .navbar_btn {
        right: 280px;
    }

    .header .navbar .small-btn-box {
        right: 0;
    }
}
@media (min-width: 992px){
    
    .header .navbar > .container {
        flex-direction: column;
        position: relative;
    }
    .header .navbar .navbar-nav.nav-1 > li > a::after {
        display: block;
        width: 1px;
        height: 10px;
        background-color: #ccc;
        position: absolute;
        content: "";
        top: calc(50% - 10px / 2);
        right: 0px;
    }
    .header .navbar-nav .nav-link {
        padding: 12px 18px;
    }
    body.home .ab_box .wid-page_unit {
        width: 90%;
        margin: 0 auto;
    }
    body.home .product_box .item {
        width: calc(100% / 3);
    }
}
@media (max-width: 1440px){
body.about.kind_53 .d-flex .list_item .info, body.about.kind_60 .d-flex .list_item .info {

    width: 50%;
    margin: 0 auto;
}
body.about.kind_53 .d-flex .list_item .info p, body.about.kind_60 .d-flex .list_item .info p {
    line-height: 1.5;
}
body.about.kind_53 .d-flex .list_item:nth-child(3n+2), body.about.kind_60 .d-flex .list_item:nth-child(3n+2) {
    margin: 110px -78px -30px -78px;
}
}
@media (max-width: 1199px) {
    body.home   .ab_box {
        background-size: 80%;
    }
    body.about.kind_53 .d-flex .list_item:nth-child(3n+2), body.about.kind_60 .d-flex .list_item:nth-child(3n+2) {
        margin: 82px -54px -30px -54px;
    }
}
@media (max-width: 991px) {
    body:not(.home) .main {
        background-size: 40%;
    }
    .footer .foot-info-box .foot-info-det {
        width: 100%;
    }
    .footer .foot-info-box .foot-info-share {
        width: 40%;
    }
    .footer .footer-info .container.inner .tat_x li {
        width: calc(100% / 2);
    }
    body.about.kind_3 .storybox,
    body.about.kind_51 .storybox {
        background: url(../images/abbg2.jpg) right bottom -76px no-repeat;
    }
    body.about.kind_3 .storybox .row > div:nth-child(2),
    body.about.kind_51 .storybox .row > div:nth-child(2) {
        padding: 30px;
    }
    body.about.kind_3 .storybox .row > div,
    body.about.kind_51 .storybox .row > div{
        width: 100%;
    }
    body.about.kind_53 .d-flex .list_item:nth-child(3n+2), body.about.kind_60 .d-flex .list_item:nth-child(3n+2) {
        margin: 63px -22px -45px -22px;
    }
    body.about.kind_53 .d-flex .list_item .info p, body.about.kind_60 .d-flex .list_item .info p {
        line-height: 1.3;
        font-size: 18px;
    }
    body.about.kind_60 .d-flex {
        width: 100%;
        justify-content: space-between;
    }
    body.about.kind_53 .d-flex .list_item .info, body.about.kind_60 .d-flex .list_item .info {
        width: 60%;
        margin: 0 auto;
    }
}
@media (max-width: 767px) {
    .header .navbar.logo-mob-show .navbar-brand .logo, .header .navbar.newtop.logo-show:not(.logo-ani-show) .navbar-brand .logo, .header .navbar.newtop.logo-show:not(.logo-ani-show-bg) .navbar-brand .logo {
        display: none;
    }

    body.home .product_box .item {
        width: calc(100% / 2);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        padding-right: calc(var(--bs-gutter-x) * 0.5);
    }
    body.home .ab_box {
        background-size: 100%;
    }
    .navbar .navbar-brand {
        width: 200px;
        height: auto;
    }
    .header .navbar > .container {
        max-width: 100%;
    }
    .navbar .small-btn-box a {
        font-size: 18px;
    }

    body.about .txt .bottombox > .row > div + div {
        margin-top: 30px;
    }
    body.about .middlebox ul {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 10px;
    }
body.about.kind_53 .d-flex .list_item, body.about.kind_60 .d-flex .list_item {
    width: calc(100% / 3);
}
    body.about.kind_53 .d-flex .list_item:nth-child(3n+2),
 body.about.kind_60 .d-flex .list_item:nth-child(3n+2) {
        margin: 45px -20px -5px -20px;
    }    

body.about.kind_60 .d-flex .list_item .info p {
        width: 100%;
    }
body.about.kind_53 .d-flex .list_item .info, body.about.kind_60 .d-flex .list_item .info {
        width: 100%;
        margin: 0 auto;
    }
    .tab-area.tab-accordion .tab-accordion-body {
        background: none;
    }
    body.product.show .mt-5 {
        margin-top: 30px !important;
    }
}


@media (max-width: 575px) {
    .navbar .navbar-brand {
        width: 145px;
        height: auto;
    }
    .footer .footer-info .container.inner .tat_x li {
        width: 100%;
    }
    .footer .foot-info-box .foot-info-share {
        width: 100%;
    }
    body.about .txt .bottombox {
        background: url(../images/bottombgm.jpg) right top no-repeat;
        background-size: cover;
    }
    body.about.kind_53 .d-flex .list_item:nth-child(3n+2), body.about.kind_60 .d-flex .list_item:nth-child(3n+2) {
        margin: 0;
    }
    body.about.kind_53 .d-flex .list_item, body.about.kind_60 .d-flex .list_item {
        width: calc(100% / 2 - 10px);
    }
    body.about .middlebox ul {
        display: block;
    }
}
@media (max-width: 575px) and (min-width:460px) {
    body.about.kind_53 .d-flex .list_item:nth-child(2n), body.about.kind_60 .d-flex .list_item:nth-child(2n) {
        margin-top: 65px;
        margin-left: -38px;
    }
}

@media (max-width: 450px) {
    body.home .product_box .item {
        width: 100%;
    }
}
