:root {
    --main-color: #5A4FCF;
    --secondary-color: #463689;
    --accent-color: #F7C96C;
    --gradient: linear-gradient(73deg, #AF90E5 0, #65BEFF 100%);
    --gradient2: linear-gradient(to left, #F4EDF5 0, #E8F6FF 100%);
    --gradient3: linear-gradient(200deg, #F4EDF5 0, #E8F6FF 100%);
    --gradient4: linear-gradient(270deg, #FEF5FF 0, #F2FAFF 100%);
    --gradient5: linear-gradient(270deg, #FDEBFF 0, #D8F0FF 100%);
    --gradient6: linear-gradient(270deg, #FDF0FF 0, #F2FAFF 100%);
    --text-gray: #8D8D8D;
    --logo-color: #122A88;
    --text-color: #1D1D1D;
    --box-shadow: 0 8px 24px rgba(70, 54, 137, 0.05);
    --overlay-heading-en-shadow: 0 3px 4px rgba(90, 79, 207, 0.05);
}

html {
    font-size: inherit
}

@media screen and (max-width: 1440px) {
    html {
        font-size: 1.111vw;
    }
}
@media screen and (max-width: 767px) {
    html {
        font-size: 4.44444vw;
    }
}
@media screen and (min-width: 768px) {
    .sp-only {
        display: none !important;
    }
}
@media screen and (max-width: 767px) {
    .pc-only {
        display: none !important;
    }
}
.zoom-img-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

.zoom-img-wrapper img {
    transition: transform 0.6s ease;
    transform: scale(1);
}

@media screen and (min-width: 768px) {
    .zoom-img-wrapper:hover img {
        transform: scale(1.1);
    }
}

header img,
footer img {
    display: block;
    max-width: 100%;
}

/**** ヘッダー ****/

.circle-xmark-blue,
header button,
header a,
footer button,
footer a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.circle-xmark-blue:hover,
header button:hover,
header a:hover,
footer button:hover,
footer a:hover {
    opacity: 0.7;
}

.circle-arrow-right-blue2 {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    align-items: center;
    padding-right: 1rem;
}

.circle-arrow-right-blue2::after {
    content: '';
    display: block;
    width: 1.875rem;
    aspect-ratio: 1 / 1;
    background: url('/kaigo/img/circle-arrow-right-blue2.svg') center / 100% 100% no-repeat;
    transition: transform 0.3s ease;
    transform: translateX(0);
}

@media screen and (min-width: 768px) {
    .circle-arrow-right-blue2-container:hover .circle-arrow-right-blue2::after {
        transform: translateX(1rem);
    }
}

.arrow2-right-blue {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow2-right-blue::after {
    content: '';
    display: block;
    width: 0.6875rem;
    height: 1.125rem;
    background: url('../img/arrow2-right-blue.svg') center / 100% 100% no-repeat;
}
@media screen and (max-width: 767px) {
    header {
        font-size: 4.44444444vw;
    }
}

.header-tel {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    font-size: 1.5625rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: opacity 0.3s ease;
    gap: 0.25rem;
    line-height: 1;
}

.header-tel::before {
    content: '';
    display: block;
    width: 1.5rem;
    aspect-ratio: 1 / 1;
    background: url('../img/icon-phone.svg') center / 100% 100% no-repeat;
    margin-top: 0.25rem;
}

header,
footer {
    background: var(--gradient4);
    color: var(--text-color);
}

header,
header *,
footer,
footer * {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-family: 'A-OTF UD Shin Go Pro', sans-serif;
    line-height: 1.6;
}

#header {
    background: #fff;
    position: relative;
    box-shadow: var(--box-shadow);
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    z-index: 9999;
    height: 5rem;
}

.header-inner {
    max-width: 1440px;
    margin-inline: auto;
    padding: 0 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

#logo img {
    width: 7.125rem;
}

#logo span {
    color: var(--logo-color);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 2;
}

.toggle-btn {
    display: none;
}

#toc {
    display: flex;
    align-items: center;
    gap: 3.25rem
}

#toc-txt-link {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

#toc-txt-link .has-submenu {
    border-radius: 10px 10px 0 0;
    background: none;
    transition: background 0.3s ease;
}

#toc-txt-link .has-submenu:hover {
    background: rgba(255, 255, 255, 0.8);
    ;
}

#toc-txt-link>div>label,
#toc-txt-link>div>a {
    display: block;
    color: var(--secondary-color);
    padding: 1.6875rem 0;
    font-weight: 600;
}

#toc-txt-link .has-submenu>label {
    position: relative;
    padding-right: 1.5rem;
}

