body {
    margin: 0;
    background: #ffffff;
}

#page.site {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
}

.global-main {
    background: #ffffff;
    padding: 4px 0 48px;
}

.global-main-inner {
    box-sizing: border-box;
    max-width: 1200px;
    width: 80%;
    margin: 0 auto;
}

.global-hero {
    width: 100%;
    margin: 0;
    line-height: 0;
}

/* `<picture>` はデフォルトが inline のことがあり、中身の差（source の有無）でボックス化が変わると下流レイアウトに影響することがある */
.global-hero picture {
    display: block;
    width: 100%;
    margin: 0;
    line-height: 0;
}

.global-image-top {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
    object-fit: contain;
}

.global-lead {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.03em;
    color: #1e2864;
    text-align: center;
}

.global-media {
    margin: 0;
    line-height: 0;
    text-align: center;
}

.global-media picture {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    line-height: 0;
}

.global-media img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    vertical-align: top;
}

.global-strip {
    padding: 32px 0;
}

.global-strip--tight-top {
    padding-top: 12px;
}

.global-strip--light {
    background: #ffffff;
}

/* partners 側の `.front-page .button-box { margin-bottom: 80px; }` を本文では邪魔しないよう打ち消し */
.global-strip .button-box {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 20px;
    margin-bottom: 0 !important;
}

/*
 * partners テーマの `.front-page .button-box:not(.button-box--aligned-cta){ flex-direction:column }`
 * （特異性 0,2,1）が先読みCSSで当たり、こちらの `.global-strip .button-box` より強い。PC幅のみ横並びを上書きする。
 */
@media (min-width: 768px) {
    .front-page .global-strip .button-box {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 20px;
    }
}

.global-cta-btn {
    box-sizing: border-box;
    flex: 1 1 calc(50% - 10px);
    min-width: 260px;
    max-width: 580px;
    padding: 14px 18px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 2px !important;
    border: 1px solid transparent;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.global-cta-spacer,
.global-cta-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.global-cta-spacer svg,
.global-cta-icon svg {
    width: 26px;
    height: auto;
    display: block;
    transition: transform 0.25s ease;
}

.global-cta-label {
    flex: 1 1 auto;
    text-align: center;
    line-height: 1.35;
}

.global-cta-btn:hover .global-cta-icon svg {
    transform: translateX(4px);
    transition: transform 0.25s ease;
}

.global-cta-btn--pink-outline {
    --cta-ico-fill: #fe5c8f;
    --cta-ico-fill-hover: #ffffff;
    --cta-arrow-fill: #ffffff;
    --cta-arrow-fill-hover: #fe5c8f;
    background-color: #ffffff;
    color: #fe5c8f;
    border-color: #fe5c8f;
}

.global-cta-btn--pink-outline:hover {
    background-color: #fe5c8f;
    color: #ffffff;
    border-color: #fe5c8f;
}

.global-cta-btn--pink-outline:hover .global-cta-ico-circle {
    fill: var(--cta-ico-fill-hover);
}

.global-cta-btn--pink-outline:hover .global-cta-ico-arrow {
    fill: var(--cta-arrow-fill-hover);
}

.global-cta-btn--navy-outline {
    --cta-ico-fill: #02369a;
    --cta-ico-fill-hover: #ffffff;
    --cta-arrow-fill: #ffffff;
    --cta-arrow-fill-hover: #02369a;
    background-color: #ffffff;
    color: #02369a;
    border-color: #02369a;
}

.global-cta-btn--navy-outline:hover {
    background-color: #02369a;
    color: #ffffff;
    border-color: #02369a;
}

.global-cta-btn--navy-outline:hover .global-cta-ico-circle {
    fill: var(--cta-ico-fill-hover);
}

.global-cta-btn--navy-outline:hover .global-cta-ico-arrow {
    fill: var(--cta-arrow-fill-hover);
}

.global-cta-ico-circle {
    fill: var(--cta-ico-fill);
    transition: fill 0.25s ease;
}

.global-cta-ico-arrow {
    fill: var(--cta-arrow-fill);
    transition: fill 0.25s ease;
}

.global-heading {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin: 0 0 20px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #163268;
}

.global-heading--sub {
    margin: 0 0 14px;
    font-size: clamp(18px, 2.4vw, 22px);
}

.global-heading--spaced {
    margin-top: 36px;
}

.global-heading-bar {
    width: 8px;
    border-radius: 4px;
    background: linear-gradient(#fe5c8f, #1e2864);
    flex-shrink: 0;
}

.global-voices {
    display: grid;
    gap: 18px;
}

.global-voice-card {
    border: 1px solid #d7deea;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(18, 40, 80, 0.08);
    padding: 22px 24px 24px;
}

.global-voice-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1e2864;
}

.global-voice-body {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #2c3144;
}

.global-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.global-contact-card {
    border: 1px solid #d7deea;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(18, 40, 80, 0.12);
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

/* 複数行の説明をまとめ、ボタンをカード下端に寄せる */
.global-contact-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}

.global-contact-body .global-contact-text {
    flex: 0 1 auto;
}

.global-contact-label {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e2864;
}

.global-contact-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #2c3144;
    flex: 1;
}

