@charset "UTF-8";

.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15%;
    font-size: 1.4em;
    color:#0c0;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    opacity: .5;
}

.carousel-control:hover, .carousel-control:focus {
    color:#0c0;
    text-decoration: none;
    opacity: .9;
}

.carousel-indicators li{
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 1px;
	text-indent: -999px;
	cursor: pointer;
	border: 1px solid #0c0;
	border-radius: 10px;
	color:#0c0;
}

.carousel-indicators .active{
	width: 12px;
	height: 12px;
	margin: 0;
	background-color:#0c0;
}

/*  pc  */
@media (min-width: 1200px) {
	.carousel-inner {
		height: 200px;
	}

	.carousel-inner > .item > img{
		width: 50%;
		display: block;
		height: 100%;
		max-width: 100%;
		line-height: 1;
	}

	#slider .carousel-caption {
	    right: 15%;
	    bottom: 15%;
	    left: 15%;
	    z-index: 10;
	    padding-top: 20px;
	    padding-bottom: 20px;
	}

	#slider .item .carousel-caption img {
		width: 35%;
		margin: 0 0 25px 0;
	}
	
	.ruby_flag #slider .item .carousel-caption img {
		width: 35%;
		margin: 0 0 20px 0;
	}

	#slider .carousel-caption p{
		font-size: 1.4em;
		margin-top: 0;
		color: #000;
		text-align: left;
	}

	#slider .naiyou {
	    position: absolute;
	    right: 15%;
	    top: 5%;
	    left: 55%;
	    z-index: 10;
	    padding-top: 20px;
	    padding-bottom: 20px;
	}

	#slider ul.naiyou li{
		font-size: 1.4em;
		line-height: 1.8;
	}
}

/*  TB	*/
@media screen and (min-width: 768px) and (max-width: 1200px) {
	.carousel-inner {
		height: 250px;
	}
	
	.carousel-inner > .item > img{
		width: 50%;
		display: block;
		height: 100%;
		max-width: 100%;
		line-height: 1;
	}

	#slider .carousel-caption {
	    right: 15%;
	    bottom: -5%;
	    left: 15%;
	    z-index: 10;
	    padding-top: 20px;
	    padding-bottom: 20px;
	}

	#slider .item .carousel-caption img {
		width: 35%;
		margin: 0 0 -10px 0;
	}
	
	.ruby_flag #slider .item .carousel-caption img {
		width: 35%;
		margin: 0 0 -15px 0;
	}

	#slider .carousel-caption p{
		font-size: 1.2em;
		margin-top: 20px;
		color: #000;
		text-align: left;
	}

	#slider .naiyou {
	    position: absolute;
	    right: 15%;
	    top: 5%;
	    left: 55%;
	    z-index: 10;
	    padding-top: 20px;
	    padding-bottom: 20px;
	}

	#slider ul.naiyou li{
		font-size: 1.4em;
		line-height: 1.8;
	}
}

/*  SP	*/
@media screen and (max-width: 767px) {
	.carousel-indicators {
    position: absolute;
    bottom: -30px;
    left: 50%;
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;
	}
	
	.carousel-inner {
		height: 360px;
	}
	
	.carousel-inner > .item > img{
		width: 100%;
		display: block;
		height: 100%;
		max-width: 100%;
		line-height: 1;
	}

	#slider .carousel-caption {
		position: absolute;
		right: 15%;
		bottom: -5%;
		left: 15%;
		z-index: 10;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	#slider .item .carousel-caption img {
		width: 70%;
		margin: 0 0 -8px 0;
	}
	
	#slider .carousel-caption p{
		font-size: 1em;
		margin-top: 20px;
		color: #000;
		text-align: left;
	}

	#slider .naiyou {
		position: absolute;
		right: 15%;
		top: 100%;
		left: 10%;
		z-index: 10;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	#slider ul.naiyou li {
		font-size: 1.2em;
		line-height: 1.2;
	}

	.ruby_flag {
		#slider .item .carousel-caption img {
			width: 70%;
			margin: 0 0 -15px 0;
		}
	
		#slider ul.naiyou li {
			font-size: 1.2em;
			line-height: 1.6;
		}
	} 
}
