@charset "UTF-8";

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

#tokushu {
  font-family: "optima-nova-lt-pro", sans-serif;
  background-color: #f4f1ec;
  color: #525252;
  min-height: 100vh;
  padding: 0;
}

#tokushu a:hover {
  color: inherit !important;
}

/*メイン*/
.gallery{
  padding-top: 10px;
}

/*ヒーロー*/
.hero-image {
  height: 80vh;
  margin: 0 10%;
  background-image: url('https://ruirue-co-jp.prm-ssl.jp/img/downcollection/imges/1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 1.8s ease-out 0.5s, transform 1.8s ease-out 0.5s;
}

.hero-text.active {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

/*スチール・ムービー*/
.image-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 110px 20px;
}

.image-item {
  width: 100%;
  display: block;
  overflow: hidden;
}

.image-item img, .image-item video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.img-right{
  margin-left: auto;
  margin-right: 18%;
  align-self: flex-end;
}

.img-left{
  margin: 0 30% 0 auto;
}

.first-pht{
  max-width: 700px !important;
}

.mirror-v{
  max-width: 1400px !important;
}

.fox-fur{
  max-width: 1000px !important;
  min-width: 80% !important;
}

.size-change{
  max-width: 950px !important;
}

.image-item:nth-of-type(3n + 1) {
  max-width: 1000px;
  max-height: 100vh;
}

.image-item:nth-of-type(3n + 2) {
  max-width: 1200px;
  max-height: 100vh;
}

.image-item:nth-of-type(3n + 3) {
  max-width: 1000px;
  max-height: 100vh;
}

.image-item:nth-of-type(3n + 4) {
  max-width: 900px;
  max-height: 100vh;
}



.image-item {
  opacity: 0;
  transition: opacity 0.6s ease-out;
  will-change: opacity;
}

.image-item.active {
  opacity: 1;
}

.img-wrapper {
  width: 100%;
  overflow: hidden;
}

.zoom-out .img-wrapper img {
  transform: scale(1.3);
  opacity: 0;
  transition: transform 1.4s ease-out, opacity 0.6s ease-out;
  will-change: transform, opacity;
}

.zoom-out.active .img-wrapper img {
  transform: scale(1);
  opacity: 1;
}

.fadein {
  opacity: 0;
  transition: opacity 0.6s ease-out;
  will-change: opacity;
}

.fadein.active {
  opacity: 1;
}

.split-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
}

.split-wrapper img {
  width: 100%;
  display: block;
}

/* マスク */
.split-img {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: #f4f1ec;
  z-index: 2;
  transition: transform 1.2s ease-out;
}

/*マスクで覆われてる*/
.split-img.left {
  left: 0;
  transform: translateX(0);
}
.split-img.right {
  right: 0;
  transform: translateX(0);
}

/* アクティブで左右にマスクスライド*/
.split-effect.active .split-img.left {
  transform: translateX(-100%);
}
.split-effect.active .split-img.right {
  transform: translateX(100%);
}

/*ぼやぼや*/
.blur-in {
  opacity: 0;
  filter: blur(15px);
  transition: opacity 1.2s ease, filter 1.4s ease;
  will-change: opacity, filter;
}

/*アクティブで鮮明に*/
.blur-in.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}


.product-link img {
  width: 100%;
  display: block;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.5s ease;
}

.product-link p{
  margin-top: 15px;
}

.product-link:hover {
  opacity: 0.7 !important;
}

.image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
}

.image-box {
  display: block;
  flex: 1 1 45%;
  max-width: 600px;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.image-large {
  flex: 1 1 55%;
  max-width: 720px;
}


.gr{
  max-width: 500px;
  padding-bottom: 350px;
}

.gr2{
  max-width: 600px;
}

.row-right{
  align-items: flex-end;
  padding-left: 150px;
  gap: 0;
}


.overlap {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  width: 95vw;
  max-width: 1800px;
  margin: 0 auto;
}

.column-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 55%;
  position: relative;
  z-index: 2;
}

.column-link img {
  width: 100%;
  height: auto;
  display: block;
}

.column-link .caption {
  margin: 8px 0 0;
  font-size: 14px;
  color: #525252;
  line-height: 1.6;
}

.overlap > .product-link {
  width: 48%;
  position: absolute;
  top: 50%;
  left: 51%;
  transform: translateY(-53%);
  z-index: 3;
}

.overlap > .product-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.4s ease;
}

.overlap > .product-link:hover img {
  filter: blur(2px) brightness(1.2) grayscale(50%) !important;
}

.overlap > .product-link:hover {
  opacity: inherit !important;
}



.image-movie {
  width: 100vw;
  max-width: 100%;
  margin: 60px 0;
  overflow: hidden;
}

.image-movie video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.typing-container {
  text-align: center;
  color: #525252;
}

.typing {
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}

/* === 1行目 === */
.typing.first {
  border-right: 2px solid #525252;
}

.typing.first.animate1 {
  animation:
    typing1 3s steps(20, end) forwards;
}

