@charset "utf-8";

.stores {
  color: #ece7dc;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.stores .left {
  width: 40%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.stores .right {
  width: 60%;
}

.stores .left .head {
  padding: 0 120px;
}

.stores .left .head .title {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 10px;
  text-align: center;
  line-height: 2.2;
}

.stores .left .head .txt {
  line-height: 1.6;
  font-size: 12px;
}

.store-list {
  width: 80%;
  padding: 40px 0;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

.store-item {
  background-color: #ece7dc;
  color: #053456;  border-radius: 5px;
  padding: 40px 0;
  width: 100%;
  display: flex;  
  align-items: center;
  justify-content: space-around;
  text-align: center;
  transition: .5s;
}

.online-store .store-item:hover {
  box-shadow: 5px 5px 8px #12161f;
  transform: translate(-4px, -4px);
}

.store-item .item-title {
  font-size: 16px;
}

.store-item .item-title span {
  display: block;
  line-height: 2;
  font-size: 12px;
}

.store-item .item-img {
  width: 60%;
}


.real-store .store-list {
  padding: 0;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 40px;
}

.real-store .store-item {
  width: 100%;
  display: flex;
  padding: 20px;
}

.real-store .store-item .img {
  width: 50%;
}

.real-store .store-item .img img {
  width: 100%;
  border-radius: 5px;
}


.real-store .store-item .txt {
  width: 50%;
  font-size: 14px;
  line-height: 1.5;
}

.real-store .store-item .txt .store-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 14px;
}

.store-map {
  display: inline-block;
  margin-top: 30px;
  border: 1px solid #053456;  border-radius: 5px;
  padding: 10px 30px;
  font-size: 12px;
  transition: .5s;
}

.store-map:hover {
  background-color: #053456;  color: #ece7dc;
}

/* メディアクエリ - 店舗ページ */
@media screen and (max-width: 768px) {
  .stores {
    display: block;
    height: auto;
  }
  
  .stores .left {
    width: 100%;
    height: auto;
  }
  
  .stores .left .head {
    padding: 0;
  }
  
  .stores .left .head .txt {
    font-size: 11px;
    line-height: 1.2;
  }
  
  .stores .left .head .title {
    font-size: 26px;
  }

  .store-item .item-title {
    font-size: clamp(12%, 2.5vw, 16px);
  }

  .store-item .item-title span {
    font-size: clamp(7%, 2.5vw, 12px);
  }

  .stores .right {
    width: 100%;
    height: auto;
  }
    
  .store-list {
    width: 100%;
    padding: 20px 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
  }
  
  .store-item {
    padding: 8px;
  }
  
  .real-store .store-item {
    padding: 10px;
    gap: 10px;
  }
    
  .store-item .item-img {
    width: 35%;
  }
  
  .real-store .store-list {
    padding: 20px 0;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  
  .real-store .store-item .txt {
    font-size: clamp(7%, 2.5vw, 12px);
  }
  
  .real-store .store-item .txt p:not(.store-name) {
    text-align: left;
  }
  
  .real-store .store-item .txt .store-name {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .store-map {
    margin-top: 10px;
  }
}