@charset "utf-8";

/* ========================================================
	product_new.css
======================================================== */

/* product_disc_section
-----------------------------------------*/

.product_disc_section {
	display: inline-block;
	width: 100%;
	text-align: center;
}
@media screen and (max-width: 767px) {
	/* .product_disc_section {
		margin-bottom: 40px;
	} */
	.product_disc_section .m_title {
		font-size: 2.3rem;
		text-align: left;
		letter-spacing: 0;
	}
	.product_disc_section p {
		text-align: left;
	}
}

/* link_list */
.link_list {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 40px;
	margin-top: 50px;
}
.link_list li {
	line-height: 1;
	flex: 1;
	max-width: 307px;
}

.link_bg {
	overflow: hidden;
    position: relative;
    display: block;
	width: 100%;
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 8px 43px 8px 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: #43C05A;
    transform-origin: 100% 0;
    transform: skewX(-30deg);
    z-index: -1;
	transition: background-color 0.3s;
}
.link_bg::after {
	content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #000;
    transform-origin: 100% 0;
    transform: skewX(-30deg);
    z-index: -1;
	opacity: 0;
	transition: opacity 0.3s;
}
.link_bg:hover {
	color: #fff;
}
.link_bg:hover::after {
	opacity: 1;
}
.link_bg img {
	margin-right: 30px;
	margin-bottom: 3px;
	transition: filter 0.3s;
}

.link_list_note {
	font-size: 1.4rem;
	color: #43C05A;
	line-height: 1.5;
	margin-top: 20px;
}

@media screen and (max-width: 767px) {
	.link_list {
		flex-direction: column;
		align-items: baseline;
		gap: 15px;
		margin-top: 32px;
	}
	.link_list li {
		min-width: 307px;
		text-align: left;
	}
	.link_bg {
		margin-bottom: 0;
	}
	.link_list_note {
		text-align: left;
	}
	.link_list_note li + li {
		margin-top: 8px;
	}
}

/* product_contact */
.product_contact {
	max-width: 1240px;
	margin: 0 auto;
	background-color: #F2F2F2;
	padding: 45px 50px 50px;
	margin-top: 50px;
}
.product_contact .box_btn {
	background-color: #fff;
	margin-top: 20px;
}
.product_disc_section .product_contact .box_btn:hover {
	border: 1px solid #000;
	background-color: #000;
	color: #fff;
}

@media screen and (max-width: 767px) {
	.product_contact {
		display: none;
	}
}


/* product_category
============================================================================================================ */
.product_category {
	margin-top: 110px;
}

.product_category .m_title {
	font-size: 2.4rem;
	text-align: center;
	line-height: 1;
	margin-bottom: 40px;
}

.product_category_list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.product_category_list li {
	position: relative;
}

.product_category_list li a {
	display: grid;
	grid-template-areas:
		"icon text"
		"arrow arrow";
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	justify-items: center;
	align-items: center;
	text-decoration: none;
	color: #000;
	height: 100%;
	padding: 18px 12px 8px 22px;
	background-color: #F2F2F2;
	transition: background-color 0.3s;
	gap: 8px 16px;
}

.product_category_list li a:hover {
	background-color: #EBF1FD;
}

.product_category_list .image_icon {
	grid-area: icon;
}

.product_category_list h3 {
	grid-area: text;
	font-size: 2.4rem;
}

.product_category_list .image_arrow {
	grid-area: arrow;
	line-height: 1;
}

