:root {
    --orisen-ink: #292620;
    --orisen-muted: #71695f;
    --orisen-accent: #a63d35;
    --orisen-paper: #faf8f3;
    --orisen-line: #e8e1d7;
}

body {
    color: var(--orisen-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.ec-layoutRole {
    overflow: hidden;
}

.ec-layoutRole__header {
    background: #fff;
    border-bottom: 1px solid var(--orisen-line);
}

.ec-headerRole {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
}

.orisen-headerBrand .ec-headerTitle__title img {
    display: block;
    width: 220px;
    max-height: 84px;
    object-fit: contain;
    object-position: left center;
}

.ec-headerNaviRole {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 16px;
}

.ec-headerNaviRole__nav a,
.ec-headerNaviRole__search a,
.ec-footerNavi a {
    color: var(--orisen-ink);
}

.ec-layoutRole__contents,
.ec-layoutRole__contentTop,
.ec-layoutRole__contentBottom {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.ec-pageHeader h1,
.ec-secHeading__ja,
.ec-productRole__title h2 {
    color: var(--orisen-ink);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    letter-spacing: .06em;
}

.ec-shelfGrid__item {
    border-color: var(--orisen-line);
    background: #fff;
}

.ec-shelfGrid__item-image img {
    transition: opacity .2s ease;
}

.ec-shelfGrid__item-image a:hover img,
.ec-shelfGrid__item-image a:focus img {
    opacity: .8;
}

.ec-productRole__price {
    color: var(--orisen-accent);
}

.ec-productRole__description,
.ec-categoryRole__description {
    line-height: 1.9;
}

.ec-blockBtn--action {
    border-color: var(--orisen-accent);
    background-color: var(--orisen-accent);
}

.ec-blockBtn--action:hover,
.ec-blockBtn--action:focus {
    border-color: #842e29;
    background-color: #842e29;
}

.orisen-home {
    padding: 0 24px 64px;
}

.orisen-hero {
    position: relative;
    overflow: hidden;
    background: #8f302a;
}

.orisen-hero > img {
    display: block;
    width: 100%;
    min-height: 240px;
    max-height: 430px;
    object-fit: cover;
    object-position: center;
}

.orisen-hero__caption {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 20px 34px;
    text-align: center;
}

.orisen-hero__caption h1,
.orisen-sectionHeading h2,
.orisen-about h2,
.orisen-page__heading h1 {
    color: var(--orisen-ink);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    letter-spacing: .08em;
}

.orisen-hero__caption h1 {
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 36px);
}

.orisen-hero__caption > p:not(.orisen-eyebrow) {
    color: var(--orisen-muted);
}

.orisen-eyebrow {
    margin: 0 0 8px;
    color: var(--orisen-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.orisen-button {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 30px;
    border: 1px solid var(--orisen-accent);
    background: var(--orisen-accent);
    color: #fff !important;
    text-decoration: none;
}

.orisen-button:hover,
.orisen-button:focus {
    background: #842e29;
    color: #fff;
}

.orisen-feature {
    padding: 54px 0 40px;
}

.orisen-recommend {
    padding: 48px 0 24px;
}

.orisen-recommend .ec-shelfGrid__item {
    border: 1px solid var(--orisen-line);
    padding: 14px;
}

.orisen-recommend .item_price {
    color: var(--orisen-accent);
}

.orisen-sectionHeading {
    margin-bottom: 24px;
    text-align: center;
}

.orisen-sectionHeading h2,
.orisen-about h2 {
    margin: 0;
    font-size: 25px;
}

.orisen-feature__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.orisen-featureCard {
    display: block;
    overflow: hidden;
    background: var(--orisen-paper);
    color: var(--orisen-ink);
    text-align: center;
    text-decoration: none;
}

.orisen-featureCard img {
    display: block;
    width: 100%;
    aspect-ratio: 480 / 160;
    object-fit: cover;
    transition: opacity .2s ease;
}

.orisen-featureCard:hover img,
.orisen-featureCard:focus img {
    opacity: .8;
}

.orisen-featureCard span {
    display: block;
    padding: 14px 10px;
    font-weight: 600;
}

.orisen-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr);
    align-items: center;
    gap: 36px;
    padding: 32px;
    background: var(--orisen-paper);
}

.orisen-about p:not(.orisen-eyebrow) {
    color: var(--orisen-muted);
    line-height: 1.9;
}

.orisen-about img {
    display: block;
    width: 100%;
}

.orisen-textLink {
    color: var(--orisen-accent);
    font-weight: 600;
    text-decoration: none;
}

.orisen-footer {
    background: #292620;
    color: #fff;
}

.orisen-footer__brand {
    margin-bottom: 20px;
}

.orisen-footer__brand a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 4px;
    background: #fff;
}

.orisen-footer__brand img {
    display: block;
    width: 200px;
}

.orisen-footer .ec-footerNavi__link a {
    color: #f5f0e9;
}

.orisen-footer__copyright {
    padding-top: 18px;
    color: #d3c9bc;
    font-size: 12px;
}

.orisen-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 24px 24px 64px;
}