/* === 2行目 === */
.typing.second {
  margin-top: 0.5rem;
  border-right: none; /* 最初はカーソル非表示 */
}

.typing.second.animate2 {
  border-right: 2px solid #525252;
  animation:
    typing2 2.5s steps(18, end) forwards,
    blink 0.75s step-end infinite;
}

/* === キーフレーム === */
@keyframes typing1 {
  from { width: 0 }
  to { width: 20ch }
}

@keyframes typing2 {
  from { width: 0 }
  to { width: 18ch }
}

@keyframes blink {
  0%, 100% { border-color: transparent }
  50% { border-color: #525252 }
}


/*フッター*/
.footer-separator {
  border: none;
  border-top: 1px solid #ddd;
  margin: 60px auto 40px;
  width: 90%;
  max-width: 1200px;
}

.tokushu-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-icons a {
  font-size: 25px;
  color: #000;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #888;
}

.footer-right {
  text-align: right;
}

.footer-right a:hover{
  transition: opacity 0.3s;
}

.footer-right a:hover{
  opacity: 0.7;
}

.logo{
  width: 150px;
}

/*768以下端末用*/
@media (max-width: 768px) {
  .gallery{
    padding-top: 0;
  }
    
  .hero-image {
    height: 40vh;
    margin: 0 0 10%;
    background-size: cover;
    background-position: center;
    background-attachment: scroll !important;
  }
  
  .hero-text {
    top: 50%;
  }
  
  .hero-title {
    margin-bottom: 5px;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  
  .image-grid {
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .image-row{
    flex-direction: column;
  }
  
  .w-peplum .image-box.image-large {
    width: 90%;
    max-width: none;
  }

  .w-peplum .image-box:not(.image-large) {
    width: 70%;
    max-width: none;
  }
  
  .image-box,
  .image-large {
    flex: none;
    max-width: none;
  }  
  
  .gr{
    width: 90%;
    padding-bottom: 0;
    align-self: flex-start;
  }
  
  .gr img{
    height: 75vh;
    object-fit: cover;
  }
  

  .gr2 {
    width: 80%;
    align-self: flex-end; 
  }
  
  .gr2 img{
    height: 70vh;
    object-fit: cover;
  }
  
  .row-right{
    padding-left: 20px;
  }
  
  .overlap {
    flex-direction: column;
  }
  
  .column-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    position: relative;
    z-index: 2;
  }
 
  .column-link > .product-link{
    width: 100%;
  }
  
  .column-link > .product-link img{
    width: 100%;
    height: 70vh;
    object-fit: cover;
  }
  
  .column-link .caption {
    margin: 5px 0 0;
  }

  
  .overlap > .product-link {
    width: 90%;
    position: static;
    transform: none;
    margin-top: 20px;
    margin-right: auto;
  }
  
  .overlap > .product-link img {
    height: 40vh;
    object-position: 60%;
    object-fit: cover;
  }  

  .p-top{
    padding-top: 60px;
  }
  
  .second-video video, .third-video video, .last-video video{ 
    margin: 0 auto;
    aspect-ratio: 7/9;
    width: 90%;
  }
  
  .movie-small {
    display: flex;
    justify-content: center;
  }

  .movie-small video{
    max-width: 85%;
  }
  
  .typing-container {
    margin-top: 40px;
  }
  
  .typing {
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .typing.first.animate1 {
    animation:
      typing1 3s steps(21, end) forwards;
  }

  /* === 2行目 === */
  .typing.second {
    margin-top: 0.5rem;
  }

  .typing.second.animate2 {
    border-right: 2px solid #525252;
    animation:
      typing2 2.5s steps(19, end) forwards,
      blink 0.75s step-end infinite;
  }
  
  .image-item:nth-of-type(3n + 1)  img{
    height: 50vh;
  }

  .image-item:nth-of-type(3n + 2)  img{
    height: 40vh;
  }

  .image-item:nth-of-type(3n + 3)  img{
    height: 45vh;
  }

  .image-item:nth-of-type(3n + 4)  img{
    height: 48vh;
  }
  
  .eco-fur {
    object-position: 40% !important;    
  }
  
  .fox-fur img{
    object-position: 40%;
  }
  
  .last-pht {
    height: 45vh !important;
    object-position: 38% !important;
  }

  /* === キーフレーム === */
  @keyframes typing1 {
    from { width: 0 }
    to { width: 21ch }
  }

  @keyframes typing2 {
    from { width: 0 }
    to { width: 19ch }
  }
  
  .footer-separator {
    margin: 40px auto 0;
  }

  .tokushu-footer {
    display: block;
    padding-top: 20px;
    padding-bottom: 40px;
  }
  
  .social-icons {
    display: none;
  }

  .footer-right {
    text-align: center;
    margin-top: 20px;
  }
  
  /*ぼやぼやをなくしてフェードインに*/
  .blur-in {
    filter: none !important;
    transform: translateY(20px);
  }

  .blur-in.active {
    filter: none !important;
    transform: translateY(0);
  }
}
