@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 {
		margin: 0 auto;
	}
	#by #main_visual .main_ttl {
		margin: 70px auto 40px;
        width: 400px;
	}
	#by #main_visual .read {
		font-size: 12px;
	}
}
/*  content
**************************************************/
#by #content {
	margin: 0 auto;
}

@media only screen and (min-width: 769px)  {
	#by #content {
		
	}
}
/*  section
**************************************************/
#by #content section {
	width: 100%;
    margin: 20% auto 25%;
    
}
#by #content section .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto; /* 高さは中身に応じて可変にした方が安全 */
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}

#by #content section .grid .video-item {
  grid-column: 1 / -1;
}
#by #content section .grid .box {
	border: solid 1px #111;
	line-height: 0;
	position: relative
}
#by #content section .grid .box:nth-of-type(1) { grid-area: 1 / 1 / 2 / 2; }
#by #content section .grid .box:nth-of-type(2) { grid-area: 1 / 2 / 2 / 3; }
#by #content section .grid .box:nth-of-type(3) { grid-area: 2 / 1 / 3 / 3; }
#by #content section .grid .box.video video {
	width: 100%;
}
#by #content section .link {
	width: 92%;
    margin: 4% auto 0;
    border: solid 1px #111;
	padding: 5% 0;
}
#by #content section .link .buy {
	width: 46%;
    background: #111;
}
#by #content section .link .buy a {
	 display: block;
}
#by #content section .link .buy img {
	width: 60%;
    display: block;
    margin: 8% auto;
}
#by #content section .link .link_child {
	width: 90%;
    margin: 5% auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#by #content section .link h3 {
	font-size: 14px;
	letter-spacing: .5px;
	text-align: center;
	line-height: 2.0;
}
#by #content section .link h3 span {
	font-size: 78%;
	display: block;
	color: #686868;
}


@media only screen and (min-width: 769px)  {
	#by #content section  {
		width: 1200px;
		margin: 180px auto 80px;
	}
	#by #content section:first-of-type  {
		margin: 80px auto 80px;
	}
	#by #content section .grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: 1fr;
		grid-column-gap: 4px;
		grid-row-gap: 4px;
		width: 96%;
		margin: 0 auto;
	}
	#by #content section .grid .box:nth-of-type(1) { grid-area: 1 / 1 / 2 / 2; }
	#by #content section .grid .box:nth-of-type(2) { grid-area: 1 / 2 / 2 / 3; }
	#by #content section .grid .box:nth-of-type(3) { grid-area: 1 / 3 / 2 / 4; }
	
	#by #content section:nth-of-type(2) .grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: 1fr;
		grid-column-gap: 4px;
		grid-row-gap: 4px;
		width: 96%;
		margin: 0 auto;
	}
	#by #content section:nth-of-type(2) .grid .box:nth-of-type(1) { grid-area: 1 / 2 / 2 / 3; }
	#by #content section:nth-of-type(2) .grid .box:nth-of-type(2) { grid-area: 1 / 3 / 2 / 4;}
	#by #content section:nth-of-type(2) .grid .box:nth-of-type(4) { grid-area: 1 / 1 / 2 / 2;}
	#by #content section .link {
		width: 100%;
        border-top: solid 1px #111;
        border-bottom: solid 1px #111;
        border-left: none;
        border-right: none;
        padding: 26px 0;
        margin: 4% auto 0;
	}
	#by #content section .link .link_child {
		position: relative;
		width: 30%;
        margin: 24px auto 0;
        display: flex;
        align-items: center;
		justify-content: space-between;
		padding: 0;
	}
	#by #content section .link h3 {
		font-size: 18px;
		margin: 0;
	}
	#by #content section .link .link_child .buy {
		width: 44%;
	}
}


/* slide
**************************************************/
#by #content section .slide {
	position: relative;
	overflow: hidden;
	height: 74vw;
}
#by #content section .slide img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  opacity: 0;
   animation: slideAnime 10s ease infinite;
}
#by #content section .slide img:nth-of-type(1) { animation-delay: 0s }
#by #content section .slide img:nth-of-type(2) { animation-delay: 5s }
 
@keyframes slideAnime {
    0% { opacity: 0 }
   8% { opacity: 1 }
  50% { opacity: 1 }
  58% { opacity: 0 }
 100% { opacity: 0 }
}
@media only screen and (min-width: 769px)  {
	#by #content section .slide {
		height: 570px;
	}
}




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