/* =========================================================
  LANMEY JAPAN Corporate Site
  初心者でも編集しやすいよう、セクションごとに整理しています。
========================================================= */

/* ---------- 基本設定 ---------- */
:root {
  --color-navy: #07111f;
  --color-navy-soft: #0b1624;
  --color-black: #1f2933;
  --color-white: #ffffff;
  --color-gray-50: #f7f8fa;
  --color-gray-100: #eef1f5;
  --color-gray-200: #dfe5ec;
  --color-gray-500: #667085;
  --color-gray-700: #344054;
  --color-gold: #b89b5e;
  --color-gold-soft: #c8a86a;

  --shadow-soft: 0 18px 50px rgba(7, 17, 31, 0.12);
  --shadow-card: 0 14px 38px rgba(7, 17, 31, 0.07);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --container-width: 1160px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    "Meiryo",
    sans-serif;
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

.container {
  width: min(100% - 40px, var(--container-width));
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.section-muted {
  background:
    radial-gradient(circle at top left, rgba(184, 155, 94, 0.07), transparent 30%),
    var(--color-gray-50);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(184, 155, 94, 0.18), transparent 36%),
    linear-gradient(135deg, #07111f 0%, #0d1725 48%, #111827 100%);
  color: var(--color-white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

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

.btn-primary {
  color: var(--color-navy);
  background: var(--color-white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(7, 17, 31, 0.24);
}

.btn-outline {
  color: var(--color-white);
  border: 1px solid rgba(200, 168, 106, 0.72);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--color-gold-soft);
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 229, 236, 0.78);
  box-shadow: 0 8px 30px rgba(7, 17, 31, 0.04);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 64px, 1280px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  line-height: 1.1;
}

.site-logo-image {
  display: block;
  width: 280px;
  max-width: 30vw;
  height: auto;
}

.logo-mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 46px;
  place-items: center;
  color: var(--color-gold);
}

.logo-mark svg {
  display: block;
  width: 42px;
  height: 46px;
}

.logo-mark path {
  fill: currentColor;
}

.logo-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--color-gold), transparent);
}

.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.logo-main {
  color: var(--color-navy);
  font-size: 23px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.logo-japan {
  color: var(--color-navy);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.36em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 650;
  color: var(--color-gray-700);
}

.global-nav a {
  transition: color 0.25s ease;
}

.global-nav a:hover {
  color: var(--color-black);
}

.nav-cta {
  padding: 10px 18px;
  color: var(--color-white) !important;
  background: var(--color-navy);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--color-navy);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 48px 0 66px;
  background:
    radial-gradient(circle at 78% 16%, rgba(184, 155, 94, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
}

.hero-bg::before {
  width: 520px;
  height: 520px;
  right: -210px;
  top: 20px;
  background: rgba(184, 155, 94, 0.08);
}

.hero-bg::after {
  width: 340px;
  height: 340px;
  left: -120px;
  bottom: -80px;
  background: rgba(7, 17, 31, 0.06);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  align-items: center;
  width: min(100% - 72px, 1240px);
  min-height: 500px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 168, 106, 0.2);
  border-radius: 10px;
  background:
    radial-gradient(circle at 72% 24%, rgba(200, 168, 106, 0.18), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0b1624 54%, #101f31 100%);
  box-shadow:
    0 22px 48px rgba(7, 17, 31, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  align-self: stretch;
  padding: 68px 34px 68px 58px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.98) 0%, rgba(11, 22, 36, 0.96) 72%, rgba(11, 22, 36, 0) 100%);
}

.hero-lead {
  max-width: 500px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.85;
}

.hero h1 {
  color: var(--color-white);
  max-width: 520px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.38;
  white-space: normal;
  word-break: keep-all;
}

.hero .eyebrow {
  color: var(--color-gold-soft);
}

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

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.monitor-visual {
  margin: 0;
}

.monitor-screen {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  aspect-ratio: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, #0b1624 0%, rgba(11, 22, 36, 0.72) 24%, rgba(11, 22, 36, 0) 48%),
    var(--color-navy);
}

.monitor-screen::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 28%;
  background: linear-gradient(90deg, rgba(11, 22, 36, 0.86) 0%, rgba(11, 22, 36, 0.5) 48%, rgba(11, 22, 36, 0) 100%);
  pointer-events: none;
}

.hero-monitor-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  transform: translateY(44px) scale(1.06);
  transform-origin: center center;
}

.monitor-device {
  position: absolute;
  z-index: 2;
  display: block;
  border: 1px solid rgba(176, 197, 221, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 65% 20%, rgba(142, 170, 204, 0.26), transparent 28%),
    linear-gradient(145deg, #1b2d43, #07111f 74%);
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.03),
    0 26px 42px rgba(0, 0, 0, 0.36);
  transform: perspective(600px) rotateY(-8deg) rotateX(2deg);
}

