:root {
    --container-wpct: 90%;
    --container-pad: 16px;
    --container-pad-pc: 24px;
    --brand: #0BA360;
    --accent: #D35B29;
    --text: #111;
    --header-logo-h: 54px;
    --footer-logo-h: 50px;
    --footer-max: 1200px
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    font-family: "Yu Gothic", "YuGothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif
}

.grecaptcha-badge{
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-element-button,
.wp-block-button__link,
.bb-cta {
    font-family: "Kiwi Maru", "Yu Gothic", "YuGothic", sans-serif
}

h2 {
    font-size: 32px;
    line-height: 1.35;
    margin: 0 0 .6em
}

img,
table,
.wp-block-image img {
    max-width: 100%;
    height: auto
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px
}

.page_wrap,
.u-container {
    width: var(--container-wpct);
    margin-inline: auto;
    padding-inline: var(--container-pad)
}

.bb-header {
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 10000;
    background: #fff
}

.bb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0
}

.bb-header__left,
.bb-header__left .custom-logo-link {
    display: inline-flex;
    align-items: center;
    flex: none
}

.bb-header__left img.custom-logo {
    height: var(--header-logo-h);
    width: auto !important;
    max-width: none;
    object-fit: contain
}

.bb-logo-text {
    font-weight: 700;
    font-size: 20px;
    text-decoration: none
}

.bb-header__right {
    display: flex;
    align-items: center;
    gap: 12px
}

.bb-tel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s
}

.bb-tel:hover {
    opacity: .7
}

.bb-tel__icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    fill: currentColor
}

.bb-cta {
    display: inline-block;
    padding: .1rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: opacity .2s
}

.bb-cta:hover {
    opacity: .85;
    text-decoration: none
}

.bb-hamburger {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
    border: none;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    position: relative
}

.bb-hamburger__bar {
    display: block;
    width: 26px;
    height: 2px;
    background: #333;
    transition: transform .2s ease, opacity .2s ease
}

.bb-hamburger.is-open .bb-hamburger__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg)
}

.bb-hamburger.is-open .bb-hamburger__bar:nth-child(2) {
    opacity: 0
}

.bb-hamburger.is-open .bb-hamburger__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg)
}

.bb-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 10001;
    border-top: 1px solid #eee;
    background: #fff;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height .25s ease, opacity .2s ease
}

.bb-menu.is-open {
    max-height: 70vh;
    opacity: 1;
    pointer-events: auto
}

.bb-menu__list {
    list-style: none;
    margin: 0;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center
}

.bb-menu__list a {
    text-decoration: none;
    padding: 10px 8px;
    display: block;
    font-size: 20px;
    color: #000
}

.bb-menu__list a:hover {
    opacity: .8
}

.bb-menu__share {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 10px 16px 14px;
    border-top: 1px solid #eee;
    background: #fff
}

.bb-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #222;
    text-decoration: none;
    transition: opacity .2s
}

.bb-share:hover {
    opacity: .8
}

.bb-share svg {
    width: 18px;
    height: 18px;
    fill: currentColor
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.bb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 9990
}

.bb-overlay.is-show {
    opacity: 1;
    pointer-events: auto
}

body.is-menu-open {
    overflow: hidden
}

.bb-footer {
    background: #fff;
    color: var(--text)
}

.bb-footer .u-container {
    inline-size: min(var(--container-wpct), var(--footer-max));
    margin-inline: auto
}

.bb-footer__top {
    background: #fff
}

.bb-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-block: 28px
}

.bb-footer__brand,
.bb-footer__brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    flex: none
}

.bb-footer__brand img.custom-logo,
.bb-footer__brand svg.custom-logo {
    height: var(--footer-logo-h, 50px);
    width: auto !important;
    max-width: none;
    object-fit: contain
}

.bb-footer__text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #333
}

.bb-footer__heading {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 700
}

.bb-footer__menu {
    list-style: none;
    margin: 0 0 16px;
    padding: 0
}

.bb-footer__menu li+li {
    margin-top: 2px
}

.bb-footer__menu a {
    text-decoration: none;
    color: #111;
    font-size: 14px
}

