@charset "utf-8";

/* ==========================================================================
   #feature 相談会でできること
   ※ 旧 LP の #cont3 デザインを移植
   ========================================================================== */

#feature {
  padding: min(10%, 100px) 0;
  background-color: #f8e760;
  overflow: hidden;
  text-align: center;
  font-family: var(--font-jp);
  color: var(--color-text);
}
#feature .inner {
  max-width: 960px;
  width: 94%;
  margin: auto;
}

/* タイトル */
#feature .tit {
  display: inline-block;
  font-size: min(3.6vw, 36px);
  letter-spacing: 0.1em;
  font-weight: 900;
  position: relative;
}
#feature .tit:before {
  content: "";
  display: block;
  width: 0.7em;
  height: 0.7em;
  background: url("../images/cont3_h2.png") no-repeat right top;
  background-size: 100% auto;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(60%, -20%);
}
#feature .tit .small {
  font-size: min(3.2vw, 32px);
}
#feature .marker {
  position: relative;
  z-index: 1;
}
#feature .marker:after {
  content: "";
  display: block;
  width: 100%;
  height: 0.4em;
  background-color: #fff;
  position: absolute;
  bottom: 0.1em;
  left: 0;
  z-index: -1;
  transform: skewX(-15deg);
}

/* リスト */
#feature .list {
  margin-top: min(5%, 50px);
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
}
#feature .list:after {
  content: "";
  display: block;
  width: min(12.6vw, 126px);
  padding-top: min(13.5vw, 135px);
  background: url("../images/cont3_bottom.png") no-repeat center bottom;
  background-size: 100% auto;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(18%, 34%);
}
#feature .list li {
  width: 49.5%;
  margin-top: 1%;
  padding: 1em 0 1em 3em;
  font-size: min(2vw, 20px);
  font-weight: 900;
  background-color: #fff;
  clip-path: polygon(1em 0, 100% 0, 100% 100%, 0 100%, 0 1em);
  text-align: left;
  letter-spacing: 0.1em;
  position: relative;
}
#feature .list li:before {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-color: #d9d9d9;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  position: absolute;
  left: 0;
  top: 0;
}
#feature .list li .num {
  display: inline-block;
  width: 3em;
  height: 3em;
  line-height: 2.9;
  margin-right: 0.3em;
  vertical-align: 0.3em;
  font-size: min(1.6vw, 16px);
  font-family: Helvetica Neue, Helvetica, sans-serif;
  text-align: center;
  color: #fff;
  letter-spacing: 0.04em;
  text-indent: 0.04em;
  background: url("../images/cont3_num.png") no-repeat center center;
  background-size: 100% auto;
}

/* 締めメッセージ */
#feature .last_mess {
  margin-top: min(5%, 50px);
}
#feature .last_mess .small {
  display: block;
  font-size: min(2vw, 20px);
  font-weight: 500;
  letter-spacing: 0.1em;
  padding-left: 0.1em;
}
#feature .last_mess .large {
  display: block;
  margin-top: 0.5em;
  font-size: min(3.2vw, 32px);
  font-weight: 900;
  letter-spacing: 0.1em;
  padding-left: 0.1em;
}

/* ==========================================================================
   SP (~750px以下)
   ========================================================================== */
@media screen and (max-width: 750px) {
  #feature {
    padding: 15% 0;
  }
  #feature .inner {
    width: 90%;
  }
  #feature .marker:after {
    height: 0.3em;
    bottom: 0.15em;
  }
  #feature .tit {
    font-size: 6.4vw;
  }
  #feature .tit .small {
    font-size: 5.3vw;
  }
  #feature .list {
    margin-top: 9%;
    display: block;
  }
  #feature .list:after {
    width: 22.4vw;
    padding-top: 25vw;
    transform: translate(10%, 10%);
  }
  #feature .list li {
    width: auto;
    padding: 1em 0 1em 1.5em;
    font-size: 4.2vw;
    clip-path: polygon(0.7em 0, 100% 0, 100% 100%, 0 100%, 0 0.7em);
  }
  #feature .list li:before {
    width: 0.7em;
    height: 0.7em;
  }
  #feature .list li .num {
    width: 2.5em;
    height: 2.5em;
    line-height: 2.4;
    font-size: 3.2vw;
    letter-spacing: 0.04em;
    text-indent: 0.04em;
  }
  #feature .last_mess {
    margin-top: 7%;
  }
  #feature .last_mess .small {
    font-size: 3.7vw;
  }
  #feature .last_mess .large {
    margin-top: 0.5em;
    font-size: 5.3vw;
  }
}
