@import url("../common.css");

:root {
  --sh-ink: #22170f;
  --sh-brown: #503323;
  --sh-wood: #8b5b34;
  --sh-red: #9f2f1e;
  --sh-amber: #c27626;
  --sh-paper: #f7f0e4;
  --sh-card: #fffaf2;
  --sh-line: rgba(80, 51, 35, 0.18);
  --sh-serif: "Noto Serif JP", serif;
  --sh-sans: "IBM Plex Sans JP", sans-serif;
}

body {
  color: var(--sh-ink);
  background: var(--sh-paper);
  font-family: var(--sh-sans);
}

.sh-sample {
  color: #fffaf2;
  background: var(--sh-red);
}

.sh-page {
  overflow: hidden;
}

.sh-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.45fr) minmax(0, 0.55fr);
  min-height: calc(100vh - 34px);
  background:
    linear-gradient(90deg, rgba(80, 51, 35, 0.06) 1px, transparent 1px) 0 0 / 42px 42px,
    var(--sh-paper);
}

.sh-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5.6vw, 82px);
}

.sh-brand {
  width: fit-content;
  margin: 0 0 clamp(44px, 8vh, 86px);
  padding: 10px 14px;
  color: var(--sh-card);
  background: var(--sh-ink);
  font-family: var(--sh-serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.sh-kicker,
.sh-section-title span,
.sh-product-head span,
.sh-business-copy span,
.sh-contact span {
  display: block;
  color: var(--sh-red);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sh-hero h1 {
  margin: 16px 0 0;
  font-family: var(--sh-serif);
  max-width: 100%;
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 1.18;
  letter-spacing: 0;
}

.sh-lead {
  width: min(520px, 100%);
  margin: 28px 0 0;
  color: #5c4639;
  font-size: 18px;
  line-height: 2;
}

.sh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.sh-hero-actions a {
  padding: 13px 18px;
  color: var(--sh-card);
  background: var(--sh-brown);
  border: 1px solid rgba(255, 250, 242, 0.32);
  transition: transform 0.24s ease, background-color 0.24s ease;
}

.sh-hero-actions a:hover {
  background: var(--sh-red);
  transform: translateY(-2px);
}

.sh-hero-visual {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
}

.sh-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-hero-visual figcaption {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 42px);
  padding: 12px 16px;
  color: var(--sh-card);
  background: rgba(34, 23, 15, 0.72);
  font-weight: 700;
}

.sh-usage,
.sh-products,
.sh-business,
.sh-craft,
.sh-contact {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 126px) 0;
}

.sh-usage {
  padding-top: clamp(120px, 16vw, 190px);
}

.sh-section-title,
.sh-product-head {
  display: block;
  margin-bottom: 38px;
}

.sh-section-title span,
.sh-product-head span,
.sh-business-copy span,
.sh-contact span {
  width: fit-content;
  padding: 8px 12px;
  color: var(--sh-card);
  background: var(--sh-red);
  border-left: 5px solid var(--sh-ink);
}

.sh-section-title h2,
.sh-product-head h2,
.sh-business h2,
.sh-contact h2 {
  margin: 30px 0 0;
  font-family: var(--sh-serif);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.24;
  letter-spacing: 0;
}

.sh-section-title h2,
.sh-product-head h2,
.sh-craft .sh-section-title h2 {
  white-space: nowrap;
}

.sh-section-title p,
.sh-product-head p,
.sh-business p,
.sh-craft p,
.sh-contact p,
.sh-item p,
.sh-use-card p {
  margin: 0;
  color: #604b3c;
  line-height: 1.9;
}

.sh-section-title p {
  max-width: 34em;
  margin-top: 28px;
}

.sh-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sh-use-card {
  background: var(--sh-card);
  border: 1px solid var(--sh-line);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.sh-use-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(80, 51, 35, 0.12);
}

.sh-use-card img,
.sh-item img,
.sh-craft img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.sh-use-card img {
  height: 260px;
}

.sh-use-card div {
  padding: 24px;
}

.sh-use-card b {
  color: var(--sh-red);
  font-size: 15px;
}

.sh-use-card h3 {
  margin: 10px 0 8px;
  font-family: var(--sh-serif);
  font-size: 28px;
}

.sh-products {
  width: 100%;
  max-width: none;
  padding-inline: max(22px, calc((100vw - 1180px) / 2));
  background: #efe1cf;
}

.sh-scroll-wrap {
  position: relative;
}

.sh-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 52px;
  right: 0;
  bottom: 8px;
  width: 86px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(239, 225, 207, 0), #efe1cf 76%);
}

