main {
  position: relative;
  overflow: hidden;
}

main > img {
  width: 1047px;
  position: absolute;
  top: 0;
  left: -150px;
  z-index: -1;
}

#fvContainer {
  margin-top: 250px;
}

.fvContents {
  width: calc(50% + 480px);
  max-width: 95%;
  margin: 0 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0 60px;
  position: relative;
}

.fvText {
  flex: 0 1 400px;
  position: relative;
}

h1 {
  font-size: 36px;
  line-height: 1.8;
}

h1 span {
  font-size: 18px;
  display: block;
  line-height: 1;
}

h1::after {
  content: "";
  display: block;
  width: 94.66px;
  height: 7.4px;
  margin-top: 6px;
  background: var(--gradient1);
}

.fvText p {
  margin-top: 50px;
}

.fvText > img {
  width: 256px;
  position: absolute;
  bottom: -200px;
  right: -160px;
  z-index: -1;
}

.fvImg {
  flex: 1 1 700px;
}

.fvImg img {
  width: 100%;
  vertical-align: bottom;
}







#work1Container {
  width: 100%;
  margin-top: 100px;
  position: relative;
}

#work1Container > img:nth-of-type(1) {
  width: 709px;
  position: absolute;
  top: -270px;
  left: -250px;
  z-index: -1;
}

#work1Container > img:nth-of-type(2) {
  width: 322px;
  position: absolute;
  bottom: -120px;
  left: -170px;
  z-index: -1;
}

#work1Container > img:nth-of-type(3) {
  width: 191px;
  position: absolute;
  bottom: -120px;
  right: 50px;
  z-index: -1;
}

.work1Contents {
  width: 100%;
  height: 100%;
  padding: 90px 0 90px;
  position: relative;
  overflow: hidden;
}

.work1Contents > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.work1 {
  width: 90%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
}

.work1Img {
  flex: 0 1 400px;
}

.work1Text {
  flex: 0 1 460px;
}

.work1Text span {
  font-size: 18px;
  display: block;
  line-height: 1;
}

h2 {
  display: inline-block;
  padding: 0 10px 2px;
  font-size: 24px;
  color: #fff;
  line-height: 1.8;
  background: var(--gradient2);
}
.work1Text h2 {
  margin-top: 15px;
}

.work1Text p {
  margin-top: 30px;
}







#work2Container {
  padding-top: 150px;
  overflow: hidden;
}

.work2 {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 60px;
  position: relative;
  display: flex;
  gap: 0 50px;
}
.work2::before {
  content: "";
  width: 87%;
  height: 100%;
  background: #F1F1F0;
  position: absolute;
  top: 0;
  left: 13%;
  z-index: -1;
}

.work2:first-of-type > img {
  width: 1396px;
  position: absolute;
  top: -350px;
  left: 270px;
  z-index: -2;
}

.work2Img {
  flex: 0 1 340px;
}

.work2Img img {
  width: 100%;
  vertical-align: bottom;
}

.work2Text {
  flex: 0 1 506px;
}

.work2Text > p {
  margin-top: 20px;
}

.course {
  margin-top: 20px;
  padding: 8px;
  border-radius: 10px;
  background: var(--gradient2);
  display: flex;
  align-items: center;
}

.course p:first-of-type {
  width: 154px;
  height: 100%;
  padding: 10px 10px;
  font-size: 18px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAB2AA;
}

.course p:last-of-type {
  flex: 1 1 auto;
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course p:last-of-type span {
  font-size: 32px;
  margin: 0 6px 0 20px;
}

.work2:nth-of-type(2) {
  margin-top: 80px;
}

.work2:nth-of-type(2) > img {
  width: 191px;
  position: absolute;
  top: -30px;
  left: -60px;
  z-index: -2;
}












@media (max-width: 1024px) {
/* main {
  position: relative;
  overflow: hidden;
} */

main > img {
  width: 700px;
  /* position: absolute;
  top: 0;
  left: -150px;
  z-index: -1; */
}

#fvContainer {
  margin-top: 100px;
}

.fvContents {
  width: 100%;
  min-width: auto;
  /* margin: 0 0 0 auto; */
  /* display: flex; */
  /* justify-content: space-between; */
  flex-direction: column-reverse;
  gap: 50px 0;
  /* position: relative; */
}

.fvText {
  width: 90vw;
  flex: 0 1 auto;
  margin: 0;
}

/* h1 {
  font-size: 36px;
  line-height: 1.8;
}

h1 span {
  font-size: 18px;
  display: block;
  line-height: 1;
}

h1::after {
  content: "";
  display: block;
  width: 94.66px;
  height: 7.4px;
  margin-top: 6px;
  background: var(--gradient1);
} */

.fvText p {
  margin-top: 40px;
}

.fvText > img {
  /* width: 256px;
  position: absolute; */
  bottom: -10px;
  left: -160px;
  /* z-index: -1; */
}

.fvImg {
  flex: 1 1 auto;
}

/* .fvImg img {
  width: 100%;
  vertical-align: bottom;
} */







#work1Container {
  /* width: 100%; */
  margin-top: 70px;
  /* position: relative; */
}

