/* ===========================
   ホームページ工務店 - LP styles
   Color tokens
   =========================== */
:root {
  --navy: #1a3a6e;
  --navy-dark: #0f2548;
  --navy-light: #2d5a9e;
  --accent: #c9302c;
  --accent-light: #e85f5b;
  --bg: #ffffff;
  --bg-soft: #faf6f0;
  --bg-alt: #f0f5fb;
  --text: #1a2845;
  --text-soft: #555c70;
  --line: #e5e8ee;
  --shadow: 0 8px 24px rgba(26, 58, 110, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 58, 110, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--ghost {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
}
.btn--gold {
  background: linear-gradient(135deg, #f5c542 0%, #e8a82c 100%);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(232, 168, 44, 0.3);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #f7d062 0%, #ecb338 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 168, 44, 0.4);
}
.btn--large {
  padding: 18px 36px;
  font-size: 16px;
}
.btn--xlarge {
  padding: 22px 56px;
  font-size: 18px;
  border-radius: 999px;
}
.btn--header {
  padding: 12px 24px;
  font-size: 14px;
}
.btn__icon { font-size: 1.05em; }
.btn__arrow { transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ===== Section title ===== */
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 56px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.section-title__deco {
  color: var(--navy);
  font-weight: 400;
  font-size: 0.6em;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.logo__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}
.logo__subtitle {
  font-size: 10px;
  color: var(--text-soft);
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav a:hover::after { transform: scaleX(1); }

.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.header__phone:hover { background: var(--bg-alt); }
.header__phone-icon { font-size: 16px; color: var(--navy); }
.header__phone-text { display: flex; flex-direction: column; line-height: 1; align-items: flex-start; }
.header__phone-number {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0;
  white-space: nowrap;
}
.header__phone-hours { font-size: 9px; color: var(--text-soft); margin-top: 2px; white-space: nowrap; }

.btn--header { margin-left: 4px; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: 0.2s; }
.hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger--open span:nth-child(2) { opacity: 0; }
.hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #f0f5fb 0%, #e3ecf7 50%, #d6e3f4 100%);
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(26, 58, 110, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(45, 90, 158, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}
.hero__title-line {
  display: block;
}
.hero__title--accent {
  color: var(--navy);
  position: relative;
  display: inline-block;
}
.hero__title--accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 10px;
  background: rgba(245, 197, 66, 0.45);
  z-index: -1;
}
.hero__sub {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
}
.hero__desc {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 32px;
  line-height: 1.9;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
}
.photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background-size: cover;
  background-position: center;
  background-color: #2d5a9e;
}
.photo__label {
  font-family: 'Noto Serif JP', serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  position: relative;
  z-index: 1;
}
.photo--1 { background-image: url('https://images.pexels.com/photos/31771165/pexels-photo-31771165.jpeg?auto=compress&cs=tinysrgb&w=1200'); }
.photo--2 { background-image: url('https://images.pexels.com/photos/27928762/pexels-photo-27928762.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.photo--3 { background-image: url('https://images.pexels.com/photos/17332275/pexels-photo-17332275.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.photo--5 { background-image: url('https://images.pexels.com/photos/34039390/pexels-photo-34039390.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}

/* ===== Problems Section ===== */
.problems {
  padding: 80px 0;
  background: var(--bg);
}
.problems__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.problems__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 32px;
  position: relative;
  padding-bottom: 16px;
}
.problems__title::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--navy);
}
.problems__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.problem {
  background: var(--bg-alt);
  padding: 20px 12px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--line);
}
.problem__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
}
.problem__icon svg { width: 100%; height: 100%; }
.problem__text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}
.solution-card {
  background: linear-gradient(135deg, #1a3a6e 0%, #2d5a9e 100%);
  color: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}
.solution-card__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.4;
}
.solution-card__text {
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.95;
  margin: 0 0 20px;
}
.solution-card__devices {
  position: relative;
  height: 110px;
}
.device-mock {
  position: absolute;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.device-mock--phone {
  width: 60px;
  height: 100px;
  bottom: 0;
  right: 90px;
  border: 2px solid #333;
  background: linear-gradient(180deg, #1a3a6e 0%, #fff 30%);
}
.device-mock--tablet {
  width: 130px;
  height: 100px;
  bottom: 0;
  right: 0;
  background: linear-gradient(180deg, #2d5a9e 0%, #fff 25%);
  border: 2px solid #333;
}
.sp-only { display: none; }

/* ===== Industries ===== */
.industries {
  padding: 80px 0;
  background: var(--bg);
}
.industries__grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.industries__note {
  text-align: center;
  margin: 32px 0 0;
  font-size: 14px;
  color: var(--text-soft);
}
.industries__note strong {
  color: var(--navy);
  font-weight: 700;
}
.industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.industry__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
}
.industry__icon svg { width: 100%; height: 100%; }
.industry__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* ===== Reasons ===== */
.reasons {
  padding: 96px 0;
  background: var(--bg-soft);
}
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reason {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.reason__icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.reason__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin: 0 0 20px;
}
.reason__visual {
  height: 180px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
  background-color: #2d5a9e;
}
.reason__visual--1 { background-image: url('https://images.pexels.com/photos/31763537/pexels-photo-31763537.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.reason__visual--2 { background-image: url('https://images.pexels.com/photos/33404248/pexels-photo-33404248.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.reason__visual--3 { background-image: url('https://images.pexels.com/photos/20500461/pexels-photo-20500461.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.reason__desc {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.9;
}

/* ===== Works ===== */
.works {
  padding: 96px 0;
  background: var(--bg);
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.work {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}
.work:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.work__thumb {
  height: 220px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #2d5a9e;
}
.work__thumb--1 { background-image: url('https://images.pexels.com/photos/31771167/pexels-photo-31771167.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.work__thumb--2 { background-image: url('https://images.pexels.com/photos/9679179/pexels-photo-9679179.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.work__thumb--3 { background-image: url('https://images.pexels.com/photos/32416206/pexels-photo-32416206.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.work__thumb--4 { background-image: url('https://images.pexels.com/photos/15798781/pexels-photo-15798781.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.work__thumb--5 { background-image: url('https://images.pexels.com/photos/4400533/pexels-photo-4400533.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.work__thumb--6 { background-image: url('https://images.pexels.com/photos/11624252/pexels-photo-11624252.jpeg?auto=compress&cs=tinysrgb&w=800'); }
.work__body {
  padding: 18px 20px 22px;
}
.work__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.work__desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.7;
}
.works__more { text-align: center; }

/* ===== Flow ===== */
.flow {
  padding: 96px 0;
  background: var(--bg-soft);
}
.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}
.step--arrow::before {
  content: '▶';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy);
  font-size: 14px;
}
.step__number {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.step__icon { font-size: 36px; margin-bottom: 12px; }
.step__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.step__desc {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.8;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #2d5a9e 0%, #1a3a6e 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  text-align: center;
}
.cta__lead {
  font-size: 16px;
  margin: 0 0 8px;
  opacity: 0.9;
}
.cta__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  margin: 0 0 16px;
}
.cta__sub {
  font-size: 15px;
  margin: 0 0 32px;
  opacity: 0.95;
  line-height: 1.9;
}
.cta__sub strong {
  font-weight: 700;
  color: #ffd866;
}
.cta__sub small {
  display: inline-block;
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
}
.cta__note {
  margin: 24px 0 0;
  font-size: 13px;
  opacity: 0.85;
}
.cta__note strong { color: #ffd866; font-weight: 700; }
.cta__contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}
.cta__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  color: var(--text);
  transition: transform 0.2s;
}
.cta__phone:hover { transform: translateY(-2px); }
.cta__phone-icon { font-size: 26px; }
.cta__phone-text { display: flex; flex-direction: column; line-height: 1.1; align-items: flex-start; }
.cta__phone-number {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.cta__phone-hours { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

/* ===== Form ===== */
.form-section {
  padding: 96px 0;
  background: var(--bg);
}
.form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.required {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 500;
}
.form__field input,
.form__field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.form__submit { text-align: center; margin-top: 16px; }

/* ===== Features ===== */
.features {
  padding: 64px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  text-align: center;
  padding: 24px 16px;
}
.feature__icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--navy);
}
.feature__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.feature__desc {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
}

/* ===== Legal (特商法) ===== */
.legal {
  padding: 64px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.legal__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 32px;
  color: var(--text);
}
.legal__list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  font-size: 13px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.legal__list dt,
.legal__list dd {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  margin: 0;
  line-height: 1.7;
}
.legal__list dt {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--navy);
}
.legal__list dd { color: var(--text-soft); }
.legal__list dt:last-of-type,
.legal__list dd:last-of-type { border-bottom: 0; }

/* ===== Footer ===== */
.footer {
  background: var(--text);
  color: #fff;
  padding: 48px 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}
.footer__catch {
  font-size: 13px;
  opacity: 0.7;
  margin: 0;
}
.footer__info {
  font-size: 13px;
  opacity: 0.85;
}
.footer__info p { margin: 4px 0; }
.footer__info a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__info a:hover { opacity: 0.7; }
.footer__copyright {
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
  padding-top: 24px;
}
.footer__copyright p { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .nav { gap: 16px; }
  .nav a { font-size: 12px; }
  .industries__grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__photos { grid-template-rows: 160px 160px; }
  .problems__inner { grid-template-columns: 1fr; }
  .problems__list { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(5, 1fr); }
  .reasons__grid { grid-template-columns: 1fr; gap: 24px; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .flow__list { grid-template-columns: repeat(2, 1fr); }
  .step--arrow::before { display: none; }
  .cta__contact { flex-direction: column; align-items: stretch; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--line); }
  .nav--open { display: flex; }
  .btn--header { display: none; }
  .hamburger { display: flex; }
  .logo__title { font-size: 13px; }
  .logo__subtitle { font-size: 9px; }
}
@media (max-width: 540px) {
  .sp-only { display: inline; }
  .hero__photos { grid-template-columns: 1fr 1fr; grid-template-rows: 130px 130px; gap: 8px; }
  .industries__grid { grid-template-columns: repeat(3, 1fr); }
  .works__grid { grid-template-columns: 1fr; }
  .flow__list { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 22px; gap: 8px; }
  .section-title__deco { font-size: 0.5em; }
  .hero { padding: 40px 0 60px; }
  .problems, .industries, .reasons, .works, .flow, .form-section { padding: 60px 0; }
  .logo__text { display: none; }
  .problem__text { font-size: 12px; }
  .legal__list { grid-template-columns: 1fr; }
  .legal__list dt { padding-bottom: 4px; border-bottom: 0; }
  .legal__list dd { padding-top: 4px; }
  .btn--xlarge { padding: 18px 32px; font-size: 16px; }
}
