/*
Theme Name:鶏そばテーマ
Theme URL:https://taikun24.github.io
Description:Theme
Author:taikun24
Version:1.0.0
*/

/*? Global CSS */
* {
	font-family: "Noto Sans JP", monospace;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	color: black;
}

body {
	margin: 0 0;
	/* 556b2f */
	background-color: white;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: black;
}

main {
	padding: 2vh 2vw;
	display: flex;
	flex-direction: column;
	align-items: center;
}

@keyframes fadein {
	0% {
		opacity: 0;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

.pop-fadein {
	animation: fadein 0.2s ease-out;
}

button {
	background-color: white;
	border: 1px solid black;
	transition: border-color 0.25s ease-in-out !important;
}

button:hover {
	border-color: lightgray;
}

.hover-opacity {
	transition: opacity 0.15s ease-in-out;
	opacity: 1;
}

.hover-opacity:hover {
	opacity: 0.5;
}

.hide {
	display: none;
}

/* ? Fonts */
.serif {
	font-weight: 600;
	font-family: "Noto Serif JP", serif;
}

/* ? header.php */
header {
	position: fixed;
	top: 0;
	left: 0;
	height: 10vh;
	display: flex;
	width: 100vw;
	justify-content: center;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.1);
	z-index: 1;
}

.h-space {
	height: 10vh;
}

/* ? header.php */
/** hamburger menu */
.hamburger {
	position: fixed;
	top: 10px;
	left: 10px;
	width: 30px;
	cursor: pointer;
	z-index: 3;
}

.hamburger span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: black;
	margin: 5px 0;
	transition: 0.4s;
}

.menu {
	position: fixed;
	top: 0;
	left: max(-400px, -100vw);
	width: min(400px, 100vw);
	height: 100%;
	background-color: white;
	pointer-events: none;
	transition: left 0.5s ease;
	padding: 20px;
	box-sizing: border-box;
	z-index: 1;
	border-right: 5px solid black;
}


.opened-menu {
	left: 0px;
	pointer-events: auto;
}

