/*
Theme Name: CUBIC
Description: CUBIC Template
Author: 管理人
*/



body{
    width: 100%;
    overflow-x: hidden;
    line-height: 1.8em;
    font-family: "kozuka-gothic-pr6n", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.15em;
    color: #374467;
}
main{
    background-color: #fff;
}
.in{
    margin: auto;
}
ul,li{
    list-style: none;
}
a{
    display: inline-block;
    transition: 0.5s;
}
a:hover{
    
}
img{
    display: inline-block;
    clear: both;
    max-width: 100%
}
.Myriad{
    font-family: "myriad-pro", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.Garamond{
    font-family: "garamond-premier-pro", serif;
    font-weight: 400;
    font-style: normal;
}
/*リンクボタン----------*/

.link_box{
    margin-top: 50px;
}
.link_text{
    display: inline-block;
    min-width: 12em;
    padding: 1em 2em;
    border-radius: 2em;
    background-color: #0011ff;
    color: #fff;
    position: relative;
    & span.arrow_right{
        position: absolute;

    }
}
.arrow_right{
    position: relative;
    display: inline-block;
    width: 1em;
    height: 2px;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 0.5em;
    border-radius: 9999px;
    background-color: currentColor;
    &::before,&::after{
        content: "";
        position: absolute;
        top: calc(50% - 1px);
        right: 0px;
        width: 0.8em;
        height: 2px;
        border-radius: 9999px;
        background-color: currentColor;
        transform-origin: calc(100% - 0px) 50%;
    }
    &::before{
        transform: rotate(28.5deg);
    }
    &::after{
        transform: rotate(-28.5deg);
    }
}
/**************************
 * ヘッダー
 **************************/
header{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    animation: hed_glass linear both;
    animation-timeline: scroll();
    animation-range: 0 150px;
    z-index: 11;
}
@keyframes hed_glass {
    to {
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}
#header{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    padding: 1em;
    font-size: 18px;
    color: #99a1aa;
    & #menu-hed_menu{
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: flex-end;
        justify-content: flex-end;
        -webkit-align-items: center;
        align-items: center;
        gap: 0.5em 2.5em;
        flex-wrap: wrap;
        & li{
            font-weight: 600;
        }
        & .link_text{
            font-size: 15px;
            & .arrow_right{

            }
        }
        
    }
}
.menu-main_menu-container{
    text-align: center;
    & span{
        font-size: 9px;
        display: block;
        line-height: 1;
    }
}

