/* Per-page styles (Tailwind utilities converted to plain CSS).
   @import must stay at the very top of the file per the CSS spec. */
@import url("safety.css");
@import url("contact.css?ver=1785490499");
@import url("our-office.css");
@import url("privacy.css");
@import url("sitemap.css");
@import url("business.css");
@import url("footer.css");

/* @media (max-width: 767px) {
    :root {
    }
} */

header{
    position: sticky;
    top: 0;
    z-index: 10;
}

/* =============================================
   INTRO ANIMATION OVERLAY
   ============================================= */
.ib-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.ib-intro-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.ib-intro-overlay__logo {
    width: 240px;
    max-width: 60vw;
    animation: introLogoIn 1.5s ease forwards;
}

/* @keyframes introLogoIn {
    from {
        opacity: 0;
        transform: translateY(40px);
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        transform: scale(1.5);
    }
} */

@keyframes introLogoIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* @keyframes introLogoIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
} */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--base);
}

* {
    box-sizing: border-box;
}

.wp-site-blocks {
    min-height: 100vh;
    background-color: white;
}
.wp-site-blocks > main { flex: 1; }

:where(.wp-site-blocks) > * {
    margin-block-start: 0;
}
:root :where(.is-layout-flow) > * {
    margin-block-start: 0;
}

.is-layout-constrained > .alignwide {
    padding-left: 80px;
    padding-right: 80px;
    width: 100%;
}
@media (max-width: 1199px) {
    .is-layout-constrained > .alignwide {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (max-width: 767px) {
    .is-layout-constrained > .alignwide {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.is-layout-constrained > .aligncontent {
    padding-left: 80px;
    padding-right: 80px;
    width: 100%;
}
@media (max-width: 1199px) {
    .is-layout-constrained > .aligncontent {
        padding-left: 40px;
        padding-right: 40px;
    }
}
@media (max-width: 767px) {
    .is-layout-constrained > .aligncontent {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.text-nowrap {
    white-space: nowrap;
}

/* =============================================
   HEADER — common on ALL pages (two-row: blue top bar + white nav bar)
   ============================================= */

.site-header,
.site-header *,
.ib-site-footer,
.ib-site-footer * {
    font-family: var(--wp--preset--font-family--noto-sans-jp);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    background-color: #ffffff;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-scrolled{
    background-color: #ffffffb3;
    backdrop-filter: blur(20px);
}

/* Hide when scrolling down, reveal when scrolling up */
.site-header.is-hidden{
    transform: translateY(-100%);
}

/* ── Top bar (blue) ── */
.site-header__topbar {
    background-color: #0071BC;
    position: relative;
    z-index: 2;
}
.site-header__topbar-inner {
    min-height: 48px;
}
.site-header__phone {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    align-self: stretch;
    &::after{
        content: "";
        height: 100%;
        width: 1px;
        background-color: white;
        margin-left: 20px;
        margin-right: 20px;
    }
}
.site-header__phone svg {
    flex-shrink: 0;
    margin-right: 12px;
}

/* gtranslate flags in top bar */
.site-header__topbar .gtranslate_wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    line-height: 0;
    margin-right: 20px;
}
.site-header__topbar .gtranslate_wrapper a,
.site-header__topbar .gtranslate_wrapper img {
    display: block;
    width: 20px;
    height: auto;
    border-radius: 2px;
    opacity: 1;
}

.site-header__topbar .gtranslate_wrapper a[data-gt-lang="ja"]{
    order: 0;
}

.site-header__topbar .gtranslate_wrapper a[data-gt-lang="en"]{
    order: 1;
}

/* ── Main bar (white) ── */
.site-header__main {
    border-bottom: 1px solid #FFFFFF4D;
}
.site-header__main-inner {
    gap: 24px;
    min-height: 87px;
}
.site-header__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.site-header__logo img {
    display: block;
    width: auto;
    height: 47px;
    max-width: 100%;
}

/* ── Nav links ── */
.site-header__links .wp-block-navigation-item{
    color: var(--wp--preset--color--primary);
}
.site-header__links .wp-block-navigation-item a,
.site-header__links .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: var(--wp--preset--color--foreground);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}
.site-header__links .wp-block-navigation-item a:hover,
.site-header__links .wp-block-navigation-item__content:hover {
    color: var(--wp--preset--color--primary);
}
.site-header__links .wp-block-navigation-item.current-menu-item > a,
.site-header__links .wp-block-navigation-item.is-active > a,
.site-header__links .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.site-header__links .wp-block-navigation-item.current-menu-ancestor > a {
    color: var(--wp--preset--color--primary);
}

/* ── Header controls (right of main bar): nav pill + hamburger ── */
.site-header__controls {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.site-header__pill {
    display: flex;
    align-items: center;
}

/* Hamburger button (hidden on desktop, animates to X via .active) */
.site-header__menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 16px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}
.site-header__menu-btn .wp-block-button__link {
    font-size: 0;
    line-height: 0;
    padding: 0;
    height: 2px;
    width: 24px;
    border-radius: 2px;
    background: var(--wp--preset--color--foreground);
    position: absolute;
    left: 6px;
    top: 50%;
    display: block;
}
.site-header__menu-btn .wp-block-button__link:before,
.site-header__menu-btn .wp-block-button__link:after {
    content: '';
    height: 2px;
    width: 24px;
    border-radius: 2px;
    background: var(--wp--preset--color--foreground);
    position: absolute;
    left: 0;
    display: block;
}
.site-header__menu-btn .wp-block-button__link:before { top: -8px; }
.site-header__menu-btn .wp-block-button__link:after  { top: 8px; }
.site-header__menu-btn .wp-block-button__link,
.site-header__menu-btn .wp-block-button__link:before,
.site-header__menu-btn .wp-block-button__link:after {
    transition: all 0.4s ease-in-out;
}
.site-header__menu-btn.active .wp-block-button__link { background-color: transparent; }
.site-header__menu-btn.active .wp-block-button__link:before,
.site-header__menu-btn.active .wp-block-button__link:after { top: 0; }
.site-header__menu-btn.active .wp-block-button__link:before { transform: rotate(135deg); }
.site-header__menu-btn.active .wp-block-button__link:after  { transform: rotate(-135deg); }

/* ── Tablet / mobile: pill becomes a drawer sliding down from top (≤1199px) ── */
@media (max-width: 1199px) {
    .site-header__topbar-inner { min-height: 36px; }
    .site-header__phone        { font-size: 13px; }
    .site-header__main-inner   { min-height: 60px; }
    .site-header__logo img     { height: 34px; }

    .site-header__logo,
    .site-header__menu-btn {
        display: flex;
        position: relative;
        z-index: 2;
    }

    .site-header__pill {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: auto;
        background-color: #ffffff;
        border-radius: 0 0 20px 20px;
        padding: 100px 40px 28px;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 100dvh;
        transform: translateY(-100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        display: block;
    }
    .site-header.is-mobile-open .site-header__pill {
        transform: translateY(0);
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
    }

    /* Nav renders as a vertical list inside the drawer */
    .site-header__pill .site-header__links,
    .site-header__pill .wp-block-navigation__container {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
        gap: 0 !important;
    }
    .site-header__links .wp-block-navigation-item { width: 100%; }
    .site-header__links .wp-block-navigation-item a,
    .site-header__links .wp-block-navigation-item__content {
        display: flex;
        width: 100%;
        padding: 14px 0 !important;
    }

    /* Dimming overlay (injected by JS) — below header, above page */
    .site-header__overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 198;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 0;
    }
    .site-header__overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }
}
@media (max-width: 767px) {
    .site-header__pill { padding-left: 20px; padding-right: 20px; }
}


/* =============================================
   CERTIFICATIONS SECTION  bg: #f5f5f5
   ============================================= */

.ib-certs-section {
    background: #f5f5f5;
    padding-top: 120px;
    padding-bottom: 0;
    overflow: hidden;
}

.ib-certs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 60px;
    box-sizing: border-box;
}

.ib-certs-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    color: var(--wp--preset--color--foreground);
    line-height: 60px;
    margin: 0;
    text-transform: capitalize;
}

.ib-certs-arrows {
    display: flex;
    gap: 20px;
}

/* Cards wrap: relative container so teal band can be absolute */
.ib-certs-cards-wrap {
    position: relative;
    padding-left: 80px;
}
@media (max-width: 767px) {
    .ib-certs-cards-wrap {
        padding-left: 0;
    }
}

/* Swiper container for certifications */
.ib-certs-swiper {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.ib-certs-swiper .swiper-wrapper {
    height: 100%;
    align-items: stretch;
}

/* Each slide width for slidesPerView: 'auto' */
.ib-certs-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Each cert card: flex-col, gap 28px, p-20px, dashed right border */
.ib-cert-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 20px;
    overflow: hidden;
    position: relative;
}
.ib-cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 37px;
    border-left: 1px dashed rgba(255, 255, 255, 0.5);
    right: 0;
    z-index: 1;
}
.ib-cert-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    background-color: var(--wp--preset--color--primary);
    height: 50%;
    width: 100%;
    left: 0;
    z-index: 0;
}

/* Certificate image area: white bg, 260×300 rounded */
.ib-cert-card__img-wrap {
    max-width: 260px;
    width: 100%;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    aspect-ratio: 260 / 300;
}

.ib-cert-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ib-cert-card__label {

    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin: 0;
    max-width: 258px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* =============================================
   CTA SECTION  bg: #ffffff, card bg: var(--wp--preset--color--primary-accent)
   ============================================= */

.ib-cta-section {
    background-color: #ffffff;
    padding: 80px 0;
    position: relative;
}
.ib-cta-section::after {
    content: '';
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    width: 390px;
    height: 306px;
    position: absolute;
    right: 0;
    bottom: 0;
}
@media (max-width: 767px) {
    .ib-cta-section::after {
        display: none;
    }
}

.ib-cta-card {
    background: var(--wp--preset--color--primary-accent);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 260px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.ib-cta-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.ib-cta-heading {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 60px;
    white-space: nowrap;
    text-transform: capitalize;
}

.ib-cta-sub {

    color: #ffffff;
    margin: 0;
    text-transform: capitalize;
}

.ib-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 200px;
    height: 46px;
    padding: 4px 4px 4px 20px;
    font-weight: 500;
    width: fit-content;
    transition: opacity 0.2s;
    text-transform: capitalize;
}

.ib-cta-btn__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-cta-btn:hover {
    opacity: 0.8;
}

/* =============================================
   HOME CTA SECTION  bg: rectangle.png full-bleed
   ============================================= */

.ib-home-cta-section {
    background-color: #F5F5F5;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    margin: 0px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ib-home-cta-deco-left {
    position: absolute;
    width: 493px;
    height: 483px;
    left: 0;
    bottom: 0;
    transform: rotate(180deg) translate(28%, -46%);
    pointer-events: none;
    user-select: none;
}

.ib-home-cta-deco-right {
    position: absolute;
    width: 292px;
    height: 286px;
    right: 0;
    top: 0;
    transform: translate(20%, -24%);
    pointer-events: none;
    user-select: none;
}

.ib-home-cta-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 80px;
    max-width: var(--wp--style--global--wide-size);
    position: relative;
    z-index: 1;
}

.ib-home-cta-heading {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-home-cta-sub {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    line-height: 1.85;
}

.ib-home-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 200px;
    height: 46px;
    padding: 4px 4px 4px 20px;
    font-weight: 500;
    width: fit-content;
    transition: opacity 0.2s;
    text-transform: capitalize;
    font-size: var(--wp--preset--font-size--md);
}

.ib-home-cta-btn__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-home-cta-btn:hover {
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .ib-home-cta-section {
        min-height: 300px;
    }
    .ib-home-cta-deco-left {
        width: 360px;
    }
    .ib-home-cta-deco-right {
        width: 200px;
    }
    .ib-home-cta-content {
        padding: 56px 40px;
    }
    .ib-home-cta-heading {
        font-size: 32px;
    }
    .ib-home-cta-btn {
        height: 42px;
        padding: 3px 3px 3px 18px;
        gap: 10px;
        font-size: var(--wp--preset--font-size--md);
    }
    .ib-home-cta-btn__icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 767px) {
    .ib-home-cta-section {
        min-height: 260px;
    }
    .ib-home-cta-deco-left {
        width: 240px;
    }
    .ib-home-cta-deco-right {
        width: 140px;
    }
    .ib-home-cta-content {
        padding: 40px 20px;
    }
    .ib-home-cta-heading {
        font-size: 26px;
    }
    .ib-home-cta-sub {
        font-size: var(--wp--preset--font-size--md);
    }
    .ib-home-cta-btn {
        height: 36px;
        padding: 3px 3px 3px 14px;
        gap: 8px;
        font-size: var(--wp--preset--font-size--base);
    }
    .ib-home-cta-btn__icon {
        width: 30px;
        height: 30px;
    }
}
@media (max-width: 480px) {
    .ib-home-cta-content {
        padding: 32px 16px;
    }
}

