<!-- 見出し -->
<h2 class="sectitle">流れ(ステップ)</h2>
<div class="step_box">
  <div class="step_in">
    <ul>
      <li>
        <!-- 画像 -->
        <div class="stepimg">
          <!-- ステップ番号 -->
          <span class="stepNumber">01</span>
          <img src="https://kabuyui-wp.com/wp-content/uploads/2017/07/yakusoku1.jpg" alt="">
        </div>
        <!-- タイトル -->
        <span class="stepTitle">流れ(STEP)</span>
        <!-- 文章 -->
        <p>文章文章文章文章文章文章文章文章文章文章</p>
      </li>
</ul>
</div>
</div>
/* style.css 1942-1954行目 */
.sectitle {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 1em;
    margin-top: 1em;
}

@media (max-width: 763px)
.sectitle {
    font-size: 24px;
}

/*h2タグ 大見出し  style.css 388-423行目*/
h2 {
    clear: both;
    font-size: 32px;
    margin: 1em 0 1em;
    padding: 8px 24px;
    text-align: center;
}

@media (max-width:736px) {
    h2 {
        margin: 0em 0em 0em;
        padding: 8px 8px;
        font-size: 24px;
        line-height: 1;
    }
}

/*流れ(STEP) 2691-2806行目
----------------------------------------------------------------------------*/

.step_box {
    width: 100%;
}

.stepimg {
    text-align: center;
}

.step_in {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.step_in ul li {
    width: 23%;
    margin-left: auto;
    float: left;
    margin-right: auto;
    position: relative;
    margin: 40px 0px 0 4px;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.5;
    padding: 8px 8px;
    min-height: 300px;
}

@media (max-width:1028px) and (min-width: 764px) {
    .step_in ul li {
        width: 30%;
        min-height: 245px;
    }

}

.step_in ul:after,
.step_in ul:before {
    clear: both;
    content: "";
    display: block;
}

.step_in ul li p {
    padding: 0 8px;
    margin-top: 0;

}

.stepNumber {
    position: absolute;
    top: -14px;
    left: -8px;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #ff9800;
    text-align: center;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.29;
}

@media (max-width: 763px) {
    .stepNumber {
        top: -25px;
    }
}

@media (max-width: 763px) {
    .step_in ul li {
        width: 90%;
        margin-left: auto;
        float: none;
        margin-right: auto;
        position: relative;
        margin: 8px auto;
        background-position: bottom;
        padding: 0px 0 0px 0;
    }

    .step_in ul li:first-child {
        margin-top: 2.5em;
        margin-bottom: 4em;
    }

    .step_in ul li:second-child {
        margin-top: 2.5em;
    }
}

.stepTitle {
    background-color: #ffffff;
    color: #ff9800;
    margin-top: 8px;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0;
    display: table;
    margin: 8px auto 0;
    padding: 4px 8px;
    border-radius: 3px;
    width: 94%;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.