@charset "UTF-8";

:root {
  --sp3-primary-color: #E88E53;
}

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

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

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

#sp3 .sub-fv .cat {
  width: 250px;
}

#sp3 .sub-sec img {
  border-radius: 6px;
}

#sp3 .flex {
  gap: 10px;
}

.sp3-profile {
  margin: 34px auto 0;
  padding: 40px 35px 30px;
  max-width: 580px;
  background-color: #FFE3D1;
  border-radius: 6px;
}

#sp3 .sp3-profile .flex {
  gap: 16px;
  margin: 0;
}

.sp3-profile .image {
  position: relative;
  width: 39.22%;
}

.sp3-profile .image .icon {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  width: 48px;
  height: 48px;
  background-color: var(--sp3-primary-color);
  border-radius: 50%;
}

.sp3-profile .desc {
  flex: 1;
}

.sp3-recipe {
  max-width: 580px;
  margin: 64px auto 0;
  padding: 20px 28px;
  background-color: #FFE3D1;
  border-radius: 6px;
  border: 1px solid #000;
}

.sp3-recipe .recipe-title {
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  padding: 4px 0;
  background-color: #E88E53;
  border-radius: 16px;
}

.sp3-recipe .recipe-title span {
  display: inline-block;
  font-size: 1.4rem;
  margin-left: 10px;
}

.sp3-recipe .recipe-list {
  margin-top: 24px;
}

.sp3-recipe .recipe-list li {
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-top: 4px;
}
.sp3-recipe .recipe-list li span:nth-of-type(1) {
  white-space: nowrap;
}
.sp3-recipe .recipe-list li span:nth-of-type(2) {
  text-align: right;
}

.sp3-box01 {
  display: flex;
  gap: 20px;
}

.sp3-box01 .items {
  padding: 30px 20px;
  background-color: #FFE3D1;
  border-radius: 8px;
}

.sp3-box01 .items .title {
  position: relative;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 20px;
  padding: 0 35px;
  width: fit-content;
}

.sp3-box01 .items .title::before,
.sp3-box01 .items .title::after {
  position: absolute;
  content: '';
  top: 10px;
  width: 32px;
  height: 2px;
  background-color: var(--sp3-primary-color);
  border-radius: 2px;
}

.sp3-box01 .items .title::before {
  left: 0;
  transform: rotate(55deg);
}

.sp3-box01 .items .title::after {
  right: 0;
  transform: rotate(124deg);
}

#sp3 .sp3-box02 {
  gap: 30px;
}



/* -------------------------------------
  responsive
------------------------------------- */

@media (width < 768px) {
  .sp3-profile .image {
    width: 200px;
    margin: auto;
  }

  .sp3-profile .pos {
    text-align: center;
    margin-top: 12px;
  }

  .sp3-profile .name {
    text-align: center;
    margin-bottom: 12px;
  }

  .sp3-recipe {
    padding: 20px;
    border: none;
  }

  .sp3-recipe .recipe-list {
    margin-top: 8px;
  }

  #sp3 .sub-sec .fs-24 {
    font-size: 2rem;
  }

  #sp3 .flex>* {
    margin-bottom: 8px;
  }

  .sp3-box01 {
    flex-direction: column;
    gap: 34px;
  }

  .sp3-box01 .items {
    border-radius: 0;
  }

  .sp3-box02 .image {
    width: 83.6%;
    margin: auto;
  }

  .sp3-box02 h4 {
    font-size: 2rem;
    text-align: center;
    margin-top: 32px;
  }
  .sub-sec .fs-feature-ttl {
    font-size: 2rem;
    letter-spacing: 0.05em;
  }
  .sp3-recipe .recipe-list li:last-child {
    flex-direction: column;
    align-items: flex-start; 
  }

  .sp3-recipe .recipe-list li:last-child span:nth-of-type(2) {
    text-align: left;
    margin-left: 0;
    margin-top: 4px;
    flex: none;
  }
  
}