@media screen and (min-width: 768px) {

    div.item_title {
        margin: 0 auto 20px;
    }

    div.item_title h2 {
        margin: 0 auto;
        padding: 0 40px;
        background: #000000 url(https://file001.shop-pro.jp/PA01518/602/images/common/h2bg.jpg) left center repeat;
        background-size: 108px;
        color: #ffffff;
        font-size: 2.0rem;
        line-height: 50px;
        font-weight: 700;
        text-align: left;
        border-radius: 10px;
    }

    div.item_detail_main {
        margin: 0 auto 50px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    div.item_detail_photos {
        margin: 0;
        width: 46%;
    }

    div.item_detail_photos img {
        width: 100%;
        height: auto;
    }

    div.item_detail_content {
        margin: 0;
        width: 48%;
    }

    div.product_info {
        margin: 0 auto 15px;
        width: 100%;
        font-size: 2.1rem;
        line-height: 2.8rem;
        font-weight: 700;
    }

    div.product_cart {
        margin: 0 auto 40px;
        width: 100%;
    }

    div.p-product-form {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    div.p-product-form-stock {
        margin: 0;
        width: 128px;
    }

    div.p-product-form-stock__input input {
        margin: 0 0 0 0;
        padding: 1em 20px;
        background-color: #fff;
		color: #333;
		width: 100%;
		font-size: 1.6rem;
		border-radius: 4px;
        text-align: center;
		box-shadow: 1px 1px 3px rgba(0,0,0,.1) inset;
        border: 1px solid #ddd;
    }

    div.p-product-form-btn {
        margin: 0;
        width: 240px;
    }

    div.p-product-form-btn button {
        margin: 0 auto;
        width: 100%;
        font-family: "Noto Serif JP", serif;
        background: #000000;
        color: #ffffff;
        font-size: 1.8rem;
        line-height: 50px;
        font-weight: 700;
        text-align: center;
        border-radius: 25px;
        display: block;
    }

    div.p-product-form-btn button.is-disabled, div.p-product-form-btn button.is-soldout {
        background: #959595;
        color: #ffffff;
    }

    div.back_to_list {
        margin: 0 auto;
        width: 240px;
    }

    div.back_to_list a {
        margin: 0 auto;
        background: #000000;
        color: #ffffff;
        font-size: 1.8rem;
        line-height: 50px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        display: block;
        border-radius: 25px;;
    }

}

/* スマホここから */
@media only screen and (max-width: 767px) {

    div.item_title {
        margin: 0 auto 20px;
        width: 90%;
    }

    div.item_title h2 {
        margin: 0 auto;
        padding: 12px 20px;
        background: #000000 url(https://file001.shop-pro.jp/PA01518/602/images/common/h2bg.jpg) left center repeat;
        background-size: 108px;
        color: #ffffff;
        font-size: 2.0rem;
        line-height: 2.7rem;
        font-weight: 700;
        text-align: left;
        border-radius: 10px;
    }

    div.item_detail_main {
        margin: 0 auto 50px;
        width: 90%;
    }

    div.item_detail_photos {
        margin: 0 auto 30px;
        width: 100%;
    }

    div.item_detail_photos img {
        width: 100%;
        height: auto;
    }

    div.item_detail_content {
        margin: 0 auto;
        width: 100%;
    }

    div.product_info {
        margin: 0 auto 15px;
        width: 100%;
        font-size: 2.1rem;
        line-height: 2.8rem;
        font-weight: 700;
    }

    div.product_cart {
        margin: 0 auto 40px;
        width: 100%;
    }

    div.p-product-form {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    div.p-product-form-stock {
        margin: 0;
        width: calc(100% - 260px);
    }

    div.p-product-form-stock__input input {
        margin: 0 0 0 0;
        padding: 1em 20px;
        background-color: #fff;
		color: #333;
		width: 100%;
		font-size: 1.6rem;
		border-radius: 4px;
        text-align: center;
		box-shadow: 1px 1px 3px rgba(0,0,0,.1) inset;
        border: 1px solid #ddd;
    }

    div.p-product-form-btn {
        margin: 0;
        width: 240px;
    }

    div.p-product-form-btn button {
        margin: 0 auto;
        width: 100%;
        font-family: "Noto Serif JP", serif;
        background: #000000;
        color: #ffffff;
        font-size: 1.8rem;
        line-height: 50px;
        font-weight: 700;
        text-align: center;
        border-radius: 25px;
        display: block;
    }

    div.p-product-form-btn button.is-disabled, div.p-product-form-btn button.is-soldout {
        background: #959595;
        color: #ffffff;
    }

    div.back_to_list {
        margin: 0 auto;
        width: 240px;
    }

    div.back_to_list a {
        margin: 0 auto;
        background: #000000;
        color: #ffffff;
        font-size: 1.8rem;
        line-height: 50px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        display: block;
        border-radius: 25px;;
    }

}