@charset "utf-8";

.company_nav ol{
    display:grid;
    grid-template-columns: repeat(6,1fr);
    grid-gap:0.5em 1em;
    margin:3em 0 0;
    padding:0;
    list-style: none;
}
.company_nav li{
    display:block;
    text-align: center;
}
.company_nav a{
    display:block;
    background:#dcf6ff;
    box-sizing:border-box;
    padding:1em 0.5em;
    border-radius:0.5em;
    font-weight: bold;
    color:#0088e8;
}
.company_nav a:visited{color:#0088e8;}
.company_nav a:hover{transform:translate(0,2px);}

.info_detail_table{
    border-collapse: collapse;
    width:100%;
}
.info_detail_table tr{
    border-top:1px solid navy;
}
.info_detail_table th{
    width:25%;
    vertical-align: top;
    padding:1em 0;
}
.info_detail_table_tit{
    display:flex;
    flex-flow: column wrap;
    justify-content: center;
    color:navy;
    font-weight:bold;
    font-size:1.8rem;
    box-sizing: border-box;
    padding:0 0 0 1em;
}
.info_detail_table td{
    box-sizing: border-box;
    padding:0.5em 1em;
}
.info_detail_table hr.anchor{
    height:1px;
    margin:0;
}
.com_info_map{
    display:block;
    width:100%;
    max-width:100vw;
    overflow: hidden;
}

#company_items{margin:2em 0 1em;}
#company_items li{
    display:block;
    aspect-ratio: 1 / 0.65;
}
#company_items li a{
    display:block;
    width:100%;
    height:100%;
    border-radius:1em;
    overflow: hidden;
    background: #dcf6ff;
}

#info_area table{
    background: linear-gradient(#efefef, #eaf7fb);
    border-collapse: collapse;
}
#info_area table th,
#info_area table td{
    box-sizing: border-box;
    padding:5px 10px;
    border:1px solid #366987;
    color:#366987;
}

#info_unnei{
    display:flex;
    flex-flow: row wrap;
    gap:3em 2em;
}
#info_unnei li{
    width:calc((100% - 4em) / 3);
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    border-radius:1em;
    box-sizing: border-box;
    border:2px solid #0088e8;
    overflow: hidden;
    place-content: stretch;
}
.info_unnei_img{
    display:block;
    width: 100%;
    height:auto;
    aspect-ratio: 1 / 0.7;
    overflow: hidden;
}
.info_unnei_img img{
    display:block;
    width:100%;
    height:100%;
    object-fit: cover;
    object-position:center ;
}
.info_unnei_text{
    box-sizing: border-box;
    padding:0.5em 1em;
    display:flex;
    flex-flow: column wrap;
    align-items: center;
}
.info_unnei_title{
    display:flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    min-height:3.5em;
}
.info_unnei_text > a{
    display:block;
    background: #0088e8;
    color: #fff;
    width:fit-content;
    box-sizing: border-box;
    border-radius: 0.5em;
    margin-top:auto;
    margin-bottom:0.5em;
    padding:0.3em 0.5em;
}
.info_unnei_text p:not(.info_unnei_title){
    font-size: 1.4rem;
    line-height: 2;
    padding-bottom: 0.5em;
}

.faq_item{
    display:grid;
    grid-template-columns: 30% 1fr;
    grid-gap:1em;
}
.faq_item p.q{
    grid-row:1;
    grid-column: 1 / 3;
}
.faq_img{
    grid-row:2;
    grid-column: 1;
}
.faq_txt{
    grid-row:2;
    grid-column: 2;
}



/*会社の歴史*/
#info_histroies{
    background: #dcf6ff;
}
#info_histroies .tit12 span{
    display:block;
    position: relative;
    z-index:5;
}
#info_histroies .tit12::before{
    z-index:2;
}

.history_container{
    box-sizing: border-box;
    position: relative;
    padding-left: 220px;
}

.history_controll_btn{
    display:none;
}

.history_controll_wrap{
    box-sizing:border-box;
}

.history_controll_page,
.history_controll{
    margin:0;
    padding:0;
    list-style:none;
}

.history_controll_page a,
.history_controll li a{
    text-decoration:none;
    display:block;
}

.history_controll_page li{
    margin:0;
    padding:0;
}
.history_container{
    position:relative;
    padding-left:220px;
}

.history_controll_wrap{
    position:absolute;
    top:0;
    left:0;
    width:200px;
    z-index:20;
}

.history_controll_details{
    margin:0;
    padding:0;
    border:none;
    background:none;
}

.history_controll_details summary{
    display:none;
}

.history_controll{
    display:flex;
    flex-flow:column wrap;
    align-items:center;
    justify-content:flex-start;
    gap:1em 0;
    width:100%;
}

