/*
Theme Name: The Elements from Niigata
 */

/* ============================
	common
============================ */
.flex-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ofi {
  font-family: "object-fit: cover;";
  -o-object-fit: cover;
  object-fit: cover;
}

.inter {
	font-family: "Inter", sans-serif;
}

.bold {
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  #wrapper {
    min-width: 0;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(30, 30, 30, 0.3);
  }
}
#page-mv .mv-bg {
	background-image: url(./images/common/tanks_bg.JPG);
}
/* ============================
	sp-menu
============================ */
#sp-menu {
  box-sizing: border-box;
  position: absolute;
  transition: all 0.35s ease;
  top: 60px;
  left: 0;
  background-color: #f0edea;
  width: 100%;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
}

#sp-menu.opening {
  position: fixed;
  transition: all 0.35s ease;
  opacity: 1;
  pointer-events: auto;
  height: calc(100vh - 60px);
}

#sp-menu .menu-item a {
  text-align: center;
  line-height: 1;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-weight: 700;
}

#sp-menu .sub-menu {
  display: none;
  opacity: 0;
  transition: 0.35s all ease;
}

#sp-menu .sub-menu.opening {
  display: block;
  opacity: 1;
  transition: 0.35s all ease;
}

#sp-menu .sp-contact-box {
  margin: 30px 0 0;
}

#sp-menu .sp-contact-box a {
  box-sizing: border-box;
  display: block;
  background-color: #111;
  text-align: center;
  color: #fff;
  padding: 6px 0;
}

/* btn-hamburger */
#btn-hamburger {
  position: relative;
  top: 0;
  right: 0;
  background-color: #111;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
}

#btn-hamburger .border {
  position: absolute;
  left: 15px;
  transition: opacity, transform 0.2s ease;
  background: #fff no-repeat left top;
  width: 30px;
  height: 2px;
  z-index: 1;
}

#btn-hamburger .border:first-child {
  top: 33%;
}

#btn-hamburger .border:nth-child(2) {
  transform: rotate(0);
  opacity: 1;
  top: 50%;
}

#btn-hamburger .border:nth-child(3) {
  top: 67%;
}

#btn-hamburger.opening .border:first-child {
  transform: rotate(45deg);
  top: 50%;
}

#btn-hamburger.opening .border:nth-child(2) {
  opacity: 0;
}

#btn-hamburger.opening .border:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}


/* ============================
	header
============================ */
#header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

#header.h-fixed {
  position: fixed;
}

#header .h-inner {
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  background: #eaeaea;
}

#h-gnav-box.flex-start {
  align-items: center;
}

#h-gnav-box .menu-item + .menu-item {
  margin: 0 0 0 30px;
}

#h-gnav-box .menu-item a {
  font-size: 1.8rem;
  font-weight: 700;
}

#h-gnav-contact {
  margin-left: 30px;
}

#h-gnav-contact a {
  display: block;
  box-sizing: border-box;
  background-color: #111;
  text-align: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  width: 160px;
  height: 40px;
  padding: 12px 0;
}
#header .h-inner {
	justify-content: flex-end;
	padding: 40px 40px 0;
	background: transparent;
}

#header .mv-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

#header #btn-hamburger {
	width: 48px;
	height: 48px;
	background: transparent;
}

#header #btn-hamburger .border {
	left: 9px;
	width: 30px;
	background: #fff;
}

#header .mv-nav-box {
	margin-top: 12px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity .2s ease, transform .2s ease;
}

#header .mv-nav-box.opening {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

#header .mv-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

#header .mv-nav a {
	display: inline-block;
	color: #fff;
}

#header .mv-contact {
	margin-top: 18px;
	text-align: right;
}

#header .mv-contact-link {
	display: inline-block;
	padding: 10px 26px;
	border: 1px solid #fff;
	border-radius: 90px;
	color: #fff;
	line-height: 1;
}

@media screen and (max-width: 767px) {
  #header {
    margin: 0 auto;
    right: 0;
  }

  #header .h-inner {
    padding: 0;
  }
}

