.top {
  width: 100%;
  padding: 0;
}
.top .fv {
  position: relative;
  height: 100vh;
  margin: 0;
}
.top .fv h1 {
  position: absolute;
  right: 0;
  bottom: -40px;
  z-index: 5;
  width: auto;
  padding: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 150px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.1rem;
}
.top .fv dl {
  position: relative;
  z-index: 3;
  align-content: center;
  max-width: 1400px;
  height: 100%;
  padding: 0 1rem;
  margin: 0 auto;
  font-weight: 600;
  color: #fff;
}
.top .fv dl dt {
  position: relative;
  font-size: 21px;
}
.top .fv dl dt span {
  position: relative;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100% - 1rem);
  margin-top: 15px;
  font-size: 50px;
  line-height: 1.3;
}
.top .fv dl dt span::before, .top .fv dl dt span::after {
  position: absolute;
  top: -5px;
  height: 1px;
  content: "";
  background: #fff;
}
.top .fv dl dt span::before {
  left: 0;
  width: calc(100% - 1rem);
  content: "";
}
.top .fv dl dt span::after {
  left: -100vw;
  width: 100vw;
}
.top .fv dl dd {
  margin-top: 20px;
}
.top .fv dl dd p {
  margin-top: 30px;
  font-size: 16px;
}
.top .fv dl dd span {
  position: absolute;
  bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: "Josefin Sans", sans-serif;
  font-size: 25px;
  font-weight: normal;
  writing-mode: vertical-rl;
}
.top .fv dl dd span::after {
  display: inline-block;
  width: 1.5px;
  height: 10vh;
  margin: auto;
  content: "";
  background: rgba(255, 255, 255, 0.5);
  animation: scroll 2s infinite;
}
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
.top .fv > p {
  position: absolute;
  bottom: 0;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Josefin Sans", sans-serif;
  font-size: 20px;
  font-weight: normal;
}
.top .fv > p span {
  color: #fff;
  writing-mode: vertical-rl;
}
.top .fv .fv_bg {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
}
.top .fv .fv_bg::before, .top .fv .fv_bg::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}
.top .fv .fv_bg::before {
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), linear-gradient(to bottom, rgba(244, 227, 32, 0.2) 0%, transparent 100%);
}
.top .fv .fv_bg::after {
  z-index: 3;
  background: radial-gradient(circle, #ffd800 2px, transparent 2px), radial-gradient(circle, #ffd800 2px, transparent 2px);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 20%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
}
.top .fv .fv_bg video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.top .top_menu {
  padding: 150px 0;
  margin: 0;
  background: #fff;
}
.top .top_menu ul {
  position: relative;
  left: 50%;
  width: 1920px;
  transform: translateX(-50%);
}
.top .top_menu ul li {
  margin-bottom: 90px;
}
.top .top_menu ul li figure {
  position: relative;
  z-index: 0;
}
.top .top_menu ul li figure picture {
  display: block;
  max-width: 1500px;
  overflow: hidden;
}
.top .top_menu ul li figure picture img {
  width: 100%;
}
.top .top_menu ul li figure figcaption {
  max-width: 1500px;
  margin: 0 auto;
}
.top .top_menu ul li figure figcaption::after {
  position: absolute;
  top: 40px;
  z-index: -1;
  width: calc(100% - 1rem);
  max-width: 1500px;
  height: 95px;
  content: "";
  background: #f4e320;
}
.top .top_menu ul li figure figcaption a {
  display: flex;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.top .top_menu ul li figure figcaption a::before {
  display: inline-block;
  order: 2;
  width: 100%;
  height: 2px;
  content: "";
  background: #000;
  transform: translateY(10px);
}
.top .top_menu ul li figure figcaption a h2 {
  position: relative;
  order: 1;
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 96px;
  font-weight: normal;
  line-height: 1;
}
.top .top_menu ul li figure figcaption a span {
  order: 3;
  padding: 0 8px;
  font-weight: 600;
  white-space: nowrap;
  background: #f4e320;
}
.top .top_menu ul li figure figcaption a::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  content: "";
}
.top .top_menu ul li:nth-child(odd) figure figcaption::after {
  left: 0;
}
.top .top_menu ul li:nth-child(odd) figure figcaption a span {
  transform: translate(-20px, 10px);
}
.top .top_menu ul li:nth-child(odd) figure picture {
  margin-left: auto;
  transform: translate(40px, -24px);
}
.top .top_menu ul li:nth-child(even) figure figcaption a {
  flex-direction: row-reverse;
}
.top .top_menu ul li:nth-child(even) figure figcaption a span {
  transform: translate(20px, 10px);
}
.top .top_menu ul li:nth-child(even) figure figcaption::after {
  right: 0;
}
.top .top_menu ul li:nth-child(even) figure picture {
  transform: translate(-40px, -24px);
}
.top .top_menu ul li:has(a:hover) figure img {
  transition-duration: 1.2s;
  transform: scale(1.1);
}
.top .top_contact {
  height: 300px;
  margin: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), linear-gradient(to top, rgba(244, 227, 32, 0.3) 0%, transparent 50%);
}
.top .top_contact a {
  position: relative;
  display: block;
  align-content: center;
  height: 100%;
  color: #fff;
  text-align: center;
}
.top .top_contact a h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 97px;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.05rem;
  opacity: 0.6;
}
.top .top_contact a span {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
}
.top .top_contact a em {
  font-size: 16px;
}
.top .top_contact a::before, .top .top_contact a::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}
.top .top_contact a::before {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.top .top_contact a:hover::before {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), linear-gradient(to top, rgba(244, 227, 32, 0.1) 0%, transparent 100%);
  opacity: 1;
}

