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;
}


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

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

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 10px 10px;
  grid-template-areas:
    "img1 img2 img3"
    "img4 img5 img6"
    "img7 img8 img9"
    "img10 img11 img12";

  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.container div {
  aspect-ratio: 1 / 1;
}

.img1 { grid-area: img1; }
.img2 { grid-area: img2; }
.img3 { grid-area: img3; }
.img4 { grid-area: img4; }
.img5 { grid-area: img5; }
.img6 { grid-area: img6; }
.img7 { grid-area: img7; }
.img8 { grid-area: img8; }
.img9 { grid-area: img9; }
.img10 { grid-area: img10; }
.img11 { grid-area: img11; }
.img12 { grid-area: img12; }

.container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





/* 調整 */
.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;
  width: 100%;
  margin: 0 auto 15px; 
}




/* 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; 
  }
  
  .container {
      display: flex;
  flex-wrap: wrap;
  justify-content: center;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(12, auto);
          grid-auto-columns: 1fr;
    gap: 5px 5px;
    grid-template-areas: 
      "img1"
      "img2"
      "img3"
      "img4"
      "img5"
      "img6"
      "img7"
      "img8"
      "img9"
      "img10"
      "img11"
      "img12"; 
    max-width: 375px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

    .container div {
      aspect-ratio: 1 / 1;
      width: 100%;
    }

    .img1 { grid-area: img1; }
    .img2 { grid-area: img2; }
    .img3 { grid-area: img3; }
    .img4 { grid-area: img4; }
    .img5 { grid-area: img5; }
    .img6 { grid-area: img6; }
    .img7 { grid-area: img7; }
    .img8 { grid-area: img8; }
    .img9 { grid-area: img9; }
    .img10 { grid-area: img10; }
    .img11 { grid-area: img11; }
    .img12 { grid-area: img12; }

    .container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  
  }



/* for iphone----------------------------------------------------------- */
@media (max-width: 441px) {
 
  .container {
     display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, auto);
      grid-auto-columns: 1fr;
    gap: 5px 5px;
    grid-template-areas:
      "img1 img2"
      "img3 img4"
      "img5 img6"
      "img7 img8"
      "img9 img10"
      "img11 img12";

  max-width: 441px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  }

  .container div {
    aspect-ratio: 1 / 1;
  }

  .img1 { grid-area: img1; }
  .img2 { grid-area: img2; }
  .img3 { grid-area: img3; }
  .img4 { grid-area: img4; }
  .img5 { grid-area: img5; }
  .img6 { grid-area: img6; }
  .img7 { grid-area: img7; }
  .img8 { grid-area: img8; }
  .img9 { grid-area: img9; }
  .img10 { grid-area: img10; }
  .img11 { grid-area: img11; }
  .img12 { grid-area: img12; }

  .container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

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




/* 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: 769px;
    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;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    box-sizing: content-box;
    display: block;
  }

  .container {
  max-width: 1024px;
  }
}









