* {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
    word-break: break-all;
    color: #333333;
}

#bicycle_sales_wrap {
    margin-left: 0.8em;
    margin-right: 0.8em;
}

.bicycle_sales_title img {
    width: 100%;
}

.bicycle_sales_text {
    font-weight: bold;
    text-align: center;
    line-height: 3.5rem;
    font-size: 25px;
    margin-bottom: 30px;
}

.bicycle_sales_links {
    display: flex;
    justify-content: space-between;
    font-size: 30px;
    gap: 20px;
    margin: 0 auto;
    margin-bottom: 30px;
    width: 95%;
}

.bicycle_sales_links a {
    flex: 1;
    text-align: center;
    background: #0060b2;
    color: #fff;
    text-decoration: none !important;
    padding: 20px 0;
    position: relative;
    background-image: linear-gradient(135deg, #ffed00 25px, transparent 0);
}

.bicycle_sales_links a:hover,
.bicycle_sales_category_links a:hover {
    opacity: 0.8;
}

h3.bicycle_sales_h3 {
    background: #0091e1;
    color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 30px;
}

h4.bicycle_sales_h4 {
    text-align: center;
    width: 60%;
    margin: 0 auto;
    border: 3px #0060b2 solid;
    border-radius: 50px;
    color: #0060b2;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 60px;
}

.bicycle_sales_size_table {
    width: max-content;
    margin: 0 auto;
}

.bicycle_sales_size_table table tr>* {
    border: 1px #000 solid;
    width: 30%;
    padding: 5px 30px;
    text-align: center;
}

.bicycle_sales_size_table table {
    border-collapse: collapse;
}

.bicycle_sales_size_table_unit {
    margin: 0;
    text-align: right;
}

.bicycle_sales_size_table_th1 {
    background: #0091e1;
    color: #fff;
    font-weight: normal;
}

.bicycle_sales_size_table_th2 {
    font-weight: normal;
    background: #ffed00;
}

.bicycle_sales_service_links {
    text-align: center;
}

.bicycle_sales_service_shoplist {
    font-size: 18px;
}

.bicycle_sales_service_shoplist ul {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.bicycle_sales_service_shoplist ul li:after {
    content: "・";
}

.bicycle_sales_service_shoplist ul li:last-child:after {
    display: none;
}

.bicycle_sales_service_shoplist a {
    text-decoration: none;
    color: #000;
}

.bicycle_sales_service_shoplist a:hover {
    text-decoration: underline;
}

/* 文字調整 start */
#bicycle_sales_step,
#bicycle_sales_category,
#bicycle_sales_size,
#bicycle_sales_service,
h3.bicycle_sales_h3 {
    letter-spacing: 0.1rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    margin-bottom: 30px;
}

h3.bicycle_sales_h3 br {
    display: none;
}

p.bicycle_sales_attention {
    font-size: 16px;
    font-weight: normal;
}

.bicycle_sales_clause::before {
    content: '・'
}

/* 文字調整 end */
/* =======================
  ステップバー :start
======================= */

.bicycle_sales_step_wrap {
    display: grid;
    justify-content: center;
}

.bicycle_sales_step_maintitle {
    text-align: center;
    font-size: 30px;
    font-size: 3rem;
    margin-bottom: 1.6em;
    position: relative;
    font-weight: 600;
}

.bicycle_sales_step_maintitle:before {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 7rem;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #80BE2D;
    border-radius: 2px;
}

#bicycle_sales_step {
    counter-reset: count;
    position: relative;
}

.step-content {
    padding: 1em 0 1em 2.5em;
    margin: 0;
    position: relative;
}

.step-content::before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    background: #0091e1;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: -6px;
}

.step-content::after {
    content: "";
    display: block;
    height: calc(100% - 55px);
    border-left: solid 2px #D3D3D3;
    position: absolute;
    top: 60px;
    left: 22px;
}

.step-content:last-child::after {
    display: none;
}