.monitor-device-left {
  left: 68px;
  bottom: 76px;
  width: 210px;
  height: 138px;
}

.monitor-device-right {
  right: 50px;
  bottom: 62px;
  width: 250px;
  height: 158px;
  transform: perspective(600px) rotateY(-12deg) rotateX(2deg);
}

.device-base {
  position: absolute;
  z-index: 1;
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(62, 82, 108, 0.35), rgba(135, 153, 178, 0.56), rgba(31, 42, 58, 0.42));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.device-base-left {
  left: 72px;
  bottom: 54px;
  width: 216px;
}

.device-base-right {
  right: 44px;
  bottom: 42px;
  width: 266px;
}

.screen-glow {
  position: absolute;
  right: 32px;
  top: 28px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(200, 168, 106, 0.16);
  filter: blur(34px);
}

.monitor-stand {
  width: 140px;
  height: 12px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 168, 106, 0.16), rgba(200, 168, 106, 0.55), rgba(200, 168, 106, 0.16));
}


/* ---------- 汎用レイアウト ---------- */
.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.section-body {
  color: var(--color-gray-700);
  font-size: 16px;
}

.section-body p + p {
  margin-top: 22px;
}

.section-title-center {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-title-center .eyebrow {
  justify-content: center;
}

.section-title-center p:last-child {
  margin-top: 18px;
  color: var(--color-gray-700);
}

.section-title-center.light p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

.section-title-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-title-row > p {
  color: var(--color-gray-700);
}

/* ---------- カード ---------- */
.card-grid {
  display: grid;
  gap: 22px;
}

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

.info-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 34px;
  border: 1px solid rgba(223, 229, 236, 0.78);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
    var(--color-white);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), rgba(184, 155, 94, 0));
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 155, 94, 0.34);
  box-shadow: 0 20px 52px rgba(7, 17, 31, 0.1);
}

.card-number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.info-card h3 {
  margin-bottom: 14px;
  color: var(--color-navy);
}

.info-card p {
  color: var(--color-gray-700);
  font-size: 14px;
}

/* ---------- ブランド紹介 ---------- */
.brand-section {
  padding: 112px 0;
  background:
    radial-gradient(circle at top right, rgba(184, 155, 94, 0.08), transparent 32%),
    var(--color-white);
}

.brand-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.brand-content p:not(.eyebrow) {
  max-width: 620px;
  color: var(--color-gray-700);
}

.ehomewei-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 28px 0 38px;
}

.brand-content p + p {
  margin-top: 18px;
}

.brand-content .btn {
  margin-top: 34px;
}

.brand-visual {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(7, 17, 31, 0.16);
}

.brand-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.28), rgba(7, 17, 31, 0.04) 52%, rgba(184, 155, 94, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(7, 17, 31, 0.12));
  pointer-events: none;
}

.brand-visual-image {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.visual-card {
  position: absolute;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
}

.visual-card span {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.visual-card strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.visual-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.visual-card-main {
  left: 52px;
  top: 82px;
  width: 330px;
  padding: 34px;
  border-radius: 24px;
}

.visual-card-sub {
  right: 40px;
  bottom: 54px;
  width: 250px;
  padding: 24px;
  border-radius: 20px;
}

.visual-card-sub strong {
  font-size: 20px;
}

/* ---------- 信頼性 ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.trust-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(223, 229, 236, 0.82);
  box-shadow: var(--shadow-card);
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-navy), #223654);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.trust-card h3 {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: 18px;
}

.trust-card p {
  color: var(--color-gray-700);
  font-size: 14px;
}

/* ---------- お知らせ ---------- */
.news-list {
  border-top: 1px solid var(--color-gray-200);
}

.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-gray-200);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.news-item:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(184, 155, 94, 0.06), transparent);
}

.news-item time {
  color: var(--color-gold);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.news-item span {
  color: var(--color-navy);
  font-weight: 700;
}

/* ---------- 会社概要 ---------- */
.company-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.company-table {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-black);
}

.company-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--color-gray-200);
}

.company-table div:last-child {
  border-bottom: none;
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 22px 26px;
}

.company-table dt {
  color: var(--color-gray-700);
  background: var(--color-gray-50);
  font-weight: 800;
}

.company-table dd {
  color: var(--color-navy);
  font-weight: 700;
}

