@charset "UTF-8";
/* CSS Document */
:root{
}
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{
	width: 100%;
	position: relative;
    margin: 0 auto;
    box-sizing: border-box;  
    font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 11px;
	color: #111;
	line-height: 2.0; 
	letter-spacing: 1px;
	background: #fff;
}
#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: "arial", sans-serif;
    font-style: normal;
}

/*  #main_visual
**************************************************/
#by #main_visual {
	width: 100%;
	margin: 0 0 10%;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1;
}
#by #main_visual .main_visual_top {
	position: relative;
	overflow: hidden;
}
#by #main_visual .main_visual_top .ttl {
	position: absolute;
    width: 44%;
    top: 36%;
    left: 0;
    right: 0;
    margin: 0 auto;
}
#by #main_visual .menu {
	width: 100%;
	margin: 0 auto;
	padding-bottom: 5%;
	overflow: hidden;
}
#by #main_visual .menu-ttl {
	text-align: center;
    font-size: 18px;
    margin: 8% auto 8%;
}
#by #main_visual .menu .menu_flex {
	width: 760%; /* 元の380% × 2セット */
	display: flex;
	align-items: start;
	animation: menuLoop 40s linear infinite;
}
#by #main_visual .menu .menu_flex .menu_child {
	flex: 0 0 5%; /* 20個で100% */
}
@keyframes menuLoop {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (hover: hover) {
	#by #main_visual .menu:hover .menu_flex {
		animation-play-state: paused;
	}
}
@media (prefers-reduced-motion: reduce) {
	#by #main_visual .menu {
		overflow-x: auto;
	}
	#by #main_visual .menu .menu_flex {
		animation: none;
	}
}
#by #main_visual .menu .menu_flex span {
	display: block;
	margin: 0 auto;
}
#by #main_visual .menu .menu_flex .menu_no {
	font-size: 16px;
    text-align: center;
}
#by #main_visual .menu .menu_flex .menu_icon {
	width: 12%;
    line-height: 0;
}

@media only screen and (min-width: 769px)  {
	#by  {
		display: flex;
        align-items: flex-start;
        justify-content: space-between;
	}
	#by #main_visual {
		width: 32%;
        margin: 0;
        position: sticky;
        top: 0;
        left: 0;
	}
	#by #main_visual .main_visual_top .ttl {
		top: 28%;
	}
	#by #main_visual .menu-ttl {
		font-size: 16px;
		margin: 5% auto 5%;
	}
	#by #main_visual .menu .menu_flex {
		width: 500%; /* 元の250% × 2セット */
	}
	
}


/*  contents
**************************************************/
#by #contents {
	position: relative;
}
#by #contents section {
	width: 100%;
	margin: 0% auto;
	padding: 20% 0 0 0;
	overflow: hidden;
	background: #c0c0c0;
}
#by #contents section:last-of-type {
	padding-bottom: 22%;
}
#by #contents section .no {
	position: absolute;
    font-size: 12px;
    padding: .2% 3%;
    top: 0;
    left: 0;
    background: #c0c0c0;
    border-radius: 8px 0 8px 0;
    font-weight: 400;
    font-style: normal;
}
#by #contents section .pic {
	width: 90%;
    margin: 0 auto;
    border-radius: 10px;
	position: relative;
}
#by #contents section .text {
	width: 88%;
    margin: 0 auto;
	letter-spacing: .5px;
}
#by #contents section .text h3 {
	font-size: 24px;
    border-bottom: dotted #111;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 6%;
    padding-bottom: 4%;
}
#by #contents section .text .box {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
    font-size: 12px;
    margin-top: 2.5%;
}
#by #contents section .text .box:first-of-type {
    margin-top: 4%;
}
#by #contents section .text .box span:nth-of-type(1) {
	width: 22%;
}
#by #contents section .text .box span:nth-of-type(2) {
	width: 70%;
}
#by #contents section .text .box span:nth-of-type(2).jp {
	line-height: 1.7;
    font-size: 11px;
}
#by #contents section .up {
	text-transform: uppercase;
}
#by #contents section .text .linkbtn {
	display: flex;
	justify-content: space-between;
	margin: 8% 0 0 0;
}
#by #contents section .text .linkbtn .btn {
	display: block;
	width: 48%;
	border: solid 1px;
	text-align: center;
	text-decoration: none;
	font-size: 13px;
	line-height: 2.6;
	font-weight: 600;
	
}

@media only screen and (min-width: 769px) {
	#by #contents  {
		width: 68%;
        margin: 0 0 0 auto;
	}
	#by #contents section {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 120px 0 0 0;
	}
	#by #contents section:nth-of-type(even) {
		flex-direction: row-reverse;
	}
	#by #contents section .pic {
		width: 44%;
	}
	#by #contents section .text {
		width: 38%;
	}
	#by #contents section .text h3 {
		margin-top: 0;
	}
}



/* outer
**************************************************/
#by #contents section .slide {
	position: relative;
	overflow: hidden;
    height: 135vw;
}
#by #contents section .slide img {
  display: block;
  position: absolute;
  opacity: 0;
  animation: slideAnime 12s ease infinite;
}
#by #contents section .slide img:nth-of-type(1) { animation-delay: 0s }
#by #contents section .slide img:nth-of-type(2) { animation-delay: 3s }
#by #contents section .slide img:nth-of-type(3) { animation-delay: 6s }
#by #contents section .slide img:nth-of-type(4) { animation-delay: 9s }
 

@keyframes slideAnime {
    0% { opacity: 0 }
   6% { opacity: 1 }
  25% { opacity: 1 }
  31% { opacity: 0 }
 100% { opacity: 0 }
}


@media only screen and (min-width: 769px) {
	#by #contents section .slide {
		height: 44.5vw;
	}
}

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