﻿/*--------------------------------------------
 色 ・　文字
----------------------------------------------*/
:root{
    --color1: #171C61;
    --color2: #0076C6;
    --color3: #FED428;
    --color4: #e8faff;
    --color5: #81baf3;
	--text: #454545;
	--black: #454545;
	--red: #C12326;
    --base: #ffffff;
    
    --font1: 19px;
    --font-title:35px;
    --font-jp: 'Zen Maru Gothic', sans-serif;
}
/* スマホ */
@media screen and (max-width: 667px){
    :root{
        --font-title:24px;
    }
}
/* --------------------------------------------
 300円お得
---------------------------------------------*/
.con_img1{
    padding: 20px 0px 0;
    display: block;
        width: 80%;
}
.con_img1 img{
    margin: 0 auto;
}
/* タブレット */
@media screen and (max-width: 768px){
    .con_img1{
        margin: 0 auto;
        width: 80%;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    .con_img1{
        width: 100%;
    }
}
/* --------------------------------------------
 文字マーカー
---------------------------------------------*/
.highlight{
    background-color: var(--color3);
    color: var(--color1);
    font-weight: bold;
}

/* --------------------------------------------
 メインイメージ 
---------------------------------------------*/
.main_img_wrap{
    width: 100%;
}
.catch_copy{
    z-index: 3;
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);/* X横 Y縦 始点が要素の中心になる */
    width: 50%;
    
    animation-name: fadeInAnime;
    animation-duration:0.7s; /* アニメーション時間 */
    animation-delay: 4s; /* 〇秒後に変化 */
    animation-fill-mode:forwards;
}

@keyframes fadeInAnime{
  0% {
    opacity: 1;
    
  }

  100% {
    opacity: 0;
  }
}
.main_wrap{
    margin-top: calc(100vh - 5.7%);
}

/* タブレット */
@media screen and (max-width: 768px){
    .main_wrap{
        padding: 0;
    }
    .catch_copy{
        top: 50%;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    .main_img_wrap{
        margin-top: 80px;
        height: calc(100vw * 0.56);
    }
    .main_wrap{
        padding: 0;
        margin-top: calc(80px + (100vw * 0.56))!important;
    }
}

/* --------------------------------------------
 既存サイトへのバナー
---------------------------------------------*/
/*.page4_text{}
.page4_text p{
    text-align: center;
    padding: 10px 20px;
    background-color: var(--color4);
    color: var(--color1);
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 15px;
}
.site_bnr{
    display: block;
    background-color: var(--color1);
    color: var(--base);
    font-weight: bold;
    width: 300px;
    padding: 15px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    margin: 20px auto 0;
    text-align: center;
}
.site_bnr:hover{
    background-color: var(--color3);
    color: var(--color1);
}*/
.fix_banner2{
	max-width: 310px;
	position: fixed;
	bottom: 10px;
	right: 250px;
	z-index: 10;
	transition: 0.5s;
}
.fix_banner2 .close_bt{
	position: absolute;
	bottom: 117px;
    right: 0px;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: 0.5s;
	background-color: rgba(255,255,255,0.7);
	/*border: solid 2px #004b9b;*/
	z-index: 11;
	cursor: pointer;
}
.fix_banner2 .close_bt:hover{opacity: 0.7;}
.fix_banner2 .close_bt span{
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
}
.fix_banner2 .close_bt span:before,.fix_banner2 .close_bt span:after{
	content: "";
	display: block;
	background-color: #9a9a9b;
	height: 2px;
	width: 20px;
	position: absolute;
	top:50%;
	left: 50%;
}
.fix_banner2 .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_banner2 .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_banner2.close {opacity: 0;z-index: -1;}
.fix_banner2.close2{opacity: 0;z-index: -1;}

@media  screen and (max-width: 768px){
.fix_banner2{max-width: 290px;}
.fix_banner2 .close_bt{bottom: 110px;right: 0px;}
}

@media  screen and (max-width: 667px){
.fix_banner2{max-width: calc(100vw - 30vw - 60px); right: 55px; bottom: 10px;}
.fix_banner2 .close_bt{
	width: 25px;
	height: 25px;
	bottom: 75px;
	right: 0px;
}
.fix_banner2 .close_bt span{
	width: 25px;
	height: 25px;
}
}
/* --------------------------------------------
 メニュー
---------------------------------------------*/
#cms_3-c .box_txt1{
    background-color: var(--color4);
    border-radius: 15px;
        padding: 20px 20px;
}
#cms_3-c .cate_title{
    background-color: var(--color1);
    color: var(--base);
    border: none;
}
#cms_3-c .box_title1,#cms_3-c .box_title2{
    border-color: var(--color2);
}
#cms_3-c .box_title1{
        font-weight: bold;
    color: var(--color2);
}

