/* ---------------------------------------------------------
  共通パーツ②: 白地ソリッドボタン（濃色セクション上の「宮田本店について」用）
--------------------------------------------------------- */
.wp-block-button.c-btn-solid-white .wp-block-button__link {
    background-color: var(--c-bg) !important;
    color: var(--c-primary-dark) !important;
    border: none;
    border-radius: 0;
    padding: 0.9rem 2rem;
    transition: opacity 0.3s;
}

.wp-block-button.c-btn-solid-white {
    width: min(300px, 100%);
}

.wp-block-button.c-btn-outline {
    flex-grow: 1;
}

.wp-block-button.c-btn-outline.center .wp-block-button__link {

margin-left: auto;
margin-right: auto;
}

.wp-block-button.c-btn-solid-white .wp-block-button__link:hover {
    opacity: 0.8;
}

.top-category__cta .wp-block-button.c-btn-outline .wp-block-button__link {
    margin-top: 0 !important;
    margin-bottom: 1.75em;
}


/* ---------------------------------------------------------
  共通パーツ③: 縦書きテキスト
--------------------------------------------------------- */
.u-vertical-rl {
    writing-mode: vertical-rl;
    text-orientation: upright;
}


/* ---------------------------------------------------------
  共通パーツ④: PC/モバイルで別要素を出し分ける表示切り替え
--------------------------------------------------------- */
@media (max-width: 781px) {
    .u-hide-mobile { display: none !important; }
}
@media (min-width: 782px) {
    .u-hide-pc { display: none !important; }
}

/* ---------------------------------------------------------
  00. ローディング画面（TOPページのみ）
--------------------------------------------------------- */
#site-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-text);
    transition: opacity 0.6s ease, visibility 0.6s ease;
    animation: site-loading-failsafe 0.01s 5s forwards;
}

#site-loading-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#site-loading-screen__mark {
    width: min(50%, 320px);
    height: auto;
    opacity: 0;
    animation: site-loading-mark-in 1.2s ease-out 0.2s forwards;
}

@keyframes site-loading-mark-in {
    to { opacity: 1; }
}

@keyframes site-loading-failsafe {
    to { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
    #site-loading-screen__mark {
        animation: none;
        opacity: 1;
    }
    #site-loading-screen {
        transition: opacity 0.01s linear;
    }
}

/* ---------------------------------------------------------
  01. MV（ファーストビュー）
--------------------------------------------------------- */
.top-mv {
    min-height: 100vh;
    min-height: 100dvh;
}

.top-mv .wp-block-cover__inner-container {
    position: absolute;
    bottom: 12%;
    left: 50%;
    width: max(50%, 320px);
}

.top-mv__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--c-bg) !important;
    font-size: var(--fz-lead);
    letter-spacing: 0.15em;
    margin: 0 !important;
}

.top-mv__eyebrow::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--c-bg);
}

.top-mv__title {
    color: var(--c-bg) !important;
    font-size: var(--fz-26-36);
    font-weight: 700;
    line-height: 1.5;
    margin: 0 !important;
}

@media (max-width: 781px) {
    .top-mv .wp-block-cover__inner-container {
        bottom: 16%;
        left: unset;
        right: 20%;
        writing-mode: vertical-rl;
        text-orientation: upright;
    }

    /* 縦書きに合わせてeyebrowの装飾線も縦向きに */
    .top-mv__eyebrow::before {
        width: 1px;
        height: 40px;
    }
}

/* ---------------------------------------------------------
  01-b. MVスライダー
--------------------------------------------------------- */
.top-mv-slider {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
}

.top-mv-slider__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.top-mv-slider__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.top-mv-slider__slide img,
.top-mv-slider__slide video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    transform: scale(1);
    transition: transform 6.5s ease-out;
}

.top-mv-slider__slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.top-mv-slider__slide-img,
.top-mv-slider__slide-img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
}

@media (max-width: 781px) {
    .top-mv-slider__slide:has(+ .top-mv-slider__slide-img.u-hide-pc) {
        opacity: 0 !important;
    }

    .top-mv-slider__slide-img.u-hide-pc {
        opacity: 0;
        z-index: 0;
        transition: opacity 1.2s ease;
    }

    .top-mv-slider__slide.is-active + .top-mv-slider__slide-img.u-hide-pc {
        opacity: 1;
        z-index: 1;
    }
}

.top-mv-slider__slide.is-active img,
.top-mv-slider__slide.is-active video {
    transform: scale(1.08);
}

