/* 共通CSS - shirofuku.cssとyukite.cssの完全一致ルール */

.ec-headerTitle img {
    display: block;
    margin: 0 auto;
    max-width: 70%;
}

.front_page .ec-secHeading {
    font-weight: bold;
    text-align: center;
}

.front_page .ec-secHeading .ec-secHeading__en {
    font-size: 32px;
}

.ec-categoryNaviRole {
    display: block;
    margin-bottom: 30px;
    padding: 0 8px;
}

.ec-categoryNaviRole .ec-itemNav__nav {
    display: flex;
}

.ec-categoryNaviRole .ec-itemNav__nav li a {
    border: 0;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .ec-sliderRole {
        padding: 0;
    }
}

.front_page .ec-newsRole {
    margin-bottom: 50px;
    padding: 0;
}

.front_page .ec-newsRole__news {
    padding: 0 20px;
}

.front_page .ec-eyecatchRole__introEnTitle {
    font-weight: bold;
    margin-bottom: .5rem;
}

.front_page .ec-eyecatchRole__introTitle {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.front_page .ec-eyecatchRole__introDescription {
    line-height: 1.5;
}

.front_page .ec-topicRole {
    background-color: transparent;
}

.front_page .ec-topicRole__listItemTitle {
    font-size: 18px;
    font-weight: bold;
}

.front_page .ec-topicRole__listItem a:hover {
    opacity: .5;
}

.front_page .ec-newItemRole .ec-newItemRole__listItemPrice {
    font-size: 14px;
}

.front_page .ec-categoryRole__list {
    justify-content: center;
}

.ec-blockBtn--top:hover {
    background-color: #7EB547;
    border: 0;
    color: #fff;
}

.ec-shelfRole .ec-shelfGrid__item-image {
    margin-bottom: 8px;
}

.ec-shelfRole .ec-shelfGrid .ec-shelfGrid__item img {
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(34, 34, 34, .12);
    object-fit: cover;
}

.ec-shelfRole p {
    font-size: 14px;
    font-weight: bold;
}

.ec-shelfRole .price02-default {
    align-items: center;
    display: flex;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    margin-top: 8px;
}

.ec-shelfRole .price02-default span {
    background-color: #dc3545;
    border-radius: 2px;
    color: white;
    display: inline-block;
    font-size: .8em;
    font-weight: bold;
    margin-right: 4px;
    padding: 2px 6px;
}

.ec-shelfRole form,
.ec-shelfRole .ec-productRole__btn {
    display: none;
}

.ec-productRole__description {
    margin-top: 3rem;
    line-height: 1.8;
}

.ec-productRole__profile h2 {
    font-weight: bold;
    line-height: 1.5;
}

.ec-productRole__profile h3 {
    border-bottom: 1px solid #cccccc;
    font-weight: bold;
    line-height: 1.5;
    padding-bottom: 8px;
    margin-top: 2rem;
}

.ec-productRole__profile h4 {
    font-weight: bold;
    line-height: 1.5;
    margin-top: 2rem;
}

.ec-productRole p {
    margin: 1rem 0;
}

.ec-productRole img {
    height: auto;
}

.ec-productRole table {
    border: 1px solid rgba(34,34,34,.12);
    table-layout: fixed;
    width: 100%;
    margin: 1rem 0;
}

.ec-productRole tr:not(:first-of-type) {
    border-top: 1px solid rgba(34,34,34,.12);
}

.ec-productRole th,
.ec-productRole td {
    padding: .5rem;
    text-align: center;
    font-size: 14px;
}
.ec-productRole th {
    background-color: rgba(34,34,34,.05);
    width: 30%;
}
.ec-productRole td {
    width: 70%;
    text-align: left;
}
@media (min-width: 768px) {
    .ec-productRole th,
    .ec-productRole td {
        font-size: 16px;
    }
}

.ec-productRole th:first-child,
.ec-productRole td:first-child {
    background-color: rgba(34,34,34,.12);
}

.ec-productRole th:not(:first-child),
.ec-productRole td:not(:first-child) {
    border-left: 1px solid rgba(34,34,34,.12);
}

.ec-orderDelivery .ec-orderDelivery__actions + .ec-orderDelivery__item {
    margin-top: 48px;
}

.ec-orderDelivery .ec-orderDelivery__title {
    align-items: center;
    display: flex;
    padding: 0 0 8px;
}

.ec-orderDelivery .ec-orderDelivery__change {
    align-items: center;
    display: flex;
    position: relative;
}

.ec-orderDelivery .ec-orderDelivery__change button {
    border-radius: 4px;
    font-size: .8em;
    margin-left: 16px;
    padding: 4px 16px;
}

.ec-orderDelivery .ec-orderDelivery__address {
    margin-top: 0;
}

.ec-delivery-explain-html,
#ex-regular-cycle-annotation {
    color: #DE5D50;
    font-size: .85em;
    font-weight: bold;
}

