/*
Theme Name: Marubeni Theme
Theme URI: https://latticesystems.com
Author: Lattice Systems
Author URI: https://latticesystems.com
Description: A custom blank theme with HTML5 support for Marubeni Website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marubeni
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");
* {
    font-family: "Noto Sans", sans-serif;
}
html {
    font-size: 62.5%;
}
body {
    line-height: 1;
    -webkit-text-size-adjust: 100%;
    -webkit-print-color-adjust: exact;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
section,
article,
aside,
hgroup,
header,
footer,
nav,
dialog,
figure,
menu,
video,
audio,
mark,
time,
canvas,
details {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    font-family: "Noto Sans", sans-serif;
}
a {
    color: #333;
    text-decoration: none;
}
body {
    font-family: "Noto Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.6;
    overflow-x: hidden;
    background: #efefef;
    color: #333;
}
.site-logo-wrapper img {
    max-width: 100%;
    height: auto;
    width: 304px;
}

header#masthead {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.site-slogan-wrapper {
    font-weight: bold;
    letter-spacing: 0.069em;
    font-size: 16px;
}
header#masthead .header-col {
    align-content: center;
}

header#masthead .row {
    height: 100px;
}

ul#menu-main-menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
}
.site-main-menu {
    margin-top: 15px;
}
ul#menu-header-right-menu {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
    text-align: right;
}
ul#menu-main-menu li,
ul#menu-header-right-menu li {
    margin: 0 0 0 40px;
    position: relative;
}

header #menu-main-menu > li > a span:before,
header #menu-main-menu > li > a span:after {
    position: absolute;
    bottom: -10px;
    content: "";
    display: inline-block;
    width: 0;
    height: 2px;
    background: #e60012;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

header #menu-main-menu > li:hover > a span:before,
header #menu-main-menu > li:hover > a span:after {
    width: 50%;
}
header #menu-main-menu > li.current-menu-item > a span:before,
header #menu-main-menu > li.current-menu-item > a span:after {
    width: 50%;
}

header #menu-main-menu > li > a span:before {
    left: 50%;
}

header #menu-main-menu > li > a span:after {
    right: 50%;
}
ul#menu-main-menu li a,
ul#menu-header-right-menu li a {
    font-size: 1.45rem;
    font-weight: 400;
    transition: all 0.25s ease-out;
    text-decoration: none;
}

#site-footer {
    background: #212121;
}
.social-media {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 3%;
    margin-top: 4%;
}
.social-media-div {
    flex-grow: 1;
    display: flex;
    align-items: center;
    width: 20%;
    padding: 0 20px;
}

.social-media-div a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.social-media-div img {
    width: 50px;
    margin-right: 10px;
}
.footer-widgets-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    color: white;
    margin-top: 3%;
}

.footer-widget {
    flex: 1;
    padding: 10px;
}
.footer-widget h2 {
    font-size: 18px;
    border-top: solid 1px #646464;
    padding: 15px 0;
}

ul.footer-widget-links {
    list-style: none;
    padding: 0;
}
ul.footer-widget-links li {
    margin-bottom: 10px;
}

ul.footer-widget-links li a {
    color: #7e7e7e;
    text-decoration: none;
    font-size: 14px;
}

.footer-menu {
    border-top: solid 1px #646464;
    padding: 30px;
}

ul#menu-footer-menu {
    padding: 0;
    margin: 0;
    display: flex;
    list-style: none;
    justify-content: center;
}
ul#menu-footer-menu li a {
    color: #6f7e7e;
    text-decoration: none;
    padding: 20px;
    font-size: 14px;
}
ul#menu-footer-menu li {
    border-right: solid 1px #ddd;
}
ul#menu-footer-menu li:last-child {
    border: none;
}
.footer-copyright p {
    margin: 0;
    text-align: center;
    color: #6f7e7e;
    padding: 30px;
    border-top: solid 1px #646464;
    font-size: 14px;
}
/*
#news-wrapper{
    margin-top: -125px;
    position: relative;
    padding: 0;

}
#news-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 130%;
    height: 80%;
    margin: 12% -10% 0;
    background: #efefef;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform: rotate(-7deg);
    z-index: 1;
}*/

#news .newsWrap .ttl,
#news .informationWrap .ttl {
    position: relative;
    padding: 20px 30px;
    border-bottom: 1px solid #ccc;
}

#news .newsWrap,
#news .informationWrap {
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.1);
    background: #fff;
}

