﻿#sp_banner a {
    display:none;
}
#fix_banner {
    bottom: -100px;
    left: 10px;
    position: fixed;
   
    width: 520px;
    z-index: 10;
    transition: all 0.4s;
}
#fix_banner a:hover{
    transform:translateY(-5px);
}
#fix_banner.banner_active{
    bottom:10px;
}
#fix_banner a{
     box-shadow: 5px 5px 10px #00000029;
     transition:all 0.3s;
}

header #header #header_menu li a span {
    font-size: 16px;
    text-shadow: 0 0 10px #ffffff40;
}
a.linkStyle {
    color: #7e917a;
    text-decoration: underline;
}
.btn_container.grid_12_sp a {
    display: inline-block;
    background: #778973;
    color: white;
    padding: 5px 20px;
    margin-top: 25px;
}
.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
	margin-bottom: 30px;
    color: #474521;
    font-weight: normal;
}
.link_type1 .link_top .link_title{
    font-size: 20px;
    margin-bottom: 20px;
}
.link_type1 .link_top a{
	padding-top: 80px;
    padding-bottom: 60px;
}
.link_type1 .link_top a:hover{
    background-color: #ededeb;
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}
@media screen and (max-width: 667px){
.link_type1 .link_top .link_title{
    font-size: 15px;
}
}



.foot_link {
    margin-top: 50px;
}
.con_banner_wrap .box {
    width: 45%;
}
.con_banner_wrap {
    display: flex;
    justify-content: space-around;
    max-width: 800px;
    margin: auto;
    margin-top: 50px;
}
div#fix_banner_wrap {
    display: flex;
}
.img-container.active:before {
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
}
.img-container:before {
    background: #fff;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .7s 0s ease;
    width: 100%;
    z-index: 1;
    -webkit-transform-origin: right;
    transform-origin: right;
    -webkit-transition: 1s cubic-bezier(0.06, 0.38, 0.21, 1);
    transition: 1s cubic-bezier(0.06, 0.38, 0.21, 1);
}





.BA_type2 .box_img1_wrap, .BA_type2 .box_img2_wrap {
	width: 48%!important;
	margin: 0 1%;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before {
	position: absolute;
	content: "Before";
	width: 121px;
	background-color: #5c4e47;
	color: #fff;
	text-align: center;
	display: block;
	left: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 4px 0px;
	box-sizing: border-box;
}
.BA_type2 .box_img2_wrap::before {
    content: "After";
    background-color: #7e917a;
}
/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{
	width: 76px;
	font-size: 13px;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{padding: 1px 0px;}
}



.box_description .box_txt1 {
    background: #fbfaf4;
    box-sizing: border-box;
    padding: 10px 15px !important;
}
#cms_3-c .cate_title {
    background: #7e917a;
    color: white;
    text-align: center;
    border: 0;
    padding: 2px;
}
#cms_3-c .box_title1 {
    font-weight: bold;
}
#page_title h2 {
    font-size: 60px;
    line-height: 1em;
    color: #5c4e47;
    font-family: 'Tangerine', cursive !important;
}

#cms_2-g .cate_img1 {
    max-height: none;
}
#cms_2-g .cate_title {
    font-size: 2.5em;
    color: #5c4e47;
}
section#back_attach:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: rgb(203 194 135 / 30%);
    top: 0;
}
section#back_attach {
    padding: 150px 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: -1;
}
section#back_attach p {
    text-align: center;
    font-size: 78px;
    font-family: 'Tangerine', cursive !important;
    line-height: 1em;
    z-index: 2;
    position: relative;
    font-weight: bold;
    color: white;
}
header #logo .logo img{
    width:100% !important;
}


.top_cms_box .cms_title h2{
   color: #5c4e47; 
}
#page-top a {
    background: #5c4e47;
    color: white;
}
div#main_b {
    position: absolute;
    z-index: 3;
}
.hvr_bg_color1:hover {
    background-color: #778973;
}
.bg_color2 {
    background-color: #fffcf8;
}
#main_img:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: #cbc287;
    z-index: 1;
       opacity: 0.2;
}
.bg_color2 {
    background-color: #fffdf6;
}
.bg_color2 {
    background: #fffdf6 url(Dup/img/bg.png);
}

#wrap {
    background-color: #ffffff;
}
.bg_color3 {
    background-color: #5c4e47;
}
.bg_color1 {
    background-color: #5c4e47;
}
header #header #header_menu li:last-child a span {
    background: #7e917a;
}
.con_no{
    font-family: 'Tangerine', cursive !important;
}
.con_txt_wrap .con_no {
    font-size: 38px;
    margin-bottom: 30px;
    color: #7e917a;
}
.intro_txt .con_no {
    font-size: 38px;
    opacity: 1;
    color: #f1cc9f;
}

header #header #header_menu li:last-child a span {
    background: #5c4e47;
}
header #header #header_menu li:last-child a span:hover{
    background:#778973;
}


/*---------------------------タブレット-------------------------------------*/
@media screen and (max-width:768px){
    section#back_attach {
    background-attachment: initial;　
    }
    div#left, #right {
    height: 100%;
}
    #main_img {
    height: 60vh;
}
div#main_b {
    width: 270px;
}
header #logo .logo img {
    width: 90% !important;
}
.BA_type2 .cate_box {
    padding: 20px;
}
}

/*---------------------------スマホ-------------------------------------*/
@media screen and (max-width:667px){
    #main_img {
    height: 100vh;
    flex-direction: column;
}
    div#left, #right {
    height: 50%;
}
div#left, #right {
    height: 50%;
}
#main_img:before{
    opacity: 0.3;
}
div#main_b {
    width: 220px;
}
#fix_banner{
    width:220px;
}
#cms_2-g .cate_title {
    font-size: 1.5em;
}
#page_title h2 {
    font-size: 50px; 
}
.con_banner_wrap {
    flex-direction: column;
    align-items:center;
}
.con_banner_wrap .box {
    width: 90%;
    margin: 10px 0;
}
section#back_attach {
    padding: 100px 0; 
}
section#back_attach p {
    font-size: 58px; 
}
div#main_b {
    width: 180px;
}
p#copyright {
    width: 280px;
    margin: auto;
}
#fix_banner a:last-of-type {
    display: none;
}
#sp_banner a {
    position: fixed;
    right: 0;
    top: 20%;
    writing-mode: vertical-lr;
    background: #785f16;
    color: white;
    padding: 15px 5px;
    font-size: 12px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    display:block;
    
}
}