/*
Theme Name:		Welcart Basic Child
Description:	Welcart Basic Child is child theme for Welcart Basic.
Author:			WElcart Inc.
Author URI:		https://www.welcart.com/
Template:		welcart_basic
Version:		1.0.0
License:		GNU General Public License v2 or later
License URI:	http://www.gnu.org/licenses/gpl-2.0.html
Tags:			responsive-layout, basic-child, two-columns, right-sidebar. left-sidebar
*/

/*----------------------
common
----------------------*/
html {
	scroll-padding-top: var(--header-height);
}
body {
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	color: var(--text-color);
	letter-spacing: 0.025em;
	line-height: 1.75;
}

@media screen and (max-width: 767px) {
	body {
		padding-bottom: 60px;
	}
}
.wrapping {
	width: 100%;
	overflow: hidden;
}
.container {
	max-width: 1020px;
}
.bg-color {
	background-color: var(--bg-color);
}
.m1p,
h2,
h3,
h4 {
	font-family: "M PLUS 1p", sans-serif;
	font-weight: 800;
	font-style: normal;
	letter-spacing: 0.05em;
}
a {
	color: var(--text-color);
}

picture img {
	max-width: 100%;
	height: auto;
}
.text-accent {
	color: var(--accent-color);
}

.btn {
	background-color: var(--accent-color);
	color: #fff;
	text-align: center;
	border-radius: 0;
	padding: 12px 28px 12px 12px;
	display: block;
	position: relative;
	border: none !important;
}
.btn:hover {
	text-decoration: none;
	opacity: 0.6;
	color: #fff;
	background-color: var(--accent-color);
	border: none !important;
}
.btn.contact {
	background-color: var(--text-color);
}
.btn.contact:hover {
	color: #fff;
	/* 	background-color: var(--text-color); */
}
.btn:after {
	content: "";
	width: 16px;
	height: 16px;
	position: absolute;
	top: 50%;
	right: 9px;
	transform: translatey(-50%);
	display: block;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.incart-btn a:hover {
    text-decoration: none;
	background-color:rgba(255,255,255,0);
}

/* a target_blank */
a:hover {
	opacity: 0.6;
}

/* img */
.site-title img {
	width: 190px !important;
	height: 70px;
}

/*----------------------
header 
----------------------*/

header.site-header {
	margin-bottom: 0;
	position: fixed;
	top: 0;
	background-color: #fff;
	z-index: 900;
	border-bottom: none;
	height: var(--header-height);
	/* アニメーションの命令 */
	animation: scrollAnime linear;
	/* 一番上から一番下までスクロールする間にアニメーションさせる */
	animation-timeline: scroll();
}

@keyframes scrollAnime {
	0% {
		background-color: rgba(255, 255, 255, 0.01);
		color: #fff;
	}

	1% {
		background-color: rgba(255, 255, 255, 1);
		color: #333;
	}

	100% {
		background-color: rgba(255, 255, 255, 1);
		color: #333;
	}
}
header .inner {
	display: grid;
}
@media screen and (min-width: 62.5em) {
	header .inner {
		display: flex;
		align-items: center;
		position: relative;
		padding-bottom: 0 !important;
		justify-content: space-between;
	}
}
header h1 a {
	height: 30px;
	display: block;
}
header h1 a img {
	display: block;
}
.navbar-toggler {
	border: none;
}

.nav-item {
	border-bottom: dotted 2px #a5a3a2;
	padding-top: 1em;
	padding-bottom: 1em;
	position: relative;
}
@media screen and (max-width: 767px) {
	.nav-item {
		font-size: 13px;
	}
}
.nav-item:after {
	content: "";
	width: 16px;
	height: 16px;
	position: absolute;
	top: 50%;
	right: 9px;
	transform: translatey(-50%);
	display: block;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%233b3634' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.nav-item a:hover {
	text-decoration: none;
}
/* cart button */
.incart-btn {
	min-width: 26px;
	width: 26px;
	height: 26px;
	padding: 4px var(--bs-navbar-toggler-padding-x) 8px;
	box-sizing: content-box;
	margin-top: 0;
}
.incart-btn a {
	background-color: initial;
	padding: 0;
}

.offcanvas {
	background-color: rgb(from var(--bg-color) r g b / 0.96);
}
.offcanvas.offcanvas-top {
	height: 100%;
}
@media screen and (min-width: 768px) {
	.offcanvas.offcanvas-top {
		height: 620px;
	}
}
.offcanvas-body {
	width: min(100%, 640px);
	margin: auto;
}
/*  */
.btn-return {
    display: block;
    float: right;
    position: sticky;
    right: 0;
    bottom: 120px;
    border: none !important;
    z-index: 10;
    text-decoration: none;
    margin-top: -128px;
}
.btn-return:hover {
	opacity: 0.6;
}
/*----------------------
footer
----------------------*/

/* footer */
footer {
	padding: 0;

	background-color: var(--bg-color);
	color: var(--text-color);
	font-size: 13px;
}
footer a {
	color: var(--text-color);
	text-decoration: none;
}
footer nav {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
footer nav ul {
	padding: 0;
}
footer nav li {
	float: initial;
	padding-right: initial;
}
@media screen and (min-width: 768px) {
	footer nav ul {
		display: flex;
		justify-content: center;
		margin-bottom: 0;
	}
	footer nav li {
		width: auto;
		margin-bottom: 0;
		float: left;
		padding: 0 1rem;
	}
	footer nav li:not(:first-child) {
		border-left: 1px solid var(--text-color);
	}
	.footer-menu {
		background-color: #fff;
	}
}
footer nav li:nth-of-type(4n) {
	clear: initial !important;
}
footer .btn {
	max-width: 300px;
}
.fixed-bottom {
	height: 60px;
	background-color: var(--text-color);
}
.fixed-bottom a.border-light {
	padding-left:.875em!important;
	padding-right:1.175em!important;
}
.fixed-bottom .btn {
	border-radius: 4px;
	width: calc(100vw - 144px);
	max-width: 320px;
	padding: 12px;
}
.fixed-bottom .btn:after {
	background-image: none;
}

#lineup {
	background-color: var(--bg-color);
}
h2.balloon {
	background-color: var(--text-color);
	text-align: center;
	color: #fff;
	padding: 1.5rem 1rem;
	position: relative;
	margin-bottom: 2rem;
	line-height: 0.75;
}
h2.balloon:after {
	content: "";
	display: block;
	position: absolute;
	width: 72px;
	height: 72px;
	top: 99%;
	left: 50%;
	transform: translatex(-50%);
	background-color: var(--text-color);
	clip-path: polygon(50% 25%, 0 0, 100% 0);
}
h2.balloon small {
	font-size: 60%;
}

.footer-about {
	width: 100vw;
	aspect-ratio: 750/937;
	position: relative;
}
.footer-about:not(:has(picture)) img,
.footer-about picture {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
}

@media screen and (max-width: 767px) {
	.footer-about:not(:has(picture)) img,
	.footer-about picture {
		width: 100%;
		height: auto;
	}
}
@media screen and (min-width: 768px) {
	.footer-about {
		height: 540px;
	}
	.footer-about:not(:has(picture)) img,
	.footer-about picture {
		aspect-ratio: 1920 / 540;
		height: 540px;
	}
}
.footer-about div {
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
}
.footer-about p {
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	letter-spacing: 0.05em;
}
.footer-about p.fs-1 {
	letter-spacing: 0.075em;
}
/* front-page itemreco / column */
.post-li {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	max-width: 1000px;
	margin: auto;
	padding: 0 0.714286em 0;
}
@media screen and (min-width: 38.75em) {
	.post-li {
		grid-template-columns: 1fr 1fr;
	}
}
@media screen and (min-width: 62.5em) {
	.post-li {
		grid-template-columns: 1fr 1fr 1fr;
		padding: 0;
	}
	/* itemreco */
	.columncenter .post-li {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	}
}
.post-li article {
	border-bottom: none;
}
.post-li article:not(:has(img)) a::before {
	content: "";
	display: block;
	width: 100%;
	aspect-ratio: 1;
	background-color: #eee;
}
.post-li .post-title {
	margin-top: 0.625em;
	color: #000000;
	font-weight: bold;
}
.wp-block-latest-posts__list li:not(:has(.wp-block-latest-posts__featured-image)) a::before {
	content: "";
	display: block;
	width: 100%;
	aspect-ratio: 1;
	background-color: #eee;
}

/*  */

#toTop {
	position: fixed;
	right: 20px;
	bottom: 70px;
	z-index: 50;
}
@media screen and (min-width: 768px) {
	#toTop {
		right: 50px;
		bottom: 50px;
	}
}