/* ---------------------------------------------------------
  MVスライダー 演出パターン
--------------------------------------------------------- */
.top-mv-slider__slide--zoom-in img,
.top-mv-slider__slide--zoom-in video {
    transform: scale(1);
}
.top-mv-slider__slide--zoom-in.is-active img,
.top-mv-slider__slide--zoom-in.is-active video {
    transform: scale(1.08);
}

.top-mv-slider__slide--zoom-out img,
.top-mv-slider__slide--zoom-out video {
    transform: scale(1.08);
}
.top-mv-slider__slide--zoom-out.is-active img,
.top-mv-slider__slide--zoom-out.is-active video {
    transform: scale(1);
}

.top-mv-slider__slide--pan-right img,
.top-mv-slider__slide--pan-right video {
    transform: scale(1.08) translateX(-2%);
}
.top-mv-slider__slide--pan-right.is-active img,
.top-mv-slider__slide--pan-right.is-active video {
    transform: scale(1.08) translateX(2%);
}

.top-mv-slider__slide--pan-left img,
.top-mv-slider__slide--pan-left video {
    transform: scale(1.08) translateX(2%);
}
.top-mv-slider__slide--pan-left.is-active img,
.top-mv-slider__slide--pan-left.is-active video {
    transform: scale(1.08) translateX(-2%);
}

@media (prefers-reduced-motion: reduce) {
    .top-mv-slider__slide img,
    .top-mv-slider__slide.is-active img,
    .top-mv-slider__slide video,
    .top-mv-slider__slide.is-active video {
        transform: none !important;
        transition: none !important;
    }
}

.top-mv-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.6) 75%, rgba(0, 0, 0, 0.6) 100%);
}

.top-mv-slider__content {
    position: absolute;
    z-index: 3;
    bottom: 12%;
    left: 50%;
    width: max(50%, 320px);
    margin: 0 !important;
}

.top-mv-slider__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--c-bg) !important;
    font-size: var(--fz-lead);
    letter-spacing: 0.15em;
    margin: 0 !important;
}

.top-mv-slider__eyebrow::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--c-bg);
}

.top-mv-slider__title {
    color: var(--c-bg) !important;
    font-size: var(--fz-26-36);
    font-weight: 700;
    line-height: 1.5;
    margin: 0 !important;
}

@media (max-width: 781px) {
    .top-mv-slider__content {
        bottom: 16%;
        left: unset;
        right: 20%;
        writing-mode: vertical-rl;
        text-orientation: upright;
    }

    .top-mv-slider__eyebrow::before {
        width: 1px;
        height: 40px;
    }
}

/* ---------------------------------------------------------
  02. 日南娘 スポットライト
--------------------------------------------------------- */
.top-hinamusume {
    align-items: stretch !important;
    gap: 1rem !important;
    margin-top: 5rem !important;
}

.top-hinamusume__label {
    background: var(--c-bg-soft);
    padding: 60px 0 0 var(--st-pad--container-mid) !important;
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 24px;
    position: relative;
}

.top-hinamusume__label::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    content: "";
    display: block;
    background-color: var(--c-bg);
}

.top-hinamusume__label_col_right {
    z-index: 5;
}

.hina_sub {
    font-weight: 700;
    font-size: clamp(8px, 1vw, 13px);
    line-height: 20px;
    letter-spacing: 0.45em;
    color: var(--c-primary-dark);
}

.top-hinamusume__label .u-vertical-rl {
    font-size: var(--fz-16-18);
    font-weight: 600;
    line-height: 2;
    color: var(--c-text);
}

.top-hinamusume__logo {
    color: var(--c-primary-dark) !important;
    margin-top: 0 !important;
}

.top-hinamusume__bottles {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 50%;
}

.top-hinamusume__bottles img {
    object-fit: contain;
}

@media (max-width: 1200px) {
    .top-hinamusume .top-hinamusume__label {
        margin-left: calc(0% - (var(--ark-pad--container))) !important;
    }

    .top-hinamusume__label_col_left {
        flex-basis: 48% !important;
    }

    .top-hinamusume__label_col_left img {
        max-width: 120%;
    }
}

/* ---------------------------------------------------------
  03. 商品紹介（カテゴリカード + CTA）
--------------------------------------------------------- */

.top-category {
    position: relative;
    margin-top: 80px;
}

.top-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(50vw + 320px);
    height: 100%;
    background: var(--c-bg-soft);
    z-index: 0;
}

.top-category.u-anim-fill-left {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
}

