﻿.bg_white {background-color: #f9f6f0;}
.bg_color1 {background-color: #6d4c41;}
.bg_color2 {background-color: #efe7d8;}
.bg_color3 {background-color: #54a242;}
.bg_color4 {background-color: #efe7d8;}
.border_color1 {border-color: #6d4c41;}
.border_color2 {border-color: #cfd0d0;}
.border_color3 {border-color: #54a242;}
.txt_color1 {color: #6d4c41;}
.txt_color3 {color: #54a242;}
.hvr_bg_color1:hover {background-color: #54a242;}
.hvr_txt_color3:hover {color: #6d4c41;}
.hvr_txt_color1:hover {
    color: #6d4c41;
}
/* ----------　all　---------- */
.fix_sns {
    top: 100px;
    right: 0;
    z-index: 2;
    background-color: #efe7d8;
      -webkit-transform: translateX(calc(100% - 50px));
    -ms-transform: translateX(calc(100% - 50px));  
    transform: translateX(calc(100% - 50px));
	transition:transform 1s ease,opacity 2s ease; 
}
.fix_sns:hover{
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.fix_sns  #sns_link{
       align-items: flex-start;
}
.fix_sns  #sns_link li:hover a{
    background-color: #6d4c41;
    color: #fff;
}
.fix_sns  #sns_link li{
     width: 100%;   
}
.fix_sns  #sns_link a{
    display: flex;
    width: 100%;

}.fix_sns  #sns_link a:hover{
        opacity: 1;
}
.fix_sns  #sns_link img{
        width: 30px;
}
.fix_sns  #sns_link p {
    padding-left: 10px;
}
#top_info #sns_link p{
    display: none;
}
.linkStyle{
	color:#6d4c41;
}
.linkStyle:hover{
	color:#6d4c41;
	opacity: 0.7;
	transition: all 0.5s;
}
body{
        font-size: 17px;
    background-color: #f9f6f0;
}
#pc_nav_fix li a span{
    font-size: -webkit-calc(1rem + 2px);
    font-size: calc(1rem + 2px);
}
#yoyaku a{
    background-color: #6d4c41;
    color: #fff;
    padding: 10px 20px;
}
#sp_nav #yoyaku a {
    background-color: #54a242;
}
#yoyaku a:hover{
opacity: 0.7;
transition: 0.3s;
}
.font_2dw {
    font-size: -webkit-calc(1rem - 0px);
    font-size: calc(1rem - 0px);
}
header #logo{
    width: 125px;
}
/* ----------　TOP　---------- */
#line_animation1 path{
    fill: none;
    stroke: #ffffff;
    stroke-width: 26;
    stroke-linejoin: bevel;
    stroke-miterlimit: 5;
}
#line_animation1{
    position: absolute;
    z-index: 9;   
    width: 80%;
    max-width: 600px;
    top: 20px;
    left: 20px;
}
.gif_anime{
    position: absolute;
    z-index: 9;
    bottom: 0;
    width: 40%;
    max-width: 400px;
    left: 15%;
    opacity: 0;
    animation: appeare 0.4s ease 7.9s 1 normal forwards running;
}

@keyframes appeare {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.intro_sub_title,#top_contents .con_txt_wrap h2{
    color: #54a242;
    opacity: 1;
    font-size: -webkit-calc(1rem + 6px);
    font-size: calc(1rem + 6px);
    font-weight: bold;
}
.intro_txt_wrap{
    z-index: auto!important;
    position: relative;
}
.intro_txt_wrap:before {
    content: '';
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    border: 1px solid #6d4c41;
    top: 15px;
    left: -15px;
    z-index: -1;
}
#intro .intro_img {
    z-index: -2;
}
.border{
    position: relative;   
}
.border:before {
    content: '';
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    border: 1px solid #6d4c41;
    top: 15px;
    left: 15px;
    z-index: 0;
    overflow: auto;
}
#top_contents::before {
    background-color: #efe7d8;
}
#top_contents2 figure{
    max-width: 500px;
}
#top_contents2 p{
    position: relative;
    padding: 15px 30px;
    background: #6d4c41;
    color: #fff;
    border-radius: 5px;
    font-size: 20px;
}
#top_contents2 p:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -24px;
    margin-top: -12px;
    border: 12px solid transparent;
    border-right: 12px solid #6d4c41;
    z-index: 2;
}
#top_contents2{
    margin-bottom: 0px;
    padding-bottom: 0px;
    overflow: hidden;
    position: relative;
}
#top_contents2:after {
    z-index: 1;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 70px 0 0 100vw;
    border-color: transparent transparent transparent #efe7d8;
}
#top_cms{
        overflow-x: hidden;
}
.cms_box_back:first-child{
    background-color: #efe7d8;
    margin-bottom: 50px;
    padding-bottom: 50px;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
}
.cms_box_back:first-child:after {
    z-index: 1;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 70px 0 0 100vw;
    border-color: transparent transparent transparent #f9f6f0;
}
#top_cms .cms_title span{
    background-color: #54a242;
    transform: skewY(-30deg);
    height: 2px!important;
}
.cms_title p {
    color: #54a242;
}
/*.cms_box_back{
    position: relative;
}
.cms_box_back:nth-child(4):before {
    content: "";
    position: absolute;
    bottom: -180px;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 0 0 110vw;
    border-color: #6d4c41;
    transform: skewY( 5deg);
    z-index: -2;
}
#top_cms .cms_box_back.last{
    position: relative;
}
#top_cms .cms_box_back.last:before {
    z-index: 2;
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3px 0 0 110vw;
    border-color: #6d4c41;
    transform: skewY(5deg);
}
.cms_box_back.last:after {
    content: "";
    position: absolute;
    top: -10px;
    left: 10%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 70px 0 0 110vw;
    border-color: rgb(239 242 242 / 85%);
    transform: skewY( 5deg);
    z-index: -1;
}
.cms_box_back.last .cms_box {
    padding-top: 100px;
} */
/* ----------　下層ページ　---------- */
.youtube_box{
  position: relative;
  width: 80%;
  padding-top: 44.8%;
}
.youtube_box iframe{
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
.youtube_box:empty {
    display: none;
}



#cms_5-c .box_title1,.cms_5-c .box_title1{
position: relative;
    padding: 20px;
    padding-left: 50px;
    border-radius: 10px;
    background-color: #efe7d8;
    border: none;
}
#cms_5-c .box_title1::after,.cms_5-c .box_title1::after{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 20px;
    bottom: -15px;
    border-top: 15px solid #efe7d8;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
}
#cms_5-c .box_title1::before,.cms_5-c .box_title1::before {
    top: 16px;
}
#cms_5-c .box_txt1,.cms_5-c .box_txt1{
    background-color: #6d4c41;
    border: none;
    position: relative;
    padding: 20px;
    padding-left: 50px;
    color: #fff;
    margin-top: 30px;
    border-radius: 10px;
}
#cms_5-c .box_txt1:after,.cms_5-c .box_txt1:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    right: 20px;
    bottom: -13px;
    border-top: 13px solid #6d4c41;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
}
#cms_5-c .box_txt1::before ,.cms_5-c .box_txt1::before{
    color: rgba(255 ,255, 255, 0.5);
}
#page3 .link{
     width: 50%;
    margin: auto;   
}
#page3 .link a{
    background-color: #54a242;
    color: #fff;
    padding: 10px 0;
    width: 100%;
    display: inline-block;
    text-align: center;
}
/* ----------　IE　---------- */
@media all and (-ms-high-contrast: none){
  .sample{

  }
}

