@charset "UTF-8";

:root {
  --sp2-primary-color: #374EA2;
}

#sp2 .primary-color {
  color: var(--sp2-primary-color);
}

#sp2 .index {
  max-width: 580px;
  border-bottom-color: var(--sp2-primary-color);
}

#sp2 .index>p::before,
#sp2 .index>p::after {
  background-color: var(--sp2-primary-color);
}

#sp2 .sub-fv .cat {
  width: 335px;
}

#sp2 .sub-sec img {
  border-radius: 10px;
}

#sp2 .sub-sec img.no-radius {
  border-radius: 0;
}

#sp2 h5 {
  width: fit-content;
  padding-left: 10px;
  border-left: 5px solid var(--sp2-primary-color);
}

#sp2 .sub-title {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: 600;
  width: min(400px, 100%);
  height: 50px;
  background-color: #FFF5BD;
  border-radius: 8px;
}

#sp2 .sub-title::before,
#sp2 .sub-title::after {
  position: absolute;
  content: '';
  width: 40px;
  height: 120%;
  top: 50%;
  transform: translateY(-50%);
  background: url(../img/sp2/deco01.svg) no-repeat center / 24px auto;
}

#sp2 .sub-title::before {
  left: -16px;
}

#sp2 .sub-title::after {
  right: -16px;
  transform: translateY(-50%) scale(-1, 1);
}

.sp2-box01 {
  position: relative;
  max-width: 768px;
  margin: 90px auto 0;
  padding: 47px 64px;
  background-color: #FFCB06;
  border: 2px solid var(--sp2-primary-color);
}

.sp2-box01::before,
.sp2-box01::after {
  position: absolute;
  content: '';
  width: 40px;
  height: 90px;
  background: #fff;
  border-right: 2px solid var(--sp2-primary-color);
}

.sp2-box01::before {
  top: -40px;
  left: -18px;
  transform: rotate(45deg);
}

.sp2-box01::after {
  bottom: -40px;
  right: -18px;
  transform: rotate(-135deg);
}


@media (width < 768px) {
  #sp2 .fs-feature-ttl {
    font-size: 2.4rem;
  }

  #sp2 .sub-title {
    font-size: 2rem;
  }

  .sp2-box01 {
    width: 96%;
    margin-top: 60px;
    padding: 35px 24px 30px;
  }
}