@media screen and (min-width: 768px) {
  html {
    font-size: calc(16 / 1440 * 100vw);
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: calc(16 / 375 * 100vw);
  }
}

body {
  font-size: 16px;
  line-height: 1.7;
  color: #5D0A0A;
  background: #FFF5EE;
}

.work-1__contents {
  width: 100%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-top: 1px solid #5D0A0A;
  border-bottom: 1px solid #5D0A0A;
  margin-bottom: 6.25rem;
}
.work-1__Imgs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 4.375rem;
  padding-top: 3.125rem;
  padding-bottom: 3.125rem;
  border-bottom: 1px solid #5D0A0A;
  width: min(92.5rem, 100%);
  margin-right: auto;
  margin-left: auto;
}
@media not screen and (min-width: 768px) {
  .work-1__Imgs {
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.375rem;
    padding-left: 1.375rem;
    padding-bottom: 2.75rem;
    padding-top: 2.75rem;
    gap: 0.625rem;
  }
}
.work-1__Sp {
  width: 16.625rem;
}
.work-1__Pc {
  width: 48.125rem;
}
.work-1__description {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  padding: 3.125rem 0;
  border-bottom: 1px solid #5D0A0A;
  padding-left: 9rem;
  width: min(92.5rem, 100%);
  margin-right: auto;
  margin-left: auto;
}
@media not screen and (min-width: 768px) {
  .work-1__description {
    padding-left: 0;
    display: block;
  }
}
.work-1__description:last-of-type {
  border-bottom: none;
}
.work-1__description--index {
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  background: #F2E0C9;
  width: 9.75rem;
  padding-left: 1.25rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  margin-top: 0.3125rem;
}
.work-1__description--txt {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  margin-left: 4.375rem;
  line-height: 2.8125rem;
}
.work-1__scroll {
  font-family: "Quicksand", "Dancing Script";
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  padding-bottom: 2.1875rem;
}
.work-1__scroll::before {
  content: "";
  background-image: url(../img/allow.png);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 2.1875rem;
  margin-top: 0.25rem;
}
.work-1__scroll::after {
  content: "";
  background-image: url(../img/allow.png);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 2.1875rem;
  margin-top: 0.25rem;
}

.work-2__contents {
  width: 83.125rem;
  height: 45rem;
  background: #F2E0C9;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #5D0A0A;
  text-align: center;
  overflow-y: scroll;
  margin-bottom: 5rem;
}
.work-2__img {
  margin: 0 2.5rem;
  width: 78.125rem;
}
.work-2__img img {
  width: 78.125rem;
}
.work-2__allLink {
  text-align: center;
  margin-bottom: 5rem;
  padding-bottom: 0.1875rem;
  border-bottom: 1px dashed #5D0A0A;
  font-weight: 600;
  font-size: 1.5rem;
  font-family: "Quicksand", "Dancing Script";
}
.work-2__allLink a {
  font-weight: 600;
}
.work-2__allLinks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 3.4375rem;
}
.work-2__allLink-p::before {
  content: "";
  background-image: url(../img/allow.png);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 2.1875rem;
  rotate: 90deg;
}
.work-2__allLink-n::after {
  content: "";
  background-image: url(../img/allow.png);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 2.1875rem;
  rotate: -90deg;
}