body {
  color: #333333;
  background-color: #e5e5e5;
  font-family: -apple-system, BlinkMacSystemFont, 'Raleway', 'Helvetica Neue','Esteban', '游ゴシック', 'Yu Gothic', '游ゴシック体', YuGothic, Verdana, 'メイリオ', Meiryo, sans-serif;
 
  /* GoogleChromeのバグ対策 */
  font-weight: 500;
}


/* ヘッダー */ 
header{
 max-width: 1300px;
  margin: 0 auto;
}

.head-top{
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
}


/* top */ 
.top{
  width:1300px;
  margin: auto;
}

.logo {
  text-decoration: none;
  font-family: Esteban;
  font-weight: 500;
  color: black;
  font-size: 1.5rem;
}


/* nav */
.main-nav {
display: flex;
  font-family: Raleway;
  font-size: 0.9rem;
  text-transform: uppercase;
  list-style: none;
}

.main-nav li{
  margin-left: 30px;
}

.main-nav a{
    text-decoration: none;
  color: #333333;
}

.main-nav a:hover {
  color: #2dae00;
}



/* 無限スクロール */
@keyframes infinity-scroll-left {
  from {
    transform: translateX(50);
  }
  to {
    transform: translateX(-100%);
  }
}

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 90s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: 200px;
  height: 200px;
padding: 5px;
}
.scroll-infinity__item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scroll-infinity__wrap:hover .scroll-infinity__list--left{
  animation-play-state: paused;
}



/* 本文　*/
.logo-text2 {
  font-family: Esteban;
  font-weight: 500;
  color:black;
  font-size: 1rem;
  width:75px;
margin:0 auto;
}


.text {
  max-width: 1080px;
  margin: 0 auto;
  font-family: Esteban;
  color: #545d63;
  font-size: 0.9rem;
  line-height: 20px;
  text-align: justify;
}


/* 調整 */
.adjust-spaceA {
  height: 50px;
}

.adjust-spaceB {
  height: 80px;
}

.adjust-spaceC {
  height: 20px;
}

.adjust-space45 {
  height: 45px;
}

hr{
  border-top: 1px solid #b6b6b6;
  max-width: 1300px;
  margin-bottom: 15px;
  margin: 0 auto;
}



/* footer */
footer {
  text-align: center;
  font-family: YuGothic, sans-serif;
  font-size: 0.6rem;
  color: #999;
  position: relative; /* 必要ならfixedではなくrelativeに */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
}







/* flexible */
/* for mini phone----------------------------------------------------------- */
@media(max-width: 375px) {
    .main-nav {
      text-align: justify;
      list-style: none;
      justify-content: center;
      margin:0 auto;
    }
  
  .nav-text{
    font-size: 0.7rem;
    margin: 0x; 
  }
  }

/* for iphone----------------------------------------------------------- */
@media (max-width: 441px) {
  .scroll-infinity__list--left {
    animation: infinity-scroll-left 30s infinite linear 0.5s both;
  }

  .scroll-infinity__item {
    width: 130px;
    height: 130px;
    padding: 3px;
  }

}
  
/* for ipad----------------------------------------------------------- */
@media (max-width: 769px) {
  /* ヘッダー */
  header {
    max-width: 300px;
    margin: 0 auto;
  }

  .head-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 10px;
  }

  /* top */
  .top {
    max-width: 100px;
    display: inline;
    text-align: center;
      }

  .logo {
    text-decoration: none;
    font-family: Esteban;
    font-weight: 500;
    color: black;
    font-size: 1.2rem;
  }

  /* nav */
  .main-nav {
    font-size: 0.8rem;
    text-align: center;
    list-style: none;
    justify-content: center;
    margin: 20px;
    margin-right: 50px;
  }
  
  .main-nav li {
    margin: 0 12px;
      }

  .main-nav a {
    text-decoration: none;
    color: #333333;
  }

  .main-nav a:hover {
    color: #2dae00;
  }

  .text {
    max-width: 667px;
    margin: 0 10px;
    padding: 0 10px;
    font-family: Esteban;
    color: #545d63;
    font-size: 0.8rem;
    line-height: 20px;
  }

  hr {
    border-top: 1px solid #b6b6b6;
    max-width: 769px;
    margin-bottom: 15px;
    margin: 0 10px;
  }

  .adjust-spaceA {
  height: 20px;
}
  
  .adjust-spaceB {
  height: 30px;
}
  
}



/* for ipad----------------------------------------------------------- */
@media (max-width: 1024px) {
  /* ヘッダー */
  header {
    max-width: 300px;
    margin: 0 auto;
  }

  .head-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 10px;
  }

  /* top */
  .top {
    max-width: 100px;
    display: inline;
    text-align: center;
      }

  .logo {
    text-decoration: none;
    font-family: Esteban;
    font-weight: 500;
    color: black;
    font-size: 1.2rem;
  }

  /* nav */
  .main-nav {
    font-size: 0.8rem;
    text-align: center;
    list-style: none;
    justify-content: center;
    margin: 20px;
    margin-right: 50px;
  }
  
  .main-nav li {
    margin: 0 12px;

      }

  .main-nav a {
    text-decoration: none;
    color: #333333;
  }

  .main-nav a:hover {
    color: #2dae00;
  }
  
  .text {
    max-width: 667px;
    margin: 0 10px;
    font-family: Esteban;
    color: #545d63;
    font-size: 0.9rem;
    line-height: 20px;
  }

  hr {
    border-top: 1px solid #b6b6b6;
    max-width: 769px;
    margin-bottom: 15px;
    margin: 0 10px;
  }

  .adjust-spaceA {
  height: 20px;
}
  
  .adjust-spaceB {
  height: 30px;
}

}



/* for PC mini----------------------------------------------------------- */
@media (max-width: 1300px) {
  /* ヘッダー */
  header {
    max-width: 1024px;
    margin: 0 auto;
  }

  .head-top {
    display: flex;
    justify-content: space-between;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 10px;
  }

  /* top */
  .top {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
  }

hr{
  border-top: 1px solid #b6b6b6;
  max-width: 1024px;
  margin-bottom: 15px;
  margin: 0 auto;
}

    .text {
    max-width: 750px;
    margin: 0 auto;
    font-family: Esteban;
    color: #545d63;
    font-size: 0.9rem;
    line-height: 20px;
  }



}












