﻿/* --------------------------------------------
 メインイメージ 
---------------------------------------------*/
/* 24時間対応 ↓↓------ */
.main_dec{
    width: 18%;
    position: absolute;
    bottom: 90px;
    right: 30px;
}
.main_dec .main_1{
    position: relative;
    z-index: 5;
    animation:9s linear infinite rotation1;
}
@keyframes rotation1{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(-360deg); }
}
.main_dec .main_text{
    position: absolute;
    z-index: 10;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
}
/* タブレット */
@media screen and (max-width: 768px){
    .main_dec{bottom: 40px;}
}

/* スマホ */
@media screen and (max-width: 667px){
    .main_dec{width: 35%;right: 10px;bottom: auto; top: 3%;}
}
/* 24時間対応 ↑↑ ------ */

/* 車がループ ↓↓------ */
#main_img{position:relative;}
#main_img::before {
	position: absolute;
	content: "";
	left: 0;
	bottom: 30%;
	width: 100%;
	height: 130px;
	background-image: url("../dup/img/main_bg2.png");
	background-size: auto 100%;
	background-position-y: 0;
	background-position-x: 0;
	background-repeat: repeat-x;
	animation: loop 30s linear infinite;
}
@keyframes loop {
	0% {background-position-x: 0;}
	100% {background-position-x: -1000px;}
}

/* タブレット */
@media screen and (max-width: 768px){
    #main_img::before{height: 80px;}
}

/* 車がループ ↑↑------ */


#main_img{background-color: #fffaea;}

.catch1,.catch2,.main_woman {
    position: absolute;
}
.catch1{
    z-index: 4;
    top:5%;
    left: 5%;
    width: 25%;
    max-width: 450px;
}
.catch2{
    z-index: 4;
    top: 5%;
    left: 40%;
    width: 58%;
    
    transition: opacity 1.3s, transform 1s;
    opacity: 0;
    transform: rotate(-30deg)translate(-50px, 50px) ;
}
.catch2.start{
    opacity: 1;
    transform: rotate(0deg)translate(0px, 0px);
}

.main_woman{
    z-index: 3;
    bottom: 0;
    left: 40%;
    transform: translate(-50%, 0);
    width: 70%;
    max-width: 1000px;
}

/* タブレット */
@media screen and (max-width: 768px){
    #main_img{height: 40vh;}
    .catch2{left: 41%;width: 53%;}
    .main_woman{width: 55%;}
}

/* スマホ */
@media screen and (max-width: 667px){
    #main_img{height: 80vh; max-height: 660px;}
    
    .main_woman{width: 100%; left: 50%;}
    .catch1{top: 3%; width: 33%;}
    .catch2{left: 5%; top: 28%; width: 90%;}
}



/*---------------------------------------------
ビフォーアフター
--------------------------------------------*/
#cms_2-h .box_title1:before{display: none;}
#cms_2-h .cate_box{margin-top: 50px;}

#cms_2-h .box_img1::before, #cms_2-h .box_img2::before {
	position: absolute;
	content: "Before";
	width: 121px;
	background-color: #ff5f5f;
	color: #fff;
	text-align: center;
	display: block;
	left: 0;
	top: 0;
	margin: auto;
	z-index: 1;
	font-size: 1.5rem;
	letter-spacing: 1px;
	padding: 4px 0px;
	box-sizing: border-box;
}
#cms_2-h .box_img2::before {
	content: "After";
	background-color: #ff9b05;
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
#cms_2-h .box_img1::before, #cms_2-h .box_img2::before{
    padding: 1px 0px;
}
}

/*---------------------------------------------
 リンクバナー
--------------------------------------------*/
.btn_container a{
    background-color: #20bda8;
    color: #fff;
    display: block;
    padding: 15px 0;
    width: 100%;
    border-radius: 50px;
    text-align: center;
    margin-top: 20px;
    font-size: 1.7rem;
    font-weight: 700;
}
@media screen and (max-width: 667px){
    .btn_container a{font-size: 1.3rem;}
}

/*---------------------------------------------
ページ下部のお問い合わせ
--------------------------------------------*/
.top_bnr{
    margin: 0 8%;
    width: calc(84% - 250px)!important;
}

