
.bb-section-title {
    padding: 6px 16px;
    /*margin: -16px -9px 23px -9px;*/
    margin: -16px -14px 23px -14px;
    background: #556DB0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    border-radius: 8px;
}

.bb-input.bb-registration-input {
    width: 100%;
    font-weight: 700;
    font-size: 32px;
    padding: 8px 12px;
    line-height: 1.2;
    border: 2px solid #A8A8A8;
    border-radius: 8px;
    height: 57px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* -----------------------------------------
   回線タブ一覧
----------------------------------------- */
.bb-carrier-line-tabs {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
}

.bb-carrier-line-tab,
.bb-carrier-line-add-btn {
    flex-shrink: 0;
}

/* -----------------------------------------
   回線タブ本体
----------------------------------------- */
.bb-carrier-line-tab {
    position: relative;
    width: 128px;
    min-height: 70px;
    border-radius: 6px;
    box-sizing: border-box;
}

.bb-carrier-line-tab__main {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 110px;
    padding: 14px 8px 10px 10px;
    border: 3px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

/* 選択中の下向き三角 */
.bb-carrier-line-tab__arrow {
    display: none;
    position: absolute;
    left: 50%;
    bottom: -13px;
    transform: translateX(-50%);

    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
}

.bb-carrier-line-tab.is-active .bb-carrier-line-tab__arrow {
    display: block;
}

/* タブ内ラベル */
.bb-carrier-line-tab__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 40px;
    padding: 3px 12px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 999px;
    color: #333333;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    box-sizing: border-box;
}

/* 回線番号 */
.bb-carrier-line-tab__number {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}
.bb-carrier-line-tab__number span{
    font-size: 32px;
}

/* ロゴ */
.bb-carrier-line-tab__logo {
    display: block;
    max-width: 100%;
    margin: 0;
}

.bb-carrier-line-tab__logo--au {
    max-height: 22px;
}

.bb-carrier-line-tab__logo--uq {
    max-height: 20px;
}

/* 削除ボタン */
.bb-carrier-line-tab__delete {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
}

/* -----------------------------------------
   回線タブ 色設定
----------------------------------------- */

/* 未選択 */
.bb-carrier-line-tab--empty .bb-carrier-line-tab__main {
    background: #999999;
    border-color: #999999;
}

.bb-carrier-line-tab--empty.is-active .bb-carrier-line-tab__arrow {
    border-top: 13px solid #999999;
}

/* au */
.bb-carrier-line-tab--au .bb-carrier-line-tab__main {
    background: #ea5404;
    border-color: #ea5404;
}

.bb-carrier-line-tab--au.is-active .bb-carrier-line-tab__arrow {
    border-top: 13px solid #ea5404;
}

/* UQ mobile */
.bb-carrier-line-tab--uq .bb-carrier-line-tab__main {
    background: #0099FF;
    border-color: #0099FF;
}

.bb-carrier-line-tab--uq.is-active .bb-carrier-line-tab__arrow {
    border-top: 13px solid #0099FF;
}

/* -----------------------------------------
   非選択タブを薄くする
----------------------------------------- */

/* 未選択タブ：全体的に薄く */
.bb-carrier-line-tab--empty:not(.is-active) .bb-carrier-line-tab__main {
    background: rgba(153, 153, 153, 0.30);
    border-color: rgba(153, 153, 153, 0.20);
}

/* auタブ：線20%、中身30% */
.bb-carrier-line-tab--au:not(.is-active) .bb-carrier-line-tab__main {
    background:rgb(234 84 4 / 20%);
    border-color: rgb(234 84 4 / 30%);
}

/* UQタブ：線30%、中身30% */
.bb-carrier-line-tab--uq:not(.is-active) .bb-carrier-line-tab__main {
    background: rgba(0, 153, 255, 0.30);
    border-color: rgba(0, 153, 255, 0.30);
}

/* 非選択タブ内の白いラベルも少し薄くする */
.bb-carrier-line-tab:not(.is-active) .bb-carrier-line-tab__label {
    background: rgba(255, 255, 255, 0.55);
}

/* 非選択タブ内のロゴ・文字も薄くする */
.bb-carrier-line-tab:not(.is-active) .bb-carrier-line-tab__logo,
.bb-carrier-line-tab:not(.is-active) .bb-carrier-line-tab__number {
    opacity: 0.45;
}

/* 非選択タブの削除ボタンも薄くする */
.bb-carrier-line-tab:not(.is-active) .bb-carrier-line-tab__delete {
    opacity: 0.45;
}

/* 選択中タブは通常表示 */
.bb-carrier-line-tab.is-active .bb-carrier-line-tab__main {
    opacity: 1;
}

.bb-carrier-line-tab.is-active .bb-carrier-line-tab__label {
    background: #ffffff;
}

.bb-carrier-line-tab.is-active .bb-carrier-line-tab__logo,
.bb-carrier-line-tab.is-active .bb-carrier-line-tab__number,
.bb-carrier-line-tab.is-active .bb-carrier-line-tab__delete {
    opacity: 1;
}

/* 非アクティブ時 */
/*.bb-carrier-line-tab:not(.is-active) {*/
/*    opacity: 0.45;*/
/*}*/

/*.bb-carrier-line-tab.is-active {*/
/*    opacity: 1;*/
/*}*/

/* -----------------------------------------
   回線追加ボタン
----------------------------------------- */
.bb-carrier-line-add-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 91px;
    min-height: 70px;
    padding: 20px 10px;
    margin-left: auto;
    border: 3px solid #d5d5d5;
    border-radius: 6px;
    background: rgb(168 168 168 / 30%);
    color: #5F5F5F;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.bb-carrier-line-add-btn__text {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.bb-carrier-line-add-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    box-sizing: border-box;
}

.bb-carrier-line-add-btn__icon img {
    display: block;
    width: 46px;
    height: 46px;
    margin: 0;
}

/* 最大5回線時 */
.bb-carrier-line-add-btn.is-disabled,
.bb-carrier-line-add-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* -----------------------------------------
   共通button:hover対策
   button:hover:not(:disabled) の背景色変更を無効化
----------------------------------------- */

/* 未選択タブ */
.bb-carrier-line-tab--empty .bb-carrier-line-tab__main:hover:not(:disabled) {
    background: #999999;
}

/* auタブ */
.bb-carrier-line-tab--au .bb-carrier-line-tab__main:hover:not(:disabled) {
    background: #ea5404;
}

/* UQタブ */
.bb-carrier-line-tab--uq .bb-carrier-line-tab__main:hover:not(:disabled) {
    background: #0099FF;
}

/* 回線追加ボタン */
.bb-carrier-line-add-btn:hover:not(:disabled) {
    background: #eeeeee;
}

/* 削除ボタン */
.bb-carrier-line-tab__delete:hover:not(:disabled) {
    background: transparent;
}