/**************************
* フッター
**************************/
body :has(.home_content) .foot_recruit{
    background-image: url(images/moya_05.svg);
    background-size: 69%;
    background-position: 180% top;
    background-repeat: no-repeat;
}
.foot_recruit{
    
    padding: 100px 0 10vw;
    & a{
        font-size: 100px;
        line-height: 1;
        color: #fff;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: flex-end;
        justify-content: flex-end;
        -webkit-align-items: center;
        align-items: center;
        padding: 1em 0.5em;
        position: relative;
        background-image: url(images/foot_recruitm.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 0.5em;
        overflow: hidden;
        &::before{
            content: "";
            display: block;
            position: absolute;
            background-image: url(images/foot_recruitb.png);
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            width: 100%;
            left: 0;
            top: 0;
            bottom: 0;
            mix-blend-mode: lighten;
        }
        & p{
            font-size: 22px;
            line-height: 1.5;
        }
        & .foot_recruit_text{
            position: relative;
            z-index: 1;
        }
    }
}
.foot_contct_button{
    & a{
        font-size: 58px;
        line-height: 1.5;
        color: #fff;
        width: 7.2em;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-align-items: flex-end;
        align-items: flex-end;
        margin: auto;
        background-image: url(images/foot_contct_button.jpg);
        background-position: center;background-repeat: no-repeat;
        background-size: cover;
        padding: 0.5em 0.5em;
        border-radius: 0.5em;
        & b.Myriad{
            font-weight: 600;
        }
        & p{
            font-size: 14px;
        }
        & .arrow_right{
            font-size: 29px;
            margin: 0 0 10px;
        }
    }
}
#footer{
    margin-top: 105px;
    background-color: #374467;
    color: #fff;
    padding: 85px 0 10px;
    & .foot_contct{
        margin-bottom: 70px;
        & ul{
            display: -webkit-flex;
            display: flex;
            -webkit-justify-content: center;
            justify-content: center;
            & li{
                display: -webkit-flex;
                display: flex;
                -webkit-justify-content: center;
                justify-content: center;
                -webkit-align-items: center;
                align-items: center;
                line-height: 1.5;
                &.foot_contct_text{
                    font-size: 21px;
                    & span{
                        font-size: 12px;
                    }
                }
                &.foot_tel_text{
                    font-size: 32px;
                    & span{
                        font-size: 14px;
                    }
                }
                & span{
                    display: block;
                }
            }
        }
    }

    & .foot_logos {
        display: flex;
        gap: 13px;
        & .foot_right_box {
            display: flex;
            flex-direction: column;
            gap: 8px; 
        }
        & .foot_address{
            font-size: 13px;
            line-height: 1.5;
        }
    }

    & .foot_nav ul{
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
        font-size: 22px;
        gap: 0.5em 2em;
    }
    & .foot_nav ul{
        -webkit-justify-content: flex-end;
        justify-content: flex-end;
        & li{
            position: relative;
            & + li:before{
                content: "";
                display: block;
                width: 1px;
                height: 1em;
                position: absolute;
                background-color: #fff;
                transform: rotate(36deg);
                left: -1em;
                top: 0.3em;
            }
        }
    }
    & .cc{
        text-align: center;
        font-size: 11px;
    }
}
/*---------------------
* 見出し
* -------------------*/
h2{
    font-size: 30px;
    color: #0011ff;
    margin-bottom: 1em;
    line-height: 1.5em;
}
h3{
    font-size: 28px;
    font-weight: 500;
    color: #0011ff;
    line-height: 1.5em;
    margin-bottom: 0.8em;
}
h4{
    font-size: 25px;
}
h5{
    
}
h6{
    
}
.contentbox_title{
    margin-bottom: 60px;
    & h4{
        & strong{
            color: #0011ff;
        }
        & span{
            display: block;
            position: relative;
            font-size: 11px;
            margin-top: 2em;
            &::before{
                content: "";
                display: block;
                position: absolute;
                left: 0;
                top: -1em;
                width: 4em;
                height: 1px;
                background-color: #374467;
            }
        }
    }
}
/*---------------------
 * ホーム
 * -------------------*/
.home_content{
    &:has(.moya){
        position: relative;
        padding: 100px 0;
    }
    & .home_content_box{
        position: relative;
    }
}
.home_text{
    font-size: 1.12em;
    line-height: 2.5;
}
.home_taotl{
    position: relative;
    font-size: 20px;
    color: #8d97a0;
    padding-top: 2.5em;
    &::before{
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 0.7em;
        height: 0.7em;
        border: 2px solid #0011ff;
        border-radius: 50%;
    }
}
.moya{
    position: absolute;
    & > img{
        width: 100%;
    } 
}

