.wrap {
  width: 1236px;
  max-width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .wrap {
    padding: 0 0.2rem;
  }
}

.row {
  display: flex;
  justify-content: space-between;
}

.ttl-page {
  font-size: 36px;
  font-weight: 700;
  width: 810px;
  margin: auto;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  letter-spacing: 0;
  margin-bottom: 170px;
  position: relative;
  text-align: center;
  border: 2px solid #000;
  text-align: center;
  padding-right: 118px;
  transform: translate(37px, 0);
  -webkit-transform: translate(37px, 0);
  -moz-transform: translate(37px, 0);
}
.ttl-page span {
  position: absolute;
  top: -73px;
  left: -147px;
  width: 314px;
}
@media (max-width: 992px) {
  .ttl-page {
    padding-right: 35px;
    font-size: 32px;
    transform: none;
    max-width: 80%;
  }
}
@media (max-width: 768px) {
  .ttl-page {
    font-size: 0.3rem;
    line-height: 0.48rem;
    height: auto;
    padding: 0.4rem 0 0.18rem;
    margin-bottom: 0.6rem;
    justify-content: center;
    margin-top: 0.6rem;
    margin: 0.6rem 0;
    width: 100%;
    max-width: 100%;
  }
  .ttl-page span {
    position: absolute;
    top: -1.25rem;
    left: 45%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    width: 1.78rem;
  }
}

.wow {
  visibility: hidden;
}

.sub-txt-page {
  text-align: center;
  margin-bottom: 95px;
  font-size: 18px;
  line-height: 2;
}
.sub-txt-page p + p {
  margin-top: 36px;
}
.sub-txt-page span {
  font-weight: 700;
}
@media (max-width: 768px) {
  .sub-txt-page {
    font-size: 0.18rem;
    text-align: left;
    margin-bottom: 0.6rem;
  }
  .sub-txt-page p + p {
    margin-top: 0.36rem;
  }
}

.main {
  overflow: hidden;
  padding-top: 113px;
}
@media (max-width: 768px) {
  .main {
    padding-top: 0.8rem;
  }
}

.ttl-section {
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-align: center;
  margin-bottom: 74px;
}
@media (max-width: 992px) {
  .ttl-section {
    font-size: 3.6vw;
    margin-bottom: 7.6vw;
  }
}
@media (max-width: 768px) {
  .ttl-section {
    font-size: 0.3rem;
    line-height: 1.6;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
    text-align: left;
  }
}

.txt {
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0;
}
.txt p + p {
  margin-top: 36px;
}
@media (max-width: 768px) {
  .txt p + p {
    margin-top: 0.36rem;
  }
}
@media (max-width: 992px) {
  .txt {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .txt {
    font-size: 0.18rem;
  }
}

#sec1 {
  padding: 100px 0;
  background: #F9F9F9;
}
#sec1 .txt {
  margin-bottom: 43px;
  text-align: center;
}
@media (max-width: 768px) {
  #sec1 {
    padding: 0.6rem 0 0.24rem;
  }
  #sec1 .txt {
    text-align: left;
    margin-bottom: 0.3rem;
    letter-spacing: 0.08em;
  }
  #sec1 .photo {
    padding: 0rem 0 0.36rem;
    overflow: auto;
  }
  #sec1 .photo p {
    width: 7.95rem;
  }
}

