
/* ------------------------------------------------------------------------------------------------------- */
/* 会員登録画面 */
.cur-registration-page-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    min-height: calc(100dvh - 25px);
    overflow-y: auto;
    font-family: 'Noto Sans JP', sans-serif;
}

.cur-line-registration-page-container {
    margin: 0 auto;
    background-color: transparent;
    padding: 0;
    padding-bottom: 1.25rem;
    border-radius: 8px;
    overflow-y: auto;
    font-family: 'Noto Sans JP', sans-serif;
    max-width: 37.5rem;
    min-height: calc(100dvh - 1.5625rem);
}

#cur-registration-page-form {
    display: flex;
    flex-direction: column;
}

.cur-registration-page-form-group {
    margin-bottom: 20px;
}

.cur-registration-page-form-group label {
    font-size: 1rem;
    color: #535353;
    display: block;
    margin-bottom: 8px;
}

.cur-registration-page-form-group input,
.cur-registration-page-form-group select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #535353;
}

.cur-registration-page-form-group input[type="password"] {
    font-family: 'Courier New', Courier, monospace;
}


.cur-registration-page-form-group select {
    font-size: 0.875rem;
    color: #535353;
    padding: 10px;
    border-radius: 4px;
}

.cur-registration-page-form-group-checkbox-section {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}


.cur-registration-page-form-group-checkbox-section label {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: #535353;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}


.cur-registration-page-form-group-checkbox-section input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cur-registration-page-form-group-checkbox-section label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}


.cur-registration-page-form-group-checkbox-section input[type="checkbox"]:checked + label::before {
    background-color: rgb(233, 81, 142);
    border-color: rgb(233, 81, 142);
}


.cur-registration-page-form-group-checkbox-section label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg) scale(0);
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transition: transform 0.3s ease;
}

.cur-registration-page-form-group-checkbox-section input[type="checkbox"]:checked + label::after {
    transform: translateY(-50%) rotate(45deg) scale(1);
}

.cur-registration-page-form-group-privacy-policy-checkbox-section {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}


.cur-registration-page-form-group-privacy-policy-checkbox-section label {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: #535353;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.cur-registration-page-form-group-privacy-policy-checkbox-section label a {
    color: #007BFF;
    text-decoration: underline;
}


.cur-registration-page-form-group-privacy-policy-checkbox-section input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cur-registration-page-form-group-privacy-policy-checkbox-section label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}


.cur-registration-page-form-group-privacy-policy-checkbox-section input[type="checkbox"]:checked + label::before {
    background-color: rgb(233, 81, 142);
    border-color: rgb(233, 81, 142);
}


.cur-registration-page-form-group-privacy-policy-checkbox-section label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg) scale(0);
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transition: transform 0.3s ease;
}

.cur-registration-page-form-group-privacy-policy-checkbox-section input[type="checkbox"]:checked + label::after {
    transform: translateY(-50%) rotate(45deg) scale(1);
}


/* 登録ボタン */
.cur-registration-page-btn {
    width: 200px;
    padding: 12px;
    background-color: rgb(233, 81, 142);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 10px auto 0 auto;
}

.cur-registration-page-warning {
    font-size: 0.875rem;
    color: #535353;
}

.cur-registration-page-required-badge {
    background-color: #fe4b4b;
    color: #ffffff;
    font-size: 0.8em;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 10px;
}

.cur-error-message {
    font-size: 0.875rem;
    color: #ff0000;
}

.cur-line-add-button {
    width: 180px;
    height: auto;
    aspect-ratio: 29 / 9;
    display: block;
    margin: 0 auto;
}

.cur-line-info-box {
    background-color: rgba(6, 199, 85, 0.2);
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #535353;
}

/* ------------------------------------------------------------------------------------------------------- */
/* SMS認証ページ */
.cur-authentication-page-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 25px);
    overflow-y: auto;
    font-family: 'Noto Sans JP', sans-serif;
}

#cur-authentication-page-form{
    display: flex;
    flex-direction: column;
}

.cur-authentication-page-form-group label {
    font-size: 1rem;
    color: #535353;
    display: block;
    margin-bottom: 8px;
}

.cur-authentication-page-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #535353;
}

.cur-authentication-page-btn {
    width: 200px;
    padding: 12px;
    background-color: rgb(233, 81, 142);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 10px auto 0 auto;
}

.cur-authentication-page-reset-btn {
    margin-top: 12px;
    color: #535353;
    cursor: pointer;
    font-size: 1rem;
}

.cur-authentication-page-message {
    margin-bottom: 10px;
    color: #535353;
    font-size: 1rem;
}

.cur-authentication-page-warning {
    font-size: 0.875rem;
    color: #ff0000;
    display: none;
}

/* ------------------------------------------------------------------------------------------------------- */
/* 成功ページ */

.cur-success-page-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 25px);
    overflow-y: auto;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.cur-success-page-container-message {
    font-size: 1rem;
    color: #535353;
    text-align: left;
    margin-bottom: 20px;
    margin-top: 40px !important;
}