.page_inner{position: relative;}
.under_contact{
    color: #fff;
    background-color: #ff5f5f;
    box-shadow: 0px 5px 0px #d93535;
    text-align: center;
    display: block;
    padding: 15px 0;
    border-radius: 40px;
    font-size: 2rem;
    width: calc(84vw - 250px);
    /*width: 70vw;*/
    position: fixed;
    bottom: 10px;
    z-index: 3;
}
.under_contact:hover{}

/* タブレット */
@media screen and (max-width: 768px){
    .under_contact{display: none;}
    header .head_banner{width: 90%;}
    header .head_banner a{font-size: 1.7rem;}
}
/* スマホ */
@media screen and (max-width: 667px){
    header .head_banner a{font-size: 1.5rem;}
}
/*---------------------------------------------
 料金表示
--------------------------------------------*/
#cms_2-g .box_title2{
    padding: 15px 15px;
    background-color: #fff3ca;
    border-radius: 15px;
    margin-bottom: 20px;
}

/*---------------------------------------------
 箇条書きの箇所
--------------------------------------------*/
#attach,#page_title .title_img::before{
	background-image: url('./Dup/img/bg.png');
	background-color: #ff9b05;
	background-size: 401px;
	background-position: top 0 left 0;
	background-repeat: repeat;
	animation: bgloop 20s linear infinite;
}
@keyframes bgloop {
	0% {background-position: top 0 left 0;}
	100% {background-position: top -301px left 401px;}
}
@keyframes bgloopsp {
	0% {background-position: top 0 left 0;}
	100% {background-position: top -150px left 200px;}
}
.con4_list{max-width: 1200px; margin: 0 auto}
.con4_list li{
    width: 49.5%;
    box-sizing: border-box;
    margin-bottom: 1%;
    border-radius: 20px;
    font-size: 2rem;
    color: #ff5f5f;
}
.con4_list li:nth-of-type(odd){margin-right: 1%; }

.con4_list li.btn{
    padding: 0;
}
.con4_list li a{
    padding: 28px;
    border-radius: 20px;
    display: block;
    background-color: #ff5f5f;
    color: #FFF;
    border: 3px solid #fff;
    text-align: center;
    /*box-shadow: 0px 5px 0px #fff;*/
    
}

#con4 h4{
    color: #fff;
    background-color: #ff5f5f;
    border: 3px solid;
    border-radius: 20px;
}

/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){
    #page_title .title_img::before{
        background-size: 200px;
        animation: bgloopsp 12s linear infinite;
    }
    
    .con4_list li{width: 100%; box-sizing: border-box;margin-bottom: 1%;border-radius: 20px; padding: 20px;}
    .con4_list li:nth-of-type(odd){margin-right: 0px; }
}

/*---------------------------------------------
 問い合わせページ 
--------------------------------------------*/
#page8 .contact{width: 100%;}
#page8 #contact_tel{border:none;}
#page8 #contact_tel a{
    background-color: #ff5f5f;
    color: #fff;
    border-radius: 40px;
}
#page8 .contact_tel a{
    width: 300px;
    border-radius: 40px;
    padding: 15px 0px;
}

#page8 .contact_box h3,#page8 .tel_text{
    line-height: 1;
    letter-spacing: 0em;
    font-size: 1.5rem;
    font-weight: 700;
}
#page8 .tel_text{}
#page8 .contact_box.box_1 h3{color: #38cb95;}
#page8 .contact_box.box_1 a{background-color: #38cb95;}
#page8 .contact_box.box_2 h3{color: #495da5;}
#page8 .contact_box.box_2 a{background-color: #495da5;}

/* スマホ */
@media screen and (max-width: 667px){}

/*---------------------------------------------
 テンプレート・CMS・下層ページ 
--------------------------------------------*/
.more a{border-radius: 50px;}
.box_img1 img, #cms_2-c .cate_img1, #cms_2-c .box_img1{border-radius: 15px;}

#contents2,#contents3,.page_box{position: relative;}
#contents2::before,#contents3::before,.page_box::before{
    content: "";
    width: 100%;
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
#contents2::before,.page_box::before{
    background-image: url(./Dup/img/dec1.png);
}
#contents3::before{
    background-image: url(./Dup/img/dec2.png);
}

#cms_2-c .cate_img1{
    margin: 0 auto 20px;
    width: 60%!important;
}

footer .logo, footer .footer_cms{text-align: center;}
footer .foot_tel_bt a{margin: 0 auto;}
 