/* 最下部コンタクト：太字＋黄色下線 */
.global-contact-highlight {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #e6b800;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}

/* 黄色下線のみ（字句の強調） */
.global-contact-underline {
    text-decoration: underline;
    text-decoration-color: #e6b800;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}

.global-contact-phone {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #ff6b9f;
    letter-spacing: 0.04em;
}

.global-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.global-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(18, 40, 80, 0.15);
}

.global-btn--navy {
    background: #1e2864;
    border-color: #1e2864;
    color: #ffffff;
}

.global-btn--orange {
    background: #ff8a3d;
    border-color: #ff8a3d;
    color: #ffffff;
}

.global-fab-top {
    position: fixed;
    right: 18px;
    bottom: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1e2864;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(18, 40, 80, 0.25);
    z-index: 40;
}

@media (max-width: 1024px) {
    .global-contact-grid {
        grid-template-columns: 1fr;
    }

    .global-fab-top {
        right: 12px;
        bottom: 18px;
    }
}

@media (max-width: 767px) {
    .global-main {
        padding: 4px 0 36px;
    }

    .global-main-inner {
        width: calc(100% - 24px);
    }

    .global-strip {
        padding: 24px 0;
    }

    .global-lead {
        font-size: 16px;
    }

    .global-strip .button-box {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 14px;
        width: 100%;
    }

    /**
     * モバイルでテーマ側CSSの影響を受けて「リンクっぽく」見えるのを防止し、PCと同系の矩形CTAを固定する
     */
    .global-strip .button-box > a.global-cta-btn {
        -webkit-appearance: none !important;
        appearance: none !important;

        display: flex !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        border-radius: 2px !important;
        border-width: 1px !important;
        border-style: solid !important;

        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent;

        font-size: 16px;
        padding: 12px 14px;

        align-items: center;
        gap: 12px;
    }

    .global-strip .button-box > a.global-cta-btn.global-cta-btn--navy-outline {
        background-color: #ffffff !important;
        color: #02369a !important;
        border-color: #02369a !important;
    }

    .global-strip .button-box > a.global-cta-btn.global-cta-btn--pink-outline {
        background-color: #ffffff !important;
        color: #fe5c8f !important;
        border-color: #fe5c8f !important;
    }

    .global-strip .button-box > a.global-cta-btn:active {
        transform: translateY(1px);
    }

    .global-strip .button-box > a.global-cta-btn.global-cta-btn--navy-outline .global-cta-ico-circle {
        fill: #02369a !important;
    }

    .global-strip .button-box > a.global-cta-btn.global-cta-btn--pink-outline .global-cta-ico-circle {
        fill: #fe5c8f !important;
    }

    .global-strip .button-box > a.global-cta-btn .global-cta-ico-arrow {
        fill: #ffffff !important;
    }
}

/* フッター会社住所の TEL/FAX: 桁に ZWSP を入れているが、自動で tel: リンク化されたときもタップ無効にする */
.footer-content-block-about-address .footer-content-block-about-tel a,
.footer-content-block-about-address .footer-content-block-about-fax a,
.footer-content-block-about-address a[href^="tel:"] {
    pointer-events: none !important;
    color: inherit !important;
    text-decoration: none !important;
    cursor: default !important;
}
