@charset "UTF-8";

/* Japan Pearls page. Keep all layout rules scoped to this page. */
.japan-pearls-page {
  color: #2c2c2c;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.japan-pearls-page *,
.japan-pearls-page *::before,
.japan-pearls-page *::after { box-sizing: border-box; }

.japan-pearls-page img { display: block; max-width: 100%; height: auto; }
.japan-pearls-page .jp-serif {
  font-family: "Sterling Display", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: .07em;
}

.jp-main { overflow: hidden; }
.jp-wrap { width: min(calc(100% - 40px), 1100px); margin-inline: auto; }
.jp-narrow { width: min(100%, 760px); margin-inline: auto; }
.jp-section { padding-block: 100px; }
.jp-title {
  margin: 0;
  text-align: center;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.25;
}
.jp-copy,
.jp-store__address {
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .025em;
}
.jp-copy p { margin: 0 0 24px; }
.jp-copy p:last-child { margin-bottom: 0; }

.jp-page-hero { position: relative; width: 100%; }
.jp-page-hero__visual,
.jp-page-hero__visual img { width: 100%; }
.jp-page-hero__visual img { object-fit: cover; }
.jp-page-hero h1 {
  position: absolute;
  top: 38%;
  left: max(30px, calc((100% - 1340px) / 2));
  margin: 0;
  color: #24649a;
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: 1;
}
.jp-page-hero__tax {
  position: absolute;
  top: 54%;
  left: max(70px, calc((100% - 1130px) / 2));
  width: clamp(78px, 8.3vw, 160px);
}

.jp-intro .jp-copy,
.jp-locations .jp-copy,
.jp-about .jp-copy { margin-top: 48px; }
.japan-pearls-page .jp-sea {
  width: 100%;
  max-width: 1960px;
  margin: 0 auto;
}
.japan-pearls-page .jp-sea img {
  width: 100%;
  max-width: 1960px;
  height: 500px;
  max-height: 500px;
  margin-inline: auto;
  object-fit: cover;
  object-position: center center;
}
.japan-pearls-page .jp-about-banner {
  width: 100%;
  max-width: 1960px;
  height: 500px;
  max-height: 500px;
  margin-inline: auto;
  object-fit: cover;
  object-position: center center;
}
.japan-pearls-page .jp-world-hero {
  width: 100%;
  max-width: 1960px;
  height: 500px;
  max-height: 500px;
  margin-inline: auto;
  object-fit: cover;
  object-position: center center;
}
.japan-pearls-page .jp-store-hero {
  width: 100%;
  max-width: 1960px;
  height: 500px;
  max-height: 500px;
  margin-inline: auto;
  object-fit: cover;
  object-position: center center;
}
.jp-locations__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  align-items: center;
  gap: 70px;
}
.jp-locations__layout .jp-title { text-align: left; }
.jp-map { width: 100%; max-width: 450px; margin-inline: auto; }

.jp-process-hero { position: relative; }
.jp-process-hero img { width: 100%; max-height: 680px; object-fit: cover; }
.jp-process-hero h2 {
  position: absolute;
  top: 18%;
  left: max(40px, calc((100% - 1100px) / 2));
  margin: 0;
  color: #806d42;
  font-size: clamp(36px, 4.1vw, 66px);
  line-height: 1.08;
}
.jp-process-block {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
}
.jp-process-block + .jp-process-block { margin-top: 140px; }
.jp-process-block__copy .jp-title { text-align: left; }
.jp-process-block__copy .jp-copy { margin-top: 38px; }
.jp-process-images,
.jp-sorting-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.jp-process-images img,
.jp-sorting-gallery img { width: 100%; border-radius: 18px; }
.jp-sorting-gallery { gap: 14px; order: -1; }
.jp-sorting-gallery img:last-child { grid-column: 1 / -1; }

.jp-about { padding-bottom: 0; }
.jp-about-banner { margin-top: 90px; }
.jp-wako-mark { width: min(560px, 72%); margin: 0 auto 80px; }
.jp-wako-copy { margin-top: 42px; }

.jp-products { padding-top: 130px; }
.jp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 54px 24px;
  margin-top: 52px;
}
.jp-product-card {
  display: block;
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.jp-product-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f5f5f5;
}
.jp-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.jp-product-card:hover .jp-product-card__image img,
.jp-product-card:focus-visible .jp-product-card__image img { transform: scale(1.025); }
.jp-product-card h3 { margin: 17px 0 0; font-size: 14px; font-weight: 400; line-height: 1.55; }
.jp-products__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 60px 20px;
  background: #f5f5f5;
  text-align: center;
  font-size: 14px;
}
.jp-products__button,
.jp-store__details-link { margin-inline: auto; }
.jp-products__button { margin-top: 64px; }