/* ---------- お問い合わせ ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.contact-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(223, 229, 236, 0.82);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 155, 94, 0.34);
  box-shadow: 0 20px 52px rgba(7, 17, 31, 0.1);
}

.contact-card h3 {
  margin-bottom: 14px;
  color: var(--color-navy);
  font-size: 18px;
}

.contact-card p {
  color: var(--color-gray-700);
  font-size: 14px;
}

.contact-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.contact-form {
  margin-top: 42px;
  padding: 38px;
  border: 1px solid rgba(223, 229, 236, 0.88);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.98)),
    var(--color-white);
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.08);
}

.contact-form-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.contact-form-heading h3 {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: clamp(24px, 2.4vw, 32px);
}

.contact-form-heading p:not(.eyebrow) {
  color: var(--color-gray-700);
  font-size: 15px;
}

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

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

.form-grid label > span {
  justify-self: start;
  padding: 2px 8px;
  color: var(--color-gold);
  background: rgba(184, 155, 94, 0.1);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.5;
}

.form-full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--color-black);
  font: inherit;
  background: var(--color-white);
  border: 1px solid rgba(223, 229, 236, 0.95);
  border-radius: 10px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--color-gray-700);
  font-size: 14px;
  font-weight: 700;
}

.form-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--color-navy);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(184, 155, 94, 0.72);
  box-shadow: 0 0 0 4px rgba(184, 155, 94, 0.12);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}

.form-actions p {
  max-width: 620px;
  color: var(--color-gray-500);
  font-size: 13px;
}

.contact-submit {
  flex: 0 0 auto;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-soft));
}

.form-status {
  min-height: 24px;
  margin-top: 18px;
  color: var(--color-gold);
  font-weight: 800;
}

/* ---------- フッター ---------- */
.site-footer {
  color: var(--color-white);
  background: var(--color-navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  padding: 54px 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.footer-inner p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

/* ---------- タブレット ---------- */
@media (max-width: 1024px) {
  .global-nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero-inner,
  .brand-inner,
  .two-column,
  .section-title-row {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 0;
  }

  .hero-content {
    max-width: none;
    padding: 46px 42px;
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.98), rgba(11, 22, 36, 0.96));
  }

  .hero-panel {
    width: 100%;
    margin-top: 0;
  }

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

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

/* ---------- スマホ ---------- */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .header-inner {
    width: min(100% - 28px, var(--container-width));
  }

  .section {
    padding: 76px 0;
  }

  .site-header {
    height: var(--header-height);
  }

  .site-logo {
    max-width: calc(100vw - 92px);
  }

  .site-logo-image {
    width: 220px;
    max-width: 100%;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 120;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    z-index: 110;
    display: grid;
    gap: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: 0 30px 60px rgba(7, 17, 31, 0.14);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .global-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--color-gray-100);
  }

  .global-nav a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 10px;
    padding: 13px 16px !important;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 48px;
  }

  .hero-inner {
    width: min(100% - 28px, var(--container-width));
    gap: 0;
    padding: 0;
    border-radius: 8px;
  }

  .hero-content {
    padding: 34px 24px 30px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.4vw, 40px);
    line-height: 1.36;
    white-space: normal;
    word-break: keep-all;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-panel {
    margin-top: 0;
    border-radius: 14px;
    overflow: hidden;
  }

  .monitor-screen {
    min-height: 260px;
    border-radius: 0;
  }

  .monitor-screen::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(11, 22, 36, 0.16), rgba(11, 22, 36, 0));
  }

  .hero-monitor-image {
    object-position: 52% center;
    transform: translateY(24px) scale(1.05);
  }

  .section-title-center {
    margin-bottom: 36px;
    text-align: left;
  }

  .section-title-center .eyebrow {
    justify-content: flex-start;
  }

  .business-grid,
  .trust-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 26px 20px;
  }

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

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }

  .info-card {
    min-height: auto;
    padding: 24px;
  }

  .brand-section {
    padding: 78px 0;
  }

  .brand-inner {
    gap: 38px;
  }

  .ehomewei-logo {
    width: min(100%, 260px);
    margin: 24px 0 32px;
  }

  .brand-visual {
    min-height: 280px;
    border-radius: 22px;
  }

  .brand-visual-image {
    height: 280px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .company-card {
    padding: 8px;
  }

  .company-table div {
    grid-template-columns: 1fr;
  }

  .company-table dt,
  .company-table dd {
    padding: 16px 18px;
  }

  .company-table dt {
    padding-bottom: 6px;
  }

  .company-table dd {
    padding-top: 6px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 42px 0;
  }

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

/* ---------- 小さいスマホ ---------- */
@media (max-width: 420px) {
  body {
    letter-spacing: 0.02em;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 27px;
  }

  .site-logo-image {
    width: 196px;
  }

  .visual-card strong {
    font-size: 24px;
  }
}
