@charset "UTF-8";

:root {
  --font-size: 12pt;
  --width: min(1200px, calc(100vw * 0.73));
  --margin: calc((100vw - var(--width)) * 0.5);
  --color-nig: #0f6a1a;
  --color-fg: #ffffff;
  --color-bk: #222222;
  --color-b1: #23b7fe;
  --color-b2: #1fa6ea;
  --color-yw: #e9dd19;
  --color-g1: #f2f3f0;
  --color-g2: #eaebe8;
}

html {
  font-family: sans-serif;
  font-size: var(--font-size);
}

/* Body */
body {
  color: var(--color-bk);
  line-height: 1.8em;
}

.box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Header */
.header {
}

.g-header {
  height: 80px;
  text-align: center;
}

.k-header {
  --stripe-w: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 80px;
  background: linear-gradient(270deg, rgb(0, 0, 0, 0), rgb(1, 1, 1, 1) 70%),
    repeating-linear-gradient(-45deg, #fff, #fff var(--stripe-w), var(--color-bk) var(--stripe-w), var(--color-bk) calc(2 * var(--stripe-w)));
}

.k-header .logo {
  color: var(--color-b1);
  font-family: 'Heebo', sans-serif;
  filter: drop-shadow(0 0 10px #000);
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  text-align: center;
  background-color: var(--color-b1);
}

.footer .copy {
  display: block;
  padding: 1rem;
  color: #fff;
}

.footer .copy a {
  color: #fff;
}

/* Main contents */
.main {
  min-height: calc(100vh - 80px * 2);
}

.body {
  padding-left: var(--margin);
  padding-right: var(--margin);
}

.photos {
  margin-bottom: 2rem;
  text-align: center;
}

.photos img {
  width: var(--width);
  border: 1px solid #888;
  background-color: var(--color-fg);
  filter: drop-shadow(0 2px 6px rgb(0.8, 0.8, 0.8, 0.5));
  object-fit: cover;
  pointer-events: none;
}

.photos figcaption {
  margin-top: 0.5rem;
}

/******************************************************************************* home */

.home.catch {
  position: relative;
  height: 540px;
}

.home.catch .c {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: var(--color-fg);
  text-align: center;
}

.home.catch :is(.catch-img, .one, .two) {
  position: absolute;
}

.home.catch .catch-img {
  left: 0;
  top: 0;
  width: 100%;
}

.home.catch .one {
  filter: drop-shadow(0 0 2px #000) drop-shadow(0 0 8px #000);
  color: var(--color-fg);
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

.home.catch .two {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-fg);
  font-weight: bold;
  text-align: center;
  filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 8px #000);
}

/*********************************************************************** code */

.code {
	display: flex;
  flex-direction: column;
	justify-content: space-between;
  align-items: center;
	background-color: #23b7fe;
}

.code div {
	color: #fff;
	text-align: center;
}

.code .caption {
  text-align: center;
}

/*********************************************************************** form */

.form .error{
  padding: 10px;
  background-color: #cc0000;
  color: #fff;
  font-weight: 800;
}

.form input[type="text"] {
  padding: 10px;
  font-size: 104%;
  background: transparent none repeat scroll 0 0;
  min-height: 2.2em;
  text-align: left;
  border-radius: 5px;
  border: 1px solid #cccccc;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2) inset;
  background-color: #fff;
  color: #444444;
}

.form input[type="submit"] {
  background-color: rgba(0, 0, 0, 0);
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-size: auto;
  background-repeat: no-repeat;
  background-position: 4px center;
  background-size: 36px;
  background-color: #f5e100;
  color: #222;
  padding: 0;
  font-size: 160%;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid #cccccc;
}

.form .error{
	width: 100%;
  margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.form input[type="text"] {
	width: 100%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.form input[type="submit"] {
	width: 100%;
  height: 49px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

/******************************************************************************* list */

.item.catch {
  text-align: center;
  color: var(--color-nig);
}

.item.catch h3 {
	margin-top: 2rem;
}

.item-list li {
	display: flex;
	flex-direction: column;
	padding: 2rem;
	text-align: center;
}

.item-list img {
  margin-bottom: 1rem;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.item-list .price {
  margin-top: auto;
  font-size: 2rem;
}

.item-list .price::before {
  content: "￥";
}

/*
.item-list .price::after {
  content: "（税込）";
}
*/

.item-list .desc {
  margin-bottom: 1rem;
  text-align: left;
}

.item-list .link-button {
	width: 100%;
	height: 60px;
	line-height: 60px;
	background-color: #0f6a1a;
	color: #fff;
	font-size: 1.5rem;
}

.item-list .link-button span {
	margin-left: 0.4em;
}

.item-list .link-button {
  display: block;
}

.item-list .link-button::before {
  content: "カートに入れる";
}

.item-list .link-button.oos {
  opacity: 0.6;
  pointer-events: none;
}

.item-list .link-button.oos::before {
  content: "在庫なし";
}

.item-detail .item .images > input {
	display: none;
}

.item-detail .item .images > img {
	display: none;
	width: 100%;
	height: auto;
}

.item-detail .item .images > input:checked + img {
	display: block;
}

.item-detail .item .image-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-top: 1rem;
}

.item-detail .price::after {
  content: " 税込";
  font-size: 1.2rem;
}

/******************************************************************************* cart */

#cart {
	user-select: none;
}

#cart .ec-cartNavi {
	position: absolute;
	z-index: 10;
	top: 0;
	right: 0;
	width: 100px;
	height: 80px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	color: #fff;
	background-color: #0f6a1a;
	cursor: default;
}

#cart a .ec-cartNavi {
	position: fixed;
}

#cart a .ec-cartNavi:hover {
	opacity: 0.7;
	cursor: pointer;
}

#cart .ec-cartNaviNull {
	display: none;
}

#cart .ec-cartNaviIsset {
	display: none;
}

#cart .ec-cartRole__totalText, form#form_cart .ec-cartRole__cart + .ec-cartRole__progress {
	display: none;
}

#cart .cart-empty {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}

#cart .cart-empty p {
	padding: 2rem;
}

#cart-error {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#cart-error p {
	width: 100%;
	padding: 1rem;
	margin: 0.5rem;
	border: 1px solid #f00;
	background-color: #cc0000;
	color: #fff;
	font-weight: bold;
}

/****************************************************************************** close */

.close {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 0 1rem;
  color: white;
  background-color: rgb(255,0,0,0.8);
}