@charset "UTF-8";

#cookie-notice #cn-notice-text{width: calc(100% - 360px);}
@media screen and (max-width:768px) {
    #cookie-notice #cn-notice-text{width: 100%;}
}

/* -----------------------------------------------------------
template
----------------------------------------------------------- */


/* ============================================== */
/*                    ヘッダー                    */
/* ============================================== */
body:has(.page_search) header > .contact a::before{
    -webkit-mask: initial;
            mask: initial;
    background: url(../img/common/ico/h_contact.svg) no-repeat center / contain;
}
@media screen and (max-width: 960px){
    body:has(.page_search) header .n_bottom ul .m_fb a::before{
        -webkit-mask: initial;
                mask: initial;
        background: url(../img/common/ico/sns_fb.svg) no-repeat center / contain;
    }
}
header .sub_menu .m_global{max-width: 130px;}


/* ============================================== */
/*              mage menu              */
/* ============================================== */


/* ============================================== */
/*              ハンバーガーメニュー              */
/* ============================================== */


/* ============================================== */
/*                    フッター                    */
/* ============================================== */
footer .f_top .flex{column-gap: 8%;}
footer .common_menu{width: 90%;}

@media screen and (max-width:768px) {
    footer .common_menu{width: 100%;}
}

/* -----------------------------------------------------------
検索結果
----------------------------------------------------------- */

/* -----------------------------------------------------------
common_parts
----------------------------------------------------------- */
/* kv_sub */
main:not(.page_sub) .kv_sub:has(picture) .ttl_cont .en{margin: 0;}

/* news_list */
.news_list > li a{
    --w_date: 130px;
}
.news_list > li a .n_date{width: auto;}


/* -----------------------------------------------------------
home
----------------------------------------------------------- */
@media screen and (min-width:769px) {
    .home .sec_news .flex .ttl_cont{margin-bottom: 30px;}
}

/* -----------------------------------------------------------
portal
----------------------------------------------------------- */


/* -----------------------------------------------------------
subpage
----------------------------------------------------------- */

/* Group Company */
.editor_contents .group_list li dd dl > div{flex-direction: column;}
.editor_contents .group_list li dd dl > div:not(:last-of-type){margin: 0 0 .7em;}
.editor_contents .group_list li dd dt{
    width: 100%;
    text-align: initial;
    -moz-text-align-last: initial;
    text-align-last: initial;
}
.editor_contents .group_list li dd dd{width: 100%;}

/* ============
事業案内
============*/

/* ============
製品案内
============*/

.page_product .cont .related_company li.nichiden a{gap: .8em}

/* ============
会社案内
============*/


/* 　　 ============ */

/* ============
サステナビリティ
============*/
.page_sustainability .sus_policy .case dl{
    --w: 135px;
}
/* ============
3分
============*/
.page_3minutes .sec_why .bg_white .flex ul li dl dd{line-height: 1.3;}

.page_3minutes .sec_why .bg_white .flex ul li.r_malaysia dl dt{margin-bottom: 0.15em;}
.page_3minutes .sec_why .bg_white .flex ul li.r_malaysia::before{top: -82px;}

@media screen and (max-width:768px) {
    .page_3minutes .sec_why .bg_white .flex ul li.r_malaysia::before{top: -27px;}
}

/* ============
お問い合わせ
============*/
form .wp-block-snow-monkey-forms-item:has(.smf-checkboxes-control):has([data-validations~="required"]) .smf-item__label__text{flex-direction: column;}
form .wp-block-snow-monkey-forms-item:has([data-validations~="required"]) .smf-item__label__text::after,
form .privacy_box .smf-checkboxes-control__control[data-validations~="required"] .smf-checkbox-control__label::after{content: "*";}

/* ============
サイトマップ
============*/


/* -----------------------------------------------------------
single
----------------------------------------------------------- */


/* -----------------------------------------------------------
archive
----------------------------------------------------------- */
