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

#by {
		font-family: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
		font-family:'Noto Sans JP', "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
		font-size: 12px;
		line-height: 2.0em;
	   
		width: 100%;
	    margin: 0 auto;
		color: #000;	
		
	}


img {
		width: 100%;
	    object-fit: cover;
}

a {
	text-decoration: none;
	color: #000;
}

ul,li {
	list-style: none;
	padding: 0;
	margin: 0;
}

#main_visual {
	margin: 0 auto 5%;
	position: relative;
	
}

#main_visual .main_ttl{
	width: 58%;
    position: absolute;
    top: 50%;
    left: 50%;
	transform: translate(-50%, -50%);
}

#by .read{
	margin: 0 auto 15%;
}


@media only screen and (min-width: 768px){
	#main_visual {
	width: 1200px;
	}
	#main_visual .main_ttl{
	width: 32%;
    }
	#by .read{
	width: 500px;
	}
}



#by .read p{
	padding: 0 10px;
}

#by section{
	position: relative;
}

#by .stickybox_item {
    width: 100%;
	position: relative;
}

#by section .stickybox_item .stickybox_item_side .no{
	position: absolute;
    top: 15px;
    left: 16px;
    width: 30%;
}


#by section .stickybox_item {
    display: flex;
    align-items: flex-start;
    margin: 0 auto 60px;
    justify-content: space-around;
	width: 1200px;
	}

#by section .stickybox_item .stickybox_item_side {
    position: sticky;
    width: 45%;
    top: 11%;
	left: 0;
	}

#by section .stickybox_item .stickybox_item_side .no{
	position: absolute;
    top: 25px;
    left: 25px;
    width: 25%;
	}
#by section .stickybox_item .stickybox_item_main {
    width: 45%;
	display: block;
	}

#by section .stickybox_item .stickybox_item_main ul{
    margin-bottom: 5%;
	}

#by section .stickybox_item .stickybox_item_main ul li .item{
    width: 65%;
    margin: 10% auto 0;
	}
#by section .stickybox_item .stickybox_item_main ul li p{
    width: 65%;
	margin: 0 auto;
    }

@media only screen and (max-width: 768px){
	#by section .stickybox_item {
    display: block;
    width: 100%;
	margin: 0 auto 20px;
	}
	#by section .stickybox_item .stickybox_item_side {
    position: static;
    width: 100%;
	margin: 0 auto 2%;
	}
	#by section .stickybox_item .stickybox_item_side .no {
    position: absolute;
    top: 18px;
    left: 15px;
    width: 27%;
	}
	#by section .stickybox_item .stickybox_item_main {
    width: 100%;
    display: inline-flex;
	justify-content: space-between;
	}
	#by section .stickybox_item .stickybox_item_main ul{
    width: 48%;
	}
	#by section .item_box{
		display: flex;
		width: 100%;
		justify-content: space-between;
		position: relative;
        margin: 0 auto;
	}
	
	/*#by section:nth-of-type(3) .item_box{
		margin: 0 auto 7%;
	}*/
	
	
	#by section:nth-of-type(2) .item_box .item_pic{
		top: -51%;
		
	}
	
		#by section:nth-of-type(4) .item_box .item_pic{
		
		top: -44%;
		
	}
	
		#by section .item_box .item_pic{
		width: 35%;
		position: absolute;
		top: -59%;
		
	}
	
	#by section .item_box .item_txt{
		width: 61%;
        margin: -7% 0 5% auto;
	}
	#by section .credit_s{
		text-align: center;
		font-weight: 600;
	}
}


#by .button-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin:5% auto 15%;
    padding: .9em 2em;
    border: none;
    border-radius: 5px;
    background-color: #623e28;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}
@media only screen and (min-width: 768px){
	#by .button-2 {
    width: 350px;
	padding: 1.5em 2em;
	}
	
}

#by .button-2 a{
    color: #fff;
}

.button-2:hover {
    background-color: #208fa4;
}

#by .credit{
	margin: 10% auto;
	text-align: center;
}

#by .credit .name{
	font-weight: 600;
}

#by .fabric{
	width: 100%;
	margin: 10% auto;
}

@media only screen and (min-width: 768px){
#by .fabric{
	width: 43%;

}
}




 /*=== 画像の表示エリア ================================= */
#by section .stickybox_item .stickybox_item_main .slide {
  position   : relative;
  overflow   : hidden;
                    /* 画像のサイズに合わせて変更ください */
  width      : auto;
  height     : 756px;
  margin     : auto;      /* サンプルは中央寄せの背景：白 */
  background : #fff;
}
 
@media only screen and (max-width: 768px)  {
   #by section .stickybox_item .stickybox_item_main .slide {
   	height     : 67vw;
	}   
}

 /*=== 画像の設定 ======================================= */
#by section .stickybox_item .stickybox_item_main .slide img {
  display    : block;
  position   : absolute;
                      /* 画像のサイズを表示エリアに合せる */
  width      : inherit;
  height     : inherit;
  opacity    : 0;
  animation  : slideAnime 6s ease infinite;
}
 
 /*=== スライドのアニメーションを段差で開始する ========= */
#by section .stickybox_item .stickybox_item_main .slide img:nth-of-type(1) { animation-delay: 0s }
#by section .stickybox_item .stickybox_item_main .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 }
}
/*////pcview////*/
   .spview {
        display: none;
    }    
    .pcview {
        display: block;
    }
@media only screen and (max-width: 768px)  {
   .spview {
        display: block;
    }    
   .pcview {
        display: none;
    }    
}




.anim{
		opacity: 0;
		transition: 2.5s all 0s ease;
}

.anim.ac{
		opacity:1;
}