@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.2em;
  font-family: "Zen Old Mincho", serif;
  background-color: #efefef;
}

.PC {
  display: block;
}
@media (max-width: 768px) {
  .PC {
    display: none;
  }
}

.SP {
  display: none;
}
@media (max-width: 768px) {
  .SP {
    display: block;
  }
}

h1 {
  margin: 0;
  line-height: 1.5;
  font-size: max(1.2em, 3vw);
}

.gradient-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  background: linear-gradient(180deg, #ffffff 0%, #c5c5c5 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 0.6s forwards, rotateAfter 0.4s forwards;
  animation-delay: 0s, 0.6s;
  letter-spacing: 0.2em;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes rotateAfter {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
    font-style: italic;
  }
}
h2 {
  font-size: 2em;
  margin-bottom: 4%;
  color: #474c52;
}
@media (max-width: 1200px) {
  h2 {
    font-size: 1.8em;
  }
}
@media (max-width: 1000px) {
  h2 {
    font-size: 1.6em;
  }
}
@media (max-width: 800px) {
  h2 {
    font-size: 1.4em;
  }
}
@media (max-width: 700px) {
  h2 {
    font-size: 1.3em;
  }
}
@media (max-width: 600px) {
  h2 {
    font-size: 1.2em;
  }
}

h3 {
  margin: 0;
  font-size: 1.5em;
}
@media (max-width: 1000px) {
  h3 {
    font-size: 1.3em;
  }
}
@media (max-width: 800px) {
  h3 {
    font-size: 1.2em;
  }
}
@media (max-width: 600px) {
  h3 {
    font-size: 1em;
  }
}

h4 {
  margin: 0;
  font-size: 1.2em;
  color: #474c52;
}
@media (max-width: 800px) {
  h4 {
    font-size: 1em;
  }
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  cursor: pointer;
}

li {
  list-style: none;
}

.section-wrap {
  padding: 4% 0;
}
@media (max-width: 1200px) {
  .section-wrap {
    padding: 6% 0;
  }
}
@media (max-width: 800px) {
  .section-wrap {
    padding: 8% 0;
  }
}
@media (max-width: 600px) {
  .section-wrap {
    padding: 10% 0;
  }
}
@media (max-width: 400px) {
  .section-wrap {
    padding: 12% 0;
  }
}

.div-wrap {
  max-width: 1400px;
  width: 100%;
  padding: 0 4%;
  margin: auto;
}
@media (max-width: 600px) {
  .div-wrap {
    padding: 0 8%;
  }
}

header .header_PC {
  position: fixed;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  color: #fff;
  background-color: #474c52;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  width: 90%;
  padding: 1% 2%;
  border-radius: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .header_PC .index {
  display: flex;
  align-items: center;
}
header .header_PC .index p {
  font-size: 1.2em;
}
header .header_PC ul {
  display: flex;
}
header .header_PC ul li {
  padding: 0 16px;
  position: relative;
  font-size: 1.2em;
}
header .header_PC ul li span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  margin-right: 32px;
}
header .header_PC ul li span::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(135deg);
  position: absolute;
  top: 45%;
  right: -16px;
}
header .header_PC ul li .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #474c52;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 4% 8%;
  min-width: 200px;
  width: 280px;
}
header .header_PC ul li .submenu li {
  padding: 2% 4%;
}
header .header_PC ul li .submenu li a {
  display: block;
  width: 100%;
  color: #fff;
}
header .header_PC ul li .submenu li a:hover {
  background-color: #5c6269;
}
header .header_PC ul li:hover .submenu {
  display: block;
}
header .header_SP {
  display: none;
}
header .header_SP .sp_inner {
  position: fixed;
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 60px;
  background-color: #474c52;
  border-radius: 100px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
}
header .header_SP .sp_inner .index {
  display: flex;
  align-items: center;
}
header .header_SP .sp_inner .index p {
  font-size: 1.2em;
}
header .header_SP .hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
}
header .header_SP .hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}
header .header_SP .hamburger span:nth-child(1) {
  top: 0;
}
header .header_SP .hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
header .header_SP .hamburger span:nth-child(3) {
  bottom: 0;
}
header .header_SP .hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}
header .header_SP .hamburger.active span:nth-child(2) {
  opacity: 0;
}
header .header_SP .hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 50%;
}
header .header_SP .sp_nav {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #474c52;
  padding: 80px 20px;
  transition: right 0.3s ease;
  z-index: 999;
}
header .header_SP .sp_nav ul {
  display: flex;
  flex-direction: column;
  color: #fff;
}
header .header_SP .sp_nav ul li {
  margin-bottom: 20px;
  position: relative;
}
header .header_SP .sp_nav ul li span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  margin-right: 32px;
}
header .header_SP .sp_nav ul li span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(135deg);
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%) rotate(135deg);
}
header .header_SP .sp_nav ul li .submenu {
  display: none;
  flex-direction: column;
  margin-top: 10px;
}
header .header_SP .sp_nav ul li .submenu li {
  margin: 8px 0;
}
header .header_SP .sp_nav.active {
  right: 0;
}
header .overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}
header .overlay.active {
  display: block;
}
@media (max-width: 800px) {
  header .header_PC {
    display: none;
  }
  header .header_SP {
    display: block;
  }
}

