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


.in{
    max-width: 1200px;
    padding: 0 50px;
}
.mob{
    display: none;
}


/*********************************************
ヘッダー*******/
header{
    right: 3vw;
    z-index: 10;
    transition: 0.5s;
}
header.mtop01{
    opacity: 0;
    visibility: hidden;
}
header.mtop02{
    position: fixed;
    top: -50px;
}
header.is-show{
    top: 0;
    visibility: visible;
    opacity: 1;
}
.hed_contact{
    overflow: hidden;
}
.hed_contact a{
    width: 7em;
    height: 3.85em;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    /*font-size: 23px;*/
    border-radius: 3px;
    margin-top: 1em;
}
.hedimg_box h1{
    margin-top: 30px;
    width: 15.4vw;
    
}
.home_hed.hedimg_box h1{
    margin-top: 0px;
    position: absolute;
    top: calc(50% - 100px);
    left: calc(50% - 12.4vw);
    width: 22.4vw;
}

/*ナビ-----*/
nav{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-items: center;
    align-items: center;
    gap: 3vw;
}
nav .gnavi{
    background-color: hsl(0deg 0% 100% / 85%);
    border-radius: 3px;
    margin-top: 1em;
    backdrop-filter: blur(10px);
}
.gnavi .menu{
    display: -webkit-flex;
    display: flex;
}
.gnavi .menu > li a{
    padding: 1em;
    color: #e62413;
}
.gnavi .menu > li:has(.sub-menu){
    position: relative;
}
.gnavi .menu > li .sub-menu{
    background-color: hsl(0deg 0% 100% / 95%);
    /*border-radius: 10px;*/
    position: absolute;
    left: 0;
    right: 0;
    top: 2em;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
}
.gnavi .menu > li .sub-menu li{
    position: relative;
}
.gnavi .menu > li:hover .sub-menu{
    opacity: 1;
    top: 3em;
    visibility:visible;
}

@media screen and (max-width: 1267px) {
    header {
        right: 1vw;
    }
    .hed_contact a{
        font-size: 1.3vw;
    }
    .gnavi .menu > li a{
        font-size: 1.3vw;
    }
}
/*ヘッダー画像*/

.hedimg_box .mvimg > div{
    height: 51vw;
    min-height: 380px;
}

.content_hed.hedimg_box .mvimg > div {
    height: 17vw;
    min-height: 180px;
}
/**/
.hed_textbox{
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-feature-settings: normal;
}
.home_hed{

}

/*********************************************
フッター*******/

footer{
    background-color: #dc3232
}
.foot_nav .menu{
    /*background-color: hsl(0deg 0% 100% / 85%);*/
    border-radius: 2px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
	color:#fff;
}
.foot_nav .menu > li a {
    padding: 1em;
}
.foot_nav .sub-menu{
    display: none;
}
/*********************************************
ホーム*******/
/*ホーム共通*/

.home_contenttext{
    text-align: center;
    line-height: 2.5em;
}

/*ホームお知らせ*/
.home01_img01{
    top: 40px;
    left: 0;
}
.home01_img02{
    right: -20px;
    bottom: 0;
}


/*ホームお問い合わせ*/
.foot_contact_box ul{
    display: -webkit-flex;
    display: flex;   
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}
.foot_contact_box ul li{
    width: 50%;
}
.foot_contact_box ul li + li{
    border-left: 1px solid #000;
}
.home06_img02{
    right: -10px;
    top: 40px;
}

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

