@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600&display=swap');
body{margin: 0px !important;}
h1,h2,h3,h4,h5,h6{margin: 0;}
ul {
    display: block;
    list-stslideyle-type: disc;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}
*{
    min-height: 0;
    min-width : 0;
}
#by {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0 auto;
    line-height: 2.0;
    font-size: 11px;
    letter-spacing: 1px;
	width: 100%;
    box-sizing: border-box;
    color: #2b2b2b;
    -webkit-text-size-adjust: 100%;
	overflow: hidden;
}
#by a {
	text-decoration: none;
	color: #2b2b2b;
}
#by p {
    margin: 0;
}
#by　a:hover {
	opacity: 1;
}
#by .clear{
	clear: both;
}
#by img{
    width: 100%;
    line-height: 0;
}
#by ul,#by li {
	list-style: none;
	padding: 0;
	margin: 0;
}
@media only screen and (min-width: 769px)  {
	#by {
		font-size: 12px;
	}
}


/*  #main_visual
**************************************************/
#by #main_visual {
	display: block;
	margin: 0 auto 10%;
	position: relative;
}
#by #main_visual .video video {
	width: 100%;
}
#by #main_visual .main_text {
	margin: 8% 0;
}
#by #main_visual .main_text .main_ttl {
	width: 66%;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 6%;
}
#by .read {
	text-align: center;
	font-size: 11px;
}
@media only screen and (min-width: 769px)  {
	#by #main_visual {
		width: 100%;
		max-width: 1400px;
		margin: 0 auto 60px;
    position: relative;
    display: flex;
    justify-content: space-between;		
		align-items: center;
	}
	#by #main_visual .video {
		width: 50%;
		margin: 0;
	}
	#by #main_visual .main_text {
		width: 50%;
	}
	#by #main_visual .main_text .main_ttl {
		width: 60%;
        max-width: 480px;
        position: relative;
		margin: 0 auto 40px;
	}
	#by .read {
		font-size: 13px;
	}
}
/*  content
**************************************************/
#by .content {
	margin: 0 auto;
}

@media only screen and (min-width: 769px)  {
	#by .content {
		
	}
}
/*  section
**************************************************/
#by section {
	
}
#by section .box {
	width: 96%;
    margin: 20% auto 25% 0;
}
#by section:nth-of-type(even) .box {
    margin: 20% 0 25% auto;
}
#by section .box .box_pic {
	width: 100%;
	margin: 0 0 8%;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
#by section:nth-of-type(even) .box .box_pic {
	flex-direction: row-reverse;
}
#by section .box .box_pic .frame {
	width: 88%;
	border-top: solid 1px #282b3a;
	border-right: solid 1px #282b3a;
	border-bottom: solid 1px #282b3a;
	line-height: 0;
}
#by section:nth-of-type(even) .box .box_pic .frame {
	border-right: none;
	border-left: solid 1px #282b3a;	
}


#by section .box .box_pic .midashi {
	width: 6%;
}
#by section .box .box_text {
	width: 82%;
    margin: 0 auto 0 6%;
}
#by section:nth-of-type(even) .box .box_text {
    margin: 0 6% 0 auto;
}
#by section .box .box_text h3 {
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 5%;
}
#by section .box .box_text p {
	margin-bottom: 6%;
}
#by section .box .box_text h3 span {
	display: block;
	font-size: 82%;
	font-weight: 400;
	color: #909090;
	margin: 2% 0 0 0;
}
#by section .box .box_text .buy {
	display: block;
    width: 100%;
    border: solid 1px #282b3a;
}
#by section .box .box_text .buy img {
	display: block;
    width: 42%;
    margin: 4% auto;
}

#by section .box .box_text .link {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
#by section .box .box_text .link a {
	width: 50%;
	border: solid 1px #282b3a;
}
#by section .box .box_text .link a:nth-of-type(2) {
	border-left: none;
}
#by section .box .box_text .link a img {
	display: block;
    width: 68%;
    margin: 7% auto;
}

