@charset "UTF-8";

/* 商品データシート */
@media (min-width: 992px) {
    .product-data-sheet {
        background: var(--ast-global-color-4);
        border: 1px solid var(--ast-border-color);
        border-radius: var(--border-radius-medium);
        padding: 2em 2em 1em 2em;
        margin-bottom: 0;
        box-shadow: var(--box-shadow-style-3);
    }
}

.product-details {
    margin-bottom: 2em;
}

.product-details:last-child {
    margin-bottom: 0;
}

.product-details:last-of-type .pp-description {
    margin-bottom: 0;
}


/* 見出し */
.product-details .pp-subtitle, .product-details .pp-remarks {
    font-size: .875em;
    margin-bottom: 1em;
}

.pp-title {
    position: relative;
    cursor: pointer;
    margin-top: 0 !important;
    margin-bottom: 1em !important;
}

.pp-title::after {
    content: '－';
    position: absolute;
    right: .5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.pp-title.open::after {
    content: '＋';
    transform: rotate(180deg);
}


/* 食品表示 */
.dl-table-style-1x,
.dl-table-style-2x {
    background: var(--ast-global-color-4);
    border: 1px solid var(--ast-border-color);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-style-3);
    margin-bottom: calc(0.3em + 10px);
}

.dl-table-style-1x dt,
.dl-table-style-2x dt {
    padding: 0.5rem 1rem;
    font-weight: normal;
}

.dl-table-style-1x dt,
.dl-table-style-2x dt:first-child {
    border-top-left-radius: var(--border-radius-medium);
    border-top-right-radius: var(--border-radius-medium);
}

.dl-table-style-1x dt {
    background: var(--ast-global-color-5);
    text-align: center;
}

.dl-table-style-2x dt {
    background: var(--ast-global-color-5);
    display: flex;
}

.dl-table-style-1x dd,
.dl-table-style-2x dd {
    background: var(--ast-global-color-4);
}

.dl-table-style-1x dd {
    border-bottom-left-radius: var(--border-radius-medium);
    border-bottom-right-radius: var(--border-radius-medium);
    padding: 1rem;
    margin: 0;
}

.dl-table-style-2x dd:last-of-type {
    border-bottom-left-radius: var(--border-radius-medium);
    border-bottom-right-radius: var(--border-radius-medium);
}

.dl-table-style-2x dd {
    margin: 0;
    padding: 1rem;
}

.dl-table-style-1x p,
.dl-table-style-2x p {
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .dl-table-style-2x {
        display: flex;
        flex-wrap: wrap;
    }

    .dl-table-style-2x dt {
        display: block;
        flex: 20%;
        border-bottom: 1px solid var(--ast-border-color);
        padding: 1rem 1.25rem;
        text-align-last: justify;
        align-content: center;
    }

    .dl-table-style-2x dt:first-of-type {
        border-top-right-radius: 0;
	}

    .dl-table-style-2x dt:last-of-type {
        border-bottom: 0;
        border-bottom-left-radius: var(--border-radius-medium);
	}

	.dl-table-style-2x dt span {
        display: block;
    }

	.dl-table-style-2x dd:first-of-type {
        border-top-right-radius: var(--border-radius-medium);
    }

	.dl-table-style-2x dd:last-child {
        border-bottom: none;
        border-bottom-right-radius: var(--border-radius-medium);
    }

    .dl-table-style-2x dd {
        border-bottom: 1px solid var(--ast-border-color);
        flex: 80%;
    }
}


/* アレルギー情報 */
.allergen {
    display: flex;
    flex-wrap: wrap;
    padding: 0 !important;
    margin: 0 !important;
    gap: 1em;
}

.allergen li {
    margin-bottom: 0 !important;
}

.allergen li:nth-child(-n + 8) {
    font-weight: bold;
}

.allergen::before {
    content: '';
    flex: 20 1 100px;
    order: 1;
}

.allergen::after {
    content: '';
    flex: 20 1 100px;
}

.allergen-c {
    background: var(--ast-global-color-0);
}

.allergen-0, .allergen-1, .allergen-2 {
    display: inline-block;
    color: var(--ast-global-color-6);
    text-align: center;
    border-radius: var(--border-radius-small);
}

.allergen-0, .allergen-1 {
    flex: 1 1 100px;
}

.allergen-1, .allergen-2 {
    font-weight: bold;
    color: var(--ast-global-color-4);
    background: var(--ast-global-color-0);
    box-shadow: var(--box-shadow-style-3);

}

.allergen-2 {
    padding: .125em 1em .2em;
    margin-right: .5em;
    line-height: 1;
    font-size: .875em;
}

@media (max-width: 767px) {
    .allergen-0, .allergen-1, .allergen::before, .allergen::after {
        flex: 1 1 80px;
    }

    .allergen::before, .allergen::after {
        content: '';
    }

    .allergen::before {
        order: 1;
    }
}


/* 栄養成分表示 */
.nutrition-facts {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1em;
}

.nf-row {
    display: flex;
    list-style: none;
    padding-left: 0 !important;
    margin: 0 !important;
    flex: 0 1 200px;
}

.nf-col1 {
    flex: 1 0 110px;
    text-align-last: justify;
    padding-right: .5em;
}

.nf-col2 {
    flex: 1 0 50px;
    text-align: right;
    padding-right: .5em;
}

.nf-col3 {
    flex: 1 0 40px;
}

@media (max-width: 540px) {
	.nf-row {
        flex: 100%;
    }
}
