﻿/*--------リンク・フォント--------*/
@font-face {
    font-family: 'NotoSans';
    font-style: normal;
    font-weight: 400;
    src: url('./Dup/img/NotoSans_r.woff') format('woff'),
        url('./Dup/img/Notosans_r.eot')  format('eot');
    font-display: swap;
}
@font-face {
    font-family: 'NotoSans';
    font-style: normal;
    font-weight: 700;
    src: url('./Dup/img/Notosans_bold.woff') format('woff'),
        url('../Dup/img/Notosans_bold.eot')  format('eot');
    font-display: swap;
}

body{font-family: 'NotoSans',"游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}
.font_Quick {font-family: 'NotoSans','Quicksand', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif!important;}

.linkStyle{color: #333333; text-decoration: underline;}


/*--------more_btn--------*/
.more a {
  position: relative;
  color: #000;
  z-index: 2;
  line-height: 40px;
  padding: 0;
  border: 2px solid #000;
}
.more a {
  line-height: 39px;
  padding: 0;
}
.more a:hover{
  background: transparent;
  color: #000;
}
.more a span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.more a:before,
.more a:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: #000;
  transition: all 0.3s ease;
}
.more a:before {
  height: 0%;
  width: 2px;
}
.more a:after {
  width: 0%;
  height: 2px;
}
.more a span:before,
.more a span:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  background: #000;
  transition: all 0.3s ease;
}
.more a span:before {
  width: 2px;
  height: 0%;
}
.more a span:after {
  width: 0%;
  height: 2px;
}
.more a:hover:before {
  height: 100%;
}
.more a:hover:after {
  width: 100%;
}

.more a:hover .below:before {
  height: 100%;
}
.more a:hover .below:after {
  width: 100%;
}


/*--------add_contact_btn--------*/
.add_btn { margin: 5% 0 0;}
.add_btn a{
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
      padding: 0rem 4rem 1rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  color: #212529;
  border-radius: 0.5rem;
    color: #fff;
  background: #00bbbe;
    box-shadow: 0 5px 0 #068e91;
}
.add_btn a span {
  font-size: 1rem;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, 0%);
  display: inline-block;
  padding: 0.2rem 2.5rem;
  color: #00babe;
  border: 2px solid #00babe;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
.add_btn a span:before, .add_btn a span:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 20px;
  height: 3px;
  background-color: #00babe;
  -webkit-transform: rotate(-60deg);
  transform: rotate(-60deg);
}
.add_btn a span:before {
  left:10px;
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
}
.add_btn a span:after {
  right: 10px;
}
.add_btn a:hover {
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);
  color: #fff;
  background: #0098b1;
    box-shadow: 0 2px 0 #075c6a;
}
.add_btn a:hover:before {
  left: 2rem;
}
.info_txt p.font_2dw {
    font-size: 0.95rem;
} 

/*--------全体--------*/
.add_shadow{box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;}
.add_shadow2{ box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;}
main .font_2dw{font-size:1.05rem;}

.underline{
    position: relative;
    display: inline-block;
    z-index: 1;  
}
.underline:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 4px;
  background: #007cb6;
  z-index: -1;
  transition: all 0.8s;
}
.underline.active:after,#top_contents .underline.active:after {
  width: 100%;
}

#logo { border-radius: 15px;}
#logo h1{width:90%!important;}


#main_img{position:relative;}
#main_img::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/main_catch.png) no-repeat;
    background-size: contain;
    width: 98%;
    height: 80%;
    left: 50%;
    top: 57%;
    transform: translate(-50%, -50%);
    z-index: 5;
}
@media screen and (min-width: 1401px) and (max-width: 1650px){
    #main_img::before{
    height: 70%;
}
}
@media screen and (min-width: 769px) and (max-width: 1400px){
    #main_img::before{
    background: url(./Dup/img/main_catch_2.png) no-repeat;
    width: 92%;
    height: 80%;
    top: 58%;
}
}
.catch_txt h2{
    font-size: 2em;
    letter-spacing: 5px;
}

/*#top_contents2{*/
/*    background: url(./Dup/img/back.jpg) no-repeat center;*/
/*    background-size: cover;*/
/*}*/

#top_contents2 .con_box .text_box{
    background-color: rgba(255, 255, 255, .85);
}
.top_cms_box{position:relative;}
.top_cms_box:nth-of-type(2):before{
        content: "";
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: calc(100% - 15px);
    background: #d5f4f5;
    position: absolute;
    top: 50px;
    left: -6%;
    z-index: -1;
}
.top_cms_title p{
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    display: inline-block;
    color: #fff;
    z-index: +1;
    font-weight: bold;
}
.top_cms_title h2{
    background-color: #00bbbe;
    color: #fff;
    padding: 30px 50px 15px;
    border-radius: 10px;
    
}

#top_info .top_info_title{position:relative;}
#top_info .top_info_title:before{
    content: "";
    width: 112%;
    height: 132%;
    background: #d5f4f5;
    position: absolute;
    top: -30px;
    left: -6%;
    z-index: 0;
}
.sns_links li.width_20 {
    width: 30px;
}

#logo2{
    width: 25%!important;
    max-width: 200px;
    margin-bottom: 20px;
}

