/* =========================================
   Hongo Panel Kogyo — wireframe sample
   HPK visual / TOP mockup match
   ========================================= */

:root {
  --color-primary: #008d45;
  --color-primary-dark: #006b30;
  --color-text: #333333;
  --color-subtext: #555555;
  --color-muted: #888888;
  --color-border: #dddddd;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f7;
  --color-bg-dark: #111111;
  --container: 1280px; /* サイト全体の最大コンテンツ幅 */
  --section-space: 48px;
  --header-h: 72px;
  --transition: 0.25s ease;
  --radius: 2px;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --fs-hero: clamp(42px, 4vw, 62px);
  --fs-h1: clamp(28px, 3vw, 36px);
  --fs-h2: 28px;
  --fs-h3: 16px;
  --fs-body: 16px;
  --fs-small: 13px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  font-weight: 700;
  font-family: var(--font-sans);
}

/* -------- layout -------- */

.l-container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.l-section {
  padding: var(--section-space) 0;
}

.l-section--soft {
  background: var(--color-bg-soft);
}

.l-section--tight {
  padding: 40px 0;
}

.is-hidden {
  display: none !important;
}

/* -------- typography parts -------- */

.c-en {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.c-lead {
  margin: 16px 0 0;
  max-width: 46em;
  color: var(--color-subtext);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
}

.c-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.c-text-link::after {
  content: "→";
  transition: transform var(--transition);
}

.c-text-link:hover::after {
  transform: translateX(4px);
}

.note-sample {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* -------- buttons -------- */

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}

.c-btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.c-btn--primary:hover {
  background: var(--color-primary-dark);
}

.c-btn--outline {
  background: #fff;
  color: var(--color-text);
  border-color: #111;
}

.c-btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.c-btn--dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.c-btn--dark:hover {
  background: #000;
}

.c-btn--header {
  min-width: 148px;
  min-height: 40px;
  gap: 8px;
  font-size: 13px;
}

.c-btn--white {
  background: #fff;
  color: var(--color-primary);
}

.c-btn--white:hover {
  background: #f3fff6;
}

.c-icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

.c-btn--sm {
  min-width: 140px;
  min-height: 44px;
  font-size: 14px;
}

/* -------- header -------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: var(--header-h);
  gap: 28px;
}

.site-header__cta {
  flex: none;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: none;
}

.site-logo img {
  width: 248px;
  height: auto;
  object-fit: contain;
  flex: none;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-logo__sub {
  display: none;
}

.site-logo__name {
  display: none;
}

.global-nav {
  margin-left: auto;
}

.global-nav__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  list-style: none;
}

.global-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

.global-nav a:hover,
.global-nav a.is-current {
  color: var(--color-primary);
}

.global-nav__en,
.global-nav__cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

.menu-toggle span {
  position: relative;
  margin: 0 auto;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

body.is-nav-open .menu-toggle span {
  background: transparent;
}

body.is-nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.is-nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* -------- hero (TOP) -------- */

.hero {
  display: grid;
  grid-template-columns: minmax(400px, 40%) minmax(0, 1fr);
  align-items: stretch;
  min-height: 460px;
  background: #fff;
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px 100px max(24px, calc((100vw - var(--container)) / 2));
  background: #fff;
  box-sizing: border-box;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: max-content;
  max-width: 100%;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__text {
  margin: 0 0 28px;
  max-width: 32em;
  color: var(--color-subtext);
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: break-word;
  word-break: keep-all;
  line-break: strict;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__image {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #ddd;
}

.hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

/* 写真全体に薄いグレーマスク */
.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

/* 左（テキスト側）から白→透明。写真右の職人ははっきり見せる */
.hero__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.7) 8%,
    rgba(255, 255, 255, 0.28) 22%,
    rgba(255, 255, 255, 0) 40%
  );
  pointer-events: none;
}

.hero.hero--collage-ver01 {
  display: grid;
  grid-template-columns: 1fr;
  height: min(78vh, 680px);
  min-height: 520px;
  background: #111714;
}

