/* CSS Document */
.sectiontitle {
    text-align: center;
}

/***********************
 *
 *     keyV
 *
 ***********************/
main .keyV {
    height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
    top: 0;
    z-index: 0;
    background: #fff;
}

@-webkit-keyframes kenburns {
    0% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

@keyframes kenburns {
    0% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

main .keyV .bg_image {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

/*main .keyV .bg_image::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 2;
}*/
main .keyV.static .bg_image {
    position: static;
}

main .keyV .keyV_inner {
    height: auto;
    position: absolute;
    width: 90%;
    text-align: center;
    top: 55%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2;
}

main .keyV .keyV_inner .keyV_title {
    margin: auto;
    transform: translateY(-30px);
    opacity: 0;
    -webkit-animation: fadeIn 0.5s ease 1.5s 1 forwards;
    animation: fadeIn 0.8s ease 1.5s 1 forwards;
    color: #fff;
    /*max-width: 600px;*/
    text-align: center;
    font-size: 3.0vw;
    font-weight: bold;
    text-shadow: 1px 1px 20px rgba(0, 0, 0, .5),
        -1px 1px 20px rgba(0, 0, 0, .5),
        1px -1px 20px rgba(0, 0, 0, .5),
        -1px -1px 20px rgba(0, 0, 0, .5);
    /*-webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #000;
    -webkit-text-fill-color: white;*/
}

main .keyV .keyV_inner .item_lineup.flex {
    -webkit-align-items: flex-end;
    align-items: flex-end;
    -wwebkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    margin-top: 2em;
}

.product_item {
    opacity: 0;
    transform: translateY(20px);
}

.product_item:nth-child(1) {
    -webkit-animation: fadeIn 0.5s ease 0.2s 1 forwards;
    animation: fadeIn 0.5s ease 0.2s 1 forwards;
}

.product_item:nth-child(2) {
    -webkit-animation: fadeIn 0.5s ease 0.3s 1 forwards;
    animation: fadeIn 0.5s ease 0.3s 1 forwards;
}

.product_item:nth-child(3) {
    -webkit-animation: fadeIn 0.5s ease 0.4s 1 forwards;
    animation: fadeIn 0.5s ease 0.4s 1 forwards;
}

.product_item:nth-child(4) {
    -webkit-animation: fadeIn 0.5s ease 0.5s 1 forwards;
    animation: fadeIn 0.5s ease 0.5s 1 forwards;
}

.product_item:nth-child(5) {
    -webkit-animation: fadeIn 0.5s ease 0.6s 1 forwards;
    animation: fadeIn 0.5s ease 0.6s 1 forwards;
}

.product_item:nth-child(6) {
    -webkit-animation: fadeIn 0.5s ease 0.7s 1 forwards;
    animation: fadeIn 0.5s ease 0.7s 1 forwards;
}

@keyframes fadeIn {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/***********************
 *
 *     pickup
 *
 ***********************/
.pickup {
    background: #fff;
    padding-bottom: 0;
}

.grid-pickup {
    display: -ms-grid;
    display: grid;
    gap: 1.3em;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    -ms-grid-rows: auto;
}

.grid-pickup .pickup-item p:first-of-type {
    margin-bottom: .5em;
}

@media all and (-ms-high-contrast: none) {

    /* ここに書く */
    .grid-pickup>* {
        padding: 1.3em;
    }

    .grid-pickup .pickup-item:nth-child(1) {
        -ms-grid-column: 1;
    }

    .grid-pickup .pickup-item:nth-child(2) {
        -ms-grid-column: 2;
    }

    .grid-pickup .pickup-item:nth-child(3) {
        -ms-grid-column: 3;
    }

    .grid-pickup .pickup-item:nth-child(4) {
        -ms-grid-column: 4;
    }

    .grid-pickup .pickup-item:nth-child(5) {
        -ms-grid-column: 1;
        -ms-grid-row: 2;
    }

    .grid-pickup .pickup-item:nth-child(6) {
        -ms-grid-column: 2;
        -ms-grid-row: 2;
    }

    .grid-pickup .pickup-item:nth-child(7) {
        -ms-grid-column: 3;
        -ms-grid-row: 2;
    }

    .grid-pickup .pickup-item:nth-child(8) {
        -ms-grid-column: 4;
        -ms-grid-row: 2;
    }
}

/***********************
 *
 *     business
 *
***********************/
.business {
    background: #fff;
    padding-bottom: 0;
}

.business .business_inner {
    /*background: url("../image/01.jpg") center /cover no-repeat;*/
    height: 100%;
    max-width: 1280px;
    margin: auto;
}

.business .business_list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
}

.business .business_list.company_list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
}

.business .business_item:nth-child(1) {
    -ms-grid-column: 1;
}

.business .business_item:nth-child(2) {
    -ms-grid-column: 2;
}

.business .business_item:nth-child(3) {
    -ms-grid-column: 3;
}

.business .business_list a:hover {
    opacity: 1;
    font-weight: bold;
}

.business .business_list a {
    display: block;
    color: #fff;
    /*height: 250px;*/
    height: 100%;
    position: relative;
}

.business .business_list .business_item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.business .business_list .business_item .text_box {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.business .business_list .business_item::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity .3s ease;
    z-index: 1;
    pointer-events: none;
}

.business .business_list .business_item:hover::before {
    opacity: 0;
}

.business .business_list .business_item:nth-child(2n-1)::before {
    background-color: rgba(1, 32, 74, 0.4);

}

.business .business_list .business_item:nth-child(2n)::before {
    background-color: rgba(1, 32, 74, 0.3);
}

/***********************
 *
 *     news
 *
 ***********************/
.news {
    background: #fff;
}

.news input[name="tab_item"] {
    display: none;
}

.news .tab_item {
    width: 25%;
    display: block;
    text-align: center;
    padding: .5em 1em;
    cursor: pointer;
    transition: all .3s ease;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    float: left;
}

.news .tab_item:first-of-type {
    border-left: 1px solid #ccc;
}

.news input:checked+.tab_item {
    background-color: #f7f7f7;
    font-weight: bold;
}

.news .tab_item:hover {
    background: #f7f7f7;
    font-weight: bold
}

.news .tabs_container {
    border: 1px solid #ccc;
    clear: both;
}

.news .tab_box .information:not(:last-child) {}

.news .tab_box .information {
    padding: 1em 2em;
}

.news .tab_box .information:nth-of-type(2n-1) {
    background: #f7f7f7;
}

.news .tab_box .information dd,
.news .tab_box .information dt {
    display: inline-block;
}

.news .tab_box .information .tag {
    width: 130px;
}

.news .tab_box .information .tag a {
    display: inline-block;
    background: #0075CA;
    color: #fff;
    padding: 0 8px;
    margin-left: 1em;
    border-radius: 8px;
}

.news .tab_box {
    /* display: none; */
}

#tab-all:checked~.tabs_container #all_content,
#tab-news:checked~.tabs_container #news_content,
#tab-press:checked~.tabs_container #press_content,
#tab-products:checked~.tabs_container #products_content {
    display: block;
}

.news_archive_link {
    display: block;
    max-width: 300px;
    padding: 10px 40px;
    border: solid 1px #ccc;
    background-color: #fff;
    text-align: center;
    margin: 50px auto 0;
}

/***********************
 *
 *     view
 *
 ***********************/
.view {
    height: 60vh;
    position: relative;
}

.view::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("../image/01.jpg") center /cover no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/***********************
 *
 *     recruit
 *
 ***********************/
.recruit_wrap {
    background: #fff;
    padding-bottom: 0;
    padding-top: 4em;
}

.recruit .bosyu a {
    width: 50%;
    height: 250px;
    color: #fff;
    background: #d5d5d5;
    border: 1px solid #fff;
    position: relative;
}

.recruit .bosyu a span {
    position: relative;
}

.recruit .bosyu a::before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
    background: #0075CA;
    position: absolute;
    top: 0;
    left: 0;
    transition: width .3s ease;
}