/* ============================
	footer
============================ */
#footer {
	background-color: #1C1D1D;
}
#footer .f-inner {
  padding: 90px 0 25px;
}
#footer .content-width {
	position: relative;
}
#footer .f-map {
	position: absolute;
	aspect-ratio: 361 / 342;
	z-index: 0;
	top: 50%;
	left: 42%;
	transform: translateY(-50%) translateX(-50%);
}
#footer .f-content {
	display: flex;
	justify-content: space-between;
	margin: 107px 0 50px;
	align-items: center;
	position: relative;
}

#footer .f-brand {
	color: #FFFFFF;
}
#footer .f-brand-ttl {
	font-size: 3.6rem;
	font-weight: 500;
	font-family: "Inter", sans-serif;
	line-height: 1.66;
	letter-spacing: 0.08em;
}
#footer .f-info {
	margin-inline: auto;
	margin-top: 15px;
	width: fit-content;
	font-size: 1.4rem;
}
#footer .f-nav {
	font-size: 1.4rem;
	color: #B4BEBE;
}

#footer .f-nav-list {
	text-align: right;
	margin-bottom: 48px;
}
#footer .f-nav-item {
	line-height: 1.75;
}
#footer .f-nav-item + .f-nav-item {
	margin-top: 15px;
}
#footer .f-contact {
	text-align: right;
	box-sizing: border-box;
}
#footer .f-contact-link {
	padding: 10px;
	width: 170px;
	border-radius: 90px;
	border: 1px solid;
	text-align: center;
	display: inline-block;
}

#copyright {
	border-top: 1px solid #3C3E3E;
  padding: 30px 0 0;
}

#copyright p {
  text-align: center;
  color: #B4BEBE;
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0;
}

@media screen and (max-width: 767px) {
  #footer .f-inner {
    padding: 60px 0;
  }
  #footer .f-content {
	margin: 80px 0;
	gap: 30px;
	flex-direction: column;
  }
  #footer .f-nav-list {
	text-align: center;
	display: flex;
	align-items: center;
	gap: 15px;
  }
  #footer .f-contact {
	text-align: center;
  }
  #footer .f-brand-ttl {
	font-size: 2rem;
  }
  #footer .f-info {
	font-size: 1.4rem;
	margin-top: 30px;
  }
  #footer .f-nav-item + .f-nav-item {
	margin-top: 0;
  }
}

/* ============================
	mainvisual
============================ */
.mainvisual {
  width: 100%;
}
body.is-mv-passed #page-mv .mv-right {
	position: fixed;
	top: 40px;
	right: 40px;
	z-index: 1000;
}

@media screen and (max-width: 767px) {
	body.is-mv-passed #page-mv .mv-right {
		top: 20px;
		right: 20px;
	}
}

body.is-mv-passed .mainvisual .mv-right {
	position: fixed;
	top: 40px;
	right: 40px;
	z-index: 1000;
	opacity: 1;
	pointer-events: auto;
}

body.is-mv-passed .mainvisual #btn-hamburger {
	background: #111 !important;
}

body.is-mv-passed .mainvisual #btn-hamburger .border {
	background: #fff;
}
body.is-mv-passed #top-mv .mv-right {
	position: fixed;
	top: 40px;
	right: 40px;
	z-index: 1000;
}


#top-mv .mv-bg-slide img {
	transform: scale(1);
	will-change: transform;
	transition: transform 5.5s linear;
}
#top-mv .mv-bg-slider .slick-slide.is-zoom img {
	transform: scale(1.10);
}
@media (prefers-reduced-motion: reduce) {
	#top-mv .mv-bg-slide img {
		transition: none;
	}
	#top-mv .mv-bg-slider .slick-slide.is-zoom img {
		transform: none;
	}
}


body.is-mv-passed #top-mv #btn-hamburger .border,
body.is-mv-passed #page-mv #btn-hamburger .border,
body.is-mv-passed #header #btn-hamburger .border {
	background: #fff;
}

@media screen and (max-width: 767px) {
	body.is-mv-passed #top-mv .mv-right {
		top: 20px;
		right: 20px;
	}
}

@media screen and (max-width: 767px) {
	body.is-mv-passed .mainvisual .mv-right {
		top: 20px;
		right: 20px;
	}
}

@media screen and (max-width: 767px) {
  #top-mv .mv-inner {
    height: 300px;
  }
}