/* =============================================
   HOME — CONTACT CTA SECTION  bg: container-cargo-ship-sea.webp full-bleed
   ============================================= */

.ib-home-contact-section {
    background-image: url(../images/home/container-cargo-ship-sea.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 560px;
}

.ib-home-contact-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
    max-width: var(--wp--style--global--wide-size);
    width: 100%;
    padding: 0 80px;
}

.ib-home-contact-title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    color: var(--wp--preset--color--white);
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.ib-home-contact-cards {
    display: grid;
    grid-template-columns: max-content;
    gap: 40px;
}

.ib-home-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: 200px;
    padding: 12px 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    min-width: 320px;
    transition: opacity 0.2s;
}

.ib-home-contact-card:hover {
    opacity: 0.85;
}

.ib-home-contact-card-label {
    font-family: var(--wp--preset--font-family--noto-sans-jp);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: var(--wp--preset--color--foreground);
    text-align: center;
}

.ib-home-contact-card-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--wp--preset--font-family--noto-sans-jp);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    color: var(--wp--preset--color--primary);
}

.ib-home-contact-card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .ib-home-contact-inner {
        padding: 0 40px;
    }
    .ib-home-contact-section {
        min-height: 480px;
    }
    .ib-home-contact-title {
        font-size: 32px;
    }
    .ib-home-contact-card {
        min-width: 280px;
    }
    .ib-home-contact-card-value {
        font-size: 24px;
    }
    .ib-home-contact-card-icon {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 767px) {
    .ib-home-contact-section {
        min-height: auto;
        padding: 64px 0;
        background-position: center;
    }
    .ib-home-contact-inner {
        padding: 0 20px;
        gap: 40px;
    }
    .ib-home-contact-title {
        font-size: 28px;
    }
    .ib-home-contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    .ib-home-contact-card {
        width: 100%;
        min-width: 0;
    }
    .ib-home-contact-card-label {
        font-size: 18px;
    }
    .ib-home-contact-card-value {
        font-size: 20px;
    }
    .ib-home-contact-card-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .ib-home-contact-inner {
        padding: 0 16px;
    }
    .ib-home-contact-title {
        font-size: 24px;
    }
    .ib-home-contact-card-label {
        font-size: 16px;
    }
    .ib-home-contact-card-value {
        font-size: 18px;
    }
}

/* =============================================
   FOOTER  dark navy, reads offices from CPT
   ============================================= */

.ib-site-footer {
    background: #00395E;
    color: #fff;
    padding: 0;
}

.ib-site-footer a {
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
}

.ib-site-footer a:hover {
    color: #fff;
}

/* Top row: logo + social */
.ib-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0;
}

.ib-footer-logo-link {
    display: inline-flex;
}

.ib-footer-logo {
    height: 47px;
}

.ib-footer-social {
    display: flex;
    gap: 40px;
}

.ib-footer-social a {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

/* Office columns (from footer-offices pattern) */
.ib-footer-content {
    border-top: 1px solid #FFFFFF33
}
.ib-footer-content-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
    box-sizing: border-box;
    row-gap: 40px;
}

.ib-footer-office {
    min-width: 0;
    padding: 12px 0;
    max-width: calc((100% / 4) - 40px);
}

.ib-footer-office-name {
    font-size: var(--wp--preset--font-size--md);
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 16px;
    list-style: none;
    cursor: default;
    pointer-events: none;
    text-transform: capitalize;
}

.ib-footer-office-name font::first-letter {
    text-transform: uppercase;
}

.ib-footer-office-name::-webkit-details-marker { display: none; }

.ib-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ib-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    font-size: 14px;
    line-height: calc(19 / 14);
}

.ib-footer-contact-item > svg {
    min-width: 24px;
}

.ib-footer-icon {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

/* Copyright bar */
.ib-footer-copyright-row {
    background: var(--wp--preset--color--primary);
    padding: 16px 0;
}

.ib-footer-copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 auto;
    box-sizing: border-box;
}

.ib-footer-legal {
    display: flex;
    gap: 40px;
}

.ib-footer-legal a,
.ib-footer-copyright {
    color: #C2DCFF;
    font-size: 14px;
    line-height: calc(19 / 14);
    margin: 0;
}

.ib-footer-legal a::first-letter{
    text-transform: capitalize;
}

.ib-footer-copyright {
    color: #fff;
}

/* =============================================
   SHARED UTILITIES
   ============================================= */

.ib-maruyama-card-shadow { box-shadow: 0 18px 45px rgba(23, 33, 43, 0.1); }
.ib-maruyama-card-border { border: 1px solid var(--wp--preset--color--line); }

.editor-styles-wrapper .wp-block-post-title,
.editor-styles-wrapper .wp-block-heading { letter-spacing: 0; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1199px) {
    .ib-certs-swiper { height: auto; }
    .ib-certs-swiper .swiper-wrapper { min-height: 280px; }
    .ib-footer-office {
        flex-basis: 45%;
        max-width: 45%;
    }
}

@media (max-width: 767px) {
    .ib-services-swiper .swiper-slide { width: 100%; }
    .ib-cta-section { padding: 40px 0px; }
    .ib-cta-card {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    .ib-footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .ib-footer-content-row {
        flex-direction: column;
        gap: 0; row-gap: 0;
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .ib-footer-office {
        flex-basis: auto;
        width: 100%;
        padding: 0;
        border-bottom: 1px solid #FFFFFF33;
        max-width: 100%;
    }
    .ib-footer-office-name {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin: 0;
        padding: 20px 0;
        cursor: pointer;
        pointer-events: auto;
    }
    .ib-footer-office-name::after {
        content: '';
        flex-shrink: 0;
        width: 10px;
        height: 10px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg) translate(-2px, -2px);
        transition: transform .25s ease;
    }
    .ib-footer-office[open] .ib-footer-office-name::after {
        transform: rotate(225deg) translate(-2px, -2px);
    }
    .ib-footer-contact-list { padding-bottom: 24px; }

    /* ponytail: progressive enhancement — older browsers just snap open/closed */
    .ib-footer-office {
        interpolate-size: allow-keywords;
    }
    .ib-footer-office::details-content {
        block-size: 0;
        overflow: hidden;
        transition: block-size .3s ease, content-visibility .3s allow-discrete;
    }
    .ib-footer-office[open]::details-content {
        block-size: auto;
    }
    .ib-footer-copyright-inner { flex-direction: column; gap: 12px; text-align: center; }
    .ib-certs-header { padding: 0 20px 40px; }
}

/* =============================================
   SERVICE PAGE BANNER  (service-banner pattern)
   ============================================= */

.ib-page-banner.wp-block-cover {
    margin-top: 64px;
    min-height: 494px !important;
    background-color: #111111;
    padding: 108px 0;
}
.ib-page-banner .wp-block-cover__background {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.50) 100%);
}
.ib-page-banner .wp-block-cover__inner-container {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    flex-direction: column;
    padding: 0;
}
.ib-page-banner__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Stabilize cover/background video rendering to reduce flicker on scene changes */
.ib-hero-banner video {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    image-rendering: auto;
}
.ib-page-banner__inner {
    padding-bottom: 0;
}
.service-banner.wp-block-cover {
    padding-bottom: 78px;
}
.service-banner .ib-page-banner__inner  {
    padding-top: 40px;
}
.ib-page-banner__label {
    font-weight: 600;
    color: var(--wp--preset--color--primary);
    line-height: normal;
    text-transform: capitalize;
}

.ib-page-banner__stat-bar {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 639px;
    margin: 40px auto 0;
}

.ib-page-banner__stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 53px 20px;
}

.ib-page-banner__stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-page-banner__stat-icon img,
.ib-page-banner__stat-icon svg {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.ib-page-banner__stat-label {
    font-size: var(--wp--preset--font-size--md);
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    line-height: normal;
    text-transform: capitalize;
}

@media (max-width: 1199px) {
    .ib-page-banner.wp-block-cover {
        margin-top: 48px;
    }
}

@media (max-width: 900px) {
    .ib-page-banner__stat-label { white-space: normal; }
    .ib-page-banner__stat-item { padding: 24px 12px; gap: 12px; }
}

@media (max-width: 600px) {
    .ib-page-banner.wp-block-cover { min-height: 420px !important; }
    .ib-page-banner__stat-bar { flex-direction: column; border-top: none; }
    .ib-page-banner__stat-divider { width: 100%; height: 1px; margin: 0 24px; }
    .ib-page-banner__stat-item { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.15); }
    .ib-page-banner__inner { gap: 20px; }
}

/* =============================================
   SERVICE NAV  (service-nav pattern)
   ============================================= */

.ib-service-nav {
    background: #ffffff;
    border-bottom: 1px solid #e4e4e4;
    position: sticky;
    top: 78px; /* matches fixed header height */
    z-index: 100;
}

.ib-service-nav__inner {
    display: flex !important;
    align-items: stretch;
    padding: 0 !important;
}

.ib-service-nav__item {
    flex: 1;
}

.ib-service-nav__item + .ib-service-nav__item,
.ib-service-nav__divider + .ib-service-nav__item {
    border-left: 1px solid #e4e4e4;
}

.ib-service-nav__divider {
    width: 1px;
    background: #e4e4e4;
    flex-shrink: 0;
    align-self: stretch;
    margin: 12px 0;
}

.ib-service-nav__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    text-decoration: none;
    color: var(--wp--preset--color--foreground);
    transition: background 0.2s, color 0.2s;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.ib-service-nav__link:hover {
    background: rgba(42, 188, 162, 0.05);
    color: var(--wp--preset--color--primary);
}

.ib-service-nav__icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(42, 188, 162, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ib-service-nav__link:hover .ib-service-nav__icon-wrap {
    background: rgba(42, 188, 162, 0.18);
}

.ib-service-nav__icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.ib-service-nav__label {

    font-weight: 500;
    flex: 1;
    line-height: 1.4;
    text-transform: capitalize;
}

.ib-service-nav__arrow {
    flex-shrink: 0;
    color: var(--wp--preset--color--primary);
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}

.ib-service-nav__link:hover .ib-service-nav__arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

@media (max-width: 900px) {
    .ib-service-nav { position: static; }
    .ib-service-nav__inner { flex-direction: column !important; }
    .ib-service-nav__divider { display: none; }
    .ib-service-nav__item { border-left: none !important; border-bottom: 1px solid #e4e4e4; }
    .ib-service-nav__item:last-child { border-bottom: none; }
    .ib-service-nav__link { padding: 16px 20px; }
}

/* =============================================
   SECTION HEADER  (shared across service sections)
   ============================================= */

.ib-section-header {
    margin-bottom: 48px;
}

.ib-section-eyebrow {
    display: inline-block !important;

    font-weight: 700;
    color: var(--wp--preset--color--primary) !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(42, 188, 162, 0.1);
    border-radius: 200px;
    padding: 4px 14px;
    margin: 0 0 20px !important;
}

/* =============================================
   SERVICE TRANSPORT SECTION  (service-transport pattern)
   ============================================= */

.ib-svc-transport-section {
    background: #ffffff;
    padding: 80px 0;
}

/* Section header: centered title + subtitle */
.ib-svc-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.ib-svc-section-title {
    font-weight: 600;
    line-height: normal;
    margin: 0 0 12px;
}

.ib-svc-section-subtitle {
    font-weight: 500;
    line-height: normal;
}

/* 2-column card grid */
.ib-svc-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 840px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .ib-svc-card-grid {
        grid-template-columns: 1fr;
    }
}

.ib-svc-photo-card {
    border-radius: 16px;
    overflow: hidden;
}

.ib-svc-photo-card__img-wrap {
    width: 100%;
    aspect-ratio: 400 / 220;
    overflow: hidden;
    border-radius: 16px;
}

.ib-svc-photo-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    border-radius: 16px;
}

