:root {
    /*--primary-color: #;*/
    --secondary-color: #ffffff;
    --border-color: #C8C8C8;
    --backgroundcolor: #F5F5F0;
    --backgroundcolor-sub: rgba(40, 160, 170, 0.1);
    --text-color: #121212;
}

header {
    background-image: url("../img/delivery/img-head-haitatsu@2x.webp");
    max-height: unset !important;
}

/*SP*/
@media screen and (max-width: 576px) {
    header {
        background-position: 65% 30%;
    }

    .header-icon {
        width: auto;
        height: 16rem;
    }
}

a {
    color: #239EA8;
}

.ribbon {
    width: 330px;
    height: 48px;
    background-image: url("../img/delivery/img-ribbon.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    left: -12px;
    padding-left: 12px;
    font-size: 2.4rem;
    color: #FFF;
    white-space: nowrap;
    font-weight: 600;
    display: flex;
    align-items: center;
    z-index: 10;
    position: relative;
    top: 25px;
}

.ribbon:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 12px transparent;
    border-right: solid 12px rgba(180, 50, 50, 1);
}

.btn-purchase {
    height: 56px;
    font-weight: 600;
    font-size: 18px;
    background-color: #F09628;
    border-color: #F09628;
    border-radius: 28px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin-top: 2.4rem;
}

.btn-purchase:hover {
    background-color: rgba(240, 150, 40, 0.5) !important;
    border-color: rgba(240, 150, 40, 0.5) !important;
}

.btn-purchase:active {
    background-color: rgba(240, 150, 40, 0.5) !important;
    border-color: rgba(240, 150, 40, 0.5) !important;
}

.price {
    font-size: 3.2rem;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.new {
    font-size: 2.4rem;
    line-height: 36px;
    position: relative;
    top: 25px;
    background: #F09628;
    border-radius: 50px;
    z-index: 100;
    width: 142px;
}

.header-row {
    display: flex;
}

@media (max-width: 680px) {
    .header-row {
        display: block;
    }
}

.badge-purchase {
    color: #121212;
    background-color: #F5F5F0;
    border-radius: 25px;
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2.4rem;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

@media screen and (max-width: 1090px) {
    .badge-purchase {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .badge-purchase {
        font-size: 2.4rem;
    }

    #news ul {
        font-size: 1.5rem !important;
    }

    #news ul li div {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        white-space: unset !important;
    }
}

@media screen and (max-width: 420px) {
    .badge-purchase {
        font-size: 2rem;
    }

    #news ul {
        font-size: 1.5rem !important;
        padding: 16px !important;
    }

    #news ul li div {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        white-space: unset !important;
    }
}

.header-pc {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #F5F5F0;
    padding: 16px 0;
    z-index: 1000;
}

.header-pc .nav-item a:hover {
    color: #006400;
}

.nav-item a {
    color: #121212;
    font-size: 24px;
    font-weight: bold
}

.header-sp {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #F5F5F0;
    padding: 16px;
    z-index: 1000;
    display: none;
}


header .header-content {
    padding-top: 240px;
    padding-bottom: 80px;
}

.modal.fade.show {
    display: flex !important;
    justify-content: end;
}

.modal-dialog {
    margin: unset !important;
}

.modal-content {
    height: 100vh !important;
    background-color: #F5F5F0 !important;
    font-size: 2rem;
    font-weight: bold;
}

.modal-header {
    border: unset;
}

.modal.fade .modal-dialog {
    transform: translate(50px, 0);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-dialog a {
    color: #000000;
    line-height: 56px;
}

.modal-body div {
    width: 200px;
    padding-left: 16px;
}

@media (max-width: 991.98px) {
    .header-content {
        padding-top: 100px !important;
    }

    .header-content .col-lg, .header-content h1 {
        text-align: center !important;
    }

    .header-content h1 {
        margin-bottom: 48px !important;
    }

    .header-content .col-lg .appli-dl-area {
        display: none !important;
    }

    .header-content .col-md .appli-dl-area {
        display: block !important;
    }

    .header-pc {
        display: none;
    }

    .header-sp {
        display: flex !important;
    }

    .introduction-example {
        max-width: 362px;
        width: 90%;
    }

    .introduction-example img {
        max-width: 362px !important;
        width: 100% !important;
    }
}

#news {
    background: var(--backgroundcolor-sub);
}

#news > div {
    max-width: 1000px;
    margin: auto;
    padding: 44px 24px;
}

#news ul {
    padding: 32px;
    font-size: 2.0rem
}

#news ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #C8C8C8;
    height: 60px;
}

#news ul li:last-child {
    border-bottom: unset;
}

#news ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

#news ul li a:hover {
    background-color: #F8FCFC;
}

#news ul li a > div {
    display: flex;
    align-items: center;
    color: var(--text-color);
    width: 90%;
}