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

    div.p-category-free {
        margin: 0 auto 40px;
        padding: 10px 0 20px;
        border-bottom: 1px dotted #333333;
    }

    div.p-category-free h3 {
        margin: 0 auto 15px;
		padding: 10px 20px;
		font-size: 1.8rem;
		line-height: 3.0rem;
        font-weight: 700;
		border-top: 1px dotted #333333;
		border-bottom: 1px dotted #333333;
    }

    div.otameshi_content {
        margin: 0 auto 40px;
    }

    div.title_item_list {
        margin: 0 auto 15px;
        width: 100%;
    }

    div.title_item_list 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.title_item_list p {
        margin: 0 auto;
        font-size: 1.4rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
	}

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

    div.item_list_number {
        margin: 0 auto;
        width: 50%;
        text-align: left;
    }

    div.item_list_number p {
        margin: 0 auto;
        font-size: 1.4rem;
        line-height: 25px;
    }

    div.item_list_sort {
        margin: 0 auto;
        width: 50%;
        text-align: right;
    }

    div.item_list_sort ul {
        margin: 0;
    }

    div.item_list_sort ul li {
        margin: 0 0 0 0;
        padding: 0 10px;
        font-size: 1.4rem;
        line-height: 25px;
        border-right: 1px solid #333333;
        display: inline-block;
    }

    div.item_list_sort ul li:first-child {
        border-left: 1px solid #333333;
    }

    div.item_content {
        margin: 0 auto 15px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    div.item_box {
        margin: 0 0 30px 4%;
        width: 22%;
    }

    div.item_box:nth-child(4n+1) {
        margin: 0 0 30px;
    }

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

    div.item_box p.item_name {
        margin: 16px auto 0;
        font-size: 1.6rem;
        line-height: 2.4rem;
        font-weight: 500;
    }

    div.item_box p.item_name a {
        text-decoration: none;
    }

    div.item_box p.item_name a:hover {
        text-decoration: underline;
    }

    div.item_box p.price {
        margin: 10px auto 0;
        font-size: 1.6rem;
        line-height: 2.4rem;
        font-weight: 400;
    }

    div.item_not_found {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }

    div.list_explain {
        margin: 20px auto 0;
        width: 100%;
        font-size: 1.2rem;
        line-height: 2.1rem;
        text-align: left;
    }

    div.category_image {
        margin: 0 auto 20px;
        width: 100%;
    }

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

}

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

    div.p-category-free {
        margin: 0 auto 40px;
        padding: 10px 0 20px;
        width: 90%;
        border-bottom: 1px dotted #333333;
    }

    div.p-category-free h3 {
        margin: 0 auto 15px;
		padding: 10px 20px;
		font-size: 1.8rem;
		line-height: 3.0rem;
        font-weight: 700;
		border-top: 1px dotted #333333;
		border-bottom: 1px dotted #333333;
    }

    div.otameshi_content {
        margin: 0 auto 40px;
    }

    div.title_item_list {
        margin: 0 auto 15px;
        width: 90%;
    }

    div.title_item_list 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.title_item_list p {
        margin: 0 auto;
        font-size: 1.4rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
	}

    div.item_list_sort_area {
        margin: 0 auto 30px;
        width: 90%;
        display: flex;
        justify-content: space-between;
    }

    div.item_list_number {
        margin: 0 auto;
        width: 30%;
        text-align: left;
    }

    div.item_list_number p {
        margin: 0 auto;
        font-size: 1.4rem;
        line-height: 25px;
    }

    div.item_list_sort {
        margin: 0 auto;
        width: 70%;
        text-align: right;
    }

    div.item_list_sort ul {
        margin: 0;
    }

    div.item_list_sort ul li {
        margin: 0 0 0 0;
        padding: 0 10px;
        font-size: 1.4rem;
        line-height: 25px;
        border-right: 1px solid #333333;
        display: inline-block;
    }

    div.item_list_sort ul li:first-child {
        border-left: 1px solid #333333;
    }

    div.item_content {
        margin: 0 auto 15px;
        width: 90%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    div.item_box {
        margin: 0 0 30px 4%;
        width: 48%;
    }

    div.item_box:nth-child(2n+1) {
        margin: 0 0 30px;
    }

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

    div.item_box p.item_name {
        margin: 16px auto 0;
        font-size: 1.6rem;
        line-height: 2.4rem;
        font-weight: 500;
    }

    div.item_box p.item_name a {
        text-decoration: none;
    }

    div.item_box p.item_name a:hover {
        text-decoration: underline;
    }

    div.item_box p.price {
        margin: 10px auto 0;
        font-size: 1.6rem;
        line-height: 2.4rem;
        font-weight: 400;
    }

    div.item_not_found {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }

    div.list_explain {
        margin: 20px auto 0;
        width: 100%;
        font-size: 1.2rem;
        line-height: 2.1rem;
        text-align: left;
    }

    div.category_image {
        margin: 0 auto 20px;
        width: 100%;
    }

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

}