/* --------------------------------------------------------------- */
/*  about */
/* --------------------------------------------------------------- */
#about {
  padding: 12.2rem 0 0;
  @media screen and (max-width: 767px) {
    padding-top: 5.2rem;
  }
}

#about .inner {
}

#about .contents {
  position: relative;
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 767px) {
    flex-direction: column-reverse;
    row-gap: 4rem;
  }
  &:before,
  &:after {
    content: "";
    position: absolute;
    display: block;
    z-index: -1;
  }
  &:before {
    top: -1.5rem;
    left: -6.7rem;
    width: 24.1rem;
    aspect-ratio: 1;
    background: url(../../img/museum/deco-img01.png) no-repeat center
      center/contain;
    @media screen and (max-width: 767px) {
      top: -5.9rem;
      left: -6.6rem;
      width: 15.8rem;
    }
  }
  &:after {
    top: 25.5rem;
    left: 45.1rem;
    width: 28.4rem;
    aspect-ratio: 284/244;
    background: url(../../img/museum/deco-img02.png) no-repeat center
      center/contain;
  }
}

#about .contents .text-area {
  margin-top: 9.3rem;
  width: 56.4rem;
  @media screen and (max-width: 767px) {
    width: 100%;
    @media screen and (max-width: 767px) {
      margin-top: 0;
    }
  }
}

#about .contents .text-area .title {
  font-size: 3.8rem;
  font-weight: 700;
  @media screen and (max-width: 767px) {
    font-size: 2rem;
  }
}

#about .contents .text-area .lead {
  margin-top: 1.7rem;
  margin-left: 0.5rem;
  line-height: 2.5;
  @media screen and (max-width: 767px) {
    margin-left: 0;
    margin-top: 1.2rem;
    line-height: 1.87;
  }
}

#about .contents .text-area .sub-title {
  margin-top: 5.2rem;
  font-size: 2.2rem;
  font-weight: 700;
  @media screen and (max-width: 767px) {
    margin-top: 3.2rem;
    font-size: 1.8rem;
    line-height: 1.7;
  }
}

#about .contents .text-area .list {
  margin-top: 3.7rem;
  margin-left: 0.3rem;
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
  @media screen and (max-width: 767px) {
    margin-top: 2.5rem;
    row-gap: 1.5rem;
  }
}
#about .contents .text-area .list .item {
  display: flex;
  column-gap: 2.3rem;
}
#about .contents .text-area .list .item .head {
  width: 4.2em;
}
#about .contents .text-area .list .item .text {
  line-height: 1.3;
  flex: 1;
  @media screen and (max-width: 767px) {
    line-height: 1.5;
  }
}

#about .contents .img-area {
  width: 76.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 3.2rem 3.5rem;
  @media screen and (max-width: 767px) {
    width: 100%;
    gap: 1.2rem 1.5rem;
  }
}

#about .contents .img-area img {
  width: 100%;
  &:nth-child(2),
  &:nth-child(3) {
    width: 36.5rem;
    @media screen and (max-width: 767px) {
      width: 15.3rem;
    }
  }
}

/* --------------------------------------------------------------- */
/*  history */
/* --------------------------------------------------------------- */
#history {
  margin-top: 12.7rem;
  padding-bottom: 12.8rem;
  background: var(--color-museum-bg);
  @media screen and (max-width: 767px) {
    margin-top: 6.5rem;
    padding-bottom: 4.3rem;
  }
}

#history .inner {
}

#history .list {
  display: flex;
  flex-direction: column;
}
#history .list .item {
  padding-top: 4rem;
  padding-bottom: 4.3rem;
  border-bottom: 0.1rem solid var(--color-line);
  @media screen and (max-width: 767px) {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  &:first-child {
    border-top: 0.1rem solid var(--color-line);
  }
}

#history .list .item .wrapper {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  column-gap: 11.2rem;
  max-width: 128rem;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    row-gap: 1rem;
  }
}

#history .list .item .img-area {
  flex: 1;
}

#history .list .item .head {
  flex: 1;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-main);
  @media screen and (max-width: 767px) {
    font-size: 1.6rem;
  }
}

#history .text {
  width: 87.6rem;
  line-height: 1.9;
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

/* --------------------------------------------------------------- */
/*  greeting */
/* --------------------------------------------------------------- */
#greeting {
}

#greeting .contents {
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    row-gap: 4rem;
  }
}

#greeting .contents .img-area {
  width: 38rem;
  aspect-ratio: 380/412;
  @media screen and (max-width: 767px) {
    margin: 0 auto;
    width: 60%;
  }
}

#greeting .contents .text-area {
  width: 83.8rem;
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

#greeting .contents .text {
  line-height: 1.9;
}

#greeting .contents .name {
  margin-top: 5.3rem;
  text-align: right;
  @media screen and (max-width: 767px) {
    margin-top: 2rem;
  }
}

/* --------------------------------------------------------------- */
/*  goods */
/* --------------------------------------------------------------- */
#goods {
  margin-top: 9rem;
  padding-bottom: 12rem;
  background-color: var(--color-museum-bg);
  @media screen and (max-width: 767px) {
    margin-top: 6.5rem;
    padding-bottom: 4.3rem;
  }
}

#goods .inner {
}

#goods .list {
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
  }
}

#goods .list .item {
  width: 23.2rem;
  @media screen and (max-width: 767px) {
    width: calc((100% - 1.6rem) / 2);
  }
}

#goods .list .item .name {
  margin-top: 4rem;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  @media screen and (max-width: 767px) {
    font-size: 1.4rem;
    margin-top: 1.4rem;
  }
}

#goods .sub-title {
  margin-top: 9.7rem;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  @media screen and (max-width: 767px) {
    margin-top: 5rem;
    font-size: 1.7rem;
    line-height: 1.7;
  }
}

#goods .text {
  margin-top: 3.1rem;
  line-height: 1.9;
  @media screen and (max-width: 767px) {
    margin-top: 1rem;
  }
}

#goods .img-group {
  display: flex;
  justify-content: space-between;
  margin: 5.9rem auto 0;
  width: 96rem;
  @media screen and (max-width: 767px) {
    margin: 3rem auto 0;
    width: 100%;
  }
}

#goods .img-group img {
  width: 30rem;
  @media screen and (max-width: 767px) {
    width: calc(100% / 3);
  }
}

/* --------------------------------------------------------------- */
/*  shop */
/* --------------------------------------------------------------- */
#shop {
  @media screen and (max-width: 767px) {
    padding-bottom: 3.5rem;
  }
}

#shop .inner {
}

#shop .contents {
  display: flex;
  column-gap: 6.9rem;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    row-gap: 3rem;
  }
}

#shop .contents .img-area {
  width: 54rem;
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

#shop .contents .text-area {
}

#shop .contents .text {
  line-height: 1.9;
  & a {
    color: var(--color-main02);
    text-decoration: underline;
  }
}

#shop .contents .btn-wrapper {
  margin-top: 3.7rem;
  width: 50rem;
  max-width: 100%;
}

#shop .contents .btn-wrapper .btn-main {
  width: 100%;
}