#page-mv {
	position: relative;
	overflow: hidden;
}

#page-mv .mv-inner {
	position: relative;
	height: 450px;
	width: 100%;
	padding: 40px 40px 40px 60px;
	background-color: #e1e1e1;
}

#page-mv .mv-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
#page-mv .mv-bg {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#page-mv .mv-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.28);
	z-index: 1;
	pointer-events: none;
}

#page-mv .mv-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#page-mv .mv-right {
	position: absolute;
	top: 40px;
	right: 40px;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

#page-mv #btn-hamburger {
	width: 48px;
	height: 48px;
	background: transparent;
}

#page-mv #btn-hamburger .border {
	left: 9px;
	width: 30px;
	background: #fff;
}
body.is-mv-passed #header #btn-hamburger{
	background: #111;
}

#page-mv .mv-nav-box {
	margin-top: 12px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity .2s ease, transform .2s ease;
	display: none;
}

#page-mv .mv-nav-box.opening {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	display: block;
}

#page-mv .mv-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

#page-mv .mv-nav a {
	display: inline-block;
	color: #fff;
}

#page-mv .mv-contact {
	margin-top: 18px;
	text-align: right;
}

#page-mv .mv-contact-link {
	display: inline-block;
	padding: 10px 26px;
	border: 1px solid #fff;
	border-radius: 90px;
	color: #fff;
	line-height: 1;
}

#page-mv .page-ttl-box {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	max-width: 1040px;
	box-sizing: border-box;
	margin: 0 auto;
}

#page-mv .page-ttl {
	margin: 0;
	color: #E8EDED;
	font-size: 5.2rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	font-family: "Inter", sans-serif;
}
body.single #page-mv .mv-bg img {
	display: none;
}
body.category-news #page-mv .mv-bg,
body.single-post  #page-mv .mv-bg,
#contact #page-mv .mv-bg {
	background-image:
		linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
		url(./images/page/news_bg.jpg);
	background-size: cover, cover;
	background-position: center, bottom;
	background-repeat: no-repeat, no-repeat;
}
.post-type-archive-product #page-mv .mv-bg,
.single-product #page-mv .mv-bg,
.search #page-mv .mv-bg {
	background-image:
		linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
		url(./images/page/product_bg.jpg);
	background-size: cover, cover;
	background-position: center, bottom;
	background-repeat: no-repeat, no-repeat;
}

@media screen and (max-width: 767px) {
	#page-mv .mv-inner {
		height: 220px;
		padding: 20px;
	}
	#page-mv .mv-right {
		top: 20px;
		right: 20px;
	}
	#page-mv .page-ttl-box {
		left: 20px;
	}
	#page-mv .page-ttl {
		font-size: 2.6rem;
	}
}
/* ============================
  hamburger: always sticky + off-canvas menu
  （追従は常に / MV通過後はボタン黒 / メニューは右から白背景）
============================ */

/* 1) ハンバーガーボタンは常に固定 */
#top-mv #btn-hamburger,
#page-mv #btn-hamburger,
#header #btn-hamburger {
	position: fixed;
	top: 40px;
	right: 40px;
	z-index: 10001;
	width: 48px;
	height: 48px;
	background: transparent;
}

/* SPは既存の top:20 right:20 があるので合わせる */
@media screen and (max-width: 767px) {
	#top-mv #btn-hamburger,
	#page-mv #btn-hamburger,
	#header #btn-hamburger {
		top: 20px;
		right: 20px;
		background: #111; /* SPは常に黒でOK（指示が「黒背景白ハンバーガー」で統一） */
	}
}

/* ボタンの線：基本は白（MV上でも見える） */
#top-mv #btn-hamburger .border,
#page-mv #btn-hamburger .border,
#header #btn-hamburger .border {
	background: #fff;
}

/* 2) MV通過後：ボタンは黒背景＋白線（常に見える） */
body.is-mv-passed #top-mv #btn-hamburger,
body.is-mv-passed #page-mv #btn-hamburger,
body.is-mv-passed #header #btn-hamburger {
	background: #111;
}
body.is-mv-passed #top-mv #btn-hamburger .border,
body.is-mv-passed #page-mv #btn-hamburger .border,
body.is-mv-passed #header #btn-hamburger .border {
	background: #fff;
}

