﻿:root {
  --ink: #162023;
  --muted: #647073;
  --line: #d9e1df;
  --soft: #f7f7f3;
  --paper: #ffffff;
  --accent: #f8ad29;
  --accent-dark: #c77700;
  --steel: #162023;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(22, 32, 35, 0.12);
  --page-edge: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(9, 17, 24, 0.78), rgba(9, 17, 24, 0));
  border-bottom: 0;
  backdrop-filter: none;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-overlay.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(22, 32, 35, 0.08);
  backdrop-filter: blur(10px);
}

.site-header .header-inner {
  width: calc(100% - (var(--page-edge) * 2));
  max-width: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
  font-weight: 800;
}

.brand-text {
  font-size: 17px;
}

.site-header .brand {
  width: 260px;
  height: 42px;
  background: url("../images/logo.svg") left center / contain no-repeat;
}

.site-header .brand-mark,
.site-header .brand-text {
  display: none;
}



.header-overlay.is-scrolled .brand {
 background: url("../images/logo2.svg") left center / contain no-repeat;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}

.header-overlay .site-nav a {
  color: #fff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.header-overlay.is-scrolled .site-nav a {
  color: var(--steel);
  text-shadow: none;
}

.header-overlay .site-nav a:hover,
.header-overlay .site-nav a.is-active {
  color: #f8ad29;
  background: rgba(255, 255, 255, 0.08);
}

.header-overlay.is-scrolled .site-nav a:hover,
.header-overlay.is-scrolled .site-nav a.is-active {
  color: var(--accent);
  background: var(--soft);
}

.header-overlay .site-nav .nav-contact {
  color: #111a1d;
  background: #f8ad29;
  text-shadow: none;
}

.header-overlay .site-nav .nav-contact:hover,
.header-overlay .site-nav .nav-contact.is-active {
  color: #111a1d;
  background: #ffc45c;
}

.header-overlay.is-scrolled .site-nav .nav-contact,
.header-overlay.is-scrolled .site-nav .nav-contact:hover,
.header-overlay.is-scrolled .site-nav .nav-contact.is-active {
  color: #fff;
  background: var(--accent);
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--steel);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
  background: var(--soft);
}

.site-nav .nav-contact {
  margin-left: 8px;
  color: #fff;
  background: var(--accent);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact.is-active {
  color: #fff;
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}

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

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

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

.hero {
  padding: 72px 0 84px;
  background: linear-gradient(180deg, #f7faf9 0%, #ffffff 100%);
}

.hero-full {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100dvh;
  padding: 132px 0 72px;
  overflow: hidden;
  color: #fff;
  background: #111a1d;
}

.hero-slides,
.hero-slide,
.hero-slides::after {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.is-current {
  opacity: 1;
  transform: scale(1);
}

.hero-slide:nth-child(1) {
  background-image: url("../images/hero-sunny-01.jpg");
}

.hero-slide:nth-child(2) {
  background-image: url("../images/hero-sunny-02.jpg");
}

.hero-slides::after {
  content: "";
  background:
    linear-gradient(134deg, rgba(8, 15, 22, 0.72) 0%, rgba(8, 15, 22, 0.28) 50%, rgba(8, 15, 22, 0.68) 100%),
    linear-gradient(180deg, rgba(8, 15, 22, 0.18) 0%, rgba(8, 15, 22, 0.72) 100%);
}

.hero-full::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42vw;
  height: 50vh;
  background: rgba(247, 183, 51, 0.32);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-full-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: calc(100% - (var(--page-edge) * 2));
  max-width: none;
}

.hero-small-copy {
  align-self: start;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.hero-small-copy strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 24px;
}

.hero-bg-text {
  position: absolute;
  left: var(--page-edge);
  bottom: 8vh;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(247, 183, 51, 0.7);
  font-size: clamp(74px, 13vw, 174px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.78;
  letter-spacing: 0;
  opacity: 0.62;
  pointer-events: none;
}

.hero-full .hero-copy {
  max-width: 780px;
  padding-left: 40px;
  padding-bottom: 6vh;
}

.hero-full .section-kicker {
  color: #f8ad29;
}

.hero-full .hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.5vw, 72px);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.42);
}

