/* main */
body {
  font-weight: 400;
}
.container {
  background-color: black;
  width: 100%;
}
.main__wrapper {
  width: 1240px;
  margin: 0 auto;
}
#main {
  background-color: black;
  width: 100%;
  margin: 0 auto;
}
#main:nth-child(3) {
  background-color: white;
  width: 100vw;
  min-width: 100%;
  position: relative;
  left: min(0px, calc(50% - 50vw));
}
section {
  padding-top: 128px;
  margin: 0 auto;
}
.section__title {
  font-weight: bold;
  font-size: 40px;
  text-align: center;
  color: white;
}
.section__title::after {
  content: "";
  display: block;
  width: 123px;
  border-bottom: 2px solid white;
  margin: 10px auto 0;
}
.section__subtitle {
  font-weight: bold;
  font-size: 28px;
  text-align: left;
  color: white;
  margin-top: 64px;
}
.section__subtitle::after {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid white;
  margin: 10px auto 0;
}
.section__text {
  font-size: 20px;
  text-align: center;
  margin-top: 40px;
  line-height: 37px;
  color: white;
}
@media only screen and (max-width: 767px) {
  .main__wrapper {
    width: 100%;
  }
  section {
    padding-top: 96px;
  }
  .section__title {
    font-size: 32px;
  }
  .section__subtitle {
    font-size: 20px;
    margin-top: 64px;
  }
  .section__text {
    font-size: 18px;
    padding: 0 24px;
    margin-top: 32px;
  }
}
/* top */
.top__wrapper {
  color: white;
}
.scroll__btn__inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-direction: row;
}
.scroll__btn__inner a {
  color: inherit;
  text-decoration: none;
}
.scroll__btn__inner a:hover {
  opacity: 0.7;
}
.scroll__btn {
  width: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}