#news .newsWrap .ttl h2,
#news .informationWrap .ttl h2 {
    font-size: 2.6rem;
    display: inline-block;
}

#news .newsWrap .ttl .more,
#news .informationWrap .ttl .more {
    display: inline-block;
    position: relative;
    top: 4px;
    left: 4px;
}

#news .newsWrap .ttl .more li.rss,
#news .informationWrap .ttl .more li.rss {
    background: url("https://www.marubeni.com/en/common/img/sp/icon_rss.png") no-repeat left center;
    background-size: 12px;
}
#news .newsWrap .ttl .more li,
#news .informationWrap .ttl .more li {
    float: left;
    padding-left: 18px;
    margin-left: 20px;
}

#news .newsWrap .ttl .more li a,
#news .informationWrap .ttl .more li a {
    font-size: 1.3rem;
}

#news .newsWrap .ttl .more li.list,
#news .informationWrap .ttl .more li.list {
    padding-left: 15px;
    background: url("https://www.marubeni.com/en/common/img/sp/icon_arrow_r.png") no-repeat left center;
    background-size: 7px;
}

#news .newsWrap .ttl .tab,
#news .informationWrap .ttl .tab {
    position: absolute;
    bottom: 0;
    right: 30px;
}

#news .newsWrap .ttl .tab li.active,
#news .informationWrap .ttl .tab li.active {
    color: #e60012;
}

#news .newsWrap .ttl .tab li,
#news .informationWrap .ttl .tab li {
    float: left;
    padding: 0 15px;
    margin: 0 3px;
    text-align: center;
    line-height: 33px;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
}

#news .newsWrap .ttl .tab li.active:after,
#news .informationWrap .ttl .tab li.active:after {
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    background: #e60012;
    position: absolute;
    bottom: -1px;
    left: 0;
}

#news .newsWrap .ttl .more,
#news .informationWrap .ttl .more {
    display: inline-block;
    position: relative;
    top: 4px;
    left: 4px;
}
section#news {
    padding: 30px 0;
}

#news .newsWrap .newsList,
#news .informationWrap .newsList {
    padding: 30px;
    min-height: 166px;
    box-sizing: border-box;
}
#news .newsWrap .newsList .newsBox,
#news .informationWrap .newsList .newsBox {
    display: none;
}
#news .newsWrap .newsList .newsBox.active,
#news .informationWrap .newsList .newsBox.active {
    display: block;
}

#news .newsWrap .newsList .newsBox ul li,
#news .informationWrap .newsList .newsBox ul li {
    position: relative;
    font-size: 1.4rem;
}
#news .newsWrap .newsList .newsBox ul li span,
#news .informationWrap .newsList .newsBox ul li span {
    font-size: 1.4rem;
    display: inline-block;
}
#news .newsWrap .newsList .newsBox ul li .date,
#news .informationWrap .newsList .newsBox ul li .date {
    color: #666;
    width: 220px;
    position: absolute;
    top: 0;
    left: 0;
}

#news .newsWrap .newsList .newsBox ul li .date .tag,
#news .informationWrap .newsList .newsBox ul li .date .tag {
    width: 100px;
    margin-left: 20px;
    text-align: center;
    background: #666;
    font-size: 1.2rem;
    color: #fff;
    float: right;
}

#news .newsWrap .newsList .newsBox ul li a,
#news .informationWrap .newsList .newsBox ul li a {
    font-size: 1.4rem;
    display: inline-block;
    margin-left: 0;
}

#news .newsWrap .newsList .newsBox ul li + li,
#news .informationWrap .newsList .newsBox ul li + li {
    margin-top: 20px;
}

a.iconPdf span {
    margin-right: 6px;
    padding-right: 20px;
    background: url("https://www.marubeni.com/en/common/img/icon_pdf_b.png") no-repeat right center;
}

#news .informationWrap {
    margin-top: 10px;
    position: relative;
    padding: 0 70px 0 40px;
    box-sizing: border-box;
    overflow: hidden;
}

#news .informationWrap h2 {
    font-size: 1.5rem;
    color: #e60012;
    display: inline-block;
    padding-left: 35px;
    background: url("https://www.marubeni.com/en/common/img/icon_caution.png") no-repeat left center;
    line-height: 60px;
    position: absolute;
    top: 0;
    left: 40px;
}

#news .informationWrap.info-notice .ttlInfo {
    padding-left: 0;
}
#news .informationWrap .ttlInfo {
    padding: 19px 0;
    font-size: 1.4rem;
    padding-left: 90px;
    position: relative;
}

