@charset "utf-8";

:root {
  --home-blue: #0a4499;
  --home-blue-dark: #073570;
  --home-orange: #f97316;
  --home-orange-dark: #ea580c;
  --home-slate-950: #0f172a;
  --home-slate-800: #1e293b;
  --home-slate-600: #42526a;
  --home-slate-500: #53657d;
  --home-slate-300: #b8c4d4;
  --home-slate-200: #e2e8f0;
  --home-slate-100: #f1f5f9;
  --home-slate-50: #f8fafc;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", sans-serif;
  color: var(--home-slate-800);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body * {
  box-sizing: border-box;
}

.home-header {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.96);
}

.home-header a:focus-visible,
.home-button:focus-visible,
.home-text-link:focus-visible,
.home-product-card:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.42);
  outline-offset: 3px;
}

.home-container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  width: min(100%, 1440px);
  min-height: 500px;
  margin-inline: auto;
  background: #fff;
  border-bottom: 1px solid var(--home-slate-200);
}

.home-hero-copy {
  align-self: center;
  width: min(100%, 590px);
  justify-self: end;
  padding: 64px 64px 64px 32px;
}

.home-eyebrow,
.home-section-kicker {
  margin: 0 0 10px;
  color: var(--home-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.home-hero h1 {
  margin: 0;
  color: var(--home-slate-950);
  font-size: clamp(36px, 3.55vw, 52px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.home-hero h1 span {
  display: block;
  white-space: nowrap;
}

.home-hero-lead {
  max-width: 33rem;
  margin: 24px 0 0;
  color: var(--home-slate-600);
  font-size: 16px;
  line-height: 1.9;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.home-button-primary {
  color: #fff;
  background: var(--home-orange);
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.2);
}

.home-button-primary:hover {
  color: #fff;
  background: var(--home-orange-dark);
}

.home-button-secondary {
  color: var(--home-blue);
  border-color: var(--home-slate-300);
  background: #fff;
}

.home-button-secondary:hover {
  color: var(--home-blue-dark);
  border-color: var(--home-blue);
  background: var(--home-slate-50);
}

.home-hero-visual {
  min-width: 0;
  min-height: 500px;
  overflow: hidden;
  background: #dbeafe;
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
}

.home-section {
  padding: 84px 0;
}

.home-section-heading {
  margin-bottom: 42px;
}

.home-section-heading h2,
.home-closing h2 {
  margin: 0;
  color: var(--home-slate-950);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
}

.home-section-heading > p:last-child,
.home-section-heading > div > p:last-child,
.home-closing p {
  margin: 12px 0 0;
  color: var(--home-slate-600);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.home-section-heading-center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.home-section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.home-flow {
  background: #fff;
}

.home-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--home-slate-200);
  border-bottom: 1px solid var(--home-slate-200);
  list-style: none;
}

.home-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 34px 34px;
}

.home-step + .home-step {
  border-left: 1px solid var(--home-slate-200);
}

.home-step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-blue);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.home-step:first-child .home-step-number {
  background: var(--home-orange);
}

.home-step h3 {
  margin: 2px 0 8px;
  color: var(--home-slate-950);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.home-step p {
  margin: 0;
  color: var(--home-slate-600);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
}

.home-products {
  background: var(--home-slate-50);
}

.home-text-link {
  flex: 0 0 auto;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.home-text-link:hover {
  color: var(--home-blue-dark);
  text-decoration: underline;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--home-slate-200);
  border-radius: 16px;
  color: inherit;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-product-card:hover {
  color: inherit;
  border-color: #fdba74;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  text-decoration: none;
  transform: translateY(-3px);
}

.home-product-image {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: var(--home-slate-100);
}

.home-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms ease;
}

.home-product-card:hover .home-product-image img {
  transform: scale(1.035);
}

.home-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.home-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 11px;
}

.home-product-condition {
  padding: 3px 9px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-weight: 800;
}

.home-product-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.home-product-category {
  padding: 3px 9px;
  border-radius: 999px;
  color: #047857;
  background: #d1fae5;
  font-weight: 800;
}

.home-product-stock {
  color: #6b7e96;
}

.home-product-card h3 {
  min-height: 2.25rem;
  margin: 0;
  color: var(--home-slate-800);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.home-product-summary {
  display: -webkit-box;
  min-height: 2.9rem;
  margin: 6px 0 10px;
  overflow: hidden;
  color: var(--home-slate-500);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-product-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 0;
  color: var(--home-slate-950);
}

.home-product-price small {
  color: #6b7e96;
  font-size: 11px;
}

.home-product-price strong {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

.home-product-cta {
  display: block;
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--home-orange);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: background-color 160ms ease;
}

.home-product-card:hover .home-product-cta {
  background: var(--home-orange-dark);
}

.home-products-fallback {
  padding: 32px;
  color: var(--home-slate-500);
  background: #fff;
  text-align: center;
}

.home-strengths {
  background: #fff;
}

.home-strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--home-slate-200);
  border-left: 1px solid var(--home-slate-200);
}

