@charset "UTF-8";

/* ====== index_ﾄｯﾌﾟﾍﾟｰｼﾞ用 ====== */

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

/* この行が原因 */
header {
  padding: 1px;
}
/* この行が原因 */

@keyframes titleAnimation {
  0% {
    letter-spacing: .3em;
    opacity: 0;
  }
}

header h1 {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 60px;
  white-space: nowrap;
  animation: titleAnimation 3.0s;
  text-shadow:
            1px 1px 0px #000, -1px -1px 0px #000,
           -1px 1px 0px #000,  1px -1px 0px #000,
            1px 0px 0px #000, -1px -0px 0px #000,
            0px 1px 0px #000,  0px -1px 0px #000;
}

header h2 {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 60px;
  white-space: nowrap;
  animation: titleAnimation 1.5s;
}

header h3 {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 60px;
  white-space: nowrap;
  animation: titleAnimation 1.5s;
}

header p {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 60px;
  white-space: nowrap;
  animation: titleAnimation 1.5s;
}

main {
  max-width: 1000px;
  width: 100%;
  margin: 50px auto;
}

/* ここから====== スクロールしたら要素をフワっとアニメーションして、表示させる ====== 
 
.contents li {
  /*
  position: relative;
  opacity: 0;　
  transform: translateY(50px); /* translate Y 上から50pxスライド==== 
  transition: 1s; /* 1秒かけてスライド==== 
  
}

.contents li.show {
  opacity: 1;
  transform: none;
}
ここまで====== スクロールしたら要素をフワっとアニメーションして、表示させる ====== */

.contents li.show h4 {
  transform: none;
  opacity: 1;
}

.contents li.show h3 {
  transform: none;
  opacity: 1;
}

.contents li.show h2 {
  transform: none;
  opacity: 1;
}

.contents li.show p {
  transform: none;
  opacity: 1;
}

.contents li.show img {
  transform: none;
  opacity: 1;
}



.contents li:not(:first-of-type) {
  margin-top: 50px;
}

.contents li:nth-of-type(odd) .contentsText {
  right: 0;
}

.contents li:nth-of-type(even) .contentsText {
  align-items: flex-start;
}

.contents li:nth-of-type(even) img {
  margin-left: auto;
}

.contentsText {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  top: 40px;
}

.contents h2 {
  font-size: 50px;
  font-weight: bold;
  white-space: nowrap;
  background-color: #CCC(20, 20, 20, .8);
  padding: 10px 20px;
  line-height: 1.4;
  letter-spacing: .05em;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(20px);
  transition: 1s;
}

.contents h3 {
  font-size: 30px;
  font-weight: bold;
  white-space: nowrap;
  background-color: #CCC(20, 20, 20, .8);
  padding: 10px 20px;
  line-height: 1.4;
  letter-spacing: .05em;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(20px);
  transition: 1s;
}

.contents h4 {
  font-size: 20px;
  font-weight: bold;
  white-space: nowrap;
  background-color: #CCC(20, 20, 20, .8);
  padding: 10px 20px;
  line-height: 1.4;
  letter-spacing: .05em;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(20px);
  transition: 1s;
}

.contents p {
  line-height: 1.6;
  background-color: #CCC(20, 20, 20, .8);
  font-size: 19px;
  max-width: 340px;
  padding: 15px;
  margin-top: 30px;
  border-radius: 5px;
  opacity: 0;
  transform: translateX(20px);
  transition: 1s;
}


.contents img {
  width: 110%;
  border-radius: 5px;
  opacity: 0;
  transform: translateX(40px);
  transition: 1s .5s;
}




/* ====== 編集前COPY
.contents p {
  line-height: 1.6;
  background-color: #CCC(20, 20, 20, .8);
  font-size: 16px;
  max-width: 340px;
  padding: 15px;
  margin-top: 30px;
  border-radius: 5px;
  opacity: 0;
  transform: translateX(20px);
  transition: 1s;
}

.ttl-bdr::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 5px solid #000;
  width: 12%;
  margin: 0 auto -15px;
}

h1 {
    
  color: blue;
}

h2 {
    
  color: blue;
}

====== */




a:hover {
  text-decoration: none;
  opacity: 0.8;
}

header .navbar-brand {
  width: 20%;
}

