@charset "UTF-8";


/* ロードサービスページ ----------------------------------------------------*/
/* 共通部分 --------------------------------*/
html{
    font-size: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    background-color: #e0e0e0;
    color: #333;
}
a{
    text-decoration: none;
    color: #333;
}
img{
    max-width: 100%;
}
.white{
    border-radius: 20px;
    box-shadow:  10px 10px 20px #b1b1b1, -10px -10px 20px #ffffff;
}
.title-border {
    display: flex;
    align-items: center;
    color: #333;
    padding-top: 2rem;
}
.title-border:before,
.title-border:after {
    border-top: 2px solid #e6b422;
    content: "";
    flex-grow: 1;
}
.title-border:before {
    margin-right: 1rem;
}
.title-border:after {
    margin-left: 1rem;
}
.call{
    display: block;
    width: 60vw;
    background-color: #F15A22;
    color: white;
    font-size: 2rem;
    text-align: center;
    margin: 1rem auto;
    padding: 0 1rem;
    border-radius: 25px;
    border: 3px solid #fff;
    box-shadow:  5px 5px 10px #cacaca, -5px -5px 10px #f6f6f6;
    transition: 0.3s;
}
.call:hover{
    background-color: #fff;
    color: #f15a22;
    border: 3px solid #f15a22;
}
.link-btn{
    display: block;
    width: 50vw;
    margin: 0.5rem auto;
    padding: 0.5rem;
    background-color: #445597;
    color: white;
    text-align: center;
    border-radius: 20px;
    border: 2px solid #e6b442;
    box-shadow:  5px 5px 10px #cacaca, -5px -5px 10px #f6f6f6;
    transition: 0.3s;
}
.link-btn:hover{
    background-color: #fff;
    color: #333;
}
header, footer{
    width: 100%;
    background-color: #445597;
}
header a, footer a, footer p{
    color: #eee9d4;
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
.top-btn{
    position: fixed;
    bottom: 0;
    right: 20px;
    z-index: 90;
    font-family: 'Racing Sans One', cursive;
    text-align: center;
    color: #333;
}
.rotate {
    width: 100px;
    height: 100px;
    animation: rotation 10s infinite linear;
}
  
@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(-359deg);
    }
}
.rotate:hover{
    animation-duration: 0.1s;
}

.fadeIn{
    animation-name: fadeInAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}
@keyframes fadeInAnime{
    from {
        opacity: 0;
    }    
    to {
        opacity: 1;
    }
}

/*背景色が伸びて出現 共通*/
.bgextend-headline{
    animation-name:bgextendAnimeBase;
    animation-duration:1s;
    animation-fill-mode:forwards;
    overflow: hidden;/*　はみ出た色要素を隠す　*/
    opacity:0;
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    background-color: #ddd;
    z-index: 10;
  }
  .bgextend{
    animation-name:bgextendAnimeBase;
    animation-duration:1s;
    animation-fill-mode:forwards;
    position: relative;
    overflow: hidden;/*　はみ出た色要素を隠す　*/
    opacity:0;
    z-index: 10;
  }
  
  @keyframes bgextendAnimeBase{
    from {
      opacity:0;
    }
  
    to {
      opacity:1;  
  }
  }
  
  /*中の要素*/
  .bgappear{
    display:block;
    animation-name:bgextendAnimeSecond;
    animation-duration:1s;
    animation-delay: 0.6s;
    animation-fill-mode:forwards;
    opacity: 0;
    z-index: 10;
  }
  
  @keyframes bgextendAnimeSecond{
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
  }
  }
  
/*--------- 右からフェードイン --------*/
  .bgRLextendYl::before{
    animation-name:bgRLextendAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: #e6b422;/*伸びる背景色の設定*/
      z-index: 20;
  }

  @keyframes bgRLextendAnime{
    0% {
      transform-origin:right;
      transform:scaleX(0);
    }
    50% {
      transform-origin:right;
      transform:scaleX(1);
    }
    50.001% {
      transform-origin:left;
    }
    100% {
      transform-origin:left;
      transform:scaleX(0);
    }
  }
