﻿/* 閉じるボタン付き追従バナー */
.fix_banner{
	max-width: 200px;
	position: fixed;
	bottom: 20px;
	right: 130px;
	z-index: 10;
	transition: 0.5s;
}
.fix_banner .close_bt{
	position: absolute;
	bottom: 150px;
    right: 10px;
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: 0.5s;
	background-color: rgb(255 255 255 / 70%);;
	/*border: solid 2px #f98349;*/
	z-index: 11;
	cursor: pointer;
}
.fix_banner .close_bt:hover{opacity: 0.7;}
.fix_banner .close_bt span{
	position: relative;
	display: block;
	width: 40px;
	height: 40px;
}
.fix_banner .close_bt span:before,.fix_banner .close_bt span:after{
	content: "";
	display: block;
	background-color: #f98349;
	height: 2px;
	width: 20px;
	position: absolute;
	top:50%;
	left: 50%;
}
.fix_banner .close_bt span:before{
	-ms-transform: translate(-50%,-50%) rotate(-45deg);
	-webkit-transform: translate(-50%,-50%) rotate(-45deg);
	transform: translate(-50%,-50%) rotate(-45deg);
}
.fix_banner .close_bt span:after{
	-ms-transform: translate(-50%,-50%) rotate(45deg);
	-webkit-transform: translate(-50%,-50%) rotate(45deg);
	transform: translate(-50%,-50%) rotate(45deg);
}
.fix_banner.close {opacity: 0;z-index: -1;
}
.fix_banner.close2{opacity: 0;z-index: -1;}

@media  screen and (max-width: 768px){
.fix_banner{max-width: 200px;right: auto;left: 20px;}
.fix_banner .close_bt{bottom: 150px;right: 10px;}
}

@media  screen and (max-width: 667px){
.fix_banner{max-width: 150px;}
.fix_banner .close_bt{
	width: 40px;
	height: 40px;
	bottom: 105px;
	right: auto;
	left: -10px;
}
.fix_banner .close_bt span{
	width: 40px;
	height: 40px;
}
}

/* メインイメージ -----------------------------------*/

.catch {
    z-index: 3;
    position: absolute;
    top: 10px;
    left: 5%;
    /*transform: translate(-50%, -50%); X横 Y縦 始点が要素の中心になる */
    width: 50%;
    
    animation-name: fadeOutAnime;
animation-duration:0.8s; /* アニメーション時間 */
animation-delay: 4.5s; /* 〇秒後に変化 */
animation-fill-mode:forwards;
opacity: 1;
}
@keyframes fadeOutAnime{
  0% {
    opacity: 1;
    
  }

  100% {
    opacity: 0;
  }
}
/* タブレット */
@media screen and (max-width: 768px){
    .catch {width: 40%;}
}
/* スマホ */
@media screen and (max-width: 667px){
    #video{
        margin-top: 0px;
    }
    .catch{
        display: none;
    }
    .catch_sp {
        display: block;
        position: absolute;
        width: 60%;
        top: 5px;
        left: 3%;
        /*transform: translateX(-50%);*/
        
        animation-name: fadeOutAnime;
        animation-duration:0.8s; /* アニメーション時間 */
animation-delay: 4.5s; /* 〇秒後に変化 */
animation-fill-mode:forwards;
opacity: 1;
    }
}

/* トップページ -------------------------------------*/
main{
    background: url(./Dup/img/bg2.jpg) no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}
#intro{
    background-image: url(Dup/img/bg2.jpg);
    background-size: cover;
    padding-bottom: 150px;
}
#contents1{
    margin-top: -90px;
    margin-bottom: 0;
    padding: 120px 0 0;
    background-image: url(Dup/img/bg1-2.png);
    background-size: cover;
    
    background-color:transparent;
    
    /*background: linear-gradient(270deg, rgba(0,0,0,0) 0%, rgba(255,255,255,0.5) 25%);*/
}
/*#contents1 > div{*/
/*    padding: 120px 0 0;*/
/*    background: linear-gradient(270deg, rgba(0,0,0,0) 0%, rgba(255,255,255,0.5) 75%);*/
/*}*/

#contents1 h4{
    position:relative;
    padding-left: 50px;
}
#contents1 h4::after{
    content: "";
    position: absolute;
    width: 40px;
    height: 1px;
    left: 0;
    top: 19px;
    background-color: #353535;
    }