.ib-svc-photo-card:hover .ib-svc-photo-card__img {
    transform: scale(1.04);
}

.ib-svc-photo-card__body {
    padding: 20px 0 38px;
}

.ib-svc-photo-card__title {
    font-size: var(--wp--preset--font-size--xl);
    font-weight: 500;
    margin: 0 0 12px !important;
    line-height: normal;
}

.ib-svc-photo-card__desc {
    line-height: normal;
    margin: 0 !important;
}

/* Centered contact button below cards */
.ib-svc-transport-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

@media (max-width: 767px) {
    .ib-svc-transport-section { padding: 48px 0 64px; }
}

/* =============================================
   SERVICE WAREHOUSE SECTION  (service-warehouse pattern)
   ============================================= */

.ib-warehouse-section {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    background-size: cover;
}

.ib-warehouse-inner {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .ib-warehouse-section { padding: 48px 0 64px; }
}

/* =============================================
   SERVICE VEHICLE SECTION  (service-vehicle pattern)
   ============================================= */

.ib-vehicle-section {
    padding: 80px 0;
}

/* Section title: white on dark */
.ib-vehicle-title {
    font-weight: 600;
    margin: 0 0 48px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* 4-column vehicle grid */
.ib-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Vehicle card: white bg, large rounded corners */
.ib-vehicle-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ib-vehicle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}
.ib-vehicle-card:hover .ib-vehicle-card__img-wrap {
    border-radius: 8px;
}

/* Photo area */
.ib-vehicle-card__img-wrap {
    width: 100%;
    aspect-ratio: 305/200;
    background: #e0e6e8;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    transition: border-radius 0.2s;
}

.ib-vehicle-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    border-radius: 8px;
}

.ib-vehicle-card:hover .ib-vehicle-card__img {
    transform: scale(1.04);
}

.ib-vehicle-card__badge {
    position: absolute;
    bottom: 0;
    right: 0;
    color: var(--wp--preset--color--foreground);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 8px;
    border-radius: 8px 0;
    background: rgba(255, 255, 255, 0.50);
    width: 67px;
    height: 39px;
    text-align: center;
}

.ib-vehicle-card__name {
    padding: 20px 12px;

    font-style: normal;
    font-weight: 500;
    line-height: 1.85;
    text-align: center;
    margin: 0 !important;
    background: #ffffff;
    word-break: break-all;
}

/* Responsive */
@media (max-width: 1024px) {
    .ib-vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 767px) {
    .ib-vehicle-section { padding: 48px 0 64px; }
    .ib-vehicle-title { margin-bottom: 32px !important; }
    .ib-vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ==============================================
   ABOUT PAGE
   ============================================= */

body.page-template-page-about .site-header__nav {
    background: transparent;
    border-bottom: none;
}
.ib-page-banner--about.wp-block-cover {
    padding: 0;
    align-items: start;
}
.ib-page-banner--about .wp-block-cover__background {
    background: rgba(0, 0, 0) !important;
}
.ib-page-banner--about .wp-block-cover__inner-container {
    justify-content: center;
    z-index: 1;
    margin-top: 100px;
}
.ib-page-banner__inner--about {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.ib-about-banner__label {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 8px;
}
.ib-about-banner__heading {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}
.ib-about-banner__body {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.85;
    color: #ffffff;
}
@media (max-width: 767px) {
    .ib-page-banner--about .wp-block-cover__inner-container {
        margin-top: 50px;
    }
    .ib-page-banner--about.wp-block-cover {
        min-height: 350px !important;
    }
    .ib-about-banner__heading {
        font-size: 28px;
    }
}
@media (max-width: 480px) {
    .ib-page-banner__inner--about {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* About page — hero banner (about-banner pattern) */
.ib-about-hero.wp-block-cover {
    padding: 0;
    align-items: center;
    min-height: 400px !important;
}
.ib-about-hero .wp-block-cover__background {
    opacity: 0.8 !important;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 76.36%) !important;
}
.ib-about-hero .wp-block-cover__image-background {
    object-position: center 70%;
}
.ib-about-hero .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
}
.ib-about-hero__heading {
    margin: 0;
    font-size: 48px;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}
@media (max-width: 1024px) {
    .ib-about-hero.wp-block-cover {
        min-height: 320px !important;
    }
    .ib-about-hero__heading {
        font-size: 36px;
    }
}
@media (max-width: 767px) {
    .ib-about-hero.wp-block-cover {
        min-height: 240px !important;
    }
    .ib-about-hero__heading {
        font-size: 28px;
    }
}

/* ==============================================
   ABOUT PAGE  —  INTRO SECTION (会社概要)  bg: rgba(194,220,255,.25)
   ============================================= */

.ib-about-intro-section {
    display: flex;
    justify-content: center;
    background: rgba(194, 220, 255, 0.25);
    overflow: hidden;
}

.ib-about-intro-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: var(--wp--style--global--wide-size);
    width: 100%;
    padding: 40px 80px;
}

.ib-about-intro-title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    text-align: center;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-about-intro-card {
    border-radius: 20px;
    padding: 20px;
    background: rgba(194, 220, 255, 0.25);
}

.ib-about-intro-table {
    width: 100%;
    font-family: var(--wp--preset--font-family--noto-sans-jp);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--wp--preset--color--foreground);
}

.ib-about-intro-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px dashed #77ACF1;
}

.ib-about-intro-row:last-child {
    border-bottom: none;
}

.ib-about-intro-row:first-child .ib-about-intro-cell--label {
    border-top-left-radius: 8px;
}

.ib-about-intro-row:first-child .ib-about-intro-cell--value {
    border-top-right-radius: 8px;
    gap: 0;
}

.ib-about-intro-row:last-child .ib-about-intro-cell--label {
    border-bottom-left-radius: 8px;
}

.ib-about-intro-row:last-child .ib-about-intro-cell--value {
    border-bottom-right-radius: 8px;
}

.ib-about-intro-cell--label {
    flex: 0 0 400px;
    width: 400px;
    padding: 20px 40px;
    border-right: 1px dashed #77ACF1;
    background: rgba(194, 220, 255, 0.25);
    display: flex;
    align-items: center;
    text-transform: capitalize;
}

