@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
}

/*ヘッダー部分*/
header {
  width: 100%;
  vertical-align: bottom;
  background-color: white;

}

header h1 img {
  display: block;
  width: 20%;
  margin-left: auto;
  margin-right: auto;
}

nav {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

nav ul {
  display: flex;
  list-style-type: none;
}

nav ul li {
  width: 20%;
  text-align: center;
}

nav ul li a {
  position: relative;
  font-size: 1.4vw;
  font-weight: 700;
  line-height: 2.6;
  text-decoration: none;
  color: #101010;
}

/*ヘッダー動く下線部分*/
nav ul li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: blue;
  bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}
    
nav ul li a:hover::after {
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

/*メイン画像*/
img {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5%;
}

/*section部分*/
section:nth-of-type(1) {
  text-align: center;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5%;
  background: linear-gradient(to left top,yellow,blue);
}

.group {
  display: flex;
  width: 100%;
  position: relative;
}

.group img {
  width: 50%;
}



.group img {
  display: block;
  margin-top: 8%;
  margin-left: 48%;
  width: 35%;
}

.concept {
  width: 40%;
  margin-bottom: 5%;
}

.content {
  width: 30vw;
  margin-top: 15%;
  padding: 1%;
  position: absolute;
  top: -25%;
  left: 15%;
  background-color: rgb(255, 255, 255);
}

.content h3 {
  font-size: 3vw;
  font-weight: 800;
  color: #101010;
}

.content h4 {
  font-size: 1vw;
  font-weight: 700;
  margin-top: 2%;
  margin-bottom: 2%;
}

.content p {
  width: 100%;
  margin-top: 5%;
  text-indent: 1em;
  font-size: 0.8vw;
  text-align: left;
  white-space: pre-wrap;
}

/*サイズ(虫眼鏡)*/
.size {
  display: block;
  position: sticky;
  top: 0;
  width: 20%;
  margin-left: auto;
}


/*紹介画像部分*/
section:nth-of-type(2) h2 {
  width: 100%;
  margin-top: 3%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2%;
  font-size: 3vw;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
}

/*jewelry*/
.JEWELRYtop {
  display: flex;
  position: relative;
}

.JEWELRY {
  width: 25%;
  position: absolute;
  top: 35%;
  left: 57%;
  padding: 1%;
  border-radius: 20% 10%;
  background-color: rgb(0, 0, 255);
}

section:nth-of-type(2) p {
  width: 100%;
  margin-top: 5%;
  text-indent: 1em;
  font-size: 0.8vw;
  text-align: left;
  white-space: pre-wrap;
  color: white;

}

section img {
  display: block;
  width: 40%;
  margin-left: 20%;
}

/*moopie*/
.MOOPIEtop {
  display: flex;
  position: relative;
}

.MOOPIE {
  width: 25%;
  position: absolute;
  top: 35%;
  left: 57%;
  padding: 1%;
  border-radius: 20% 10%;
  background-color: rgb(0, 0, 255);
}

section h3 {
  font-size: 2vw;
  color: white;
}

section:nth-of-type(3) p {
  width: 100%;
  margin-top: 5%;
  text-indent: 1em;
  font-size: 0.8vw;
  text-align: left;
  white-space: pre-wrap;
  color: white;

}

/*動く画像部分*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
    to {
    transform: translateX(-100%);
  }
  
  }
   .scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
  }
  .scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
  }
  .scroll-infinity__list--left {
    animation: infinity-scroll-left 30s infinite linear 0.5s both;
  }
  .scroll-infinity__item {
    width: calc(100vw / 6);
  }
  .scroll-infinity__item>img {
    width: 100%;
   }

   .scroll-infinity__wrap:hover ul {
    animation-play-state: paused; /*ホバーすると止まる*/
  }

section a {
  display: block;
  position: relative;
  width: 10%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3%;
  margin-bottom: 3%;
  text-decoration: none;
  text-align: center;
  font-size: 1.7vw;
  font-weight: 700;
  color: #101010;
}

section a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: blue;
  bottom: -1px;               
  transform: scale(0, 1);     
  transform-origin: left top; 
  transition: transform 0.3s;
}
    
section a:hover::after {
  transform: scale(1, 1);     
}

footer {
  margin-top: 5%;
  padding: 2% 4% 0%;
  background-color: rgb(0, 0, 255);
}

footer ul {
  display: flex;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  list-style-type: none;
}

footer ul li {
  width: calc(100% / 5);
  text-align: center;
}

footer ul li a {
  position: relative;
  line-height: 2.4;
  font-size: 1.2vw;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

footer ul li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: white;
  bottom: -1px;               
  transform: scale(0, 1);     
  transform-origin: top; 
  transition: transform 0.3s; 
}
    
footer ul li a:hover::after {
  transform: scale(1, 1);     
}

footer p {
  padding-top: 3%;
  text-align: center;
  color: #101010;
}
    