header .navbar-brand .logo {
  width: 100%;
}

header .tel {
  font-size: 2rem;
  color: #fff;
}

header .tel a {
  color: rgb(136, 17, 17);
}

/* ====== TOTOP ====== */
/* ページトップ */
/* ====== ここから　画面右下のPAGETOPボタン　 ====== */

#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 80%;
}

#page-top a {
  background: rgb(126, 123, 123);
  text-decoration: none;
  color: rgb(252, 252, 252);
  width: 100px;
  padding: 25px 0;
  text-align: center;
  display: block;
  border-radius: 10px;
}

#page-top a:hover {
  text-decoration: none;
  background: rgb(201, 13, 13);
}
/* ====== ここまで　画面右下のPAGETOPボタン ====== */

/* ====== ここから　画面右下のPAGEボタン ====== */

#page {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 80%;
}

#page a {
  background: rgb(126, 123, 123);
  text-decoration: none;
  color: rgb(252, 252, 252);
  width: 100px;
  padding: 25px 0;
  text-align: center;
  display: block;
  border-radius: 10px;
}

#page a:hover {
  text-decoration: none;
  background: rgb(201, 13, 13);
}
/* ====== ここまで　画面右下のPAGEボタン ====== */

/* ====== ここから　不明 ====== */

.btn-outline-secondary:hover,
.btn-outline-secondary:not(:disabled):not(.disabled).active {
  color: #fffb00 !important;
}

/* ====== ここまで　不明 ====== */

/* ====== ここから　トップ画面一番上のフラットなボタン
          と　「西三自動車株式会社」文字 ====== */

          *,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 80.0%;
}

/* ====== ここまで　トップ画面一番上のフラットなボタン
          と　「西三自動車株式会社」文字 ====== */

/* ====== ここから　　　トップ画面一番上の「Webでの車検のサイズや「 色 」...
と「詳しくはこちらの画面　　　　　」 ====== */

.btn,
a.btn,
button.btn {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #ff9102;
  border-radius: 0.5rem;
}

a.btn-flat {
  overflow: hidden;

  padding: 1.5rem 6rem;

  color: #fff;
  border-radius: 0;
  background: #000;
}

a.btn-flat span {
  position: relative;
}

a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;

  width: 150%;
  height: 500%;

  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
  transform: translateX(-98%) translateY(-25%) rotate(45deg);

  background: #0c7202;
}

a.btn-flat:hover:before {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

/* ====== フラットなボタンここまで ====== */

/* ====== TOP IMAGE ====== */

header.top-page {
  height: 100vh;
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
}

/* ====== ここから　TOP の画像だけ　画像上の文字は関係なし ====== */

/* ====== 2021112801TEST TOP画面スライド====== */

.slideBox {
  height: 1024px;
  overflow: hidden;
  position: relative;
}

/* テキストがあるバージョン */
.title {
  font-size: 32px;
  color: #fff;
  z-index: 11;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.item2 {
  z-index: 10;
  opacity: 0;
  width: 100%;
  height: 1024px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 30s 0s infinite;
  animation: anime 30s 0s infinite;
}

.item2:nth-of-type(2) {
  -webkit-animation-delay: 10s;
  animation-delay: 10s;
}

.item2:nth-of-type(3) {
  -webkit-animation-delay: 20s;
  animation-delay: 20s;
}

/* ふわっとアニメーション */
@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}
/* ====== 2021112801TEST TOP画面フルスクリーン====== */

.jumbotron {
  background-image: url(../img/cherry01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
}

/* ====== ここから　TOP の文字だけ ====== */

.jumbotron .bg-rgba {
  background-image: url(../img/cherry02-s.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
 }

.jumbotron h1 {
  word-wrap: break-word;
  color: #fff;
  text-align: left;
  margin-left: 5mm;
}

.jumbotron h2 {
  line-height: 1.8rem;
  text-align: left;
  color: #fff;
  margin-left: 5mm;
}

/* ====== ここから　TOP の文字だけ ====== */

/* ====== ここまで　TOP の画像だけ　画像上の文字は関係なし ====== */

/* ====== TOPPAGE SECTION ====== */

#sec1 .card:nth-of-type(2) {
  border-left: none;
  border-right: none;
}

.ttl-bdr {
  font-size: 3rem;
  line-height: 1.5;
  position: relative;
  margin-bottom: 50px;
}

.ttl-bdr::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 5px solid #000;
  width: 12%;
  margin: 0 auto -15px;
}

/* ====== 編集前COPY

.ttl-bdr::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 5px solid #000;
  width: 12%;
  margin: 0 auto -15px;
}

====== */

#sec3 {
  background-image: url("../img/cherry02-s.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ====== 編集前COPY
#sec3 {
  background-image: url("../img/1739.JPG");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
====== */

#sec4 table {
  width: 100%;
  background-color: #CCC;
  font: 12px;
  color: #666;
  table-layout: fixed;
  border-collapse: collapse;
}

#sec4 table th,
#sec4 table td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ccc;
}

