.tfStep {
  background: #F2F5F6;
  background: linear-gradient(90deg, rgba(242, 245, 246, 1) 20%, rgba(200, 215, 220, 1) 80%);
}

.tfStepBox {
  padding: 80px 0;
}

.tfStepBox h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.75em;
}

.tfStepNanoCapsuleBanner {
  background-color: #B79D59;
  border: 5px solid #B79D59;
  margin: 50px auto;
  transition: 0.5s;
  max-width: 1000px;
}

.tfStepNanoCapsuleBanner:hover {
  opacity: 0.5;
}

.tfStepNanoCapsuleBanner a {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.tfStepNanoCapsuleBannerLeft {
  width: 100%;
  position: relative;
}

.tfStepNanoCapsuleBannerLeft p:first-child {
  color: #fff;
  text-align: center;
  font-size: 26px;
  padding: 0 10px 5px 10px;
  line-height: 1.5em;
}

.tfStepNanoCapsuleBannerLeft p:first-child sup {
  font-size: 11px;
  top: 0.2em;
}

.tfStepNanoCapsuleBannerLeft p:last-child {
  color: #fff;
  font-size: 11px;
  position: absolute;
  right: 5px;
  bottom: 5px;
}

.tfStepNanoCapsuleBannerRight {
  background-color: #fff;
  padding: 10px 35px 10px 15px;
  color: #B79D59;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 50px;
  position: relative;
  width: 100%;
}

.tfStepNanoCapsuleBannerRight:after {
  content: "＞";
  color: #B79D59;
  position: absolute;
  right: 10px;
  bottom: 15px;
}

.tfStepNanoCapsuleBannerRight p:first-child {
  font-size: 26px;
  text-align: center;
  line-height: 1.5em;
  width: 100%;
}

.tfStepNanoCapsuleBannerRight p:first-child span {
  font-size: 32px;
}

.tfStepNanoCapsuleBannerRight p:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
}

.tfStepFlexBox {
  display: flex;
  flex-wrap: wrap;
}

.tfStep0Box {
  display: flex;
  width: 100%;
}

.tfStep1Box {
  display: flex;
  margin-bottom: 50px;
}

.tfStep2Box {
  display: flex;
  margin-bottom: 50px;
}

.tfStep3Box {
  display: flex;
  margin-bottom: 50px;
}

.tfStep4Box {
  display: flex;
  margin-bottom: 50px;
}

.tfStepMorning {
  width: 44%;
}

.tfStepMorning h3 {
  font-size: 18px;
  text-align: center;
  line-height: 1em;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1a3a29;
}

.tfStepMorning h3 img {
  height: 40px;
  margin-right: 15px;
}

.tfStepMorning h3 span {
  font-size: 24px;
}