.ec-cartRole #form_cart {
    padding: 0;
}

.ec-cartRole__actions + .ec-cartRole__cart {
    margin-top: 3rem;
}

.ec-cartRow__classCategorySP,
.ec-cartRow__amountSP {
    display: none !important;
}

.yukite-Col_Item:last-of-type {
    margin-top: 30px;
}

.yukite-Products {
    margin: 60px auto;
}

.yukite-Products_SubTitle {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 4px;
    text-align: center;
}

.yukite-Products .ec-secHeading {
    margin-bottom: 2rem;
}

.yukite-Products .ec-shelfRole {
    padding: 0;
}

.yukite-Products .ec-shelfGrid {
    margin-bottom: 0;
}

.yukite-Products_More {
    text-align: center;
}

.yukite-Products_More a {
    background-color: #222222;
    border: 1px solid #222222;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    padding: 1rem 2rem;
    text-align: center;
}

.yukite-Products_More a:hover {
    background-color: transparent;
    color: #222222;
}

.yukite-Shop {
    margin-top: 50px;
}

.yukite-Shop_SubTitle {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.yukite-Shop_Title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.yukite-Shop_Info {
    margin-top: 1rem;
    padding: .5rem;
}

.yukite-Shop table {
    table-layout: fixed;
    width: 100%;
}

.yukite-Shop th,
.yukite-Shop td {
    padding: .5rem;
    vertical-align: top;
    font-size: 14px;
}

.yukite-Shop th {
    width: 25%;
}

.yukite-Shop td {
    width: 75%;
}

.yukite-Shop_Info {
    border: 1px solid rgba(34, 34, 34, .12);
}

.yukite-Shop_More {
    margin-top: 1rem;
}

.yukite-Shop_More a {
    background-color: #222222;
    border: 1px solid #222222;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    padding: 1rem 2rem;
    text-align: center;
}

.yukite-Shop_More a:hover {
    background-color: transparent;
    color: #222222;
}

.yukite-Faq {
    margin: 0 auto;
    max-width: 900px;
}

.yukite-Faq .h2 {
    margin-top: 30px;
}

.yukite-Faq p {
    line-height: 1.7;
}

@media (max-width: 767px) {
    .yukite-Faq .h2 {
        font-size: 16px;
    }

    .yukite-Faq p {
        font-size: 14px;
    }
}

.yukite-Banner {
    margin-top: 50px;
}

.yukite-Banner_Item {
    margin: 0 auto;
    max-width: 640px;
}

.yukite-Banner_Item:not(:first-of-type) {
    margin-top: 30px;
}

.yukite-Banner_Item a:hover {
    opacity: .5;
}

@media (max-width: 767px) {
    .ec-categoryNaviRole .ec-itemNav__nav {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .ec-categoryNaviRole .ec-itemNav__nav li {
        border: 1px solid #222222;
        border-radius: 4px;
        line-height: 1;
        overflow: hidden;
        width: auto;
    }

    .ec-categoryNaviRole .ec-itemNav__nav li a {
        font-size: 14px;
        padding: .5rem;
    }

}

@media (min-width: 768px) {
    .ec-categoryNaviRole .ec-itemNav__nav {
        justify-content: center;
    }

    .ec-shelfRole p {
        font-size: 16px;
    }

    .ec-shelfRole .price02-default {
        font-size: 16px;
    }

    .yukite-Col {
        display: flex;
        flex-wrap: nowrap;
    }

    .yukite-Col_Item {
        flex: 1;
    }

    .yukite-Col_Item:last-of-type {
        margin: 0;
        margin-left: 30px;
    }

    .yukite-Products {
        margin: 80px auto;
    }

}

@media screen and (max-width: 767px) {
    .ec-cartRow .ec-cartRow__summary .ec-cartRow__sutbtotalSP {
        display: none;
    }

    .ec-cartRow .ec-cartRow__name,
    .ec-cartRow .ec-cartRow__unitPrice {
        font-size: 12px;
    }

    .ec-cartRow .ec-cartRow__name a {
        font-size: 14px;
    }

    .ec-cartRow .ec-cartRow__img {
        width: 25%;
    }

    .ec-cartRow .ec-cartRow__amountColumn {
        width: 15%;
    }

    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpDown {
        flex-direction: column-reverse;
    }

    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpDown > :first-of-type {
        margin-top: 8px;
    }

}

@media screen and (max-width:767px) {
    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow {
        display: block;
        padding: 0;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow li {
        align-items: center;
        border: 0;
        display: flex;
        width: 100%;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow li:not(:first-of-type) {
        margin-top: 1rem;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow .ec-cartRow__img {
        width: 120px;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow__summary {
        flex: 1;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow__classCategoryColumn,
    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow__amountColumn,
    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow__subtotalColumn {
        justify-content: end;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow select,
    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow input {
        margin: 0;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow input {
        height: auto;
        width: 100px;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity form select {
        font-size: 14px;
        height: auto;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow__classCategoryColumn::before {
        content: '種類：';
        font-weight: bold;
        margin-right: .5rem;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow__amountColumn::before {
        content: '数量：';
        font-weight: bold;
        margin-right: .5rem;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRow__subtotalColumn::before {
        content: '小計：';
        font-weight: bold;
        margin-right: .5rem;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity .ec-cartRole {
        padding: 0;
    }

    #page_eccube_payment_lite42_mypage_regular_product_quantity #regular_delivery {
        border-top: 1px dotted #ccc;
    }

}

@media screen and (min-width: 768px) {
    .ec-off3Grid .ec-off3Grid__cell {
        margin: 0 auto;
        width: 60%;
    }

}

/* ご利用ガイドページ */
#page_user_data h1,
#page_help_guide h1 {
    margin-left: 0;
    margin-right: 0;
    font-size: 2rem;
    border-top: 0;
}
#page_user_data h2,
#page_user_data h3 {
    font-weight: bold;
    margin-top: 3rem;
}
#page_user_data p,
#page_help_guide p {
    margin: 1rem 0;
    line-height: 1.8;
}
#page_user_data dl,
#page_help_guide dl {
    margin: 3rem 0;
}
#page_user_data dt,
#page_help_guide dt {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
#page_user_data table,
#page_help_guide table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dddddd;
    margin: 1rem 0;
}
#page_user_data th,
#page_user_data td,
#page_help_guide th,
#page_help_guide td {
    text-align: center;
    line-height: 1.8;
    word-break: break-all;
    font-size: 14px;
}
@media screen and (min-width: 768px) {
    #page_user_data th,
    #page_user_data td,
    #page_help_guide th,
    #page_help_guide td {
        font-size: 16px;
    }
}

#page_user_data tr:not(:first-child),
#page_help_guide tr:not(:first-child) {
    border-top: 1px solid #dddddd;
}
#page_user_data th:not(:first-child),
#page_user_data td:not(:first-child),
#page_help_guide th:not(:first-child),
#page_help_guide td:not(:first-child) {
    border-left: 1px solid #dddddd;
}

#page_user_data table:not(#postage) th,
#page_user_data table:not(#postage) td,
#page_help_guide table:not(#postage) th,
#page_help_guide table:not(#postage) td {
    padding: 1rem;
}
#page_user_data table:not(#postage) th,
#page_help_guide table:not(#postage) th {
    width: 30%;
    background-color: rgba(34,34,34,.05);
}
#page_user_data table:not(#postage) td,
#page_help_guide table:not(#postage) td {
    width: 70%;
    text-align: left;
}

/* 送料テーブル */
#page_help_guide #postage {
    width: auto;
    white-space: nowrap;
    min-width: 100%;
}
#page_help_guide #postage th,
#page_help_guide #postage td {
    padding: .5rem;
}
#page_help_guide #postage tr:first-of-type {
    background-color: rgba(34,34,34,.12);
}
#page_help_guide #postage tr:nth-of-type(2) {
    background-color: rgba(34,34,34,.05);
    border: 0;
}
#page_help_guide #postage tr:nth-of-type(2) th {
    font-weight: normal;
}

