:root {
    --labo-green: #45bea0;
    --labo-green-dark: #007a3d;
    --labo-green-pale: #e9f8f2;
    --labo-navy: #1d4658;
    --labo-text: #202428;
    --labo-muted: #6f7880;
    --labo-border: #c8d2d8;
    --labo-background: #f6f9fa;
}

body:has(.labo-signup) {
    background: var(--labo-background);
    color: var(--labo-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.labo-signup {
    min-height: 100vh;
    font-weight: 400;
}

.labo-header {
    align-items: center;
    background: #fff;
    display: flex;
    height: 76px;
    justify-content: space-between;
    left: auto;
    padding: 0 max(44px, calc((100vw - 1120px) / 2));
    position: relative;
    top: auto;
    width: 100%;
    z-index: 1;
}

.labo-header__brand img {
    display: block;
    height: auto;
    width: 132px;
}

.labo-header__nav {
    display: flex;
    gap: 34px;
}

.labo-header__nav a,
.labo-header__nav button {
    background: transparent;
    border-bottom: 1px solid currentColor;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    color: var(--labo-green);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    padding: 0 0 2px;
    text-decoration: none;
}

.labo-header__nav a:hover,
.labo-header__nav a:focus,
.labo-header__nav button:hover,
.labo-header__nav button:focus {
    color: var(--labo-green);
    outline: 0;
    text-decoration: none;
}

.labo-contact-modal {
    background: transparent;
    border: 0;
    margin: auto;
    max-height: calc(100vh - 32px);
    max-width: 540px;
    padding: 0;
    width: calc(100% - 28px);
}

.labo-contact-modal::backdrop {
    background: rgba(27, 38, 43, .48);
}

.labo-contact-modal__content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 34px rgba(25, 55, 68, .18);
    padding: 32px 30px 30px;
    text-align: center;
}

.labo-contact-modal h2 {
    font-size: 29px;
    font-weight: 800;
    margin: 0 0 20px;
}

.labo-contact-modal__description {
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 20px;
}

.labo-contact-modal__qr {
    display: block;
    height: 190px;
    margin: 0 auto 14px;
    object-fit: contain;
    width: 190px;
}

.labo-contact-modal__qr-placeholder {
    border: 9px solid #00c300;
    color: #00a900;
    display: grid;
    font-size: 26px;
    font-weight: 800;
    height: 190px;
    line-height: 1;
    margin: 0 auto 14px;
    place-content: center;
    width: 190px;
}

.labo-contact-modal__qr-placeholder small {
    font-size: 12px;
}

.labo-contact-modal__qr-label,
.labo-contact-modal__mobile-note {
    font-size: 13px;
    margin: 0;
}

.labo-contact-modal__separator {
    align-items: center;
    display: flex;
    font-size: 13px;
    gap: 20px;
    margin: 22px 0;
}

.labo-contact-modal__separator::before,
.labo-contact-modal__separator::after {
    border-top: 1px solid var(--labo-border);
    content: "";
    flex: 1;
}

.labo-contact-modal .labo-line-button {
    min-height: 52px;
}

.labo-contact-modal__mobile-note {
    margin-top: 14px;
}

.labo-contact-modal__close {
    background: #fff;
    border: 1px solid #B8C0C5;
    border-radius: 8px;
    color: var(--labo-text);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    margin-top: 24px;
    min-height: 52px;
    padding: 10px 34px;
}

.labo-contact-modal__close:focus,
.labo-contact-modal__close:focus-visible {
    border-color: #B8C0C5;
    box-shadow: none;
    outline: none;
}

.labo-hero {
    background: var(--labo-green-pale);
    min-height: 216px;
    padding: 38px 20px 30px;
    text-align: center;
}

.labo-hero h1 {
    align-items: center;
    display: flex;
    font-size: 36px;
    font-weight: 800;
    gap: 12px;
    justify-content: center;
    line-height: 1.2;
    margin: 0 0 18px;
}

.labo-hero h1 img {
    height: auto;
    width: 256px;
}

.labo-hero p {
    font-size: 17px;
    letter-spacing: .03em;
    line-height: 1.6;
    margin: 0 0 20px;
}

.labo-hero ul {
    display: flex;
    gap: 34px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.labo-hero li {
    align-items: center;
    color: var(--labo-green-dark);
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    gap: 8px;
}

.labo-hero li img {
    display: block;
    height: 24px;
    width: 24px;
}

.labo-signup__content {
    margin: 0 auto;
    max-width: 650px;
    padding: 32px 20px 90px;
}

.labo-audience {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 20px;
}

.labo-audience__option {
    align-items: center;
    background: #fff;
    border: 1px solid var(--labo-border);
    border-radius: 8px;
    color: var(--labo-text);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 8px;
    height: 108px;
    justify-content: center;
    padding: 12px;
    position: relative;
}

.labo-audience__option.is-active {
    background: var(--labo-green-pale);
    border-color: var(--labo-green);
}

.labo-audience__option > img:not(.labo-audience__check) {
    height: 41px;
    object-fit: contain;
    width: 62px;
}

.labo-audience__check {
    display: none;
    height: 20px;
    object-fit: contain;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 20px;
}

.labo-audience__option.is-active .labo-audience__check {
    display: block;
}

.labo-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.labo-timeline li {
    align-items: center;
    color: #879199;
    display: flex;
    font-size: 13px;
    gap: 8px;
    min-width: 0;
    position: relative;
}

.labo-timeline li:not(:last-child)::after {
    border-top: 1px dashed #aab2b8;
    content: "";
    flex: 1;
    margin: 0 8px 0 2px;
    min-width: 10px;
}

.labo-timeline span {
    border: 1px solid var(--labo-border);
    border-radius: 50%;
    display: inline-grid;
    flex: 0 0 auto;
    height: 25px;
    place-items: center;
    width: 25px;
}

.labo-timeline strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

.labo-timeline li.is-active {
    color: var(--labo-text);
    font-weight: 700;
}

.labo-timeline li.is-active span {
    background: var(--labo-green);
    border-color: var(--labo-green);
    color: #fff;
}

.labo-card {
    background: #fff;
    border: 0;
    border-radius: 9px;
    box-shadow: 0 8px 22px rgba(25, 55, 68, .09);
    margin: 0;
    max-width: none;
    padding: 28px;
    width: 100%;
}

.labo-card h2 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 24px;
}

.labo-form__grid {
    display: grid;
    gap: 17px 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.labo-form__field {
    margin-bottom: 17px;
}

.labo-form__grid .labo-form__field {
    margin-bottom: 0;
}

.labo-form__field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 6px;
}

.labo-form__field label span {
    color: #e24b37;
}

.labo-form .labo-form__field input.form-control {
    border: 1px solid #b8c4cc;
    border-radius: 7px;
    box-shadow: none;
    font-size: 13px;
    height: 43px;
    padding: 9px 13px;
}

.labo-form .labo-form__field input.form-control:focus {
    border-color: var(--labo-green);
    box-shadow: 0 0 0 3px rgba(69, 190, 160, .14);
}

.labo-form .labo-form__field input::placeholder {
    color: #bdc6cd;
}

.labo-form__field > p,
.labo-form__password-help {
    font-size: 12px;
    margin: 6px 0 0;
}

.labo-password {
    position: relative;
}

.labo-password input {
    padding-right: 42px !important;
}

.labo-password button {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--labo-green);
    display: flex;
    font-size: 15px;
    height: 100%;
    justify-content: center;
    padding: 0 12px;
    position: absolute;
    right: 0;
    top: 0;
}