/* -----------------------------------------
   au・UQ mobile 登録案内
----------------------------------------- */
.bb-au-uq-registration-callout {
    margin-bottom: 20px;
    text-align: center;
}

/* -----------------------------------------
   分割入力 共通
   電話番号・MNP予約番号など、ハイフン区切りの入力欄で使用
----------------------------------------- */
.bb-split-input {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bb-split-input__fields {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.bb-split-input__fields .bb-split-input__field {
    width: 145px;
    text-align: center;
}

.bb-split-input__action {
    flex-shrink: 0;
}

/* MNP予約番号用：1つ目だけ幅を狭くする */
.bb-split-input--mnp .bb-split-input__field--first {
    width: 105px;
}

.bb-split-input--mnp .bb-split-input__field--middle,
.bb-split-input--mnp .bb-split-input__field--last {
    width: 160px;
}

/* -----------------------------------------
   契約者を選択してください select調整
----------------------------------------- */
.bb-contract-select .bb-input.bb-registration-input{
    font-weight: 400;
    font-size: 24px;
}

/* -----------------------------------------
   購入する端末・容量・色を入力してください select調整
----------------------------------------- */
.bb-select-input .bb-input.bb-registration-input{
    font-size: 20px;
}

/* -----------------------------------------
   購入する端末・容量・色を入力してください フリーテキストサジェスト
----------------------------------------- */
.bb-select-input {
    position: relative;
}

.freetext-suggest-area {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
}

.freetext-suggest-table {
    display: none;
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 240px;
    overflow-y: auto;
}

.freetext-suggest-table.is-visible {
    display: table;
}

.freetext-suggest-table .suggest-item {
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
}

.freetext-suggest-table tr:hover,
.freetext-suggest-table tr.active {
    background-color: #f0f4ff;
}

/* -----------------------------------------
   小さめ検索ボタン共通
----------------------------------------- */
.bb-inline-search-action {
    flex-shrink: 0;
}

.bb-inline-search-action .bb-inline-search-btn {
    min-width: 170px;
    padding: 8px 11px;
    gap: 5px;
    /*height: 51px;*/
}

.bb-inline-search-action .bb-inline-search-btn .search-icon img {
    width: 15px;
    height: 15px;
}

.bb-inline-search-action .bb-inline-search-btn p {
    font-size: 16px;
}

/* -----------------------------------------
   モバイル会員 テスト検索
   （config('app.test_member_search') が true の環境でのみ表示される）
   本番の検索ボタンと明確に区別できるよう、破線枠のテスト用配色にする
----------------------------------------- */
.bb_test_search {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed #d97706;
    border-radius: 6px;
    background-color: #fffbeb;
}

.bb_test_search__note {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #92400e;
}

.bb_test_search__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bb_test_search__btn {
    padding: 7px 14px;
    border: 1px solid #d97706;
    border-radius: 4px;
    background-color: #fff;
    font-size: 13px;
    font-weight: bold;
    color: #b45309;
    cursor: pointer;
}

.bb_test_search__btn:hover {
    background-color: #fef3c7;
}

.bb_test_search__btn:disabled {
    border-color: #d1d5db;
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* -----------------------------------------
   モバイル会員情報 表示エリア
----------------------------------------- */
.bb-mobile-member-info__row {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 16px;
}

.bb-mobile-member-info__item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.bb-mobile-member-info__label {
    flex: 0 0 auto;
    width: auto;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
    min-width: 80px;
}

.bb-mobile-member-info__label span {
    font-size: 16px;
}

.bb-mobile-member-info__field {
    flex: 1;
    min-width: 0;
}

.bb-mobile-member-info__field .bb-mobile-member-info__input {
    width: 100%;
    background:rgb(168 168 168 / 30%);
    color: #777777;
    font-weight: 700;
    font-size: 32px;
    padding: 8px 12px;
    line-height: 1.2;
}

/* 「従業員が修正する」で編集可能になった入力欄 : 他のinputと同様に白背景で編集可能と分かるようにする */
.bb-mobile-member-info__field .bb-mobile-member-info__input:not([readonly]) {
    background: #ffffff;
    color: #333333;
}

.bb-mobile-member-info__field--tel,
.bb-mobile-member-info__field--zip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bb-mobile-member-info__input--tel,
.bb-mobile-member-info__input--zip {
    width: 100%;
    max-width: 145px;
    text-align: center;
}

.bb-mobile-member-info__note {
    margin: 27px 0 14px;
    color: #FF2D2D;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.bb-search-btn-wrap.bb-action-btn-wrap .bb-search-btn{
    background:#929292!important;
}

/* 「従業員が修正する」→編集中(完了する)の表示 : 青背景・白文字 */
.bb-search-btn-wrap.bb-action-btn-wrap .bb-search-btn.is-editing{
    background:#336CAB!important;
    color:#ffffff!important;
}

/* -----------------------------------------
   au・UQ mobile 登録セクション ヘッダー
----------------------------------------- */

/* STEP表示部分をロゴ表示用に調整 */
.bb-step-section .section-title .au-uq-registration-head {
    padding: 10px 0 8px 0;
}

/* 白背景のロゴボックス */
.au-uq-registration-head__logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    padding: 12px 30px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    box-sizing: border-box;
}

/* ロゴ共通 */
.section-title .au-uq-registration-head__logo {
    max-width: 100%;
    margin: 0;
}

/* auロゴ */
.au-uq-registration-head__logo--au {
    max-height: 26px;
}

/* UQ mobileロゴ */
.au-uq-registration-head__logo--uq {
    max-height: 28px;
}

/* -----------------------------------------
   au・UQ mobile 登録セクション
----------------------------------------- */
/* 契約者情報入力ブロック */
.bb-au-uq-contractor {
    display: flex;
    overflow: hidden;
    border-radius: 6px;
    background: #edf1f8;
    position:relative;
}

/* 右上の閉じるボタン*/
.bb-au-uq-contractor__close {
    position: absolute;
    top: 12px;
    right: 11px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    padding: 0;
    border: none;
    /*border-radius: 50%;*/
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.bb-au-uq-contractor__close img {
    display: block;
    width: 33px;
    height: 33px;
    margin: 0;
}

.bb-au-uq-contractor__close:hover:not(:disabled) {
    background-color: transparent;
}

/*
    非活性時はアイコン(－)そのものを灰色にする。
    汎用の button:disabled が背景色と不透明度を当てるため、ボタン領域全体が
    灰色の四角に見えてしまう。ここで打ち消し、色の変化はimgのみに限定する。
*/
.bb-au-uq-contractor__close:disabled {
    cursor: not-allowed;
    background-color: transparent !important;
    opacity: 1 !important;
}

.bb-au-uq-contractor__close:disabled img {
    /* アイコンの塗り #4B4B4B を灰色(#B4B4B4相当)へ寄せる */
    filter: brightness(2.4);
}

/* 左側のステップ番号 */
.bb-au-uq-contractor__step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    background: #556DB0;
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
}

.bb-au-uq-contractor__body {
    flex: 1;
    padding: 18px 20px;
}

.bb-au-uq-contractor__row {
    /*display: flex;*/
    /*align-items: flex-end;*/
    /*gap: 15px;*/
    margin-bottom: 16px;
}

.bb-au-uq-contractor__item {
    flex: 1;
    min-width: 0;
}

.bb-au-uq-contractor__item--full {
    width: 100%;
}

.bb-au-uq-contractor__label {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
}

.bb-au-uq-name-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bb-au-uq-name-kana,
.bb-au-uq-name {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bb-au-uq-name__item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.bb-au-uq-name__label {
    flex: 0 0 auto;
    min-width: 70px;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.bb-au-uq-name__label span {
    font-size: 16px;
}

.bb-au-uq-contractor__input {
    width: 100%;
    font-weight: 700;
}

/* 送信依頼済みでロック(readonly)された入力欄 : モバイル会員情報欄と同じ灰色背景にする */
.bb-au-uq-contractor__input[readonly] {
    background:rgb(168 168 168 / 30%);
    color: #777777;
}

/* 会員検索の結果が下の欄へ反映されることを示す矢印 */
.bb-au-uq-contractor__arrow {
    width: 0;
    height: 0;
    margin: -4px auto 12px;
    border-right: 18px solid transparent;
    border-left: 18px solid transparent;
    border-top: 15px solid #7a7a7a;
}

/* 登録フォーム送信ボタン */
.bb-au-uq-contractor__submit {
    margin-top: 18px;
    text-align: center;
}

.bb-au-uq-contractor__submit .bb-search-btn{
    max-width: 288px;
    min-width: 170px;
    width: auto;
}

.bb-au-uq-contractor__submit .bb-search-btn .search-icon img{
    width: 20px;
    height: 20px;
}

.bb-au-uq-contractor__submit .bb-search-btn p{
    font-size: 16px;
}

/* 送信依頼済み(ロック中) : 完了を示す緑背景。解除できないためdisabledでも緑を維持する */
.bb-au-uq-contractor__submit .bb-search-btn.is-sent,
.bb-au-uq-contractor__submit .bb-search-btn.is-sent:disabled{
    background-color:#2E8B57!important;
    box-shadow:0 4px 0 #1B5233;
    cursor: default;
}

.bb-au-uq-contractor__note {
    margin: 20px 0 0;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

/* 契約者追加ボタンエリア */
.bb-au-uq-add-wrap {
    margin-top: 18px;
    text-align: center;
}

/* 契約者を追加するボタン */
#au-uq-add-contractor-btn{
    background-color: #ED9150!important;
}
.bb-search-btn.bb-action-btn {
    border: none;
    background-color: #ED9150!important;
    box-shadow: 0 4px 0 #93610F;
    padding: 8px 13px 8px 11px;
}

.bb-search-btn.bb-action-btn span {
    display: flex;
}

/* 契約者情報ブロックが複数ある場合の余白 */
.bb-au-uq-contractor + .bb-au-uq-contractor {
    margin-top: 20px;
}

.bb-search-btn-wrap.bb-action-btn-wrap{
    margin:19px 0 28px 0;
}
.bb-search-btn-wrap.bb-action-btn-wrap .bb-search-btn{
    font-size: 20px;
    max-width: 220px;
}

/* -----------------------------------------
   料金シミュレーター「地球」見積番号取得エリア
----------------------------------------- */
.bb-earth-estimate {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bb-earth-estimate__input {
    flex: 1;
    min-width: 0;
}

.bb-earth-estimate__action.bb-inline-search-action .bb-inline-search-btn{
    justify-content: space-between;
}

.bb-earth-estimate__action.bb-inline-search-action .bb-inline-search-btn p{
    display: block;
    width: 100%;
}


/* -----------------------------------------
   au / UQ 回線登録ブロック共通
----------------------------------------- */
.bb-container .bb-carrier-register .form-group{
    padding:16px 12px
}

/* 未選択用 */
.bb-carrier-register--empty {
    background: #DCDCDC;
    border: 3px solid #9E9E9E;
    border-radius: 8px;
}

/* 未選択ヘッダー */
.bb-carrier-register__head--empty {
    background: #9E9E9E !important;
}

.bb-carrier-register__empty-label {
    font-size:24px;
    color: #333333;
}

.bb-carrier-register .bb-carrier-register__content{
    border-radius: 0 0 8px 8px;
    background: var(--carrier-bg);
    padding: 24px 12px 4px 12px;
}

.bb-carrier-register {
    /*--carrier-color: #ea5404;*/
    /*--carrier-bg: #FFF0E8;*/
}

.bb-carrier-register .bb-carrier-register__content{
    box-shadow: none;
}

.bb-carrier-register--au {
    --carrier-color: #ea5404;
    --carrier-bg: #FFF0E8;
}

.bb-carrier-register--uq {
    --carrier-color: #0099FF;
    --carrier-bg: #EBF7FF;
}

.bb-carrier-register .section-title .form-label-step:after{
    content: none;
}

.bb-carrier-register.bb-carrier-register--au{
    background: var(--carrier-bg);
    border: 3px solid var(--carrier-color);
    border-radius:8px;
}

.bb-carrier-register.bb-carrier-register--uq{
    background: var(--carrier-bg);
    border: 3px solid var(--carrier-color);
    border-radius:8px;
}

/* ヘッダー */
.bb-carrier-register .form-label-step.bb-carrier-register__head {
    padding: 12px 0;
    background: var(--carrier-color);
    border-radius:0 0 8px 8px;
}

/* ヘッダー内ロゴ白枠 */
.bb-carrier-register__logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 210px;
    padding: 15px 20px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 72px;
    box-sizing: border-box;
    height: 60px;
}

/* ヘッダー内ロゴ */
.bb-carrier-register__logo-box .bb-carrier-register__logo {
    display: block;
    max-width: 100%;
    margin: 0;
}

.bb-carrier-register__logo--au {
    max-height: 34px;
}

.bb-carrier-register__logo--uq {
    max-height: 34px;
}


/* ブランド選択 */
.bb-carrier-brand .btn-radio-text {
    min-height: 72px;
}

/* ブランドロゴ */
.bb-carrier-brand__logo {
    display: block;
    max-width:100%;
    margin: 0 auto;
}

/* オーダー選択 */
.bb-carrier-order {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:6px 16px;
}

.bb-carrier-order .btn-radio-label {
    width: 100%;
}

/* -----------------------------------------
   radioボタン内 詳細テキスト付き表示
----------------------------------------- */
.bb-carrier-register .btn-radio-text.bb-radio-text-detail{
    display: block;
    min-height: 76px;
    padding: 11px 11px 11px 40px;
    text-align: left;
}

.bb-carrier-register .btn-radio-text.bb-radio-text-detail strong {
    display: block;
    font-size: 18px;
    color: #514C53;
}

.bb-carrier-register .btn-radio-text.bb-radio-text-detail small {
    font-size: 15px;
    letter-spacing: -0.011em;
}

.bb-carrier-register .btn-radio-text.bb-radio-text-detail:before{
    top: 15px;
    transform: unset;
}

/* -----------------------------------------
   契約者選択セレクト
----------------------------------------- */
.bb-contract-select {
    width: 100%;
}

.bb-contract-select__field {
    width: 100%;
    min-height: 57px;
    padding: 8px 48px 8px 16px;
    border: 2px solid #A8A8A8;
    border-radius: 8px;
    color: #333333;
    font-size: 24px;
    line-height: 1.4;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(../../../input/img/icon_select_arrow.svg), linear-gradient(to bottom, #ffffff 0%, #DADADA 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right 11px center, 0 0;
    background-size: 13px 16px, 100% 100%;
    background-color: #fff;
}

/* au / UQ登録内の詳細付きラジオを少し詰める場合 */
.bb-carrier-register .bb-radio-text-detail {
    min-height: 72px;
    padding: 11px 11px 11px 40px;
    text-align: left;
}

.bb-carrier-register .bb-radio-text-detail strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #514C53;
}

.bb-carrier-register .bb-radio-text-detail small {
    display: block;
    margin-top: 3px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}


/* -----------------------------------------
   画像撮影・選択エリア 共通
----------------------------------------- */
.bb-photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*min-height: 150px;*/
    padding: 9px 20px 11px 20px;
    margin: 0;
    border: 2px dotted #000;
    border-radius: 8px;
    background: #ffffff;
    box-sizing: border-box;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    /* 枠内どこをクリックしてもファイル選択を開く */
    cursor: pointer;
}

.bb-photo-upload__preview {
    margin-bottom:6px;
    text-align: center;
}

.bb-photo-upload__preview img {
    display: block;
    max-width: 170px;
    max-height: 128px;
    margin: 0 auto;
    object-fit: contain;
}

.bb-photo-upload__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #2684ff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin:0;
}

.bb-photo-upload__input {
    display: none;
}

.bb-photo-upload__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bb-photo-upload__icon img {
    width: 22px;
    height: 22px;
}

.bb-photo-upload__text {
    line-height: 1.4;
}


/* -----------------------------------------
   注意テキスト
----------------------------------------- */
.bb-text-alert {
    color: #FF3030;
}

/* -----------------------------------------
   au / UQ 料金プラン・オプション選択
----------------------------------------- */
.bb-carrier-plan,
.bb-carrier-call-option,
.bb-carrier-basic-phone-pack,
.bb-carrier-device-support,
.bb-carrier-campaign-option{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
}

.bb-carrier-call-option .btn-radio-label--full {
    grid-column: 1 / -1;
}

.bb-carrier-plan .btn-radio-label,
.bb-carrier-call-option .btn-radio-label,
.bb-carrier-basic-phone-pack .btn-radio-label,
.bb-carrier-device-support .btn-radio-label,
.bb-carrier-campaign-option .btn-radio-label{
    width: 100%;
}

/* -----------------------------------------
   auスマートバリュー登録情報
----------------------------------------- */

/* 携帯電話番号・契約者氏名の表示エリア */
.bb-smart-value-info {
    padding: 0 30px 0 20px;
    margin-bottom: 16px;
}

.bb-smart-value-info__row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 17px;
}

.bb-smart-value-info__label {
    flex: 0 0 auto;
    min-width: 96px;
    font-size: 16px;
    font-weight: 500;
}

.bb-smart-value-info__value {
    flex: 1;
    padding: 10px 16px;
    background: #E8EEF5;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.bb-smart-value-radio {
    margin-top: 26px;
}

/*radioボタンの調整*/
.bb-smart-value-radio .btn-radio-text{
    display: block;
    min-height: 76px;
    padding: 11px 11px 11px 40px;
    text-align: left;
}

.bb-carrier-register .bb-smart-value-radio .btn-radio-text:before {
    top: 15px;
    transform: unset;
}

/* auスマートバリュー案内 */
.bb-smart-value-callout {
    margin-top: 8px;
}

/* -----------------------------------------
   オンライン登録センターへの申し送り事項
----------------------------------------- */

.bb-registration-textarea {
    width: 100%;
    min-height: 180px;
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #ffffff;
    color: #333333;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
}

/* フォーカス時 */
.bb-registration-textarea:focus {
    /*border-color: #556DB0;*/
    /*outline: none;*/
}

/* -----------------------------------------
   契約者・利用者 共通情報入力フォーム
----------------------------------------- */
.bb-person-info-form {
    padding: 20px 18px;
    background: #e9eef5;
    border-radius: 6px;
}

.bb-person-info-form__row {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-bottom: 18px;
}

.bb-person-info-form__row:last-child {
    margin-bottom: 0;
}

.bb-person-info-form__item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.bb-person-info-form__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 58px;
    color: #333333;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    margin: 0;
}