/* ヘッダー　-----------------------------------*/
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    border-bottom: 2px solid #bb9861;
}
header, header img, header li{
    z-index: 100;
    height: 60px;
}
header ul{
    display: flex;
    justify-content: space-evenly;
}
header li{
    padding: 10px 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items:center;
}
header a{
    color: #fff;
}
/* トップ --------------------------------------*/
#top img{
    max-height: 100vh;
    display: block;
    margin: 0 auto;
    padding-top: 60px;
    box-shadow:  5px 5px 10px #cacaca, -5px -5px 10px #f6f6f6;
}
/* ロードサービス紹介エリア------------------------*/
#what-roadservice p{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem 0;
}
#what-roadservice p:nth-of-type(2){
    padding-bottom: 2rem;
}
.fable-rs-area{
    width: 80vw;
    min-height: 20vh;
    background-color: #f0f0f0;
    border-width: 2px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-color: #e6b422;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 10;
}
.fable-rs{
    padding: 0.5rem;
}
.w-fable-title{
    width: 180px;
}
.fable-rs dd{
    padding-left: 1rem;
    font-size: 1.1rem;
}
.general-rs{
    width: 70vw;
    background-color: #c0c0c0;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    position: relative;
    top:0;
    left: 30vw;
}
.general-rs dd{
    font-size: 0.9rem;
}
.timeline{
	margin:50px auto;
}
.timeline-place{
    margin-bottom: 5rem;
}
.timeline h4{
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
}
.timeline li{
    position: relative;
	list-style: none;
	padding:0 0 20px 0;
}
.timeline dt{
	text-align: center;
}
.timeline dl{
    padding: 0.5rem;
}
.timeline dd{
    padding: 0.5rem;
}

.border-line {
	position: absolute;
	left: 20px;
	top: 160px;
	width: 20px;
	height:0;
	background: #e6b422;
    z-index: 1;
}
.general-model, .fable-model-place{
    text-align: center;
    padding: 2rem;
}
.general-model{
    background-color: #c0c0c0;
}
.fable-model{
    background-color: #e0e0e0;
    padding-bottom: 1rem;
}
.flex-container{
    width:90vw;
    margin: 0 auto;
}
.merit{
    display: block;
    border:  1px solid #e6b422;
    border-radius: 25px;
    margin: 1rem auto;
    background-color: #f0f0f0;
}
.merit dt{
    font-weight: bold;
}
.fable-model-title{
    width: 250px;
}
.fable-model dt{
    padding-top: 2rem;
    font-size: 1.2rem;
    text-align: center;
}
.fable-model dd{
    padding: 1rem;
}
/* 対応エリア -----------------------------------*/
#service-area{
    height: 80vh;
    position: relative;
}
.area-text{
    position: absolute;
    top: 20vh;
    left: 15vw;
}
.area-text2{
    width: 100%;
    text-align: center;
    position: absolute;
    top: 70vh;
}
#service-area img{
    max-height: 80vh;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
/* 対応車種 -------------------------------------*/
#service-type{
    text-align: center;
}
.type-text{
    font-size: 1.3rem;
    margin: 8px;
}
.type-text-small{
    font-size: 0.8rem;
}
/* ロードサービス料金表 ---------------------------*/
.price-container{
    text-align: center;
}
#price-place p{
    padding: 1rem;
}
/* 問い合わせエリア ------------------------------*/
#contact-place{
    text-align: center;
}
.line_add_frieds{
    display: flex;
    justify-content: space-around;
    padding: 1rem;
}
.line_add_frieds a{
    text-align: center;
    color: #fff;
    background-color: #00b900;
    border-radius: 25px;
    border: 3px solid #fff;
    width: 60vw;
    font-size: 2rem;
    transition: 0.3s;
    box-shadow:  5px 5px 10px #cacaca, -5px -5px 10px #f6f6f6;
}
.line_add_frieds a:hover{
    color: #00b900;
    border: 3px solid #00b900;
    background-color: #fff;
}
/* カンパニー　---------------------------------
#company .wrapper{
    padding-top: 0.1rem;
}
.company-info{
    width: 80vw;
    margin: 3rem auto;
    padding: 1rem;
    text-align: center;
}
.company-info h2{
    font-size: 1.3rem;
}
.company-info p{
    font-size: 0.8rem;
}
.company-info i{
    margin-right: 0.5rem;
}
.store-info{
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.store-sayama{
    flex-direction: column;
}
.tel-info{
    margin-right: 2rem;
}
.tel-sayama{
    margin: 0 auto;
}
.tel-info a{
    color: black;
}
.location-map iframe{
    filter:grayscale(100%);
    -webkit-filter:grayscale(100%);
    width: 70vw;
    height: 50vw;
}
--*/