.ib-about-intro-cell--value {
    flex: 1;
    min-width: 0;
    padding: 20px 40px;
    background: rgba(194, 220, 255, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.ib-about-intro-cell--value > span {
    display: block;
}

.ib-about-intro-office {
    display: flex;
    flex-direction: column;
}

.ib-about-intro-office__name {
    font-weight: 600;
    text-transform: capitalize;
}

@media (max-width: 1024px) {
    .ib-about-intro-inner {
        gap: 24px;
        padding: 40px ;
    }
    .ib-about-intro-title {
        font-size: 32px;
    }
    .ib-about-intro-cell--label {
        flex: 0 0 220px;
        width: 220px;
        padding: 16px 24px;
        font-size: 14px;
    }
    .ib-about-intro-cell--value {
        padding: 16px 24px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .ib-about-intro-inner {
        padding: 40px 20px;
    }
    .ib-about-intro-title {
        font-size: 28px;
    }
    .ib-about-intro-card {
        padding: 12px;
    }
    .ib-about-intro-cell--label {
        flex: 0 0 120px;
        width: 120px;
        padding: 12px;
    }
    .ib-about-intro-cell--value {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .ib-about-intro-inner {
        padding: 40px 16px;
    }
    .ib-about-intro-title {
        font-size: 24px;
    }
}

/* ==============================================
   ABOUT PAGE  —  PHILOSOPHY SECTION  bg: #ffffff
   ============================================= */

.ib-about-philosophy-section {
    display: flex;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.ib-about-philosophy-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: var(--wp--style--global--wide-size);
    width: 100%;
    height: 546px;
    padding: 40px 80px 0;
    box-sizing: border-box;
}

.ib-about-philosophy-bg {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    height: 60%;
    transform: translateX(-50%);
    object-fit: cover;
    z-index: 0;
    object-position: top;
}

.ib-about-philosophy-title {
    position: relative;
    z-index: 1;
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    color: var(--wp--preset--color--foreground);
    text-align: center;
    margin: 0;
}

.ib-about-philosophy-box {
    position: relative;
    z-index: 1;
    width: 100%;
    background: var(--wp--preset--color--primary);
    border-radius: 20px;
    padding: 40px;
    box-sizing: border-box;
}

.ib-about-philosophy-list {
    display: flex;
    flex-direction: column;
    gap: calc(1em * 1.375);
    margin: 0;
    padding-left: 36px;
    list-style: decimal;
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
}

@media (max-width: 1024px) {
    .ib-about-philosophy-inner {
        height: auto;
        padding: 40px 40px 180px;
        gap: 32px;
    }
    .ib-about-philosophy-title {
        font-size: 32px;
    }
    .ib-about-philosophy-box {
        padding: 32px;
    }
    .ib-about-philosophy-list {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .ib-about-philosophy-inner {
        padding: 40px 20px 120px;
        gap: 24px;
    }
    .ib-about-philosophy-title {
        font-size: 28px;
    }
    .ib-about-philosophy-box {
        padding: 24px;
        border-radius: 16px;
    }
    .ib-about-philosophy-list {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ib-about-philosophy-inner {
        padding: 40px 16px 120px;
        gap: 20px;
    }
    .ib-about-philosophy-title {
        font-size: 24px;
    }
    .ib-about-philosophy-list {
        font-size: 14px;
    }
}

/* ============================================== */

/* ==============================================
   ABOUT PAGE  —  PRESIDENT SECTION  bg: #ffffff
   ============================================= */

.ib-about-president-section {
    background: #F5F5F5;
    position: relative;
    overflow: hidden;
}

.ib-about-president-outer {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .ib-about-president-outer {
        padding: 80px;
    }
    .ib-careers-testimonials-section .ib-about-president-outer {
        padding-top: 160px;
    }
}

.ib-about-president-decor {
    position: absolute;
    top: -93px;
    right: 0px;
    width: 343px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.ib-about-president-header {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.ib-about-president-eyebrow {
    display: block;
    color: #888888;
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 8px;
    font-family: var(--wp--preset--font-family--shippori-mincho);
}

.ib-about-president-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--wp--preset--color--foreground);
    text-transform: uppercase;
    margin: 0;
}

.ib-about-president-wrap {
    display: flex;
    gap: 60px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.ib-about-president-col--image {
    aspect-ratio: 5 / 4;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.ib-about-president-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.35s ease;
}

.ib-about-president-col--image:hover .ib-about-president-photo {
    transform: scale(1.04);
}

.ib-about-president-col--text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ib-about-president-subheader {
    margin-bottom: 16px;
}

.ib-about-president-subeyebrow {
    display: block;
    color: #888888;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 8px;
    font-family: var(--wp--preset--font-family--shippori-mincho);
}

.ib-about-president-heading {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    font-family: var(--wp--preset--font-family--shippori-mincho);
}

.ib-about-president-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ib-about-president-body p {
    color: var(--wp--preset--color--foreground);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.ib-about-president-signature {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 32px;
    margin-top: 16px;
}

.ib-about-president-role {
    color: var(--wp--preset--color--foreground);
    font-size: 18px;
    font-weight: 500;
    font-family: var(--wp--preset--font-family--shippori-mincho);
    flex-shrink: 0;
    line-height: calc(25/18);
}

.ib-about-president-name {
    color: var(--wp--preset--color--foreground);
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    font-family: 'Yuji Mai', serif;
}

/* ==============================================
   ABOUT PAGE  —  MARKET SECTION  bg: #ffffff
   ============================================= */

.ib-about-market-section {
    display: flex;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.ib-about-market-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: var(--wp--style--global--wide-size);
    padding: 40px 0 0;
    width: 100%;
}

.ib-about-market-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 80px;
}

.ib-about-market-title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    text-align: center;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-about-market-desc {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    max-width: 1064px;
}

.ib-about-market-map {
    position: relative;
    width: 100%;
}

.ib-about-market-map svg {
    display: block;
    width: 100%;
    height: auto;
}

.ib-about-market-map svg path[stroke="#F04000"] {
    stroke-dasharray: 6 6;
    animation: ib-about-market-dash 1s linear infinite;
}

.ib-about-market-map svg path[stroke="#F04000"].is-reverse {
    animation-direction: reverse;
}

@keyframes ib-about-market-dash {
    to {
        stroke-dashoffset: -12;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ib-about-market-map svg path[stroke="#F04000"] {
        animation: none;
    }
}

@media (max-width: 1024px) {
    .ib-about-market-inner {
        padding: 60px 0 0;
        gap: 32px;
    }
    .ib-about-market-header {
        padding: 0 40px;
    }
    .ib-about-market-title {
        font-size: 32px;
    }
    .ib-about-market-desc {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .ib-about-market-inner {
        padding: 48px 0 0;
        gap: 24px;
    }
    .ib-about-market-header {
        padding: 0 20px;
    }
    .ib-about-market-title {
        font-size: 28px;
    }
    .ib-about-market-desc {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ib-about-market-header {
        padding: 0 16px;
    }
    .ib-about-market-title {
        font-size: 24px;
    }
    .ib-about-market-desc {
        font-size: 14px;
    }
}

/* ==============================================
   ABOUT PAGE  —  NEW NAME SECTION  bg: #ffffff
   ============================================= */

.ib-about-new-name-section {
    display: flex;
    justify-content: center;
    background: #fff;
    scroll-margin-top: 100px;
}

.ib-about-new-name-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: var(--wp--style--global--wide-size);
    padding: 80px;
    width: 100%;
}

.ib-about-new-name-title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    text-align: center;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-about-new-name-body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.ib-about-new-name-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    flex: 1;
}

.ib-about-new-name-desc {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-about-new-name-sign {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-left: auto;
}

.ib-about-new-name-img {
    width: 338px;
    flex-shrink: 0;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .ib-about-new-name-inner {
        padding: 60px 40px;
        gap: 32px;
    }
    .ib-about-new-name-body {
        gap: 32px;
    }
    .ib-about-new-name-img {
        width: 50%;
        font-size: 18px;
    }
    .ib-about-new-name-title {
        font-size: 32px;
    }
    .ib-about-new-name-desc {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .ib-about-new-name-inner {
        padding: 48px 20px;
        gap: 24px;
    }
    .ib-about-new-name-body {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .ib-about-new-name-img {
        order: -1;
        width: 100%;
        aspect-ratio: 7 / 8;
        object-fit: cover;
    }
    .ib-about-new-name-title {
        font-size: 28px;
    }
    .ib-about-new-name-desc {
        font-size: 16px;
    }
    .ib-about-new-name-sign {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .ib-about-new-name-inner {
        padding: 48px 16px;
        gap: 20px;
    }
    .ib-about-new-name-title {
        font-size: 24px;
    }
    .ib-about-new-name-desc {
        font-size: 14px;
    }
}


/* ==============================================
   ABOUT PAGE  —  CTA SECTION  bg: team.webp
   ============================================= */

.ib-about-cta-section {
    position: relative;
    overflow: hidden;
    min-height: 637px;
    display: flex;
}

.ib-about-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    z-index: 0;
}

.ib-about-cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0) -55.44%, rgba(0, 57, 94, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.ib-about-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    padding: 40px 80px;
}

.ib-about-cta-title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    text-align: center;
    color: #ffffff;
    margin: 0;
}

.ib-about-cta-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
}

.ib-about-cta-card {
    font-family: var(--wp--preset--font-family--noto-sans-jp);
    line-height: 1.375;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 452px;
    background-color: #ffffff;
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: 20px;
    padding: 20px 28px;
    text-align: center;
}

.ib-about-cta-card--service {
    padding-left: 71px;
    padding-right: 71px;
}

.ib-about-cta-card--recruit {
    padding-left: 42px;
    padding-right: 42px;
}

.ib-about-cta-card__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-about-cta-card__text {
    font-size: 16px;
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-about-cta-card__tel-number {
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    color: inherit;
    text-decoration: none;
}

.ib-about-cta-card .ib-home-core-button {
    font-weight: 500;
}

@media (max-width: 1024px) {
    .ib-about-cta-section {
        min-height: auto;
    }
    .ib-about-cta-inner {
        padding: 60px 40px;
    }
    .ib-about-cta-title {
        font-size: 32px;
    }
    .ib-about-cta-cards {
        flex-direction: column;
        align-items: center;
    }
    .ib-footer-logo {
        height: 34px;
    }
}

@media (max-width: 767px) {
    .ib-about-cta-inner {
        padding: 40px 20px;
        gap: 40px;
    }
    .ib-about-cta-title {
        font-size: 28px;
    }
    .ib-about-cta-card {
        padding: 20px;
    }
    .ib-about-cta-card__title {
        font-size: 20px;
    }
    .ib-about-cta-card__tel-number {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .ib-about-cta-inner {
        padding: 32px 16px;
    }
    .ib-about-cta-title {
        font-size: 24px;
    }
    .ib-about-cta-card--service,
    .ib-about-cta-card--recruit {
        padding-left: 20px;
        padding-right: 20px;
    }
    .ib-about-cta-card__title {
        font-size: 18px;
    }
    .ib-about-cta-card__text {
        font-size: 14px;
    }
    .ib-about-cta-card__tel-number {
        font-size: 18px;
    }
}


/* ==============================================
   ABOUT PAGE  —  HISTORY  bg: #0d1f1c (dark)
   ============================================= */

/* --- section shell --- */
.ib-about-history-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    overflow: hidden;
}

/* dark photo overlay */
.ib-about-history-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
    pointer-events: none;
}

/* centred inner container */
.ib-about-history-inner {
    position: relative;
    z-index: 1;
    max-width: 1024px;
    margin: 0 auto;
}

.ib-about-history-title {
    text-align: center;
    color: #ffffff;
    font-weight: 600;
    margin: 0 0 40px;
}

/* ---- zigzag timeline ---- */
.ib-about-history-timeline {
    position: relative;
    padding-top: 84px;
}

/* vertical dashed centre line */
.ib-about-history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    width: 8px;
    height: 88px;
    background-color: rgba(255, 255, 255, 0.30);
    border-radius: 8px;
    z-index: 0;
}

/* row */
.ib-tl-item {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    position: relative;
    min-height: 116px;
}

/* left / right halves */
.ib-tl-side {
    flex: 1;
    padding: 0 28px;
    min-width: 0;
}
.ib-tl-side--left {
    text-align: right;
    padding-right: 60px;
}
.ib-tl-side--right {
    text-align: left;
    padding-left: 60px;
}

/* dot column */
.ib-tl-center {
    flex-shrink: 0;
    width: 24px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.ib-tl-center::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    bottom: 0;
    transform: translateX(-50%);
    width: 8px;
    height: 88px;
    background-color: rgba(255, 255, 255, 0.30);
    border-radius: 8px;
    z-index: 0;
}

.ib-tl-dot {
    display: inline-flex;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 4px;
    border: 1px dashed var(--wp--preset--color--primary);
    border-radius: 50%;
    flex-shrink: 0;
}
.ib-tl-dot::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--primary);
}

/* date pill badge */
.ib-tl-badge {
    display: inline-block;
   border: 1px dashed #FFF;
    border-radius: 100px;
    padding: 2px 12px;
    color: #ffffff;
    font-size: var(--wp--preset--font-size--lg);
    font-weight: 500;
    margin-bottom: 12px;
    white-space: nowrap;
    line-height: normal;
}

/* event text */
.ib-tl-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--wp--preset--font-size--md);
    font-weight: 500;
    line-height: 1.75;
    margin: 0;
}

/* ==============================================
   ABOUT PAGE  —  RESPONSIVE
   ============================================= */

@media (max-width: 1199px) {
    .ib-about-president-section {
        padding: 60px 40px;
    }
    .ib-about-president-col--image {
        height: 350px;
    }
}

@media (max-width: 1024px) {
    .ib-about-president-decor {
        width: 220px;
    }

    .ib-about-president-header {
        padding-top: 0;
    }

    .ib-about-president-title {
        font-size: 30px;
    }

    .ib-about-president-wrap {
        flex-direction: column;
        gap: 36px;
    }

    .ib-about-president-col--image {
        flex: none;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        max-height: none;
    }
}

@media (max-width: 767px) {
    .ib-about-subnav__list {
        flex-wrap: wrap;
    }
    .ib-about-subnav__item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .ib-about-subnav__item:nth-child(3),
    .ib-about-subnav__item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .ib-about-subnav__item:nth-child(3) {
        border-left: none;
    }
    .ib-about-subnav__link {
        padding: 20px 12px 16px;
        gap: 10px;
    }
    .ib-about-subnav__icon {
        width: 36px;
        height: 36px;
    }
    .ib-about-subnav__icon svg {
        width: 36px;
        height: 36px;
    }

    .ib-about-history-section {
        padding: 48px 0;
    }

    .ib-about-president-section {
        padding: 40px 20px;
    }

    .ib-about-profile-section {
        padding: 48px 0;
    }

    .ib-about-profile-card {
        padding: 20px;
    }

    .ib-about-president-decor {
        width: 160px;
    }

    .ib-about-president-header {
        padding-top: 0;
        margin-bottom: 28px;
    }

    .ib-about-president-title {
        font-size: 22px;
    }

    .ib-about-president-eyebrow,
    .ib-about-president-subeyebrow {
        font-size: 14px;
    }

    .ib-about-president-heading {
        font-size: 28px;
    }

    .ib-about-president-wrap {
        flex-direction: column;
        gap: 28px;
    }

    .ib-about-president-col--image {
        flex: none;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        max-height: none;
    }

    .ib-about-president-signature {
        flex-wrap: wrap;
        gap: 12px 24px;
    }

    .ib-about-president-name {
        font-size: 28px;
    }

    .ib-about-profile-key {
        width: 110px;
        min-width: 110px;
        padding-right: 12px;

    }
    .ib-about-history-inner {
        padding: 0 16px;
    }
    .ib-about-history-timeline::before {
        left: 5px;
        transform: none;
    }
    .ib-tl-item {
        flex-direction: column;
        padding-left: 26px;
        margin-bottom: 28px;
    }
    .ib-tl-side--left,
    .ib-tl-side--right {
        flex: none;
        width: 100%;
        text-align: left;
        padding: 0;
        order: 2;
    }
    .ib-tl-center {
        position: absolute;
        left: 0;
        top: 6px;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .ib-about-president-section {
        padding: 32px 16px;
    }

    .ib-about-president-decor {
        width: 130px;
    }

    .ib-about-president-body p {
        font-size: 14px;
    }
}

/* ==============================================
   ABOUT PAGE — CERTIFICATES SECTION
   ============================================== */

.ib-about-cert-section {
    background: #fff;
    padding: 80px;
    max-width: var(--wp--style--global--wide-size);
    margin:0 auto;
}

.ib-about-cert-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
}

.ib-about-cert-header {
    min-width: 200px;
    flex-shrink: 0;
    line-height: 1.2;
    height: fit-content;
}

.ib-about-cert-eyebrow {
    display: block;
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 20px;
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    margin-bottom: 8px;
}

.ib-about-cert-title {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 40px;
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    line-height: normal;
}

.ib-about-cert-cards {
    display: flex;
    flex-direction: row;
    gap: 40px;
    flex-wrap: wrap;
}

.ib-about-cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 320px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.ib-about-cert-card:hover {
    transform: translateY(-3px);
}

.ib-about-cert-card--gradient {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(180deg, #BDBDBD, #F59600) border-box;
    border: 1px solid transparent;
}

.ib-about-cert-card--solid {
    border: 1px solid #BDBDBD;
}

.ib-about-cert-card__img {
    flex: 1;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    aspect-ratio: 320/350;
    max-height: 350px;
    transition: box-shadow 0.25s ease;
}

.ib-about-cert-card:hover .ib-about-cert-card__img {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

.ib-about-cert-card__caption {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 16px;
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    text-align: center;
    line-height: 1.85;
    margin: 0;
}

@media (max-width: 1199px) {
    .ib-about-cert-section {
        padding: 60px 40px;
    }

    .ib-about-cert-cards {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .ib-about-cert-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .ib-about-cert-cards {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .ib-about-cert-section {
        padding: 40px 20px;
    }
    .ib-about-cert-title {
        font-size: 28px;
    }

    .ib-about-cert-cards {
        align-items: center;
    }

    .ib-about-cert-card {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .ib-about-cert-section {
        padding: 32px 16px;
    }
}

/* ==============================================
   SAFETY PAGE — BANNER VARIANT
   ============================================== */

.ib-page-banner--safety {
    min-height: 540px !important;
}
.ib-page-banner--safety .wp-block-cover__background {
    background: transparent;
    opacity: 0;
}

.ib-safety-banner-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 48px 20px 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.ib-page-banner__subtitle {
    color: rgba(255, 255, 255, 0.85);

    line-height: 1.8;
    margin: 0 0 8px;
}

@media (max-width: 1199px) {
    .ib-safety-banner-bg {
        padding: 40px 20px 40px;
    }
}

@media (max-width: 600px) {
    .ib-page-banner--safety { min-height: 480px !important; }
}

/* ==============================================
   SAFETY PAGE  —  CSR MANAGEMENT
   ============================================= */

.ib-safety-csr-section {
    background: #ffffff;
    overflow: hidden;
    padding: 80px 0;
}
.ib-safety-csr-section .ib-safety-csr-section-inner {
    padding-right: 0;
}

.ib-safety-csr-content {
    display: flex;
    align-items: flex-start;
    margin-top: 60px;
}

.ib-safety-csr-text-block {
    display: flex;
    flex-direction: column;
    padding: 38px 80px;
    background-color: var(--wp--preset--color--neutral);
}

.ib-safety-csr-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    margin: 0;
    line-height: 2.5;
}

.ib-safety-csr-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (max-width: 1024px) {
    .ib-safety-csr-body {
        max-width: none;
    }
}

.ib-safety-csr-body p {

    line-height: normal;
    margin: 0;
}

.ib-safety-csr-pillars {
    display: flex;
    flex: 1;
    gap: 0;
    padding-bottom: 59px;
}

.ib-safety-csr-pillar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 0 16px;
}

.ib-safety-csr-pillar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.ib-safety-csr-pillar__title {
    text-align: center;
    font-size: var(--wp--preset--font-size--xl);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.ib-safety-csr-pillar__desc {
    text-align: center;

    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    text-transform: capitalize;
}

/* ==============================================
   SAFETY PAGE  —  SAFETY INITIATIVES GRID
   ============================================= */

.ib-safety-initiatives-section {
    background: #ffffff;
    padding: 0 0 80px;
}

.ib-safety-initiatives-inner {
    width: 100%;
}

.ib-safety-initiatives-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.ib-safety-initiatives-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    margin: 0;
    line-height: normal;
    text-transform: capitalize;
}

.ib-safety-initiatives-intro {
    font-size: var(--wp--preset--font-size--xl);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    text-align: center;
    text-transform: capitalize;
}

.ib-safety-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ib-safety-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1140px;
    margin: 0 auto;
}

.ib-safety-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ib-safety-item__photo {
    position: relative;
    aspect-ratio: 550 / 350;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

.ib-safety-item__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ib-safety-item__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ib-safety-item__title {

    font-weight: 500;
    margin: 0;
    line-height: normal;
    text-transform: capitalize;
}

.ib-safety-item__desc {

    line-height: normal;
    margin: 0;
    text-transform: capitalize;
}

/* ==============================================
   SAFETY PAGE  —  RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .ib-safety-csr-content {
        padding: 48px 0;
    }
    .ib-safety-csr-photo {
        width: 100%;
        position: relative;
        max-width: 40%;
    }
    .ib-safety-csr-photo img {
        border-radius: 0;
    }
}

@media (max-width: 767px) {
    .ib-safety-csr-content {
        padding: 40px 20px;
        gap: 32px;
    }
    .ib-safety-csr-pillars {
        flex-direction: column;
        gap: 24px;
    }
    .ib-safety-csr-pillar + .ib-safety-csr-pillar {
        border-left: none;
        border-top: 1px solid #e4e4e4;
        padding-top: 24px;
    }
    .ib-safety-initiatives-section {
        padding: 48px 0;
    }
    .ib-safety-grid-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ib-safety-item__photo {
        height: 240px;
    }
    .ib-safety-csr-photo {
        display: none;
    }
}

/* ==============================================
   NEWS ARCHIVE — BANNER
   ============================================== */

.ib-news-banner.wp-block-cover {
    background-color: #111111;
    align-items: flex-start !important;
    padding: 0;
    min-height: 494px !important;
    padding-top: 80px !important;
    padding-bottom: 0 !important;
}

.ib-news-banner .wp-block-cover__inner-container {
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.ib-news-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 1260px !important;
}

.ib-news-banner__en {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: normal;
    letter-spacing: 0.04em;
    text-transform: capitalize;
}

.ib-news-banner__ja {
    font-size: 40px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: normal;
}

/* ==============================================
   NEWS ARCHIVE — SECTION LAYOUT
   ============================================== */

.ib-news-section {
    background: transparent;
    padding: 0 0 80px;
    margin: auto;
    margin-top: -275px;
    position: relative;
    z-index: 1;
    max-width: 1260px !important;
}

/* ==============================================
   NEWS ARCHIVE — POST GRID
   ============================================== */

.ib-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .ib-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ib-news-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   NEWS ARCHIVE — CARD
   ============================================== */

.ib-news-card {
    background: #ffffff;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ib-news-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* Full-card overlay link */
.ib-news-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Featured image */
.ib-news-card .ib-news-card__image.wp-block-post-featured-image {
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: transparent;
    line-height: 0;
    position: relative;
}

/* Category badge overlaid on image */
.ib-news-card__image .ib-news-card__cat {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.ib-news-card__image .ib-news-card__cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--wp--preset--color--primary);
    color: #ffffff;
    border-radius: 200px;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    text-decoration: none;
}

.ib-news-card .ib-news-card__image.wp-block-post-featured-image img {
    width: 100%;
    aspect-ratio: 313 / 250;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.35s ease;
}

.ib-news-card:hover .ib-news-card__image.wp-block-post-featured-image img {
    transform: scale(1.04);
}

/* Placeholder when no featured image */
.ib-news-card__image-placeholder {
    width: 100%;
    aspect-ratio: 313 / 250;
    border-radius: 8px;
    background: #e6e6e6;
    display: block;
}

/* Card body */
.ib-news-card__body.wp-block-group {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* Date */
.ib-news-card__date.wp-block-post-date,
.ib-news-card__date.wp-block-post-date time {
    font-size: 12px;
    color: #888888;
    font-weight: 400;
    text-decoration: none;
}

.ib-news-card__date.wp-block-post-date a {
    color: inherit;
    text-decoration: none;
}

/* Card title */
.ib-news-card__title.wp-block-post-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

.ib-news-card__title.wp-block-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.ib-news-card:hover .ib-news-card__title.wp-block-post-title a {
    color: var(--wp--preset--color--primary);
}

/* ==============================================
   NEWS ARCHIVE — PAGINATION
   ============================================== */

.ib-news-pagination.wp-block-query-pagination,
nav.ib-news-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* First / last page buttons (PHP pattern) */
.ib-news-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: var(--wp--preset--color--foreground);
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.ib-news-page-btn:hover {
    background: rgba(42, 188, 162, 0.08);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

.ib-news-page-btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

.ib-news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: var(--wp--preset--color--foreground);

    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ib-news-pagination .page-numbers:hover {
    background: rgba(42, 188, 162, 0.08);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.ib-news-pagination .page-numbers.current {
    background: var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--primary);
    color: #ffffff;
    cursor: default;
}

.ib-news-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #888888;
    min-width: auto;
    padding: 0 4px;
    pointer-events: none;
}

.ib-news-pagination .wp-block-query-pagination-previous,
.ib-news-pagination .wp-block-query-pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: var(--wp--preset--color--foreground);

    font-weight: 500;
    text-decoration: none;
    gap: 6px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ib-news-pagination .wp-block-query-pagination-previous:hover,
.ib-news-pagination .wp-block-query-pagination-next:hover {
    background: rgba(42, 188, 162, 0.08);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

/* Empty state */
.ib-news-empty.wp-block-paragraph {
    text-align: center;
    color: #888888;

    padding: 60px 0;
    margin: 0;
}

/* ==============================================
   NEWS ARCHIVE — RESPONSIVE
   ============================================== */

@media (max-width: 1024px) {
    .ib-news-banner.wp-block-cover {
        min-height: 350px !important;
        padding-top: 50px !important;
    }
    .ib-news-section {
        margin-top: -160px;
        padding-bottom: 60px;
    }
}

@media (max-width: 767px) {
    .ib-news-banner__ja {
        font-size: 28px;
    }
    .ib-news-section {
        margin-top: -150px;
        padding-bottom: 48px;
    }
    .ib-news-pagination.wp-block-query-pagination {
        margin-top: 40px;
        gap: 4px;
    }
    .ib-news-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
    }
}

/* ==============================================
   CAREERS PAGE — BANNER
   ============================================== */

.ib-page-banner--careers.wp-block-cover {
    min-height: 540px !important;
}

.ib-careers-banner-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 48px 0;
}

@media (max-width: 600px) {
    .ib-page-banner--careers.wp-block-cover {
        min-height: 320px !important;
    }
    .ib-careers-banner-bg {
        padding: 32px 0;
    }
}

/* ==============================================
   CAREERS PAGE — LISTING SECTION
   ============================================== */

.ib-careers-section {
    background: #ffffff;
    padding: 80px 0;
}

.ib-careers-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Top: eyebrow + title — left-aligned */
.ib-careers-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 40px;
    text-align: left;
}

.ib-careers-eyebrow {
    font-size: 20px;
    font-weight: 500;
    color: #888888;
    line-height: 1.2;
}

.ib-careers-title {
    font-size: 40px;
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    line-height: 1.2;
    padding: 3px 0;
}

/* Location filter tabs — centered, underline style */
.ib-careers-filters {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ib-careers-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    color: #333;
}

.ib-careers-filter-btn:hover {
    color: var(--wp--preset--color--primary);
    border-bottom-color: var(--wp--preset--color--primary);
    background: transparent;
    text-decoration: none;
}

.ib-careers-filter-btn.is-active {
    color: var(--wp--preset--color--primary);
    border-bottom-color: var(--wp--preset--color--primary);
    font-weight: 500;
    background: transparent;
}

/* Job card grid — 3 columns */
.ib-careers-grid {
    gap: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Job card */
.ib-careers-card {
    flex: 0 0 calc(100% / 3 - 16px);
    background: #ffffff;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ib-careers-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}
.ib-careers-card:focus-visible {
    outline: none;
}

.ib-careers-card__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ib-careers-card__date {
    font-size: 12px;
    font-weight: 400;
    line-height: calc(14/12);
    color: #888888;
    margin: 0;
}

.ib-careers-card__title {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

/* Meta rows: salary + location */
.ib-careers-card__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ib-careers-card__meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    line-height: 1.6;
    word-break: break-all;
}

.ib-careers-card__meta-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* CTA buttons */
.ib-careers-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.ib-careers-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding-left: 20px;
    padding-right: 4px;
    height: 46px;
    border-radius: 200px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.ib-careers-card__btn--primary {
    background: var(--wp--preset--color--primary);
    color: #ffffff;
    border: none;
}

.ib-careers-card__btn--primary:hover {
    background: var(--wp--preset--color--primary-accent);
    color: #ffffff;
    text-decoration: none;
}

.ib-careers-card__btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    margin-left: 12px;
    flex-shrink: 0;
}

/* Empty state */
.ib-careers-empty {
    text-align: center;
    color: #888888;

    padding: 60px 0;
    margin: 0;
}

/* Pagination */
.ib-careers-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.ib-careers-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: var(--wp--preset--color--foreground);

    font-weight: 500;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ib-careers-pagination .page-numbers:hover {
    background: rgba(42, 188, 162, 0.08);
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.ib-careers-pagination .page-numbers.current {
    background: var(--wp--preset--color--primary);
    border-color: var(--wp--preset--color--primary);
    color: #ffffff;
    cursor: default;
}

.ib-careers-pagination .page-numbers.dots {
    border: none;
    background: none;
    color: #888888;
    pointer-events: none;
}

/* ==============================================
   CAREERS PAGE — TESTIMONIALS SECTION
   ============================================== */

.ib-careers-testimonials-section {
    position: relative;
    overflow: visible;
}

.ib-careers-decor-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ib-careers-stats {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--wp--style--global--wide-size) - 160px);
    max-width: 1280px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
    z-index: 3;
}

.ib-careers-stats__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ib-careers-stats__icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.ib-careers-stats__label {
    font-size: 16px;
    font-weight: 400;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    text-align: center;
}

.ib-careers-stats__value {
    font-size: 32px;
    font-weight: 700;
    color: var(--wp--preset--color--foreground);
    line-height: 1;
    margin: 0;
    text-align: center;
}

.ib-careers-stats__unit {
    font-size: 0.6em;
    font-weight: 700;
    vertical-align: super;
}

.ib-careers-testimonials-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 806px;
    margin: 0 auto;
}

/* Large decorative quote marks — absolute background */
.ib-careers-testimonials-deco {
    position: absolute;
    pointer-events: none;
    user-select: none;
    bottom: 0;
    transform: translate(-50%, -35%);
    width: 83px;
    height: 83px;
    z-index: 2;
}

.ib-careers-testimonials-deco--open {
    left: 0;
    background-size: contain;
}

.ib-careers-testimonials-deco--close {
    right: 0;
    background-size: contain;
    transform: translate(70%, 20%);
}

.ib-careers-testimonials-title {

    font-weight: 700;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ib-careers-testimonials-swiper {
    width: 100%;
    position: relative;
    z-index: 2;
}

.ib-careers-testimonial {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Author block — sits ABOVE the quote text */
.ib-careers-testimonial__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ib-careers-testimonial__name {

    font-weight: 700;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-careers-testimonial__role {

    color: #888888;
    margin: 0;
}

.ib-careers-testimonial__text {

    line-height: 1.9;
    color: #444444;
    margin: 0;
    font-style: normal;
    max-width: 760px;
}
.ib-careers-testimonial__text p {
    margin: 0;
    word-break: break-all;
}

/* Navigation arrows */
.ib-careers-testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* ==============================================
   CAREERS BENEFITS PROGRAM SECTION
   ============================================== */

.ib-careers-benefits-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

.ib-careers-benefits-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #00000099;
    z-index: 0;
}

.ib-careers-benefits-inner {
    position: relative;
    z-index: 1;
    padding: 80px;
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
}

.ib-careers-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ib-careers-benefits-intro {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ib-careers-benefits-intro__eyebrow {
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
}

.ib-careers-benefits-intro__title {
    font-size: 40px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    padding: 3px 0;
}

.ib-careers-benefit-card {
    background: #ffffff;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ib-careers-benefit-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px) !important;
    transition-duration: 0.25s  !important;
}

.ib-careers-benefits-card__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-careers-benefits-card__text {
    font-size: 16px;
    font-weight: 400;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    line-height: 1.6;
}

/* ==============================================
   CAREERS PAGE — RESPONSIVE
   ============================================== */

@media (max-width: 1199px) {
    .ib-careers-section {
        padding: 60px 0;
    }
    .ib-careers-card {
        flex: 0 0 calc(100% / 2 - 12px);
    }
    .ib-careers-stats {
        width: calc(100% - 80px);
        gap: 12px;
        padding: 16px;
    }
    .ib-careers-stats__icon {
        width: 64px;
        height: 64px;
    }
    .ib-careers-stats__value {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .ib-careers-testimonials-section {
        padding: 120px 40px 60px
    }
    .ib-careers-benefits-inner {
        padding: 40px;
    }
    .ib-careers-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .ib-careers-testimonial {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .ib-careers-section {
        padding: 40px 0;
    }
    .ib-careers-testimonials-section {
        padding: 105px 20px 40px;
    }
    .ib-careers-stats {
        width: calc(100% - 40px);
        gap: 8px;
        padding: 12px 8px;
    }
    .ib-careers-stats__icon {
        width: 48px;
        height: 48px;
    }
    .ib-careers-stats__label {
        font-size: 11px;
    }
    .ib-careers-stats__value {
        font-size: 18px;
    }
    .ib-careers-card {
        flex: 0 0 100%;
    }
    .ib-careers-filter-btn {

        padding: 8px 16px;
    }
    .ib-careers-testimonial {
        padding: 0 20px;
    }
    .ib-careers-benefits-inner {
        padding: 24px;
    }
    .ib-careers-benefits-grid {
        grid-template-columns: 1fr;
    }
    .ib-careers-benefit-card {
        min-height: auto;
    }
    .ib-careers-benefits-intro__title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .is-layout-constrained > .alignwide {
        padding-left: 16px;
        padding-right: 16px;
    }
    .ib-careers-section {
        padding: 32px 0;
    }
    .ib-careers-testimonials-section {
        padding: 86px 16px 32px;
    }
    .ib-careers-stats {
        gap: 4px;
        padding: 10px 4px;
    }
    .ib-careers-stats__icon {
        width: 36px;
        height: 36px;
    }
    .ib-careers-stats__label {
        font-size: 10px;
    }
    .ib-careers-stats__value {
        font-size: 14px;
    }
    .ib-careers-filter-btn {

        padding: 8px 12px;
    }
    .ib-careers-card__btn {

        padding: 8px 12px;
    }
    .ib-careers-card__btn-icon {
        width: 30px;
        height: 30px;
    }
    .ib-careers-pagination .page-numbers {
        min-width: 36px;
        height: 36px;

    }
}

/* Card clickable cursor (area outside buttons) */
.ib-careers-card {
    cursor: pointer;
}

.ib-careers-card__btn {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

/* ==============================================
   CAREERS — JOB DETAIL MODAL
   ============================================== */

.ib-careers-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
    visibility: hidden;
}

.ib-careers-modal-overlay:not([hidden]) {
    display: flex;
}

.ib-careers-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.ib-careers-modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 680px;
    transform: translateY(16px);
    transition: transform 0.25s ease;
}

.ib-careers-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.ib-careers-modal-overlay.is-visible .ib-careers-modal-wrapper {
    transform: translateY(0);
}

/* Close button */
.ib-careers-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    z-index: 1;
    padding: 0;
}

.ib-careers-modal__close:hover {
    background: #f0f0f0;
}

.ib-careers-modal__title {
    font-size: 28px;
    font-weight: 600;
    line-height: calc(41/28);
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    color: var(--wp--preset--color--foreground);
    margin: 0;
    flex-shrink: 0;
    text-transform: capitalize;
}

.ib-careers-modal__table {
    border: 1px solid #cccccc;
    border-radius: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

/* Table rows */
.ib-careers-modal__row {
    display: flex;
    align-items: stretch;
}

.ib-careers-modal__row + .ib-careers-modal__row .ib-careers-modal__label,
.ib-careers-modal__row + .ib-careers-modal__row .ib-careers-modal__value {
    border-top: 1px dashed #cccccc;
}

.ib-careers-modal__label {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 40px;
    border-right: 1px dashed #cccccc;

    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
}

.ib-careers-modal__value {
    flex: 1;
    min-width: 0;
    padding: 16px 40px;

    font-weight: 500;
    line-height: 1.85;
    word-break: break-word;
}

/* CTA button */
.ib-careers-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    align-self: center;
    height: 46px;
    padding-left: 32px;
    padding-right: 4px;
    border-radius: 200px;
    background: var(--wp--preset--color--primary);
    color: #ffffff;

    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s;
    white-space: nowrap;
}

.ib-careers-modal__cta:hover {
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
}

.ib-careers-modal__cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    margin-left: 12px;
    flex-shrink: 0;
}

/* ==============================================
   CAREERS MODAL — RESPONSIVE
   ============================================== */

@media (max-width: 600px) {
    .ib-careers-modal {
        padding: 24px 16px 20px;
        max-height: 95vh;
        border-radius: 12px;
    }

    .ib-careers-modal__label {
        width: 100px;
        padding: 12px 12px;

    }

    .ib-careers-modal__value {
        padding: 12px 14px;

    }

    .ib-careers-modal__cta {

        height: 42px;
        padding-left: 20px;
    }
}

/* ==============================================
   SINGLE POST
   ============================================== */

.ib-single-main {
    padding-top: 64px;
    padding-bottom: 80px;
}

/* Breadcrumb */
.ib-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px 0;
}

.ib-single-breadcrumb a {
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.ib-single-breadcrumb a:hover {
    color: var(--wp--preset--color--primary-accent);
}

.ib-single-breadcrumb__sep {
    color: #888;
}

.ib-single-breadcrumb__current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 420px;
}

/* Title */
.ib-single-title {
    font-size: var(--wp--preset--font-size--2-xl);
    font-weight: 600;
    margin-bottom: 40px;
}

/* Featured Image */
.ib-single-featured-image {
    margin-bottom: 32px;
    line-height: 0;
}

.ib-single-featured-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
}

/* Meta */
.ib-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    flex-direction: column;
}

.ib-single-cat .ib-single-cat__badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 40px;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.ib-single-date {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Post content */
.ib-single-content {

    line-height: 1.85;
    color: #444444;
    --wp--style--global--content-size: 900px;
    --wp--style--global--wide-size: 100%;
}

/* Direct children (nếu content không có wrapper group) */
.ib-single-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
    margin-left: auto;
    margin-right: auto;
}

.ib-single-content > .alignwide,
.ib-single-content > .alignfull {
    max-width: 100%;
    margin-left: unset;
    margin-right: unset;
}

.ib-single-article {
    margin-bottom: 40px;

}

.ib-single-article .ib-single-title,
.ib-single-article .ib-single-featured-image,
.ib-single-article .ib-single-meta,
.ib-single-article .ib-single-excerpt {
    margin-left: auto;
    margin-right: auto;
}

/* Override .wp-container-core-group-is-layout-* (WordPress constrained layout wrapper) */
.ib-single-content .is-layout-constrained > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright) {
    margin-left: auto;
    margin-right: auto;
}

.ib-single-content .is-layout-constrained > .alignwide,
.ib-single-content .is-layout-constrained > .alignfull {
    max-width: 100%;
    margin-left: unset;
    margin-right: unset;
}

.ib-single-content p {
    margin-bottom: 1.4em;
}

.ib-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}
.ib-single-content .wp-block-columns,
.ib-single-content .wp-block-image {
    margin: 40px 0;
}
.ib-single-content .wp-block-columns.is-layout-flex {
    gap: 40px;
}
.ib-single-content .wp-block-columns .wp-block-image {
    margin: 0;
}

.ib-single-content h2,
.ib-single-content h3 {
    color: var(--wp--preset--color--foreground);
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

/* Post navigation — 3 pill buttons */
.ib-single-nav-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #E5E5E5;
}

.ib-post-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ib-post-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 41px;
    border-radius: 200px;
    background: var(--wp--preset--color--primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    border: none;
    line-height: 1;
    padding: 0 20px;
}

.ib-post-nav__btn:hover {
    background: var(--wp--preset--color--primary-accent);
    color: #ffffff;
    text-decoration: none;
}

.ib-post-nav__btn--list {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    color: var(--wp--preset--color--primary);
}

.ib-post-nav__btn--list:hover {
    background: transparent;
    color: var(--wp--preset--color--primary-accent);
    text-decoration: underline;
}

.ib-post-nav__icon {
    line-height: 0;
}

.ib-post-nav__icon > svg {
    width: 20px;
    height: 10px;
}

.ib-post-nav__btn--prev .ib-post-nav__icon {
    margin-right: 10px;
}

.ib-post-nav__btn--next .ib-post-nav__icon {
    margin-left: 10px;
}

.ib-post-nav__btn--disabled {
    background: #EBEBEB;
    color: var(--wp--preset--color--foreground);
    cursor: not-allowed;
    pointer-events: none;
}

.ib-post-nav__btn--disabled:hover {
    background: #EBEBEB;
    color: var(--wp--preset--color--foreground);
}

/* Responsive */
@media (max-width: 1199px) {
    .ib-single-main {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .ib-single-breadcrumb {
        margin-bottom: 20px;
    }
}
@media (max-width: 767px) {
    .ib-single-breadcrumb__current {
        max-width: 200px;
    }

    .ib-post-nav {
        gap: 8px;
    }

    .ib-post-nav__btn {
        font-size: 14px;
        height: 40px;
        padding: 0 10px;
    }

    .ib-single-nav-section {
        margin-top: 48px;
        padding-top: 32px;
    }
}

/* =============================================
   404 PAGE
   ============================================= */
.ib-404-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ib-404-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
    min-height: 100%;
    width: 100%;
}

.ib-404-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.ib-404-illustration {
    width: 280px;
    height: auto;
    margin-bottom: 12px;
}

.ib-404-title {

    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.ib-404-desc {

    color: #888;
    margin: 0;
    line-height: 1.8;
}

.ib-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 200px;
    height: 46px;
    padding: 4px 4px 4px 20px;

    font-weight: 500;
    width: fit-content;
    margin-top: 8px;
    transition: background-color 0.2s;
}

.ib-404-btn:hover {
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
}

.ib-404-btn__icon {
    width: 40px;
    height: 40px;
}

@media (max-width: 767px) {
    .ib-404-illustration { width: 200px; }
}

/* ==============================================
   HOME — LATEST NEWS SECTION
   ============================================== */

.ib-home-news-section {
    background: #ffffff;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.ib-home-news-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: var(--wp--style--global--wide-size);
    padding: 80px;
    padding-bottom: 0 !important;
    width: 100%;
}

.ib-home-news-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.ib-home-news-title {
    font-size: 40px;
    font-weight: 500;
    font-family: var(--wp--preset--font-family--shippori-mincho);
    color: var(--wp--preset--color--foreground);
    margin: 0;
    line-height: normal;
}

.ib-home-news-view-all {
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--wp--preset--color--primary);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.ib-home-news-view-all:hover {
    opacity: 0.75;
    text-decoration: none;
}

.ib-home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ib-home-news-grid .ib-news-card {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .ib-home-news-inner {
        padding: 60px 40px;
    }
}

@media (max-width: 899px) {
    .ib-home-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ib-home-news-inner {
        padding: 48px 20px;
    }
}

/* ==============================================
   HOME — COMPANY NAME CHANGE NOTICE
   ============================================== */

.ib-home-notice-section {
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.ib-home-notice-inner {
    max-width: var(--wp--style--global--wide-size);
    width: 100%;
    padding: 80px 80px 36px;
}

.ib-home-notice-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    background: #EFF6FF;
    border: 2px solid var(--wp--preset--color--primary);
    border-radius: 20px;
    padding: 0 40px 40px;
}

.ib-home-notice-badge {
    margin-top: -40px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #EFF6FF;
    border: 2px solid var(--wp--preset--color--primary);
    border-radius: 20px;
    padding: 18px;
    white-space: nowrap;
}

.ib-home-notice-badge__icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.ib-home-notice-badge__text {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    text-shadow: 4px 4px 4px #D3D3D3;
    color: var(--wp--preset--color--primary);
}

.ib-home-notice-message {
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    text-shadow: 4px 4px 4px #D3D3D3;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-home-notice-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wp--preset--color--primary);
    font-family: var(--wp--preset--font-family--noto-sans-jp);
    border: 1px solid var(--wp--preset--color--primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 200px;
    height: 52px;
    padding: 0 28px;
    transition: opacity 0.2s;
}

.ib-home-notice-btn:hover {
    opacity: 0.8;
    color: #ffffff;
}

.ib-home-notice-btn__text {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
}

.ib-home-notice-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.ib-home-notice-btn__icon svg {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .ib-home-notice-inner {
        padding: 80px 40px 40px;
    }
    .ib-home-notice-badge__icon {
        width: 56px;
        height: 56px;
    }
    .ib-home-notice-badge__text {
        font-size: 32px;
    }
    .ib-home-notice-message {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .ib-home-notice-inner {
        padding: 70px 20px 30px;
    }
    .ib-home-notice-badge {
        padding: 12px 20px;
        gap: 10px;
        white-space: normal;
        max-width: 90%;
    }
    .ib-home-notice-badge__icon {
        width: 32px;
        height: 32px;
    }
    .ib-home-notice-badge__text {
        font-size: 24px;
    }
    .ib-home-notice-message {
        font-size: 18px;
    }
    .ib-home-notice-btn {
        height: 40px;
        padding: 4px 18px 4px 18px;
    }
    .ib-home-notice-btn__text {
        font-size: 14px;
        white-space: normal;
    }
    .ib-home-notice-btn__icon svg {
        width: 20px;
        height: 20px;
        margin-top: 0;
    }
    .ib-home-notice-btn {
        gap: 6px;
    }
    .ib-home-notice-box {
        gap: 20px;
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .ib-home-notice-badge__text {
        font-size: 18px;
    }
    .ib-home-notice-message {
        font-size: 16px;
    }
    .ib-home-notice-badge {
        gap: 6px;
        padding: 8px 12px;
    }
}

/* ==============================================
   HOME — INTRO / BUSINESS SERVICES SECTION
   ============================================== */

.ib-home-intro-section {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.ib-home-intro-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: var(--wp--style--global--wide-size);
    padding: 40px 80px 80px;
    width: 100%;
}

.ib-home-intro-bg {
    position: absolute;
    inset: 0;
    margin: 0 auto;
    height: auto;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.ib-home-intro-title,
.ib-home-intro-grid {
    position: relative;
    z-index: 1;
}

.ib-home-intro-title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    text-align: center;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-home-intro-grid {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ib-home-intro-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.ib-home-intro-item-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.ib-home-intro-item-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    text-align: left;
}

.ib-home-intro-item-label {
    font-size: 19px;
    font-weight: 800;
    line-height: normal;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    padding: 0 16px;
}

.ib-home-intro-item-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4375;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    padding: 0 16px;
}

@media (max-width: 1024px) {
    .ib-home-intro-inner {
        padding: 60px 40px;
    }
    .ib-home-intro-title {
        font-size: 32px;
    }
    .ib-home-intro-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
    .ib-home-intro-item-icon {
        width: 80px;
        height: 80px;
    }
    .ib-home-intro-item-text {
        gap: 14px;
    }
    .ib-home-intro-item-label {
        font-size: 20px;
    }
    .ib-home-intro-item-description {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .ib-home-intro-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .ib-home-intro-inner {
        padding: 40px 20px;
    }
    .ib-home-intro-title {
        font-size: 28px;
    }
    .ib-home-intro-item-icon {
        width: 64px;
        height: 64px;
    }
    .ib-home-intro-item-text {
        gap: 12px;
    }
    .ib-home-intro-item-label {
        font-size: 18px;
    }
    .ib-home-intro-item-description {
        font-size: 14px;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .ib-home-intro-grid {
        gap: 16px;
    }
    .ib-home-intro-inner {
        padding: 40px 16px;
    }
    .ib-home-intro-title {
        font-size: 24px;
    }
    .ib-home-intro-item-label {
        font-size: 16px;
    }
    .ib-home-intro-item-description {
        font-size: 13px;
    }
}

/* ==============================================
   SCROLL TO TOP BUTTON
   ============================================== */

.ib-scroll-top {
    position: fixed;
    bottom: 32px;
    right: 80px;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--wp--preset--color--line);
    background: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.ib-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ib-scroll-top:hover {
    background: #0071BC33;
}
.ib-scroll-top > img {
    width: 24px;
    height: 24px;
}

@media (max-width: 767px) {
    .ib-scroll-top {
        bottom: 20px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    .ib-scroll-top > img {
        width: 20px;
        height: 20px;
    }
}

.grecaptcha-badge {
    display: none !important;
}

/* ============================================================
   SHARED UTILITIES — BUTTON
   ============================================================ */

.ib-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--wp--preset--color--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ib-btn:hover {
    background: var(--wp--preset--color--primary-accent);
    opacity: 1;
    transform: translateY(-1px);
    color: #fff;
}

.ib-btn--outline {
    background: transparent;
    border: 2px solid var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
}

.ib-btn--outline:hover {
    background: var(--wp--preset--color--primary);
    color: #fff;
}

.ib-btn--white {
    background: #fff;
    color: var(--wp--preset--color--primary);
}

.ib-btn--white:hover {
    background: #f0f0f0;
    opacity: 1;
}

/* ============================================================
   HOME PAGE  —  HERO BANNER
   ============================================================ */

.ib-hero-banner.wp-block-cover {
    position: relative;
    min-height: calc(100vh - 135px) !important;
    background-color: #000;
    padding: 0;
}

.ib-hero-banner .wp-block-cover__image-background {
    object-fit: cover;
    object-position: center;
}

.ib-hero-banner .wp-block-cover__background {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%) !important;
    opacity: 1 !important;
}

.ib-hero-banner .wp-block-cover__inner-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    width: 100%;
    padding: 80px;
    max-width: var(--wp--style--global--wide-size);
}

.ib-hero-content {
    text-align: center;
}

.ib-hero-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ib-hero-heading img{
    filter: drop-shadow(0px 0px 6px #00000080);
}

.title-shadow {
    text-shadow: 4px 4px 6px #2b2b2b40;
}

.ib-hero-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.ib-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: normal;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.ib-hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0;
    color: #fff;
    margin: 0;
    margin-top: 10px;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1199px) {
    .ib-hero-banner .wp-block-cover__inner-container {
        padding: 60px 40px;
    }
    .ib-hero-eyebrow {
        font-size: 18px;
    }
    .ib-hero-title {
        font-size: 36px;
    }
    .ib-hero-logo {
        width: 128px;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .ib-hero-title {
        font-size: 32px;
    }
    .ib-hero-logo {
        width: 110px;
        height: auto;
    }
}

@media (max-width: 767px) {
    .ib-hero-banner .wp-block-cover__inner-container {
        padding: 40px 20px;
    }
    .ib-hero-eyebrow {
        font-size: 16px;
    }
    .ib-hero-title {
        font-size: 28px;
    }
    .ib-hero-subtitle {
        font-size: 14px;
    }
    .ib-hero-heading {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .ib-hero-banner .wp-block-cover__inner-container {
        padding: 32px 16px;
    }
    .ib-hero-content {
        gap: 12px;
    }
    .ib-hero-eyebrow {
        font-size: 14px;
    }
    .ib-hero-title {
        font-size: 24px;
    }
    .ib-hero-heading {
        gap: 6px;
    }
    .ib-hero-logo {
        width: 78px;
        height: auto;
    }
}

/* ================================
   HOME — SERVICE SECTION
================================ */
.ib-home-service-section {
    display: flex;
    justify-content: center;
}

.ib-home-service-inner {
    position: relative;
    max-width: var(--wp--style--global--wide-size);
    width: 100%;
    padding: 120px 80px 0px;
}

.text-extrabold-3xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--3-xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0;
}

.text-semibold-3xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--3-xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0;
}

.text-extrabold-2xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--2-xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0;
}

.text-bold-2xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--2-xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0;
}

.text-semibold-2xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--2-xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0;
}

.text-medium-2xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--2-xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0;
}


.text-extrabold-xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0;
}

