@charset "utf-8";

:root {
    font-size: 10px;
    font-family: "BIZ UDPMincho";
}

a {
    text-decoration: none;
}

header {
  width: 100%;
  position: relative;
}

header,
section img {
  transition: all 0.5s;
}

section img {
  min-width: 1080px;
}

.slide {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
/* .slide img {
  min-height: 853px;
  object-fit: cover;
} */
.slide .item1 {
    min-height: 853px;
    object-fit: cover;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: anime 30s 0s infinite;
    animation: anime 30s 0s infinite;
}

.item1:nth-of-type(2) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}

.item1:nth-of-type(3) {
  -webkit-animation-delay: 20s;
  animation-delay: 20s;
}

/* ふわっとアニメーション */
@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
input[type="checkbox"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.hamburger {
  display: block;
  width: 44px;
  height: 40px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #333333;
  transition: all 0.5s;
}
.hamburger span::before {
  top: -10px;
}
.hamburger span::after {
  bottom: -10px;
  background-color: #0768ab;
}
input[type="checkbox"]:checked + .hamburger span {
  background-color: transparent;
}
input[type="checkbox"]:checked + .hamburger span::before {
  top: 0;
  transform: rotate(45deg);
}
input[type="checkbox"]:checked + .hamburger span::after {
  bottom: 0;
  transform: rotate(-45deg);
  background-color: #333333;
}

/* ===============================================
メニューのスタイリング
=============================================== */
.nav {
  position: fixed;
  width: 40%;
  height: 100vh;
  top: 0;
  right: -40%;
  z-index: -1;
  background-color: #fff;
  color: #000;
  /* padding: 50px 0; */
  transition: all 0.5s;
}
.nav__item a {
  display: block;
  font-size: 20px;
  padding: 20px 0 20px 50px;
  text-transform: uppercase;
}
.nav__item a:hover {
  color: #0f5474;
  background-color: #fff;
}
input[type="checkbox"]:checked ~ .nav {
  right: 0;
}
body:has(input[type="checkbox"]:checked) > header,
body:has(input[type="checkbox"]:checked) > section img {
  filter: blur(4px);
  transition: all 0.5s;
}

/* scrollHint */
a.scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    z-index: 999;
    display: inline-block;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    text-decoration: none;
    padding-top: 60px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.6rem;
}

a.scroll span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30px;
    height: 50px;
    margin-left: -15px;
    border: 1px solid #ffffff;
    border-radius: 50px;
    box-sizing: border-box;
}
a.scroll span::before {
    position: absolute;
    top: 10px;
    left: 50%;
    content: '';
    width: 8px;
    height: 8px;
    margin-left: -3px;
    background-color: #ffffff;
    border-radius: 100%;
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.bold {
  font-weight: bold;
}
.sp {
  display: none;
}

.menu {
  height: 100vh;
}

.menu img {
  object-fit: cover;
}

/* scrollHint */

.logo {
  width: 134px;
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}

.catch {
    position: absolute;
    left: 50%;
    bottom: 24%;
    transform: translateX(-50%);
    z-index: 99;
}

.catch p {
    font-size: 5rem;
    color: #fff;
    text-align: center;
}



.side_fix {
    position: relative;
}

.fix_reserve {
  width: 100px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 30%;
  right: 0;
  z-index: 9999;
  background-color: #0768ab;
  border-radius: 16px 0 0 16px;
}


.side_fix_inner {
    display: block;
    width: 80px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    padding: 30px 18px;
    background-color: #fff;
}

.copy {
    position: absolute;
    bottom: 30px;
    font-size: 1.6rem;
    writing-mode: vertical-lr;
}