@charset "utf-8";
/* CSS Document */
#moflin .inner {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}
#about {
  margin: 100px auto;
  text-align: center;
}
#about .nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 100px;
}
#about h3 {
  font-size: min(4.5vw, 30px);
  margin: 60px 0 30px;
}
.review-image {
  max-width: 700px;
  margin: 0 auto;
}
/*online*/
#online {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
text-align: center;    
}
#online .online-header {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#online .label {
  position: absolute;
  left: 0;
  border: 2px solid var(--moflin-light-gray-color);
  padding: 2px 8px;
  font-weight: bold;
}
#online h3.title {
  font-size: min(4.3vw, 24px);
}
[id^="online-products"] > .aem-Grid {
  display: flex;
  margin-bottom: 100px;
}
[id^="online-products"] > .aem-Grid::before, [id^="online-products"] > .aem-Grid::after {
  content: none;
  display: none;
}
#moflin [id^="online-products"] > .aem-Grid > .single-product-panel {
  width: calc(100% / 3);
}


/*moflin-house*/
#moflin-house {
  width: 90%;
  margin: 100px auto 0;
  max-width: 1200px;
}
#online-products-house > .aem-Grid {
  display: flex;
  justify-content: center;
}
/*exh*/
#exh {
  margin: 100px 0;
}

#exh .lead {
  margin-bottom: 30px;
}
#exh .exh-contents-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.accordion-header::before, .accordion-header::after {
  background-color: var(--moflin-gray-color);
}
#exh .accordion-item:last-child {
  border-bottom: solid 2px #ddd;
}
#exh .accordion-header {
  text-align: left;
  color: var(--moflin-gray-color);
  font-size: min(4vw, 18px);
  font-weight: 500;
  border-top: 2px solid #ddd;
}
#exh .store-container {
  display: flex;
  justify-content: space-between;
  border-bottom: solid 1px var(--moflin-light-gray-color);
  padding: 20px;
}
#exh .store-container:last-child {
  border-bottom: 0;
}
#exh .available-tag {
  background: #eed3c8;
  font-size: min(3.5vw, 14px);
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
#exh .store-name {
  font-size: min(4.2vw, 20px);
  margin-bottom: 14px;
}
#exh .address p {
  font-size: 16px;
  line-height: 1.5;
}
#exh .address a{
  text-decoration: underline;
}
.cityname {
  padding: 10px 20px;
  border: solid 1px var(--moflin-light-gray-color);
  margin: 20px;
  display: inline-block;
}
#exh .accordion-content {
  border-bottom: 0;
}
#exh .btn-grp {
    margin-top: min(5vw,50px);
    text-align: center;
}
@media (max-width: 767px) {
  /*online*/
  #online .online-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: normal;
    gap: 10px;
  }
  [id^="online-products"] > .aem-Grid {
    display: flex;
    margin-bottom: min(10vw,100px);
    flex-wrap: wrap;
  }
 #moflin [id^="online-products"] > .aem-Grid > .single-product-panel {
    width: calc(100% / 2);
  } 
  #online .label {
    position: relative;
    width: 50%;
    margin-inline: auto;
  }
  /*about*/
  #about .nav {
    flex-direction: column;
  }
  /*exh*/    
  #exh .exh-contents-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  #exh .exh-contents:nth-child(1) .accordion-item:last-child {
    border-bottom: 0;
  }
}