.hero.hero--collage-ver01 .hero__collage {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr 1fr;
  gap: 3px;
  min-height: 0;
  height: 100%;
  background: #fff;
}

.hero.hero--collage-ver01 .hero__collage img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero.hero--collage-ver01 .hero__collage img:nth-child(1) {
  object-position: 22% center;
}

.hero.hero--collage-ver01 .hero__collage img:nth-child(2) {
  object-position: 40% center;
}

.hero.hero--collage-ver01 .hero__collage img:nth-child(3) {
  object-position: 48% 38%;
}

.hero.hero--collage-ver01 .hero__collage img:nth-child(4) {
  object-position: 58% 42%;
}

.hero.hero--collage-ver01 .hero__overlay {
  grid-area: 1 / 1;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(5, 14, 10, 0.78) 0%,
    rgba(5, 14, 10, 0.52) 18%,
    rgba(5, 14, 10, 0.18) 34%,
    rgba(5, 14, 10, 0) 52%
  );
  pointer-events: none;
}

.hero.hero--collage-ver01 .hero__content {
  grid-area: 1 / 1;
  z-index: 2;
  justify-content: center;
  width: min(100%, 560px);
  padding: 48px 40px 120px max(24px, calc((100vw - var(--container)) / 2));
  background: transparent;
  color: #fff;
}

.hero.hero--collage-ver01 .hero__text {
  color: rgba(255, 255, 255, 0.9);
}

.hero.hero--collage-ver01 .c-btn--outline,
.hero.hero--mv .c-btn--outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.hero.hero--collage-ver01 .c-btn--outline:hover,
.hero.hero--mv .c-btn--outline:hover {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

.hero.hero--mv {
  display: grid;
  grid-template-columns: 1fr;
  height: calc(100svh - var(--header-h) - 72px);
  max-height: 560px;
  min-height: 420px;
  overflow: hidden;
  background: #1a1a1a;
}

.hero.hero--mv .hero__collage {
  grid-area: 1 / 1;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  min-height: 0;
  height: 100%;
  background: #fff;
}

.hero.hero--mv .hero__collage img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero.hero--mv .hero__collage img:nth-child(1) {
  object-position: center 46%;
}

.hero.hero--mv .hero__collage img:nth-child(2) {
  object-position: center 42%;
}

.hero.hero--mv .hero__collage img:nth-child(3) {
  object-position: center 40%;
}

.hero.hero--mv .hero__collage img:nth-child(4) {
  object-position: center 42%;
}

.hero.hero--mv .hero__overlay {
  grid-area: 1 / 1;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(12, 12, 12, 0.72) 0%,
      rgba(12, 12, 12, 0.48) 28%,
      rgba(12, 12, 12, 0.22) 52%,
      rgba(12, 12, 12, 0) 72%
    ),
    linear-gradient(
      90deg,
      rgba(12, 12, 12, 0.82) 0%,
      rgba(12, 12, 12, 0.62) 22%,
      rgba(12, 12, 12, 0.32) 38%,
      rgba(12, 12, 12, 0.1) 52%,
      rgba(12, 12, 12, 0) 64%
    );
  pointer-events: none;
}

.hero.hero--mv .hero__visual {
  display: none;
}

.hero.hero--mv .hero__inner {
  grid-area: 1 / 1;
  z-index: 2;
  display: flex;
  align-items: center;
  align-self: stretch;
  padding-top: 32px;
  padding-bottom: 40px;
  pointer-events: none;
}

.hero.hero--mv .hero__content {
  pointer-events: auto;
  justify-content: center;
  width: min(100%, 520px);
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 0 18px rgba(0, 0, 0, 0.28);
}

.hero.hero--mv .hero__title {
  color: #fff;
}

