@charset "utf-8";

/* -------------------------------------------------- */
/* PC*/
/* -------------------------------------------------- */
#message {
	padding-top: 70px;
	padding-bottom: 120px;
	position: relative;
	background: url(../../img/gluten-free/message_bg.jpg) no-repeat center center / cover;
	overflow: hidden;
}

.messageDeco {
	position: absolute;
}

#messageDeco01 {
	width: 331px;
	top: 150px;
	right: calc(50% + 400px);
}

#messageDeco02 {
	width: 319px;
	top: 50px;
	left: calc(50% + 420px);
}

#messageDeco03 {
	width: 328px;
	top: 630px;
	right: calc(50% + 360px);
}

#messageDeco04 {
	width: 311px;
	top: 540px;
	left: calc(50% + 400px);
}

#message .inner {
	position: relative;
}

#messageHeading {
	margin-bottom: 20px;
	font-size: 3rem;
	font-family: "Zen Maru Gothic", serif;
	line-height: calc(52 / 30);
	text-align: center;
}

#messageText {
	margin-bottom: 60px;
	font-size: 1.8rem;
	font-feature-settings: "palt";
	letter-spacing: 0.025em;
	line-height: calc(33 / 18);
	text-align: center;
}

#messageText p + p {
	margin-top: 1em;
}

#messageText .textLg {
	font-size: 2.4rem;
	font-weight: 700;
}

#messageSnsList {
	display: flex;
	justify-content: center;
	gap: 20px;
}

/* こんな方に選ばれています
------------------------------------ */
#ratio {
	padding-top: 80px;
}

#ratioList {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

#ratioList li {
	padding: 20px 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2.1rem;
	font-family: "Zen Maru Gothic", serif;
	text-align: center;
	color: #705e3a;
	background-color: #efebe3;
	border-radius: 5px;
}

#ratioList li:nth-child(5) {
	grid-column: 2 / 4;
}

#ratioPlus {
	margin-top: 80px;
	position: relative;
	padding: 20px 10px;
	font-size: 2.1rem;
	font-family: "Zen Maru Gothic", serif;
	text-align: center;
	color: #705e3a;
	background-color: #fbf9dd;
	border: 1px solid #705e3a;
}

#ratioPlus::before,
#ratioPlus::after {
	content: "";
	width: 45px;
	height: 4px;
	background-color: #333333;
	position: absolute;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
}

#ratioPlus::before {
	transform: translateX(-50%) rotate(90deg);
}

/* 美容や健康に携わる方たちからのお声
------------------------------------ */
#voice {
	padding-top: 120px;
}

#voiceList {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px 80px;
	counter-reset: number 0;
}

.voiceListItem {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 2;
	gap: 0;
}

.voiceListImg {
	width: 74%;
	margin-bottom: -240px;
	border-radius: 15px;
	z-index: 1;
	overflow: hidden;
}

.voiceListContent {
	width: 88%;
	padding: 260px 30px 30px 30px;
	position: relative;
	background-color: #faf9f6;
}

.voiceListContent::before {
	counter-increment: number 1;
	content: counter(number, decimal-leading-zero);
	width: 64px;
	height: 64px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 30px;
	font-size: 2.2rem;
	font-weight: 400;
	font-family: "Oswald", sans-serif;
	color: #d69c00;
	background-color: #ffffff;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.voiceListTitle {
	margin-bottom: 5px;
	font-size: 2rem;
	font-family: "Zen Maru Gothic", serif;
	line-height: 1.3;
}

.voiceListName {
	font-size: 1.8rem;
	font-family: "Zen Maru Gothic", serif;
}

.voiceListText {
	margin-top: 15px;
	padding-top: 10px;
	font-feature-settings: "palt";
	letter-spacing: 0.025em;
	line-height: calc(26 / 16);
	border-top: 1px solid #d6d4cf;
}

/* レイアウト */
.voiceListItem:nth-child(4n-3) .voiceListContent,
.voiceListItem:nth-child(4n-2) .voiceListContent {
	margin-left: auto;
	border-radius: 0 50px 0 50px;
}

.voiceListItem:nth-child(4n-3) .voiceListContent::before,
.voiceListItem:nth-child(4n-2) .voiceListContent::before {
	right: 30px;
}

.voiceListItem:nth-child(4n-1) .voiceListImg,
.voiceListItem:nth-child(4n) .voiceListImg {
	margin-left: auto;
}