/*下層ページヘッダー-------*/
.content_hed .hed_textbox{
    background-color: hsl(0deg 0% 100% / 70%);
    margin-top: 1em;
    width: 23vw;
        height: 23vw;
        /*border-radius: 50%;*/
        margin-left: -7%;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        padding: 2em;
        font-size: 16px;
}
@media screen and (max-width: 1267px){
    .content_hed .hed_textbox{
        font-size: 1.2vw;
         margin-left: -3%;
    }
}
/*一覧ページ-------*/
.content_base .in{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.content_base .in .sidebar{
    width: 20%;
}
.content_base .content_box{
    width: 74%;
}
/*一覧ページ共通-------*/
/*サイドメニュー*/
.sidebar_list h4{
    font-size: 14px;
}
.sidebar_list::before{
    content: '';
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 85%;
}
.sidebar_list:nth-child(1)::before{
    background-image: url(../images/yasai_01.svg);
}
.sidebar_list:nth-child(2)::before{
    background-image: url(../images/yasai_04.svg);
}
.sidebar_list + .sidebar_list{
    margin-top: 50px;
}
/*------------------------*/
/*お知らせ----*/

/*お知らせ一覧*/
.news_list ul li a{
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 2em;
}
.news_list .news_data{
    width: 6.5em;
}
.news_listimg{
    width: 70px;
}

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



/*こだわり*/
.kodawari01_content{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.kodawari01_content:nth-child(3){
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.kodawari01_img > div{
    padding-top: 81%;
}
.kodawari01_01 > div{
    background-image: url(../images/kodawari01_01pc.jpg);
}
.kodawari01_02 > div{
    background-image: url(../images/kodawari01_02pc.jpg);
}
.kodawari01_img{
    width: 43%;
}
.kodawari01_textbox{
    width: 54%;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.kodawari01_textbox h4{
    font-size: 40px;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl; /* Internet Explorer用 */
    margin-right: 0.8em;
}
.kodawari01_text{
    line-height: 2.2em;
}
.kodawari02_box{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.kodawari02_box .kodawari02_content{
    width: 45%;
}
.shopping_list ul:has(dl){
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 2em;
}
.shopping_list li:has(dl){
    position: relative;
}
.shopping_list li:has(dl)::before{
    content: "";
    display: block;
    position: absolute;
    top: 2em;
    bottom: 0;
    width: 1px;
    background-color: #fff;
    left: 6em;
}
.shopping_list dl{
    padding-bottom: 2em;
    display: -webkit-flex;
    display: flex;
}
.shopping_list dl dt{
    width: 6em;
	padding-right: 1em;
}
.shopping_list dl dd{
    padding-left: 1em;
	width: calc(100% - 6em);
}
/**佐々木農場について******/

.about_01_img01{
    top: -45px;
    left: -100px;
}
.about_01_img02{
    right: -100px;
    bottom: -105px;
}
.staff_list li{
    padding: 3% 9%;
    grid-template-columns: repeat(8, 1fr);
    gap: 2em;
}
.staff_yasaiimg{
    position: absolute;
    width: 9%;
    top: -11%;
}
.staff_list li:nth-child(2n+1) .staff_yasaiimg{
    left: -3%;
}
.staff_list li:nth-child(2n+2) .staff_yasaiimg{
    right: -3%;
}
.staff_img{
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
}
.staff_data{
    grid-column: span 6 / span 6;
    grid-column-start: 3;
}
.staff_listtext{
    grid-column: span 6 / span 6;
    grid-column-start: 3;
    grid-row-start: 2;
}
.about03_list dl{
    padding: 2em 2em 2em 5em;
}
.about03_list dt{
    width: 6em;
} 
.about03_list dd{
    width: calc(100% - 6em);
}

.about03_text,
.about03_list{
    max-width: 700px;
}
.about_04 .in{
    position: relative;
}
.about04_box{
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}
.about_04_img01{
    top: -145px;
    right: 50px;
    width: 9%;
}
.about_04_img02{
    width: 9%;
    bottom: -60px;
    left: 14px;
}

/*インタビュー*/
.interview_list li{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.interview_list li:nth-last-child(2n+1) .interview_name{
    grid-column: span 5 / span 5;
}
.interview_list li:nth-last-child(2n+1) .snterview_img{
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 6;
}
.interview_list li:nth-last-child(2n+1) .snterview_textbox{
    grid-column: span 5 / span 5;
    grid-row-start: 2;
}

.interview_list li:nth-last-child(2n+2) .interview_name{
    grid-column: span 5 / span 5;
    grid-column-start: 3;
    grid-row-start: 1;
}
.interview_list li:nth-last-child(2n+2) .snterview_img{
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 1;
}
.interview_list li:nth-last-child(2n+2) .snterview_textbox{
    grid-column: span 5 / span 5;
    grid-column-start: 3;
    grid-row-start: 2;
}
.interview_list li hr{
    grid-column: span 7 / span 7;
    grid-row-start: 3;
}
.interview_list li .interview_name{
    padding-top: 60px
}
.interview_list li .interview_names{
    padding: 2em 1em 1em 80px;
}
.interview_list li:nth-last-child(2n+1) .interview_names{
   /* border-top-left-radius: 2em;
    border-bottom-left-radius: 2em;*/
    
}
.interview_list li:nth-last-child(2n+2) .interview_names{
   /* border-top-right-radius: 2em;
    border-bottom-right-radius: 2em;*/
}
.snterview_textbox{
    padding: 50px 80px 0 80px;
}

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












