:root {
  --ink: #1f2a2e;
  --muted: #647174;
  --line: #d9e1df;
  --paper: #f7f8f5;
  --white: #ffffff;
  --teal: #14746f;
  --teal-dark: #0f4d4b;
  --gold: #b88a3c;
  --coral: #c65f4b;
  --shadow: 0 18px 45px rgba(26, 42, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Noto Sans JP", "Microsoft YaHei", "Hiragino Sans", Arial, sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid rgba(31, 42, 46, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.brand-mark.logo-mark {
  width: 72px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.brand-mark.logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.language-select select:hover,
.footer a:hover {
  color: var(--teal);
}

.language-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.language-select select {
  min-height: 38px;
  padding: 6px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

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

.hero img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 24, 27, 0.78), rgba(10, 24, 27, 0.42) 42%, rgba(10, 24, 27, 0.08)),
    linear-gradient(0deg, rgba(10, 24, 27, 0.16), rgba(10, 24, 27, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 120px clamp(20px, 7vw, 96px) 64px;
  color: var(--white);
}

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

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.15;
  font-weight: 800;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(40px, 7vw, 76px);
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.page-hero {
  padding: 150px clamp(20px, 6vw, 84px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 24, 27, 0.86), rgba(10, 24, 27, 0.5)),
    url("assets/hero-japan-realestate-commerce.png") center / cover;
}

.page-hero > div {
  max-width: 760px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.1;
}

.page-hero p:last-child {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.shop-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
}

.contact-hero {
  min-height: 360px;
  display: grid;
  align-items: end;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 6vw, 84px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--white);
}

.section h2 {
  font-size: clamp(30px, 4.3vw, 50px);
}

.section p {
  margin: 16px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(32px, 6vw, 84px);
}

.section-heading {
  max-width: 520px;
}

.section-heading.compact {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.service-card,
.product-card,
.store-panel,
.contact-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 28px;
}

.service-card span {
  color: var(--coral);
  font-weight: 800;
}

.service-card h3,
.product-card h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

.store-band {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  color: var(--white);
  background: var(--teal-dark);
}

.store-band .eyebrow,
.store-band p {
  color: rgba(255, 255, 255, 0.78);
}

.store-panel {
  padding: 8px;
  color: var(--ink);
}