.bb-footer__menu a:hover {
    opacity: .8
}

.bb-footer__bottom {
    background: #fff;
    border-top: 1px solid #eee;
    padding-block: 14px 24px
}

bb-footer__copy,
.bb-footer__copy {
    margin: 0;
    font-size: 12px;
    color: #555;
    text-align: center
}

.bb-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%
}

.bb-search__input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: #111
}

.bb-search__input:focus {
    outline: 2px solid var(--brand);
    outline-offset: 1px
}

.bb-search__btn {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    cursor: pointer
}

.bb-search__btn:hover {
    opacity: .85
}

.bb-search__btn svg {
    width: 18px;
    height: 18px
}

.bb-menu__search {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    max-width: 600px;
    margin: 0 auto
}

.bb-breadcrumbs {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee
}

.bb-breadcrumbs .u-container {
    inline-size: min(var(--container-wpct), var(--footer-max));
    margin-inline: auto;
    padding-block: 10px
}

.bb-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: #666
}

.bb-breadcrumbs__item {
    display: flex;
    align-items: center
}

.bb-breadcrumbs__item+.bb-breadcrumbs__item::before {
    content: "›";
    margin: 0 6px;
    color: #bbb
}

.bb-breadcrumbs a {
    color: #111;
    text-decoration: none
}

.bb-breadcrumbs a:hover {
    opacity: .8
}

.single-staff .u-container {
    inline-size: min(var(--container-wpct), var(--footer-max));
    margin-inline: auto
}

.bb-header .u-container {
    inline-size: var(--container-wpct);
    margin-inline: auto;
    max-width: none
}

main.page_wrap {
    padding-block: clamp(40px, 6vw, 60px)
}

.home main.page_wrap {
    padding-block: 0
}

main.page_wrap.is-tight {
    padding-block: 24px !important
}

.bb-map-wrap {
    position: relative;
    overflow: hidden
}

.bb-map-wrap iframe {
    width: 100%;
    min-height: 330px;
    border: 0
}

.bb-en-label--contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bb-accent, #d35b29) !important;
    letter-spacing: .08em;
    margin-bottom: 6px
}

.bb-en-label--contact::after {
    content: "";
    flex: .4;
    height: 1px;
    background: currentColor
}

.bb-contact__sub {
    font-size: 1rem;
    margin: 16px 0 6px;
    color: #333;
    font-weight: 700
}

.bb-contact__text {
    margin: 0 0 8px;
    line-height: 1.8
}

.bb-contact__link {
    text-decoration: underline;
    text-underline-offset: 2px
}

.bb-form :where(input[type="text"], input[type="email"], input[type="tel"], textarea, select) {
    width: 100%;
    border: 1px solid var(--bb-border, #e6e6e6);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 16px
}

.bb-form :where(textarea) {
    min-height: 140px
}

.bb-form :where(input[type="submit"], button, .wpcf7-submit) {
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: var(--bb-accent, #d35b29);
    color: #fff;
    font-weight: 700;
    cursor: pointer
}

.bb-form-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.bb-form-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px
}

.bb-form-item p {
    margin: 0
}

.bb-form-item label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px
}

.bb-form-item .required {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #d35b29;
    border-radius: 3px;
    padding: 2px 6px;
    line-height: 1.2
}

.bb-form-item--full {
    grid-column: 1/-1
}

.bb-form-submit {
    margin-top: 16px
}

.bb-service-flow {
    padding: 48px 0
}

.bb-flow {
    display: grid;
    list-style: none;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    counter-reset: flow;
    position: relative
}

.bb-front .bb-flow__container .bb-h2 {
    margin-top: 0
}

.bb-eyebrow {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #D35B29;
    font-weight: 600;
    letter-spacing: .04em;
    margin: 0 0 10px;
}

.bb-eyebrow__line {
    display: none;
}

.bb-eyebrow::after {
    content: "";
    flex: 0.2;
    height: 1px;
    background: currentColor;
    opacity: .4;
    margin-left: 12px;
}

.bb-flow__item {
    background: #fff;
    border: 2px solid #d26b3a;
    display: flex;
    flex-direction: column;
    position: relative
}

