:root {
  --ink: #17202a;
  --paper: #f6f5f1;
  --blue: #1e3a75;
  --red: #d9472d;
  --orange: #ef9c34;
  --line: #d9d8d3;
  --muted: #697075;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.shell {
  width: min(1280px, calc(100% - 48px));
  margin: auto;
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    800 1.18rem/1 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.07em;
}
.mark {
  display: grid;
  grid-template-columns: 10px 10px;
  gap: 3px;
  width: 23px;
  transform: rotate(-3deg);
}
.mark i {
  display: block;
  aspect-ratio: 1;
}
.mark i:nth-child(1) {
  background: var(--blue);
}
.mark i:nth-child(2) {
  background: var(--red);
}
.mark i:nth-child(3) {
  background: var(--orange);
}
.mark i:nth-child(4) {
  background: var(--ink);
}
.back,
.eyebrow,
.section-head,
.category-grid b,
.note-grid span {
  font:
    500 0.72rem "DM Mono",
    monospace;
  letter-spacing: 0.08em;
}
.back:hover {
  color: var(--red);
}
.intro {
  border-top: 1px solid var(--ink);
  padding: 19px 0 88px;
}
.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 5vw;
  align-items: end;
  padding-top: 95px;
}
.entry-geometry {
  position: absolute;
  right: 1.5vw;
  top: 12px;
  width: 178px;
  height: 142px;
  pointer-events: none;
}
.entry-geometry i {
  position: absolute;
  display: block;
}
.bath-entry i:nth-child(1) {
  right: 2px;
  bottom: 1px;
  width: 111px;
  height: 111px;
  border: 15px solid var(--blue);
  border-radius: 50%;
}
.bath-entry i:nth-child(2) {
  left: 2px;
  top: 25px;
  width: 65px;
  height: 65px;
  background: var(--orange);
}
.bath-entry i:nth-child(3) {
  right: 32px;
  top: 4px;
  width: 29px;
  height: 29px;
  background: var(--red);
}
.intro h1 {
  margin: 0;
  font:
    700 clamp(3.5rem, 9vw, 8.8rem)/0.86 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.1em;
}
.intro p {
  margin: 0;
  max-width: 420px;
  font-size: 1rem;
  line-height: 1.95;
}
.category-section {
  border-top: 1px solid var(--ink);
}
.section-head {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.category-grid article {
  min-height: 142px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.category-grid b {
  position: relative;
  z-index: 1;
  color: var(--red);
}
.category-grid h2 {
  position: relative;
  z-index: 1;
  margin: 38px 0 0;
  font:
    700 1.18rem/0.94 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.07em;
}
.category-geometry {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.category-geometry i {
  position: absolute;
  display: block;
  opacity: 0.3;
}
.geometry-faucet i:nth-child(1) {
  right: 30px;
  bottom: -18px;
  width: 112px;
  height: 16px;
  background: var(--blue);
}
.geometry-faucet i:nth-child(2) {
  right: 30px;
  bottom: -18px;
  width: 16px;
  height: 84px;
  background: var(--blue);
}
.geometry-faucet i:nth-child(3) {
  right: 10px;
  bottom: 49px;
  width: 31px;
  height: 31px;
  background: var(--orange);
}
.geometry-shower i:nth-child(1) {
  right: 26px;
  bottom: -18px;
  width: 92px;
  height: 92px;
  border: 14px solid var(--red);
  border-radius: 50%;
}
.geometry-shower i:nth-child(2) {
  right: 76px;
  bottom: 13px;
  width: 15px;
  height: 72px;
  background: var(--blue);
}
.geometry-shower i:nth-child(3) {
  right: 7px;
  bottom: 13px;
  width: 23px;
  height: 23px;
  background: var(--orange);
}
.geometry-basin i:nth-child(1) {
  right: 24px;
  bottom: -22px;
  width: 112px;
  height: 112px;
  border: 15px solid var(--blue);
  border-radius: 50%;
}
.geometry-basin i:nth-child(2) {
  right: 50px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  background: var(--paper);
  border: 12px solid var(--red);
  border-radius: 50%;
}
.geometry-basin i:nth-child(3) {
  right: 15px;
  bottom: 50px;
  width: 24px;
  height: 24px;
  background: var(--orange);
}
.geometry-tub i:nth-child(1) {
  right: 16px;
  bottom: -24px;
  width: 132px;
  height: 82px;
  border: 15px solid var(--orange);
  border-radius: 68px 68px 0 0;
}
.geometry-tub i:nth-child(2) {
  right: 70px;
  bottom: 15px;
  width: 17px;
  height: 65px;
  background: var(--blue);
}
.geometry-tub i:nth-child(3) {
  right: 31px;
  bottom: 20px;
  width: 26px;
  height: 26px;
  background: var(--red);
  border-radius: 50%;
}
.geometry-toilet i:nth-child(1) {
  right: 20px;
  bottom: -24px;
  width: 104px;
  height: 104px;
  background: var(--blue);
  border-radius: 50% 50% 12px 12px;
}
.geometry-toilet i:nth-child(2) {
  right: 68px;
  bottom: 40px;
  width: 24px;
  height: 24px;
  background: var(--paper);
  border: 8px solid var(--orange);
  border-radius: 50%;
}
.geometry-toilet i:nth-child(3) {
  right: 3px;
  bottom: 28px;
  width: 35px;
  height: 35px;
  background: var(--red);
}
.geometry-drain i:nth-child(1) {
  right: 20px;
  bottom: -18px;
  width: 122px;
  height: 122px;
  border: 15px solid var(--red);
  transform: rotate(45deg);
}
.geometry-drain i:nth-child(2) {
  right: 59px;
  bottom: 18px;
  width: 45px;
  height: 45px;
  background: var(--orange);
}
.geometry-drain i:nth-child(3) {
  right: 14px;
  bottom: 16px;
  width: 21px;
  height: 91px;
  background: var(--blue);
}
@media (prefers-reduced-motion: no-preference) {
  .category-grid.is-visible .category-geometry i {
    animation: category-piece-in 11s cubic-bezier(0.55, 0, 0.2, 1) infinite;
  }
  .category-grid.is-visible .category-geometry i:nth-child(1) {
    animation-name: category-piece-left;
  }
  .category-grid.is-visible .category-geometry i:nth-child(2) {
    animation-delay: 0.16s;
  }
  .category-grid.is-visible .category-geometry i:nth-child(3) {
    animation-name: category-piece-right;
    animation-delay: 0.32s;
  }
  @keyframes category-piece-left {
    0%,
    4% {
      opacity: 0;
      transform: translateX(-56px) rotate(-8deg);
    }
    41% {
      opacity: 0.3;
      transform: translateX(4px) rotate(1deg);
    }
    48%,
    100% {
      opacity: 0.3;
      transform: translateX(0) rotate(0);
    }
  }
  @keyframes category-piece-in {
    0%,
    12% {
      opacity: 0;
      transform: translateY(-48px) scale(0.82);
    }
    44% {
      opacity: 0.3;
      transform: translateY(3px) scale(1.02);
    }
    48%,
    100% {
      opacity: 0.3;
      transform: translateY(0) scale(1);
    }
  }
  @keyframes category-piece-right {
    0%,
    20% {
      opacity: 0;
      transform: translateX(54px) rotate(8deg);
    }
    46% {
      opacity: 0.3;
      transform: translateX(-3px) rotate(-1deg);
    }
    48%,
    100% {
      opacity: 0.3;
      transform: translateX(0) rotate(0);
    }
  }
  .geometry-drain i:nth-child(1) {
    animation-name: category-drain-piece-left !important;
  }
  @keyframes category-drain-piece-left {
    0%,
    4% {
      opacity: 0;
      transform: translateX(-56px) rotate(37deg);
    }
    41% {
      opacity: 0.3;
      transform: translateX(4px) rotate(46deg);
    }
    48%,
    100% {
      opacity: 0.3;
      transform: translateX(0) rotate(45deg);
    }
  }
}
.featured-products {
  padding-top: 104px;
}
.bath-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.bath-product-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.bath-product-photo {
  display: block;
  aspect-ratio: 1.12;
  overflow: hidden;
  background: #e4e3df;
}
.bath-product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bath-product-card:hover .bath-product-photo img {
  transform: scale(1.04);
}
.bath-product-card > div {
  padding: 18px 20px 20px;
}
.bath-product-card span {
  color: var(--red);
  font:
    500 0.62rem "DM Mono",
    monospace;
  letter-spacing: 0.08em;
}
.bath-product-card h2 {
  min-height: 2.25em;
  margin: 11px 0 18px;
  font:
    700 clamp(1.2rem, 1.75vw, 1.65rem)/0.98 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.065em;
}
.bath-product-card > div a {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font:
    500 0.7rem "DM Mono",
    monospace;
  letter-spacing: 0.04em;
}
.product-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.8;
}
.photo-faucet img {
  transform: scale(1.7);
  transform-origin: 58% 65%;
}
.photo-shower img {
  transform: scale(1.28);
  transform-origin: 75% 49%;
}
.photo-basin img {
  transform: scale(1.5);
  transform-origin: 76% 72%;
}
.photo-bathtub img {
  transform: scale(1.3);
  transform-origin: 33% 55%;
}
.photo-toilet img {
  transform: scale(1.45);
  transform-origin: 76% 54%;
}
.photo-hardware img {
  transform: scale(1.48);
  transform-origin: 72% 54%;
}
.bath-product-card:hover .photo-faucet img {
  transform: scale(1.75);
}
.bath-product-card:hover .photo-shower img {
  transform: scale(1.33);
}
.bath-product-card:hover .photo-basin img {
  transform: scale(1.56);
}
.bath-product-card:hover .photo-bathtub img {
  transform: scale(1.35);
}
.bath-product-card:hover .photo-toilet img {
  transform: scale(1.5);
}
.bath-product-card:hover .photo-hardware img {
  transform: scale(1.54);
}
.note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 105px 0;
}
.note-grid h2 {
  margin: 17px 0 0;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.25;
  letter-spacing: -0.06em;
}
.note-grid p {
  margin: 0;
  max-width: 460px;
  align-self: end;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 2;
}
.cta {
  background: var(--red);
  color: #fff;
  padding: 68px 0 36px;
}
.cta .eyebrow:before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 10px;
  background: var(--orange);
}
.cta h2 {
  margin: 24px 0 54px;
  font:
    700 clamp(2.3rem, 5vw, 5rem)/1 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.08em;
}
.cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  padding-top: 20px;
}
.mail {
  font:
    600 clamp(1rem, 2vw, 1.65rem) "DM Mono",
    monospace;
}
.button {
  padding: 15px 20px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
}
footer {
  padding: 22px 0;
  background: var(--ink);
  color: #bbc1c7;
  font:
    500 0.68rem "DM Mono",
    monospace;
}
footer .shell {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, 1280px);
  }
  .nav {
    height: 70px;
  }
  .back {
    font-size: 0.62rem;
  }
  .intro {
    padding-bottom: 60px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 60px;
  }
  .intro h1 {
    font-size: 3.9rem;
  }
  .entry-geometry {
    right: 0;
    top: -18px;
    transform: scale(0.65);
    transform-origin: top right;
  }
  .intro p {
    font-size: 0.94rem;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-grid article {
    min-height: 104px;
    padding: 11px 12px;
  }
  .category-grid h2 {
    margin-top: 24px;
    font-size: 0.86rem;
    line-height: 0.98;
  }
  .category-grid b {
    font-size: 0.6rem;
  }
  .category-geometry {
    transform: scale(0.55);
    transform-origin: bottom right;
  }
  .featured-products {
    padding-top: 30px;
  }
  .bath-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bath-product-card > div {
    padding: 15px 13px 16px;
  }
  .bath-product-card h2 {
    font-size: 1.15rem;
  }
  .bath-product-card span,
  .bath-product-card > div a {
    font-size: 0.56rem;
  }
  .product-note {
    font-size: 0.7rem;
  }
  .note-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 70px 0;
  }
  .note-grid p {
    font-size: 0.86rem;
  }
  .cta {
    padding-top: 50px;
  }
  .cta-row,
  footer .shell {
    flex-direction: column;
    align-items: flex-start;
  }
  .mail {
    word-break: break-all;
  }
}
