@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');

html,
body {
	padding: 0;
	margin: 0;
}
#by {
	padding: 0;
	margin: 0;
	letter-spacing: 1px;
	line-height: 2;
	width: 100%;
	/* margin-bottom: 50px; */
	font-family: "Noto Sans JP", sans-serif;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
	overflow: hidden;
}
#by ul,#by li {
	list-style: none;
	padding: 0;
	margin: 0;
}
#by a {
	color: #000000;
	text-decoration: none;
}
#by img {
	width: 100%;
	line-height: 0;
	vertical-align: bottom;
	border: none;
}

#by .en {
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 600;
}

#by p{
	margin: 5px auto;
	padding: 0;
	
}
.hanken-grotesk-<uniquifier> {
  font-family: "Hanken Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}
#by video{
	width: 100%;

}

#by .spview {
        display: block;
    }    
#by .pcview {
        display: none;
    }    

@media only screen and (min-width: 769px) {
#by .spview {
        display: none;
    }    
#by .pcview {
        display: block;
    }	
}



/*:::::::::::by_head:::::::::::*/

#by #by_head,
#by #by_contents{
	width: 100%;
	position: relative;
	margin: 3% auto;
}
#by_head{
	display: block;
}

#by_head .title{
	width: 100%;
	margin: 40px auto;
}
#by_head h4{
	width: 92%;
	margin: 0 auto;
}
#by_head p{
	font-size: 11px;
	text-align: center;
	margin: 30px auto;
}
#by_head .video{
	width: 90%;
	margin: 0 auto 40px;
}

@media only screen and (min-width: 769px) {
#by_head{
	display: flex;
	max-width: 1100px;
	align-items: center;
	justify-content: center;
	flex-direction: row-reverse;
	margin: 0 auto;
}

#by_head .video{
	width: 40%;
}
#by_head .title{
	width: 50%;
}
#by_head p{
	font-size: 13px;
	text-align: center;
	margin: 40px auto;
	line-height: 2.5;
}
}


#by_contents .inner{
	
}
#by_contents .inner h5{
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	margin: 0;
}
#by_contents .inner h5 img{
	width: 84%;
	text-align: center;
	display: block;
	margin: 40px auto;
}
#by_contents .inner .styling {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

#by_contents .inner .item {
  position: relative;
  line-height: 0;
}

#by_contents .inner .item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 1枚目（上段）：下に1pxの線を引く */
#by_contents .inner .item:nth-child(1) {
  grid-column: 1 / span 2;
}
#by_contents .inner .item:nth-child(1)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: black;
  z-index: 99;
}

/* 2枚目（下段左）：右に1pxの線を引く */
#by_contents .inner .item:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: black;
  z-index: 999;
}
/*#by_contents .inner .item a{
	position: relative;
}
#by_contents .inner .item a::before{
	position: absolute;
	content: "+ STYLING ITEMS";
	font-size: 11px;
	bottom: 20px;
	right: 10px;
	color: #000;
	z-index: 999;
}
*/

/* 1. 1枚目の画像コンテナを基準にする設定を強化 */
#by_contents .inner .item:nth-child(1) a {
    display: block;      /* Safari対策：インラインからブロックへ明示的に変更 */
    position: relative;   /* ラベルの基準位置 */
    z-index: 1;          /* 重なり順を確立 */
    overflow: hidden;    /* はみ出し防止（任意） */
}

/* 2. ラベルのスタイル（1枚目のみに限定） */
#by_contents .inner .item:nth-child(1) a::before {
    content: "+ STYLING ITEMS";
    position: absolute;
    bottom: 20px;
    right: 10px;
    font-size: 11px;
    color: #000;
    z-index: 10;
    pointer-events: none; /* ラベルがリンクのクリックを邪魔しないようにする */
    white-space: nowrap;  /* 改行防止 */
}

/* PC版の調整（フォントサイズなど） */
@media only screen and (min-width: 769px) {
    #by_contents .inner .item:nth-child(1) a::before {
        font-size: 14px;
        bottom: 25px;
        right: 15px;
    }
}



#by_contents .inner .credit{
	width: 100%;
	margin: 0% auto;
}
#by_contents .inner .credit .box{
	width: 100%;
	border-top: 1px solid #000;
	position: relative;
}
#by_contents .inner .credit .box .point{
	width: 15%;
	margin: 5%;
}
#by_contents .inner .credit .box .name{
	width: 80%;
	font-size: 13px;
	text-align: center;
	position: absolute;
	top: 16%;
	left: 12%;
}
#by_contents .inner .credit .box .name span{
	font-size: 9px;
}
#by_contents .inner .credit .box .buy{
	width: 100%;
	margin: 0;
}
#by_contents .inner .credit .box .buy a{
	width: 100%;
	display: block;
	background: #000;
	color: #fff;
	text-align: center;
	padding: 6px 0;
}

#by_contents .inner .more{
	width: 100%;
	position: relative;
	margin: 0;
	background-color: #f4f4f4;
	padding-top: 5%;
	padding-bottom: 27%;
}
#by_contents .inner .more .point{
	width: 25%;
	margin: 0;
	padding: 0% 4%;
}
#by_contents .inner .more .shoes{
	width: 25%;
	position: absolute;
	top: 18%;
	left: 12%;
}
#by_contents .inner .more .name{
	width: 80%;
	font-size: 12px;
	text-align: center;
	position: absolute;
	top: 29%;
	left: 22%;
}
#by_contents .inner .more .name span{
	font-size: 9px;
}
#by_contents .inner .more .buy{
	width: 100%;
	margin: 0;
	position: absolute;
	bottom: 0;
	left: 0;
}
#by_contents .inner .more .buy a{
	width: 100%;
	display: block;
	background: #000;
	color: #fff;
	text-align: center;
	padding: 6px 0;
}