#news .informationWrap > .ttlInfo {
    margin-left: 180px;
}
#news .informationWrap .ttlInfo a {
    display: inline-block;
    margin-left: 0;
}

#our-company {
    position: relative;
    padding: 75px 0;
    margin-top: -60px;
    margin-bottom: 60px;
}

#our-company:before {
    content: "";
    position: absolute;
    top: -54.5%;
    left: 0;
    width: 120%;
    height: 100%;
    margin: 12% -10% 0;
    background:
        url("/philippines/wp-content/themes/marubeni/images/world-bg.png") no-repeat center 6%,
        url("/philippines/wp-content/themes/marubeni/images/bg_red.png") repeat left top;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: rotate(7deg);
    -ms-transform: rotate(7deg);
    transform: rotate(7deg);
    z-index: -1;
}

section#our-company h2 {
    font-size: 6rem;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, "sans-serif";
    display: block;
    position: relative;
    z-index: 4;
    color: white;
    text-align: center;
    margin-top: 50px;
    font-weight: bold;
}

section#our-company p {
    color: white;
    text-align: center;
    font-size: 16px;
    margin-top: 30px;
    margin-bottom: 30px;
}

#our-company a.wp-block-button__link.wp-element-button {
    border-color: white;
    color: white;
    font-size: 15px;
    margin-top: 15px;
}

.inner-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 250px;
    color: #fff;
    text-align: left;
    display: flex;
    justify-content: left;
    align-items: center;
}

.inner-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
    z-index: 1;
}

.inner-banner-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: 5px;
}

.inner-page-content {
    padding: 20px;
}

.inner-page-content {
    font-size: 1.4rem;
    padding: 50px 0;
}

.inner-banner-content h1 {
    font-size: 4.8rem;
}

/* Base Styles */
.businesses-landing-page {
    display: flex;
    flex-direction: column;
}

.business-row.odd-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
    margin-bottom: 30px;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.business-row.even-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    margin-bottom: 30px;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.business-row:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay to improve text readability */
}

.business-content {
    position: relative;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
}

.business-content h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.business-content .business-excerpt {
    font-size: 1.2em;
}

.business-content .business-read-more {
    display: inline-block;
    background-color: #e60012; /* Button background color */
    color: #fff; /* Button text color */
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 10px;
}

.business-content .business-read-more:hover {
    background-color: #ff3333; /* Button background color on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .business-row {
        flex-direction: column;
        height: auto;
    }

    .business-content {
        width: 100%;
        text-align: center;
    }
}

.inner-page-content p {
    margin-bottom: 20px;
}

.single-business .site-main .container p {
    margin-bottom: 20px;
}

/*
.single-business .site-main .container h2 {
    color: #ec002f;
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1.3;
    padding: 10px 0 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #aaa;
}*/

h2.wp-block-heading {
    font-size: 2.6rem;
    font-weight: 500;
    margin-bottom: 30px;
}

figcaption {
    font-size: 14px;
}
.marubeni-breadcrumbs {
    padding: 10px 0;
    font-size: 14px;
}

.business-top-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}
.business-left-wrapper,
.business-right-wrapper {
    flex: 1;
    max-width: 50%;
    box-sizing: border-box;
    padding: 20px;
    background: rgb(229 229 229);
}
.business-left-wrapper.business-left-image {
    padding: 0;
    position: relative;
}
.business-left-wrapper.business-left-image:after {
    content: "";
    display: block;
    width: 40%;
    position: absolute;
    background: linear-gradient(to right, rgba(255, 0, 0, 0), rgb(229 229 229));
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 100%;
}

.business-left-image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .business-left-wrapper,
    .business-right-wrapper {
        max-width: 100%;
        flex: 100%;
    }
}

.business-right-wrapper ul {
    list-style: none;
    margin-top: 20px;
}

.business-right-wrapper h2 {
    font-size: 2.6rem;
    font-weight: 500;
    margin: 15px 0;
}

.business-right-wrapper li {
    background: url("/philippines/wp-content/themes/marubeni/images/icon_list_check.png") no-repeat left 7px;
    background-size: 13px;
    padding-left: 20px;
}

.business-right-wrapper {
    list-style: none;
}

