/*::::::::::::::::::::::::::::::::::

Base Styles for Online Delivery

:::::::::::::::::::::::::::::::::::*/
.od-wrapper {
    font-family: 'Heebo', sans-serif;
    color: #333;
    line-height: 1.6;
}

.od-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 40px 20px;
}

.od-section-title {
    position: relative;
    padding-bottom: 15px; 
    border-bottom: none !important;
    margin-bottom: 30px; 
}

.od-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0 !important;
    transform: none !important;
    margin: 0 !important;
    width: 50px; 
    height: 4px; 
    background-color: #0057b8; 
    border-radius: 2px;
}

.od-section-subtitle {
    color: #666;
    margin-bottom: 30px;
}

.od-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.od-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: 0.3s;
    width: 250px;
}

.od-btn-primary {
    background-color: #f3e500;
    color: #333;
    border: 2px solid #f3e500;
}

.od-btn-primary:hover {
    background-color: #e5d800;
}

.od-btn-secondary {
    background-color: #f4f4f4;
    color: #333;
    border: 1px solid #ccc;
}
.od-btn-secondary:hover {
    background-color: #e0e0e0;
}
.bd {
    font-weight: bold;
}
/*:: PC :::::::::::::::::::::::*/
@media (min-width: 768px) {
    .od-section-subtitle {
    margin-bottom: 50px;
}
}


/*::::::::::::::::::::::::::::::::::
Hero
:::::::::::::::::::::::::::::::::::*/
.od-hero {
    background-color: #0057b8;
    padding-top: 70px;
    padding-bottom: 25px;
    margin-bottom: 10px;
}
.od-hero .od-container {
    background-image: url('../images/online_delivery/online_delivery.png');
    background-size: clamp(300px, 20vw, 500px) auto; 
    background-position: right center; 
    background-repeat: no-repeat;
    min-height: 400px;
}

.od-hero-text {
    max-width: 65%;
    color: #fff;
}

.od-hero-title {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.3;
}
.od-title-sub {
    font-size: 0.6em;
    font-weight: normal;
    opacity: 0.9;
}
.od-title-main {
    font-size: 1.2em;
    font-weight: 900;
}

.od-hero-subtitle {
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}
.od-hero-desc {
    color: #fff;
    opacity: 0.9;
    margin-bottom: 30px;
}

.od-hero .od-btn-group {
    justify-content: start;
}

/*:: タブレット :::::::::::::::::::::::*/

@media (max-width: 767px) {
    .od-hero {
        padding-top: 30px;
        padding-bottom: 30px;
        margin-bottom: 0;
    }
    
    .od-hero .od-container {
        background-position: 90% 50%; 
        background-size: clamp(150px, 30vw, 500px) auto;
        padding: 0 30px;
        min-height: 300px;
    }
    .od-hero-text {
        max-width: 60%;
        text-align: left;
    }
    .od-hero-desc {
        margin-bottom: 30px;
    }

    .od-hero .od-btn-group {
        display: flex;
        flex-direction: column; 
        align-items: flex-start;
        gap: 15px;
    }
    .od-hero .od-btn {
        width: 300px;
    }

}
/*:: スマホ :::::::::::::::::::::::*/
@media (max-width: 480px) {  
    .od-hero .od-container {
        background-position: 80% 50%; 
        background-size: clamp(150px, 20vw, 280px) auto;
    }
    
    .od-hero-text {
        max-width: 100%;
        text-align: left;
    }
    .od-hero-desc {
        margin-bottom: 150px;
    }
    .od-hero .od-btn {
        width: 100%;
    }

}
/*:: PC :::::::::::::::::::::::*/
@media (min-width: 768px) {
    .od-hero-title {
        font-size: 42px;
    }
}

/*:: 大きめサイズ用 :::::::::::::::::::::::*/
@media (min-width: 1024px) {
    .od-hero .od-container {
    background-size: contain; 
    }
}

/*::::::::::::::::::::::::::::::::::
How It Works
:::::::::::::::::::::::::::::::::::*/

.od-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px; 
}

.od-step-item {
    background: #EFEFEF;
    position: relative;
    margin-bottom: 6%;
}

.od-step-item:last-child {
    margin-bottom: 0;
}

.od-step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 30px;
    background: #EFEFEF;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    z-index: 1;
}

