@charset "utf-8";

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

.first-view{
  height: calc(110vh - 110px);
  background-image: url(../images/ヘッダー写真/TOP【長方形】.JPG);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}



.first-view-text{
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 10px #4b2c14;
}

.first-view-text h1{
  font-size: 40px;
  line-height: 72px;
}

.main {
 color: #000000;
 background-color: #ffffff;
 max-width: 2000px;
}

.lead {
  color: #622a1e;
  background-color: #ffffff;
  padding-top: 50px;
  padding-bottom:  50px;
  display: flex;
  flex-direction: column;
  align-items: center;
   }

 .lead-logo {
  width: 350px;
  display: block;
  margin-top:  20px;
 }


   li {
    list-style: none;
  }
  /* ↓ スライドの外枠 */
  .slide-wrapper {
    width: 600px;
    position: relative;
    overflow: hidden; /* はみ出したスライドを隠す */
  }
  /*  ↓ スライド（コンテンツ） */
  .slide { /*スライド全体 */
    width: 600px;
    display: flex;
    transition: all 0.3s;
  }
  .slide div { /* スライド */
    width: 33.33%;
    height: 100%;
    font-size: 16px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .slide img{
    width: 100%;
    height: 400px;
    object-fit: contain;
  }

  .slide1 { /* スライドさせるために必要なクラス */
    transform: translateX(0);
  }
  .slide2 { /* スライドさせるために必要なクラス */
    transform: translateX(-33.33%);
  }
  .slide3 { /* スライドさせるために必要なクラス */
    transform: translateX(-66.66%);
  }



  /* ↓ 左右のボタン */
  .next {
    position: absolute;
    width: 15px;
    height: 15px;
    right: 10px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 3px #000;
    border-right: solid 3px #000;
    -webkit-transform: rotate(45deg) translateY(50%);
    transform: rotate(45deg) translateY(50%);
  }
  .prev {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 25px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 3px #000;
    border-right: solid 3px #000;
    -webkit-transform: rotate(-135deg) translateY(-50%);
    transform: rotate(-135deg) translateY(-50%);
  }
  /* ↓ インジケーター */
  .indicator {
    width: 100%;
    position: absolute;
    bottom: 20px;
    display: flex;
    column-gap: 18px;
    z-index: 10;
    justify-content: center;
    align-items: center;
  }
  .indicator li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    list-style: none;
    background-color: #fff;
    border: 2px #D7EEFF solid;
    cursor: pointer;
  }
  .indicator li:first-of-type {
    background-color: #D7EEFF;
  }

  .lead{
    display: flex;
  }






  @media (max-width: 1220px) {
  
    .first-view{
      height: calc(80vh - 100px);
      background-image: url(../images/ヘッダー写真/TOP【長方形】.JPG);
      align-items: center;
    }
  
  }
  
  @media (max-width: 1000px) {
    .main{
      width: auto;
    }
    .first-view{
      height: calc(80vh - 100px);
      background-image: url(../images/ヘッダー写真/TOP【正方形】.PNG);
      align-items: center;
    }
   

    .slide-wrapper {
      width: 350px;
    }

    .slide { 
      width: 350px;
    }
    

    
  }







