/* ==========================================================================

UNGLASS

========================================================================== */

#unglass {
	background-color: #000;
	color: #fff;
	font-family: "Inter", sans-serif;
	line-height: 1.4;
	overflow-x: hidden;
}

#unglass button {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

#unglass main img {
	display: block;
	width: auto;
	max-width: 100%;
}

#unglass main a {
	text-decoration: none;
	color: inherit;
}

#unglass .cross_logo {
	width: 96px;
	height: auto;
}

/* ==========================================================================
	 共通パーツ調整
	 ========================================================================== */

	/* ヘッダー */
/* 他ページへの遷移を極力なくすため、右ナビのLogin／Cartはこのページでは非表示にする
   （言語切替は .nav_link ではないため残る） */
#unglass .header_nav.right_nav .nav_link {
	display: none;
}

#unglass .c_header_logo img.is_white {
	display: none;
}

/* フッター */
/* #unglass .site_footer{
	background-color: #000;
} */
/* ==========================================================================
	 共通セクション見出し（PRODUCTS / LENS / JAPAN MADE / FRAME / SPEC）
	 ========================================================================== */
#unglass .products_head,
#unglass .lens_head,
#unglass .japan_made_head,
#unglass .frame_head,
#unglass .spec_head {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	padding: 18px 17px;
	font-weight: 700;
	font-size: 45px;
	line-height: 1.13;
}

#unglass .frame_head {
	padding: 21px 17px 17px;
}

#unglass .lens_head {
	padding: 23px 17px 19px 23px;
}

#unglass .japan_made_head {
	padding: 25px 17px 16px;
}

#unglass .spec_head {
	padding: 17px 17px 15px;
}

/* ==========================================================================
	 ヒーロー
	 ========================================================================== */
#unglass .hero {
	position: relative;
	background-color: #000;
}

/* display:flow-root で新しいBFCを作り、hero_imageのmargin-bottomが
   h1の外（heroの高さ計算の外）へ抜けてしまう（マージン相殺）のを防ぐ */
#unglass .hero_title {
	display: flow-root;
}

#unglass .hero_media {
	display: block;
	position: relative;
}

#unglass .hero_poster {
	display: block;
}

#unglass .hero_image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1440 / 689;
	object-fit: cover;
	background-color: #000;
	pointer-events: none;
}

/* 動画は静止画の上に重ね、実際に再生が始まってから表示する。
   再生前に動画レイヤーを見せると、iOSではデコード前の空フレームが描画され、
   静止画もposterも出ない状態になるため（life/index のMVと同じ方式）。 */
#unglass .hero_video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

#unglass .hero_media.is_video_playing .hero_video {
	opacity: 1;
}

/* 帯（黒帯は固定し、中のロゴだけを横方向にゆっくりループさせる）
   hero_band_tile.png はロゴ1周期ぶん（1440pxデザイン換算で1211px）を切り出した
   継ぎ目のないタイル。これを3枚横並びにしたトラックをタイル1枚ぶん
   （= トラック幅の1/3）translateX することで、途切れずにループする。
   タイル画像には上下の白ラインを含めず、下の ::before / ::after で引いている。 */
#unglass .hero_band {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 1440 / 174;
	background-color: #000;
}

/* 帯の上下の白ライン（画像ではなくCSSで引く）。
   高さを borderで確保するとタイルの縦横比がずれるため、擬似要素で重ねる。 */
#unglass .hero_band::before,
#unglass .hero_band::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background-color: #fff;
	z-index: 1;
}

#unglass .hero_band::before {
	top: 0;
}

#unglass .hero_band::after {
	bottom: 0;
}

#unglass .hero_band_track {
	display: flex;
	position: absolute;
	top: 0;
	/* デザイン上のロゴ開始位置（-40px / 1440px）に合わせる */
	left: -2.777778%;
	height: 100%;
	/* タイル3枚ぶん（1211px / 1440px × 3） */
	width: 252.291667%;
	animation: unglass_band_scroll 40s linear infinite;
	will-change: transform;
}

#unglass .hero_band_unit {
	display: block;
	flex: 0 0 auto;
	width: 33.333333%;
	height: 100%;
}

@keyframes unglass_band_scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-33.333333%);
	}
}