.text-bold-xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0;
}

.text-semibold-xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0;
}

.text-medium-xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0;
}

.text-xl{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--xl);
    color: var(--wp--preset--color--foreground);
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
}

.text-medium-md{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--md);
    color: var(--wp--preset--color--foreground);
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0;
}

.text-bold-md{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--md);
    color: var(--wp--preset--color--foreground);
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0;
}

.text-md{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--md);
    color: var(--wp--preset--color--foreground);
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
}

@media screen and (max-width:782px) {
    .text-extrabold-3xl,
    .text-semibold-3xl{
         font-size: var(--wp--preset--font-size--large);
    }
    .text-extrabold-2xl,
    .text-bold-2xl,
    .text-semibold-2xl,
    .text-medium-2xl {
        font-size: 28px;
    }
    .text-extrabold-xl,
    .text-bold-xl,
    .text-medium-xl,
    .text-semibold-xl,
    .text-xl {
        font-size: var(--wp--preset--font-size--md);
    }
    .text-medium-md,
    .text-bold-md,
    .text-md {
        font-size: var(--wp--preset--font-size--base);
    }
}

.text-medium-b{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--base);
    color: var(--wp--preset--color--foreground);
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0;
}

.text-b{
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: var(--wp--preset--font-size--base);
    color: var(--wp--preset--color--foreground);
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
}