.orisen-page__heading {
    margin-bottom: 28px;
    text-align: center;
}

.orisen-page__heading h1 {
    margin: 0;
    font-size: clamp(24px, 4vw, 32px);
}

.orisen-page__banner {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 30px;
}

.orisen-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: steps;
}

.orisen-steps li {
    position: relative;
    margin: 0;
    padding: 16px 16px 16px 56px;
    border-bottom: 1px solid var(--orisen-line);
    line-height: 1.8;
    counter-increment: steps;
}

.orisen-steps li::before {
    position: absolute;
    top: 16px;
    left: 12px;
    color: var(--orisen-accent);
    content: counter(steps, decimal-leading-zero);
    font-weight: 700;
}

.orisen-page__note {
    margin: 24px 0;
    padding: 16px;
    background: var(--orisen-paper);
    color: var(--orisen-muted);
    line-height: 1.8;
}

/* 商品画像を正方形に切り抜き */
.ec-shelfGrid__item-image img,
.orisen-recommend .ec-shelfGrid__item img,
.ec-newItemRole__listItem img,
.ec-favoriteRole__item-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* ヒーロー内の文字色 */
.orisen-hero .orisen-eyebrow {
    color: #f8e9e4;
}

.orisen-hero .orisen-hero__caption h1 {
    color: #fff;
}

.orisen-hero .orisen-hero__caption > p:not(.orisen-eyebrow) {
    color: #fff;
}

.orisen-hero__banner {
    display: inline-block;
    margin-top: 16px;
}

.orisen-hero__banner img {
    display: block;
    width: 360px;
    max-width: 100%;
}

/* カテゴリ */
.ec-categoryRole__listItem img {
    display: block;
    width: 100%;
    aspect-ratio: 355 / 150;
    object-fit: cover;
}

.ec-categoryRole__listItemTitle {
    margin: 10px 0 0;
    color: var(--orisen-ink);
    font-weight: 600;
    text-align: center;
}

/* オリセンについてバナー */
.orisen-about__banner {
    display: block;
}

.orisen-about__banner:hover img,
.orisen-about__banner:focus img {
    opacity: .8;
}

@media (max-width: 767px) {
    .orisen-hero__banner img {
        width: 100%;
        max-width: 320px;
    }

    .ec-headerRole {
        padding: 14px 16px;
    }

    .orisen-headerBrand .ec-headerTitle__title img {
        width: 176px;
        max-height: 68px;
    }

    .ec-headerNaviRole {
        padding-right: 16px;
        padding-left: 16px;
    }

    .orisen-home {
        padding: 0 16px 40px;
    }

    .orisen-hero > img {
        min-height: 180px;
    }

    .orisen-hero__caption {
        padding: 22px 12px 28px;
    }

    .orisen-feature {
        padding: 38px 0 30px;
    }

    .orisen-feature__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .orisen-featureCard {
        display: grid;
        grid-template-columns: minmax(120px, 42%) 1fr;
        align-items: center;
        text-align: left;
    }

    .orisen-featureCard img {
        height: 80px;
        aspect-ratio: auto;
    }

    .orisen-featureCard span {
        padding: 12px 16px;
    }

    .orisen-about {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px;
    }

    .orisen-about img {
        max-width: 360px;
        margin: 0 auto;
    }

    .orisen-page {
        padding: 20px 16px 44px;
    }
}
