﻿video {
	vertical-align: bottom;
}

#header h1 img.width_200-max_sp {
	max-width: 174px;
}
@media(min-width: 769px) {
	.font_14 {
		font-size: 16px;
	}
}
/* ------------img -----------------------*/
header {
	background: url(Dup/img/tori1.png) no-repeat left calc( 50% + 130px ) top 20px;
    background-size: 150px auto;
}
#top_cms1 {
background: url(Dup/img/tori2.png) no-repeat left 20% bottom 20px;
    background-size: 145px auto;
}
#contents_links {
    background: url(Dup/img/tori3.png) no-repeat left calc( 50% ) bottom 0px;
    background-size: 600px auto;
}
@media(max-width: 667px) {
	header {
    background: url(Dup/img/tori1.png) no-repeat left calc( 50% + 105px ) top 17px;
    background-size: 95px auto;
}
	#top_cms1 {
    background: url(Dup/img/tori2.png) no-repeat left 12% bottom 52px;
    background-size: 90px auto;
}
	#contents_links {
    background: url(Dup/img/tori3.png) no-repeat left calc( 4% ) bottom 0px;
    background-size: 465px auto;
}
}
/*--------------------------------------------------------*/
header nav li a span.txt_color_nomal {
	display: none;
}
header nav li a:before {
    width: 100%;
    height: 53px;
    background-repeat: no-repeat;
    background-position: left 50% bottom 0;
    background-size: 53px auto;
	content: "";
    display: block;
	transition: all 0.3s;
}
header nav li a:hover:before {
    width: 100%;
    height: 53px;
    background-repeat: no-repeat;
    background-position: left 50% bottom 0px;
    background-size: 53px auto;
	content: "";
    display: block;
}
header nav li:nth-of-type(1) a:before {
    background-image: url(Dup/img/icon01.png);
}
header nav li:nth-of-type(2) a:before {
    background-image: url(Dup/img/icon02.png);
}
header nav li:nth-of-type(3) a:before {
    background-image: url(Dup/img/icon03.png);
}
header nav li:nth-of-type(4) a:before {
    background-image: url(Dup/img/icon04.png);
}
header nav li:nth-of-type(5) a:before {
    background-image: url(Dup/img/icon05.png);
}
header nav li:nth-of-type(6) a:before {
    background-image: url(Dup/img/icon06.png);
}
main {
	background: url(Dup/img/img.png) repeat-x 0 100%;
	background-size: 345px;
}
.bg_color2 {
	/*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);*/
}


#header h1 {
	margin-bottom: 10px;
}
#contents2 .grid_6 figure img {
	width: 100%!important;
}
#contact_bar .mail i {
	display: none;
}

/*下層*/
#page_title h2 {
	padding-left: 0;
}
#page08 #tel_txt {
	background-color: rgba(255,255,255,0.80)
}
#cms_5-a .box_wrap:first-of-type, #cms_5-b .cate_box .box_item {
	display: block;
}
.cate_title {
 position: relative;
  padding-bottom: .5em;
  border-bottom: 4px solid #f8b800;
border-top: 0;
}
.cate_title::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #00a0cd;
}
#cms_5-a .cate_title::after, #cms_3-e .cate_title::after {
	display: none;
}
.cate_box {/*余白調整*/
	padding-bottom: 0;
}
.cate_box .box_item {
	background: #fff;
	border-radius: 8px;
}
.box_item h4 {
	padding-top: 40px;
}
#cms_3-e .cate_title {
	padding-bottom: 5px;
	padding-left: 10px;
	border-radius: 8px;
}

#cms_5-b .cate_box .open_bt .box_title1, .cms_5-b .cate_box .open_bt .box_title1{/*Qを消す*/
	margin-left: 75px;
}
#cms_5-b .cate_box .open_bt .box_title1::before, .cms_5-b .cate_box .open_bt .box_title1::before {
	display: none;
}
#cms_5-b .cate_box .box_item, .cms_5-b .cate_box .box_item {
	border-radius:  0 0 8px 8px;
	border-top: 0;
}
@media screen and (max-width: 667px){
#contents2 .font_16_sp, #intro .font_16_sp, #contents3 .font_16_sp {
    font-size: 18px;
	font-weight: bold;
}
#cms_2-a .cate_box {
	margin-top: 20px;
}
#page08 #tel_txt > .d_flex p{
	border-left: none;
}
#copyright {
    padding-left: 0;
}
}


@media all and (-ms-high-contrast: none) {
	#cms_5-b h3 {
		padding-bottom: 5px;
	}
	#page09 a {
		padding-top: 1px;
	}
	.more a {
		padding-top: 7px;
	}
	}