@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: yu-mincho-pr6n, sans-serif;
    margin: 0 auto;
    line-height: 2.0;
    font-size: 11px;
    letter-spacing: 1px;
	width: 100%;
	height: 100%;
    box-sizing: border-box;
    color: #2b2b2b;
    -webkit-text-size-adjust: 100%;
	background-image: url("https://www.dot-st.com/static/docs/barnyardstorm/pages/260313_color/images/back-s.jpg");
    background-size: cover;
    background-repeat: no-repeat;
	position: relative;
	
	background-attachment: fixed;
}
#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;
}
#by .f-en {
	font-family: "garamond-premier-pro", serif;
	font-weight: 400;
	font-style: normal;
}

/*  #main_visual
**************************************************/
#by #main_visual {
	width: 42%;
    padding: 6% 0 0 7%;
}
#by #content {
	width: 80%;
    margin: 6% auto 0;
    background: #ffffff82;
    padding: 12% 0 0;
}

@media only screen and (min-width: 769px)  {
	#by {
		display: flex;
		position: relative;
		background-image: url("https://www.dot-st.com/static/docs/barnyardstorm/pages/260313_color/images/back-p.jpg");
	}
	#by #main_visual {
		width: 24%;
        padding: 0;
        position: sticky;
        top: 0;
        left: 0;
		height: fit-content;
	}
	#by #main_visual img {
		width: 80%;
        display: block;
		margin: 40px auto 0;
	}
	#by #content {
		width: 76%;
        margin: 48px 4% 0 0;
        padding: 110px 0 0;
	}
		
}

/*  menu_area
**************************************************/
#by #content .ttl {
	width: 62%;
	margin: 0% auto 6%;
}
#by #content .read {
	text-align: center;
	margin: 0 0 10%;
	font-size: 12px;
}

#by #content .menu_area {
    width: 90%;
    margin: 0 auto;
}
#by #content .menu_area .menu {
	font-size: 14px;
    line-height: 2.4;
	letter-spacing: .3px;
    border-bottom: dashed #afafaf;
}
#by #content .menu_area .menu::before{
    content: "";
    background: #111;
    padding-right: 3px;
    margin-right: 6px;
}
@media only screen and (min-width: 769px)  {
	#by #content .ttl {
		width: 58%;
        max-width: 640px;
        margin: 0% auto 64px;
	}
	#by #content .read {
		font-size: 14px;
        margin: 0 0 74px;
	}
	#by #content .menu_area {
		width: 80%;
		max-width: 740px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
	}
	#by #content .menu_area .menu {
		font-size: 14px;
		width: fit-content;
		max-width: 32%;
        margin-bottom: 4%;
	}
}

@media only screen and (min-width: 1024px) {
	#by #content .menu_area {
		width: 94%;      
	}
}



/* section
**************************************************/
#by #content section {
	width: 94%;
    margin: 16% auto 10%;
}
#by #content section .main-pic {
	width: 100%;
    position: relative;
    height: 104vw;
    margin-bottom: 3%;
}
#by #content section .main-pic .text {
	width: 8%;
    position: absolute;
    top: 3%;
    right: 3%;
}
#by #content section:nth-of-type(even) .main-pic .text {
	right: auto;
	left: 3%;
}
#by #content section .sub-pic {
	position: relative;
}
#by #content section .sub-pic .grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 3%;
	grid-row-gap: 4%;
}
#by #content section .sub-pic .grid img:nth-of-type(1) { grid-area: 1 / 1 / 2 / 2; }
#by #content section .sub-pic .grid img:nth-of-type(2) { grid-area: 1 / 2 / 2 / 3; }
#by #content section .sub-pic .grid img:nth-of-type(3) { grid-area: 2 / 1 / 3 / 2; }
#by #content section .sub-pic .grid img:nth-of-type(4) { grid-area: 2 / 2 / 3 / 3; }

#by #content section .link .item {
    width: 54%;
    height: 42.5vw;
	top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
@media only screen and (min-width: 769px) {
	#by #content section {
		width: 680px;
        margin: 52px auto;
	}
	#by #content section .main-pic {
		 height: 810px;
	}
	#by #content section .link .item {
		width: 300px;
		height: 318px;
	}
}
@media only screen and (min-width: 1150px) {
	#by #content section {
		width: 800px;
        margin: 74px auto 34px;
	}
	#by #content section .main-pic {
		height: 1135px;
	}
	#by #content section .link .item {
		width: 320px;
		height: 330px;
	}
}