/* タブレット */
@media screen and (max-width: 768px){
    #cms_3-c .box_title1,#cms_3-c .box_title2,.cms_3-c .box_title1,.cms_3-c .box_title2{
        width: 100%!important;
    }
    #cms_3-c .box_title1,.cms_3-c .box_title1{border:none}
}
/*スマホ*/
@media screen and (max-width: 667px){
    #cms_3-c .box_txt1{
        margin-top: 20px;
    }
}

/*--------------------------------------------
 CMS
----------------------------------------------*/
.niji{
    height: 350px;
    background: url(./Dup/img/niji.jpg) no-repeat;
    background-size: cover!important;
    background-attachment: fixed!important;
}
/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){
    .niji{
        height: 150px;
        background-attachment: scroll!important;
    }
}

/*--------------------------------------------
 問い合わせ
----------------------------------------------*/
#line_CONTACT a,#form_CONTACT a,#tel_CONTACT a{
    width: 340px;
    margin: 0 auto;
}
/* スマホ */
@media screen and (max-width: 667px){
    #line_CONTACT a{
        width: 260px;
    }
    #form_CONTACT a,#tel_CONTACT a{
        width: 200px;
    }
}

/*--------------------------------------------
 お客様の声
----------------------------------------------*/
.v_type1 .triangle {
    display: block;
    border: var(--color2) solid 2px;
    box-shadow: 5px 5px 0 0 #d2c8d9;
    border-radius: 15px;
}
.v_type1 .triangle:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color: #FFF transparent;
    border-width: 13px 13px 0 0;
    bottom: -13px;
    left: 50%;
    margin-left: -9px;
}
.v_type1 .triangle:after {
    content: '';
    position: absolute;
    display: block;
    z-index: 0;
    border-style: solid;
    border-color: var(--color2) transparent;
    border-width: 15px 15px 0 0;
    bottom: -17px;
    left: 50%;
    margin-left: -11px;
}

/*--------------------------------------------
 TOPお知らせ
----------------------------------------------*/
.topcms_news_type4 .cate_box {transition: all 0.3s;}
.topcms_news_type4 .cate_box:hover{
    transform: translate(0px, -10px);
}
.topcms_news_type4 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	border-radius: 15px;
	background-color: #fff;
	padding: 0;
	box-sizing:border-box;
	box-shadow: 0px 0px 10px rgba(52, 80, 93, 0.1);
}
.topcms_news_type4 .cate_box .box_img1{
    border-radius: 15px 15px 0 0;

}
.topcms_news_type4 .txt_height{
	height: 3em
}
.topcms_news_type4 .box_title1:empty{
	display: block!important;
}
/* タブレット */
@media screen and (max-width: 768px){}
/* スマートフォン */
@media screen and (max-width: 667px){
.topcms_news_type4 .cate_box {
    width: 100%!important;
    margin-bottom: 15px;
}
}

