@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
		html,
		body {
			padding: 0;
			margin: 0;
		}
		img,video {
			width: 100%;
			border: none;
		}
		ul,li {
			padding: 0;
			margin: 0;
			list-style: none;
		}
		#by {
			width: 100%;
			margin: 0 auto;
			line-height: 2;
			font-size: 12px;
			font-family: "Noto Sans", sans-serif;
			padding-bottom: 1%;
		}
		#by a {
			color: #000;
			text-decoration: none;
			font-weight: 500;
			font-size: 14px;
		}
		#by .img {
			line-height: 0;
			position: relative;
		}

		
		#main_visual {
			position: relative;
			
		}

#main_visual .main{
	margin: 0 auto;
}
#main_visual .switch{
	position: absolute;
    top: 27%;
    left: 59%;
    transform: translate(-50%, -50%);
    width: 18%;
}
#main_visual .ttl{
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 57%;
}
#by .read{
	width: 90%;
	margin: 5% auto;
}

#by .no{
	width: 27%;
	margin: 10% auto;
}
#by .relative{
	position: relative;
}
#by .relative .mov{
	display: flex;
	
}
#by .relative .switch2{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
}
#by .relative .cere_ttl{
	position: absolute;
    bottom: 0;
    left: 26%;
    transform: translate(-50%, -50%);
    width: 37%;
}
#by .relative .day_ttl{
	position: absolute;
    bottom: 0;
    left: 74%;
    transform: translate(-50%, -50%);
    width: 37%;
}

 /*=== 画像の表示エリア ================================= */
.slide {
  position   : relative;
  overflow   : hidden;
                    /* 画像のサイズに合わせて変更ください */
  width      : 100%;
  height     : 114vw;
  margin     : auto;      /* サンプルは中央寄せの背景：白 */
  /*background : #fff;*/
}
 
 /*=== 画像の設定 ======================================= */
.slide img {
  display    : block;
  position   : absolute;
                      /* 画像のサイズを表示エリアに合せる */
  width      : inherit;
  height     : inherit;
  opacity    : 0;
  animation  : slideAnime 6s ease infinite;
}
 
 /*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) { animation-delay: 0s }
.slide img:nth-of-type(2) { animation-delay: 3s }
 
 /*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
   0% { opacity: 0 }
   25% { opacity: 1 }
  50% { opacity: 1 }
  75% { opacity: 0 }
 100% { opacity: 0 }
}


@media only screen and (min-width: 768px)  {
	#main_visual .switch{
	top: 40%;
    left: 74%;
    width: 10%;
	}
	#main_visual .ttl{
	top: 50%;
    left: 18%;
    width: 22%;
	}
	#by .read{
	max-width: 600px;
    text-align: center;
	}
	#by .no{
	width: 10%;
    margin: 7% auto;
	}
	#by .relative {
    max-width: 1200px;
	margin: 0 auto 10%;
	}
	#by .relative .mov {
    width: 46%;
	margin: 0 auto;
	}
	.slide {
    height: 610px;
    }
	#by .relative .switch2 {
    top: 47%;
    left: 49%;
    width: 9%;
	}
}

#by .relative .bg{
	background-color: #efedd5;
	height: 120px;
	margin-top: -20%;
}	
		
@media only screen and (min-width: 768px)  {
	#by .relative .bg{
	height: 200px;
	margin-top: -10%;
	}
	#by .relative .cere_ttl {
    bottom: 2%;
    left: 37%;
    width: 15%;
	}
	#by .relative .day_ttl {
    bottom: 2%;
    left: 62%;
    width: 15%;
	}
}	

#by .item_flex{
	margin: 12% auto 8%;
}
#by .item_flex .item_child{
	position: relative;
}

#by section:nth-of-type(n+2) .item_flex .item_child .cere_sub{
	position: absolute;
    top: 7%;
    left: 22%;
    transform: translate(-50%, -50%);
    width: 38%;
	filter: invert(100%);
	
}
#by .item_flex .item_child .cere_sub{
	position: absolute;
    top: 7%;
    left: 22%;
    transform: translate(-50%, -50%);
    width: 38%;
		
}
#by .item_flex .item_child .styling_btn a{
	max-width: 150px;
    background-color: rgb(255 255 255 / 0.5);
    display: flex;
    align-items: center;
    border-radius: 20px;
    font-size: 11px;
    padding: 5px 20px;
    text-decoration: none;
    background-size: 23px 23px;
    background-position: right 15px top 50%;
    color: black;
    position: absolute;
    bottom: 3%;
    right: 3%;
	
}
#by .item_slide{
	width: 90%;
	margin: 5% auto;
}
#by .item_slide .text{
	margin: 5% auto;
}
#by .item_flex .item_slide .slide2{
/*=== 画像の表示エリア ================================= */

  position   : relative;
  overflow   : hidden;
                    /* 画像のサイズに合わせて変更ください */
  width      : auto;
  height     : 125vw;
  margin     : auto;      /* サンプルは中央寄せの背景：白 */
  background : #fff;
}
 
 /*=== 画像の設定 ======================================= */