.step-label {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    position: absolute;
    top: 6px;
    left: 6px;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.1rem;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.step-label::after {
    counter-increment: count;
    content: counter(count);
    font-size: 28px;
    line-height: 1;
}

.step-title {
    font-weight: bold;
    font-size: 2rem;
    font-size: 20px;
    margin-left: 1.5em;
}

.step-body {
    margin-top: 1em;
    padding: 0 0 1.6em 2em;
    font-size: 1.6rem;
    font-size: 16px;
}

#bicycle_sales_step> :last-of-type::after {
    display: none;
}

.step-body img {
    max-width: 80%;
    margin-bottom: 1em;
    margin-top: 0.6em;
}

.bicycle_sales_category_links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 10px;
    row-gap: 20px;
}

.bicycle_sales_category_links a {
    display: grid;
    font-weight: bold;
    text-decoration: none;
    justify-content: center;
    justify-items: center;
    gap: 5px;
    color: #0060b2;
}

.bicycle_sales_category_links a img {
    border: 1px #808080 solid;
    width: 100%;
}

.bicycle_sales_size_links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 auto;
    margin-bottom: 30px;
    width: 95%;
}

.bicycle_sales_size_links a {
    background: #0060b2;
    text-align: center;
    color: #fff;
    text-decoration: none !important;
    font-size: 25px;
    border-radius: 5px;
    padding: 20px 0;
}

/* Safari start */
_::-webkit-full-page-media,
_:future,
:root .step-label {
    font-size: 10px;
    font-size: 1rem;
    top: 10px;
}

_::-webkit-full-page-media,
_:future,
:root .step-label::after {
    font-size: 26px;
    font-size: 2.6rem;
    left: 6px;
}

/* Safari end */
/* =======================
  重要事項 :start
======================= */

#bicycle_sales_important {
    padding: 1.5em;
    margin-top: 5em;
    margin-bottom: 2em;
    border: solid 3px #D3D3D3;
    border-radius: 10px;
    background-clip: padding-box;
    background: linear-gradient(-45deg, transparent 25%, rgba(200, 200, 200, 0.1) 25%, rgba(200, 200, 200, .1) 50%, transparent 50%, transparent 75%, rgba(200, 200, 200, .1) 75%, rgba(200, 200, 200, .1));
    background-size: 6px 6px;
}

#bicycle_sales_important_title {
    font-size: 22px;
    /*    font-size: 2.2rem;*/
    font-weight: 600;
    padding-bottom: 0.8em;
    text-align: center;
}

#bicycle_sales_important_title span::before {
    content: '';
    display: inline-block;
    background-image: url(../img/bicycle_sales/important.png);
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    padding-right: 10px;
}

#bicycle_sales_important p {
    padding-bottom: 0.3em;
}

#bicycle_sales_important p:last-child {
    padding-bottom: 0;
}

.bicycle_sales_text-red {
    color: #df5656;
    font-weight: 600;
}

/* =======================
  重要事項 :end
======================= */

.bicycle_sales_title {
    margin-bottom: 20px;
}

@media screen and (max-width:767px) {
    .bicycle_sales_size_table table tr>* {
        padding: 3px 0;
    }

    .bicycle_sales_links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bicycle_sales_links a {
        font-size: 18px;
        background-image: linear-gradient(135deg, #ffed00 15px, transparent 0);
    }

    .bicycle_sales_links a br {
        display: none;
    }

    h3.bicycle_sales_h3 {
        font-size: 24px;
    }

    h3.bicycle_sales_h3 br {
        display: block;
    }

    .bicycle_sales_category_links,
    .bicycle_sales_size_links {
        grid-template-columns: repeat(2, 1fr);
    }

    .bicycle_sales_attention {
        font-size: 16px;
        font-weight: normal;
        line-height: 1.5;
    }

    h4.bicycle_sales_h4 {
        width: 85%;
    }

    .bicycle_sales_service_shoplist {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .bicycle_sales_service_shoplist ul {
        flex-wrap: wrap;
    }

    #bicycle_sales_important {
        margin-top: 3em;
        padding: 1em;
    }

    #bicycle_sales_important_title {
        font-size: 18px;
        font-size: 1.8rem;
    }

    #bicycle_sales_important_title span::before {
        padding-right: 0px;
    }

    .bicycle_sales_text br {
        display: none;
    }

    .bicycle_sales_text {
        font-size: 20px;
        text-align: left;
    }

    .step-title br {
        display: none;
    }
}