@charset "utf-8";

/*---------------------------------------------
 ** 640px
---------------------------------------------*/
@media screen and (max-width: 850px) {
	/*---------------------------------------------
	body
---------------------------------------------*/
	html {
		scroll-behavior: smooth;
	}

	body {
		font-size: 12px;
		font-family: sans-serif;
		color: #000;
		line-height: 1.8;
	}

	/* fook */
	.only_pc {
		display: none !important;
	}

	.only_sp {
		display: block !important;
	}

	.sp_br {
		display: inline;
	}

	/*画像*/
	img {
		max-width: 100%;
		height: auto;
	}

	.main01 {
		padding-top: 10px;
		padding-bottom: 100px;
		background-size: auto 20px;
	}

	.main01 ul {
		width: 134px;
		position: absolute;
		display: flex;
		top: auto;
		bottom: 35px;
		right: 3%;
	}

	.main01 li {
		width: 36px;
		margin-right: 13px;
	}

	.main01 div {
		width: 130px;
		position: absolute;
		right: auto;
		left: 1%;
		margin: 0 auto;
		bottom: 45px;
	}

	h2 {
		width: 95%;
		font-size: 120%;
		margin: 10px auto;
		text-align: center;
	}

	.btn {
		width: 80%;
	}

	.btn li {
		width: 100%;
		margin: 2% 0 2% 0;
	}

	.btn li:last-child {
		margin-right: 0;
	}

	.bas_p {
		width: 90%;
		margin: 30px auto 0;
		font-size: 120%;
		font-weight: bold;
		text-align: center;
		padding-top: 50px;
	}

	.bas_p span::before {
		content: "";
		width: 120px;
		height: 50px;
		position: absolute;
		background: url(../images/fukidashi.jpg) no-repeat;
		background-size: 100%;
		top: -50px;
		left: -10px;
	}

	.bas_btn_sp {
		width: 70%;
		max-width: 840px;
		display: flex;
		flex-wrap: wrap;
		margin: 0 auto 50px;
	}

	.bas_btn_sp .bas01 {
		width: 100%;
		max-width: 429px;
		margin-right: 0;
		margin-top: 3%;
		margin-bottom: 6%;
	}

	.bas_btn_sp .bas02 {
		width: 100%;
		max-width: 429px;
		position: relative;
	}

	.bas_btn_pc {
		display: none !important;
	}

	#slide {
		padding-bottom: 138px;
		margin-bottom: 80px;
	}

	.arcbox {
		max-width: 500px;
	}

	.arcbox a {
		width: 31%;
		max-width: 172px;
		margin-right: 2%;
		margin-bottom: 2%;
	}

	.arcbox a:last-child {
		display: none;
	}

	.arcbox a:nth-child(4n) {
		margin-right: 2% !important;
	}

	.arcbox a:nth-child(3n) {
		margin-right: 0% !important;
	}

	#sns {
		width: 95%;
		max-width: 800px;
		margin: 0 auto 50px;
		text-align: center;
	}

	#sns table {
		width: 100%;
		margin: 0 auto;
	}

	#sns table tr {
		display: flex;
		flex-wrap: wrap;
	}

	#sns table td {
		width: 98%;
		text-align: center;
	}

	#sns table td iframe {
		width: 100%;
		margin: 0 auto;
	}

	#foot {
		text-align: center !important;
	}

	#foot h3 {
		text-align: center !important;
	}

	#foot .ban img {
		width: 82px;
		margin: 0 10px 10px 0;
	}

	#topics dt {
		background-color: #e6e9e4;
		padding: 2px 10px;
		margin-bottom: 5px;
		text-align: left !important;
	}

	#topics dd {
		padding: 2px 10px;
		margin-bottom: 20px;
		text-align: left !important;
	}

	.insta h3 {
		padding: 15px 0 15px 40px !important;
		background-size: 30px auto !important;
	}

	.twfb {
		text-align: center;
		height: 660px !important;
	}

	.twfb div h3 {
		padding: 15px 0 15px 40px !important;
		background-size: 30px auto !important;
	}

	.twfb div:nth-child(1),
	.twfb div:nth-child(2) {
		width: 100% !important;
		margin: 0 auto 3% !important;
	}

	.twfb div iframe {
		height: 400px !important;
	}

	.dm_flex div {
		width: 100% !important;
		margin-bottom: 30px !important;
	}

	.dm_other span {
		background-size: 30px auto !important;
		padding: 13px 0 6px 40px !important;
	}

	.dm_flex div h4 {
		display: none;
	}

	.dm_flex div.dm_pc {
		background: none;
		background-size: auto 120px;
		padding-top: 20px;
	}

	.dm_flex div.dm_sp {
		display: none;
	}

	.gaufres {
		width: 100%;
		display: block !important;
		margin: 20px auto;
	}

	.gaufres img {
		width: 270px;
		height: 100px;
		margin-top: 0px;
	}

	.gaufres p {
		width: 90%;
		margin: 10px auto;
	}

	.flexslider {
		height: 580px !important;
		padding-bottom: 5%;
	}

	.flexslider ul.slides li {
		height: 760px !important;
	}

	#slide::before {
		content: "";
		width: 65%;
		max-width: 400px;
		white-space: pre;
		height: 500px;
		display: block;
		background-size: 100% auto;
		padding-top: 26%;
		font-size: 120%;
		top: 13%;
	}

	.slide_btn {
		width: 98%;
		max-width: 700px;
		position: absolute;
		right: 0;
		left: 0;
		top: auto;
		bottom: 0%;
		margin: 0 auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	@keyframes zoom-out-anim {
		0% {
			transform: scale(1.8);
			opacity: 1;
		}

		95% {
			transform: scale(1.6);
			opacity: 0.8;
		}

		100% {
			transform: scale(1.6);
			opacity: 0;
		}
	}

	#slide {
		height: 580px;
	}

	@media screen and (max-width: 700px) {
		#slide {
			height: 800px;
		}
		.flexslider {
			height: 580px !important;
			padding-bottom: 170px;
		}

		.flexslider ul.slides li {
			height: 890px !important;
		}
		.slide_btn {
			max-width: 550px;
		}
		.slide_btn li {
			width: 48%;
			margin-bottom: 0px;
		}
	}

	@media screen and (max-width: 580px) {
		.sns {
			width: 130px;
		}

		.bg_gray,
		.bg_white {
			padding: 8% 0 4%;
		}
		#slide {
			height: 700px;
		}
	}

	@media screen and (max-width: 480px) {
		#slide {
			padding-bottom: 30px;
			margin-bottom: 60px;
			height: 660px;
		}

		.flexslider ul.slides li {
			height: 780px !important;
		}
	}

	@media screen and (max-width: 420px) {
		#slide {
			padding-bottom: 0px;
		}

		.flexslider {
			height: 580px !important;
			padding-bottom: 70px;
		}

		.flexslider ul.slides li {
			height: 650px !important;
		}
	}

	@media screen and (max-width: 400px) {
		#slide {
			height: 580px;
		}
		.sns {
			width: 100px;
			top: 10px;
		}
	}

	@media screen and (max-width: 360px) {
		.flexslider {
			height: 540px !important;
			padding-bottom: 70px;
		}

		.flexslider ul.slides li {
			height: 610px !important;
		}
	}

	@media screen and (max-width: 340px) {
		#slide {
			height: 500px;
		}
	}
}
