@charset "utf-8";
/* CSS Document */



/*==============================
共通
==============================*/
article {
    margin: 0 auto;
    width: 830px;
}
div#fixbar {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    display: flex;
}
div#fixbar > div{
    width: 50%;
    text-align: center;
    color: #fff;
    line-height: 3rem;
    background: hsl(216deg 45% 16% / 95%);
}
.fixbar_position {
    background: hsl(0deg 0% 87% / 95%) !important;!i;!;
    color: #000 !important;!i;!;
}
#mainhead{
  position: relative;
  padding: 50px;
  padding-top: 0;
  height: 400px;
  width: calc(100% - 100px);
  margin: 0 auto;
  background-image: url(../img/headBack.jpg);
  background-size: cover;
  background-position: center;
}

#mainhead .mainTitle{
  text-align: center;
  display: block;
  height: 150px;
  position: absolute;
  right: 30px;
  bottom: 0px;
  margin: auto;
  z-index: 1;
}

#mainhead .mainTitle h3,
#mainhead .mainTitle h2{
  color:#fff;
  font-size: 1rem;
  line-height: normal;
  letter-spacing: normal;
  font-weight: 900;
  text-align: right;
}

#mainhead .mainTitle h2{
}



.titleBox h2{
  color: #053785;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 16px;
}

.titleBox h3{
  color: #333333;
  font-size: 16px;
  letter-spacing: 8px;
}

.btn{
  display: block;
  width: 180px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 5px 15px;
  color: #053785;
  border-bottom: 1px solid #053785;
  z-index: 1;
  font-size: 20px;
}

.btn::before{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
  background: #ebf1f6;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}

.btn::after{
  content: ">";
  margin-left: 15px;
}

.btn:hover{
  opacity: 1;
}

.btn:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.btn:hover::after{
  transform: translateX(5px);
}

@media screen and (max-width: 1000px) {
  #mainhead{
    width: calc(100% - 100px);
    margin: 50px auto 0;
  }  
article{
  margin: 0 50px;!i;!;
  width: auto;
}
}
@media screen and (max-width: 600px) {
  #mainhead{
    width: calc(100% - 2rem);
    margin: 50px auto 0;
    height: 300px;
  }  
  
  #mainhead .mainTitle{
    height: 70px;
  }

  .titleBox h2{
    color: #053785;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 10px;
  }
article {
    margin: 0 1rem;
}
}

/*==============================
メイン
==============================*/
#gasWrap,
#autoWrap,
#laundryWrap{
  width: calc(100% - 100px);
  margin: 50px auto;
  background-color: #ebf1f6;
  padding: 0 50px 50px; 
}

#gasWrap .titleBox,
#autoWrap .titleBox,
#laundryWrap .titleBox{
  position: relative;
  top: -20px;
  text-align: center;
}

.stationBox{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 15px;
  display: flex;
  justify-content:space-between;
  align-items: center;
}

.stationBox img{
  width: 50%;
}

.flexstart{
  justify-content: flex-start;
}

.stationBox p{
  margin-left: 30px;
}

.cardBox{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 30px;
  border: 1px solid #ccc;
}

.cardBox img{
  margin-left: 20px;
  width: 100%;
  max-width: 300px;
  border: 1px solid #ccc;
}