.hover-bg{
   background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
   transition: opacity 0.3s ease-in-out;
   opacity: 0.4;
}
.hover-bg:hover{
    opacity: 0.3;
}

.hover-card{
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.hover-card:hover{
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px)!important;
}
.hover-card:hover img{
    transform: scale(1.01);
}
.hover-card img{
    transition: all 0.35s ease;
}

.scroll-trigger {
    opacity: 0;
}

.scroll-trigger.is-visible {
    opacity: 1;
}

.animate--slide-in {
    transform: translateY(80px);
    transition:
        opacity 0.6s ease-in-out,
        transform 0.6s ease-in-out;
}

.scroll-trigger.is-visible.animate--slide-in {
    transform: translateY(0);
}

.ib-home-service-panel {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    background-color: var(--wp--preset--color--primary);
    border-top-left-radius: 200px;
}

.ib-home-service-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    max-width: min(620px, 56%);
    color: #ffffff;
    padding: 81px 18px 43px 60px;
}

.ib-home-service-title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    color: #ffffff;
    margin: 0;
    text-align: center;
    width: 100%;

}

.ib-home-service-text {
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    color: #ffffff;
    margin: 0;
}

.ib-home-service-button {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    padding: 12px 28px;
    border: 1px solid #77ACF1;
    border-radius: 200px;
    font-family: var(--wp--preset--font-family--noto-sans-jp);
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    color: #ffffff;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.ib-home-service-button:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.ib-home-service-button svg {
    height: 28px;
    width: 28px;
    flex-shrink: 0;
    padding-top: 4px;
}