.store-panel div {
  display: grid;
  gap: 4px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.store-panel div:last-child {
  border-bottom: 0;
}

.store-panel span {
  color: var(--muted);
}

.store-button {
  margin-top: 28px;
}

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

.product-card {
  overflow: hidden;
}

.product-media {
  min-height: 210px;
  background-size: cover;
  background-position: center;
}

.product-media.household {
  background:
    linear-gradient(135deg, rgba(20, 116, 111, 0.22), rgba(184, 138, 60, 0.28)),
    url("assets/hero-japan-realestate-commerce.png") center / cover;
}

.product-media.home {
  background:
    linear-gradient(135deg, rgba(198, 95, 75, 0.24), rgba(247, 248, 245, 0.55)),
    url("assets/hero-japan-realestate-commerce.png") 65% 45% / cover;
}

.product-media.gift {
  background:
    linear-gradient(135deg, rgba(31, 42, 46, 0.36), rgba(20, 116, 111, 0.18)),
    url("assets/hero-japan-realestate-commerce.png") 80% center / cover;
}

.product-body {
  padding: 24px;
}

.product-tag {
  margin: 0;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.product-body a {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 800;
}

.category-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 34px;
  padding-bottom: 34px;
  background: var(--white);
}

.category-nav a {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.category-nav a:hover {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.shop-search {
  padding-top: 26px;
  padding-bottom: 26px;
  background: var(--paper);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 0.9fr) minmax(180px, 0.9fr) auto;
  gap: 14px;
  align-items: end;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.search-panel input:focus,
.search-panel select:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(20, 116, 111, 0.16);
}

.clear-search {
  min-height: 46px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.clear-search:hover {
  background: var(--teal-dark);
}

.search-result {
  margin: 14px 0 0;
  color: var(--muted);
}

.catalog-section {
  scroll-margin-top: 110px;
}

.catalog-section:nth-of-type(even) {
  background: var(--white);
}

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

.catalog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.catalog-image {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.catalog-photo {
  display: block;
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: var(--paper);
}

.catalog-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-image.car {
  background:
    linear-gradient(135deg, rgba(20, 116, 111, 0.18), rgba(31, 42, 46, 0.26)),
    url("assets/hero-japan-realestate-commerce.png") 75% 42% / cover;
}

.catalog-image.bike {
  background:
    linear-gradient(135deg, rgba(184, 138, 60, 0.24), rgba(20, 116, 111, 0.18)),
    url("assets/hero-japan-realestate-commerce.png") 62% 54% / cover;
}

.catalog-image.stationery {
  background:
    linear-gradient(135deg, rgba(198, 95, 75, 0.18), rgba(247, 248, 245, 0.58)),
    url("assets/hero-japan-realestate-commerce.png") 30% 46% / cover;
}

.catalog-image.office {
  background:
    linear-gradient(135deg, rgba(31, 42, 46, 0.2), rgba(184, 138, 60, 0.2)),
    url("assets/hero-japan-realestate-commerce.png") center / cover;
}

.catalog-image.fashion {
  background:
    linear-gradient(135deg, rgba(198, 95, 75, 0.28), rgba(20, 116, 111, 0.14)),
    url("assets/hero-japan-realestate-commerce.png") 44% 58% / cover;
}

.catalog-image.apparel {
  background:
    linear-gradient(135deg, rgba(184, 138, 60, 0.26), rgba(247, 248, 245, 0.46)),
    url("assets/hero-japan-realestate-commerce.png") 82% 50% / cover;
}

.catalog-image.daily {
  background:
    linear-gradient(135deg, rgba(20, 116, 111, 0.2), rgba(247, 248, 245, 0.55)),
    url("assets/hero-japan-realestate-commerce.png") 28% 64% / cover;
}

.catalog-image.household-goods {
  background:
    linear-gradient(135deg, rgba(31, 42, 46, 0.28), rgba(198, 95, 75, 0.18)),
    url("assets/hero-japan-realestate-commerce.png") 70% center / cover;
}

.catalog-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  padding: 18px;
}

.catalog-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  height: calc(1.25em * 3);
  min-height: calc(1.25em * 3);
  max-height: calc(1.25em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.catalog-body p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-body dl {
  margin: 18px 0 0;
  padding: 12px;
  background: var(--paper);
  border-radius: 8px;
}

.catalog-body dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-body dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.buy-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  align-self: end;
  margin-top: 18px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.buy-button:hover {
  background: var(--teal-dark);
}

.empty-category {
  margin: 0;
  padding: 24px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-section {
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form label > span {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.contact-form small,
.form-note {
  color: var(--muted);
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(20, 116, 111, 0.16);
}

.submit-button {
  justify-self: start;
  min-height: 52px;
  padding: 12px 34px;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.submit-button:hover {
  background: var(--teal-dark);
}

.form-note {
  margin: 0;
  font-size: 14px;
}

.process {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 170px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: steps;
}

.steps li::before {
  content: "0" counter(steps);
  color: var(--gold);
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-top: 18px;
  font-size: 22px;
}

.steps span {
  margin-top: 10px;
  color: var(--muted);
}

.company {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(300px, 1.38fr);
  gap: clamp(28px, 6vw, 80px);
}

.company-list {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

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

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

.company-list dd {
  margin: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  color: var(--white);
  background: var(--ink);
}

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

.contact-box {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 30px;
  color: var(--ink);
}

.contact-box a,
.contact-box span {
  padding: 14px 16px;
  background: var(--paper);
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 84px);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-select {
    margin-left: auto;
  }

  .hero {
    min-height: 84vh;
  }

  .intro,
  .split,
  .store-band,
  .company,
  .contact,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .steps,
  .category-nav,
  .search-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 14px;
  }

  .language-select {
    width: 100%;
    justify-content: space-between;
    order: 4;
  }

  .language-select select {
    flex: 1;
    max-width: 220px;
  }

  .hero-content {
    padding-top: 86px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 18px;
  }

  .page-hero {
    padding: 90px 18px 56px;
  }

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

  .footer {
    flex-direction: column;
  }
}
