@charset "UTF-8";

.single-product-page {
  --product-ink: #282c31;
  --product-muted: #5e6670;
  --product-line: #dce1e6;
  --product-accent: #0d3c82;
  color: var(--product-ink);
  overflow: clip;
}

.single-product-page .product-hero img,
.single-product-page .product-hero video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-product-page .screen-reader-text {
  position: absolute;
  width: 0.1rem;
  height: 0.1rem;
  padding: 0;
  margin: -0.1rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  margin-top: var(--header-height);
  overflow: hidden;
  color: #fff;
  background: #0d1117;
  isolation: isolate;
  place-items: center;
}

.product-hero__media,
.product-hero__shade {
  position: absolute;
  inset: 0;
}

.product-hero__media {
  z-index: -2;
  transform: translate3d(0, var(--product-hero-shift, 0), 0) scale(1.06);
  will-change: transform;
}

.product-hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 44%, rgba(0, 0, 0, 0.55)),
    rgba(0, 0, 0, 0.12);
}

.product-hero__placeholder {
  display: grid;
  height: 100%;
  color: rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at 35% 48%, rgba(96, 113, 128, 0.68), transparent 25%),
    linear-gradient(135deg, #161c23, #49545e 50%, #10151b);
  font-size: clamp(2rem, 4vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  place-items: center;
}

.product-hero__content {
  width: min(100% - 4em, 120rem);
  text-align: center;
  animation: product-hero-content-in 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.product-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 4.2vw, 6rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.product-story {
  padding: 8em 0 5em;
  background: #fff;
}

.product-story__inner {
  width: min(100% - 6em, 120rem);
  margin-inline: auto;
}

.product-story__heading {
  margin-bottom: 5em;
  text-align: center;
}

.product-story__heading--with-wheel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.6rem, 4vw, 6rem);
}

.product-story__heading--with-wheel .product-story__logo {
  flex: 0 1 40rem;
  width: auto;
  min-width: 0;
  margin-inline: 0;
}

.product-story__wheel {
  flex: 0 1 40rem;
  min-width: 0;
  aspect-ratio: 1;
}

.product-story__wheel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-story__heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 6.4rem);
  font-weight: 500;
}

.product-story__logo {
  width: min(100%, 40rem);
  margin-inline: auto;
}

.product-story__logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 13rem;
  margin-inline: auto;
  object-fit: contain;
}

.product-story__blocks {
  display: grid;
  gap: 4.5em;
}

.product-story__block {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: clamp(2em, 5vw, 5em);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-story__block:nth-child(even) .product-story__media {
  order: 2;
}

.product-story__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf0f2;
}

.product-story__media img {
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-story__block:hover .product-story__media img {
  transform: scale(1.025);
}

.product-story__text,
.product-story__summary {
  color: var(--product-muted);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 2.2;
}

.product-story__text p,
.product-story__summary p {
  margin: 0;
}

.product-story__text p + p,
.product-story__summary p + p {
  margin-top: 0.8em;
}

.product-story__summary {
  width: min(100%, 76rem);
  margin-inline: auto;
  text-align: center;
}

.product-story__spec {
  margin-top: 6.5em;
  text-align: center;
}

.product-story__spec a {
  display: inline-flex;
  padding: 0.5em 0;
  align-items: center;
  gap: 1em;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3vw, 3.8rem);
  line-height: 1.5;
}

.product-story__spec i {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  border-top: 0.2rem solid currentColor;
  border-right: 0.2rem solid currentColor;
  transform: rotate(45deg);
  transition: transform 300ms ease;
}

.product-story__spec a:hover i,
.product-story__spec a:focus-visible i {
  transform: translateX(0.4em) rotate(45deg);
}

.product-gallery {
  padding: 6em 0 10em;
  background: #fff;
}

.product-gallery__inner {
  width: min(100% - 6em, 120rem);
  margin-inline: auto;
}

.product-gallery h2 {
  margin: 0 0 2em;
  font-size: clamp(2rem, 4vw, 4.8rem);
  font-weight: 700;
  text-align: center;
}

.product-gallery__slider {
  position: relative;
  padding: 0 4em;
}

.product-gallery__slider .slick-slide {
  box-sizing: border-box;
  height: auto;
  padding-inline: 0.6rem;
}

.product-gallery__slider:not(.slick-initialized) {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-gallery__slider .slick-list {
  overflow: hidden;
}

.product-gallery__slider .slick-track {
  display: flex;
  align-items: stretch;
}

.product-gallery__slider .slick-slide {
  height: auto;
}

/*.product-gallery__slider .slick-slide > div {
  height: 100%;
  padding: 0 0.8em;
}*/

.product-gallery__slide {
  display: grid !important;
  height: 100%;
  min-height: 28rem;
  margin: 0;
  background: #fff;
  place-items: center;
}

.product-gallery__slide img {
  width: 100%;
  height: 100%;
  max-height: 38rem;
  object-fit: contain;
}

.product-gallery__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 4.8rem;
  height: 4.8rem;
  padding: 0;
  color: var(--product-accent);
  background: #fff;
  border: 0.1rem solid var(--product-line);
  border-radius: 0.8rem;
  transform: translateY(-50%);
  transition:
    color 250ms ease,
    background 250ms ease,
    border-color 250ms ease;
  place-items: center;
}