/* スマホで横スクロールを可能にする */
.table-wrap {
  width: 100%;              /* 横幅いっぱい */
  overflow-x: auto;         /* 横スクロールを許可 */
  -webkit-overflow-scrolling: touch; /* iOSで慣性スクロール */
}

/* 新規会員登録の職業欄を非表示 */
#page_entry .ec-borderedDefs dl:last-of-type {
    display: none;
}

/* カート画面のスマホ表示の数量変更 */
@media screen and (max-width: 767px) {
    #page_cart .ec-cartRow {
        display: flex;
        padding-left: 0;
        margin: 0;
    }
    #page_cart .ec-cartRow__delColumn {
        display: flex;
        align-items: center;
        width: 60px;
        padding-right: 4px;
    }
    #page_cart .ec-cartRow__amountColumn {
        width: 20%;
        display: flex;
        align-items: center;
    }
    #page_cart .ec-cartRow__amount {
        display: inline-flex;
        margin: 0;
        margin-right: 8px;
    }
    #page_cart .ec-cartRow__amountUpDown {
        display: inline-flex;
        margin: 0;
    }
    #page_cart .ec-cartRow__amountDownButton {
        margin-top: 4px;
    }
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpButton,
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButton,
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled {
        width: 24px;
        min-width: 24px;
        max-width: 24px;
        height: 24px;
        line-height: 24px;
        border-width: 1px;
        margin: 0;
    }
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButton .ec-cartRow__amountDownButton__icon img,
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountDownButtonDisabled .ec-cartRow__amountDownButton__icon img,
    .ec-cartRow .ec-cartRow__amountColumn .ec-cartRow__amountUpButton .ec-cartRow__amountUpButton__icon img {
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 12px;
        height: 12px;
    }
}