.home-strength {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-width: 0;
  padding: 34px;
  border-right: 1px solid var(--home-slate-200);
  border-bottom: 1px solid var(--home-slate-200);
}

.home-strength img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.home-strength h3 {
  margin: 0 0 7px;
  color: var(--home-blue);
  font-size: 18px;
  font-weight: 800;
}

.home-strength p {
  margin: 0;
  color: var(--home-slate-500);
  font-size: 14px;
  line-height: 1.8;
}

.home-closing {
  padding: 54px 0;
  border-top: 1px solid var(--home-slate-200);
  background: var(--home-slate-50);
}

.home-closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home-closing .home-section-kicker {
  margin-bottom: 8px;
}

.home-closing h2 {
  font-size: clamp(25px, 2.7vw, 34px);
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    min-height: 450px;
  }

  .home-hero-copy {
    padding: 52px 38px 52px 28px;
  }

  .home-hero-visual {
    min-height: 450px;
  }

  .home-section {
    padding: 68px 0;
  }

  .home-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    padding: 28px 20px;
  }

  .home-step-number {
    width: 36px;
    height: 36px;
  }

  .home-product-card h3 {
    font-size: 16px;
  }

  .home-strength {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 24px;
  }

  .home-strength img {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 760px) {
  .home-header-logo img {
    width: auto;
    height: 26px;
  }

  .home-nav {
    gap: 0;
    font-size: 12px;
  }

  .home-nav a {
    padding: 8px 7px;
  }

  .home-nav-inquiry {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    width: min(100% - 32px, 680px);
    justify-self: center;
    padding: 48px 0;
  }

  .home-hero h1 {
    font-size: clamp(34px, 9.2vw, 46px);
  }

  .home-hero-visual {
    min-height: 280px;
  }

  .home-section-heading {
    margin-bottom: 32px;
  }

  .home-step-list {
    grid-template-columns: 1fr;
  }

  .home-step {
    padding: 24px 18px;
  }

  .home-step + .home-step {
    border-top: 1px solid var(--home-slate-200);
    border-left: 0;
  }

  .home-section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-product-grid {
    grid-template-columns: 1fr;
  }

  .home-product-card {
    display: grid;
    grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
  }

  .home-product-image {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .home-product-card h3,
  .home-product-summary {
    min-height: 0;
  }

  .home-strength-grid {
    grid-template-columns: 1fr;
  }

  .home-closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .home-header > div {
    padding-inline: 12px;
  }

  .home-header-logo img {
    height: 22px;
  }

  .home-nav a {
    padding-inline: 5px;
  }

  .home-nav a:first-child {
    display: none;
  }

  .home-hero-copy {
    padding: 40px 0;
  }

  .home-hero-lead {
    font-size: 15px;
  }

  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-button {
    width: 100%;
  }

  .home-hero-visual {
    min-height: 300px;
  }

  .home-section {
    padding: 56px 0;
  }

  .home-section-heading h2,
  .home-closing h2 {
    font-size: 26px;
  }

  .home-product-card {
    display: flex;
  }

  .home-product-image {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .home-strength {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 18px;
  }

  .home-strength img {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-button,
  .home-product-card,
  .home-product-image img,
  .home-product-cta {
    transition: none;
  }
}
