@charset "utf-8";

/* ==========================================================================
   #cont4 フルリノが選ばれる理由
   ※ 旧 LP (lp-webconsul-delete-merit02) を移植
   ========================================================================== */

/* ---- 共通ユーティリティ (旧 LP base.css 由来) ---------------------------- */
#cont4 .sky { color: #1a6fc9; }
#cont4 .bold { font-weight: 900; }

/* .cont 共通余白 */
#cont4 {
  padding: min(10%, 100px) 0;
  overflow: hidden;
  text-align: center;
  font-family: var(--font-jp);
  color: var(--color-text);
  background: #fff;
}
#cont4 .inner {
  max-width: 960px;
  width: 94%;
  margin: auto;
}

/* タイトル marker (黄色アンダーライン) */
#cont4 .marker {
  position: relative;
  z-index: 1;
}
#cont4 .marker:after {
  content: "";
  display: block;
  width: 100%;
  height: 0.4em;
  background-color: #f8e760;
  position: absolute;
  bottom: 0.1em;
  left: 0;
  z-index: -1;
  transform: skewX(-15deg);
}

/* h2 .tit (右上スクリブル付) */
#cont4 .tit {
  font-size: min(4.4vw, 44px);
  letter-spacing: 0.1em;
  padding: 0.1em;
  position: relative;
  font-weight: 900;
}
#cont4 .tit:before {
  content: "";
  display: block;
  width: 0.7em;
  height: 0.7em;
  background: url("../images/cont4/h2-deco.png") no-repeat right top;
  background-size: 100% auto;
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(60%, -20%);
}
#cont4 .tit .small {
  font-size: min(4vw, 40px);
}

/* lead 文 */
#cont4 .lead {
  margin-top: min(5%, 50px);
  font-size: min(2vw, 20px);
  font-weight: bold;
  letter-spacing: 0.1em;
  padding-left: 0.1em;
  line-height: 1.7;
}

/* ---- 3 reason リスト ---------------------------------------------------- */
#cont4 .reason {
  margin-top: min(3%, 30px);
  list-style: none;
  padding: 0;
}
#cont4 .reason li {
  padding: min(4%, 40px) 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
#cont4 .reason li:nth-child(n + 2) {
  border-top: 2px dotted #d5d5d5;
}
#cont4 .reason li:last-child {
  padding-bottom: 0;
}
#cont4 .reason li figure {
  width: 34%;
  position: relative;
  margin: 0;
}
#cont4 .reason li figure img {
  width: 100%;
  height: auto;
  display: block;
}
#cont4 .reason li figure .num {
  width: 2.5em;
  height: 2.5em;
  line-height: 2.3;
  font-size: min(2.2vw, 22px);
  font-weight: 900;
  color: #fff;
  text-align: center;
  background: url("../images/cont4/num.png") no-repeat center center;
  background-size: 100% auto;
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-30%, -30%);
}
#cont4 .reason li section {
  width: 58%;
  text-align: left;
}
#cont4 .reason li section h3 {
  font-size: min(2.8vw, 28px);
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0;
  line-height: 1.5;
}
#cont4 .reason li section h3 .sky {
  display: block;
}
#cont4 .reason li section p {
  margin-top: 1em;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

/* ==========================================================================
   SP (~750px以下)
   ========================================================================== */
@media screen and (max-width: 750px) {
  #cont4 {
    padding: 15% 0;
  }
  #cont4 .inner {
    width: 90%;
  }
  #cont4 .marker:after {
    height: 0.3em;
    bottom: 0.15em;
  }
  #cont4 .tit {
    font-size: 6.4vw;
  }
  #cont4 .tit .small {
    font-size: 5.3vw;
  }

  #cont4 .lead {
    line-height: 1.7;
    margin-top: 9%;
    font-size: 3.7vw;
  }
  #cont4 .reason {
    margin-top: 5%;
  }
  #cont4 .reason li {
    padding: 5% 0;
    display: block;
  }
  #cont4 .reason li:nth-child(n + 2) {
    border-top: none;
  }
  #cont4 .reason li figure {
    width: auto;
    position: relative;
  }
  #cont4 .reason li figure .num {
    width: 3em;
    height: 3em;
    line-height: 2.9;
    font-size: 3.4vw;
  }
  #cont4 .reason li section {
    width: auto;
  }
  #cont4 .reason li section h3 {
    margin-top: 0.5em;
    font-size: 4.8vw;
    text-align: center;
    letter-spacing: 0.1em;
    padding-left: 0.1em;
  }
  #cont4 .reason li section p {
    margin-top: 1em;
    letter-spacing: 0.1em;
  }
}

/* ==========================================================================
   fadein アニメーション (旧 LP base.css 由来 / IntersectionObserver で .scrollin 付与)
   ========================================================================== */
.fadein {
  opacity: 0;
  transform: translate(0, 40px);
  transition: transform 1s, opacity 1s;
}
.fadein_l {
  opacity: 0;
  transform: translate(-50px, 0);
  transition: transform 1s, opacity 1s;
}
.fadein_r {
  opacity: 0;
  transform: translate(50px, 0);
  transition: transform 1s, opacity 1s;
}
.fadein.scrollin,
.fadein_l.scrollin,
.fadein_r.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}
/* 連続要素のスタガー (delay) */
.delay1 { transition-delay: 0.15s; }
.delay2 { transition-delay: 0.3s; }
.delay3 { transition-delay: 0.45s; }
.delay4 { transition-delay: 0.6s; }