.hero-full .hero-lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-full .btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-grid,
.feature-grid,
.contact-grid,
.company-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead,
.section-lead,
.page-hero p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 0 0 rgba(22, 32, 35, 0);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 32, 35, 0.14);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  color: var(--accent-dark);
  background: #fff;
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.hero-media {
  position: relative;
}

.hero-media img,
.image-panel img,
.process-card img,
.article-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 4 / 3;
}

.hero-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(260px, calc(100% - 44px));
  padding: 18px;
  color: #fff;
  background: rgba(248, 173, 41, 0.92);
  border-radius: var(--radius);
}

.hero-card span,
.section-kicker,
.card-number {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-card strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.section-heading {
  position: relative;
  isolation: isolate;
  min-height: 86px;
  display: flex;
  margin-bottom: 18px;
  align-items: flex-end;
}

.section-heading::before {
  content: attr(data-title);
  position: absolute;
  left: 0;
  bottom: -2px;
  z-index: -1;
  color:var(--soft);
  font-family: Arial, sans-serif;
  font-size: clamp(62px, 10vw, 108px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading h2 {
  margin: 0 0 4px;
  color:var(--steel);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.2;
}

.section-heading-center {
  justify-content: center;
}

.section-heading-center::before {
  left: 50%;
  transform: translateX(-50%);
}

.cta-section .section-heading::before {
  color: rgba(255, 255, 255, 0.12);
}

.cta-section .section-heading h2 {
  color: #fff;
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: var(--soft);
}

.items-preview-section {
  background:
    linear-gradient(135deg, rgba(248, 173, 41, 0.13) 0%, rgba(255, 255, 255, 0.94) 46%, rgba(222, 231, 237, 0.62) 100%);
}

.home-company-section {
  position: relative;
  padding: 84px 0 76px;
  overflow: hidden;
  background: #fff;
}

.home-company-heading {
  position: relative;
  z-index: 2;
  max-width: 880px;
  text-align: center;
}

.title-line {
  display: block;
  width: 56px;
  height: 1px;
  margin: 28px auto 22px;
  background: var(--line);
}

.home-company-heading p {
  color: #334044;
  font-size: 17px;
  line-height: 2;
}

.home-company-heading p + p {
  margin-top: 4px;
}

.home-company-visual {
  position: relative;
  margin-top: 58px;
  min-height: 360px;
}

.company-ghost {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -40px;
  z-index: 0;
  width: 100%;
  height: 430px;
  object-fit: cover;
  opacity: 0.14;
  transform: skewY(-5deg) scale(1.08);
  transform-origin: left center;
}



.company-image-stage-single {
  display: block;
  min-height: 0;
}

.company-image-stage-single .company-single-img {
  position: relative;
  inset: auto;
  display: block;
  width: min(100%, 1080px);
  height: auto;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(20, 42, 66, 0.18);
}

@media (max-width: 768px) {
  .company-image-stage-single .company-single-img {
    width: 100%;
    max-height: none;
    aspect-ratio: 4 / 3;
  }
}

.company-image-stage {
  position: relative;
  z-index: 1;
  min-height: 360px;
}

.company-main-img,
.company-side-img {
  display: block;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(22, 32, 35, 0.18);
}

.company-main-img {
  width: 72%;
  height: 360px;
}

.company-side-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 34%;
  height: 360px;
}

.split-section,
.section-title-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.split-section:has(.section-heading:only-child) {
  grid-template-columns: 1fr;
}

h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
}

h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

p {
  margin: 0;
}

.service-cards,
.item-grid,
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.item-card,
.news-card,
.note-box,
.contact-info,
.contact-form,
.article-cta {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card {
  overflow: hidden;
}

.service-card:hover,
.item-card:hover,
.news-card:hover,
.note-box:hover,
.contact-info:hover,
.contact-form:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 173, 41, 0.42);
  box-shadow: 0 18px 42px rgba(22, 32, 35, 0.12);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  color: var(--accent-dark);
  background: rgba(248, 173, 41, 0.14);
  border: 1px solid rgba(248, 173, 41, 0.28);
  border-radius: var(--radius);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card img {
  width: calc(100% + 56px);
  max-width: none;
  height: 180px;
  margin: -28px -28px 22px;
  object-fit: cover;
}

.service-card p,
.item-card p,
.feature-copy p,
.news-card p,
.contact-info p,
.article-cta p {
  color: var(--muted);
}

.image-panel img {
  aspect-ratio: 5 / 4;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li {
  padding-left: 24px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 800;
  transition: color 0.22s ease, transform 0.22s ease;
}

.text-link:hover {
  color: var(--accent-dark);
  transform: translateX(4px);
}

.section-title-row .text-link {
  justify-self: end;
  align-self: end;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-list.compact {
  gap: 0;
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 120px 90px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: color 0.22s ease, padding-left 0.22s ease, background 0.22s ease;
}

.news-item:hover {
  padding-left: 12px;
  color: var(--accent-dark);
  background: linear-gradient(90deg, rgba(248, 173, 41, 0.08), rgba(255, 255, 255, 0));
}

.news-item span,
.news-card span,
.article-meta span {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  color: var(--accent-dark);
  background: var(--soft);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
}

.news-card {
  display: block;
}

.news-card div,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: var(--muted);
}

.news-card h2 {
  font-size: 24px;
}

.cta-section {
  position: relative;
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 26, 29, 0.82), rgba(17, 26, 29, 0.54)),
    url("../images/hero-contact.jpg") center / cover no-repeat fixed;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  margin-top: 0;
}

