@charset "utf-8";
/* CSS Document */

/*================================================================================
		共通
================================================================================*/

/*-------------------- エリアから探す --------------------*/
.tab_area {
	width: 94%;
	margin: 2% auto 8%;
	display: none;
}
.tab_area.active {display: block;}
.tab_area .box_area .base_prod {margin-bottom: 0;}
/* 画像テキスト */
.wrap_ib {position: relative;}
.wrap_ib a {display: block;}
.wrap_ib a:hover {opacity: .8;}
.wrap_ib a img:hover {opacity: 1;}

.wrap_ib .wrap_b {
	position: absolute;
	width: 100%;
	bottom: 0;
	background: linear-gradient(transparent, #262626 50%);
	padding: 6px 10px 3px;
	color: #fff;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.wrap_ib .wrap_b .b_hotel {
	font-size: 2rem;
	font-weight: bold;
}
.wrap_ib .wrap_b .b_detail {
	font-size: 1.2rem;
	padding: 0 8px 0 5px;
	margin-left: auto;
	position: relative;
}
.wrap_ib .wrap_b .b_detail::before {
	position: absolute;
	content: "";
	width: 5px;
	height: 5px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	transform: rotate(45deg);
	top: 50%;
	right: 0;
	margin-top: -2px;
}

/* タブ */
.wrap_tab_btn {
	position: relative;
}
/* .wrap_tab_btn::before {
	position: absolute;
	content: "";
	bottom: 0;
	width: 100%;
	border-bottom: 2px solid #5c4928;
} */
.wrap_tab_btn .inner_tab_btn {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	padding: 0 3%;
	margin: auto;
}

.wrap_tab_btn .tab_btn:nth-of-type(4n) {
	margin-right: 0;
}

/* .wrap_tab_btn .tab_btn.active::before,
.wrap_tab_btn .tab_btn.active::after {
	position: absolute;
	content: "";
	display: block;
} */

/* .wrap_tab_btn .tab_btn.active::after {
	width: calc(100% - 4px);
	height: 4px;
	bottom: -1px;
	left: 2px;
	background: #fff;
} */
.wrap_tab_btn .tab_btn:hover {
	cursor: pointer;
	opacity: .8;
}
.wrap_tab_btn .tab_btn.active:hover {
	cursor: auto;
	opacity: 1;
}
/* 5個以上の時 */
.wrap_tab_btn .tab_btn:nth-of-type(n+5) {margin-top: 6px;}
/* 2個の時 */
.wrap_tab_btn .tab_btn:first-child:nth-last-child(2),
.wrap_tab_btn .tab_btn:first-child:nth-last-child(2) ~ .tab_btn {
	width: calc(100%/2 - 5px);
}
/* 3個の時 */
.wrap_tab_btn .tab_btn:first-child:nth-last-child(3),
.wrap_tab_btn .tab_btn:first-child:nth-last-child(3) ~ .tab_btn {
	width: calc(100%/3 - 5px);
}
/* 5 & 6個の時 */
.wrap_tab_btn .tab_btn:first-child:nth-last-child(5),
.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn,
.wrap_tab_btn .tab_btn:first-child:nth-last-child(6),
.wrap_tab_btn .tab_btn:first-child:nth-last-child(6) ~ .tab_btn {
	width: calc(100%/3 - 5px);
}
/* 5個の時 */
.wrap_tab_btn .tab_btn:first-child:nth-last-child(5),
.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn:nth-of-type(-n+2) {width: calc(100%/2 - 5px);}
.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn:nth-of-type(3),
.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn:nth-of-type(4) {margin-top: 6px;}
.wrap_tab_btn .tab_btn:first-child:nth-last-child(5)::after,
.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn:nth-of-type(-n+2)::after {display: none;}
/* 6個の時 */
.wrap_tab_btn .tab_btn:first-child:nth-last-child(6) ~ .tab_btn:nth-of-type(4) {margin-top: 6px;}
.wrap_tab_btn .tab_btn:first-child:nth-last-child(6)::after,
.wrap_tab_btn .tab_btn:first-child:nth-last-child(6) ~ .tab_btn:nth-of-type(-n+3)::after {display: none;}
/* 7個の時 */
.wrap_tab_btn .tab_btn:first-child:nth-last-child(7),
.wrap_tab_btn .tab_btn:first-child:nth-last-child(7) ~ .tab_btn:nth-of-type(-n+3) {width: calc(100%/3 - 5px);}
.wrap_tab_btn .tab_btn:first-child:nth-last-child(7) ~ .tab_btn:nth-of-type(4) {margin-top: 6px;}
.wrap_tab_btn .tab_btn:first-child:nth-last-child(7)::after,
.wrap_tab_btn .tab_btn:first-child:nth-last-child(7) ~ .tab_btn:nth-of-type(-n+3)::after {display: none;}
/* 8個の時 */
.wrap_tab_btn .tab_btn:first-child:nth-last-child(8)::after,
.wrap_tab_btn .tab_btn:first-child:nth-last-child(8) ~ .tab_btn:nth-of-type(-n+4)::after {display: none;}

/*--------------------------------------------------------------------------------
		PC調整
--------------------------------------------------------------------------------*/
@media screen and (min-width: 768px) {	
	/*-------------------- エリアから探す --------------------*/
	.tab_area {width: 100%; margin: 20px auto 40px;}

	/* タブ */
	.wrap_tab_btn .inner_tab_btn {
		-webkit-flex-wrap: nowrap;
		flex-wrap: nowrap;
		width: 1000px;
		padding: 0 10px;
	}
	.wrap_tab_btn .tab_btn {
		height: auto;
		padding: 10px;
		font-size: 1.6rem;
	}
	/* 5個以上の時 */
	.wrap_tab_btn .tab_btn:nth-of-type(n+5) {margin-top: 0;}
	/* 5個の時 */
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(5),
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn,
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn:nth-of-type(-n+2) {width: calc(100%/5 - 5px);}
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn:nth-of-type(3),
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn:nth-of-type(4) {margin-top: 0;}
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(5)::after,
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(5) ~ .tab_btn:nth-of-type(-n+2)::after {display: block;}
	/* 6個の時 */
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(6),
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(6) ~ .tab_btn {width: calc(100%/6 - 5px);}
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(6) ~ .tab_btn:nth-of-type(4) {margin-top: 0;}
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(6)::after,
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(6) ~ .tab_btn:nth-of-type(-n+3)::after {display: block;}
	/* 7個の時 */
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(7),
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(7) ~ .tab_btn,
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(7) ~ .tab_btn:nth-of-type(-n+3) {width: calc(100%/7 - 5px);}
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(7) ~ .tab_btn:nth-of-type(4) {margin-top: 0;}
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(7)::after,
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(7) ~ .tab_btn:nth-of-type(-n+3)::after {display: block;}
	/* 8個の時 */
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(8),
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(8) ~ .tab_btn {width: calc(100%/8 - 5px);}
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(8)::after,
	.wrap_tab_btn .tab_btn:first-child:nth-last-child(8) ~ .tab_btn:nth-of-type(-n+4)::after {display: block;}
	
	.tab_area .box_area {margin: 0 10px;}
}

/*--------------------------------------------------------------------------------
		PC調整
--------------------------------------------------------------------------------*/
@media screen and (min-width: 768px) {
  /* ここから追加 PCのみ*/
  .wrap_tab_area > div {
    display: flex;
  }
  .tab_area > div {
    width: 100%!important;
  }
  .tab_area .box_area {
    display: flex;
		align-items: center;
		margin: 16px 10px;
		background-color: #fff;
  } 
	.award_txt {
		padding: 0 2rem 5rem;
		margin: 0 auto;
	}
}


/* ここから追加 SPのみ*/
@media screen and (max-width: 767px) {
	.award_txt {
		padding: 0 2rem 5rem;
		margin: 0 auto;
	}
}


/*---- 追加共通 ----*/
.wrap_tab_area .tab_area .box_area, .wrap_tab li, .base_prod.bdr li {
	border: none;
	background-color: #fff;
}
.wrap_tab_area, #ttl_hakodate, .wrap_tab, #area>div {
	background-color: #e7f4ff;
}
.award_txt {
	max-width: 1000px;
	padding-bottom: 5rem;
	margin: 0 auto;
}
.wrap_tab_btn .tab_btn.active::before {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border: 2px solid #cba719;
}
.wrap_tab_btn .tab_btn.active {
	background: #cba719;
	color: #fff;
	z-index: 20;
	position: relative;
}
.tab_area .box_area {
	background-color: #fff;
}

.wrap_tab_btn .tab_btn {
	width: calc(100%/4 - 5px);
	height: 4em;
	text-align: center;
	padding: 5px;
	background: #fff;
	color: #cba719;
	font-size: 1.5rem;
	font-weight: bold;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	border-radius: 0;
}
.wrap_tab_area {
	width: 94%;
	margin: 0 auto;
	border: solid 3px #cba719;
}
#ttl_hakodate h2 img {
	width: 78%;
	margin: 0 auto;
}
.box_area {
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.25)
}