/* 3) PCのメニュー：右から出るオフキャンバスにする（top/page/header 全部同じ挙動） */
@media screen and (min-width: 768px) {

	#top-mv .mv-nav-box,
	#page-mv .mv-nav-box,
	#header .mv-nav-box {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: 360px;
		max-width: 86vw;
		margin-top: 0;
		padding: 110px 32px 32px; /* ボタンの下から始まる感じ */
		box-sizing: border-box;

		opacity: 1;              /* 表示は常に生成、操作で出し入れ */
		pointer-events: none;
		transform: translateX(100%);
		transition: transform .25s ease;
		z-index: 10000;
	}

	/* opening で右からスライドイン */
	#top-mv .mv-nav-box.opening,
	#page-mv .mv-nav-box.opening,
	#header .mv-nav-box.opening {
		pointer-events: auto;
		transform: translateX(0);
		z-index: 9999;
	}

	/* MV上（通過前）：現状の白文字のまま（背景は透明でOK） */
	#top-mv .mv-nav-box,
	#page-mv .mv-nav-box,
	#header .mv-nav-box {
		background: transparent;
	}

	/* MV通過後：メニューの背景は半透明白＋黒文字 */
	body.is-mv-passed #top-mv .mv-nav-box,
	body.is-mv-passed #page-mv .mv-nav-box,
	body.is-mv-passed #header .mv-nav-box {
		background: rgba(255, 255, 255, 0.72);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
	}

	body.is-mv-passed #top-mv .mv-nav a,
	body.is-mv-passed #page-mv .mv-nav a,
	body.is-mv-passed #header .mv-nav a {
		color: #111;
	}

	body.is-mv-passed #top-mv .mv-contact-link,
	body.is-mv-passed #page-mv .mv-contact-link,
	body.is-mv-passed #header .mv-contact-link {
		color: #111;
		border-color: #111;
	}
}

/* ============================
	section
============================ */
.sec-inner {
  padding: 100px 0;
}

.sec-ttl {
	font-size: 3.6rem;
	color: #1C1D1D;
	font-weight: 700;
	line-height: 1.66;
	letter-spacing: 0.05em;
  margin: 0;
  font-family: "Inter", sans-serif;
}

.content-width {
  box-sizing: border-box;
  max-width: 1080px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.content-box {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .content-width {
    width: 100%;
	padding: 0 10px;
  }
  .sec-ttl {
	font-size: 3rem;
  }
}

/* ============================
	breadcrumb
============================ */
.breadcrumbs {
  padding: 8px 0;
  background: #000;
  font-size: 1.2rem;
}

.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span {
  color: #fff;
}

/* ============================
	pagenavi
============================ */
.wp-pagenavi {
  clear: both;
  margin: 30px 0 0;
  font-size: 1.6rem;
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
  width: 3em;
  height: 3em;
  margin: 0 0.5em;
  font-weight: bold;
  line-height: 3;
  color: #999;
  border: 2px solid #ccc;
  text-align: center;
  vertical-align: middle;
  transition: all 0.5s ease;
}

.wp-pagenavi a:hover,
.wp-pagenavi span {
  background: #000000;
  color: #fff;
  border-color: #000;
  opacity: 1;
  text-decoration: none;
}

.wp-pagenavi a:hover {
  transition: all 0.5s ease;
}

.wp-pagenavi .extend {
  width: 1em;
  color: #000;
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
}

.wp-pagenavi .extend::after {
  content: "…";
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  position: relative;
  width: 3em;
  height: 3em;
  background: #fff;
  text-indent: -999999px;
  vertical-align: middle;
}

.wp-pagenavi .previouspostslink::after,
.wp-pagenavi .nextpostslink::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
}

.wp-pagenavi .previouspostslink::after {
  transform: rotate(225deg);
}

.wp-pagenavi .nextpostslink::after {
  transform: rotate(45deg);
}

.wp-pagenavi .previouspostslink:hover::after,
.wp-pagenavi .nextpostslink:hover::after {
  border-color: #fff;
}

