/*
Theme Name: Welcart Basic Child
Description: Welcart Basic Child Theme
Author: 株式会社ノイズ
Template: welcart_basic
Version: 1.0.0
*/
:root{
	--brand-base-color:#A89F96;
	--brand-accent-color:#D5B5B5;
	--brand-earth-color:#3E3E3E;
	--brand-natural-color:#F6F5F2;
	--brand-emphasis-color:#444444;
	--brand-auxiliary-color:#BFDDEB;
}
.bold{ font-weight:bold; }
.red{ color:#FF0000; }
.ta_c,.text_center,.txt_center{ text-align:center; }
.text_left,.txt_left{ text-align:left; }
.text_right,.txt_right{ text-align:right; }

/*--------------------------------------------
	Form 
--------------------------------------------*/
.form_item,.confirm_item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 30px 0;
	border-top: 1px solid #eee;
}
.confirm_item{
	padding: 15px 0;
}
.form_title,.confirm_title {
	width: 35%;
	font-weight: bold;
}
.form_content,.confirm_content {
	width: calc(65% - 15px);
}
span.required {
	font-weight: normal;
	padding: 2px 6px;
	margin-left: 10px;
	background: #FF0000;
	color: #FFF;
}
.form_content input[type="text"], .form_content input[type="email"], .form_content select, .form_content textarea {
	width: 100%;
}
span.wpcf7-form-control.wpcf7-acceptance span.wpcf7-list-item {
	margin-left: 0;
}
span.wpcf7-form-control.wpcf7-acceptance span.wpcf7-list-item label {
	position: relative;
}
span.wpcf7-form-control.wpcf7-acceptance span.wpcf7-list-item label input {
	position: absolute;
	left: 0;
}
span.wpcf7-form-control.wpcf7-acceptance span.wpcf7-list-item label span.wpcf7-list-item-label {
	padding-left: 1.6em;
	display: inline-block;
}
.form_btn_wrap {
	display: flex;
	justify-content: center;
	gap: 15px;
}
span.wpcf7-spinner {
	display: none;
}
input#form_submit {
	display: none;
}
.form_content .error_message {
	margin-top: .5em;
	margin-bottom: 0;
}
.form_item.has_error .wpcf7-validates-as-required {
	background: #ffeaea;
}
@media only screen and (max-width:580px){
	.form_item,.confirm_item{
		flex-wrap:wrap;
		gap: 5px;
		padding: 10px 0;
	}
	.form_title,.form_content,.confirm_title,.confirm_content {
		width: 100%;
	}
}

/*--------------------------------------------
	Form 確認モーダル用
--------------------------------------------*/
.modal_comfirm{
	width: 90% ;
	max-width:680px;
	margin: 0 ;
	border: 2px solid #aaa ;
	background: #fff ;
	position: fixed ;
	display: none ;
	z-index: 100;
}

.modal_box{
	margin:0 auto;
	padding: 10px 20px;
	width:100%;
	max-height: 98vh;
	overflow: auto;
}
.modal_box p {
	text-align: center;
	margin:0;
}
.modal_box p.confirm_midashi {
	font-size: 18px;
	font-weight: bold;
	margin-top: 1em;
	margin-bottom:.5em;
	color: #080D4E;
	text-align:center;
}
#modal-overlay {
	z-index: 99;
	display: none ;
	position: fixed ;
	top: 0 ;
	left: 0 ;
	width: 100% ;
	height: 120% ;
	background-color: rgba( 0,0,0, 0.75 ) ;
}
input.form_btn_submit {
	color: #FFF;
	background-color: #ff8c00;
}
input.form_btn_submit:hover{
	background-color: #ffa500;
}


