/* 深雪工務店 サンプルサイト専用スタイル（他ページに依存しない独立CSS） */

:root {
  --navy: #1c2a3e;
  --navy-soft: #2c3d55;
  --sumi: #262421;
  --ink-soft: #55504a;
  --ink-faint: #837b6f;
  --paper: #f5f1e6;
  --paper-alt: #ece3d0;
  --surface: #ffffff;
  --line: #ddd2b8;
  --line-strong: #c6b898;
  --wood: #7c5934;
  --gold: #a3823f;
  --rust: #a3572f;

  --max: 1180px;
  --max-narrow: 720px;
  --header-h: 76px;

  --fs-wordmark: clamp(2rem, 3.4vw + 1.3rem, 3.4rem);
  --fs-h2: clamp(1.5rem, 1vw + 1.3rem, 2rem);
  --fs-h3: clamp(1.05rem, 0.4vw + 0.95rem, 1.2rem);
  --fs-lead: clamp(1rem, 0.4vw + 0.9rem, 1.1rem);
  --fs-body: clamp(0.95rem, 0.15vw + 0.9rem, 1.02rem);
  --fs-note: 0.84rem;
  --fs-eyebrow: 0.76rem;

  --radius: 2px;
  --ease: cubic-bezier(0.25, 0.6, 0.32, 1);
}

* {
  box-sizing: border-box;
}

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

body.mk {
  margin: 0;
  background: var(--paper);
  color: var(--sumi);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
    "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p, dl, dd, figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.mk :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.mk-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mk-visually-hidden:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  z-index: 300;
  clip: auto;
}

.mk-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.mk-eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 12px;
}

.mk-section {
  padding: clamp(56px, 8vw, 108px) 0;
}

.mk-section--alt {
  background: var(--paper-alt);
}

.mk-section__head {
  margin-bottom: clamp(32px, 4vw, 52px);
  max-width: 42em;
}

.mk-section__head h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--navy);
}

.mk-section__lead {
  margin-top: 16px;
  color: var(--ink-soft);
  line-height: 2;
}

.mk-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- reveal-on-scroll ---------- */
.mk-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.mk-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mk-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================= HEADER ================= */
.mk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}

.mk-header__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mk-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  color: #fff;
}

.mk-brand__name {
  font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.mk-brand__sub {
  margin-top: 3px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.62);
}

.mk-nav {
  display: none;
  align-items: center;
  gap: clamp(20px, 2vw, 36px);
}

.mk-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 26px);
}

.mk-nav__list a {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mk-nav__list a:hover {
  color: #fff;
  border-color: var(--gold);
}

.mk-nav__contact {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.mk-nav__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-align: left;
}

.mk-nav__tel .mk-icon {
  color: var(--gold);
}

.mk-nav__tel span {
  display: block;
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.66);
}

.mk-nav__tel em {
  display: block;
  font-style: normal;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.mk-nav__cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}

.mk-nav__cta:hover {
  background: #b6975a;
}

.mk-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}

.mk-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.mk-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mk-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mk-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mk-mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 90;
  overflow-y: auto;
}

.mk-mobile-nav.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.mk-mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mk-mobile-nav__list a {
  display: block;
  padding: 15px 4px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mk-mobile-nav__tel {
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 980px) {
  .mk-nav {
    display: flex;
  }
  .mk-menu-toggle {
    display: none;
  }
  .mk-mobile-nav {
    display: none;
  }
}

/* ================= HERO ================= */
.mk-hero {
  position: relative;
  height: calc(100svh - var(--header-h));
  min-height: 520px;
  max-height: 880px;
  overflow: hidden;
}

.mk-hero__media {
  position: absolute;
  inset: 0;
}

.mk-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 32%;
}

.mk-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(20, 22, 18, 0.6) 0%,
    rgba(20, 22, 18, 0.28) 34%,
    rgba(20, 22, 18, 0.02) 60%
  );
}

.mk-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 20px clamp(36px, 6vw, 76px);
  color: #fbf8f1;
}

@media (max-width: 979px) {
  .mk-hero__content {
    padding-bottom: calc(clamp(36px, 6vw, 76px) + 58px + env(safe-area-inset-bottom, 0px));
  }
}