/*つないでむすぶ*/
.home_01{
    &::before{
        content: "";
        width: 98%;
        padding-top: 16%;
        /* height: 300px; */
        display: block;
        margin: auto;
        position: absolute;
        background-color: #374467;
        opacity: 0.1;
        left: 0;
        right: 0;
        z-index: 1;
        bottom: 49px;
    }
    & .moya{
        top: -10px;
        right: 5%;
        width: 66%;
		max-width: 1025px;
    }
    .home01_content{
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        & .home01_l{

            & .home01_taitl{
                color: #374467;
                padding-bottom: 0.6em;
                position: relative;
                &::before{
                    content: "";
                    display: block;
                    position: absolute;
                    height: 1px;
                    width: 3em;
                    left: 0;
                    bottom: 0;
                    background-color: #99a1aa;
                }
            }
            & .home01_text_taitl{
                color: #0011ff;
                font-size: 76px;
                margin: 0.7em 0;
                line-height: 1.2;
            }
        }
        & .home01_r{
            border-radius: 50%;
            position: relative;
            overflow: hidden;
            &::before{
                content: "";
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-image: url(images/homemask_1.png);
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                mix-blend-mode: screen;
            }
            & img{
                width: 100%;
            }
        }
    }
}
/*ホーム日海通信工業株式会社について*/
.home_02{
    &::before{
        content: "";
        width: 62%;
        padding-top: 16%;
        display: block;
        position: absolute;
        background-color: #374467;
        opacity: 0.1;
        right: 0;
        z-index: 1;
        bottom: 49px;
    }
    & .moya{
        right: -7%;
        bottom: -4%;
        width: 60%;
		max-width:1010px;
    }
    & .home02_textbox{
        margin-top: 100px;
    }
    & .home02_img{
        width: 40%;
		max-width:500px;
        margin-left: auto;
        margin-right: -5%;
        border-radius: 50%;
        margin-top: -27%;
        overflow: hidden;
        position: relative;
        &::before{
            content: "";
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url(images/homemask_2.png);
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }
        & img{
            width: 100%;
        }
    }
}
/*ホーム事業内容*/
.home_03{
    & .moya{
        width: 70%;
    }
    & .moya:nth-child(1){
        left: -55%;
        bottom: 23%;
    }
    & .moya:nth-child(2){
        right: -50%;
        top: 22%;
    }
    & .home03_hed{
        display: -webkit-flex;
        display: flex;
        gap: 60px;
        margin-top: 30px;
    }
    & .home03_list{
        margin-top: 50px;
        position: relative;
        &::before{
            content: "";
            width: 120%;
            padding-top: 19%;
            display: block;
            position: absolute;
            background-color: #374467;
            opacity: 0.1;
            right: 0;
            left: -10%;
            bottom: -75px;
            margin: auto;
            z-index: 1;
        }
        & ul{
            display: -webkit-flex;
            display: flex;
            -webkit-justify-content: space-between;
            justify-content: space-between;
            gap: 2em;
            & li{
                & .home03_listhed{
                    color: #0011ff;
                    display: -webkit-flex;
                    display: flex;
                    -webkit-align-items: center;
                    align-items: center;
                    gap: 20px;
                    letter-spacing: 0;
                    transform: translatey(50%);
                    position: relative;
                    z-index: 1;
                    & .home03_no{
                        font-size: 62px;
                        line-height: 1;
                    }
                    & .home03_listtaitl{
                        font-weight: 600;
                        & p{
                            font-size: 36px;
                            line-height: 1;
                        }
                        & span{
                            display: block;
                            font-size: 19px;
                            line-height: 1;
                        }
                    }
                    
                }
                & .home03_listimg{
                    overflow: hidden;
                    border-radius: 20px;
                    position: relative;
                    &::before{
                        content: "";
                        display: block;
                        position: absolute;
                        top: -20%;
                        left: -20%;
                        width: 140%;
                        height: 140%;
                        margin: auto;
                        background-image: url(images/homemask_2.png);
                        background-position: center;
                        background-repeat: no-repeat;
                        background-size: cover;
                        mix-blend-mode: screen;
                    }
                    & >div{
                        padding-top: 103%;
                        background-size: cover;
                        background-position: center;
                        background-repeat: no-repeat;
                    }
                    
                }
                & .home03_listfoot{
                    font-size: 21px;
                    margin-top: 1em;
                }
            }
        }
    }
    & .link_box{
        text-align: center;
        position: relative;
        z-index: 1;
    }
}
/*ホームお知らせ*/
.home_04{
    & .home04_link{
        & a{
            width: 100%;
            max-width: 200px;
            border-bottom: 1px solid #8d97a0;
            position: relative;
            padding-right: 1em;
            & .arrow_right{
                position: absolute;
                right: 0;
            }
        }
    }
}

/****************************
 * 下層ページ
 * **************************/
/*下層ページヘッダー*/
.content_hed{
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 100px;
    & .moya{
        width: 48%;
    }
    & .contenthed_title{
        z-index: 1;
        & h2 span{
            display: block;
            font-size: 0.5em;
            line-height: 1.8;
            color: #abb8c3;
        }
        &:has(.hedimg_03){
            position: absolute;
        }
    }
    & .hedimgs{
        position: relative;
        margin-left: auto;
        & .hedimg{
            border-radius: 50%;
            overflow: hidden;
            position: relative;
            &::before{
                content: "";
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-image: url(images/homemask_1.png);
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                mix-blend-mode: screen;
            }
            & > div{
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                padding-top: 100%;
            }
            &.hedimg_02{
                width: 20%;
                margin-left: auto;
                margin-top: -6%;
            }
            &.hedimg_03{
                width: 25%;
                margin-top: -15%;
                margin-left: 34%;
            }
        }

    }
    &:has(.hedimg_03){
        & .moya{
            top: -60%;
            right: -38px;
            text-align: right;
        }
        & .contenthed_title{
            padding-left: 5%;
            padding-top: 5%;
        }
        & .hedimgs{
            width: 69%;
            & .hedimg_01{
                width: 13%;
                margin-top: -11%;
                margin-left: 0%;
            }
        }
        
    }
    &:not(:has(.hedimg_03)){
        flex-wrap: wrap;
        max-width: 1300px;
        padding: 0 50px;
        margin: 0 auto 100px;
        & .moya{
            width: 60%;
            top: -96px;
            margin-left: 8%;
        }
        & .contenthed_title{
            
        }
        & .hedimgs{
            width: 32%;
            & .hedimg_01{
                transform: translateX(8%);
            }
        }
        & h2{
            & strong{
                font-size: 100px;
                line-height: 1em;
            }
            & span{
                font-size: 22px;
                color: #374467;
            }
        }
        & .hed_text_box{
            position: relative;
            & .hed_text{
                font-size: 17px;
                line-height: 2.5;
            }
        }
    }
    &:not(:has(.hedimg_03,.hedimg_01)){
        margin-bottom: 70px;
        & .moya{
            right: -20%;
            top: -350px;
        }
    }
}
/*****************************
 * 下層ページ共通*/
