@charset "utf-8";

/* Default style */
*{
    box-sizing: border-box;
    position: relative;
}
html{
    scroll-behavior: smooth;
}
body{
    font-size: 1rem;
    line-height: 1.5;
    color: #00323F;
    background-color: rgba(180, 165, 130, 0.25);

}
a{
    display: block;
    color: #00323F;
    text-decoration: none;
    outline: none;
}
a:hover{
    text-decoration: underline;
    color: #CA7A2C;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
    outline: 2px solid #00323f;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #fff;
}
p{
    word-wrap: break-word;
}

/* heading style */
 :root{
    --fs-display: clamp(2rem, 1.2rem + 3vw, 3rem);
    --fs-title: clamp(1.25rem, 1rem + 1vw, 1.5rem);
}
h1,h2,h3,h4,h5,h6,p,.h1,.h2,.h3,.h4,.h5,.h6{
    margin: 0;
    padding: 0;
}
h1,.h1{
    font-size: 8rem;
    line-height: 12rem;
}
h2,.h2{
    font-size: 3rem;
    line-height: 4.5rem;
}
h3,.h3{
    font-size: 2.25rem;
    line-height: 3.375rem;
}
h4,.h4{
    font-size: 1.5rem;
    line-height: 2.25rem;
}
h5,.h5{
    font-size: 1rem;
    line-height: 1.5rem;
}
h6,.h6{
    font-size: 0.875rem;
    line-height: 1.3125rem;
}
/* list style */
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

