﻿@font-face {
font-family: "genjyu_b";
  src: url("./Dup/img/genjyu_b.ttf") format("ttf"),url("./Dup/img/genjyu_b.eot") format("eot"),url("./Dup/img/genjyu_b.woff") format("woff"),url("./Dup/img/genjyu_b.woff2") format("woff2");
}
.font1{font-family: "genjyu_b","sans-serif";}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#intro h3,#contents1 h4{position: relative;}
/*リピートなし*/
#main_img:before,#intro h3:before,#contents1 h4:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: 45vw;
height: 23vw;
top:50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
#intro h3:before{
background-image: url(./Dup/img/obj2.png);
width: 200px;
height: 32px;
transform: rotate(-10deg);
left: -20px;
top: -40px;
z-index: 1;
}
#contents1 h4:before{
background-image: url(./Dup/img/obj3.png);
width: 300px;
height: 60px;
transform: rotate(-10deg);
left: -70px;
top: -65px;
}
#contents2 h3::after{
background-image: url(./Dup/img/obj1.png);
background-color: transparent;
background-size: cover;
width: 120px;
height: 60px;
transform: rotate(-10deg);
left: -30px;
top: -60px;
}
/*--------------------------------
全体
--------------------------------*/
header,.sns_links.side_bar{background-color: #F6FBF6;}
header nav .font_18{font-size: 20px; font-weight: bold;}
#menu_wrap ul.menu_nav li{font-weight: bold;}

footer #footer{background-color: #F7F7F7;justify-content: space-between;}
footer #map{
position: relative;
overflow: hidden;
height: 400px;
width: 55%!important;
}
footer #map iframe{
margin-top: -30px;
height: 460px;
position: absolute;
top:50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
/*--------------------------------
TOP
--------------------------------*/
#intro h3,#contents1 h4,#contents2 h3{padding-left: 35px;}
#contents2 > div {
background-color: #ffffff;
box-sizing: border-box;
color: #333;
}

/*--------------------------------
下層
--------------------------------*/

@media (min-width: 769px){
#contents2{
display: flex;
height: auto;
justify-content: flex-end;
align-items: flex-start;
background-attachment: fixed;
}
#contents2 > div {
width: 47%;
position: inherit;
left: auto;
margin: 30px;
right: 0;
min-width: 500px;
max-width: 700px;
}
}

@media  screen and (max-width: 1280px){

#intro h3:before{
width: 150px;
height: 25px;
left: 0px;
top: -35px;
}
#contents1 h4:before{
width: 250px;
height: 50px;
left: -25px;
top: -65px;
}
#contents2 h3::after{
width: 100px;
height: 50px;
left: -5px;
top: -50px;
}

#intro{padding-top: 100px;}
#contents1 .grid_6.pd_5per{padding-top: 100px;}
#contents2 > div{padding-top: 100px;}

#page10 > div > div > div { width: 100%;}
#page10 .box{    justify-content: space-between;}

}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){


header h1.mg_b-30px{
max-width: 250px;
margin-bottom: 0;
}
footer #map{width: 100%!important;}
#intro{padding-top: 50px;}
#intro figure{margin-bottom: 70px;}
#contents2 > div{padding-top: 70px!important;}


}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

header{padding: 15px;}
header h1.mg_b-30px{
max-width: 170px;
}

#main_img:before{
width: 76vw;
height: 37vw;
}
#intro h3,#contents1 h4,#contents2 h3{padding-left: 0;}

#intro h3:before{
width: 150px;
height: 25px;
top: -35px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents1 h4:before{
width: 250px;
height: 50px;
top: -65px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents2 h3::after{
width: 100px;
height: 50px;
top: -60px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

}

/*IE*/
@media all and (-ms-high-contrast: none) {
#cms_2-a .cate .cate_title{padding-top: 10px!important;}
}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #64C8BE; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #64C8BE;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #64C8BE;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #3796A5;}

/*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: #64C8BE;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #C8E6DC;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #3796A5;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F7F7F7;} /* アクセントカラー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: #64C8BE;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #C8E6DC;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #3796A5;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F7F7F7;} /* アクセントカラー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: #64C8BE;}
.border_color2,.hvr_border_color2:hover{border-color: #C8E6DC;}
.border_color3,.hvr_border_color3:hover{border-color: #3796A5;}
.border_color4,.hvr_border_color4:hover{border-color: #F7F7F7;}