@media only screen and (min-width: 769px) {
	
#by_contents .inner{
	
}

#by_contents .inner h5 img{
	width: 27%;
	margin: 50px auto;
}
#by_contents .inner .styling {
    grid-template-columns: repeat(3, 1fr);
  }

#by_contents .inner .item:nth-child(1) {
    grid-column: auto;
  }

#by_contents .inner .item::after {
    display: none;
  }

#by_contents .inner .item:nth-child(1)::after,
#by_contents .inner .item:nth-child(2)::after{
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: black;
	z-index: 999;
  }
  #by_contents .inner .item:nth-child(2)::before{
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: black;
	  z-index: 999;
  }
#by_contents .inner .item:nth-child(1)::after {
    bottom: auto; 
  }
	
	
#by_contents .inner .item a::before{
	font-size: 14px;
	bottom: 25px;
	right: 15px;
}
#by_contents .inner .credit{
	width: 100%;
	margin: 0% auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
#by_contents .inner .credit .box{
	width: 100%;
	border-top: 1px solid #000;
	position: relative;
	border-right: 1px solid #000;
}
#by_contents .inner .credit .box .point{
	width: 6%;
	margin: 2% 26%;
}
#by_contents .inner .credit .box .name{
	width: 80%;
	font-size: 14px;
	text-align: left;
	position: absolute;
	top: 30%;
	left: 35%;
	transform: translate(0,-50%);
}
#by_contents .inner .credit .box .name span{
	font-size: 10px;
	position: absolute;
	top: 50%;
	left: auto;
	transform: translate(7px, -50%);
}
#by_contents .inner .credit .box .buy{
	width: 100%;
	margin: 0 auto;
}
#by_contents .inner .credit .box .buy a{
	width: 99.9%;
	display: block;
	background: #000;
	color: #fff;
	text-align: center;
	padding: 6px 0;
	margin: 0 auto;
}

#by_contents .inner .more{
	width: 100%;
	position: relative;
	margin: 0;
	background-color: #f4f4f4;
	padding-top: 2%;
	padding-bottom: 6%;
}
#by_contents .inner .more .point{
	width: 5%;
	margin: 0 30%;
	padding: 0% 0;
	position: relative;
}
#by_contents .inner .more .shoes{
	width: 7%;
	position: absolute;
	top: 13%;
	left: 34%;
}
#by_contents .inner .more .name{
	width: 90%;
	font-size: 14px;
	text-align: center;
	position: absolute;
	top: 34%;
	left: 9%;
}
#by_contents .inner .more .name span{
	font-size: 9px;
}
	
}


/* ============================================
   幕アニメーション（ゆったり・滑らか版）
   SP: 1枚目全幅＋下2枚 / PC: 3枚横並び
   どちらも左から順番に幕が走る
   ============================================ */

#by_contents .inner .item {
  position: relative;
  overflow: hidden;
}

/* 画像：初期状態は非表示（スケールなし） */
#by_contents .inner .item img {
  opacity: 0;
  transition: opacity 0.01s linear;
}

/* 幕：疑似要素ではなく .curtain クラスの span で管理（::before/afterを境界線用に解放） */
#by_contents .inner .item .curtain {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
  transform: translateX(-101%);
  z-index: 5;
  pointer-events: none;
}

/* is-visible がついたら画像を表示 */
#by_contents .inner .item.is-visible img {
  opacity: 1;
}

/* 幕アニメーション */
@keyframes revealCurtain {
  0%   { transform: translateX(-101%); }
  45%  { transform: translateX(0%); }
  100% { transform: translateX(101%); }
}

/* is-visible で幕を走らせる */
#by_contents .inner .item.is-visible .curtain {
  animation: revealCurtain 1.4s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/* data-delay 属性でディレイを制御（JSから付与） */
#by_contents .inner .item[data-delay="0"].is-visible .curtain {
  animation-duration: 1.6s;
  animation-delay: 0s;
}
#by_contents .inner .item[data-delay="0"].is-visible img {
  transition: opacity 0.6s ease 0.72s;
}

#by_contents .inner .item[data-delay="1"].is-visible .curtain {
  animation-duration: 1.4s;
  animation-delay: 0.2s;
}
#by_contents .inner .item[data-delay="1"].is-visible img {
  transition: opacity 0.6s ease 0.83s;
}

#by_contents .inner .item[data-delay="2"].is-visible .curtain {
  animation-duration: 1.4s;
  animation-delay: 0.4s;
}
#by_contents .inner .item[data-delay="2"].is-visible img {
  transition: opacity 0.6s ease 1.03s;
}


/* ============================================
   by_head h4・videoの幕アニメーション
   ============================================ */

#by_head h4,
#by_head .video {
  position: relative;
  overflow: hidden;
}

/* 画像・動画：初期状態は非表示（スケールなし） */
#by_head h4 img,
#by_head .video video {
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* 幕 */
#by_head h4 .curtain,
#by_head .video .curtain {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
  transform: translateX(-101%);
  z-index: 5;
  pointer-events: none;
}

/* is-visible がついたら表示 */
#by_head h4.is-visible img{
  opacity: 1;
  transition: opacity 1.4s ease 0.72s;
}
#by_head .video.is-visible video {
  opacity: 1;
  transition: opacity 1.4s ease 0.72s;
}


#by_head h4.is-visible .curtain,
#by_head .video.is-visible .curtain {
  animation: revealCurtain 1.6s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
#by_head h4.is-visible .curtain {
  animation: revealCurtain 1.6s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