.voiceListItem:nth-child(4n-1) .voiceListContent,
.voiceListItem:nth-child(4n) .voiceListContent {
	border-radius: 50px 0 50px 0;
}

.voiceListItem:nth-child(4n-1) .voiceListContent::before,
.voiceListItem:nth-child(4n) .voiceListContent::before {
	left: 30px;
}

/* 使用している基本原材料
------------------------------------ */
#ingredients {
	padding-top: 100px;
	padding-bottom: 120px;
}

#ingredientsTable {
	margin-bottom: 25px;
	overflow-x: auto;
}

#ingredientsTable table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border: 2px solid #eee3da;
}

#ingredientsTable th {
	padding: 15px 10px;
	font-size: 1.6rem;
	font-family: "Zen Maru Gothic", serif;
	color: #705e3a;
	background-color: #eee3da;
}

#ingredientsTable th:not(:first-child) {
	border-left: 1px solid #ffffff;
}

#ingredientsTable td {
	padding: 18px 10px;
	font-size: 1.5rem;
	font-feature-settings: "palt";
	letter-spacing: 0.05em;
	line-height: calc(25 / 15);
	text-align: center;
	vertical-align: middle;
	border-bottom: 2px solid #eee3da;
}

#ingredientsTable td:not(:first-child) {
	border-left: 1px solid #eee3da;
}

#ingredientsTable th:nth-child(1),
#ingredientsTable td:nth-child(1) {
	width: 220px;
}

#ingredientsTable th:nth-child(2),
#ingredientsTable td:nth-child(2) {
	width: 150px;
}

#ingredientsTable td:nth-child(3) {
	padding-inline: 25px;
	text-align: left;
}

#ingredientsTableCaption {
	font-size: 1.5rem;
}

/* コンセプト
------------------------------------ */
#concept {
	padding-bottom: 300px;
	background: url(../../img/gluten-free/concept_img.png) no-repeat center bottom -80px / 580px;
}

#conceptTextWrap {
	width: 339px;
	height: 343px;
	margin-inline: auto;
	padding-top: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-family: "Zen Maru Gothic", serif;
	text-align: center;
	background: url(../../img/gluten-free/concept_deco.png) no-repeat center center / contain;
}

#conceptText01 {
	font-size: 2.9rem;
	font-weight: 700;
	color: #705e3a;
}

#conceptText02 {
	font-size: 2.1rem;
	line-height: calc(35 / 21);
}

/* オンラインストアの商品
------------------------------------ */
#product {
	padding-top: 60px;
	padding-bottom: 100px;
	background: url(../../img/gluten-free/online-store_bg.jpg) no-repeat center top / cover;
}

#productInner {
	width: 1360px;
	padding-inline: 80px;
	position: relative;
}

#productSlider {
	padding-bottom: 70px;
}

.productItem {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.productItemComment {
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	font-size: 1.6rem;
	font-family: "Zen Maru Gothic", serif;
	text-align: center;
}

.productItemComment::before,
.productItemComment::after {
	content: "";
	width: 1px;
	height: 44px;
	background-color: #797272;
}

.productItemComment::before {
	transform: rotate(-21deg);
}

.productItemComment::after {
	transform: rotate(21deg);
}

.productItemImg {
	margin-bottom: 20px;
	text-align: center;
}

.productItemTitle {
	margin-bottom: 10px;
	font-size: 2.4rem;
	font-weight: 700;
	font-family: "Zen Maru Gothic", serif;
	line-height: 1.4;
	text-align: center;
	color: #694b10;
}

.productItemDesc {
	width: 240px;
	max-width: 100%;
	margin-bottom: 15px;
	padding: 10px;
	font-size: 1.4rem;
	font-family: "Zen Maru Gothic", serif;
	text-align: center;
	color: #665024;
	background-color: rgba(191, 172, 133, 0.3);
	border-radius: 30px;
}

.productItemFeature {
	margin-bottom: 15px;
}

.productItemFeature li {
	font-size: 1.2rem;
	padding-left: 1em;
	position: relative;
}

.productItemFeature li::before {
	content: "";
	width: 2px;
	height: 2px;
	background: #705e3a;
	position: absolute;
	top: 6px;
	left: 0;
}

.productItemFeature li + li {
	margin-top: 0.35em;
}

#productSlider .swiper-pagination-bullet {
	width: 11px;
	height: 11px;
	margin: 0 12px;
	background-color: #ffffff;
	border: 2px solid #bfac85;
	opacity: 1;
}

