﻿/* color */
body,.txt_color_nomal{color: #492313;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #87be77} /* メインカラー */
.txt_color2{color: #f9f6e7} /* サブカラー */
.txt_color3{color: #f9b977} /* アクセントカラー1 */
.txt_color4{color: #ffcebd} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #9ed78e} /* メインカラー */
.bg_color2{background-color: #f9f6e7} /* サブカラー */
.bg_color3{background-color: #f9b977} /* アクセントカラー1 */
.bg_color4{background-color: #ffcebd} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}

/* border-color ※!important */
.border_white{border-color: #fff}
.border_color1{border-color: #9ed78e}
.border_color2{border-color: #f9f6e7}
.border_color3{border-color: #f9b977}
.border_color4{border-color: #ffcebd}

/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #555;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #9ed78e} /* メインカラー */
.hvr_txt_color2:hover{color: #f9f6e7} /* サブカラー */
.hvr_txt_color3:hover{color: #f9b977} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #ffcebd} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #9ed78e} /* メインカラー */
.hvr_bg_color2:hover{background-color: #f9f6e7} /* サブカラー */
.hvr_bg_color3:hover{background-color: #f9b977} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #ffcebd} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #9ed78e}
.hvr_border_color2:hover{border-color: #f9f6e7}
.hvr_border_color3:hover{border-color: #f9b977}
.hvr_border_color4:hover{border-color: #ffcebd}


.linkStyle {
    color: #9ed78e;
}
#intro .intro_bg {
    background-color: rgba(227,136,77,0.87);
}
#intro {
    z-index: -1;
}
.width_60per {
    width: 81%!important;
    margin: 0 auto;
}
#main_img h2 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-size: 3vw;
   /* color: #9ed78e;*/
}
#main_img::before {
    opacity: 0;
}
.top_view {
/*    background-color: rgba(0,0,0,0.2);*/
    text-align: center;
}
.image_1 {
    bottom: -200px;
    right: 0;
    width: 30%;
}
.contents2_image {
    top: -80px;
    right: -50px;
    width: 180px;
}
.top_cms_title h2 {
    color: #87be77;
}
#contents2 .cate_box {
    border: 10px solid #9ed78e;
    background-color: #9ed78e;
    background-image: url(./Dup/img/con2_back.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
}
#contents2 .box_txt1 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
.catch_1 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-size: 4vw !important;
}
.catch_2 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    font-size: 2vw;
    font-weight: bold;
    margin-top: 50px;
}
#main_img .txt.animStart h2, #main_img .txt.animStart h3 {
    text-shadow: 1px 1px 3px #555;
}
.Text-Span {
  position: relative;
  z-index: 1;
}
.Text-Span:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0%;
    height: 20px;
    background: #9ed78e;
    z-index: -1;
    transition: all 0.8s;
}
.Text-Span.isActive:after {
  width: 100%;
}
.logo_h {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    z-index: -1;
    opacity: 0.7;
    animation-name: moveToRight;
  animation-duration: 4s;
  animation-delay: 4s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}
@keyframes moveToRight {
  50% {
      opacity: 0.7;
  }
  100% {
    left: 400px;
    opacity: 0;
  }
}
.logo_after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    opacity: 1;
    z-index: -1;
    opacity: 0;
    animation-name: fade;
  animation-duration: 8s;
  animation-delay: 4s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}
@keyframes fade {
  0% {
      opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}
#page7 {
    margin-bottom: 80px;
}
.growth {
    bottom: -150px;
    width: 30%;
    right: 0%;
    z-index: -1;
    opacity: 0.6;
}
.growth2 {
    bottom: -150px;
    width: 30%;
    right: 0%;
    z-index: -1;
    opacity: 0.6;
}
/*.cms_2-c .cate_box {
    background-color: #9ed78e;
    border: 5px solid #9ed78e;
}*/
.cms_2-c .box_item {
    background-color: #fff;
}
.page_icon {
    top: 0%;
    left: -100px;
    /* transform: translate(-50%, -50%); */
    z-index: 2;
    width: 70px;
}
/*.page_icon {
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 70px;
}*/

#page_title::before {
    background: rgba(0,0,0,0.2);
}


.cms_6-b .cate_box, .cms_6-b .cate_box .box_txt1, .cms_6-b .cate_box .box_txt2, #cms_6-b .cate_box, #cms_6-b .cate_box .box_txt1, #cms_6-b .cate_box .box_txt2 {
    border-color: #e7e6e6;
}
.cms_6-b .cate_box:first-of-type, #cms_6-b .cate_box:first-of-type {
    border-top: 1px solid #e7e6e6;
}
.qa_type2 .cate_box{
	overflow: hidden;
	background-color: #fbf2bd;
}
.qa_type2 .cate_box, .qa_type2 .box_txt1, .qa_type2 .box_txt2{
	border-color: #9ed78e;
}
.qa_type2 .box_txt1, .box2 .box_txt1{
	border-color: rgba(0,0,0,0.05)
}
.qa_type2 .box_txt1{
	color: #492313;
}
.qa_type2 .box_txt1, .qa_type2 .box_txt2,
.box2 .box_txt1, .box2 .box_txt2{
	position:relative;
	z-index: +1;
}
.qa_type2 .box_txt1::before, .box2 .box_txt1::before{
	content: "Q.";
	position: absolute;
	top: 19px;
	transform: translateY(-50%);
	left: -26px;
	font-size: 7em;
	color: rgba(175,223,162,0.8);
	z-index: -1;
}
.qa_type2 .box_txt2::before, .box2 .box_txt2::before {
    content: "A.";
    position: absolute;
    top: 19px;
    transform: translateY(-50%);
    left: 5px;
    font-size: 7em;
    color: rgba(255,255,255,0.75);
    z-index: -1;
}
.qa_type2 .box_txt2 {
    font-weight: bold;
}
/*--------タブレット--------*/
@media screen and (max-width: 768px){
.qa_type2 .cate_box{
	width: 95%!important;
}
}
/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
.qa_type2 .box_txt1::before, .box2 .box_txt1::before {
	top: 3px;
	left: -26px;
	font-size: 18vw;
}
.qa_type2 .box_txt2::before, .box2 .box_txt2::before {
	top: 16px;
	left: 5px;
	font-size: 18vw;
}
}
/*#contents1 .bg_color2, #top_info {
    background: linear-gradient(-45deg, #f9f6e7, #fdfaed, #eefbec, #efffea);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100vh;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}*/
/*まずはお決まりのボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

/*その他と主な共通部分は省略*/

.btn-flat {
    overflow: hidden;
    padding: 1rem 2rem;
    color: #fff;
    border-radius: 0;
    background: #333;
    font-size: 16px;
}

.btn-flat span {
  position: relative;
}

.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;

  width: 100px;
  height: 100px;

  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-80%) translateY(-25px);
  transform: translateX(-80%) translateY(-25px);

  border-radius: 50%;
  background: #9ed78e;
}

.btn-flat:hover:before {
  width: 400px;
  height: 400px;

  -webkit-transform: translateX(-1%) translateY(-175px);

  transform: translateX(-1%) translateY(-175px);
}
#sp_nav a.active {
    color: #fff;
    border-bottom: 1px solid #fdfae8;
    margin-bottom: 10px;
}
header {
    z-index: 11;
}
/******modal***********/
.modal_bt{cursor: pointer}
.modal_bt {
    position: relative;
    left: 0%;
    /*transform: translateX(-50%);*/
    bottom: -50px;
    animation: yureru-j 2s infinite;
}
@keyframes yureru-j {
    0% {
        transform: translate(0px, 2px);
    }
    5% {
        transform: translate(0px, -2px);
    }
    10% {
        transform: translate(0px, 2px);
    }
    15% {
        transform: translate(0px, -2px);
    }
    20% {
        transform: translate(0px, 2px);
    }
    25% {
        transform: translate(0px, -2px);
    }
    30% {
        transform: translate(0px, 0px);
    }
}
.modal_bg{
     top: 0;left: 0;
     background-color: rgba(0,0,0,0.8);
     z-index: 12
}
.modal_box{
     max-height: 80%;
     overflow-y: auto;
     z-index: 10
}
.close_bt{cursor: pointer}
.modal_box {
    background-image: url(./Dup/img/slide1_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}
.contact_btn {
    position: relative;
    left: 50%;
    bottom: 200px;
    z-index: 11;
    transform: translateX(-50%);
    animation: yureru-j2 2s infinite;
    cursor: pointer
}
@keyframes yureru-j2 {
    0% {
        transform: translate(-50%, 2px);
    }
    5% {
        transform: translate(-50%, -2px);
    }
    10% {
        transform: translate(-50%, 2px);
    }
    15% {
        transform: translate(-50%, -2px);
    }
    20% {
        transform: translate(-50%, 2px);
    }
    25% {
        transform: translate(-50%, -2px);
    }
    30% {
        transform: translate(-50%, 0px);
    }

}
.image_2 {
    bottom: -33px;
    left: 0;
    width: 33%;
    z-index: 2;
}
.hito, .hito1 {
    bottom: -170px;
    z-index: 11;
    width: 140px;
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

/* color */
body,.txt_color_nomal{color: #555;}
.txt_white_tb{color: white;}
.txt_red_tb{color: red;}
.txt_color1_tb{color: #9ed78e} /* メインカラー */
.txt_color2_tb{color: #f9f6e7} /* サブカラー */
.txt_color3_tb{color: #f9b977} /* アクセントカラー1 */
.txt_color4_tb{color: #ffcebd} /* アクセントカラー2 */
	
/* background-color */
.bg_white_tb{background-color: white} /* 白背景 */
.bg_black_tb{background-color: black} /* 黒背景 */
.bg_color1_tb{background-color: #9ed78e} /* メインカラー */
.bg_color2_tb{background-color: #f9f6e7} /* サブカラー */
.bg_color3_tb{background-color: #f9b977} /* アクセントカラー1 */
.bg_color4_tb{background-color: #ffcebd} /* アクセントカラー2 */
.bg_color_clear_tb{background-color: transparent!important}
	
/* border-color ※!important */
.border_white_tb{border-color: #fff}
.border_color1_tb{border-color: #9ed78e}
.border_color2_tb{border-color: #f9f6e7}
.border_color3_tb{border-color: #f9b977}
.border_color4_tb{border-color: #ffcebd}
.image_1 {
    bottom: -86px;
    right: 0;
    width: 40%;
}

.catch_1 {
    font-size: 8vw !important;
}
.catch_2 {
    font-size: 5vw;
}
.logo_h, .logo_after {
    width: 80%;
}
#main_img .txt {
    left: 10vw;
}


#cms_2-c .box_item {
    width: 100% !important;
}
#top_info {
    height: 75vh;
}
#page7 {
    margin-bottom: 50px;
}
.contact_btn {
    bottom: 161px;
}
.image_2 {
    bottom: -33px;
    left: 0;
    width: 45%;
    z-index: 2;
}
.contents2_image {
    top: -80px;
    right: -32px;
    width: 160px;
}
.growth {
    bottom: -120px;
    width: 50%;
    right: 0%;
    z-index: -1;
    opacity: 0.6;
}
.growth2 {
    bottom: -100px;
    width: 50%;
    right: 0%;
    z-index: -1;
    opacity: 0.6;
}
.growth3 {
    bottom: -70px;
    width: 50%;
    right: 0%;
    z-index: -1;
    opacity: 0.6;
}
.cms_2-c .box_item {
    width: 100% !important;
}
.hito, .hito1 {
    bottom: -170px;
    z-index: 11;
    width: 100px;
}
}






/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.bg_color_clear_sp{background-color: transparent!important}
#main_img .txt {
    left: 40px;
}
.image_1 {
    bottom: -68px;
    right: 0;
    width: 59%;
}
.growth {
    bottom: -80px;
    width: 100%;
    right: 0%;
    z-index: -1;
    opacity: 0.3;
}
.growth2 {
    bottom: -50px;
    width: 100%;
    right: 0%;
    z-index: -1;
    opacity: 0.3;
}
.growth3 {
    bottom: -40px;
    width: 100%;
    right: 0%;
    z-index: -1;
    opacity: 0.6;
}
.contents2_image {
    top: -282px;
    right: 50%;
    width: 94px;
    transform: translateX(50%);
}
#contents2 .box_txt1 {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}
.cms_2-c .cate_box {
     background-color: rgba(0,0,0,0);
     border: none; 
}


#top_info {
    height: 150vh;
}
.page_icon {
    display: none;
}
#page7 {
    margin-bottom: 20px;
}
.contact_btn {
    bottom: 96px;
}
.image_2 {
    bottom: 67px;
    left: 0;
    width: 60%;
    z-index: 2;
}
.hito, .hito1 {
    bottom: -100px;
    z-index: 11;
    width: 71px;
}
}