/*--------------------------------------------
 YouTube組み込み
----------------------------------------------*/
.youtube_box{
  position: relative;
  padding-top: 44.8%;
}
.youtube_box iframe{
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
.youtube_box:empty {
    display: none;
}

/*---------------------------------------------
 ビフォーアフター
--------------------------------------------*/
.BA_type2 .box_img1_wrap, .BA_type2 .box_img2_wrap {
	width: 48%!important;
	margin: 0 1%;
}
.BA_type2 .box_img1::before, .BA_type2 .box_img2::before {
	position: absolute;
	content: "Before";
	width: 121px;
	background-color: var(--color1);
	color: #fff;
	text-align: center;
	display: block;
	left: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
	letter-spacing: 1px;
	padding: 4px 0px;
	box-sizing: border-box;
}
.BA_type2 .box_img2::before {
	content: "After";
	background-color: var(--color2);
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
    .BA_type2 .box_img1_wrap, .BA_type2 .box_img2_wrap {
        width: 100%!important;
    }
    .BA_type2 .box_img1_wrap .box_img1{
        margin-bottom: 20px;
    }
.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;}
}
/*--------------------------------------------
 バナー
----------------------------------------------*/

.dec01{
    position: relative;
    z-index: 2;
    animation:9s linear infinite rotation1;
}
@keyframes rotation1{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(-360deg); }
}
.bnr_yoyaku{
    position: fixed;
    z-index: 10;
    bottom: 10px;
    right: 70px;
    width: 160px;
}
.fix_banner{
	max-width: 160px;
	position: fixed;
	bottom: 10px;
	right: 70px;
	z-index: 10;
	transition: 0.5s;
}
.fix_banner .close_bt{
	position: absolute;
	bottom: 120px;
    right: 0px;
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: 0.5s;
	background-color: rgba(255,255,255,0.7);
	/*border: solid 2px #004b9b;*/
	z-index: 5;
	cursor: pointer;
}
.fix_banner .close_bt:hover{opacity: 0.7;}
.fix_banner .close_bt span{
	position: relative;
	display: block;
	width: 30px;
	height: 30px;
}
.fix_banner .close_bt span:before,.fix_banner .close_bt span:after{
	content: "";
	display: block;
	background-color: #9a9a9b;
	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: 150px;}
    .fix_banner .close_bt{bottom: 120px;right: 0px;}
    .bnr_yoyaku{width:150px;}
    .dec02{
        right: 124px;width: 50px;
    }
}

@media  screen and (max-width: 667px){
    .bnr_yoyaku{
        width:28vw;
        bottom: 10px;
        right: auto;
        left: 10px;
    }
    .fix_banner{
        max-width: 28vw;
        bottom: 10px;
        right: auto;
        left: 10px;
    }
    .fix_banner .close_bt{
    	width: 25px;
    	height: 25px;
    	bottom: 75px;
    	right: auto;
    	left: 0px;
    }
    .fix_banner .close_bt span{
    	width: 25px;
    	height: 25px;
    }
}
/*--------------------------------------------
 カテゴリリスト
----------------------------------------------*/
.cate_list li a{
    font-weight: bold;
}

.cate_list li a:hover{
    color: var(--color2);
    transform: translateY(-5px);
}
/* スマホ */
@media screen and (max-width: 667px){
    .cate_list li{
        margin: 0;
    }
}
/*--------------------------------------------
 色 ・　文字
----------------------------------------------*/
html,body,.font_10,.font_11,.font_12,.font_13,.font_14,.font_15{font-size: var(--font1);}
.font_2up{font-size: max(calc(var(--font1) + 2px), calc(1rem  + 2px));}
.font_4up{font-size: max(calc(var(--font1) + 4px), calc(1rem  + 4px));}
.font_2dw{font-size: max(calc(var(--font1) - 2px), calc(1rem  - 2px));}
.font_4dw{font-size: max(calc(var(--font1) - 4px), calc(1rem  - 4px));}
.font_6dw{font-size: max(calc(var(--font1) - 6px), calc(1rem  - 6px));}

.linkStyle{
	color: var(--color2);
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	opacity: 0.7;
	text-decoration: none;
}
.line.bg_color1{
    background-color: var(--color5);
}
#wrap{
    margin-top: 0px;
    width: 100%;
}

#dec2, #dec4, #dec6, #dec8,#dec1, #dec3, #dec5, #dec7{
    color: var(--color5);
}

#contents .box{
    background-color: #fff;
    border-radius: 15px;
    border: 3px solid;
    padding: 50px 20px;
}

#contents .box figure:after{
    display: none;
    /*opacity: 1;*/
    /*color: var(--color2);*/
}