.hero.hero--mv .hero__text {
  color: rgba(255, 255, 255, 0.94);
  max-width: 34em;
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 16px;
  word-break: normal;
  line-break: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero.hero--mv .hero__buttons {
  gap: 8px;
}

.hero.hero--mv .hero__buttons .c-btn {
  text-shadow: none;
}

.hero.hero--mv .c-btn {
  min-width: 0;
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

/* -------- news band (under MV) -------- */

.news-band {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  background: #1e2823;
  color: #fff;
}

.news-band__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 56px;
  padding: 12px 0;
}

.news-band__viewport {
  min-width: 0;
}

.news-band__list li[aria-hidden="true"] {
  display: none;
}

.news-band__label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8bd9ac;
  white-space: nowrap;
}

.news-band__list {
  display: flex;
  align-items: center;
  min-width: 0;
  list-style: none;
}

.news-band__list li {
  min-width: 0;
  flex: 1 1 0;
}

.news-band__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 6px 20px 6px 0;
  margin-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.news-band__list li:last-child a {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.news-band__list time {
  flex: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.news-band__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.news-band__list a:hover .news-band__title {
  color: #8bd9ac;
}

.news-band .c-cat {
  flex: none;
}

.news-band .c-cat--dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.news-band__more {
  color: #fff;
}

.news-band__more:hover {
  color: #8bd9ac;
}

@keyframes news-band-ticker {
  0%,
  26% {
    transform: translateY(0);
  }
  33%,
  59% {
    transform: translateY(-40px);
  }
  66%,
  92% {
    transform: translateY(-80px);
  }
  100% {
    transform: translateY(-120px);
  }
}

/* -------- intro 3 cards -------- */

.intro-section {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: var(--section-space) 0;
  background: var(--color-bg-soft);
}

.intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.intro-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(132px, 0.95fr);
  align-items: stretch;
  min-height: 176px;
  overflow: hidden;
  background: #fff;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.intro-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  z-index: 2;
}

.intro-card:hover {
  border-color: rgba(0, 141, 69, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

.intro-card:hover::before {
  transform: scaleY(1);
}

.intro-card__thumb {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #1a1a1a;
}

.intro-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.35) 18%,
      rgba(0, 0, 0, 0.08) 42%,
      rgba(0, 0, 0, 0.22) 100%
    );
  pointer-events: none;
}

.intro-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.intro-card:hover .intro-card__thumb img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.intro-card__thumb--logo {
  background: #fff;
}

.intro-card__thumb--logo::after {
  display: none;
}

.intro-card__thumb--logo img {
  object-fit: contain;
  padding: 16px 12px;
  transform: none;
}

.intro-card:hover .intro-card__thumb--logo img {
  transform: scale(1.04);
  filter: none;
}

.intro-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 24px 8px 22px 26px;
  background: linear-gradient(90deg, #fff 72%, rgba(255, 255, 255, 0) 100%);
}