footer {
  background-color: #303336;
  color: #efefef;
}
footer h2 {
  margin: 0;
  text-align: center;
  color: #efefef;
}
footer .block {
  display: flex;
  justify-content: center;
  margin: 8% 0 2%;
}
footer .block .img {
  width: 8%;
  margin-right: 8%;
}
footer .block .line {
  width: 8%;
  margin-left: 8%;
  position: relative;
}
footer .block .line::after {
  content: "ジェネシス株式会社の\a公式LINEはこちら";
  white-space: pre;
  text-align: center;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%);
}
footer .block .line img {
  width: 100%;
}
footer .content {
  text-align: center;
}
footer .content p {
  text-align: left;
  display: inline-block;
}
footer ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
footer ul li {
  padding: 0 8px;
}
footer small {
  display: block;
  text-align: center;
}
@media (max-width: 920px) {
  footer .block {
    flex-direction: column;
    margin: 2% 0;
  }
  footer .block .img {
    margin: auto;
    width: 16%;
  }
  footer .block .line {
    width: 16%;
    margin: 12% auto 0;
  }
  footer ul {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin: 4% auto;
  }
}
@media (max-width: 600px) {
  footer .block {
    margin: 4% 0;
  }
  footer .block .line {
    margin: 24% auto 0;
  }
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 400px;
  margin: 4% auto;
  padding: 0.9em 3em 0.9em 2em;
  border: 1px solid #474c52;
  border-radius: 5px;
  background-color: #fff;
  color: #474c52;
  font-size: 1em;
}
.button:after {
  position: absolute;
  right: 2em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 2em;
  height: 0.5em;
  background-color: #474c52;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: "";
  transition: transform 0.3s;
}
.button:hover {
  transition: 0.3s;
  background-color: #656769;
  color: #efefef;
}
.button:hover:after {
  transform: translateY(-50%) scaleX(1.4);
  background-color: #efefef;
}
@media (max-width: 1000px) {
  .button {
    width: 100%;
  }
}

#LOWER-TTL {
  height: 400px;
  position: relative;
}
#LOWER-TTL h1 {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translate(-50%);
  font-size: 4em;
  color: #474c52;
  z-index: 2;
}
#LOWER-TTL span {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translate(-50%);
  font-size: 6em;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}
#LOWER-TTL .img {
  height: 100%;
}
#LOWER-TTL .img img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 1000px) {
  #LOWER-TTL h1 {
    font-size: 3em;
  }
  #LOWER-TTL span {
    font-size: 5em;
  }
}
@media (max-width: 800px) {
  #LOWER-TTL span {
    font-size: 4em;
  }
}
@media (max-width: 768px) {
  #LOWER-TTL {
    height: 200px;
  }
}
@media (max-width: 650px) {
  #LOWER-TTL h1 {
    font-size: 2em;
  }
  #LOWER-TTL span {
    font-size: 3em;
  }
}
@media (max-width: 500px) {
  #LOWER-TTL h1 {
    font-size: 1.5em;
  }
  #LOWER-TTL span {
    font-size: 2em;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.3s, transform 0.3s;
}

.fade-up.in-view {
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
}

#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#back-to-top:hover {
  background: #555;
}