/*--------------------------
    ai_index.html
--------------------------*/
.page-head.aisolution .bg-photo {
  width: 100%;
}

.p-service.p-ai .contents-intro .contents-intro__head {
  border: 2px solid #ECECEC;
  border-left: none;
  border-right: none;
  padding-block: 6.5em;
}

.p-service.p-ai .contents-intro .contents-intro__detail {
  background-image: url('../../service/img/aisolution/bg_ai.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding-bottom: 10em;
  padding-top: 7.5em;
}

.p-service.p-ai .contents-intro .contents-intro__detail .l-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4em 0;
}

.p-service.p-ai .contents-intro .contents-intro__detail .problem-box {
  display: block;
}

.p-service.p-ai .contents-intro .contents-intro__detail .problem-box .problem-box__title {
  align-items: center;
  background-color: #1A71BC;
  display: flex;
  justify-content: center;
  padding: 56px 10px;
  width: 100%;
}

.p-service.p-ai .contents-intro .contents-intro__detail .problem-box .problem-box__title .title {
  color: #fff;
  font-size: 2em;
  font-weight: 600;
  text-align: center;
}

.p-service.p-ai .contents-intro .contents-intro__detail .problem-list {
  display: flex;
  justify-content: center;
  gap: 2em;
}

.p-service.p-ai .contents-intro .contents-intro__detail .problem-list__item {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.p-service.p-ai .contents-intro .contents-intro__detail .problem-card {
  background: #f3f7fb;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 2em 0;
  height: 100%;
  padding: 3em 2em;
  text-align: center;
  width: 100%;
}

.p-service.p-ai .contents-intro .contents-intro__detail .problem-card__img {
  display: block;
  margin-inline: auto;
  width: 80%;
}

.p-service.p-ai .contents-intro .contents-intro__detail .problem-card__img img {
  width: 100%;
  height: auto;
}

.p-service.p-ai .contents-intro .contents-intro__detail .problem-card__text {
  color: #0060B4;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.p-service.p-ai .contents-intro .contents-intro__detail .triangle-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.p-service.p-ai .contents-intro .contents-intro__detail .triangle-box::before,
.p-service.p-ai .contents-intro .contents-intro__detail .triangle-box::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 30px solid #2f6fb3;
}

/* レスポンシブ対応 */

@media screen and (max-width:1239px) {
  .p-service.p-ai .contents-intro .contents-intro__head {
    padding-block: 3.5em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-card__text {
    font-size: 1.1em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-list {
    gap: 1.5em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-card {
    gap: 1em 0;
    padding: 2em 1.25em;
  }
}

@media screen and (max-width:767px) {
  .p-service.p-ai .contents-intro .contents-intro__head {
    padding-block: 3.5em;
  }

  .p-service.p-detail .contents-intro .contents-intro__head .title.en {
    font-size: 2.5em !important;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail {
    padding-bottom: 5em;
    padding-top: 5.5em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .l-wrapper {
    gap: 2em 0;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .b-title {
    font-size: 1.55em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-list {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-top: 3em;
    position: relative;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-list:before {
    background-color: #005bac;
    content: "";
    height: 99%;
    position: absolute;
    top: 0;
    width: 10px;
    z-index: 0;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-list__item {
    z-index: 1;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .arrow-box {
    display: none !important;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-card {
    align-items: center;
    gap: 1em;
    padding: 2em 1.75em 2em 1.5em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-card__img {
    display: block;
    margin-inline: 0;
    width: 45%;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-card__text {
    font-size: 1.25em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .triangle-box::before,
  .p-service.p-ai .contents-intro .contents-intro__detail .triangle-box::after {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 20px solid #2f6fb3;
  }
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box {
  display: flex;
  flex-direction: column;
  gap: 80px 0;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head {
  align-items: center;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6em 4em;
  position: relative;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .detail-box {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px 0;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .image-box {
  align-items: center;
  box-sizing: border-box;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 95%;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .l-title {
  color: #0060B4;
  font-size: 2.5em;
  font-weight: 700;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .text {
  font-size: 1.5em;
  line-height: 1.5;
  text-align: center;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .text .blue {
  color: #0060B4;
  font-weight: 600;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__copy {
  background-color: #EBF6FF;
  display: flex;
  flex-direction: column;
  padding-block: 20px;
  width: 100%;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__copy .text {
  font-size: 1.5em;
  font-weight: 600;
  text-align: center;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__flow {
  display: flex;
  flex-direction: column;
  gap: 2.5em 0;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__flow .title {
  border-bottom: 6px solid #EBF6FF;
  color: #0061B4;
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1;
  margin-inline: auto;
  padding-bottom: 8px;
  text-align: center;
  width: fit-content;
}

.p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__flow .workflow-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

@media screen and (max-width:1239px) {
  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box {
    gap: 3.5em 0;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head {
    padding: 5em 2em 8em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .l-title {
    font-size: 1.9em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .text {
    font-size: 1.25em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .image-box .image-box__item {
    width: 7em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__flow {
    gap: 1.8em 0;
  }
}

@media screen and (max-width:767px) {
  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__copy {
    padding: 1.5em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head {
    padding: 4em 1.5em 8em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .l-title {
    font-size: 1.65em;
    line-height: 1.5;
    text-align: center;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .image-box {
    width: 60%;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__head .image-box .image-box__item {
    width: 5em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .solution-box .solution-box__copy .text {
    font-size: 1.25em;
  }
}

/* ===== 上段 ===== */
.workflow-flow__top {
  display: flex;
  align-items: flex-start;
  flex: 1 1 auto;
  gap: 0 16px;
  position: relative;
}

.workflow-flow__top:before {
  background: #D9D9D9;
  height: 10px;
  position: absolute;
  content: "";
  top: calc(128px /2 - 5px);
  width: 99%;
}

/* ===== ステップ ===== */
.workflow-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

/* サイズ調整 */
.workflow-step--consultation,
.workflow-step--meeting {
  flex-basis: 190px;
}

.workflow-step--contract {
  flex-basis: 140px;
}

.workflow-step--construction,
.workflow-step--completion {
  flex-basis: 130px;
}

.workflow-step--reform {
  width: 190px;
}

/* ===== 上ボックス ===== */
.workflow-step__head {
  position: relative;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #e6eef6;
  color: #005bac;
  text-align: center;
  clip-path: polygon(0 0, 79% 0, 100% 50%, 79% 100%, 0 100%);
}

.workflow-step__head--reform {
  background: #d8ecfb;
}

.workflow-step__head .text {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5 !important;
  margin-right: 8px;
}

/* ===== 横棒（疑似要素） ===== */
.workflow-step:not(:last-child) .workflow-step__head::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  width: 18px;
  height: 8px;
  background: #d7d7d7;
}

/* ===== 中央矢印 ===== */
.workflow-flow__arrow {
  align-items: center;
  display: flex;
  width: 90px;
  justify-content: center;
  height: 128px;
  padding-inline: 10px;
}

.workflow-flow__arrow .arrow {
  display: block;
  width: 100%;
}

/* ===== 下リンク ===== */
.workflow-step__bottom {
  position: relative;
  /* top: 128px; */
  left: 0;
  /* transform: translateX(-50%); */
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  gap: 10px;
  width: calc(100% - 46px);
  z-index: 2;
}

.workflow-step__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
  background: #d7d7d7;
  z-index: -1;
}

.workflow-step__bottom .workflow-link {
  z-index: 5;
}

/* ===== ボタン ===== */
.workflow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #005bac;
  border: 2px solid #005bac;
  text-decoration: none;
  width: 100%;
}

.workflow-link .text {
  color: #fff;
  font-weight: 600;
  font-size: 1em;
  line-height: 1.2 !important;
  text-align: center;
}

.workflow-link:hover {
  background: #fff;
}

.workflow-link:hover .text {
  color: #005bac;
}

@media screen and (max-width: 1480px) {
  .workflow-step__bottom {
    width: 84%;
  }
}

/* ===== 1239以下 ===== */
@media screen and (max-width: 1239px) {
  .p-service.p-ai .contents-intro .contents-intro__detail .problem-box .problem-box__title {
    padding: 2em 1.5em;
  }

  .p-service.p-ai .contents-intro .contents-intro__detail .problem-box .problem-box__title .title {
    font-size: 1.4em;
  }

  .workflow-step--consultation,
  .workflow-step--meeting {
    flex-basis: 160px;
  }

  .workflow-step--reform {
    width: 150px;
  }

  .workflow-step--contract {
    flex-basis: 70px;
  }

  .workflow-step--construction,
  .workflow-step--completion {
    flex-basis: 70px;
  }

  .workflow-step__head {
    height: 116px;
  }

  .workflow-flow__top:before {
    top: calc(116px /2 - 5px);
    width: 99%;
  }

  .workflow-flow__arrow {
    width: 70px;
  }
}

@media screen and (max-width: 960px) {
  .workflow-step__head .text {
    font-size: 1em;
  }

  .workflow-link .text {
    font-size: .95em;
  }

  .workflow-flow__arrow {
    width: 12%;
  }
}

/* ===== SP ===== */
@media screen and (max-width: 767px) {
  .workflow-flow {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .workflow-flow__top {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    width: 100%;
  }

  .workflow-flow__top:before {
    height: 100%;
    top: 0;
    left: 20%;
    width: 6px;
  }

  .workflow-step {
    align-items: center;
    display: flex;
    flex-basis: unset;
    gap: 0;
    width: 100%;
  }

  .workflow-step__head {
    height: fit-content;
    padding: 1.75em 0;
    width: 50%;
    z-index: 10;
  }

  .workflow-step__head .text {
    margin-right: 2em;
  }

  .workflow-step__bottom {
    justify-content: center;
    padding-left: 1.5em;
    padding-top: 0;
    width: calc(50% - 1em);
  }

  .workflow-step__bottom::before {
    top: unset;
    left: 0;
    width: 100%;
    height: 4px;
    transform: unset;
  }

  .workflow-step__bottom.even {
    justify-content: center;
  }

  .workflow-step__bottom.even::before {
    top: 20%;
    left: -15%;
    z-index: -1;
  }

  .workflow-link {
    width: 100%;
  }

  .workflow-flow__arrow {
    align-items: center;
    display: flex;
    height: 2.5em;
    justify-content: center;
    padding-inline: 0;
    transform: rotate(90deg);
    width: 43%;
  }

  .workflow-flow__arrow .arrow {
    height: 100%;
    width: auto;
  }

  .workflow-flow__right {
    width: 100%;
  }
}

.p-service.p-ai .nav-box {
  border-top: 1px solid #EBF6FF;
  display: flex;
  flex-direction: column;
  gap: 48px 0;
  padding-top: 80px;
}

.p-service.p-ai .nav-box .text {
  color: #0060B4;
  font-size: 1.7em;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.p-service.p-ai .nav-box .nav-list {
  flex-wrap: wrap;
  gap: 1.7em;
  justify-content: center;
}

.p-service.p-ai .nav-box .nav-list .nav-list__item {
  width: calc(100% / 3.5) !important;
}

.p-service.p-ai .nav-box .nav-list .nav-list__item .button {
  height: 100%;
  padding: .8em .95em 2em;
}

.p-service.p-ai .nav-box .nav-list .nav-list__item .button .text {
  flex-direction: column;
  font-size: 1.35em;
}

.p-service.p-ai .nav-box .nav-list .nav-list__item .button .caption {
  font-size: 11.8px;
  opacity: .7;
}

@media screen and (max-width:1239px) {
  .p-service.p-ai .nav-box {
    gap: 2em 0;
    margin-top: 2em !important;
    padding-top: 3em;
  }

  .p-service.p-ai .nav-box .text {
    font-size: 1.35em;
  }

  .p-service.p-ai .nav-box .nav-list {
    justify-content: center;
    gap: 1em;
  }

  .p-service.p-ai .nav-box .nav-list .nav-list__item {
    width: calc(50% - .5em) !important;
  }

  .p-service.p-ai .nav-box .nav-list .nav-list__item .button .text {
    font-size: 1.2em;
  }
}

@media screen and (max-width:767px) {
  .p-service.p-ai .nav-box {
    gap: 2em 0;
    margin-top: 2em !important;
    padding-top: 3em;
  }

  .p-service.p-ai .nav-box .text {
    font-size: 1.55em;
  }

  .p-service.p-ai .nav-box .nav-list {
    justify-content: center;
    gap: 1em .8em;
  }
}

.p-ai__detail .contents-detail .contents-detail__item .button-box .cta-button {
  border-radius: 5em;
  min-width: unset;
  position: unset;
}

.p-ai__detail .contents-detail .contents-detail__item .button-box .cta-button {
  padding: 1em 2em;
  position: unset;
}

.p-service.p-ai .flex-item .flex-detail .title {
  font-size: 1.6em !important;
}

.p-service.p-ai .contents-detail {
  margin-top: 0;
}

.p-service.p-ai .contents-detail .contents-detail__item .flex-item {
  justify-content: unset;
  gap: 0 40px;
}

.p-service.p-ai .contents-detail .contents-detail__item .flex-item .flex-detail {
  width: 600px;
}

.p-service.p-ai .contents-detail .contents-detail__item .flex-item .flex-img {
  width: 560px;
}

.p-service.p-ai .contents-detail .contents-detail__item.blue .flex-item .flex-detail {
  order: 2;
}

.p-service.p-ai .contents-detail .contents-detail__item.blue .flex-item .flex-img {
  order: 1;
}

@media screen and (max-width:1239px) {
  .p-service.p-ai .flex-item .flex-detail .title {
    font-size: 1.5em !important;
  }

  .p-service.p-ai .contents-detail .contents-detail__item .flex-item {
    gap: unset;
    justify-content: space-between;
  }

  .p-service.p-ai .contents-detail .contents-detail__item .flex-item .flex-detail {
    width: 52%;
  }

  .p-service.p-ai .contents-detail .contents-detail__item .flex-item .flex-img {
    width: 45%;
  }
}

@media screen and (max-width:767px) {
  .p-service.p-ai .contents-detail .contents-detail__item .flex-item .flex-img,
  .p-service.p-ai .contents-detail .contents-detail__item .flex-item .flex-detail {
    width: 100%;
  }

  .p-service.p-ai .contents-detail .contents-detail__item .flex-item .flex-img img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
  }

  .p-service.p-ai .contents-detail .contents-detail__item.white .flex-item .flex-img {
    order: 1;
  }

  .p-service.p-ai .contents-detail .contents-detail__item.white .flex-item .flex-detail {
    order: 2;
  }

  .p-service.p-ai .contents-detail {
    margin-top: 0;
  }

  .p-service.p-ai .contents-detail .contents-detail__item .flex-item {
    gap: 1.2em;
  }
}

/*--------------------------
  サービスページ
--------------------------*/
.p-ai__detail .contents-detail .contents-detail__item .l-wrapper {}

@media screen and (max-width:767px) {
  .p-ai__detail .contents-detail .contents-detail__item .l-wrapper {
    gap: 2.75em 0 !important;
  }
}

.p-ai__detail .button-box {
    margin-top: 0 !important;
}

.p-ai__detail .contact-button {
  align-items: center;
  background-color: #0061B4;
  border: 2px solid #0061B4;
  border-radius: 70px;
  display: flex;
  justify-content: center;
  margin-inline: auto;
  padding: 1.1em 3em 1.2em;
  width: fit-content;
  text-align: center;
}

.p-ai__detail .contact-button .text {
  color: #fff;
  font-size: 1.25em;
  font-weight: 600;
  /* line-height: 1; */
  line-height: 1.5;
}

.p-ai__detail .contact-button:hover {
  background-color: #fff;
}

.p-ai__detail .contact-button:hover .text {
  color: #0061B4;
}

@media screen and (max-width:1239px) {
  .p-ai__detail .contact-button .text {
    font-size: 1.15em;
  }
}

@media screen and (max-width:767px) {
  .p-ai__detail .contact-button {
    padding: 1em 2em;
  }

  .p-ai__detail .contact-button .text {
    font-size: 1em;
  }
}

.p-ai__detail .contents-intro {
  margin-top: 0 !important;
  padding-block: 4.4em 7.75em;
}

.p-ai__detail .contents-intro .l-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6em 0;
}

.p-ai__detail .contents-intro .intro-head {
  display: flex;
  flex-direction: column;
}

.p-ai__detail .contents-intro .intro-head .text {
  font-weight: 600;
  font-size: 1.5em;
  margin-top: 0 !important;
}

.p-ai__detail .contents-intro .intro-head .title-box {
  align-items: baseline;
  display: flex;
  gap: 0 16px;
}

.p-ai__detail .contents-intro .intro-head .title-box {
  align-items: baseline;
  color: #0061B4;
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}

.p-ai__detail .contents-intro .intro-head .title-box .title {
  width: fit-content;
}

.p-ai__detail .contents-intro .intro-head .title-box .sub {
  font-size: 1.25em;
  font-weight: 600;
}

.p-ai__detail .contents-intro .intro-other {
  margin-top: 0 !important;
}

.p-ai__detail .contents-intro .intro-other .text-box .text {
  font-size: 1.15em;
}

.p-ai__detail .contents-intro .intro-other .image-box {
  width: 95%;
}

@media screen and (max-width:767px) {
  .p-ai__detail .contents-intro {
    padding-block: 3em 5em;
  }

  .p-ai__detail .contents-intro .l-wrapper {
    gap: 3em 0;
  }

  .p-ai__detail .contents-intro .intro-head .text {
    font-size: 1.2em;
  }

  .p-ai__detail .contents-intro .intro-head .title-box {
    flex-direction: column;
    gap: 0.5em 0;
  }

  .p-ai__detail .contents-intro .intro-head .text {
    font-size: 1em;
  }

  .p-ai__detail .contents-intro .intro-head .title-box .title {
    font-size: 2em;
  }

  .p-ai__detail .contents-intro .intro-head .title-box .sub {
    font-size: 1.1em;
  }

  .p-ai__detail .contents-intro .intro-other .text-box .text {
    font-size: 1em;
  }

  .p-ai__detail .contents-intro .intro-other .image-box {
    width: 100%;
  }
}

.p-service .contents-detail .contents-detail__item {
  position: relative;
}

.p-service .contents-detail .contents-detail__item .title-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px 0;
}

.p-service .contents-detail .contents-detail__item .title-flex .label {
  background-color: #EBF6FF;
  color: #222;
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  margin-inline: auto;
  padding: 8px 40px;
  text-align: center;
  width: fit-content;
}

.p-service .contents-detail .contents-detail__item .bottom-caption {
  position: absolute;
  bottom: 5em;
  font-size: 12px;
}

.p-service .contents-detail .contents-detail__item .l-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5em 0;
  /* gap: 6em 0; */
}

.p-service .contents-detail .contents-detail__item .other-box {
  margin-top: 0 !important;
}

.p-ai__detail .contents-detail .contents-detail__item.benefits {
  background-color: #E6F0F6;
}

.p-ai__detail .contents-detail .contents-detail__item.cases {
  background-color: #F5F8FA;
}

.p-ai__detail .contents-detail .contents-detail__item .title-box {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.8em 0;
  justify-content: center;
}

.p-ai__detail .contents-detail .contents-detail__item .title-box .en-title {
  font-size: 0.85em;
  font-weight: 600;
}

.p-ai__detail .contents-detail .contents-detail__item .title-box .jp-title {
  font-size: 2em;
  font-weight: 600;
  line-height: 1;
}

.p-ai__detail .contents-detail .contents-detail__item .title-box.catch {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4em 0;
}

.p-ai__detail .contents-detail .contents-detail__item .title-box.catch .catch-box .text {
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.5;
}

.p-ai__detail .contents-detail .contents-detail__item .title-box.catch .catch-box .text .link {
  color: #0061B4;
  text-decoration: underline;
}

.p-ai__detail .contents-detail .contents-detail__item .title-box.catch .catch-box .text .link:hover {
  text-decoration: none;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list {
  display: flex;
  flex-direction: column;
  gap: 2em 0;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list .feature-list__item {
  align-items: center;
  background-color: #fff;
  box-sizing: border-box;
  display: flex;
  gap: 2em 1em;
  padding: 1em;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list.flex {
  display: flex;
  flex-direction: unset;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em 2em;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list.flex .feature-list__item {
  width: calc(100% / 2 - 1em);
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list .feature-list__item .icon {
  align-items: center;
  aspect-ratio: 1 / 1;
  background-color: #DFF1FF;
  border-radius: 0.5em;
  display: flex;
  justify-content: center;
  width: 3em;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list .feature-list__item .icon.purple {
  background-color: #EEF2FF;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list .feature-list__item .icon.green {
  background-color: #EEFAF8;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list .feature-list__item .icon.mini {
  aspect-ratio: 1 / 1;
  background-color: unset;
  border-radius: unset;
  width: 2em;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list .feature-list__item .text {
  display: block;
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1.5;
  width: calc(100% - 2.5em);
}

@media screen and (max-width:1239px) {
  .p-service .contents-detail .contents-detail__item .title-flex .label {
    font-size: 1em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .feature-list .feature-list__item .text {
    font-size: 1.15em;
  }
}

@media screen and (max-width:767px) {
  .p-ai__detail .contents-detail .contents-detail__item .title-box .jp-title {
    font-size: 1.8em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .feature-list .feature-list__item {
    padding: 1em 1.5em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .feature-list .feature-list__item .text {
    font-size: 1em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .feature-list.flex {
    flex-direction: column;
    gap: 1.5em 0;
  }

  .p-ai__detail .contents-detail .contents-detail__item .feature-list.flex .feature-list__item {
    width: 100%;
  }
}

.p-ai__detail .contents-detail .contents-detail__item .benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3em 3em;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 72px;
}

.p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item {
  background-color: #fff;
  border-radius: 1.2em;
  display: flex;
  flex-direction: column;
  /* gap: 2em 0; */
  gap: 1em 0;
  /* padding: 3em 2.5em 3.5em; */
  padding: 2.5em 2.5em 2.5em;
  width: calc(100% / 2 - 1.85em);
}

.p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .title {
  color: #333;
  /* font-size: 1.5em; */
  font-size: 1.375em;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .flex-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5em;
}

.p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .image-box {
  /* background-color: #444; */
  display: block;
  height: 160px;
  width: 260px;
}

.p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .text {
  width: calc(100% - 260px - 1.5em);
}

@media screen and (max-width:1439px) {
  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item {
    /* gap: 1.5em 0; */
    gap: 1em 0;
    /* padding: 2em 1.5em; */
    padding: 2.5em 2em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .flex-box {
    justify-content: space-between;
    gap: unset;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .image-box {
    width: 50%;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .text {
    width: 46%;
  }
}

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list--coordinateai {
    margin-bottom: 16px;
  }

@media screen and (max-width:1239px) {
  .p-ai__detail .contents-detail .contents-detail__item .benefits-list {
    gap: 2em 2em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item {
    width: calc(50% - 1em);
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .flex-box {
    flex-direction: column;
    gap: 1.5em 0;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .image-box {
    margin-inline: auto;
    width: 70%;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .title {
    /* font-size: 1.2em; */
    font-size: 1.3125em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .text {
    width: 100%;
  }
}

@media screen and (max-width:767px) {
  .p-ai__detail .contents-detail .contents-detail__item .benefits-list {
    flex-direction: column;
    gap: 2em 0;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item {
    padding: 2.8em 2.2em;
     /* padding: 4em 3em; */
    width: 100%;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .flex-box {
    align-items: center;
    flex-direction: column;
    gap: 1.5em 0;
  }

  .p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .text {
    width: 100%;
  }
  .p-ai__detail .contents-detail .contents-detail__item .benefits-list--coordinateai {
    margin-bottom: 16px;
  }
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3em 3em;
  width: 100%;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list .text {
  line-height: 1.8;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list .cases-list__item {
  display: flex;
  flex-wrap: wrap;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item {
  display: block;
  height: fit-content;
  width: calc(100% / 2 - 1.85em);
  margin-bottom: 3em;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item .image-box {
  display: block;
  height: auto;
  width: 100%;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item .detail-box {
  display: flex;
  flex-direction: column;
  gap: 2.5em 0;
  margin-top: -1.85em;
  padding-left: 1.5em;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item .detail-box .title {
  background-color: #333;
  border-radius: 10px;
  color: #fff;
  display: block;
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.5em 0.8em;
  width: fit-content;
  /* margin-left:1.5em; */
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend {
  gap: 7.5em 0;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item .image-box {
  display: block;
  width: calc(100% / 2 - 1.2em);
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item .detail-box {
  display: flex;
  flex-direction: column;
  gap: 1.51em 0;
  width: calc(100% / 2 - 2.5em);
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item .detail-box .title {
  color: #333;
  font-size: 1.625em;
  font-weight: 600;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item:nth-child(odd) .image-box {
  order: 2;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item:nth-child(odd) .detail-box {
  order: 1;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.reform .cases-list__item {
  align-items: center;
  background-color: #fff;
  border-radius: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 2em 0;
  padding: 3em 2.5em 3.5em;
  width: calc(100% / 2 - 1.85em);
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.reform .cases-list__item .image-box {
  aspect-ratio: 2 / 1;
  background-color: #444;
  display: block;
  margin-inline: auto;
  width: 70%;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.reform .cases-list__item .detail-box {
  display: flex;
  flex-direction: column;
  gap: 1em 0;
  width: 100%;
}

.p-ai__detail .contents-detail .contents-detail__item .cases-list.reform .cases-list__item .detail-box .title {
  color: #333;
  font-size: 1.25em;
  font-weight: 600;
  text-align: center;
}

@media screen and (max-width:1439px) {
  .p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item .detail-box {
    padding-left: 0;
    /* align-items: center; */
    gap: 1em 0;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item .detail-box .title {
    max-width: 90%;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item .image-box {
    width: 47%;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item .detail-box {
    gap: 1em 0;
    width: 50%;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item .detail-box .title {
    font-size: 1.5em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.reform .cases-list__item {
    padding: 2em 1.5em;
  }
}

@media screen and (max-width:1239px) {
  .p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item .detail-box .title {
    font-size: 1.17em;
    max-width: unset;
    text-align: center;
    width: 90%;
  }
}

@media screen and (max-width:767px) {
  .p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item {
    margin-bottom: 0;
  }


  .p-ai__detail .contents-detail .contents-detail__item .cases-list__item {
    flex-direction: column;
    width: 100% !important;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list__item .image-box {
    width: 100% !important;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list__item .detail-box {
    width: 100% !important;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list {
    gap: 4em 0;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item .detail-box .title {
    padding: 0.45em 0.5em 0.5em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend {
    /* gap: 2.5em 0; */
    gap: 4em 0;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item {
    gap: .85em 0;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item .detail-box {
    gap: .5em 0 !important;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item:nth-child(odd) .image-box {
    order: 1;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item:nth-child(odd) .detail-box {
    order: 2;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item .detail-box {
    align-items: center;
    gap: 1em 0;
    padding-left: 0;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.recommend .cases-list__item .detail-box .title {
    font-size: 1.3em;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.purse .cases-list__item .image-box {
    height: auto;
  }

  .p-ai__detail .contents-detail .contents-detail__item .cases-list.reform .cases-list__item {
    gap: 1.5em 0;
    padding: 1.75em 1.75em 1.5em;
  }
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .other-box {
  display: flex;
  gap: 0 0.75em;
  justify-content: center;
  position: relative;
  width: 100%;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .other-box .arrow-box {
  display: block;
  height: 4.25em;
  position: absolute;
  top: 35%;
  width: 4.25em;
  z-index: 10;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction {
  flex-direction: column;
  gap: 1.5em 0;
  justify-content: unset;
  /* width: calc(50% - 0.75em); */
  width: 50%;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .logo-title {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-height: 91px;
  width: 100%;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .logo-title .logo {
  display: block;
  width: 40%;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .title .text {
  font-size: 0.45em;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .flex-img,
.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .flex-detail {
  width: 100%;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .flex-detail {
  gap: 2em 0;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .flex-detail .title-box {
  display: flex;
  justify-content: center;
  flex-direction: unset;
  gap: 0 .5em;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .flex-detail .title-box .icon {
  display: block;
  height: 1.7em;
  width: 1.7em;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .flex-detail .title-box .icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .flex-detail .title {
  color: #333;
  font-size: 1.5em !important;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .flex-detail .text-box {
  margin-inline: auto;
  width: 90%;
}

.p-ai__detail .contents-detail .contents-detail__item.plusUse .flex-item.direction .flex-detail .button-box {
  margin-top: 2em !important;
}

/*AIパースページ用*/

.nowrap {
  white-space: nowrap;
}

.logo-name {
    color: #333;
}

.ai-logo-title {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0 40px;
}

.aipers-logo {
  width: 100%;
  max-width: 386px;
  height: auto;
}

.ai-logo-title .line {
  background-color: #0061B4;
  display: block;
  flex-shrink: 0;
  height: 48px;
  width: 2px;
}

.ai-logo-title .logo-name {
  color: #333;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.title-box h1{
  text-align: center;
}

.p-ai__detail .contents-intro .intro-head .service-description {
    font-weight: 700;
    font-size: 1.5rem;
    /* margin-bottom: 0.8rem; */
    margin-top: 0 !important;
}

.p-ai__detail .contents-intro .intro-head .title-box .ai-logo-title {
  margin: 32px 0 18px;
}

.p-service .contents-intro .intro-other .image-box .img_aipers {
  display: block;
  width: 100%;
  max-width: 1030px;
  margin: 0 auto;
}
/* .p-ai__detail .contents-intro .intro-head {
    margin-bottom: 4em;
}
 */
.p-ai__detail .contents-intro .intro-head {
    margin-bottom: 3em;
}

@media screen and (max-width: 767px) {
    .aipers-logo {
      width: 90%;
  }
    .ai-logo-title .logo-name {
      font-size: 1.5rem;
    }

        .p-ai__detail .contents-intro {
        padding-block: 2.5em 5em;
    }

    .p-ai__detail .contents-intro .intro-head .text {
        font-size: 1.2em;
        font-weight: 700;
    }

  .ai-logo-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px 0;
    margin-bottom: 16px;
  }

  .ai-logo-title .line {
    display: none;
  }
  .ai-logo-title .logo-name {
    font-size: 1.8rem;
}
  /* .p-ai__detail .contents-intro .intro-head {
    align-items: center;
    text-align: center;
  } */

  .p-ai__detail .contents-intro .intro-head .title-box {
    align-items: center;
  }

  .p-ai__detail .contents-intro .intro-head .ai-logo-title {
    align-items: center;
    justify-content: center;
  }
      .p-ai__detail .contents-intro .intro-head .title-box .sub {
        font-size: 1.2em;
    }
    .p-ai__detail .contents-intro .intro-head {
    margin-bottom: 2.5em;
}
}
@media screen and (max-width: 767px) {
    .p-ai__detail .contents-intro .intro-other .text-box .text {
        font-size: 1.1em;
    }
    .p-service .service-description {
      font-size: 1.25rem;
      line-height: 1.5;
  }
/*   .p-ai__detail .contents-intro .intro-head .text {
      text-align: center;
  }
 */
      .service-description-wrap{
        text-align: center;
      }

      .service-description{
        display: inline-block;
        text-align: left;
      }
      .p-service .contents-intro .intro-other .text-box .ai-solution_txt {
        margin-top: 2.5rem;
    }
    .p-ai__detail .contents-intro .intro-head .service-description {
        font-size: 1.2rem;
    }
.p-ai__detail .contents-intro .intro-head .title-box .ai-logo-title {
      margin: 24px 0 16px;
    }
}

.p-service .contents-detail .contents-detail__item {
    display: block;
    padding: 7em 0;
    /* padding: 6em 0; */
    width: 100%;
}
.p-ai__detail .contents-detail .contents-detail__item .title-box .en-title {
      font-size: 1em;
      font-weight: 700;
}
.p-ai__detail .contents-detail .contents-detail__item .title-box .jp-title {
    font-size: 2.125em;
    font-weight: 700;
    line-height: 1;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  /* margin-top: 60px; */
  padding: 0;
  list-style: none;
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: 16px;

  background: #fff;
  border-radius: 8px;

  padding: 24px 28px;
}

.feature-list__item img {
  width: 48px;
  height: auto;

  flex-shrink: 0;
}

.feature-list__item .text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list.feature-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
}

.p-ai__detail .contents-detail .contents-detail__item .feature-list.feature-list--grid .feature-list__item {
  width: auto;
  margin: 0;
}

.p-ai__detail .contents-detail .contents-detail__item 
.benefits-list .benefits-list__item .flex-box {
  display: flex;
  align-items: center;
  /* align-items: flex-start; */
  justify-content: center;
  /* gap: 24px; */
  gap: 16px;
  flex-wrap: nowrap;
}
.p-ai__detail .contents-detail .contents-detail__item 
.benefits-list .benefits-list__item .text {
    max-width: 220px;
    display: flex;
    align-items: center;
}

.p-ai__detail .contents-detail .contents-detail__item 
.benefits-list .benefits-list__item .image-box {
  width: 266px;
  flex-shrink: 0;
  /* min-height: 196px; */
  height: auto;
  overflow: visible;
}

.p-ai__detail .contents-detail .contents-detail__item 
.benefits-list .benefits-list__item .image-box .image {
  display: block;
  /* max-width: 244px; */
  max-width: 266px;
  width: 100%;
  max-height: 100%;
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 1439px) {
  .p-ai__detail .contents-detail .contents-detail__item 
  .benefits-list .benefits-list__item .flex-box {

      display: flex;
      align-items: center;
      justify-content: center;

  }

  .p-ai__detail .contents-detail .contents-detail__item 
  .benefits-list .benefits-list__item .text {
      width: 100%;
      max-width: none;
  }
    .p-ai__detail .contents-detail .contents-detail__item 
  .benefits-list .benefits-list__item .image-box {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 196px;
  }

}
@media screen and (max-width: 767px) {
  .p-ai__detail .contents-detail .contents-detail__item .title-box .en-title {
      font-size: 0.85em;
      font-weight: 600;
  }
  .p-ai__detail .contents-detail .contents-detail__item .feature-list.feature-list--grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-list {
      margin-top: 0;
  }
  .p-ai__detail .contents-detail .contents-detail__item
  .benefits-list .benefits-list__item .text {
    max-width: none;
  }

}
/*AIパース　導入メリット*/
.benefit-compare {
  margin-top: 72px;
}

.compare-section + .compare-section {
  /* margin-top: 56px; */
  margin-top: 64px;
}

.compare-section{
    display: flex;
    flex-direction: column;
    /* gap: 24px 0; */
    gap: 32px 0;
    /* align-items: flex-start; */
    align-items: center;
   
}

.compare-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    background: #5a5a5a;
    color: #fff;
    font-size: 1.625em;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.12em;
    align-self: flex-start;
}

.compare-box_wrapper {
  display: flex;
  flex-direction: column;
  gap: 4.5rem 0;
  align-items: center;
}

.compare-box_wrapper .compare-box {
  width: 100%;
}

.compare-box {
  position: relative;
  display: flex;
  max-width: 960px;
  margin: 0 auto;
   overflow: hidden;
  border-radius: 14px;
}

.compare-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #fff;
  z-index: 1;
}

.compare-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.compare-image {
  position: relative;
  width: 50%;
  margin: 0;
}

.compare-image img {
  display: block;
  width: 100%;
  height: auto;
}

.compare-label {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(80, 80, 80, 0.45);
  backdrop-filter: blur(4px);
}

.compare-label--after {
  background: linear-gradient(
    90deg,
    rgba(122, 223, 250, 0.75) 0%,
    rgba(136, 199, 250, 0.75) 22%,
    rgba(0, 95, 173, 0.55) 100%
  );
}
.compare-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.compare-arrow img {
  display: block;
  width: 60px;
  height: auto;
}

.compare-button {
  margin-top: 56px;
  text-align: center;
}

.button {
  display: inline-block;
  padding: 18px 48px;
  border-radius: 999px;
  background: #0071bc;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.compare-note {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 1rem 0 0.5rem;
}

@media screen and (max-width: 767px) {
  .benefit-compare {
    margin-top: 48px;
  }

  .compare-section + .compare-section {
    margin-top: 60px;
  }

  .compare-section {
    /* gap: 16px 0; */
    gap: 18px 0;
  }

  .compare-box_wrapper {
    gap: 3.5rem 0;
  }

  .compare-box {
    display: block;
  }

  .compare-image {
    width: 100%;
  }

  .compare-arrow {
    top: 50%;
  }

  .compare-arrow img {
    width: 52px;
    transform: rotate(90deg);
  }

  .compare-label {
    top: 12px;
    left: 16px;
  }

  .button {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
  }

   .compare-box {
    display: block;
  }

  .compare-box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #fff;
    z-index: 1;
  }
  
  .compare-box {
    display: block;
    overflow: visible;
    border-radius: 0;
  }
  .compare-image {
  overflow: visible;
  border-radius: 0;
  }
  .compare-image:first-child img {
    border-radius: 16px 16px 0 0;
  }

  .compare-image:last-child img {
    border-radius: 0 0 16px 16px;
  }

  .compare-image + .compare-image {
    position: relative;
    margin-top: 4px;
  }

  .compare-image + .compare-image::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #fff;
    z-index: 3;
  }
  .compare-note {
    margin-top: 2rem;
    font-size: 12px;
  }
  .compare-title {
    font-size: 1.375rem;
    width: 110px;
    height: 48px;
  }

  .compare-label {
    font-size: 1.125rem;
  }
}


/* AIパース テイスト変更 */

.style-variation{
  margin: 5rem auto 0;
}

.style-variation__inner{
  width:100%;
  /* max-width:1060px; */
  max-width:1100px;
  margin:0 auto;
  background:#f4f4f4;
  border-radius:24px;
  padding:3.5rem 2.5rem;
}

.style-variation__title-wrap{
  text-align:center;
}

.style-variation__title{
  position:relative;
  display:inline-block;

  font-size:1.75rem;
  font-weight:700;
  line-height:1.5;

  margin-bottom:32px;
}

 .style-variation__title{
  display:inline-flex;
  align-items:flex-start;
  justify-content:center;
  gap:8px;

  font-size:1.75rem;
  font-weight:700;
  line-height:1.5;

  margin-bottom:32px;
}

.style-variation__icon{
  width:32px;
  height:32px;
  margin-top:7px;
  flex-shrink:0;
}

 .style-variation__image{
  display:block;
  width:100%;
}

.style-variation__image img{
  display:block;
  width:100%;
  height:auto;
}

@media screen and (max-width: 767px){
.style-variation {
    margin: 3.5rem auto 0;
}

.style-variation__inner {
    background: #F5F8FC;
    border-radius: 20px;
    padding: 2.5rem 0.8rem;
  }
  .style-variation__title {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 767px){
  .style-variation {
    margin: 3.5rem auto 0;
  }

  .style-variation__inner {
    /* background: #F5F8FC; */
    background: #F1F2F3;
    border-radius: 20px;
    padding: 2.5rem 0.5rem;
  }

  .style-variation__title {
    font-size: 1.38rem;
    margin-bottom: 24px;
    gap:6px;
  }

  .style-variation__icon{
    width:24px;
    height:24px;
    margin-top:6px;
  }
}



/*コーディネートAI*/

.p-ai__detail .contents-intro .intro-head .title-box .service-title{
    color: #333333;
    /* display: flex;
    flex-wrap: wrap;
    gap: 0 16px; */
    font-size: 3em;
    font-weight: 700;
}

.p-ai__detail .contents-intro .intro-head .service-title-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px 0;
}

.p-ai__detail .contents-intro .intro-head {
    gap: 12px 0;
}

/* .ai-solution_txt .autopers-link {
  color: #0061B4;
  font-weight: 700;
}

.ai-solution_txt .autopers-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}
 */

.ai-solution_txt .autopers-link,
.feature-list__item .autopers-link,
.more-usecases__lead .autopers-link,
.more-usecases__lead .coordai-name {
  color: #0061B4;
  font-weight: 700;
}

.ai-solution_txt .autopers-link,
.feature-list__item .autopers-link,
.more-usecases__lead .autopers-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}


.feature-list.feature-list--grid.feature-list--single {
    grid-template-columns: 1fr;
}
.p-ai__detail .contents-detail .contents-detail__item .feature-list.feature-list--grid.feature-list--single {
    grid-template-columns: 1fr;
}

@media screen and (max-width: 767px) {
  .coordinateai-lead {
    font-size: 1em;
    margin-top: 16px;
  }
}

.title--tight {
    letter-spacing: -0.03em;
}

.p-ai__detail .contents-detail .contents-detail__item .benefits-list .benefits-list__item .title.title--tight {
    letter-spacing: -0.04em;
}

.p-ai__detail .contents-detail .contents-detail__item 
.benefits-list .benefits-list__item .title {
    min-height: 2.5em;
}

.system-preview {
    width: min(100%, 1066px);
    margin: 100px auto 0;
}

@media screen and (max-width: 767px) {
  .system-preview {
    width: min(100%, 1066px);
    margin: 60px auto 0; 
  }

}

/* さらに広がる活用方法 */
.more-usecases{
  background-color: #ffffff;
  padding: 5rem 2.5rem;
  border-radius: 20px;
}

.more-usecases__title{
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.more-usecases__lead{
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 3.75rem;
  text-align: center;
  font-weight: 700;
}

.more-usecases__flow{
  display: flex;
  justify-content: center;
  gap: 0 1.1rem;
  margin-top: 4rem;
  position: relative;
}

.more-usecases__item{
  width: 100%;
}

.more-usecases__item h4{
  font-size: 1.8rem;
  font-weight: 700;
}

.workflow-card__logo {
  text-align: center;
  height: 84px;
  margin-bottom: 1rem;
}

.workflow-card__service-name--coord{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
}

.workflow-card__logo img {
  width: 280px;
  height: auto;
}



.workflow-card__logo p {
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 600;
}

.workflow-card__image{
  margin:0.5rem 0 2rem
}

.workflow-card__content{
  width: 92%;
  text-align: center;
  margin: 0 auto;
}

.workflow-card__title{
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 0 1.5rem ;
}

.workflow-card__text{
  margin: 0 0 1.625rem;

}

.more-usecases__flow .ap-area .workflow-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  max-width: 292px;
  height: 64px;
  margin: 0 auto;
  background: #029642;
  border-radius: 9999px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
    text-align: center;
}

.more-usecases__flow .ap-area .workflow-card__button:hover {
  opacity: 0.8; 
  background-color: #ffffff;
  color: #029642;
  border: 1px solid #029642;
}

/* .more-usecases__arrow {
    position: absolute;
    top: 290px; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
 */
.workflow-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-card__title::before {
  content: "";
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.workflow-card__title--autopers::before {
  background-image: url("../../service/img/aisolution/icon_sparkles_apai.png");
}

.workflow-card__title--coordinate::before {
  background-image: url("../../service/img/aisolution/icon_sparkles_coordai.png");
}

.workflow-card__content .workflow-card__title {
  display: flex;
  justify-content: center;
}

.workflow-card__content .workflow-card__text {
  text-align: left;
}

.more-usecases__arrow img {
  display: block;
  width: 72px;
  height: auto;
}

.p-ai__detail .contents-detail .contents-detail__item .benefits-list--coordinateai .benefits-list__item .image-box .image{
max-width: 278px;;
}

.p-ai__detail .contents-detail .contents-detail__item .benefits-list--coordinateai .benefits-list__item .image-box {
    width: 278px;
}

/* スマホ時：AUTOPERS AI と コーディネートAI の間に配置 */
@media screen and (max-width: 767px) {
  .more-usecases {
    background-color: #ffffff;
    padding: 3rem 2rem;
    border-radius: 20px;
  }

  .more-usecases__title {
      font-size: 1.625rem;
  }

  .more-usecases__lead {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-top: 1.75rem;
    text-align: center;
    font-weight: 700;
  }

  .workflow-card__title {
    font-size: 1.3rem;
}

  .more-usecases__flow {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .more-usecases__flow {
    margin-top: 3rem;
}

  .more-usecases__flow .ap-area {
    background: #f5fbff;
    border-radius: 16px;
    padding: 24px 16px 30px;
  }

  .more-usecases__flow .more-usecases__arrow {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: -24px 0;
    z-index: 10;
  }

  .more-usecases__flow .more-usecases__arrow img {
    width: 72px;
    height: auto;
    transform: rotate(90deg);
  }

  .more-usecases__flow .coord-area {
    background: #F3F6FF;
    border-radius: 16px;
    padding: 24px 16px;
  }

  .workflow-card__service-name img{
    max-width: 100%;
    height: auto;
    display: block;
  }
  .workflow-card__service-name {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 839px) {
  .workflow-card__logo {
    min-height: 96px;
  }
}

.workflow-card__image {
  position: relative;
}

.more-usecases__arrow {
  position: absolute;
  top: 50%;
  right: -36px;
  transform: translateY(-50%);
  z-index: 10;
}

@media screen and (max-width: 767px) {
  .more-usecases__arrow {
    display: none;
  }
}

/* .more-usecases__arrow-sp {
  display: none;
} */

@media screen and (max-width: 767px) {

  .more-usecases__arrow-sp {
    display: flex;
    justify-content: center;
    margin: -20px 0;
    z-index: 10;
  }

  .more-usecases__arrow-sp img {
    width: 72px;
    transform: rotate(90deg);
  }
}

.more-usecases__arrow {
  position: absolute;
  left: 65.8%;
  top: 38%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.more-usecases__arrow-sp {
  display: none;
}

@media screen and (max-width:820px){
  .more-usecases__arrow {
    position: absolute;
    left: 65%;
    top: 32%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
}

@media screen and (max-width:767px){

      .more-usecases__flow .more-usecases__arrow{
    display:none;
  }

  .more-usecases__arrow-sp{
    display:flex;
    justify-content:center;
    margin:-20px 0;
    z-index:10;
  }

  .more-usecases__arrow-sp img{
    width:72px;
    transform:rotate(90deg);
  }
}

/* レコメンドAI　コーディネートAI */
.p-ai__detail .contents-intro .intro-head .service-title-box .service-subtitle {
  font-size: 1.25em;
  font-weight: 600;
}
.ai-solution-image-box{
  background-color: aqua;
}

/* レコメンドAI */

/* レコメンドAI MV */

.recommendai-kv-layout {
  display: grid;
  grid-template-columns: 66.3% 33.45%;
  gap: 2px;
  align-items: start;
  width: 100%;
  padding: 0 16px;
  margin-top: 56px;
}

.p-service .contents-intro .intro-other .recommendai-kv-image {
  margin: 0;
  width: 100%;
}

.p-ai__detail .contents-intro .intro-other .recommendai-kv-image {
    width: 100%;
}

.recommendai-kv-image {
  width: 100%;
}

.recommendai-kv-image img {
  display: block;
  height: auto;
}

.recommendai-step-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.recommendai-step-list__item {
  position: relative;
  display: flex;
  align-items: center;
  /* gap: 16px; */
  background: #eefaf8;
  border-radius: 10px;
  padding: 16px 8px 16px 24px;
}

/* .recommendai-step-list__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 46px;
  bottom: -26px;
  width: 4px;
  height: 20px;
  border-left: 4px dotted #8fc7ff;
}
 */

.recommendai-step-list__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 46px;
  top: 100%;
  margin-top: 6px;
  height: 24px;
  border-left: 4px dotted #8fc7ff;
}


/* .recommendai-step-list__label {
  flex-shrink: 0;
  color: #0061b4;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.recommendai-step-list__label strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
}
 */

 .recommendai-step-list__label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  flex-shrink: 0;
  color: #0061b4;
  font-weight: 700;
  line-height: 1;
}

.recommendai-step-list__label::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  background: url("../../service/img/aisolution/icon_sparkles_recommendai.png") center / contain no-repeat;
}

.recommendai-step-list__step {
  font-size: 0.75rem;
}

.recommendai-step-list__num {
  font-size: 1.75rem;
}



 .recommendai-step-list__label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  flex-shrink: 0;
  color: #0061b4;
  font-weight: 700;
  line-height: 1;
}

.recommendai-step-list__step {
  font-size: 0.75rem;
  line-height: 1;
}

.recommendai-step-list__num {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}


.recommendai-step-list__text {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .recommendai-kv-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }

  .recommendai-step-list {
    gap: 32px;
  }

  .recommendai-step-list__item {
    padding: 16px 16px 16px 32px;
  }

  .recommendai-step-list__text {
    font-size: 1rem;
  }
}

.recommend-flow__source {
  width: 28%;
}

.recommend-flow__result {
  width: 64%;
}

.recommend-flow__arrow {
  flex-shrink: 0;
}

.recommend-flow img {
  display: block;
  max-width: 100%;
  height: auto;
}

.arrow-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .recommend-flow {
    flex-direction: column;
    gap: 20px;
  }

  .recommend-flow__result {
    order: 1;
    width: 100%;
  }

  .recommend-flow__arrow {
    order: 2;
  }

  .recommend-flow__source {
    order: 3;
    width: 100%;
  }

  .arrow-pc {
    display: none;
  }

  .arrow-sp {
    display: block;
    width: 64px;
    margin: 0 auto;
  }
}

.recommend-flow{
  max-width: 1162px;
  margin: 0 auto;
  padding:5rem 0 0 ;
}

.recommend-flow__heading {
 /*  display: flex;
  justify-content: space-between;
  align-items: flex-end; */
  margin-bottom: 10px;
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

.recommend-flow__source-title {
  font-size: 1.25rem;
  font-weight: 700;
  width: 27%;
  text-align: center;
}

.recommend-flow__source-title span {
  display: block;
  font-size: 0.75rem;
}

.recommend-flow__result-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  width: 71%;
  text-align: center;
}

.recommend-flow__image {
  margin: 0;
}

.recommend-flow__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* スマホ用タイトルはPCでは非表示 */
.recommend-flow__title-sp {
  display: none;
}

.l-wrapper .button-box .workflow-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.1em 3em 1.2em;
    /* padding: 16px 24px; */
    /* height: 64px; */
    margin: 0 auto;
    background: #029642;
    border-radius: 9999px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.l-wrapper .button-box .workflow-card__button:hover {
  opacity: 0.8; 
  background-color: #ffffff;
  color: #029642;
  border: 1px solid #029642;
}


@media screen and (max-width: 767px) {

  /* PC用見出しを非表示 */
  .recommend-flow__heading {
    display: none;
  }

  /* スマホ用見出しを表示 */
  .recommend-flow__title-sp {
    display: block;
    margin: 0 0 16px;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 700;
  }
}

@media screen and (max-width: 767px) {

  .recommend-flow {
    padding: 0;
  }

  .recommend-flow__heading {
    display: none;
  }

  .recommend-flow__title-sp {
    display: block;
    margin: 0 0 16px;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 700;
    padding: 1.8rem 0 0;
  }
}

/*レコメンドAI 「約15万件のデータからおすすめアイテムを…」の部分*/
.recommend-flow__lead {
  position: relative;
  max-width: 1078px;
  margin: 1rem auto 2.5rem;
  text-align: center;
}

.recommend-flow__lead p {
  margin: 0;
  font-size: 1.625rem;
  line-height: 1.5;
  font-weight: 700;
  color: #222;
}

.recommend-flow__highlight {
  color: #26b68a;
  font-size: 2rem;
}

.recommend-flow__lead::before,
.recommend-flow__lead::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 90px;
  background: #26b68a;
}

.recommend-flow__lead::before {
  left: 0;
  transform: translateY(-50%) rotate(-30deg);
}

.recommend-flow__lead::after {
  right: 0;
  transform: translateY(-50%) rotate(30deg);
}

@media screen and (max-width: 767px) {
  .recommend-flow__lead {
    margin: 64px auto 0;
    padding: 0 24px;
  }

  .recommend-flow__lead p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .recommend-flow__highlight {
    font-size: 1.2rem;
  }

  .recommend-flow__lead::before,
  .recommend-flow__lead::after {
    height: 50px;
  }
}

@media screen and (max-width: 767px) {
  .recommend-flow__lead::before,
  .recommend-flow__lead::after {
    top: auto;
    bottom: 0;
    height: 88px;
  }

  .recommend-flow__lead::before {
    left: 8px;
    transform: rotate(-30deg);
  }

  .recommend-flow__lead::after {
    right: 8px;
    transform: rotate(30deg);
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .recommend-flow__lead::before,
  .recommend-flow__lead::after {
    display: none;
  }
}