/*--------下層--------*/
#page_title{
    margin-bottom: 200px;
}
#page_title .title_box h2{
    font-size: 1.7em;
    font-weight: 400;
}
.cate_title {
    position: relative;
    z-index: +2;
    border: 0;
    border-top: 2px solid #18a9ae;
    padding-top: 35px;
}
.cate_title:after{
  content: "";
    position: absolute;
    border-radius: 10px;
    top: 9%;
    left: 48%;
    transform: rotate(45deg) translate(-50%, -50%);
    width: 2em;
    height: 2em;
    background: #53d2d7;
    color: #fff;
    z-index: -1;
}
.cms_2-d .cate_title:after {
    width: 1.6em;
    height: 1.6em;
}
#cms_2-a,#cms_2-d,#cms_6-a{counter-reset: num;}
#cms_2-a .cate .cate_title,#cms_2-d .cate .cate_title,#cms_6-a .cate .cate_title{
    text-align: center;
    display: block;
    font-weight: bold;
}
#cms_2-a .cate .cate_title:before,#cms_2-d .cate .cate_title:before,#cms_6-a .cate .cate_title:before {
    counter-increment: num;
    content: counter(num,decimal-leading-zero);
    position: absolute;
    top: -3%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 1em;
    z-index: 1;
}
#cms_3-f .cate_box {
	    width: 100%;
    margin: 4% 0;
    padding: 0 10px;
}
#cms_3-f .cate_title {
    border-top: 0;
    padding-top: 10px;
}
#cms_3-f .cate_title:after{
  display: none;
}
#page8 .tel_box{
    position: relative;
    overflow: hidden;
    padding: 20px 20px 15px 20px;
}
#page8 .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){
    #page8 .tel_box p{
        display: block;
        padding-right: 0px;
        margin-right: 0px;
        border-right: none;
        
    }
}

@media screen and (max-width: 667px){  
#page8 .tel_box a{
    font-size: 5vw;
    letter-spacing: 2px;    
}
}



/*--------タブレット--------*/
@media screen and (max-width: 768px){
.add_contact {
    width: 30%;
    top: -24px;
    right: 89px;
}
.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img{
  animation: zoomUp2 10s linear 0s 1 normal both;  
}
#main_img {height: 60vh!important;}
#main_img .box_img{height: 52vh!important;}
#main_img::before {
    background: url(./Dup/img/main_catch_2.png) no-repeat;
    background-size: contain;
    height: 44vh;
    width: 57%;
    left: 32%;
    top: 60%;
}

.top_cms_box:nth-of-type(2):before {
    content: "";
    margin: 0 calc(50% - 50vw);
    width: 110vw;
}
.add_btn{
    width: 100%;
    margin: 5% auto 8%;
}
.add_btn a {
    padding: 0rem 2.5rem 1.5rem;
}
.add_btn a span {
    width: 41%;
}
#cms_2-a .cate .cate_title:before, #cms_2-d .cate .cate_title:before, #cms_6-a .cate .cate_title:before {
    left: 51%;
}
}

/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
.add_btn{
    width: 100%;
    margin: 16% auto 8%;
}
.add_btn a {
    font-size: 1.1rem;
    padding: 0.25rem 3rem 0.9rem;
    text-align: left;
    line-height: 1.3;
}
.add_btn a span {
    font-size: 0.8rem;
    width: 55%;
    text-align: center;
    padding: 0.2rem 2.1rem;
}
.add_btn a span:before, .add_btn a span:after {
    top: 44%;
    width: 18px;
    height: 2px;
}
    #logo h1.logo {
    max-width: 250px;
}
.overlay {
    top: 78px;
}
#main_img {height: 49vh!important;}
#main_img .box_img{height: 37vh!important;}
#main_img::before {
    height: 32vh;
    top: 63%;
}
#main_img .box_img::before{
    width: 13em;
    height: 4.5em;
    right: 1%;
    bottom: -19%;
}

.catch_txt h2 {
    font-size: 6vw;
    letter-spacing: 1px;
    text-align: left;
}
.top_cms_title p {
    position: absolute;
    top: 41px;
}
#top_cms .top_cms_box:nth-of-type(2) .more {
    margin-top: 0px;
}

#logo2 {
    width: 50%!important;
    margin-bottom: 15px;
}
#page_title {
    margin-bottom: 50px;
}
#page_title .title_box h2 {
    font-size: 6.2vw;
}
#page_title .title_box p {
    font-size: 3.8vw;
}
.cate_list li {
    margin: 0px;
}
.cate_list li a {
    text-align: left;
    letter-spacing: 1px;
    padding: 5px 10px;
    line-height: 1.3;
}

  #cms_2-a .cate .cate_title{
    text-align: left;
  }
  .cate_title:after {
    left: 45%;
  }
  #cms_2-a .cate .cate_title:before,#cms_2-d .cate .cate_title:before,#cms_6-a .cate .cate_title:before{
    left: 51.2%;
    top: 0%;
}
 #cms_2-d .cate .cate_title:before,#cms_6-a .cate .cate_title:before {
     top: -2%;
 }
}

@media screen and (max-width: 360px){
#top_contents1 {
    padding: 50px 20px;
}

}



/*--------------------------------------------
IE
--------------------------------------------*/
@media all and (-ms-high-contrast:none){
.top_cms_title p{
    top: 30px;
}


}


