@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

.login-help-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: #fff;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
}

.login-help-layout .login-header {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 96px;
    padding: 0 clamp(24px, 5.5vw, 52px);
    border-bottom: 1px solid #ddd;
    background: #fff;
}

.login-help-layout .login-header a,
.login-help-layout .login-header img {
    display: block;
}

.login-help-layout .login-header img {
    width: 125px;
    height: auto;
}

.login-help-main {
    flex: 1 0 auto;
    box-sizing: border-box;
    width: 100%;
    padding: 104px 24px;
}

.login-help-container {
    width: 100%;
    max-width: 944px;
    margin: 0 auto;
}

.login-help-intro h1,
.login-help-toc h2,
.login-help-section h2,
.login-help-article h3,
.login-help-contact h2,
.login-help-contact h3,
.login-help-intro p,
.login-help-section p,
.login-help-article p,
.login-help-contact p {
    margin-top: 0;
}

.login-help-intro h1 {
    margin-bottom: 40px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0;
    text-align: left;
}

.login-help-intro p,
.login-help-section p,
.login-help-article p,
.login-help-contact p {
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.login-help-layout a {
    color: #003ace;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 0;
}

.login-help-toc {
    box-sizing: border-box;
    margin-top: 64px;
    padding: 24px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
}

.login-help-toc h2 {
    margin-bottom: 24px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 11px;
    letter-spacing: 0;
    text-align: left;
}

.login-help-toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.login-help-toc ul ul {
    margin-top: 16px;
    padding-left: 16px;
}

.login-help-toc li + li {
    margin-top: 16px;
}

.login-help-toc a {
    display: block;
    font-size: 16px;
    line-height: 24px;
}

.login-help-section {
    margin-top: 64px;
    scroll-margin-top: 32px;
}

.login-help-section > h2 {
    margin-bottom: 40px;
    padding-left: 16px;
    border-left: 4px solid #4da31f;
    color: #4da31f;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0;
}

.login-help-section > p {
    margin-bottom: 40px;
}

.login-help-article {
    scroll-margin-top: 32px;
}

.login-help-article + .login-help-article {
    margin-top: 40px;
}

.login-help-article h3 {
    margin-bottom: 24px;
    padding: 0 0 8px 8px;
    border-bottom: 2px dashed #bbb;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
}

.login-help-contact {
    box-sizing: border-box;
    margin-top: 64px;
    padding: 40px;
    border-radius: 8px;
    background: #f5f3f2;
    scroll-margin-top: 32px;
}

.login-help-contact h2 {
    margin-bottom: 40px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0;
    text-align: left;
}

.login-help-contact h3 {
    margin-bottom: 24px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    text-align: left;
}

.login-help-contact p {
    margin-bottom: 40px;
}

.login-help-phone {
    display: flex;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
    height: 62px;
    padding: 0 24px;
    border-radius: 4px;
    background: #fff;
}

.login-help-phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4da31f;
    font-weight: 700;
    text-decoration: none;
}

.login-help-phone img {
    flex: 0 0 14px;
}

.login-help-layout .login-help-phone a {
    font-size: 18px;
    line-height: 24px;
}

.login-help-contact > div:has(+ .login-help-phone) p {
    margin-bottom: 24px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .login-help-layout .login-help-phone a {
        font-size: 18px;
        line-height: 24px;
    }
}

.login-help-layout .footer-m {
    flex: 0 0 auto;
    margin-top: auto;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .login-help-main {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .login-help-container {
        max-width: 688px;
    }
}

@media (max-width: 767px) {
    .login-help-layout .login-header {
        height: 64px;
        padding: 0 20px;
    }

    .login-help-layout .login-header img {
        width: 112px;
    }

    .login-help-main {
        padding: 0;
    }

    .login-help-container {
        box-sizing: border-box;
        max-width: none;
        margin: 0;
        padding: 40px 24px;
    }

    .login-help-intro h1 {
        margin-bottom: 40px;
        font-size: 24px;
        line-height: 32px;
    }

    .login-help-intro p,
    .login-help-section p,
    .login-help-article p,
    .login-help-contact p,
    .login-help-toc a {
        font-size: 14px;
        line-height: 20px;
    }

    .login-help-layout a {
        font-size: 14px;
        line-height: 20px;
    }

    .login-help-toc a {
        font-size: 16px;
        line-height: 24px;
    }

    .login-help-toc {
        margin-top: 40px;
        padding: 24px;
    }

    .login-help-toc h2 {
        font-size: 16px;
        line-height: 11px;
    }

    .login-help-section {
        margin-top: 40px;
    }

    .login-help-section > h2 {
        margin-bottom: 40px;
        padding-left: 10px;
        font-size: 20px;
        line-height: 28px;
    }

    .login-help-article h3 {
        font-size: 18px;
        line-height: 28px;
    }

    .login-help-contact {
        margin-top: 40px;
        padding: 24px;
    }

    .login-help-contact h2 {
        margin-bottom: 24px;
        font-size: 20px;
        line-height: 28px;
    }

    .login-help-contact h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .login-help-contact p {
        margin-bottom: 24px;
    }

    .login-help-phone {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        height: auto;
        padding: 16px;
    }

    .login-help-phone > span {
        font-size: 14px;
        line-height: 20px;
        white-space: nowrap;
    }

    .login-help-layout .login-help-phone a {
        font-size: 16px;
        line-height: 24px;
    }
}