.intro-card__label {
  display: block;
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.intro-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.intro-card p {
  margin: 0 0 14px;
  color: var(--color-subtext);
  font-size: 13px;
  line-height: 1.7;
}

.intro-card .c-text-link {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* -------- news -------- */

.news-block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}

.news-block__head h2 {
  margin: 0 0 12px;
  font-size: var(--fs-h2);
}

.news-block__lead {
  margin: 0 0 16px;
  color: var(--color-subtext);
  font-size: 13px;
  line-height: 1.7;
}

.news-empty {
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.news-empty p {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
}

.news-empty__note {
  margin-top: 8px !important;
  color: var(--color-muted) !important;
  font-size: 13px !important;
}

.news-block--count-1 .news-item a,
.news-block--count-2 .news-item a,
.news-block--count-3 .news-item a {
  padding: 18px 0;
}

.news-list {
  list-style: none;
  border-top: 1px solid var(--color-border);
  min-height: 0;
}

.news-item a {
  display: grid;
  grid-template-columns: 110px 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item a:hover .news-item__title {
  color: var(--color-primary);
}

.news-item__date {
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  font-size: 14px;
}

.c-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.c-cat--dark {
  background: #6b6b6b;
}

.c-cat--gray {
  background: #888;
}

.news-item__title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.home-head h2 {
  margin: 0 0 8px;
  font-size: var(--fs-h2);
}

.home-head p {
  margin: 0;
  max-width: 36em;
  color: var(--color-subtext);
  font-size: 14px;
}

/* -------- home row: left head + right cards -------- */

.home-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.home-row__head h2 {
  margin: 0 0 12px;
  font-size: var(--fs-h2);
  line-height: 1.3;
}

.home-row__head p {
  margin: 0 0 16px;
  color: var(--color-subtext);
  font-size: 14px;
  line-height: 1.7;
}

/* -------- cards: business / works -------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-business .card-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-grid--5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.card-grid--5 .media-card h3 {
  font-size: 14px;
}

.card-grid--5 .media-card p {
  font-size: 12px;
  line-height: 1.6;
}

.card-grid--five {
  grid-template-columns: repeat(6, 1fr);
}

.card-grid--five > * {
  grid-column: span 2;
}

.nav-contact {
  display: none;
}

.media-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.media-card:hover .media-card__image img {
  transform: scale(1.04);
}

.works-card--static {
  cursor: default;
}

.works-card--static:hover .media-card__image img {
  transform: none;
}

.media-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e8e8;
}

.media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.media-card__body {
  padding: 12px 0 0;
}

.media-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.media-card__date {
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.media-card__desc {
  margin: 0;
  color: var(--color-subtext);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.media-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.media-card p {
  margin: 0 0 10px;
  color: var(--color-subtext);
  font-size: 13px;
}

.works-card .media-card__body {
  padding-top: 10px;
}

.works-card h3 {
  margin-bottom: 6px;
  font-size: 14px;
}

.works-card__specs {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.works-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
}

.works-card__meta svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex: none;
}

.works-card__label {
  position: absolute;
  left: 0;
  bottom: 0;
  top: auto;
  padding: 4px 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-works__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.home-works__group {
  display: contents;
}

.home-works__group--clone {
  display: none;
}

@keyframes home-works-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* -------- contact CTA -------- */

.contact-cta {
  position: relative;
  isolation: isolate;
  padding: 40px 0;
  background: #1a1a1a;
  color: #fff;
}

.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/common/cta-bg.jpg") center/cover;
  opacity: 0.28;
  filter: grayscale(0.35);
}

.contact-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.45);
}

.contact-cta__grid,
.contact-cta__inner,
.contact-cta__wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.contact-cta__copy,
.contact-cta__phone,
.contact-cta__form,
.contact-cta__inner > div {
  padding: 28px 28px;
}

.contact-cta__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cta__label {
  margin: 8px 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.contact-cta__phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #fff;
  color: var(--color-text);
}

.contact-cta__form {
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cta__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  color: var(--color-primary);
}

.contact-cta__icon--light {
  color: #fff;
}

.contact-cta__catch {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.45;
}

.contact-cta__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.contact-cta__tel {
  margin: 4px 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
}

.contact-cta__tel a:hover {
  color: var(--color-primary-dark);
}

.contact-cta__hours {
  margin: 0;
  color: var(--color-subtext);
  font-size: 13px;
}