.labo-password button img {
    display: block;
    height: auto;
    max-height: 14px;
    max-width: 16px;
    width: auto;
}

.labo-form__password-help {
    margin: 7px 0 18px;
}

.labo-primary-button,
.labo-secondary-button {
    border: 1px solid var(--labo-navy);
    border-radius: 7px;
    cursor: pointer;
    display: inline-grid;
    font-size: 14px;
    font-weight: 700;
    height: 44px;
    padding: 0 18px;
    place-items: center;
    text-decoration: none;
}

.labo-primary-button {
    background: var(--labo-navy);
    color: #fff;
    width: 100%;
}

.labo-secondary-button {
    background: #fff;
    color: var(--labo-navy);
}

.labo-primary-button:hover,
.labo-primary-button:focus {
    color: #fff;
    opacity: .9;
    text-decoration: none;
}

.labo-legal {
    font-size: 12px;
    margin: 18px 0 0;
    text-align: center;
}

.labo-legal a {
    border-bottom: 1px solid currentColor;
    color: var(--labo-green);
    padding-bottom: 1px;
    text-decoration: none;
}

.labo-legal a:hover,
.labo-legal a:focus {
    color: var(--labo-green);
    text-decoration: none;
}

.labo-form ul.errorlist {
    color: #d94736;
    font-size: 11px;
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.labo-confirmation dl {
    margin: 0;
}

.labo-confirmation dl div {
    display: grid;
    font-size: 14px;
    grid-template-columns: 170px 1fr;
    margin-bottom: 18px;
}

.labo-confirmation dt {
    font-weight: 400;
}

.labo-confirmation dd {
    font-weight: 700;
    margin: 0;
}

.labo-confirmation__actions {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    margin-top: 8px;
}

.labo-confirmation__actions .labo-secondary-button,
.labo-confirmation__actions .labo-primary-button {
    width: 100%;
}

.labo-line-panel {
    padding: 30px 26px 24px;
    text-align: center;
}

.labo-line-panel h2 {
    font-size: 16px;
    margin-bottom: 22px;
}

.labo-line-panel__qr {
    display: block;
    height: 155px;
    margin: 0 auto 10px;
    object-fit: contain;
    width: 155px;
}

.labo-line-panel__qr-placeholder {
    border: 8px solid #00c300;
    color: #00a900;
    display: grid;
    font-size: 23px;
    font-weight: 800;
    height: 145px;
    line-height: 1;
    margin: 0 auto 10px;
    place-content: center;
    width: 145px;
}

.labo-line-panel__qr-placeholder small {
    font-size: 11px;
}

.labo-line-panel p {
    font-size: 12px;
    margin: 8px 0;
}

.labo-line-panel__separator {
    align-items: center;
    display: flex;
    font-size: 12px;
    gap: 16px;
    margin: 16px 0;
}

.labo-line-panel__separator::before,
.labo-line-panel__separator::after {
    border-top: 1px solid var(--labo-border);
    content: "";
    flex: 1;
}

.labo-line-button {
    align-items: center;
    background: #00c300;
    border-radius: 6px;
    color: #fff;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 43px;
    padding: 9px 14px;
    text-decoration: none;
}

.labo-line-button:hover,
.labo-line-button:focus {
    color: #fff;
    opacity: .9;
    text-decoration: none;
}

.labo-line-button__icon {
    display: block;
    flex: 0 0 auto;
    height: 24px;
    width: 24px;
}

.labo-line-button__external-icon {
    display: block;
    flex: 0 0 auto;
    height: 16px;
    width: 16px;
}

.labo-line-button.is-disabled {
    background: #aeb8bc;
    cursor: not-allowed;
}

.labo-status-wrap {
    max-width: 650px;
}

.labo-status-wrap--verification {
    padding-top: 45px;
}

.labo-status-card {
    text-align: center;
}

.labo-status-card h1 {
    font-size: 23px;
    font-weight: 800;
    margin: 4px 0 20px;
}

.labo-status-card__lead {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 18px;
}

.labo-status-card__notice {
    align-items: center;
    background: #f0f4f6;
    border-radius: 7px;
    display: flex;
    font-size: 12px;
    gap: 12px;
    margin: 0 0 18px;
    padding: 12px 15px;
    text-align: left;
}

.labo-status-card__notice span {
    background: var(--labo-green);
    border-radius: 50%;
    color: #fff;
    display: inline-grid;
    flex: 0 0 auto;
    font-weight: 800;
    height: 21px;
    place-items: center;
    width: 21px;
}

.labo-status-card__line {
    align-items: center;
    border: 1px solid #d6dde1;
    border-radius: 7px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 220px;
    padding: 18px;
    text-align: left;
}

.labo-status-card__line strong {
    font-size: 13px;
}

.labo-status-card__line p {
    font-size: 12px;
    line-height: 1.7;
    margin: 8px 0 0;
}

.labo-status-card__button {
    margin: 20px auto 4px;
    max-width: 180px;
}

@media (max-width: 767px) {
    .labo-header {
        height: 62px;
        padding: 0 18px;
    }

    .labo-header__brand img {
        width: 112px;
    }

    .labo-header__nav {
        gap: 18px;
    }

    .labo-header__nav a,
    .labo-header__nav button {
        font-size: 12px;
    }

    .labo-contact-modal {
        max-height: calc(100vh - 20px);
        width: calc(100% - 20px);
    }

    .labo-contact-modal__content {
        padding: 28px 24px 24px;
    }

    .labo-contact-modal h2 {
        font-size: 25px;
    }

    .labo-contact-modal__description {
        font-size: 13px;
    }

    .labo-contact-modal__qr,
    .labo-contact-modal__qr-placeholder {
        height: 170px;
        width: 170px;
    }

    .labo-hero {
        min-height: 0;
        padding: 27px 16px 24px;
    }

    .labo-hero h1 {
        font-size: 22px;
        gap: 9px;
    }

    .labo-hero h1 img {
        width: 145px;
    }

    .labo-hero p {
        font-size: 12px;
        line-height: 1.8;
        margin-left: auto;
        margin-right: auto;
        max-width: 330px;
    }

    .labo-hero ul {
        flex-wrap: wrap;
        gap: 10px 22px;
    }

    .labo-hero li {
        font-size: 11px;
    }

    .labo-hero li {
        gap: 5px;
    }

    .labo-hero li img {
        height: 20px;
        width: 20px;
    }

    .labo-signup__content {
        padding: 18px 14px 55px;
    }

    .labo-audience {
        gap: 8px;
        margin-bottom: 14px;
    }

    .labo-audience__option {
        font-size: 11px;
        height: 92px;
        padding: 8px 4px;
    }

    .labo-audience__option > img:not(.labo-audience__check) {
        height: 41px;
        width: 62px;
    }

    .labo-audience__check {
        right: 7px;
        top: 7px;
    }

    .labo-timeline {
        margin-bottom: 14px;
    }

    .labo-timeline li {
        flex-direction: column;
        font-size: 10px;
        gap: 5px;
        text-align: center;
    }

    .labo-timeline li:not(:last-child)::after {
        left: calc(50% + 19px);
        margin: 0;
        position: absolute;
        top: 12px;
        width: calc(100% - 38px);
    }

    .labo-timeline span {
        height: 23px;
        width: 23px;
    }

    .labo-card {
        padding: 24px 16px;
    }

    .labo-card h2 {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .labo-form__grid {
        gap: 15px 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .labo-form__grid .labo-form__field {
        min-width: 0;
    }

    .labo-form__field label,
    .labo-form .labo-form__field input.form-control {
        font-size: 12px;
    }

    .labo-form__field > p,
    .labo-form__password-help,
    .labo-legal {
        font-size: 10px;
        line-height: 1.7;
    }

    .labo-confirmation dl div {
        display: block;
        margin-bottom: 19px;
    }

    .labo-confirmation dt {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .labo-confirmation dd {
        font-size: 13px;
    }

    .labo-confirmation__actions {
        gap: 8px;
    }

    .labo-line-panel h2 {
        font-size: 14px;
        line-height: 1.7;
    }

    .labo-line-panel__qr,
    .labo-line-panel__qr-placeholder {
        height: 135px;
        width: 135px;
    }

    .labo-line-button {
        font-size: 11px;
    }

    .labo-status-wrap--verification {
        padding-top: 26px;
    }

    .labo-status-card h1 {
        font-size: 19px;
    }

    .labo-status-card__lead,
    .labo-status-card__notice {
        font-size: 11px;
    }

    .labo-status-card__line {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