/* ==========================================================================
	 キャッチ（NOT JUST FOR SUNLIGHT）
	 ========================================================================== */
#unglass .catch {
	padding: 158px 24px 170px;
	text-align: center;
}

#unglass .catch_title {
	font-weight: 700;
	font-size: 70px;
	line-height: 1.114;
}

#unglass .catch_subtitle {
	font-weight: 500;
	font-size: 30px;
	letter-spacing: 15px;
	margin-top: 20px;
	padding-left: 15px;
}

#unglass .catch_icons {
	display: grid;
	grid-template-columns: 133px 175px;
	grid-template-rows: 1fr 1em;
	justify-content: space-between;
	column-gap: 165px;
	row-gap: 30px;
	margin: 185px auto 0;
	max-width: 637px;
	font-size: 45px;
}

#unglass .catch_icon {
	grid-template-rows: subgrid;
	grid-row: span 2;
	display: grid;
	gap: 30px;
	align-items: center;
	text-align: center;
}

#unglass .catch_icon_image_wrap {
	position: relative;
	width: 133px;
}

#unglass .catch_icon_sun .catch_icon_image {
	width: 133px;
	height: 161px;
}

#unglass .catch_icon_artificial .catch_icon_image {margin-left: 6px;}

#unglass .catch_icon_label {
	height: 33px;
	width: auto;
	justify-self: center;
}

/* ==========================================================================
	 リード（Not Just for SUNLIGHT）
	 ========================================================================== */
#unglass .lead {
	display: flex;
	border-top: 1px solid #fff;
}

#unglass .lead_images {
	width: 50%;
	border-right: 1px solid #fff;
	flex-shrink: 0;
	margin: 7px 0 7px 17px;
}

#unglass .lead_image {
	position: relative;
	display: block;
	height: 524px;
	overflow: hidden;
}

#unglass .lead_image_photo,
#unglass .lens_shot img {
	transition: transform 0.5s ease;
}

#unglass .lead_image:hover .lead_image_photo,
#unglass .lens_shot:hover img {
	transform: scale(1.05);
}

#unglass .lead_image_photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#unglass .lead_image_1::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.2);
}

#unglass .lead_image_badge {
	position: absolute;
	left: 0;
	top: 0;
	width: 55px;
	height: auto;
	z-index: 1;
}

#unglass .lead_text_col {
	width: calc(50% - 17px);
	flex-shrink: 0;
	min-width: 0;
	position: relative;
	display: grid;
	align-items: center;
}

#unglass .lead_text {
	margin-left: clamp(24px, 4.1667vw, 60px);
	max-width: 626px;
	padding-right: clamp(24px, 4.1667vw, 60px);
	margin-top: 30px;
	color: #fff;
}

#unglass .lead_text_title {
	font-weight: 700;
	font-size: clamp(38px, 6.5972vw, 95px);
	line-height: 1.2;
	text-align: left;
}

#unglass .lead_text_jp {
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: 3.2px;
	text-align: justify;
	margin-top: 46px;
}

#unglass .lead_text_en {
	font-family: "PT Mono", monospace;
	font-size: 14px;
	line-height: 1.81;
	letter-spacing: -0.14px;
	text-align: justify;
	margin-top: 49px;
}

/* ==========================================================================
	 プロダクト
	 ========================================================================== */
#unglass .products_list {
	display: flex;
}

#unglass .product_card {
	position: relative;
	flex: 1 1 33.333%;
	aspect-ratio: 480 / 600;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color:#fff;
}

#unglass .product_card_bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.75;
	transition: transform 0.5s ease, opacity 0.5s ease;
}

#unglass .product_card:hover .product_card_bg {
	transform: scale(1.1);
	opacity: 1;
}

#unglass .product_card_logo {
	position: absolute;
	left: 14px;
	top: 19px;
	width: 40px;
	height: auto;
}

#unglass .product_card:nth-child(1) .product_card_logo {
	left: 17px;
}

#unglass .product_card_title {
	position: relative;
	font-weight: 900;
	font-size: min(3.5vw,43px);
	text-align: center;
	white-space: nowrap;
	margin-top: 10px;
    color: inherit;
}

#unglass .product_card_lead {
	position: relative;
	font-weight: 500;
	font-size: min(1.25vw, 16px);
	letter-spacing: 0.08em;
	text-align: center;
	white-space: nowrap;
	margin-top: 12px;
	color: inherit;
}

