﻿/*■■ tb_bnr ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* タブレット */
@media screen and (max-width: 768px){
    .tb_bnr{
        position: fixed;
        width: 90vw;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .tb_bnr a{
        box-sizing: border-box;
        width: 50%;
    }
    .tb_bnr .banner{
        width: 100%;
        display: flex;
        align-items: center; 
        justify-content: center;
        text-align: center;
        height: 60px;
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    
}

/*■■ link ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

.btn_box .box_line{margin: 0 3%;}
.btn_box .box_tel{margin: 0 3%;}

.btn_box .box_line a,.btn_box .box_tel a{
    width: 280px;
}

#page10 li a{
    color: var(--color1);
}
#page10 li a:hover{color: var(--color4);}

.more a:hover, footer .foot_tel_bt a:hover{
    color: var(--color1);
}

.link_box ul{justify-content: space-around!important;}
.link_box ul li{
    width: 10%!important;
}


/* タブレット */
@media screen and (max-width: 768px){
    .cate_list li{width: 50% !important;}
    .link_box ul li{width: 20%!important;}
    footer .link_box li{max-width: 35px;}
}

/* スマホ */
@media screen and (max-width: 667px){
    .cate_list li{width: 100% !important;}
    .btn_box .box_line{margin: 0 3% 30px;}
    .link_box ul li{width: 25%!important;}
    footer .link_box li{max-width: 40px;}
}
/*■■ main img ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#main_img{}
#main_img::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background-color: rgb(13 30 27 / 50%);
    backdrop-filter: brightness(1.12);
}
.catch{
    z-index: 4;
}
.scroll_bt{
    z-index: 5;
    color: var(--color4);
}
.scroll_bt span{border: 2px solid #e3d8b5;}
.scroll_bt span::before{background-color: #e3d8b5;}

.catch{
	transition: filter 2s ease, opacity 1s,transform 1.5s ease;
	transition-property: opacity,filter,transform;
	opacity: 0;
    filter:blur(20px);
    transform:translate(-50%,-50%)scale(1.2);
}
.catch.start{
    filter:blur(0px);
    opacity: 1;
    transform:translate(-50%,-50%)scale(1);
}
/* スマホ */
@media screen and (max-width: 667px){
    #main_img,#main_img img.object_fit_img{max-height: 64vh;min-height:64vh;}
}

/*■■ top,all ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.fat-nav__wrapper ul{
  background-image: url('/Files/img/de2.png');
  background-size: 50%; 
  background-position: left bottom; /* 中央に配置 */
  background-repeat: no-repeat; 
}
.cms_title .txt_color1{
    color: var(--color2);
}
.fat-nav li a{
    font-size: 1rem;
}

.blog_wrap .border_color2{
    border-color: var(--color4);
}
.contents1_wrap{}
.dec{
    top: 0;
    right: 0;
    z-index: 0;
    width: 30%;
}

footer{
    background-color: var(--color4);
}
footer .foot_tel_bt a{
    margin: 0 auto;
}

.footer_back .box1{
    margin: 0 auto;
    text-align: center;
}

.flow_type3 .cate_box:first-child{
    margin-top:0;
}
#top_cms .flow_type3 .cate_box{margin-top:0;}



/* タブレット */
@media screen and (max-width: 768px){
    header{padding: 16px 0!important;}
}

/*スマホ*/
@media screen and (max-width: 667px){

}
/*■■ kasou ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

#page_title .title_img{height: 180px;}

#page_title .title_img::before{
    background-color: #737373;
}
#page_title .page_box{
    margin-top: -70px;
    z-index: 2;
/*     text-align: center; */
/*     padding: 0; */
}
#page_title .page_box::before{
    background-color: #fff;
}

/*スマホ*/
@media screen and (max-width: 667px){
    #page_title .title_img{height: 110px;}
    #page_title .page_box{margin-top: -69px;
    margin-bottom: 70px;}
}

/*■■ flow ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.top_cms_wrap .flow_type3 .cate_box{padding: 0 1.5%;}

.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
	content: "0"counter(box);
	font-size: 86px;
	color: #e9e2cb;
	left: 0;
	top: -70px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}
/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}

/*■■ fadein2 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.fadein2{
	transform: translateY(20px);
	transition: transform 1s ease, opacity 1s;
	transition-property: opacity,transform;
	opacity: 0;
}
.fadein2.start{transform: translateY(0);opacity: 1;}


.fadein3{
	transform: translateX(20px);
	transition: transform 1s ease, opacity 1s;
	transition-property: opacity,transform;
	opacity: 0;
}
.fadein3.start{transform: translateX(0);opacity: 1;}

.fadein4{
	transform: translateX(20px);
	transition: transform 1s ease, opacity 1s;
	transition-property: opacity,transform;
	opacity: 0;
}
.fadein4.start{transform: translateX(0);opacity: 1;}