.bb-person-info-form__label span {
    display: block;
}

.bb-person-info-form__label small {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.bb-person-info-form__input {
    width: 100%;
    font-size: 30px;
    font-weight: 700;
}

/* 生年月日 */
.bb-person-info-form__row--birthday {
    gap: 0;
}

.bb-person-info-form__item--birthday {
    width: 100%;
    flex: 1;
}

/* 生年月日 */
.bb-birthday-select {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.bb-birthday-select__field {
    height: 52px;
    font-size: 22px;
    font-weight: 700;
}

.bb-input.bb-registration-input.bb-birthday-select__field--era {
    width: 120px;
}

.bb-input.bb-registration-input.bb-birthday-select__field--year {
    width: 108px;
}

.bb-input.bb-registration-input.bb-birthday-select__field--month,
.bb-input.bb-registration-input.bb-birthday-select__field--day {
    width: 108px;
}

.bb-input.bb-registration-input.bb-birthday-select__unit {
    color: #333333;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

/* -----------------------------------------
   au / UQ 登録フォーム 下部ボタン
----------------------------------------- */
.bb-carrier-submit-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 40px 0 0;
}

/* 共通 */
.bb-carrier-submit-actions .bb-carrier-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 68px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

/* 一時保存する */
.bb-carrier-submit-actions__save {
    max-width: 223px;
    width: 100%;
    background: #CBCBCB !important;
    color: #000 !important;
    box-shadow: 0 4px 0 rgb(0 0 0 / 25%);
}

/* 内容に問題がないので手続きを開始する */
.bb-carrier-submit-actions__submit {
    max-width: 395px;
    width: 100%;
    background: #336CAB !important;
    color: #ffffff !important;
    box-shadow: 0 4px 0 #002E61;
}


/* -----------------------------------------
   UQ 用調整css
----------------------------------------- */

/* -----------------------------------------
   リアルタイム進捗 ブランドタブ
----------------------------------------- */

.rt-brand-tabs {
    /*display: grid;*/
    /*grid-template-columns: repeat(3, minmax(0, 1fr));*/
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    gap: 11px;
    margin: 30px 0 30px;
}

.rt-brand-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    max-width: 155px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    appearance: none;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 0 5px rgba(60, 60, 60, 0.5);
}

/* 選択中タブの三角 */
.rt-brand-tab.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 18px solid currentColor;
}