.business-right-wrapper li {
    background: url("/philippines/wp-content/themes/marubeni/images/icon_list_check.png") no-repeat left 7px;
    background-size: 13px;
    padding-left: 20px;
    font-size: 16px;
    margin-bottom: 10px;
}
.business-row-hp {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    margin-bottom: 48px;
    padding: 0 16px;
    display: block;
    margin-left: 0;
    width: 100%;
}

.business-image-hp {
    overflow: hidden;
    display: flex;
    justify-content: center;
    height: 250px;
}
.business-content-hp {
    padding: 24px 16px;
}

.businesses-homepage {
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
}

a.business-read-more-hp {
    color: #e60012;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
}

a.business-read-more-hp img {
    margin-left: 5px;
}
a.business-read-more-hp {
    display: flex;
}

a.business-read-more-hp:hover img {
    padding: 0 3px;
    transition: all 0.25s ease-out;
}

.social-media-div a {
    color: #999;
    font-size: 1.2rem;
}

.business-image-hp img {
    flex: 1;
}

.businesses-homepage {
    margin-top: 50px;
}

.business-image-hp:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition: 0.5s;
}
.contact-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.contact-info div {
    flex-grow: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
}
.contact-info div img {
    margin-bottom: 30px;
}

.contact-info div p {
    margin: 0;
}
div#content ul {
    margin-left: 20px;
}

.aligncenter {
    margin: auto;
    display: block;
}

.entry-content p {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.entry-content {
    margin: 50px 0;
}

/*.single-business .entry-content h2 {
    margin-top: 30px;
}*/
div#inner-news-wrapper ul {
    list-style: none !important;
}
.gc-content {
    place-self: start;
}
.gc-content td {
    padding: 5px 0 5px 0;
}
.gc-content td a {
    color: #004fc1;
}
.gc-content table tr td:first-child {
    padding-right: 15px;
}

article#post-72 table td {
    padding: 10px;
    vertical-align: middle;
}

.mobile-menu-button {
    display: none;
}

ul#menu-main-menu li ul.sub-menu {
    display: none;
}
ul#menu-main-menu li ul.sub-menu {
    display: block;
    position: absolute;
    width: 300px;
    transition: all 0.25s ease-out;
    background: #ec002f;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 9;
    top: 45px;
}
ul#menu-main-menu li ul.sub-menu li {
    margin: 0;
}
ul#menu-main-menu li ul.sub-menu li a {
    color: white;
    display: block;
    padding: 10px;
}
ul#menu-main-menu li ul.sub-menu li a:hover {
    background: white;
    color: #ec002f;
}

