:root {
  --ink: #17202a;
  --paper: #f6f5f1;
  --blue: #1e3a75;
  --red: #d9472d;
  --orange: #ef9c34;
  --line: #d9d8d3;
  --muted: #697075;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
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,
.section-head,
.stone-hero-copy > span,
.stone-intro > div > span,
.filter-group > span,
.stone-process b,
.stone-cta > div > span,
footer {
  font:
    500 0.7rem "DM Mono",
    monospace;
  letter-spacing: 0.08em;
}
.back:hover {
  color: var(--red);
}
.stone-hero {
  position: relative;
  min-height: min(700px, calc(100vh - 82px));
  overflow: hidden;
  background: #262626;
  color: #fff;
}
.stone-hero-images {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.stone-hero-images:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 14, 17, 0.78),
    rgba(10, 14, 17, 0.04) 65%
  );
}
.stone-hero-images img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.78);
}
.stone-hero-copy {
  position: relative;
  z-index: 1;
  min-height: inherit;
  padding-bottom: 62px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.stone-hero-copy h1 {
  margin: 17px 0 0;
  font:
    700 clamp(4.4rem, 10vw, 9rem)/0.85 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.1em;
}
.stone-hero-copy p {
  max-width: 520px;
  margin: 25px 0 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: #eef0f2;
}
.stone-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 9vw;
  padding: 105px 0;
}
.stone-intro > div > span {
  color: var(--red);
}
.stone-intro h2 {
  max-width: 640px;
  margin: 20px 0 0;
  font:
    700 clamp(2.2rem, 4.2vw, 4.7rem)/0.97 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.085em;
}
.stone-intro > p {
  max-width: 490px;
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 2;
}
.section-head {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  border-top: 1px solid var(--ink);
}
.stone-families {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stone-family {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #fff;
  background: #555;
}
.stone-family > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.stone-family:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 13, 15, 0.78),
    rgba(10, 13, 15, 0.04) 70%
  );
}
.stone-family:hover > img {
  transform: scale(1.045);
}
.stone-family > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  min-height: 500px;
  padding: 28px;
}
.stone-family span,
.stone-meta,
.stone-card > div > b {
  font:
    500 0.65rem "DM Mono",
    monospace;
  letter-spacing: 0.06em;
}
.stone-family h3 {
  margin: 13px 0 12px;
  font:
    700 clamp(1.65rem, 2.5vw, 2.35rem)/0.95 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.07em;
}
.stone-family p {
  min-height: 3.6em;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
}
.stone-family b {
  margin-top: 19px;
  color: #f7c975;
  font:
    500 0.62rem "DM Mono",
    monospace;
  letter-spacing: 0.055em;
}
.stone-family a {
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid #fff;
  font:
    500 0.68rem "DM Mono",
    monospace;
  letter-spacing: 0.06em;
}
.catalog {
  padding: 105px 0;
}
.filter-groups {
  padding: 22px 0 28px;
  border-bottom: 1px solid var(--line);
}
.filter-group {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.filter-group + .filter-group {
  margin-top: 12px;
}
.filter-group > span {
  flex: 0 0 115px;
  padding-top: 11px;
  color: var(--muted);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filters button {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font:
    500 0.65rem "DM Mono",
    monospace;
  letter-spacing: 0.045em;
  cursor: pointer;
}
.filters button:hover,
.filters button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.stone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stone-card {
  min-height: 410px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stone-card-image {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: #ddd;
}
.stone-card-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 13, 15, 0.44), transparent 50%);
}
.stone-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.stone-card:hover img {
  transform: scale(1.045);
}
.stone-card-image span {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 16px;
  color: #fff;
  font:
    500 0.63rem "DM Mono",
    monospace;
  letter-spacing: 0.07em;
}
.stone-card > div {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 17px;
}
.stone-meta {
  display: flex;
  justify-content: space-between;
  color: var(--red);
}
.stone-card h3 {
  margin: 12px 0 6px;
  font:
    700 1.35rem/1 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.065em;
}
.stone-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}
.stone-card > div > b {
  margin-top: auto;
  padding-top: 16px;
  color: #747a7c;
}
.stone-card > div > a {
  align-self: flex-start;
  margin-top: 13px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font:
    500 0.64rem "DM Mono",
    monospace;
  letter-spacing: 0.05em;
}
.stone-empty {
  grid-column: 1/-1;
  margin: 0;
  padding: 38px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.catalog-note {
  max-width: 760px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.85;
}
.stone-process {
  padding-bottom: 105px;
}
.stone-process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}
.stone-process li {
  min-height: 130px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stone-process b {
  display: block;
  color: var(--red);
  margin-bottom: 43px;
}
.stone-process span {
  font-size: 0.87rem;
}
.stone-cta {
  padding: 68px 0;
  background: var(--red);
  color: #fff;
}
.stone-cta > div > span {
  color: #ffd9ad;
}
.stone-cta h2 {
  max-width: 800px;
  margin: 21px 0 18px;
  font:
    700 clamp(2.35rem, 5vw, 5.2rem)/0.94 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.085em;
}
.stone-cta p {
  max-width: 590px;
  margin: 0 0 33px;
  font-size: 0.92rem;
  line-height: 1.9;
}
.stone-cta a {
  display: inline-block;
  padding: 15px 20px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
}
footer {
  padding: 22px 0;
  background: var(--ink);
  color: #bbc1c7;
}
footer .shell {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, 1280px);
  }
  .nav {
    height: 70px;
  }
  .stone-hero {
    min-height: 560px;
  }
  .stone-hero-images {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .stone-hero-images img:nth-child(1) {
    object-position: 72% center;
  }
  .stone-hero-images img:nth-child(2) {
    object-position: 65% center;
  }
  .stone-hero-images img:nth-child(3) {
    object-position: 45% center;
  }
  .stone-hero-copy {
    padding-bottom: 39px;
  }
  .stone-hero-copy h1 {
    font-size: clamp(4rem, 18vw, 5.5rem);
  }
  .stone-hero-copy p {
    font-size: 0.86rem;
  }
  .stone-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 69px 0;
  }
  .stone-intro > p {
    font-size: 0.88rem;
  }
  .stone-families {
    grid-template-columns: 1fr;
  }
  .stone-family,
  .stone-family > div {
    min-height: 410px;
  }
  .stone-family > div {
    padding: 23px;
  }
  .catalog {
    padding: 70px 0;
  }
  .filter-groups {
    padding-top: 16px;
  }
  .filter-group {
    display: block;
  }
  .filter-group + .filter-group {
    margin-top: 17px;
  }
  .filter-group > span {
    display: block;
    padding: 0 0 9px;
  }
  .filters {
    gap: 6px;
  }
  .filters button {
    padding: 9px 10px;
    font-size: 0.58rem;
  }
  .stone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stone-card {
    min-height: 345px;
  }
  .stone-card-image {
    height: 156px;
  }
  .stone-card > div {
    min-height: 189px;
    padding: 12px;
  }
  .stone-card h3 {
    font-size: 1.05rem;
  }
  .stone-card p {
    font-size: 0.69rem;
  }
  .stone-meta,
  .stone-card > div > b,
  .stone-card > div > a {
    font-size: 0.55rem;
  }
  .stone-process {
    padding-bottom: 70px;
  }
  .stone-process ol {
    grid-template-columns: repeat(2, 1fr);
  }
  .stone-process li {
    min-height: 112px;
    padding: 16px;
  }
  .stone-process b {
    margin-bottom: 31px;
  }
  .stone-process span {
    font-size: 0.77rem;
  }
  .stone-cta {
    padding: 49px 0;
  }
  .stone-cta p {
    font-size: 0.85rem;
  }
  footer .shell {
    flex-direction: column;
    gap: 8px;
  }
}