.menu ul {
	margin-top: 50px;
	padding-left: 0;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

li {
	list-style: none;
	font-size: 1.5em;
}

/** cart */
.shopping-cart-flex {
	position: fixed;
	top: 5px;
	right: 20px;
	z-index: 3;
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
}

.shopping-cart {
	width: 35px;
	height: 35px;
	cursor: pointer;
	z-index: 3;
	background-color: black;
	border-radius: 100px;
	padding: 10px 10px;
}

.shopping-cart img {
	width: 100%;
	height: 100%;
}

.shopping-cart-total {
	position: relative;
	left: 63px;
	top: -13px;
	cursor: pointer;
	background-color: red;
	color: white;
	padding: 2px 2px;
	border-radius: 1000px;
	z-index: 3;
	margin: 0 0;
	min-width: 20px;
	text-align: center;
	font-size: 0.7em;
}

/*? footer.php*/
footer {
	position: sticky;
	top: 100vh;
	width: 100%;
	height: 10vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/*? shop-template.php*/
.big-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(30vh, 40vw);
	border-radius: 2000px;
}

.big-logo-title {
	margin: 0 auto;
	text-align: center;
	font-size: 3em;
	width: 500px;
	max-width: 90vw;
	margin-top: 10px;
	font-weight: bold;
}

@media screen and (max-width: 600px) {
	.big-logo-title {
		font-size: 2em;
	}
}

.logo-wrapper {
	height: 90vh;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.video_wrapper {
	/* Show video with full screen*/
	position: absolute;
	top: 5vh;
	left: 5vw;
	width: 90%;
	height: 90%;
	border-radius: 20px;
	z-index: -1;
	object-fit: cover;
	/* opacity: 0.7; */
}

/*? grid.php */
.products-grid {
	display: flex;
	flex-wrap: wrap;
	width: 90%;
	padding: 10vh 5%;
	justify-content: center;
}


.pr-item {
	width: 200px;
	margin-right: 1%;
	margin-left: 1%;
	margin-bottom: 2%;
	position: relative;
	display: block;
}

.item-image {
	width: 100%;
	aspect-ratio: 1;
	/*object-fit: cover;*/
	object-fit: contain;
}

.item-sale {
	position: absolute;
	width: 100%;
}

.add-to-cart {
	background-color: #222;
	color: white;
	padding: 10px 10px;
	border-radius: 15px;
	width: 7em;
	margin: 0 auto;
	margin-top: 10px;
	text-align: center;
}

.add-to-cart a {
	color: white;
}

@media screen and (max-width: 600px) {
	.pr-item {
		width: 48%;
	}
}


/*? qa.php */
.q-and-a {
	width: 70vw;
}

.q-and-a dt,
.q-and-a dd {
	font-size: 1.5em;
}

/*? index.php */
.company-title {
	text-align: center;
	font-size: 3em;
	margin: 5vh auto;
	margin-top: 10vh;
}

.follow-us {
	display: flex;
}

.insta {
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: max(10vw, 100px);
	margin-bottom: 10px;
	flex-direction: column-reverse;
}


.category-grid {
	display: flex;
	min-width: 80vw;
	justify-content: center;
	flex-wrap: wrap;
}

.category-grid a {
	margin: 15px 25px;

}

.category {
	width: 7em;
	height: 7em;
	padding: 15px 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-bottom: 10px;
	border-radius: 20px;
	box-shadow: 0px 0px 10px rgb(237, 237, 237);
	position: relative;
}

.category p {
	color: black;
	margin: 10px 0;
}



.category img {
	width: 100%;
	height: 100%;
	margin-bottom: 5px;
	border-radius: 10px;
}

.op {

	transition: opacity 0.25s ease-out;
	opacity: 1;
}

.opa {
	opacity: 0;
}

.shop-title {
	width: 100%;
	text-align: center;
	position: absolute;
	font-size: 1.3em;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-weight: bold;
}

@media screen and (max-width: 600px) {
	.company-title {
		font-size: min(3em, 10vw);
	}

	.category {
		padding: 20px 20px;
		width: 5em;
		height: 5em;
	}

	.category p {
		font-size: 1em;
	}
}

.ul-links {
	width: 50%;
	min-width: 300px;
	display: flex;
	flex-direction: column;
}

.ul-link {
	margin: 1em 1em;
	font-size: 2em;
	border-bottom: 2px solid black;
	transition: border-bottom-color 0.25s ease-in-out;
}

.ul-link:hover {
	border-bottom-color: lightgray;
}

/*?content-single.product.php */
.order-button {
	background-color: white;
	border: 1px solid black;
	transition: border-color 0.25s ease-in-out;
	padding: 10px 10px;
	margin-top: 20px;
	cursor: pointer;
}

.order-button:hover {
	border-color: lightgray;
}

.item-name {
	font-size: 1.5em;
	font-weight: bold;
}

.single-product {
	width: 100vw;
	display: flex;
	flex-direction: column;
}

.gallery {
	width: 45vw;
	height: 70vh;
	text-align: center;
	display: flex;
	flex-direction: column;
	position: relative;
}

.gallery-box {
	width: 100%;
	height: 90%;
}

.gallery-box div {
	width: 100%;
	height: 90%;
	position: absolute;
	top: 0;
	left: 0;
}

.gallery-box div img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0;
	transition: opacity 0.2s ease-in-out;

}

.gallery-img-hidden img {
	opacity: 0 !important;
	pointer-events: none;
}

.gallery-img-visible img {
	opacity: 1 !important;
	pointer-events: auto;
}

.gallery nav {
	width: 100%;
	height: 10%;
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.gallery nav button {
	border-width: 0;
	font-size: 2em;
	cursor: pointer;
}

.lr-box {
	display: flex;
}

@media screen and (max-width: 600px) {
	.lr-box {
		flex-wrap: wrap;
		justify-content: center;
	}


	.gallery {
		width: 80vw;
	}

	.item-name-grid {
		font-size: 0.6em;
	}

	.add-to-cart {
		padding: 5px 10px;
		border-radius: 10px;
		width: 7em;
		margin: 0 auto;
		margin-top: 5px;
		text-align: center;
		font-size: 1em;
	}
}

.item-name-grid {
	font-size: 1em;
}

.item-info {
	padding: 5vh 5%;
	width: max(300px, 30vw);
	word-break: break-all;
}

.item-info p {
	width: 100%;
}

.item-price {
	font-size: 1em;
	margin: 0 0;
}

.wc-block-grid.has-4-columns .wc-block-grid__product {
	min-width: 50% !important;
}

.product-options {
	font-size: 1em;
	color: black;
}

/*? About torisoba */

.about-torisoba {
	width: 100%;
	padding: 0 5%;
	height: 50vh;
	display: flex;
}

.about-torisoba img {
	height: min(50vh, 50vw);
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 20px;
	margin-right: 5%;
}

@media screen and (max-width: 600px) {
	.about-torisoba {
		flex-direction: column;
		height: 50vh;
	}

	.about-icon {
		display: none;
	}
}

.about-torisoba div h1 {
	font-size: 3em;
}