#unglass .product_card_icon {
	position: absolute;
	right: 10px;
	bottom: 15px;
	width: 59px;
	height: auto;
}

#unglass .product_card:nth-child(2) .product_card_icon {
	right: 13px;
}

#unglass .product_card_icon_concentrate {
	width: 66px;
}

/* ==========================================================================
	 レンズ
	 ========================================================================== */
#unglass .lens_intro {
	padding: 135px 24px 126px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#unglass .lens_mask {
	width: 100%;
	max-width: 1291px;
	aspect-ratio: 1292 / 432;
	overflow: hidden;
	transform: rotate(0.3deg);
}

#unglass .lens_mask img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#unglass .lens_text {
	max-width: 640px;
	width: 100%;
	margin-top: 89px;
}

#unglass .lens_text_title {
	font-weight: 700;
	font-size: 54px;
}

#unglass .lens_text_jp {
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: 3.2px;
	text-align: justify;
	margin-top: 28px;
}

#unglass .lens_text_en {
	font-family: "PT Mono", monospace;
	font-size: 14px;
	line-height: 1.7;
	text-align: justify;
	margin-top: 28px;
}

#unglass .lens_text .cross_logo {
	margin-top: 25px;
	margin-left: auto;
}

#unglass .lens_shots {
	border-top: 1px solid #fff;
}

#unglass .lens_shot {
	display: block;
	overflow: hidden;
}

#unglass .lens_shots img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* ==========================================================================
	 ジャパンメイド
	 ========================================================================== */
#unglass .japan_made_text {
	max-width: 688px;
	margin: 144px auto 0;
	padding: 0 24px;
}

#unglass .japan_made_text_title {
	font-weight: 700;
	font-size: 55px;
	line-height: 1;
}

#unglass .japan_made_text_jp {
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: 3.2px;
	text-align: justify;
	margin-top: 23px;
}

#unglass .japan_made_text_en {
	font-family: "PT Mono", monospace;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 1.4px;
	text-align: justify;
	margin-top: 29px;
}

#unglass .japan_made_text .cross_logo {
	margin-top: 40px;
	margin-left: auto;
}

#unglass .japan_made_big {
	margin-top: 112px;
}

#unglass .japan_made_big img {
	width: 100%;
	height: auto;
	aspect-ratio: 1856 / 774;
}

#unglass .japan_made_grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

#unglass .japan_made_grid_item {
	aspect-ratio: 3024 / 1500;
	overflow: hidden;
}

#unglass .japan_made_grid_item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ==========================================================================
	 フレーム
	 ========================================================================== */
#unglass .frame_body {
	position: relative;
	display: flex;
	margin-bottom: 2px;
}

#unglass .frame_gif {
	width: 49.444%;
	padding: 87px 151px 59px 0;
	display: grid;
	align-items: center;
	justify-content: right;
	border-right: 1px solid #fff;
}

#unglass .frame_gif img {
	width: 480px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
}

#unglass .frame_text {
	width: 50.556%;
	flex-shrink: 0;
	padding: 148px 0 108px;
}

#unglass .frame_text_inner {
	max-width: 690px;
	margin-left: 40px;
	padding-right: 48px;
}

#unglass .frame_text_title {
	font-weight: 700;
	font-size: 59px;
	line-height: 1;
}

#unglass .frame_text_jp {
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: 3.2px;
	text-align: justify;
	margin-top: 23px;
}

#unglass .frame_text_en {
	font-family: "PT Mono", monospace;
	font-size: 14px;
	line-height: 1.79;
	letter-spacing: 0.84px;
	text-align: justify;
	margin-top: 28px;
}

#unglass .frame_text .cross_logo {
	margin-top: 25px;
	margin-left: auto;
}

/* ==========================================================================
	 スペック
	 ========================================================================== */
#unglass .spec_table {
	display: grid;
    grid-template-columns: auto auto;
    column-gap: 55px;
    row-gap: 29px;
    font-size: 20px;
    letter-spacing: 4px;
    line-height: 1.2;
    margin: 138px 0 140px;
    justify-content: center;
    align-items: center;
}

#unglass .spec_table dt {
	text-align: right;
	font-weight: normal;
	margin: 0;
}

