@charset "utf-8";

/* ========================================================
	e-commerce.css
======================================================== */

/* ph_contents
============================================================================================================ */
.ph_contents > section {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
/* 偶数番目のセクションを反転（画像+テキストの順） */
.ph_contents > section:nth-of-type(even) {
	flex-direction: row-reverse;
}
/* 偶数番目のグレー背景を左側に配置 */
.ph_contents > section:nth-of-type(even) .ph::before {
	right: auto;
	left: 0 ;
	transform: translate(20px, 20px);
}
.ph_contents h2 {
	font-size: 3.2rem;
	line-height: 1.8;
	margin-top: -5px;
    margin-bottom: 37px;
}

@media screen and (max-width: 767px) {
	.ph_contents > section {
		gap: 28px;
	}
	
	.ph_contents .ph {
		order: 2;
	}
	
	.ph_contents .content {
		order: 1;
	}

	.ph_contents h2 {
		font-size: 2.3rem;
        letter-spacing: -0.03em;
        line-height: 1.8;
        margin-bottom: 14px;
	}
}

/* e-commerce_strength
============================================================================================================ */
.e-commerce_strength {
	max-width: 1240px;
	margin: 0 auto;
	background-color: #F2F2F2;
	padding: 50px 60px;
	margin-top: 140px;
}

.e-commerce_strength h2 {
	font-size: 3.2rem;
	text-align: center;
}

.e-commerce_strength_list_wrap {
	padding-top: 20px;
}
.e-commerce_strength_list {
	display: grid;
	gap: 50px;
	grid-template-columns: repeat(3, 1fr);
}

.e-commerce_strength_list > li {
	position: relative;
	background-color: #fff;
	padding: 80px 30px 26px;
	text-align: center;
	display: flex;
	flex-direction: column;
}

.e-commerce_strength_list .num {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-block;
	border-bottom: 2px solid #000;
	font-size: 5.5rem;
	font-weight: 700;
	font-family: var(--font-family-en);
	line-height: 1;
	padding-top: 10px;
	padding-bottom: 10px;
}

.e-commerce_strength_list .icon {
	margin-bottom: 30px;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.e-commerce_strength_list .icon img {
	width: auto;
	height: auto;
}

.e-commerce_strength_list h3 {
	font-size: 2.6rem;
	font-weight: 700;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: 0;
}

.e-commerce_strength_list p {
	font-size: 1.6rem;
	text-align: left;
	flex: 1;
}

@media screen and (max-width: 767px) {
	.e-commerce_strength {
		padding: 30px var(--sp-base-padding);
		margin-top: 50px;
	}
	.e-commerce_strength h2 {
		font-size: 2.1rem;
	}
	
	.e-commerce_strength_list {
		grid-template-columns: 1fr;
	}
	
	.e-commerce_strength_list > li {
		padding: 70px 20px 30px;
	}
	
	.e-commerce_strength_list .num {
		font-size: 5rem;
		padding-top: 0;
		padding-bottom: 0;
	}
	.e-commerce_strength_list .icon {
		min-height: 0;
		margin-bottom: 26px;
	}
	.e-commerce_strength_list .icon img {
		width: 80px;
		height: auto;
	}
	.e-commerce_strength_list h3 {
		font-size: 1.9rem;
		margin-bottom: 10px;
	}
	
	.e-commerce_strength_list p {
		font-size: 1.4rem;
	}
}


/* e-commerce_contents
============================================================================================================ */
#food_service {
	scroll-margin-top: 120px;
}
#b_to_c {
	scroll-margin-top: 132px;
}
.e-commerce_contents {
	text-align: center;
}
.e-commerce_contents h2 {
	font-size: 3.6rem;
	text-align: center;
	margin-top: 120px;
	margin-bottom: 40px;
}
.e-commerce_contents h2#b_to_c {
	margin-top: 132px;
}
.e-commerce_contents .content {
	text-align: left;
}
.e-commerce_contents .content h3 {
	font-size: 3.2rem;
	line-height: 1.7;
	margin-bottom: 38px;
	white-space: nowrap;
}

.link_list {
	display: flex;
	gap: 30px;
	margin-top: 36px;
}
.link_list_item {
	display: flex;
	flex-direction: column;
	width: fit-content;
}
.link_list_item span {
	color: #43C05A;
	font-size: 1.4rem;
}