.bb-flow__item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -26px;
    top: 50%;
    translate: 0 -50%;
    border: 10px solid transparent;
    border-left-color: #000
}

.bb-flow__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-bottom: 1px solid #d26b3a;
    background: #fff8f4
}

.bb-flow__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: #d26b3a;
    line-height: 1
}

.bb-flow__badge-step {
    font-size: 10px;
    letter-spacing: .06em;
    color: #fff
}

.bb-flow__badge-num {
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    margin-top: 4px
}

.bb-flow__title {
    font-size: 18px;
    margin: 0;
    color: #d26b3a;
    font-weight: 700
}

.bb-flow__body {
    padding: 12px 5px
}

.bb-flow__text {
    color: #222;
    line-height: 1.9
}

.bb-flow__text p {
    margin: 0
}

.bb-btn-line {
    display: inline-block;
    padding: 6px 8px;
    width: 100%;
    text-align: center;
    border-radius: 999px;
    background: #00b900;
    color: #fff;
    font-weight: 700;
    text-decoration: none
}

.bb-flow__cta {
    margin: 12px 0 0
}

.bb-flow__note {
    text-align: right;
    font-size: 12px
}

.bb-about .bb-section {
    margin-block: clamp(34px, 4vw, 80px)
}

.bb-about-partner {
    padding-inline: 15px
}

.bb-about-partner__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 18px;
    text-align: center
}

.bb-about-partner__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0
}

.bb-about-partner__card {
    color: #111;
    border-radius: var(--bb-radius, 10px);
    padding: 10px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    background: #eee;
    color: #fff
}

.bb-about-partner__media {
    width: 194px;
    height: 164px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px
}

.bb-about-partner__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block
}

.bb-about-partner__cardtitle {
    font-size: 20px;
    font-weight: 700;
    margin: 4px 0 2px
}

.bb-about-partner__text {
    line-height: 1.7;
    margin: 0
}

.bb-about-greeting {
    position: relative;
    padding: clamp(28px, 4vw, 48px) 15px
}

.bb-about-greeting::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    background: #f6f6f6;
    z-index: 0
}

.bb-about-greeting__inner {
    position: relative;
    z-index: 1
}

.bb-about-greeting__grid {
    display: grid;
    gap: clamp(20px, 3vw, 32px);
    align-items: center
}

.bb-about-greeting__col--text {
    min-width: 0
}

.bb-about-greeting__col--photo {
    min-width: 0
}

.bb-about-greeting__photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--bb-radius, 10px)
}

.bb-about-greeting__en {
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--bb-ink-weak, #666);
    margin: 0 0 6px
}

.bb-en-label--greeting {
    display: flex;
    align-items: center;
    color: var(--bb-accent, #d35b29) !important;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 6px
}

.bb-en-label--greeting::after {
    content: "";
    flex: .4;
    height: 1px;
    background: currentColor
}

.bb-about-greeting__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 14px
}

.bb-about-greeting__message p {
    line-height: 1.9;
    margin: 0 0 1em
}

.bb-about-greeting__signblock {
    margin-top: 14px
}

.bb-about-greeting__org {
    font-size: 16px;
    font-weight: 600
}

.bb-about-greeting__name {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px
}

