@charset "UTF-8";
/*
*
* Flexible Content ver1.01
* Copyright (c) 2017 Codia Inc. All rights reserved.
* Description : フレキシブルコンテント用テンプレート ※編集不可！！
* Data : 2017.07.31
* 
*/

@import url(slick/slick.css);
@import url(lightbox/css/lightbox.css);
@import url(flexible-style.css);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
/*@import url(../css/font-awesome.min.css);*/

/* --- フレキシブルコンテント --- */
.row {
	position: relative;
	padding: 0 0 20px;
	margin: auto;
}
.row:before,
.row:after {  
  	content: " ";
    display: table;
} 
.row:after { 
	clear: both;
}

/* Layout */
.row .col {
    position:relative;
	width: 48%; height: auto;
	margin: auto;
}
.row .col.left {
	float: left;
}
.row .col.right {
	float: right;
}
.mix_col.left {
	margin: 0 4% 15px 0;
	max-width: 48%; height: auto;
}
.mix_col.right {
	margin: 0 0 15px 4%;
	max-width: 48%; height: auto;
}

/* Space */
.row.margin10 {
	padding: 0 0 10px;
}
.row.margin20 {
	padding: 0 0 20px;
}
.row.margin30 {
	padding: 0 0 30px;
}
.row.margin40 {
	padding: 0 0 40px;
}
.row.margin50 {
	padding: 0 0 50px;
}
.row.margin60 {
	padding: 0 0 60px;
}

/* Media */
.row img {
	display: block;
    max-width: 100%; height: auto;
	margin: auto;
}
.row .row_caption {    
    display: block;
    width: 100%;
	margin: auto;
    padding: 10px 0 0;
	color: #666666;
    font-size: 85%;
    line-height: 1.5;
}
.style_movie {
	position: relative;
    padding-bottom: 56.25%;    
    height: 0;
	overflow: hidden;
}
.style_movie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.row a[rel~="lightbox"] {
    position: relative;
    display: block; overflow: hidden;
	z-index: 1;
}
.row a[rel~="lightbox"]:before,
.row a[rel~="lightbox"]:after,
.row a[rel~="lightbox"] img {
	-webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.row a[rel~="lightbox"]:before {
    content: '+';
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,.6);
    color: #fff;   
    font-weight: normal;
    text-align: center;
    line-height: 24px;
	z-index: 10;
}
.row a[rel~="lightbox"]:after {
	content: '';
	position: absolute;
	top: 0; left: 0;
	display: block;
	width: 100%; height: 100%;
	background: rgba(255,255,255,0);
	z-index: 20;
}
.row a[rel~="lightbox"]:hover img {
	/*-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);*/
}
.row a[rel~="lightbox"]:hover:after {	
	background: rgba(255,255,255,.3);	
}

/* --- Google map --- */
.style_map {
	position: relative;
	padding-bottom: 60%;    
	height: 0;
	overflow: hidden;
}
.style_map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* File */
.row .btn_row_file {
	display:block;
    padding: 6px 12px 0 0;
    color: #0070c9;
}
.row .btn_row_file:before {
    content: '\f0f6';
    padding: 0 4px 0 0;
    font-family: 'FontAwesome';
}
.row .btn_row_file:hover {
    text-decoration: underline;
}

/* Slider */
.row_slider {
    position: relative;
    display: block; overflow: hidden;
    width: 100%; height: auto;

}
.row_slider li {
    position: relative;
    display: block;
    width: 100%; height: auto;
}
.row_slider .row_slider_caption {
    position: absolute;
    bottom: 0; left: 0;
    display: block;
    width: 100%; height: auto;
    padding: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 90%;
    text-align: center;
}
.row_slider .slick-dots {
    padding: 8px 0;
    text-align: center;
}
.row_slider .slick-dots li {
    display: inline-block;
    overflow: hidden;
    width: 16px; height: 16px;
    margin: 0 6px;
    background: #ccc;
    border-radius: 8px;
    text-indent: -9999px;
    cursor: pointer;
 }
.row_slider .slick-dots li:hover {
    background: #0070c9;
}
.row_slider .slick-dots li.slick-active {
    background: #0070c9;
}
.row_slider .slick-arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	width: 40px; height: 60px;
	background: none;
	margin-top: -30px;
	color: #fff;
	font-size: 40px;	
	line-height: 60px;	
	text-shadow: 0 2px 0 rgba(0,0,0,.8);
	transition: .2s;
	opacity: .8;
	cursor: pointer;	
}
.row_slider .slick-arrow:hover {
	opacity: 1;
}
.row_slider .slick-prev {
	left: 0;
}
.row_slider .slick-next {
	right: 0;	
}

/* Display None */
.row_none {
	display: none !important;
}

@media screen and (max-width: 767px) {
	.row {
		padding: 0 0 15px;
	}
	.style_table .col {
		width: 100% !important;
		float: none !important;
		padding: 0 0 20px;
		margin: auto;
	}
	.style_editor .col {
		width: 100% !important;
		float: none !important;
		padding: 0 !important;
		margin: 0 auto 15px;
	}
	.mix_col.left,.mix_col.right {
		width: 48%; height: auto;
	}
	.mb_one_column .mix_col {
		float: none !important;
		width: 100% !important; height: auto !important;
		max-width: 100% !important;
		margin: 0 0 15px;
	}
	.mb_one_column .col {
		float: none !important;
		width: 100% !important; height: auto !important;
		margin: 0 0 15px;
	}	
	.row.margin10 {
	padding: 0 0 7.5px;
	}
	.row.margin20 {
		padding: 0 0 15px;
	}
	.row.margin30 {
		padding: 0 0 22.5px;
	}
	.row.margin40 {
		padding: 0 0 30px;
	}
	.row.margin50 {
		padding: 0 0 37.5px;
	}
	.row.margin60 {
		padding: 0 0 40px;
	}	
}

