/* MENUボタンのスタイル */
@media only screen and (max-width: 767px) {
    .ec-pageHeader h1 {
        position: relative;
        margin-bottom: 52px; /* これで中のMENUを相対基準に配置できる */
    }
    .ec-navlistRole .mypageMenuBtn {
        position: absolute;
        top: -35px; 
        right: 0;
        background: #222;
        color: #fff;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: bold;
        line-height: 1.4;
        display: flex;
        align-items: center;
        gap: 4px;
        }

    .mypageMenuBtn i {
        font-size: 16px;
    }
}


/* お買い物ガイドTOP */

/* PC版のデフォルト設定 (768px以上) */
.guide-flow {
    background-image: url("../img/guide/order_guide_flow_pc.jpg");
    background-size: contain; /* または cover */
    background-repeat: no-repeat;
    height: 0;
    padding-top: calc(350 / 1200 * 100%);
}

@media only screen and (max-width: 767px) {
    .guide-flow {
        background-image: url("../img/guide/guide_flow_sp.jpg");
        padding-top: calc(900 / 300 * 100%);
    }
}


/* お買い物ガイド/注文からお届けまで*/
.order-flow {
    background-image: url("../img/guide/guide_order.jpg");
    background-size: contain; /* または cover */
    background-repeat: no-repeat;
    height: 0;
    padding-top: calc(300 / 1400 * 100%);
}

@media only screen and (max-width: 767px) {
    .order-flow {
        background-image: url("../img/guide/guide_order_sp.jpg");
        padding-top: calc(500 / 300 * 100%);
    }
}

.guide-contact{
    background-color: #FDF2E4;
    color: #BE0000;
    padding: 20px;
}

.cBE0{
    color: #BE0000;
    font-weight: bold;
}

.ec-step-header {
    background-color: #BE0000;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 20px auto;
    max-width: 95%;
}

.ec-guide-content-wrapper {
    max-width: 95%;
    margin: 0 auto 40px auto;
}

.ec-2column-group {
    display: flex;
    justify-content: space-between; 
    align-items: center;   
    gap: 30px;                 
    margin-bottom: 40px;
}

/* 左カラムの幅設定 */
.ec-2column-group .ec-2column-left {
    flex: 0 0 50%; 
    max-width: 50%;
    border: 2px dashed #868686; 
    padding: 15px;              
    border-radius: 5px;         
}

/* 右カラムの幅設定 */
.ec-2column-group .ec-2column-right {
    flex: 0 0 45%; 
    max-width: 45%;
}

@media only screen and (max-width: 767px) {
    .ec-2column-group {
        flex-direction: column;
        gap: 20px;
    }
    .ec-2column-group .ec-2column-left,
    .ec-2column-group .ec-2column-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ------------------------------------------- */
/* 警告ボックスのスタイル */
/* ------------------------------------------- */
.ec-warning-box {
    border: 2px solid #BE0000;
    border-radius: 30px;
    padding: 30px 20px;
    margin: 40px auto;
    max-width: 95%;
    text-align: center;
}

.ec-warning-content {
    color: #BE0000;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    font-weight: bold;
}

.ec-warning-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

/*最新の価格表　PDFリンク  */
.ec-pdf-link {
    color: #000000;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1.5;
    padding: 5px 0;
}

.ec-pdf-link::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 1.2em;
    background-color: #BE0000;
    margin-right: 8px;
}

.ec-pdf-link::after {
    content: ">";
    display: inline-block;
    font-size: 1.2em;
    margin-left: 8px;
    color: #BE0000;      
    font-weight: bold;
}

.ec-pdf-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ------------------------------------------- */
/* vcsについて */
/* ------------------------------------------- */
.ec-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: none;
    margin: 40px 0;
    padding: 0 40px;
}

.ec-flex-text {
    flex: 0 0 50%;
    max-width: 50%;
    line-height: 1.7;
}

.ec-flex-image {
    flex: 0 0 40%;
    max-width: 40%;
}

@media only screen and (max-width: 767px) {
    .ec-flex-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .ec-flex-text,
    .ec-flex-image {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}

.about-rc {
    background-image: url("../img/guide/about_rc.png");
    background-size: contain;
    background-repeat: no-repeat;
    height: 0;
    padding-top: calc(300 / 1400 * 100%);
}

@media only screen and (max-width: 767px) {
    .about-rc {
        background-image: url("../img/guide/about_rc_sp.png");
        padding-top: calc(500 / 450 * 100%);
    }
}

.about-hospital{
    background-color: #FFF4F4;
    color: #BE0000;
    padding: 20px;
}

/* ------------------------------------------- */
/* かかりつけ動物病院について*/
/* ------------------------------------------- */

.ec-hospital-link-button {
    background-color: #fff !important; 
    color: #BE0000 !important; 
    border: 1px solid #BE0000 !important; 
    width: 100%; 
    border-radius: 20px;
    display: flex !important;
    align-items: center !important;
    height: auto !important; 
    line-height: normal !important;
    padding: 10px 15px !important;
    justify-content: center;
    text-align: center;
}

.about-rc2 {
    background-image: url("../img/guide/concept02_rc2.png");
    background-size: contain;
    background-repeat: no-repeat;
    height: 0;
    padding-top: calc(600 / 1300 * 100%);
}

@media only screen and (max-width: 767px) {
    .about-rc2 {
        background-image: url("../img/guide/concept02_rc2_sp.jpg");
        padding-top: calc(700 / 400 * 100%);
    }

/* アイコンサイズ調整（任意） */
    .mypageMenuBtn i {
        font-size: 16px;
    }
}