.bb-about-greeting__creds {
    font-size: 14px;
    color: var(--bb-ink-weak, #666);
    line-height: 1.8
}

.bb-about-banners {
    position: relative;
    background: var(--banners-bg, #f6f6f6);
    padding: clamp(20px, 3vw, 40px) 15px
}

.bb-about-banners__grid {
    display: grid;
    gap: 16px
}

.bb-about-banners__grid--split {
    grid-template-columns: 1fr 1fr
}

.bb-about-banners__grid--single {
    grid-template-columns: 1fr
}

.bb-about-banners__link {
    display: block;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    background: #fff
}

.bb-about-banners__link:hover {
    transform: translateY(-2px)
}

.bb-about-banners__link img {
    width: 100%;
    height: auto;
    display: block
}

.bb-recruit .bb-section {
    margin-block: clamp(34px, 4vw, 80px)
}

.bb-recruit-join__message {
    text-align: center;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 14px
}

.bb-recruit-join__figure {
    margin: 0 auto;
    position: relative;
    z-index: 2
}

.bb-recruit-join__figure img {
    width: 100%;
    height: auto;
    display: block
}

.bb-recruit-join__panel {
    position: relative;
    z-index: 1;
    background: #f6f6f6;
    padding: clamp(40px, 6vw, 60px) clamp(22px, 3.6vw, 34px) clamp(28px, 4vw, 40px);
    margin-top: -36px
}

.bb-recruit-join__heading {
    text-align: center;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 800;
    margin: 6px 0 12px
}

.bb-recruit-join__lines {
    text-align: center
}

.bb-recruit-join__lines p {
    margin: 0 0 .6em;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    white-space: pre-wrap
}

.bb-en-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 6px
}

.bb-en-label::after {
    content: "";
    flex: .4;
    height: 1px;
    background: currentColor
}

.bb-en-label--accent {
    color: var(--bb-accent, #d35b29) !important
}

.bb-recruit-apply {
    position: relative;
    background: var(--apply-bg, transparent)
}

.bb-recruit .bb-en-label::after {
    flex: .2
}

.bb-recruit-apply__title {
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 14px
}

.bb-recruit-apply__grid {
    display: grid;
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--apply-img-w, 520px))
}

.bb-recruit-apply__image img {
    width: 100%;
    height: auto;
    display: block
}

.bb-recruit-apply .wpcf7 form p {
    margin: 0 0 12px
}

.bb-recruit-apply .wpcf7 input[type="text"],
.bb-recruit-apply .wpcf7 input[type="email"],
.bb-recruit-apply .wpcf7 input[type="tel"],
.bb-recruit-apply .wpcf7 textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--bb-border, #e6e6e6);
    border-radius: 8px;
    background: #fff
}

.bb-recruit-apply .wpcf7 input[type="submit"],
.bb-recruit-apply .wpcf7 button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--bb-accent, #d35b29);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer
}

.bb-volunteer .bb-section {
    margin-block: clamp(28px, 4vw, 60px)
}

.bb-volunteer .bb-section.bb-vol-item {
    margin-block: clamp(28px, 4vw, 100px)
}

.bb-en-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 6px
}

.bb-en-label::after {
    content: "";
    flex: .4;
    height: 1px;
    background: currentColor
}

.bb-en-label--accent {
    color: var(--bb-accent, #d35b29) !important
}

.bb-vol-training__grid {
    display: grid;
    grid-template-columns: minmax(0, var(--train-left-w, 480px)) 1fr;
    gap: clamp(16px, 3vw, 28px);
    align-items: center
}

.bb-vol-training__title {
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 800;
    margin: 0 0 10px
}

.bb-vol-training__body p {
    line-height: 1.9;
    margin: 0
}

.bb-vol-training__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--bb-radius, 10px)
}

.bb-vol-head__row {
    display: flex;
    align-items: center;
    gap: 14px
}

.bb-vol-head__row .bb-en-label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--bb-accent, #d35b29);
    gap: 6px
}

.bb-vol-head__row .bb-en-label::after {
    content: "";
    display: inline-block;
    width: 380px;
    height: 1px;
    background: currentColor
}

.bb-vol-head__title {
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 800;
    margin: 0
}

.bb-vol-item__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--vol-img-w, 720px));
    align-items: stretch;
    gap: 0
}

.bb-vol-item__grid.is-image-left {
    grid-template-columns: minmax(0, var(--vol-img-w, 720px)) minmax(0, 1fr)
}

.bb-vol-item__col {
    display: flex
}

.bb-vol-item__col--image {
    flex: 1
}

.bb-vol-item__image,
.bb-vol-item__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    display: block;
    margin-bottom: 0
}

.bb-vol-item__col--text {
    background: #f6f6f6;
    border-radius: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(20px, 3vw, 28px);
    box-sizing: border-box
}

.bb-vol-item__title {
    margin: 0 0 8px
}

.bb-vol-item__body p {
    margin: 0 0 .8em
}

.bb-vol-item__list {
    margin: .2em 0 0;
    padding-left: 1.1em
}