.mk-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin-bottom: 14px;
  color: var(--gold);
}

.mk-hero__title {
  font-size: var(--fs-wordmark);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.mk-hero__copy {
  font-size: clamp(0.92rem, 0.6vw + 0.7rem, 1.08rem);
  line-height: 1.9;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  max-width: 34em;
}

.mk-hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (min-width: 980px) {
  .mk-hero__content {
    padding: 0 20px clamp(56px, 6vw, 96px);
  }
}

/* ---------- buttons ---------- */
.mk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}

.mk-button:active {
  transform: scale(0.98);
}

.mk-button--fill {
  background: var(--gold);
  color: var(--navy);
}

.mk-button--fill:hover {
  background: #b6975a;
}

.mk-button--line {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
}

.mk-button--line:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mk-button--lg {
  height: 56px;
  padding: 0 32px;
  font-size: 0.92rem;
}

.mk-button--on-dark.mk-button--line {
  border-color: rgba(255, 255, 255, 0.7);
}

/* ================= SERVICE ================= */
.mk-service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.mk-service__item {
  background: var(--surface);
  padding: clamp(26px, 3vw, 36px) clamp(20px, 3vw, 28px);
}

.mk-service__icon {
  width: 34px;
  height: 34px;
  color: var(--wood);
  margin-bottom: 18px;
}

.mk-service__item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.mk-service__item p {
  color: var(--ink-soft);
  font-size: var(--fs-note);
}

@media (min-width: 640px) {
  .mk-service__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .mk-service__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ================= ABOUT ================= */
.mk-about {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.mk-about__body h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 24px;
}

.mk-about__text {
  color: var(--ink-soft);
  line-height: 2.05;
  max-width: 34em;
}

.mk-about__facts {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: clamp(8px, 2vw, 0px);
  border-top: 1px solid var(--line-strong);
}

.mk-about__facts > div {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.mk-about__facts > div:first-child {
  padding-top: 0;
  border-top: none;
}

.mk-about__facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wood);
  margin-bottom: 8px;
}

.mk-about__facts dd {
  color: var(--ink-soft);
  line-height: 1.85;
}

@media (min-width: 900px) {
  .mk-about {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

/* ================= WORKS ================= */
.mk-works__list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 84px);
}

.mk-work {
  display: grid;
  gap: 24px;
}

.mk-work__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  background: var(--paper-alt);
}

.mk-work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-work__media--ba img {
  object-position: center;
}

.mk-work__badge {
  position: absolute;
  left: 14px;
  padding: 5px 12px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
}

.mk-work__badge--before {
  top: 14px;
}

.mk-work__badge--after {
  bottom: 14px;
  background: var(--gold);
  color: var(--navy);
}

.mk-work__divider {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.mk-work__tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
}

.mk-work__body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 12px;
}

.mk-work__body p {
  color: var(--ink-soft);
  line-height: 1.95;
  max-width: 34em;
}

@media (min-width: 900px) {
  .mk-work {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
  }
  .mk-work--reverse .mk-work__media {
    order: 2;
  }
  .mk-work--reverse .mk-work__body {
    order: 1;
  }
  .mk-work--ba {
    grid-template-columns: 1.35fr 1fr;
  }
}

/* ================= SMALL JOBS ================= */
.mk-small {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

.mk-small__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.mk-small__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 42%;
}

.mk-small__body h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 18px;
}

.mk-small__lead {
  color: var(--ink-soft);
  line-height: 1.95;
  margin-bottom: 28px;
  max-width: 32em;
}

.mk-small__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.mk-small__list li {
  position: relative;
  padding: 13px 4px 13px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--sumi);
  font-weight: 500;
}

.mk-small__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 8px;
  height: 1.5px;
  background: var(--wood);
}

@media (min-width: 640px) {
  .mk-small__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 28px;
  }
}

