/*
Theme Name: sustainability
Template: nishiki
*/

@import url("style-top.css");
@import url("style-update.css");
@import url("style-others.css");
@import url("style-sso.css");


/* common */
@font-face {
    font-family: HelveticaNeue;
    src: url(/fonts/HelveticaNeue.ttc);
    font-weight: normal;
}

@font-face {
    font-family: HelveticaNeue;
    src: url(/fonts/HelveticaNeue.ttc);
    font-weight: bold;
}

@font-face {
    font-family: HelveticaNeue;
    src: url(/fonts/HelveticaNeue.ttc);
    font-weight: lighter;
}

/* @font-face {
    font-family: GenEi LateGo P v2;
    src: url(/fonts/GenEiLateGo_v2.ttc);
    font-weight: normal;
} */

/*汎用クラス*/
body.single .entry-content .mt0,
.mt0 {
    margin-top: 0 !important;
}

body.single .entry-content .mb0,
.mb0 {
    margin-bottom: 0 !important;
}

:root {
    --bg-color: linear-gradient(0deg, #51ae2a 0%, #a6b74b);
    --main-color: #51AE2A;
    --text-color1: #000;
    --text-color2: #254985;
    --sub-color1: #016434;
    --sub-color2: #3B953B;
    --header-hover-color: #fffb85;
}

body.wp-child-theme-sustainability {
    /* font-family: "helvetica-lt-pro", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif !important; */
    font-family: "Helvetica Neue", "Meiryo", "Arial", sans-serif !important;
    /* font-weight: 400;
    font-style: normal; */
    background-image: var(--bg-color);
    letter-spacing: normal;
    line-height: 1.5;
}

body.wp-child-theme-sustainability.ja .entry-content {
    font-family: "Meiryo", sans-serif !important;
}

body.wp-child-theme-sustainability.en-US .entry-content {
    font-family: "Helvetica Neue", Arial, "Lucida Grande", sans-serif !important;
}

body.wp-child-theme-sustainability {
    letter-spacing: normal;
}

body #masthead {
    background: transparent;
}

body.home #masthead.fixed {
    background: transparent;
}

body #masthead.fixed {
    /* background: transparent; */
    background: rgba(166, 183, 75, 1);
}

body.scrolled #masthead,
body.scrolled #masthead.fixed {
    background: rgba(166, 183, 75, 1);
}

body #masthead>.container {
    padding-top: clamp(0.813rem, 0.538rem + 1.13vw, 1.5rem);
    padding-bottom: clamp(1.188rem, 1.113rem + 0.31vw, 1.375rem);
}

footer#footer {
    background-color: initial;
}

footer#footer .copyright {
    color: #fff;
    font-size: 1rem;
}

/*常にハンバーガー表示　テーマを上書き*/
#masthead .global-nav.top .icon {
    margin: 0 0 0 20px;
    padding: 0;
    border-width: 0;
}

#masthead .global-nav.top #menu-collapse-button.icon i::before {
    content: "";
    display: block;
    width: 25px;
    height: 17px;
    background-color: currentColor;
    mask: url("images/bars.svg") no-repeat center;
    mask-size: contain;
    border: none;
    cursor: pointer;
    /* color: #fff; */
    transition: color 0.3s;
}

#masthead .global-nav.top #menu-collapse-button.icon:hover i::before {
    color: var(--header-hover-color);
}

#masthead .global-nav.top #menu-collapse-button {
    display: block;
}

#masthead .global-nav.top #menu-collapse-button.icon:hover {
    background-color: transparent;
}


#masthead .global-nav.top #menu-collapse {
    position: absolute;
    visibility: hidden;
    transform: translateX(-100%);
}

#masthead .global-nav.top #menu-collapse.panel {
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    overflow: auto;
    zoom: 1;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
    transition: transform 300ms;
    transform: translateX(-100%);
    align-items: center;
    justify-content: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#masthead .global-nav.top #menu-collapse.panel .site-info {
    max-width: 500px;
    margin-bottom: 3px;
}

#masthead .global-nav.top #menu-collapse.panel .site-info a:hover {
    background-color: transparent;
}

@media only screen and (max-width: 767px) {
    #masthead .global-nav.top #menu-collapse.panel .site-info a img {
        height: 60px;
        max-height: 60px;
        width: initial;
        margin: 0 auto;
    }
}