#unglass .spec_table dd {
	margin: 0;
}

/* ==========================================================================
	 スクロール表示アニメーション
	 main.js が付与する html.js_ready 配下でのみ有効。JS が読み込み・実行できない
	 場合はデフォルトのまま表示される（非表示になるのはこの演出が有効な場合のみ）。
	 ========================================================================== */
html.js_ready #unglass .reveal,
html.js_ready #unglass .reveal_group > * {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js_ready #unglass .reveal.is_visible,
html.js_ready #unglass .reveal_group.is_visible > * {
	opacity: 1;
	transform: translateY(0);
}

html.js_ready #unglass .reveal_group.is_visible > *:nth-child(1) { transition-delay: 0s; }
html.js_ready #unglass .reveal_group.is_visible > *:nth-child(2) { transition-delay: 0.12s; }
html.js_ready #unglass .reveal_group.is_visible > *:nth-child(3) { transition-delay: 0.24s; }
html.js_ready #unglass .reveal_group.is_visible > *:nth-child(4) { transition-delay: 0.36s; }
html.js_ready #unglass .reveal_group.is_visible > *:nth-child(5) { transition-delay: 0.48s; }
html.js_ready #unglass .reveal_group.is_visible > *:nth-child(6) { transition-delay: 0.6s; }
html.js_ready #unglass .reveal_group.is_visible > *:nth-child(7) { transition-delay: 0.72s; }
html.js_ready #unglass .reveal_group.is_visible > *:nth-child(8) { transition-delay: 0.84s; }

/* lens_mask は元の傾き（rotate）を保持したままスライド＆フェードインする */
html.js_ready #unglass .lens_mask.reveal {
	transform: rotate(0.3deg) translateY(40px);
}

html.js_ready #unglass .lens_mask.reveal.is_visible {
	transform: rotate(0.3deg) translateY(0);
}

/* 一文字ずつ表示するアニメーション（catch_title / catch_subtitle） */
html.js_ready #unglass .js_chars .word {
	display: inline-block;
}

html.js_ready #unglass .js_chars .char {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.4em);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js_ready #unglass .js_chars.is_visible .char {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	html.js_ready #unglass .reveal,
	html.js_ready #unglass .reveal_group > *,
	html.js_ready #unglass .js_chars .char {
		opacity: 1;
		transform: none;
		transition: none;
	}

	/* 上のrotate()+translateY()を設定するルールと同じ詳細度で、
		 後ろに記述することでカスケードの優先順位を上書きし、translateYだけを打ち消す。 */
	html.js_ready #unglass .lens_mask.reveal {
		transform: rotate(0.3deg);
	}

	#unglass .hero_band_track {
		animation: none;
	}
}

/* ==========================================================================
	 フッター
	 ========================================================================== */
#unglass .footer {
	background-color: #000;
	border-top: 1px solid #fff;
	padding: 179px 0;
}

#unglass .footer_image {
	display: block;
	width: min(30%,331px);
	margin: 0 auto;
	height: auto;
}

/* ==========================================================================
	 モバイル
	 ========================================================================== */