/* For screens smaller than 320px */
@media screen and (max-width: 319px) {
    /* Add your styles for screens smaller than 320px */
    header#masthead .row {
        height: auto;
    }
    header#masthead .header-col.header-left {
        width: 75%;
    }
    header#masthead .header-col.header-right {
        width: 25%;
    }
    .site-right-menu {
        display: none;
    }
    .site-logo-wrapper {
        margin-top: 10px;
        padding: 5px;
    }
    header#masthead {
        padding: 10px;
    }
    .mobile-menu-button {
        width: 100%;
        align-items: end;
        padding: 0 10px;
        z-index: 1;
    }

    div#homepage-video video {
        width: 100%;
    }
    #news .newsWrap {
        box-shadow: none;
    }
    #news .newsWrap .ttl {
        padding: 0;
    }
    #news .newsWrap .ttl h2 {
        display: block;
    }
    #news .newsWrap .ttl .more {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    #news .newsWrap .ttl .more li {
        float: none;
        margin: 10px 0;
        display: inline-block;
        margin-top: 10px;
        margin-right: 10px;
    }
    #news .newsWrap .ttl .tab {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    #news .newsWrap .ttl .tab li {
        width: 33%;
        margin: 0;
        padding: 0;
        flex-grow: 1;
    }
    #news .newsWrap .newsList {
        padding: 10px;
    }
    #news .newsWrap .newsList .newsBox ul {
        margin: 0;
    }
    #news .newsWrap .newsList .newsBox ul li .date {
        position: relative;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .informationWrap.info-notice {
        padding: 0 !important;
    }
    #news .informationWrap h2 {
        width: 100%;
        display: block;
        position: relative;
        left: 10px;
    }
    #news .informationWrap.info-notice .ttlInfo {
        margin: 0;
        padding: 10px;
    }

    #our-company:before {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        background:
            url("/philippines/wp-content/themes/marubeni/images/world-bg.png") no-repeat center 35%,
            url("/philippines/wp-content/themes/marubeni/images/bg_red.png") repeat left top;
        -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
        transform-origin: left center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        z-index: -1;
    }

    section#our-company h2 {
        font-size: 5rem;
    }
    .businesses-homepage {
        flex-direction: column;
    }
    .business-row-hp {
        max-width: 100%;
        margin: 0;
    }
    .business-image-hp img {
        width: 100%;
    }
    .business-image-hp {
        display: block;
        height: auto;
    }
    .social-media-div {
        flex-grow: 1;
        display: flex;
        align-items: center;
        width: 100%;
        padding: 15px 20px;
    }
    .footer-widget {
        flex: auto;
        padding: 10px;
        width: 100%;
    }
    .footer-menu {
        border-top: solid 1px #646464;
        padding: 10px;
    }
    ul#menu-footer-menu li {
        border-right: none;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    ul#menu-footer-menu li a {
        color: #6f7e7e;
        text-decoration: none;
        padding: 10px;
        font-size: 14px;
    }
    ul#menu-footer-menu {
        padding: 0;
        margin: 0;
        display: flex;
        list-style: none;
        justify-content: center;
        flex-wrap: wrap;
    }

    .gc-row {
        padding: 10px;
    }
    .gc-content {
        font-size: 1.4rem;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .entry-content p {
        font-size: 1.4rem;
        margin-bottom: 20px;
        width: 100%;
    }
    .gc-content table {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        flex-grow: 1;
    }
    .gc-content table tbody tr {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .gc-content table tbody tr td {
        width: 100%;
        word-break: break-all;
    }
}

/* For screens between 321px and 480px */
@media screen and (min-width: 320px) and (max-width: 480px) {
    /* Add your styles for screens between 321px and 480px */

    header#masthead .row {
        height: auto;
    }
    header#masthead .header-col.header-left {
        width: 75%;
    }
    header#masthead .header-col.header-right {
        width: 25%;
    }
    .site-right-menu {
        display: none;
    }
    .site-logo-wrapper {
        margin-top: 10px;
        padding: 5px;
    }
    header#masthead {
        padding: 10px;
    }
    .mobile-menu-button {
        width: 100%;
        align-items: end;
        padding: 0 10px;
        z-index: 1;
    }
    .business.type-business {
        padding: 0 15px;
    }

    div#homepage-video video {
        width: 100%;
    }
    #news .newsWrap {
        box-shadow: none;
    }
    #news .newsWrap .ttl {
        padding: 0;
    }
    #news .newsWrap .ttl h2 {
        display: block;
    }
    #news .newsWrap .ttl .more {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    #news .newsWrap .ttl .more li {
        float: none;
        margin: 10px 0;
        display: inline-block;
        margin-top: 10px;
        margin-right: 10px;
    }
    #news .newsWrap .ttl .tab {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    #news .newsWrap .ttl .tab li {
        width: 33%;
        margin: 0;
        padding: 0;
        flex-grow: 1;
    }
    #news .newsWrap .newsList {
        padding: 10px;
    }
    #news .newsWrap .newsList .newsBox ul {
        margin: 0;
    }
    #news .newsWrap .newsList .newsBox ul li .date {
        position: relative;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .informationWrap.info-notice {
        padding: 0 !important;
    }
    #news .informationWrap h2 {
        width: 100%;
        display: block;
        position: relative;
        left: 10px;
    }
    #news .informationWrap.info-notice .ttlInfo {
        margin: 0;
        padding: 10px;
    }

    #our-company:before {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        background:
            url("/philippines/wp-content/themes/marubeni/images/world-bg.png") no-repeat center 35%,
            url("/philippines/wp-content/themes/marubeni/images/bg_red.png") repeat left top;
        -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
        transform-origin: left center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        z-index: -1;
    }

    section#our-company h2 {
        font-size: 5rem;
    }
    .businesses-homepage {
        flex-direction: column;
    }
    .business-row-hp {
        max-width: 100%;
        margin: 0;
    }
    .business-image-hp img {
        width: 100%;
    }
    .business-image-hp {
        display: block;
        height: auto;
    }
    .social-media-div {
        flex-grow: 1;
        display: flex;
        align-items: center;
        width: 100%;
        padding: 15px 20px;
    }
    .footer-widget {
        flex: auto;
        padding: 10px;
        width: 100%;
    }
    .footer-menu {
        border-top: solid 1px #646464;
        padding: 10px;
    }
    ul#menu-footer-menu li {
        border-right: none;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    ul#menu-footer-menu li a {
        color: #6f7e7e;
        text-decoration: none;
        padding: 10px;
        font-size: 14px;
    }
    ul#menu-footer-menu {
        padding: 0;
        margin: 0;
        display: flex;
        list-style: none;
        justify-content: center;
        flex-wrap: wrap;
    }

    .gc-row {
        padding: 10px;
    }
    .gc-content {
        font-size: 1.4rem;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .entry-content p {
        font-size: 1.4rem;
        margin-bottom: 20px;
        width: 100%;
    }
    .gc-content table {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        flex-grow: 1;
    }
    .gc-content table tbody tr {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .gc-content table tbody tr td {
        width: 100%;
        word-break: break-all;
    }
}

/* For screens between 481px and 768px */
@media screen and (min-width: 481px) and (max-width: 768px) {
    /* Add your styles for screens between 481px and 768px */

    header#masthead .row {
        height: auto;
    }
    header#masthead .header-col.header-left {
        width: 75%;
    }
    header#masthead .header-col.header-right {
        width: 25%;
    }
    .site-right-menu {
        display: none;
    }
    .site-logo-wrapper {
        margin-top: 10px;
        padding: 5px;
    }
    header#masthead {
        padding: 10px;
    }
    .mobile-menu-button {
        width: 100%;
        align-items: end;
        padding: 0 10px;
        z-index: 1;
    }
    .business.type-business {
        padding: 0 15px;
    }

    div#homepage-video video {
        width: 100%;
    }
    #news .newsWrap {
        box-shadow: none;
    }
    #news .newsWrap .ttl {
        padding: 0;
    }
    #news .newsWrap .ttl h2 {
        display: block;
    }
    #news .newsWrap .ttl .more {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    #news .newsWrap .ttl .more li {
        float: none;
        margin: 10px 0;
        display: inline-block;
        margin-top: 10px;
        margin-right: 10px;
    }
    #news .newsWrap .ttl .tab {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    #news .newsWrap .ttl .tab li {
        width: 33%;
        margin: 0;
        padding: 0;
        flex-grow: 1;
    }
    #news .newsWrap .newsList {
        padding: 10px;
    }
    #news .newsWrap .newsList .newsBox ul {
        margin: 0;
    }
    #news .newsWrap .newsList .newsBox ul li .date {
        position: relative;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .informationWrap.info-notice {
        padding: 0 !important;
    }
    #news .informationWrap h2 {
        width: 100%;
        display: block;
        position: relative;
        left: 10px;
    }
    #news .informationWrap.info-notice .ttlInfo {
        margin: 0;
        padding: 10px;
    }

    #our-company:before {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        background:
            url("/philippines/wp-content/themes/marubeni/images/world-bg.png") no-repeat center 35%,
            url("/philippines/wp-content/themes/marubeni/images/bg_red.png") repeat left top;
        -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
        transform-origin: left center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        z-index: -1;
    }

    section#our-company h2 {
        font-size: 5rem;
    }
    .businesses-homepage {
        flex-direction: column;
    }
    .business-row-hp {
        max-width: 100%;
        margin: 0;
    }
    .business-image-hp img {
        width: 100%;
    }
    .business-image-hp {
        display: block;
        height: auto;
    }
    .social-media-div {
        flex-grow: 1;
        display: flex;
        align-items: center;
        width: 100%;
        padding: 15px 20px;
    }
    .footer-widget {
        flex: auto;
        padding: 10px;
        width: 100%;
    }
    .footer-menu {
        border-top: solid 1px #646464;
        padding: 10px;
    }
    ul#menu-footer-menu li {
        border-right: none;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    ul#menu-footer-menu li a {
        color: #6f7e7e;
        text-decoration: none;
        padding: 10px;
        font-size: 14px;
    }
    ul#menu-footer-menu {
        padding: 0;
        margin: 0;
        display: flex;
        list-style: none;
        justify-content: center;
        flex-wrap: wrap;
    }

    .gc-row {
        padding: 10px;
    }
    .gc-content {
        font-size: 1.4rem;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .entry-content p {
        font-size: 1.4rem;
        margin-bottom: 20px;
        width: 100%;
    }
    .gc-content table {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        flex-grow: 1;
    }
    .gc-content table tbody tr {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .gc-content table tbody tr td {
        width: 100%;
        word-break: break-all;
    }
}

/* For screens between 769px and 990px */
@media screen and (min-width: 769px) and (max-width: 991px) {
    /* Add your styles for screens between 769px and 990px */

    div#homepage-video video {
        width: 100%;
    }
    .business-row-hp {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
    #our-company:before {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        background:
            url("/philippines/wp-content/themes/marubeni/images/world-bg.png") no-repeat center 35%,
            url("/philippines/wp-content/themes/marubeni/images/bg_red.png") repeat left top;
        -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
        transform-origin: left center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        z-index: -1;
    }
    #news .newsWrap .ttl {
        padding-bottom: 50px;
    }
    .social-media-div {
        width: 50%;
        margin: 20px 0;
    }
    .gc-row {
        padding: 10px;
    }
    .gc-content {
        font-size: 1.4rem;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .entry-content p {
        font-size: 1.4rem;
        margin-bottom: 20px;
        width: 100%;
    }
    .gc-content table {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        flex-grow: 1;
    }
    .gc-content table tbody tr {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .gc-content table tbody tr td {
        width: 100%;
        word-break: break-all;
    }
}

/* For screens between 991px and 1199px */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    /* Add your styles for screens between 991px and 1199px */
    div#homepage-video video {
        width: 100%;
    }
    .business-row-hp {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
    #our-company:before {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        background:
            url("/philippines/wp-content/themes/marubeni/images/world-bg.png") no-repeat center 35%,
            url("/philippines/wp-content/themes/marubeni/images/bg_red.png") repeat left top;
        -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
        transform-origin: left center;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        z-index: -1;
    }
    #news .newsWrap .ttl {
        padding-bottom: 50px;
    }
    .social-media-div {
        width: 50%;
        margin: 20px 0;
    }
    .gc-row {
        padding: 10px;
    }
    .gc-content {
        font-size: 1.4rem;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .entry-content p {
        font-size: 1.4rem;
        margin-bottom: 20px;
        width: 100%;
    }
    .gc-content table {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        flex-grow: 1;
    }
    .gc-content table tbody tr {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .gc-content table tbody tr td {
        width: 100%;
        word-break: break-all;
    }
}

/* For screens larger than 1200px */
@media screen and (min-width: 1200px) {
    /* Add your styles for screens larger than 1200px */
    div#homepage-video video {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-active ul.sub-menu {
        position: relative !important;
        top: 0 !important;
        background: none !important;
        width: auto !important;
    }

    .mobile-menu-active ul#menu-main-menu li {
        margin: 10px 20px 10px 20px !important;
    }
    .mobile-menu-active .site-main-menu {
        overflow-y: scroll !important;
    }
}