#toc-txt-link .has-submenu>label::before,
#toc-txt-link .has-submenu>label::after {
    content: '';
    display: block;
    width: 1.125rem;
    height: 0.625rem;
    background: url('../img/arrow2-bown-blue.svg') center / 100% no-repeat;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

#toc-txt-link .has-submenu>label::after {
    opacity: 0;
}

@media screen and (min-width: 768px) {
    #toc-txt-link .has-submenu:hover>label::before {
        opacity: 0;
    }

    #toc-txt-link .has-submenu:hover>label::after {
        transform: translateY(-50%) scale(-1);
        opacity: 1;
    }
}

.header-submenu {
    height: 0;
    transition: height 0.5s ease;
    overflow: hidden;
    width: 100vw;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 12px 20px -12px rgba(70, 54, 137, 0.25);
    z-index: 999;
}

#toc-txt-link .has-submenu:hover .header-submenu.header-submenu-height1 {
    height: 15.125rem;
}

#toc-txt-link .has-submenu:hover .header-submenu.header-submenu-height2 {
    height: 27.75rem;
}

.header-submenu-inner {
    width: fit-content;
    padding: 2rem;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

#toc-txt-link .has-submenu:hover .header-submenu {
    pointer-events: auto;
    opacity: 1;
}

.header-submenu-inner>a {
    width: 22.625rem;
    color: var(--secondary-color);
}

.header-submenu-inner .circle-arrow-right-blue2 {
    font-size: 1.25rem;
    margin-top: 0.5rem;
    line-height: 1;
    font-weight: 600;
    padding-inline: 1rem;
    justify-content: space-between;
}

#toc-btn-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.header-recruit-btn-wrapper {
    display: flex;
}

.header-recruit-btn-wrapper>span,
.header-recruit-btn-wrapper>a {
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.75rem;
    height: 2.75rem;
}

.header-mid-career {
    background: var(--secondary-color);
    color: #fff;
    border-radius: 12px 0 0 12px;
}

.header-new-graduate {
    background: #fff;
    color: var(--text-gray);
    border-radius: 0 12px 12px 0;
    border: solid 1px var(--secondary-color);
}

.tel-time {
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.4;
    text-align: right;
    padding-right: 0.25rem;
}

