﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#top_cms_wrap,.page main,.txt2,#contents_box,#attach,footer{position: relative;}
/*リピートなし*/
#main_img:before,#main_img:after,.catch,#top_cms_wrap:before,#top_cms_wrap:after,
.page main:before,.page main:after,.txt2:before,#contents_box:before,#attach:before,#attach:after,footer:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
background-image: url(./Dup/img/main1.png);
background-size: 100%;
width: 20vw;
height: 10vw;
top: 0;
right: -5vw;
z-index: 3;
opacity: 0.5;
}
#main_img:after{
background-image: url(./Dup/img/main2.png);
background-size: 100%;
width: 20vw;
height: 12vw;
bottom: 0;
left: -5vw;
z-index: 3;
opacity: 0.5;
}
.catch{
background-image: url(./Dup/img/catch.png);
width: 600px;
height: 375px;
top:45%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
z-index: 4;
}
#contents_box:before{
background-image: url(./Dup/img/obj4.png);
background-size: 100%;
width: 15vw;
height: 15vw;
top: -110px;
left: -15px;
z-index: 2;
}
#attach:before{
background-image: url(./Dup/img/obj5.png);
background-size: 100%;
width: 15vw;
height: 15vw;
top: -110px;
right: -15px;
z-index: 1;
}
#attach:after{
background-image: url(./Dup/img/obj6.png);
background-size: 100%;
width: 15vw;
height: 15vw;
bottom: -8vw;
left: -20px;
z-index: 1;
}

#top_cms_wrap:before,.page main:before{
background-image: url(./Dup/img/obj1.png);
width: 350px;
height: 175px;
top: 0;
right: -90px;
z-index: -1;
opacity: 0.5;
}
#top_cms_wrap:after,.page main:after{
background-image: url(./Dup/img/obj2.png);
width: 350px;
height: 204px;
bottom: -100px;
left: -90px;
z-index: 1;
opacity: 0.5;
}
.page main:before{
top: 190px;
}


.txt2:before{
background-image: url(./Dup/img/obj3.png);
width: 70px;
height: 70px;
top: -120px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

footer:before{
background-image: url(./Dup/img/obj7.png);
background-size: 100%;
width: 15vw;
height: 15vw;
top: -175px;
right: -20px;
z-index: 1;
}

#page_title .page_box{padding-left: 13vw;}
#page_title .page_box::before{
background-color: transparent;
background-image: url(./Dup/img/obj5.png);
background-size: 100%;
width: 15vw;
height: 15vw;
top: -5px;
left: -50px;
z-index: 1;
}
/*--------------------------------
全体
--------------------------------*/
header.bg_color4{
background-color: #deefef;
background-image: url(./Dup/img/head1.jpg);
background-size: 100% 100%;
background-repeat: no-repeat;
width: 250px!important;
}
#logo{padding: 20px;}
#logo img{width: 100%!important;}

#main_menu{text-align: center;font-size: 16px;}
#main_menu ul li a{padding-left: 0;font-weight: bold;letter-spacing: 3px;}
#main_menu ul li a:hover{padding-left: 0;transform: translateY(-5px);opacity: 0.7;}
#main_menu ul li a::before{display: none;}
header .contact_bt a,header .tel_bt a{font-size: 16px;}

.main_box.grid_9{
overflow: hidden;
width: calc(100% - 250px)!important;
margin-left: 250px!important;
min-width: 700px;
}
header .head_box{padding: 0;}
header .contact_bt a,
header .tel_bt a{
border: none;
border-top: solid 1px #aad2d7;
}
header .tel_bt{margin-top: 0!important;}
header .tel_bt a{
border-bottom: solid 1px #aad2d7;
}