.ib-home-service-media {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: min(480px, 44%);
    height: auto;
    aspect-ratio: 480 / 380;
    max-height: 380px;
    object-fit: cover;
    border-top-left-radius: 200px;
    transform: translateY(-108px);
}

@media (max-width: 1024px) {
    .ib-home-service-inner {
        display: flex;
        flex-direction: column;
        padding: 90px 0px 0px;
    }
    .ib-home-service-title {
        font-size: 32px;
    }
    .ib-home-service-text {
        font-size: 20px;
    }
    .ib-home-service-panel {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        border-top-left-radius: 120px;
        position: relative;
        z-index: 2;
        margin-top: -130px;
    }
    .ib-home-service-content {
        max-width: 100%;
        padding: 64px 40px 56px;
    }
    .ib-home-service-media {
        position: static;
        transform: none;
        display: block;
        order: -1;
        width: 100%;
        height: 320px;
        aspect-ratio: auto;
        margin-top: 0;
        border-top-left-radius: 120px;
    }
}

@media (max-width: 767px) {
    .ib-home-service-inner {
        padding: 90px 0px 0px;
    }
    .ib-home-service-panel {
        border-top-left-radius: 80px;
        gap: 24px;
        margin-top: -90px;
    }
    .ib-home-service-content {
        gap: 20px;
        padding: 40px 20px 40px;
    }
    .ib-home-service-title {
        font-size: 28px;
    }
    .ib-home-service-text {
        font-size: 16px;
    }
    .ib-home-service-button {
        font-size: 16px;
        padding: 10px 22px;
    }
    .ib-home-service-media {
        height: 240px;
        border-top-left-radius: 80px;
    }
    .ib-home-service-button svg {
        height: 24px;
        width: 24px;
        padding-top: 2px;
    }
}

