@charset "UTF-8";

:root {
  --mc-dark: #1b2426;
  --mc-dark-2: #131a1b;
  --mc-gray: #6f787f;
  --mc-gray-2: #596167;
  --mc-gray-3: #484f55;
  --mc-gray-light: #d8dde1;
  --mc-gray-grad: linear-gradient(135deg, #7b848b 0%, #636c73 50%, #4e565d 100%);
  --mc-gray-grad-soft: linear-gradient(135deg, #90979d 0%, #747d84 52%, #5e666d 100%);
  --mc-red: #ff3000;
  --mc-red-2: #e52600;
}

/*
  Keep original layout/typography from common.css.
  Menu styling is separated in nav.css.
*/

.mc-theme #footer {
  background: var(--mc-dark);
  color: #fff;
}

.mc-theme #footer .contactBlock__child.-bgGreen {
  background: var(--mc-gray-grad);
}

.mc-theme #footer .contactBlock__child.-bgGreen .title,
.mc-theme #footer .contactBlock__child.-bgGreen .titleComment,
.mc-theme #footer .contactBlock__child.-bgGreen .head,
.mc-theme #footer .contactBlock__child.-bgGreen p {
  color: #fff;
}

.mc-theme #footer .contactBlock__child.-bgGreen .contactButton {
  border-color: rgba(255, 255, 255, 0.42);
}

.mc-theme #footer .contactBlock__child.-bgGreen .contactButton .buttonLink {
  border-color: #fff;
  color: #fff;
}

.mc-theme #footer .contactBlock__child.-bgGreen .contactButton .buttonLink:hover,
.mc-theme #footer .contactBlock__child.-bgGreen .contactButton .buttonLink:focus {
  background: #fff;
  color: var(--mc-gray-3);
}

.mc-theme #footer .contactBlock__child.-bgWhite {
  background: #f7f8f9;
}

.mc-theme #footer .contactBlock__child.-bgWhite,
.mc-theme #footer .contactBlock__child.-bgWhite a,
.mc-theme #footer .contactBlock__child.-bgWhite .head,
.mc-theme #footer .contactBlock__child.-bgWhite .contactBranch__ttl,
.mc-theme #footer .contactBlock__child.-bgWhite .listItem__ttl {
  color: var(--mc-dark);
}

.mc-theme #footer .contactBlock__child.-bgWhite a:hover,
.mc-theme #footer .contactBlock__child.-bgWhite a:focus {
  color: var(--mc-red);
}

/* Replace original green accents with neutral gray while keeping layout intact. */
.mc-theme .-green {
  color: var(--mc-gray);
}

.mc-theme .title.-gradation,
.mc-theme .boxTitle {
  background: var(--mc-gray-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mc-theme hr.-gradation {
  border-top-color: var(--mc-gray);
  border-image: var(--mc-gray-grad-soft) 1;
}

.mc-theme .button > a::before,
.mc-theme .button > span::before {
  background: var(--mc-gray-grad-soft);
}

.mc-theme .button > a.buttonLink::after,
.mc-theme .button > span.buttonLink::after {
  filter: grayscale(1);
}

.mc-theme .linkCircle:hover,
.mc-theme .listRelation .linkCircle.-sizeL,
.mc-theme .listRelation .linkCircle.-sizeM,
.mc-theme .listRelation .linkCircle.-sizeS,
.mc-theme .newsList__detail a:hover {
  color: var(--mc-gray);
}

.mc-theme .newsCategory__listItem a:hover,
.mc-theme .newsCategory__listItem:hover {
  color: var(--mc-gray);
}

.mc-theme .newsCategory__listItem a.-active::after,
.mc-theme .newsCategory__listItem.-active::after {
  background: var(--mc-gray-grad);
}

.mc-theme .newsCategory__listItem a.-active::before,
.mc-theme .newsCategory__listItem.-active::before {
  filter: grayscale(1);
}

.mc-theme .layoutItem__ttl::before {
  background-color: var(--mc-gray);
}