/* フォント */
.font_en{ font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;}
/* ヘッダーページタイトル */
#main_menu ul li a,header .contact_bt a,header .tel_bt a{color: #2da5aa;}
#main_menu ul li a::before{background-color: #aad2d7;}
/* SNSリンク */
.link_box li{margin-right: 3%;}
.link_box li:last-of-type{margin-right: 0;}
.link_box ul.flex_space-between{
justify-content: center;
align-items: center;
}
/* タイトル横線 */
.cms_title::before{background-color: #2da5aa;}
/* ページタイトル影 */
#page_title h2,#page_title p{text-shadow: none;}
/* お問い合わせボタン hover */
.button:hover::after{box-shadow: inset 0 0 0 15em #2da5aa;}
/* ボタン */
.more a,.foot_tel_bt a{position: relative;z-index: 0;}
/* キャッチコピー */
.txt1{width: 80%;}
/* フッターテキスト 文字色 */
footer{background-color: #f7f7f7;}
.footer_cms.txt_color3{color: #333;}


.fadein_up{
opacity : 0;
-webkit-transform: translateY(50px);
-ms-transform: translateY(50px);
transform: translateY(50px);
transition:transform 1.5s ease,opacity 2s ease; 
}
.fadein_up.scrollin{
opacity : 1;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
}
.fadein_up2{
opacity : 0;
-webkit-transform: translateY(50px);
-ms-transform: translateY(50px);
transform: translateY(50px);
transition:transform 2.5s ease,opacity 3s ease; 
}
.fadein_up2.scrollin{
opacity : 1;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
}
/*--------------------------------
TOP
--------------------------------*/
#main_img .banner{
width: 600px;
top: 75%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
z-index: 4;
}

.num{
position: relative;
padding-left:65px;
}
.num:before{
content: "";
display: block;
background-color: #fff;
width: 50px;
height: 1px;
position: absolute;
top: 12px;
left: 0;
}
#attach{height: auto;}
.blur {
background-color: rgba(60,125,125,0.6);
backdrop-filter: blur( 5px );
-webkit-backdrop-filter: blur( 5px );
}

#top_cms .box:last-of-type{
position: relative;
z-index: 1;
}

/* TOP お知らせ */
.topcms_news_type4 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
}
.topcms_news_type4 .cate_box{
	background-color: #fff;
	padding: 0;
	box-shadow: 10px 25px 30px rgb(0 0 0 / 8%);
	border-top: 2px solid #2da5aa;
}
.topcms_news_type4 .txt_height{
	height: 3em
}
.topcms_news_type4 .box_title1:empty{
	display: block!important;
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.topcms_news_type4 .cate_box {width: 100%!important;}
}
/* TOP 事業内容 */
.link_type2 .cate_box a {
    color: #fff;
}
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    background-color: #2da5aa;
    transition: 0.5s;
	z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .cate_box a:hover .more {
    opacity: 1;
}
/*--------------------------------
下層
--------------------------------*/
#page_title .title_img::before{display: none;}

.button2.txt_color3{color: #2da4a9;}
.button2:hover{box-shadow: none;}

@media  screen and (max-width: 1280px){

#contents_box:before{
width: 18vw;
height: 18vw;
top: -90px;
left: -15px;
}
#attach:before{
width: 18vw;
height: 18vw;
top: -110px;
right: -15px;
}
#top_cms_wrap:before, .page main:before{
width: 300px;
height: 150px;
}
#top_cms_wrap:after, .page main:after{
width: 300px;
height: 175px;
}

}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
header.bg_color4{
background-image: url(./Dup/img/head2.jpg);
width: 100%!important;
}
#logo{padding: 0;}
.hamburger{top: 10px;}

.main_box.grid_9{
padding-top: 60px;
width: 100%!important;
margin-left: 0!important;
}
footer .link_box li{max-width: 40px;}
footer:before{
width: 21vw;
height: 21vw;
top: -110px;
}

.catch{
width: 500px;
height: 313px;
}
#main_img .banner{
width: 500px;
top: 67%;
}

.txt2:before{
width: 50px;
height: 50px;
top: -95px;
}


#contents_box:before{
width: 22vw;
height: 22vw;
top: -60px;
left: -15px;
}
#attach:before{
width: 22vw;
height: 22vw;
top: -75px;
right: 5px;
}
#attach:after{
width: 21vw;
height: 21vw;
bottom: -13vw;
left: -10px;
}

#top_cms_wrap:before, .page main:before{
width: 250px;
height: 125px;
top: 120px;
}
#top_cms_wrap:after, .page main:after{
width: 250px;
height: 146px;
bottom: -70px;
}

#page_title .page_box{padding-left: 16vw;}
#page_title .page_box::before{
width: 21vw;
height: 21vw;
top: -5px;
left: -40px;
}


}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
.hamburger{top: 4px;}

.main_box.grid_9{
padding-top: 50px;
min-width: auto;
}

footer:before{
width: 34vw;
height: 34vw;
top: -109px;
}

.catch{
width: 300px;
height: 188px;
}
#main_img .banner{
width: 300px;
top: 65%;
}

#contents_box:before{
width: 35vw;
height: 35vw;
top: -38px;
left: -15px;
}

#attach:before{
width: 35vw;
height: 35vw;
top: -90px;
right: 5px;
}
#attach:after{
width: 34vw;
height: 34vw;
bottom: -19vw;
left: 2px;
}

#top_cms_wrap:before, .page main:before{
width: 200px;
height: 100px;
top: 50px;
}

#page_title .page_box{
padding-left: 8vw;
padding-top: 35px;
}
#page_title .page_box::before{
width: 28vw;
height: 28vw;
top: -5px;
left: -30px;
}
.page main:before{top: 75px;}
#top_cms_wrap:after, .page main:after{
width: 200px;
height: 117px;
bottom: -50px;
}

.fadein_up_sp{
opacity : 0;
-webkit-transform: translateY(50px);
-ms-transform: translateY(50px);
transform: translateY(50px);
transition:transform 1.5s ease,opacity 2s ease; 
}
.fadein_up_sp.scrollin{
opacity : 1;
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
}
}

/*IE*/
@media all and (-ms-high-contrast: none) {

.tel_bt a,.foot_tel_bt a{padding-bottom: 10px;}
.more a{padding-bottom: 5px;}

.contact_tel a{padding-bottom: 24px;}
#tel_txt h3{padding-bottom: 0;}
#tel_txt p{padding-bottom: 15px;}

}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #2da4a9; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #2da4a9;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #2da4a9;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #2da4a9;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_black,.hvr_txt_black:hover{color: black;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #2da5aa;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #7dc3c8;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #8caaaf;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #b9dcdc;} /* アクセントカラー2 */

/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: white;} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: black;} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #2da5aa;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #7dc3c8;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #8caaaf;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #b9dcdc;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}

/* border-color */
.border_white,.hvr_border_white:hover{border-color: white;}
.border_black,.hvr_border_black:hover{border-color: black;}
.border_color1,.hvr_border_color1:hover{border-color: #2da5aa;}
.border_color2,.hvr_border_color2:hover{border-color: #7dc3c8;}
.border_color3,.hvr_border_color3:hover{border-color: #8caaaf;}
.border_color4,.hvr_border_color4:hover{border-color: #b9dcdc;}