﻿/* フォント */
@font-face {
font-family: "RM1c_bol";
  src: url("./Dup/img/RM1c_bol.ttf") format("ttf"),url("./Dup/img/RM1c_bol.eot") format("eot"),url("./Dup/img/RM1c_bol.woff") format("woff"),url("./Dup/img/RM1c_bol.woff2") format("woff2");
}
.font_en{ font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;}
.font1{font-family: "RM1c_bol","sans-serif";}

/* ヘッダーページタイトル横線 */
#main_menu ul li a::before{background-color: #1e6ecd;}
/* SNSリンク */
.link_box li{margin-right: 3%;}
.link_box li:last-of-type{margin-right: 0;}
/* タイトル横線 */
.cms_title::before,#page_title .page_box::before{background-color: #1e6ecd;}
/* お問い合わせボタン hover */
.button:hover::after{box-shadow: inset 0 0 0 15em #1E6ECD;}
/* ボタン */
.more a,.foot_tel_bt a{position: relative;z-index: 0;}
/* キャッチコピー */
.txt1{width: 80%;}
/* フッターテキスト 文字色 */
.footer_cms.txt_color3{color: #333;}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
footer,#main_img,#contents_box,#attach,#contents3 .con_box .con_img{position: relative;}
/*リピートなし*/
footer:before,#main_img:before,#contents_box:before,#attach:before,#contents3 .con_box .con_img:before,#page_title .title_img:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
background-image: url(./Dup/img/obj4.png);
width: 600px;
height: 330px;
top: 15%;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
z-index: 1;
}
footer:before,#contents_box:before,#page_title .title_img:after{
background-image: url(./Dup/img/obj5.png);
background-size: 100%;
width: 100%;
height: 100px;
top: -45px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
z-index: 1;
}
footer:before{background-image: url(./Dup/img/obj6.png);z-index: 0;}
#page_title .title_img:after{
top: auto;
bottom: -50px;
z-index: 0;
}

#attach:before{
background-image: url(./Dup/img/obj3.png);
/*background-size: 100%;
width: 12vw;
height: 8vw;*/
width: 600px;
height: 250px;
top: 30px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents3 .con_box:first-of-type .con_img:before{
background-image: url(./Dup/img/obj1.png);
background-size: 100%;
width: 12vw;
height: 8vw;
top: -70px;
left: -30px;
z-index: 1;
transform: rotate(-15deg);
}
#contents3 .con_box:last-of-type .con_img:before{
background-image: url(./Dup/img/obj2.png);
background-size: 100%;
width: 12vw;
height: 8vw;
bottom: -15px;
right: -30px;
z-index: 1;
transform: rotate(-15deg);
}
/*--------------------------------
全体
--------------------------------*/
header.bg_color4{background-color: #f9f9f9;}
#logo img{width: 80%!important;}
#main_menu ul li a.txt_color3{color: #333;}
.main_box{overflow: hidden;}
footer{background-color: #f4fafe;}
footer .logo img.width_200-max{max-width: 150px;}

.more a,.contact_bt a,.foot_tel_bt a{border-radius: 30px;}
/*--------------------------------
TOP
--------------------------------*/
#video{ height: 100vh; }
#video video{
width: auto!important;
height: 100%;
top: 50%;
left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.txt1{top: 63%;}

.top_cms_box .cms_2-c .cate_box{background-color: #f4fafe;}
/*--------------------------------
下層
--------------------------------*/
/* カテゴリーリンクボタン hover */
.cate_list a{border-radius: 30px;}
.button2:hover{box-shadow: none;}

#page10 a{border-radius: 30px;}

/*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;}
}


@media  screen and (max-width: 1100px){
footer:before, #contents_box:before, #page_title .title_img:after{
height: 50px;
top: -30px;
}
#page_title .title_img:after{
top: auto;
bottom: -5px;
}
}
/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
header{background-position: bottom;}
footer .link_box li{max-width: 40px;}
.main_box{padding-top: 68px;}
#main_img:before{
width: 400px;
height: 220px;
}
#video{ height: 40vh; }
#video video{
width: 100%!important;
height: auto;
}
#attach:before{
width: 400px;
height: 167px;
top: 20px;
}
#contents3 .con_box:first-of-type .con_img:before{
width: 19vw;
height: 13vw;
top: -40px;
left: -30px;
}
#contents3 .con_box:last-of-type .con_img:before{
width: 19vw;
height: 13vw;
bottom: -15px;
right: -20px;
}
footer:before, #contents_box:before, #page_title .title_img:after{
height: 35px;
top: -30px;
}
#page_title .title_img:after{
top: auto;
bottom: -5px;
}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
.main_box{padding-top: 56px;}
#main_img:before{
width: 300px;
height: 165px;
}
#video{ height: 31vh; }
#attach:before{
width: 300px;
height: 125px;
top: 20px;
}

#contents3 .con_box:first-of-type .con_img:before{
width: 36vw;
height: 24vw;
top: -30px;
left: -20px;
}
#contents3 .con_box:last-of-type .con_img:before{
width: 36vw;
height: 24vw;
bottom: -15px;
right: -20px;
}
footer:before, #contents_box:before, #page_title .title_img:after{
height: 25px;
top: -15px;
}
#page_title .title_img:after{
top: auto;
bottom: -5px;
}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #00be69; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #00be69;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #1e6ecd;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #00be69;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------カラー--------------------------*/
body,.txt_color_nomal{color: #333333;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #1E6ECD} /* メインカラー */
.txt_color2{color: #6EB9F0} /* サブカラー */
.txt_color3{color: #00BE69} /* アクセントカラー1 */
.txt_color4{color: #F2F2F2} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #1E6ECD} /* メインカラー */
.bg_color2{background-color: #6EB9F0} /* サブカラー */
.bg_color3{background-color: #00BE69} /* アクセントカラー1 */
.bg_color4{background-color: #F2F2F2} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #1E6ECD}
.border_color2{border-color: #6EB9F0}
.border_color3{border-color: #00BE69}
.border_color4{border-color: #F2F2F2}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #333333;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #1E6ECD} /* メインカラー */
.hvr_txt_color2:hover{color: #6EB9F0} /* サブカラー */
.hvr_txt_color3:hover{color: #00BE69} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #F2F2F2} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #1E6ECD} /* メインカラー */
.hvr_bg_color2:hover{background-color: #6EB9F0} /* サブカラー */
.hvr_bg_color3:hover{background-color: #00BE69} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #F2F2F2} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #1E6ECD}
.hvr_border_color2:hover{border-color: #6EB9F0}
.hvr_border_color3:hover{border-color: #00BE69}
.hvr_border_color4:hover{border-color: #F2F2F2}