﻿@font-face {
font-family: "harenosora_yoko";
  src: url("./Dup/img/harenosora_yoko.otf") format("otf"),url("./Dup/img/harenosora_yoko.woff") format("woff"),url("./Dup/img/harenosora_yoko.woff2") format("woff2");
}
@font-face {
font-family: "harenosora_tate";
  src: url("./Dup/img/harenosora_tate.otf") format("otf"),url("./Dup/img/harenosora_tate.woff") format("woff"),url("./Dup/img/harenosora_tate.woff2") format("woff2");
}
.font1{font-family: "harenosora_yoko","serif";}
.font2{font-family: "harenosora_tate","serif";}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#contents1,#contents1 h2 span{position: relative;}
/*リピートなし*/
#contents1:before,#contents1:after,
#contents1 h2 span:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#contents1:before{
background-image: url(./Dup/img/obj1.png);
width: 300px;
height: 150px;
top: 5%;
right: -10px;
}
#contents1:after{
background-image: url(./Dup/img/obj2.png);
width: 450px;
height: 150px;
bottom: 5%;
left: -15px;
}
#contents1 h2 span:before{
background-image: url(./Dup/img/obj3.png);
width: 150px;
height: 150px;
top: -40px;
right: -100px;
opacity: 0.1;
}
/*--------------------------------
全体
--------------------------------*/
.z1{z-index: 1;}
#wrap{background-image: url(./Dup/img/bg_img.jpg);}
#header h1.active{background-color: #fafafa;top:15px;left: 15px;}
#header h1 img{max-width: 200px;}
#header h1.active img{max-width: 100px;}
#header h1 span{border: none;}
/*--------------------------------
TOP
--------------------------------*/
#intro .txt_vertical{max-height: 350px;}
#contents2::after{background-color: rgba(60,105,50,0.6);}
#contents2 .txt_vertical{max-height: 400px;}

#contents3::after{background-image: url(./Dup/img/bg_img.jpg);}
/*--------------------------------
下層
--------------------------------*/

/*IEのみ*/
@media all and (-ms-high-contrast: none) {}

/*タブレット用（768px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 768px){
#intro .txt_vertical{max-height: 280px;}
#contents1:before{
width: 200px;
height: 100px;
top: 3%;
}
#contents1:after{
width: 300px;
height: 100px;
bottom: 3%;
}
}

/*スマホ用（667px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 667px){
.font1_sp{font-family: "harenosora_yoko","serif";}

#header h1 img{max-width: 150px;}
#header h1.active img{max-width: 70px;}
#header h1.active {
top: 5px;
left: 5px;
}
#intro .txt_vertical{max-height: 250px;}

#contents1:before{
width: 150px;
height: 75px;
top: 3%;
}
#contents1:after{
width: 225px;
height: 75px;
bottom: 3%;
}
}

/*--------------------------自動リンク--------------------------*/
/* color */
.linkStyle{color: #96A550; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #96A550;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #96A550;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #69915F;}

/*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: #96A550} /* メインカラー */
.txt_color2{color: #d7e1c3} /* サブカラー */
.txt_color3{color: #69915F} /* アクセントカラー1 */
.txt_color4{color: #F2F2F2} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #96A550} /* メインカラー */
.bg_color2{background-color: #d7e1c3} /* サブカラー */
.bg_color3{background-color: #69915F} /* アクセントカラー1 */
.bg_color4{background-color: #F2F2F2} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #96A550}
.border_color2{border-color: #d7e1c3}
.border_color3{border-color: #69915F}
.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: #96A550} /* メインカラー */
.hvr_txt_color2:hover{color: #d7e1c3} /* サブカラー */
.hvr_txt_color3:hover{color: #69915F} /* アクセントカラー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: #96A550} /* メインカラー */
.hvr_bg_color2:hover{background-color: #d7e1c3} /* サブカラー */
.hvr_bg_color3:hover{background-color: #69915F} /* アクセントカラー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: #96A550}
.hvr_border_color2:hover{border-color: #d7e1c3}
.hvr_border_color3:hover{border-color: #69915F}
.hvr_border_color4:hover{border-color: #F2F2F2}