.link_bg {
	overflow: hidden;
    position: relative;
    display: inline-block;
    padding: 5px;
    margin-bottom: 2px;
    font-size: 1.6rem;
    line-height: 1;
    padding: 12px 50px 12px 15px;
    color: #fff !important;
	text-decoration: none !important;
    z-index: 2;
	transition: color 0.3s;
}
.link_bg::before {
	content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #000;
    transform-origin: 100% 0;
    transform: skewX(-30deg);
    z-index: -1;
	transition: background-color 0.3s;
}
.link_bg.other {
	min-width: 307px;
}
.link_bg.more {
	min-width: 200px;
}
.link_bg.other::before {
	background-color: #43C05A;
}
.link_bg.more::before {
	background-color: #000;
}
.link_bg::after {
	content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    transform-origin: 100% 0;
    transform: skewX(-30deg);
    z-index: -1;
	opacity: 0;
	transition: opacity 0.3s;
}
.link_bg.other:hover {
	color: #fff;
}
.link_bg.other:hover::after {
	background-color: #000;
	opacity: 1;
}
.link_bg.more:hover {
	color: #fff;
}
.link_bg.more:hover::after {
	background-color: #2A7CC5;
	opacity: 1;
}
.link_bg img {
	margin-top: -2px;
    margin-right: 23px;
	transition: filter 0.3s;
}
.link_bg.more:hover img {
	filter: invert(0%);
}

@media screen and (max-width: 767px) {
	.e-commerce_contents h2 {
		font-size: 2.5rem;
		margin-top: 60px;
		margin-bottom: 18px;
	}
	.e-commerce_contents .content h3 {
		font-size: 2.3rem;
		margin-bottom: 16px;
		white-space: inherit;
	}
	.e-commerce_contents h2#b_to_c {
		margin-top: 36px;
	}
	.link_list {
		flex-direction: column;
		gap: 10px;
		margin-top: 22px;
	}
	.link_bg {
		font-size: 1.4rem;
		/* padding: 10px 40px 10px 12px; */
		margin-bottom: 0;
	}
	.link_bg.other {
		min-width: 261px;
		padding: 11px 40px 11px 12px;
	}
	.link_bg.more {
		padding: 13px 40px 13px 12px;
	}
}



/* link_banner
============================================================================================================ */

.link_banner {
	width: min(100% - 40px, 1240px);
	margin: 111px auto 0;
	padding: 0 100px 0 0;
}

.link_banner .link_banner__link {
	display: flex;
	text-decoration: none;
	color: #fff;
}

/* 左の画像部分 ----------------------------------- */
.link_banner__image {
	flex: 0 0 34.2%;
	overflow: hidden;
}

.link_banner__image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

/* 右の黒いエリア --------------------------------- */
.link_banner__content {
	position: relative;
	flex: 0 0 65%;
	background: #000;
	padding: 46px 80px 24px 45px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: visible;
	z-index: 0;
	line-height: 1;
}

/* 右端のナナメカット */
.link_banner__content::after {
	content: "";
	position: absolute;
	top: 0;           /* 上部のはみ出しを吸収 */
	bottom: 0;        /* 下部のはみ出しを吸収 */
	right: -58px;        /* はみ出す量（調整してOK） */
	width: 180px;
	height: calc(100% + -1px); /* 上下のはみ出し分を加算 */
	background: #000;
	transform: skewX(-22deg);
	z-index: -1;
}

.link_banner__link:hover {
	opacity: 0.7;
	transition: 0.3s ease;
}

/* テキスト --------------------------------------- */
.link_banner__label {
	display: inline-flex;
	font-size: 3.6rem;
	margin-bottom: 20px;
}

.link_banner__num {
	font-size: 5.5rem;
	margin-top: -8px;
    margin-right: 17px;
    margin-left: 6px;
}

.link_banner__text {
	font-size: 2.8rem;
	font-weight: normal;
	line-height: 1.6;
}

/* 右側の矢印 ------------------------------------- */
.link_banner__arrow {
	position: absolute;
	right: 30px;
	top: 50%;
	width: 24px;
	height: 24px;
	transform: translateY(-50%) rotate(-45deg);
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
}

@media screen and (max-width: 767px) {
	.link_banner {
		margin: 12px auto 0;
		padding: 0 0 18px;
	}
	
	.link_banner .link_banner__link {
		height: calc(125px + (100vw - 375px) * 0.2);
		min-height: 125px;
	}
	
	.link_banner__image {
		flex: 0 0 30%;
		height: 100%;
	}
	
	.link_banner__image picture,
	.link_banner__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	
	.link_banner__content {
		flex: 0 0 57%;
		padding: 5px 0 0 10px;
		height: 100%;
	}
	
	/* 斜め部分をSPでも表示 */
	.link_banner__content::after {
		right: -30px;
		width: 60px;
		height: calc(100% + 0px);
		transform: skewX(-12deg);
	}
	
	.link_banner__label {
		font-size: 2.4rem;
		margin-bottom: 10px;
		letter-spacing: 0.1em;
	}
	
	.link_banner__num {
		font-size: 3rem;
		margin-top: -2px;
		margin-right: 10px;
		margin-left: 0;
		letter-spacing: 0;
	}
	
	.link_banner__text {
		font-size: 1.4rem;
		letter-spacing: 0.18em;
	}
	
	.link_banner__arrow {
		display: none;
	}
}