.maincontent,
.maincontent_wrap{
    position: relative;
    
}
.maincontent_back{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    
    scroll-snap-align: center;
    overflow: clip;
    background-image: url(images/maincontent_back.svg);
    /* background-attachment: fixed; */
    background-size: 120%;
    background-position: top center;
    animation: linear reveal both;
    animation-timeline: view(block);
    animation-range: cover 30% cover 80%;
}
@keyframes reveal {
    from {
        background-position: top center;
    }
    to {
        background-position: bottom center;
    }
}
.p_box + .p_box{
    margin-top: 100px;
}
.text_box + .text_box{
    margin-top: 1em;
}
/**************
* ページナビ*/
.pagination{
    margin-top: 80px;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 5px;
    & span,
    & a{
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        width: 1.8em;
        height: 1.8em;
        border: 1px solid #0011ff;
        line-height: 1;
        border-radius: 5px;
    }
    & a{
        background-color: #0011ff;
        color: #fff;
    }
}



/**************
 * お知らせ
 * 
 * お知らせ一覧*/
.news_list{
    & ul{
        border-bottom: 1px solid #8d97a0;
    }
    & li{
        border-top: 1px solid #8d97a0;
    }
    & a{
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        gap: 8px 2em;
        padding: 2em 0;
        & time{
            font-size: 24px;
            color: #0011ff;
        }
        & .news_list_title{
            width: calc(100% - 4em - 5em - 9em);
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
    }
    
}
.news_cat{
    font-size: 11px;
    & span{
        display: inline-block;
        min-width: 7em;
        text-align: center;
        background-color: #0011ff;
        color: #fff;
        line-height: 1.7;
    }
}
/*お知らせサイドナビ*/
.post_box{
    & .newshednav{
        font-size: 0.9em;
        border-top: 1px solid #8d97a0;
        border-bottom: 1px solid #8d97a0;
        & a{
            &.active{
                color: #0011ff;
            }
        }
    }
    
}
/*お知らせ詳細*/
.news_itemimg{
    margin-bottom: 30px;
    text-align: center;
}
.news_box .basebox{
    margin: 30px 0;
}
.content_nav{
    text-align: center;
    & ul{
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        gap: 20px;
        font-size: 20px;
        line-height: 1;
        & li{
            & a,
            & span{
                width: 2em;
                height: 2em;
                display: -webkit-flex;
                display: flex;
                -webkit-justify-content: center;
                justify-content: center;
                -webkit-align-items: center;
                align-items: center;
                border: 2px solid #0011ff;
                background-color: #0011ff;
                color: #fff;
                border-radius: 15px;
            }
            & span{
                opacity: 0.5;
            }
        }
    }
}

/*詳細ページ*/

.basebox{
    & img{
        display: block;
        &.alignleft{
            float: left;
        }
        &.aligncenter{
            margin: auto;
        }
        &.alignright{
            float: right;
        }
        & :is(td, th){
            padding: revert-layer;
        }
        & :is(ul,ol){
            list-style: auto;
        }
        & :is(li){
            list-style: inherit;
        }
    }
    
}

/*採用情報-----*/
/*採用情報一覧-----*/
.recruit{
    /*インタビュー*/
    & .interview-item + .interview-item{
        margin-top: 70px
    }
    & .interview-no{
        color: #0011ff;
        padding-left: 2%;
        & span{
            display: block;
        }
        & p{
            font-size: 100px;
            line-height: 1;
            margin-bottom: -0.6em;
            margin-top: -0.1em;
            position: relative;
            z-index: 1;
        }
    }
    & .interview-img{
        background-color: #fff;
        border-radius: 10px;
        overflow:hidden;
        margin-bottom: 15px;
        & > div{
            padding-top: 100%;
            position: relative;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            opacity: 0.7;
            &::before{
                content: "";
                display: block;
                position: absolute;
                top: -20%;
                left: -20%;
                width: 140%;
                height: 140%;
                margin: auto;
                background-image: url(images/homemask_2.png);
                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;
                mix-blend-mode: screen;
            }
        }
    }
    & .interview-deta{
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
        gap: 0 1em;
    }
    & .interview-meta {
        position: relative;
        & .interview-heading{
            writing-mode: vertical-rl;
            position: absolute;
            right: 20px;
            top: 47%;
            line-height: 1.8;
            & span{
                background-color: #0011ff;
                color: #fff;
                padding: 6px;
            }
        }
    }

    /**/
    & .joblist{
        & ul{
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
            grid-gap: 1rem;
            & li{

            }
            & a{
                width: 100%;
                height: 100%;
                padding: 60px 10px;
                border: 3px solid #a7aaad;
                border-bottom: 3px solid #0011ff;
                font-size: 14px;
                text-align: center;
                & .recruitlist_taitl {
                    font-weight: 600;
                    margin: 0.3em 0;
                }
            }
        }
    }

}
/*採用情報詳細-----*/
.recruit_table{
    max-width: 900px;
    margin: auto;
    padding: 50px 5%;
    background-color: #fff;
    
}

.table_box{
    & table{
        width: 100%;
        & tr{
            border-bottom: 4px solid #fff;
        }
        & th{
            background-color: #788198;
            font-weight: 500;
            color: #fff;
        }
        & td{
            background-color: #eeefef;
        }
        & th,& td{
            padding: 10px;
        }
    }
}

/*事業実績-----------*/
/*事業実績一覧*/
.project_cat {
    margin-bottom: 50px;
    & ul{
        display: -webkit-flex;
        display: flex;
        & li{
            width: 25%;
            text-align: center;
            & a{
                display: block;
                padding: 0.5em 0;
                background-color: #f0f0f1;
                
                &.active{
                    background-color: #0011ff;
                    color: #fff;
                }
            }
        }
    }
}
.project_list{
    & ul li{
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        & .project_listtext{
            width: 43%;
            & h3{
                & small{
                    display: inline-block;
                    margin-left: 0.5em;
                    font-size: 0.7em;
                    
                }
            }
        }
        & .project_listimg{
            width: 43%;
            & a{
                display: block;
                & div{
                    padding-top: 67%;
                    background-position: center;
                    background-repeat: no-repeat;
                    background-size: cover;
                }
            }
        }
        & + li{
            padding-top: 60px;
            margin-top: 60px;
            border-top: 1px solid #788198;
        }
    }
}
/*事業実績詳細*/
.project_contenthed{
    text-align: center;
    margin-bottom: 40px;
    & h2{
        margin-bottom: 0;
    }
}
.project_itemimg{
    text-align: center;
    margin-bottom: 40px;
}
.project_imgs{
    margin-top: 40px;
    & ul{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
        grid-gap: 1rem;
        & a{
            display: block;
            position: relative;
            height: 200px;
            & img{
                object-fit: cover;
                width: 100%;
                height: 100%;
            }
            & i{
                position: absolute;
                right: 10px;
                bottom: 10px;
                font-size: 23px;
                opacity: 0.5;
            }
        }
        & .project_imgtext{
            margin-top: 1em;
        }
    }
}
.lum-lightbox.lum-open{
    z-index: 11;
}

/****************************
* 固定ページ
* **************************/

/*事業内容-----*/
.services-container{
    & .service_rootbutton{
        & ul{
            display: -webkit-flex;
            display: flex;
            -webkit-justify-content: center;
            justify-content: center;
            & li{
                &:not(:has(.active)){
                    & a .tab_name{
                        display: -webkit-flex;
                        display: flex;
                        -webkit-justify-content: center;
                        justify-content: center;
                        -webkit-align-items: center;
                        align-items: center;
                        gap: 1em;;
                    }
                }
            }
            & a{
                border-bottom: 0;
                border-top-left-radius: 10px;
                border-top-right-radius: 10px;
                color: #fff;
                background-color: #0011ff;
                padding: 13px 30px;
                display: -webkit-flex;
                display: flex;
                -webkit-justify-content: center;
                justify-content: center;
                -webkit-align-items: center;
                align-items: center;
                gap: 10px;
                &.active{
                    background-color: #fff;
                    position: relative;
                    z-index: 1;
                    padding-bottom: 20px;
                    color: #374467;
                }
                & .tab_no{
                    font-size: 37px;
                    line-height: 1;
                }
                & .tab_name{
                    & .root-title-large{
                        font-size: 17px;
                        
                    }
                    & .root-title-small{
                        font-size: 9px;
                        line-height: 1;
                    }
                }
            }
        }
    }
}
.service-root-item{
    display: none;
    border-radius: 10px;
    border: 2px solid #0011ff;
    padding: 70px 5%;
    background-color: #fff;
    &.active{
        display: block;
    }
    & .root-description{
        font-size: 20px;
        line-height: 1.8;
    }
    & .field-text{
        margin-bottom: 1em;
    }
    & .field-box-item{
        margin-top: 100px;
    }
    & .field-images-gallery{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
        grid-gap: 2rem;
        & img{
            border-radius: 10px;
        }
    
    }
}


/*お問い合わせ*/
.contact_boxwrap{
    & .contact_hedtext{
        text-align: center;
    }
    & .contact_form{
        background-color: #fff;
        padding: 50px 5%;
    }
    & dl{
        gap: 5px 10px;
        & dt{
            background-color: #788198;
            font-weight: 400;
            color: #fff;
            & label{
                display: -webkit-flex;
                display: flex;
                -webkit-justify-content: space-between;
                justify-content: space-between;
                -webkit-align-items: center;
                align-items: center;
                height: 100%;
            }
            & span{
                font-size: 10px;
                display: inline-block;
                background-color: #9e9e9f;
                line-height: 1;
                padding: 0.5em;
            }
        }
        & dd{
            background-color: #eeefef;
            & input{
                &[type="text"],
                &[type="email"],
                &[type="tel"],
                &[type="file"]{
                    background-color: #fff;
                    padding: 5px 10px;
                } 
            }
            & textarea{
                background-color: #fff;
                width: 100%;
                padding: 10px;
            }
        }
        & dt,
        & dd{
            padding: 10px 20px;
        }
    }
    & dl + dl{
        margin-top: 10px;
    }
    & .contact_foot{
        margin-top: 20px;
        background-color: #eeefef;
        padding: 30px;
        & h5{
            font-size: 19px;
            margin-bottom: 0.5em;
        }
    }
    & .contact_submit,
    & .wpcf7cp-btns{
        margin-top: 30px;
        text-align: center;
    }
    & input[type="submit"],
    & button{
        background-color: #788198;
        color: #fff;
        font-size: 20px;
        padding: 0.5em 2em;
    }
    & div#wpcf7cpcnf{
        z-index: 10;
    }
}