.cta-section .section-kicker,
.cta-section p {
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  padding: 70px 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.subpage-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 430px;
  padding: 132px 0 72px;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 0;
}

.subpage-hero::before,
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.subpage-hero::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 22, 0.74) 0%, rgba(8, 15, 22, 0.42) 52%, rgba(8, 15, 22, 0.78) 100%),
    linear-gradient(180deg, rgba(8, 15, 22, 0.2) 0%, rgba(8, 15, 22, 0.7) 100%);
}

.subpage-hero::after {
  z-index: 1;
  left: auto;
  width: 42vw;
  background: rgba(248, 173, 41, 0.3);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.services-hero {
  background-image: url("../images/hero-services.jpg");
}

.items-hero {
  background-image: url("../images/hero-items.jpg");
}

.company-hero {
  background-image: url("../images/hero-company.jpg");
}

.news-hero {
  background-image: url("../images/hero-news.jpg");
}

.contact-hero {
  background-image: url("../images/hero-contact.jpg");
}

.subpage-hero .container {
  position: relative;
  z-index: 2;
  width: calc(100% - (var(--page-edge) * 2));
  max-width: none;
  margin: 0 auto;
  text-align: right;
}

.subpage-bg-text {
  position: absolute;
  right: var(--page-edge);
  bottom: 134px;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(248, 173, 41, 0.44);
  font-size: clamp(70px, 10vw, 152px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.82;
  opacity: 0.82;
  pointer-events: none;
}

.subpage-hero .section-kicker {
  color: var(--accent);
}

.subpage-hero h1 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

.subpage-hero p {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
}

.subpage-hero .container {
  margin-left: auto;
}

.process-grid {
  display: grid;
  gap: 24px;
}

.process-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-card img {
  height: 220px;
}

.service-feature-list {
  background: #fff;
}

.service-feature-row {
  padding: 88px 0;
}

.service-feature-row-muted {
  background:
    linear-gradient(135deg, rgba(248, 173, 41, 0.1), rgba(222, 231, 237, 0.56));
}

.service-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 76px;
  align-items: center;
}

.service-feature-copy {
  max-width: 520px;
}

.service-feature h2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0 24px;
}

