﻿/*--------リンク・フォント--------*/
.linkStyle{color: #333333; text-decoration: underline;}


/*--------全体--------*/

#main_img #catch::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_02.png) no-repeat;
    background-size: contain;
    z-index: 0;
    width: 5em;
    height: 4em;
    left: -2px;
    top: -4px;
}
#main_img #catch::after{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_03.png) no-repeat;
    background-size: contain;
    z-index: 0;
    width: 5em;
    height: 4em;
    right: -2px;
    bottom: -1px;
}
@media screen and (min-width: 1200px) and (max-width: 1450px){
#main_img #catch {
    width: 40%;
}
}
@media screen and (max-width: 1199px){
#main_img{position: relative;}
    #main_img #catch{
        width: 80%;
        min-width: 400px;
        position: static;
        transform: translateY(-30px);
        padding-top: 0px!important;
        order: 2;
    }
    #main_img #catch h2{
        width: auto;
        position: static;
        word-break: break-all;
        transform: translateY(-30px);
    }
    #main_img #catch p{padding-top: 0px;}
    #main_img .slick{margin-left: 0;}
    #main_img .slick .slick-arrow{display: none!important;}
}

#main_menu li:last-of-type a,#sc_menu li.page08_link a{
  background: #aad2da;
  background: -webkit-gradient(linear, left top, left bottom, from(#26798b), to(#85c2ce));
  background: -webkit-linear-gradient(top, #26798b 0%, #85c2ce 100%);
  background: linear-gradient(to bottom, #26798b 0%, #85c2ce 100%);
}

#main_menu li:last-of-type a:hover,#sc_menu li.page08_link a:hover {
opacity: 1;
  background: -webkit-gradient(linear, left bottom, left top, from(#26798b), to(#85c2ce));
  background: -webkit-linear-gradient(bottom, #26798b 0%, #85c2ce 100%);
  background: linear-gradient(to top, #26798b 0%, #85c2ce 100%);
}
header #header #main_menu li a img {
    width: 30px;
}
.top_cms_title h3{
    padding-top: 25px;
    padding-bottom: 25px;
}
footer #footer #footer_txt .logo {
    max-width: 200px;
}

/*--------下層--------*/
.page03 .cate_title{position:relative;}
.page03 .cate_title::before {
	background-color: #dcdcdc;
	width: 2px;
	height: calc(100% - 12px);
	position: absolute;
	top: 6px;
	left: 0;
	content: '';
}
.page03 .cate_title::after {
	background-color: #26798b;
	width: 2px;
	height: 14px;
	position: absolute;
	top: 6px;
	left: 0;
	content: '';
}
#top_cms .cms_3-e .cate_img1,
.page04 .cate_img1{height: 400px!important;}
.page04 .sub_cate_title{position:relative;}
.page04 .sub_cate_title::before {
	background-color: #fff;
	width: 2px;
	height: calc(100% - 12px);
	position: absolute;
	top: 6px;
	left: 0;
	content: '';
}
.page04 .sub_cate_title::after {
	background-color: #26798b;
	width: 2px;
	height: 14px;
	position: absolute;
	top: 6px;
	left: 0;
	content: '';
}
#cms_6-b .cate_title{
    padding-top:60px ;
    padding-bottom:60px ;
}
#cms_6-b .cate_box, #cms_6-b .cate_box .box_txt1, #cms_6-b .cate_box .box_txt2{
	border: 0;
}
#cms_6-b .cate_box:first-of-type{
	border: 0;
}
.cms_6-b .cate_box, .cms_6-b .cate_box .box_txt1, .cms_6-b .cate_box .box_txt2{
	border: 0;
}
.cms_6-b .cate_box:first-of-type{
	border: 0;
}

#cms_6-b .cate_box .box_txt1{
    border-top:1px solid #26798b;
}
#cms_6-b .cate_box .box_txt2{
    border-top:1px solid #dcdcdc;
}
#cms_6-b .cate_box:last-of-type .box_txt1{
	border-bottom:1px solid #26798b;
}
#cms_6-b .cate_box:last-of-type .box_txt2{
	border-bottom:1px solid #dcdcdc;
}

