@import url(./global/_variable.css);

/* solution */
/* ============================================ */

/* solution-list */
/* ============================================ */
.solution-list {
  padding-block: clamp(3.75rem, 2.6295rem + 2.9279vw, 5.625rem) 0; /* 90~60(1920~896) */
  background-color: #FFF;
  border-radius: 50px 50px 0 0;
  position: relative;
  @media (width <= 896px) {
    border-radius: 30px 30px 0 0;
    padding-block: 30px 0;
  }
}
.solution-list__inner {
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
}
.solution-list__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding-block: 0 16px;
  @media (width <= 1025px) {
    gap: 40px;
  }
  @media (width <= 896px) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.solution-list__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-bottom: 45px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .05);
  overflow: hidden;
}
.solution-list__item-img {
  display: block;
  width: 100%;
  aspect-ratio: 560 / 314;
  object-fit: cover;
}
.solution-list__item-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-inline: 30px;
  text-align: center;
}
.solution-list__item-ttl {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1.125rem, 0.1160rem + 1.8018vw, 1.625rem); /* 26~18(1340~896) */
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--dark_c);
  word-break: keep-all;
}
.solution-list__item-txt {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(0.875rem, 0.6227rem + 0.4505vw, 1rem); /* 16~14(1340~896) */
  font-weight: 500;
  line-height: 1.8;
  color: var(--font_c);
  word-break: keep-all;
}
.solution-list__item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 356px;
  width: 100%;
  margin-top: 10px;
  padding: 20px 32px;
  background: var(--main_c);
  border-radius: 100px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.125rem); /* 18~16(1340~896) */
  font-weight: 700;
  color: #fff;
  text-align: center;
  > span {
    flex: 1 0 0;
  }
  > img {
    transform: scaleX(-1);
  }
}


/* solution-detail（record/efficiency/standardization/utilization 共通レイアウト） */
/* ============================================ */

/* solution-detail-hero */
/* ============================================ */
.solution-detail-hero {
  position: relative;
  overflow: visible;
  padding-block: clamp(8.75rem, 13.51vw + 1.183rem, 12.5rem) 60px; /* 200-140(1340-896) */
  background-color: var(--bg02_c);
  @media (width <= 896px) {
    padding-block: 120px 40px;
  }
}
.solution-detail-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  @media (width <= 896px) {
    flex-direction: column-reverse;
    gap: 30px;
  }
}
.solution-detail-hero__text {
  max-width: 600px;
  flex-shrink: 0;
}
.solution-detail-hero__label {
  margin-bottom: 8px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.125rem); /* 18~16(1340~896) */
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--main_c);
}
.solution-detail-hero__ttl {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1.75rem, -0.268rem + 3.6036vw, 2.75rem); /* 44~28(1340~896) */
  font-weight: 700;
  line-height: 1.5;
  color: var(--font_c);
  word-break: keep-all;
}
.solution-detail-hero__lead {
  margin-top: 20px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(0.875rem, 0.6227rem + 0.4505vw, 1rem); /* 16~14(1340~896) */
  font-weight: 500;
  line-height: 2;
  color: var(--font_c);
  word-break: keep-all;
}
.solution-detail-hero__cta {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  @media (width <= 896px) {
    flex-direction: column;
    gap: 14px;
  }
}
.solution-detail-hero__cta-btn {
  display: flex;
  flex: 1 0 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 32px;
  border-radius: 999px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.125rem); /* 18~16(1340~896) */
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.solution-detail-hero__cta-btn--download {
  background: var(--point_c);
  box-shadow: 0 0 7.379px var(--point_c);
  &:hover {
    @media (hover: hover) {
      background: var(--dark_c);
      opacity: 1;
      box-shadow: 0 0 7.379px var(--dark_c);
    }
  }
}
.solution-detail-hero__cta-btn--contact {
  background: var(--main_c);
  box-shadow: 0 0 7.379px rgba(6, 54, 153, 0.4);
  &:hover {
    @media (hover: hover) {
      background: var(--dark_c);
      opacity: 1;
      box-shadow: 0 0 7.379px var(--dark_c);
    }
  }
}
.solution-detail-hero__img {
  display: block;
  flex-shrink: 0;
  width: 45vw;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  @media (width <= 896px) {
    width: 100%;
  }
}

/* solution-detail-problem */
/* ============================================ */
.solution-detail-problem {
  padding-block: clamp(3.75rem, 2.6295rem + 2.9279vw, 5.625rem); /* 90~60(1920~896) */
  background-color: #FFF;
  border-radius: 50px 50px 0 0;
  @media (width <= 896px) {
    border-radius: 30px 30px 0 0;
    padding-block: 60px;
  }
}
.solution-detail-problem__inner {
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
  text-align: center;
}
.solution-detail-problem__ttl {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1.75rem, -0.268rem + 3.6036vw, 2.75rem); /* 44~28(1340~896) */
  font-weight: 700;
  line-height: 1.6;
  color: var(--font_c);
  word-break: keep-all;
}
.solution-detail-problem__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 45px;
  @media (width <= 1025px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (width <= 896px) {
    gap: 16px;
  }
}
.solution-detail-problem__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 24px 20px;
  background: var(--bg02_c);
  border-radius: 15px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.125rem); /* 18~16(1340~896) */
  font-weight: 700;
  line-height: 1.6;
  color: var(--font_c);
  word-break: keep-all;
}
.solution-detail-problem__balloon {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 65px auto 0;
  padding: 30px 40px;
  border-radius: 999px;
  background: var(--main_c);
  @media (width <= 896px) {
    margin-top: 45px;
    padding: 20px 24px;
  }
  &::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border-width: 0 10px 14px 10px;
    border-style: solid;
    border-color: transparent transparent var(--main_c) transparent;
  }
  > p {
    font-family: 'Zen Kaku Gothic New', var(--font_normal);
    font-size: clamp(1.375rem, 0.218rem + 2.0661vw, 2rem); /* 32-22(1380-896) */
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
    word-break: keep-all;
  }
}

