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


.in{
    width: 800px;
    padding: 0 25px;
}
.inw{
    padding: 0 100px;
}
.mob{
    display: none;
}


/*ヘッダー--------------------------------------*/

header{
    padding: 20px 50px;
}
.hed_nav .menu{
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}
.hed_nav .menu > li{
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    margin-left: -1px;
}
.hed_nav .menu a{
    padding: 0.2em 1em;
}
.hed_nav .menu > li:has(.sub-menu){
    position: relative;
}
.hed_nav .menu > li .sub-menu{
    position: absolute;
    width: 100%;
    background-color: #fff;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
	border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.hed_nav .menu > li .sub-menu a{
    display: block;
    text-align: center;
	padding:0 1em;
	height:0;
	overflow: hidden;
}
.hed_nav .menu > li:has(.sub-menu) > a{
    pointer-events: none
}
.hed_nav .menu > li:hover .sub-menu{
    opacity: 1;
    visibility: visible;
}
.hed_nav .menu > li:hover .sub-menu a{
	height:3em;
	padding:0.5em 1em;
}
@media screen and (max-width: 1180px) {
  .hed_nav {
    font-size: 1.3vw;
  }
	.hed_logo{
		width: 20vw;
	}
}

/*ホーム-------------------------------------*/

.mv_text{
	width: 67%;
	font-size: 2.1vw;
}
.mv_logo img{
	width: 40.5%;
}
/*メインビジュアルした*/

.home_01 .in > div{
    width: 50%;
}
.home01_img{
    margin-top: 30px;
}

.home03_img img{
    max-width: 500px;
}
.home01-02_img{
	margin-top:15px;
}
.home04_img img{
    max-width: 450px;
	margin-right: 100px;
}
/*ホーム豚肉へのこだわり*/
.home03-01_img{
	position: absolute;
	bottom: 0;
	left: 11%;
	width: 28%;
	max-width: 395px;
}
.home03-02_img{
	position: absolute;
	bottom: -18%;
	right: 10%;
	width: 23%;
	max-width: 310px;
}
/*ホームロハスファームについて*/
.home05-1_img{
	position: absolute;
	left: 4%;
	top: -38%;
	width: 25%;
	max-width: 310px;
}
.home05-2_img{
	margin-top: 20px;
	margin-left: -50px;
	margin-right: -60px;
	margin-bottom: -138px;
}

/*下層ページ---------------------------------------*/

/*下層ページヘッダー*/
.content_hed{
    position: relative;
    margin-top: 30px;
}
.content_hed:has(.contenthed_img){
    padding-top: 60px;
}
.content_hed:has(:not(.contenthed_img)){
    margin-bottom: 80px;
}
.contenthed_logo{
    -webkit-order: -1;
    order: -1;
}
.content_hed .in{
    display: -webkit-flex;
    display: flex;
	width: 67%;
}
.contenthed_taitl h2 {
    font-size: 3.34vw;
}
.contenthed_logo img{
	width: 75%;
}
.content_hed .in > div{
    width: 50%;
}
.contenthed_taitl{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}
.contenthed_img img{
    min-height: 500px;
}
.content_hed .in .hed_text {
    width: 100% !important;
        max-width: 800px;
        position: absolute;
        left: 0;
        bottom: 20px;
        margin: auto;
        left: 0;
        right: 0;
        font-size: 17px;
        padding: 0 25px;
}
/*固定ページ-----------*/
/*取組-------*/
.torikumi_00 .in{
	position:relative;
}
.torikumi_00h,
.torikumi_00text{
	position:absolute;
}
.torikumi_00h{
	left:96px;
	top:0;
}
.torikumi_00text{
	bottom:60px;
	right:60px;
}
.about02_img img{
    max-width: 470px;
}
.torikumi_list ul li{
	max-width: 540px;
}
/*こだわり----------*/
.kodawari01_01img{
	width: calc(100% - 193px - 50px);
	margin-top: -70px;
}
.kodawari01_01 .kodawari_h{
}

/*採用情報-----------*/
.interview_list li{
	display: -webkit-flex;
    display: flex;
	padding-top: 60px;
}
.interview_textbox{
	width: 49%;
}
.interview_img{
	width: 51%;
}
.interview_list li :is(.interviewlist_data,.interview_text){
	padding-right:35px;
}
.interview_textbox.show .interviewlist_no{
	margin-top:-1em;
}
.interview_textbox .link_button{
	text-align:left;
}

.interview_hed_content{
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.interview_vdeo{
	width: 50%;
}
.interview_hed_textbox{
	
}
.interview_box li:nth-child(2n+2) .interview_boxtext{
	order: 2;
}
.interview_box li:nth-child(2n+2) .interview_boximg{
	order: 1;
}
.interview_foot li{
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.interview_foottext{
	width: 33%;
}
.interview_footimg{
	width: 54%;
}

/*お知らせ-----------------*/
#sidebar ul{
    display: -webkit-flex;
    display: flex;
    gap: 2em;
    font-size: 17px;
    font-weight: 600;
}
#sidebar ul li{
    position: relative;
}
#sidebar ul a{
    padding: 2.5em 0;
    text-decoration: none;
}
#sidebar ul a::before{
    -webkit-transition: 0.4s;
    transition: 0.4s;
    background-color: #ffffff00;
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5px;
}
#sidebar ul a:hover{
    opacity: 1;
}
#sidebar ul a:hover::before,
#sidebar ul a[aria-current="page"]::before{
    background-color:var(--p_color);
}
.lowernews_list{
    font-weight: 600;
}

/*お問い合わせ------------*/
.contectfomw :is(th,td) {
    vertical-align: top;
    padding: 10px;
}
.contectfomw th{
    width: 11em;
    text-align: right;
    line-height: 2.5;
}

/*ロハスファームについて------------*/

.about_03{
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
	 -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.about03_img ul{
	-webkit-flex-direction: column;
    flex-direction: column;
	gap:10px;
}
.about03_text{
}


/*ファイテンの技術*/
body:has(.fainthin){
	& .content_hed{
		& .contenthed_img{
			margin-top: -110px !important;
		}
	}
	#base{
		margin-top: -317px;
	}
	
}
.fainthin_02-03{
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
	& .fainthin_02-02text{
		width: 69%;
	}
	& .fainthin_02-02img{
		width: 27%;
	}
}




