@charset "utf-8";
/* CSS Document */

html {
font-size: 16px;
} 
.font-xs {
font-size: 0.8rem;
}
.font-small {
font-size: 0.9rem;
}
.font-large {
font-size: 1.1rem;
}
a:link {
color:#333;
text-decoration:none;	
}
a:visited {
	color:#333;
	text-decoration:none;	
}
a:hover {
color:#666;
text-decoration:none;
}
a:active {
color:#333;
text-decoration:none;	
}
.container {
max-width: 1024px;
}
.bg-light {
background-color: #ffe5e5!important;
}
.navbar {
padding: .2rem 1rem;
background-color:#333;
}
.navbar-dark .navbar-nav .nav-link {
color:#fff;
}
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
color:#D5D5D5;
}
.y-menu .list-inline-item::after {
content: "|";
margin-left: 0.5rem;
}
.y-menu .list-inline-item:last-child::after  {
content: "";
margin-left: 0;
}
.f-menu_navi {
margin-bottom: 1rem;
padding-bottom: 0.5rem;
font-size: 1rem;
font-weight: bold;
border-bottom: 1px solid #ccc;
}
h2{
font-size: 1.8rem;
text-align: center;
position: relative;
padding-bottom: 0.5em;
}
h3{
font-size: 1.4rem;
text-align: center;
margin-top: 1rem;
margin-bottom: 2rem;
}
h3 span{
position: relative;
display: inline-block;
width: 100%;
padding-bottom:0.5em;
border-bottom: 1px solid black;
}
h3 span::before,
h3 span::after {
position: absolute;
top: 100%;
left:50%;
transform:translateX(-50%);
content: '';
border: 10px solid transparent;
}
h3 span::before {
border-top: 10px solid black;
}
h3 span::after {
margin-top: -1px;
border-top: 10px solid white;
}
#h-footer a:link {
color:#000099;
text-decoration:underline;
}


@media screen and (max-width: 420px) {
h2{
font-size: 1.2rem;
}
h3{
font-size: 1rem;
text-align: center;
margin-top: 1rem;
margin-bottom: 2rem;
}
}

h4{
font-size: 1.0rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
h5{
text-align: right;
font-size: 1.0rem;
color: #DD2225;
}
.list-group-item {
padding: .5rem .5rem;
}

.sf-iframe {
  position: relative;
  width: 100%;
  padding-top: 43%;
}
.sf-iframe iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

/* 省略1行 */
.ellipsis {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/* 省略2行 */
.ellipsis2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;  
overflow: hidden;
}
/* 省略３行 */
.ellipsis3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;  
overflow: hidden;
}

/* ------------------------------
 ScrollUp 
------------------------------ */

#scrollUp {
	bottom: 0px;
	right: 30px;
	width: 70px;
	height: 70px;
	margin-bottom: -10px;
	padding: 10px 5px;
	font-family: sans-serif;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
	color: #828282;
	-webkit-box-shadow: 0 0px 2px 1px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0px 2px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0px 2px 1px rgba(0, 0, 0, 0.2);
	background-color: #E6E6E6;
	background-image: -moz-linear-gradient(top, #EBEBEB, #DEDEDE);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#EBEBEB), to(#DEDEDE));
	background-image: -webkit-linear-gradient(top, #EBEBEB, #DEDEDE);
	background-image: -o-linear-gradient(top, #EBEBEB, #DEDEDE);
	background-image: linear-gradient(to bottom, #EBEBEB, #DEDEDE);
	background-repeat: repeat-x;
	-webkit-transition: margin-bottom 150ms linear;
	-moz-transition: margin-bottom 150ms linear;
	transition: margin-bottom 150ms linear;
}
	#scrollUp:hover {
		margin-bottom: 0px;
	}		



/* ------------------------------*/
#data11,#data12,#data13,#data14,#data15,#data16{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.photo_layout5:nth-child(1),.photo_layout5:nth-child(2)
{
padding-bottom: 1.5rem!important;
padding-right: 15px;
padding-left: 15px;
-webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.photo_layout5:nth-child(3),.photo_layout5:nth-child(4),.photo_layout5:nth-child(5){
padding-right: 15px;
padding-left: 15px;
-webkit-box-flex: 0;
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.photo_w{width:80%}

.banner1{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;
    min-height: 1px;
    margin-bottom: 1.22%;
}

.banner2
{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 49.4%;
        position: relative;
    width: 100%;
    min-height: 1px;
    margin-bottom: 1.25%;
    
}

.banner3{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 32.5%;
        position: relative;
    width: 100%;
    min-height: 1px;
    margin-bottom: 1.25%;
}

#csv12,#csv11{
    padding: 0 15px;
    justify-content: space-between;
}
   
@media (max-width: 768px){
    .photo_w{
        width:100%
    }
    .banner1{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;
    min-height: 1px;
    margin-bottom: 2%;
}

.banner2{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;
    min-height: 1px;
    margin-bottom: 2%;
}

.banner3{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 49%;
    position: relative;
    width: 100%;
    min-height: 1px;
    margin-bottom: 2%;
}



}