#contents{
    background-color: var(--color4);
}
.t_cms_txt3 span,.t_cms_txt6 span,.t_cms_txt9 span{
    font-size: var(--font-title);
    color: var(--color2);
}
#contents .box h3:before{
    display: none;
}

.txt_wrap{
    position: relative;
    z-index: 1;
    
}
.img-container:before{
    background: var(--color2);
}
.t_cms_img2 .img-container:before{
    background: var(--color2);
}

.other .box figure{
    opacity: 0.6;
}
.other .box{
    background-color: var(--color1);
}
.other .box:hover{
    background-color: var(--base);
}
.other .box p, .other .box h2 span{
    color: var(--base);
}
.other .box:hover p, .other .box:hover h2 span{
    color: var(--color1);
}

.all_page{
    background-color: #fff;
}
.cate_list li{
    width: 43%;
    text-align: left;
}


footer{
    background-color: var(--base);
}
footer .txt_white{
    color: var(--text);
}
#footer{
    width: 100%!important;
    max-width: 100%;
    margin: 0;
    background-color: var(--color4);
}
.footer_cms{
    max-width: 100%!important;
}
.footer_cms p{
    text-align: center;
}
/* タブレット */
@media screen and (max-width: 768px){
    header .logo{width: 20%;}
    .cate_list li{
        width: 100%;
    }
    
    .other .box p, .other .box h2 span{
        letter-spacing: 0em;
    }
    #contents .box .txt_wrap,#contents .box figure{
        width: 100%;
    }
    #contents .box h3{
        width: 100%;
    }
    .t_cms_txt3 span, .t_cms_txt6 span, .t_cms_txt9 span{
        text-align: center;
        width: 100%;
        display: block;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    header .logo{width: 25%;}

    
    #contents .box{
        padding: 40px 10px;
    }

    .t_cms_txt3 span, .t_cms_txt6 span, .t_cms_txt9 span{
        letter-spacing: -0.03em;
        font-size: 22px;
    }
    #footer{
        height: 70vh;
    }
    #page_title h2, #page_title p{
        color: var(--color1);
    }
}


/* color */
body, .txt_color_nomal, .hvr_txt_color_nomal:hover{color: var(--text);}
.linkStyle{transition: 0.5s;color: var(--text)}
.linkStyle:hover{opacity: 0.7}

.txt_white, .hvr_txt_white:hover{color: white;}
.txt_red, .hvr_txt_red:hover{color: var(--red);}
.txt_color1, .hvr_txt_color1:hover{color: var(--color1)}
.txt_color2, .hvr_txt_color2:hover{color: var(--color2)}
.txt_color3, .hvr_txt_color3:hover{color: var(--color3)}
.txt_color4, .hvr_txt_color4:hover{color: var(--color4)}

.bg_white, .hvr_bg_white:hover{background-color: white} 
.bg_black, .hvr_bg_black:hover{background-color: var(--black)}
.bg_color1, .hvr_bg_color1:hover{background-color: var(--color1)}
.bg_color2, .hvr_bg_color2:hover{background-color: var(--color2)} 
.bg_color3, .hvr_bg_color3:hover{background-color: var(--color3)} 
.bg_color4, .hvr_bg_color4:hover{background-color: var(--color4)} 
.bg_color_clear, .hvr_bg_color_clear:hover{background-color: transparent!important}


.border_white, .hvr_border_white:hover{border-color: white}
.border_black, .hvr_border_black:hover{border-color: var(--black)}
.border_color1, .hvr_border_color1:hover{border-color: var(--color1)}
.border_color2, .hvr_border_color2:hover{border-color: var(--color2)}
.border_color3, .hvr_border_color3:hover{border-color: var(--color3)}
.border_color4, .hvr_border_color4:hover{border-color: var(--color4)}
body{
    letter-spacing: 0.03em;
    line-height: 1.7;
}
h1,h2,h3,h4,h5,h6,.cms_title,.nav1,.page_title_box{
    font-family: var(--font-jp);
    /*font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";*/
}
/* スマホ */
@media screen and (max-width: 667px){
    #page-top{right: 10px;}
    
}