/*-----------------------
top
-----------------------*/

/*main image*/
.main-image {
    width: 100%;
    height: 200px;
    background: url(http://image.eikaiwa.dmm.com/assets/uknow/main_image_pc.png) bottom center #fff;
    background-size: 100% auto;
}

.main-image-txt {
	width: 450px;
	margin: 0 auto;
	padding-top: 30px;
}

.main-image-txt p {
	margin-bottom: 10px;
	font-size: 1.2em;
	font-weight:bold;
	text-align: center;
}

.main-image-txt span {
	display: block;
	margin-bottom: 15px;
	font-size: .9em;
	line-height: 1.7;
}

.main-image-link .btn-default-line {
	width: 150px;
	margin: 0 auto;
}

@media (max-width: 767px) {
	
	.main-image {
		height: 120px;
		background: url(http://image.eikaiwa.dmm.com/assets/uknow/main_image_sp.png) bottom center #fff;
		background-size: 100% auto;
	}
	
	.main-image-txt {
		width: 230px;
		padding-top: 15px;
		font-size: .7em;
	}
	
	.main-image-txt p {
		margin-bottom: 10px;
		font-size: 1.5em;
	}
	
	.main-image-txt span {
		display: none;
	}
	
	.main-image-link {
		margin-top: 5px;
	}
	
	.main-image-link .btn-default-line {
		width: 120px;
		margin: 0 auto;
	}
	
}

/*special*/
.special-pickup {
	position: relative;
	float: left;
	width: 49%;
	margin: 0 1% 0 0;
	padding: 15px 20px 20px 20px;
	background-color: #fff;
	border: 2px solid #eee;
}

.special-pickup:nth-child(2) {
	margin: 0 0 0 1%;
}

.special-pickup h2 {
	margin-bottom: 10px;
	font-size: 1.2em;
}

.special-pickup img {
	object-fit: cover;
	width: 100%;
	height: 150px;
}

.special-pickup-q {
	margin-top: 10px;
}

.special-pickup-q-img {
	width: 8%;
	float: left;
}

.special-pickup-q-img img {
	width: 100%;
	height: auto;
}

.special-pickup-q-txt {
	position: relative;
	width: 88%;
	float: right;
	padding: 5px 7px;
	background: #ffffff;
	border: 1px solid #dddddd;
	font-size: .8em;
}
.special-pickup-q-txt:after, .special-pickup-q-txt:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.special-pickup-q-txt:after {
	border-color: rgba(255, 255, 255, 0);
	border-right-color: #ffffff;
	border-width: 5px;
	margin-top: -5px;
}
.special-pickup-q-txt:before {
	border-color: rgba(221, 221, 221, 0);
	border-right-color: #dddddd;
	border-width: 6px;
	margin-top: -6px;
}

@media (max-width: 767px) {
	
	.special-pickup {
		padding: 12px;
		font-size: .9em;
	}
	
	.special-pickup h2 {
		font-size: 1.1em;
	}
	.special-pickup img {
		height: 80px;
	}
	
	.special-pickup-q {
		display: none;
	}
	
	.special-pickup-q-txt {
		font-size: .9em;
	}
}

/*tab*/
.tab {
	margin-top: 30px;
}

.tab ul li {
	display: inline;
	margin: 0 5px 0 0;
}

.tab ul li a {
	display: inline-block;
	padding: 15px 20px;
	background-color: #f6a443;
	color: #fff !important;
	font-size:.9em;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.tab ul li a:hover {
	background-color: #f68b0d;
}

.tab ul li.tab-on a, .tab ul li.tab-on a:hover {
	background-color: #fff;
	color: #000 !important;
	font-weight: bold;
}

li.tab-notification {
	position: relative;
}

.tab-notification-icon {
	position: absolute;
	top: -20px;
	right: -5px;
	width: 25px;
	height: 25px;
	background-color: #f45c00;
	color: #fff;
	border-radius:20px;
	font-size: .8em;
	line-height: 25px;
	text-align: center;
}

@media (max-width: 767px) {
	
	.tab {
		margin-top: 10px;
	}
	
	.tab ul li {
		margin: 0 2px 0 0;
	}
	
	.tab ul li a {
		padding: 10px;
		font-size:.8em;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px;
	}
	
	.tab-notification-icon {
		top: -15px;
		right: -3px;
		width: 20px;
		height: 20px;
		font-size: .7em;
		line-height: 20px;
	}
	
}

@media (max-width: 320px) {
	
	.tab ul li a {
		padding: 10px 8px;
		font-size: .7em;
	}

}