.single-business figure.size-full {
    margin: 0 !important;
    width: 100%;
}

.single-business figure.aligncenter.size-full img {
    width: 100%;
}

a.post-edit-link {
    width: 100px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: red;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    background: #d31010;
    color: white;
    font-size: 16px;
    justify-content: center;
}

span.edit-link {
    display: block;
    margin-bottom: 20px;
}
section#news {
    margin-top: -12%;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    position: relative;
    background: none;
    text-align: left;
    padding: 10px 0;
    color: black;
    text-shadow: none;
    font-size: 1.4rem;
    padding-left: 0 !important;
    scrollbar-gutter: auto !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    display: none;
}
.wp-block-gallery.has-nested-images.columns-3 {
    display: flex !important;
    flex-direction: row !important;
    gap: 2.75%;
    flex-wrap: nowrap;
    place-self: self-start;
}
figure#company-profile-table table td {
    padding: 20px 30px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    background: white;
}
figure#company-profile-table table td:first-child {
    font-weight: normal;
    vertical-align: middle;
    background: #efefef;
    padding: 20px 30px;
    text-align: left;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

div#marubeni-news-popup a {
    color: #15c;
}

figure.wp-block-table.custom-table table {
    width: auto;
}
figure.wp-block-table.custom-table table td:nth-child(2) {
    width: 70%;
}