#work1Container > img:nth-of-type(1) {
  /* width: 709px;
  position: absolute;
  top: -270px;
  left: -250px;
  z-index: -1; */
  display: none;
}

/* #work1Container > img:nth-of-type(2) {
  width: 322px;
  position: absolute;
  bottom: -120px;
  left: -170px;
  z-index: -1;
} */

#work1Container > img:nth-of-type(3) {
  /* width: 191px;
  position: absolute;
  bottom: -120px;
  right: 50px;
  z-index: -1; */
  display: none;
}

.work1Contents {
  /* width: 100%;
  height: 100%; */
  padding: 76px 0 70px;
  /* position: relative;
  overflow: hidden; */
}

/* .work1Contents > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
} */

/* .work1 {
  width: 90%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
} */

/* .work1Img {
  flex: 0 1 400px;
} */

.work1Text {
  flex: 0 0 460px;
}

/* .work1Text span {
  font-size: 18px;
  display: block;
  line-height: 1;
}

h2 {
  display: inline-block;
  padding: 0 10px 2px;
  font-size: 24px;
  color: #fff;
  line-height: 1.8;
  background: var(--gradient2);
}
.work1Text h2 {
  margin-top: 15px;
}

.work1Text p {
  margin-top: 30px;
} */







#work2Container {
  margin-top: 100px;
  padding-top: 0;
  /* overflow: hidden; */
}

.work2 {
  /* width: 90%;
  max-width: 960px;
  margin: 0 auto; */
  padding: 0 0 90px;
  /* position: relative; */
  /* display: flex; */
  gap: 30px 0;
  flex-direction: column;
}
.work2::before {
  /* content: ""; */
  width: 100vw;
  height: calc(100% - 150px);
  /* background: #F1F1F0;
  position: absolute; */
  top: 150px;
  left: -5.56%;
  /* z-index: -1; */
}

.work2:first-of-type > img {
  /* width: 1396px;
  position: absolute;
  top: -350px;
  left: 270px;
  z-index: -2; */
  display: none;
}

.work2Img {
  flex: 0 1 auto;
}

/* .work2Img img {
  width: 100%;
  vertical-align: bottom;
} */

.work2Text {
  flex: 0 1 auto;
}

/* .work2Text > p {
  margin-top: 20px;
}

.course {
  margin-top: 20px;
  padding: 8px;
  border-radius: 10px;
  background: var(--gradient2);
  display: flex;
  align-items: center;
}

.course p:first-of-type {
  width: 154px;
  height: 100%;
  padding: 10px 10px;
  font-size: 18px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAB2AA;
}

.course p:last-of-type {
  flex: 1 1 auto;
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course p:last-of-type span {
  font-size: 32px;
  margin: 0 6px 0 20px;
}

.work2:nth-of-type(2) {
  margin-top: 80px;
} */

.work2:nth-of-type(2) > img {
  /* width: 191px;
  position: absolute;
  top: -30px;
  left: -60px;
  z-index: -2; */
  display: none;
}
}











@media (max-width: 560px) {
/* main {
  position: relative;
  overflow: hidden;
} */

main > img {
  width: 400px;
  /* position: absolute;
  top: 0; */
  left: -100px;
  /* z-index: -1; */
}

#fvContainer {
  margin-top: 55px;
}

.fvContents {
  /* width: 100%;
  min-width: auto; */
  /* margin: 0 0 0 auto; */
  /* display: flex; */
  /* justify-content: space-between; */
  /* flex-direction: column-reverse; */
  gap: 40px 0;
  /* position: relative; */
}

