@charset "UTF-8";

/* =========================================================
   しば漬の素 商品案内ページ 専用CSS
   保存場所：
   /var/www/html/jp/mn/123120/assets/css/style.css

   方針：
   - HGRSKP.TTFで統一
   - 旧HTMLの雰囲気を残す
   - PCでは「しば漬の素＋左右画像」を固定
   - 下から半透明の赤紫エリアが上がってくる
   - レシピはアコーディオン表示
========================================================= */

@font-face {
    font-family: "ShibaHGRSKP";
    src: url("/jp/mn/123120/assets/font/HGRSKP.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* =========================================================
   共通初期化
========================================================= */

#shibazuke-page,
#shibazuke-page * {
    font-family: "ShibaHGRSKP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif !important;
    box-sizing: border-box;
}

#shibazuke-page {
    --shiba-fixed-top: 88px;
    --shiba-purple-peek: 118px;

    color: rgba(34, 28, 28, 0.86);
    background: #ffffff;
    line-height: 1.8;
    overflow-x: hidden;
}

#shibazuke-page img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

#shibazuke-page a {
    color: inherit;
    text-decoration: none;
}

#shibazuke-page p,
#shibazuke-page h1,
#shibazuke-page h2,
#shibazuke-page h3,
#shibazuke-page ul,
#shibazuke-page ol,
#shibazuke-page li {
    margin: 0;
    padding: 0;
}

#shibazuke-page li {
    list-style: none;
}

/* =========================================================
   パンくず
========================================================= */

#shibazuke-page .shiba-breadcrumb {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 14px 0 0;
    font-size: 13px;
    color: #6f6068;
    position: relative;
    z-index: 20;
    background: #ffffff;
}

#shibazuke-page .shiba-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

#shibazuke-page .shiba-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

#shibazuke-page .shiba-breadcrumb li:not(:last-child)::after {
    content: "＞";
    margin-left: 6px;
    color: #b097a5;
}

#shibazuke-page .shiba-breadcrumb a {
    color: #9b244d;
    border-bottom: 1px solid transparent;
}

#shibazuke-page .shiba-breadcrumb a:hover {
    border-bottom-color: #9b244d;
}

/* =========================================================
   メイン
========================================================= */

#shibazuke-page .shiba-main {
    position: relative;
}

/* =========================================================
   ファーストビュー fixed 固定
   しば漬の素＋左右画像をヘッダーのように固定
========================================================= */

#shibazuke-page .shiba-first-view {
    position: fixed;
    top: var(--shiba-fixed-top);
    left: 0;
    right: 0;
    z-index: 1;

    height: calc(100vh - var(--shiba-fixed-top));
    min-height: 0;
    padding: 0 0 28px;

    background: #ffffff;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#shibazuke-page .shiba-title-area {
    text-align: center;
    padding: 4px 16px 0;
}

#shibazuke-page .shiba-title-area h1 {
    font-size: clamp(42px, 5.2vw, 76px);
    font-weight: normal;
    line-height: 2.5    ;
    letter-spacing: 0.08em;
    color: rgba(34, 28, 28, 0.72);
}

/* 左右画像 */
#shibazuke-page .shiba-visual-area {
    width: min(1200px, calc(100% - 32px));
    margin: clamp(24px, 5vh, 56px) auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    position: relative;
    z-index: 2;
}

#shibazuke-page .shiba-visual {
    min-width: 0;
}

#shibazuke-page .shiba-image-toggle {
    display: block;
    position: relative;
    z-index: 4;
    width: 100%;
    aspect-ratio: 1.08 / 1;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}

#shibazuke-page .shiba-toggle-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

#shibazuke-page .shiba-toggle-img.is-active {
    opacity: 1;
    transform: scale(1);
}

#shibazuke-page .shiba-image-toggle:hover .shiba-toggle-img.is-active {
    transform: scale(1.025);
}

/* ▼を削除済みでも残っていても邪魔しない */
#shibazuke-page .shiba-scroll-guide {
    display: none;
}

/* =========================================================
   商品紹介：旧HTMLの赤紫帯
   fixedで抜けたファーストビューの下から上がってくる
========================================================= */

