@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=STIX+Two+Text:wght@400;500&display=swap');

/* 写真：assets/img/main.JPG（メイン）, look_1.JPG〜look_16.JPG（上から順番）
   テキスト：title.svg（固定タイトル）, logo.svg（ロゴ）, closing.svg（最後のテキスト） */
body{margin: 0 !important;}

#by{
	--max: 750px;           /* LP幅 */
	width: 100%;
	margin: 0 auto;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
#by *,
#by *::before,
#by *::after{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
#by img{
	display: block;
	width: 100%;
	height: auto;
}
#by a{
	text-decoration: none;
	color: inherit;
}
#by .lb{
	position: relative;
	z-index: 1;
	max-width: var(--max);
	margin: 0 auto;
	overflow-x: clip;
}


/*  余白（幅に対する%。全体構図から計測）
**************************************************/
#by .gap-s  {margin-top: 10%}
#by .gap-m  {margin-top: 12%}
#by .gap-l  {margin-top: 18%}
#by .gap-xl {margin-top: 23%}
#by .gap-xxl{margin-top: 34%}


/*  配置
**************************************************/
#by .full   {width: 100%}
#by .center {width: 69%; margin-left: auto; margin-right: auto}
#by .left   {width: 69%; margin-right: auto}
#by .right  {width: 69%; margin-left: auto}
#by .right-s{width: 67%; margin-left: auto}
#by .offset {width: 60.5%; margin-left: 22.5%}                    /* 08：やや右寄せ */
#by .w80    {width: 80%; margin-left: auto; margin-right: auto}   /* 11・15：背景が見えるよう80%で中央 */

/* 2枚並び */
#by .pair{display: flex}
#by .pair > figure{flex: 1; min-width: 0}
#by .pair--tight{width: 98%; margin-left: auto; margin-right: auto; gap: 1%}
#by .pair--wide {width: 92%; margin-left: auto; margin-right: auto; gap: 8%}


/*  固定タイトル
    スクロールしても画面上部に固定。
    メイン写真の上では白→写真を過ぎると黒→4枚目が来たら消える
**************************************************/
/*  iOSのSafariでスクロール中に震えないよう、sticky ではなく fixed で固定し、
    白→黒は filter のアニメーションではなく、黒いタイトルを重ねて透明度で切り替える */
#by .fixed-title{
	position: fixed;
	top: 0;
	left: 50%;
	z-index: 10;
	width: 100%;
	max-width: var(--max);
	transform: translate3d(-50%, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	pointer-events: none;
	transition: opacity .6s ease;
}
#by .fixed-title__inner{
	position: relative;
	width: 89.9%;
	margin: 10.1% auto 0;
}
#by .fixed-title__inner img{transition: opacity .4s ease}
#by .fixed-title__inner .fixed-title__dark{
	position: absolute;
	top: 0;
	left: 0;
	filter: brightness(0);
	opacity: 0;
}
#by .fixed-title.is-dark .fixed-title__light{opacity: 0}
#by .fixed-title.is-dark .fixed-title__dark{opacity: 1}
#by .fixed-title.is-hidden{opacity: 0}


/*  01 HERO：ロゴは写真の下部に重ねる
**************************************************/
#by .hero{position: relative}
#by .hero .hero__logo{
	position: absolute;
	top: 93.6%;
	left: 0;
	right: 0;
	width: 28.6%;
	margin: 0 auto;
}


/*  スクロールで浮かび上がる（3秒・繰り返し）
    画面に入ったら下から少し浮きながら3秒かけてフェードイン。
    画面の外に出ると元に戻り、もう一度スクロールすると再び浮かび上がります。
    2枚並びの右側は data-delay で0.7秒遅れて表示。
**************************************************/
#by.js .reveal{
	opacity: 0;
	transform: translateY(24px);
	transition: opacity var(--dur, 3s) ease, transform var(--dur, 3s) cubic-bezier(.2, .7, .2, 1);
}
#by.js .reveal.is-in{opacity: 1; transform: none}
@media (prefers-reduced-motion: reduce){
	#by.js .reveal{opacity: 1; transform: none; transition: none}
}


/*  モーダルを開く写真（右上に＋）
**************************************************/
#by .btn{
	display: block;
	cursor: pointer;
}
#by .item{
	position: relative;
	line-height: 0;
}
#by .item .more{
	position: absolute;
	top: 3%;
	right: 3%;
	width: 36px;
}
@media only screen and (min-width: 769px){
	#by .item .more{width: 40px}
}


/*  アイテムクレジット（写真の下）
    書式：ITEM ¥00,000 を <span> で1つずつ。黒・STIX Two Text
**************************************************/
#by .credit{
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	column-gap: 1.1em;
	row-gap: 2px;
	font-family: "STIX Two Text", "Times New Roman", serif;
	font-size: clamp(10px, 1.75vw, 13px);
	line-height: 1.5;
	letter-spacing: .04em;
	color: #000;
	transition: color .6s ease;
}
#by .credit span{white-space: nowrap}
#by .credit--right{justify-content: flex-end}         /* 右寄せの写真は右揃え */
#by .credit--pad{padding-left: 4%; padding-right: 4%} /* 全幅の写真は端から少し内側に */
#by .left .credit{padding-left: 5%}                   /* 画面端に寄せた写真は少し内側に */
#by .right .credit,
#by .right-s .credit{padding-right: 5%}
#by.on-dark .credit{color: #fff}                      /* 暗い背景のあいだはクレジットを白に */


