@charset "UTF-8";

/* 特大デバイス（ワイド・デスクトップ, 1200px 以上）
============================================== */
@media (min-width: 1200px) {}

/* END */

/* 大デバイス（デスクトップ, 1200px 未満）
============================================== */
@media screen and (max-width: 1199.98px) {}

/* END */

/* 大デバイス（デスクトップ, 992px 以上）
==============================================*/
@media (min-width: 992px) {
  .main-img {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .flow > li {
    -ms-flex-preferred-size: 18%;
    flex-basis: 18%;
  }

  .flow > li dl {
    padding: 1rem;
    margin: 0;
    border: 3px solid #6b90db;
    position: relative;
  }

  .flow > li:not(:last-child) dl::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-right: 10px;
    display: inline-block;
    border-top: 4px solid #6b90db;
    border-right: 4px solid #6b90db;
    position: absolute;
    top: calc(50% - 14px);
    left: 104%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .flow > li dl dt {
    font-size: 20px;
    font-weight: 600;
    color: #6b90db;
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    margin-bottom: 1vh;
    text-align: center;
  }

  .step li:before {
    top: -12px;
    right: -1em;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 40px 0 40px 1rem;
    z-index: 10;
  }

  .step li:after {
    top: -12px;
    right: -.8em;
    border-style: solid;
    border-color: transparent transparent transparent #DBB96B;
    border-width: 40px 0 40px 1rem;
    z-index: 10;
  }
}

/* END */

/* 中デバイス（タブレット, 992px 未満）
============================================== */
@media screen and (max-width: 991.98px) {

  .header {
    height: auto;
  }

  .flow > li {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100% !important;
  }

  .flow > li dl {
    padding: 1rem;
    margin: 0;
    border: 3px solid #6b90db;
    position: relative;
  }

  .flow > li dl dt {
    font-size: 20px;
    font-weight: 600;
    color: #6b90db;
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
    margin-bottom: 1vh;
    text-align: center;
  }

}

/* 中デバイス（タブレット, 768px 以上 992px 未満）
============================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .step li:before {
    top: -.6rem;
    right: -1rem;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 50px 0 50px 1rem;
    z-index: 10;
  }

  .step li:after {
    top: -.6rem;
    right: -.9rem;
    border-style: solid;
    border-color: transparent transparent transparent #DBB96B;
    border-width: 50px 0 50px 1rem;
    z-index: 10;
  }
}

/* 中デバイス（タブレット, 768px 以上）
============================================== */
@media (min-width: 768px) {

  .step {
    list-style-type: none;
    display: table;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  .step li {
    display: table-cell;
    position: relative;
    background: #DBB96B;
    padding: 1em 0.5em 1em 2em;
    color: #fff;
  }

  .step li:last-child {
    padding-right: 1em;
  }

  .step li:last-child:before,
  .step li:last-child:after {
    display: none;
  }

  .step li:before,
  .step li:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin: auto;
  }

  .step li.is-current {
    background-color: #8F6F29;
    font-weight: bold;
  }

  .step li.is-current:after {
    border-color: transparent transparent transparent #8F6F29;
  }
}

/* END */


/* 小デバイス（横向きモバイル, 768px 未満）
============================================== */
@media (max-width: 767.98px) {

  .step {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .step li {
    position: relative;
    width: 100%;
    background-color: #DBB96B;
    padding: 1em;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
  }

  .step li::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -20px;
    left: 0;
    border-style: solid;
    border-color: #DBB96B transparent transparent transparent;
    border-width: 20px 170px 0 170px;
    z-index: 1;
  }

  .step li.is-current {
    background: #8F6F29;
    font-weight: bold;
  }

  .step li.is-current:after {
    border-color: #8F6F29 transparent transparent transparent;
  }
}

/* END */