.result_count {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.4rem;
  color: #999;
}

/* ============================
	post parts
============================ */
.post-date {
  font-size: 1.5rem;
  min-width: 70px;
}

.post-cats.flex-start {
  justify-content: flex-start;
  align-items: center;
}

.post-cat {
  display: block;
  color: #4A4343;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 5px 10px;
  text-align: center;
  border: 1px solid #4A4343;
  border-radius: 90px;
      width: fit-content;
}

.post-cat + .post-cat {
  margin: 0 0 0 10px;
}

.post-cat:link {
  color: #4A4343;
}

.post-cat:visited {
  color: #4A4343;
}

/* ============================
	news list
============================ */
.news-item {
  padding: 20px 0;
  align-items: center;
  border-top: 1px solid #C5C9C9;
}

.news-item:last-child {
	border-bottom: 1px solid #C5C9C9;
}

.news-item .post-ttl {
  font-size: 1.4rem;
  margin: 0 0 0 58px;
  flex: 1;
}
.news-item .post-ttl .more-link {
  display: block;
  width: 100%;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .news-item .post-meta {
    width: 100%;
  }
  .news-item .post-ttl {
    margin-left: 0;
  }
  .news-item {
        gap: 15px;
    }
}

/* ============================
	card list
============================ */
.card-list {
  margin-top: -30px;
  margin-left: -80px;
}

.card-item {
  width: 280px;
  margin-top: 30px;
  margin-left: 80px;
}

.card-item .post-thumb img {
  width: 100%;
}

.card-item .post-info {
  margin-top: 20px;
}

.card-item .post-ttl {
  font-size: 1.5rem;
  margin: 20px 0 0;
}

@media screen and (max-width: 767px) {
  .card-item {
    width: 100%;
  }
}

/* ============================
	contact form
============================ */
.contact-intro {
	text-align: center;
	font-weight: 700;
	text-align: center;
}
.contact-box table{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid #C5C9C9;
	border-radius: 10px;
	overflow: hidden;
	margin-top: 50px;
}

.contact-box th,
.contact-box td{
	padding: 18px 22px;
	border-top: 1px solid #C5C9C9;
	vertical-align: middle;
}

.contact-box tr:first-child th,
.contact-box tr:first-child td{
	border-top: none;
}

.contact-box th{
	width: 260px;
	background: #E2E1E3;
	text-align: left;
	font-weight: 700;
	white-space: nowrap;
}

.contact-box td{
	background: #fff;
}

.contact-box .required{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 10px;
	padding: 4px 10px;
	font-size: 1.1rem;
	line-height: 1;
	background: #111;
	color: #fff;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.contact-box input[type="text"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box textarea{
	width: 100%;
	padding: 14px 14px;
	border: 1px solid #C5C9C9;
	border-radius: 8px;
	box-sizing: border-box;
	background: #fff;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.contact-box input[type="text"]:hover,
.contact-box input[type="email"]:hover,
.contact-box input[type="tel"]:hover,
.contact-box textarea:hover{
	border-color: #9AA0A0;
}

.contact-box input[type="text"]:focus,
.contact-box input[type="email"]:focus,
.contact-box input[type="tel"]:focus,
.contact-box textarea:focus{
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(17,17,17,.10);
}

.contact-box textarea{
	min-height: 240px;
	resize: vertical;
}

.contact-box .wpcf7-not-valid-tip{
	margin-top: 8px;
	font-size: 1.3rem;
	line-height: 1.4;
}

.contact-box input.wpcf7-not-valid,
.contact-box textarea.wpcf7-not-valid{
	border-color: #B00020;
	box-shadow: 0 0 0 3px rgba(176,0,32,.10);
}

/* 同意・送信 */
#consent-box{
	margin-top: 22px;
	text-align: center;
}

#submit-box{
	margin-top: 18px;
	text-align: center;
}

#btn-submit .wpcf7-submit{
	min-width: 220px;
	padding: 14px 26px;
	border: 1px solid #111;
	border-radius: 999px;
	font-weight: 700;
	background: #111;
	color: #fff;
	cursor: pointer;
	transition: opacity .15s ease, transform .05s ease;
}