@media screen and (max-width: 767px) {
	.product_category {
		margin-top: 40px;
		margin-bottom: 40px;
	}

	.product_category .m_title {
		margin-bottom: 20px;
		font-size: 1.5rem;
	}

	.product_category_list {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.product_category_list li a {
		grid-template-areas: 
		"icon text arrow";
		grid-template-columns: auto 1fr auto;
		grid-template-rows: auto;
		gap: 0;
		padding: 12px 5px 12px 8px;
	}

	.product_category_list .image_icon {
		width: 40px;
	}

	.product_category_list .image_icon img {
		width: 100%;
		height: auto;
	}

	.product_category_list h3 {
		font-size: 1.4rem;
		padding: 0 4px;
	}

	.product_category_list .image_arrow {
		width: 6px;
	}

	.product_category_list .image_arrow img {
		width: 100%;
		height: auto;
	}
}


/* ph_contents
============================================================================================================ */
.product_contents.ph_contents > section {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	flex-direction: row; /* 1つ目: 画像+テキスト */
	scroll-margin-top: 133px; /* ヘッダーの高さ + 余白 */
}
.product_contents.ph_contents > section + section {
	margin-top: 133px;
}
/* 偶数番目のセクションを反転(テキスト+画像の順) */
.product_contents.ph_contents > section:nth-of-type(even) {
	flex-direction: row-reverse;
}
/* 奇数番目のグレー背景を右側に配置 */
.product_contents.ph_contents > section:nth-of-type(odd) .ph::before {
	right: 0;
	left: auto;
	transform: translate(-20px, 20px);
}
/* 偶数番目のグレー背景を左側に配置 */
.product_contents.ph_contents > section:nth-of-type(even) .ph::before {
	left: 0;
	right: auto;
	transform: translate(20px, 20px);
}

@media screen and (max-width: 767px) {
	.product_contents.ph_contents > section {
		gap: 30px;
		scroll-margin-top: 80px; /* ヘッダーの高さ + 余白 (SP) */
	}    
	.product_contents.ph_contents > section + section {
        margin-top: 70px;
    }
	.product_contents.ph_contents > section:nth-of-type(odd),
	.product_contents.ph_contents > section:nth-of-type(even) {
	flex-direction: column;
	}
	/* スマホでのグレー背景位置 */
	.product_contents.ph_contents > section:nth-of-type(odd) .ph::before {
		transform: translate(-15px, 15px);
	}
	.product_contents.ph_contents > section:nth-of-type(even) .ph::before {
		transform: translate(15px, 15px);
	}
}


/* product_contents
============================================================================================================ */
.product_contents {
	margin-top: 80px;
}
.product_contents h2 {
	font-size: 3.2rem;
	font-weight: bold;
	line-height: 1.6;
	margin-bottom: 16px;
	text-align: left;
}
.product_contents .content {
	text-align: left;
}

@media screen and (max-width: 767px) {
	.product_contents {
		margin-top: 30px;
	}
	.product_contents .ph {
		margin: 0;
	}
	.product_contents h2 {
		font-size: 2.3rem;
		margin-bottom: 10px;
	}
}

/* tag_list */
.tag_list {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
}
.tag_list li {
	width: min(100% , 130px);
	background-color: #BEBEBE;
	padding: 12px 0;
	border-radius: 30px;
	font-size: 1.6rem;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s;
}
.tag_list li:hover {
	background-color: #999;
}
.tag_list li.is-active {
	background-color: #000;
}
.tag_list li a {
	color: #fff;
	text-decoration: none;
	display: block;
}

@media screen and (max-width: 767px) {
	.tag_list {
		gap: 8px;
		margin-bottom: 15px;
	}
	.tag_list li {
		width: min(100% , 87px);
		padding: 8px 0;
		font-size: 1.2rem;
	}
}

/* disc_wrapper */
.disc_wrapper {
	position: relative;
}
.disc_wrapper > .disc {
	display: none;
}
.disc_wrapper > .disc.is-active {
	display: block;
}

.recommend {
	background-color: #F2F2F2;
	font-size: 1.6rem;
	margin-top: 8px;
	padding: 20px 30px;
}
.recommend .ttl {
	font-weight: bold;
}
.recommend .text {
	font-weight: normal;
	line-height: 1.75;
}

.check_list {
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1;
	margin-top: 30px;
}
.check_list li + li {
	margin-top: 15px;
}
.check_list li img {
	margin-right: 12px;
	vertical-align: middle;
}

@media screen and (max-width: 767px) {
	.recommend {
		font-size: 1.3rem;
		margin-top: 15px;
		padding: 15px 15px 15px;
	}
	.check_list {
		font-size: 1.3rem;
		margin-top: 20px;
	}
}

/* contact_section
============================================================================================================ */
.message_section {
	position: relative;
	background: #000;
	color: #fff;
}
.message_section .lead {
	margin-bottom: 40px;
}
.message_section .box_btn.white:hover {
	background-color: #fff;
	border-color: #fff;
	color: #000;
}
.btn_wrap {
	display: flex;
	gap: 20px;
	justify-content: center;
}
.btn_wrap .box_btn {
	margin: 0;
}
@media screen and (max-width: 767px) {
	.message_section .bdt_l_title {
		font-size: 2.3rem;
		margin-bottom: 15px;
	}
	.message_section .lead {
		font-size: 1.4rem;
		margin-bottom: 25px;
	}
	.btn_wrap {
		flex-direction: column;
	}
}







