@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%;
	position: relative;
}
#by #main_visual .main_ttl {
	margin: 12% auto 0;
	width: 70%;
}
#by #main_visual .scroll {
    position: absolute;
    writing-mode : vertical-rl;
    top : 106%;
    left : 50%;
    transform: translateX(-50%) translateY(-50%);
}
#by #main_visual .scroll::after {
    content : '';
    display : inline-block;
    position : absolute;
    background-color: #000;
    right : 50%;
    bottom : -75px;
    transform : translateX(-50%);
    width : 1px;
    height : 60px;
    animation: scroll 1.5s infinite;
}
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}



@media only screen and (min-width: 769px)  {
	#by #main_visual .main_ttl {
		margin: 60px auto 60px;
		width: 460px;
	}
}
/*  cell
**************************************************/
#by .cell {
	background: #dddddd;
	margin: 30% 0 0;
    padding: 4% 1.5%;
}
#by .cell .cell_ttl {
	display: block;
    width: 54%;
    margin: 0 auto 3%;
}
#by .cell .cell_inner {
	border: solid 1px #3d3d3d;
}

@media only screen and (min-width: 769px)  {
	#by .cell {
		margin: 140px 0 0;
	}
	#by .cell .cell_ttl {
		width: 22%;
		max-width: 260px;
		margin: 0 auto 2%;
	}
	#by .cell_inner {
		width: 490px;
		margin: 0 auto;
	}
}


/*  content
**************************************************/
#by .content {
	margin: 0 auto;
}
#by .content hr {
	width: 100%;
}
@media only screen and (min-width: 769px)  {
	#by .content {
		
	}
}
/*  section
**************************************************/
#by section {
	width: 90%;
	margin: 17% auto 18%;
}
#by section .ttl {
	width: 100%;
	margin: 0 auto 3%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#by section .ttl div:nth-of-type(1) {
	width: 20%;
}
#by section .ttl div:nth-of-type(2) {
	width: 80%;
}
#by section .ttl div:nth-of-type(2) span {
	font-size: 11px;
    color: #939393;
    letter-spacing: 0;
}
#by section .box {
	margin: 0 auto;
}
#by section .box .box_main {
	width: 100%;
	margin: 0 0 1%;
}
#by section .box {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, 1fr);
	grid-column-gap: 6px;
	grid-row-gap: 0px;
}
#by section .box div:nth-of-type(1) {
	grid-area: 1 / 1 / 3 / 3;
	transition: 1.5s all 0.3s ease;
	position: relative;
}
#by section .box div:nth-of-type(1) .styling {
	position: absolute;
    width: 16%;
    bottom: 3.5%;
    right: 3%;
}
#by section .box div:nth-of-type(2) {
	grid-area: 3 / 1 / 4 / 2;
	transition: 1.5s all 0.5s ease;
}
#by section .box div:nth-of-type(3) {
	grid-area: 3 / 2 / 4 / 3;
	transition: 1.5s all 0.7s ease;
}


@media only screen and (min-width: 769px)  {
	#by section  {
		width: 960px;
		margin: 110px auto 110px;
	}
	#by section .ttl {
		width: 680px;
        margin: 0 auto 2% -1%;
	}
	#by section .ttl div:nth-of-type(1) {
		width: 18%;
	}
	#by section .ttl div:nth-of-type(2) {
		width: 81%;
	}
	#by section .ttl div:nth-of-type(2) span {
		font-size: 15px;
		letter-spacing: .5px;
	}
	#by section:nth-of-type(odd) .box {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(4, 1fr);
		grid-column-gap: 6px;
		grid-row-gap: 0px;
	}
	#by section:nth-of-type(odd) .box div:nth-of-type(1) {
		grid-area: 1 / 1 / 5 / 3;
	}
	#by section:nth-of-type(odd) .box div:nth-of-type(2) {
		grid-area: 1 / 3 / 3 / 4;
	}
	#by section:nth-of-type(odd) .box div:nth-of-type(3) {
		grid-area: 3 / 3 / 5 / 4;
	}
	#by section:nth-of-type(even) .box {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(4, 1fr);
		grid-column-gap: 6px;
		grid-row-gap: 0px;
	}
	#by section:nth-of-type(even) .box div:nth-of-type(1) {
		grid-area: 1 / 2 / 5 / 4;
	}
	#by section:nth-of-type(even) .box div:nth-of-type(2) {
		grid-area: 1 / 1 / 3 / 2;
	}
	#by section:nth-of-type(even) .box div:nth-of-type(3) {
		grid-area: 3 / 1 / 5 / 2;
	}
	
}

/* points
**************************************************/
#by section .point {
	position: relative;
	background: #ededed;
	margin: 12% auto 0;
}
#by section .point .decoration {
	position: absolute;
    width: 22%;
    top: -23%;
    left: -3%;
}
#by section .point .decoration.udp {
    width: 43%;
    top: -31%;
    left: -3%;
}
#by section .point .point_inner {
	padding: 5%;
}
#by section .point .point_inner .text {
	display: flex;
	align-items: center;
	letter-spacing: 0;
}
#by section .point .point_inner .text img {
	width: 4%;
	margin-right: 2%;
}
#by section .link {
	margin: 8% 0 0 0;
	display: flex;
    align-items: center;
    justify-content: space-between;
}
#by section .link a {
	text-decoration: underline;
}


@media only screen and (min-width: 769px)  {
	#by section .point {
		width: 420px;
		margin: 70px auto 0;
	}
	#by section .point .point_inner {
		padding: 7%;
		font-size: 12px;
	}
	#by section .link {
		margin: 40px auto 0;
		width: 420px;
		font-size: 12px;
	}
}

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