@media (min-width: 900px) {
  .mk-small {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

/* ================= GARDEN / SNOW ================= */
.mk-gs__list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.mk-gs__item {
  display: grid;
  gap: 22px;
}

.mk-gs__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
}

.mk-gs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-gs__item:nth-child(1) .mk-gs__media img {
  object-position: 32% 45%;
}

.mk-gs__item:nth-child(2) .mk-gs__media img {
  object-position: 36% 48%;
}

.mk-gs__body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.mk-gs__body p {
  color: var(--ink-soft);
  line-height: 1.95;
  max-width: 30em;
}

@media (min-width: 780px) {
  .mk-gs__list {
    flex-direction: row;
  }
  .mk-gs__item {
    flex: 1;
  }
}

/* ================= STAFF ================= */
.mk-staff__photo {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: clamp(32px, 4vw, 48px);
}

.mk-staff__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.mk-staff__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.mk-staff__member {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.mk-staff__role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 8px;
}

.mk-staff__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.mk-staff__desc {
  color: var(--ink-soft);
  line-height: 1.95;
  max-width: 30em;
}

@media (min-width: 780px) {
  .mk-staff__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .mk-staff__member {
    padding: 0 24px 0 0;
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
  .mk-staff__member:last-child {
    border-right: none;
    padding-right: 0;
  }
  .mk-staff__member + .mk-staff__member {
    padding-left: 24px;
  }
}

/* ================= AREA ================= */
.mk-area {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.mk-area__main h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
}

.mk-area__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.mk-area__tags li {
  padding: 9px 18px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.mk-area__text {
  color: var(--ink-soft);
  line-height: 2;
  max-width: 30em;
}

.mk-area__info {
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.mk-area__info-title {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wood);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mk-area__facts > div {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mk-area__facts > div:last-child {
  border-bottom: none;
}

.mk-area__facts dt {
  flex: 0 0 84px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  padding-top: 1px;
}

.mk-area__facts dd {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--sumi);
}

@media (min-width: 900px) {
  .mk-area {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

/* ================= CONTACT ================= */
.mk-contact {
  background: var(--navy);
  color: #fff;
}

.mk-contact__inner {
  text-align: center;
  max-width: var(--max-narrow);
}

.mk-contact .mk-eyebrow {
  margin: 0 auto 14px;
}

.mk-contact h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
}

.mk-contact__text {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 2;
}

.mk-contact__actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

@media (min-width: 560px) {
  .mk-contact__actions {
    flex-direction: row;
    justify-content: center;
  }
  .mk-button--lg {
    min-width: 216px;
  }
}

/* ================= FOOTER ================= */
.mk-footer {
  background: var(--sumi);
  color: rgba(245, 241, 230, 0.82);
  padding: 52px 0 96px;
}

@media (min-width: 980px) {
  .mk-footer {
    padding-bottom: 40px;
  }
}

.mk-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mk-footer__brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.mk-footer__brand span {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.56);
}

.mk-footer__facts {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mk-footer__facts > div {
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.9;
}

.mk-footer__facts dt {
  flex: 0 0 70px;
  color: rgba(255, 255, 255, 0.5);
}

.mk-footer__facts dd {
  color: rgba(255, 255, 255, 0.78);
}

.mk-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-footer__copy {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.56);
}

.mk-footer__disclaimer {
  font-size: 0.74rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.48);
  max-width: 48em;
}

.mk-footer__back {
  align-self: flex-start;
  margin-top: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 2px;
}

.mk-footer__back:hover {
  color: #fff;
}

@media (min-width: 760px) {
  .mk-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ================= MOBILE BAR (fixed CTA) ================= */
.mk-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mk-mobile-bar__tel,
.mk-mobile-bar__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 58px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.mk-mobile-bar__tel {
  background: var(--gold);
  color: var(--navy);
}

.mk-mobile-bar__tel .mk-icon {
  color: var(--navy);
}

.mk-mobile-bar__contact {
  background: var(--navy-soft);
}

@media (min-width: 980px) {
  .mk-mobile-bar {
    display: none;
  }
}

/* ================= TOAST (demo notice) ================= */
.mk-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  z-index: 200;
  max-width: min(92vw, 400px);
  padding: 14px 20px;
  background: var(--sumi);
  color: var(--paper);
  font-size: 0.84rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.mk-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (min-width: 980px) {
  .mk-toast {
    bottom: 28px;
  }
}

@media (max-width: 979px) {
  .mk-toast {
    bottom: 74px;
  }
}
