body { overflow-x: clip; }

.concept-1 { --button-hover: #b8f1e4; --button-hover-text: #102b40; }
.concept-2 { --button-hover: #ddf0c9; --button-hover-text: #203d24; }
.concept-3 { --button-hover: #e0faff; --button-hover-text: #174461; }
.concept-4 { --button-hover: #153e46; --button-hover-text: #fff; }

.btn, .button, .outline, .control {
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}
:is(.btn, .button, .outline, .control):is(:hover, :focus-visible) {
  background-color: var(--button-hover);
  color: var(--button-hover-text);
}
nav a {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size 260ms ease;
}
nav a:is(:hover, :focus-visible) { background-size: 100% 2px; }

.hero-visual { overflow: hidden; min-width: 0; }
.concept-2 .hero-visual { border-radius: 160px 160px 12px 12px; }
.concept-3 .hero-visual { border: 1px solid #315e87; border-radius: 4px; }
.hero .hero-visual img { display: block; border: 0; border-radius: 0; }
.art { scale: 1.04; }
.control[hidden] { display: none; }

.hero-visual img, .art { translate: 0 var(--hero-offset, 0px); }
.hero-visual img, .art, .proposal-index img { transition: scale 450ms ease; }
.cards article, .proposal-index main > a {
  transition: translate 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-visual:hover img, .proposal-index main > a:hover img { scale: 1.07; }
  .concept-4 .hero:hover .art { scale: 1.09; }
  .cards article:hover, .proposal-index main > a:hover {
    translate: 0 -7px;
    box-shadow: 0 14px 30px #071b3533;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-visual img { scale: 1.025; }
  .cards article:focus-within, .proposal-index main > a:focus-visible {
    translate: 0 -7px;
    box-shadow: 0 14px 30px #071b3533;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-visual img, .art { scale: none; translate: none; }
}