/*  背景（04・06・15の写真）
    04・06・15の写真が、手前の写真あたりで現れ、その写真で最も濃く、次の写真が来る前にフェードで消える。
    スクロール量に合わせて変化し、1秒の余韻を付けています。
    --bg-max：背景の最大の濃さ（1＝写真そのまま）
**************************************************/
#by .bg-layer{
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 1s ease;
	--bg-max: 1;
}
#by .bg-layer img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#by .bg-layer::after{  /* クレジットが読みやすいよう、うっすら白を重ねる */
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, .18);
}
#by .bg-layer--dark::after{background: rgba(0, 0, 0, .15)}  /* 暗い背景はうっすら黒 */


/*  最後のテキスト「Not long now. - Winter look vol.2」
**************************************************/
#by .closing{width: 50.4%; margin: 22% auto 0}

#by .end{height: 12vh}


/*  フッター（261111_minilook_ori と同じ内容。背景は黒）
**************************************************/
#by #footer{
	position: relative;
	z-index: 1;
	padding: 28% 0 1%;
	background: #000;
	color: #fff;
	font-family: helvetica-lt-pro, sans-serif;
	font-weight: 400;
	line-height: 2;
	letter-spacing: 1px;
}
#by #footer .logo{
	width: 60%;
	margin: 0 auto;
}
#by #footer .links{
	display: flex;
	justify-content: space-between;
	width: 52%;
	margin: 2% auto 17%;
	font-size: 10px;
}
#by #footer .links a{color: #fff}
#by #footer .copy{
	font-size: 8px;
	text-align: center;
}
@media only screen and (min-width: 769px){
	#by #footer{padding: 200px 0 10px}
	#by #footer .logo{
		width: 36%;
		max-width: 292px;
	}
	#by #footer .links{
		width: 30%;
		max-width: 200px;
		margin: 20px auto 140px;
		font-size: 11px;
	}
}


/*  PC（769px以上）：左＝写真を固定／右＝スマホ版02〜17と同じ流れ
    左はメイン写真 → 08を通り過ぎると08の写真に入れ替わる
    --pc-shade：左の写真に重ねる暗さ（ロゴを読みやすくする）
**************************************************/
#by .pc-side{display: none}

@media only screen and (min-width: 769px){
	#by .split{
		display: flex;
		align-items: flex-start;
	}
	#by .pc-side{
		--pc-shade: .22;
		display: block;
		position: sticky;
		top: 0;
		flex: 0 0 50%;
		width: 50%;
		height: 100vh;
		overflow: hidden;
		background: #5f5852;
	}
	#by .pc-side__img{
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 30%;
	}
	#by .pc-side__img--b{
		object-position: center center;
		opacity: 0;
		transform: scale(1.03);
		transition: opacity 3s ease, transform 3s cubic-bezier(.2, .7, .2, 1);
	}
	#by .pc-side__img--b.is-on{opacity: 1; transform: none}
	#by .pc-side__shade{
		position: absolute;
		inset: 0;
		background: rgba(20, 18, 16, var(--pc-shade));
	}
	#by .pc-side__logo{
		position: absolute;
		top: 50%;
		left: 50%;
		width: calc(93.6% - 48px);
		max-width: 624px;
		transform: translate(-50%, -50%);
	}
	#by .pc-side__brand{width: 39.4%; margin: 19.7% auto 0}

	#by .lb{
		flex: 0 0 50%;
		width: 50%;
		max-width: none;
	}
	#by .fixed-title,
	#by .hero,
	#by .bg-layer{display: none}
	#by .first{margin-top: 96px}
	#by .credit{font-size: 12px}
	#by .end{height: 120px}
}
@media (prefers-reduced-motion: reduce){
	#by .pc-side__img--b{transition: none}
}


/*  モーダル（クレジット＋BUY）
    ※モーダルは開くと #by の外へ移動するため、.by-modal で指定
**************************************************/
.remodal.by-modal{
	color: #000;
	font-family: "STIX Two Text", "Times New Roman", serif;
	letter-spacing: .04em;
}
.remodal.by-modal a{color: #000}
.by-modal .modal-close{
	position: absolute;
	top: 8px;
	right: 5%;
	z-index: 999;
	width: 40px;
	height: 40px;
	cursor: pointer;
}
.by-modal .modal-close img{
	display: block;
	width: 100%;
	filter: brightness(0);
}
.by-modal .modal-container{
	width: 84%;
	margin: 56px auto 8%;
}
.by-modal .modal-look img{
	display: block;
	width: 100%;
	height: auto;
}
.by-modal .modal-credit{margin: 8% auto 0}
.by-modal .modal-credit-text{
	width: 92%;
	margin: 0 auto;
}
.by-modal .modal-credit-child{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 4%;
	font-size: 12px;
	line-height: 1.5;
	text-align: left;
}
.by-modal .modal-credit-child a{
	display: block;
	flex-shrink: 0;
	width: 24%;
	border: solid 1px #000;
	font-size: 11px;
	line-height: 2;
	text-align: center;
}

@media only screen and (min-width: 769px){
	.remodal-wrapper{overflow: hidden}
	.by-modal .modal-container{margin: 8% auto}
	.by-modal .modal-content-inner{
		width: 84%;
		max-width: 960px;
		margin: 0 auto;
	}
	.by-modal .modal-content-inner-box{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.by-modal .modal-look{width: 50%}
	.by-modal .modal-credit{
		width: 38%;
		margin: 0;
	}
	.by-modal .modal-close{
		top: 6%;
		right: 6%;
		width: 80px;
		height: 80px;
	}
}