@media screen and (max-width: 767px) {
    #header {
        height: 3.5rem;
        --box-shadow: 0 8px 24px rgba(70, 54, 137, 0.05);
    }

    .header-inner {
        padding-inline: 1rem;
        height: 3.5rem;
    }

    #logo {
        gap: 0.5rem;
    }

    #logo img {
        width: 5.8125rem;
    }

    #logo span {
        font-size: 0.75rem;
    }

    #toc-toggle {
        display: none;
    }

    .menu-icon {
        width: 2.5rem;
        height: 1rem;
        position: relative;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .menu-icon span {
        display: block;
        height: 1px;
        width: 100%;
        background: var(--main-color);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    #toc {
        padding: 0.5rem 1rem 4rem;
        position: absolute;
        left: 100%;
        top: 3.5rem;
        transition: left 0.3s ease;
        background: #fff;
        flex-direction: column;
        width: 100vw;
        z-index: 10;
        gap: 1.5rem;
        max-height: calc(100vh - 3.5rem);
        overflow: scroll;
    }

    #toc-toggle:checked~.menu-icon span:nth-child(1) {
        transform: translateY(0.46875rem) rotate(20deg);
    }

    #toc-toggle:checked~.menu-icon span:nth-child(2) {
        opacity: 0;
    }

    #toc-toggle:checked~.menu-icon span:nth-child(3) {
        transform: translateY(-0.46875rem) rotate(-20deg);
    }

    #toc-toggle:checked~#toc {
        left: 0;
    }

    #toc-txt-link {
        flex-direction: column;
        padding: 0;
        width: 100%;
        gap: 0;
    }

    #toc-txt-link>div {
        width: 100%;
        border-bottom: solid 1px var(--main-color);
    }

    #toc-txt-link>div>label,
    #toc-txt-link>div>a {
        color: var(--main-color);
        padding: 1.25rem 1rem;
        font-size: 1.125rem;
        line-height: 1.3;
    }

    #toc-txt-link>div>a {
        padding: 1rem;
    }

    #toc-txt-link .has-submenu>label::before,
    #toc-txt-link .has-submenu>label::after {
        width: 1.875rem;
        height: auto;
        aspect-ratio: 1 / 1;
        right: 1rem;
    }

    #toc-txt-link .has-submenu>label::before {
        background-image: url('../img/circle-plus-blue.svg');
    }

    #toc-txt-link .has-submenu>label::after {
        background-image: url('../img/circle-minus-blue.svg');
    }

    #toc-txt-link>div>a {
        display: flex;
        padding-right: 1.5rem;
    }

    #toc-txt-link>div>a::after {
        background-image: url('../img/arrow2-right-blue2.svg');
    }

    .header-submenu {
        height: auto;
        pointer-events: auto;
        opacity: 1;
        position: static;
        box-shadow: none;
        width: 100%;
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s ease;
    }

    #toc-txt-link .has-submenu:hover .header-submenu.header-submenu-height1,
    #toc-txt-link .has-submenu:hover .header-submenu.header-submenu-height2 {
        height: auto;
    }

    .header-submenu-inner {
        width: 100%;
        grid-template-columns: auto;
        gap: 0;
        padding: 0;
        overflow: hidden;
    }

    .header-submenu-inner>a {
        width: 100%;
        padding-block: 0.25rem;
        padding-left: 2rem;
    }

    .header-submenu-inner>a:first-child {
        padding-top: 0;
    }

    .header-submenu-inner>a:last-child {
        margin-bottom: 1rem;
    }

    .header-submenu-inner>a>div {
        font-size: 1rem;
        margin: 0;
        line-height: 1.6;
    }

    .header-submenu-inner .circle-arrow-right-blue2 {
        font-size: 1rem;
        margin: 0;
        line-height: 1.6;
        font-weight: normal;
        padding: 0;
    }

    .header-submenu-inner>a>div::after {
        display: none;
    }

    .toggle-submenu:checked~.header-submenu {}

    .toggle-submenu:checked~.header-submenu {
        grid-template-rows: 1fr;
    }

    #toc-txt-link .toggle-submenu:checked+label::before {
        opacity: 0
    }

    #toc-txt-link .toggle-submenu:checked+label::after {
        opacity: 1;
    }

    .header-cards {
        display: flex;
        gap: 1rem;
    }

    .header-cards a {
        width: 9.75rem;
        height: 6.8125rem;
        display: block;
        border-radius: 16px;
        font-size: 1.125rem;
        font-weight: 600;
        letter-spacing: -0.02em;
        color: var(--main-color);
        padding-top: 4rem;
        text-align: center;
    }

    .header-cards a.header-card-search {
        background: url('../img/footer-banner1.png') top 1rem center / 3.125rem 2.5rem no-repeat,
            var(--gradient4);
    }

    .header-cards a.header-card-register {
        background: url('../img/footer-banner2.png') top 1rem center / 2.625rem 2.5rem no-repeat,
            var(--gradient4);
    }

    #toc-btn-link {
        flex-direction: column-reverse;
        align-items: center;
    }

    .btn-tel {
        width: 16.875rem;
        height: 3.5rem;
        font-size: 1.125rem;
    }

    .tel-time {
        font-size: 1rem;
        text-align: center;
    }

    .header-recruit-btn-wrapper>span,
    .header-recruit-btn-wrapper>a {
        width: 10.25rem;
        font-size: 0.875rem;
    }
}

header+* {
    margin-top: 7.75rem;
    }
    
    @media screen and (max-width: 767px) {
        header+* {
            margin-top: 3.6rem;
        }
}

/**** フッター ****/

#footer {
    margin-top: 1.5rem;
    background: #fff;
}

#top #footer {
    margin-top: 8rem;
}

.footer-inner {
    padding: 3.125rem 5rem 1.5rem;
    max-width: 1440px;
    margin-inline: auto;
}

.footer-logo {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-logo a {
    width: 10.25rem;
    padding-bottom: 0.125rem;
}

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--logo-color);
}

