/* ========================================
   products.html only
======================================== */

.products-page {
  background: #fff;
}

.products-page main {
  overflow: hidden;
}

.products-page img {
  display: block;
  height: auto;
}

/* ----------------------------------------
   Products page specific
---------------------------------------- */
.products-kicker {
  margin: 0 0 12px;
  color: var(--rose);
  font: 500 18px Georgia, serif;
  letter-spacing: 0.16em;
}

/* ----------------------------------------
   
---------------------------------------- */
.product-tabs {
  width: min(860px, 100%);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-tab {
  min-height: 62px;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(154, 87, 82, 0.3);
  border-radius: 999px;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.48);
  font: 500 18px / 1.55 var(--sans);
  letter-spacing: 0.025em;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.product-tab span {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
}

.product-tab:hover,
.product-tab:focus-visible {
  color: var(--brown);
  background: #fff;
  border-color: rgba(154, 87, 82, 0.55);
}

.product-tab.is-active {
  color: #fff;
  background: var(--brown);
  border-color: var(--brown);
  box-shadow: 0 8px 24px rgba(154, 87, 82, 0.12);
}

/* ----------------------------------------
   
---------------------------------------- */
.product-panels {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.product-panel[hidden] {
  display: none !important;
}

.product-panel {
  min-height: 240px;
  padding: 76px 0 30px;
}


/* ----------------------------------------
   
---------------------------------------- */
.product-series-tabs {
  display: flex;
  justify-content: center;
  padding: 28px 24px 0;
  background: #fff;
  display: none;
}

.product-series-tab {
  min-width: min(100%, 360px);
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid var(--rose);
  border-radius: 999px;
  color: var(--dark);
  background: #fff;
  font: 500 15px / 1.5 var(--serif);
  letter-spacing: 0.04em;
  cursor: pointer;
}

.product-series-tab.is-active {
  color: #fff;
  background: var(--rose);
}

.product-series-tab:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 4px;
}

.product-series-panel {
  width: 100%;
}

/* ----------------------------------------
   
---------------------------------------- */
.product-category,
[data-series-fragment] {
  width: 100%;
}

.products-series-heading {
  min-height: 82px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1e5e4;
  color: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}

.products-series-heading--clear {
  background: #edf4f4;
}

.products-series-heading p {
  margin: 0 0 7px;
  color: var(--dark);
  font: 13px Georgia, serif;
  letter-spacing: 0.16em;
}

.products-series-heading h2 {
  margin: 0;
  color: var(--black);
  font-size: 24px;
  letter-spacing: 0.055em;
  font-weight: 500;
}

.products-series-heading > span {
  flex: 0 0 auto;
  min-height: 0;
  padding: 7px 16px;
  color: var(--rose);
  background: transparent;
  border: 1px solid rgba(153, 102, 102, 0.55);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}

.product-category--clear .products-series-heading h2,
.product-category--clear .products-series-heading > span {
  color: var(--black);
}

.product-category--clear .products-series-heading > span {
  border-color: rgba(80, 110, 110, 0.35);
}

/* ----------------------------------------
   
---------------------------------------- */
.products-overview {
  padding: 82px 7%;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  background: #fff;
}

.products-overview__package {
  /* min-height: 300px; */
  display: grid;
  place-items: center;
}

.products-overview__package img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
}

.products-overview__copy h3 {
  margin: 0 0 22px;
  font: 500 clamp(26px, 2.7vw, 36px) / 1.55 var(--serif);
  color: var(--rose);
  letter-spacing: 0.035em;
}

.product-category--clear .products-overview__copy h3 {
  color: var(--black);
}

.products-overview__copy > p {
  margin: 0 0 32px;
  color: var(--black);
  font-size: 14px;
  line-height: 2;
}

.products-overview__copy > p i {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin: 0 12px -2px;
  background: var(--line);
}

.products-color-dots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.products-color-dots span {
  min-width: 0;
  text-align: center;
}