.tfStepNumber {
  width: 12%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tfStepNumber p {
  font-size: 22px;
  position: relative;
  text-align: center;
}

.tfStepNumber span {
  content: "";
  width: 2px;
  height: 350px;
  position: absolute;
  bottom: 75px;
  left: 49%;
  background: #ccc;
}

.tfStep1Box .tfStepNumber span {
  height: 0;
  background: none;
}

.tfStepNight {
  width: 44%;
}

.tfStepNight h3 {
  font-size: 18px;
  text-align: center;
  line-height: 1em;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1a3a29;
}

.tfStepNight h3 img {
  height: 40px;
  margin-right: 15px;
}

.tfStepNight h3 span {
  font-size: 24px;
}

.tfStepProductEach {
  background-color: #fff;
  padding: 15px;
  height: 100%;
  position: relative;
  transition: 0.5s;
}

.tfStepProductEach:hover {
  opacity: 0.5;
}

.tfStepMorning .tfStepProductEach:before {
  content: "";
  width: 45px;
  height: 45px;
  position: absolute;
  right: 0;
  bottom: 0;
  background-size: cover;
  background: #B79D59;
  background: linear-gradient(135deg, rgba(183, 157, 89, 0) 50%, rgba(183, 157, 89, 1) 50%, rgba(183, 157, 89, 1) 81%);
}

.tfStepMorning .tfStepProductEach:after {
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  right: 5px;
  bottom: 5px;
  background-image: url(../../Contents/ImagesPkg/threefirsts/step/tf_step_morning_icon2.png);
  background-size: cover;
}

.tfStepNight .tfStepProductEach:before {
  content: "";
  width: 45px;
  height: 45px;
  position: absolute;
  right: 0;
  bottom: 0;
  background-size: cover;
  background: #B79D59;
  background: linear-gradient(135deg, rgba(183, 157, 89, 0) 50%, rgba(183, 157, 89, 1) 50%, rgba(183, 157, 89, 1) 81%);
}

.tfStepNight .tfStepProductEach:after {
  content: "";
  width: 15px;
  height: 15px;
  position: absolute;
  right: 5px;
  bottom: 5px;
  background-image: url(../../Contents/ImagesPkg/threefirsts/step/tf_step_night_icon2.png);
  background-size: cover;
}

.tfStepProductEach a {}

.tfStepProductEachInner {
  display: flex;
  gap: 15px;
}

.tfStepProductEachImage {
  width: 40%;
}

.tfStepProductEachImage img {
  width: 100%;
}

.tfStepProductEachContents {
  width: calc(60% - 15px);
}

.tfStepProductEachCat {
  background-color: #1a3a29;
  padding: 3px 20px;
  line-height: 1em;
  display: inline-block;
}

.tfStepProductEachCat span {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.tfStepProductEachContents h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25em;
  margin: 7px 0;
}

.tfStepProductEachText {
  font-size: 14px;
  line-height: 1.5em;
  margin: 0;
}

.tfStepProductEachIngredient {
  width: 100%;
}

.tfStepProductEachIngredient p {
  font-size: 14px;
  line-height: 1.5em;
  margin: 15px 0;
}

.tfStepProductEachIngredient p span {
  position: relative;
  background: #FFFFFF;
  padding: 3px 10px;
  line-height: 1em;
  text-align: left;
  border: 1px solid #1A3A29;
  color: #1A3A29;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2px;
}

.tfStepNanoCapsule {

}

.tfStepNanoCapsuleBox {
  border: 2px solid #B79D59;
  padding: 25px;
  position: relative;
}

.tfStepNanoCapsuleBox:after {
  content: "";
  width: calc(262px * 0.85);
  height: calc(260px * 0.85);
  background-image: url(../../Contents/ImagesPkg/threefirsts/step/tf_step_nc_subtitle.png);
  background-size: cover;
  position: absolute;
  left: -2px;
  top: -2px;
}

.tfStepNanoCapsuleBox h2 {
  color: #B79D59;
  text-align: center;
  line-height: 1.5em;
  font-size: 28px;
  font-weight: 600;
  padding: 15px;
  border-bottom: 1px solid #B79D59;
}

.tfStepNanoCapsuleBox h2 span {
  font-size: 36px;
}

.tfStepNanoCapsuleText {
  text-align: center;
  font-size: 18px;
  line-height: 1.5em;
  font-weight: 600;
  margin: 30px 100px;
  color: #555;
}

.tfStepNanoCapsuleImage {
  text-align: center;
  margin: 30px 100px;
}

.tfStepNanoCapsuleImage img {
  width: 100%;
  max-width: 960px;
}

.tfStepNanoCapsulePoint {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin: 30px;
}

.tfStepNanoCapsulePoint li {
  width: calc((100% - 100px) / 3);
}

.tfStepNanoCapsulePointTitle {
  background-color: #B79D59;
  color: #fff;
  padding: 5px 30px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin: 0 30px;
}

.tfStepNanoCapsulePointText {
  font-size: 18px;
  color: #B79D59;
  font-weight: 600;
  text-align: center;
  margin: 10px;
  line-height: 1.5em;
}

.tfStepNanoCapsulePointText span {
  font-size: 22px;
}

.tfStepNanoCapsulePointText sup {
  font-size: 11px;
}

.tfStepNanoCapsulehaigoTitle {
  text-align: center;
  font-size: 20px;
  line-height: 1.5em;
  font-weight: 600;
  color: #555;
}

.tfStepNanoCapsulehaigoTitle span {
  color: #1A3A29;
  font-size: 28px;
  text-decoration: underline;
  text-decoration-color: #B79D59;
  text-decoration-thickness: 3px;
}

.tfStepNanoCapsulehaigo {
  margin: 30px 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.tfStepNanoCapsulehaigo li {
  width: calc((100% - 30px) / 2);
}

.tfStepNanoCapsulehaigoFlex {
  display: flex;
  gap: 30px;
  align-items: center;
}

.tfStepNanoCapsulehaigoImage {
  width: 30%;
}

.tfStepNanoCapsulehaigoImage img {
  width: 100%;
}

.tfStepNanoCapsulehaigoContents {
  width: calc(70% - 30px);
}

.tfStepNanoCapsulehaigoCat {

}

.tfStepNanoCapsulehaigoCat span {
  background: #FFFFFF;
  padding: 3px 10px;
  line-height: 1em;
  text-align: left;
  border: 1px solid #1A3A29;
  color: #1A3A29;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2px;
}

.tfStepNanoCapsulehaigoCat1 {

}

.tfStepNanoCapsulehaigoCat2 {

}

.tfStepNanoCapsulehaigoCat3 {

}

.tfStepNanoCapsulehaigoCat4 {

}

.tfStepNanoCapsulehaigoEachTitle {
  font-size: 20px;
  color: #555;
  font-weight: 600;
  margin: 5px 0;
  line-height: 1.5em;
}

.tfStepNanoCapsulehaigoText {
  font-size: 14px;
  color: #555;
  margin: 5px 0 0 0;
  line-height: 1.5em;
}

.tfStepNanoCapsuleInfo {
  text-align: right;
  font-size: 12px;
  color: #555;
}

@media all and (max-width: 959px) {
  .tfStepBox h2 {
    font-size: 18px;
  }

  .tfStepNanoCapsuleBanner {
    margin-left: 15px;
    margin-right: 15px;
  }

  .tfStepNanoCapsuleBanner a {
    flex-wrap: wrap;
  }

  .tfStepNanoCapsuleBannerLeft {
    width: 100%;
  }

  .tfStepNanoCapsuleBannerLeft p:first-child {
    padding-top: 5px;
    padding-bottom: 15px;
    font-size: 22px;
  }

  .tfStepNanoCapsuleBannerLeft p:last-child {
    right: 0;
    bottom: 0;
  }

  .tfStepNanoCapsuleBannerRight {
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 20px 10px 10px;
  }

  .tfStepNanoCapsuleBannerRight:after {
    right: 5px;
    bottom: 37%;
  }

  .tfStepNanoCapsuleBannerRight p:first-child {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
  }

  .tfStepNanoCapsuleBannerRight p:first-child span {
    font-size: 20px;
  }

  .tfStepNanoCapsuleBannerRight p:last-child {
    width: 100%;
    display: none;
  }

  .tfStepMorning {
    width: 80%;
  }

  .tfStepNumber {
    width: 20%;
  }

  .tfStepNight {
    display: none;
    width: 80%;
  }

  .tfStep4Box.tfhide {
    display: none !important;
  }

  .tsStepMorningBt {
    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
    font-weight: 900 !important;
    font-size: 14px !important;
    opacity: 0.7;
  }

  .tsStepMorningBt img {
    height: 30px;
  }

  .tsStepMorningBt.tfshow {
    display: flex;
  }

  .tsStepNightBt {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    font-weight: 900 !important;
    font-size: 14px !important;
    opacity: 0.7;
  }

  .tsStepNightBt img {
    height: 30px;
  }

  .tsStepNightBt.tfshow {
    display: flex;
  }





  .tfStepProductEachInner {
    flex-wrap: wrap;
  }

  .tfStepProductEachImage {
    width: 100%;
  }

  .tfStepProductEachContents {
    width: 100%;
  }

  .tfStepNanoCapsuleBox {
    padding: 15px;
  }

  .tfStepNanoCapsuleBox:after {
    width: calc(262px * 0.5);
    height: calc(260px * 0.5);
  }

  .tfStepNanoCapsuleBox h2 {
    font-size: 22px;
    padding: 50px 0 15px 0;
  }

  .tfStepNanoCapsuleBox h2 span {
    font-size: 26px;
  }

  .tfStepNanoCapsuleText {
    margin-left: 0;
    margin-right: 0;
    font-size: 16px;
  }

  .tfStepNanoCapsuleImage {
    margin-left: 0;
    margin-right: 0;
  }

  .tfStepNanoCapsuleImage img {
    margin-bottom: 15px;
  }

  .tfStepNanoCapsulePoint {
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
  }

  .tfStepNanoCapsulePoint li {
    width: 100%;
  }

  .tfStepNanoCapsulePointTitle {
    font-size: 16px;
  }

  .tfStepNanoCapsulePointText {
    font-size: 16px;
  }

  .tfStepNanoCapsulePointText span {
    font-size: 20px;
  }

  .tfStepNanoCapsulehaigoTitle {
    font-size: 18px;
  }

  .tfStepNanoCapsulehaigoTitle span {
    font-size: 24px;
  }

  .tfStepNanoCapsulehaigo {
    margin-left: 0;
    margin-right: 0;
    gap: 20px;
  }

  .tfStepNanoCapsulehaigo li {
    width: 100%;
  }

  .tfStepNanoCapsulehaigoFlex {
    gap: 20px;
  }

  .tfStepNanoCapsulehaigoContents {
    width: calc(70% - 20px);
  }

  .tfStepNanoCapsulehaigoCat span {
    font-size: 12px;
  }

  .tfStepNanoCapsulehaigoEachTitle {
    font-size: 16px;
  }
}