@charset "UTF-8";
header {
  border-bottom: solid 1px rgb(33, 33, 33);
  z-index: 1;
  height: 70px;
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: #fff;
}

.header-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 1200px) {
  .header-wrap {
    padding: 0 20px;
  }
}

.header-wrap > :first-child {
  margin-right: auto;
}

header a:hover {
  text-decoration: none;
}

header a span {
  color: #333;
}

header .header-wrap,
header nav,
header nav ul,
nav ul li {
  height: 100%;
  display: flex;
  align-items: center;
}

.header-wrap .logo a {
  font-size: 40px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.header-wrap .logo a::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 0;
  z-index: -1;
  width: 100px;
  height: 64px;
  background-image: var(--apng-url, url("../images/header/cat3_h1.apng"));
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.header-wrap .logo a.is-active::after {
  opacity: 1;
}

.header nav {
  justify-self: end;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  width: auto;
}

/* 共通 */
.nav-link {
  min-width: 0;
  flex-shrink: 1;
  display: inline-flex;
  align-items: center;
  height: 64px;
  position: relative;
  text-decoration: none;
}
.nav-link::before {
  max-width: 100%;
  background-size: contain;
}

.nav-link span {
  display: inline-block;
  font-size: 18px;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.nav-link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

/* hover共通 */
.nav-link span:hover {
  text-shadow: 0 0 1px currentColor;
}

.nav-link span:hover::after {
  transform: scaleX(1);
}

.nav-news::before {
  content: "";
  width: 100px;
  height: 64px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}

.nav-product::before {
  content: "";
  width: 64px;
  height: 64px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}
@media (max-width: 1200px) {
  .nav-product::before {
    width: 100px;
    background-position: center;
  }
}

.nav-about::before {
  content: "";
  width: 64px;
  height: 64px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}
@media (max-width: 1200px) {
  .nav-about::before {
    width: 100px;
    background-position: center;
  }
}

.nav-contact::before {
  content: "";
  width: 80px;
  height: 64px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 1200px) {
  .nav-contact::before {
    padding-right: 20px;
    background-position: center;
  }
}

/* ▼ 個別（通常） */
.nav-product::before {
  background-image: url("../images/header/cat_turn.svg");
}

.nav-about::before {
  background-image: url("../images/header/cat.svg");
}

.nav-news::before {
  background-image: url("../images/header/cat_run.svg");
}

.nav-contact::before {
  background-image: url("../images/header/cat_walk.svg");
}

/* ▼ 個別（hover） */
.nav-news:hover::before {
  background-image: url("../images/header/cat_run.apng");
}

.nav-product:hover::before {
  background-image: url("../images/header/cat_turn.apng");
}

.nav-about:hover::before {
  background-image: url("../images/header/cat_jump.apng");
}

.nav-contact:hover::before {
  background-image: url("../images/header/cat_walk.apng");
  background-size: cover;
  background-position-x: 0;
}/*# sourceMappingURL=header.css.map */