@charset "UTF-8";

/* ==================================================
================================================== */

[id="global_footer"]{
	margin-top: 0; 
}

@media screen and (min-width: 768px) {
a img:hover{
filter:alfa(opacity=70);
opacity:0.7;
-ms-filter:"alpha(opacity=70)";
zoom:1;
transition: all  0.3s ease;
}
}

/*トップカルーセル 右クリック禁止*/
.swiper-slide img{
  -webkit-touch-callout:none;
user-select:none;
}

/*共通*/
@media screen and (min-width: 768px) {
#contents_top {
	margin-top: 40px
}
.main_contents,
.sec_top1,
.sec_top2,
.sec_top3 {
	margin-bottom:50px;
}
}
@media screen and (max-width: 767px) {
#contents_top {
	margin-top: 20px
}
.main_contents,
.sec_top1,
.sec_top2,
.sec_top3 {
	margin-bottom:30px;
}
}

/*maintit_area*/
.maintit_area h2 {
    color: #707070;
    text-align: center;
    font-weight: 500;
}
@media screen and (min-width: 768px) {
.maintit_area h2 {
	font-size: 2.8rem;
	margin: 20px 0;
}
.maintit_area h2 br {
	display: none;
}
.maintit_area h1 {
	max-width: 800px;
	width: 90%;
	height: auto;
	margin: 10px auto;
}
.maintit_area p {
	max-width: 400px;
	height: auto;
	margin: 20px auto;
}
}
@media screen and (max-width: 767px) {
.maintit_area h2 {
	font-size: 1.7rem;
	margin: 14px 0 10px;
}
.maintit_area h1 {
	width: 90%;
	height: auto;
	margin: 0 auto;
}
.maintit_area p {
	width:58%;
	height: auto;
	margin: 10px auto 14px;
}
}

/*news*/
.news_wrap {
	background: #f5f5f5;
}
.news_wrap ul li {
	border-bottom: 1px #666666 solid;
	margin: 0 0 10px;
}
.news_wrap span {
	display: inline-block;
	margin-right: 5px;
}
.news_wrap span.category {
	background: #000;
	color: #fff;
}
.news_wrap span.cate_red {
	background: #e50012;
	color: #fff;
}
.news_wrap span.number {
	background: #999999;
	color: #fff;
	padding: 3px 6px;
	font-size: 1.0rem;
	width: auto !important;
}



.news_wrap span.date_txt {
    color: #000;
    border: 1px solid #000;
	border-radius: 4px;
    box-sizing: border-box;
    padding: 2px 2px 2px 4px;
    margin-left: 0;
	font-size: 1.0rem;
	width: auto !important;
}



.news_wrap p a {
	text-decoration: underline;
}
.news_wrap .btn {
	float: right;
}
@media screen and (min-width: 768px) {
.sec_news {
	margin: 0 0 30px;
}
.news_wrap {
	padding: 12px 16px;
}
.news_wrap span.date {
	font-size: 1.2rem;
}
.news_wrap span.category {
	font-size: 1.0rem;
	padding: 3px 6px;
}
.news_wrap p,
.news_wrap p.txtfield {
	font-size: 1.3rem;
	margin: 6px 0 0;
	padding: 0 0 10px;
}
.news_wrap .btn {
	font-size: 1.2rem;
}
}

@media screen and (max-width: 767px) {
.sec_news {
	margin: 0 0 16px;
}
.news_wrap {
	padding: 18px 3%;
}
.news_wrap span.date {
	font-size: 1.3rem;
}
.news_wrap span.category {
	font-size: 1.1rem;
	padding: 3px 6px;
}
.news_wrap p.txtfield {
	font-size: 1.4rem;
	margin: 6px 0 0;
	padding: 0 0 10px;
}
.news_wrap .btn {
	font-size: 1.3rem;
}
}
/*widget*/
@media screen and (min-width: 768px) {
.sp_sns_btn {
	display: none;
}
}
#widget li{
	width: 100%;
	height: 522px;
	max-width: 280px;
	margin: 0 0 20px;
	overflow: hidden;
}
#widget li iframe{
}
#widget li:last-child{
	border: 1px #ccc solid;
	border-radius: 10px;
	padding: 5px;
}

@media screen and (max-width: 767px) {
#widget{
	display: none;
}
.sp_sns_btn {
	display: flex;
	justify-content: space-between;
}
.sp_sns_btn li {
	width: 48%;
	font-size: 1.2rem;
}
}


/*main_contents*/
.main_contents ul li {
	border: 1px #ccc solid;
}
.main_contents ul li img {
	display: block;
}
.main_contents ul li p{
	background: #000;
	color: #fff;
	text-align: right;
	padding-top: 4px;
	padding-bottom: 4px;
}
@media screen and (min-width: 768px) {
.main_contents ul {
	display: flex;
	justify-content: space-between;
}
.main_contents ul li {
	width: 48.5%;
}
.main_contents ul li p{
	font-size: 1.3rem;
}
.main_contents ul li a:hover p {
	background: #0096df;
}
}
@media screen and (max-width: 767px) {
.main_contents {
	margin: 30px 0 ;
}
.main_contents ul li {
	margin: 0 0 14px;
}
.main_contents ul li p{
	font-size: 1.2rem;
}
}