#productSlider .swiper-pagination-bullet-active {
	background-color: #694b10;
	border-color: #694b10;
}

#productInner .swiper-button-prev,
#productInner .swiper-button-next {
	width: 85px;
	height: 85px;
	margin-top: 0;
	top: 50%;
}

#productInner .swiper-button-prev {
	left: -140px;
	background-image: url(../../img/common/icon_slide_prev.svg);
}

#productInner .swiper-button-next {
	right: -140px;
	background-image: url(../../img/common/icon_slide_next.svg);
}

#productInner .swiper-button-prev::after,
#productInner .swiper-button-next::after {
	content: none;
}

@media screen and (max-width: 1679px) {
	#productInner .swiper-button-prev,
	#productInner .swiper-button-next {
		width: 60px;
		height: 60px;
	}

	#productInner .swiper-button-prev {
		left: 5px;
	}

	#productInner .swiper-button-next {
		right: 5px;
	}
}

@media screen and (max-width: 1279px) {
	#productInner {
		padding-inline: 60px;
	}

	#productInner .swiper-button-prev,
	#productInner .swiper-button-next {
		width: 50px;
		height: 50px;
	}

	.productItemLink.btn {
		font-size: 1.3rem;
	}
}


/* ------------------------------------ */
/* ホバーエフェクト */
/* ------------------------------------ */
@media screen and (min-width: 1025px) {
	#messageSnsList a {
		transition: all 0.3s ease 0s;
	}

	#messageSnsList a:hover {
		opacity: 0.7;
	}
}

/* -------------------------------------------------- */
/* PC(調整) */
/* -------------------------------------------------- */
@media screen and (min-width: 1025px) and (max-width: 1399px) {
	#messageDeco01 {
		width: 23.643vw;
		right: auto;
		left: 0;
	}

	#messageDeco02 {
		width: 22.786vw;
		left: auto;
		right: 0;
	}

	#messageDeco03 {
		width: 23.429vw;
		right: auto;
		left: 0;
	}

	#messageDeco04 {
		width: 22.214vw;
		left: auto;
		right: 0;
	}
}

/* -------------------------------------------------- */
/* TAB&SP */
/* -------------------------------------------------- */
@media screen and (max-width: 1024px) {
	#message {
		padding-top: 200px;
	}

	#messageDeco01 {
		width: 205px;
		top: 20px;
		right: calc(50% + 140px);
	}

	#messageDeco02 {
		width: 208px;
		top: 5px;
		left: calc(50% + 100px);
	}

	#messageDeco03 {
		width: 230px;
		top: auto;
		bottom: 25px;
		right: calc(50% + 120px);
	}
	
	#messageDeco04 {
		width: 177px;
		top: auto;
		bottom: 40px;
		left: calc(50% + 160px);
	}

	/* こんな方に選ばれています
	------------------------------------ */
	#ratioList li {
		font-size: 1.7rem;
	}

	#ratioPlus {
		margin-top: 70px;
		font-size: 1.7rem;
	}

	#ratioPlus::before, #ratioPlus::after {
		width: 35px;
		height: 3px;
		top: -38px;
	}

	/* 美容や健康に携わる方たちからのお声
	------------------------------------ */
	#voiceList {
		gap: 40px 20px;
	}

	.voiceListContent {
		width: 90%;
		padding-inline: 20px;
	}

	.voiceListContent::before {
		width: 55px;
		height: 55px;
		top: 20px;
		font-size: 2rem;
	}

	.voiceListTitle {
		font-size: 1.7rem;
	}

	.voiceListName {
		font-size: 1.6rem;
	}

	.voiceListText {
		font-size: 1.4rem;
	}

	/* レイアウト */
	.voiceListItem:nth-child(4n-3) .voiceListContent,
	.voiceListItem:nth-child(4n-2) .voiceListContent {
		border-radius: 0 30px 0 30px;
	}

	.voiceListItem:nth-child(4n-3) .voiceListContent::before,
	.voiceListItem:nth-child(4n-2) .voiceListContent::before {
		right: 20px;
	}

	.voiceListItem:nth-child(4n-1) .voiceListContent,
	.voiceListItem:nth-child(4n) .voiceListContent {
		border-radius: 30px 0 30px 0;
	}

	.voiceListItem:nth-child(4n-1) .voiceListContent::before,
	.voiceListItem:nth-child(4n) .voiceListContent::before {
		left: 20px;
	}

	/* コンセプト
	------------------------------------ */
	#concept {
		padding-bottom: 240px;
		background-position: center bottom -60px;
		background-size: 640px;
	}

	/* オンラインストアの商品
	------------------------------------ */
	#productInner {
		padding-inline: 0;
	}
}


