/* 商品個別ページ */
.woocommerce #content .ast-woocommerce-container div.product div.images, .woocommerce .ast-woocommerce-container div.product div.images, .woocommerce-page #content .ast-woocommerce-container div.product div.images, .woocommerce-page .ast-woocommerce-container div.product div.images,
.woocommerce #content .ast-woocommerce-container div.product div.summary, .woocommerce .ast-woocommerce-container div.product div.summary, .woocommerce-page #content .ast-woocommerce-container div.product div.summary, .woocommerce-page .ast-woocommerce-container div.product div.summary{
	width: 100%;
}
.single-product.ast-plain-container.ast-no-sidebar #primary{
	margin-top: 0;
	margin-bottom: 0;
	width: 100%;
	margin: 0 auto;
}

.single-product.ast-plain-container.ast-no-sidebar #primary #main{
	max-width: 1000px;
	margin: 0 auto;
}

/* TOP画像 */
.product-header{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 440px;
	background-image: url(https://shop.obata-suiko.com/wp-content/uploads/2023/11/category_FV_image-3.png);
	background-size: cover;
	background-position: 50% 50%;
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	margin-bottom: 100px;
}
.product-header p{
	font-family: "Shippori Mincho", serif;
	margin-bottom: 0;
}

.product-header p,
.product-title{
	text-align: center;
	font-size: 35px;
}

@media (max-width: 767px){
	.product-header p,
	.product-title{
		font-size: 20px;
	}
}

.rental-header{
	min-height: 864px;
	background-image: url(https://shop.obata-suiko.com/wp-content/uploads/2023/10/about_end_image.png);
	background-size: cover;
	background-position: 50% 50%;
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	margin-bottom: 100px;
}

.rental-header-container{
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	padding-top: 170px;
}

.rental-header-container>div{
	background-color: #fff;
	padding: 100px 30px 110px;
}
.rental-header p{
	line-height: 1.7;
}
.rental-header p:first-child{
	font-size: 35px;
}

.rental-header p:last-child{
	font-size: 18px;
}
@media (max-width: 1280px){
	.rental-header{
		padding: 0 5%;
	}
	.rental-header-container>div{
		padding: 10% 5% 8%;
	}
}
@media (max-width: 767px){
	.product-header,
	.rental-header{
		margin-bottom: 6%;
	}
	.rental-header{
		min-height: 80vw;
	}
	.rental-header-container{
		padding-top: 10vw;
	}
	.product-header{
		background-image: url('https://shop.obata-suiko.com/wp-content/uploads/2023/12/category_fv_sp.png');
	}
	.rental-header p:first-child{
		font-size: 15px;
	}
	.rental-header p:last-child{
		font-size: 10px;
	}
}

/* メインタイトル */
.product-title{
	font-family: Baskerville, serif;
	padding-bottom: 10px;
	border-bottom: 1.5px solid #3C69A8;
	margin-bottom: 100px;
	font-weight: normal;
}

@media (max-width: 767px){
	.product-title{
		padding-bottom: 1%;
		margin-bottom: 3%;
	}
}

/* 商品画像 */
.flex-viewport{
	margin-bottom: 50px;
}
.flex-viewport img,
.flex-control-thumbs img{
/* 	width: 100%;
	height: 100%; */
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

/* 商品詳細 */
.type-product{
	display: grid;
	grid-template-columns: 2fr 3fr;
	column-gap: 55px;
	margin-bottom: 80px;
}

.woocommerce-product-gallery{
	grid-column: 1;
	overflow: hidden;
}

.type-product>div:last-child{
	grid-column: 2;
	max-width: 100%;
	overflow: hidden;
}

.entry-summary>h1,
.entry-summary>p,
.woocommerce-js div.product p.price{
	font-size: 20px;
}

.entry-summary>p{
	margin-bottom: 2em;
}

.woocommerce-js div.product p.price,
.woocommerce-product-details__short-description,
.item-grade,
.custom-product-description{
	margin-bottom: 36px;
}

.woocommerce-product-details__short-description p,
.custom-product-description li{
	font-size: 16px;
	line-height: 1.7;
}

.product_title,
.custom-product-description li,
.woocommerce button.button,
th.label label,
.rental-footer-item h3{
	font-family: 'Shippori Mincho', serif;
}

.custom-product-description ul{
	margin: 0 0 0 1.5em;
}

.single-product-function{
	padding-top: 30px;
	position: relative;
}
.entry-content .single-product-function>p,
.single-product-function>p{
	position: absolute;
	top: 18px;
	left: 0;
	background-color: #fff;
	display: inline-block;
	padding-right: 16px;
}

.single-product-function .functions{
	padding: 20px 0 20px;
	border-top: 1px solid #4C4A4A;
	border-bottom: 1px solid #4C4A4A;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr;
	gap: 16px;
	margin-bottom: 10px;
}

.single-product-function .functions .item{
	background-color: #e4e0df;
   padding: 2px 0;
   border-radius: 20px; 
	display: flex;
	align-items: center;
	justify-content: center;
}
.single-product-function .functions .item p{
	font-size: 12px;
	text-align: center;
	margin-bottom: 0;
	width: 90%;
}

.function-table{
	overflow: hidden;
}

@media (max-width: 1080px){
	.type-product{
		grid-template-columns: 27fr 53fr;
    	column-gap: 30px;
	}
}

@media (max-width: 767px){
	.type-product{
		display: block;
	}
	
	.entry-summary>h1,
	.entry-summary>p,
	.woocommerce-js div.product p.price{
		font-size: 15px;
	}
	
	.woocommerce-product-details__short-description p,
	.custom-product-description li{
		font-size: 14px;
	}
	.item-grade{
		margin-bottom: 3%;
	}
	.item-grade img.full{
		width: 3.77vw !important;
		height: 5.6vw !important;
		margin-right: 1.22vw;
	}
	.item-grade img.full-last{
		width: 3.77vw !important;
		height: 5.6vw !important;
		margin-right: 2.07vw;
	}
	.item-grade img.half{
		width: 1.89vw !important;
		height: 5.6vw !important;
		margin-right: 3.10vw;
	}
	.item-grade img.none{
		width: 0.61vw !important;
		height: 0.61vw !important;
		margin-right: 3.17vw;
	}
}

/* バリエーションの表 */
.woocommerce-js div.product form.cart .variations{
	background-color: #E4E0DF;
	padding: 5%;
	border-bottom: none;
}
.woocommerce-js div.product form.cart .variations tr{
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 5%;
}
.woocommerce-js div.product form.cart .variations tr td{
	font-size: 14px;
}
.woocommerce-page input[type=number]{
	width: 100%;
}
.woocommerce-js div.product form.cart .variations tr.rental{
	margin-bottom: 0;
}
.woocommerce-js div.product form.cart .variations th{
	padding: 0.8em 0;
	margin-bottom: 0;
}
.woocommerce-js div.product form.cart .variations select{
	height: 100%;
}

@media (max-width: 767px){
	.woocommerce-js div.product form.cart .variations tr td{
		font-size: 13px;
	}
	.woocommerce-js div.product form.cart .variations tr{
		grid-template-columns: 100px 1fr;
	}
}

/* 合計価格とボタン */
.price-btn{
	display: grid;
	grid-template-columns: 1fr 160px;
	justify-content: space-between;
	align-items: end;
}
.price-area{
	max-width: 280px;
}
.price-area div:last-child p{
	font-size: 20px;
	padding:0 5px 10px;
	border-bottom: 1px solid #222;
}
.price-btn>div:last-child{
	margin: 0 auto;
}
.woocommerce-js div.product form.cart .button{
	display: block;
	background-color: #192143;
	color: #fff;
	text-align: center;
	border-radius: 15px;
	margin-bottom: 0.5em;
}

@media (max-width: 1024px){
	.price-area div:last-child p{
		font-size: 18px;
	}
}

@media (max-width: 767px){
	.price-btn{
		grid-template-columns: 1fr 120px;
	}
	.price-area{
		max-width: 50vw;
	}
	.price-area div:last-child p{
		padding-bottom: 1%;
		font-size: 15px;
	}
	.price-btn>div:last-child{
		width: 100%;
	}
	.woocommerce .price-btn button.button{
		width: 100% !important;
		font-size: 12px;
	}
	.woocommerce-js div.product form.cart .button.single_add_to_cart_button{
		padding: 5% 10%;
	}
}

/* レンタルページのフッター */
.rental-footer-img,
.rental-footer-mv{
	width: 100vw;
	margin-left: calc(-50vw + 500px);
	margin-right: calc(-50vw + 500px);	
}
.rental-footer-img{
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.rental-footer-img>div{
	min-width: 460px;
	padding-top: 45px;
	padding-bottom: 55px;background-size: cover;
	background-position: 50% 50%;
}
.rental-footer-img>div:first-child{
	background-image: url('https://shop.obata-suiko.com/wp-content/uploads/2023/12/rental_service.png');
}
.rental-footer-img>div:last-child{
	background-image: url('https://shop.obata-suiko.com/wp-content/uploads/2023/12/rental_tool.png');
}
.rental-footer-img>.rental-footer-item>div,
.rental-footer-mv>.rental-footer-item>div{
	background-color: #fff;
	padding: 46px 15px 0;
	width: 250px;
	aspect-ratio: 1 / 1;
	text-align: center;
	margin: 0 auto;
}
.rental-footer-item h3{
	font-weight: normal;
	font-size: 20px;
	line-height: 2;
	margin-bottom: 20px;
}
.rental-footer-item p{
	font-size: 16px;
}

.rental-footer-mv>.rental-footer-item{
	background-image: url('https://shop.obata-suiko.com/wp-content/uploads/2024/02/rentalservice_option_pc.jpg');
	width: 100vw;
	height: 35.1vw;
	max-width: 1920px;
	background-size: cover;
	background-position: 50% 50%;
	display: flex;
	align-items: center;
}

@media (max-width: 1080px){
	.rental-footer-img,
	.rental-footer-mv{
		margin-left: calc(-50vw + 50%);
		margin-right: calc(-50vw + 50%);
	}
	.rental-footer-img>div{
		min-width: 50%;
	}
}

@media (max-width: 767px){
	.rental-footer-item>div{
		width: 200px;
		padding: 20px 10px 0;
	}
	.rental-footer-img{
		display: block;
	}
	.rental-footer-item h3{
		font-size: 16px;
	}
	.rental-footer-item p{
		font-size: 12px;
	}
	
	.rental-footer-mv>.rental-footer-item{
		background-image: url('https://shop.obata-suiko.com/wp-content/uploads/2024/02/rentalservice_option_sp.jpg');
		height: 63.4vw;
		max-width: 767px;
	}
	.rental-footer-img>.rental-footer-item>div,
	.rental-footer-mv>.rental-footer-item>div{
		padding: 24px 10px;
		width: 250px;
		aspect-ratio: auto;
	}
}