.od-step-badge {
    position: absolute;
    top: -35px;
    left: 20px;
    color: #0057b8;
    padding: 4px 16px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.badge-text { font-size: 16px; font-weight: bold; }
.badge-num { font-size: 32px; font-weight: bold; }

.od-step-header {
    display: flex;
    align-items: center;
    padding: 20px 20px 20px;
    cursor: pointer;
    list-style: none;
    transition: 0.3s;
}
.od-step-header::-webkit-details-marker { display: none; }

.od-step-title-wrap {
    display: flex;
    align-items: center;
    flex-grow: 1;
    gap: 15px;
}

.od-step-icon {
    flex-shrink: 0;
    width: 120px;
}

.od-step-icon img {
    width: 100%;
    height: auto;
    display: block;
}

.od-step-title { 
    margin-bottom: 2%;
    font-size: 18px;
    font-weight: bold;
}

.od-step-body {
    padding: 0 20px 40px 0px;
    color: #444;
}
.od-step-body ul {
    padding-top: 2%;
}

/*:: スマホ :::::::::::::::::::::::*/
@media (max-width: 480px) {
    .od-step-toggle {
        width: 20px; 
        height: 20px;
        position: relative;
        flex-shrink: 0;
    }
    .od-step-toggle::before, .od-step-toggle::after {
        content: ""; 
        position: absolute; 
        background: #0057b8;
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%);
    }
    .od-step-toggle::before { 
        width: 14px; 
        height: 2px; 
    }
    .od-step-toggle::after { 
        width: 2px; 
        height: 14px; 
        transition: 0.3s; 
    }

    .od-step-item[open] .od-step-toggle::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }
    .od-step-item[open] .od-step-header {
        background-color: rgba(144, 144, 140, 0.3); 
        border-radius: 8px 8px 0 0;
    }

    .od-step-item::after {
        display: none;
    }

    .od-step-title-wrap {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .od-step-icon {
        width: 32px;
        position: static;
    }

    .od-step-body {
        padding-top: 5%;
        padding-left: 5%;
    }
}
/*:: PC :::::::::::::::::::::::*/

@media (min-width: 481px) {
    .od-steps { gap: 40px; }

    .od-step-item {
        position: relative;
        min-height: 180px;
    }

    .od-step-icon {
        position: absolute;
        left: 25px;
        top: 40px;
        width: 80px;
    }
    
    .od-step-header {
        padding-left: 120px; 
        padding-top: 45px;
        pointer-events: none;
        padding-bottom: 0;
    }
    
    .od-step-body {
        padding-left: 100px;
        display: block !important;
        padding-left: 120px;
    }

    .od-step-toggle { 
        display: none; 
    }

    .od-step-title { 
    font-size: 24px;
    font-weight: bold;
}

}

/*::::::::::::::::::::::::::::::::::
Delivery Options
:::::::::::::::::::::::::::::::::::*/

.od-delivery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.od-delivery-card {
    border: 1px solid #ddd;
    padding: 30px;
    background: #EFEFEF;
}

.od-delivery-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
}
.od-delivery-card h3 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}
.od-do-note {
    padding-top: 20px;
    /* position: relative; */
}

.od-do-note li {
    padding: 15px 0;
    border-bottom: 2px solid white;
    line-height: 1.6;
    color: #666;
}

.od-do-note li .bd {
    display: inline-block; 
    color: #333;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 6px;
    background: linear-gradient(transparent 60%, #f3e500 40%);
}


@media (min-width: 481px) {
    .od-delivery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .od-do-note li {
    height: 120px;
    }
    .od-do-note li .bd {
    font-size: 20px;
    margin-bottom: 6px;
    }
}

/*::::::::::::::::::::::::::::::::::
Nationwide Delivery
:::::::::::::::::::::::::::::::::::*/

.od-nationwide {
    padding-bottom: 40px;
}

.od-nationwide-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 15px; 
    margin-top: 20px;
}

.od-nationwide-item {
    background: #ffffff;
    padding: 15px 20px; 
    text-align: left;
    border-left: 5px solid #0057b8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex; 
    align-items: center;
    justify-content: flex-start;
}

.od-region-name {
    font-size: 14px; 
    font-weight: bold;
    color: #666;
    margin-bottom: 0;
    width: 120px;
    flex: none; 
    text-align: left;
}

.od-delivery-days {
    font-size: 36px;
    font-weight: 900;
    color: #0057b8; 
    line-height: 1;
    display: block;
    margin: 5px 0;
}

.od-delivery-days span {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-left: 5px;
}

.od-transport-info {
    margin-top: 40px;
    text-align: left; 
    padding: 30px;
    background-color: #EFEFEF; 
    border-radius: 4px;
}

.od-transport-title {
    font-weight: 900;
    color: #0057b8;
    font-size: 18px;
    margin: 0 0 10px 0;
}

.od-transport-list li {
    font-size: 16px;
    color: #555;
    margin-bottom: 6px;
    position: relative;
    line-height: 1.5;
}

.od-transport-note {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #d5d5d5;
}

/* :: PC ::::::::::::::::::::::: */
@media (min-width: 768px) {
    .od-nationwide-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 30px;
        margin-top: 30px;
    }
    .od-nationwide-item {
        flex-direction: column; 
        align-items: flex-start;
        padding: 25px;
    }
    .od-region-name {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .od-delivery-days {
        font-size: 46px;
    }
    .od-delivery-days span {
        font-size: 16px;
    }
    .od-transport-title {
    font-size: 20px;
    }
    .od-transport-list li {
    font-size: 17px;
    }
    .od-transport-note {
    font-size: 17px;
    }
}