.products-color-dots img {
  display: block;
  width: min(86px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 11px;
  object-fit: contain;
}

.products-color-dots b {
  display: block;
  color: var(--black);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.025em;
}

.products-color-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.products-color-card {
  min-width: 0;
  overflow: hidden;
  background: #faf8f7;
}

.products-color-card__cassette {
  display: block;
  width: 100%;
  height: auto;
}

.products-finish-note {
  margin: 16px 2px 48px;
  color: var(--black);
  font-size: 10px;
  line-height: 1.6;
  text-align: right;
}

.products-data-guide {
  position: relative;
  margin: 30px auto 0
  padding: 24px 64px 24px 28px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(153, 102, 102, 0.5);
  border-radius: 4px;
  background: #fff;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.products-data-guide:hover {
  background: #fbf8f7;
  border-color: var(--rose);
}

.products-data-guide strong {
  color: var(--dark);
  font: 500 18px var(--serif);
  letter-spacing: 0.025em;
}

.products-data-guide span {
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.products-data-guide i {
  position: absolute;
  top: 50%;
  right: 26px;
  transform: translateY(-50%);
  color: var(--rose);
  font: normal 28px var(--sans);
  border: 1px solid var(--rose);
  border-radius: 999px;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 0.7;
  font-weight: 600;
}

.products-data-guide i::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-top: 2px solid var(--rose);
    border-left: 2px solid var(--rose);
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    left: 6px;
    rotate: 135deg;
}

/* ----------------------------------------
   
---------------------------------------- */
.clear-product-demo {
  padding: 66px 6%;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 7vw;
  align-items: center;
  background: #fff;
}

.clear-product-demo__visual {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
  background: #f4f6f5;
}

.clear-product-demo__visual img {
  display: block;
  width: min(88%, 520px);
  height: auto;
  object-fit: contain;
}

.clear-product-demo__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 7px 16px;
  border-radius: 999px;
  color: #fff;
  background: #7c9690;
  font-size: 12px;
}

.clear-product-demo__copy h2 {
  margin: 0 0 22px;
  font: 500 clamp(30px, 3.4vw, 44px) / 1.3 Georgia, var(--serif);
  letter-spacing: 0.03em;
}