/* ----------　タブレット　---------- */
@media screen and (max-width: 768px){
.font_2dw_tb {
    font-size: -webkit-calc(1rem - 0px);
    font-size: calc(1rem - 0px);
}
#sp_nav #yoyaku{
        padding-right: 0px;
}
#line_animation1 {
    width: 60%;
}
.gif_anime {
    max-width: 250px;
    right: 5%;
    left: auto;
}
#intro {
    padding-bottom: calc(60vw - 20px);
}
#intro .intro_img {
    height: 60vw;
    top: auto;
    bottom: 0;
}
.border:before {
    top: 10px;
    left: 10px;
}
#top_contents2 {
    padding-bottom: 20px;
}    
#top_contents2 .d_flex{
        align-items: flex-start;
}
#top_contents2 figure{
        width: 40%!important;
}
#top_contents2:after {
    border-width: 40px 0 0 100vw;
}

.cms_box_back:first-child:after {
    border-width: 40px 0 0 100vw;
}
.cms_box_back:nth-child(4):before {
    bottom: -140px;
}
#top_cms .cms_box_back.last:before {
    top: 95px;
}
.cms_box_back.last:after {
    top: 85px;
}
.cms_box_back.last .cms_box {
    padding-top: 200px;
        margin-bottom: 80px;
}
#page3 .link{
     width: 100%;
}
.fix_sns:hover {
      -webkit-transform: translateX(calc(100% - 50px));
    -ms-transform: translateX(calc(100% - 50px));  
    transform: translateX(calc(100% - 50px));
}
}


/* ----------　スマホ　---------- */
@media screen and (max-width: 667px){
.font_2dw_sp {
    font-size: -webkit-calc(1rem - 0px);
    font-size: calc(1rem - 0px);
}
.youtube_box{
  width: 100%;
  padding-top: 56%;
}   
.gif_anime {
    max-width: 150px;
}
#top_contents{
    padding-bottom: 50px;
        margin-bottom: 50px;
}
#top_contents2 {
    padding-bottom: 0px;
}
#top_contents2:after,.cms_box_back:first-child:after {
    border-width: 25px 0 0 100vw;
}
 #top_contents2 figure {
    width: 100%!important;
}
#top_contents2 .d_flex {
    flex-direction: column-reverse;
}
#top_contents2 p{
    margin-bottom: 35px;
    font-size: 18px;
    margin: auto;
    margin-bottom: 30px;
}
#top_contents2 p:before {
        left: 24px;
    top: auto;
    margin-top: 0px;
    margin-bottom: -12px;
    border-right: 12px solid transparent;
    bottom: -12px;
    border-top: 12px solid #6d4c41;
    border-right: 12px solid transparent; 
    border-left: 12px solid transparent; 
}
.cms_5-c .box_txt1::before,.cms_5-c .box_title1::before ,#cms_5-c .box_title1::before,#cms_5-c .box_txt1::before{
    left: 15px;
}
#page8 .tel_box {
padding: 35px 20px;    
}
#page8 .tel_box a{
    font-size: -webkit-calc(1rem + 8px);
    font-size: calc(1rem + 8px);
}
#page3 .cate .box_item{
    padding-right: 0px;
        margin-bottom: 20px;
}
#line_animation1 {
    max-width: 200px;
    top: 10px;
}
.fix_sns,.fix_sns:hover  {
    -webkit-transform: translateX(calc(100% - 40px));
    -ms-transform: translateX(calc(100% - 40px));
    transform: translateX(calc(100% - 40px));
}
.fix_sns #sns_link a {
    padding: 7px 5px;
}
.fix_sns #sns_link img {
    width: 30px;
}
}