/* ==============================================
   定期購入お届け先住所変更 共通スタイル
   prefix: btc-change-order-info__
   対象: pr_change_order_info.html / _confirm.html / _complete.html
   ============================================== */

/* [00] パンくずリスト */
.btc-change-order-info__breadcrumb-container {
    position: relative;
    padding: 85px 25px 20px;
    z-index: 10;
}
.btc-change-order-info__breadcrumbs {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.05em;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.btc-change-order-info__breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #ccc;
}
.btc-change-order-info__breadcrumbs a {
    text-decoration: none;
    color: #2d2d2d;
    opacity: 0.5;
}

/* [01] フォームコンテナ */
.btc-change-order-info__form-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 5px;
    box-sizing: border-box;
}

/* [02] リード文 */
.btc-change-order-info__form-lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #555555;
}

/* [03] フォームグループ（縦並び） */
.btc-change-order-info__form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

/* [04] 横並び行（姓・名、セイ・メイ） */
.btc-change-order-info__name-flex-row {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
}
.btc-change-order-info__name-flex-row .btc-change-order-info__form-group {
    flex: 1;
    margin-bottom: 0;
}

/* [05] フォームラベル */
.btc-change-order-info__form-label {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d2d2d;
    display: flex;
    align-items: center;
    letter-spacing: 0.03em;
}

/* [06] 必須バッジ */
.btc-change-order-info__badge-required {
    background-color: #e07272;
    color: #ffffff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 500;
    letter-spacing: 0;
    flex-shrink: 0;
}

/* [07] テキスト入力・セレクト */
.btc-change-order-info__input-text,
.btc-change-order-info__input-select {
    width: 100%;
    padding: 16px;
    font-size: 14px;
    border: 1px solid #dcdcd8;
    border-radius: 6px;
    background-color: #f1f1f0;
    color: #2d2d2d;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
    min-height: 54px;
    -webkit-appearance: none;
    appearance: none;
}
.btc-change-order-info__input-text:focus,
.btc-change-order-info__input-select:focus {
    outline: none;
    border-color: #008075;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 128, 117, 0.1);
}
.btc-change-order-info__input-text::placeholder {
    color: #999999;
}
.btc-change-order-info__input-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* [08] 郵便番号行 */
.btc-change-order-info__zip-code-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.btc-change-order-info__zip-code-row .btc-change-order-info__input-text {
    max-width: 180px;
}
.btc-change-order-info__btn-zip-search {
    flex-shrink: 0;
    background-color: #008075;
    color: #ffffff;
    border: none;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
    min-height: 54px;
    font-family: inherit;
}
.btc-change-order-info__btn-zip-search:hover {
    opacity: 0.85;
}

/* [09] 注意アラート */
.btc-change-order-info__address-alert {
    background-color: #fff9d8;
    color: #666666;
    padding: 15px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 4px;
    margin-bottom: 25px;
}

/* [10] 確認画面静的テキスト */
.btc-change-order-info__form-text-static {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 16px;
    color: #2d2d2d;
    letter-spacing: 0.05em;
    background-color: #f1f1f0;
    border-radius: 6px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    line-height: 1.5;
}
.btc-change-order-info__form-text-static--fit {
    display: inline-block;
    width: auto;
    font-weight: 700;
    font-size: 18px;
}

/* [11] チェックボックスバナー（注意喚起型）*/
.btc-change-order-info__sync-alert-check {
    position: relative;
    border-radius: 8px;
    border-left: 4px solid #008075;
    background-color: rgba(0, 128, 117, 0.07);
    padding: 18px;
    margin: 32px 0 16px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: background-color 0.2s;
    box-sizing: border-box;
}
.btc-change-order-info__sync-alert-check:hover {
    background-color: rgba(0, 128, 117, 0.11);
}
.btc-change-order-info__sync-alert-check.is-checked {
    background-color: rgba(0, 128, 117, 0.12);
    border-left-color: #005f57;
}
.btc-change-order-info__sync-alert-check--secondary {
    margin-top: 0;
    margin-bottom: 40px;
}

