﻿#page8 .contact_tel a {
    padding: 14px 30px;
    margin: 2px;
}

.bg_color3 {
    background-color: #f7cc38;
}

.bg_color2 {
    background-color: #4d9f59;
}

.txt_color2{color: #d94352;} /* サブカラー */
.txt_color3{color: #4d9f59;} /* アクセントカラー1 */

footer .border_color5 {
    border-color: #018f15;
}

.con1_inner p{
    text-align: left;
    width: 90%;
    margin: auto;
}

#con2{
    position: relative;
    overflow: hidden;
}

#con2:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 52%;
    background-image: url(./Dup/img/boss.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 310px;
    pointer-events: none;
    z-index: 1;
}

#main_img{
    position: relative;
        background-color: transparent;
         overflow: hidden;
}

#main_img:before{
    content: "";
    display: block;
    width: 150%;
    height: 200%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/ani.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%) rotate(0deg);
    transform: translate(-50% , -50%) rotate(0deg);
    background-size: 200%;
    pointer-events: none;
    background-color: #4d9f59;
    z-index: -1;
    animation: bgiLoop 50s linear infinite;
}



@keyframes bgiLoop {
    0% { transform: translate(-50% , -50%) rotate(0deg);}
  100% { transform: translate(-50% , -50%) rotate(360deg);}
}


#con1{
   background-image: url(./Dup/img/house.png), url(./Dup/img/town.png);
    background-position: bottom center, bottom center;
    background-repeat: no-repeat;
    background-size: 50%, contain;
}

.con1_squ{
    display: none;
}

#con1{
    position: relative;
}

#con1:before{
    content: "";
    display: block;
    width: 15%;
    height: 50%;
    position: absolute;
    top: 110%;
    left: 80%;
    background-image: url(./Dup/img/hito1.png);
    background-position: top right;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%) rotate(-15deg);
    transform: translate(-50% , -50%) rotate(-15deg);
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.sl{
    display: none;
}

.border_color3 {
    border-color: #4d9f59;
}

#con2 .width_40per p.txt_color2{
    color:#4d9f59;
    font-weight: bold;
    position: relative;
}


#con2 .width_40per p.txt_color2:before {
        content: "";
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: -20px;
    left: -10px;
    background-image: url(./Dup/img/eye.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

#fakeloader:before {
    background-color: transparent !important;
}

#con3 .title .en {
    font-size: 33px;
    font-weight: bold;
    text-shadow: #4da359 2px 0px, #4da359 -2px 0px, #4da359 0px -2px, #4da359 -2px 0px, #4da359 2px 2px, #4da359 -2px 2px, #4da359 2px -2px, #4da359 -2px -2px, #4da359 1px 2px, #4da359 -1px 2px, #4da359 1px -2px, #4da359 -1px -2px, #4da359 2px 1px, #4da359 -2px 1px, #4da359 2px -1px, #4da359 -2px -1px;
}

#con4{
    display: none;
}

.pagetitle > div.posi_rel{
        display: inline-block;
    background-color: rgba(255,255,255,0.8);
    padding: 10px 30px;
    border-radius: 10px;
    padding-bottom: 5px;
    padding-top: 15px;
}

.pagetitle_img {
    opacity: 0.6;
    mix-blend-mode: unset;
    background-size: cover;
}

.linkStyle{color: #4d9d59;}

.header-in {
    height: 100px;
}

#fakeloader .fl {
    max-width: 190px;
}

@media all and (-ms-high-contrast: none){
  

}




/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

#con2:before {
    background-position: 10% 100%;
    background-size: 40%;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){

.header-in {
    height: 53px;
}

#main_img {
    padding-top: 0px;
    margin-top: 70px;
}

#page1{
    overflow: hidden;
}

.topTxt1 {
    display: block;
    font-size: 16px;
    line-height: 1.5em;
}

#con1:before {
    top: 118%;
    left: 100%;
}

#con1 {
    background-size: 100%, contain;
}



#con3 div.title{
        width: 90%;
    text-align: center;
    margin: auto;
    margin-bottom: 50px;
}

#con3 .title .en{
    font-size: 22px;
}

.f_contact_box h4{
    font-size: 35px;
    margin-bottom: 7px;
}

.pagetitle h2 {
    font-size: 28px;
}

}