.cur-success-page-button {
    width: 200px;
    padding: 12px;
    color: #535353 !important;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 10px auto 0 auto;
    text-align: center;
    position: relative;
}

.cur-success-page-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    left: 10px;
    width: 10px;
    height: 10px;
    border-bottom: 1px solid #535353;
    border-left: 1px solid #535353;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

.cur-success-page-mycred-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.cur-success-page-mycred-info-box {
    padding: 10px;
    text-align: center;
    width: 303px;
    color: #535353;
    border-bottom: solid 1px #535353;
    border-top: solid 1px #535353;
}

.cur-success-page-mycred-label {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cur-success-page-mycred-amount {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
}

.cur-success-page-cancel-membership-button {
    margin: 0 0 0 auto;
    color: #666;
    background-color: transparent;
    font-size: 0.75rem;
}

.cur-line-link-box {
    border: 1px solid #06C755;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cur-line-link-title {
    font-size: 20px;
    color: #06C755;
    font-weight: 500;
}

.cur-line-link-text {
    font-size: 0.875rem;
    margin: 10px 0 20px;
    font-weight: 500;
    color: #535353;
}

.cur-line-link-button-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cur-line-link-coupon {
    width: 180px;
    height: auto;
    margin-bottom: -15px;
    z-index: 5;
}

.cur-line-link-button {
    display: flex;
    position: relative;
    background-color: #06C755;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    width: 298px;
    z-index: 1;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    justify-content: center;
}

.cur-line-link-icon {
    width: 25px;
    height: auto;
}

.cur-line-link-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 26px;
    width: 10px;
    height: 10px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.cur-success-page-confirm-btn {
    padding: 10px;
    font-size: 0.875rem;
    background: #fff;
    color: #7D40A0;
    border-radius: 24px;
    width: 180px;
    position: relative;
    text-align: center;
    border: solid 1px #7D40A0;
    position: relative;
    margin: 0 auto; 
}

.cur-success-page-confirm-btn::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 10px;
    height: 10px;
    border-bottom: 1px solid #7D40A0;
    border-left: 1px solid #7D40A0;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}



/* ------------------------------------------------------------------------------------------------------- */
/* 全ページ共有 */
.cur-step-bar {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    counter-reset: step;
    position: relative;
}

.cur-step-bar::before {
    content: '';
    position: absolute;
    top: 20px; /* ステップの中心に線を配置 */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    z-index: 0;
}

/* ステップアイテム */
.cur-step-bar li {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 1;
}

.cur-step-bar li::before {
    counter-increment: step;
    content: counter(step);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 3px solid #ddd;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: #fff;
    font-weight: bold;
    font-size: 1rem;
    color: #555;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    animation: crl-step-in 0.5s forwards;
}

/* ステップラベル */
.cur-step-bar li span {
    font-size: 0.85rem;
    display: block;
    color: #555;
    transition: color 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: crl-label-in 0.5s forwards 0.3s;
}

/* アクティブ状態 */
.cur-step-bar li.active::before {
    border-color: #4caf50; /* 緑色 */
    background-color: #fff;
    color: #4caf50;
    transform: scale(1);
    opacity: 1;
}

.cur-step-bar li.active span {
    color: #4caf50; /* 緑色 */
    transform: translateY(0);
    opacity: 1;
}

/* 完了状態 */
.cur-step-bar li.completed::before {
    background-color: #D7AEEF;
    border-color: #D7AEEF;
    color: #fff;
    transform: scale(1);
    opacity: 1;
    content: counter(step);
    font-size: 1rem;
}

.cur-step-bar li.completed span {
    color: #D7AEEF;
    transform: translateY(0);
    opacity: 1;
}

/* アニメーション */
@keyframes crl-step-in {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes crl-label-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ------------------------------------------------------------------------------------------------------- */
/* 登録手段 */

.user-registration-method-page {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
}

.cur-logo-icon {
    width: 200px;
    height: auto;
    margin: 0 auto 40px;
}

.cur-phone-link-button {
    background-color: #E9528E;
}

.user-registration-method-line {
  display: flex;
  align-items: center;
  text-align: center;
  color: #535353;
  font-size: 1rem;
  margin: 20px 0;
}

.user-registration-method-line::before,
.user-registration-method-line::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #AAAAAC;
  margin: 0 10px;
}

.user-registration-login-guide {
    display: block;
    text-align: center;
    font-size: 1rem;
    color: #535353;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.user-registration-store-and-therapist-guide {
    margin-top: 20px;
    font-size: 0.875rem;;
    color: #AAAAAC;
    text-align: center;
}

.user-registration-store-and-therapist-guide a {
    color: #E9518E;
    text-decoration: underline;
}

.cur-registration-page-line-btn {
    display: flex;
    position: relative;
    background-color: #06C755;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 1.875rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    width: 18.625rem;
    z-index: 1;
    flex-direction: row;
    align-items: center;
    gap: 0.1875rem;
    justify-content: center;
}