.btc-change-order-info__sync-alert-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.btc-change-order-info__sync-alert-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}
.btc-change-order-info__sync-alert-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.03em;
}
.btc-change-order-info__sync-alert-body {
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 16px;
    padding-left: 28px;
}
.btc-change-order-info__sync-alert-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 28px;
}
.btc-change-order-info__sync-chk-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.btc-change-order-info__sync-chk-box {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 5px;
    border: 2px solid #a3cfca;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.18s, border-color 0.18s;
    box-sizing: border-box;
}
.btc-change-order-info__sync-alert-check.is-checked .btc-change-order-info__sync-chk-box {
    background-color: #008075;
    border-color: #008075;
}
.btc-change-order-info__sync-chk-box::after {
    content: "";
    display: block;
    width: 5px;
    height: 10px;
    border: 2px solid #ffffff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.15s;
}
.btc-change-order-info__sync-alert-check.is-checked .btc-change-order-info__sync-chk-box::after {
    opacity: 1;
}
.btc-change-order-info__sync-chk-label {
    font-size: 14px;
    font-weight: 700;
    color: #2d2d2d;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* [12] セクション見出し */
.btc-change-order-info__section-title {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008075;
    margin: 36px 0 24px;
    letter-spacing: 0.05em;
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
}

/* [13] ボタンエリア */
.btc-change-order-info__btn-container {
    padding: 0 35px;
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.btc-change-order-info__form-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 30px;
    box-sizing: border-box;
    font-family: inherit;
}
.btc-change-order-info__form-btn:hover {
    opacity: 0.8;
}
.btc-change-order-info__btn-green {
    background-color: #008075;
    color: #ffffff;
}
.btc-change-order-info__btn-white {
    background-color: #ffffff;
    color: #008075;
    border: 1px solid #008075;
}

/* [14] 完了メッセージボックス */
.btc-change-order-info__complete-message-box {
    font-size: 16px;
    font-weight: 500;
    padding: 24px 20px;
    color: #2d2d2d;
    letter-spacing: 0.05em;
    background-color: #f1f1f0;
    border-radius: 6px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 10px;
}
.btc-change-order-info__complete-number {
    font-weight: 700;
    font-size: 20px;
    color: #008075;
    margin: 0 4px;
}

/* [15] コンテンツラッパー */
.btc-change-order-info__main-content {
    padding: 15px 20px 60px;
}

/* ============================================================
   PC・タブレット レイアウト（768px以上）
   ============================================================ */
@media (min-width: 768px) {

    
    .btc-change-order-info__breadcrumb-container {
        max-width: 960px;
        margin: 0 auto;
    }
    .btc-change-order-info__breadcrumbs {
        font-size: 12px;
    }
    .btc-change-order-info__main-content {
        max-width: 960px;
        margin: 0 auto;
        padding: 15px 30px 80px;
        display: flex;
        flex-wrap: wrap;
    }
    .btc-change-order-info__main-content .c-contents-header {
        width: 100%;
    }
    .btc-change-order-info__main-content .mypage-contents__aside {
        width: 240px;
        margin-right: 50px;
    }
    .btc-change-order-info__main-content .btc-change-order-info__form-content {
        width: calc(100% - 290px);
    }
    .btc-change-order-info__form-container {
        padding: 30px 30px;
    }
    .btc-change-order-info__section-title {
        font-size: 26px;
        margin: 20px auto 30px;
    }
    .btc-change-order-info__btn-container {
        padding: 0;
    }
}

/* ============================================================
   ワイドデスクトップ（1024px以上）
   ============================================================ */
@media (min-width: 1024px) {
    .btc-change-order-info__main-content {
        max-width: 1060px;
    }
    .btc-change-order-info__breadcrumb-container {
        max-width: 1060px;
    }
    .btc-change-order-info__btn-container {
        justify-content: center;
        gap: 20px;
    }
    .btc-change-order-info__form-btn {
        height: 64px;
        font-size: 18px;
        width: 300px;
        max-width: none;
    }
}