/* カンパニー ---------------------------*/
.tab{
	display: flex;
	justify-content: space-evenly;
    margin-top: 10vw;
}
.tab li a{
	display: block;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 1rem;
    transition: 0.3s;
    border-radius: 3px;
}
.tab li a:hover{
    background-color: #f0f0f0;
}
.tab li.active a{
    background-color: #445597;
}
.company {
	display: none;
	opacity: 0;
	background-color: #fff;
    padding: 3rem 0;
}
.company.is-active {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    animation-name: displayAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.store-info{
    padding: 1rem;
}
.store-info h3{
    padding: 2rem;
    text-align: center;
    font-size: 1.5rem;
}
.store-info p, .store-info a{
    padding: 10px;
    transition: 0.3s;
    border-radius: 3px;
    display: block;
}
.store-info a:hover{
    background-color: #e0e0e0;
}


/*　フッター -------------------------------------*/
footer{
    width: 100%;
    text-align: center;
    padding: 10px;
    border-top: 2px solid #bb9861;
}
@media (max-width: 1400px){
    /* header-----------------------------------------*/
    header{
        justify-content: space-between;
        padding: 0 1rem;
    }
    header ul{
        flex-direction: column;
    }
    #g-nav{
        position:fixed;
        z-index: 999;
        top:0;
        right: -120%;
        width: 100%;
        height: 100vh;
        background:#e0e0e0;
        transition: all 0.6s;
    }
    #g-nav.panelactive{
        right: 0;
    }
    #g-nav ul {
        position: absolute;
        z-index: 999;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
    }
    #g-nav li{
        list-style: none;
        text-align: center;
    }
    #g-nav li a{
        color: #332627;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        font-size: 1.2rem;
        min-width: 350px;
    }
    .openbtn{
        position: relative;
        cursor: pointer;
        width: 60px;
        height: 60px;
        z-index: 999;
    }
    .openbtn .openbtn-area{
        transition: all .6s;
        width:60px;
        height:60px;
    }
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background: #fff;
          width: 45%;
      }
    
    .openbtn span:nth-of-type(1) {
        top:18px;	
    }
    .openbtn span:nth-of-type(2) {
        top:26px;
    }
    .openbtn span:nth-of-type(3) {
        top:34px;
    }
    .openbtn.active .openbtn-area{
        transform: rotate(360deg);
    }
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .openbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
}

@media(max-width: 1200px){
    /* カンパニー ---------------------------*/
    .company.is-active {
        flex-direction: column;
    }
}

@media(max-width: 900px){
    .call{
        width: 90vw;
        font-size: 1rem;
        padding: 10px 0;
    }
    .link-btn{
        width: 90vw;
        font-size: 1rem;
        padding: 10px 0;
    }
    .line_add_frieds a{
        width: 90vw;
        font-size: 1rem;
        padding: 10px 0;
    }
}
@media(max-width: 600px){
    /*TOPボタン*/
    .top-btn{
        right: 11px;
    }
    .rotate {
        width: 50px;
        height: 50px;
    }

}

@media (min-width: 900px){
    /* 共通設定 ----------------------------------------*/
    h2{
        font-size: 2rem;
    }
    h3{
        font-size: 1.7rem;
    }
    .timeline h4{
        font-size: 1.5rem;
    }
    /* トップ -----------------------------------------*/
    /* ロードサービス紹介エリア --------------------------------------*/

    .flex-container{
        display: flex;
        justify-content: space-between;
    }
    .fable-rs dd{
        padding-left: 2rem;
    }
    .merit{
        margin: 1rem;
    }
    .general-model, .fable-model{
        padding: 10rem 0;
    }
    .border-line{
        width: 25px;
        left: 100px;
    }
    /* カンパニー ------------------------------------
    #company .wrapper{
        display: flex;
        justify-content: space-around;
    }
    .company-info{
        width: 30vw;
    }
    .location-map iframe{
        width: 25vw;
        height: 15vw;
    }--*/
    /* sns --------------------------------------------*/
    /* オリジナルグッズ ---------------------------------*/
    /* footer ----------------------------------------*/
    footer .wrapper{
        display: flex;
        justify-content: center;
    }
}

@media(max-width: 600px){
    /* カンパニー ---------------------------*/
    .store-info h3{
        padding: 1rem;
        font-size: 1.2rem;
    }
    .location-map{
    position: relative;
        width: 100%;
        height: 0;
        padding-top: 56.25%;/*比率をお好みで*/
    }
    .location-map iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .tab li a{
        font-size: 1rem;
    }
}


/* プライバシーポリシーページ ---------------------------------*/
.privacy-place{
    max-width: 1500px;
    margin: 0 auto;
    padding: 10rem 1rem 1rem 2rem;
}