.bb-vol-item__list li {
    line-height: 1.9;
    list-style: disc
}

.bb-vol-item__link .bb-link--accent {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 18px;
    background: #000
}

/* CF7 成功時のグローバルメッセージを非表示（リダイレクトするため） */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
  display: none !important;
}

/* 失敗・バリデーション時は従来どおり表示（明示） */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  display: block;
}


@media (min-width:768px) and (max-width:1024px) {
    .bb-about-partner__grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (min-width:768px) {
    .pc-none {
        display: none
    }

    .page_wrap,
    .u-container {
        padding-inline: var(--container-pad-pc)
    }

    .bb-vol-item__col[data-pc-pos="1"] {
        order: 1
    }

    .bb-vol-item__col[data-pc-pos="2"] {
        order: 2
    }
}

@media (max-width:1024px) {
    .bb-footer__cols {
        grid-template-columns: 1fr 1fr
    }

    .bb-about-greeting__grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 24px
    }
}

@media (max-width:767px) {
    h2 {
        font-size: 24px
    }

    .page_wrap
    {
      width: 100%;
      margin-inline: 0;
      padding-inline: 0;
    }

    .u-container,
    .single-staff .u-container {
      width: 100%;
      margin-inline: 0;
      padding-inline: 15px;
    }

    .bb-header__inner {
        flex-direction: column;
        align-items: center;
        gap: 8px
    }

    .bb-header__left {
        align-self: center
    }

    .bb-header__right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center
    }

    .bb-tel,
    .bb-cta {
        display: none
    }

    .bb-menu__list a {
        font-size: 16px
    }

    .bb-header__left img.custom-logo {
        height: 48px
    }

    .bb-footer__cols {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0
    }

    .bb-breadcrumbs {
        margin-bottom: 30px
    }

    .bb-breadcrumbs .u-container {
        padding-block: 8px;
    }

    .bb-breadcrumbs__list {
        font-size: 11px
    }

    .bb-contact__inner {
        grid-template-columns: 1fr !important
    }

    .bb-form-flex {
        display: block;
        gap: 12px
    }

    .bb-form :where(input[type="submit"], button, .wpcf7-submit) {
        width: 100%
    }

    .bb-about-partner {
        padding-inline: 0
    }

    .bb-about-partner__grid {
        grid-template-columns: 1fr
    }

    .bb-about-partner__media {
        width: 100%;
        max-width: 320px
    }

    .bb-about-banners__grid--split {
        grid-template-columns: 1fr
    }

    .bb-recruit-apply__grid {
        grid-template-columns: 1fr
    }

    .bb-recruit-apply__col[data-sp-order="1"] {
        order: 1
    }

    .bb-recruit-apply__col[data-sp-order="2"] {
        order: 2
    }

    .bb-recruit-join__message {
        font-size: 16px
    }

    .bb-recruit-apply__grid {
        grid-template-columns: 1fr
    }

    .bb-recruit-join__panel {
        margin-top: -20px
    }

    .bb-recruit-join__lines p {
        font-size: 16px;
        text-align: left
    }

    .bb-vol-head__row {
        display: block
    }

    .bb-volunteer .bb-section {
        margin-block: clamp(22px, 6vw, 40px)
    }

    .bb-vol-training__grid {
        grid-template-columns: 1fr
    }

    .bb-vol-training__col--text {
        order: 1
    }

    .bb-vol-training__col--image {
        order: 2
    }

    .bb-vol-item__grid,
    .bb-vol-item__grid.is-image-left {
        grid-template-columns: 1fr
    }

    .bb-vol-item__col--image {
        order: 1
    }

    .bb-vol-item__col--text {
        order: 2
    }

    .bb-404__inner {
        padding-block: 56px
    }

    .bb-flow {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .bb-flow__item {
        position: relative;
        padding-bottom: 10px
    }

    .bb-flow__item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: auto;
        top: auto;
        left: 50%;
        bottom: -25px;
        translate: none;
        transform: translateX(-50%);
        border-width: 10px;
        border-style: solid;
        border-color: transparent;
        border-top-color: #000;
        display: block
    }

    .bb-flow__item:last-child::after {
        content: none
    }
}