:root {
  --ink: #171411;
  --soft-ink: #4a423a;
  --paper: #f8f7f2;
  --white: #ffffff;
  --hinoki: #d7c5a1;
  --gold: #a07833;
  --gold-light: #d8b66d;
  --green: #173f35;
  --green-deep: #092720;
  --red: #8c2f24;
  --line: rgba(23, 20, 17, 0.14);
  --shadow: 0 18px 45px rgba(23, 20, 17, 0.14);
  --shadow-strong: 0 28px 80px rgba(23, 20, 17, 0.22);
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  padding-bottom: env(safe-area-inset-bottom);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(216, 182, 109, 0.14), transparent 28%),
    linear-gradient(180deg, #fbfaf6, var(--paper) 28%, #f2efe6);
  font-family: var(--sans);
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(248, 247, 242, 0.78);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 247, 242, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(23, 20, 17, 0.08);
}

.brand img {
  width: min(176px, 42vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transition: width 180ms ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 14px 32px rgba(9, 39, 32, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(9, 39, 32, 0.24);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero picture,
.hero picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 20, 17, 0.88), rgba(24, 20, 14, 0.58) 46%, rgba(20, 14, 9, 0.1)),
    linear-gradient(0deg, rgba(20, 14, 9, 0.7), rgba(20, 14, 9, 0.04) 58%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, transparent 0 46%, rgba(255, 255, 255, 0.08) 48%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 118px;
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8c77b;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.25;
}

h1 {
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 700;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 620px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(23, 63, 53, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-strip span {
  padding: 16px 8px;
  text-align: center;
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 180ms ease;
}

.hero-strip span:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 4vw, 56px);
  scroll-margin-top: 92px;
}

.section-heading {
  width: min(1080px, 100%);
  margin: 0 auto 34px;
}

.section-heading.wide {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
  align-items: end;
}

.section-heading h2,
.custom-copy h2,
.contact h2 {
  font-size: clamp(30px, 4.2vw, 52px);
}

.section-heading p:last-child,
.custom-copy p,
.contact p {
  margin: 12px 0 0;
  color: var(--soft-ink);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.audience-panel {
  min-height: 260px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 20, 17, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.audience-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(160, 120, 51, 0.34);
  box-shadow: var(--shadow);
}

.audience-panel.dark {
  color: var(--white);
  background: var(--green);
  border-color: transparent;
}

.audience-panel span,
.product-kicker,
.group-title span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.audience-panel strong {
  display: block;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
}

.audience-panel p {
  margin: 16px 0 0;
  color: var(--soft-ink);
}

.audience-panel.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.products {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 247, 242, 0.92)),
    repeating-linear-gradient(90deg, rgba(160, 120, 51, 0.06) 0 1px, transparent 1px 84px);
}

.product-toolbar {
  position: sticky;
  top: 82px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, 100%);
  margin: -8px auto 42px;
  padding: 10px;
  border: 1px solid rgba(23, 20, 17, 0.1);
  border-radius: 8px;
  background: rgba(248, 247, 242, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px rgba(23, 20, 17, 0.08);
}

.product-toolbar button {
  min-height: 40px;
  padding: 0 16px;
  color: var(--soft-ink);
  font: inherit;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.product-toolbar button:hover,
.product-toolbar button.is-active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.product-group {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.product-group + .product-group {
  margin-top: 70px;
}

.product-group.is-hidden {
  display: none;
}

.group-title {
  margin-bottom: 22px;
}

.group-title h3 {
  margin-top: 6px;
  font-size: clamp(26px, 3vw, 38px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 20, 17, 0.08);
  transition: opacity 180ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(160, 120, 51, 0.28);
  box-shadow: var(--shadow-strong);
}

.product-card.is-hidden {
  display: none;
}

.image-zoom {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e5dfd3;
  cursor: zoom-in;
}

.image-zoom::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  content: "拡大";
  background: rgba(9, 39, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.image-zoom:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.product-card.large {
  grid-template-rows: auto 1fr;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e5dfd3;
  transition: transform 420ms ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card div {
  display: flex;
  flex-direction: column;
  min-height: clamp(248px, 24vw, 292px);
  padding: 24px;
}

.product-card h4 {
  margin-top: 8px;
  font-size: 22px;
}

.product-card p {
  margin: 14px 0 0;
  color: var(--soft-ink);
}

.product-card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--red);
  font-weight: 700;
  transition: color 160ms ease;
}

.product-card a:hover {
  color: var(--green);
}

.custom {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(238, 241, 236, 0.94), rgba(246, 240, 226, 0.92)),
    linear-gradient(90deg, rgba(23, 63, 53, 0.06), transparent);
}

.custom-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--soft-ink);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "◆";
}

