/* ==========================================
   Solution Page - Mobile First
   ========================================== */

.tai-solution-page {
  overflow: hidden;
  background: #fff;
  color: var(--text-primary);
  font-family: var(--font-ja);
}

.tai-solution-page * {
  box-sizing: border-box;
}

.tai-solution-page a {
  color: inherit;
  text-decoration: none;
}

.tai-solution-page p,
.tai-solution-page h2,
.tai-solution-page h3,
.tai-solution-page h4,
.tai-solution-page ol {
  margin: 0;
}

.tai-solution-page img {
  display: block;
  max-width: 100%;
  height: 100%;
}

.sl-overview {
  padding-top: 92px;
}

.sl-section-head h2 {
  position: relative;
  color: var(--primary-red);
  font-weight: 500;
  line-height: 1.45;
  padding-left: 20px;
  margin-bottom: 24px;
}

.sl-section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  background: var(--primary-red);
  border-radius: 50%;
}

.sl-section-head p {
  color: #737373;
  letter-spacing: 0.04em;
}

.sl-flow {
  padding-top: 103px;
}

.sl-flow h3 {
  display: block;
  width: fit-content;
  color: #222;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto 28px;
  padding-bottom: 4px;
}

.sl-flow-pc {
  display: none;
}

.sl-flow-sp {
  position: relative;
  display: grid;
  gap: 31px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 0 47px;
  list-style: none;
}

.sl-flow-sp::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  bottom: 15px;
  width: 1px;
  background: #7d7d7d;
}

.sl-flow-sp li {
  position: relative;
}

.sl-flow-sp li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 12px;
  height: 12px;
  border: 2px solid #888;
  background: #fff;
  border-radius: 50%;
}

.sl-flow-sp h4 {
  display: inline-block;
  min-width: 220px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #777;
  color: var(--primary-red);
  font-size: 18px !important;
  font-weight: normal !important;
  line-height: 1.4;
}

.sl-flow-sp p {
  padding-top: 8px;
  color: #333;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.sl-industry {
  padding-top: 103px;
}

.sl-solution-panel {
  padding: 70px 0 79px;
}

.sl-panel-white {
  background: #fff;
  color: #222;
}

.sl-panel-red {
  background: var(--primary-red);
  color: #fff;
}

.sl-panel-inner {
  display: flex;
  flex-direction: column;
}

.sl-panel-no {
  display: inline-block;
  margin-bottom: 28px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--primary-red);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.sl-panel-red .sl-panel-no {
  color: #fff;
}

.sl-panel-text h3 {
  font-size: 31px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.sl-panel-en {
  color: var(--primary-red);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 1px;
}

.sl-panel-red .sl-panel-en {
  color: #fff;
}

.sl-panel-copy {
  margin-top: 30px;
  color: #737373;
  font-size: 17px;
  font-weight: normal;
  line-height: 2.05;
  letter-spacing: 0.05em;
}

.sl-panel-red .sl-panel-copy {
  color: #fff;
}

.sl-panel-image {
  order: 2;
  width: 100%;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 10px;
}

.sl-panel-image img {
  width: 100%;
  aspect-ratio: 336 / 204;
  object-fit: cover;
  filter: grayscale(100%);
}

.sl-panel-buttons {
  order: 3;
  margin-top: 41px;
}

.sl-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  padding: 9px 18px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--primary-red);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.sl-panel-red .sl-pill-btn {
  color: #fff;
}

.sl-pill-btn::after {
  --dot: 8px;
  content: "";
  width: 32px;
  height: var(--dot);
  background-image:
    radial-gradient(circle, currentColor calc(var(--dot) / 2), transparent calc(var(--dot) / 2)),
    linear-gradient(currentColor, currentColor);
  background-position: 0 50%, center;
  background-repeat: no-repeat;
  background-size: var(--dot) var(--dot), 100% 1px;
  flex: 0 0 auto;
}

.sl-footer-space {
  height: 119px;
  background: #fff;
}

@media screen and (max-width: 767px) {
  .sl-flow h3 {
    border-bottom: 1px solid currentColor;
  }

  .sl-panel-no {
    padding-bottom: 1px;
    margin-bottom: 15px !important;
  }

  .sl-panel-text h3 {
       font-size: 26px;
     }

  .sl-panel-copy {
    margin-top: 22px !important;
  }

  .sl-panel-buttons .t-btn-outline {
    padding: 10px 18px;
    justify-content: space-between;
    font-size: 16px;
  }
}