/*概要----------*/


/*歴史*/
.history-table{
	& li{
		position:relative;
		padding-bottom:60px;
		padding-left: 40px;
		&::before{
			content: "";
            width: 12px;
            height: 12px;
            display: block;
            position: absolute;
            left: 10px;
            top: 10px;
            background-color: #fff;
            border: 3px solid #0011ff;
            border-radius: 50%;
            z-index: 1;
		}
		&::after{
			content: "";
            position: absolute;
            left: 15px;
            top: 0;
            display: block;
            width: 2px;
            height: 100%;
            background-image: repeating-linear-gradient(0deg, #99a1aa, #99a1aa 10px, transparent 10px, transparent 20px);
		}
		& h3{
			font-size:23px;
		}
	}
}
/*営業拠点----------*/
.base-list-tab{
	& ul{
		display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
        grid-gap: 10px 1rem;
        text-align: center;
		& a{
			padding: 0.5em;
            background-color: #fff;
            display: block;
            border: 2px solid;
			&.active{
				background-color: #374467;
                color: #fff;
			}
		}
	}
}
.base-list-container{
	& .base-item-card {
		display:none;
		margin-top: 30px;
		&.active{
			display:block;
		}
		& .base-item-wrap{
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
			grid-gap: 2em;
			& iframe{
				width:100%;
			}
			& .base-image{
				text-align:center;
				margin-bottom:20px;
			}
		}
	}
	
}