#btn-submit .wpcf7-submit:hover{
	opacity: .9;
}

#btn-submit .wpcf7-submit:active{
	transform: translateY(1px);
}

@media screen and (max-width: 767px){
	.contact-box table{
		border-radius: 8px;
	}

	.contact-box th,
	.contact-box td{
		display: block;
		width: 100%;
		padding: 14px 14px;
	}

	.contact-box th{
		border-top: none;
	}

	.contact-box td{
		padding-top: 10px;
	}
}

/* ============================
	404
============================ */
#error-404 .content-box p {
  text-align: center;
}

@media screen and (min-width: 1001px) {
  #sp-menu {
    display: none;
  }
}


@media screen and (max-width: 1000px) {
  #h-gnav-box {
    display: none;
  }
}

.top-search-field {
	position: relative;
}

.top-search-input {
	width: 100% !important;
	box-sizing: border-box !important;
	padding-right: 60px !important;
	padding: 14px 60px 14px 20px !important;
	border: none !important;
	border-radius: 6px !important;
	background: #fff !important;
}

.top-search-submit {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	line-height: 0;
}

.top-search-submit img {
	width: 20px;
	height: 20px;
	display: block;
}

.search-form {
	position: relative;
}

.search-form .search-field input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 60px 14px 20px;
	border: none;
	border-radius: 6px;
	background: #fff;
}

.search-form .search-submit {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	line-height: 0;
}

.search-form .search-submit input[type="submit"] {
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	line-height: 1;
}


.elements-tag-item.is-current .elements-tag-link {
  pointer-events: none;
}

.elements-tag-item.is-current a {
  background: #000;
  color: #fff;
}

.elements-tag-list {
	margin-top: 20px;
	gap: 20px 10px;
}
.elements-tag-item {
	font-size: 1.2rem;
	font-weight: 500;
	font-family: "Inter", sans-serif;
}
.elements-tag-item a {
	padding: 8px 20px;
	border: 1px solid #C0C4C4;
	border-radius: 90px;
	color: #000;
}
#top .elements-tag-item a {
	color: #C0C4C4;
}
.elements-box {
	margin-top: 70px;
}
.elements-list {
	display: flex;
	gap: 4.17vw 2.78%;
	justify-content: center;
	flex-wrap: wrap;
	border-bottom: 1px solid #3B3C3C;
	padding-bottom: 40px;
}
.elements-item {
	max-width: 680px;
	width: 47.72%;
}
.elements-item .elements-thumb img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: contain;
	background: #D6D6D6;
}
.elements-genre {
	font-size: 2.6rem;
	font-weight: 700;
	font-family: "Shippori Mincho", serif;
	line-height: 1.84;
	letter-spacing: 0.08em;
	color: #FFFFFF;
	margin: 30px 0 0;
}
@media screen and (max-width: 767px) {
	.elements-item {
		width: 95%;
	}
	.elements-genre {
		font-size: 1.8rem;
		margin-top: 15px;
	}
}

.search .post-cat ,
.post-type-archive-product .post-cat {
	width: auto;
}
.search .elements-list ,
.post-type-archive-product .elements-list {
	margin-top: 60px;
	justify-content: space-between;
	gap: 30px;
}
.search .post-thumb,
.post-type-archive-product .post-thumb {
	margin-bottom: 20px;
}
.search .post-thumb img,
.post-type-archive-product .post-thumb img {
	aspect-ratio: 3 / 2;
	height: auto;
	width: 100%;
	object-fit: contain;
	background: #fff;
}
@media screen and (max-width: 767px) {
	.search .elements-item,
	.post-type-archive-product .elements-item {
		width: 100%;
	}
}
body.search .product-none {
	text-align: center;
	margin-top: 50px;
	font-size: 2.4rem;
}


body.single-product #product-detail .sec-inner {
	padding: 120px 0;
}

body.single-product #product-detail .content-box {
	max-width: 1040px;
	margin: 0 auto;
	background: #fff;
	border-radius: 10px;
	padding: 80px 150px 100px;
}

body.single-product #product-detail .product-first {
	display: block;
}

body.single-product #product-detail .post-cats {
	margin-bottom: 20px;
	justify-content: center;
}

