@charset "UTF-8";

/* --------------------------------
 * base
 * -------------------------------- */
html {
  font-size: 62.5%;
}
body {
  color: #333;
  background: #fbfaf9;
  height: 100%;
  text-align: center;
  font-size: 1.4rem;
  font-family: Raleway, "Hiragino Kaku Gothic ProN",  Meiryo,  sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.caption-h2-w{
    font-size: 5rem;
    font-weight: bold;
    color: #fafafa;
}

.caption-h2-o{
    font-size: 5rem;
    font-weight: bold;
    color: #ff8500;
}

/*スリットライン*/
.contents {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
}

.contents_inner {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.contents:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 10%;
  margin: 3% -10% 0;
  background: #001360;
  -webkit-transform-origin: left center;
  -ms-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  z-index: -20;
}

.contents:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 10%;
  margin: 3% -10% 0;
  background: #ff8500;
  -webkit-transform-origin: right center;
  -ms-transform-origin: right center;
  transform-origin: right center;
  -webkit-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
  z-index: -10;
}

/* Big Triangle */
svg#bigTriangleColor {
    pointer-events: none;
}

#bigTriangleColor path {
    fill: #ff8500;
    stroke: #ff8500;
    stroke-width: 2;
    z-index: 30;
}

/* --------------------------------
 * header
 * -------------------------------- */
.header{
    background: radial-gradient(#ccc, #000);
    height: 100vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-image: url(../img/jyounuma.jpeg);
}

#logo{
    width: 200px;
    height: 200px;
    margin: 30px 0;
    opacity: 0.8;
}

/* logoのアニメーション設定 */
.puyon {
  -webkit-animation: puyon 1.0s linear 0s 1;
  animation: puyon 1.0s linear 0s 1;
}
@-webkit-keyframes puyon {
  0%   { -webkit-transform: scale(1.0, 1.0) translate(0%, 0%); }
  40%  { -webkit-transform: scale(0.95, 1.2) translate(0%, -10%); }
  50%  { -webkit-transform: scale(1.1, 0.9) translate(0%, 5%); }
  60%  { -webkit-transform: scale(0.95, 1.05) translate(0%, -3%); }
  70%  { -webkit-transform: scale(1.05, 0.95) translate(0%, 3%); }
  80%  { -webkit-transform: scale(1.0, 1.0) translate(0%, 0%); }
  100% { -webkit-transform: scale(1.0, 1.0) translate(0%, 0%); }
}
@keyframes puyon {
  0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
  40%  { transform: scale(0.95, 1.2) translate(0%, -10%); }
  50%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
  60%  { transform: scale(0.95, 1.05) translate(0%, -3%); }
  70%  { transform: scale(1.05, 0.95) translate(0%, 3%); }
  80%  { transform: scale(1.0, 1.0) translate(0%, 0%); }
  100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}

/* スクロールダウンのアニメーション設定 */
.down {
    position: absolute;
    padding: 3rem;
    bottom: 0;
    z-index: 2;
    display: block;
    width: 100px;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-decoration: none;
    cursor: auto;
}