footer {
  position: relative;
}

@media (max-width: 1279px) {
  body::before {
    display: none;
  }
  .top .fv h1 {
    bottom: -3vw;
    z-index: 1;
    font-size: 12vw;
  }
  .top .fv dl dt {
    font-size: 18px;
  }
  .top .fv dl dt span {
    font-size: 40px;
  }
  .top .fv dl dd {
    margin-top: 20px;
  }
  .top .fv dl dd span {
    font-size: 20px;
  }
  .top .top_menu ul {
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .top .fv h1 {
    bottom: 0;
    font-size: 12vh;
    font-size: 12svh;
    text-align: right;
    opacity: 0.5;
    writing-mode: vertical-rl;
  }
}
@media (max-width: 743px) {
  .top .fv {
    height: 100dvh;
    height: 100svh;
  }
  .top .fv h1 {
    padding-top: 0;
    font-size: 11vh;
    font-size: 11svh;
  }
  .top .fv dl dt {
    font-size: 1rem;
  }
  .top .fv dl dt span {
    margin-top: 1rem;
    font-size: 1.5rem;
  }
  .top .fv dl dd {
    margin-top: 1rem;
  }
  .top .fv dl dd p {
    font-size: 1rem;
  }
  .top .fv dl dd span {
    font-size: 1rem;
  }
  .top .fv dl dd span::after {
    height: 4rem;
  }
  .top .fv .fv_bg::after {
    background: radial-gradient(circle, #ffd800 1px, transparent 1px), radial-gradient(circle, #ffd800 1px, transparent 1px);
    background-position: 0 0, 8px 8px;
    background-size: 18px 18px;
  }
  .top .top_menu {
    padding: 4rem 0;
  }
  .top .top_menu ul li {
    margin-bottom: 3.5rem;
  }
  .top .top_menu ul li figure figcaption a::before {
    transform: translateY(0.2rem);
  }
  .top .top_menu ul li figure figcaption a h2 {
    margin-bottom: 0;
    font-size: 3rem;
  }
  .top .top_menu ul li figure figcaption a span {
    line-height: 1;
  }
  .top .top_menu ul li figure figcaption::after {
    top: 1rem;
    height: 3rem;
  }
  .top .top_menu ul li figure picture {
    transform: translateY(-0.7rem);
  }
  .top .top_menu ul li:nth-child(odd) figure figcaption a span {
    transform: translate(-1rem, 0.1rem);
  }
  .top .top_menu ul li:nth-child(odd) figure picture {
    transform: translate(2.3rem, -0.7rem);
  }
  .top .top_menu ul li:nth-child(even) figure figcaption a span {
    transform: translate(1rem, 0.1rem);
  }
  .top .top_menu ul li:nth-child(even) figure picture {
    transform: translate(-2.3rem, -0.7rem);
  }
  .top .top_contact {
    height: 9.5rem;
  }
  .top .top_contact a {
    background: url(../img/contact_bg_sp.webp) #fff no-repeat center/cover;
  }
  .top .top_contact a::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(to top, rgba(244, 227, 32, 0.2) 0%, transparent 100%);
    opacity: 1;
  }
  .top .top_contact a::after {
    background: radial-gradient(circle, #ffd800 1px, transparent 1px), radial-gradient(circle, #ffd800 1px, transparent 1px);
    background-position: 0 0, 8px 8px;
    background-size: 18px 18px;
    opacity: 0.3;
    -webkit-mask-image: linear-gradient(to top, #000 20%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
            mask-image: linear-gradient(to top, #000 20%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  }
  .top .top_contact a > * {
    position: relative;
  }
  .top .top_contact a h2 {
    font-size: 3rem;
  }
  .top .top_contact a span {
    margin: 0;
    font-size: 1.1rem;
  }
  .top .top_contact a em {
    font-size: 1rem;
  }
  .top .top_contact a:hover {
    background: url(../img/contact_bg_sp.webp) #fff no-repeat center/cover;
  }
}/*# sourceMappingURL=top.css.map */