#sec2 {
  padding: 100px 0;
}
@media (max-width: 768px) {
  #sec2 {
    padding: 0.6rem 0 0.4rem;
  }
}
#sec2 .questmap {
  width: 1080px;
  margin: 0 auto;
  max-width: 100%;
}
#sec2 .questmap .quest + .quest {
  margin-top: 63px;
}
@media (max-width: 768px) {
  #sec2 .questmap .quest + .quest {
    margin-top: 0.3rem;
  }
}
#sec2 .questmap .quest + .quest.quest2 {
  margin-top: 20px;
}
@media (max-width: 768px) {
  #sec2 .questmap .quest + .quest.quest2 {
    margin-top: 0.3rem;
  }
}
#sec2 .questmap .quest + .quest.quest5 {
  margin-top: 51px;
}
@media (max-width: 768px) {
  #sec2 .questmap .quest + .quest.quest5 {
    margin-top: 0.3rem;
  }
}
#sec2 .quest {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 0 10px;
}
@media (max-width: 768px) {
  #sec2 .quest {
    flex-direction: column;
    padding: 0.12rem;
  }
}
#sec2 .quest .avt {
  width: 132px;
  margin-bottom: -14px;
}
@media (max-width: 768px) {
  #sec2 .quest .avt {
    width: 1.32rem;
    margin-bottom: 0.1rem;
    margin-left: -0.2rem;
  }
}
#sec2 .quest .row {
  justify-content: flex-end;
}
#sec2 .quest .row .text {
  position: relative;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.1em;
}
#sec2 .quest .row .text:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  height: 1px;
  width: 200px;
  background: #000000;
  z-index: -1;
}
@media (max-width: 768px) {
  #sec2 .quest .row .text {
    font-size: 0.14rem;
    line-height: 0.24rem;
  }
  #sec2 .quest .row .text:before {
    bottom: 100%;
    left: 50%;
    top: auto;
    right: auto;
    height: 1.1rem;
    width: 1px;
  }
}
@media (max-width: 768px) {
  #sec2 .quest .row {
    flex-direction: column;
    align-items: baseline;
    justify-content: flex-start;
  }
}
#sec2 .quest .content {
  width: calc(100% - 132px);
  padding-left: 23px;
}
@media (max-width: 768px) {
  #sec2 .quest .content {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
  }
}
#sec2 .quest .content .row + .row {
  margin-top: 14px;
}
@media (max-width: 768px) {
  #sec2 .quest .content .row + .row {
    margin-top: 0;
  }
}
#sec2 .quest .channel {
  width: 133px;
  max-width: 14.86%;
  background: #F3F4F5;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
@media (max-width: 768px) {
  #sec2 .quest .channel {
    width: 100%;
    max-width: 100%;
    height: 0.95rem;
    margin-bottom: 0.3rem;
    font-size: 0.16rem;
    letter-spacing: 0.1em;
  }
}
#sec2 .quest .text {
  width: 735px;
  background: #F3F4F5;
  padding: 12px 20px;
  letter-spacing: 0.05em;
  margin-left: 26px;
  max-width: 82.123%;
}
@media (max-width: 768px) {
  #sec2 .quest .text {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.12rem;
  }
}
#sec2 .quest1 .row {
  position: relative;
  margin: 0 0.1rem;
}
@media (max-width: 768px) {
  #sec2 .quest1 .row {
    width: 48%;
  }
}
#sec2 .quest1 .row .text:before {
  width: 90px;
}
@media (max-width: 768px) {
  #sec2 .quest1 .row .text:before {
    width: 1px;
  }
}
@media (max-width: 768px) {
  #sec2 .quest1 .row .text {
    height: calc(100% - 1.25rem);
  }
}
#sec2 .quest1 .row:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 99%;
  height: 1px;
  width: 110px;
  background: #000;
  transform-origin: 100% 100%;
  z-index: -1;
}
@media (max-width: 768px) {
  #sec2 .quest1 .row:before {
    bottom: 100%;
    left: 50%;
    top: auto;
    right: auto;
    height: 1.1rem;
    width: 1px;
  }
}
#sec2 .quest1 .row:nth-child(1):before {
  transform: rotate(-37deg);
}
@media (max-width: 768px) {
  #sec2 .quest1 .row:nth-child(1):before {
    transform: rotate(25deg);
  }
}
#sec2 .quest1 .row:nth-child(2):before {
  transform: rotate(37deg);
}
@media (max-width: 768px) {
  #sec2 .quest1 .row:nth-child(2):before {
    transform: rotate(-25deg);
  }
}
#sec2 .quest5 {
  padding-top: 16px;
  padding-bottom: 13px;
  border: 1px solid;
  -o-border-image: url("../img/box-bd.png") 1 round;
     border-image: url("../img/box-bd.png") 1 round;
}
@media (max-width: 768px) {
  #sec2 .quest5 {
    padding: 0.12rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: 0.8rem;
  }
  .goto-top {
    top: 0.3rem;
  }
}