.down span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: down 1.5s infinite;
    animation: down 1.5s infinite;
}
@-webkit-keyframes down {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}
@keyframes down {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

/* --------------------------------
 * nav
 * -------------------------------- */
.nav {
    height: 60rem;
    margin: 8rem auto 0;
    background: url(../img/nav_bg.svg) no-repeat center 20%;
}
.nav-item {
    margin: 0 auto 3rem;
    color: #fff;
    text-decoration: none;
    position: relative;
}
.text-box{
  position: absolute;
  top: 35%;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width:100%;
  color: #fff;
  font-weight: bold;
}
.text{
text-align: center;
  width: 100%;
}
.hover{
    display: block;
}
.arrow{
    width: 18rem;
}

.nav-item a:hover img  {
  opacity: 0.7;
    color: #fff;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}
.nav-item a:hover .text-box{
    color: #001360;
    font-size: 4rem;
}

/* :::::: wagon area :::::: */
.sl-area{
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}
.caption{
    width: 70%;
    height: 20rem;
    min-width: 40vw;
    margin: 0 0 20% 0;
    position:relative;
    z-index: 10;
    background: url(../img/tel.svg),url(../img/open.svg);
    background-repeat: no-repeat,no-repeat;
    background-position: 5% 70%,60% 70%;
    background-size: 5rem,5rem;
    background-color: #001360;
    display: flex;
    flex-wrap: wrap;
    color: #FBFAF9;
    border-radius: 0.3rem;
}
.top{
    font-size: 4rem;
    flex: 0 0 100%;
}
.left{
flex: 0 0 60%;  
font-size: 2.5rem;
}
.right{
flex: 0 0 40%;
font-size: 2.5rem;

}

/* Vanilla Slider (Slick代替) */
.vanilla-slider-wrap {
    overflow: hidden;
    width: 90%;
    margin: -10% auto 0;
    position: relative;
}

.vanilla-slider-track {
    display: flex;
    width: max-content;
    animation: loopRight 16s linear infinite;
    padding: 0;
    margin: 0;
}

.slider-item {
    width: 100vw;
    flex-shrink: 0;
    list-style: none;
}

.slider-item img {
    margin: 0;
    padding: 0 10%;
    width: 100%;
    height: auto;
    display: block;
}

@keyframes loopRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.wagon{
    margin: -5% auto 0 50vw;
    min-width: 40vw;
    position: relative;
    z-index: 20;
    animation:0.5s linear infinite bound;
}
@keyframes bound{
    0% {transform:rotate(0deg) ;}
    15% {transform:rotate(3deg) ;}
    30% {transform:translateY(5px) ;}
    45% {transform:rotate(0deg) ;}
    60% {transform:rotate(-3deg) ;}
    75% {transform:translateY(-5px);}
    100%{transform:rotate(0deg) ;}
}

.wagon::before{
    content: url(../img/tire.svg);
    position: absolute;
    display: block;
    width: 20%;
    top: 74%;
    left: 18%;
    z-index: -5;
}
.wagon::after{
    content: url(../img/tire.svg);
    position: absolute;
    display: block;
    width: 20%;
    right: 10.5%;
    bottom: -13%;
    z-index: -5;
}

.wagon::after , .wagon::before {
    animation: 0.8s linear infinite spin ;
}
@keyframes spin {
    0% {transform: rotate(0deg)translate(0%,5%);}
    100% {transform: rotate(-360deg)translate(-10%,15%);}
}

/* 地面風のライン */
#clouds path {
    fill: #4f4335;;
    stroke: #4f4335;
}

/* :::::: about area :::::: */
.about {
    height: 80rem;
    margin: 8rem auto 0;
    background: url(../img/about.svg)no-repeat  center/ 50rem 50rem;
    position: relative;
}

.about-p{
    margin: 50rem auto 0;
    padding: 4rem;
    background: linear-gradient( rgba(66,66,66,0.8), rgba(66,66,66,0.9));
    color: #fafafa;
    font-size: 2rem;
    max-width: 72rem;
    border-radius: 0.3rem;
}

/* :::::: rate area :::::: */
.rate{
    height: 500px;
    margin: 30px auto;
    background: url(../img/rate_bg@2x.png) no-repeat center / contain;
    max-width: 1000px;
}
.flow {
    margin: 60rem auto 0;
    padding: 5rem 1rem;
    max-width: 1000px;
    background: #ff8500;
    }
.repair{
    font-size: 3rem;
    color: #fafafa;
    margin: 0 auto;
    font-weight: bold;
}
.sign{
    width: 20rem;
    margin: 34rem auto 0;
}

.rate .container {
    padding: 80px auto 2rem;
}

.rate .table {
    margin: 5rem auto;
}

.rate p {
    max-width: 350px;
    margin: 3rem auto 0;
    font-size: 2.5rem;
    line-height: 1.8;
    opacity: 0.8;
    color: #4f4335;
}
    
.rate .container {
    display: flex;
    max-width: 1000px;
    max-height: 50rem;
    margin-left: 10rem auto 0;
    margin-right: auto;
}

.rate .table{
    flex: 1;
}

.rate .heading {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 3rem;
    font-weight: bold;
    color: #FF8500;
}

.chart {
        font-size: 2rem;
        display: block;
        width: 60%;
        background: #fafafa;
        color: #4f4335;
        position: relative;
        margin:4rem auto;
        border-radius: 0.3rem;
    }

.chart:after {
        border-color: #fff transparent transparent transparent;
        border-style: solid;
        border-width: 2rem;
        content: "";
        display: block;
        left: 45%;
        position: absolute;
    }
.kome{
    margin: 10% auto 0;
}

/* :::::: self area :::::: */
.self{
    height: 60rem;
    margin: 30px auto;
}
.kaki{
    background-image: url(../img/kaki.svg),url(../img/syarin.svg);
    background-repeat: no-repeat,no-repeat;
    background-position:  right 15% top 20%, 20% 80%;
    background-size: 40%,10%;
    height: 60rem;
}
.face{
    margin: 15rem auto 0;
    display: block;
}
.self p{
    font-size: 3rem;
    color: #4f4335;
    background: rgba(250,250,250,0.7);
}

.hideo {
  position: relative;
  background: rgba(255,255,255,0.7);
  width: 50%;
  margin: 2rem auto 0;
}
.hideo::after {
  position: absolute;
  transition: all 0.3s ease 0s;
  opacity: 0;
}

.hideo::after {
  content: attr(data-tooltip);
  display: block;
    padding: 20px;
    background: #ff8500;
    color: #fff;
    border-radius: 5px;
    top: 30px;
    left: 0;
}
.hideo:hover::after{
    top: 36px;
    opacity: 1;
}

/* :::::: contact area :::::: */
.contact {
  margin:  0 auto;
  padding: 80px 0 150px;
  background: #ff8500;
}
.contact-form {
  width: 50%;
  margin: 50px auto 0;
}
.contact-form input[type=text],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.9);
  color: #424242;
}
.contact-form input[type=text]:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5) inset;
}
.contact-form textarea {
  height: 150px;
}
.contact-form input[type=submit] {
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.contact-form input[type=submit]:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* :::::: footer :::::: */
.footer{
    background-color: #424242;
    color: #fafafa;
}

.footer a .logo{
    width: 14rem;
    height: 14rem;
    margin: 0 auto;
    opacity: 0.8;
    display: block;
    padding: 1rem;
}

@media (max-width: 768px) {
    .caption{
        flex-direction: column;
    }
    
    .flow{
        margin: 90rem auto 0;
    }
}