@charset "utf-8";

/* ==========================
  初期設定
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  word-wrap: break-word;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* レイアウト設定 */
body {
  font-family: sans-serif;
}
main {
  margin: 80px 0;
  padding: 0 24px;
}

ul {
  list-style: none;
}

.menuItem-link {
  font-size: 80px;
  cursor: pointer;
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  transition: 0.3s;
  font-weight: bold;
  display: block;
  width: fit-content;
}

.menuItem-link:hover {
  color: #c3512f;
  -webkit-text-stroke: 1px #c3512f;
  text-stroke: 1px #c3512f;
}

.menuItem-img {
  width: 320px;
  z-index: -1;
  position: absolute;
  max-height: 240px;
  opacity: 0;
  left: 100%;
  top: 50%;
  transform: translate3d(-120%, -40%, 0) translate3d(0, 24px, 0);
  transition: opacity 0.3s, transform 0.6s;
}

.menuItem-link:hover .menuItem-img {
  opacity: 1;
  transform: translate3d(-120%, -40%, 0) rotate3d(0, 0, 1, 8deg);
}