#by section .slide {
  position: relative;
  overflow: hidden;
  height: 126vw;
}
#by section .slide img {
  display: block;
  position: absolute;
  opacity: 0;
  animation: slideAnime 12s ease infinite;
}
 
#by section .slide img:nth-of-type(1) { animation-delay: 0s }
#by section .slide img:nth-of-type(2) { animation-delay: 4s }
#by section .slide img:nth-of-type(3) { animation-delay: 8s }
 
@keyframes slideAnime{
   0% { opacity: 0 }
   5% { opacity: 1 }
  33% { opacity: 1 }
  38% { opacity: 0 }
 100% { opacity: 0 }
}


@media only screen and (min-width: 769px)  {
	#by section  {
		width: 1100px;
		margin: 180px auto 180px;
	}
	#by section .box {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin: 0;
	}
	#by section:nth-of-type(even) .box {
		flex-direction: row-reverse;
	}
	#by section:nth-of-type(even) .box {
		margin: 0;
	}
	#by section .box .box_main {
		width: 44%;
	}
	#by section .box .box_sub {
	    width: 48%;
	}
	#by section .box .box_sub div:nth-of-type(3) {
		padding: 9% 0 0;
	}
	#by section .box .box_sub div:nth-of-type(3) .buy {
		width: 40%;
	}
	#by section .box .box_pic {
		width: 48%;
		margin: 0;
	}
	#by section .box .box_pic .frame {
		border-left: solid 1px #282b3a;
		border-right: solid 1px #282b3a;
	}
	#by section:nth-of-type(even) .box .box_pic .frame {
		border-right: solid 1px #282b3a;
	}
	#by section .box .box_text {
		width: 40%;
		margin: 0;
	}
	#by section .box .box_text h3 {
		font-size: 16px;
	}
	
	#by section:nth-of-type(even) .box .box_text {
		margin: 0;
	}
	#by section .box .box_text p {
		margin-bottom: 40px;
	}
	#by section .box .box_text .buy img {
		width: 32%;
	}
	
	#by section .slide {
		height: 695px;
	}
}


/* slide1
**************************************************/
#by .slide1 {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 128vw;
}
#by .slide1 img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  opacity: 0;
   animation: slideAnime1 6s ease infinite;
}
#by .slide1 img:nth-of-type(1) { animation-delay: 0s }
#by .slide1 img:nth-of-type(2) { animation-delay: 3s }
 
@keyframes slideAnime1{
    0% { opacity: 0 }
   8% { opacity: 1 }
  50% { opacity: 1 }
  58% { opacity: 0 }
 100% { opacity: 0 }
}
@media only screen and (min-width: 769px)  {
	#by .slide1 {
		height: 653px;
	}
}

/* slide2
**************************************************/
#by .slide2 {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 128vw;
}
#by .slide2 img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  opacity: 0;
   animation: slideAnime2 9s ease infinite;
}
#by .slide2 img:nth-of-type(1) { animation-delay: 0s }
#by .slide2 img:nth-of-type(2) { animation-delay: 3s }
#by .slide2 img:nth-of-type(3) { animation-delay: 6s }
@keyframes slideAnime2{
    0% { opacity: 0 }
   4% { opacity: 1 }
  33% { opacity: 1 }
  37% { opacity: 0 }
 100% { opacity: 0 }
}
@media only screen and (min-width: 769px)  {
	#by .slide2 {
		height: 653px;
	}
}


/* js
**************************************************/
#by .anim {
	opacity: 0;
	transition: 1s all 0s;
}
#by .anim.ac {
	opacity: 1;
	transform: translate(0);
}

/* box_pic slide-in animation (odd: from left / even: from right)
**************************************************/
#by .anim-left {
	opacity: 0;
	transform: translateX(-60px);
	transition: opacity 0.9s ease 0s, transform 0.9s ease 0s;
}
#by .anim-right {
	opacity: 0;
	transform: translateX(60px);
	transition: opacity 0.9s ease 0s, transform 0.9s ease 0s;
}
#by .anim-left.ac,
#by .anim-right.ac {
	opacity: 1;
	transform: translateX(0);
}

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