#by .item_flex .item_slide .slide2 img {
  display    : block;
  position   : absolute;
                      /* 画像のサイズを表示エリアに合せる */
  width      : inherit;
  height     : inherit;
  opacity    : 0;
  animation  : slideAnime2 9s ease infinite;
}
 
 /*=== スライドのアニメーションを段差で開始する ========= */
#by .item_flex .item_slide .slide2 img:nth-of-type(1) { animation-delay: 0s }
#by .item_flex .item_slide .slide2 img:nth-of-type(2) { animation-delay: 3s }
#by .item_flex .item_slide .slide2 img:nth-of-type(3) { animation-delay: 6s }
 
 /*=== スライドのアニメーション ========================= */
@keyframes slideAnime2{
   0% { opacity: 0 }
   16% { opacity: 1 }
  33% { opacity: 1 }
  49% { opacity: 0 }
 100% { opacity: 0 }

}

@media only screen and (min-width: 768px)  {
	#by .item_flex .item_slide .slide2{
	    width: auto;
        height: 656px;
	}
	#by .item_flex{
		display: flex;
		margin: 0 auto 10%;
		width: 1200px;
		justify-content: space-around;
		}
	#by .item_flex .item_child {
		width: 50%;
		}
	#by .item_slide {
		width: 40%;
		margin: 0;
		}
	#by .item_flex .item_child .cere_sub {
		width: 29%;
		}	
	#by .item_flex .item_child .styling_btn a {
		bottom: 5%;
		right: 5%;
		}
}
#by section .item_flex:nth-of-type(even){
	flex-direction: row-reverse;
}

#by .credit_area{
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 10% auto 12%;
}
#by .credit_area .item_pic{
	width: 32%;
	position: relative;
}
#by .credit_area .item_pic .oki{
	margin: 0 auto;
}
#by .credit_area .item_pic .icon{
	width: 45%;
    position: absolute;
    top: 0%;
    left: 19%;
    transform: translate(-50%, -50%);
}
#by .credit_area .txt_area{
	width: 60%;
	text-align: center;
	font-family: serif;
}
#by .credit_area .txt_area .key{
	font-size: 15px;
	font-weight: 600;
}
#by .credit_area .txt_area .buy{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 175px;
    margin: 5% auto;
    padding: .5em 1em;
    /* border: 1px solid #000000; */
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
	font-family: serif;
}
#by .credit_area .txt_area .credit{
    margin: 2% auto;
	
}
#by .credit_area .txt_area .credit span{
   	font-weight: 600;
}
@media only screen and (min-width: 768px)  {
	#by .credit_area {
    width: 850px;
    margin: 0 auto;
	}
	#by .credit_area .item_pic .icon {
    width: 33%;
    
	}
}
/*///////////*/
		#by .spv {
			display: none;
		}
		@media only screen and (max-width: 768px)  {
			#by .spv {
				display: block;
			}
			#by .pcv {
				display: none;
			}
		}

		.anim {
			opacity: 0;
			transition: 1.6s all 0s ease;
		}
		.anim.ac {
			opacity: 1;
		}