#shibazuke-page .shiba-product-intro {
    position: relative;
    z-index: 3;

    margin-top: calc(100vh - var(--shiba-purple-peek));
    padding: clamp(70px, 9vw, 120px) 16px clamp(58px, 7vw, 96px);

    background: rgba(175, 40, 77, 0.86);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 -18px 42px rgba(80, 0, 45, 0.16);
}

#shibazuke-page .shiba-product-intro__inner {
    width: min(980px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 7vw, 84px);
}

#shibazuke-page .shiba-product-intro__package {
    width: min(280px, 38vw);
    min-width: 210px;
    transform: translateY(-26px);
}

#shibazuke-page .shiba-product-intro__package img {
    display: block;
    width: 100%;
    filter: drop-shadow(0 18px 26px rgba(30, 0, 20, 0.28));
}

#shibazuke-page .shiba-product-intro__text {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    color: #ffffff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

#shibazuke-page .shiba-product-name {
    font-size: clamp(34px, 3.8vw, 54px);
    line-height: 1.25;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

#shibazuke-page .shiba-product-intro__text p:not(.shiba-product-name) {
    font-size: clamp(21px, 2.1vw, 31px);
    line-height: 2;
    letter-spacing: 0.08em;
}

/* =========================================================
   基本の使い方
========================================================= */

#shibazuke-page .shiba-howto {
    position: relative;
    z-index: 3;
    background: #fff8fb;
    padding: 70px 16px;
}

#shibazuke-page .shiba-howto__inner {
    width: min(1100px, 100%);
    margin: 0 auto;
}

#shibazuke-page .shiba-howto__head {
    text-align: center;
    margin-bottom: 32px;
}

#shibazuke-page .shiba-howto__head p {
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.18em;
    color: #af284d;
    text-transform: uppercase;
}

#shibazuke-page .shiba-howto__head h2 {
    margin-top: 4px;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: normal;
    color: rgba(34, 28, 28, 0.78);
}

#shibazuke-page .shiba-howto__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

#shibazuke-page .shiba-howto__card {
    background: #ffffff;
    border: 1px solid rgba(175, 40, 77, 0.16);
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 12px 28px rgba(80, 0, 45, 0.08);
}

#shibazuke-page .shiba-howto__card span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #af284d;
    color: #ffffff;
    font-weight: normal;
}

#shibazuke-page .shiba-howto__card h3 {
    text-align: center;
    font-size: 25px;
    font-weight: normal;
    color: #4a1730;
    margin-bottom: 8px;
}

#shibazuke-page .shiba-howto__card p {
    font-size: 18px;
    line-height: 1.9;
    color: #5d5056;
}

#shibazuke-page .shiba-caution {
    margin-top: 26px;
    padding: 24px 28px;
    border-radius: 18px;
    background: #ffffff;
    border-left: 7px solid #af284d;
    box-shadow: 0 12px 28px rgba(80, 0, 45, 0.06);
}

#shibazuke-page .shiba-caution h3 {
    font-size: 26px;
    font-weight: normal;
    color: #4a1730;
    margin-bottom: 10px;
}

#shibazuke-page .shiba-caution li {
    position: relative;
    padding-left: 1.3em;
    font-size: 18px;
    line-height: 1.9;
    color: #5d5056;
}

#shibazuke-page .shiba-caution li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #af284d;
}

/* =========================================================
   レシピ：旧HTMLの濃紺紫帯
========================================================= */

#shibazuke-page .shiba-recipe-section {
    position: relative;
    z-index: 3;
    background: rgba(13, 0, 51, 0.96);
    padding: clamp(70px, 8vw, 110px) 16px;
}

#shibazuke-page .shiba-recipe-section__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

#shibazuke-page .shiba-recipe-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 38px;
}

#shibazuke-page .shiba-recipe-title p {
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.1;
}

#shibazuke-page .shiba-recipe-title h2 {
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: normal;
    margin-top: 4px;
}

#shibazuke-page .shiba-recipe-title__line {
    width: 120px;
    height: 1px;
    margin: 18px auto 0;
    background: rgba(255, 255, 255, 0.6);
}

#shibazuke-page .shiba-recipe-list {
    display: grid;
    gap: 16px;
}

