﻿/* フォント */
.font_en{font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";}

/* ヘッダーページタイトル横線 */
#main_menu ul li a::before{background-color: #f09123;}

/* 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,#page_title .page_box::before{background-color: #005578;}

/* ページタイトル影 */
#page_title h2,#page_title p{text-shadow: none;}

/* お問い合わせボタン hover */
.button:hover::after{box-shadow: inset 0 0 0 15em #F09123;}

/* ボタン */
.more a,.foot_tel_bt a{position: relative;z-index: 0;}

/* キャッチコピー */
.txt1{width: 80%;}

/* フッターテキスト 文字色 */
.footer_cms.txt_color3{color: #fff;}
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#contents1{position: relative;}
/*リピートなし*/
#contents1:before,header:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

header:before{
background-image: url(./Dup/img/head.png);
background-size: 100% 100%;
width: 100%;
height: 100%;
bottom:0;
left: 0;
z-index: -1;
opacity: 0.1;
}

#contents1:before{
background-image: url(./Dup/img/obj1.png);
background-repeat: repeat-x;
background-position:0 50%;
background-size:110%;
width: 100%;
height: 230px;
top:50%;
left: 0;
-ms-transform: translate(0,-50%);
-webkit-transform: translate(0,-50%);
transform: translate(0,-50%);
animation: bgroop 30s linear infinite;
opacity: 0.04;
z-index: -1;
}
@keyframes bgroop{
    0% { background-position: 0 50%;}
  100% { background-position: 1100% 50%;}
}
/*--------------------------------
全体
--------------------------------*/
#loader_h{
    top: 0;
    left: 0;
    z-index: 9999
}
#loader_h div{
    left: -50px;
}

footer{background-color: #005578;}
footer #footer_menu li a,#copyright,#copyright a,.foot_tel_bt a{color: #fff;}

/*--------------------------------
TOP
--------------------------------*/
.con3_wrap{z-index: 1}
.con3_wrap h3{
text-align: center;
color: #333;
padding-bottom: 10px;
margin-bottom: 20px;
margin-top: 30px;
position: relative;
border-bottom: solid 1px #e6e6e6;
}
.con3_wrap h3::before{
position: absolute;
content: "";
width: 40px;
height: 1px;
left: 0;
right: 0;
bottom: -1px;
background-color: #f09123;
margin: auto;
}
.con3_wrap #contents3 figure::before{
position: absolute;
content: "";
width: 70px;
height: 70px;
transform: rotate(45deg);
left: 0;
right: 0;
bottom: -35px;
background-color: #fff;
margin: auto;
z-index: 1;
}
.con3_wrap #contents3 figure::after{
position: absolute;
content: "01";
left: 50%;
transform: translateX(-50%);
bottom: 0;
text-align: center;
color: #f09123;
font-size: 18px;
z-index: 1;
}
.con3_wrap #contents3 .grid_6:last-child figure::after{content: "02"}
/*--------------------------------
下層
--------------------------------*/
/* カテゴリーリンクボタン hover */
.button2:hover{box-shadow: none;}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
header:before{background-image: url(./Dup/img/head2.png);}
#logo{max-width: 120px;}
.hamburger{top: 25px;}

footer .link_box li{max-width: 40px;}
}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

#logo{max-width: 100px;}
.hamburger{top: 18px;}

#contents1:before{
background-position:0 50%;
background-size:900px;
width: 100%;
height: 115px;
animation: bgroop2 30s linear infinite;
}

}

@keyframes bgroop2{
    0% { background-position: 0 50%;}
  100% { background-position: -900px 50%;}
}
/*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: #f09123; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #f09123;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #f09123;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #005578;}

/*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: #f09123;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #F0E3CA;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #005578;} /* アクセントカラー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: #f09123;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #F0E3CA;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #005578;} /* アクセントカラー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: #f09123;}
.border_color2,.hvr_border_color2:hover{border-color: #F0E3CA;}
.border_color3,.hvr_border_color3:hover{border-color: #005578;}
.border_color4,.hvr_border_color4:hover{border-color: #F7F7F7;}