@charset "utf-8";

body.front main .inner {
	max-width: 1320px;
	margin: auto;
	padding: 0 20px;
}



/*==================================================================

メイン画像上のテキスト

==================================================================*/

.mainvisual {
	position: relative;
	margin-bottom: 40px;
}
.mainvisual_contents_inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: grid;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	padding: 20px;
}


/*==================================================================

トップのブログ

==================================================================*/
.top__blog__wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 100px;
	margin-top: 100px;
}
.top_blog_btn {
	margin-top: 10px;
	text-align: right;
	
}
.top_blog_btn a {
	display: inline-block;
	text-decoration: none;
	color: #000;
}
@media (max-width: 959px){
	.top__blog__wrap {
		margin-top: 60px;
		margin-bottom: 60px;
		grid-template-columns: 1fr;
	}
}
@media (max-width: 559px){
	.top__blog__wrap {
		margin-top: 40px;
		margin-bottom: 40px;
	}
}

/*==================================================================

参加してくたみんなの声

==================================================================*/
.use_voice_wrap {
	margin-top: 100px;
	margin-bottom: 100px;
}
.use_voice {
	display: flex;
	gap: 30px;
	margin-bottom: 30px;
}
@media (max-width: 959px){
	.use_voice_wrap {
		margin-top: 60px;
		margin-bottom: 60px;
		overflow: scroll;
	}
	.use_voice {
		overflow-x: scroll;
		max-width: unset;
		width: unset;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}
	.use_voice > div {
		flex-basis: 50%;
		flex-grow: 1;

	}
	.use_voice > div img {
		max-width: 50vw;
	}
}
@media (max-width: 559px){
	.use_voice_wrap {
		margin-top: 40px;
		margin-bottom: 40px;
	}
	.use_voice {
		grid-template-columns: repeat(1,1fr);
	}
	.use_voice > div img {
		max-width: 90vw;
	}
}
.use_voice::-webkit-scrollbar-thumb {
  background-color: #3760d0;
  border-radius: 8px;
}

/*==================================================================

フォト

==================================================================*/
@media (min-width: 960px){
	.footer__photo {
		max-width: 87.975vw;
		position: relative;
		padding: 0 16.2vw 0 14.2vw;
		margin: 0 auto 40px;
	}
	.footer__photo__left {
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 13.1vw;
	}
	.footer__photo__right {
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
		width: 15.8vw;
	}
	.footer__photo__center {
		display: flex;
		flex-wrap: wrap;
		gap: 1.5vw;
	}
}


@media (max-width: 959px){
	.footer__photo {
		display: flex;
		padding: 0 8%;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.footer__photo__left {
		flex-basis: 43.9%;
	}
	.footer__photo__right {
		flex-basis: 52.9%;
	}
	.footer__photo__center {
		padding-top: 3%;
		text-align: center;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
        gap: 20px;
	}
	.footer__photo__center img {
        flex-grow: 1;
		max-width: 55%;
	}
	.footer__photo__center img:nth-child(7) {
		max-width: 47%;
	}
	.footer__photo__center img:nth-child(8) {
		max-width: 47%;
	}
}
@media (max-width: 559px){
	.footer__photo__center {
		gap: 3vw;		
	}
	.footer__photo__center img:nth-child(1) {
		width: 27vw;
	}
	.footer__photo__center img:nth-child(2) {
    	width: 46vw;
	}
	.footer__photo__center img:nth-child(3) {
    	width: 46vw;
	}
	.footer__photo__center img:nth-child(4) {
		width: 27vw;
	}
	.footer__photo__center img:nth-child(5) {
		width: 27vw;
	}
	.footer__photo__center img:nth-child(6) {
    	width: 46vw;
	}
	.footer__photo__center img:nth-child(7) {
    	width: 40vw;
		max-width: 100%;
	}
	.footer__photo__center img:nth-child(8) {
    	width: 40vw;
		max-width: 100%;
	}
}