/* -----------------------------------------
   アクティブ時 ブランド色
----------------------------------------- */

/* nifty */
.rt-brand-tab--nifty {
    background: #FDD000;
    border: 3px solid #FDD000;
}

.rt-brand-tab--nifty.is-active::after {
    border-top-color: #FDD000;
}

/* au */
.rt-brand-tab--au {
    background: #EA5404;
    border: 3px solid #EA5404;
}

.rt-brand-tab--au.is-active::after {
    border-top-color: #EA5404;
}

/* UQ */
.rt-brand-tab--uq {
    background: #0099FF;
    border: 3px solid #0099FF;
}

.rt-brand-tab--uq.is-active::after {
    border-top-color: #0099FF;
}

/* -----------------------------------------
   ロゴ
----------------------------------------- */

/* ロゴ白カプセル */
.rt-brand-tab__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 112px;
    min-height: 30px;
    padding: 4px 18px;
    background: #ffffff;
    border-radius: 999px;
    box-sizing: border-box;
}

.rt-brand-tab__logo {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.rt-brand-tab__logo {
    position: relative;
    z-index: 1;
}

.rt-brand-tab__logo--nifty {
    max-height: 19px;
}

.rt-brand-tab__logo--au {
    max-height: 17px;
}

.rt-brand-tab__logo--uq {
    max-height: 16px;
}

/* -----------------------------------------
   非アクティブタブ
----------------------------------------- */

/* nifty 非アクティブ */
.rt-brand-tab--nifty:not(.is-active) {
    background: rgba(253, 208, 0, 0.40);
    border:2px solid rgba(253, 208, 0, 0.40);
}

.rt-brand-tab--nifty:not(.is-active)::before {
    background: rgba(255, 255, 255, 0.30);
}

.rt-brand-tab--nifty:not(.is-active) .rt-brand-tab__logo {
    opacity: 0.30;
}

/* au 非アクティブ */
.rt-brand-tab--au:not(.is-active) {
    background: rgba(234, 84, 4, 0.20);
    border-color: rgba(234, 84, 4, 0.30);
}

.rt-brand-tab--au:not(.is-active)::before {
    background: rgba(255, 255, 255, 0.30);
}

.rt-brand-tab--au:not(.is-active) .rt-brand-tab__logo {
    opacity: 0.30;
}

/* UQ 非アクティブ */
.rt-brand-tab--uq:not(.is-active) {
    background: rgba(0, 153, 255, 0.30);
    border-color: rgba(0, 153, 255, 0.30);
}

.rt-brand-tab--uq:not(.is-active)::before {
    background: rgba(255, 255, 255, 0.30);
}

.rt-brand-tab--uq:not(.is-active) .rt-brand-tab__logo {
    opacity: 0.30;
}

/* -----------------------------------------
   hover時
----------------------------------------- */

.rt-brand-tab--nifty:not(.is-active):hover {
    background: rgba(245, 180, 0, 0.32);
    border-color: rgba(245, 180, 0, 0.45);
}

.rt-brand-tab--nifty:not(.is-active):hover::before {
    background: rgba(255, 255, 255, 0.45);
}

.rt-brand-tab--nifty:not(.is-active):hover .rt-brand-tab__logo {
    opacity: 0.45;
}

.rt-brand-tab--au:not(.is-active):hover {
    background: rgba(234, 84, 4, 0.32);
    border-color: rgba(234, 84, 4, 0.45);
}

.rt-brand-tab--au:not(.is-active):hover::before {
    background: rgba(255, 255, 255, 0.45);
}

.rt-brand-tab--au:not(.is-active):hover .rt-brand-tab__logo {
    opacity: 0.45;
}

.rt-brand-tab--uq:not(.is-active):hover {
    background: rgba(0, 153, 255, 0.45);
    border-color: rgba(0, 153, 255, 0.45);
}

.rt-brand-tab--uq:not(.is-active):hover::before {
    background: rgba(255, 255, 255, 0.45);
}

.rt-brand-tab--uq:not(.is-active):hover .rt-brand-tab__logo {
    opacity: 0.45;
}

/* -----------------------------------------
   タブパネル
----------------------------------------- */

.rt-brand-panel {
    display: none;
}

.rt-brand-panel.is-active {
    display: block;
}


/* -----------------------------------------
   テーブル全体
----------------------------------------- */

.rt-table {
    width: 100%;
    padding: 12px 24px 14px 14px;
    background: #f2f2f2;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

/* 横幅はみ出し防止 */
.rt-card,
.rt-table,
.rt-table-head,
.rt-table-row,
.rt-table-head-content,
.rt-table-content,
.rt-table-th,
.rt-table-td,
.rt-table-td span {
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* -----------------------------------------
   外側の列
   左：白い情報エリア
   右：詳細ボタン
----------------------------------------- */

.rt-table-head,
.rt-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 47px;
    align-items: center;
    column-gap: 17px;
}

.rt-table-head {
    padding: 0 0 10px;
}

.rt-table-body {
    display: grid;
    gap: 8px;
}

/* -----------------------------------------
   内側の列
   1. ステータス
   2. 案件番号
   3. 店舗担当者
   4. お客様名
   5. ブランド
   6. 登録担当者
   7. eKYC登録フォーム
----------------------------------------- */

.rt-table-head-content,
.rt-table-content {
    display: grid;
    /*grid-template-columns:*/
    /*    minmax(0, 1.2fr)*/
    /*    minmax(0, 1.2fr)*/
    /*    minmax(0, 1.2fr)*/
    /*    minmax(0, 1.2fr)*/
    /*    minmax(0, 1.2fr)*/
    /*    minmax(0, 1.2fr)*/
    /*    minmax(0, 1.7fr);*/
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: center;
    column-gap: 10px;
}

.rt-table-head-content {
    padding: 0 14px;
}

.rt-table-content {
    /*padding: 14px;*/
    padding: 12px 14px;
    background: #ffffff;
    border-radius: 8px;
}

/* -----------------------------------------
   見出し・セル共通
----------------------------------------- */

.rt-table-th {
    color: #333333;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

.rt-table-td {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*color: #222222;*/
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rt-table-td span {
    display: block;
}

/* -----------------------------------------
   列ごとの位置調整
----------------------------------------- */

/* 1列目：ステータス */
.rt-table-head-content .rt-table-th:nth-child(1),
.rt-table-content .rt-table-td:nth-child(1) {
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* 2列目：案件番号 */
.rt-table-head-content .rt-table-th:nth-child(2),
.rt-table-content .rt-table-td:nth-child(2) {
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* 4列目：お客様名 */
.rt-table-head-content .rt-table-th:nth-child(4),
.rt-table-content .rt-table-td:nth-child(4) {
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* 5列目：ブランド */
.rt-table-head-content .rt-table-th:nth-child(5),
.rt-table-content .rt-table-td:nth-child(5) {
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* 3列目：店舗担当者 */
.rt-table-head-content .rt-table-th:nth-child(3) {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.rt-shop-staff{
    display: flex;
    justify-content: center;
}

.rt-table-content .rt-shop-staff .rt-table-td{
    text-align: left;
    align-items: flex-start;
    gap:4px;
}

/* 詳細ボタン列 */
.rt-table-td--detail {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -----------------------------------------
   ステータスラベル
----------------------------------------- */

/*.rt-status-label {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: 100%;*/
/*    min-height: 67px;*/
/*    padding: 8px 10px;*/
/*    border-radius: 16px;*/
/*    color: #ffffff;*/
/*    font-weight: 700;*/
/*    line-height: 1.4;*/
/*    text-align: center;*/
/*    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.16);*/
/*    box-sizing: border-box;*/
/*}*/

.rt-table-td--status .rt-status-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 8px 7px;
    border-radius: 16px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    /*box-shadow: 0 8px 14px rgba(0, 0, 0, 0.16);*/
    box-sizing: border-box;
}

/* 対応中 */
.is-supporting {
    background: #03D159;
    box-shadow: 0 0 11px 3px rgba(3, 209, 89, 0.25);
}

/* 未対応 */
.is-pending {
    background: #EF5350;
    box-shadow: 0 0 11px 3px rgba(239, 83, 80, 0.25);
}

/* 一時保存 */
.is-draft {
    background: #80868b;
    box-shadow: 0 0 11px 3px rgba(128, 134, 139, 0.25);
}

/* 店舗確認待ち */
.is-waiting {
    background: #FCB315;
    box-shadow: 0 0 11px 3px rgba(252, 179, 21, 0.25);
}

/* -----------------------------------------
   ブランドロゴ
----------------------------------------- */

.rt-brand-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 0;
}

.rt-brand-logo {
    display: block;
    /*width: auto;*/
    height: auto;
    max-width: 100%;
    width: 100%;
}

.rt-brand-logo--au {
    max-width: 49px;
}

.rt-brand-logo--uq {
    /*max-width: 93px;*/
    max-width: 85px;
}

/* -----------------------------------------
   申込書番号
----------------------------------------- */

.rt-application-number.is-unissued {
    color: #ff3333;
}

.rt-application-number.is-issued {
    color: #00a651;
}

/* -----------------------------------------
   詳細ボタン
----------------------------------------- */

.rt-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 40px;
    padding: 8px 6px;
    border: none;
    border-radius: 5px;
    background: #15549a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    /*line-height: 1.4;*/
    line-height: normal;
    cursor: pointer;
    margin: 0;
    box-shadow: 0 4px 0 #002E61;
    box-sizing: border-box;
    text-decoration: none;
}

.rt-detail-btn:hover {
    opacity: 0.85;
}

/* -----------------------------------------
   データなし
----------------------------------------- */

.rt-empty {
    padding: 30px 20px;
    color: #222222;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    /*background: #f2f2f2;*/
    /*border-radius: 5px;*/
    /*box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);*/
}


/* -----------------------------------------
   詳細ページだけ調整
----------------------------------------- */

/* 詳細ページのタブだけ少し大きくする */
.container.detail .rt-brand-tabs--detail .rt-brand-tab {
    flex-direction: column;
    min-height: 90px;
    padding: 8px 10px 8px;
    max-width: 165px;
}

/* 詳細ページのniftyタブだけ回線タブと高さを合わせる */
.container.detail .rt-brand-tabs--detail .rt-brand-tab--nifty {
    justify-content: center;
}

/* 詳細ページの回線番号 */
.container.detail .rt-brand-tabs--detail .rt-brand-tab__number {
    margin: 3px 0 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.0;
}

.container.detail .rt-brand-tabs--detail .rt-brand-tab__number span {
    font-size: 32px;
    font-weight: 500;
}

/* 詳細ページの三角位置だけ調整 */
.container.detail .rt-brand-tabs--detail .rt-brand-tab.is-active::after {
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top-width: 14px;
    bottom: -14px;
}

/* 詳細ページのロゴ枠 */
.container.detail .rt-brand-tabs--detail .rt-brand-tab__logo-wrap {
    max-width: 119px;
    min-height: 33px;
    padding: 4px 10px;
}

/* 詳細ページのロゴサイズ */
.container.detail .rt-brand-tabs--detail .rt-brand-tab__logo--nifty {
    max-height: 22px;
}

.container.detail .rt-brand-tabs--detail .rt-brand-tab__logo--au {
    max-height: 17px;
}

.container.detail .rt-brand-tabs--detail .rt-brand-tab__logo--uq {
    max-height: 16px;
}

/* 詳細ページ：非アクティブ時の回線番号色 */
.container.detail .rt-brand-tabs--detail .rt-brand-tab--au:not(.is-active) .rt-brand-tab__number {
    color: rgba(234, 84, 4, 0.45);
    opacity: 1;
}

.container.detail .rt-brand-tabs--detail .rt-brand-tab--uq:not(.is-active) .rt-brand-tab__number {
    color: rgba(0, 153, 255, 0.45);
    opacity: 1;
}

/* 詳細ページのパネル切り替え */
.container.detail .rt-brand-panel {
    display: none;
}

/* セクションを縦1カラムで積むため、パネル自体でセクション間の間隔を持つ */
.container.detail .rt-brand-panel.is-active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* -----------------------------------------
   detailページ 共通
----------------------------------------- */

/* -----------------------------------------
   詳細ページ タブパネル背景
----------------------------------------- */

.container.detail .rt-brand-panel--au,.container.detail .rt-brand-panel--uq{
    padding:17px 13px 30px 13px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

/* au */
.container.detail .rt-brand-panel--au {
    background: #fff3eb;
}

/* UQ */
.container.detail .rt-brand-panel--uq {
    background: #ebf7ff;
}

/*.container.detail {*/
/*    max-width: 1520px;*/
/*    margin: 0 auto;*/
/*    padding: 23px 20px 80px;*/
/*}*/

/* セクション共通 */
.detail-section {
    /*margin-top: 33px;*/
    background: #F2F2F2;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 5px 5px;
}

.detail-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 5px 16px;
    background: #333333;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    border-radius: 5px;
}

/* -----------------------------------------
   ステータス情報
----------------------------------------- */

/*
    ラベル+値を横並びにしたブロックを敷き詰めるグリッド。
    iPadでの可読性を優先し、1行あたり2ブロックまでに抑える。
*/
.detail-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 13px;
}

/*
    ステータスはバッジ+案件番号+Orange申込書番号の3ブロック。
    案件番号列は固定幅とし、余りをOrange申込書番号(バーコード)へ渡す。
    auto / max-content にすると 1fr(3列目)が余白を総取りしたり、iPad Safariが
    グリッド内のflexコンテナの内容幅を正しく算出できず、案件番号の値ボックスが
    潰れて K000001 が枠外へはみ出すため、内容依存をやめて固定値で確保する。
    案件番号は "K"+6桁ゼロ埋めの7文字固定(InputController::nextAuUqCaseNumber)。
    1行に3ブロック並ぶためiPad幅では余白が不足しやすく、ラベル幅と内側余白も詰めている。
*/
.detail-field-grid--status {
    grid-template-columns: 110px 200px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
    align-items: stretch;
}

.detail-field-grid--status .detail-field {
    gap: 6px;
}

.detail-field-grid--status .detail-field__label {
    flex: 0 0 92px;
    padding: 8px 4px;
    font-size: 14px;
}

.detail-field-grid--status .detail-field__value {
    padding: 8px 4px;
}

.detail-field {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.detail-field__label {
    flex: 0 0 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    background: #707070;
    border: 1px solid #A8A8A8;
    border-radius: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
}

.detail-field__value {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: 56px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #A8A8A8;
    border-radius: 5px;
    box-sizing: border-box;
}

/* コード(小さい灰色ボックス)と氏名/店舗名を縦に積む */
.detail-field__stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}

.detail-field__text {
    margin: 0;
    color: #333333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* 案件番号・電話番号・各種コードは途中で改行させない */
.detail-field__text--nowrap {
    white-space: nowrap;
}

/* 店舗名は桁数が多いため一段小さくし、長い場合のみ折り返す */
.detail-field__text--shop {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.detail-field__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1px 10px;
    background: #f0f0f0;
    border-radius: 3px;
    color: #333333;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.detail-field__value--name {
    flex-direction: column;
    gap: 2px;
}

.detail-field__kana {
    margin: 0;
    color: #333333;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.detail-field__name {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin: 0;
    color: #333333;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.detail-field__name span {
    font-size: 0.7em;
}

/*
    Orange申込書番号は番号とバーコードを縦に積む。
    横並びのままだと番号(nowrap)が残り幅を占有し、iPad幅でバーコードが幅0に潰れる。
*/
.detail-field__value--barcode {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.detail-field__barcode {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.detail-field__barcode .code39-barcode {
    max-width: 220px;
    width: 100%;
}

.detail-status-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-status-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 87px;
    padding: 10px 4px;
    border-radius: 16px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
}

/* 対応中 */
.detail-status-label.is-supporting,
.registration-status-box.is-supporting {
    background: #03D159;
    box-shadow: 0 0 11px 3px rgba(3, 209, 89, 1);
}

/* 未対応 */
.detail-status-label.is-pending,
.registration-status-box.is-pending {
    background: #EF5350;
    box-shadow: 0 0 11px 3px rgba(175, 0, 0, 1);
}

/* 店舗確認待ち */
.detail-status-label.is-waiting,
.registration-status-box.is-waiting {
    background: #FCB315;
    box-shadow: 0 0 11px 3px rgba(252, 179, 21, 1);
    font-size: 16px;
}

.code39-barcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 2px 8px 0;
    background: #fff;
}

.code39-barcode svg {
    display: block;
    width: 100%;
    height: 40px;
}

.code39-barcode__text {
    display: block;
    overflow: hidden;
    width: 100%;
    height: 18px;
    font-family: monospace;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
}

/* -----------------------------------------
   登録情報
----------------------------------------- */

.detail-registration-body {
    padding: 12px 10px 10px;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.registration-panel {
    border-radius: 8px;
}

.registration-panel--au {
    border: 3px solid #f04b00;
    background: #fff3eb;
}

.registration-panel--uq {
    border: 3px solid #0099FF;
    background: #EBF7FF;
}

/* -----------------------------------------
   ブランド見出し
----------------------------------------- */

.registration-brand-head {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 3px 10px 6px 10px;
    border-radius: 0 0 8px 8px;
    box-sizing: border-box;
}

.registration-brand-head--au {
    background: #EA5404;
}

.registration-brand-head--uq {
    background: #0099FF;
}

.registration-brand-head__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 103px;
    width: 100%;
    min-height:29px;
    padding: 4px 16px;
    background: #ffffff;
    border-radius: 999px;
    box-sizing: border-box;
}

.registration-brand-head__logo img {
    display: block;
    width: auto;
    height: auto;
}

.registration-brand-head--au .registration-brand-head__logo img {
    max-height: 16px;
}

.registration-brand-head--uq .registration-brand-head__logo img {
    max-height: 16px;
}

/* -----------------------------------------
   登録情報テーブル
----------------------------------------- */

.registration-table-wrap {
    overflow-x: auto;
    padding: 8px 6px;
}

.registration-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    /*background: #ffffff;*/
}

.registration-table th,
.registration-table td {
    border: 1px solid #ffffff;
    vertical-align: middle;
    box-sizing: border-box;
}


.registration-table td {
    padding: 5px 10px;
    color: #EA5404;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.registration-table__note {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/*
    3列構成: 店舗入力画面の表記 / Orange上の表記 / オーダー内容
    1列目は店舗スタッフが入力画面と突き合わせるための文言なので幅を広く取る。
*/
.registration-table th:nth-child(1),
.registration-table td:nth-child(1) {
    width: 40%;
}

.registration-table th:nth-child(2),
.registration-table td:nth-child(2) {
    width: 26%;
}

.registration-table th:nth-child(3),
.registration-table td:nth-child(3) {
    width: 34%;
}

/* 見出し行はブランド色を使わず、グレー(rgb(94,94,94))で3列を統一する */
.registration-table th {
    padding: 6px 10px;
    background: #5E5E5E;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/* 1列目(店舗入力画面の表記)はブランド色を使わず、グレー地(rgb(146,146,146))の補助情報として見せる */
.registration-table td:nth-child(1) {
    background: #929292;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.registration-table td:nth-child(2) {
    background: #EA5404;
    color: #ffffff !important;
    font-weight: 700;
}

/* 3列目(オーダー内容)はパネルの淡いブランド色が透けないよう白地を明示する */
.registration-table td:nth-child(3) {
    background: #ffffff;
}

.registration-panel--au .registration-table td:nth-child(3) {
    border: 1px solid #EA5404;
}

.registration-panel--uq .registration-table td {
    color: #0099FF;
}

.registration-panel--uq .registration-table td:nth-child(2) {
    background: #0099FF;
    color: #ffffff;
}

.registration-panel--uq .registration-table td:nth-child(3) {
    border: 1px solid #0099FF;
}

.registration-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-photo img {
    display: block;
    max-width: 250px;
    width: 100%;
    height: auto;
}

/* -----------------------------------------
   要対応カード
----------------------------------------- */

.registration-required-card {
    overflow: hidden;
    /*background: #ff9700;*/
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}

.detail-section-title.registration-required-card__title{
    background:#FF9300;
}

/* 白カード全体の余白 */
.registration-required-card__body {
    padding: 14px 14px 16px;
}

/* 見出し(白地にオレンジ文字) */
.registration-required-card__lead {
    margin: 0 0 12px;
    color: #FF9300;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/*
    実施項目リスト。全幅表示になったため横並びにして高さを抑える。
    幅が足りない場合は折り返す。
*/
.registration-required-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 10px 20px;
    padding: 14px 16px;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #A8A8A8;
    border-radius: 8px;
}

/* リスト1行 */
.registration-required-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FF9300;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

/* アイコン */
.registration-required-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*width: 34px;*/
    /*min-width: 34px;*/
}

.registration-required-list__icon img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* -----------------------------------------
   回線削除モーダル
----------------------------------------- */
.bb-carrier-delete-modal__actions{
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

.bb-carrier-delete-modal__message{
    text-align: center;
    font-weight: 500;
}

.bb-carrier-delete-modal__actions .bb-btn.bb-btn--delete{
    background: #EF5350 !important;
    color: #fff;
    box-shadow: 0 4px 0 #980502;
}

/* -----------------------------------------
   eKYC登録フォーム送信依頼 確認モーダル
   注意喚起のため、共通の .bb-modal を黄色ベースへ上書きする
----------------------------------------- */
.bb-ekyc-confirm-modal .bb-modal__dialog{
    width: min(720px, calc(100vw - 32px));
    background: #F8DD4A;
    border: 3px solid #556DB0;
    padding: 24px 28px 30px 28px;
    box-sizing: border-box;
}

/* 共通の青ヘッダーバーは使わず、黄色地に警告アイコン+見出しを置く */
.bb-ekyc-confirm-modal .bb-modal__head{
    background: none;
    padding: 0;
}

.bb-ekyc-confirm-modal__icon{
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.bb-ekyc-confirm-modal__title{
    color: #000;
    font-size: 32px;
}

.bb-ekyc-confirm-modal .bb-modal__body{
    background: none;
    padding: 18px 0 0 0;
}

.bb-ekyc-confirm-modal__inner{
    background: #F8F8FB;
    border-radius: 6px;
    padding: 22px 20px;
}

.bb-ekyc-confirm-modal__note{
    text-align: center;
    color: #FF2E2E;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 18px 0;
}

.bb-ekyc-confirm-modal__list{
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bb-ekyc-confirm-modal__row{
    display: flex;
    align-items: stretch;
}

.bb-ekyc-confirm-modal__row dt{
    flex: 0 0 250px;
    background: #556DB0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 14px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.bb-ekyc-confirm-modal__row dd{
    flex: 1 1 auto;
    margin: 0;
    background: #E9EEF6;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 16px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    /* メールアドレスは長くなるため折り返す */
    overflow-wrap: anywhere;
}

.bb-ekyc-confirm-modal__check{
    margin: 22px 0;
    text-align: center;
}

.bb-ekyc-confirm-modal__check-label{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.bb-ekyc-confirm-modal__check-label input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    margin: 0;
    border: 2px solid #000;
    border-radius: 5px;
    background: #fff;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.bb-ekyc-confirm-modal__check-label input[type="checkbox"]:checked::after{
    content: "";
    position: absolute;
    left: 6px;
    top: 1px;
    width: 8px;
    height: 14px;
    border: solid #111;
    border-width: 0 5px 5px 0;
    transform: rotate(45deg);
}

.bb-ekyc-confirm-modal__actions{
    display: flex;
    justify-content: center;
    gap: 14px;
    padding-bottom: 5px;
}

.bb-ekyc-confirm-modal__actions .bb-btn{
    max-width: 220px;
}

.bb-ekyc-confirm-modal__actions .bb-btn.bb-btn--confirm{
    background: #3C6DA8 !important;
    color: #fff;
    box-shadow: 0 4px 0 #24466C;
}

/*手続きの開始　モーダル*/
.bb-carrier-submit-modal__actions{
    margin-top: 30px;
    display: flex;
    gap: 14px;
    justify-content: center;
}

.bb-carrier-submit-modal__message{
    text-align: center;
    font-weight: 500;
}

/* ChatLuck通知先の確認 */
.bb-chatluck-login-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 6px;
}

.bb-chatluck-login-row label {
    flex-shrink: 0;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.bb-chatluck-login-row input {
    width: 100%;
    max-width: 280px;
    border: 2px solid #e9ecef;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.bb-chatluck-caution {
    margin: 16px 0 0;
    color: #FF2D2D;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

/* 受付時間外 */
.bb-reception-closed {
    padding: 36px 30px;
    border-radius: 10px;
    background: #f2f2f2;
    box-shadow: 0 0 4px rgb(0 0 0 / 25%);
    color: #333;
    text-align: center;
}

.bb-reception-closed h3 {
    margin: 0 0 24px;
    color: #232f6a;
    font-size: 28px;
}

.bb-reception-closed p {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.8;
}

.bb-reception-closed__note {
    color: #666;
    font-size: 14px !important;
}

/*--
最終確認
--*/
.bb-step-body--final-check {
    padding: 14px 11px;
}

.bb-carrier-final-check{
    padding: 17px 18px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.bb-carrier-final-check__item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.bb-carrier-final-check__item + .bb-carrier-final-check__item {
    margin-bottom: 0;
}

/* デフォルトcheckboxを非表示 */
.bb-carrier-final-check__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* checkbox */
.bb-carrier-final-check__box {
    position: relative;
    flex-shrink: 0;
    width: 24px;
    height: 23px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 5px;
    box-sizing: border-box;
}

/* チェック時に画像を表示 */
.bb-carrier-final-check__input:checked
+ .bb-carrier-final-check__box {
    background-image: url('../../../input/img/register/check.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 19px;
}

.bb-carrier-final-check__text {
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    line-height: 2.0;
}