/*--------------------------------------------
	サイト共通 
--------------------------------------------*/
body {
	background: var(--brand-natural-color);
	font-family: "Zen Old Mincho", serif;
}
footer{
	background: var(--brand-base-color);
}
h1.site-title, div.site-title{
	font-family: "Noto Serif JP", serif;
	font-style: normal;
	padding-top:.5em;
}
h1.site-title img, div.site-title img{
	height: 60px;
	width: auto;
}
h3.widget_title, .widget_title {
	color: var(--brand-earth-color);
	padding-left: 30px;
	background-image: url('./img/side-widget-title.svg');
	background-repeat:no-repeat;
	background-size: 24px;
	background-position: left bottom 3px;
}
@media only screen and (max-width: 62.4em){
	.site-description{
		background: var(--brand-base-color);
		padding:.8333em;
	}
}

/*--------------------------------------------
	Welcart 
--------------------------------------------*/
.widget_welcart_calendar th {
	background: var(--brand-earth-color);
}


/*--------------------------------------------
	Welcart Customize 
--------------------------------------------*/
.custom_opt_wrap {
	display: flex;
	margin-bottom: 15px;
	align-items: center;
	gap: 15px;
}
.custom_opt_title {
	font-weight: bold;
}
div#img-box:before {
	content: "タップで拡大表示";
	text-align: center;
	display: block;
}
#itempage .itemsubimg {
	position: relative;
	max-height: 180px;
	margin: 3% 0 0;
	transition: all .5s;
}
#itempage .itemsubimg:before {
	content:'';
	width: 100%;
	height: 60%;
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to bottom, transparent, var(--brand-natural-color) 80%);
}
#itempage .itemsubimg.open:before{
	background:none;
}
#itempage .itemsubimg div {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
#itempage .itemsubimg .more_picture {
	position: absolute;
	bottom: 15%;
	left: 10%;
	right: 10%;
	background: #FFF;
	max-width: 150px;
	padding: 5px;
	margin: auto;
	text-align: center;
	border: 1px solid #1c1c1c;
	cursor: pointer;
	justify-content: center;
}
#itempage .itemsubimg.open .more_picture {
	display: none;
}
#itempage .itemsubimg a {
	margin: 0;
	float: unset;
	display: block;
	width: calc(25% - (5px / 4 * 3));
	position: relative;
	overflow: hidden;
}
#itempage .itemsubimg a:before {
	content: "";
	display: block;
	padding-top: 100%;
}
#itempage .itemsubimg img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
select {
	background-color: #FFF;
}
#toTop {
	position: fixed;
	right: 5%;
	bottom: 5%;
}
.assistance_item li .detail h4{
	height:unset;
}
.lum-lightbox-inner img{
	min-height:75%;
}
p.item_name {
	margin-bottom: .5em;
}
.assist_price {
	font-family: "Rubik", "Zen Old Mincho", serif, sans-serif;
	text-align: right;
}
.slit a {
	position: relative;
	overflow: hidden;
	display:block;
}
.slit a:before {
	content: "";
	display: block;
	padding-top: 100%;
}
.slit a img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#itempage .item-info {
	padding-top: 0;
}
.item-description {
	clear: both;
}
.widget_welcart_bestseller .itemimg{
	float:unset;
	width:100%!important;
}
.widget_welcart_bestseller .itemname,.widget_welcart_bestseller .itemprice{
	width:100%;
}
@media only screen and (max-width:420px){
	.detail-box {
		background: #fdffc6;
		padding: 10px;
		margin: auto -3% 5%;
	}
}

/*--------------------------------------------
	サイトTOP 
--------------------------------------------*/
.representative_item ul {
	margin-left: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
.representative_item ul li {
	width: calc(20% - (15px / 5 * 4));
	list-style: none;
}
.representative_item_cat {
	margin-bottom: 15px;
	padding: 10px;
	background: var(--brand-auxiliary-color);
}
@media only screen and (max-width:768px){
	.representative_item ul li {
		width: calc(33.3% - (15px / 3 * 2));
	}
}
@media only screen and (max-width:420px){
	.representative_item ul li {
		width: calc(50% - (15px / 2 * 1));
	}
}
