:root {
    --yuji-navy: #13266f;
    --yuji-deep-navy: #00143f;
    --yuji-blue: #0c4383;
    --yuji-gold: #ad8743;
    --yuji-text: #162356;
    --yuji-line: #d8cda9;
    --yuji-content: 1280px;
    --yuji-header: 1200px;
    --yuji-serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
    --yuji-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    --yuji-price-notice-height: 44px;
}

html { scroll-behavior: smooth; }
body {
    color: var(--yuji-text);
    font-family: var(--yuji-sans);
    font-size: 16px;
    line-height: 1.8;
}
img { height: auto; }
a { transition: color .2s ease, opacity .2s ease, background-color .2s ease; }
a:hover { opacity: .5; text-decoration: none; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }
.yuji-onlyPc { display: inline; }

.front_page .ec-layoutRole__contents,
.front_page .ec-layoutRole__main,
.front_page .ec-layoutRole__mainTop,
.front_page .ec-layoutRole__mainBottom,
.front_page .ec-layoutRole__contentTop,
.front_page .ec-layoutRole__contentBottom {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.front_page .ec-layoutRole__contents { min-height: 0; }
.other_page .ec-layoutRole__contents {
    width: min(100% - 40px, 1200px);
    margin-right: auto;
    margin-left: auto;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Header */
.ec-layoutRole__header {
    position: relative;
    z-index: 50;
    width: 100%;
    height: 172px;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eef0f7;
    background: #fff;
}
.ec-layoutRole__header:has(.yuji-priceNotice) {
    height: calc(172px + var(--yuji-price-notice-height));
}

.yuji-headerActions {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: min(calc(100% - 40px), var(--yuji-header));
    height: 145px;
    transform: translateX(-50%);
}
.ec-layoutRole__header > .yuji-priceNotice + .yuji-headerActions {
    top: var(--yuji-price-notice-height);
}

.yuji-headerActions__menu { display: none; }
.yuji-headerActions__search {
    position: absolute;
    top: 34px;
    left: 380px;
    width: 316px;
}
@media (max-width: 767px) {
    .yuji-headerActions {
        z-index: auto;
    }

    .yuji-headerActions__cart {
        z-index: 4;
    }
}

.yuji-search,
.yuji-search form { width: 100%; }
.yuji-search form {
    display: grid;
    grid-template-columns: 116px 1fr;
    height: 40px;
    overflow: hidden;
    border: 1px solid #b9bfd6;
    border-radius: 20px;
    background: #fff;
}
.yuji-search__category,
.yuji-search__keyword { min-width: 0; }
.yuji-search__category { position: relative; border-right: 1px solid #d9dceb; }
.yuji-search__category::after {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 0;
    height: 0;
    border-top: 5px solid #FFF;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
    pointer-events: none;
    transform: translateY(-50%);
}
.yuji-search select {
    width: 100%;
    height: 38px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--yuji-text);
    color: #FFF;
    font-size: 12px;
    box-shadow: none;
}
.yuji-search input {
    width: 100%;
    height: 38px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--yuji-text);
    font-size: 12px;
    box-shadow: none;
}
.yuji-search select { padding: 0 22px 0 14px; appearance: none; }
.yuji-search input { padding: 0 40px 0 13px; }
.yuji-search__keyword { position: relative; }
.yuji-search__button {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--yuji-navy);
    font-size: 15px;
}
.yuji-utilityNav {
    position: absolute;
    top: 23px;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, 222px);
    gap: 18px;
}
.yuji-utilityNav a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 51px;
    background: var(--yuji-navy);
    color: #fff;
    font-family: var(--yuji-serif);
    font-size: 16px;
    gap: 14px;
}
.yuji-utilityNav i { font-size: 14px; }
.yuji-headerActions__account { position: absolute; top: 94px; right: 138px; }
.yuji-accountNav { display: flex; align-items: stretch; height: 47px; }
.yuji-accountNav__item {
    display: flex;
    width: 92px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #d9ddeb;
    color: var(--yuji-text);
    font-size: 11px;
    line-height: 1.35;
    gap: 3px;
}
.yuji-accountNav__item:last-child { border-right: 1px solid #d9ddeb; }
.yuji-accountNav__item i { font-size: 16px; }
.yuji-headerActions__cart { position: absolute; top: 94px; right: 0; width: 122px; }
.yuji-headerActions__cart .ec-cartNaviWrap { width: 100%; }
.yuji-headerActions__cart .ec-cartNavi {
    /* display: flex; */
    /* height: 47px; */
    /* align-items: center; */
    /* justify-content: center; */
    /* padding: 0; */
    color: var(--yuji-text);
    /* gap: 9px; */
}
.yuji-headerActions__cart .ec-cartNavi__icon { position: relative; font-size: 18px; }
.yuji-headerActions__cart .ec-cartNavi__badge {
    /* position: absolute; */
    /* top: -11px; */
    /* right: -15px; */
    /* display: grid; */
    /* width: 19px; */
    /* height: 19px; */
    /* place-items: center; */
    /* border-radius: 50%; */
    background: #e54e4e;
    /* color: #fff; */
    /* font-family: var(--yuji-sans); */
    /* font-size: 10px; */
    /* font-style: normal; */
}
.yuji-headerActions__cart .ec-cartNavi__price { font-size: 12px; }
.yuji-headerActions__cart .ec-cartNaviIsset,
.yuji-headerActions__cart .ec-cartNaviNull { right: 0; left: auto; }
.yuji-headerLogo {
    position: absolute;
    top: 25px;
    left: max(20px, calc(50% - 600px));
    z-index: 3;
    width: 355px;
}
.ec-layoutRole__header > .yuji-priceNotice + .yuji-headerActions + .yuji-headerLogo {
    top: calc(25px + var(--yuji-price-notice-height));
}
.yuji-headerLogo a,
.yuji-headerLogo img { display: block; width: 100%; }
.yuji-categoryNav {
    position: absolute;
    top: 116px;
    left: max(20px, calc(50% - 600px));
    z-index: 4;
    width: 700px;
}
.ec-layoutRole__header > .yuji-priceNotice + .yuji-headerActions + .yuji-headerLogo + .yuji-categoryNav {
    top: calc(116px + var(--yuji-price-notice-height));
}
.yuji-headerLogo a {
  font-family: var(--yuji-serif);
  text-align: center;
  font-size: 1.7rem;
  color: var(--yuji-navy);
  width: 100%;
  font-weight: 900;
}
.yuji-headerLogo a > span {
    display: none;
}
.yuji-categoryNav > ul {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}
.yuji-categoryNav > ul > li {
    position: relative;
    margin: 0;
    padding: 0 21px;
    border-left: 1px solid #d2d6e5;
}
.yuji-categoryNav > ul > li:first-child { padding-left: 0; border-left: 0; }
.yuji-categoryNav a {
    display: block;
    color: var(--yuji-text);
    font-family: var(--yuji-serif);
    font-size: 14px;
    white-space: nowrap;
}
.yuji-categoryNav li > ul {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    min-width: 190px;
    margin: 0;
    padding: 8px 0;
    border-top: 3px solid var(--yuji-gold);
    background: #fff;
    list-style: none;
    box-shadow: 0 9px 24px rgba(0, 20, 63, .18);
}
.yuji-categoryNav li:hover > ul,
.yuji-categoryNav li:focus-within > ul { display: block; }
.yuji-categoryNav li > ul a { padding: 9px 16px; }

/* Drawer */
.yuji-menuButton { display: none; }
.ec-drawerRoleClose { border: 0; }
.yuji-drawerHeading {
    margin: 0;
    padding: 17px 22px;
    border-top: 1px solid #d8ddea;
    border-bottom: 1px solid #d8ddea;
    color: var(--yuji-navy);
    font-family: var(--yuji-serif);
    font-size: 17px;
    font-weight: 700;
}
.yuji-drawerCategories ul { margin: 0; padding: 0; list-style: none; }
.yuji-drawerCategories li { margin: 0; }
.yuji-drawerCategories a,
.yuji-drawerLinks a {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding: 11px 22px;
    border-bottom: 1px solid #e3e6ef;
    color: var(--yuji-text);
    font-size: 14px;
}
.yuji-drawerCategories li li a { padding-left: 38px; background: #f4f6fa; }
.yuji-drawerLinks a { gap: 15px; }
.yuji-drawerLinks i { width: 20px; color: var(--yuji-navy); text-align: center; }

/* Top: notice and hero */
.yuji-priceNotice {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    min-height: var(--yuji-price-notice-height);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0.875rem 1rem;
    background: var(--yuji-navy);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border-bottom: solid 1px var(--yuji-gold);
    line-height: normal;
}
.yuji-priceNotice p {
    margin: 0;
    letter-spacing: .04em;

    font-size: 1.05rem;
    font-weight: bold;
    border-bottom: solid 1px var(--yuji-gold);
    line-height: normal;
}
.yuji-priceNotice span { margin-left: 1em; }


.yuji-stockNotice {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background-color: #efefef;
    color: var(--yuji-text);
    text-align: center;
    border-top: 2px solid var(--yuji-gold);
}
.yuji-stockNotice p {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .04em;
}
.yuji-stockNotice span { margin-left: 1em; }
.yuji-hero {
    min-height: 695px;
    padding: 83px 30px 89px;
    background: var(--yuji-blue) url("../img/hero_bg_pc.webp") center / cover no-repeat;
}
.yuji-hero__inner { position: relative; width: min(100%, 1604px); margin: 0 auto; }
.yuji-hero__picture,
.yuji-hero__picture img { display: block; width: 100%; }
.yuji-hero__copy {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    width: 33.35%;
    min-height: 225px;
    flex-direction: column;
    justify-content: center;
    padding: 24px 35px;
    color: #fff;
}
.yuji-hero__copy--dark { background: rgba(0, 0, 0, .68); }
.yuji-hero__copy h1 {
    margin: 0 0 18px;
    color: #fff;
    font-family: var(--yuji-serif);
    font-size: clamp(24px, 2vw, 38px);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .05em;
}
.yuji-hero__copy p {
    margin: 0;
    font-family: var(--yuji-serif);
    font-size: clamp(11px, .85vw, 16px);
    line-height: 1.75;
}

/* Shared headings and buttons */
.yuji-sectionHeading { margin-bottom: 43px; text-align: center; }
.yuji-sectionHeading h2,
.yuji-bargain__intro h2 {
    margin: 0;
    color: var(--yuji-gold);
    font-family: var(--yuji-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
}
.yuji-button {
    position: relative;
    display: inline-flex;
    min-width: 222px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 48px 0 28px;
    background: var(--yuji-navy);
    color: #fff;
    font-family: var(--yuji-serif);
    font-size: 14px;
    line-height: 1;
}
.yuji-button::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #fff;
    content: "";
    transform: translateY(-50%);
}
.yuji-button:hover { color: #fff; }

/* Top: news */
.yuji-news { padding: 88px 24px 74px; background: #fff; }
.yuji-news .yuji-sectionHeading { margin-bottom: 35px; }
.yuji-news__list {
    width: min(100%, 1050px);
    margin: 0 auto;
    border-bottom: 1px solid var(--yuji-line);
}
.yuji-news__item { border-top: 1px solid var(--yuji-line); }
.yuji-news__summary {
    display: grid;
    min-height: 62px;
    grid-template-columns: 160px 1fr 42px;
    align-items: center;
    gap: 14px;
}
.yuji-news__summary time,
.yuji-news__summary h3 { margin: 0; font-size: 14px; font-weight: 400; }
.yuji-news__toggle {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--yuji-navy);
    color: #fff;
    transition: transform .2s ease, opacity .2s ease;
}
.yuji-news__toggle[aria-expanded="true"] { transform: rotate(180deg); }
.yuji-news__details { padding: 2px 56px 24px 174px; color: #4d5674; font-size: 14px; }
.yuji-news__details[hidden] { display: none; }
.yuji-news__details a { color: var(--yuji-navy); text-decoration: underline; }
.yuji-news__empty { margin: 0; padding: 20px 0; text-align: center; }

/* Top: concept */
.yuji-concept {
    position: relative;
    display: grid;
    min-height: 374px;
    place-items: center;
    overflow: hidden;
    padding: 45px 24px;
    background: var(--yuji-navy) url("../img/concept_bg_pc.webp") center / cover no-repeat;
}
.yuji-concept__inner { position: relative; z-index: 1; text-align: center; }
.yuji-concept p {
    margin: 0;
    color: #fff;
    font-family: var(--yuji-serif);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 2.05;
    letter-spacing: .06em;
}

/* Top: featured */
.yuji-featured { padding: 84px 30px 100px; background: #fff; }
.yuji-featured__inner {
    display: grid;
    width: min(100%, var(--yuji-content));
    margin: 0 auto;
    grid-template-columns: minmax(0, 582px) minmax(0, 1fr);
    align-items: center;
    gap: 62px;
}
.yuji-featured__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 582 / 433;
    background: #f3f4f7;
}
.yuji-featured__image > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.yuji-featured__image .yuji-featured__badge { position: absolute; top: 14px; left: 14px; width: 90px; }
.yuji-featured__body h3 {
    margin: 0 0 7px;
    font-family: var(--yuji-serif);
    font-size: 24px;
    line-height: 1.55;
}
.yuji-featured__price { margin: 0 0 19px; font-size: 19px; font-weight: 700; }
.yuji-featured__price small { font-size: 12px; }
.yuji-featured__description { margin-bottom: 25px; font-size: 14px; line-height: 2; }

/* Product cards */
.yuji-productGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.yuji-productCard { min-width: 0; }
.yuji-productCard__image {
    position: relative;
    display: block;
    overflow: visible;
    margin-bottom: 18px;
    aspect-ratio: 1.31 / 1;
    background: #f3f4f7;
}
.yuji-productCard__photo { width: 100%; height: 100%; object-fit: cover; }
.yuji-productCard__rank {
    position: absolute;
    top: -18px;
    left: -18px;
    z-index: 2;
    width: 82px;
    height: 82px;
    object-fit: contain;
}
.yuji-productCard__name {
    min-height: 3em;
    margin: 0 0 5px;
    font-family: var(--yuji-serif);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}
.yuji-productCard__name a { color: var(--yuji-text); }
.yuji-productCard__price { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.yuji-productCard__price small { font-size: 10px; }
.yuji-productCard__description { min-height: 8.2em; margin: 0 0 19px; font-size: 12px; line-height: 1.7; }
.yuji-productCard .yuji-button {
    display: flex;
    width: 222px;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
}

/* Top: ranking */
.yuji-ranking {
    padding: 100px 30px 110px;
    background: #f8fbff url("../img/seigaiha_pattern.webp") center top / 1922px 922px repeat-y;
}
.yuji-ranking__inner {
    width: min(100%, var(--yuji-content));
    margin: 0 auto;
    padding: 0 40px 54px;
    background: rgba(255, 255, 255, .92);
}
.yuji-ranking h2 {
    position: relative;
    margin: 0 -40px 60px;
    padding: 22px 30px;
    background: var(--yuji-navy);
    color: #fff;
    font-family: var(--yuji-serif);
    font-size: 1.75rem;
    text-align: center;
    letter-spacing: .1em;
}
.yuji-ranking .yuji-productGrid { gap: 28px; }
.yuji-moreLink { margin-top: 48px; text-align: right; }
.yuji-moreLink a {
    position: relative;
    display: inline-block;
    padding: 3px 22px 2px 1px;
    border-bottom: 2px solid var(--yuji-navy);
    color: var(--yuji-text);
    font-family: var(--yuji-serif);
    font-size: 14px;
    background-color: #fff;
}
.yuji-moreLink a::after {
    position: absolute;
    top: 12px;
    right: 2px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--yuji-navy);
    content: "";
}

/* Top: bargain */
.yuji-bargain { padding: 100px 30px 86px; background: #fff; }
.yuji-bargain__inner {
    display: grid;
    width: min(100%, var(--yuji-content));
    margin: 0 auto;
    grid-template-columns: 260px 1fr;
    align-items: start;
    gap: 54px;
}
.yuji-bargain__intro { padding-top: 77px; }
.yuji-bargain__intro h2 { margin-bottom: 36px; }
.yuji-productGrid--bargain { gap: 22px; }
.yuji-productGrid--bargain .yuji-productCard__image { aspect-ratio: 1 / 1; }
.yuji-productGrid--bargain .yuji-productCard__description,
.yuji-productGrid--bargain .yuji-productCard .yuji-button { display: none; }
.yuji-productGrid--bargain .yuji-productCard__name { min-height: 0; font-size: 14px; }

/* Top: trust */
.yuji-trust { padding: 58px 30px; background: var(--yuji-deep-navy); }
.yuji-trust__inner {
    display: grid;
    width: min(100%, var(--yuji-content));
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
.yuji-trustCard {
    display: grid;
    min-height: 253px;
    grid-template-columns: 150px 1fr;
    align-items: center;
    padding: 38px 40px;
    background: #fff;
    gap: 24px;
}
.yuji-trustCard img { width: 150px; max-height: 175px; object-fit: contain; }
.yuji-trustCard h2 { margin: 0 0 14px; font-family: var(--yuji-serif); font-size: 18px; line-height: 1.5; }
.yuji-trustCard p { margin: 0; font-size: 12px; line-height: 1.8; }

/* Footer and calendar */
.ec-layoutRole__footer {
    display: grid;
    min-height: 543px;
    grid-template-columns: minmax(24px, 1fr) minmax(350px, 560px) minmax(24px, 80px) minmax(470px, 602px) minmax(24px, 1fr);
    grid-template-rows: 480px 63px;
    align-items: center;
    margin: 0;
    padding: 0;
    border-top: 3px solid var(--yuji-gold);
    background: var(--yuji-blue) url("../img/footer_bg_pc.webp") center top / cover no-repeat;
    color: #fff;
}
.yuji-footer { grid-column: 2; grid-row: 1; }
.yuji-footer__logo { display: block; width: min(100%, 438px); margin-bottom: 44px; }
.yuji-footer__logo img { display: block; width: 100%; }
.yuji-footer__nav { display: flex; flex-wrap: wrap; gap: 13px 26px; }
.yuji-footer__nav a {
    border-bottom: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
    font-size: 13px;
}
.yuji-calendar { align-self: center; grid-column: 4; grid-row: 1; }
.yuji-calendar h2 {
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--yuji-serif);
    font-size: 18px;
    text-align: center;
}
.yuji-calendar__months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; }
.yuji-calendarTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: #fff;
    color: var(--yuji-text);
    font-size: 12px;
    text-align: center;
}
.yuji-calendarTable caption {
    padding: 8px 4px;
    border-bottom: 1px solid #fff;
    background: var(--yuji-navy);
    color: #fff;
    font-family: var(--yuji-serif);
    font-weight: 700;
    caption-side: top;
    text-align: center;
}
.yuji-calendarTable th {
    height: 32px;
    border-bottom: 1px solid #c7ccdb;
    background: var(--yuji-navy);
    color: #fff;
    font-weight: 700;
}
.yuji-calendarTable td { height: 34px; border-bottom: 1px solid #d9dce6; line-height: 1; }
.yuji-calendarTable .is-sunday { color: #d94a4a; }
.yuji-calendarTable th.is-sunday { color: #ffc0c0; }
.yuji-calendarTable .is-saturday { color: #326bb5; }
.yuji-calendarTable th.is-saturday { color: #b9ddff; }
.yuji-calendarTable td span {
    display: inline-grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
}
.yuji-calendarTable td.is-holiday span { background: #de5d50; color: #fff; }
.yuji-calendarTable td.is-today span { box-shadow: inset 0 0 0 2px var(--yuji-gold); }
.yuji-calendar__note {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 10px 0 0;
    color: #fff;
    font-size: 11px;
    gap: 5px;
}
.yuji-calendar__note span { display: inline-block; width: 12px; height: 12px; }
.yuji-calendar__note img { display: block; width: 100%; height: 100%; }
.yuji-footerCopyright {
    display: flex;
    min-height: 63px;
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: center;
    justify-content: center;
    border-top: 2px solid var(--yuji-gold);
    background: var(--yuji-deep-navy);
    text-align: center;
    gap: 12px;
}
.yuji-footerCopyright p { margin: 0; color: #fff; font-size: 10px; letter-spacing: .02em; }
.ec-blockTopBtn {
    display: none;
    right: 0;
    bottom: 0;
    width: 122px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(19, 38, 111, .88);
    color: #fff;
    font-size: 11px;
    line-height: 42px;
}

/* Standard underlayer accents */
.ec-blockBtn--action,
.ec-inlineBtn--action { border-color: var(--yuji-navy); background: var(--yuji-navy); }
.ec-blockBtn--action:hover,
.ec-inlineBtn--action:hover { border-color: #344c9b; background: #344c9b; }

@media (max-width: 1250px) and (min-width: 768px) {
    .yuji-headerActions__search { left: 31%; width: 25%; }
    .yuji-utilityNav { grid-template-columns: repeat(2, minmax(150px, 18vw)); }
    .yuji-headerLogo,
    .yuji-categoryNav { left: 20px; }
    .ec-layoutRole__footer {
        grid-template-columns: 30px minmax(330px, 44%) 30px minmax(430px, 48%) 30px;
    }
}

@media (max-width: 980px) and (min-width: 768px) {
    .yuji-headerActions__search { display: none; }
    .yuji-featured__inner { gap: 35px; }
    .yuji-bargain__inner { grid-template-columns: 210px 1fr; gap: 30px; }
    .ec-layoutRole__footer { grid-template-columns: 24px 38% 20px 1fr 24px; }
    .yuji-calendar__months { gap: 14px; }
}

@media (max-width: 767px) {
    :root {
        --yuji-price-notice-height: 73px;
    }
    body { font-size: 14px; }
    .yuji-onlyPc { display: none; }
    .other_page .ec-layoutRole__contents {
        width: min(100% - 30px, 680px);
        padding-top: 35px;
        padding-bottom: 55px;
    }

    /* Mobile header */
    .ec-layoutRole__header {
        height: 130px;
    }
    .yuji-headerActions { top: 0; left: 0; width: 100%; height: 59px; transform: none; }
    .yuji-headerActions__menu { position: absolute; top: 26px; left: 21px; display: block; }
    .yuji-menuButton,
    .ec-headerNavSP.yuji-menuButton {
        position: relative;
        top: auto;
        left: auto;
        display: flex;
        width: 25px;
        height: 22px;
        flex-direction: column;
        justify-content: space-between;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--yuji-navy);
    }
    .yuji-menuButton__line { display: block; width: 25px; height: 3px; background: currentColor; }
    .yuji-headerActions__search,
    .yuji-utilityNav { display: none; }
    .yuji-headerActions__account { top: 16px; right: 48px; left: 112px; }
    .yuji-accountNav { height: 43px; justify-content: flex-end; }
    .yuji-accountNav__item { width: min(27vw, 72px); font-size: 9px; gap: 2px; }
    .yuji-accountNav__item i { font-size: 14px; }
    .yuji-headerActions__cart { top: 16px; right: 13px; width: 35px; }
    .yuji-headerActions__cart .ec-cartNavi { width: 35px; height: 43px; }
    .yuji-headerActions__cart .ec-cartNavi__label { display: none; }
    .yuji-headerActions__cart .ec-cartNavi__icon { font-size: 17px; }
    .yuji-headerActions__cart .ec-cartNaviIsset,
    .yuji-headerActions__cart .ec-cartNaviNull { width: min(320px, calc(100vw - 26px)); }
    .yuji-headerLogo {
        top: 76px;
        left: 50%;
        width: min(250px, calc(100% - 100px));
        transform: translateX(-50%);
    }
    .yuji-categoryNav { display: none; }
    .ec-drawerRole {
        z-index: 1000;
        overflow-y: auto;
        padding: 0 0 35px;
        background: #fff;
    }
    .ec-drawerRoleClose {
        z-index: 10000;
        color: var(--yuji-navy);
    }
    .ec-drawerRole .yuji-search { padding: 22px 16px; background: #eef1f7; }
    .ec-drawerRole .yuji-search form {
        display: grid;
        height: auto;
        grid-template-columns: 1fr;
        border: 0;
        border-radius: 0;
        gap: 8px;
        overflow: visible;
        background: transparent;
    }
    .ec-drawerRole .yuji-search__category,
    .ec-drawerRole .yuji-search__keyword {
        height: 44px;
        border: 1px solid #c8cede;
        background: #fff;
    }
    .ec-drawerRole .yuji-search select,
    .ec-drawerRole .yuji-search input,
    .ec-drawerRole .yuji-search__button { height: 42px; }

    /* Mobile top */
    .yuji-priceNotice p { line-height: 1.75; }
    .yuji-priceNotice span { display: block; margin-left: 0; }

    .yuji-stockNotice { min-height: 70px; padding: 13px 30px; }
    .yuji-stockNotice p { font-size: 11px; line-height: 1.75; }
    .yuji-stockNotice span { display: block; margin-left: 0; }
    .yuji-hero {
        min-height: 451px;
        padding: 30px 19px;
        background-image: url("../img/hero_bg_sp.webp");
        background-size: cover;
    }
    .yuji-hero__inner { width: min(100%, 672px); overflow: hidden; border-radius: 11px; }
    .yuji-hero__copy {
        top: 28.6%;
        bottom: auto;
        width: 100%;
        min-height: 42.6%;
        padding: 19px 23px;
        text-align: center;
    }
    .yuji-hero__copy h1 { margin-bottom: 12px; font-size: clamp(22px, 7vw, 32px); line-height: 1.45; }
    .yuji-hero__copy p { font-size: clamp(10px, 3vw, 14px); line-height: 1.65; }
    .yuji-sectionHeading { margin-bottom: 24px; }
    .yuji-sectionHeading h2,
    .yuji-bargain__intro h2 { font-size: 1.4375rem; }
    .yuji-button {
        min-width: 0;
        height: 44px;
        padding-right: 40px;
        padding-left: 24px;
        font-size: 12px;
    }
    .yuji-news { padding: 54px 19px 58px; }
    .yuji-news__summary {
        min-height: 82px;
        grid-template-columns: 1fr 34px;
        grid-template-rows: auto auto;
        padding: 13px 0;
        gap: 2px 8px;
    }
    .yuji-news__summary time { align-self: end; grid-column: 1; grid-row: 1; font-size: 12px; }
    .yuji-news__summary h3 {
        align-self: start;
        grid-column: 1;
        grid-row: 2;
        font-size: 12px;
        line-height: 1.5;
    }
    .yuji-news__toggle {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 23px;
        height: 23px;
        justify-self: end;
    }
    .yuji-news__details { padding: 0 34px 18px 0; font-size: 12px; }
    .yuji-concept {
        min-height: 192px;
        padding: 27px 20px;
        background-image: url("../img/concept_bg_sp.webp");
    }
    .yuji-concept::after {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 132px;
        height: 132px;
        background: url("../img/concept_mark.png") center / contain no-repeat;
        content: "";
        opacity: .4;
        transform: translate(-50%, -50%);
    }
    .yuji-concept p { font-size: clamp(11px, 3.45vw, 14px); line-height: 1.85; }
    .yuji-featured { padding: 53px 19px 60px; }
    .yuji-featured__inner { display: block; }
    .yuji-featured__image { margin-bottom: 22px; }
    .yuji-featured__image .yuji-featured__badge { top: 8px; left: 8px; width: 52px; }
    .yuji-featured__body h3 { margin-bottom: 5px; font-size: 18px; line-height: 1.55; }
    .yuji-featured__price { margin-bottom: 14px; font-size: 16px; font-weight: 700; }
    .yuji-featured__description { margin-bottom: 22px; font-size: 12px; line-height: 1.9; }
    .yuji-featured__body .yuji-button { display: flex; width: 210px; margin: 0 auto; }
    .yuji-ranking {
        padding: 50px 19px 57px;
        background-size: 1030px 494px;
    }
    .yuji-ranking__inner { padding: 0 15px 35px; }
    .yuji-ranking h2 { margin: 0 -15px 45px; padding: 13px 20px; font-size: 21px; }
    .yuji-productGrid--ranking { grid-template-columns: 1fr; gap: 52px; }
    .yuji-productCard__image { margin-bottom: 15px; }
    .yuji-productCard__rank { top: -15px; left: -15px; width: 65px; height: 65px; }
    .yuji-productCard__name { min-height: 0; font-size: 15px; }
    .yuji-productCard__description { min-height: 0; font-size: 12px; }
    .yuji-productCard .yuji-button { width: 241px; }
    .yuji-moreLink { margin-top: 34px; }
    .yuji-moreLink a { font-size: 12px; }
    .yuji-bargain { padding: 56px 19px 48px; }
    .yuji-bargain__inner { grid-template-columns: 133px minmax(0, 1fr); gap: 12px; }
    .yuji-bargain__intro { padding-top: 52px; text-align: center; }
    .yuji-bargain__intro h2 { margin-bottom: 24px; }
    .yuji-bargain__intro .yuji-button {
        width: 106px;
        padding-right: 26px;
        padding-left: 10px;
        font-size: 10px;
    }
    .yuji-bargain__intro .yuji-button::after {
        right: 10px;
        /* border-top-width: 4px; */
        /* border-bottom-width: 4px; */
        /* border-left-width: 6px; */
    }
    .yuji-productGrid--bargain {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 19px 12px;
    }
    .yuji-productGrid--bargain .yuji-productCard__image { margin-bottom: 9px; }
    .yuji-productGrid--bargain .yuji-productCard__name,
    .yuji-productGrid--bargain .yuji-productCard__price { font-size: 10px; line-height: 1.5; font-weight: 700; }
    .yuji-trust { padding: 42px 19px; }
    .yuji-trust__inner { grid-template-columns: 1fr; gap: 20px; }
    .yuji-trustCard { display: block; min-height: 0; padding: 38px 28px; text-align: left; }
    .yuji-trustCard img { display: block; width: 150px; height: 175px; margin: 0 auto 20px; }
    .yuji-trustCard h2 { font-size: 16px; }
    .yuji-trustCard p { font-size: 11px; }

    /* Mobile footer */
    .ec-layoutRole__footer {
        display: flex;
        min-height: 0;
        flex-direction: column;
        padding: 54px 19px 0;
        border-top-width: 2px;
        background-image: url("../img/footer_bg_sp.webp");
        background-position: center top;
        background-size: cover;
    }
    .yuji-calendar { order: 1; width: min(100%, 672px); margin: 0 auto 52px; }
    .yuji-calendar h2 { margin-bottom: 15px; font-size: 18px; }
    .yuji-calendar__months { grid-template-columns: 1fr; gap: 26px; }
    .yuji-calendarTable { font-size: 13px; }
    .yuji-calendarTable caption { padding: 10px 4px; }
    .yuji-calendarTable th { height: 38px; }
    .yuji-calendarTable td { height: 44px; }
    .yuji-calendarTable td span { width: 30px; height: 30px; }
    .yuji-calendar__note { font-size: 10px; }
    .yuji-footer {
        display: flex;
        order: 2;
        width: min(100%, 672px);
        flex-direction: column;
        align-items: center;
        margin: 0 auto 38px;
    }
    .yuji-footer__nav { width: 100%; order: 1; flex-direction: column; gap: 0; }
    .yuji-footer__nav a {
        display: block;
        padding: 12px 6px;
        border-bottom: 1px solid rgba(255, 255, 255, .5);
        font-size: 12px;
        text-align: center;
    }
    .yuji-footer__logo { width: min(100%, 305px); order: 2; margin: 45px 0 0; }
    .yuji-footerCopyright {
        width: calc(100% + 38px);
        min-height: 77px;
        order: 3;
        flex-direction: column;
        margin: 0 -19px;
        padding: 12px 24px;
        gap: 0;
    }
    .yuji-footerCopyright p { font-size: 8px; line-height: 1.5; }
    .ec-blockTopBtn { width: 121px; height: 41px; line-height: 41px; }
}

@media (max-width: 430px) {
    .yuji-headerActions__account { right: 45px; left: 98px; }
    .yuji-accountNav__item { width: 60px; }
    .yuji-hero__copy h1 { font-size: 22px; }
    .yuji-hero__copy p { font-size: 10px; }
}

.ec-layoutRole .ec-layoutRole__contents {
    margin-top: 3rem;
    margin-bottom: 3rem;
}


/* 2026-09 AUN review: scope corrections to the existing storefront components. */
.yuji-utilityNav a,
.yuji-categoryNav a,
.yuji-drawerHeading,
.yuji-button,
.yuji-featured__body h3,
.yuji-productCard__name,
.yuji-moreLink a,
.yuji-trustCard h2,
.yuji-calendar h2,
.yuji-calendarTable caption { font-family: var(--yuji-sans); }

/* The general inner-page margin must not create gaps around top-page blocks. */
.front_page .ec-layoutRole .ec-layoutRole__contents { margin-top: 0; margin-bottom: 0; }
.yuji-news__summary time,
.yuji-news__summary h3,
.yuji-news__details,
.yuji-featured__description,
.yuji-featured__price small,
.yuji-productCard__name,
.yuji-productCard__price,
.yuji-productCard__price small,
.yuji-productCard__description,
.yuji-productGrid--bargain .yuji-productCard__name,
.yuji-productGrid--bargain .yuji-productCard__price,
.yuji-trustCard p { font-size: 1rem; }
/* Keep type inside fixed-height controls and calendar cells in px to avoid layout breakage. */
.yuji-calendarTable,
.yuji-calendar__note { font-size: 16px; }
.yuji-featured__body h3 { font-size: 1.625rem; font-weight: 700; }
.yuji-featured__price { font-size: 1.25rem; }
.yuji-featured__inner { align-items: start; }
.yuji-productCard__name { min-height: 0; }
.yuji-trustCard h2 { font-size: 1.25rem; font-weight: 700; }
.yuji-button { border: 1px solid var(--yuji-gold); font-size: 16px; /* font-weight: 700; */ }
.yuji-ranking > .yuji-moreLink { width: min(100%, var(--yuji-content)); margin: 28px auto 0; }
.yuji-moreLink a { font-size: 1rem; }
.yuji-footer__nav a { border-bottom-width: 1px; font-size: 14px; }
.yuji-calendar h2 { font-size: 20px; font-weight: 700; }
.yuji-calendarTable caption { background: #fff; color: var(--yuji-text); }
.yuji-calendar__note span { flex: 0 0 12px; border-radius: 50%; background: #de5d50; }

/* Use the lettering exported from the design. Add .yuji-hero__copy--dark to restore the former dark backing. */
.yuji-hero__copy { min-height: 0; padding: 18px clamp(12px, 1.3vw, 25px); }
.yuji-hero__copy h1 { margin-bottom: 14px; line-height: 1; }
.yuji-hero__copy h1 img { display: block; width: min(100%, 418px); height: auto; }
.yuji-bargain__buttonBreak { display: none; }

/* Keep logo/search/links in separate columns, including 1190-981px. */
@media (min-width: 981px) {
    .yuji-headerLogo { width: clamp(250px, 27vw, 355px); }
    .yuji-headerActions__search {
        left: calc(clamp(250px, 27vw, 355px) + 24px);
        width: calc(100% - clamp(250px, 27vw, 355px) - clamp(320px, 36vw, 462px) - 48px);
    }
    .yuji-utilityNav { width: clamp(320px, 36vw, 462px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
/* The category row and the account row cannot share a line at tablet widths. */
@media (min-width: 768px) and (max-width: 1100px) {
    .ec-layoutRole__header { height: 188px; }
    .yuji-categoryNav { top: 151px; width: calc(100% - 40px); }
    .yuji-headerActions__account { top: 87px; }
    .yuji-headerActions__cart { top: 87px; }
    .yuji-trustCard { grid-template-columns: 1fr; padding: 28px; }
    .yuji-trustCard img { margin: 0 auto; }
    .ec-layoutRole__footer { grid-template-columns: 24px minmax(0, 1fr) 24px minmax(0, 1.15fr) 24px; }
    .yuji-calendar__months { gap: 14px; }
}
@media (min-width: 768px) and (max-width: 980px) {
    .yuji-headerLogo { width: min(355px, 43vw); }
    .yuji-utilityNav { width: 44%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .yuji-bargain__inner { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
    .yuji-bargain__intro .yuji-button { min-width: 0; width: 100%; }
}
@media (max-width: 767px) {
    body { font-size: 16px; }
    .ec-layoutRole__header {
        height: 172px;
    }
    .ec-layoutRole__header:has(.yuji-priceNotice) {
        height: calc(172px + var(--yuji-price-notice-height));
    }
    .yuji-headerActions {
        top: 0;
    }
    .ec-layoutRole__header > .yuji-priceNotice + .yuji-headerActions {
        top: var(--yuji-price-notice-height);
    }
    .yuji-headerActions__cart { right: 24px; }
    .yuji-headerActions__account { left: 65px; right: 66px; }
    .yuji-accountNav__item { width: min(19vw, 76px); font-size: 10px; }
    .yuji-headerLogo {
        top: 73px;
    }
    .ec-layoutRole__header > .yuji-priceNotice + .yuji-headerActions + .yuji-headerLogo {
        top: calc(73px + var(--yuji-price-notice-height));
    }
    .yuji-drawerCategories a,
    .yuji-drawerLinks a,
    .ec-drawerRole .yuji-search input,
    .ec-drawerRole .yuji-search select { font-size: 16px; }
    .yuji-headerLogo a > span {
        display: block;
    }
    /* 100vh includes Safari's toolbar. Keep the last link inside the visible viewport. */
    .ec-drawerRole {
        height: 100vh;
        height: 100dvh;
        max-height: var(--yuji-viewport-height, 100dvh);
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
    }
    .ec-drawerRoleClose.is_active { z-index: 100001; }
    .have_curtain .ec-overlayRole { z-index: 99999; height: 100%; }
    body.have_curtain { overflow: hidden; }
    .yuji-priceNotice p {}
    .yuji-stockNotice p { font-size: 14px; }
    .yuji-stockNotice { padding-right: 16px; padding-left: 16px; }
    .yuji-hero { min-height: 0; }
    .yuji-hero__copy { top: 28.6%; min-height: 42.6%; padding: 16px 22px; background-color: rgba(9, 21, 51, 0.6); }
    .yuji-hero__copy h1 img { width: min(100%, 241px); max-width: 100%; margin: 0 auto; }
    .yuji-hero__copy p { font-size: 12px; }
    .yuji-featured__body h3 { font-size: 1.125rem; }
    .yuji-featured__price { font-size: 1rem; }
    .yuji-productGrid--ranking .yuji-productCard__name { font-size: 1.125rem; }
    .yuji-trustCard h2 { font-size: 1rem; }
    .yuji-concept p { font-size: 1rem; letter-spacing: 0; }
    .yuji-calendar h2 { font-size: 21px; }
    .yuji-calendarTable caption { font-size: 19px; }
    .yuji-featured__body .yuji-button { width: 241px; max-width: 100%; }
    .yuji-ranking .yuji-productGrid--ranking { gap: 40px; }
    .yuji-productCard__description { min-height: 0; }
    /* Intro + three products form the same 2-by-2 arrangement as the SP design. */
    .yuji-bargain__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .yuji-productGrid--bargain { display: contents; }
    .yuji-bargain__intro { padding-top: 30px; }
    .yuji-bargain__intro h2 { font-size: 1.375rem; }
    .yuji-bargain__intro .yuji-button { display: inline-block; width: 106px; height: auto; min-height: 65px; padding: 10px 30px 10px 12px; font-size: 16px; line-height: 1.35; }
    .yuji-bargain__buttonBreak { display: block; }
    .yuji-trustCard { padding: 32px 16px; }
    .yuji-calendar__months { gap: 26px; }
    .yuji-footer__nav { width: calc(100% + 38px); margin-right: -19px; margin-left: -19px; }
    .yuji-footer__nav a { padding: 12px 19px; }
}

/* Font growth must not squeeze the description column at tablet widths. */
.yuji-featured__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.yuji-featured__body { min-width: 0; }
.yuji-featured__body .yuji-button { min-width: 0; max-width: 100%; }
.yuji-hero { min-height: 0; }

.yuji-featured__price small { font-size: inherit; }
@media (max-width: 767px) {
    /* Do not animate z-index through the overlay's stacking level. */
    .ec-drawerRole,
    .ec-drawerRole.is_active { transition: transform .3s; }
}
