@import url("https://fonts.googleapis.com/css2?family=Zen+Antique&display=swap");

:root {
  --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

* {
  transition: all 0.4s ease;
  /* border: red 1px solid; */
}

body {
  color: white;
  background-color: #000;
}

html {
  font-size: 62.5%;
}

h2{
  font-size: 3.5rem;
  font-weight: 700;
  font-family: "Orbitron", serif;
  color: #fff;
  text-shadow: 0 0 10px #fff,0 0 15px #00fffb;
  padding-bottom: 20px;
}
h3 {
  position: relative;
  font-family: "Noto Sans JP",;
  font-weight: 700;
  z-index: 1;
  font-size: 3rem;
  font-weight: 540;
  color: #fff;
}

p {
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 3rem;
  letter-spacing: 0.2rem;
}

a,
span {
  position: relative;
  z-index: 1;
}

section {
  padding-top: 60px;
  padding-bottom: 60px;
}

header {
  position: fixed;
  z-index: 1000;
  padding: 2rem 5rem;
  text-shadow: black 1px 3px 6px;
  
}

.logo-title h2 img{
  cursor: pointer;
  width: 20%;
}

header img {
  width: 6rem;
}

/* ----- book-javascript ----- */
header .book-close-btn {
  display: block;
}

header .book-close-btn.active {
  display: none;
}

header .book-open-btn {
  display: none;
}

header .book-open-btn.active {
  display: block;
}
/* ----- book-javascript ----- */

header .menu-bar {
  position: absolute;
  top: 30vh;
  right: -200px;
  /* right: -20px; */
  background: #000;
  width: 170px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2rem;
  box-shadow: var(--box-shadow);
  opacity: 0;
}

header .menu-bar.active {
  right: -20px;
  opacity: 1;
}

header .menu-bar li {
  margin-bottom: 3rem;
}
header .menu-bar li a {
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
}

header .menu-bar li a:hover {
  color: rgb(71, 173, 187);
}

/* hero section */
.hero {
  /* background-image: url("./images/another-world.jpg"); */
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.hero::after {
  position: absolute;
  content: "";
  background-color: rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero .title {
  transform: translateY(240px);
  position: relative;
  z-index: 3;
}

.hero h1 {
  /* text-shadow: black 1px 3px 6px; */
  font-size: 7.5rem;
}

.hero h3 {
margin-top: 30px;
  width: 450px;
  text-align: left;
  /* text-shadow: black 1px 3px 6px; */
}


.my-4 p {
  padding-top: 10px;
  padding-bottom: 30px;
}


.col-sm-7 h2{
  font-size: 4rem;
}

/* sale section */
#sale{
  background-image: url(./images/1701.png);
}
.sale h2 {
  font-size: 4rem;
}

.sale h3 {
  font-size: 3rem;
}

.sale img {
  width: 100%;
  height: 100%;
}

.card-effect {
  box-shadow: var(--box-shadow);
}

.game-card {
  background-color: rgb(255, 255, 255);
}

.game-card h5 {
  font-size: 2rem;
  font-family: "Noto Sans JP",;
  font-weight: bold;
}

.game-card p {
  font-size: 1.7rem;
  line-height: 1.8rem;
  letter-spacing: 0.1rem;
}

.game-card:hover {
  box-shadow: none;
  transform: translateY(4px);
}

/* company section */
.company {
  background-image: url("./images/pokemiku.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.company::after {
  position: absolute;
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.company h2 {
  position: relative;
  z-index: 1;
  font-size: 3.6rem;
}

.company p {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
  line-height: 3.9rem;
}

.conmpany-text-last {
  position: absolute;
  top: 70%;
  left: 7%;
}

.company-info .more a {
  display: inline-block;
  color: white;
  font-size: 1.7rem;
  padding: 0.6rem;
}

.company-info .more a:hover {
  color: rgb(71, 173, 187);
  transform: translateX(1rem);
}

/* hardware section */
.hardware {
  width: 50%;
  height: 25%;
}

.hardware-card img {
  width: 100%;
  height: 100%;
}

.hardware-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hardware-card h3 {
  position: absolute;
  color: white;
  font-size: 4rem;
  opacity: 0;
}

.hardware-card:hover img {
  transform: scale(1.1);
}

.hardware-card .overlay {
  position: absolute;
  background: #000;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.hardware-card:hover .overlay {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background: rgb(13, 71, 92);
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.hardware-card:hover h3 {
  position: absolute;
  display: block;
  opacity: 1;
}

/* contact section */
.contact {
  background-image: url("./images/butterfly.jpg");
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.contact input {
  height: 4rem;
  margin-bottom: 2rem;
}

.contact textarea {
  width: 70%;
}

.contact .vision-sight-logo h3 {
  position: absolute;
  bottom: 10%;
  right: 8%;
  font-size: 4rem;
}

/* footer section */
footer {
  padding-bottom: 50px;
  padding: 40px;
  background-color: var(--dark);
  font-size: 2rem;
}

footer h2 {
  height: 50%;
  font-size: 3rem;
}

footer a {
  color: var(--body);
  text-decoration: none;
}

footer a:hover {
  color: rgb(71, 173, 187);
}

@media (max-width: 1000px) {
  .hero h1 {
    font-size: 5rem;
  }

  .hero h3 {
    width: 400px;
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero .title {
    transform: translateY(-50px);
    text-align: center;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .hero h3 {
    width: 100%;
    text-align: center;
  }

  .hardware-card h3 {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 45%;
  }

  .hero h3 {
    font-size: 2rem;
  }

  /* company section */
  .company-info {
    text-align: center !important;
    padding: 2rem !important;
  }

  .conmpany-text-last {
    position: static;
    margin-top: 30rem;
  }

  .company-info h2 {
    margin-bottom: 4.6rem !important;
  }

  .company-info p {
    line-height: 5rem;
    font-size: 2.2rem;
  }

  .company-info .more {
    margin-top: 9rem;
  }

  .contact h2 {
    font-size: 4.6rem;
    text-align: center;
  }

  /* hardware */
  .hardware {
    width: 70%;
    height: 25%;
  }

  /* footer section */
  footer {
    padding-top: 15px;
  }
}



video {
  position: absolute;
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:#000000;
  mix-blend-mode: overlay;
}
.overlay ::before{
  /* 透過した黒を上から重ねるイメージ */
  background-color: rgba(0,0,0,0.0.5);
  z-index: 100;
}

/* aaaa */
.text {
  position: relative;
  z-index: 10;
}

.text h2 {
  font-size: 5em;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1em;
}

.text h3 {
  font-size: 4em;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1em;
}

.text p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 20px 0;
  color: #fff;
}

.text a {
  display: inline-block;
  background: #ffdd00;
  text-decoration: none;
  color: #111;
  width: 200px;
  height: 200px;
  /* margin-top: 100px; */
  border-radius: 50%;
  transition: 0.1s;
  transform: rotate(-10deg);
}
.text a:hover{
  opacity: 0.8;
}
.text a .cd{
  text-align: center;
  padding-top: 10%;
  color: #111;
  font-weight: bold;
  line-height: 1.1;
  font-size: 26px;
}
.text a .sub_cd{
  text-align: center;
  color: #111;
  font-weight: bold;
  font-size: 18px;
}
.bg-dark p{
  font-size: 12px;
  text-align: center;
  color: gray;
}