.wrap__service-step {
  position: relative;
  padding-left: 24.3vw;
}

.wrap__service-step-image {
  position: relative;
  margin-bottom: 72px;
}

.wrap__service-step-image img {
  width: 100%;
  height: auto;
}

.wrap__service-step-content {
  position: relative;
  display: flex;

}

.wrap__service-step-left {
  position: relative;
  flex: 1;
}

.wrap__service-step-left p {
  display: block;
  font-size: 17px;
  line-height: 20px;
  font-weight: 400;
  margin-bottom: 21px;
}

.wrap__service-step-left h3 {
  display: block;
  font-size: 24px;
  line-height: 29px;
  font-weight: 400;
}

.wrap__service-step-right {
  position: relative;
  flex: 0 0 65.3465%;
  max-width: 65.3465%;
  width: 100%;
  margin-top: 44px;
}

.wrap__service-step-right .desc {
  margin-bottom: 120px;
}

.wrap__service-step-3 .wrap__service-step-right .desc {
  margin-bottom: 208px;
}

.wrap__service-step-4 .wrap__service-step-right .desc {
  margin-bottom: 141px;
}

.wrap__service-step-right .desc p {
  display: block;
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
}

.wrap__service-step-right .desc p:not(:last-child) {
  margin-bottom: 32px;
}

.wrap__service-step-right .item__service-list {
  position: relative;
}

.wrap__service-step-right .item__service-list+.item__service-list {
  margin-top: 180px;
}

.wrap__service-step-right .item__service-list h3 {
  display: flex;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  margin-bottom: 19px;
}

.wrap__service-step-right .item__service-list h3 span {
  flex: 0 0 auto;
  width: max-content;
  margin-right: 6px;
}

.wrap__service-step-right .item__service-list .sub-title {
  display: block;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  padding-left: 34px;
  margin-bottom: 50px;
}

.wrap__service-step-3 .wrap__service-step-right .item__service-list .sub-title {
  margin-bottom: 36px;
}

.wrap__service-step-right .item__service-list img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 52px;
}

.wrap__service-step-right .item__service-list h4 {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}

.wrap__service-step-right .item__service-list h4+p {
  display: block;
  font-size: 16px;
  line-height: 29px;
  font-weight: 400;
  margin-top: 14px;
  margin-bottom: 46px;
}

.wrap__service-step-right .item__service-list h4+p span {
  display: block;
}

.wrap__service-step-1 .wrap__service-step-right .item__service-list table {
  margin-top: 53px;
}

.wrap__service-step-right .item__service-list .content {
  font-size: 18px;
  font-weight: 700;
  line-height: 45px;
  margin-bottom: 54px;
  letter-spacing: 0;
}

.wrap__service-step-right .item__service-list .content+ul {
  margin-top: 0;
}

.wrap__service-step-right .item__service-list .content .sp-special {
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
}

.wrap__service-step-right .item__service-list>ul {
  position: relative;
  margin-top: 63px;
}

.wrap__service-step-right .item__service-list>ul>li {
  position: relative;
  display: flex;
  border-top: 1px solid #B3B3B3;
  padding-block: 20px;
}

.wrap__service-step-right .item__service-list>ul>li li {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.wrap__service-step-right .item__service-list>ul>li:last-child {
  border-bottom: 1px solid #B3B3B3;
}

.wrap__service-step-right .item__service-list>ul>li p:first-child {
  flex: 0 0 20.6061%;
  max-width: 20.6061%;
  line-height: 23px;
  font-weight: 700;
  margin-top: 0;
}

.wrap__service-step-right .item__service-list>ul>li p {
  flex: 1;
  display: block;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  margin-top: -3px;
}

.wrap__service-step-right .item__service-list table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #b3b3b3;
}

.wrap__service-step-right .item__service-list table tr>* {
  border-bottom: 1px solid #b3b3b3;
  padding-block: 20px;
  text-align: left;
}

.wrap__service-step-right .item__service-list table th {
  width: 20.7151%;
  font-size: 16px;
  line-height: 23px;
  font-weight: 700;
  vertical-align: top;
}

.wrap__service-step-right .item__service-list table td {
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
}

@media screen and (min-width: 769px) {
  .main-service-hagukumu-page .wrap__service-step-right .item__service-list table td {
    padding-top: 18px;
  }

  .wrap__service-step-right .item__service-list#service_A table tr:has(ul)>th {
    padding-top: 23px;
  }
}

