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

    /******************************/
    /* SLIDER */
    /******************************/
    @media screen and (max-width: 1030px) {
        .slider {
            margin-left: -20px;
            margin-right: -20px;
            position: relative;
        }
    }
    #slider div {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    #slider > div {
        display: none;
    }
    .bx-viewport #slider > div {
        display: block;
    }
    .bx-wrapper {
        z-index: 0;
    }
    .bx-wrapper img {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }
    .bx-wrapper .bx-viewport {
        box-shadow: none !important;
        border: 0 !important;
        left: 0 !important;
    }
    .bx-wrapper .bx-pager {
        bottom: -27px !important;
    }
    .bx-wrapper .bx-pager.bx-default-pager a {
        margin: 0 6px !important;
        width: 10px !important;
        height: 10px !important;
        background: #cccccc !important;
        border-radius: 50% !important;
    }
    .bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {
        background: #9f4b4d !important;
    }

    /*メインエリア*/

    div.top_big_banner {
        margin: 0 auto;
    }

    div.top_big_banner img {
        border-radius: 20px;
    }

    div.top_headline {
        margin: 60px auto 32px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    div.top_headline_title {
        margin: 0;
        width: 160px;
        background: var(--primary-color);
        border-radius: 20px 0 0 20px;
    }

    div.top_headline_title h2 {
        margin: 0 auto;
        color: #ffffff;
        font-size: 1.8rem;
        line-height: 40px;
        font-weight: 500;
        text-align: center;
    }

    div.top_headline_content {
        margin: 0;
        width: calc(100% - 160px);
        background: #f4ede2;
        border-radius: 0 20px 20px 0;
        overflow: hidden;
        position: relative;
    }

    div.top_headline_content ul {
        margin: 0 20px;
        padding: 0;
        position: absolute;
        width: calc(100% - 40px);
    }

    div.top_headline_content ul li {
        margin: 0 auto;
        font-size: 1.4rem;
        line-height: 40px;
        list-style: none;
        opacity: 0;
        position: absolute;
        width: 100%;
        transition: opacity 0.5s ease-in-out;
        pointer-events: none; /* 初期状態ではクリックイベントを無効化 */
    }

    div.top_headline_content ul li.active {
        opacity: 1;
        pointer-events: auto; /* 表示中の項目のみクリックイベントを有効化 */
        z-index: 1; /* 表示中の項目を最前面に */
    }

    div.top_headline_content ul li a {
        text-decoration: none;
    }

    div.top_headline_content ul li a:hover {
        text-decoration: underline;
    }

    div.title_top_category {
        margin: 0 auto 25px;
        padding: 0 0 60px;
        background: url(https://file001.shop-pro.jp/PA01514/180/images/top/bg_top_title_long_pc.png) center bottom no-repeat;
        background-size: 900px;
    }

    div.title_top_category h2 {
        margin: 0 auto;
        font-size: 2.1rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
        position: relative;
	}

	div.title_top_category h2::after {
		content: "Category";
		color: #999999;
		font-size: 1.2rem;
		line-height: 1.2rem;
		letter-spacing: 0.12em;
		font-weight: 500;
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		z-index: 1;
	}

    div.top_category {
        margin: 0 auto 60px;
        width: 100%;
    }

    div.top_category ul {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    div.top_category ul li {
        margin: 0;
        width: 16%;
    }

    div.top_category ul li img {
        width: 100%;
        height: auto;
    }

    div.top_category ul li p {
        margin: 10px auto 0;
        font-size: 1.8rem;
        line-height: 2.5rem;
        font-weight: 500;
        text-align: center;
    }

    div.top_category ul li p a {
        text-decoration: none;
    }

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

    div.top_banner ul {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    div.top_banner ul li {
        margin: 0;
        width: 48%;
    }

    div.top_banner ul li img {
        width: 100%;
        height: auto;
    }

    div.title_top_selling {
        margin: 0 auto 25px;
        padding: 0 0 60px;
        background: url(https://file001.shop-pro.jp/PA01514/180/images/top/bg_top_title_long_pc.png) center bottom no-repeat;
        background-size: 900px;
    }

    div.title_top_selling h2 {
        margin: 0 auto;
        font-size: 2.1rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
        position: relative;
	}

	div.title_top_selling h2::after {
		content: "Top selling product";
		color: #999999;
		font-size: 1.2rem;
		line-height: 1.2rem;
		letter-spacing: 0.12em;
		font-weight: 500;
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		z-index: 1;
	}

    div.title_top_recommend {
        margin: 0 auto 25px;
        padding: 0 0 60px;
        background: url(https://file001.shop-pro.jp/PA01514/180/images/top/bg_top_title_long_pc.png) center bottom no-repeat;
        background-size: 900px;
    }

    div.title_top_recommend h2 {
        margin: 0 auto;
        font-size: 2.1rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
        position: relative;
	}

	div.title_top_recommend h2::after {
		content: "Recommended products";
		color: #999999;
		font-size: 1.2rem;
		line-height: 1.2rem;
		letter-spacing: 0.12em;
		font-weight: 500;
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		z-index: 1;
	}

    div.title_new_item {
        margin: 0 auto 25px;
        padding: 0 0 60px;
        background: url(https://file001.shop-pro.jp/PA01514/180/images/top/bg_top_title_long_pc.png) center bottom no-repeat;
        background-size: 900px;
    }

    div.title_new_item h2 {
        margin: 0 auto;
        font-size: 2.1rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
        position: relative;
	}

	div.title_new_item h2::after {
		content: "New product";
		color: #999999;
		font-size: 1.2rem;
		line-height: 1.2rem;
		letter-spacing: 0.12em;
		font-weight: 500;
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		z-index: 1;
	}

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

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

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

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

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

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

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

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

}

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

    /******************************/
    /* SLIDER */
    /******************************/
    .slider {
        margin-left: 0;
        margin-right: 0;
        position: relative;
    }

    #slider div {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    #slider > div {
        display: none;
    }
    .bx-viewport #slider > div {
        display: block;
    }
    .bx-wrapper {
        z-index: 0;
    }
    .bx-wrapper img {
        width: 100%;
        height: auto;
    }
    .bx-wrapper .bx-viewport {
        box-shadow: none !important;
        border: 0 !important;
        left: 0 !important;
    }
    .bx-wrapper .bx-pager {
        bottom: -27px !important;
    }
    .bx-wrapper .bx-pager.bx-default-pager a {
        margin: 0 6px !important;
        width: 10px !important;
        height: 10px !important;
        background: #cccccc !important;
        border-radius: 50% !important;
    }
    .bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {
        background: #9f4b4d !important;
    }

    /*メインエリア*/

    div.top_big_banner {
        margin: 0 auto;
    }

    div.top_headline {
        margin: 60px auto 32px;
        width: 90%;
    }

    div.top_headline_title {
        margin: 0 auto;
        width: 100%;
        background: var(--primary-color);
        border-radius: 20px 20px 0 0;
    }

    div.top_headline_title h2 {
        margin: 0 auto;
        color: #ffffff;
        font-size: 1.8rem;
        line-height: 40px;
        font-weight: 500;
        text-align: center;
    }

    div.top_headline_content {
        margin: 0 auto;
        width: 100%;
        height: 40px;
        background: #f4ede2;
        border-radius: 0 0 20px 20px;
        overflow: hidden;
        position: relative;
    }

    div.top_headline_content ul {
        margin: 0 20px;
        padding: 0;
        position: absolute;
        width: calc(100% - 40px);
    }

    div.top_headline_content ul li {
        margin: 0 auto;
        font-size: 1.4rem;
        line-height: 40px;
        list-style: none;
        opacity: 0;
        position: absolute;
        width: 100%;
        transition: opacity 0.5s ease-in-out;
        pointer-events: none; /* 初期状態ではクリックイベントを無効化 */
    }

    div.top_headline_content ul li.active {
        opacity: 1;
        pointer-events: auto; /* 表示中の項目のみクリックイベントを有効化 */
        z-index: 1; /* 表示中の項目を最前面に */
    }

    div.top_headline_content ul li a {
        text-decoration: none;
    }

    div.top_headline_content ul li a:hover {
        text-decoration: underline;
    }

    div.title_top_category {
        margin: 0 auto 25px;
        padding: 0 0 60px;
        width: 94%;
        background: url(https://file001.shop-pro.jp/PA01514/180/images/top/bg_top_title_long_pc.png) center bottom no-repeat;
        background-size: 900px;
    }

    div.title_top_category h2 {
        margin: 0 auto;
        font-size: 2.1rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
        position: relative;
	}

	div.title_top_category h2::after {
		content: "Category";
		color: #999999;
		font-size: 1.2rem;
		line-height: 1.2rem;
		letter-spacing: 0.12em;
		font-weight: 500;
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		z-index: 1;
	}

    div.top_category {
        margin: 0 auto 60px;
        width: 94%;
    }

    div.top_category ul {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    div.top_category ul li {
        margin: 0 0 20px 5%;
        width: 30%;
    }

    div.top_category ul li:nth-child(1) {
        margin: 0 0 20px 0;
        width: 30%;
    }

    div.top_category ul li:nth-child(4) {
        margin: 0 0 20px 17.5%;
        width: 30%;
    }

    div.top_category ul li img {
        width: 100%;
        height: auto;
    }

    div.top_category ul li p {
        margin: 10px auto 0;
        font-size: 1.6rem;
        line-height: 2.5rem;
        font-weight: 500;
        text-align: center;
    }

    div.top_category ul li p a {
        text-decoration: none;
    }

    div.top_banner {
        margin: 0 auto 40px;
        width: 94%;
    }

    div.top_banner ul {
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    div.top_banner ul li {
        margin: 0 auto 20px;
        width: 100%;
    }

    div.top_banner ul li:last-child {
        margin: 0 auto;
    }

    div.top_banner ul li img {
        width: 100%;
        height: auto;
    }

    div.title_top_selling {
        margin: 0 auto 25px;
        padding: 0 0 60px;
        width: 94%;
        background: url(https://file001.shop-pro.jp/PA01514/180/images/top/bg_top_title_long_pc.png) center bottom no-repeat;
        background-size: 900px;
    }

    div.title_top_selling h2 {
        margin: 0 auto;
        font-size: 2.1rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
        position: relative;
	}

	div.title_top_selling h2::after {
		content: "Top selling product";
		color: #999999;
		font-size: 1.2rem;
		line-height: 1.2rem;
		letter-spacing: 0.12em;
		font-weight: 500;
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		z-index: 1;
	}

    div.title_top_recommend {
        margin: 0 auto 25px;
        padding: 0 0 60px;
        width: 94%;
        background: url(https://file001.shop-pro.jp/PA01514/180/images/top/bg_top_title_long_pc.png) center bottom no-repeat;
        background-size: 900px;
    }

    div.title_top_recommend h2 {
        margin: 0 auto;
        font-size: 2.1rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
        position: relative;
	}

	div.title_top_recommend h2::after {
		content: "Recommended products";
		color: #999999;
		font-size: 1.2rem;
		line-height: 1.2rem;
		letter-spacing: 0.12em;
		font-weight: 500;
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		z-index: 1;
	}

    div.title_new_item {
        margin: 0 auto 25px;
        padding: 0 0 60px;
        width: 94%;
        background: url(https://file001.shop-pro.jp/PA01514/180/images/top/bg_top_title_long_pc.png) center bottom no-repeat;
        background-size: 900px;
    }

    div.title_new_item h2 {
        margin: 0 auto;
        font-size: 2.1rem;
        line-height: 2.7rem;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-align: center;
        position: relative;
	}

	div.title_new_item h2::after {
		content: "New product";
		color: #999999;
		font-size: 1.2rem;
		line-height: 1.2rem;
		letter-spacing: 0.12em;
		font-weight: 500;
		position: absolute;
		top: 32px;
		left: 0;
		right: 0;
		z-index: 1;
	}

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

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

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

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

    div.top_item_box p.item_name {
        margin: 12px auto 0;
        font-size: 1.4rem;
        line-height: 2.3rem;
        font-weight: 500;
    }

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

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

    div.top_item_box p.price {
        margin: 5px auto 0;
        font-size: 1.4rem;
        line-height: 2.1rem;
        font-weight: 400;
    }

}