#masthead .global-nav.top #menu-collapse.panel ul {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
    font-size: 18px;
}

.en-US #masthead .global-nav.top #menu-collapse.panel ul {
    font-size: 20px;
}

#masthead .global-nav.top #menu-collapse.panel ul li {
    width: 100%;
}

#masthead .global-nav.top #menu-collapse.panel ul li span {
    position: absolute;
    right: 1rem;
    margin-left: 0;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#masthead .global-nav.top #menu-collapse.panel ul li span i {
    display: block;
    width: 1rem;
    height: auto;
    margin: 0;
    padding: 0.3rem;
    font-size: 1rem;
    color: #fff;
}

#masthead .global-nav.top #menu-collapse.panel ul li a {
    padding: 0.5rem 0.7rem;
    color: #fff;
}

#masthead .global-nav.top #menu-collapse.panel>ul>li>a {
    height: auto;
    line-height: normal;
    text-align: left;
}

#masthead .global-nav.top #menu-collapse.panel ul li>ul>a {
    position: relative;
}

#masthead .global-nav.top #menu-collapse.panel ul li>ul li a {
    padding-left: 1.5rem;
    font-size: 1.1rem;
}

#masthead .global-nav.top #menu-collapse.panel ul li>ul li>ul li a {
    padding-left: 2rem;
}

#masthead .global-nav.top #menu-collapse.panel.mobile .menu-items {
    width: 90%;
}

#masthead .global-nav.top #menu-collapse.panel-close {
    visibility: visible;
    transform: translateX(-100%);
}

#masthead .global-nav.top #menu-collapse.panel-open {
    visibility: visible;
    transform: translateX(0%);
}

#masthead .global-nav.top #menu-collapse .close {
    display: block;
    text-align: center;
}

/*レイアウト調整*/
.masthead_inner {
    width: 100%;
    text-align: center;
    position: relative;
}

#masthead .global-nav.top {
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    max-width: 244px;
    align-items: initial;
}

#masthead .global-nav.top .nav_inner {
    display: flex;
    text-align: right;
    justify-content: flex-end;
    align-items: flex-start;
}

/*ハンバーガーメニュー*/
#masthead.sus-land .icon {
    border-color: transparent;
    color: #fff;
}

#masthead.sus-land .icon:focus {
    outline-width: 0px;
}

@media only screen and (min-width: 1025px) {
    #masthead .global-nav.top #menu-collapse-button.icon {
        margin-top: 7px;
    }
}

/*サイト名*/
#masthead.sus-land .site-info a,
#masthead.sus-land .site-info a img {
    height: initial;
    max-height: initial;
}

@media only screen and (max-width: 768px) {
    #masthead.sus-land {
        height: auto;
    }

    #masthead.sus-land .site-info {
        text-align: center;
    }

    #masthead.sus-land .site-info a img {
        height: 58px;
        max-height: 58px;
        margin-top: 16px;
    }

    #masthead.sus-land .global-nav .icon {
        padding: 0;
    }
}

@media only screen and (min-width: 768px) {

    #masthead.sus-land .site-info a,
    #masthead.sus-land .site-info a img {
        height: initial;
        max-height: initial;
        width: 100%;
    }
}

/* @media only screen and (min-width: 1025px) {

    #masthead.sus-land .site-info a,
    #masthead.sus-land .site-info a img {
        height: initial;
        max-height: initial;
    }
} */

/*表示切替*/
#masthead.sus-land .global-nav.top .nav_inner>.bogo-language-switcher,
#masthead.sus-land .global-nav.top>.searchBlockWrap {
    display: none;
}

@media only screen and (min-width: 1025px) {

    #masthead.sus-land .global-nav.top .nav_inner>.bogo-language-switcher,
    #masthead.sus-land .global-nav.top>.searchBlockWrap {
        display: block;
    }
}

/* 言語スイッチャー PC*/
#masthead.sus-land .global-nav.top .nav_inner>ul.bogo-language-switcher {
    margin: 0;
}

#masthead.sus-land .global-nav.top .nav_inner>ul.bogo-language-switcher li {
    display: table-cell;
    width: 51px;
    height: 51px;
    line-height: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    vertical-align: middle;
}

