/* =============================================
   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;
    }
}

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

.ib-about-intro-section {
    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;
    margin: 0 auto;
}

.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);
    max-width: 800px;
    margin: auto;
    width: 100%;
}

.ib-about-intro-table {
    width: 100%;
    font-family: var(--wp--preset--font-family--noto-sans-jp);
    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 170px;
    width: 170px;
    padding: 10px;
    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: 10px;
    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;
    }
}

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

@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 {
    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;
    margin: 0 auto;
}

.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-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 {
    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%;
    margin: 0 auto;
}

.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 {
    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%;
    margin: 0 auto;
}

.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;
}

.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;
    min-height: 637px;
}

.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-inner {
        padding: 60px 40px;
        min-height: auto;
    }
    .ib-about-cta-title {
        font-size: 32px;
    }
    .ib-about-cta-cards {
        flex-direction: column;
        align-items: center;
    }
}

@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;
    }
}