.top-category.u-anim-fill-left::before {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.top-category.u-anim-fill-left.is-show::before {
    transform: scaleX(1);
}

.top-category__row {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 6rem;
    padding: 60px var(--st-pad--container) calc(60px - 1.75rem) 0 !important;
}

.top-category__cards {
    position: relative;
}

.top-category__cards-row {
    position: relative;
    gap: 24px !important;
}

.top-category__card {
    position: relative;
    background: var(--c-bg);
    padding: 30px 20px !important;
    text-align: center;
}

.top-category__card a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.top-category__card figure {
    margin: 0 0 20px !important;
}

.top-category__cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.top-category__cta-link {
    position: relative;
    display: inline-block;
    padding-left: .5rem;
    padding-right: 40px;
    padding-bottom: 10px;
    font-size: var(--fz-lead);
    font-weight: 600;
    color: var(--c-text) !important;
}

.top-category__cta-link a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.top-category__cta-link::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 20px;
    height: 12px;
    border-top: 1px solid currentColor;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.9s;
}

.top-category__cta-link.is-show::before {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

@media (max-width: 1260px) {
    .top-category__row {
        padding: 60px var(--st-pad--container) calc(60px - 1.75rem) !important;
    }
}

@media (max-width: 781px) {
    .top-category::before {
        width: 100%;
    }

    .top-category__cards-row {
        gap: 1rem !important;
    }

    .top-category__card {
        padding: 0 0 20px 0 !important;
    }

    .top-category__cta .top-category__cta-link,
    .wp-block-buttons .wp-block-button__link  {
        width: min(300px, 100%);
    }

}


/* ---------------------------------------------------------
  04. 宮田本店の歴史（濃色セクション）
--------------------------------------------------------- */
.top-history {
    background: #222222;
    color: var(--c-bg) !important;
}

.top-history * {
    color: var(--c-bg) !important;
}

.top-history__row {
    width: 100%;
    margin-bottom: 0;
}

.top-history__text {
    padding: 80px var(--st-pad--container-mid) 80px max(var(--st-pad--container-mid), calc((100vw - 1200px) / 2)) !important;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}

.top-history__eyebrow {
    letter-spacing: 0.2em;
    font-size: var(--fz-md);
    padding-bottom: 16px;
    margin-bottom: 30px !important;
}

.top-history__body .wp-block-group__inner-container {
    display: flex;
    gap: 2%;
    justify-content: center;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.top-history__body h2 {
    margin-left: 2rem;
}

.u-vertical-rl.wp-block-paragraph {
    line-height: 2.2;
    letter-spacing: 1.8px;
}

.top-history__body .wp-block-paragraph {
    margin-top: 0 !important;
}

.top-history__photo,
.top-history__photo figure {
    display: block;
    width: 100%;
    height: 100%;
}

.top-history__photo img {
    display: block;
    width: 100%;
    height: 670px;
    object-position: 20% 50%;
    object-fit: cover;
}

@media (min-width: 782px) {
    .top-history {
        height: 800px;
    }

    .top-history__row {
        height: 100%;
    }
}

@media (max-width: 781px) {
    .top-history__body {
        justify-content: flex-start;
    }

    .top-history__photo img {
        height: 420PX;
        margin-top: 2rem;
    }
}


/* ---------------------------------------------------------
  05. こだわりの製造工程
--------------------------------------------------------- */
.top-process {
    padding: 8em var(--ark-padding--container, 48px) 4rem !important;
}

.top-process__col {
    position: relative;
}

.top-process__heading {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0em .3em .3em;
    margin-bottom: 40px !important;
    color: var(--c-primary-dark) !important;
    z-index: 5;
    width: 100%;
}

.top-process__heading::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 1px solid var(--c-primary-dark);
    z-index: 1;
}

.top-process__heading::before {
    content: "";
    position: absolute;
    left: -2em;
    top: 50%;
    transform: translateY(-50%);
    width: 4em;
    height: 4em;
    border-radius: 50%;
    background: rgb(244 246 251 / 90%);
    z-index: -1;
}

.top-process .top-process__left_col {
    margin-left: 2em;
    min-height: 480px;
}

.top-process__left_col figure {
    margin-top: -8px !important;
}

.top-process__card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px var(--st-pad--container-mid);
    margin-top: -60px !important;
    position: absolute;
    top: 32%;
    left: 50%;
}

@media (max-width: 781px) {
    .top-process__card {
        margin-top: 0 !important;
    }

    .top-process__card {
        position: static;
    }

    .top-process .top-process__left_col {
        min-height: unset;
    }
}