#masthead.sus-land .global-nav.top .nav_inner>ul.bogo-language-switcher li>div>a {
    display: table-cell;
    width: 51px;
    height: 51px;
    line-height: 1rem;
    margin: 0;
    padding: 4px;
    font-size: 0.875rem;
    border: none;
    border-radius: 0;
    vertical-align: middle;
    opacity: 1;
}

#masthead.sus-land .global-nav.top .nav_inner>ul.bogo-language-switcher li>div>a:hover {
    text-decoration: none;
    color: var(--header-hover-color);
}

#masthead.sus-land .global-nav.top .nav_inner>.bogo-language-switcher a:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 0.3rem;
    background-color: currentColor;
    mask: url("images/switcher_img_icon.svg") no-repeat center;
    mask-size: contain;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s;
}

#masthead.sus-land .global-nav.top .nav_inner>.bogo-language-switcher a:hover:before {
    color: var(--header-hover-color);

}

#masthead.sus-land .global-nav.top .nav_inner>.bogo-language-switcher li.current {
    display: none;
}

/*-- 検索 */
.searchBlockWrap {
    text-align: right;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 13px 31px 13px 15px;
    box-sizing: border-box;
    border-radius: 23px;
    border: transparent;
    background-color: rgba(255, 255, 255, 0.88);
}

.search-input:focus {
    outline-color: var(--header-hover-color);
}

input.search-input::placeholder {
    color: #04360C;
    font-size: 13px;
}

.en-US input.search-input::placeholder {
    font-size: 16px;
    font-family: "Helvetica Neue", Arial, sans-serif !important;
}

button[type=submit].search-button {
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

#masthead button[type=submit].search-button i {
    font-size: 1rem;
}

.search-button:focus {
    outline: none;
}

@media only screen and (min-width: 481px) {
    .search-wrapper {
        max-width: 244px;
        margin: 0 auto;
    }

    .panel-open .search-wrapper {
        max-width: initial;
    }
}

@media only screen and (min-width: 1025px) {
    .search-input {
        padding: 11.5px 31px 11.5px 15px;
    }

    .en-US .search-input {
        padding: 13px 31px 13px 15px;
    }

    .en-US input.search-input::placeholder {
        font-size: 16px;
        font-family: "Helvetica Neue", Arial, sans-serif !important;
    }

}

/*-- 検索(header) */
#masthead .searchBlockWrap {
    margin-top: 14px;
}

.searchBlockWrap button[type=submit].search-button:hover {
    background: initial;
    color: inherit;
    border-color: initial;
}

/*下層PCのみgnavi表示*/
.gnav-lower-wrap {
    display: none;
}

.gnav-lower .menu-item>a br {
    display: none;
}

@media only screen and (min-width: 1025px) {
    .gnav-lower-wrap {
        margin-top: 15px;
        margin-bottom: clamp(1.188rem, 1.113rem + 0.31vw, 1.375rem);
        display: block;
    }

    .gnav-lower {
        padding: 0;
        margin: auto;
        list-style: none;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .gnav-lower .menu-item {
        flex: 1;
        padding-inline: 8px;
    }

    .gnav-lower .menu-item.update {
        display: none;
    }

    .gnav-lower .menu-item:not(:first-child) {
        border-left: 1px dashed #fff;
    }

    .gnav-lower .menu-item>a {
        color: #F1F3F4;
        opacity: 0.91;
        line-height: 1.35;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        letter-spacing: -0.05em;
    }

    .gnav-lower .menu-item>a:hover {
        color: var(--header-hover-color);
    }

    .gnav-lower .menu-item.comingSoonMenu>a {
        opacity: 0.65;
        pointer-events: none;
    }

    body.ja .gnav-lower .menu-item {
        font-size: 0.9rem;
        letter-spacing: normal;
    }
}

@media only screen and (min-width: 1280px) {
    .gnav-lower .menu-item>a br {
        display: inline-block;
    }
}

/*footer*/
footer#footer {
    border-top: 1px solid #D0D4D4;
}

#footer .wrap .footer-content .footer-inner.container {
    padding-top: 40px;
    padding-bottom: 30px;
}

#footer-widget .widget.widget_nav_menu {
    margin-bottom: 0;
}