/*sec_top1*/
.sec_top1 ul li {
	position: relative
}
.sec_top1 ul li p {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	text-shadow:1px 1px 4px #000000,-1px -1px 8px #000000;
}

@media screen and (min-width: 768px) {
.sec_top1 ul li {
	margin: 0 0 8px;
}
.sec_top1 ul li p {
	font-size: 1.5rem;
	left: 30px;
}
}
@media screen and (max-width: 767px) {
.sec_top1 ul li {
	margin: 0 0 6px;
}
.sec_top1 ul li p {
	font-size: 1.2rem;
	left: 10px;
}
}

/*sec_top2*/
.sec_top2 {
	position: relative
}
.sec_top2 ul  {
	display: flex;
	justify-content: space-between;
}
.sec_top2 ul li {
	border: 1px #ccc solid;
	display: flex;
	align-items: center;
	padding: 15px 40px;
}
.sec_top2 ul li:nth-child(2) {
	padding: 15px 28px;
}
.sec_top2 ul li:nth-child(4) {
	padding: 15px 46px;
}
.sec_top2 ul li img {
	display: block;
}
.sec_top2 p {
	text-align: right;
	font-size: 1.3rem;
}
@media screen and (min-width: 768px) {
.sec_top2 ul {
	margin: 0 0 10px;
}
.sec_top2 ul li {
	width: 24%;
}
}
@media screen and (max-width: 767px) {
.sec_top2 ul {
	flex-wrap: wrap;
}
.sec_top2 ul li {
	width: 49%;
	margin: 0 0 6px;
}
}

/*sec_top3*/
.sec_top3 div {
	background: #f5f5f5;
}
.sec_top3 div h4 a {
	color: #0096df;
}
@media screen and (min-width: 768px) {
.sec_top3 div {
	margin: 14px 0 ;
	padding: 20px 4%;
}
.sec_top3 div h3 {
	font-size: 1.5rem;
	font-weight: 700;
}
.sec_top3 div h4 {
	font-size: 3.2rem;
	color: #0096df;
	font-weight: 700;
	display: inline;
	vertical-align: middle;
}
.sec_top3 div span {
	display: inline;
	font-size: 1.4rem;
	vertical-align: middle;
	padding: 4px 0 0 10px;
}
.sec_top3 div p {
	font-size: 1.4rem;
}
}
@media screen and (max-width: 767px) {
.sec_top3 div {
	margin: 10px 0 ;
	padding: 14px 4%;
}
.sec_top3 div h3 {
	font-size: 1.4rem;
	font-weight: 700;
}
.sec_top3 div h4 {
	font-size: 2.8rem;
	color: #0096df;
	font-weight: 700;
}
.sec_top3 div span {
	display: block;
	font-size: 1.3rem;
}
.sec_top3 div p {
	font-size: 1.3rem;
	margin: 8px 0 0;
}
}


/*sec_top4*/
.sec_top4 {
	position: relative
}
.sec_top4 ul li {
	border: 1px #ccc solid;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
@media screen and (min-width: 768px) {
.sec_top4 ul {
	display: flex;
	justify-content: space-between;
	margin: 0 0 10px;
}
.sec_top4 ul li {
	width: 19%;
	padding: 12px 4px;
	font-size: 1.2rem;
}
.sec_top4 ul li img {
	width: 22px;
	height: auto;
	margin: 0 6px 0 0;
	vertical-align: middle;
}
.sec_top4 ul li a:hover {
	text-decoration: underline;
}
}
@media screen and (max-width: 767px) {
.sec_top4 ul {
	display: flex;
	flex-wrap: wrap;
}
.sec_top4 ul li {
	width: 32%;
	margin-bottom: 6px;
	padding: 8px 4px;
}
.sec_top4 ul li:nth-child(2),
.sec_top4 ul li:nth-child(5) {
	margin-right: 2%;
	margin-left:2%;
}
.sec_top4 ul li img {
	width: 20px;
	height: auto;
	margin: 0 6px 0 0;
	vertical-align: middle;
}
}

/* タブレット調整 */
@media screen and (min-width:768px) and (max-width:1025px) {
.sec_top2 ul li {
    padding: 10px 4%;
}
.sec_top2 ul li:nth-child(2) {
    padding: 10px 3%;
}
.sec_top2 ul li:nth-child(4) {
    padding: 10px 6%;

}
.sec_top4 ul li {
	padding: 4px 0.5%;
}
.sec_top4 ul li img {
	display: block;
	width: 22px;
	margin: 0 auto 3px;
}
.news_wrap span.date {
    display: block;
}


}


/*Edge*/
@supports (-ms-ime-align:auto) {

.maintit_area h1 img {
	width: 800px;
	height: auto;
}
.maintit_area p img {
	width: 370px;
	height: auto;
}

}
/* IE11 */
@media all and (-ms-high-contrast:none){

*::-ms-backdrop, .maintit_area h1 img {
	width: 800px;
	height: auto;
}
*::-ms-backdrop, .maintit_area p img {
	width: 370px;
	height: auto;
}

}
/* IE10 */
@media all and (-ms-high-contrast:none){

.maintit_area h1 img {
	width: 800px;
	height: auto;
}
.maintit_area p img {
	width: 370px;
	height: auto;
}
}