.footer-banner {
    display: flex;
    gap: 1.75rem;
    justify-content: center;
    border-bottom: solid 1px #fff;
    width: fit-content;
    margin-inline: auto;
}

.footer-banner a {
    letter-spacing: -0.02em;
    font-size: 0.875rem;
    gap: 3.5rem;
    border-radius: 20px;
    padding: 1.5rem 2rem 1.5rem 7.25rem;
    line-height: 1.4;
    color: var(--main-color);
    border: solid 1px #CECCEC;
}

.footer-banner a>div {
    width: 15.5rem;
}

.footer-banner a span {
    font-size: 1.5rem;
    font-weight: 500;
}

.footer-banner a::after {
    width: 1.875rem;
}

.footer-banner-search {
    background: url('../img/footer-banner1.png') left 2rem center / 4.4375rem auto no-repeat,
        var(--gradient4);
}

.footer-banner-register {
    background: url('../img/footer-banner2.png') left 2.5rem center / 3.5rem auto no-repeat,
        var(--gradient4);
}

.footer-list {
    width: 62.25rem;
    margin: 1.875rem auto 0;
    display: flex;
    justify-content: space-between;
}

.footer-list>div {
    display: flex;
    flex-direction: column;
}

.footer-list>div:last-child {}

.nav-title {
    color: var(--main-color);
    font-weight: 900;
}

.nav-title:not(:first-child) {
    margin-top: 1.5rem;
}

.footer-list li>a {
    font-size: 0.875rem;
    display: block;
    margin-top: 0.875rem;
    margin-left: 1rem;
    width: fit-content;
    padding-bottom: 2px;
    background-image: linear-gradient(var(--main-color), var(--main-color));
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 2px;
    transition: background-size 0.3s;
}

@media screen and (min-width: 768px) {
    .footer-list li>a:hover {
        font-weight: 600;
        color: var(--main-color);
        opacity: 1;
        background-position: bottom left;
        background-size: 100% 2px;
    }
}

.footer-list-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 3rem;
}

.footer-bar {
    background: #fff;
    padding-block: 0.5rem 2.25rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4.5rem;
    width: 62.25rem;
    margin-inline: auto;
}

.footer-bar__brand {
    display: block;
    width: 14.75rem;
}

.footer-bar__links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}

.footer-bar__links-item a {
    font-size: 0.75rem;
    color: #4c4c4c;
}

.footer-bar__copyright {
    font-size: 0.75rem;
    color: #656565;
}

@media screen and (max-width: 767px) {
    #top #footer {
        margin-top: 5rem;
    }

    #footer {
        margin-top: 1.125rem;
    }

    .footer-logo a {
        width: 7rem;
    }

    .footer-logo span {
        font-size: 1rem;
    }

    .footer-inner {
        padding: 2rem 1rem 1.875rem;
    }

    .footer-logo {
        flex-direction: column;
        gap: 0;
        margin-bottom: 1rem;
    }

    .footer-banner {
        gap: 0.75rem;
    }

    .footer-banner a {
        width: 9.875rem;
        height: 10.375rem;
        display: block;
        border-radius: 16px;
        font-size: 0.875rem;
        color: var(--main-color);
        padding: 4.75rem 0 0;
        text-align: center;
        line-height: 1.3;
    }

    .footer-banner a::after {
        content: none;
    }

    .footer-banner a>div {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: auto;
    }

    .footer-banner a span {
        font-size: 1.25rem;
    }

    .footer-banner-search {
        background: url(../img/footer-banner1.png) top 1rem center / 3.9375rem auto no-repeat,
            var(--gradient4);
    }

    .footer-banner-register {
        background: url(../img/footer-banner2.png) top 1rem center / 3.125rem auto no-repeat,
            var(--gradient4);
    }

    .footer-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: auto;
        gap: 1.5rem 1rem;
    }

    .nav-title {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .footer-list>div:last-child:nth-child(odd) {
        grid-column: 1 / 3;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    .footer-list>div:last-child:nth-child(odd) .nav-title {
        margin: 0;
    }

    .footer-list li>a {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .footer-bar {
        width: auto;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 0 0 2rem;
    }

    .footer-bar__links-item a {
        display: block;
    }

}

@media screen and (min-width: 768px) and (max-width: 1440px) {

    .footer-list li>a {
        font-size: 14px;
    }

}