@media screen and (max-width: 750px) {
    /* news
  ---------------------------------------------*/
    #news .inner {
        padding: 15% 0 30px;
        position: relative;
        top: 0;
        z-index: 1;
    }
    #news .bnrWrap {
        padding: 0 35px;
        margin: 0 auto 40px;
        max-width: 445px;
    }
    #news .newsWrap .ttl {
        position: relative;
        border-bottom: 1px solid #ccc;
        padding: 0px 5px;
    }
    #news .newsWrap .ttl h2 {
        font-size: 2.4rem;
        font-weight: 400;
        display: inline-block;
        padding-left: 15px;
    }
    #news .newsWrap .ttl .more {
        display: inline-block;
        position: relative;
        top: 4px;
        left: 4px;
    }
    #news .newsWrap .ttl .more li {
        float: left;
        padding-left: 15px;
        margin-left: 10px;
    }
    #news .newsWrap .ttl .more li.rss {
        background: url(../common/img/icon_rss.png) no-repeat left center;
    }
    #news .newsWrap .ttl .more li.list {
        padding-left: 10px;
        background: url(../common/img/sp/icon_arrow_r.png) no-repeat left center;
        background-size: 6px;
    }
    #news .newsWrap .ttl .more li a {
        font-size: 1.2rem;
    }
    #news .newsWrap .ttl .tab li {
        float: left;
        width: 13%;
        margin: 15px 0 0;
        text-align: center;
        line-height: 35px;
        font-size: 1.2rem;
        cursor: pointer;
        position: relative;
        padding: 0;
    }
    #news .newsWrap .ttl .tab li:first-child {
        width: 14%;
    }
    #news .newsWrap .ttl .tab li:nth-child(2),
    #news .newsWrap .ttl .tab li:nth-child(4) {
        width: 22%;
    }
    #news .newsWrap .ttl .tab li:last-child {
        width: 29%;
    }
    #news .newsWrap .ttl .tab li.active {
        color: #e60012;
    }
    #news .newsWrap .ttl .tab li.active:after {
        content: "";
        width: 100%;
        height: 1px;
        display: block;
        background: #e60012;
        position: absolute;
        bottom: -1px;
        left: 0;
    }
    #news .newsWrap .newsList {
        padding: 15px;
        box-sizing: border-box;
    }
    #news .newsWrap .newsList .newsBox {
        display: none;
    }
    #news .newsWrap .newsList .newsBox.active {
        display: block;
    }
    #news .newsWrap .newsList .newsBox ul li {
        position: relative;
        border-bottom: 1px dotted #ccc;
        padding-bottom: 15px;
    }
    #news .newsWrap .newsList .newsBox ul li + li {
        margin-top: 15px;
    }
    #news .newsWrap .newsList .newsBox ul li span {
        font-size: 1.4rem;
        display: inline-block;
    }
    #news .newsWrap .newsList .newsBox ul li .date {
        color: #666;
        font-size: 1.3rem;
    }
    #news .newsWrap .newsList .newsBox ul li .date .tag {
        width: 100px;
        margin-left: 20px;
        text-align: center;
        background: #666;
        font-size: 1.2rem;
        color: #fff;
    }
    #news .newsWrap .newsList .newsBox ul li a {
        font-size: 1.4rem;
        display: block;
        margin-top: 7px;
    }
    #news .newsWrap .newsList .newsBox ul li a span {
        display: inline;
    }
    #news .informationWrap {
        margin: 10px 15px;
        position: relative;
        padding: 15px 15px 0;
        box-sizing: border-box;
        box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        background: #fff;
    }
    #news .informationWrap h2 {
        font-size: 1.5rem;
        color: #e70012;
        /* background: url(../common/img/sp/icon_caution.png) no-repeat left center; */
        /* background-size: 24px; */
        /* padding-left: 30px; */
        /* line-height: 30px; */
        line-height: 1.4;
    }
    #news .informationWrap.ir h2 {
        color: #1e1572;
        background: none;
        padding-left: 0;
    }
    #news .informationWrap .btnAcd {
        width: 100%;
        height: 40px;
        border-top: 1px solid #ddd;
        background: url(../common/img/sp/icon_plus_g.png) no-repeat center center;
        background-size: 14px;
    }
    #news .informationWrap.active .btnAcd {
        background: url(../common/img/sp/icon_minus_g.png) no-repeat center center;
        background-size: 14px;
    }
    #news .informationWrap .ttlInfo {
        padding: 10px 0;
        font-size: 1.4rem;
    }
    #news .informationWrap .ttlInfo .date {
        color: #666;
        display: block;
        margin-right: 18px;
    }
    /* #news .informationWrap .ttlInfo a {
    display: block;
  } */
    #news .informationWrap ul {
        margin-bottom: 25px;
        display: none;
    }
    #news .informationWrap ul li {
        font-size: 1.4rem;
    }
    #news .informationWrap ul li div {
        margin-bottom: 15px;
    }
    #news .informationWrap ul li div p {
        font-size: 1.3rem;
        line-height: 1.7;
    }
}