.contact-cta__hours--light {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-cta__form p {
  margin: 0;
  font-weight: 700;
}

.contact-cta .c-btn {
  min-width: 0;
  width: 100%;
  min-height: 44px;
}

.contact-cta .c-btn--primary {
  background: #fff;
  color: var(--color-primary);
}

/* -------- footer -------- */

.site-footer {
  padding: 32px 0 16px;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.4fr;
  gap: 24px 40px;
  align-items: center;
  padding-bottom: 20px;
}

.site-footer .site-logo {
  margin-bottom: 0;
}

.site-footer p,
.site-footer address {
  margin: 0;
  color: var(--color-subtext);
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  list-style: none;
}

.footer-nav--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.footer-nav a {
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.site-footer__bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 12px;
  text-align: center;
}

/* -------- page hero / breadcrumb -------- */

.page-hero {
  padding: 28px 0 32px;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin: 0;
  font-size: var(--fs-h1);
}

.breadcrumb-nav {
  margin: 0 0 16px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 13px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #ccc;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* -------- content -------- */

.prose {
  max-width: 760px;
}

.prose h2,
.block-title {
  margin: 0 0 16px;
  font-size: 24px;
}

.prose p,
.prose li {
  color: var(--color-subtext);
}

.prose--policy h2 {
  margin: 36px 0 12px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.prose--policy h2:first-of-type {
  margin-top: 32px;
}

.prose--policy ul {
  margin: 0 0 16px;
  padding-left: 1.3em;
}

.prose--policy li + li {
  margin-top: 4px;
}

.prose--policy .policy-note {
  margin-top: 40px;
  color: var(--color-muted);
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.split--rev {
  grid-template-columns: 1.1fr 0.9fr;
}

.split__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.split__image--logo {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 36px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
}

.split__image--logo img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
}

.split--message {
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1.55fr);
  gap: 40px;
  align-items: start;
}

.split--message .split__image img {
  width: 100%;
  max-width: 280px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-item {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
}

.value-item h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.value-item p {
  margin: 0;
  color: var(--color-subtext);
  font-size: 14px;
}

.value-item__num {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 12px;
}

/* -------- table -------- */

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th,
.profile-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.profile-table th {
  width: 28%;
  color: var(--color-text);
  font-weight: 700;
  background: var(--color-bg-soft);
}

.profile-table td {
  color: var(--color-subtext);
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  background:
    linear-gradient(rgba(0, 141, 69, 0.08), rgba(0, 141, 69, 0.08)),
    repeating-linear-gradient(0deg, #eee 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, #eee 0 1px, transparent 1px 40px),
    #f3f3f3;
  color: var(--color-subtext);
  border: 1px solid var(--color-border);
  text-align: center;
}

.map-placeholder--embed {
  padding: 0;
  overflow: hidden;
  background: #f3f3f3;
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 360px;
  min-height: 320px;
  border: 0;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  width: 100%;
  background:
    linear-gradient(rgba(0, 141, 69, 0.06), rgba(0, 141, 69, 0.06)),
    repeating-linear-gradient(0deg, #eee 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, #eee 0 1px, transparent 1px 36px),
    #f3f3f3;
  color: var(--color-subtext);
  border: 1px solid var(--color-border);
  text-align: center;
}

.photo-placeholder strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: 15px;
}

.photo-placeholder p {
  margin: 0;
  font-size: 13px;
}

.photo-placeholder--thumb {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  font-size: 11px;
}

.photo-placeholder--thumb span {
  color: var(--color-muted);
}

/* -------- steps -------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  list-style: none;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: var(--color-subtext);
  font-size: 14px;
}

/* -------- filters / tabs / pager -------- */

.filter-bar,
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn,
.tab-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

a.filter-btn,
a.tab-btn {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.filter-btn.is-active,
.tab-btn.is-active,
.filter-btn:hover,
.tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  list-style: none;
}

.pager a,
.pager span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  font-size: 14px;
}

.pager .is-current,
.pager .current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pager a:hover {
  border-color: var(--color-text);
}

/* -------- article / related -------- */

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.article-nav a {
  display: block;
  padding: 20px;
  border: 1px solid var(--color-border);
}

.article-nav a:hover {
  border-color: var(--color-primary);
}

.article-nav span {
  display: block;
  margin-bottom: 6px;
  color: var(--color-muted);
  font-size: 12px;
}

/* -------- media: toc -------- */
.media-toc {
  margin: 28px 0;
  padding: 18px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
}

.media-toc__title {
  margin: 0 0 12px;
  color: var(--color-text);
  font-weight: 700;
}

.media-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.media-toc__item {
  margin: 8px 0;
}

.media-toc__item--h3 {
  padding-left: 12px;
}

.media-toc a {
  display: inline-block;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 14px;
}

.media-toc a:hover {
  color: var(--color-primary);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 32px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__main {
  min-height: 0;
  max-height: min(38vh, 360px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e8;
}

.gallery__side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
}

.gallery__side img {
  min-height: 0;
  height: 100%;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  list-style: none;
}

.spec-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}

.spec-list dt,
.spec-list .k {
  font-weight: 700;
}

/* -------- form -------- */

.form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 700;
  font-size: 14px;
}

.req {
  margin-left: 6px;
  color: #c0392b;
  font-size: 12px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 16px;
}

.form-row textarea {
  min-height: 180px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(0, 141, 69, 0.25);
  border-color: var(--color-primary);
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}

.form-message {
  display: none;
  padding: 16px;
  background: #eef9f1;
  border: 1px solid var(--color-primary);
  color: var(--color-primary-dark);
}

.form-message.is-show {
  display: block;
}

.contact-info-box {
  padding: 32px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
}

.contact-info-box h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.contact-info-box .tel {
  margin: 12px 0 4px;
  font-size: 28px;
  font-weight: 700;
}

/* -------- recruit -------- */

.coming-soon {
  padding: 40px 32px;
  background: #fff;
  border: 1px dashed var(--color-border);
  text-align: center;
}

.coming-soon strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

/* -------- related strip -------- */

.related-head {
  margin-bottom: 24px;
}

/* -------- sample banner -------- */

.sample-flag {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  padding: 8px 12px;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
  pointer-events: none;
}

/* -------- responsive -------- */

@media (max-width: 1280px) {
  .site-logo img {
    width: 210px;
  }

  .global-nav__list {
    gap: 16px;
  }

  .c-btn--header {
    min-width: 132px;
    padding: 0 14px;
  }
}

@media (max-width: 1200px) {
  .global-nav__list {
    gap: 18px;
  }

  .home-row,
  .news-block {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 1100px) {
  .card-grid--5,
  .card-grid--five,
  .card-grid--4,
  .home-works__track {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--five > * {
    grid-column: auto;
  }

  .hero {
    grid-template-columns: minmax(380px, 42%) minmax(0, 1fr);
  }

  .hero.hero--collage-ver01,
  .hero.hero--mv {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(30px, 3.2vw, 42px);
    letter-spacing: 0.03em;
  }
}

@media (max-width: 960px) {
  :root {
    --section-space: 40px;
    --header-h: 64px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-header {
    background: var(--color-primary);
    border-bottom: none;
  }

  .site-header.is-scrolled {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  }

  .site-header .site-logo {
    background: none;
    padding: 0;
  }

  .site-header .site-logo img {
    filter: brightness(0) invert(1);
    width: 188px;
  }

  .site-header__cta {
    display: none;
  }

  .site-footer .site-logo img {
    filter: none;
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    background: #fff;
  }

  .global-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100svh - var(--header-h));
    margin-left: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-left: 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  body.is-nav-open .global-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .global-nav .global-nav__list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: stretch;
    gap: 0;
    min-height: 0;
    overflow: auto;
    padding: 0;
  }

  .global-nav li {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    min-height: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .global-nav__list a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    gap: 2px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
  }

  .global-nav__en {
    display: block;
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
  }

  .global-nav a.is-current .global-nav__ja {
    color: var(--color-primary);
  }

  .nav-contact {
    display: none;
  }

  .global-nav__cta {
    display: block;
    flex: none;
    padding: 12px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #1e2823;
    color: #fff;
  }

  .global-nav__cta-copy {
    margin: 0 0 2px;
    color: #8bd9ac;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .global-nav__tel {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
  }

  .global-nav__hours {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
  }

  .global-nav__cta .c-btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    margin-top: 10px;
    color: #fff;
  }

  .global-nav .global-nav__tel:hover {
    color: #8bd9ac;
  }

  @media (max-height: 740px) {
    .global-nav__list a {
      padding: 0 28px;
      font-size: 15px;
    }

    .global-nav__cta-copy,
    .global-nav__hours {
      display: none;
    }

    .global-nav__cta {
      padding: 10px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    }

    .global-nav__tel {
      font-size: 18px;
    }

    .global-nav__cta .c-btn {
      margin-top: 8px;
      min-height: 38px;
    }
  }

  @media (max-height: 560px) {
    .global-nav__en {
      display: none;
    }

    .global-nav .global-nav__list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 0;
    }

    .global-nav__list a {
      padding: 8px 20px;
    }
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero.hero--collage-ver01 {
    height: auto;
    min-height: 0;
  }

  .hero.hero--collage-ver01 .hero__collage {
    grid-area: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: min(100vw, 520px);
  }

  .hero.hero--collage-ver01 .hero__overlay {
    display: none;
  }

  .hero.hero--collage-ver01 .hero__content {
    grid-area: auto;
    width: auto;
    padding: 28px 20px 64px;
    background: #fff;
    color: inherit;
  }

  .hero.hero--collage-ver01 .hero__text {
    color: var(--color-subtext);
  }

  .hero.hero--collage-ver01 .c-btn--outline {
    background: #fff;
    color: var(--color-text);
    border-color: #111;
  }

  .hero.hero--collage-ver01 .c-btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #fff;
  }

  .hero.hero--mv {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    background: #1a1a1a;
  }

  .hero.hero--mv .hero__collage {
    display: grid;
    grid-area: 1 / 1;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 3px;
    height: auto;
  }

  .hero.hero--mv .hero__collage img {
    width: 100%;
    height: auto;
    aspect-ratio: 2.7 / 1;
    object-fit: cover;
    object-position: center 42%;
  }

  .hero.hero--mv .hero__collage img:nth-child(3) {
    display: none;
  }

  .hero.hero--mv .hero__overlay {
    display: block;
    grid-area: 1 / 1;
    background:
      linear-gradient(
        to bottom,
        rgba(12, 12, 12, 0.22) 0%,
        rgba(12, 12, 12, 0.42) 38%,
        rgba(12, 12, 12, 0.42) 62%,
        rgba(12, 12, 12, 0.22) 100%
      );
  }

  .hero.hero--mv .hero__visual {
    display: none;
  }

  .hero.hero--mv .hero__inner {
    grid-area: 1 / 1;
    position: relative;
    inset: auto;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: min(100% - 40px, var(--container));
    max-width: 100%;
    min-width: 0;
    height: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    padding: 20px 0;
    pointer-events: none;
    background: transparent;
  }

  .hero.hero--mv .hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: left;
    text-shadow: none;
    pointer-events: none;
  }

  .hero.hero--mv .hero__title {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: 2;
    width: auto;
    max-width: none;
    margin: 0 0 14px;
    transform: none;
    color: #fff;
    font-size: clamp(30px, 8.4vw, 40px);
    line-height: 1.35;
    letter-spacing: 0.03em;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.55),
      0 0 18px rgba(0, 0, 0, 0.4);
    pointer-events: none;
  }

  .hero.hero--mv .hero__title-line {
    white-space: nowrap;
  }

  .hero.hero--mv .hero__text {
    display: none;
  }

  .hero.hero--mv .hero__buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    width: 100%;
    min-width: 0;
    max-width: 360px;
    pointer-events: auto;
  }

  .hero.hero--mv .c-btn {
    min-width: 0;
    width: auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
    letter-spacing: 0.02em;
    justify-content: center;
    flex: 1 1 calc(50% - 4px);
  }

  .hero.hero--mv .c-btn--outline {
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.88);
  }

  .hero.hero--mv .c-btn--outline:hover {
    background: #fff;
    color: var(--color-text);
    border-color: #fff;
  }

  .hero__image {
    min-height: 280px;
    order: -1;
  }

  .hero__image::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.45) 75%,
      #ffffff 100%
    );
  }

  .hero__image img {
    object-position: 50% center;
  }

  .hero__content {
    padding: 28px 20px 64px;
  }

  .hero__title {
    font-size: clamp(28px, 7.5vw, 36px);
  }

  .hero__title-line {
    white-space: nowrap;
  }

  .hero__text {
    max-width: none;
    word-break: normal;
  }

  .intro-section {
    padding: var(--section-space) 0;
  }

  .news-band {
    margin-top: 0;
  }

  .news-band__inner {
    grid-template-columns: 1fr;
    gap: 6px 0;
    padding: 12px 0 10px;
  }

  .news-band__label {
    grid-column: auto;
  }

  .news-band__more {
    justify-self: end;
    font-size: 13px;
  }

  .news-band__viewport {
    overflow: hidden;
    height: 40px;
  }

  .news-band .news-band__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    animation: news-band-ticker 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  .news-band .news-band__list li,
  .news-band .news-band__list li[aria-hidden="true"] {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    width: 100%;
    min-width: 100%;
    height: 40px;
  }

  .news-band .news-band__list a {
    width: 100%;
    height: 100%;
    margin-right: 0;
    padding: 0;
    border-right: 0;
  }

  .hero__inner,
  .intro-grid,
  .news-block,
  .home-head,
  .home-row,
  .card-grid,
  .card-grid--3,
  .card-grid--4,
  .card-grid--5,
  .card-grid--five,
  .split,
  .split--rev,
  .split--message,
  .contact-cta__inner,
  .contact-cta__grid,
  .contact-cta__wrap,
  .site-footer__inner,
  .value-grid,
  .article-nav,
  .gallery,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .single-works .l-section {
    padding-top: 24px;
  }

  .gallery {
    gap: 8px;
    margin-bottom: 20px;
  }

  .gallery__main {
    max-height: 200px;
    aspect-ratio: 16 / 9;
  }

  .gallery__side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 8px;
  }

  .gallery__side img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .works-card .media-card__image {
    aspect-ratio: 16 / 10;
  }

  .split__image--logo {
    min-height: 240px;
    padding: 28px 20px;
  }

  .home-business .card-grid,
  .home-business .card-grid--3,
  .home-business .card-grid--4,
  .home-business .card-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-business .media-card {
    overflow: hidden;
    background: #fff;
  }

  .home-business .media-card__image {
    aspect-ratio: 1 / 1;
  }

  .home-business .media-card__body {
    padding: 10px 10px 12px;
  }

  .home-business .media-card h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .home-business .media-card p,
  .home-business .media-card .c-text-link {
    display: none;
  }

  .home-works {
    overflow: hidden;
  }

  .home-works .home-row__content {
    min-width: 0;
    overflow: hidden;
  }

  .home-works__slider {
    overflow: hidden;
    width: 100%;
    min-width: 0;
  }

  .home-works__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    gap: 0;
    animation: home-works-marquee 32s linear infinite;
  }

  .home-works__group,
  .home-works__group--clone {
    display: flex;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    gap: 12px;
    width: max-content;
    padding-right: 12px;
  }

  .home-works .works-card {
    display: flex;
    flex: 0 0 250px;
    width: 250px;
    min-width: 250px;
    max-width: 250px;
  }

  .home-works .works-card h3 {
    font-size: 14px;
  }

  .intro-card {
    min-height: 152px;
    grid-template-columns: minmax(0, 1.1fr) minmax(110px, 0.9fr);
  }

  .intro-card__body {
    padding: 20px 6px 18px 20px;
  }

  .intro-card h3 {
    font-size: 16px;
  }

  .contact-cta__copy,
  .contact-cta__phone,
  .contact-cta__form,
  .contact-cta__inner > div {
    padding: 28px 20px;
  }

  .news-item a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-nav--inline {
    justify-content: flex-start;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .l-container {
    width: min(100% - 28px, var(--container));
  }

  .hero.hero--mv .hero__inner {
    width: min(100% - 28px, var(--container));
    padding: 18px 0 20px;
  }

  .hero.hero--mv .hero__content {
    padding: 0;
  }

  .hero.hero--mv .hero__title {
    margin-bottom: 12px;
    font-size: clamp(28px, 8.2vw, 36px);
  }

  .hero.hero--mv .c-btn {
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }

  .site-logo img {
    width: 168px;
  }

  .site-header .site-logo img {
    width: 168px;
  }

  .c-btn {
    min-width: 0;
    width: 100%;
  }

  .hero__buttons .c-btn {
    width: calc(50% - 6px);
  }

  .hero.hero--mv .hero__buttons .c-btn {
    width: auto;
    flex: 1 1 calc(50% - 4px);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
