<style>
	.detail-sheet__img img {
		border: 1px solid #EDB35D;
	}

	#slide.swiper-wrapper.swiper-slide-active {
		border: none;
	}
</style>
<section class="detail-sheet" data-id="1">
	<div class="detail-sheet__title">
		<div class="detail-sheet__tag-land">土地</div>
		<h1 class="detail-sheet__name">日野{{$id}}（上永谷駅） 土地</h1>
	</div>
	<div class="detail-sheet__info">
		<div class="detail-sheet__price">
			物件価格 <span><strong data-price="3280">3,280</strong>万円</span>
		</div>
		<a href="loan" class="detail-sheet__link" target="_blank">
			<i class="fas fa-calculator"></i> ローンシミュレーション
		</a>
		<a href="/buy/abc/1234/print" class="detail-sheet__link detail-sheet__link-print">
			<i class="fas fa-print"></i> このページを印刷する
		</a>
	</div>
	<div class="detail-sheet__address">
		所在地：<span data-location="横浜市港南区〇〇町">横浜市港南区〇〇町</span>
	</div>
	<div class="detail-sheet__address">
		交通：<span data-intro="JR〇〇線「〇〇」駅　徒歩5分">JR〇〇線「〇〇」駅　徒歩5分</span>
	</div>
	<ul class="detail-sheet__outline">
		<li><span>土地面積：</span><span data-landArea="100">100㎡</span></li>
		<li><span>建物面積：</span><span data-buildingArea="100">100㎡</span></li>
		<li><span>間取り：</span><span data-floorplan="4LDK">4LDK</span></li>
		<li><span>築年月：</span><span data-timetostation="1994年5月築">1994年5月築</span></li>
		<li><span>階数：</span>1階／3階建</li>
		<li><span>建築条件：</span>付</li>
	</ul>
	<div class="detail-sheet__copy" data-title="■各居室収納付きのゆとりある５ＬＤＫの間取り！ ■前道幅員１２ｍあり広々しています">
		■各居室収納付きのゆとりある５ＬＤＫの間取り！ ■前道幅員１２ｍあり広々しています
	</div>

	<div id="myCarousel" class="carousel slide detail-sheet__img" data-ride="carousel">
		<!-- Indicators -->
		<!--<ol class="carousel-indicators">
      <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
      <li data-target="#myCarousel" data-slide-to="1"></li>
      <li data-target="#myCarousel" data-slide-to="2"></li>
	  <li data-target="#myCarousel" data-slide-to="3"></li>
    </ol>-->

		<!-- Wrapper for slides -->
		<!--<div class="row">
		<div class="col-md-12" id="slider">
			<div class="col-md-12" id="carousel-bounding-box">
			  <div id="my" class="carousel slide"> 
				<div class="carousel-inner">
				  <div class="active item" data-slide-number="1">
					
					<img src="{{root('img/buy/kukaku.jpg')}}" class="img-responsive" style="height:400px"> 
				  </div>
				  <div class="item" data-slide-number="2"> 
					
					<img src="{{root('img/top/bukken.jpg')}}" class="img-responsive" style="height:400px"> 
				  </div>
				  <div class="item" data-slide-number="3"> 
					
					<img src="{{root('img/buy/search-school.jpg')}}" class="img-responsive" style="height:400px"> 
				  </div>
				  <div class="item" data-slide-number="4"> 
					
					<img src="{{root('img/buy/search-favo.jpg')}}" class="img-responsive" style="height:400px"> 
				  </div>
				</div>
				
				<a class="carousel-control left" style="padding: 200px 0;" href="#myCarousel" data-slide="prev">‹</a> 
				<a class="carousel-control right" style="padding: 200px 0;" href="#myCarousel" data-slide="next">›</a> 
			  </div>
			</div>
		</div>
	</div> -->


		<!--<div class="detail-sheet__img">
        <div class="detail-sheet__prev"><i class="fas fa-chevron-left"></i></div>
        <div class="detail-sheet__next"><i class="fas fa-chevron-right"></i></div>
				
				<img src="{{root('img/buy/kukaku.jpg')}}" alt="">
    </div>-->

		<!--<div class="clear" /> &nbsp;</div>
	<div class="clear" /> &nbsp;</div>
	<div class="clear" /> &nbsp;</div>
	
	<div class="row slide-thumb" style="padding-top: 40px; text-align:center">
		<div class="col-md-12 hidden-sm hidden-xs" id="slider-thumbs"> 
		  <ul class="list-inline">
			<li> 
				<a id="carousel-selector-1" class="carousel-selector selected" onclick="clickThumbSlide(this)">
				
					
				<img src="{{root('img/top/list1.jpg')}}" class="img-responsive" style="width:120px;height:120px;overflow:hidden"> 
				
				</a>
			</li>
			<li> <a id="carousel-selector-2" class="carousel-selector" onclick="clickThumbSlide(this)">
			  
				
			<img src="{{root('img/top/list1.jpg')}}" height="120px" class="img-responsive" style="width:120px;height:120px;overflow:hidden"> 
			  </a></li>
			<li> <a id="carousel-selector-3" class="carousel-selector" onclick="clickThumbSlide(this)">
				
			<img src="{{root('img/top/list1.jpg')}}" class="img-responsive" style="width:120px;height:120px;overflow:hidden"> 
			  </a></li>
			<li> <a id="carousel-selector-4" class="carousel-selector" onclick="clickThumbSlide(this)">
			 
			<img src="{{root('img/top/list1.jpg')}}" class="img-responsive" style="width:120px;height:120px;overflow:hidden"> 
			  </a></li>
		  </ul>
		</div>
	</div>-->


		<!-- NEW SLIDER-->

		<div id="slider" class="swiper-container">
			<div class="swiper-wrapper" style="border: none;">
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img data-thumbnail="{{root('img/reform/example/test1.jpg')}}" src="{{root('img/reform/example/test1.jpg')}}" alt="">
					</div>
					<span class="caption">素材感あふれるインダストリアルな空間になりました。</span>
				</div>
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img src="{{root('img/reform/example/test2.jpg')}}" alt="">
					</div>
					<span class="caption">キャプション2</span>
				</div>
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img src="{{root('img/reform/example/test3.jpg')}}" alt="">
					</div>
					<span class="caption">キャプション3</span>
				</div>
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img src="{{root('img/reform/example/test4.jpg')}}" alt="">
					</div>
					<span class="caption">キャプション4</span>
				</div>
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img src="{{root('img/reform/example/test5.jpg')}}" alt="">
					</div>
					<span class="caption">キャプション5</span>
				</div>
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img src="{{root('img/reform/example/test1.jpg')}}" alt="">
					</div>
					<span class="caption">キャプション6</span>
				</div>
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img src="{{root('img/reform/example/test2.jpg')}}" alt="">
					</div>
					<span class="caption">キャプション7</span>
				</div>
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img src="{{root('img/reform/example/test3.jpg')}}" alt="">
					</div>
					<span class="caption">キャプション8</span>
				</div>
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img src="{{root('img/reform/example/test4.jpg')}}" alt="">
					</div>
					<span class="caption">キャプション9 </span>
				</div>
				<div class="swiper-slide">
					<div class="swiper-img-wrap">
						<img src="{{root('img/reform/example/test5.jpg')}}" alt="">
					</div>
					<span class="caption">キャプション10 </span>
				</div>
			</div>
			<div class="swiper-button-prev swiper-button-white"></div>
			<div class="swiper-button-next swiper-button-white"></div>
		</div>

		<div id="thumbs" class="swiper-container mb60">
			<div class="swiper-wrapper">
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test1.jpg')}}" alt=""></div>
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test2.jpg')}}" alt=""></div>
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test3.jpg')}}" alt=""></div>
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test4.jpg')}}" alt=""></div>
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test5.jpg')}}" alt=""></div>
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test1.jpg')}}" alt=""></div>
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test2.jpg')}}" alt=""></div>
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test3.jpg')}}" alt=""></div>
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test4.jpg')}}" alt=""></div>
				<div class="swiper-slide">
					<img src="{{root('img/reform/example/test5.jpg')}}" alt=""></div>
			</div>
		</div>
	</div>
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.0/css/swiper.min.css">
	<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.5.0/js/swiper.min.js"></script>
	<!--<script src="{{root('js/swiper.js')}}"></script>-->
	<script>
		var galleryThumbs = new Swiper('#thumbs', {
			spaceBetween: 10,
			slidesPerView: 8,
			loop: false,
			freeMode: true,
			loopedSlides: 5, //looped slides should be the same
			watchSlidesVisibility: true,
			watchSlidesProgress: true,
			slideToClickedSlide: true,
			touchRatio: 0.2,
			autoplay: 2000,
			speed: 200
		});
		var galleryTop = new Swiper('#slider', {
			spaceBetween: 10,
			loop: false,
			autoplay: {
				delay: 5000,
			},
			loopedSlides: 5, //looped slides should be the same
			navigation: {
				nextEl: '.swiper-button-next',
				prevEl: '.swiper-button-prev'
			},
			thumbs: {
				swiper: galleryThumbs,
			},
			slideChange: function(swiper){
				console.log(swiper.activeIndex)
			}
		});
		// var slider = new Swiper('#slider', {
		// 	nextButton: '.swiper-button-next',
		// 	prevButton: '.swiper-button-prev'
		// })
		// var thumbs = new Swiper('#thumbs', {
		// 	centeredSlides: false,
		// 	spaceBetween: 10,
		// 	slidesPerView: "auto",
		// 	touchRatio: 0.2,
		// 	slideToClickedSlide: true,
		// 	autoplay: 2000,
		// 	speed: 200,
		// 	on: {
		// 		progress: function() {
		// 			var swiper = this;
		// 			for (var i = 0; i < swiper.slides.length; i++) {
		// 				var slideProgress = swiper.slides[i].progress;
		// 				var innerOffset = swiper.width * interleaveOffset;
		// 				var innerTranslate = slideProgress * innerOffset;
		// 				swiper.slides[i].querySelector(".slide-inner").style.transform =
		// 					"translate3d(" + innerTranslate + "px, 0, 0)";
		// 			}
		// 		},
		// 	}
		// });
		// slider.params.control = thumbs;
		// thumbs.params.control = slider;
	</script>


	<!--<div class="detail-sheet__comment">
        コメント。コメント。コメント。コメント。コメント。
    </div>-->
	<div class="detail-sheet__points">
		<h2 class="detail-sheet__staff">スタッフのおすすめポイント</h2>
		@for ($i = 0; $i
		< 5; $i++) <p class="detail-sheet__point">物件のキャッチコピーや特徴。</p>
			@endfor
	</div>
	<!--<div class="detail-sheet__flow">
        物件概要を見る<i class="fas fa-caret-down"></i>
    </div>-->
	<div class="detail-sheet__overviews">
		<div class="hidden_box">
			<label for="label1">地図を見る<i class="fas fa-caret-down"></i></label>
			<input type="checkbox" id="label1" />
			<div class="hidden_show">
				<!--非表示ここから-->
				@include('buy/map')
				<!--ここまで-->
			</div>
		</div>

	</div>
</section>