@media (min-width: 1280px) {
  .ty-primary-nav { gap: 32px; }
}

@media (max-width: 1199px) {
  .ty-header-inner { grid-template-columns: minmax(220px,auto) minmax(0,1fr) auto; gap: 12px; }
}

@media (max-width: 1023px) {
  .sake-shell, .ty-shell { width: min(calc(100% - 40px),var(--ty-shell)); }
  .ty-header-inner.sake-shell { width: min(calc(100% - 64px),var(--ty-shell)); }
  .ty-header-inner { display: flex; min-height: 76px; justify-content: space-between; }
  .ty-header-brand-wrap { gap: 8px; }
  .ty-primary-nav { display: none; }
  .ty-menu-trigger { display: inline-grid; order: -1; }
  .sake-product-rail:not(.swiper-initialized) .swiper-wrapper { gap: 18px; }
  .sake-product-rail:not(.swiper-initialized) .swiper-slide { flex-basis: calc((100% - 36px)/3); width: calc((100% - 36px)/3); }
  .sake-rail-arrow { display: none !important; }
  .sake-pairing { height: 400px; }
  .sake-stories { gap: 0; }
  .sake-concept__message { display: none; }
  .ty-footer-main { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 767px) {
  .sake-shell, .ty-shell { width: min(calc(100% - 32px),var(--ty-shell)); }
  .sake-home .sake-shell { width: min(calc(100% - 32px),var(--ty-shell)); }
  .ty-footer .sake-shell { width: min(calc(100% - 48px),var(--ty-shell)); }
  .sake01-theme .ec-layoutRole__header { position: relative; top: 0; }
  .sake-topbar { display: none; }
  .ty-header-inner.sake-shell { width: min(calc(100% - 32px),var(--ty-shell)); }
  .ty-header-inner { min-height: 76px; }
  .ty-brand span { font-size: 1.875rem; }
  .ty-brand small { margin-top: 4px; font-size: .625rem; }
  .ty-brand-tagline { display: none; }
  .ty-menu-trigger { width: 44px; height: 44px; }
  .ty-search-panel { padding: 14px; }
  .ty-search-form { padding-left: 11px; }
  .ty-search-form button { min-width: 72px; }
  .sake-hero { height: 500px; }
  .sake-hero__slide > img { object-position: 68% center; }
  .sake-hero__content { align-items: center; justify-content: center; padding: 0 8px; }
  .sake-hero__copy {
    width: 100%;
    text-align: center;
  }
  .sake-hero__copy h1, .sake-hero__copy h2 { margin-bottom: 24px; font-size: 1.75rem; line-height: 1.4; letter-spacing: .08em; }
  .sake-hero__copy p { margin-bottom: 40px; font-size: .875rem; line-height: 2.1; }
  .sake-outline-button { min-height: 44px; padding-inline: 40px; }
  .sake-hero__vertical { display: none; }
  .sake-hero__arrow,
  .sake-hero__pagination,
  .sake-hero .swiper-pagination {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .sake-concept, .sake-concept__inner { min-height: 400px; }
  .sake-concept__media { width: 100%; }
  .sake-concept__copy { width: 100%; padding-block: 44px; }
  .sake-concept__copy > p { font-size: .8125rem; }
  .sake-concept__copy > p br { display: none; }
  .sake-concept__message { display: none; }
  .sake-section-head { align-items: stretch; flex-direction: column; gap: 16px; margin-bottom: 32px; }
  .sake-section-head > div { display: block; }
  .sake-section-head h2, .sake-lifestyle .sake-section-head h2 { font-size: 1.5rem; }
  .sake-section-divider { display: none; }
  .sake-section-head p { display: none; }
  .sake-section-head > a { align-self: flex-start; }
  .sake-product-rail:not(.swiper-initialized) .swiper-wrapper { gap: 12px; }
  .sake-product-rail:not(.swiper-initialized) .swiper-slide { flex-basis: calc((100% - 12px)/2); width: calc((100% - 12px)/2); }
  .ty-product-card h3 { margin-top: 11px; font-size: .78rem; }
  .sake-pairing { grid-template-rows: auto auto; grid-template-columns: 1fr; height: auto; margin-top: 0; }
  .sake-pairing > img { height: 300px; }
  .sake-pairing__copy { min-height: 400px; padding: 42px 24px; }
  .sake-pairing h2 { font-size: clamp(1.45rem, 7vw, 1.75rem); letter-spacing: .06em; }
  .sake-pairing__copy > p { font-size: .72rem; line-height: 2.1; letter-spacing: .01em; text-wrap: balance; }
  .sake-pairing__link { padding-inline: 32px; font-size: .75rem; }
  .sake-stories { grid-template-columns: minmax(0,1fr); padding: 0; }
  .sake-story {
    display: flex;
    height: auto;
    min-height: 420px;
    align-items: center;
  }
  .sake-story::after { width: 100%; background: linear-gradient(90deg,rgba(255,255,255,.94),rgba(255,255,255,.5)); }
  .sake-story--gift::after { background: linear-gradient(90deg,rgba(244,240,234,.94),rgba(244,240,234,.5)); }
  .sake-story > span {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: calc(100% - 64px);
    margin: 0 32px;
    transform: none;
  }
  .sake-story strong { margin-bottom: 16px; font-size: 1.375rem; }
  .sake-story em { display: block; margin-bottom: 32px; font-size: .72rem; line-height: 2.1; letter-spacing: .02em; text-wrap: balance; }
  .sake-story__desktop-break { display: none; }
  .sake-story b { display: inline-flex; font-size: .75rem; }
  .sake-story__vertical { display: none; }
  .ty-journal { padding: 40px 0; }
  .ty-journal-head { align-items: stretch; flex-direction: column; }
  .ty-journal-heading h2 { font-size: 1.5rem; }
  .ty-journal-heading > span { display: none; }
  .ty-journal-all { align-self: flex-start; }
  .ty-journal-row__action { gap: 7px; padding: 20px 0 8px; }
  .ty-journal-title { display: -webkit-box; font-size: .8125rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .ty-journal-content { padding-bottom: 20px; font-size: .75rem; }
  .sake-lifestyle { padding: 40px 0; }
  .sake-instagram-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; }
  .sake01-theme .sake-cart-detail { position: fixed; top: 72px; right: 12px; left: 12px; width: auto; max-height: calc(100dvh - 84px); }
  .ty-footer-shell { padding-top: 64px; }
  .ty-footer-logo strong { font-size: 1.75rem; }
  .ty-footer-logo span { font-size: .5625rem; }
  .ty-footer-brand p { font-size: .75rem; }
  .ty-footer-brand address { font-size: .6875rem; }
  .ty-footer-main { gap: 48px; padding-bottom: 64px; }
  .ty-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
  .ty-footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; padding: 24px 0 28px; }
}

@media (max-width: 639px) {
  .ty-header-actions .account-button { display: inline-grid; }
}

@media (max-width: 480px) {
  .sake-hero__copy h1,
  .sake-hero__copy h2 {
    font-size: clamp(1.5rem, 7.5vw, 1.875rem);
    letter-spacing: .06em;
  }
  .sake-hero__copy p {
    font-size: .8rem;
    line-height: 1.9;
  }
  .sake-outline-button {
    padding-inline: 28px;
  }
  .sake-pairing__copy {
    padding-inline: 20px;
  }
  .sake-pairing__copy > p {
    font-size: .6875rem;
    letter-spacing: .01em;
  }
  .sake-story em {
    font-size: .6875rem;
    letter-spacing: .01em;
  }
}
