@charset "utf-8";
@import url("root.css");
/***************************************
-------------- CONTACT --------------
***************************************/
.page_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto 60px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border: 2px solid var(--base-color01);
    background: #fff;
    padding: 5%;
}

#purchase h2 {
    margin-bottom: 30px;
}
#purchase .step {
    margin-bottom: 60px;
    display: grid;
    grid-template-rows: calc(2rem * 1.7) 1fr;
    grid-template-columns: 67.5% 30%;
    grid-template-areas:
        "h3  img"
        "txt img";
    justify-content: space-between;
    grid-row-gap: 15px;
    position: relative;
}
.step_txt {
    grid-area: txt;
}
.step_txt p {
    text-align: justify;
}
.step_img {
    grid-area: img;
}
#purchase .step:not(:last-of-type)::after {
    content: "";
    position: absolute;
    bottom: -45px;
    right: calc(50% - 15px);
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    width: 30px;
    height: 45px;
    background: url(../img/arrow_bl.svg) no-repeat;
    background-size: contain;
    background-position: center;
}
#purchase h3 {
    grid-area: h3;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.0;
    padding-bottom: 5px;
    color: var(--base-color01);
    border-bottom: 2px solid var(--base-color01);
}
#purchase h3 span {
    display: block;
    text-align: center;
    line-height: 1.0;
    width: 64px;
    color: #fff;
    font-weight: normal;
    margin-right: 10px;
    padding: 5px;
    background: var(--base-color01);
}
/* =======================
  PC
======================== */
@media screen and (min-width: 1200px) {}
/* =======================
  TABLET
======================== */
@media screen and (max-width:1199px) {
}
/* =======================
  SP
======================== */
@media screen and (max-width: 599px) {
    #purchase .step {
        display: flex;
        flex-wrap: wrap;
    }
    #purchase .step h3 { order: 1;}
    #purchase .step .step_img { order: 2;}
    #purchase .step .step_txt { order: 3;}
}