#page08 .tel_box{
    position: relative;
    overflow: hidden;
    padding: 20px 20px 20px 20px;
}
#page08 .tel_box > a:before{
    content:"";
    position: absolute;
    width:100vw;
    height:100vh;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    left:50%;
    top:50%;
}
@media screen and (max-width: 1200px){
    #page08 .tel_box p{
        display: block;
        padding-right: 0px;
        margin-right: 0px;
        border-right: none;
    }
}
@media screen and (max-width: 667px){  
#page08 .tel_box a{
    font-size: 5.3vw;
    letter-spacing: 2px;    
}
}

/*--------タブレット--------*/
@media screen and (max-width: 768px){
    
#main_img #catch h2 {
    width: initial!important;
}
#top_cms .cms_3-e .cate_img1,
#page_title .d_flex > dix{
    padding-top: 150px;
    padding-bottom: 75px;
}
.page04 .cate_img1{height: 280px!important;}
}

/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
    .loader.logo {
    width: 220px;
    }
    h1 {width: 45%;}
    h1 a {padding: 11px 30px 7px 0px;}
    h1 img {max-width: 200px;}
    #intro .box_wrap .box > div {
    width: 100%;
    margin-left: 0%;
}
#main_img #catch {
    min-width: calc(100% - 5%);
}
    #main_img #catch::before {
    width: 3em;
    height: 2em;
    left: 0px;
    top: 0px;
    }
    #main_img #catch::after {
    width: 3em;
    height: 2em;
    right: -9px;
    bottom: -2px;
}
#top_cms .cms_3-e .cate_img1{
    height: auto!important;
}
#top_cms .cms_3-e .cate_img1, #page_title .d_flex > dix {
    padding-top: 100px;
    padding-bottom: 50px;
    margin-bottom: 0px;
}
#page_title .d_flex > div{
    padding-top:50px;
    padding-bottom:50px;
}
.page04 .cate_img1 {
    height: 180px!important;
    margin-bottom: 0px;
}
#cms_6-b .cate_title {
    padding-top: 30px;
    padding-bottom: 30px;
}
#cms_6-b .cate_box:last-of-type .box_txt1 {
    border-bottom: 0;
}

#cms_6-b .cate_box:last-of-type .box_txt2 {
    border-bottom: 1px solid #26798b;
}
}


/*--------------------------------------------
IE
--------------------------------------------*/
@media all and (-ms-high-contrast:none){


}



#main_img #catch h2 {
    width: 60vw;
    overflow: hidden;
    line-height: 1.4;
}

#main_img #catch .catch_title {
    padding: 10px 10px;
}
#main_img #catch h2 span {
    padding: 0px;
}
#catch h2 .catch_line {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  display: block;
  background-color: #fff;
  bottom: calc(50% - 1px);
  -webkit-animation: line 2000ms;
          animation: line 2000ms;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
          animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
          animation-delay: 1.2s;
  transform-origin: left;
  transform: translateX(0) scaleX(0);
}
#catch h2 .char {
  display: inline-block;
  position: relative;
  -webkit-animation-duration: 2000ms;
          animation-duration: 2000ms;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-name: kern;
          animation-name: kern;
  -webkit-animation-delay: calc(var(--char-index) * 5ms);
          animation-delay: calc(var(--char-index) * 5ms);
  -webkit-animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
          animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
          animation-delay: 1.2s;
  opacity: 0;
}

@-webkit-keyframes line {
  45% {
    transform: translateX(2%) scaleX(0);
  }
  70% {
    transform: translateX(0) scaleX(0.98);
  }
  100% {
    transform: translateX(98%) scaleX(0);
  }
}

@keyframes line {
  45% {
    transform: translateX(2%) scaleX(0);
  }
  70% {
    transform: translateX(0) scaleX(0.98);
  }
  100% {
    transform: translateX(98%) scaleX(0);
  }
}
@-webkit-keyframes kern {
  0%, 70% {
    transform: translateX(calc((var(--char-index)) * 40px));
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    -webkit-animation-timing-function: none;
            animation-timing-function: none;
  }
}
@keyframes kern {
  0%, 70% {
    transform: translateX(calc((var(--char-index)) * 40px));
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    -webkit-animation-timing-function: none;
            animation-timing-function: none;
  }
}