﻿
/* color */
.txt_color_nomal{color: #212121;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #aed265} /* メインカラー */
.txt_color2{color: #f4f4f4} /* サブカラー */
.txt_color3{color: #5188b1} /* アクセントカラー1 */
.txt_color4{color: #ddfbfb} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #aed265} /* メインカラー */
.bg_color2{background-color: #f4f4f4} /* サブカラー */
.bg_color3{background-color: #5188b1} /* アクセントカラー1 */
.bg_color4{background-color: #ddfbfb} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #aed265}
.border_color2{border-color: #f4f4f4}
.border_color3{border-color: #5188b1}
.border_color4{border-color: #ddfbfb}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #212121;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #aed265} /* メインカラー */
.hvr_txt_color2:hover{color: #f4f4f4} /* サブカラー */
.hvr_txt_color3:hover{color: #5188b1} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #ddfbfb} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #aed265} /* メインカラー */
.hvr_bg_color2:hover{background-color: #f4f4f4} /* サブカラー */
.hvr_bg_color3:hover{background-color: #5188b1} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #ddfbfb} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}


/* border-color ※!important */
.hvr_border_color1:hover{border-color: #aed265}
.hvr_border_color2:hover{border-color: #f4f4f4}
.hvr_border_color3:hover{border-color: #5188b1}
.hvr_border_color4:hover{border-color: #ddfbfb}

h2, h3, h4 {
    font-family: 'Kosugi', sans-serif !important;
    font-weight: bold;
}
.linkStyle {
    color: #5188b1;
}
#contents1 {
    /* border-radius: 30% 30% 0 0; */
    margin-top: 100px;
    padding: 50px;
    border-top: 8px solid;
    border-left: 8px solid;
    border-right: 8px solid;
    border-color: #ddfbfb;
    background-color: #f9fbfb;
}
/*#contents1 .txt2 {
    text-align: center;
}*/
#contents1 h2 {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 2rem 1.5rem 130px;
    border: 2px solid #aed265;
    background-color: #fff;
    top: -20px;
    z-index: 1;
}

#contents1 h2:before {
    position: absolute;
    top: -150%;
    left: -100px;
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
    background: #aed265;
}

#contents1 h2 span {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: #fff;
}
#contents2 h2 {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 2rem 1.5rem 130px;
    border: 2px solid #aed265;
    background-color: #fff;
    top: -20px;
    z-index: 1;
}

#contents2 h2:before {
    position: absolute;
    top: -150%;
    left: -100px;
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
    background: #aed265;
}

#contents2 h2 span {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: #fff;
}
.town_img {
    top: -107px;
    right: 0;
    height: 100px;
    width: auto;
    z-index: 0;
}
/*#contents1 p {
    color: #5188b1;
}*/
.con3_box {
    padding: 3% 2%;
    background-color: #fff;
    top: -10px;
}
#contents3 {
    border: 8px solid;
    border-color: #ddfbfb;
    background-color: #f9fbfb;
}


.con3_box {
    position: relative;
}
.con3_box:before {
    position: absolute;
    content: "";
    background-image: url(./Dup/img/sankaku.png);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    right: -1px;
    top: -1px;
}
#contents3 h3 {
    background-color: #aed265;
    position: relative;
    left: -50px;
    top: -10px;
    padding: 15px;
    color: #fff;
}
.txt_shadow-b {
    text-shadow: none;
}
.con1_title img {
    position: relative;
    width: auto;
    height: 50px;
    left: 0px;
    top: 10px;
}
.con2_title img {
    position: relative;
    width: auto;
    height: 50px;
    left: 0px;
    top: 10px;
}

.fadein {
  opacity : 0;
  transform : translate(0, 50px);
  transition : all 1s;
}
 
.fadein.active{
  opacity : 1;
  transform : translate(0, 0);
}
.cms_title p {
    color: #5188b1;
}
#contents_box {
    background-color: #ffffff;
    background-image: url("https://www.transparenttextures.com/patterns/worn-dots.png");
/* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
    padding-top: 1px;
    padding-bottom: 50px;
}
#contents2 .grid_6 p {
    background-color: #fff;
    padding: 2%;
}
#page_title .page_box::before {
    background-color: #5188b1;
}

#cms_3-a .cate_title {
    border-left: 10px solid #5188b1;
    background-color: #aed265;
    color: #ffffff;
    padding: 10px;
}
.cms_title::before {
    background-color: #5188b1;
}
#main_menu ul li a::before {
    background-color: #aed265;
}
#tel_txt .txt_color2 {
    color: #aed265;
}
#page8 .border_color2 {
    border-color: #5188b1;
}
/*.fa-envelope:before {
    display: none;
}*/
.contact_bt a {
    padding-bottom: 30px;
    padding-top: 30px;
    border: 2px solid;
    font-size: 20px;
}
.tel_bt a {
    border-color: #5188b1;
}
.tel_bt a:hover, .contact_bt a:hover {
    border-color: #aed265;
}
#contact_tel a {
    padding: 30px 10px;
}
#main_img:after {
    position: absolute;
    content: "";
    background-color: rgba(0,0,0,0.07);
    background-size: 100%;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
#main_img h2 {
    z-index: 3;
    font-size: 28px;
}
.contact_bt a {
    animation: pekopeko 2s infinite;
    box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
}
@keyframes pekopeko {
    0% {
        box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
        top: 0px;
    }
    10% {
        box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
        top: 3px;
    }
    20% {
        box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
        top: 0px;
    }
    30% {
        box-shadow: 0 0 0 rgb(0, 0, 0, 0.3);
        top: 3px;
    }
    40% {
        box-shadow: 0 3px 0 rgb(0, 0, 0, 0.3);
        top: 0px;
    }
}

.cate_list a {
    font-weight: bold;
    font-size: 17px;
}
/**************タブレット*************************/
@media screen and (max-width: 768px) {
#logo {
    width: 100%;
    max-width: 150px;
}
    .hamburger {
    top: 35px;
    right: 10px;
}
     .con1_title img {
    left: 0px;
    top: 20px;
}
     .con2_title img {
    left: -5px;
    top: 20px;
}
#contents3 h3 {
    left: -33px;
    top: -10px;
    padding: 15px;

}
main {
    display: block;
    margin-top: 30px;
}
.fadein {
  opacity : 1;
  transform : translate(0, 0);
  transition : all 1s;
}
#contents2 h2 {
    padding: 1.5rem 1.5rem 1.5rem 110px;
}
.cash_banner {
    width: 250px;
}
}
/**************スマホ*************************/
@media screen and (max-width: 667px) {
    #logo {
    width: 100%;
    max-width: 120px;
}
   .hamburger {
    top: 25px;
    right: 10px;
}
main {
    display: block;
    margin-top: 26px;
}
    #contents1 h2:before, #contents2 h2:before {
        display: none;
}
    #contents2 h2 span, #contents1 h2 span {
        display: none;
    }
    #contents1 {
    /* border-radius: 30% 30% 0 0; */
    margin-top: 100px;
    padding: 50px 20px;
}
    #contents1 h2, #contents2 h2 {
    padding: 1rem;
}
    .town_img {
    top: -69px;
    right: 0;
    height: 55px;
    width: auto;
    z-index: 0;
}
   #contents1 {
    /* border-radius: 30% 30% 0 0; */
    margin-top: 50px;
    padding: 50px 20px;
}
   #contents2 {
    padding-top: 50px;
}
#contents1 h2, #contents2 h2 {
    padding: 1rem 0.6rem;
}
#main_img h2 {
    z-index: 3;
    font-size: 18px;
}
}
/* ----------- IE ------ ---------- */
@media all and (-ms-high-contrast:none) {
#cms_3-a .cate_title {
    border-left: 10px solid #5188b1;
    background-color: #aed265;
    color: #ffffff;
    padding: 10px 10px 5px !important;
}
#contents1 h2, #contents2 h2 {;
    padding: 1.5rem 2rem 1.1rem 130px !important;
}
#contents3 h3 {
    padding: 15px 15px 10px !important;
}

}
