﻿#page_title .title_img {
    background-position: calc(50%) calc(50% + 30px);
 }
.tel_bt a, .foot_tel_bt a {
    display: none;
}
.t_banner {
    z-index: 99;
    position: absolute;
    width: 100%;
    height: auto;
    right: 1%;
    bottom: -44px;
    transition: 0.3s;
    max-width: 230px;
}
.t_banner img {
    object-fit: contain!important;
    position: static!important;
    min-height: auto!important;
}
.fat-nav li:nth-of-type(11) {
    display: none;
}
@media(max-width: 768px) {
.t_banner {
    right: 1%;
    bottom: -23px;
    max-width: 190px;
}
}
@media(max-width: 667px) {
	.t_banner {
       width: 27%;
    bottom: 0px;
    left: 0;
    max-width: 224px;
    position: fixed;
}
	#copyright {
		margin-left: 90px;
	}
}


#main_img h2 {
	text-shadow: 0 4px 5px rgba(0,0,0,0.6);
	font-size: 24px;
}

#top_cms section:nth-child(4) {
	/*background-image: url(Dup/img/tori.png)!important;
	background-repeat: no-repeat!important;
	background-position: top 0px right 0px!important;
	background-size: 120px auto!important;*/
}

header {
	/*background-image: url(Dup/img/hane.png)!important;
	background-repeat: no-repeat!important;
	background-position: bottom 40px left calc(50% - 25px)!important;
	background-size: 80px auto!important;*/
	background-color: rgba(170, 243, 253, 0.72)!important;
}

.txt_shadow-b {
    text-shadow: none;
}

#main_menu ul li a::before {
    height: 2px;
}

#contents1, #contents2, #contents3, footer, article {
	min-width: inherit!important;
}

/*-----------------------------------------------------------*/
footer {
	padding-top: 25%!important;
	background-image: url(Dup/img/tori_bg.png)!important;
	background-repeat: no-repeat!important;
	background-position: top 0px right 0px!important;
	background-size: 85% auto!important;
}
@media(max-width: 667px) {
	footer {
		padding-top: 30%!important;
	}
}
/*---------------------banner-----------------*/
.banner_box {
	max-width: 500px;margin: 30px auto 0;justify-content: space-between;
}
.banner_box.ptn1 {
		justify-content: center;
	}
.banner_box div {
	margin-bottom: 40px;
	width: 48%;
}
.banner img {
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

@media all and (-ms-high-contrast: none) {
	#page8 #contact_tel .fas {
		line-height: inherit;
	} 
}






@media(max-width: 667px) {
	.banner_box {
		display: block;margin-bottom: 30px;
	}
	.banner_box div + div {
		margin-top: 15px;
	}
	.banner_box div {
	width: 50%;
		margin-right: 0;margin-left: 0;margin: auto;
} 
}
/**/
/*------------hamburger-------------*/
.fat-nav li {
    font-size: 15px;
}

/*------メールアイコン-------*/
.head_box .contact_bt i{
	display: none;
}
/*----------------------*/


/*--------------------------------*/
.link_box ul {
	justify-content: center;
}
.link_box ul li{
	margin: 0 10px;
}
.link_box .grid_1 {
    width: 9%!important;
}
/*--------------------------------*/
#cms_2-a h3 {
	border-top: inherit;
  border-bottom: solid 3px #8EF1FF;
  position: relative;
	padding-left: 0;
}
#cms_2-a h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #ffc778;
  bottom: -3px;
  width: 30%;
}

#cms_2-a h4 {
	padding: 0.5em;
  	background: #f4feff;
	margin-bottom: 20px;
}
#cms_2-a .box_item {
	padding-left: 0;
}
#cms_2-a .cate_box {
	padding-bottom: 0;
}

#cms_2-a .cate_box .box_item p{
	padding-bottom: 0;
}
#cms_2-a .cate_box .box_item p + p{
	padding-bottom: 5%;
}
#cms_2-a .cate_wrap {
	margin-top: 70px;
}
#cms_3-e .sub_cate_title:empty {
	border: none;
}

/*----------------gnav-----------------*/
@media screen and (max-width: 768px){
.main_box {
      /*padding-top: 99px;*/
}
.width_200-max_tb {
    max-width: 145px;
}
}
@media screen and (max-width: 667px){
	
.width_150-max_sp {
    width: 100%;
    max-width: 110px;
}

.main_box {
    /*padding-top: 73px;*/
	}
}





/* modal */
.modal_bt{
  cursor: pointer;
}
.modal_bg{
   top: 0;left: 0;
   background-color: rgba(0,0,0,0.8);
   z-index: 10001;
}
.modal_box{
   max-height: 80%;
   overflow-y: auto;
   z-index: 10002;
}
.close_bt{
  cursor: pointer;
  max-width: 300px;
  margin: 0 auto;
}
.point_eve{
  pointer-events: none;
}
.point_eve a{
  color: #9a9a9a;
  background: #f6f6f6;    
  border: 1px solid #f6f6f6;
}
.end_bt{
  color: #9a9a9a;
  cursor: pointer;
  text-decoration: underline;
}
.kiyaku_box{
  font-size: 14px;
  color: #666666;
  border: 1px solid #cccccc;
  max-height: 300px;
  overflow: auto;
}
.kiyaku_box ul{
  list-style: disc;
  padding-left: 15px;
}
.kiyaku_box ul li{
  margin-bottom: 5px;
}
@media screen and (max-width: 667px){
  .modal_box{
     max-height: 90%;
     overflow-y: auto;
     z-index: 1002;
  }
}
@media all and (-ms-high-contrast:none) {
  .close_bt a{
    padding-top: 18px;
    padding-bottom: 12px;
  }
	header .yoyaku_bt span {
		padding: 18px 0 12px;
	}
}