@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;
}
/*  #main_visual
**************************************************/
#by #main_visual {
	display: block;
	margin: 0 auto 10%;
}
#by #main_visual .main_ttl {
	margin: 12% auto 7%;
	width: 74%;
}
#by #main_visual .read {
	text-align: center;
	font-size: 11px;
}
@media only screen and (min-width: 769px)  {
	#by #main_visual .main_ttl {
		margin: 60px auto 60px;
		width: 500px;
	}
	#by #main_visual .read {
		font-size: 12px;
	}
}
/*  content
**************************************************/
#by .content {
	margin: 0 auto;
}

@media only screen and (min-width: 769px)  {
	#by .content {
		
	}
}
/*  section
**************************************************/
#by section {
	width: 94%;
	margin: 20% auto 25%;
}
#by section .ttl {
	width: 100%;
	margin: 0 auto 3%;
}
#by section .box {
	margin: 0 auto;
}
#by section .box .box_main {
	width: 100%;
	margin: 0 0 1%;
}
#by section .box .box_sub {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1.4fr 1fr;
	grid-column-gap: 3px;
	grid-row-gap: 3px;
}
#by section .box .box_sub div:nth-of-type(1) { grid-area: 1 / 1 / 3 / 2; }
#by section .box .box_sub div:nth-of-type(2) { grid-area: 1 / 2 / 2 / 3; }
#by section .box .box_sub div:nth-of-type(3) {
	grid-area: 2 / 2 / 3 / 3;
	padding: 2% 0 0;
}

#by section .box .box_sub div:nth-of-type(3) span {
	display: block;
	text-align: center;
	font-size: 9px;
}
#by section .box .box_sub div:nth-of-type(3) .buy {
	display: block;
	margin: 4% auto;
	background: #111;
	width: 50%;
}
#by section .box .box_sub div:nth-of-type(3) .buy img {
	display: block;
	width: 24%;
	margin: 0 auto;
	padding: 8% 0;
}
#by section .box .box_sub div:nth-of-type(3) .buy:last-of-type {
	margin-bottom: 0;
}
@media only screen and (min-width: 769px)  {
	#by section  {
		width: 1100px;
		margin: 180px auto 180px;
	}
	
	#by section .ttl {
		width: 580px;
		margin: 0 auto 3%;
	}
	#by section .box {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	#by section:nth-of-type(even) .box {
		flex-direction: row-reverse;
	}
	#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%;
	}
	
}


/* 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);
}

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