/* ============================================================
   common-flow: お申し込み・手続きの流れ 共通コンポーネント
   構造：.common-flow > .common-flow__item > dt + dd
   ============================================================ */

.common-flow {
  width: 100%;
}

/* 各ステップ */
.common-flow__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  border-bottom: 1px solid #d6c7be;
  position: relative;
}

/* ステップ間の矢印 */
.common-flow__item::before {
  content: '';
  width: 40px;
  height: 40px;
  background: url(../img/common/ico_arrow_circle-brown.png) no-repeat 0 0 / 100%;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

/* 最後のステップは区切り線・矢印なし */
.common-flow__item:last-child {
  border: none;
}

.common-flow__item:last-child::before {
  content: none;
}

/* STEP番号 */
.common-flow__item > dt {
  background-color: #f4e8e1;
  width: 18%;
  padding: 50px 0;
  text-align: center;
  color: #55433b;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
}

.common-flow__item > dt span {
  font-size: 14px;
  font-weight: normal;
  display: block;
  position: relative;
  left: -2px;
}

/* 本文エリア */
.common-flow__item > dd {
  width: 82%;
  padding: 50px 0 50px 4%;
}

/* タイトル */
.common-flow__item > dd > h3,
.common-flow__item .common-flow__body > h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 15px;
  color: #55433b;
}

/* 小見出し */
.common-flow__item > dd > h4,
.common-flow__item .common-flow__body > h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 10px;
  color: #55433b;
}

/* テキスト */
.common-flow__item > dd > p,
.common-flow__item .common-flow__body > p {
  line-height: 1.8;
  margin: 0 0 20px;
}

.common-flow__item > dd > p:last-child,
.common-flow__item .common-flow__body > p:last-child {
  margin-bottom: 0;
}

.common-flow__item p small {
  font-size: 12px;
}

.common-flow__item .btn,
.common-flow__item .btn:hover {
  color: #fff;
  text-decoration: none;
}

/* PC */
@media (min-width: 769px) {
  .common-flow__item::before {
    width: 50px;
    height: 50px;
    bottom: -25px;
    left: calc(50% - 25px);
  }

  .common-flow__item > dt {
    width: 160px;
    padding: 80px 0 0;
    font-size: 48px;
  }

  .common-flow__item > dt span {
    font-size: 16px;
  }

  .common-flow__item > dd {
    width: calc(100% - 160px);
    padding: 80px 0 92px 48px;
  }

  .common-flow__item > dd > h3,
  .common-flow__item .common-flow__body > h3 {
    font-size: 22px;
  }

  .common-flow__item > dd > p,
  .common-flow__item .common-flow__body > p {
    font-size: 1em;
  }
}
