html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* CP-05 Login (new image) */
.cp05-login {
    padding: 26px 20px;
}

.cp05-login__row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.cp05-login__left {
    flex: 1 1 auto;
    max-width: 820px;
}

.cp05-login__right {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 150px;
}

.cp05-login__field {
    margin-bottom: 18px;
}

.cp05-login__label {
    display: block;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cp05-login__input {
    width: 100%;
    height: 44px;
    border: 1px solid #000;
    border-radius: 2px;
    padding: 8px 10px;
    background: #fff;
    outline: none;
}

.cp05-login__pwWrap {
    position: relative;
}

.cp05-login__input--pw {
    padding-right: 44px; /* 目玉分の余白 */
}

.cp05-login__eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .cp05-login__eye svg {
        fill: #000;
    }

    .cp05-login__eye.is-on svg {
        opacity: 0.75;
    }

.cp05-login__help {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.75;
    color: #000;
}

.cp05-login__btn {
    width: 160px;
    min-height: 48px;
    border: 1px solid #000;
    border-radius: 8px;
    background: #fff;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.cp05-login__btn--primary {
    font-size: 22px;
}

.cp05-login__btn:hover {
    filter: brightness(0.98);
}

.cp05-login__error {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #e27a7a;
    background: #ffe9e9;
    color: #8a1f1f;
    border-radius: 6px;
}

/* CP-06 Reset Password */
.cp-resetpw {
    position: relative;
    padding: 24px 8px 40px;
}

.cp-resetpw__topright {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
}

.cp-resetpw__form {
    padding-top: 56px;
    max-width: 820px;
}

.cp-resetpw__field {
    margin-bottom: 16px;
}

.cp-resetpw__labelRow {
    display: flex;
    align-items: baseline;
    gap: 18px;
}

.cp-resetpw__label {
    display: inline-block;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cp-resetpw__rule {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.cp-resetpw__input {
    width: 100%;
    height: 42px;
    border: 1px solid #1aa0d8;
    padding: 6px 10px;
    background: linear-gradient(#a9d6f7, #89c2ea);
    outline: none;
}

.cp-resetpw__passwordWrap {
    position: relative;
}

.cp-resetpw__toggle {
    position: absolute;
    right: -56px; /* 画像の紫丸の位置感 */
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #7a3e7f;
    background: #c77acb;
    cursor: pointer;
}

    .cp-resetpw__toggle.is-on {
        filter: brightness(0.9);
    }

.cp-resetpw__actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end; /* 右寄せ */
}

.cp-resetpw__btn {
    width: 150px;
    min-height: 46px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid #d98c6c;
    background: linear-gradient(#f6b39b, #f19a7e);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

    .cp-resetpw__btn:hover {
        filter: brightness(0.98);
    }

.cp-resetpw__error {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #e27a7a;
    background: #ffe9e9;
    color: #8a1f1f;
    border-radius: 6px;
}

.cp-resetpw__ok {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #6bbf7a;
    background: #eaffef;
    color: #166b2b;
    border-radius: 6px;
}

/* 入力＋目玉ボタンを右端に重ねる */
.cp-resetpw__passwordWrap {
    position: relative;
}

    /* 右端に目玉が乗るので、その分入力の右paddingを増やす */
    .cp-resetpw__passwordWrap .cp-resetpw__input {
        padding-right: 44px; /* 目玉ボタン分の余白 */
    }

/* 目玉ボタン本体（右端に絶対配置） */
.cp-resetpw__toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
}

    /* フォーカス時の見やすさ */
    .cp-resetpw__toggle:focus {
        outline: 2px solid #4d90fe;
        outline-offset: 2px;
    }

    /* 押下状態（aria-pressed=true）で見た目を少し変える（任意） */
    .cp-resetpw__toggle.is-on {
        background: #f3f6ff;
        border-color: #4d90fe;
    }

/* CP-11 Account */
.cp11-input {
    display: block !important;
    width: 900px !important; /* 好みで 700/800/1000 に変更 */
    max-width: 100%;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid #000;
    padding: 6px 10px;
}

.cp11-form {
    max-width: 1400px;
}

.cp11-actions {
    margin-top: 18px;
    display: flex;
    gap: 18px;
    justify-content: flex-start; /* まず左寄せ */
    padding-left: 20px; /* 好みで微調整 */
}

.cp11-msg-bottom {
    margin-top: 16px;
    color: #c00; /* 赤 */
    font-weight: 700;
}

.cp14-msg-bottom {
    margin-top: 16px;
    color: #c00;
    font-weight: 700;
}


