:root {
  color-scheme: light;
  --background: #f5f3ee;
  --surface: #ffffff;
  --surface-soft: #fbfaf7;
  --foreground: #18231c;
  --muted: #5b685f;
  --line: #d9e0d8;
  --line-strong: #c9d2ca;
  --accent: #1e4d3a;
  --accent-soft: #eef3ef;
  --accent-contrast: #ffffff;
  --shadow: 0 18px 44px rgba(24, 35, 28, 0.08);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1180px;
  --heading-font: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --body-font: "Avenir Next", "Helvetica Neue", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(30, 77, 58, 0.05), transparent 24%),
    linear-gradient(180deg, #fcfcfa 0%, var(--background) 100%);
  color: var(--foreground);
  font-family: var(--body-font);
  line-height: 1.75;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 18px;
  left: -9999px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
}

.skip-link:focus {
  left: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(201, 210, 202, 0.8);
  background: rgba(252, 252, 250, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 86px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.logo-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-copy {
  display: grid;
  gap: 2px;
}

.logo-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.logo-name {
  font-family: var(--heading-font);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.site-footer .logo {
  align-items: center;
}

.site-footer .logo-image {
  width: 72px;
  height: 72px;
}

.site-header .logo {
  gap: 0;
}

.site-header .logo-image {
  display: none;
}

.site-header .logo-copy {
  gap: 4px;
}

.nav-shell {
  min-width: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav a:hover,
.nav a.active {
  background: var(--surface);
  color: var(--foreground);
  box-shadow: 0 1px 0 rgba(24, 35, 28, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.lang-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.lang-switcher button {
  min-width: 48px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.lang-switcher button.is-active {
  background: var(--surface);
  color: var(--foreground);
  box-shadow: 0 6px 18px rgba(24, 35, 28, 0.08);
}

.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 36px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.lang-switcher a.is-active {
  background: var(--surface);
  color: var(--foreground);
  box-shadow: 0 6px 18px rgba(24, 35, 28, 0.08);
}

.mobile-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--foreground);
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 18px;
  height: 14px;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 6px;
}

.menu-icon span:nth-child(3) {
  top: 12px;
}

.mobile-menu-button.is-open .menu-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.mobile-menu-button.is-open .menu-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.is-open .menu-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 12px 28px rgba(30, 77, 58, 0.16);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--foreground);
}

.btn-secondary:hover {
  box-shadow: var(--shadow);
}

.hero {
  padding: 92px 0 76px;
  border-bottom: 1px solid rgba(201, 210, 202, 0.58);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}

.hero-grid-media {
  position: relative;
  min-height: 520px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f5ef 100%);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 28px 32px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(8px);
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.62) 32%, rgba(255, 255, 255, 0.12) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(24, 35, 28, 0.12));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
dd,
dt {
  margin-top: 0;
}

.hero-title,
.section-title,
.page-title {
  font-family: var(--heading-font);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.hero-title {
  margin: 24px 0 20px;
  font-size: clamp(42px, 6vw, 72px);
}

.hero-title-brand {
  max-width: 720px;
  font-size: clamp(38px, 5vw, 64px);
}

.hero-legal-name {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-tagline {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.hero-text,
.section-description,
.page-description,
.card p,
.panel p,
.status-panel p,
.footer-copy,
.footer-links a,
.footer-meta a,
.footer-meta span,
.info-value,
.field-note,
.article p {
  color: var(--muted);
}

.hero-text {
  max-width: 650px;
  font-size: 18px;
}

.section {
  padding: 88px 0;
}

.section-intro {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 40px;
}

.eyebrow {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

html[lang="ja"] .section-eyebrow,
html[lang="ja"] .hero-eyebrow,
html[lang="ja"] .project-label {
  display: none;
}

html[lang="ja"] .hero-title-brand {
  margin-top: 0;
}

.section-title,
.page-title {
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 54px);
}

.section-description,
.page-description {
  font-size: 17px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel-soft {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
}

.about-grid,
.company-grid,
.contact-grid,
.story-grid {
  display: grid;
  gap: 24px;
}

.about-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.story-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
}

.company-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.panel-body {
  padding: 36px;
}

.panel-body > :last-child {
  margin-bottom: 0;
}

.mini-points {
  display: grid;
  gap: 16px;
}

.mini-point {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
}

.mini-point h3,
.card h3,
.info-label,
.article h2 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.35;
}

.mini-point p,
.card p,
.article p {
  margin-bottom: 0;
}

.business-grid,
.project-grid,
.summary-grid {
  display: grid;
  gap: 20px;
}

.business-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #faf9f5 100%);
  box-shadow: var(--shadow);
}

.card-media {
  overflow: hidden;
  margin: -28px -28px 22px;
  border-radius: 22px 22px 16px 16px;
  border-bottom: 1px solid rgba(201, 210, 202, 0.72);
  background: #f4f1ea;
}

.card-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
}

.card-media-omiya img {
  object-position: center 56%;
}

.card-media-butcher img {
  object-position: center 66%;
}

.card-media-toitoi img {
  object-position: center 46%;
}

.card-media-promotion img {
  object-position: center 58%;
}

.card-media-real-estate img {
  object-position: center 62%;
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
}

.card-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-action {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-caption {
  padding: 16px 20px 20px;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  padding: 68px 0 40px;
  border-bottom: 1px solid rgba(201, 210, 202, 0.58);
}

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

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

.info-list {
  display: grid;
}

.lang-panel-en {
  display: none;
}

body[data-language="en"] .lang-panel-ja {
  display: none;
}

body[data-language="en"] .lang-panel-en {
  display: grid;
}

.info-row {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-label {
  font-size: 16px;
}

.info-value {
  margin: 0;
}

.contact-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.contact-panel .btn {
  width: fit-content;
}

.contact-mail-panel {
  max-width: 760px;
}

.contact-mail-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  color: var(--accent);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: 0.01em;
  word-break: break-all;
}

.contact-mail-link:hover {
  box-shadow: var(--shadow);
}

.notice {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.form-card {
  max-width: 840px;
}

.form {
  display: grid;
  gap: 18px;
}

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

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

.field label,
.field span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.required {
  color: #b42318;
}

.input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  color: var(--foreground);
}

.input:focus {
  outline: 3px solid rgba(30, 77, 58, 0.14);
  border-color: var(--accent);
}

textarea.input {
  min-height: 180px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.checkbox-row input {
  margin-top: 4px;
}

.field-note {
  margin: 0;
  font-size: 13px;
}

.article {
  max-width: 860px;
}

.article h2 {
  margin-top: 34px;
}

.article h2:first-child {
  margin-top: 0;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(201, 210, 202, 0.85);
  background: rgba(252, 252, 250, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.95fr;
  gap: 32px;
  padding: 42px 0;
}

.footer-copy {
  max-width: 520px;
  margin-top: 16px;
}

.footer-heading {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.center-page {
  min-height: 64vh;
  display: grid;
  place-items: center;
  padding: 88px 0;
}

.status-panel {
  max-width: 740px;
  padding: 48px;
  text-align: center;
}

.status-mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 700;
}

.status-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1240px) {
  .header-inner {
    gap: 16px;
  }

  .logo-image {
    width: 56px;
    height: 56px;
  }

  .logo-name {
    font-size: 20px;
  }

  .nav a {
    padding: 10px 11px;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 16px;
    min-height: auto;
    padding: 18px 0;
  }

  .logo {
    order: 1;
  }

  .nav-shell {
    order: 3;
    width: 100%;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .nav {
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
    grid-column: 1 / -1;
  }

  .nav a {
    padding: 12px 14px;
  }

  .mobile-menu-button {
    display: inline-flex;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .about-grid,
  .story-grid,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .business-grid,
  .project-grid,
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-meta {
    flex-direction: column;
  }

  .split-fields {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-grid-media {
    min-height: 460px;
    padding: 30px;
  }

  .hero-copy {
    max-width: 100%;
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .hero,
  .section,
  .center-page {
    padding: 68px 0;
  }

  .page-hero {
    padding: 52px 0 32px;
  }

  .hero-title {
    font-size: clamp(36px, 11vw, 54px);
  }

  .hero-title-brand {
    font-size: clamp(32px, 9vw, 48px);
  }

  .hero-tagline {
    font-size: clamp(26px, 8vw, 42px);
  }

  .hero-grid-media {
    min-height: 400px;
    padding: 20px;
    border-radius: 26px;
  }

  .hero-copy {
    padding: 18px 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
  }

  .hero-visual::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.52) 40%, rgba(255, 255, 255, 0.16) 100%);
  }

  .business-grid,
  .project-grid,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .panel-body,
  .status-panel {
    padding: 28px;
  }

  .header-actions {
    gap: 8px;
  }

  .logo {
    gap: 10px;
  }

  .logo-image,
  .site-footer .logo-image {
    width: 48px;
    height: 48px;
  }

  .logo-note {
    font-size: 10px;
  }

  .logo-name {
    font-size: 18px;
  }

  .lang-switcher button {
    min-width: 44px;
  }

  .card-media {
    margin: -28px -28px 18px;
  }

  .card-media img {
    height: 190px;
  }
}