/* .fvText {
  width: 90vw;
  flex: 0 1 auto;
  margin: 0;
} */

h1 {
  font-size: 30px;
  line-height: 1.3;
}

h1 span {
  /* font-size: 18px;
  display: block; */
  line-height: 1.5;
}

/* h1::after {
  content: "";
  display: block;
  width: 94.66px;
  height: 7.4px;
  margin-top: 6px;
  background: var(--gradient1);
} */

.fvText p {
  margin-top: 30px;
}

.fvText > img {
  /* width: 256px;
  position: absolute; */
  bottom: 10px;
  left: -200px;
  /* z-index: -1; */
}

/* .fvImg {
  flex: 1 1 auto;
} */

/* .fvImg img {
  width: 100%;
  vertical-align: bottom;
} */







#work1Container {
  /* width: 100%; */
  margin-top: 70px;
  /* position: relative; */
}

#work1Container > img:nth-of-type(1) {
  /* width: 709px;
  position: absolute;
  top: -270px;
  left: -250px;
  z-index: -1; */
  display: none;
}

#work1Container > img:nth-of-type(2) {
  width: 276px;
  position: absolute;
  bottom: 120px;
  left: -170px;
  z-index: -1;
}

#work1Container > img:nth-of-type(3) {
  /* width: 191px;
  position: absolute;
  bottom: -120px;
  right: 50px;
  z-index: -1; */
  display: none;
}

.work1Contents {
  /* width: 100%;
  height: 100%; */
  padding: 400px 0 0;
  /* position: relative;
  overflow: hidden; */
}

.work1Contents > img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: 0;
  /* left: 50%; */
  transform: translate(-50%, 0);
  z-index: -2;
}

.work1 {
  /* width: 90%;
  max-width: 880px;
  margin: 0 auto;
  display: flex; */
  flex-direction: column;
}

.work1Img {
  flex: 0 1 auto;
}

.work1Text {
  width: 100%;
  flex: 0 1 auto;
}

/* .work1Text span {
  font-size: 18px;
  display: block;
  line-height: 1;
}

h2 {
  display: inline-block;
  padding: 0 10px 2px;
  font-size: 24px;
  color: #fff;
  line-height: 1.8;
  background: var(--gradient2);
}
.work1Text h2 {
  margin-top: 15px;
}

.work1Text p {
  margin-top: 30px;
} */







#work2Container {
  margin-top: 60px;
  padding-top: 0;
  /* overflow: hidden; */
}

.work2 {
  /* width: 90%;
  max-width: 960px;
  margin: 0 auto; */
  padding: 0 0 60px;
  /* position: relative; */
  /* display: flex; */
  gap: 30px 0;
  flex-direction: column;
}
.work2::before {
  /* content: ""; */
  /* width: 100vw; */
  height: calc(100% - 100px);
  /* background: #F1F1F0;
  position: absolute; */
  top: 100px;
  left: -5.56%;
  /* z-index: -1; */
}

.work2:first-of-type > img {
  /* width: 1396px;
  position: absolute;
  top: -350px;
  left: 270px;
  z-index: -2; */
  display: none;
}

/* .work2Img {
  flex: 0 1 auto;
} */

/* .work2Img img {
  width: 100%;
  vertical-align: bottom;
} */

/* .work2Text {
  flex: 0 1 auto;
} */

/* .work2Text > p {
  margin-top: 20px;
} */

.course {
  margin-top: 20px;
  padding: 8px;
  border-radius: 10px;
  /* background: var(--gradient2);
  display: flex;
  align-items: center; */
  flex-direction: column;
}

.course p:first-of-type {
  width: 100%;
  /* height: 100%; */
  padding: 0px 10px;
  /* font-size: 18px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAB2AA; */
}

/* .course p:last-of-type {
  flex: 1 1 auto;
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
} */
.course p:last-of-type span {
  /* font-size: 32px;
  margin: 0 6px 0 20px; */
  line-height: 1.6;
}

.work2:nth-of-type(2) {
  margin-top: 80px;
}

.work2:nth-of-type(2) > img {
  /* width: 191px;
  position: absolute;
  top: -30px;
  left: -60px;
  z-index: -2; */
  display: none;
}
}