/* ---------------------------------------------------------
  06. 特約店
--------------------------------------------------------- */
.top-distributor {
    padding: 70px var(--st-pad--container) !important;
}

.top-distributor__text {
    text-align: center;
}

.top-distributor__text h2 {
    color: var(--c-primary-dark) !important;
}

@media (max-width: 781px) {
    .top-distributor__text {
        flex-basis: 80% !important;
    }
    .top-distributor .top-distributor__left {
        margin-left: -10% !important;
    }

    .top-distributor .top-distributor__right {
        margin-right: -10% !important;
    }
}

/* ---------------------------------------------------------
  07. おしらせ
--------------------------------------------------------- */
.top-news {
    position: relative;
    background: var(--c-bg-soft);
    padding: 40px var(--st-pad--container-mid);
    max-height: 360px;
}

.top-news::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/08/hinamusume_logo3.webp');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    opacity: 0.5;
    z-index: 0;
}

.top-news__heading {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.top-news__heading h2{
    font-size: var(--fz-20-24);
    margin-bottom: 2rem;
}

.top-news__heading .u-vertical-rl {
    color: var(--c-primary-dark) !important;
    font-weight: 700;
}

.top-news__heading p.wp-block-paragraph {
    position: relative;
    display: inline-block;
    padding-right: 40px;
    padding-bottom: 10px;
    font-weight: 600;
    color: var(--c-primary-dark) !important;
}

.top-news__heading p.wp-block-paragraph a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.top-news__heading p.wp-block-paragraph::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 20px;
    height: 12px;
    border-top: 1px solid currentColor;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.9s;
}

.top-news__heading p.wp-block-paragraph.is-show::before {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.top-news__list {
    position: relative;
    z-index: 1;
    background: var(--c-bg);
    padding: 40px var(--st-pad--container-mid);
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--c-border) transparent;
}

.top-news__list::-webkit-scrollbar {
    width: 6px;
}

.top-news__list::-webkit-scrollbar-track {
    background: transparent;
}

.top-news__list::-webkit-scrollbar-thumb {
    background-color: var(--c-border);
    border-radius: 3px;
}

.top-news__list .wp-block-latest-posts__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 16px;
    padding: 1.5rem 0;
    border-bottom: 1px dashed var(--c-border);
}

.top-news__list .wp-block-latest-posts__post-date {
    grid-column: 1;
    color: var(--c-text-muted);
    font-size: .9rem;
}

.top-news__list .wp-block-latest-posts__post-category {
    display: none;
}

.top-news__list .wp-block-latest-posts__post-title {
    grid-column: 2;
    display: block;
    color: var(--c-text) !important;
    text-decoration: none;
}

.top-news__list .wp-block-latest-posts__post-title:hover {
    text-decoration: underline;
}

@media (max-width: 781px) {
    .top-news {
        max-height: unset;
    }

    /* 781px以下は日付・タイトルを縦積みに */
    .top-news__list .wp-block-latest-posts__list li {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .top-news__list .wp-block-latest-posts__post-title {
        grid-column: 1;
    }

    .top-news__heading p.wp-block-paragraph {
        align-self: flex-start;
        text-align: left;
    }
}


/* =========================================================
  特約店一覧
========================================================= */
.dist_wrap {
    margin-bottom: 4rem;
}

.dist_wrap h2 {
    border-bottom: 1px solid var(--c-primary);
    padding-bottom: 1rem;
}

.dist_area_link {
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 6rem;
}

.dist_area_link p {
    padding: .5rem 1rem;
    border: 1px solid var(--c-border);
}

.dist_area_link a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .5rem;
    margin-left: .5rem;
}

.dist_col {
    border-bottom: 1px solid var(--c-border);
    padding: 1rem;
}

.distributor-item__link a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.2rem;
    border: 1px solid var(--c-primary);
    background-color: var(--c-bg);
    color: var(--c-primary);
    font-size: .875rem;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .3s, color .3s;
}

.distributor-item__link a::after {
    content: "\f35d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .7rem;
}

.distributor-item__link a:hover {
    background-color: var(--c-primary);
    color: var(--c-bg);
    opacity: 1;
}

@media (max-width: 781px) {
    .dist_area_link {
        flex-wrap: wrap !important;
    }

    .dist_area_link p {
        padding: .5rem;
        flex: 0 0 calc((100% - 5px * 3) / 4);
    }

    .dist_col {
        background: var(--c-bg-soft);
        padding: 2rem var(--ark-pad--container);
        border-bottom: 0;
        gap: 1rem !important;
    }

    .dist_name {
        font-weight: 700;
    }
}