#footer-widget .widget.widget_nav_menu ul {
    margin: 0;
}

#footer-widget .widget_nav_menu ul li {
    border: none;
}

#footer-widget .widget_nav_menu ul li>a {
    color: #F1F3F4;
    font-weight: 300;
    font-size: 14px;
}

#footer-widget .widget_nav_menu ul li.comingSoonMenu>a {
    opacity: 0.65;
    pointer-events: none;
}


.en-US #footer-widget .widget_nav_menu ul li>a {
    letter-spacing: -0.003em;
}

#footer-widget .widget_nav_menu ul li>a:hover {
    text-decoration: underline;
}

#footer-widget.column-1 .searchBlockWrap {
    margin-top: 30px;
    flex-basis: 100%;
}

#footer-widget.column-1 .searchBlockWrap .search-input {
    opacity: 88%;
}

#footer .wrap .footer-content .footer-inner.container .copyright {
    padding-top: 36px;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    padding-bottom: 0;
    color: #E4ECEC;
}

.footerMenuWrap .search-wrapper {
    margin-top: 30px;
}

@media only screen and (min-width: 768px) {
    #footer .wrap .footer-content .footer-inner.container {
        width: 92%;
    }

    .footerMenuWrap .footer-widget.column-1 {
        display: flex;
        justify-content: space-between;
    }

    .footerMenuWrap .footer-widget.column-1 section {
        flex: 1 1 235px;
        width: initial;
    }

    .footerMenuWrap .search-wrapper {
        margin-top: 22px;
    }

    .footerMenuWrap .searchBlockWrap .custom-search-form {
        margin-bottom: 0;
    }

    #footer .wrap .footer-content .footer-inner.container .copyright {
        padding-top: 33px;
    }

    #footer .wrap .footer-content .footer-inner.container .copyright br {
        display: none;
    }

}

@media only screen and (min-width: 1025px) {
    #footer .wrap .footer-content .footer-inner.container {
        width: 90%;
    }

    #footer .wrap .footer-content .footer-inner.container .footerMenuWrap {
        display: flex;
        justify-content: space-between;
    }

    #footer-widget.column-1 {
        flex-wrap: nowrap;
    }

    #footer-widget .widget_nav_menu div .menu {
        width: 286px;
    }

    .footerMenuWrap .footer-widget.column-1 {
        gap: 38px;
    }

    .footerMenuWrap .footer-widget.column-1 section {
        flex: 1 1 286px;
        width: initial;
    }

    .footerMenuWrap .searchBlockWrap {
        flex-basis: 244px;
        margin-top: 0;
    }

    #footer .wrap .footer-content .footer-inner.container .copyright {
        padding-top: 16px;
    }

    .en-US #footer .wrap .footer-content .footer-inner.container .copyright {
        padding-top: 40px;
    }
}

/*ハンバーガーメニュー(開)*/

#masthead .global-nav.top #menu-collapse.panel.panel-open {
    background-image: var(--bg-color);
}

#masthead .global-nav.top #menu-collapse.panel.panel-open li a:hover,
#masthead .global-nav.top #menu-collapse.panel.panel-open li a:hover span {
    color: var(--header-hover-color);
    background-color: transparent;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .bogo-language-switcher {
    width: 100%;
}

/* #masthead .global-nav.top #menu-collapse.panel.panel-open .bogo-language-switcher li {
    width: 100%;
    padding-right: 40px;
} */