.sh-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--sh-red);
  font-weight: 700;
}

.sh-scroll-hint::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--sh-card);
  background: var(--sh-red);
  border-radius: 999px;
  animation: sh-nudge 1.5s ease-in-out infinite;
}

.sh-catalog {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.sh-item {
  min-width: 220px;
  scroll-snap-align: start;
  padding: 14px;
  background: var(--sh-card);
  border: 1px solid var(--sh-line);
  transition: transform 0.24s ease;
}

.sh-item:hover {
  transform: translateY(-3px);
}

.sh-item img {
  height: 210px;
  margin-bottom: 16px;
}

.sh-item small {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 9px;
  color: var(--sh-card);
  background: var(--sh-red);
  font-weight: 700;
}

.sh-item h3 {
  margin: 0 0 6px;
  font-family: var(--sh-serif);
  font-size: 22px;
}

.sh-item em {
  display: block;
  margin-bottom: 8px;
  color: var(--sh-amber);
  font-style: normal;
  font-weight: 700;
}

.sh-business {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.sh-spec-list {
  margin: 0;
  padding: 0;
  background: var(--sh-card);
  border: 1px solid var(--sh-line);
}

.sh-spec-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 24px;
  border-top: 1px solid var(--sh-line);
}

.sh-spec-list div:first-child {
  border-top: 0;
}

.sh-spec-list dt {
  color: var(--sh-red);
  font-weight: 700;
}

.sh-spec-list dd {
  margin: 0;
  color: #4f3d32;
}

.sh-craft {
  width: 100%;
  max-width: none;
  padding-inline: max(22px, calc((100vw - 1180px) / 2));
  color: var(--sh-card);
  background: var(--sh-brown);
}

.sh-craft .sh-section-title p,
.sh-craft p {
  color: rgba(255, 250, 242, 0.74);
}

.sh-craft .sh-section-title span {
  color: #f0b26a;
}

.sh-craft-body {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.sh-craft figure {
  margin: 0;
}

.sh-craft img {
  height: 430px;
}

.sh-craft-notes {
  display: grid;
  gap: 14px;
}

.sh-craft-notes article {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 250, 242, 0.22);
}

.sh-craft-notes b {
  color: #f0b26a;
}

.sh-craft-notes h3 {
  margin: 8px 0;
  font-family: var(--sh-serif);
  font-size: 28px;
}

.sh-contact {
  margin-bottom: 72px;
  padding: clamp(42px, 7vw, 72px);
  color: var(--sh-card);
  background: linear-gradient(135deg, var(--sh-red), var(--sh-brown));
  text-align: center;
}

.sh-contact span {
  color: #ffd09f;
}

.sh-contact p {
  color: rgba(255, 250, 242, 0.82);
}

.sh-contact a {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 22px;
  color: var(--sh-ink);
  background: var(--sh-card);
  font-weight: 700;
  transition: transform 0.24s ease;
}

.sh-contact a:hover {
  transform: translateY(-2px);
}

.sh-footer {
  padding: 28px;
  color: rgba(255, 250, 242, 0.7);
  background: var(--sh-ink);
  text-align: center;
  font-size: 12px;
}

.sh-rise {
  animation: sh-rise 0.72s ease both;
}

.sh-use-card:nth-child(2),
.sh-item:nth-child(2),
.sh-item:nth-child(5) {
  animation-delay: 0.08s;
}

.sh-use-card:nth-child(3),
.sh-item:nth-child(3),
.sh-item:nth-child(6) {
  animation-delay: 0.16s;
}

@keyframes sh-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sh-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .sh-hero,
  .sh-section-title,
  .sh-product-head,
  .sh-business,
  .sh-craft-body,
  .sh-use-grid {
    grid-template-columns: 1fr;
  }

  .sh-hero-visual {
    min-height: 360px;
  }

  .sh-hero-copy {
    min-height: 500px;
  }

  .sh-section-title p {
    max-width: none;
  }

  .sh-section-title h2,
  .sh-product-head h2,
  .sh-craft .sh-section-title h2 {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .sh-hero-copy {
    padding: 34px 22px;
  }

  .sh-hero-actions a {
    flex: 1 1 100%;
    text-align: center;
  }

  .sh-spec-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sh-use-card img,
  .sh-craft img {
    height: 260px;
  }
}
