.block-layout .title {
    text-transform: var(--title-case);
    font-family:var(--custom-title-font-family, var(--title-font-family));
    font-weight:var(--title-weight);
    font-style:var(--title-style);
    letter-spacing:var(--title-spacing);
}

.block-layout.block-layout .sub-title {
    text-transform: var(--sub-title-case);
    font-family:var(--custom-sub-title-font-family, var(--sub-title-font-family));
    font-weight:var(--sub-title-weight);
    font-style:var(--sub-title-style);
    letter-spacing:var(--sub-title-spacing);
}

body {
    font-family:var(--custom-base-font-family, var(--body-font-family));
} 

.block-layout .title-reverse .sub-title {
    margin-bottom:0;
}

/* SHALLOW BLOCK BASE TITLES */

.block-layout.shallow-block .titles + .text {
    margin-top: 1rem;
}
.shallow-block .sub-title,
.shallow-block .title {
    margin-bottom: 1rem;
}
.shallow-block .sub-title {
    font-size: var(--text-small);
    letter-spacing: 0.1rem;
    /* line-height: 1; */
}
.shallow-block .sub-title:not(.text-size) {
    font-size: var(--text-small);
}
.shallow-block .title-underline .sub-title {
    line-height: 1.5;
}
.shallow-block .title-underline .title:after {
    content: "";
    width: 8rem;
    height: 2px;
    background-color: var(--title-underline-color, var(--g-accent-color));
    display: block;
    margin-top: 1rem;
}
.shallow-block .title-reverse {
    display: flex;
    flex-direction: column-reverse;
}
.shallow-block .title-underline .title.title[style*="center"]::after,
.shallow-block .content-center .title-underline .title:after {
    margin-left: auto;
    margin-right: auto;
}
.shallow-block .title-underline .title.title[style*="right"]::after,
.shallow-block .content-right .title-underline .title:after {
    margin-left: auto;
    margin-right: 0;
}
.shallow-block .title-underline .title.title[style*="left"]::after,
.shallow-block .content-left .title-underline .title:after {
    margin-left: 0;
    margin-right: auto;
}

/* SHALLOW BLOCK BASE CONTENT ALIGNMENT */
.shallow-block .image-container,
.shallow-block .title,
.shallow-block .content-left .image-container,
.shallow-block .content-left .title,
.shallow-block .content-left {
    text-align: left;
}
.shallow-block .content-left .button-list {
    justify-content: flex-start;
}
.shallow-block .content-center .image-container,
.shallow-block .content-center .title,
.shallow-block .content-center {
    text-align: center;
}
.shallow-block .content-center .button-list {
    justify-content: center;
}
.shallow-block .content-right .image-container,
.shallow-block .content-right .title,
.shallow-block .content-right {
    text-align: right;
}
.shallow-block .content-right .button-list {
    justify-content: flex-end;
}
(max-width: 48rem) {
    .header-004.header-004 .custom-logo {
        max-height: 8rem;
    }
}

/* OMNI FIX */

.search-banner-005.search-banner-005 .input-container input[type=text],
.search-banner-005-master-v2.search-banner-005-master-v2 .input-container input[type=text] {
	width:100%;
}

.search-banner-005.search-banner-005 .omni-container .search,
.search-banner-005-master-v2.search-banner-005-master-v2 .omni-container .search {
    aspect-ratio: 1;
}

/* CONENT PACKAGE FIX */

.title-100.title-100 .title {
    padding:0;
}

@media only screen and (max-width: 38rem) {
    .search-box-007-v2.search-box-007-v2 .boxes {
        grid-template-columns: 1fr;
    }
}

a {
    word-break: break-word;
}


.hmenu a {
    word-break: normal;
}

.hmenu > .mrp-menu-level-0 ul a {
    white-space: nowrap;
}