﻿.top_banner {
    width: 60%;
    margin: auto;
    margin-top: 40px;
}
#cms_2-a .cate_box a {
    color: #603813;
    text-decoration: underline;
}
.remodal .btn{
    text-align:center;
}
.remodal a {
    background: #051844;
    margin-top: 20px;
    display: inline-block;
    padding: 5px 50px;
    font-size: 16px;
    color: white;
}
a.linkStyle {
    color: #051844;
    text-decoration: underline;
}
div#fakeloader{
    background-color: #051844 !important;
}
section#banner_wrap a:hover {
    transform: translateY(-5px);
}
#banner_wrap a {
    display: block;
    transition:all 0.3s;
}
.link_type1 .link_top a {
    padding-top: 60px;
    padding-bottom: 50px;
        background: #a89d73;
    color: white;
}

.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{
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
}
.link_type1 .link_top a {
    padding-top: 60px;
    padding-bottom: 50px;
}
.link_type1 .link_top a:hover {
    background-color: #603813;
}
.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;
}
}



.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: #4d4d4d;
	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: #051844;
}
*/
/* ---------- スマホ ---------- */
@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;}
}

#cms_3-e .box_item .box_txt1 {
    padding: 10px !important;
    background: #f3f3f3;
}
#cms_3-e .box_title1,#cms_3-e .box_title2 {
    border-bottom: 1px dashed;
}
#cms_3-e .cate_title {
    text-align: center;
}
#contents3 .box_wrap {
    background: #F6F3EA;
    padding: 50px;
    max-width: 800px;
    margin: auto;
}
.remodal h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #051844;
}
.remodal p {
    text-align: left;
}
.remodal {
    padding:50px;
    max-width:1000px;
}
#contents2 {
    padding: 50px 10% 100px;
    text-align: center;
}
#contents2 .box_img {
 
    max-width: 800px;
    margin: 20px auto 60px;
}
#contents1 .box_img_wrap figure {
    width: 48%;
}
#contents1 .box_img_wrap {
    display: flex;
    justify-content: space-around;
    max-width: 900px;
    margin: auto;
    margin-top: 50px;
}
#contents1 {
    padding: 100px 10% 50px;
    text-align: center;
    padding-top: 0;
}
p.con_no:before {
    display: none;
}
p.con_no {
    padding-right: 0;
    margin-bottom: 10px;
}
.bg_color4 {
    background-color: #f6f3ea;
}
.bg_color3 {
    background-color: #051844;
}
.border_color3 {
    border-color: #603813;
}
.txt_color1 {
    color: #051844;
}
.txt_color3 {
    color: #603813;
}
#main_img:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: rgb(0 0 0 / 28%);
    z-index: 2;
    top: 0;
    left: 0;
}
div#main_txt {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    width: 100%;
    height: 100%;
}
div#main_txt img {
    width: 710px;
}
section#banner_wrap .inner_wrap {
    display: flex;
    justify-content: space-around;
    max-width: 1080px;
    margin: 80px auto;
}
section#banner_wrap .inner_wrap div {
    width: 30%;
    display: block;
}

#contents3 h3 {
    margin-bottom: 30px;
}
#contents3 .box_wrap {
    background: #F6F3EA;
    padding: 50px;
    max-width: 800px;
    margin: auto;
}
#contents3 ul {
    display: flex;
    flex-wrap: wrap;
    max-width: 740px;
    margin: auto;
}
#contents3 ul li {
    width: 50%;
    position: relative;
    padding-left: 25px;
    box-sizing: border-box;
    margin: 5px 0px;
}
#contents3 ul li:before {
    width: 20px;
    height: 20px;
    content: "";
    position: absolute;
    background: url(Dup/img/check.png) no-repeat;
    background-size: contain;
    left: 0;
}
#contents3 p {
    text-align: center;
    margin-top: 30px;
}

/*------------------------------------------タブレット-------------------------------------------------*/
@media screen and (max-width:768px){
    header #logo {
    max-width: 70px;
}
    
    div#main_txt img {
    width: 400px;
}
#banner_wrap {
    margin: 50px auto;
    width: 90%;
}
#contents1 {
    padding: 100px 5% 50px; 
}
#contents2 {
    padding: 50px 5% 100px; 
}
.link_type1 .link_top a {
    padding-top: 30px;
    padding-bottom: 30px;
}
.main_box{
    padding-top:70px;
}
}

/*------------------------------------------スマホ-------------------------------------------------*/
@media screen and (max-width:667px){ 
    section#banner_wrap .inner_wrap {
    flex-direction: column;
    align-items: center;
}
section#banner_wrap .inner_wrap div {
    width: 70%;
    display: block;
    margin: 10px 0;
}
section#banner_wrap a:hover {
    transform: none;
}
section#banner_wrap .inner_wrap {
    margin: 50px auto;
}
.remodal {
    padding: 30px;
    max-width: 1000px;
}
.remodal h2 {
    font-size: 18px; 
}
#contents3 ul li {
    width: 100%; 
}
#contents3 .box_wrap{
    padding:30px;
}
#contents1 {
    padding: 30px 5% 30px;
}
div#main_txt img {
    width: 280px;
}
#cms_3-e .box_title1 {
    border: 0;
}
#cms_3-e .box_item .box_txt1 {
    margin-top: 10px;
}
.top_banner {
    width: 100%;
}
}