@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Noto+Sans+JP:wght@400;500;700;900&family=Zen+Old+Mincho:wght@600;700;900&display=swap");

:root {
  --green: #173b2d;
  --green-2: #246b45;
  --burgundy: #b3121b;
  --brass: #f2b632;
  --paper: #fff7e5;
  --surface: #ffffff;
  --text: #17251d;
  --muted: #5d6b61;
  --line: rgba(179, 18, 27, 0.18);
  --shadow: 0 28px 80px rgba(79, 21, 13, 0.22);
  --pop-shadow: 0 18px 0 rgba(242, 182, 50, 0.34), 0 34px 90px rgba(23, 59, 45, 0.28);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    repeating-linear-gradient(135deg, rgba(179, 18, 27, 0.055) 0 2px, transparent 2px 22px),
    linear-gradient(90deg, rgba(23, 59, 45, 0.055) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--paper);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 247, 229, 0.96);
  border-bottom: 4px solid var(--burgundy);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(360px, 58vw);
}

.brand img {
  width: 320px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(179, 18, 27, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--green);
  border: 1px solid transparent;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: var(--burgundy);
  border-color: var(--brass);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--green);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 72px 0 56px;
  background: var(--burgundy);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 54%;
  background: var(--green);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero::after {
  content: "CUT MUSHROOM / IQF / JAPAN";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.08);
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 6vw, 84px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--burgundy);
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--brass);
}

.hero .eyebrow {
  color: #fff;
}

.hero .eyebrow::before {
  background: var(--brass);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green);
  font-family: "Zen Old Mincho", serif;
  line-height: 1.25;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 4px 0 rgba(23, 59, 45, 0.32);
}

h1 .line,
h2 .line {
  display: block;
}

h1 {
  font-size: clamp(38px, 4.4vw, 64px);
}

.hero h1 {
  font-size: clamp(38px, 4.2vw, 50px);
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.lead {
  margin-top: 24px;
  color: var(--text);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 800;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid var(--green);
  border-radius: 999px;
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 0 rgba(23, 59, 45, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 0 rgba(23, 59, 45, 0.18);
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.hero .btn-primary,
.cta .btn-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: #221600;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.94);
  color: var(--green);
}

.btn-phone {
  border-color: var(--brass);
  background: #fff;
  color: var(--burgundy);
}

.hero-media {
  position: relative;
  min-width: 0;
  overflow: clip;
  padding: 10px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% auto auto -5%;
  width: 38%;
  height: 78%;
  border-left: 6px solid var(--brass);
  border-bottom: 6px solid var(--brass);
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  border-radius: var(--radius);
  border: 8px solid #fff;
  box-shadow: var(--pop-shadow);
  transform: rotate(-1.4deg);
}

.spec-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 42px;
  overflow: hidden;
  border: 4px solid var(--brass);
  border-radius: var(--radius);
  background: var(--brass);
  box-shadow: 0 18px 0 rgba(23, 59, 45, 0.18);
}

.spec-strip div {
  min-height: 108px;
  padding: 22px;
  background: #fff;
}

.spec-strip strong {
  display: block;
  color: var(--burgundy);
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.spec-strip span {
  color: var(--muted);
  font-size: 13px;
}

main > section {
  padding: 78px 0;
}

main > section:nth-of-type(3n) {
  background: rgba(255, 255, 255, 0.58);
  border-block: 1px solid rgba(179, 18, 27, 0.12);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 8px;
  text-underline-offset: -3px;
}

.section-head p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-burst {
  padding: 34px 0 26px;
  background: #fff;
  border-block: 6px solid var(--brass);
}

.photo-burst-grid,
.product-showcase,
.process-gallery,
.certificate-strip {
  display: grid;
  gap: 14px;
}

.photo-burst-grid {
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 180px;
  align-items: stretch;
}

.photo-burst figure,
.product-showcase figure,
.process-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  box-shadow: 8px 8px 0 rgba(179, 18, 27, 0.18);
}

.photo-burst figure:nth-child(even),
.process-gallery figure:nth-child(even) {
  border-color: var(--burgundy);
}

.photo-burst img,
.product-showcase img,
.process-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.photo-burst-main {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-burst figcaption,
.product-showcase figcaption,
.process-gallery figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brass);
  color: #251800;
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.product-card,
.value-card,
.news-item,
.factory-card,
.contact-panel {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  box-shadow: 0 10px 0 rgba(179, 18, 27, 0.12);
}

.product-card::before {
  content: "";
  display: block;
  height: 8px;
  margin: -18px -18px 18px;
  background: var(--burgundy);
}

.product-card img {
  width: 108px;
  height: 108px;
  margin-bottom: 16px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  border: 4px solid var(--brass);
}

.product-card h3,
.value-card h3,
.news-item h3,
.factory-card h3 {
  font-size: 22px;
}

.product-card p,
.value-card p,
.news-item p,
.factory-card p,
.muted {
  color: var(--muted);
  font-size: 14px;
}

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 8px solid var(--burgundy);
  counter-reset: process;
}

.rail-step {
  position: relative;
  padding: 28px 20px 0 0;
  counter-increment: process;
}