.recruit .bosyu a:hover {
    opacity: 1;
}

.recruit .bosyu a:hover::before {
    width: 100%;
}

@media screen and (max-width:768px) {
    main .keyV .keyV_inner .keyV_title {
        width: 100%;
        font-size: 6vw;
    }

    .product_item img {
        width: 80%;
    }

    .grid-pickup {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .business .business_list.company_list {
        grid-template-columns: auto;
    }

    .business .business_list {
        -ms-grid-columns: auto;
        grid-template-columns: auto;
        -ms-grid-rows: 150px 150px 150px;
        grid-template-rows: 200px 200px 200px;
    }

    .business .business_list .business_item {
        height: auto;
        width: 100%;
    }

    .business .business_list .business_item img {
        width: 100%;
    }

    .business .business_list .business_item:nth-child(3)::before {
        background-color: rgba(1, 32, 74, 0.3);
    }

    .business .business_list .business_item:nth-child(4)::before {
        background-color: rgba(1, 32, 74, 0.4);
    }

    .news .tab_item:nth-of-type(2n-1) {
        border-left: 1px solid #ccc;
    }

    .news .tab_item {
        width: 50%;
    }
}

@media screen and (max-width:480px) {
    main .keyV {
        height: 70vh;
    }

    /*main .keyV::before{
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        top: 0;
        left: 0;
        background-image: linear-gradient(-45deg,transparent 25%, #000 25%, #000 50%, transparent 50%, transparent 75%,#000 75%, #000 );
        background-size: 2px 2px;
    }*/
    .pickup {
        padding: 1.5em 0;
    }

    .view {
        padding: 6% 0;
        height: 50vh;
    }
}

.business.index-business .business_list {
    grid-template-columns: 32% 32%;
    place-content: center;
}

@media screen and (max-width: 768px) {
    .business.index-business .business_list {
        grid-template-columns: auto;
        width: 100%;
        place-content: normal;
        grid-template-rows: 200px 200px;
    }
}