.history_controll.is-fixed{
    position:fixed;
}

.history_controll.is-bottom{
    position:absolute;
    top:auto;
    bottom:0;
    left:0;
}

.history_controll li{
    display:flex;
    align-items:center;
    justify-content:center;
    width:fit-content;
    min-width:4.8em;
    min-height:4.8em;
    height:auto;
    aspect-ratio:1 / 1;
    font-weight:bold;
    background:#0088e85c;
    border-radius:50%;
    box-sizing:border-box;
    padding:0 0.5em;
    font-size:90%;
    cursor:pointer;
    transition:0.3s;
    margin:0;
}

.history_controll li span{
    font-size:120%;
}

.history_controll li a,
.history_controll li a:visited{
    color:inherit;
}

.history_controll li.active{
    background:#0088e8;
    color:#fff;
}

.history_controll li.active a,
.history_controll li.active a:visited{
    color:#fff;
}

.history_controll li.is-hidden{
    display:none;
}

.history_controll li.is-ellipsis{
    pointer-events:none;
    background:transparent;
    min-width:auto;
    min-height:auto;
    aspect-ratio:auto;
    border-radius:0;
    padding:0;
    font-size:120%;
    line-height:1;
    color:#0088e8;
}

.history_controll_page{
    display:none;
}





.histroy_box{
    width:100%;
    margin-left:auto;
    display:grid;
    grid-template-columns: 30% auto;
    grid-gap:0.5em 1em;
    padding-bottom:1em;
}
.histroy_box h3{
    grid-row:1;
    grid-column: 1 / 3;
    font-size: 130%;
    margin: 1em 0;
    box-sizing: border-box;
    padding: 0.5em 1em;
    border-radius: 1em;
    background: #0088e83d;
    border-color: #ffffff #001c6d #0088e8 #00c2ff;
    border-style: solid;
    border-width: 3px;
    box-shadow: inset -6px -3px 23px #0088e8a1;
}
.history_img{
    grid-row:2;
    grid-column: 1;
    width:100%;
	height:fit-content;
    overflow: hidden;
    border-radius:1em;
}
.history_img a{
    display:block;
    width:100%;
    height:100%;
    overflow: hidden;
}
.history_img img{
    display: block;
    width:100%;
    height:100%;
    object-fit: contain;
    object-position: center;
    border-radius:1em;
}
.history_text{
	width:100%;
    grid-row:2;
    grid-column: 2;
    display:flex;
    flex-flow:column wrap;
    gap:1em 0;
    padding:0 0 2em;
}
.histroy_bar{
    width:calc(100% - 1.5em);
    background:#fff;
    border-radius: 1em;
    box-sizing: border-box;
    padding:0.5em 1em;
    position: relative;
    box-shadow: -4px 4px 15px #0088e85c;
    margin-left:auto;
}
.histroy_bar::before{
    content:"";
    display:block;
    width:1.5em;
    height:1em;
    background:#fff;
    position: absolute;
    left:-1.4em;
    top:0;
    bottom:0;
    margin:auto 0;
    clip-path: polygon(0 41%, 100% 0, 100% 100%);

}
.histroy_bar strong{
    color:#0088e8;
}
.histroy_pagelink{
    padding:1em 0 0;
}
.histroy_pagelink a{
    width:fit-content;
    box-sizing:border-box;
    padding:1em;
    background:#0088e8;
    color: #fff;
    border-radius:1em;
    font-weight: bold;
    margin-top:1em;
}
.histroy_pagelink a:visited{color:#fff;}
.histroy_pagelink a:hover{
    background:#ff0;
    color:#0088e8;
}
.history_controll_btn{display:none;}


@media screen and (max-width:800px){
    .company_nav ol{grid-template-columns: repeat(3,1fr);grid-template-rows: auto;}
    #company_items li.flexlist_w4{
        width:calc(50% - 8px);
    }
    #info_area .flexlist_img{
        width:100%;
        order:1;
        text-align: center;
    }
    #info_area .flexlist_txt{
        width:100%;
        order:2;
    }
    #info_area .flexlist_txt table{
        margin:0 auto;
    }
    #com_info_map{
        width:100%;
        max-width: calc(100vw - 200px);
        overflow: hidden;
    }
    #info_unnei{
        gap:1.5em 0;
    }
    #info_unnei li{
        width:100%;
        grid-template-columns: 30% 1fr;
        grid-template-rows: 1fr;
    }
    .info_unnei_img{
        aspect-ratio: inherit;
    }
    #info_no1_detail .flexlist_img{
        width:100%;
        height:35vh;
        overflow: hidden;
        border-radius: 1em;
        background:#3cf0ff;
    }
    #info_no1_detail .flexlist_img a{
        display: block;
        width: 100%;
        height:100%;
        overflow: hidden;
    }
    #info_no1_detail .flexlist_img img{
        display:block;
        width: 100%;
        height:100%;
        object-fit: contain;
        object-position: center;
    }
    #info_no1_detail .flexlist_txt{
        width:100%;
    }
    .industry_list .flexlist_w4{
        width:calc(50% - 8px);
    }
    .history_container{
        padding-left:130px;
    }
    .history_controll_wrap{
        width:110px;
    }
    .history_controll li{
        min-width:4.2em;
        min-height:4.2em;
        font-size:85%;
    }
}
@media screen and (max-width:640px){
    #com_info_map{
        max-width:98vw;
    }
    .company_nav ol{grid-template-columns: repeat(2,1fr);}

    .info_detail_table,
    .info_detail_table tbody,
    .info_detail_table tr,
    .info_detail_table th,
    .info_detail_table td{display:block;width:100%;box-sizing: border-box;}
    .info_detail_table_tit a{display:none;}

    #info_unnei li{
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    .industry_list .flexlist_w4{
        width:100%;
    }

    .flexlist_img,
    .flexlist_txt{width:100%;flex: 0 0 100%;}
    
    .history_container{
        padding-left:0;
    }

    .history_controll_btn{
        display:flex;
        align-items:center;
        justify-content:center;
        width:50px;
        height:50px;
        border:none;
        border-radius:50%;
        background:#0088e8;
        color:#fff;
        position:fixed;
        bottom:20px;
        left:20px;
        text-align:center;
        z-index:100;
        padding:0;
        box-shadow:0 4px 12px rgba(0,0,0,0.2);
    }

    .history_controll_btn::before{
        content:"menu";
        font-size:12px;
        font-weight:bold;
        line-height:1;
    }

    .history_controll_btn.open::before{
        content:"×";
        font-size:24px;
        font-weight:normal;
    }

    .history_controll_wrap{
        display:none;
		position: fixed;
        left: 0;
        bottom: 80px;
        top: inherit;
        width: 175px;
        max-width: calc(100vw - 40px);
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        border-radius: 0 1em 1em 0;
        z-index: 50;
        padding: 1em 0.75em 0.75em;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
        border: 1px solid #333;
    }

    .history_controll_page{
        display:block;
    }

    .history_controll_page li{
        margin-bottom:0.5em;
    }

    .history_controll_page a{
        display:block;
        padding:0.5em 0.75em;
        background:#f2fbff;
        border-radius:0.5em;
        color:#0088e8;
        font-weight:bold;
        line-height:1.4;
    }

    .history_controll_page_bottom{
        margin-top:0.75em;
    }
	.history_controll_page_bottom li a{
		background:#0088e8;
		color:#fff;
	}

    .history_controll_details{
        display:block;
        margin:0.75em 0;
    }

    .history_controll_details summary{
        display:block;
        cursor:pointer;
        font-weight:bold;
        color:#0088e8;
        padding:0.5em 0.75em;
        background:#eef8ff;
        border-radius:0.5em;
        line-height:1.4;
    }

    .history_controll_details[open] summary{
        margin-bottom:0.75em;
    }

    .history_controll{
        display:flex;
		flex-flow:column wrap;
        position:static;
        width:100%;
       -webkit-overflow-scrolling:touch;
        background:none;
        border-radius:0;
        padding:0 0 0.25em;
        gap:0;
    }

    .history_controll.is-fixed,
    .history_controll.is-bottom{
        position:static;
        top:auto;
        right:auto;
        bottom:auto;
        left:auto;
        width:100% !important;
    }

    .history_controll li{
        width:100%;
        min-width:0;
        min-height:0;
        aspect-ratio:auto;
        border-radius:0.5em;
        margin-bottom:10px;
        padding:0;
        background:#0088e85c;
        font-size:90%;
    }

    .history_controll li a{
        padding:0.6em 0.75em;
        text-align:center;
        color:#0088e8;
    }

    .history_controll li.active{
        background:#0088e8;
    }

    .history_controll li.active a,
    .history_controll li.active a:visited{
        color:#fff;
    }

    .history_controll li.is-ellipsis{
        display:none;
    }
    .histroy_box{
        grid-template-columns: 1fr;
    }
    .histroy_box h3{
        grid-row:1;
        grid-column: 1;
    }
    .history_img{
        grid-row:2;
        grid-column: 1;
    }
    .history_text{
        grid-row:3;
        grid-column: 1;
    }
    .histroy_bar::before{content:none;}
    .histroy_bar{width:100%;}
}