﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
header nav a,#main_img,#intro,#contents1 h3,
#contents2,#contents3,#contents_links .con_photo,#cms,.cate_title.leaf{position: relative;}
/*リピートなし*/
header nav a:before,#main_img:before,
#intro:before,#intro:after,.intro_title:before,
#contents1 h3:before,
#contents2:before,#contents3:before,
#contents_links .con_photo:before,
#cms:before,#cms:after,.cate_title.leaf:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

header nav a:before{
width: 30px;
height: 30px;
top:0;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
opacity: 0.5;
}
header nav li:nth-of-type(1) a:before{background-image: url(./Dup/img/icon1.png);}
header nav li:nth-of-type(2) a:before{background-image: url(./Dup/img/icon2.png);}
header nav li:nth-of-type(3) a:before{background-image: url(./Dup/img/icon3.png);}
header nav li:nth-of-type(4) a:before{background-image: url(./Dup/img/icon4.png);}
header nav li:nth-of-type(5) a:before{background-image: url(./Dup/img/icon5.png);}
header nav li:nth-of-type(6) a:before{background-image: url(./Dup/img/icon6.png);}

header nav li.active:nth-of-type(1) a:before{background-image: url(./Dup/img/icon1-2.png);}
header nav li.active:nth-of-type(2) a:before{background-image: url(./Dup/img/icon2-2.png);}
header nav li.active:nth-of-type(3) a:before{background-image: url(./Dup/img/icon3-2.png);}
header nav li.active:nth-of-type(4) a:before{background-image: url(./Dup/img/icon4-2.png);}
header nav li.active:nth-of-type(5) a:before{background-image: url(./Dup/img/icon5-2.png);}
header nav li.active:nth-of-type(6) a:before{background-image: url(./Dup/img/icon6-2.png);}

#main_img:before{
background-image: url(./Dup/img/catch.png);
width: 600px;
height: 450px;
top: 45%;
left: -10%;
-ms-transform: translate(0,-50%);
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
z-index: 1;
}

#intro:before,#contents2:before,#cms:before{
background-image: url(./Dup/img/obj1.png);
width: 200px;
height: 200px;
top: -30px;
left: -30px;
}
#intro:after,#contents3:before,#cms:after{
background-image: url(./Dup/img/obj1.png);
background-color: transparent;
width: 200px;
height: 200px;
bottom: -30px;
left: auto;
right: -30px;
transform: scale(-1, -1);
}
#cms:before{top: -77px;}
#cms:after{bottom: -77px;z-index: 3;}

.intro_title:before,#contents1 h3:before{
background-image: url(./Dup/img/obj2.png);
width: 70px;
height: 70px;
top: 10px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents1 h3:before{top: -40px;}
#contents_links .con_photo:before{
background-image: url(./Dup/img/frame1.png);
width: 115%;
height: 115%;
top: -10%;
left: -7%;
z-index: 1;
}

.cate_title.leaf:before{
background-image: url(./Dup/img/obj2.png);
width: 30px;
height: 30px;
top: 10px;
left: 0;
}
/*--------------------------------
全体
--------------------------------*/
#loader .logo{width: 100%;}
#wrap{overflow: hidden;}
header nav a.pd_10px{padding-top: 40px;}

/*--------------------------------
TOP
--------------------------------*/
#intro .intro_title span{top: 62%;}
#contents1 h3{padding-top: 30px;}
#contents_links h3{position: relative;z-index: 2;}

#contents3.bg_color4{background-color: #dcf0eb;}
#contents3 figure {
transform: translateY(-50px);
box-shadow: 0 0 15px rgb(0 0 0 / 10%);
overflow: hidden;
}
/*--------------------------------
下層
--------------------------------*/
.cate_title.leaf{padding-left: 40px;}

/* 5-b Q削除 */
#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 .open_bt .box_title1, .cms_5-b .cate_box .open_bt .box_title1{margin-left: 70px;}


/*IEのみ*/
@media all and (-ms-high-contrast: none) {}

@media  screen and (max-width: 1600px){
#main_img:before{left: -5%;}
}
@media  screen and (max-width: 1400px){
#main_img:before{left: 0;}
#intro:before, #contents2:before, #cms:before{
width: 170px;
height: 170px;
top: -25px;
}
#intro:after,#contents3:before, #cms:after{
width: 170px;
height: 170px;
bottom: -25px;
}

}
@media  screen and (max-width: 1280px){
#main_img:before{
width: 550px;
height: 413px;
}
}
@media  screen and (max-width: 1260px){
header nav li a,.sc_menu li a{
padding-left: 20px!important;
padding-right: 20px!important;
}
header nav li a span.font_18,.sc_menu li a span.font_18{font-size: 16px;}
}
@media  screen and (max-width: 1100px){
header nav li a,.sc_menu li a{
padding-left: 15px!important;
padding-right: 15px!important;
}
header nav li a span.font_18,.sc_menu li a span.font_18{font-size: 16px;}
}
@media  screen and (max-width: 1000px){
header nav li a,.sc_menu li a{
padding-left: 15px!important;
padding-right: 15px!important;
}
header nav li a span.font_18,.sc_menu li a span.font_18{font-size: 14px;}
#main_img:before{
width: 450px;
height: 338px;
}
#intro:before, #contents2:before, #cms:before{
width: 150px;
height: 150px;
top: -25px;
}
#intro:after,#contents3:before, #cms:after{
width: 150px;
height: 150px;
bottom: -25px;
}
#cms:before{top: -75px;}
#cms:after{bottom: -75px;}
}
@media  screen and (max-width: 900px){
header ul{
padding-left: 10px!important;
padding-right: 10px!important;
}
header nav li a,.sc_menu li a{
padding-left: 10px!important;
padding-right: 10px!important;
}
header nav li a span.font_18,.sc_menu li a span.font_18{font-size: 14px;}
}
@media  screen and (max-width: 800px){
header nav li a,.sc_menu li a{
padding-left: 5px!important;
padding-right: 5px!important;
}
}

/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#main_img:before{
width: 400px;
height: 300px;
top: 42%;
}
#contents2:before{z-index: 1;}
.intro_title:before, #contents1 h3:before{
width: 50px;
height: 50px;
top: 25px;
}
#contents1 h3:before{top: -10px;}
#intro:before, #contents2:before, #cms:before{
width: 130px;
height: 130px;
}
#intro:after,#contents3:before, #cms:after{
width: 130px;
height: 130px;
}

#contents2 .con_item,#contents3 .con_item{padding-top: 0;}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#main_img{margin-bottom: 270px;}
#main_img:before{
width: 300px;
height: 225px;
top: auto;
bottom: -250px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#intro:before, #contents2:before, #cms:before{
width: 100px;
height: 100px;
}
#intro:after,#contents3:before, #cms:after{
width: 100px;
height: 100px;
}
#contents2:before{top: -45px;}
#contents3:before{bottom: -45px;}

#contents3 figure{transform: translateY(0px);}
#cms:before{top: -60px;}
#page_title.active h2{padding-left: 0;}
.cate_title.leaf:before{top: 5px;}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #44bbac; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #44bbac;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #f09087;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #44bbac;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

