:root {
    --font-family: 'Satoshi', sans-serif;
    --font-family-heading: 'Shippori Mincho', sans-serif;
    --font-size-base: 16px;
    --font-size-h0: min(max(40px, calc(2.5rem + (40 - 40) * ((100vw - 390px) / (1440 - 390)))), 40px);
    --font-size-h1: 18px;
    --font-size-h2: min(max(30px, calc(1.875rem + (30 - 30) * ((100vw - 390px) / (1440 - 390)))), 30px);
    --font-size-h3: min(max(26px, calc(1.5rem + (26 - 26) * ((100vw - 390px) / (1440 - 390)))), 26px);
    --font-size-h4: min(max(20px, calc(1.125rem + (20 - 20) * ((100vw - 390px) / (1440 - 390)))), 20px);
    --color-primary: #fff;
    --color-text: #FFFFFF;
    --color-dark: #1B1B1B;
}

.container {
    padding: 0 71px;
    margin: 0 auto;
    width: 100%;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* Hide default HTML scrollbar */
html {
    scrollbar-width: none !important;
    /* Firefox */
    -ms-overflow-style: none !important;
    /* IE 10+ */
}

/* Hide ALL scrollbars usually */
::-webkit-scrollbar {
    display: none !important;
    /* Chrome, Safari, Opera */
}

#page {
    overflow-x: hidden;
}

p,
span,
li,
ul,
ol,
button,
a,
input,
textarea,
select,
label,
body {
    font-family: var(--font-family);
    letter-spacing: 0;
    color: var(--color-text);
    font-weight: 400;
    font-size: var(--font-size-base);
    line-height: 1.625;
}

body .body-r,
body .body-r p {
    line-height: 1.5;
}

body .remark {
    font-size: calc(var(--font-size-base) - 1px);
    line-height: 1.46666666667;
}

body .font-en {
    font-family: var(--font-family);
}

body .font-jp {
    font-family: var(--font-family-heading);
}

body .leadin-b {
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0;
}

.subtitle {
    font-size: var(--font-size-h1);
    line-height: 1.22222222222;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 500;
}

h1,
.h0 {
    font-size: var(--font-size-h0);
    line-height: 1.2;
}

h1,
.h1 {
    font-size: var(--font-size-h1);
    line-height: 1.2;
    font-weight: 400;
}

h2,
.h2 {
    font-size: var(--font-size-h2);
    line-height: 1.23333333333;
}

h3,
.h3 {
    font-size: var(--font-size-h3);
    line-height: 1.23076923077;
}

h4,
.h4 {
    font-size: var(--font-size-h4);
    line-height: 1.2;
}

a {
    cursor: pointer;
}

.site .button,
button,
input[type=submit],
input[type=reset],
.wp-block-search .wp-block-search__button,
.wp-block-button .wp-block-button__link,
.wp-block-file a.wp-block-file__button {
    font-size: var(--font-size-base);
    line-height: 1.625;
    position: relative;
    font-weight: 500;
    font-family: var(--font-family);
    text-decoration: none;
    padding: 5px 0 5px 41px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.site .button.dark {
    color: var(--color-dark);
}


.button.dark.primary::before {
    filter: brightness(0%);
}

.button.primary::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 25px;
    width: 3px;
    height: 10px;
    z-index: -1;
    background-image: url(../images/line.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.button.dark.primary::after {
    background-image: url(../images/line-dark.svg);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 15px;
    border-radius: 100px;
    color: #fff;
}

.button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (min-width: 1300px) {
    .layer__heading {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: relative;
        top: 0;
        left: 0;
        width: 295px;
        height: 100%;
        z-index: 10;
    }

    .layer__heading .chef-content__subheading {
        /* width: 54px; */
        /* text-align: center; */
    }

    .concept-content__heading {
        text-transform: uppercase;
        position: relative;
    }
}

@media (max-width: 1300px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 767px) {

    h1.h0,
    .h0 {
        font-size: var(--font-size-h2);
    }
}


@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Bold.eot');
    src: url('../fonts/Satoshi-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Satoshi-Bold.woff2') format('woff2'),
        url('../fonts/Satoshi-Bold.woff') format('woff'),
        url('../fonts/Satoshi-Bold.ttf') format('truetype'),
        url('../fonts/Satoshi-Bold.svg#Satoshi-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Medium.eot');
    src: url('../fonts/Satoshi-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Satoshi-Medium.woff2') format('woff2'),
        url('../fonts/Satoshi-Medium.woff') format('woff'),
        url('../fonts/Satoshi-Medium.ttf') format('truetype'),
        url('../fonts/Satoshi-Medium.svg#Satoshi-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Regular.eot');
    src: url('../fonts/Satoshi-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Satoshi-Regular.woff2') format('woff2'),
        url('../fonts/Satoshi-Regular.woff') format('woff'),
        url('../fonts/Satoshi-Regular.ttf') format('truetype'),
        url('../fonts/Satoshi-Regular.svg#Satoshi-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




@font-face {
    font-family: 'Shippori Mincho';
    src: url('../fonts/ShipporiMincho-Medium.eot');
    src: url('../fonts/ShipporiMincho-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ShipporiMincho-Medium.woff2') format('woff2'),
        url('../fonts/ShipporiMincho-Medium.woff') format('woff'),
        url('../fonts/ShipporiMincho-Medium.ttf') format('truetype'),
        url('../fonts/ShipporiMincho-Medium.svg#ShipporiMincho-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shippori Mincho';
    src: url('../fonts/ShipporiMincho-Regular.eot');
    src: url('../fonts/ShipporiMincho-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ShipporiMincho-Regular.woff2') format('woff2'),
        url('../fonts/ShipporiMincho-Regular.woff') format('woff'),
        url('../fonts/ShipporiMincho-Regular.ttf') format('truetype'),
        url('../fonts/ShipporiMincho-Regular.svg#ShipporiMincho-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* Google Fonts Integration */
:root {
    --font-noto-sans-sc: 'Noto Sans SC', sans-serif;
    --font-noto-sans-tc: 'Noto Sans TC', sans-serif;
}

/* Default or explicit language targeting */
:lang(zh-CN),
:lang(zh-Hans) {
    --font-family: var(--font-noto-sans-sc);
    /* --font-family-heading: var(--font-noto-sans-sc); */
}

:lang(zh-TW),
:lang(zh-Hant),
:lang(zh-HK) {
    --font-family: var(--font-noto-sans-tc);
    /* --font-family-heading: var(--font-noto-sans-tc); */
}

/* Fallback/Overrides for body if needed */
body:lang(zh-CN),
body:lang(zh-Hans) {
    font-family: var(--font-noto-sans-sc);
    /* --font-family-heading: var(--font-noto-sans-sc); */
}

body:lang(zh-TW),
body:lang(zh-Hant),
body:lang(zh-HK) {
    font-family: var(--font-noto-sans-tc);
    /* --font-family-heading: var(--font-noto-sans-tc); */
}

/* Prevent FOUC: Force hide until JS adds .scroll-ready class */
@media (max-width: 767px) {
    .js-scrollin.scrollin-mobile:not(.scroll-ready) {
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

@media (min-width: 768px) {
    .js-scrollin.scrollin-mobile {
        opacity: initial;
        visibility: initial;
    }

    .js-scrollin:not(.scrollin-mobile):not(.scroll-ready) {
        opacity: 0 !important;
        visibility: hidden !important;
    }
}