.rail-step::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: -18px;
  left: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 40px;
  background: var(--brass);
  color: #271900;
  border: 3px solid #fff;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.image-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 28px;
  border: 4px solid var(--green);
  background: #fff;
  box-shadow: 18px 18px 0 var(--brass);
}

.image-band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid var(--burgundy);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.value-card {
  padding: 24px;
  border-top: 8px solid var(--brass);
}

.value-card .label {
  display: block;
  margin-bottom: 20px;
  color: var(--brass);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.cta {
  position: relative;
  overflow: hidden;
  background: var(--burgundy);
  color: #fff;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  background: var(--green);
  clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%);
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2,
.cta .eyebrow {
  color: #fff;
}

.cta .eyebrow::before {
  background: var(--brass);
}

.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  overflow: clip;
  padding-bottom: 18px;
}

.cta img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 8px solid #fff;
  box-shadow: 0 18px 0 var(--brass);
}

.page-hero {
  padding: 58px 0 44px;
  background: var(--green);
  border-bottom: 6px solid var(--brass);
  color: #fff;
}

.page-hero h1,
.page-hero .eyebrow {
  color: #fff;
}

.page-hero .lead,
.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero .breadcrumb a {
  color: #fff;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(34px, 4.4vw, 58px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 700;
}

.catalog-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 3px solid rgba(179, 18, 27, 0.24);
  background: rgba(255, 255, 255, 0.62);
  padding-inline: 18px;
}

.catalog-row img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--brass);
}

.product-showcase {
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-auto-rows: 210px;
  margin-bottom: 34px;
}

.product-showcase .showcase-large {
  grid-row: span 2;
}

.product-showcase img {
  aspect-ratio: auto;
}

.tag-list,
.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.tag-list li,
.spec-list li {
  padding: 6px 10px;
  border: 2px solid var(--burgundy);
  border-radius: 999px;
  background: #fff;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 700;
}

.service-layout {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 44px;
}

.sticky-note {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 26px;
  border-left: 10px solid var(--brass);
  background: #fff;
  box-shadow: 12px 12px 0 rgba(179, 18, 27, 0.16);
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
}

.feature-row strong {
  color: var(--burgundy);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
}

.process-gallery {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
}

.process-gallery .wide {
  grid-column: span 2;
}

.process-gallery img {
  aspect-ratio: auto;
}

.company-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.company-intro img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--brass);
  box-shadow: var(--shadow);
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.factory-card {
  overflow: hidden;
  box-shadow: 0 10px 0 rgba(242, 182, 50, 0.28);
}

.factory-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.factory-card div {
  padding: 22px;
}

.certificate-strip {
  grid-template-columns: repeat(2, minmax(0, 240px));
  justify-content: center;
  margin-top: 28px;
}

.certificate-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border: 5px solid var(--brass);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 8px 8px 0 rgba(23, 59, 45, 0.2);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.78);
}

.profile-table th,
.profile-table td {
  padding: 17px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.profile-table th {
  width: 190px;
  color: var(--green);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 28px;
  align-items: start;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--green);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--brass);
  background: rgba(200, 137, 56, 0.12);
  color: var(--green);
  font-weight: 700;
}

.contact-panel {
  padding: 24px;
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-item {
  padding: 22px;
}

.news-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--burgundy);
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.site-footer {
  padding: 42px 0;
  background: #17251d;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.footer-logo {
  width: 280px;
  max-width: 70vw;
  padding: 8px;
  background: #fff;
  border-radius: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
}

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

  .site-nav {
    position: fixed;
    inset: 77px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 34px rgba(33, 58, 45, 0.12);
  }

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

  .site-nav a {
    padding: 14px 16px;
  }

  .hero-grid,
  .section-head,
  .image-band,
  .cta-grid,
  .service-layout,
  .company-intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media::before {
    display: none;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .hero h1 {
    font-size: clamp(30px, 8.2vw, 36px);
  }

  .spec-strip,
  .product-grid,
  .photo-burst-grid,
  .product-showcase,
  .process-gallery,
  .value-grid,
  .rail,
  .factory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-burst-main,
  .product-showcase .showcase-large,
  .process-gallery .wide {
    grid-row: auto;
    grid-column: span 2;
  }

  .catalog-row {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .catalog-row img {
    width: 120px;
    height: 120px;
  }

  .catalog-row .spec-list {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100vw - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    max-width: calc(100vw - 86px);
  }

  .brand img {
    max-height: 26px;
  }

  .site-nav {
    inset: 67px 0 auto 0;
  }

  h1 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .page-hero h1 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .page-hero h1 .line {
    white-space: nowrap;
  }

  .hero h1 {
    font-size: clamp(29px, 8vw, 31px);
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  main > section {
    padding: 56px 0;
  }

  .spec-strip,
  .product-grid,
  .photo-burst-grid,
  .product-showcase,
  .process-gallery,
  .value-grid,
  .rail,
  .factory-grid {
    grid-template-columns: 1fr;
  }

  .photo-burst-main,
  .product-showcase .showcase-large,
  .process-gallery .wide {
    grid-column: auto;
  }

  .photo-burst img,
  .product-showcase img,
  .process-gallery img {
    min-height: 0;
  }

  .certificate-strip {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-row,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .catalog-row img {
    width: 112px;
    height: 112px;
  }

  .catalog-row .spec-list {
    grid-column: auto;
  }

  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
  }

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