.clear-product-demo__copy > p:not(.products-kicker):not(.clear-product-demo__notice) {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.clear-product-demo dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.clear-product-demo dl div {
  padding: 11px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.clear-product-demo dt {
  color: var(--muted);
}

.clear-product-demo dd {
  margin: 0;
}

.clear-product-demo__notice {
  margin: 16px 0 0;
  color: #908782;
  font-size: 11px;
  line-height: 1.7;
}

.clear-features {
  margin: 22px 0 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.clear-features article {
  padding: 28px 20px;
  border: 1px solid var(--line);
  text-align: center;
}

.clear-features img {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: block;
  object-fit: contain;
}

.clear-features h3 {
  margin: 0 0 9px;
  font: 500 17px var(--serif);
}

.clear-features p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* ----------------------------------------
   
---------------------------------------- */
.products-request {
  margin-top: 40px;
  padding: 28px 32px;
  background: #ececec;
}

.products-request h2 {
  margin: 0 0 14px;
  color: var(--dark);
  font: 500 17px var(--serif);
}

.products-request ul {
  margin: 0;
  padding-left: 1.4em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.products-request p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.products-request--clear {
  background: #f3f6f5;
}

/* ----------------------------------------
   
---------------------------------------- */
.rough-backtop {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto 72px;
  text-align: right;
}

.rough-backtop a {
  color: var(--dark);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ----------------------------------------
   SP / Tablet
---------------------------------------- */
@media (max-width: 900px) {
  .products-overview {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-inline: 7%;
  }

  .clear-product-demo {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .product-tabs {
    grid-template-columns: 1fr;
    margin-top: 30px;
    gap: 10px;
  }

  .product-tab {
    min-height: 58px;
    padding: 12px 18px;
    font-size: 15px;
  }

  .product-panels {
    width: calc(100% - 28px);
  }

  .product-panel {
    padding: 46px 0 30px;
  }

  .product-series-tabs {
    padding: 22px 14px 0;
  }

  .product-series-tab {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .products-series-heading {
    min-height: 64px;
    padding: 0 18px;
  }

  .products-series-heading p {
    font-size: 10px;
  }

  .products-series-heading h2 {
    font-size: 17px;
    line-height: 1.45;
  }

  .products-series-heading > span {
    padding: 5px 11px;
    font-size: 12px;
  }

  .products-overview {
    padding: 10px 18px 52px;
    gap: 28px;
  }

  .clear-product-demo {
    padding: 0 18px;
  }

  .products-overview__package img {
    width: min(100%, 460px);
    margin-inline: auto;
  }

  .products-overview__copy h3 {
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 1.6;
  }

  .products-overview__copy > p {
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.9;
  }

  .products-overview__copy > p i {
    margin-inline: 7px;
  }

  .products-color-dots {
    gap: 7px;
  }

  .products-color-dots img {
    margin-bottom: 8px;
  }

  .products-color-dots b {
    font-size: 10px;
  }

  .products-color-grid {
    margin-top: 22px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .products-finish-note {
    margin: 12px 2px 38px;
    font-size: 10px;
  }

  .products-data-guide {
    width: 100%;
    padding: 20px 50px 20px 18px;
    border-radius: 3px;
  }

  .products-data-guide strong {
    font-size: 18px;
    line-height: 1.5;
  }

  .products-data-guide span {
    margin-top: 2px;
    font-size: 13px;
  }

  .products-data-guide i {
    right: 17px;
  }

  .clear-product-demo__copy h2 {
    font-size: 30px;
  }

  .clear-product-demo dl div {
    grid-template-columns: 88px 1fr;
    font-size: 13px;
  }

  .clear-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .clear-features article {
    padding: 22px 18px;
  }

  .products-request {
    margin-top: 54px;
    padding: 26px 20px;
    background: #ececec;
    color: var(--black);
    font-family: var(--sans);
  }

  .products-request h3 {
    margin: 0 0 14px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
  }

  .products-request ul {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 1.4em;
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
  }

  .rough-backtop {
    width: calc(100% - 40px);
    margin-bottom: 56px;
  }

  .sub-fv--products .sub-fv__ring {
    top: -360px;
    width: 540px;
  }
}

/* ----------------------------------------
   PC (min-width: 781px)
---------------------------------------- */
@media (min-width: 781px) {
  .products-overview__copy > p {
    font-size: 14px;
  }

  .products-color-dots b {
    font-size: 16px;
  }

  .products-data-guide {
    width: 60%;
    max-width: 640px;
	margin: 30px auto;
	text-align: center;
	padding: 10px 0 8px;
  }

  .products-finish-note {
    font-size: 14px;
  }

  .products-data-guide strong {
    font-size: 26px;
  }

  .products-data-guide span {
    font-size: 18px;
  }
}
/* ========================================
   ONLINE STORE
======================================== */

.products-shop {
	width: min(100%, 820px);
	margin: 72px auto 0;
	padding: 54px 48px;
	background: #fbf8f7;
}

.products-shop__heading {
	margin: 0 auto 36px;
	text-align: center;
}

.products-shop__heading > p {
	margin: 0 0 8px;
	color: var(--brown);
	font-family: var(--garamond);
	font-size: 14px;
	letter-spacing: .14em;
}

.products-shop__heading h3 {
	margin: 0;
	color: var(--black);
	font-family: var(--serif);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.5;
}

.products-shop__heading > span {
	display: block;
	margin-top: 10px;
	color: var(--black);
	font-size: 14px;
	line-height: 1.8;
}

.products-shop__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.products-shop__btn {
	position: relative;
	min-height: 68px;
	padding: 18px 58px 18px 24px;

	display: flex;
	align-items: center;

	border: 1px solid rgba(153, 102, 102, .48);
	border-radius: 3px;

	color: var(--brown);
	background: #fff;

	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;

	transition:
		background-color .25s ease,
		border-color .25s ease,
		transform .25s ease;
}

.products-shop__btn:hover {
	background: #f8efec;
	border-color: var(--rose);
	transform: translateY(-1px);
}


/* 外部リンクアイコン */

.products-shop__btn i {
	position: absolute;
	top: 50%;
	right: 22px;

	width: 14px;
	height: 14px;

	border: 1.5px solid var(--rose);
	border-radius: 1px;

	transform: translateY(-50%);
}

.products-shop__btn i::before {
	content: "";

	position: absolute;
	top: -4px;
	right: -4px;

	width: 8px;
	height: 8px;

	background: #fff;
}

.products-shop__btn i::after {
	content: "↗";

	position: absolute;
	top: -11px;
	right: -5px;

	color: var(--rose);
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 1;
}


/* ========================================
   SP
======================================== */

@media (max-width: 560px) {

	.products-shop {
		width: 100%;
		margin: 54px auto 30px;
		padding: 40px 18px;
	}

	.products-shop__heading {
		margin-bottom: 28px;
	}

	.products-shop__heading > p {
		font-size: 12px;
	}

	.products-shop__heading h3 {
		font-size: 23px;
	}

	.products-shop__heading > span {
		font-size: 13px;
	}

	.products-shop__links {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.products-shop__btn {
		min-height: 62px;
		padding: 16px 52px 16px 20px;
		font-size: 16px;
	}

	.products-shop__btn i {
		right: 20px;
	}

}
/* ========================================
   ONLINE STORE 公式ボタン追加
======================================== */

.products-shop__btn--official {
  grid-column: 1 / -1;
  width: 65%;
  justify-self: center;

  margin-bottom: 12px;

  background: #f5e9e8;
  border-color: rgba(153, 102, 102, .55);
}

/* ホバー */
.products-shop__btn--official:hover {
  background: #f0dedd;
}

/* SP */
@media (max-width: 560px) {
  .products-shop__btn--official {
    grid-column: auto;
    width: 100%;
    margin-bottom: 8px;
  }
}
.products-shop__btn--official i::before {
  background: #f5e9e8;
}

.products-shop__btn--official:hover i::before {
  background: #f0dedd;
}