#sec4 table th {
  background-color: #002795;
  color: #fff;
}

#sec4 table td {
  width: 14.2%;
}

#sec4 table td:nth-child(7n) {
  background-color: #5197E0;
  color: #fff;
}

#sec4 table td:nth-child(7n+1) {
  background-color: #FF8A8C;
  color: #fff;
}

/* ====== SNS ====== */
.social img {
  width: 36px;
  height: 36px;
}

/* ====== SNS ====== */

iframe {
  width: 100%;
  height: 450px;
}

/* ====== FOOTER ====== */
.footer-logo {
  width: 50%;
}

/* =============================================
メディアクエリ ＜モバイルファースト＞
============================================= */
/* スマホデバイス（縦向きモバイル, 1px～576px ）
==============================================*/
@media (min-width: 1px) and (max-width: 576px) 
  {
  .animationTarget img {width: 300px;
  }
  .display-3 {
    line-height: 0.8em;
  }

  .display-4 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }
  h2 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }
  h3 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }
  }

/* 極小デバイス（縦向きモバイル, 577px～767px）===
==============================================*/
@media (min-width: 577px) and (max-width: 767px) {

  img {
    width: 100%;
  }
  
  .display-3 {
    line-height: 0.8em;
  }

  .display-4 {
    font-size: 2rem;
    line-height: 1.2;
  }

  
  h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }
  h2 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }
  h3 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }
  }

/* 小デバイス（横向きモバイル, 768px～991px）
==============================================*/
@media (min-width: 768px) and (max-width: 991px) {

  img {
    width: 100%;
  }
  h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }
  h2 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }
  h3 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }

  #sec3 {
    background-image: none;
  }

  header .navbar-brand {
    width: 70%;
  }

  header .navbar-brand .logo {
    width: 100%;
  }

  header .navbar-nav {
    border-top: 1px solid #fff;
  }

  .footer-logo {
    width: 100%;
  }
  }

/* END */


/* 中デバイス（タブレット, 992px～1199px）
==============================================*/
@media (min-width: 992px) and (max-width: 1199px) {

  img {
    width: 100%;
  }
  .container {
    max-width: 740px;
  }

  .parent {
    position: relative; /*配置位置の基準となる指定*/
    height: "";
    background:
  }
  p.text {
    position: absolute; /*自由に配置する指定*/
    bottom: 0; /*下寄せの指定*/
    margin: 0;
  }
  }

/* END */

  /* 大デバイス（デスクトップ, 1200px～MAX）
==============================================*/
@media (min-width: 1200px) {
  
  img {
    width: 100%;
  }
  .herounit h1 {
    margin-top: 10rem;
  }

  .parent h1 {
    position: relative; /*配置位置の基準となる指定*/
    height: "";
    background: 
  }
  p.text {
    position: absolute; /*自由に配置する指定*/
    bottom: 0; /*下寄せの指定*/
    margin: 0;
  }
  }

/* END */
  /* ここまで書き込みテスト 
      iPhone 12/ 12 Pro	  390 x 844
      iPhone 12 mini	    375 x 812
      iPhone 12 Pro Max	  428 x 926
      iPhone 11/ XR	      414 x 926
      iPhone 11 Pro Max	  414 x 896
      iPhone 11 Pro/ X/XS	375 x 815
      iPhone SE2	        375 x 667
      iPhone 6s,7,8 plus	414 x 736
      iPhone 6s,7,8	      375 x 667
  
  */
  




  /* 書き込みテスト
  .layouts {
    div.item2 : block;
    display: block;

  }
  書き込みテスト */





/* END */