/* =========================================================
  product page
========================================================= */

.product_box_img {
    border-right: 1px solid var(--c-border);
}

.product_box_img img {
    max-width: min(100%, 480px);
}

.product_box_text {
    padding: var(--ark-pad--container);
}

.product_box_text h2 {
    margin-bottom: 2.5rem;
    font-size: var(--fz-24-36);
}

hr.prohr {
    height: 1px;
    width: min(1200px, 100%);
    margin: 6rem auto;
    background: #cfcfcf;
}

.cat_box {
    margin-top: 2rem !important;
}

.cat_imo,
.cat_alc {
    border-radius: 5px;
    padding: .1rem .5rem;
    font-size: .8rem;
}

.cat_imo {
    background: var(--c-primary);
    color: var(--c-bg);
    border: 1px solid var(--c-primary);
}

.cat_alc {
    border: 1px solid var(--c-accent);
    background: var(--c-bg-soft);
}

@media (max-width: 781px) {
    .product_box_img {
        border-right: 0;
    }
}

/* =========================================================
  company
========================================================= */
@media (max-width: 781px) {
    .gal_col figure img {
        height: auto !important;
    }
}


/* =========================================================
  製造工程ページ（焼酎／醤油／リキュール共通）/process/*
========================================================= */
.proc_lines {
    margin-bottom: 3rem;
}

.proc_koji,
.proc_imo,
.proc_kome,
.proc_mochigome,
.proc_daizu,
.proc_komugi,
.proc_common {
    position: relative;
}

.proc_koji,   .proc_kome,  .proc_daizu   { --proc-accent: var(--c-primary); }
.proc_imo,    .proc_mochigome, .proc_komugi { --proc-accent: var(--c-text-muted); }
.proc_common { --proc-accent: var(--c-primary-dark); }

.proc_heading {
    display: flex;
    align-items: center;
    gap: .6em;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.6rem !important;
    color: var(--c-primary-dark);
}

.proc_heading::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--proc-accent);
    flex: 0 0 auto;
}

/* 工程の縦の並び（ノード付きの糸） */
.proc_steps {
    position: relative;
    padding-left: 1.6rem;
    margin-left: var(--ark-pad--container);
}

.proc_steps::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .5rem;
    bottom: .5rem;
    width: 2px;
    background: var(--proc-accent);
    opacity: .35;
}

.proc_step {
    position: relative;
    margin: 0 !important;
    padding: 1rem 0 !important;
    font-weight: 700;
    font-size: 1.1rem;
}

.proc_step::before {
    content: "";
    position: absolute;
    left: -1.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--proc-accent);
    box-shadow: 0 0 0 3px var(--c-bg);
}

.proc_tag {
    display: inline-block;
    margin-left: .6em;
    padding: .1em .6em;
    font-size: .88rem;
    font-weight: 500;
    color: var(--proc-accent);
    border: 1px solid var(--proc-accent);
    border-radius: 999px;
    vertical-align: middle;
}

.proc_tag.-before {
    margin-left: 0;
    margin-right: .6em;
}

/* ラインの最終工程（合流点の手前） */
.proc_end {
    padding-bottom: .8rem !important;
    border-bottom: 2px solid var(--proc-accent);
}

.proc_photo {
    margin-top: .6rem;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merge {
    text-align: center;
    margin: 1rem 0 3rem;
}

.merge svg {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.merge-inputs {
    display: flex;
    justify-content: space-between;
    width: 220px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 .3rem;
    font-weight: 700;
}

.merge-inputs span:first-child {
    color: var(--c-primary);
}

.merge-inputs span:last-child {
    color: var(--c-text-muted);
}

.merge.-triple .merge-inputs span:nth-child(2) {
    color: var(--c-text);
    font-weight: 500;
}

/* 線の下端ラベル（合流） */
.merge-caption {
    margin-top: -.3rem;
    letter-spacing: .1em;
    color: var(--c-primary-dark);
}

/* 原酒（ハイライトしたい工程） */
.proc_highlight {
    display: inline-block;
    padding: .1em .7em !important;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-primary-dark);
    border-radius: 3px;
}

/* 出荷（最終工程） */
.proc_final {
    display: inline-block;
    padding: .2em .8em !important;
    background: var(--c-primary-dark);
    color: var(--c-bg) !important;
    border-radius: 3px;
}

@media (max-width: 781px) {
    .proc_lines {
        margin-bottom: 1.5rem;
    }

    .proc_koji,
    .proc_imo {
        margin-bottom: 2.5rem;
    }
}