@media (max-width: 480px) {
    .ib-home-service-inner {
        padding: 90px 0px 0px;
    }
    .ib-home-service-title {
        font-size: 24px;
    }
    .ib-home-service-text {
        font-size: 14px;
    }
}

/* =============================================
   HOME — CORE VALUES (事業概要)
   ============================================= */
.ib-home-core-section {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.ib-home-core-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    z-index: 0;
}

.ib-home-core-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.ib-home-core-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 68.02%);
}

.ib-home-core-inner {
    position: relative;
    z-index: 2;
    max-width: var(--wp--style--global--wide-size);
    width: 100%;
    padding: 40px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.ib-home-core-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.ib-home-core-title {
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    color: #ffffff;
    margin: 0;
}

.ib-home-core-desc {
    font-size: 18px;
    font-weight: 500;
    line-height: normal;
    color: #ffffff;
    margin: 0;
}

.ib-home-core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.ib-home-core-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 12px 12px 20px;
    border-radius: 20px;
    border: 1px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(180deg, #ffffff 0%, var(--wp--preset--color--primary) 100%) border-box;
}

.ib-home-core-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 33 / 32;
    object-fit: cover;
    border-radius: 20px;
}

.ib-home-core-card__title {
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-home-core-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 27px;
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: 200px;
    background-color: #ffffff;
    color: var(--wp--preset--color--primary);
    font-family: var(--wp--preset--font-family--noto-sans-jp);
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ib-home-core-button svg {
    flex-shrink: 0;
}

.ib-home-core-button:hover {
    background-color: var(--wp--preset--color--primary);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .ib-home-core-inner {
        padding: 40px 40px;
    }
    .ib-home-core-title {
        font-size: 32px;
    }
    .ib-home-core-desc {
        font-size: 20px;
    }
    .ib-home-core-grid {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .ib-home-core-inner {
        padding: 40px 20px;
    }
    .ib-home-core-title {
        font-size: 28px;
    }
    .ib-home-core-desc {
        font-size: 16px;
    }
    .ib-home-core-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 20px;
    }
    .ib-home-core-card {
        width: 100%;
        max-width: 250px;
    }
    .ib-home-core-card__title, .ib-home-core-button {
        font-size: 18px;
    }
    .ib-home-core-button svg {
        padding-top: 2px;
    }
}

@media (max-width: 480px) {
    .ib-home-core-inner {
        padding: 40px 16px;
    }
    .ib-home-core-title {
        font-size: 24px;
    }
    .ib-home-core-desc {
        font-size: 14px;
    }
    .ib-home-core-card__title, .ib-home-core-button {
        font-size: 16px;
    }
    .ib-home-core-button svg {
        width: 24px;
        height: 24px;
    }
}

/* ================================================
   Home — Why Choose Us
   ================================================ */

.ib-home-why-section {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.ib-home-why-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: var(--wp--style--global--wide-size);
    padding: 80px;
    width: 100%;
}

.ib-home-why-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.2;
}

.ib-home-why-eyebrow {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 20px;
    font-weight: 500;
    color: #888888;
}

.ib-home-why-title {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 40px;
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    margin: 0;
    padding: 3px 0;
}

.ib-home-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ib-home-why-card {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ib-home-why-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

.ib-home-why-card__arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.ib-home-why-card__arrow img {
    width: 40px;
    height: 40px;
}

.ib-home-why-card__image {
    width: 100%;
    aspect-ratio: 273 / 160;
    max-height: 176px;
    flex-shrink: 0;
    overflow: hidden;
    padding: 16px 16px 0;
    box-sizing: border-box;
}

.ib-home-why-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ib-home-why-card:hover .ib-home-why-card__image img {
    transform: scale(1.04);
}

.ib-home-why-card__body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    line-height: 1.45;
}

.ib-home-why-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.ib-home-why-card__icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.35s ease;
}

.ib-home-why-card__title {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 20px;
    font-weight: 500;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

.ib-home-why-card:hover .ib-home-why-card__icon img {
    transform: scale(1.1);
}

.ib-home-why-card__desc {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    color: var(--wp--preset--color--foreground);
    margin: 0;
}

@media (max-width: 1199px) {
    .ib-home-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ib-home-why-card {
        width: 100%;
    }
    .ib-home-why-inner {
        padding: 60px 40px;
    }
}

@media (max-width: 1024px) {
    .ib-home-why-title,
    .ib-home-news-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .ib-home-why-card__desc {
        font-size: 14px;
    }
    .ib-home-why-inner {
        padding: 40px 20px;
    }
    .ib-home-why-title,
    .ib-home-news-title {
        font-size: 28px;
    }
    .ib-home-why-eyebrow {
        font-size: 16px;
    }
    .ib-home-why-grid {
        gap: 12px;
    }
    .ib-home-why-card__image {
        height: 130px;
        padding: 12px 12px 0;
    }
    .ib-home-why-card__title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ib-home-why-inner {
        padding: 32px 16px;
    }
    .ib-home-why-grid {
        grid-template-columns: 1fr;
    }
    .ib-home-why-card {
        width: 100%;
        height: auto;
    }
    .ib-home-why-card__image {
        height: 200px;
        padding: 12px 12px 0;
    }
}

/* =============================================
   HOME — GROUP COMPANIES
   ============================================= */
.ib-home-group-section {
    position: relative;
    background-color: #0f1923;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    height: 750px;
    overflow: hidden;
    justify-content: center;
}

.ib-home-group-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #00000099;
    z-index: 0;
}

.ib-home-group-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding: 0 80px;
    max-width: var(--wp--style--global--wide-size);
}

.ib-home-group-left {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.ib-home-group-eyebrow {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.ib-home-group-title {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 40px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    padding: 3px 0;
}

.ib-home-group-right {
    display: flex;
    gap: 40px;
    height: 100%;
    overflow: hidden;
}

.ib-home-group-col {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.ib-home-group-swiper {
    height: 100%;
    overflow: hidden;
}

.ib-home-group-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.ib-home-group-swiper .swiper-slide {
    height: auto !important;
    cursor: grab;
}

.ib-home-group-swiper .swiper-slide:active {
    cursor: grabbing;
}

.ib-home-group-card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 40px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    flex-shrink: 0;
}

.ib-home-group-card:hover {
    background-color: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.5);
}

.ib-home-group-card--link {
    text-decoration: none;
    cursor: pointer;
}

.ib-home-group-card__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.ib-home-group-card__logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ib-home-group-card__logo img {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ib-home-group-card__name {
    font-family: var(--wp--preset--font-family--shippori-mincho);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 1199px) {
    .ib-home-group-inner {
        padding-right: 40px;
        padding-left: 0;
    }
    .ib-home-group-left {
        padding-left: 40px;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 1024px) {
    .ib-home-group-inner {
        flex-direction: column;
        height: auto;
        padding-right: 0;
        padding-left: 0;
    }
    .ib-home-group-left {
        min-width: unset;
        width: 100%;
    }
    .ib-home-group-right {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 32px;
        padding: 24px 0 60px 0;
        overflow: visible;
    }
    .ib-home-group-col {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .ib-home-group-swiper {
        height: auto;
        width: 100%;
        overflow: hidden;
    }
    .ib-home-group-swiper .swiper-slide {
        width: auto !important;
        height: auto !important;
    }
    .ib-home-group-card {
        width: 180px;
        height: 180px;
        padding: 14px;
        margin-bottom: 0;
    }
    .ib-home-group-card__inner {
        gap: 18px;
    }
    .ib-home-group-card__logo {
        width: 88px;
        height: 88px;
    }
    .ib-home-group-card__logo img {
        max-width: 88px;
        max-height: 88px;
    }
    .ib-home-group-title {
        font-size: 32px;
    }
    .ib-home-group-card__name {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .ib-home-group-section {
        height: 600px;
    }
    .ib-home-group-left {
        padding-left: 20px;
        padding-top: 40px;
    }
    .ib-home-group-right {
        gap: 24px;
        padding: 20px 0 40px 0;
    }
    .ib-home-group-title {
        font-size: 28px;
    }
    .ib-home-group-eyebrow {
        font-size: 16px;
    }
    .ib-home-group-card {
        width: 160px;
        height: 160px;
        padding: 12px;
    }
    .ib-home-group-card__inner {
        gap: 16px;
    }
    .ib-home-group-card__logo {
        width: 80px;
        height: 80px;
    }
    .ib-home-group-card__logo img {
        max-width: 80px;
        max-height: 80px;
    }
    .ib-home-group-card__name {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .ib-home-group-section {
        height: 500px;
    }
    .ib-home-group-left {
        padding-left: 16px;
        padding-top: 32px;
    }
    .ib-home-group-right {
        gap: 16px;
        padding: 16px 0 32px 0;
    }
    .ib-home-group-card {
        width: 128px;
        height: 128px;
        padding: 10px;
    }
    .ib-home-group-card__inner {
        gap: 12px;
    }
    .ib-home-group-card__logo {
        width: 64px;
        height: 64px;
    }
    .ib-home-group-card__logo img {
        max-width: 64px;
        max-height: 64px;
    }
    .ib-home-group-card__name {
        font-size: 8px;
    }
    br.min-sm{
        display: none;
    }
}

@media (min-width:480px) {
    br.max-sm{
        display: none;
    }
}

/* ================================
   GTRANSLATE — CAPITALIZE FIRST LETTER
   Google translates each text node on its own; short Japanese labels
   (お問い合わせ, 会社案内, …) come back all lowercase. Google sets
   .translated-ltr on <html>, so this only fires on translated pages.
   ::first-letter needs a block box — hence the display rule for the
   inline labels. capitalize is avoided on purpose: it would Title Case
   every word of the longer headings.
================================ */
html.translated-ltr :is(h1, h2, h3, h4, h5, h6)::first-letter {
    text-transform: uppercase;
}

html.translated-ltr :is(.site-header__links a,
    .wp-element-button,
    .ib-home-contact-card-label,
    .ib-visit-item__text) {
    display: inline-block;
}

html.translated-ltr :is(.site-header__links a,
    .wp-element-button,
    .ib-home-contact-card-label,
    .ib-visit-item__text)::first-letter {
    text-transform: uppercase;
}