.trust {
  background:
    linear-gradient(135deg, #11100e, #173f35 130%),
    var(--ink);
  color: var(--white);
}

.trust .section-heading h2,
.trust h3 {
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.18);
}

.trust-grid article {
  min-height: 250px;
  padding: 28px;
  background: #211c18;
  transition: background 180ms ease, transform 180ms ease;
}

.trust-grid article:hover {
  background: #282017;
  transform: translateY(-4px);
}

.trust-grid span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
}

.trust-grid h3 {
  margin-top: 22px;
  font-size: 24px;
}

.trust-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.company {
  background: var(--paper);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.message {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 20, 17, 0.08);
}

.message img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 6px;
}

.message h3 {
  margin-top: 8px;
  font-size: 30px;
}

.message p:last-child {
  margin: 14px 0 0;
  color: var(--soft-ink);
}

.company-list {
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 20, 17, 0.06);
}

.company-list div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.company-list div:last-child {
  border-bottom: 0;
}

.company-list dt {
  color: var(--gold);
  font-weight: 700;
}

.company-list dd {
  margin: 0;
  color: var(--soft-ink);
}

.company-list a {
  color: var(--red);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(48px, 7vw, 82px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(135deg, var(--green), var(--green-deep)),
    var(--green);
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 18;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  color: var(--white);
  background: rgba(9, 39, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(9, 39, 32, 0.28);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.floating-contact span {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.floating-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--ink);
  font-weight: 700;
  background: var(--gold-light);
  border-radius: 4px;
}

.lightbox {
  width: min(1040px, calc(100% - 28px));
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #0f0d0b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
}

.lightbox::backdrop {
  background: rgba(7, 5, 3, 0.74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #171411;
}

.lightbox p {
  margin: 0;
  padding: 16px 20px;
  font-family: var(--serif);
  font-size: 18px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.46);
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(-0.5%, -0.5%, 0);
  }
  to {
    transform: scale(1.09) translate3d(1.2%, 0.8%, 0);
  }
}

.contact .eyebrow {
  color: #e8c77b;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #0f0d0b;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 6px;
}

.site-footer small {
  display: block;
  margin-top: 12px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .hero-content {
    width: min(640px, calc(100% - 36px));
  }

  .section-heading.wide,
  .audience-grid,
  .product-grid,
  .custom,
  .trust-grid,
  .company-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-toolbar {
    top: 76px;
  }

  .trust-grid {
    background: transparent;
    gap: 12px;
  }

  .product-card,
  .product-card.large {
    grid-template-rows: auto 1fr;
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 88px;
  }

  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .site-nav {
    top: 66px;
  }

  .hero {
    min-height: 94svh;
  }

  .section {
    padding: 64px 16px;
    scroll-margin-top: 74px;
  }

  .hero-content {
    padding: 118px 0 96px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-strip span:last-child {
    grid-column: 1 / -1;
  }

  .button,
  .nav-cta,
  .floating-contact a {
    width: 100%;
  }

  .product-toolbar {
    top: 70px;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: calc(100% + 8px);
    margin-left: -4px;
    margin-right: -4px;
    scrollbar-width: none;
  }

  .product-toolbar::-webkit-scrollbar {
    display: none;
  }

  .product-toolbar button {
    flex: 0 0 auto;
  }

  .audience-panel {
    min-height: 220px;
  }

  .product-card,
  .product-card.large {
    grid-template-rows: auto 1fr;
  }

  .product-card div {
    min-height: auto;
    padding: 20px;
  }

  .product-card h4 {
    font-size: 20px;
  }

  .message {
    grid-template-columns: 1fr;
  }

  .message img {
    max-width: 260px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .floating-contact {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 82px 82px;
    padding: 8px;
  }

  .floating-contact span {
    padding: 0;
    font-size: 12px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