.service-feature h2 span {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.service-feature h2 small {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.service-feature-copy p {
  color: #334044;
  font-size: 16px;
  line-height: 2;
}

.service-feature-copy p + p {
  margin-top: 8px;
}

.service-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(22, 32, 35, 0.14);
  transition: transform 0.36s ease, box-shadow 0.36s ease;
}

.service-feature:hover img {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 26px 58px rgba(22, 32, 35, 0.18);
}

.flow {
  text-align: left;
}

.flow-steps div {
  padding: 24px;
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.item-card {
  min-height: 180px;
}

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

.item-category-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(22, 32, 35, 0.08);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.item-category-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.item-category-card:hover img {
  transform: scale(1.04);
}

.item-category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 173, 41, 0.42);
  box-shadow: 0 20px 48px rgba(22, 32, 35, 0.14);
}

.item-category-title {
  position: relative;
  z-index: 1;
  margin-top: -46px;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 8px 18px;
  color: #fff;
  background: rgba(40, 56, 61, 0.78);
}

.item-category-title h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.item-category-card p {
  min-height: 48px;
  padding: 14px 18px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.item-tone-copper,
.item-tone-battery,
.item-tone-heater {
  background: rgba(185, 91, 26, 0.82);
}

.item-tone-brass,
.item-tone-radiator {
  background: rgba(165, 135, 42, 0.82);
}

.item-tone-gunmetal,
.item-tone-lead,
.item-tone-steel,
.item-tone-industrial {
  background: rgba(43, 47, 50, 0.78);
}

.item-tone-wire,
.item-tone-motor,
.item-tone-cubicle,
.item-tone-mixed,
.item-tone-reuse {
  background: rgba(44, 95, 164, 0.78);
}

.item-tone-aluminum,
.item-tone-stainless {
  background: rgba(109, 124, 131, 0.78);
}

.note-box {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  justify-items: start;
}

.company-layout {
  align-items: stretch;
}

.company-table-wrap {
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 150px;
  color: var(--accent-dark);
  background: var(--soft);
}

.company-table tr {
  transition: background 0.22s ease;
}

.company-table tr:hover {
  background: rgba(248, 173, 41, 0.07);
}

.map-panel {
  min-height: 340px;
  padding: 32px;
  color: #fff;
  background: linear-gradient(135deg, rgba(248, 173, 41, 0.88), rgba(40, 56, 61, 0.94)), url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=900&q=80") center / cover;
  border-radius: var(--radius);
}

.map-panel span {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
}

.map-panel .text-link {
  margin-top: 24px;
  color: #fff;
}

.article-container {
  max-width: 840px;
}

.back-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 800;
}

.article-back-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.article-back-actions .back-link {
  min-width: 220px;
}

.article-section h1 {
  margin: 18px 0 26px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.22;
}

.article-image {
  aspect-ratio: 16 / 8;
  margin-bottom: 34px;
}

.article-body {
  display: grid;
  gap: 18px;
  color: #334044;
  font-size: 17px;
}

.article-cta {
  margin-top: 38px;
  background: var(--soft);
}

.contact-grid {
  align-items: start;
}

.contact-info dl {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.contact-info dt {
  color: var(--accent-dark);
  font-weight: 800;
}

.contact-info dd {
  margin: 0 0 8px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid #b8c5c2;
  border-radius: var(--radius);
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(248, 173, 41, 0.24);
  border-color: var(--accent);
}

.policy-content {
  max-width: 900px;
}

.policy-content h2 {
  margin-top: 34px;
  font-size: 26px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--muted);
}

.policy-content ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.policy-content li::marker {
  color: var(--accent);
}

.policy-content section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.policy-content section:first-child {
  padding-top: 0;
}

.policy-content section:last-child {
  border-bottom: 0;
}

.reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

.form-message {
  min-height: 26px;
  color: var(--accent-dark);
  font-weight: 800;
}