/* -------------------------------------------------- */
/* TAB(調整) */
/* -------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {

}
/* -------------------------------------------------- */
/* SP(調整) */
/* -------------------------------------------------- */
@media screen and (max-width: 767px) {
	#message {
		padding-top: 180px;
		padding-bottom: 150px;
	}

	#messageDeco01 {
		width: 147px;
		top: 35px;
		right: calc(50% + 30px);
	}

	#messageDeco02 {
		width: 148px;
		top: 20px;
		left: calc(50% + 10px);
	}

	#messageDeco03 {
		width: 104px;
		bottom: 20px;
		right: calc(50% + 60px);
	}
	
	#messageDeco04 {
		width: 126px;
		bottom: 40px;
		left: calc(50% + 40px);
	}

	#messageHeading {
		margin-bottom: 15px;
		font-size: 1.8rem;
		line-height: 1.5;
	}

	#messageText {
		margin-bottom: 30px;
		font-size: 1.5rem;
		line-height: calc(50 / 30);
	}

	#messageText .textLg {
		font-size: 1.7rem;
	}

	/* こんな方に選ばれています
	------------------------------------ */
	#ratio {
		padding-top: 40px;
	}

	#ratioList {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	#ratioList li {
		min-height: 62px;
		padding: 10px;
		font-size: 1.4rem;
	}

	#ratioList li:nth-child(5) {
		grid-column: 1 / 3;
	}

	#ratioPlus {
		margin-top: 55px;
		font-size: 1.4rem;
	}

	#ratioPlus::before, #ratioPlus::after {
		width: 25px;
		height: 2px;
		top: -30px;
	}

	/* 美容や健康に携わる方たちからのお声
	------------------------------------ */
	#voice {
		padding-top: 60px;
	}

	#voiceList {
		grid-template-columns: auto;
	}

	/* レイアウト */
	.voiceListItem:nth-child(odd) .voiceListContent {
		margin-left: auto;
		margin-right: 0;
		border-radius: 0 30px 0 30px;
	}

	.voiceListItem:nth-child(odd) .voiceListContent::before {
		left: auto;
		right: 20px;
	}

	.voiceListItem:nth-child(even) .voiceListContent {
		margin-right: auto;
		margin-left: 0;
		border-radius: 30px 0 30px 0;
	}

	.voiceListItem:nth-child(even) .voiceListContent::before {
		right: auto;
		left: 20px;
	}

	.voiceListItem:nth-child(odd) .voiceListImg {
		margin-right: auto;
		margin-left: 0;
	}

	.voiceListItem:nth-child(even) .voiceListImg {
		margin-right: 0;
		margin-left: auto;
	}

	/* 使用している基本原材料
	------------------------------------ */
	#ingredients {
		padding-top: 60px;
		padding-bottom: 80px;
	}

	#ingredientsTable {
		margin-bottom: 15px;
	}

	#ingredientsTable table {
		min-width: 706px;
	}

	#ingredientsTable th {
		font-size: 1.4rem;
	}

	#ingredientsTable td {
		font-size: 1.3rem;
	}

	#ingredientsTable th:nth-child(1),
	#ingredientsTable td:nth-child(1) {
		width: 120px;
	}

	#ingredientsTable th:nth-child(2),
	#ingredientsTable td:nth-child(2) {
		width: 90px;
	}

	#ingredientsTable td:nth-child(3) {
		padding-inline: 15px;
	}

	#ingredientsTableCaption {
		font-size: 1.3rem;
	}

	/* コンセプト
	------------------------------------ */
	#concept {
		padding-bottom: 140px;
		background-position: center bottom -30px;
		background-size: 320px;
	}

	#conceptTextWrap {
		width: 290px;
		height: 292px;
		padding-top: 20px;
	}

	#conceptText01 {
		font-size: 2.4rem;
	}

	#conceptText02 {
		font-size: 1.8rem;
	}

	/* 商品 */
	/* ----------------------------------- */
	.productItemComment {
		font-size: 1.4rem;
		margin-bottom: 10px;
	}

	.productItemImg {
		margin-bottom: 10px;
	}

	.productItemImg img {
		width: 80%;
	}

	.productItemDesc {
		width: 200px;
	}
	
	.productItemTitle {
		font-size: 2rem;
		line-height: 1.2;
	}
	
}