.wrap__service-step-right .item__service-list table tr:has(ul)>* {
  padding-bottom: 17px;
}

.wrap__service-step-right .item__service-list table li {
  display: flex;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.wrap__service-step-right .item__service-list#service_B table tr:has(ul) td {
  padding-top: 16px;
  padding-bottom: 10px;
}

.wrap__service-step-right .item__service-list#service_B table li {
  line-height: 29px;
}

.wrap__service-step-right .item__service-list table li:before {
  content: "・";
}

.wrap__service-case-study {
  position: relative;
  margin-top: 94px;
}

.wrap__service-case-study h3 {
  display: block;
  font-size: 24px;
  line-height: 29px;
  font-weight: 400;
  margin-bottom: 40px;
}

.wrap__service-case-study-content {
  display: flex;
  gap: 34px;
}

.wrap__service-case-study-content .icon-case-study {
  flex: 0 0 80px;
  max-width: 80px;
  width: 100%;
}

.wrap__service-case-study-content .icon-case-study span {
  position: relative;
  display: block;
  width: 100%;
  height: 80px;
  border: 1px solid #B3B3B3;
  border-radius: 50%;
}

.wrap__service-case-study-content .icon-case-study span:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 31px;
  height: 29px;
  background-image: url('data:image/svg+xml,<svg width="32" height="29" viewBox="0 0 32 29" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 28.99V0H14.97V6.98999H31.42V28.99H0ZM0.950012 28.03H14.01V21.95H0.950012V28.03ZM0.950012 21H14.01V14.97H0.950012V21ZM0.950012 14.01H14.01V7.92993H0.950012V14.01ZM0.950012 6.97998H14.01V0.949951H0.950012V6.97998ZM14.97 28.03H30.46V7.93994H14.97V28.03ZM19.31 14.97V14.02H24.95V14.97H19.31ZM19.31 21.96V21.01H24.95V21.96H19.31Z" fill="black"/></svg>');
}

.wrap__service-case-study-content .icon-case-study p {
  text-align: center;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  margin-top: 10px;
}

.wrap__service-case-study-content .content {
  flex: 1;
  position: relative;
}

.wrap__service-case-study-content .content h6 {
  display: block;
  font-size: 16px;
  line-height: 23px;
  font-weight: 700;
  margin-top: 13px;
  margin-bottom: 16px;
}

.wrap__service-case-study-content .content p {
  display: block;
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
}

.wrap__service-step.wrap__service-step-1 {
  margin-bottom: 136px;
}

.wrap__service-step.wrap__service-step-2 {
  margin-top: 206px;
  margin-bottom: 181px;
}

.wrap__service-step.wrap__service-step-3 {
  margin-bottom: 136px;
}

.wrap__service-step.wrap__service-step-4 {
  margin-top: 206px;
  margin-bottom: 36px;
}