.top_cms_box:nth-child(4){
    background-image: url(Dup/img/bg1.png);
    background-size: cover;
    padding-bottom: 160px;
}
.top_cms_box:nth-child(5){
    background-image: url(Dup/img/bg2.png);
    background-size: cover;
    margin-top: -80px;
}
.con1_box{
    z-index: 1;
    color: #353535;
    /*background: linear-gradient(270deg, rgba(0,0,0,0) 0%, rgba(255,255,255,0.5) 50%);*/
    /*bottom: 0;*/
    /*right: 0;*/
}
#top_cms .more a{
    position: relative;
    background-color: rgba(255,255,255,0.4);
}
#top_cms .more a:hover{
    background-color: #ed3709;
}
#top_cms{
    padding:0;
}
.top_cms_title{
    background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%);
    padding: 2%;
}
.top_cms_box{
    padding: 80px 7%;
    margin: 0;
}

.cms_6-a .cate_wrap{
    padding: 2%;
}
.cms_6-a .cate_box{
    background-color: rgba(255, 255, 255, 0.8);
    border-left: 2px solid #ed3709;
    margin-bottom: 30px;
    box-shadow: 10px 25px 30px rgb(0 0 0 / 8%);
    position: relative;
    z-index: 2;
}
.cms_6-a .box_txt1:first-letter,.cms_6-a .box_txt2:first-letter{
    font-size: 20px;
}
.cms_6-a .box_txt1:first-letter{
    color: #ed3709;
}
.cms_6-a .box_txt2:first-letter{
    color: #8f8f8f;
}
/*#top_cms .more.last a,#top_cms .more.last div{*/
/*    border-color: rgba(255,255,255,0.4);*/
/*    color: #fff;*/
/*}*/
/* 動画 -----*/
.video{
    height: 100vh;
}
@media screen and (max-width: 768px){
    .video{
    height: auto;
    }
    #main_img{
        height: auto;
    }
}

/* タブレット */
@media screen and (max-width: 768px){
    .con1_box{
        width: 100%!important;
        position: relative;
        background: transparent;
        color: #242424;
    }
    #contents1{
        padding: 40px 5% 20px;
    }
    #contents1 h4,#contents2 h3{
        padding: 0;
        font-weight: normal;
        font-size: 24px;
    }
    #contents1 h4::after,#contents2 h3::after{
        display: none;
    }
    #contents1 .arrow.prev,#contents1 .arrow.next{
        bottom: -40px;
    }
    #contents1 .slick{
        margin-bottom: 40px;
    }
    #contents1 .slick-arrow span{
        background-color: rgba(255,255,255,0.7);
        border-color: #fff;
    }
    #contents2 > div{
        background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(54,25,16,0.5) 10%);
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    .top_cms_box:nth-child(5){
        margin-top: -180px;
        margin-bottom: 0px!important;
    }

}

/* CMS・下層ページ ----------------------------------*/
#cms > div{
    padding-bottom: 100px;
}

#cms_1-a .box_img1{
    height: 350px!important;
}
#cms_2-a .cate_txt1{
    padding-left: 6%;
}
#cms_3-e .cate_img1{
    height: 300px!important;
    width: calc(95% - 80px)!important;
}
#cms_3-e .cate_title{
    margin-right: 5%;
}

#cms_3-e .cate_txt1{
    background-color: rgba(255,255,255,.3);
    padding: 15px 3%;
}
.tel_wrap{
    margin: 0 auto;
    padding-bottom: 80px;
}
#cms_6-a .cate_box{
    background-color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    box-shadow: 10px 25px 30px rgb(0 0 0 / 8%);
    position: relative;
}
#cms_6-a .box_txt1{
    font-size: 20px;
}
#page07 .box_wrap .box:nth-of-type(even){
    background-color: rgba(255,255,255,0.5);
    /*background-image: url(Dup/img/bg3.jpg);*/
    /*background-size: cover;*/
    /*color: #fff;*/
}
#page07 .box{
    position: relative;
}
.tel_box{
    max-width: 350px;
}
/* タブレット */
@media screen and (max-width: 768px){
    #cms_3-e .cate_img1{height:170px!important;}
}
/* スマホ */
@media screen and (max-width: 667px){
    .privacy_box{
        padding: 10px;
    }
    #cms_1-a .box_img1 {
        height: 150px!important;
    }
    #cms_1-a .date{
        margin-bottom: 10px;
    }
    #cms_2-a .cate_txt1{
        padding-left: 0;
    }
    #cms_3-e .cate_img1{
        height: 150px!important;
        width: 100%!important;
    }
    #cms_3-e .cate_title{
        margin-bottom: 10px;
    }
    .prev a{
        margin: 0;
    }
}

/* 全体 ---------------------------------------------*/
#footer_txt h4 span{
    max-width: 470px;
    width: 90%;
}
#main_img,#intro,#contents1,#contents2,
#top_cms,#cms,#page07,#page08,#page09,#page10,footer,#copyright{
    position: relative;
    z-index: 1;
}
/*#top_cms::before,*/
#cms::before,#page07::before,#page08::before,#page09::before,#page10::before{
    content: "";
    background-image: url(./Dup/img/dec01.png);
    width: 230px;
    height: 330px;
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 10px;
    right: 70px;
    opacity: 0.1;
    z-index: -1;
}
#top_cms::before{
    content: "";
    background-image: url(./Dup/img/dec01.png);
    width: 230px;
    height: 330px;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 10px;
    right: 2%;
    opacity: 0.1;
    z-index: 0;
}

