/* ---------- ヘッダー ---------- */

.item_page_header {
    padding-bottom: 6rem;
}

.item_page_heading {
    font-size: 2.4rem;
    line-height: 1.4;
}

/* ---------- 商品ページメイン ---------- */

.item_main_container {
    position: relative;
}

.item_img_container,
.item_detail {
    width: 66%;
}

/* ----- 画像 ----- */

.item_img_main_container {
    width: 100%;
}

.item_img_main img {}

.item_img_main .slick-prev,
.item_img_main .slick-next {
    font-size: 0;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: 0.5s ease-out;
    z-index: 1;
}

.item_img_main .slick-prev {
    left: 24px;
}

.item_img_main .slick-next {
    right: 24px;
}

.item_img_main .slick-prev:before,
.item_img_main .slick-next:before {
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 24px !important;
    height: 24px !important;
    content: "";
    position: absolute;
    transition: 0.5s ease-out;
    z-index: 1;
    filter: drop-shadow(2px 2px 4px #999);
}

.item_img_main .slick-prev:before {
    transform: rotate(-45deg);
    left: 0;
}

.item_img_main .slick-next:before {
    transform: rotate(135deg);
    right: 0;
}

.item_img_main .slick-track {
    display: flex;
    align-items: center;
}

.item_img_main_item {
    text-align: center;
}

.item_img_thumb_list {
    margin: 1.2rem -.7% 0;
}

.item_img_thumb_item {
    width: calc(100% / 6);
    padding: 0 .7% 1.4%;
    transition: 0.5s ease-out;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item_img_thumb_img {
    position: relative;
}

.is-current .item_img_thumb_img::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: #E2DCC8 3px solid;
    z-index: 1;
    content: "";
}

/* ----- 本文 ----- */

.item_detail_body {
    font-size: 1.6rem;
    line-height: 2;
    text-align: justify;
    margin-top: 7.2rem;
}

.item_detail_body * + * {
    margin-top: 3.2rem;
}

.item_detail_body a {
    text-decoration: underline;
}

.item_detail_body img {
    display: block;
}

.item_detail_kenri{
    margin-top: 8rem;
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: justify;
    color: #838383;
}

/* ---------- カートサイド ---------- */

.item_side_container {
    width: 34%;
    padding-left: 8%;
    position: absolute;
    top: 0;
    right: 0;
}


/* ----- カート ----- */

.item_cart_container {}


.item_cart_price_container {
    padding-bottom: 4rem;
}

.item_cart_price_discount,
.item_cart_price_regular {
    font-size: 2rem;
}

.item_cart_price_before_discount {
    padding-top: 1.4rem;
    font-size: 1.4rem;
    color: #838383;
}

/* オプション */

.item_option_container {
    padding-bottom: 2.8rem;
}

.item_option_heading {
    font-size: 1.4rem;
    padding-bottom: .8rem;
}

.item_option_select {
    width: 100%;
    height: 3.6rem;
    border-radius: 0;
    border: 1px solid #2f2f2f;
}

.item_option_select:focus,
.item_option_select:focus-visible {
    border: none;
}

/* 数量 */

.item_cart_form_stock {
    padding-bottom: 5.2rem;
}

.item_cart_form_input {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.item_cart_form_input_text {
    font-size: 1.4rem;
    padding-right: 2rem;
}

.item_cart_form_input input {
    text-align: center;
    width: 6.4rem;
    height: 4rem;
    background: none;
    border-bottom: 1px solid;
    font-size: 1.8rem;
    border-radius: 0;
}

.number_cotroler_container {
    margin-left: 1.6rem;
}

.number_cotroler {
    font-size: 0;
    padding: 2px;
    display: block;
}

.number_cotroler_up::before,
.number_cotroler_down::before {
    border-left: 1px solid;
    border-top: 1px solid;
    width: 8px !important;
    height: 8px !important;
    content: "";
    display: block;
}

.number_cotroler_up::before {
    transform: rotate(45deg);
}

.number_cotroler_down::before {
    transform: rotate(225deg);
}

.item_cart_form_stock_number {
    font-size: 1.3rem;
}

/* カートボタン */
.item_cart_form_button {
    font-weight: 700;
}

.cart_in_button_soldout {
    padding: 0;
}

.cart_in_button {
    background: #78BDC1;
    color: #fff;
    width: 100%;
    height: 6rem;
    font-size: 2rem;
    text-align: center;
}

.cart_in_button:hover {
    background: #639fa3;
}

.cart_in_button_soldout,
.cart_in_button_off {
    font-size: 1.6rem;
    color: #444;
}

/*リンク*/
.item_link_container {
    margin-top: 7.2rem;
    margin-bottom: 3.2rem;
}

.item_link_heading {
    font-size: 2rem;
}

.item_link_list {
    padding: 2.8rem 0 5rem;
    border-bottom: 1px dotted #ccc;
}

.item_link_item + .item_link_item {
    padding-top: 1.8rem;
}

.item_link_link {
    position: relative;
    padding-left: 1.6rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

.item_link_link::before {
    position: absolute;
    top: .2rem;
    bottom: 0;
    left: 0;
    content: url(https://s-h-i-m-a.jp/cms/wp-content/themes/shima_2024/img/arrow_s.svg);
    width: .5rem;
    height: 1rem;
    margin: auto;
}

.item_link_contact {
    align-items: center;
}

.item_link_contact svg {
    width: 2.7rem;
    padding-right: .6rem;
}

.item_link_contact span {
    width: calc(100% - 2.7rem);
}

/* ----- エラー ----- */

.item_error_statement {
    text-align: center;
    font-size: 1.6rem;
}


/*----------------------------------------------------

PCのみ

----------------------------------------------------*/

@media screen and (max-width: 999px) and (min-width: 768px) {
    .item_side_container {
        padding-left: 6%;
    }
}


/*----------------------------------------------------

スマートフォンのみ

----------------------------------------------------*/

@media screen and (max-width: 767px) {
    /* ---------- ヘッダー ---------- */

    .item_page_header {
        padding-bottom: 3.6rem;
    }

    .item_page_heading {
        font-size: 2rem;
    }

    /* ---------- 商品ページメイン ---------- */

    .item_img_container,
    .item_detail {
        width: 100%;
    }

    /* ----- 画像 ----- */
    .item_img_main .slick-prev,
    .item_img_main .slick-next {
        width: 3.6rem;
        height: 3.6rem;
    }

    .item_img_main .slick-prev {
        left: 1.2rem;
    }

    .item_img_main .slick-next {
        right: 1.2rem;
    }

    .item_img_main .slick-prev:before,
    .item_img_main .slick-next:before {
        width: 2rem !important;
        height: 2rem !important;
    }

    .item_img_thumb_list {
        margin: 1rem -.5% 0;
    }

    .item_img_thumb_item {
        width: calc(100% / 4);
        padding: 0 .5% 1%;
    }

    /* ----- 本文 ----- */

    .item_detail_body {
        font-size: 1.5rem;
        margin-top: 5.2rem;
    }

    .item_detail_body * + * {
        margin-top: 2.4rem;
    }

    .item_detail_kenri{
        margin-top: 5rem;
        font-size: 1.1rem;
    }

    /* ---------- カートサイド ---------- */

    .item_side_container {
        width: 100%;
        padding-left: 0;
        position: relative;
        top: unset;
        right: unset;
    }

    /* ----- カート ----- */

    .item_cart_container {
        border-top: 1px dotted #ccc;
        padding-top: 4rem;
        margin-top: 6rem;
    }

    .item_cart_price_container {
        padding-bottom: 3.2rem;
    }

    .item_cart_price_discount,
    .item_cart_price_regular {
        font-size: 1.9rem;
    }

    .item_cart_price_before_discount {
        padding-top: 1rem;
        font-size: 1.3rem;
        color: #838383;
    }

    /* オプション */

    .item_option_container {
        padding-bottom: 2.4rem;
    }

    .item_option_heading {
        font-size: 1.4rem;
        padding-bottom: .6rem;
    }

    .item_option_select {
        height: 3.2rem;
    }

    /* 数量 */

    .item_cart_form_stock {
        padding-bottom: 4rem;
    }

    .item_cart_form_input_text {
        font-size: 1.3rem;
        padding-right: 1.4rem;
    }

    .item_cart_form_input input {
        height: 3.6rem;
        font-size: 1.7rem;
    }

    .number_cotroler_container {
        margin-left: 1.2rem;
    }

    .item_cart_form_stock_number {
        font-size: 1.3rem;
    }

    /* カートボタン */
    .cart_in_button {
        height: 5.6rem;
        font-size: 1.9rem;
    }

    .cart_in_button svg {
        width: 1.8rem;
    }

    .cart_in_button_soldout,
    .cart_in_button_off {
        font-size: 1.6rem;
    }

    /*リンク*/
    .item_link_container {
        margin-top: 4.8rem;
        margin-bottom: 2.8rem;
    }

    .item_link_heading {
        font-size: 1.8rem;
    }

    .item_link_list {
        padding: 2rem 0 4rem;
    }

    .item_link_item + .item_link_item {
        padding-top: 1.6rem;
    }

    .item_link_link {
        padding-left: 1.4rem;
        font-size: 1.4rem;
    }

    /* ----- エラー ----- */

    .item_error_statement {
        font-size: 1.5rem;
    }


}