/* solution-detail-solution */
/* ============================================ */
.solution-detail-solution {
  padding-block: clamp(3.75rem, 2.6295rem + 2.9279vw, 5.625rem); /* 90~60(1920~896) */
  background-color: #FFF;
  @media (width <= 896px) {
    padding-block: 60px;
  }
}
.solution-detail-solution__inner {
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
}
.solution-detail-solution__head {
  text-align: center;
  margin-bottom: 60px;
  @media (width <= 896px) {
    margin-bottom: 40px;
  }
}
.solution-detail-solution__head-en {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.25rem); /* 20~16(1340~896) */
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--main_c);
}
.solution-detail-solution__head-ja {
  margin-top: 10px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1.5rem, 0.7455rem + 1.8018vw, 2.25rem); /* 36~24(1340~896) */
  font-weight: 700;
  color: var(--font_c);
  word-break: keep-all;
}
.solution-detail-solution__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  @media (width <= 896px) {
    gap: 50px;
  }
}
.solution-detail-solution__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
  @media (width <= 1025px) {
    gap: 32px;
  }
  @media (width <= 896px) {
    flex-direction: column;
    gap: 20px;
  }
  &:nth-child(even) {
    flex-direction: row-reverse;
    @media (width <= 896px) {
      flex-direction: column;
    }
  }
}
.solution-detail-solution__item-num {
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--main_c);
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  @media (width <= 896px) {
    top: -12px;
    left: 20px;
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
}
.solution-detail-solution__item:nth-child(even) .solution-detail-solution__item-num {
  left: auto;
  right: -18px;
  @media (width <= 896px) {
    left: 20px;
    right: auto;
  }
}
.solution-detail-solution__item-img {
  display: block;
  width: 45%;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  @media (width <= 896px) {
    width: 100%;
  }
}
.solution-detail-solution__item-body {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 16px;
}
.solution-detail-solution__item-ttl {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1.375rem, 0.78vw + 1.193rem, 2.125rem); /* 24~20(1340~896) */
  font-weight: 700;
  line-height: 1.6;
  color: var(--font_c);
  word-break: keep-all;
  @media (width <= 896px) {
    word-break: normal;
  }
}
.solution-detail-solution__item-txt {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(0.875rem, 0.6227rem + 0.4505vw, 1rem); /* 16~14(1340~896) */
  font-weight: 500;
  line-height: 1.9;
  color: var(--font_c);
  /* word-break: keep-all; */
    text-align: justify;
  @media (width <= 896px) {
    word-break: normal;
    text-align: justify;
  }
}

/* solution-detail-scene */
/* ============================================ */
.solution-detail-scene {
  padding-block: 0 clamp(3.75rem, 2.6295rem + 2.9279vw, 5.625rem); /* 90~60(1920~896) */
  background-color: #FFF;
  @media (width <= 896px) {
    padding-block: 0 60px;
  }
}
.solution-detail-scene__inner {
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
}
.solution-detail-scene__head {
  text-align: center;
}
.solution-detail-scene__head-en {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.25rem); /* 20~16(1340~896) */
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--main_c);
}
.solution-detail-scene__head-ja {
  margin-top: 10px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1.5rem, 0.7455rem + 1.8018vw, 2.25rem); /* 36~24(1340~896) */
  font-weight: 700;
  color: var(--font_c);
  word-break: keep-all;
}
.solution-detail-scene__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 60px;
  @media (width <= 896px) {
    gap: 40px;
    margin-top: 40px;
  }
}
.solution-detail-scene__item {
  display: flex;
  align-items: center;
  gap: 50px;
  @media (width <= 1025px) {
    flex-direction: column;
    gap: 24px;
  }
}
.solution-detail-scene__item-img {
  display: block;
  width: 45%;
  flex-shrink: 0;
  aspect-ratio: 601 / 418;
  object-fit: cover;
  border-radius: 20px;
  @media (width <= 1025px) {
    width: 100%;
  }
}
.solution-detail-scene__item-body {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.solution-detail-scene__item-badge {
  display: inline-flex;
  padding: 8px 18px;
  background: var(--point_c);
  border-radius: 6px;
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.solution-detail-scene__item-ttl {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(1.125rem, 0.6205rem + 0.9009vw, 1.375rem); /* 22~18(1340~896) */
  font-weight: 700;
  line-height: 1.6;
  color: var(--font_c);
  word-break: keep-all;
  @media (width <= 896px) {
    word-break: normal;
  }
}
.solution-detail-scene__item-txt {
  font-family: 'Zen Kaku Gothic New', var(--font_normal);
  font-size: clamp(0.875rem, 0.6227rem + 0.4505vw, 1rem); /* 16~14(1340~896) */
  font-weight: 500;
  line-height: 1.9;
  color: var(--font_c);
  /* word-break: keep-all; */
  text-align: justify;
  @media (width <= 896px) {
    word-break: normal;
    text-align: justify;
  }
}

.solution-record .solution-detail-hero__img {
  max-width: 652px; /* 実画像サイズ(652x435)に合わせた個別調整 */
}