@media (max-width: 1024px) {

	/* 共通パーツ */
	#unglass .c_header_logo{
		display: none;
	}

	/* 固有共通パーツ */
	#unglass .products_head,
	#unglass .lens_head,
	#unglass .japan_made_head,
	#unglass .frame_head,
	#unglass .spec_head {
		padding: 16px;
		font-size: 32px;
	}

	/* ヒーロー */
	#unglass .hero_band {
		position: relative;
	}
	/* SP動画（sp_main_movie.mp4 / 800×600）とSPポスターに合わせて4:3にする。
	   PCの 1440/689 のままだと、4:3の映像が上下に大きく切られてしまう。 */
	#unglass .hero_image{
		margin-bottom: 0;
		aspect-ratio: 4 / 3;
	}

	/* キャッチ */
	#unglass .catch {
		padding: 72px 0 56px;
	}

	#unglass .catch_title {
		font-size: 34px;
	}

	#unglass .catch_subtitle {
		font-size: 16px;
		letter-spacing: 6px;
		padding-left: 6px;
	}

	#unglass .catch_icons {
		margin: 72px auto 0;
		font-size: 26px;
		grid-template-columns: 90px 102px;
		justify-content: space-evenly;
		column-gap: 0;
	}

	#unglass .catch_icon {
		gap: 18px;
	}

	#unglass .catch_icon_label {
		height: 19.59px;
	}

	#unglass .catch_icon_artificial .catch_icon_label {
		height: 18.5455px;
	}

	#unglass .catch_icon_image_wrap {
		width: 90px;
	}

	#unglass .catch_icon_sun .catch_icon_image {
		width: 90px;
		height: 109px;
	}

	#unglass .catch_icon_artificial .catch_icon_image {
		width: 78px;
		height: auto;
		margin-left: 4px;
	}

	/* リード：画像を縦に積み、その下にテキストを配置 */
	#unglass .lead {
		flex-direction: column;
	}

	#unglass .lead_images {
		width: 100%;
		max-width: none;
		border-right: none;
		border-bottom: 1px solid #fff;
		margin: 0;
	}

	#unglass .lead_image {
		height: 280px;
	}

	#unglass .lead_text_col {
		width: 100%;
	}

	#unglass .lead_text {
		position: static;
		max-height: none;
		overflow-y: visible;
		max-width: none;
		margin-left: 0;
		margin-top: 0;
		padding: 48px 20px;
	}

	#unglass .lead_text_title {
		font-size: 44px;
	}

	#unglass .lead_text_jp {
		font-size: 14px;
		letter-spacing: 1.6px;
		margin-top: 24px;
	}

	#unglass .lead_text_en {
		font-size: 12px;
		margin-top: 20px;
	}

	/* プロダクト：カードを縦に並べる */
	#unglass .products_list {
		flex-direction: column;
	}

	#unglass .product_card {
		aspect-ratio: 375 / 340;
	}

	#unglass .product_card_title {
		font-size: 30px;
	}

	#unglass .product_card_lead {
		font-size: 13px;
		margin-top: 8px;
	}

	#unglass .product_card_icon {
		width: 44px;
	}

	#unglass .product_card_icon_concentrate {
		width: 48px;
	}

	/* レンズ */
	#unglass .lens_intro {
		padding: 48px 20px 56px;
	}

	#unglass .lens_text {
		margin-top: 48px;
	}

	#unglass .lens_text_title {
		font-size: 32px;
	}

	#unglass .lens_text_jp {
		font-size: 14px;
		letter-spacing: 1.6px;
	}

	#unglass .lens_text_en {
		font-size: 12px;
	}

	/* ジャパンメイド */
	#unglass .japan_made_text {
		margin-top: 48px;
	}

	#unglass .japan_made_text_title {
		font-size: 32px;
	}

	#unglass .japan_made_text_jp {
		font-size: 14px;
		letter-spacing: 1.6px;
	}

	#unglass .japan_made_text_en {
		font-size: 12px;
		letter-spacing: 0.6px;
	}

	#unglass .japan_made_big {
		margin-top: 48px;
	}

	#unglass .japan_made_grid {
		grid-template-columns: 1fr;
	}

	#unglass .japan_made_grid_item {
		aspect-ratio: 4 / 3;
	}

	/* フレーム：GIFをテキストの上に配置 */
	#unglass .frame_body {
		flex-direction: column;
	}

	#unglass .frame_gif,
	#unglass .frame_text {
		width: 100%;
		height: auto;
	}

	#unglass .frame_gif {
		display: flex;
        justify-content: center;
		padding: 40px 20px 24px;
		border-right: none;
		border-bottom: 1px solid #fff;
	}

	#unglass .frame_text {
		padding: 0;
	}

	#unglass .frame_text_inner {
		max-width: none;
		margin-left: 0;
		padding: 24px 20px 48px;
	}

	#unglass .frame_text_title {
		font-size: 36px;
	}

	#unglass .frame_text_jp {
		font-size: 14px;
		letter-spacing: 1.6px;
	}

	#unglass .frame_text_en {
		font-size: 12px;
	}

	/* スペック */
	#unglass .spec_table {
		width: 100%;
		margin: 48px 0 48px;
		padding: 0 16px;
		font-size: 10px;
		letter-spacing: 2px;
		column-gap: 12px;
		row-gap: 20px;
	}
	#unglass .footer{
		padding:min(15%,179px)
	}
}