.site-footer {
  padding: 46px 0 22px;
  color: rgba(255, 255, 255, 0.78);
  background: #111a1d;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;font-size: 14px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand img {
  width: 260px;
  height: auto;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 24px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom a {
  font-size: 13px;
}

.footer-bottom a:hover {
  color: #fff;
}

.copyright {
  margin: 0;
  font-size: 13px;
  text-align: right;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 68px;
    bottom: 0;
    gap:0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: calc(100dvh - 68px);
    padding: 28px var(--page-edge) 42px;
    background: #fff;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .header-overlay .site-nav {
    background: #fff;
    border-color: var(--line);
  }

  .header-overlay .nav-toggle {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
  }

  .header-overlay .nav-toggle span {
    background: #fff;
  }

  .header-overlay.menu-open {
    background: #fff !important;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(22, 32, 35, 0.08);
    backdrop-filter: blur(10px);
  }

  .header-overlay.menu-open .brand {
    filter: none;
  }

  .header-overlay.menu-open .nav-toggle {
    border-color: var(--line);
    background: #fff;
  }

  .header-overlay.menu-open .nav-toggle span {
    background: var(--ink);
  }

  .header-overlay.is-scrolled .site-nav {
    background: #fff;
    border-color: var(--line);
  }

  .header-overlay.is-scrolled .nav-toggle {
    border-color: var(--line);
    background: #fff;
  }

  .header-overlay.is-scrolled .nav-toggle span {
    background: var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font-size: 18px;
  }

  .header-overlay .site-nav a,
  .header-overlay .site-nav a:hover,
  .header-overlay .site-nav a.is-active {
    color: var(--ink);
    background: transparent;
    text-shadow: none;
  }

  .header-overlay .site-nav a.is-active {
    color: var(--accent-dark);
  }

  .site-nav .nav-contact,
  .header-overlay .site-nav .nav-contact,
  .header-overlay .site-nav .nav-contact:hover,
  .header-overlay .site-nav .nav-contact.is-active {
    justify-content: center;
    margin-top: 24px;
    min-height: 54px;
    color: #111a1d;
    background: var(--accent);
    border-bottom: 0;
    border-radius: var(--radius);
  }

  .site-nav .nav-contact {
    margin-left: 0;
  }

  .hero-grid,
  .hero-full-inner,
  .feature-grid,
  .contact-grid,
  .company-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-full {
    min-height: 100dvh;
    padding: 116px 0 54px;
  }

  .hero-slide {
    background-position: center;
  }

  .hero-slide:nth-child(1) {
    background-image: url("../images/hero-sunny-01-mobile.jpg");
    background-position: center top;
  }

  .hero-slide:nth-child(2) {
    background-image: url("../images/hero-sunny-02-mobile.jpg");
    background-position: 62% center;
  }

  .hero-full-inner {
    width: calc(100% - (var(--page-edge) * 2));
    gap: 38px;
  }

  .hero-small-copy {
    margin-top: 0;
  }

  .hero-full .hero-copy {
    justify-self: start;
    padding-left:20px;
  }

  .hero-bg-text {
    left: var(--page-edge);
    bottom: 9vh;
    font-size: clamp(70px, 22vw, 140px);
  }

  .hero-full::after {
    width: 74vw;
    height: 34vh;
  }

  .process-card {
    grid-template-columns: 1fr;
  }

  .service-feature-row {
    padding:36px 0;
  }

  .service-feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-feature-copy {
    max-width: none;
  }

  .service-feature h2 {
    margin-bottom: 18px;
  }

  .home-company-section {
    padding: 62px 0 56px;
  }

  .home-company-heading {
    text-align: left;
  }

  .split-section .section-heading,
  .feature-copy .section-heading,
  .news-preview .section-heading {
    justify-content: center;
  }

  .split-section .section-heading::before,
  .feature-copy .section-heading::before,
  .news-preview .section-heading::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .split-section,
  .news-preview .section-title-row > div {
    text-align: center;
  }

  .news-preview .section-title-row > div {
    width: 100%;
    justify-self: stretch;
  }

  .news-preview .section-title-row {
    display: block;
  }

  .home-company-visual,
  .company-image-stage {
    min-height: 0;
  }
  .company-image-stage {
   width: 80%!important;
  }
  .home-company-visual{margin-top: 18px;}
  .company-ghost {
    bottom: -24px;
    height: 190px;
  }

  .company-main-img,
  .company-side-img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .company-side-img {
    margin-top: 14px;
  }

  .service-cards,
  .item-grid,
  .item-catalog-grid,
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-service-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-service-list .service-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 22px;
    align-items: center;
    min-height: 0;
  }

  .home-service-list .service-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .home-service-list .service-card h3,
  .home-service-list .service-card p {
    grid-column: 2;
  }

  .home-service-list .service-card h3 {
    margin-bottom: 0;
  }

  .page-hero .container {
    margin-left: auto;
  }

  .subpage-hero {
    min-height: 360px;
    padding: 112px 0 48px;
  }

  .subpage-hero .container {
    width: calc(100% - (var(--page-edge) * 2));
    text-align: left;
  }

  .subpage-bg-text {
    left: var(--page-edge);
    right: auto;
    bottom: 124px;
    font-size: clamp(54px, 18vw, 108px);
  }

  .subpage-hero::after {
    width: 78vw;
    height: 42%;
    top: auto;
  }

  .cta-section {
    background-attachment: scroll;
  }

  .cta-inner {
    justify-content: center;
    text-align: center;
  }

  .cta-inner .section-heading {
    justify-content: center;
  }

  .cta-inner .section-heading::before {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .section-title-row .text-link {
    display: none;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    /*width: min(100% - 28px, 1120px);*/
  }
.split-section, .section-title-row{margin-bottom: 0;}
.image-panel img {
  aspect-ratio: 5 / 3;
}
  :root {
    --page-edge: 14px;
  }

  .site-header .header-inner {
    width: calc(100% - (var(--page-edge) * 2));
    min-height: 68px;
  }

  .site-header .brand {
    width:198px;
    height: 32px;
  }

  .brand-text {
    font-size: 15px;
  }

  .hero,
  .section,
  .page-hero {
    padding: 50px 0;
  }

  .hero-full {
    padding: 104px 0 42px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 34px;
  }

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

  .hero-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .section-heading {
    min-height:42px;
  }

  .section-heading::before {
    font-size: clamp(46px, 15vw, 68px);
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .service-card,
  .item-card,
  .news-card,
  .note-box,
  .contact-info,
  .contact-form,
  .article-cta {
    padding: 22px;
  }

  .service-card img {
    width: calc(100% + 44px);
    height: 158px;
    margin: -22px -22px 18px;
  }

  .home-service-list .service-card {
    grid-template-columns: 72px 1fr;
    gap: 0px;
  }

  .home-service-list .service-icon {
    width: 54px;
    height: 54px;
  }

  .home-service-list .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .footer-brand img {
    width: 210px;
  }

  .item-catalog-grid {
    gap: 14px;
  }

  .item-category-title {
    margin-top: -42px;
    min-height: 42px;
    padding: 7px 12px;
  }

  .item-category-title h2 {
    font-size: 18px;
  }

  .item-category-card p {
    min-height: auto;
    padding: 11px 12px 13px;
    font-size: 13px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .article-image {
    aspect-ratio: 4 / 3;
  }

  .footer-nav {
    grid-template-columns:repeat(3, auto);
  }
}

/* Online CMS hero image overrides */
.hero-slide[style] {
  background-image: var(--bg-pc);
}
@media (max-width: 900px) {
  .hero-slide[style] {
    background-image: var(--bg-mobile, var(--bg-pc));
  }
}
.pagination,
.pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--steel);
  font-weight: 800;
}
.pagination .active span,
.pagination a:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* Contact success modal */
.modal-open {
  overflow: hidden;
}
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 26, 29, 0.58);
}
.contact-modal.is-open {
  display: flex;
}
.contact-modal__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 34px 30px 30px;
  text-align: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(17, 26, 29, 0.26);
}
.contact-modal__panel h2 {
  margin: 0 0 12px;
  color: var(--steel);
  font-size: 26px;
}
.contact-modal__panel p {
  margin: 0 0 24px;
  color: var(--muted);
}
.contact-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.contact-modal__close:hover {
  color: var(--accent-dark);
}
.contact-modal__ok {
  min-width: 140px;
}