.wrap__service-step.wrap__service-step-4-1 {
  margin-top: 148px;
  margin-bottom: 161px;
}
@media (min-width: 767.98px) and (max-width: 1099px) {
  .wrap__service-step-content {
    gap: 1rem;
  }
}
@media screen and (max-width: 768px) {
  .wrap__service-step {
    padding-left: 0;
  }

  .wrap__service-step-image {
    margin-bottom: 44px;
  }

  .wrap__service-step-content {
    flex-direction: column;
  }

  .wrap__service-step-left p {
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 16px;
  }

  .wrap__service-step-left h3 {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
  }

  .wrap__service-step-right {
    max-width: 100%;
    margin-top: 20px;
  }

  .wrap__service-step-right .desc {
    margin-bottom: 140px;
  }

  .wrap__service-step-3 .wrap__service-step-right .desc {
    margin-bottom: 118px;
  }

  .wrap__service-step-4 .wrap__service-step-right .desc {
    margin-bottom: 87px;
  }

  .wrap__service-step-right .desc p {
    font-size: 14px;
    line-height: 30px;
  }

  .wrap__service-step-right .desc p:not(:last-child) {
    margin-bottom: 30px;
  }

  .wrap__service-step-right .item__service-list h3 {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    margin-bottom: 12px;
  }

  .wrap__service-step-right .item__service-list h3 span {
    margin-right: 4px;
  }

  .wrap__service-step-right .item__service-list .sub-title {
    font-size: 14px;
    line-height: 24px;
    padding-left: 21px;
    margin-bottom: 31px;
  }

  .wrap__service-step-right .item__service-list img {
    margin-bottom: 29px;
  }

  .wrap__service-step-right .item__service-list h4 {
    font-size: 16px;
    line-height: 24px;
  }

  .wrap__service-step-right .item__service-list#service_B h4 {
    width: calc(100% + 1px);
  }

  .wrap__service-step-right .item__service-list h4+p {
    font-size: 15px;
    line-height: 26px;
    margin-top: 8px;
    margin-bottom: 25px;
  }

  .wrap__service-step-right .item__service-list h4+p span {
    display: inline-block;
    margin-bottom: 8px;
  }

  .wrap__service-step-right .item__service-list>ul {
    margin-top: 34px;
  }

  .wrap__service-step-right .item__service-list>ul>li {
    padding: 21px 0 18px 2px;
  }

  .wrap__service-step-right .item__service-list>ul>li:has(ul) {
    padding: 17px 0 16px;
  }

  .wrap__service-step-right .item__service-list>ul>li p {
    font-size: 14px;
    line-height: 17px;
    margin-top: 0;
  }

  .wrap__service-step-right .item__service-list>ul>li p:first-child {
    flex: 0 0 24.7%;
    max-width: 24.7%;
  }

  .wrap__service-step-right .item__service-list>ul>li li {
    font-size: 14px;
    line-height: 26px;
  }

  .wrap__service-step-right .item__service-list .content {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .wrap__service-step-right .item__service-list .content p+p {
    margin-top: 17px;
  }

  .wrap__service-step-right .item__service-list .content .sp-special {
    font-size: 15px;
    line-height: 26px;
    margin-top: 6px;
  }

  .wrap__service-step-right .item__service-list table th {
    width: 24.5522%;
    font-size: 14px;
    line-height: 20px;
    padding-block: 21px;
  }

  .wrap__service-step-right .item__service-list table li {
    font-size: 14px;
    line-height: 22px;
  }

  .wrap__service-step-right .item__service-list table li+li {
    margin-top: 4px;
  }

  .wrap__service-step-right .item__service-list#service_B table li {
    line-height: 22px;
  }

  .wrap__service-step-right .item__service-list table td {
    font-size: 14px;
    line-height: 1.5;
  }

  .wrap__service-step-right .item__service-list table tr:has(ul)>* {
    padding-bottom: 18px;
    padding-top: 23px;
  }

  .wrap__service-step-right .item__service-list table tr:has(ul) td {
    padding-top: 20px;
  }

  .wrap__service-step-right .item__service-list#service_B table tr:has(ul) td {
    padding-top: 19px;
    padding-bottom: 25px;
  }

  .wrap__service-step-right .item__service-list#service_B table li {
    line-height: 22px;
  }

  .wrap__service-step-right .item__service-list#service_B table li+li {
    margin-top: 15px;
  }

  .wrap__service-step-right .item__service-list+.item__service-list {
    margin-top: 102px;
  }

  .wrap__service-step.wrap__service-step-1 {
    margin-bottom: 100px;
  }

  .wrap__service-step.wrap__service-step-2 {
    margin-top: 100px;
    margin-bottom: 91px;
  }

  .wrap__service-step.wrap__service-step-3 {
    margin-bottom: 72px;
  }

  .wrap__service-step.wrap__service-step-3 .desc br {
    height: 30px;
  }

  .wrap__service-step.wrap__service-step-4 {
    margin-top: 100px;
    margin-bottom: 23px;
  }

  .wrap__service-step.wrap__service-step-4-1 {
    margin-top: 85px;
    margin-bottom: 58px;
  }

  .wrap__service-case-study {
    margin-top: 52px;
  }

  .wrap__service-case-study h3 {
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 22px;
  }

  .wrap__service-case-study-content {
    gap: 23px;
  }

  .wrap__service-case-study-content .icon-case-study {
    flex: 0 0 60px;
    max-width: 60px;
  }

  .wrap__service-case-study-content .icon-case-study span {
    height: 60px;
  }

  .wrap__service-case-study-content .icon-case-study p {
    margin-top: 7px;
  }

  .wrap__service-case-study-content .content h6 {
    font-size: 14px;
    line-height: 20px;
    margin-top: 3px;
    margin-bottom: 8px;
  }

  .wrap__service-case-study-content .content p {
    font-size: 14px;
    line-height: 26px;
  }
}