body.single-product #product-detail .product-ttl {
	margin: 0;
	text-align: center;
	font-family: "Shippori Mincho", serif;
	font-size: 3.4rem;
	line-height: 1.4;
	font-weight: 600;
}

body.single-product #product-detail .product-company {
	margin: 10px 0 0;
	text-align: center;
	font-weight: 700;
	color: #4A4343;
}

body.single-product #product-detail .product-slider {
	width: 100%;
	margin-top: 48px;
}

body.single-product #product-detail .product-slide img {
	width: 100%;
	height: auto;
	aspect-ratio: 740 / 555;
	display: block;
	object-fit: contain;
	background: #EEEDEE;
}

body.single-product #product-detail .product-thumb-nav {
	margin: 30px 0 0;
	position: relative;
	overflow: visible;
}

body.single-product #product-detail .product-thumbs {
	display: flex;
	gap: 10px;
	flex-wrap: nowrap;
	justify-content: flex-start;

	overflow: visible;
	will-change: transform;
	transition: transform .25s ease;
}

body.single-product #product-detail .product-thumb {
	display: block;
	padding: 0;
	border: 1px solid #C5C9C9;
	background: transparent;
	cursor: pointer;
	flex: 0 0 auto;
}

body.single-product #product-detail .product-thumb.is-current {
	outline: 2px solid #6D626B;
	outline-offset: -2px;
}

body.single-product #product-detail .product-thumb img {
	height: auto;
	aspect-ratio: 140 / 105;
	object-fit: cover;
	display: block;
}

body.single-product #product-detail .product-thumb-arrow {
	width: 30px;
	height: 30px;
	border-radius: 999px;
	border: none;
	background: #1C1D1D;
	cursor: pointer;
	position: absolute;
	top: 50%;
	z-index: 1;
}
body.single-product #product-detail .product-thumbs-clip{
	overflow: hidden;
	margin: 0;
}

body.single-product #product-detail .product-thumb-arrow--prev {
	left: 0;
	transform: translate(-50%, -50%);
}

body.single-product #product-detail .product-thumb-arrow--next {
	right: 0;
	transform: translate(50%, -50%);
}

body.single-product #product-detail .product-thumb-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translate(-50%, -50%);
}

body.single-product #product-detail .product-thumb-arrow--prev::before {
	transform: translate(-50%, -50%) rotate(225deg);
}

body.single-product #product-detail .product-thumb-arrow--next::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

body.single-product #product-detail .product-outline {
	margin-top: 55px;
	padding: 55px 0 77px;
	border-top: 1px solid #C6C6C6;
	border-bottom: 1px solid #C6C6C6;
}

body.single-product #product-detail .product-sub-ttl {
	margin: 0 0 18px;
	font-weight: 700;
	font-size: 1.6rem;
}

body.single-product #product-detail .product-spec {
	margin-top: 80px;
}

body.single-product #product-detail .product-spec-table {
	width: 100%;
	border-collapse: collapse;
	color: #4A4343;
}

body.single-product #product-detail .product-spec-table th,
body.single-product #product-detail .product-spec-table td {
	padding: 20px;
	border-top: 1px solid #C5C9C9;
	vertical-align: top;
}

body.single-product #product-detail .product-spec-table tr:last-child th,
body.single-product #product-detail .product-spec-table tr:last-child td {
	border-bottom: 1px solid #C5C9C9;
}

body.single-product #product-detail .product-spec-table th {
	width: 220px;
	background: #E2E1E3;
	text-align: left;
}

body.single-product #product-detail .product-note {
	margin-top: 47px;
}
body.single-product #product-detail .product-thumbs-clip{
	overflow: hidden;
	margin: 0;
	width: 100%;
}
body.single-product #product-detail .product-thumb{
	flex: 0 0 calc((100% - 40px) / 5);
}
body.single-product #product-detail .product-thumb img{
	width: 100%;
	height: auto;
	object-fit: contain;
	background: #EEEDEE;
}