#shibazuke-page .shiba-recipe-item {
    position: relative;
    z-index: 4;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

#shibazuke-page .shiba-recipe-button {
    position: relative;
    z-index: 4;
    width: 100%;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 44px;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border: 0;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    color: rgba(34, 28, 28, 0.86);
}

#shibazuke-page .shiba-recipe-thumb {
    display: block;
    width: 120px;
    height: 120px;
}

#shibazuke-page .shiba-recipe-thumb img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 8px 18px rgba(80, 0, 45, 0.18);
}

#shibazuke-page .shiba-recipe-button__text {
    display: block;
    min-width: 0;
}

#shibazuke-page .shiba-recipe-number {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: normal;
    color: #af284d;
    letter-spacing: 0.12em;
}

#shibazuke-page .shiba-recipe-name {
    display: block;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.28;
    color: #341034;
}

#shibazuke-page .shiba-recipe-summary {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.8;
    color: #685c62;
}

#shibazuke-page .shiba-recipe-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #af284d;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

#shibazuke-page .shiba-recipe-item.is-open .shiba-recipe-mark {
    transform: rotate(45deg);
    background: #4a1730;
}

#shibazuke-page .shiba-recipe-detail {
    display: none;
    border-top: 1px solid rgba(175, 40, 77, 0.16);
    background: #fff7fb;
}

#shibazuke-page .shiba-recipe-item.is-open .shiba-recipe-detail {
    display: block;
}

#shibazuke-page .shiba-recipe-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 22px;
    padding: 24px 28px 28px 158px;
}

#shibazuke-page .shiba-recipe-block h3 {
    font-size: 24px;
    font-weight: normal;
    color: #4a1730;
    margin-bottom: 8px;
}

#shibazuke-page .shiba-recipe-block li {
    position: relative;
    padding-left: 1.3em;
    font-size: 18px;
    line-height: 1.85;
    color: #4f454a;
}

#shibazuke-page .shiba-recipe-block ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #af284d;
}

#shibazuke-page .shiba-recipe-block ol {
    counter-reset: shiba-recipe-step;
}

#shibazuke-page .shiba-recipe-block ol li {
    padding-left: 2em;
}

#shibazuke-page .shiba-recipe-block ol li::before {
    counter-increment: shiba-recipe-step;
    content: counter(shiba-recipe-step) ".";
    position: absolute;
    left: 0;
    color: #af284d;
    font-weight: normal;
}

#shibazuke-page .shiba-recipe-pdf {
    grid-column: 1 / -1;
    margin-top: 2px;
}

#shibazuke-page .shiba-recipe-pdf a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #af284d;
    color: #ffffff;
    font-size: 18px;
    font-weight: normal;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#shibazuke-page .shiba-recipe-pdf a:hover {
    background: #7d1739;
    transform: translateY(-2px);
}

/* =========================================================
   商品情報
========================================================= */

#shibazuke-page .shiba-product-info {
    position: relative;
    z-index: 3;
    background: #ffffff;
    padding: 70px 16px;
}

#shibazuke-page .shiba-product-info__inner {
    width: min(900px, 100%);
    margin: 0 auto;
}

#shibazuke-page .shiba-product-info h2 {
    text-align: center;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: normal;
    color: rgba(34, 28, 28, 0.78);
    margin-bottom: 24px;
}

#shibazuke-page .shiba-product-info table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #ead4df;
}

#shibazuke-page .shiba-product-info th,
#shibazuke-page .shiba-product-info td {
    padding: 16px;
    border-bottom: 1px solid #ead4df;
    text-align: left;
    line-height: 1.8;
    font-size: 18px;
}

#shibazuke-page .shiba-product-info th {
    width: 180px;
    color: #4a1730;
    background: #fff7fb;
    font-weight: normal;
}

#shibazuke-page .shiba-bottom-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

#shibazuke-page .shiba-bottom-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #af284d;
    color: #ffffff;
    font-size: 18px;
    font-weight: normal;
}

#shibazuke-page .shiba-bottom-links a:nth-child(2) {
    background: #251342;
}

/* =========================================================
   レスポンシブ
========================================================= */