.company-image-stage.company-image-stage-single {
  width: min(100%, 1080px);
  min-height: 0;
}

@media (max-width: 768px) {
  .company-image-stage.company-image-stage-single .company-single-img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}


.service-icon.service-icon-image {
  width: 98px;
  height: 98px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.service-icon.service-icon-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .home-service-list .service-icon.service-icon-image {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
  }
}


/* Home company single-image layout */
.home-company-visual .company-ghost {
  display: block;
}

.company-image-stage.company-image-stage-single .company-single-img {
  width: 100%;
  max-width: none;
  max-height: 560px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Home service cards: centered PC layout with plain image icons */
.home-service-list .service-card {
  text-align: center;
}

.home-service-list .service-icon.service-icon-image {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-service-list .service-icon.service-icon-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 768px) {
  .home-service-list .service-card {
    text-align: left;
  }

  .home-service-list .service-icon.service-icon-image {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    margin: 0;
  }
}

/* Mobile service icon spacing */
@media (max-width: 768px) {
  .home-service-list .service-card {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 18px;
  }

  .home-service-list .service-icon.service-icon-image {
    width: 86px;
    height: 86px;
    margin: 0;
    justify-self: start;
  }
}


/* Home items carousel */
.items-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.items-carousel {
  min-width: 0;
}

.items-carousel-main {
  position: relative;
}

.items-carousel-stage {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  background: #fff;
  border: 1px solid var(--line);
}

.items-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}