.jp-world { padding-top: 140px; }
.jp-world-hero { margin-top: 52px; }
.jp-world-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
  margin-top: 80px;
}
.jp-world-card h3 {
  min-height: 2.8em;
  margin: 0 0 30px;
  color: #21669c;
  text-align: center;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.4;
}
.jp-world-card img { width: 100%; border-radius: 18px; }
.jp-world-card .jp-copy { margin-top: 30px; font-size: 14px; }

.jp-stores { padding-bottom: 120px; background: #eee; }
.jp-store-hero {
  margin-top: 65px;
}
.jp-store-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  padding-top: 85px;
}
.jp-store {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.jp-store h3 {
  min-height: 1.5em;
  margin: 0 0 8px;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}
.jp-store__main {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  object-fit: cover;
}
.jp-store__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 36px;
}
.jp-store__thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: cover;
}
.jp-store__address {
  min-height: 0;
  margin: 0;
  flex: 1 0 auto;
  font-style: normal;
}
.jp-store__address a { color: inherit; }
.jp-store__map {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 34px;
  border-radius: 20px;
}
.jp-store__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.jp-store__details-link {
  width: min(100%, 390px);
  min-height: 46px;
  margin-top: 34px;
}

.jp-contact { padding: 100px 20px; }
.jp-contact .subpage-contact { max-width: 720px; margin-inline: auto; }

@media (max-width: 767px) {
  .jp-wrap { width: min(calc(100% - 36px), 1100px); }
  .jp-section { padding-block: 66px; }
  .jp-title { font-size: clamp(28px, 8vw, 38px); }
  .jp-copy,
  .jp-store__address { font-size: 14px; line-height: 1.8; }

  .jp-page-hero h1 {
    top: 8%;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: clamp(34px, 11vw, 52px);
    letter-spacing: .035em;
  }
  .jp-page-hero__tax { top: 41%; left: 59%; width: 27%; max-width: 110px; }
  .jp-intro .jp-copy,
  .jp-locations .jp-copy,
  .jp-about .jp-copy { margin-top: 36px; }
  .japan-pearls-page .jp-sea img,
  .japan-pearls-page .jp-about-banner,
  .japan-pearls-page .jp-world-hero,
  .japan-pearls-page .jp-store-hero { height: 56vw; }
  .jp-locations__layout,
  .jp-process-block,
  .jp-store-list { display: block; }
  .jp-locations__layout .jp-title,
  .jp-process-block__copy .jp-title { text-align: center; }
  .jp-map { width: 76%; margin-top: 38px; }

  .jp-process-hero img { height: 425px; }
  .jp-process-hero h2 {
    top: 20%;
    left: 32px;
    font-size: clamp(34px, 10vw, 48px);
  }
  .jp-process-block + .jp-process-block { margin-top: 100px; }
  .jp-process-block__copy .jp-copy { margin-top: 34px; }
  .jp-process-images,
  .jp-sorting-gallery { width: 92%; margin: 42px auto 0; gap: 10px; }
  .jp-process-images img,
  .jp-sorting-gallery img { border-radius: 12px; }
  .jp-sorting-gallery { order: initial; }

  .jp-about-banner { margin-top: 66px; }
  .jp-wako-mark { width: 78%; margin-bottom: 62px; }
  .jp-products { padding-top: 90px; }
  .jp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 14px;
    margin-top: 38px;
  }
  .jp-product-card h3 { margin-top: 13px; font-size: 12px; }
  .jp-products__button { margin-top: 48px; }

  .jp-world { padding-top: 96px; }
  .jp-world-hero { margin-top: 42px; }
  .jp-world-list { display: block; margin-top: 62px; }
  .jp-world-card + .jp-world-card { margin-top: 82px; }
  .jp-world-card h3 { min-height: 0; font-size: 21px; }
  .jp-world-card img { width: 86%; margin-inline: auto; border-radius: 13px; }
  .jp-world-card .jp-copy { margin-top: 28px; }

  .jp-stores { padding-bottom: 82px; }
  .jp-store-hero { margin-top: 48px; }
  .jp-store-list { padding-top: 58px; }
  .jp-store + .jp-store {
    margin-top: 82px;
    padding-top: 72px;
    border-top: 1px solid #aaa;
  }
  .jp-store h3 { min-height: 0; margin-bottom: 8px; font-size: 18px; }
  .jp-store__main { width: 100%; margin-inline: auto; border-radius: 16px; }
  .jp-store__thumbs { gap: 10px; margin: 25px 0 32px; }
  .jp-store__address { min-height: 0; }
  .jp-store__map { margin-top: 28px; border-radius: 16px; }
  .jp-store__details-link { min-height: 50px; margin-top: 28px; }
  .jp-contact { padding-block: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .jp-product-card__image img { transition: none; }
}
