@media screen and (width > 768px) {
  .container {
    padding: 152px 0 70px;
  }
}
@media screen and (width <= 768px) {
  .container {
    padding: 141px 0 48px;
  }
}

.service-message {
  border-radius: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media screen and (width > 768px) {
  .service-message {
    background: url(/assets/img/service/mv-bg_pc.jpg) no-repeat center top /
      cover;
    gap: 56px;
    margin: 0 40px 104px;
    padding: 80px 40px;
    width: calc(100% - 80px);
  }
}
@media screen and (width > 1200px) {
  .service-message {
    margin: 0 auto 104px;
  }
}
@media screen and (width <= 768px) {
  .service-message {
    background: url(/assets/img/service/mv-bg_sp.jpg) no-repeat center center /
      cover;
    gap: 40px;
    margin: 0 12px 104px;
    padding: 56px 12px;
    width: calc(100% - 24px);
  }
}

.service-message h2 {
  font-family: var(--font-family-mincho);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}
@media screen and (width > 768px) {
  .service-message p {
    line-height: 40px;
  }
}
@media screen and (width <= 768px) {
  .service-message p {
    line-height: 36px;
  }
}

.sec {
  margin-bottom: 88px;
  padding: 0 12px;
  width: 100%;
}
@media screen and (width > 768px) {
  .sec {
    margin: 0 auto 88px;
    max-width: 904px;
  }
}

.sec img {
  border-radius: 140px;
  margin-bottom: 32px;
}

.sec-text {
  line-height: 2;
  text-align: justify;
}
@media screen and (width > 768px) {
  .sec-text {
    padding: 0 56px;
  }
}
@media screen and (width <= 768px) {
  .sec-text {
    padding: 0 24px;
  }
}

.flow {
  align-items: center;
  display: flex;
  justify-content: center;
}
.flow dt {
  text-align: center;
  width: 100%;
}
.flow-note li {
  font-size: 13px;
  line-height: 2;
  margin-left: 2em;
  text-indent: -1.8em;
}
@media screen and (width > 768px) {
  .flow {
    flex-wrap: wrap;
    gap: 40px 80px;
    margin: 0 auto 120px;
    max-width: 766px;
  }
  .flow-img {
    width: calc(50% - 40px);
  }
  .flow-note {
    margin: auto;
    width: fit-content;
  }
}
@media screen and (width <= 768px) {
  .flow {
    flex-direction: column;
    gap: 40px;
    margin: 0 32px 96px;
  }
  .flow-img:nth-of-type(1) {
    margin-bottom: 40px;
  }
}

.achievements {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 291px;
}
@media screen and (width > 768px) {
  .achievements {
    margin: 0 auto 120px;
  }
}
@media screen and (width <= 768px) {
  .achievements {
    margin: 0 auto 96px;
  }
}

.achievements-btn {
  align-items: center;
  background: #fff;
  border: solid 2px var(--color-primary);
  border-radius: 8px;
  color: var(--color-primary);
  display: flex;
  justify-content: center;
  height: 48px;
  overflow: hidden;
  position: relative;
  width: 160px;
}
.achievements-btn:hover {
  color: #fff;
}

.achievements-btn span {
  align-items: center;
  background: #fff;
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.achievements-btn span::after {
  background: var(--color-primary);
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: 0;
}
.achievements-btn:hover span {
  z-index: 2;
}
.achievements-btn:hover span::after {
  transform: scale(1, 1);
  z-index: -1;
}

.quotation {
  align-items: center;
  background: var(--color-primary05);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
  padding: 64px 32px;
  text-align: center;
}
@media screen and (width > 1200px) {
  .quotation {
    max-width: 1200px;
    width: 100%;
  }
}
@media screen and (width <= 1200px) {
  .quotation {
    width: calc(100% - 48px);
  }
}
.quotation h2 {
  color: var(--color-primary);
  font-size: 20px;
  line-height: 1.2;
}
.quotation .text {
  line-height: 1.5;
}
.quotation .link-btn {
  width: 176px;
}
