/* ------------------------------------------------------------------------------------------------------------------ */
/* フロー */

.custom-apply-store-flow-steps {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.custom-apply-store-flow-step {
    display: flex;
    color: #535353;
    gap: 1.25rem;
    align-items: center;
}

.custom-apply-store-flow-step-number {
    background: #9E6CBB;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
}

.custom-apply-store-flow-step-char {
    font-size: 0.875rem;
    color: #fff;
    margin-top: 0;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.custom-apply-store-flow-step-number-digit {
    font-size: 1.125rem;
    color: #fff;
    margin-top: 0;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-1px);
}

.custom-apply-store-flow-text {
    font-size: 0.875rem;
    color: #535353;
    flex: 1;
}

.custom-apply-store-flow-button-wrapper {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.custom-apply-store-flow-button {
    position: relative;
    text-align: center;
    background-color: #E9528E;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: #ffffff;
    width: 280px; 
    height: 45px;
    box-sizing: border-box;
}

.custom-apply-store-flow-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-apply-store-flow-message {
    font-size: 0.875rem;
    color: #535353;
    text-align: center;
    margin-top: 1.25rem;
}

.custom-apply-store-flow-message a {
    color: #7D40A0;
    text-decoration: underline;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 利用規約 */

.custom-apply-store-terms-content {
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column; 
}

.custom-apply-store-terms-sentence {
    flex: 1;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: #535353;
    border: 1px solid #AAAAAC;
    padding: 1.25rem;
    overflow-y: auto;
}

#custom-apply-store-terms-end {
    display: block;
    height: 1px;
    visibility: hidden;
}

.custom-apply-store-terms-button-wrapper {
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.custom-apply-store-terms-button {
    position: relative;
    text-align: center;
    background-color: #E9528E;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: #ffffff;
    width: 280px; 
    height: 45px;
    box-sizing: border-box;
}

.custom-apply-store-terms-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-apply-store-terms-button:disabled {
    background-color: #AAAAAC;
    opacity: 1;
    cursor: not-allowed;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 反社規約 */

.custom-apply-store-antisocial-content {
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column; 
}

.custom-apply-store-antisocial-sentence {
    flex: 1;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: #535353;
    border: 1px solid #AAAAAC;
    padding: 1.25rem;
    overflow-y: auto;
}

#custom-apply-store-antisocial-end {
    display: block;
    height: 1px;
    visibility: hidden;
}

.custom-apply-store-antisocial-button-wrapper {
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.custom-apply-store-antisocial-button {
    position: relative;
    text-align: center;
    background-color: #E9528E;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: #ffffff;
    width: 280px; 
    height: 45px;
    box-sizing: border-box;
}

.custom-apply-store-antisocial-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-apply-store-antisocial-button:disabled {
    background-color: #AAAAAC;
    opacity: 1;
    cursor: not-allowed;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 署名 */

.custom-apply-store-signature-content {
    height: 100dvh;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column; 
}

.custom-apply-store-signature-form-group {
    margin-top: 2.5rem;
}

.custom-apply-store-signature-form-group label {
    font-size: 1rem;
    color: #535353;
    display: block;
    margin-bottom: 0.625rem;
}

.custom-apply-store-signature-form-group-checkbox-section {
    display: flex;
    gap: 0.625rem;
    flex-direction: column;
}


.custom-apply-store-signature-form-group-checkbox-section label {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    color: #535353;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}


.custom-apply-store-signature-form-group-checkbox-section input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-apply-store-signature-form-group-checkbox-section label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #AAAAAC;
    border-radius: 4px;
    background-color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}


.custom-apply-store-signature-form-group-checkbox-section input[type="checkbox"]:checked + label::before {
    background-color: #E9528E;
    border-color: #E9528E;
}


.custom-apply-store-signature-form-group-checkbox-section label::after {
    content: "";
    position: absolute;
    left: 7px;
    top: calc(50% - 1px);
    transform: translateY(-50%) rotate(45deg) scale(0);
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transition: transform 0.3s ease;
}

.custom-apply-store-signature-form-group-checkbox-section input[type="checkbox"]:checked + label::after {
    transform: translateY(-50%) rotate(45deg) scale(1);
}

.custom-apply-store-signature-canvas {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    border: 1px solid #AAAAAC;
    background-color: #f9f9f9;
    touch-action: none;
}

#signature-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.custom-apply-store-signature-clear-button {
    padding: 0.75rem;
    font-size: 0.875rem;
    background-color: #AAAAAC;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    margin-left: auto; 
}

.custom-apply-store-signature-button-wrapper {
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.custom-apply-store-signature-button {
    position: relative;
    text-align: center;
    background-color: #E9528E;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: #ffffff;
    width: 280px; 
    height: 45px;
    box-sizing: border-box;
}

.custom-apply-store-signature-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-apply-store-signature-button:disabled {
    background-color: #AAAAAC;
    opacity: 1;
    cursor: not-allowed;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 申請 */
 
#custom-apply-store-fill-form {
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
    margin-bottom: 4rem;
}

.custom-apply-store-fill-form-group label {
    font-size: 1rem;
    color: #535353;
    display: block;
    margin-bottom: 0.625rem;
}

.custom-apply-store-fill-form-group-label-note {
    font-size: 0.75rem;
    margin-bottom: 0.625rem;
    margin-top: 0.625rem;
    color: #535353;
}

.custom-apply-store-fill-form-group input,
.custom-apply-store-fill-form-group select {
    font-size: 0.875rem;
    padding: 0.9375rem;
    border: none;
    border-radius: 999px;
    background-color: #F5F5F5;
    width: 100%;
    color: #535353;
    box-sizing: border-box;
    margin-bottom: 1.25rem;
}

.custom-apply-stores-fill-button {
    position: relative;
    text-align: center;
    background-color: #E9528E;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 2.5rem auto 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: #ffffff;
    width: 280px; 
    height: 45px;
    box-sizing: border-box;
}

.custom-apply-stores-fill-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}

.custom-apply-stores-fill-store-block-title {
    text-align: center;
    color: #7D40A0;
    margin-top: 1.25px;
    margin-bottom: 1.25px;
    font-size: 1.125rem;
}

/* ------------------------------------------------------------------------------------------------------------------ */
/* 完了 */

.custom-apply-store-success-message {
    font-size: 0.875rem;
    color: #535353;
    text-align: center;
    margin-top: 2.5rem;
}

.custom-apply-store-success-button-wrapper {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.custom-apply-store-success-button {
    position: relative;
    text-align: center;
    background-color: #fff;
    border: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 auto;
    border-radius: 3.125rem;
    font-size: 1rem;
    padding: 0.75rem;
    color: #E9528E;
    width: 280px; 
    height: 45px;
    box-sizing: border-box;
    border: solid 1px #E9528E;
}

.custom-apply-store-success-button::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: 10px;
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #E9528E;
    border-left: 1px solid #E9528E;
    -webkit-transform: translatey(-50%) rotate(-135deg);
    transform: translatey(-50%) rotate(-135deg);
}