#main_wrap{
    box-shadow:inset 0 0 15px rgba(0, 0, 0, 0.1);
}
/*#wrap{padding-left: 330px;}*/
header{
    width: 350px;
}
#header .en_font li{
    background-color: transparent;
}
header{
    background: linear-gradient(121deg,#ffb896 0%,#fd864b 40%,#fd864b 60%,#D16530 100%);
}

#footer{
    background-image: url(Dup/img/bg1.jpg);
    background-size: cover;
    background-color: transparent;
}
.cate_list li{
    margin: 0;
    padding: 0 10px;
}
.cate_list li a{
    opacity: 1;
}
.cate_list li a:hover{
    opacity: 0.7;
    color: #fd864b;
}


.linkStyle{
	color:#ed3709;
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	color:#ed3709;
	opacity: 0.7;
	text-decoration: none;
}


/* タブレット */
@media screen and (max-width: 768px){
    #menu_wrap,#menu_wrap ul.menu_nav li a{
        background-color: #ffa071;
    }
    header{width: 100%;}
    #cms,#page07,#page08,#page09,#page10{margin-bottom: 0px;}
    #menu_wrap ul.menu_nav li{width: 48%;}
    /*#top_cms::before,*/
#cms::before,#page07::before,#page08::before,#page09::before,#page10::before{
    bottom: 60px;
    right: 10px;
}
}
/* スマホ */
@media screen and (max-width: 667px){
    #menu_wrap ul.menu_nav li{width: 100%;}
    
    #cms_4-c .cate_box{
        padding: 1px;
    }
    #top_cms::before,#cms::before,#page07::before,#page08::before,#page09::before,#page10::before{
        width: 100px;
        height: 143px;
        right: 1%;
    }
    #page_title > div{
        padding: 20px 10px;
    }
    #page_title h2{
        letter-spacing: 0em;
    }
    #page09 > div{
        padding-bottom: 50px;
    }
    #header h1{
        margin: 0;
    }
    #footer .tel a{
        font-size: 33px;
    }
    #footer_txt{
        padding-bottom: 50px;
    }
    /*border-top: none;*/
    /*border-left: 3px solid #ed3709;*/
    /*padding-top: 0px;*/
}

/* 配色 ----------------------------------------------*/

.txt_color1,.hvr_txt_color1:hover{color: #353535} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #e3e3e3} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #ed3709} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #bbbbbb} /* アクセントカラー2 */

.sns_links.side_bar,
.bg_color1,.hvr_bg_color1:hover{background-color: #353535} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #e3e3e3} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #ed3709} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #bbbbbb} /* アクセントカラー2 */

.border_color1,.hvr_border_color1:hover{border-color: #353535}
.border_color2,.hvr_border_color2:hover{border-color: #e3e3e3}
.border_color3,.hvr_border_color3:hover{border-color: #ed3709}
.border_color4,.hvr_border_color4:hover{border-color: #bbbbbb}

/* 文字・文字間・空間 --------------------------------*/
body{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    font-family: 'Zen Old Mincho', serif!important;
}
#page_title .en_font,.top_cms_title .en_font,#page07 .en_font,#footer .en_font{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    font-family: 'Zen Old Mincho', serif!important;
}

#header .en_font li a,#menu_wrap ul.menu_nav li a{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    font-family: 'Zen Old Mincho', serif!important;
}
.font_14{
    font-size: 16px;
}

/* タブレット */
@media screen and (max-width: 768px){
    .font_2dw_tb{font-size: 16px;}
}
/* スマホ */
@media screen and (max-width: 667px){
    .font_12_sp,.font_14_sp{font-size:16px;}
}

/*テンプレート  -------------------------------------*/

/*コード---------------------------------------------*/
/*お知らせ*/
.topcms_news_type4 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
}
.topcms_news_type4 .cate_box{
    position: relative;
	background-color: #fff;
	padding: 0;
	box-shadow: 10px 25px 30px rgb(0 0 0 / 8%);
	/*border-top: 2px solid #095781;*/
}
.topcms_news_type4 .date{
    position: absolute;
    left: 0;
    bottom: 70px;
    background: #fff;
    opacity: 1;
    padding: 5px 10px;
    border-radius: 0px 15px 0px 0px;
}
.topcms_news_type4 .txt_height{
	height: 3em
}
.topcms_news_type4 .box_title1:empty{
	display: block!important;
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type4 .cate_box {width: 30.33333%!important;}
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.topcms_news_type4 .cate_box {width: 100%!important;margin-bottom: 20px;}
}