/* slide
**************************************************/
#by .slide3 {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: inherit;
}
#by .slide3 img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  opacity: 0;
  animation: slideAnime3 9s ease infinite;
}
#by .slide3 img:nth-of-type(1) { animation-delay: 0s }
#by .slide3 img:nth-of-type(2) { animation-delay: 3s }
#by .slide3 img:nth-of-type(3) { animation-delay: 6s }

@keyframes slideAnime3 {
     0% { opacity: 0 }
   4% { opacity: 1 }
  33% { opacity: 1 }
  37% { opacity: 0 }
 100% { opacity: 0 }
}
/* slide4
**************************************************/
#by .slide4 {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: inherit;
}
#by .slide4 img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  opacity: 0;
  animation: slideAnime4 12s ease infinite;
}
#by .slide4 img:nth-of-type(1) { animation-delay: 0s }
#by .slide4 img:nth-of-type(2) { animation-delay: 3s }
#by .slide4 img:nth-of-type(3) { animation-delay: 6s }
#by .slide4 img:nth-of-type(4) { animation-delay: 9s }
@keyframes slideAnime4 {
   0% { opacity: 0 }
   3% { opacity: 1 }
  25% { opacity: 1 }
  28% { opacity: 0 }
 100% { opacity: 0 }
}
/* slide5
**************************************************/
#by .slide5 {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: inherit;
}
#by .slide5 img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  opacity: 0;
  animation: slideAnime5 15s ease infinite;
}
#by .slide5 img:nth-of-type(1) { animation-delay: 0s }
#by .slide5 img:nth-of-type(2) { animation-delay: 3s }
#by .slide5 img:nth-of-type(3) { animation-delay: 6s }
#by .slide5 img:nth-of-type(4) { animation-delay: 9s }
#by .slide5 img:nth-of-type(5) { animation-delay: 12s }
@keyframes slideAnime5 {
   0% { opacity: 0 }
   2% { opacity: 1 }
  20% { opacity: 1 }
  22% { opacity: 0 }
 100% { opacity: 0 }
}
@media only screen and (min-width: 769px)  {
	
}

/* link
**************************************************/
#by #content section .link {
	margin: 8% 0 0 0;
	text-align: center;
}
#by #content section .link p {
	display: block;
    font-size: 18px;
    line-height: 1.7;
}
#by #content section .link p span {
	display: block;
	font-size: 70%;
	letter-spacing: .5px;
}
#by #content section .link .btn {
	width: 66%;
    margin: 6% auto 0;
    border: solid 1px #111;
    border-radius: 40px;
}
#by #content section .link .btn a {
	display: block;
}
#by #content section .link .btn img {
	width: 16%;
    padding: 4% 0 0 0;
    line-height: 0;
}
@media only screen and (min-width: 769px)  {
	#by #content section .link .btn {
		width: 340px;
		margin: 4% auto 0;
	}
	#by #content section .link .btn img {
		width: 14%;
		padding: 3% 0 1% 0;
	}
}

/* footer
**************************************************/
#footer {
	
}
#by #footer .btn_all {
	width: 63%;
    margin: 0 auto 0;
    border: solid 1px #111;
    border-radius: 40px;
}
#by #footer .btn_all a {
	display: block;
}
#by #footer .btn_all img {
	width: 34%;
    padding: 4% 0 4%;
    line-height: 0;
    margin: 0 auto;
    display: block;
}
#by #footer hr {
	margin: 18% 0 14%;
    border: dashed #6f6f6f 1px;
}
#by #footer a {
	text-align: center;
    display: block;
    margin-bottom: 2%;
    font-size: 13px;
}
#by #footer .copy {
	text-align: center;
    font-size: 8px;
	letter-spacing: .4px;
	margin: 12% 0 0;
}

@media only screen and (min-width: 769px)  {
	#by #footer .btn_all {
		width: 340px;
		margin: 0 auto 0;
	}
	#by #footer .btn_all img {
		width: 33%;
        padding: 3% 0 3% 0;
	}
	#by #footer hr {
		margin: 110px 0 80px;
	}
	#by #footer a {
    margin-bottom: 5px;
    font-size: 14px;
	}
	#by #footer .copy {
		font-size: 10px;
		margin: 80px 0 0;
	}
}

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