.coatingBox{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.coatingBox h3{
  color: #053785;
  text-align: center;
  font-weight: 600;
}

.coatingBox table{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 30px;
}

.coatingBox table img{
  width: 100%;
  max-width: 260px;
}

.coatingBox td{
  border: 1px solid #ccc;
  padding: 15px;
  background-color: #fff;
  color: #333;
  text-align: center;
}

.coatingbtn{
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 10px auto;
  padding: 15px;
  text-align: center;
  border: 2px solid #053785;
  color: #333;
  font-weight: 600;
  font-size: 18px;
  background-color: #fff;
}

.coatingbtn:hover{
  opacity: 1;
  color: #fff;
  background-color: #053785;
}

.autoBox{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.autoBox img{
  width: 50%;
}

.autoBox p{
  margin-left: 30px;
}

#autoWrap > img{
  max-width: 400px;
  width: 100%;
  display: block;
  margin: 30px auto 50px;
}

.leaseBox{
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
}

.leaseBox h3{
  color: #053785;
  text-align: center;
  font-weight: 600;
}

.leaseBox table{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.leaseBox table img{
  width: 100%;
  max-width: 300px;
}

.leaseBox td{
  border: 1px solid #ccc;
  padding: 15px;
  background-color: #fff;
  color: #333;
  text-align: center;
  font-size: 14px;
}

.inspectionBox{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.inspectionBox h3{
  color: #053785;
  text-align: center;
  font-weight: 600;
}

.inspectionBox table{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.inspectionBox table img{
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.inspectionBox td{
  border: 1px solid #ccc;
  padding: 15px;
  background-color: #fff;
  color: #333;
  text-align: center;
  font-size: 14px;
}

.inspectionBox td:nth-of-type(1),
.inspectionBox td:nth-of-type(2){
  width: 25%;
}

.repairingBox{
  width: 100%;
  max-width: 1000px;
  padding: 30px;
  margin: 50px auto;
  background-color: #fff;
  border: 1px solid #ccc;
}

.repairingBox h3{
  color: #053785;
  text-align: center;
  font-weight: 600;
}

.repairingBox div{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.repairingBox div img{
  width: 100%;
  max-width: 300px;
  margin-left: 20px;
}


.laundryBox{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.laundryBox img{
  width: 50%;
}

.laundryBox p{
  margin-left: 30px;
}
/*==============================
レスポンシブ
==============================*/

@media screen and (max-width: 1400px) {
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 800px) {
  .stationBox{
    flex-wrap: wrap-reverse;
  }
  
  .flexstart{
    flex-wrap: wrap;
  }
  
  .stationBox img{
    width: 100%;
    margin-bottom: 15px;
  }
  
  .cardBox{
    display: block;
  }
  
  .cardBox img{
    display: block;
    margin: 20px auto;
  }
  
  .autoBox{
    flex-wrap: wrap;
  }
  
  .autoBox img{
    width: 100%;
    margin-bottom: 15px;
  }
  
  .repairingBox div{
    display: block;
  }
  
  .repairingBox div img{
    display: block;
    margin: 20px auto;
  }
  
  .laundryBox{
    flex-wrap: wrap;
  }
  
  .laundryBox img{
    width: 100%;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 600px){
  #gasWrap,
  #autoWrap,
  #laundryWrap{
    width: calc(100% - 40px);
    margin: 50px auto;
    background-color: #ebf1f6;
    padding: 0 20px 30px; 
  }
  
  .stationBox p{
    margin-left: 0;
  }
  
  .leaseBox td,
  .inspectionBox td{
    font-size: 12px;
    letter-spacing: 0;
  }
  
  .coatingBox td,
  .leaseBox td,
  .inspectionBox td{
    padding: 8px;
  }
}

@media screen and (max-width: 414px){
}
.bigtitle {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.5rem;
}
.smalltitle {
    letter-spacing: normal;
    font-size: 1rem;
    padding-left: 1rem;
    margin-bottom: 1rem;
}



.servicericItem_img img {
    display: block;
    width: 100%;
}
.longtext {
    font-size: 1rem;
}

h1 {
    font-weight: 600;
    text-align: center;
    margin: 4rem 0;
    letter-spacing: normal;
}

article section {
    margin-bottom: 4rem;
}
.servicericItem_title {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: .5rem;
}

.servicericItem {
    margin-bottom: 3rem;
}
.flex-list {
    border: 1px solid;
    border-top: none;
    display: flex;
}
.flex-list:first-of-type{border: 1px solid;}

.flex-left-item {
    border-right: 1px solid;
    1px
    border: solid;
    width: 28%;
    text-align: center;
    font-size: 1rem;
    padding: 1rem;
    background: #eee;
}

.flex-right-item {
    width: 72%;
    font-size: 1rem;
    padding: 1rem;
}
.splide__slide img {
    width: 100%;
}
@media (min-width: 1000px) {
  #mainhead .mainTitle{
    right: 20%;
  }
  #mainhead .mainTitle h3, #mainhead .mainTitle h2{
    font-size: 2rem;
}.servicericItem{
    display: flex;
    flex-wrap: wrap;
}.servicericItem_img{
    width: 60%;
}.servicericItem_title{
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
}.servicericItem .longtext{
    margin-top: 1rem;
    margin-bottom: 2rem;
}div#fixbar{
    width: auto;
    right: 40px;
    bottom: 40px;
    left: auto;
}div#fixbar > div{
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
    width: 110px;
    border-radius: 30rem;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: 0.3s;
}
  .fixbar_position{
    margin-right: 20px;
}div#fixbar > div:hover{
    transform: translateY(-10px);
}
}
