body {
    background-color: #F8F5E6;
    color: #3E3A39;
    font-family: "Noto Sans JP", sans-serif;
}

a {
    text-decoration: none;
    color: #3E3A39;
}

img {
    width: 100%;
}

header {
    background: url('./images/head_bg.png')center top / contain no-repeat;
    padding: 2.628% 15px;
}

header img {
    max-width: 1200px;
    display: block;
    margin: 0 auto;
}

main {
    padding: 0 15px;
    width: calc(100% - 30px);
    max-width: 1200px;
    margin: 0 auto;
}

main img {
    width: 100%;
    max-width: 1200px;
    display: block;
}

.btnarea {
    margin: 90px 0 70px;
}

.btnarea .btn {
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.btnarea .btn a {
    border-radius: 10px;
    padding: 30px 20px;
    display: block;
    font-size: 30px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #9B0000;
    background: #9B0000;
    color: #fff;
    transition: all .2s ease-out;
}

.btnarea .btn a:hover {
    background: #fff;
    color: #9B0000;
    transition: all .2s ease-out;
}

.ft {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 5px;
}

ul.ft {
    padding-bottom: 5px;
    border-bottom: 1px solid #595757;
}

li.ft,
a.ft {
    padding-bottom: 5px;
    border-bottom: 1px dashed #595757;
    align-items: center;
}

a.ft:hover {
    opacity: 0.5;
}

ul.ft small {
    font-weight: normal;
    font-size: 18px;
}

.ft li,
.ft div {
    text-align: center;
    flex: 0 0 14.2%;
    font-weight: bold;
}

.ft li {
    font-size: 2vw;
    align-self: center;
}

.ft div {
    font-size: 2vw;
}

.ft li:first-child,
.ft div:first-child {
    flex: 0 0 18%;
}

.ft li:nth-child(2),
.ft div:nth-child(2) {
    flex: 0 0 14.2%;
}

.ft li:nth-child(3),
.ft div:nth-child(3) {
    flex: 0 0 13%;
}

.ft li:nth-child(4),
.ft div:nth-child(4) {
    flex: 0 0 10.3%;
}

.ft li:nth-child(5),
.ft div:nth-child(5) {
    flex: 0 0 18%;
}

.ft li:last-child,
.ft div:last-child {
    flex: 0 0 18%;
}


.pnum span {
    background: #3E3A39;
    color: #fff;
    padding: 3px 11px 2px;
    font-size: 2.75vw;
    line-height: 1;
    display: inline-block;
    margin-right: 10px;
}

.shape img {
    margin: 15px 0;
}

.pnum span,
div.price,
div.num {
    font-weight: 900;
    font-family: "Roboto", sans-serif;
}

div.price {
    font-style: italic;
    font-size: 3.285vw;
    color: #d85335;
}

div.price span {
    font-size: 15px;
    font-weight: normal;
    display: block;
    text-align: right;
    padding-right: 30px;
    font-style: normal;
    margin-top: -5px;
    color: #3E3A39;
}

li.price span {
    display: block;
    font-weight: normal;
    font-size: 19px;
    margin-top: -6px;
    letter-spacing: -0.2rem;
    text-indent: -0.4rem;
}

div.num {
    font-size: 3.285vw;
    text-align: center;
    color: #0c3388;
    font-style: italic;
}

div.num .l {
    font-size: 6.4vw;
}

div.num .dc {
    display: block;
    font-size: 27px;
    color: #231815;
    text-align: right;
    padding-right: 20px;
    margin-top: -10px;
}

.ctxt {
    padding: 100px 0 0px 10px;
    font-size: 23px;
    line-height: 37px;
    margin-bottom: 10px;
}

.ctxt+.ctxt {
    padding: 0px 0 60px 10px;
}

.sp {
    display: none;
}

.bbmate {
    border: 1px solid #3E3A39;
    padding: 15px 40px 15px 15px;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 2.8%;
    width: 80%;
}

.back {
    margin-bottom: 40px;
    text-align: center;
}

.back a {
    display: inline-block;
    font-size: 26px;
    text-decoration: underline;
    font-weight: bold;
    color: #458AB1;
    transition: all 1s ease-out;
}

.back a:visited {
    color: #0c3388;
}
.back a:hover {
    color: #3E3A39;
    text-decoration: none;
    transition: all 1s ease-out;
}

/* sp */
@media screen and (max-width: 825px) {
    .sp {
        display: inline-block;
        margin-left: 0.4rem;
    }

    .bbmate {
        width: calc(100% - 55px);
    }

    .ft {
        flex-wrap: wrap;
        gap: 0;
    }

    ul.ft {
        display: none;
    }

    a.ft {
        padding-bottom: 20px;
        margin-bottom: 30px;
    }

    .ft div {
        text-align: center;
        flex: 0 0 100% !important;
    }

    .ft div {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .ft li:first-child,
    .ft div:first-child {
        order: 2;
        margin-bottom: 25px;
    }

    .ft li:nth-child(2),
    .ft div:nth-child(2) {
        order: 1;
        margin-bottom: 0;
    }

    .ft li:nth-child(3),
    .ft div:nth-child(3) {
        order: 3;
    }

    .ft li:nth-child(4),
    .ft div:nth-child(4) {
        order: 4;
    }

    .ft li:nth-child(5),
    .ft div:nth-child(5) {
        order: 6;
    }

    .ft li:last-child,
    .ft div:last-child {
        order: 5;
        flex: 0 0 77% !important;
        padding: 5px 0;
        margin: 0 auto 10px;
        background: #0c3388;
        color: #fff;
    }

    .pnum span {
        display: block;
        margin-right: 0;
        font-size: 38px;
    }

    .shape img {
        margin: 15px 0 0;
    }

    .lenghs {
        display: none;
    }

    div.mate {
        font-size: 20px;
    }

    div.mate span {
        display: inline-block;
        font-size: inherit;
        margin-left: 0.4rem;
    }

    div.price {
        font-size: 62px;
    }

    div.price span {
        text-align: center;
        padding-right: 0;
        margin-top: 0;
    }

    div.num .l {
        font-size: inherit;
    }

    div.num .dc {
        display: inline;
        font-size: inherit;
        color: #fff;
        text-align: left;
        padding-right: 0;
        margin-top: 0;
        margin-left: 1rem;

    }

    .ctxt {
        padding: 0;
    }

    .ctxt li {
        font-size: 15px;
    }

    .btnarea .btn a {
        font-size: 20px;
    }

    .btnarea {
        margin: 50px 0 60px;
    }
}


@media screen and (min-width: 1290px) {

    .ft div,
    .ft li {
        font-size: 26px;
    }

    .pnum span {
        font-size: 38px;
    }

    div.price,
    div.num {
        font-size: 42px;
    }

    div.num .l {
        font-size: 61px;

    }
}