@charset "UTF-8";

/* ==========================================================================
   Delivery Type Page Styles
   ========================================================================== */

/* Hero Section
   ========================================================================== */
.p-delivery-type-hero {
    position: relative;
    width: 100%;
    /* height: 300px; */

    /* background-image: url(../../img/common/footerbg.jpg); */
    /* background-size: cover; */
    /* background-position: center; */
    display: flex;
    align-items: center;
    justify-content: center;
}



.p-delivery-type-hero__inner {
    /* position: relative; */
    /* z-index: 1; */
    /* text-align: center; */
    /* color: #fff; */
    position: relative;
    width: 100%;
    height: auto;
    /* overflow: hidden; */
    margin-bottom: 20px;
    margin-top: 140px;
    text-align: center;
}

.p-delivery-type-hero__title {
    text-align: center;
    font-family: var(--font-shippori);
    font-size: 32px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    font-weight: 500;
}

.p-delivery-type-hero__subtitle {
    font-family: var(--font-gothic);
    font-size: 14px;
    letter-spacing: 0.05em;
    opacity: 0.9;

}

@media screen and (max-width: 767px) {
    .p-delivery-type-hero__inner {
        margin-top: 80px;
    }

    .p-delivery-type-hero {}

    .p-delivery-type-hero__title {
        font-size: 20px;
    }

    .p-delivery-type-hero__subtitle {
        font-size: 14px;
    }
}

/* Content Section
   ========================================================================== */
.p-delivery-type-content {
    padding: 80px 0;

}

.p-delivery-type-content__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

@media screen and (max-width: 767px) {
    .p-delivery-type-content {
        padding: 60px 0;
    }
}

/* Section Components
   ========================================================================== */
.p-delivery-type-section {
    margin-bottom: 80px;
}

.p-delivery-type-section:last-child {
    margin-bottom: 0;
}

.p-delivery-type-section__title {
    font-size: 22px;
    font-weight: 700;
    font-family: "Shippori Mincho", serif;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.p-delivery-type-section__title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 1px;

    /* Accent color if needed, sticking to neutral for now */
    border-bottom: 2px solid #333;
}

.p-delivery-type-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
    .p-delivery-type-section {
        margin-bottom: 60px;
    }

    .p-delivery-type-section__title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .p-delivery-type-text {
        font-size: 14px;
    }
}

/* Description List (DL) Styles
   ========================================================================== */
.p-delivery-type-dl {
    border-top: 1px solid #eee;
}

.p-delivery-type-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

.p-delivery-type-row dt {
    width: 25%;
    padding: 20px;
    background-color: #f9f9f9;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.p-delivery-type-row dd {
    width: 75%;
    padding: 20px;
    line-height: 1.8;
}

@media screen and (max-width: 767px) {
    .p-delivery-type-row {
        display: block;
    }

    .p-delivery-type-row dt {
        width: 100%;
        padding: 15px;
        background-color: #f5f5f5;
        font-size: 14px;
    }

    .p-delivery-type-row dd {
        width: 100%;
        padding: 15px;
        font-size: 14px;
    }
}

/* Table Styles (Responsive Scroll)
   ========================================================================== */
.p-delivery-type-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
}

.p-delivery-type-table th,
.p-delivery-type-table td {
    padding: 15px;
    border: 1px solid #ccc;
    text-align: left;
    font-size: 16px;
}

.p-delivery-type-table th {
    background-color: #f5f5f5;
    font-weight: 700;
    width: 20%;
    white-space: nowrap;
}

.p-delivery-type-table td {
    background-color: #fff;
}

/* SP Horizontal Scroll Implementation */
@media screen and (max-width: 767px) {
    .p-delivery-type-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin-top: 20px;
        /* Optional: Scroll hint shadow */
        background:
            linear-gradient(to right, white 30%, rgba(255, 255, 255, 0)),
            linear-gradient(to left, white 30%, rgba(255, 255, 255, 0)) 100% 0,
            radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)),
            radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 100% 0;
        background-repeat: no-repeat;
        background-color: white;
        background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
        background-attachment: local, local, scroll, scroll;
    }

    .p-delivery-type-table {
        width: max-content;
        /* Ensure table expands based on content width */
        min-width: 100%;
    }

    .p-delivery-type-table th,
    .p-delivery-type-table td {
        white-space: nowrap;
        /* Prevent line breaks in cells */
        font-size: 14px;
        padding: 10px;
    }
}