@charset "utf-8";

/*fashon1今後これ中心にしたいビデオも可能slide2026-80psize-sweets-base
2026年fashon1やbiz62（先で難あり）２０００ｘ１６００ＰＣでもＳＰと同じ画像範囲がよい、
比率も変えられるが８０％で共通化していきたいslide2026-80psize-sweets-base  2026/1初回
現在予定とちがいSPで画像きれる。下が見えない。レースがPCで上*/
/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Homemade+Apple&family=Sawarabi+Mincho&display=swap');


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Gruppo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');

/*tp_fashion1/Google Fontsを使う場合のclass。Google Fonts本体は冒頭で読み込んでいます。
---------------------------------------------------------------------------*/
.font-Allura {	
    font-family: "Allura", cursive;	/*冒頭で読み込んでいるGoogle Fontsの指定*/
   	font-weight: 400;
	font-style: normal;
}
.font-gruppo {
	font-family: "Gruppo", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.font-monoton {
	font-family: "Monoton", sans-serif;
	font-weight: 400;
	font-style: normal;
}
/*ボタン（btnと、btn-border-radius）
---------------------------------------------------------------------------*/
/*ボタン共通*/
.btn-border-radius-on-slide a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: #6b6351 !important;	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: #ffffff !important;	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;
}

/*ボタン共通（マウスオン時に少し明るくする）*/
.btn-border-radius-on-slide a:hover {
	filter: brightness(1.2);
}

/*btn-border-radiusの上書き*/
.btn-border-radius-on-slide a {
	display: inline-block;
	padding: 0.5rem 2rem !important;	/*ボタン内の余白*/
	border-radius: 100px;	/*角丸の指定。適当に大きければOK。*/
}

/*スライドショー（cssでのbackground使用）biz62
ここでは、10:8の画像比率（8÷10=0.8）を読み込む指定を行なっています。
異なる画像比率にしたい場合、.mainimgのpadding-topの数字を変更します。2:1にするなら50%です。
---------------------------------------------------------------------------*/
/*スライドショー（cssでのbackground使用）
ここでは、2:1の画像比率（1÷2=0.5）を読み込む指定を行なっています。
異なる画像比率にしたい場合、.mainimgのpadding-topの数字を変更します。fixed,80%2000x1600に変更ずみ
---------------------------------------------------------------------------*/
/*3枚の画像を囲むブロック*/
#mainimg {z-index: -10;margin-top: 55px;
	width: 100%;height: 450px;			/*高さ３５０*/
	
	padding-top: 80%;/*relativeheight: 0;10:8の画像比率（8÷10=0.8）を読み込む指定画像2000x1600*/
	position: fixed;
	color: #fff;	background: url(https://creme-cremes.com/components/slide-images/sweets-top1.png) no-repeat center center/cover;	/*背景静止.jpg画像の読み込み*/

	text-shadow: 1px 1px 5px rgba(0,0,0,0.5);	/*テキストの影。右へ、下へ、ぼかし幅。0,0,0は黒のことで0.5は色が50%出た状態。*/
	margin-bottom: 50px;	/*スライドショーの下に空けるスペース。下のコンテンツとの間のスペースです。*/
}
	
	
#mainimg video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/*３セットのスライドショーを囲むそれぞれのブロック*/
#mainimg div div {
	width: 45vw;	/*幅。画面の45%。*/
	position: relative;z-index: 1;
}

/*３枚の画像の共通設定*/
.slide {
	width: 100%;height: 100%;
	position: absolute;right: 0px;top: 0px;
	display: flex;
	align-items: center;
	padding: 0 5vw;
	opacity: 0;
	transition: opacity 1s;	/*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。*/
}

/*１枚目画像*/
.slide1 {
	background: url('https://creme-cremes.com/components/images/logo-sweets.png') no-repeat center center / cover;	/*１枚目の背景画像の読み込み*/
	justify-content: center;	/*テキストブロックを中央に*/
	text-align: center;			/*テキストをセンタリング*/
}

/*２枚目画像*/
.slide2 {
	background: url('https://creme-cremes.com/components/slide-images/sweets-top1.png') no-repeat center center / cover;	/*２枚目の背景画像の読み込み*/
	justify-content: center;	/*テキストブロックを中央に*/
	text-align: center;			/*テキストをセンタリング*/
}

/*３枚目画像*/
.slide3 {
	background: url('https://creme-cremes.com/components/slide-images/sweets-top2.png') no-repeat center center / cover;	/*３枚目の背景画像の読み込み*/
	justify-content: flex-end;	/*テキストブロックを右寄せ*/
	text-align: right;			/*テキストを右寄せ*/
}

/*大きなテキスト*/
#mainimg h1 {	background: rgba(0,0,0,0.4);	/*背景色。255,255,255は白の事で、0.4は色が40%出た状態。*/

	margin: 0;padding: 0;
	font-size: 5vw;		/*文字サイズ。100vwは画面幅100%のことですが、使うフォントによっては5%にはなりません。*/
	line-height: 1.5;	/*行間を少し狭く*/
}

/*小さなテキスト*/
#mainimg p {
	font-size: 0.7rem;		/*文字サイズ*/
}

	/*画面幅600px以下の追加指定*/
	@media screen and (max-width:600px) {
	
	/*小さなテキストを非表示にする*/
	#mainimg p {display: none;}
	
	}/*追加指定ここまで*/


/*現在表示されているスライドのみをクリック可能にする設定（変更不要）
---------------------------------------------------------------------------*/
.slide {
	pointer-events: none; /* デフォルトでクリックを無効にする */
}

.slide.active {
	pointer-events: auto; /* 表示中のスライドのみクリックを有効にする */
}


/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){

    /*mainimg
    ---------------------------------------------------------------------------*/
    /*画像ブロック*/
    #mainimg {
        position: fixed;
        margin-top: 105px;margin-bottom: 50px;	/*スライドショーの下に空けるスペース。下のコンテンツとの間のスペースです。*/
    }
    
    }
    
