@charset "UTF-8";
/* service today_delivery CSS */
.sec-today_delivery {
    container-type: inline-size;
    container-name: today_delivery;
}


.area-ttl{
    padding-bottom: 5px;
    border-bottom: 2px solid #009ab6;
    margin-bottom: 20px;
}

/* today-list */
.item-list{
    gap: 20px;
}
.item-list>li{
    width: calc(50% - 10px);
}

.today-link{
    width: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 1px 1px 10px rgb(0 0 0 / 25%);
    padding: 20px 10px 20px 180px;    
    background-color: #fff;

    background-image: url(../../img/service/bg-ondemand-back-blue.svg);
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
}
.today-link::before{
    content: "";
    display: block;
    width: 180px;
    height: 180px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}
.today-link.naga3::before{
    background-image: url(../../img/service/img-ondemand_naga3.png);
}
.today-link.kaku2::before{
    background-image: url(../../img/service/img-ondemand_kaku2.png);
}

.today-listitem>dt{
    text-align: center;
    white-space: nowrap;
    padding-bottom: 5px;
    position: relative;
}
.today-listitem>dt::before{
    content: "";
    display: block;
    width: calc(100% + 200px);
    height: 1px;
    background-image: linear-gradient(to left, #1ec8ee 50%, transparent 50%);
    background-size: 2px 1px;
    background-repeat: repeat-x;
    position: absolute;
    bottom: 7px;
    right: 0;
}

.price-num{
    letter-spacing: -0.05em;
    width: fit-content;
    margin: 0 auto;
    padding-top: 10px;
}
.price-num::before{
    content: "@";
    font-size: 60%;
}
.price-num::after{
    content: "円(税込)～";
    font-size: 50%;
    letter-spacing: 0;
    padding-left: 5px;
}

.notes-area{
    background-color: var(--bg-page);
    padding: 30px;
    gap: 40px;
    border-radius: 30px;
    position: relative;
}
.notes-area::before{
    content: "";
    display: block;
    width: 1px;
    height: calc(100% - 60px);
    background-color: var(--color-border);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
}
.item-notes{
    width: calc(50% - 20px);
}

@media (min-width: 768px) {
    .today-link{
        transition: all 0.3s ease;
    }
    .today-link:hover {
        box-shadow: 8px 8px 15px rgb(0 0 0 / 20%);
        transform: translateY(-2px);
    }
}

@container today_delivery (max-width:810px){
    .today-link {
        padding: 160px 10px 10px;
    }
    .today-link::before {
        width: 160px;
        height: 160px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

@container today_delivery (max-width:600px){
    .item-notes {
        width: 100%;
    }
    .notes-area {
        padding: 20px;
        border-radius: 20px;
        gap: 20px;
    }
    .notes-area::before {
        display: none;
    }
}

@container today_delivery (max-width:400px){
    .item-list {
        gap: 10px;
    }
    .item-list>li {
        width: 100%;
    }
    .today-link {
        padding: 20px 10px 20px 140px;
    }
    .today-link::before {
        width: 140px;
        height: 140px;
        top: 50%;
        left: 5px;
        transform: translateY(-50%);
    }
}