.items-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.items-carousel-slide img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.items-carousel-slide figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 44px);
  padding: 13px 18px;
  color: #fff;
  background: rgba(19, 32, 42, 0.76);
  backdrop-filter: blur(5px);
}

.items-carousel-slide figcaption span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.items-carousel-slide figcaption h3 {
  margin: 0;
  font-size: 23px;
  color: #fff;
}

.items-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(19, 32, 42, 0.68);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.items-carousel-arrow:hover {
  background: var(--accent-dark);
  transform: translateY(-50%) scale(1.06);
}

.items-carousel-prev {
  left: 14px;
}

.items-carousel-next {
  right: 14px;
}

.items-carousel-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.items-carousel-thumb {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.items-carousel-thumb:hover,
.items-carousel-thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(22, 32, 35, 0.12);
}

.items-carousel-thumb img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: cover;
}

.items-carousel-thumb span {
  display: block;
  overflow: hidden;
  padding: 8px 9px 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .items-preview-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .items-carousel-stage {
    min-height: 300px;
    touch-action: pan-y;
  }

  .items-carousel-slide img {
    height: 300px;
  }

  .items-carousel-slide figcaption {
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 11px 14px;
  }

  .items-carousel-slide figcaption h3 {
    font-size: 20px;
  }

  .items-carousel-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .items-carousel-thumb {
    flex: 0 0 96px;
    scroll-snap-align: start;
  }

  .items-carousel-thumb img {
    height: 60px;
  }
}

@media (max-width: 520px) {
  .items-carousel-stage {
    min-height: 240px;
  }

  .items-carousel-slide img {
    height: 240px;
  }

  .items-carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .items-carousel-prev {
    left: 8px;
  }

  .items-carousel-next {
    right: 8px;
  }
}


/* Items carousel arrow alignment and one-row thumbnail nav */
.items-carousel-arrow,
.items-carousel-thumb-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  font-family: Arial, sans-serif;
  text-align: center;
}

.items-carousel-thumb-nav {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.items-carousel-thumb-arrow {
  width: 34px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(19, 32, 42, 0.78);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.items-carousel-thumb-arrow:hover {
  border-color: var(--accent);
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.items-carousel-thumb-nav .items-carousel-thumbs {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
  margin-top: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.items-carousel-thumb-nav .items-carousel-thumb {
  flex: 0 0 104px;
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .items-carousel-thumb-nav {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 8px;
  }

  .items-carousel-thumb-arrow {
    width: 30px;
    height: 54px;
    font-size: 24px;
  }
}


.map-links {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-top: 24px;
}

.map-links .text-link {
  margin-top: 0;
}


.map-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 11px 18px;
  color: #fff;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.map-button:hover {
  color: #fff;
  background: rgba(17, 26, 29, 0.42);
  border-color: #fff;
  transform: translateY(-2px);
}

.map-link-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-link-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