#masthead .global-nav.top #menu-collapse.panel.panel-open .bogo-language-switcher li.current {
    display: none;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .bogo-language-switcher li span {
    position: relative;
    border: none;
    text-align: right;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .bogo-language-switcher li a {
    font-size: 14px;
    text-align: right;
    position: relative;
    padding-right: 30px;
    padding-bottom: 18px;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .bogo-language-switcher li a::after {
    position: absolute;
    right: 17px;
    top: calc(50% - 11px);
    content: "";
    display: block;
    width: 7px;
    height: 12px;
    background-color: currentColor;
    mask: url("images/angle-right.svg") no-repeat center;
    mask-size: contain;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .menu-items li a {
    position: relative;
    padding: 19px 40px 19px 20px;
    text-decoration: none !important;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .menu-items li.comingSoonMenu {
    display: none;
}






#masthead .global-nav.top #menu-collapse.panel.panel-open .menu-items li a::after {
    position: absolute;
    right: 17px;
    top: calc(50% - 8px);
    content: "";
    display: block;
    width: 8px;
    height: 16px;
    background-color: currentColor;
    mask: url("images/angle-right.svg") no-repeat center;
    mask-size: contain;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .menu-items li a br {
    display: none;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .menu-items li a span {
    position: initial;
    border: none;
    font-size: 17px;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .searchBlockWrap {
    width: 100%;
    max-width: 500px;
    padding: 30px 20px 0 20px;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .custom-search-form {
    margin-bottom: 0;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .menu-items li {
    border-bottom: 1px solid #fff;
}

#masthead .global-nav.top #menu-collapse.panel.panel-open .menu-items li:first-child {
    border-top: 1px solid #fff;
}

#masthead .global-nav.top #menu-collapse .close {
    border: none;
    margin-top: 27px;
    padding: initial;
}

#masthead .global-nav.top #menu-collapse .close i {
    font-size: 1.5rem;
}

#masthead .global-nav.top #menu-collapse .close i::before {
    content: "";
    display: block;
    width: 19px;
    height: 19px;
    background-color: currentColor;
    mask: url("images/close.svg") no-repeat center;
    mask-size: contain;
}

#masthead .global-nav.top #menu-collapse .close:hover {
    background-color: transparent;
    color: var(--header-hover-color);
}

/*モバイルの場合*/
#masthead .global-nav.top #menu-collapse.panel.mobile .menu-items {
    width: 100%;
}

#masthead .global-nav.top #menu-collapse.panel.mobile .searchBlockWrap {
    margin-top: 0;
    padding: 30px 20px 0 20px;
}

/*固定ページ　移動するかも*/

body.page:not(.home) .content.sidebar-none {
    background-color: #fff;
}

body.page:not(.home) .site-content .page-header h1 {
    color: var(--sub-color1);
    font-size: clamp(1.688rem, 1.538rem + 0.61vw, 2.063rem);
}

/*コンポーネント*/

.single.wp-child-theme-sustainability .entry-content,
.page.wp-child-theme-sustainability .entry-content {
    line-height: 1.7;
}

@media only screen and (min-width: 1025px) {

    .single.wp-child-theme-sustainability .entry-content,
    .page.wp-child-theme-sustainability .entry-content {
        line-height: 1.9;
    }
}

.single.wp-child-theme-sustainability .entry-content a,
.page.wp-child-theme-sustainability .entry-content a {
    color: var(--main-color);
}

.single.wp-child-theme-sustainability .entry-content a {
    text-decoration: underline;
}

.single.wp-child-theme-sustainability .entry-content a:hover,
.page.wp-child-theme-sustainability .entry-content a:hover {
    color: var(--sub-color2);
}

.single.wp-child-theme-sustainability .entry-content a:hover {
    text-decoration: underline;
}

.single.wp-child-theme-sustainability .entry-content>h2,
.page.wp-child-theme-sustainability .entry-content>h2 {
    font-size: clamp(1.75rem, 1.65rem + 0.41vw, 2rem);
    border-top: none;
    color: var(--sub-color1);
    padding-top: 0;
    padding-bottom: 13px;
    margin-top: clamp(2.375rem, 2.125rem + 1.02vw, 3rem);
    margin-bottom: clamp(1.5rem, 1.45rem + 0.2vw, 1.625rem);
}

.single.wp-child-theme-sustainability .entry-content>h3,
.page.wp-child-theme-sustainability .entry-content>h3 {
    font-size: 23px;
    color: var(--sub-color1);
    padding: 0;
    margin-top: clamp(2.188rem, 2.038rem + 0.61vw, 2.563rem);
    margin-bottom: clamp(0.875rem, 0.75rem + 0.51vw, 1.188rem);
}

.single.wp-child-theme-sustainability .entry-content>h4,
.page.wp-child-theme-sustainability .entry-content>h4 {
    font-size: 18px;
    opacity: 0.8;
    color: var(--sub-color1);
    padding: 0;
    margin-top: clamp(1.25rem, 1.175rem + 0.31vw, 1.438rem);
    margin-bottom: clamp(0.875rem, 0.85rem + 0.1vw, 0.938rem);
}