.product-gallery__arrow::before {
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  border-top: 0.2rem solid currentColor;
  border-right: 0.2rem solid currentColor;
}

.product-gallery__arrow--prev {
  left: 0;
}

.product-gallery__arrow--prev::before {
  transform: translateX(0.15em) rotate(-135deg);
}

.product-gallery__arrow--next {
  right: 0;
}

.product-gallery__arrow--next::before {
  transform: translateX(-0.15em) rotate(45deg);
}

.product-gallery__arrow:hover,
.product-gallery__arrow:focus-visible {
  color: #fff;
  background: var(--product-accent);
  border-color: var(--product-accent);
}

.product-gallery__arrow.slick-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.js-product-reveal.is-reveal-ready {
  opacity: 0;
  transform: translateY(2.4rem);
}

.js-product-reveal.is-in-view {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes product-hero-content-in {
  from {
    opacity: 0;
    transform: translateY(1.8rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .product-story {
    padding: 6em 0 4em;
  }

  .product-story__inner,
  .product-gallery__inner {
    width: min(100% - 1em, 120rem);
  }

  .product-story__heading {
    margin-bottom: 4em;
  }

  .product-story__blocks {
    gap: 5em;
  }

  .product-story__block {
    gap: 2em;
    grid-template-columns: 1fr;
  }

  .product-story__block:nth-child(even) .product-story__media {
    order: 0;
  }

  .product-story__text {
    width: min(100%, 72rem);
    margin-inline: auto;
  }

  .product-story__spec {
    margin-top: 5em;
  }

  .product-gallery {
    padding: 1em 0 3em;
  }
}

@media (max-width: 600px) {
  .product-hero {
    min-height: min(78rem, calc(85svh - var(--header-height)));
  }

  .product-hero__content {
    width: min(100% - 2.5em, 120rem);
  }

  .product-hero h1 {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }

  .product-story__logo {
    width: min(80%, 32rem);
  }

  .product-story__blocks {
    gap: 4em;
  }

  .product-story__text,
  .product-story__summary {
    font-size: 1.5rem;
    line-height: 2;
  }

  .product-story__spec a {
    align-items: flex-start;
    font-size: 2.2rem;
    text-align: left;
  }

  .product-story__spec i {
    margin-top: 0.45em;
  }

  .product-gallery h2 {
    margin: 0 0 1em;
  }

  .product-gallery__slider {
    padding: 0;
  }

  .product-gallery__slider .slick-slide {
    padding-inline: 0.4rem;
  }

  .product-gallery__arrow {
    width: 3rem;
    height: 3rem;
  }

  .product-gallery__slider:not(.slick-initialized) {
    grid-template-columns: 1fr;
  }

  .product-gallery__slider .slick-slide > div {
    padding: 0 0.4em;
  }

  .product-gallery__slide {
    min-height:auto;
  }

  .kiji-box .has-medium-font-size{
    font-size: 1.4rem!important;
  }

  .product-gallery__arrow--next {
    right: -6px;
  }

  .product-gallery__arrow--prev {
    left: -6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-hero__media,
  .js-product-reveal.is-reveal-ready,
  .js-product-reveal.is-in-view {
    opacity: 1;
    transform: none;
  }

  .product-hero__content {
    animation: none;
  }
}


/* 製品ページ　画像・テキスト交互レイアウト*/
.image-text-list {
  max-width: 1000px;
  margin: 0 auto;
}

.image-text-item {
  display: flex;
  /*align-items: stretch;*/
  margin-bottom: 1em;
    align-items: center;
}

.image-text-item:nth-child(even) {
  flex-direction: row-reverse;
}

.image-text-item__text {
  width: 46%;
}

.image-text-item__image {
  margin: 0;
  width: 54%;
  position: relative;
  /*align-self: flex-start;*/
  aspect-ratio: 16 / 9;
  overflow: hidden;
  align-items: center;
}

.image-text-item__image img {
    position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-text-item__text {
  /*padding: 3em 4em;*/
  padding: 1em 3em 3em;
  background: #fff;

  font-size: 1.5rem;
  line-height: 2;
}

.image-text-item__text p {
  margin-bottom: 1.5em;
}

.image-text-item__text p:last-child {
  margin-bottom: 0;
}


.product-detail-link {
  margin: 4rem 0;
  text-align: center;
}

.product-detail-link__button {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 16px;
  color: #3c4144;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-decoration: none;
  transform: scale(1);
  transform-origin: center;
  transition: transform 250ms ease;
}

.product-detail-link__button::after {
  content: "";
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.product-detail-link__button:hover,
.product-detail-link__button:focus-visible {
  transform: scale(1.06);
}
.product-detail-link__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .product-detail-link__button {
    transition: none;
  }
}
@media screen and (max-width: 768px) {

  .image-text-item,
  .image-text-item:nth-child(even) {
    flex-direction: column;
  }

  .image-text-item__image,
  .image-text-item__text {
    width: 100%;
  }

  .image-text-item__image img {
    height: auto;
  }

  .image-text-item__text {
    padding: 0;
  }

  .kiji-box p{
    font-size: 1.4rem;
    line-height: 1.8;
  }

  .image-text-block .inner{
    width: 100%;
  }

  .product-detail-link {
    margin: 3rem 0;
  }

  .product-detail-link__button::after {
    width: 8px;
    height: 8px;
  }
}