@media screen and (max-width: 980px) {
    #shibazuke-page {
        --shiba-fixed-top: 80px;
        --shiba-purple-peek: 90px;
    }

    #shibazuke-page .shiba-visual-area {
        width: min(1000px, calc(100% - 24px));
        margin-top: clamp(24px, 4vh, 46px);
    }

    #shibazuke-page .shiba-product-intro__inner {
        gap: 34px;
    }

    #shibazuke-page .shiba-howto__cards {
        grid-template-columns: 1fr;
    }

    #shibazuke-page .shiba-recipe-detail__inner {
        padding-left: 28px;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 720px) {
    #shibazuke-page {
        --shiba-fixed-top: 0px;
        --shiba-purple-peek: 0px;
    }

    #shibazuke-page .shiba-first-view {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        height: auto;
        min-height: auto;
        overflow: visible;
        padding-bottom: 34px;
    }

    #shibazuke-page .shiba-title-area {
        padding-top: 18px;
    }

    #shibazuke-page .shiba-title-area h1 {
        font-size: clamp(38px, 13vw, 56px);
    }

    #shibazuke-page .shiba-visual-area {
        width: min(100% - 20px, 560px);
        margin-top: 34px;
        grid-template-columns: 1fr;
    }

    #shibazuke-page .shiba-image-toggle {
        aspect-ratio: 1.2 / 1;
    }

    #shibazuke-page .shiba-product-intro {
        margin-top: 0;
        background: rgba(175, 40, 77, 0.94);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }

    #shibazuke-page .shiba-product-intro__inner {
        flex-direction: column;
        gap: 18px;
    }

    #shibazuke-page .shiba-product-intro__package {
        width: min(240px, 70vw);
        min-width: 0;
        transform: none;
    }

    #shibazuke-page .shiba-product-intro__text {
        writing-mode: horizontal-tb;
        display: block;
        text-align: center;
    }

    #shibazuke-page .shiba-product-name {
        font-size: 38px;
        margin-bottom: 12px;
    }

    #shibazuke-page .shiba-product-intro__text p:not(.shiba-product-name) {
        font-size: 20px;
        line-height: 2;
    }

    #shibazuke-page .shiba-howto,
    #shibazuke-page .shiba-recipe-section,
    #shibazuke-page .shiba-product-info {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    #shibazuke-page .shiba-recipe-button {
        grid-template-columns: 86px minmax(0, 1fr) 34px;
        gap: 12px;
        padding: 14px;
    }

    #shibazuke-page .shiba-recipe-thumb,
    #shibazuke-page .shiba-recipe-thumb img {
        width: 86px;
        height: 86px;
    }

    #shibazuke-page .shiba-recipe-name {
        font-size: 24px;
    }

    #shibazuke-page .shiba-recipe-summary {
        font-size: 16px;
        line-height: 1.65;
    }

    #shibazuke-page .shiba-recipe-mark {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }

    #shibazuke-page .shiba-recipe-detail__inner {
        padding: 18px;
    }

    #shibazuke-page .shiba-product-info th,
    #shibazuke-page .shiba-product-info td {
        display: block;
        width: 100%;
    }

    #shibazuke-page .shiba-product-info th {
        padding-bottom: 8px;
    }

    #shibazuke-page .shiba-product-info td {
        padding-top: 8px;
    }

    #shibazuke-page .shiba-bottom-links {
        flex-direction: column;
    }

    #shibazuke-page .shiba-bottom-links a {
        width: 100%;
    }
}

@media screen and (max-width: 430px) {
    #shibazuke-page .shiba-recipe-button {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    #shibazuke-page .shiba-recipe-thumb,
    #shibazuke-page .shiba-recipe-thumb img {
        width: 72px;
        height: 72px;
    }

    #shibazuke-page .shiba-recipe-mark {
        grid-column: 1 / -1;
        justify-self: center;
    }
}
/* =========================================================
   共通フッターを fixed ファーストビューより前面に出す
   footer.php は #shibazuke-page の外なので、ここだけページID外で指定
========================================================= */

.shiba-common-footer-wrap {
    position: relative;
    z-index: 20;
    background: #ffffff;
    clear: both;
}