body.single-product .product-more {
	margin-top: 50px;
	text-align: center;
}
body.single-product .product-more a {
	padding-right: 60px;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	color: #4A4343;
	position: relative;
}
body.single-product .product-more a::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 20px;
	background: url(./images/common/more_link.png) center / contain no-repeat;
}
@media screen and (max-width: 767px) {
	body.single-product #product-detail .sec-inner {
		padding: 60px 0;
	}
	body.single-product #product-detail .content-box {
		padding: 40px 10px 35px;
	}
	body.single-product #product-detail .product-ttl {
		font-size: 2.6rem;
	}
	body.single-product #product-detail .product-spec-table th {
		width: 120px;
	}
  body.single-product #product-detail .product-thumbs-clip{
    overflow: hidden;
    padding: 0;
  }

  body.single-product #product-detail .product-thumbs{
    justify-content: flex-start;
    gap: 10px;
    will-change: transform;
  }

  body.single-product #product-detail .product-thumbs{
    gap: 10px;
  }

  body.single-product #product-detail .product-thumb{
    flex: 0 0 calc((100% - (10px * 3)) / 3.5);
  }
	body.single-product #product-detail .product-outline {
		margin-top: 40px;
		padding: 30px 0 40px;
	}
	body.single-product #product-detail .product-spec-table th, body.single-product #product-detail .product-spec-table td {
		font-size: 1.4rem;
	}
	body.single-product .product-text {
		font-size: 1.4rem;
	}
	body.single-product .product-sub-ttl {
		font-size: 1.4rem;
	}

	body.single-product .product-text {
		font-size: 1.4rem;
	}
}
@media screen and (max-width: 767px) {

	#top-mv #btn-hamburger,
	#page-mv #btn-hamburger,
	#header #btn-hamburger {
		position: fixed;
		top: 20px;
		right: 20px;
		z-index: 10001;
		background-color: #111;

	}

	#top-mv .mv-nav-box.opening,
	#page-mv .mv-nav-box.opening,
	#header .mv-nav-box.opening {
		position: fixed;
		inset: 0;
		margin-top: 0;
		transform: none;
		padding: 88px 20px 30px;
		overflow-y: auto;
		z-index: 10000;

		background: rgba(0,0,0,.92);
	}

	#top-mv .mv-nav-box:not(.opening),
	#page-mv .mv-nav-box:not(.opening),
	#header .mv-nav-box:not(.opening) {
		pointer-events: none;
	}
	
	#page-mv .mv-nav {
		align-items: center;
		gap: 30px;
	}
	#page-mv .mv-contact {
		margin-top: 30px;
		text-align: center;
	}
}
#privacy-policy #page-mv .mv-bg {
	background-image: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)), url(./images/page/privacy_bg.jpg);
	background-size: cover, cover;
	background-position: center, bottom;
	background-repeat: no-repeat, no-repeat;
}
#privacy-policy .privacy-content + .privacy-content {
	margin-top: 60px;
}
#privacy-policy .privacy-content h2 {
	font-size: 3rem;
	color: #1C1D1D;
	font-weight: 700;
	line-height: 1.66;
	letter-spacing: 0.01em;
	margin: 0;
	margin-bottom: 25px;
}
#privacy-policy .privacy-content p {
	color: #4A4343;
	font-size: 1.4rem;
	line-height: 2.2;
	letter-spacing: 0.08em;
	font-weight: 500;
}
#privacy-policy .privacy-content p + p {
	margin-top: 30px;
}
#privacy-policy .privacy-content ul{
  list-style: decimal;
  padding-left: 45px;
  margin: 15px 0;
  font-size: 1.4rem;
}
#privacy-policy .privacy-content ul li::marker{
  font-variant-numeric: tabular-nums;
}
#privacy-policy .privacy-content ul{
  list-style-type: decimal !important;
  list-style-position: outside;
  padding-left: 1.6em;
  margin-left: 0;
}
#privacy-policy .privacy-content ul > li{
  display: list-item !important;
  list-style-type: decimal !important;
}
.f-privacy {
	text-align: right;
	margin-top: 60px;
}
@media screen and (max-width: 767px) {
	.f-privacy {
		text-align: center;
		margin-top: 30px;
	}
	#privacy-policy .privacy-content h2 {
		font-size: 2.2rem;
	}
}

#thanks #page-mv .mv-bg {
	background-image: url(./images/common/tanks_bg.JPG);
}