﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#contents1,#contents3{position: relative;}
/*リピートなし*/
#main_img:before,#contents1:after,#contents3: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: 25vw;
height: 38vw;
top: 2vw;
right: 13vw;
}
#contents1:after{
background-image: url(./Dup/img/intro.png);
background-size: 100%;
width: 29vw;
height: 21vw;
top: 0;
right: 0;
opacity: 0.5;
}
#contents3:before{
background-image: url(./Dup/img/obj1.png);
background-size: 100%;
width: 6vw;
height: 6vw;
bottom: 10px;
left: 50px;
}
/*--------------------------------
全体
--------------------------------*/
body{background-color: #f7f3ef;}
header{height: 100%;}
#main_menu ul li a::before{background-color: #e67d23;}
.button:hover::after{box-shadow: inset 0 0 0 15em #e67d23;}

#page_title h2{font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";}
/*--------------------------------
TOP
--------------------------------*/
#contents1{padding: 100px 10% 50px;}

/* TOP お知らせ */
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/*--------------------------------
下層
--------------------------------*/
.button2:hover{box-shadow: none;}

#cms_3-c .cate_box:first-of-type .box_title3{padding-top: 0;}

/* よくあるご質問 */
.qa_type5 .faq_no {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    top: -10px;
    left: 0;
	-webkit-background-clip: padding-box; 
	-moz-background-clip: padding; 
	background-clip: padding-box;
}
.qa_type5 .box_title1, .qa_type5 .box_txt1 {padding-left: 70px;line-height: 1.7;}

@media  screen and (max-width: 1366px){
#main_img{
min-height: auto;
height: 50vw;
}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#logo{max-width: 120px;}
header{height: auto;}
.hamburger{top: 29px;}
.fat-nav li{font-size: 18px;}

.main_box{padding-top: 100px;}

#main_img {
height: 48vh;
max-height: none;
min-height: auto;
}
#main_img:before{
width: 30vw;
height: 45vw;
top: 7vw;
right: 15vw;
}
#contents1:after{
width: 40vw;
height: 30vw;
}
#contents3:before{
width: 8vw;
height: 8vw;
bottom: 20px;
left: 25px;
}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
#logo{max-width: 90px;}
.hamburger{top: 19px;}
.fat-nav li{font-size: 16px;}
.main_box{padding-top: 76px;}
footer .grid_5{text-align: center;}
.footer_cms{display: inline-block;text-align: left;}

#main_img:before {
width: 40vw;
height: 61vw;
top: 40px;
right: 30px;
}
#contents1:after{
width: 55vw;
height: 42vw;
}
#contents3{padding: 0 10% 70px;}
#contents3:before{
width: 17vw;
height: 15vw;
bottom: 10px;
left: 4px;
}

}



/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #E67D23; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #E67D23;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #E67D23;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #AF411E;}

/*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: #E67D23;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #F0B97D;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #AF411E;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #ece1d6;} /* アクセントカラー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: #E67D23;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #F0B97D;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #AF411E;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #ece1d6;} /* アクセントカラー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: #E67D23;}
.border_color2,.hvr_border_color2:hover{border-color: #F0B97D;}
.border_color3,.hvr_border_color3:hover{border-color: #AF411E;}
.border_color4,.hvr_border_color4:hover{border-color: #ece1d6;}