﻿@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");
}
.font1{font-family: "RM1c_bol","sans-serif";}

/*scr_banner*/
#scr_banner{
position: fixed;
right: 100px;
z-index: 99;
}
#scr_banner a img{
height: 100px;
width:300px;
}
/*--------------------------------
疑似要素に画像
--------------------------------*/
.icon,#top_contents1{position: relative;}
/*リピートなし*/
.icon:before,
#top_contents2 .con_box .text_box:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

.icon:before{
width: 50px;
height: 50px;
top: -60px;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
.icon1:before{background-image: url(./Dup/img/icon1.png);}
.icon2:before{background-image: url(./Dup/img/icon2.png);}
.icon3:before{background-image: url(./Dup/img/icon3.png);}
.icon4:before{background-image: url(./Dup/img/icon4.png);}
.icon5:before{background-image: url(./Dup/img/icon5.png);}
.icon6:before{background-image: url(./Dup/img/icon6.png);}
.icon7:before{background-image: url(./Dup/img/icon7.png);}
.icon8:before{background-image: url(./Dup/img/icon8.png);}
.icon9:before{background-image: url(./Dup/img/icon9.png);}
.icon10:before{background-image: url(./Dup/img/icon10.png);}

#top_contents1:before{
content: "TOMI DENKI";
display: block;
font-family: komu-a, sans-serif;
font-weight: 400;
font-style: normal;
font-size: 150px;
color: #f3f3f3;
position: absolute;
top: 160px;
left: -150px;
transform: rotate(270deg);
z-index: -1;
}
#top_contents2 .con_box .text_box:before{
width: 100px;
height: 100px;
}
#top_contents2 .con_box:first-of-type .text_box:before{
background-image: url(./Dup/img/icon11.png);
bottom: -50px;
right: 20px;
transform: rotate(10deg);
}
#top_contents2 .con_box:last-of-type .text_box:before{
background-image: url(./Dup/img/icon12.png);
bottom: -50px;
left: 20px;
transform: rotate(-10deg);
}
#top_contents2 .con_box .text_box h2:before{
display: block;
color: #777777;
font-size: 70px;
font-family: komu-a, sans-serif;
font-weight: 400;
font-style: normal;
position: absolute;
z-index: 1;
}
#top_contents2 .con_box:first-of-type .text_box h2:before{
content: "01";
top: -55px;
left: 50px;
}
#top_contents2 .con_box:last-of-type .text_box h2:before{
content: "02";
top: -55px;
right: 50px;
}
/*--------------------------------
TOP
--------------------------------*/
#top_contents2.bg_color2{background-color: #f7f7f7;}
#top_contents2 .con_box .text_box{overflow: visible;}
#top_contents2 .con_box .text_box.bg_white{background-color: rgba(255,255,255,0.8);}
/*--------------------------------
下層
--------------------------------*/
#page_title .title_box{
padding-top: 80px;
bottom: -70px;
}
#page_title .title_box.bg_white{background-color: rgba(255,255,255,0.8);}


/*IEのみ*/
@media all and (-ms-high-contrast: none) {
#cms_2-a .cate .cate_title{padding-top: 10px;}
#cms_2-d .cate .cate_title{padding-top: 10px;}
#cms_5-a .cate .cate_title span:last-of-type{padding-top: 0;}
#cms_6-b .cate .cate_title{padding: 5px;}

#contact_tel a{padding-bottom: 24px;}
#tel_txt h3{padding-bottom: 0;}
#tel_txt p{padding-bottom: 15px;}
}

/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#logo h1.logo{max-width: 200px;}
#footer{padding-bottom: 90px;}
/*scr_banner*/
#scr_banner{
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#scr_banner a img{
height: 70px;
width:300px;
}

#top_contents1:before{font-size: 140px;}
#top_contents2 .con_box .text_box:before{display: none;}
#top_contents2 .img_box{overflow: visible;}
#top_contents2 .img_box:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
width: 100px;
height: 100px;
}
#top_contents2 .con_box:first-of-type .img_box:before{
background-image: url(./Dup/img/icon11.png);
top: -50px;
right: 20px;
transform: rotate(10deg);
}
#top_contents2 .con_box:last-of-type .img_box:before{
background-image: url(./Dup/img/icon12.png);
top: -50px;
right: 20px;
transform: rotate(10deg);
}
#top_contents2 .con_box:first-of-type .text_box h2:before{left: 40px;}
#top_contents2 .con_box:last-of-type .text_box h2:before{
right: auto;
left: 40px;
}
#page_title .title_box{bottom: -90px;}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
#footer{padding-bottom: 70px;}
#scr_banner a img{
height: 50px;
width: 214px;
}
.icon:before{
width: 30px;
height: 30px;
top: -40px;
}
#page_title .title_box{padding-top: 55px;bottom: -70px;}

#top_contents1{padding-top: 100px;}
#top_contents2{padding: 50px 0;}
#top_contents2 .img_box:before{
width: 70px;
height: 70px;
}
#top_contents2 .con_box:first-of-type .img_box:before{
top: -40px;
right: 5px;
}
#top_contents2 .con_box:last-of-type .img_box:before{
top: -40px;
right: 5px;
}
#top_contents2 .con_box:first-of-type .text_box h2:before,
#top_contents2 .con_box:last-of-type .text_box h2:before{left: 20px;}
}
@media  screen and (max-width: 320px){
#contact_tel{font-size: 20px;}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #007319; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #007319;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #007319;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #007319;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------カラー--------------------------*/
body,.txt_color_nomal{color: #333;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #007319} /* メインカラー */
.txt_color2{color: #f0f0f0} /* サブカラー */
.txt_color3{color: #b3b3b3} /* アクセントカラー1 */
.txt_color4{color: #c3e1cd} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #007319} /* メインカラー */
.bg_color2{background-color: #f0f0f0} /* サブカラー */
.bg_color3{background-color: #b3b3b3} /* アクセントカラー1 */
.bg_color4{background-color: #c3e1cd} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_white{border-color: #fff}
.border_color1{border-color: #007319}
.border_color2{border-color: #f0f0f0}
.border_color3{border-color: #b3b3b3}
.border_color4{border-color: #c3e1cd}


/* 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: #007319} /* メインカラー */
.hvr_txt_color2:hover{color: #f0f0f0} /* サブカラー */
.hvr_txt_color3:hover{color: #b3b3b3} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #c3e1cd} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #007319} /* メインカラー */
.hvr_bg_color2:hover{background-color: #f0f0f0} /* サブカラー */
.hvr_bg_color3:hover{background-color: #b3b3b3} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #c3e1cd} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #007319}
.hvr_border_color2:hover{border-color: #f0f0f0}
.hvr_border_color3:hover{border-color: #b3b3b3}
.hvr_border_color4:hover{border-color: #c3e1cd}