/*::::::::::::::::::::::::::::::::::
Buy With Confidence
:::::::::::::::::::::::::::::::::::*/

.od-confidence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px;
    text-align: center;
    margin-top: 5%;
}

.od-confidence-item { 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.od-confidence-item img {
    margin-bottom: 20px;
    height: 120px;
    object-fit: contain;
}

.od-confidence-item p {
    font-weight: bold;
    margin: 0;
    text-align: center;
    line-height: 1.5;
    min-height: 3em;
}

@media (min-width: 481px) {
    .od-confidence-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*::::::::::::::::::::::::::::::::::
FAQ
:::::::::::::::::::::::::::::::::::*/

.od-faq-list {
    width: 100%;
    margin: 0 auto;
}
.od-faq-item {
    border-bottom: 1px solid #ddd;
}
.od-faq-item summary {
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: 20px 40px 20px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.od-faq-item summary::after {
    content: '▼';
    position: absolute;
    right: 2%;
    font-size: 14px;
    transition: transform 0.3s;
}
.od-faq-item[open] summary::after {
    transform: rotate(180deg);
}
.od-faq-answer {
    padding-top: 15px;
    color: #555;
}

.od-faq-item[open] .od-faq-toggle::after {
    background-color: #ffffff;
}

.od-faq-item[open] summary {
    background-color: #2254B2;
    color: #ffffff;
}
.od-faq-item p {
    padding: 10px 20px 20px 20px;
}
/*:: PC :::::::::::::::::::::::*/
@media (min-width: 481px) {
    .od-faq-item summary {
    font-size: 20px;
    }
}
/*::::::::::::::::::::::::::::::::::
Trusted by Customers
:::::::::::::::::::::::::::::::::::*/

.od-trusted-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.od-testimonial {
    background: #EFEFEF;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
}

/* アバター画像 */
.od-testimonial-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: solid #fff 3px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* 星評価（黄色） */
.od-testimonial-stars {
    color: #f3e500;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.od-testimonial-catch {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin: 0 0 10px 0;
}

.od-testimonial-body {
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 20px 0;
}

.od-testimonial-attr {
    color: #0057b8;
    font-size: 13px;
    font-weight: bold;
    margin: 0;
}


/*:: PC :::::::::::::::::::::::*/
@media (min-width: 481px) {
    .od-trusted-grid {
        grid-template-columns: repeat(3, 1fr); 
    }
    .od-testimonial {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .od-testimonial-attr {
        margin-top: auto; 
    }
}

/*::::::::::::::::::::::::::::::::::
Bottom CTA
:::::::::::::::::::::::::::::::::::*/

.od-cta {
    background-color: #EFEFEF;
    padding: 50px 0;
}

.od-cta .od-container {
    text-align: center;
    padding-bottom: 0;
}

.od-cta .od-section-title::after{
    display: none;
}

.od-cta .od-btn-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.od-cta .od-btn.od-btn-secondary {
    background-color: #0057b8;
    color: #FFF;
}

.od-cta .od-btn {
    width: 100%;
}

@media (min-width: 481px) {
    .od-cta {
    padding: 60px;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    }
    .od-cta .od-btn-group {
    flex-direction: row;
    gap: 20px;
    }
    .od-cta .od-btn {
    width: 300px;
    }

}

/*::::::::::::::::::::::::::::::::::
追従CTAコンテナ
:::::::::::::::::::::::::::::::::::*/
.od-sticky-container {
    position: fixed;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 10px;
}

.od-sticky-container.is-show {
    opacity: 1;
    visibility: visible;
}

.od-sticky-items {
    display: flex;
    gap: 5px;
    max-width: 1200px;
    margin: 0 auto;
}

.od-sticky-btn {
    flex: 1;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
    transition: transform 0.2s ease;
}

.od-sticky-btn:active { transform: scale(0.95); }

/* Inventory: 黄色塗り */
.od-btn-inventory {
    background-color: #ffef00;
}

/* Contact: 枠線スタイル */
.od-btn-contact {
    background-color: #ffffff;
    border: 1.5px solid #0057b8;
    font-weight: 600;
}

/* :::::::::: PC版（768px以上） :::::::::: */
@media (min-width: 768px) {
    .od-sticky-container {
        width: auto;
        left: auto;
        right: 40px;
        bottom: 40px;
    }
    .od-sticky-items {
        flex-direction: column; /* 縦並び */
        width: 220px;
        height: 80px;
        gap: 12px;
    }
    .od-sticky-btn {
        height: 80px;
        font-size: 16px;
        letter-spacing: 0.05em;
    }
    /* PCではホバー演出を追加 */
    .od-sticky-btn:hover {
        transform: translateY(-1.5px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }
}