.scroll__btn__text {
  font-weight: bold;
  font-size: 24px;
}
.scroll__btn__icon {
  width: 16px;
}
.inquiry {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
@media only screen and (max-width: 767px) {
  .scroll__btn__inner {
    padding: 0 8px;
  }
  .scroll__btn {
    width: 96px;
  }
  .scroll__btn__text {
    font-size: 16px;
  }
}
/* case */
.case__wrapper {
  width: 936px;
}
.case__inner {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 40px;
  margin-top: 40px;
}
.case__item {
  width: 450px;
}
.case__img {
  width: 100%;
  height: 294px;
  object-fit: cover;
}
.case__img iframe {
  width: 100%;
  height: 100%;
}
.case__text__inner {
  height: 436px;
  background-color: white;
  padding: 32px 36px;
  position: relative;
}
.case__text__inner__riv {
  height: 436px;
  background-color: white;
  padding: 32px 36px;
  position: relative;
}
#company .case__text__inner {
  height: 432px;
}
.case__item__title {
  font-size: 18px;
  font-weight: bold;
}
.case__item__text {
  font-size: 14px;
  margin-top: 8px;
  line-height: 23px;
}
#link {
  color: inherit;
  text-decoration: underline;
}
#link img {
  margin-left: 4px;
  vertical-align: middle;
}
#link:hover {
  opacity: 0.6;
}
.link__pdf {
  text-decoration: none;
}
.link__pdf img {
  vertical-align: middle;
}
.case__item__description {
  font-size: 14px;
  text-align: justify;
  margin-top: 20px;
  line-height: 27px;
}
#detail {
  color: inherit;
  text-decoration: none;
}
#detail:hover {
  opacity: 0.5;
}
.case__item__btn {
  position: absolute;
  bottom: 32px;
  right: 38px;
}
.case__item__arrow {
  background-image: url(/products/textile/casestudy/images/case_item_arrow_2.svg);
  background-repeat: no-repeat;
  background-size: auto;
  display: block;
  margin-top: -5px;
  width: 160px;
  height: 11px;
}
#case .case__item__arrow {
  background-image: url(/products/textile/casestudy/images/case_item_arrow_1.svg);
  width: 240px;
  height: 12px;
  background-size: contain;
}
#case .rivnobuhiko .case__item__arrow {
  background-image: url(/products/textile/casestudy/images/case_item_arrow_1.svg);
  width: 220px;
  height: 12px;
  background-size: contain;
}
.movie__item__btn {
  position: absolute;
  bottom: 68px;
  right: 38px;
}
.movie__item__btn__1 {
  position: absolute;
  bottom: 104px;
  right: 38px;
}
.movie__item__btn__2 {
  position: absolute;
  bottom: 70px;
  right: 38px;
}
#case .movie__item__arrow {
  background-image: url(/products/textile/casestudy/images/case_item_arrow_1.svg);
  background-repeat: no-repeat;
  display: block;
  margin-top: -5px;
  width: 240px;
  height: 12px;
  background-size: contain;
}
#case .movie__item__arrow__1 {
  background-image: url(/products/textile/casestudy/images/case_item_arrow_1.svg);
  background-repeat: no-repeat;
  display: block;
  margin-top: -5px;
  width: 220px;
  height: 12px;
  background-size: contain;
}
#case .movie__item__arrow__2 {
  background-image: url(/products/textile/casestudy/images/case_item_arrow_1.svg);
  background-repeat: no-repeat;
  display: block;
  margin-top: -5px;
  width: 258px;
  height: 12px;
  background-size: contain;
}
@media only screen and (max-width: 767px) {
  .case__wrapper {
    width: 90%;
    margin: 0 auto;
  }
  .case__inner {
    flex-direction: column;
    align-items: center;
  }
  .case__item {
    width: 100%;
  }
  .case__img {
    height: 40%;
  }
  .case__img iframe {
    aspect-ratio: 16/9;
  }
  .case__text__inner {
    height: fit-content;
    padding: 28px 20px 88px 20px;
  }
  .case__text__inner__riv {
    height: fit-content;
    padding: 28px 20px 140px 20px;
  }
  #company .case__text__inner {
    height: fit-content;
    padding: 28px 20px 88px 20px;
  }
  .case__item__title {
    font-size: 16px;
  }
  .case__item__text a {
    color: inherit;
    text-decoration: underline;
  }
  .case__item__btn {
    bottom: 32px;
    right: 20px;
  }
  .movie__item__btn__1 {
    bottom: 82px;
    right: 20px;
  }
  .movie__item__btn__2 {
    bottom: 51px;
    right: 20px;
  }
  .rivnobuhiko .case__item__btn {
    bottom: 16px;
    right: 20px;
  }
  .movie__item__btn {
    bottom: 50px;
    right: 20px;
  }
  .nextone .case__item__btn {
    bottom: 16px;
  }
}
/* others */
#reservation {
  color: inherit;
  text-decoration: underline;
}
.others__wrapper {
  padding-bottom: 128px;
  width: 936px;
}
#reservation:hover {
  opacity: 0.7;
}
#others iframe {
  display: block;
  margin: 40px auto 0 auto;
  width: 672px;
  height: 450px;
}
.others__inner {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 40px;
    margin-top: 40px;
}
.others__item {
    width: 450px;
}
.others__img {
    width: 100%;
    height: 294px;
    object-fit: cover;
}
.others__text__inner {
    height: 440px;
    background-color: white;
    padding: 32px 36px;
    position: relative;
}
.others__item__title {
    font-size: 18px;
    font-weight: bold;
}
.others__item__text {
    font-size: 14px;
    margin-top: 8px;
    line-height: 23px;
}
.others__item__description {
    font-size: 14px;
    text-align: justify;
    margin-top: 20px;
    line-height: 27px;
}
.others__item__btn {
    position: absolute;
    bottom: 32px;
    right: 38px;
}
#others .others__item__arrow {
    background-image: url(/products/textile/casestudy/images/case_item_arrow_1.svg);
    width: 258px;
    height: 12px;
    background-size: contain;
}
@media only screen and (max-width: 767px) {
  .others__wrapper {
    padding-bottom: 96px;
    width: 90%;
  }
  .others__inner {
    flex-direction: column;
    align-items: center;
  }
  .others__item {
    width: 100%;
  }
  .others__text__inner {
    height: fit-content;
    padding: 28px 20px 88px 20px;
  }
  .others__item__title {
    font-size: 16px;
  }
  .others__item__btn {
    bottom: 32px;
    right: 20px;
  }
  .others__img {
    height: 40%;
  }
  #others iframe {
    width: 90%;
    height: auto;
    aspect-ratio: 16/9;
  }
}
/* banner */
.top__background:last-child {
  background-color: white;
}
.banner:first-child {
  margin-bottom: 32px;
}
#banner a:first-child {
  position: relative;
}
.banner__icon {
  position: absolute;
  right: 16px;
  bottom: 48px;
}
#banner {
  width: 1240px;
  text-align: center;
}
#banner a:hover {
  opacity: 0.7;
}
/* inquiry */
.inquiry__wrapper {
  padding-bottom: 128px;
}
#inquiry .section__title {
  color: black;
}
#inquiry .section__title::after {
  border-bottom: 2px solid black;
}
#inquiry .section__text {
  color: black;
}
.inquiry__btns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
@media only screen and (max-width: 767px) {
  .banner__wrapper {
    padding-top: 48px;
  }
  #banner {
    width: 100%;
  }
  .inquiry__wrapper {
    padding-bottom: 96px;
  }
  .inquiry__btns {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    align-items: center;
  }
  #inquiry .inquiry {
    margin-top: 0;
  }
}