/* helper */
.visually-hidden{
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.container:not(.header-container){
    width: min(90%, 996px);
    max-width: 996px;
    margin-left: auto;
    margin-right: auto;
}
.no-scroll {
    overflow: hidden;
}
.flex-row-reverse{
    flex-direction: row-reverse;
}
.img-luminosity{
    mix-blend-mode: luminosity;
}

/* Colors */
.color-primary-01{color: #00323F;}
.color-primary-01-75{color: rgba(0, 50, 63, 0.75);}
.color-primary-01-50{color: rgba(0, 50, 63, 0.5);}
.color-primary-01-25{color: rgba(0, 50, 63, 0.25);}
.color-primary-02{color: #CA7A2C;}
.color-secondary-01{color: #7BA23F;}
.color-secondary-02{color: #F9BF45;}
.color-alert-01{color: #CC543A;}
.color-alert-02{color: rgba(204, 84, 58, 0.5);}
.color-black-01{color: #303030;}
.color-black-02{color: rgba(48, 48, 48, 0.75);}
.color-black-03{color: rgba(48, 48, 48, 0.5);}
.color-black-04{color: rgba(48, 48, 48, 0.25);}
.color-white{color: #FBFBFB;}
.color-gray{color: #D9D9D9;}
.bgc-primary-01{background-color: #B4A582;}
.bgc-primary-02{background-color: rgba(180, 165, 130, 0.5);}
.bgc-primary-03{background-color: rgba(180, 165, 130, 0.25);}
.bgc-primary-04{background-color: #00323F;}
.bgc-white-01{background-color: #FFFFFF;}
.bgc-white-02{background-color: rgba(255, 255, 255, 0.5);}
.bgc-white-03{background-color: rgba(255, 255, 255, 0.2);}

/* filter */
.filter-box{
    width: 100%;
    height: 2.5rem;
    padding: 0.5rem;
    border: solid 1px #00323F;
    background-color: rgba(180, 165, 130, 0.25);
    font-family: 'Roboto Serif', serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
}

/* header */
.header{
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    background-color: rgba(180, 165, 130, 0.85);
    box-shadow: 0 4px 16px rgba(0, 50, 63, 0.12);
}
.header::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(16px);
    pointer-events: none;
}
.header-container{
    max-width: 996px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-head{
    width: 20%;
    padding: 0 1rem;
}
.header-body{
    padding: 0 1rem;
}
.header-ul{
    display: flex;
    justify-content: space-between;
    font-family: 'Roboto Serif', serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
}
.header-ul .header-li{
    padding: 0 1rem;
}
.header-ul-box{
    min-width: 10rem;
    backdrop-filter: blur(16px);
    background-color: rgba(180, 165, 130, 0.85);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 15;
}
.header-about-box{
    display: none;
}
.header-li:hover .header-about-box, .header-li:focus-within .header-about-box{
    display: block;
}
.header-products-box{
    display: none;
}
.header-li:hover .header-products-box, .header-li:focus-within .header-products-box{
    display: block;
}
.header-ul-li{
    padding: 0.5rem 1rem;
}
.header-ul-li:nth-child(even){
    border-top: solid 2px rgba(0, 50, 63, 0.75);
    border-bottom: solid 2px rgba(0, 50, 63, 0.75);
}
.header-foot{
    width: 20%;
}
.header-foot-ul{
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}
.header-foot .header-foot-nav, .header-foot-ul .header-li{
    margin-left: 1.5rem;
}
.header-language-box{
    display: none;
}
.full-screen-nav{
    display: none;
}
.full-screen-nav[hidden]{
    display: none !important;
}

/* icon */
.header-close-box{
    background: none;
    border: none;
    font-family: 'Roboto Serif', serif;
    font-size: 1.5rem;
    line-height: 2.25rem;
}
.header-menu-box{
    display: none;
    background: none;
    border: none;
    font-family: 'Roboto Serif', serif;
    font-size: 1.5rem;
    line-height: 2.25rem;
}

@media screen and (max-width: 47.75em) {
    .header-ul{
        font-family: 'Roboto Serif', serif;
        font-size: 0.8rem;
        line-height: 1.2rem;
        font-weight: 600;
    }
}

@media screen and (max-width: 43.75em) {
    .header-head{
        width: 30%;
    }
    .header-menu-box{
        display: block;
    }
    .header-nav, .header-foot-nav{
        display: none;
    }

    /* full-screen-nav */

    .full-screen-nav{
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 10;
        backdrop-filter: blur(16px);
        background-color: rgba(180, 165, 130, 0.85);
        padding: 1.5rem;
        flex-direction: column;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .full-screen-nav.is-open{
        display: flex;
    }
    .full-screen-nav > *{
        flex-shrink: 0;
    }
    .full-screen-nav-head{
        display: flex;
        justify-content: space-between;
        align-content: center;
    }
    .full-screen-nav-head-logo{
        width: 30%;
    }
    .header-ul{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .header-ul .header-li{
        font-family: 'Roboto Serif', serif;
        font-size: 1.5rem;
        line-height: 2.25rem;
        font-weight: 600;
        text-align: center;
        margin-top: 1.5rem;
    }
    .header-foot-ul{
        justify-content: center;
        margin: 1.5rem 0;
    }
    .header-foot-ul .header-li{
        margin: 0 1.5rem;
    }
    .header-foot .header-foot-nav, .header-foot-ul .header-li:first-child{
        margin: 0;
    }
    .header-icon-earth-box{
        display: none;
    }
    .header-ul-box{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 0rem;
        backdrop-filter: none;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0rem;
        position: relative;
        top: 0;
        z-index: 0;
    }
    .header-ul-li{
        font-family: 'Roboto Serif', serif;
        font-size: 1rem;
        line-height: 1.5rem;
        font-weight: 400;
        text-align: center;
        padding: 0.25rem 1.5rem;
    }
    .header-ul-li:nth-child(even){
        border: none;
    }
    .header-language-box{
        flex-direction: row;
    }
    .header-language-box .header-ul-li{
        font-size: 0.8rem;
        line-height: 1.2rem;
        color: rgba(0, 50, 63, 0.5);
    }
}

@media screen and (max-width: 23.4375em) {
    .header-head{
        width: 50%;
    }
    .full-screen-nav-head-logo{
        width: 50%;
    }
}

/* footer */
.footer{
    background-color: rgba(180, 165, 130, 0.25);
    border-top: solid #00323F 2px;
}
.footer-container{
    padding: 3rem 0;
}
.footer-body{
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.footer-box{
    width: 33.3333333%;
    padding: 0 1.5rem;
}
.footer-box:nth-child(even){
    margin: 0 1.5rem;
}
.footer-logos{
    padding-bottom: 1rem;
    border-bottom: solid 2px #00323F;
}
.footer-logo{
    height: 1.85rem;
}
.footer-infor-box{
    font-family: 'Roboto Serif', serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
}
.footer-infor-insidebox{
    display: flex;
    justify-content: start;
    align-items: start;
    margin-top: 1rem;
}
.footer-infor-icons{
    font-size: 1.5rem;
    margin-right: 1rem;
}
.footer-desc{
    color: rgba(0, 50, 63, 0.75);
}
.footer-community-box{
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}
.footer-community-icons{
    font-size: 1.5rem;
}
.footer-community-icons:hover{
    text-decoration: none;
}
.footer-title{
    font-family: 'Roboto Serif', serif;
    font-size: 1.5rem;
    line-height: 2.25rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: solid 2px #00323F;
}
.footer-imgs{
    width: 100%;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.footer-imgs:hover{
    transform: scale(1.03);
}
.footer-imgs-1{
    background-image: url(../images/meal-1140371_1280\ 拷貝.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.footer-imgs-2{
    background-image: url(../images/烏魚子大.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.footer-foot{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}
.footer-signs{
    width: 2rem;
}
.footer-copyright{
    font-family: 'Roboto Serif', serif;
    font-size: 0.8rem;
    line-height: 1.2rem;
    font-weight: 400;
    color: rgba(0, 50, 63, 0.75);
}

@media screen and (max-width: 62.25em) {
    .footer-infor-box{
        font-family: 'Roboto Serif', serif;
        font-size: 0.8rem;
        line-height: 1.2rem;
        font-weight: 400;
    }
}

@media screen and (max-width: 47.75em) {
    .footer-box{
        padding: 0 0.5rem;
    }
    .footer-title{
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .footer-logo{
        height: 1.5rem;
    }
    .footer-logos{
        padding-bottom: 0.5rem;
    }
    .footer-community-box{
        padding: 1rem;
    }
    .footer-copyright{
        font-size: 0.8rem;
        line-height: 1.2rem;
    }
}

@media screen and (max-width: 34.125em) {
    .footer-body{
        display: block;
    }
    .footer-box:nth-child(even){
        margin: 0;
    }
    .footer-box{
        width: 100%;
        margin-top: 1.5rem;
    }
}

/* button */
.btn{
    min-width: 16.66666666666667%;
    display: inline-block;
    color: #fff;
    font-family: 'Roboto Serif', serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    text-align: center;
    background-color: #00323f;
    padding: 0.5rem 2rem;
    margin-top: 3rem;
    transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}
 .btn{
    border: 2px solid transparent;
}
.btn:hover{
    font-weight: 600;
    color: #00323f;
    background-color: #fff;
    border-color: #00323f;
}

@media screen and (max-width: 62.25em) {
    .btn{ margin-top: 2rem; }
}

/* Q6: keep Latin in Roboto Serif; use Noto for CJK. Exclude icon fonts.
   Component font-family declarations require this scoped override. */
html:lang(zh-Hant-TW) *:not([class^="ri-"]):not([class*=" ri-"]) {
    font-family: 'Roboto Serif', 'Noto Serif TC', serif !important;
}
html:lang(ja) *:not([class^="ri-"]):not([class*=" ri-"]) {
    font-family: 'Roboto Serif', 'Noto Serif JP', serif !important;
}

html:lang(zh-Hant-TW) .master-subtitle, html:lang(zh-Hant-TW) .index-subtitle, html:lang(zh-Hant-TW) .chef-quote, html:lang(ja) .master-subtitle, html:lang(ja) .index-subtitle, html:lang(ja) .chef-quote {
    font-style: normal;
}

/* Localized text flow; accepted recipe-title clamping stays unchanged. */
html:lang(ja) :is(h1, h2, h3, h4, h5, h6, .master-subtitle, .index-subtitle, .index-products-img-title):not(.master-recipe-card-title, .master-product-card-title) {
    word-break: auto-phrase;
    line-break: strict;
}
html:lang(zh-Hant-TW) .index-banner,
html:lang(ja) .index-banner {
    display: grid;
    align-items: stretch;
}
html:lang(zh-Hant-TW) .index-banner-container,
html:lang(ja) .index-banner-container {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    padding-block: 0;
}

/* RWD and interaction accessibility */
.header-ul > .header-li > a { white-space: nowrap; }
.header-language-box.is-open { display: block; }
.header-icon-earth-box { background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; }
.header-ul a[aria-current="page"], .header-ul a.is-section { text-decoration: underline; text-underline-offset: .4em; }
.btn:active { transform: scale(.97); transition-duration: 100ms; }
input::placeholder, textarea::placeholder { color: rgba(0, 50, 63, .6); opacity: 1; }
@media (pointer: coarse) {
  .header-menu-box, .header-close-box, .header-icon-earth-box, .header-foot-ul a, .master-product-card-costIcon-icons, .master-product-card-favIcons, .master-recipe-card-favIcons, .footer-community-icons, .btn { min-width: 44px; min-height: 44px; }
  .header-ul > .header-li > a, .header-ul-li a, .master-overview-filter-link, .master-product-card-readmore { min-height: 44px; }
}
@media (pointer: coarse) and (max-width: 43.75em) {
  .header-menu-box, .header-close-box { display: inline-flex; align-items: center; justify-content: center; }
}
@media (pointer: coarse) and (min-width: 43.8125em) {
  .header-foot-nav .header-icon-earth-box, .header-foot-nav .header-foot-ul > .header-li > a { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 43.75em) {
  .full-screen-nav .header-icon-earth-box { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .header, .header-ul-box, .full-screen-nav { background: #ece6da; backdrop-filter: none; }
  .header::before { backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .footer-desc, .footer-copyright, .news-body, .index-news-desc,
  .index-products-desc, .index-products-img-desc, .index-aboutus-img-desc,
  .story-desc, .story-operators-img-subtitle, .story-operators-img-desc,
  .story-history-year, .story-history-desc, .story-company-title, .story-company-desc,
  .mission-container p, .mission-peragroup-desc, .ingenuity-pare-desc,
  .ingenuity-step-desc, .chef-disclaimer { color: #00323f !important; }
  .header, .header-ul-box, .full-screen-nav, .bgc-primary-02, .bgc-primary-03, .bgc-white-02, .bgc-white-03 { background-color: #ece6da; }
  input::placeholder, textarea::placeholder { color: #00323f; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
  .footer-imgs:hover, .index-chefs-imgs:hover { transform: none; }
}
@media (max-width: 47.75em) { .footer-copyright { font-size: .8rem; line-height: 1.2rem; } }
@media (pointer: coarse) { .btn, .supports-contact-form-field button { font-size: 1rem; font-weight: 600; } }

@media (min-width: 43.8125em) and (max-width: 62.25em) {
  .header-head { flex-shrink: 0; }
  .header-body { min-width: 0; padding: 0 .5rem; }
  .header-ul .header-li { padding: 0 .5rem; }
  .header-foot { width: auto; flex-shrink: 0; }
  .header-foot .header-foot-nav { margin-left: 0; }
  .header-foot-ul .header-li { margin-left: .25rem; }
}

@media (min-width: 43.8125em) {
  .header-nav .header-ul-box, .header-foot-nav .header-ul-box { top: 100%; }
}
