/* =========================
   Mobile layout
========================= */


@media (max-width:768px){html,
body {
    overflow-x: hidden;
}

body {
    background-size: 12px 12px;
}

#masthead,
.site-header,
.shfb {
    width: 100%;
    left: auto;
    margin-left: 0;
	transform: none !important;
}

.home .shfb-main_header_row {
    /*width: calc(100% - 24px);
    max-width: none;
    margin: 8px 12px 0;
    border-radius: 8px;*/
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.site-header,
.shfb,
.shfb-row,
.shfb-row-wrapper,
.shfb-main_header_row,
.shfb-main_header_row .container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-logo img,
.site-branding img,
.shfb-component-logo img,
.custom-logo,
.custom-logo-link img,
.shfb img.custom-logo,
.shfb .site-logo img {
    width: auto !important;
    height: auto !important;
    max-width: min(180px, 52vw) !important;
    max-height: 54px !important;
    object-fit: contain;
}

.site-logo,
.site-branding,
.shfb-component-logo,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.hero-custom {
    height: 78svh;
    min-height: 500px;
    max-height: 640px;
    /*margin-top: -130px;*/
    overflow: hidden;
}

.hero-bg {
    background-position: 42% center;
}

.hero-content {
    top: 46%;
    left: 22px;
    right: 22px;
    transform: translateY(-50%);
    text-align: left;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.45;
    margin-bottom: 14px;
}

.hero-content p {
    font-size: 14px;
}

.photo-wrap,
.img1,
.img2,
.img3,
.text1 {
    right: auto !important;
    left: 0 !important;
    z-index: 6;
    pointer-events: none;
}

.photo1-wrap {
    top: 18%;
    width: 34vw;
    z-index: 5;
}

.photo2-wrap {
    top: 58%;
    width: 46vw;
    z-index: 7;
}

.photo3-wrap {
    top: 72%;
    width: 40vw;
    z-index: 7;
}

.photo-wrap img {
    animation: floatLeftMobile 26s linear infinite !important;
}

.photo1-wrap img { animation-delay: 0s !important; }
.photo2-wrap img { animation-delay: 8s !important; }
.photo3-wrap img { animation-delay: 16s !important; }

.img1,
.img2,
.img3 {
    top: auto;
    z-index: 12;
    opacity: 1;
    animation: floatLeftSpinMobile 24s linear infinite !important;
}

.img1 {
    top: 20%;
    width: 22vw;
    animation-duration: 24s !important;
}

.img2 {
    top: 62%;
    width: 18vw;
    animation-duration: 26s !important;
    animation-delay: 6s !important;
}

.img3 {
    top: 78%;
    width: 18vw;
    animation-duration: 22s !important;
    animation-delay: 12s !important;
}

.text1 {
    top: 48%;
    bottom: auto !important;
    width: 10vw;
    z-index: 11;
    transform-origin: center center;
    animation: floatLeftTextMobile 34s linear infinite !important;
    animation-delay: 0s !important;
}

.section-heading {
    font-size: clamp(36px, 13vw, 52px);
    line-height: 1;
    margin-bottom: 36px;
    overflow-wrap: anywhere;
}

.section-message,
.section-works,
.section-business,
.topics {
    padding-left: 20px;
    padding-right: 20px;
}

.section-message {
    padding-top: 64px;
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 64px;
}

.section-message .container,
.section-message .message-inner,
.section-message .message-text {
    width: 100%;
    max-width: none;
}

.section-message .message-inner {
    align-items: stretch;
}

.section-message .message-image {
    width: min(76vw, 320px);
    margin: 0 auto;
}

.message-inner,
.works-inner,
.about-inner {
    gap: 28px;
}

.message-image,
.message-text,
.works-image,
.works-text {
    width: 100%;
}

.message-text h3,
.works-text h3 {
    font-size: 28px;
    line-height: 1.45;
    margin-bottom: 22px;
}

.section-message .message-text h3 {
    font-size: clamp(38px, 10.5vw, 46px);
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
}

.message-text p,
.works-text p,
.section-intro p,
.business-item p {
    font-size: 15px;
    line-height: 1.9;
    text-align: left;
}

.section-message .message-text p {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.business-sticky1,
.business-sticky {
    display: block;
    width: 100%;
    padding: 56px 14px;
    background-color: #fff3e0;
}

.business-sticky1 {
    padding-top: 56px;
    padding-bottom: 0;
}

.business-sticky1 .section-heading {
    margin-bottom: 20px;
}

.business-intro {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    text-align: left;
    color: #001b4c;
}

.business-sticky {
    padding-top: 28px;
}

.business-left {
    display: none;
}

.business-right {
    width: 100%;
    padding-left: 0;
    display: block;
}

.business-item {
    min-height: auto;
    padding: 0 0 64px;
    opacity: 1;
    border-bottom: 0;
    width: 100%;
    max-width: none;
    text-align: left;
}

.business-item h3 {
    white-space: normal;
    font-size: clamp(28px, 8.8vw, 38px);
    line-height: 1.35;
    margin-bottom: 26px;
}

.business-mobile-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    margin: 0 0 28px;
}

.business-item .num {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.6;
}

.business-item p {
    width: 100%;
    max-width: none;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0;
    text-align: left;
}

.works-slider {
    padding: 64px 20px 40px;
}

.works-card {
    width: 78vw;
}

.works-card img {
    height: 54vw;
    min-height: 190px;
    border-radius: 14px;
}

.topics {
    padding-top: 64px;
    padding-bottom: 64px;
}

.topics-header {
    display: block;
    margin-bottom: 28px;
}

.view-more {
    display: inline-block;
    margin-top: 10px;
}

.topic-card {
    width: 78vw;
}

.topic-card img {
    height: 50vw;
    min-height: 180px;
}

.fv-slider {
    height: 72svh;
    min-height: 480px;
}

.fv-item {
    width: 82vw;
    height: 72svh;
    min-height: 480px;
}

.fv-text {
    left: 22px;
    right: 22px;
}

.fv-text h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.45;
}

.custom-footer {
    padding: 48px 20px;
}

.footer-inner,
.footer-menu,
.footer-bottom ul {
    display: block;
}

.footer-left,
.footer-menu {
    width: 100%;
}

.menu-column {
    margin-top: 28px;
}

@keyframes floatLeftMobile {
    0% {
        transform: translateX(112vw);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        transform: translateX(-86vw);
        opacity: 0;
    }
}

@keyframes floatLeftSpinMobile {
    0% {
        transform: translateX(120vw) rotate(0deg);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        transform: translateX(-80vw) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatLeftTextMobile {
    0% {
        transform: translateX(140vw) rotate(-90deg);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        transform: translateX(-360vw) rotate(-90deg);
        opacity: 0;
    }
}

/* Final mobile hero overrides */
.home .hero-custom {
    /*margin-top: -120px !important;*/
}

.home .hero-custom > .photo-wrap {
    display: block !important;
    position: absolute !important;
    right: auto !important;
    left: 0 !important;
}

.home .hero-custom > .photo1-wrap {
    top: 6% !important;/* 上下位置 */
    width: 40vw !important;/* 大きさ */
    z-index: 5 !important;
}

.home .hero-custom > .photo2-wrap {
    top: 70% !important;/* 上下位置 */
    width: 46vw !important;/* 大きさ */
    z-index: 8 !important;
}

.home .hero-custom > .photo3-wrap {
    top: 76% !important;/* 上下位置 */
    width: 40vw !important;/* 大きさ */
    z-index: 8 !important;
}

.home .hero-custom > .photo-wrap img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1;
    animation: floatLeftMobile 24s linear infinite !important;
}

.home .hero-custom > .photo1-wrap img { animation-delay: -3s !important; }
.home .hero-custom > .photo2-wrap img { animation-delay: -9s !important; }
.home .hero-custom > .photo3-wrap img { animation-delay: -15s !important; }

.home .hero-custom > .floating.img1,
.home .hero-custom > .floating.img2,
.home .hero-custom > .floating.img3 {
    display: block !important;
    position: absolute !important;
    right: auto !important;
    left: 0 !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 20 !important;
    animation: floatLeftSpinMobile 18s linear infinite !important;
}

.home .hero-custom > .floating.img1 {
    top: 20% !important;
    width: 22vw !important;
    animation-delay: -2s !important;
}

.home .hero-custom > .floating.img2 {
    top: 60% !important;
    width: 28vw !important;
    animation-delay: -8s !important;
}

.home .hero-custom > .floating.img3 {
    top: 76% !important;
    width: 38vw !important;
    animation-delay: -13s !important;
}

.home .hero-custom > .floating.text1 {
    display: none !important;
}

.home .hero-custom::after {
    content: "A warm home for a happy family.";
    position: absolute;
    left: 0;
    top: 12%;
    z-index: 19;
    color: #f39800;
    font-size: clamp(44px, 14vw, 72px);
    font-weight: 1000;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0;
    pointer-events: none;
    animation: floatLeftCssTextMobile 18s linear infinite;
}

@keyframes floatLeftCssTextMobile {
    0% {
        transform: translateX(110vw);
        opacity: 1;
    }
    100% {
        transform: translateX(-130vw);
        opacity: 1;
    }
}

/* Final mobile business text width overrides */
.home .business-sticky {
    box-sizing: border-box !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    overflow: hidden !important;
}

.home .business-sticky .business-right,
.home .business-sticky .business-item {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home .business-sticky .business-item .num,
.home .business-sticky .business-item h3,
.home .business-sticky .business-item p {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

.home .business-sticky .business-item p:not(.num) {
    display: block !important;
    inline-size: 100% !important;
    max-inline-size: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Final mobile footer layout overrides */
.custom-footer {
    box-sizing: border-box !important;
    padding: 48px 20px 36px !important;
}

.custom-footer .footer-inner,
.custom-footer .footer-menu {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

.custom-footer .footer-left {
    width: 100% !important;
    margin-bottom: 36px !important;
}

.custom-footer .footer-logo {
    width: min(180px, 52vw) !important;
    height: auto !important;
    margin-bottom: 18px !important;
}

.custom-footer .company-name {
    margin-bottom: 12px !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
}

.custom-footer .company-info {
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.custom-footer .contact-btn {
    margin-top: 22px !important;
}

.custom-footer .menu-column {
    width: 100% !important;
    margin: 0 0 30px !important;
}

.custom-footer .menu-column h4 {
    margin: 24px 0 10px !important;
    font-size: 15px !important;
}

.custom-footer .menu-column ul {
    margin: 0 !important;
    padding: 0 !important;
}

.custom-footer .menu-column li {
    margin-bottom: 10px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.custom-footer .footer-bottom {
    margin-top: 28px !important;
    text-align: left !important;
}

.custom-footer .footer-bottom ul {
    display: block !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

.custom-footer .footer-bottom li {
    margin-bottom: 10px !important;
}

/* Final mobile business heading layout overrides */
.home .business-sticky1 {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    padding: 48px 14px 12px !important;
    margin: 0 !important;
    background-color: #fff3e0 !important;
}

.home .business-sticky1 .section-heading {
    display: block !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    text-align: left !important;
}

.home .business-sticky1 .business-intro {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    text-align: left !important;
}

.home .business-sticky {
    padding-top: 8px !important;
}

.home .business-sticky .business-item:first-child {
    padding-top: 0 !important;
}

.home .business-sticky .business-item:first-child .business-mobile-image {
    margin-top: 0 !important;
}

.home .business-sticky .business-mobile-image {
    margin-bottom: 22px !important;
}

/* Final mobile business item spacing overrides */
.home .business-sticky .business-item {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 28px !important;
    margin-bottom: 0 !important;
    justify-content: flex-start !important;
}

.home .business-sticky .business-item + .business-item {
    margin-top: 18px !important;
}

.home .business-sticky .business-item:not(:last-child)::after {
    content: none !important;
}

.home .business-sticky .business-item .business-mobile-image {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

.home .business-sticky .business-item h3 {
    margin-bottom: 18px !important;
}

.home .business-sticky .business-item p {
    margin-bottom: 0 !important;
}

/* Emergency mobile business spacing reset */
.business-sticky {
    padding-top: 0 !important;
    padding-bottom: 24px !important;
}

.business-sticky .business-right {
    display: block !important;
    gap: 0 !important;
    row-gap: 0 !important;
}

.business-sticky .business-item {
    display: block !important;
    min-height: unset !important;
    height: auto !important;
    padding: 0 0 24px !important;
    margin: 0 !important;
    border-bottom: 0 !important;
    justify-content: flex-start !important;
}

.business-sticky .business-item + .business-item {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.business-sticky .business-item .business-mobile-image {
    margin: 0 0 16px !important;
}

.business-sticky .business-item .num {
    margin: 0 0 12px !important;
}

.business-sticky .business-item h3 {
    margin: 0 0 16px !important;
}

.business-sticky .business-item p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Final mobile topics spacing overrides */
.topics {
    box-sizing: border-box !important;
    padding: 32px 14px 34px !important;
}

.topics .section-heading {
    margin: 0 0 18px !important;
    line-height: 1 !important;
}

.topics-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-bottom: 18px !important;
}

.topics-header p {
    margin: 0 !important;
    line-height: 1.5 !important;
}

.topics .view-more {
    margin-top: 6px !important;
    white-space: nowrap !important;
}

.topics-slider {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.topics-track {
    gap: 18px !important;
}

.topic-card {
    width: 72vw !important;
}

.topic-card img {
    height: 42vw !important;
    min-height: 140px !important;
    margin-bottom: 10px !important;
}

.topic-card .date,
.topic-card .title {
    margin-top: 0 !important;
}

.topic-card .date {
    margin-bottom: 12px !important;
}

.home .shfb-main_header_row{
    width:100%;
    margin:0;
}

/* Final mobile header and menu overrides */
body.home #masthead,
body.home .site-header,
body.home .shfb,
body.home .shfb-row-wrapper,
body.home .shfb-main_header_row,
body.home .shfb-main_header_row .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.home .hero-custom {
    margin-top: 0 !important;
}

body.home #content,
body.home .page-wrap,
body.home .content-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body .sydney-offcanvas-menu,
body .sydney-mobile-menu,
body .sydney-mobile-menu-wrapper,
body .mobile-menu,
body .mobile-menu-wrapper,
body .mobile-menu-container,
body .menu-modal,
body .main-navigation.toggled,
body .shfb-mobile-menu,
body .shfb-mobile-menu-wrapper,
body .shfb-offcanvas,
body .shfb-offcanvas-menu {
    box-sizing: border-box !important;
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

body .sydney-offcanvas-menu.open,
body .sydney-offcanvas-menu.active,
body .sydney-mobile-menu.open,
body .sydney-mobile-menu.active,
body .mobile-menu.open,
body .mobile-menu.active,
body .mobile-menu-container.open,
body .mobile-menu-container.active,
body .menu-modal.open,
body .menu-modal.active,
body .main-navigation.toggled,
body .shfb-mobile-menu.open,
body .shfb-mobile-menu.active,
body .shfb-offcanvas.open,
body .shfb-offcanvas.active {
    transform: translateX(0) !important;
}

/* Final mobile header gap reset */
#masthead,
.site-header,
.shfb,
.shfb-row,
.shfb-row-wrapper,
.shfb-main_header_row,
.shfb-main_header_row .container,
.shfb-main_header_row .row,
.shfb-main_header_row [class*="col-"],
.shfb-builder-item,
.shfb-component {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hero-custom {
    display: block !important;
    clear: both !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    top: 0 !important;
}

#page,
#content,
.page-wrap,
.content-wrapper,
.sydney-hero-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Keep the mobile offcanvas menu out of normal page flow */
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu,
.shfb.shfb-mobile_offcanvas .sydney-offcanvas-menu,
.sydney-offcanvas-menu .mobile-offcanvas-menu-content {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    z-index: 99999 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(100%) !important;
}

.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.open,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.active,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.toggled,
.mobile-menu-visible .shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu,
.menu-open .shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu,
.shfb.shfb-mobile_offcanvas.open .sydney-offcanvas-menu,
.shfb.shfb-mobile_offcanvas.active .sydney-offcanvas-menu,
.shfb.shfb-mobile_offcanvas.toggled .sydney-offcanvas-menu,
.sydney-offcanvas-menu.open .mobile-offcanvas-menu-content,
.sydney-offcanvas-menu.active .mobile-offcanvas-menu-content,
.sydney-offcanvas-menu.toggled .mobile-offcanvas-menu-content,
body.mobile-menu-visible .sydney-offcanvas-menu,
body.mobile-menu-visible .sydney-offcanvas-menu .mobile-offcanvas-menu-content,
body.menu-open .sydney-offcanvas-menu,
body.menu-open .sydney-offcanvas-menu .mobile-offcanvas-menu-content {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
}

.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.toggled,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.open,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.active {
    bottom: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 8px) !important;
    overflow-y: auto !important;
}

.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu #mainnav,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu .mobile-offcanvas-menu-content,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu ul {
    height: auto !important;
    min-height: 0 !important;
}

/* Keep the opened menu visible while removing the extra dark area */
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.toggled,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.open,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    background: rgba(0, 27, 76, 0.82) !important;
    backdrop-filter: blur(4px) !important;
    overflow: visible !important;
}

.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.toggled .mobile-offcanvas-menu-content,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.open .mobile-offcanvas-menu-content,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.active .mobile-offcanvas-menu-content,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.toggled #mainnav,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.open #mainnav,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.active #mainnav,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.toggled #mainnav > ul,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.open #mainnav > ul,
.shfb.shfb-mobile_offcanvas.sydney-offcanvas-menu.active #mainnav > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 8px) !important;
    overflow-y: auto !important;
}

}

@media(max-width:768px){

.sub-hero{
    display:block;
    min-height:auto;
}

.sub-hero-image{
    width:100%;
}

.sub-hero-image img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.sub-hero-content{
    width:100%;
    padding:30px 20px;
}

.sub-title-ja{
    font-size:16px;
    margin-bottom:10px;
}

.sub-title-en{
    font-size:52px;
}

.breadcrumb-wrap{
    padding:15px 0;
}

}

@media(max-width:768px){
    .sub-hero-content {
        left: auto !important;
        right: 20px !important;
        bottom: 36px !important;
        width: calc(100% - 40px) !important;
        padding: 0 !important;
        text-align: right !important;
    }

    .sub-title-en {
        color: #f39800 !important;
        font-size: clamp(52px, 16vw, 82px) !important;
        line-height: .95 !important;
    }

    .sub-title-ja {
        color: #fff !important;
        font-size: 16px !important;
    }

    .breadcrumb-wrap + .breadcrumb-wrap {
        display: none !important;
    }
}

/* Final mobile sub page/post header layout */
@media (max-width: 768px) {
    body:not(.home) .sub-hero {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body:not(.home) .sub-hero-image {
        position: static !important;
        inset: auto !important;
        order: 1 !important;
        width: 100% !important;
        height: auto !important;
    }

    body:not(.home) .sub-hero-image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    body:not(.home) .sub-hero-content {
        position: static !important;
        order: 2 !important;
        width: 100% !important;
        padding: 22px 20px 26px !important;
        text-align: left !important;
        background: #fff !important;
        color: #001b4c !important;
    }

    body:not(.home) .sub-title-ja {
        color: #001b4c !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin: 0 0 8px !important;
    }

    body:not(.home) .sub-title-en {
        color: #f39800 !important;
        font-size: clamp(38px, 12vw, 56px) !important;
        line-height: 1.05 !important;
        letter-spacing: .03em !important;
        overflow-wrap: anywhere !important;
    }
}

/* Mobile topics archive page */
@media (max-width: 768px) {
    .topics-archive {
        box-sizing: border-box !important;
        padding: 42px 14px 64px !important;
    }

    .topics-archive-head {
        margin-bottom: 26px !important;
    }

    .topics-archive-head .section-heading {
        margin-bottom: 12px !important;
    }

    .topics-archive-head p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .topics-archive-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .topics-archive-card {
        border-radius: 8px !important;
    }

    .topics-archive-thumb {
        aspect-ratio: 16 / 10 !important;
    }

    .topics-archive-body {
        padding: 18px 16px 22px !important;
    }

    .topics-archive-body h3 {
        font-size: 18px !important;
        line-height: 1.55 !important;
    }

    .topics-archive-body p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .topics-pagination {
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-top: 34px !important;
    }

    .topics-pagination .page-numbers {
        min-width: 38px !important;
        height: 38px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }
}

/* Mobile home loading screen */
@media (max-width: 768px) {
    .home-loader {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 999999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100vw !important;
        min-height: 100dvh !important;
        margin: 0 !important;
        padding: 24px !important;
        background:
            linear-gradient(135deg, rgba(255, 243, 224, .96), rgba(255, 255, 255, .98)),
            repeating-linear-gradient(45deg, #f3f3f3, #f3f3f3 8px, #fff 8px, #fff 16px) !important;
    }

    .home-loader-inner {
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .home-loader p {
        font-size: clamp(34px, 10vw, 48px) !important;
        line-height: 1.35 !important;
    }
}
