/* =========================================================
   Guide Common Styles
========================================================= */
.ec-guideRole {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    box-sizing: border-box;
    font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, Arial, sans-serif;
    color: #333;
    line-height: 1.7;
}

.guide-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.guide-lead,
.lead-text {
    font-size: 15px;
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.guide-section,
.fee-section,
.text-section,
.calendar-sim-section {
    margin-bottom: 56px;
}

.guide-section {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title,
.section-heading,
.sim-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    border-left: 5px solid #0066c0;
    background: #f9f9f9;
    padding: 10px 15px;
}

.desc-text,
.info-text,
.label-desc,
.step-text {
    font-size: 14px;
    margin-bottom: 16px;
}

.desc-text a,
.cancel-link {
    color: #0066c0;
    text-decoration: underline;
}

.note-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 18px;
    font-size: 13px;
}

.note-title {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.note-box.alert,
.alert-box {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    color: #cc0000;
    padding: 20px;
    border-radius: 6px;
}

.alert-box {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 14px;
}

.alert-title {
    font-weight: bold;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.text-alert {
    color: #cc0000;
    font-weight: bold;
}

.highlight {
    font-weight: bold;
    color: #0066c0;
    background: #f0f8ff;
    padding: 2px 6px;
    border-radius: 4px;
}

.img-responsive,
.instruction-image,
.label-image,
.main-image,
.delivery-map-img,
.square-image {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee;
}

.main-image,
.label-image,
.instruction-image,
.delivery-map-img {
    border-radius: 8px;
}

.square-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f5f5f5;
}

.btn-link,
.guide-btn,
.btn-track {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s ease;
}

.guide-btn {
    min-width: 260px;
    padding: 14px 24px;
    background: #333;
    color: #fff !important;
    border-radius: 4px;
    font-size: 15px;
}

.guide-btn.sub {
    background: #0066c0;
}

.btn-link:hover,
.guide-btn:hover,
.btn-track:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

/* =========================================================
   Membership / Account
========================================================= */
.membership-wrap,
.account-wrap {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.member-box,
.account-box {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 25px;
    background: #fff;
    box-sizing: border-box;
}

.member-box.rental {
    border: 2px solid #0066c0;
    background: #fdfdfd;
    position: relative;
}

.recommend-badge {
    background: #0066c0;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    position: absolute;
    top: -12px;
    left: 20px;
    font-weight: bold;
}

.member-box h3,
.account-box h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.member-list,
.account-list,
.info-list,
.note-list,
.desc-list,
.step-list,
.promo-list {
    margin: 0;
    padding: 0;
}

.member-list,
.account-list,
.note-list,
.desc-list,
.step-list,
.promo-list {
    list-style: none;
}

.member-list li,
.account-list li,
.info-list li {
    margin-bottom: 14px;
    font-size: 14px;
}

.member-list strong,
.account-list strong {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 4px;
    background: #eee;
    padding: 2px 6px;
    font-size: 12px;
}

/* =========================================================
   Definition / Delivery / Slip
========================================================= */
.definition-box {
    display: flex;
    gap: 20px;
    background: #f4f8fb;
    padding: 30px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

.def-item {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.def-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.def-main {
    font-size: 18px;
    font-weight: bold;
    display: block;
}

.def-icon {
    font-size: 24px;
    margin-bottom: 5px;
    display: block;
}

.def-ok {
    color: #0066c0;
}

.def-ng {
    color: #999;
    text-decoration: line-through;
}

.delivery-info-box {
    background: #f0f8ff;
    border: 1px solid #cce5ff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.delivery-lead {
    font-size: 18px;
    font-weight: bold;
    color: #0066c0;
    margin-bottom: 10px;
}

.delivery-carriers {
    font-size: 14px;
    color: #666;
}

.slip-info {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.slip-icon {
    font-size: 40px;
}

.slip-text h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0066c0;
}

.slip-text p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* =========================================================
   Contact
========================================================= */
.contact-container {
    border-top: 1px solid #eee;
    padding-top: 40px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    border: 1px solid #eee;
}

.contact-head {
    font-weight: bold;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.head-yamato {
    border-bottom-color: #199b58;
    color: #199b58;
}

.head-yupack {
    border-bottom-color: #de0010;
    color: #de0010;
}

.contact-row {
    margin-bottom: 8px;
    font-size: 14px;
}

.tel-link {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.sub-text {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 2px;
}

/* =========================================================
   Packing
========================================================= */
.packing-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.target-badge {
    display: inline-block;
    background: #333;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.step-list {
    counter-reset: packing-step;
}

.step-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item::before {
    counter-increment: packing-step;
    content: counter(packing-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    background: #0066c0;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 34px;
    font-weight: bold;
    font-size: 16px;
}

.step-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

/* =========================================================
   Label / Image
========================================================= */
.label-image-box,
.main-image-box,
.map-section {
    text-align: center;
    margin-bottom: 50px;
}

.label-image-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
}

.label-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.label-name {
    font-size: 18px;
    font-weight: bold;
    color: #0066c0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.label-icon {
    font-size: 24px;
    margin-right: 10px;
}

.check-point {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.check-point span {
    color: #cc0000;
}

.square-image-wrap {
    max-width: 420px;
    margin: 32px auto 0;
}

/* =========================================================
   Location / Legend
========================================================= */
.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.location-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.location-icon,
.ng-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #0066c0;
}

.check-mark {
    color: #34c759;
    font-size: 14px;
    margin-top: 5px;
}

.ng-box {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    color: #cc0000;
}

.legend-box {
    display: inline-flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

.color-box {
    width: 40px;
    height: 20px;
    border-radius: 4px;
    margin-right: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-green {
    background-color: #79c06e;
}

.color-beige {
    background-color: #f4babe;
}

/* =========================================================
   Time Section / Tracking
========================================================= */
.time-section {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    border: 1px solid #eee;
}

.carrier-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.carrier-logo-text {
    font-size: 20px;
    font-weight: bold;
}

.carrier-yamato {
    color: #199b58;
    border-bottom-color: #199b58;
}

.carrier-yupack {
    color: #de0010;
    border-bottom-color: #de0010;
}

.time-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.time-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 15px;
    min-width: 130px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-icon {
    font-size: 18px;
    margin-bottom: 5px;
    color: #555;
}

.time-text {
    font-weight: bold;
    font-size: 14px;
}

.btn-track {
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    margin-top: 15px;
}

.btn-yamato {
    background: #199b58;
    color: #fff;
}

.btn-yupack {
    background: #de0010;
    color: #fff;
}

.contact-info {
    margin-top: 20px;
    font-size: 13px;
    text-align: left;
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #eee;
    display: inline-block;
    max-width: 100%;
}

.contact-title {
    font-weight: bold;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: block;
}

/* =========================================================
   Fee Table
========================================================= */
.section-note {
    font-size: 12px;
    font-weight: normal;
    color: #666;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.fee-table th,
.fee-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.fee-table th {
    background-color: #f0f8ff;
    color: #0066c0;
    font-weight: bold;
    width: 30%;
}

.fee-table td {
    background-color: #fff;
    font-weight: bold;
}

.col-condition {
    text-align: left !important;
    background-color: #f9f9f9 !important;
    color: #333 !important;
    width: 40% !important;
}

.price-free {
    color: #0066c0;
    font-size: 18px;
}

.price-pay {
    color: #333;
    font-size: 16px;
}

.price-other {
    color: #666;
    font-size: 14px;
}

/* =========================================================
   Promo / Notes
========================================================= */
.note-list li {
    margin-bottom: 10px;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.note-list li::before {
    content: "＊";
    color: #cc0000;
    font-weight: bold;
    margin-right: 5px;
}

.delivery-promo-box {
    border: 2px solid #0066c0;
    border-radius: 8px;
    padding: 30px;
    background: #f0f8ff;
    margin-top: 60px;
}

.promo-title {
    font-size: 18px;
    font-weight: bold;
    color: #0066c0;
    margin-bottom: 15px;
    text-align: center;
}

.promo-desc {
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.promo-list {
    margin: 0 auto;
    max-width: 500px;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
}

.promo-list li {
    margin-bottom: 10px;
    font-weight: bold;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}

.promo-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.promo-highlight {
    color: #cc0000;
    font-size: 1.1em;
}

/* =========================================================
   Calendar Simulation
========================================================= */
.sim-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.sim-calendar {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.cal-row {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 10px;
}

.cal-day {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background: #f5f5f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cal-day.selected {
    background: #0066c0;
    color: #fff;
}

.day-num {
    font-weight: bold;
    font-size: 16px;
}

.day-price {
    font-size: 10px;
    margin-top: 2px;
}

.day-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #0066c0;
    font-weight: bold;
    white-space: nowrap;
}

.sim-calc {
    flex: 1;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.calc-total {
    border-top: 2px solid #ccc;
    margin-top: 15px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
    color: #cc0000;
}

.button-desc-area {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
}

.btn-sample-box {
    flex: 1;
    text-align: center;
    max-width: 400px;
}

.btn-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.btn-sample {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #997843;
    color: #fff;
    padding: 20px 10px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-subtext {
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.9;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
}

.info-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* =========================================================
   System Timeline
========================================================= */
.system-section {
    margin-bottom: 50px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.system-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.system-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
}

.badge-delivery {
    background: #666;
}

.badge-store {
    background: #0066c0;
}

.badge-locker {
    background: #e5a50a;
}

.time-graph {
    display: flex;
    align-items: stretch;
    margin-top: 30px;
    position: relative;
    padding-bottom: 30px;
}

.day-block {
    flex: 1;
    border-left: 1px dashed #ccc;
    position: relative;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.day-block:last-child {
    border-right: 1px dashed #ccc;
}

.bar {
    height: 40px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
}

.bar-delivery {
    background: #666;
}

.bar-store {
    background: #0066c0;
}

.bar-extension {
    background: #fff;
    color: #cc0000;
    border: 1px dashed #cc0000;
    font-size: 11px;
    z-index: 1;
}

.time-pin {
    position: absolute;
    bottom: -5px;
    font-size: 11px;
    font-weight: bold;
    transform: translateX(-50%);
    color: #333;
}

.time-pin::before {
    content: "";
    display: block;
    width: 1px;
    height: 8px;
    background: #333;
    margin: 0 auto 3px;
}

.desc-list {
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    font-size: 13px;
}

.desc-list li {
    margin-bottom: 5px;
    padding-left: 1em;
    text-indent: -1em;
}

.desc-list li::before {
    content: "●";
    color: #0066c0;
    margin-right: 5px;
}

/* =========================================================
   Mobile
========================================================= */
@media screen and (max-width: 768px) {
    .ec-guideRole {
        padding: 24px 15px 60px;
    }

    .guide-title {
        font-size: 22px;
    }

    .section-title,
    .section-heading,
    .sim-title {
        font-size: 18px;
    }

    .membership-wrap,
    .account-wrap,
    .definition-box,
    .sim-container,
    .button-desc-area,
    .slip-info {
        flex-direction: column;
    }

    .contact-container,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .location-grid {
        grid-template-columns: 1fr 1fr;
    }

    .guide-btn {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .packing-box,
    .label-card,
    .delivery-promo-box,
    .system-section,
    .time-section {
        padding: 20px;
    }

    .label-image-box {
        padding: 15px;
    }

    .step-item {
        padding-left: 0;
        margin-bottom: 40px;
    }

    .step-item::before {
        position: relative;
        display: inline-block;
        margin-bottom: 10px;
        margin-right: 10px;
    }

    .slip-icon {
        margin: 0 auto;
    }

    .legend-box {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
        gap: 15px;
    }

    .legend-item {
        font-size: 14px;
        width: 100%;
    }

    .time-card {
        width: 45%;
        min-width: auto;
        padding: 10px 5px;
    }

    .contact-info {
        width: 100%;
        box-sizing: border-box;
    }

    .fee-table th,
    .fee-table td {
        padding: 15px 10px;
        font-size: 13px;
    }

    .price-free {
        font-size: 16px;
    }

    .cal-day {
        width: 45px;
        height: 45px;
    }

    .day-num {
        font-size: 14px;
    }

    .day-price {
        font-size: 9px;
    }

    .system-header {
        gap: 10px;
    }

    .system-title {
        font-size: 18px;
        width: 100%;
    }

    .bar {
        font-size: 10px;
        height: 30px;
    }

    .time-pin {
        font-size: 10px;
    }
}