/* タブレット */
@media screen and (max-width: 768px){
    #page_title .title_img{height: 170px;}
    #cms_2-c .cate_img1{width: 70%!important;}
    #contents1,#contents2{padding: 100px 8%;}
    #contents3{padding: 0 8% 100px;}
    
    #contents2::before, #contents3::before, .page_box::before{
        height: 70px;
        top: -60px;
    }
}
/* スマホ */
@media screen and (max-width: 667px){
    #contents2::before, #contents3::before, .page_box::before{
        height: 60px;
        top: -50px;
    }
    #page_title .page_box::before{width: 100%;}
    #cms_2-c .cate_img1{width: 100%!important;}
}





/*--------------------------------------------
 全体 ・　文字
----------------------------------------------*/
body,.font_14,.font_16,#footer_menu .font_en,#page7 h3,#page8 h3,#page9 h3{
    font-size: 18px;
    font-family: 'Kosugi Maru', sans-serif;
}
h2, h3, h4, h5, h6,.font_en,.under_contact,.con4_list li,
#cms_2-h .box_img1::before, #cms_2-h .box_img2::before{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800!important;
}
.txt2,.txt4,.txt5,.txt7{
    font-size: 2rem;
}
#con4 h4{
    font-size: 3rem;
}

.more a{
    font-size: 1.5rem;
}

.page_box h2{font-size: 2.7rem;}
.page_box p{font-size: 1.7rem;}

.linkStyle{
	color: #00a58e;
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	opacity: 0.7;
	text-decoration: none;
}

#main_menu ul li a,header .tel_bt a{
    color: #ff5f5f;
    font-weight: 700;
}
#main_menu ul li a::before{
    background-color: #ff5f5f;
    height: 3px;
    border-radius: 3px;
}
header .tel_bt a:hover{
    color: #fff;
}

.cate_list li {width: 30%;}
.cate_list li .button2,#page10 li a,.pager li a{
    background-color: #20bda8;
    color: #fff;
    border-radius: 30px;
}
.cate_list li .button2:hover,#page10 li a:hover,.pager li a:hover{
    background-color: #ff5f5f;
    box-shadow:none;
}
#page10 li a{
    font-size: 1.5rem;
    letter-spacing: 0em;
}
.cate_title,.box_title1 {
    color: #ff9b05;
    font-size: 2rem;
}
.date_box .date1,.date_box .date2{
    color: #ff5f5f;
    font-weight: 700;
}

/* タブレット */
@media screen and (max-width: 768px){
    .cate_list li {width: 48%;}
}
/* スマホ */
@media screen and (max-width: 667px){
    .cate_list li {width: 100%;}
    #con4 h4{    font-size: 2.5rem;}
    .page_box h2{font-size: 2.3rem; letter-spacing: 0em;}
    .cate_title, .box_title1{
        font-family: 'Kosugi Maru', sans-serif;
        font-size: 1.3rem;
    }
}

.button:hover::after{box-shadow: inset 0 0 0 15em #20bda8;}
.txt_color1,.hvr_txt_color1:hover{color: #ff9b05;} 
.txt_color2,.hvr_txt_color2:hover{color: #43d9c5;} 
.txt_color3,.hvr_txt_color3:hover{color: #ff5f5f;} 
.txt_color4,.hvr_txt_color4:hover{color: #ffd74e;} 
/*.txt_color5,.hvr_txt_color5:hover{color: #f2ede7;}*/ 

.bg_color1,.hvr_bg_color1:hover{background-color: #ff9b05;}
.bg_color2,.hvr_bg_color2:hover{background-color: #43d9c5;}
.bg_color3,.hvr_bg_color3:hover{background-color: #ff5f5f;} 
.bg_color4,.hvr_bg_color4:hover{background-color: #ffd74e;} 
/*.bg_color5,.hvr_bg_color5:hover{background-color: #f2ede7;}*/ 

.border_color1,.hvr_border_color1:hover{border-color: #ff9b05;}
.border_color2,.hvr_border_color2:hover{border-color: #43d9c5;}
.border_color3,.hvr_border_color3:hover{border-color: #ff5f5f;}
.border_color4,.hvr_border_color4:hover{border-color: #ffd74e;}
/*.border_color5,.hvr_border_color5:hover{border-color: #f2ede7;}*/