@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Noto+Sans:500,400,900,700");
/* The following line is used to measure usage of this code. You can remove it if you want. */
@import url("https://px.animaapp.com/685a01f0a1ec653bf2599aa9.685a01f1a1ec653bf2599aac.IzdddmW.hcp.png");

.screen a {
    display: contents;
    text-decoration: none;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
}

.dropdown .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.dropdown:hover .submenu,
.dropdown .submenu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown .submenu li {
    margin: 0;
    padding: 0;
}

.dropdown .submenu li a {
    display: block;
    padding: 8px 16px;
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dropdown .submenu li a:hover {
    background-color: #f5f5f5;
    color: var(--chambray);
}

/* ドロップダウンメニューの矢印はJavaScriptで追加するため、CSSの疑似要素は使用しない */
.dropdown-toggle::after {
    content: none;
}

/* Menu item has children styling */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children>a {
    position: relative;
}

.menu-item-has-children .dropdown-toggle {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown:hover .dropdown-toggle {
    transform: rotate(180deg);
}

* {
    box-sizing: border-box;
}

/* Prevent horizontal scroll */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
    line-height: 1.5;
    font-family: var(--font-family-noto_sans);
    font-size: 16px;
}

:root {
    --alto: #dadada;
    --black: #000000;
    --chambray: #385191;
    --chateau-green: #42aa65;
    --white: #ffffff;
    --white-2: #ffffffcc;

    --font-size-l: 15px;
    --font-size-m: 14px;
    --font-size-xl: 16px;
    --font-size-xxl: 18px;
    --font-size-xxxl: 24px;
    --font-size-xxxxl: 30px;
    --font-size-xxxxxl: 32px;
    --font-size-xxxxxxl: 34px;

    --font-family-noto_sans: "Noto Sans", Helvetica;
}

/* Common Typography Classes */
.notosans-normal-black-14px {
    color: var(--black);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-m);
    font-style: normal;
    font-weight: 400;
}

.notosans-normal-black-16px {
    color: var(--black);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-xl);
    font-style: normal;
    font-weight: 400;
}

.notosans-normal-black-18px {
    color: var(--black);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-xxl);
    font-style: normal;
    font-weight: 400;
}

.notosans-bold-black-16px {
    color: var(--black);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-xl);
    font-style: normal;
    font-weight: 700;
}

.notosans-bold-white-14px {
    color: var(--white);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-m);
    font-style: normal;
    font-weight: 700;
}

.notosans-normal-white-16px {
    color: var(--white);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-xl);
    font-style: normal;
    font-weight: 400;
}

.notosans-black-white-36px {
    color: var(--white);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-xxxxxxl);
    font-style: normal;
    font-weight: 900;
}

.notosans-bold-white-32px {
    color: var(--white);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-xxxxxl);
    font-style: normal;
    font-weight: 700;
}

.notosans-medium-black-18px {
    color: var(--black);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-xxl);
    font-style: normal;
    font-weight: 500;
}

/* Header and Footer Styles */
.header {
    align-items: center;
    background-color: transparent;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-color: var(--alto);
    border-left-style: none;
    border-right-style: none;
    border-top-style: none;
    display: flex;
    justify-content: space-between;
    padding: 30px;
    position: relative;
    width: 100%;
    max-width: 100%;
    z-index: 88888 !important;
}

.logo {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 40px;
    position: relative;
}

.header_logo-1 {
    aspect-ratio: 5.13;
    height: 62px;
    object-fit: cover;
    position: relative;
    width: 320px;
}

/* Navigation Styles */
.main-nav {
    align-items: flex-start;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 30px;
    position: relative;
    max-width: 100%;
}

.main-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 50px;
    align-items: center;
}
.main-menu-list > .menu-item-has-children > a{
    pointer-events: none;
}

.nav-item {
    height: 22px;
    position: relative;
    width: auto;
}

.nav-link {
    color: var(--black);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-xl);
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    text-decoration: none;
    position: relative;
    width: fit-content;
}

.nav-link:hover {
    color: var(--chambray);
}

/* Footer Styles */
.footer {
    align-items: flex-start;
    background-color: transparent;
    display: flex;
    gap: 50px;
    width: 100%;
    max-width: 100%;
    padding: 30px;
    position: relative;
    border-top: 1px solid #ccc;
    flex-wrap: wrap;
}

.footer_info {
}

.footer_info-item {
    border: 1px solid;
    border-color: var(--alto);
    height: 90px;
    padding: 22px 15px;
    vertical-align: middle;
    display: block;
    margin-bottom: 5px;
    /*display: inline-block;
    margin: 0 5px 0 0;*/
}

.footer_info-item img {
    max-width: 95%;
    height: auto;
}

.logo-1 {
    aspect-ratio: 6.83;
    height: 47px;
    margin-bottom: -0.50px;
    margin-top: -0.50px;
    object-fit: cover;
    position: relative;
    width: 321px;
}

.hosp_logo-1 {
    aspect-ratio: 4.04;
    height: 52px;
    margin-bottom: -3.00px;
    margin-top: -3.00px;
    object-fit: cover;
    position: relative;
    width: 210px;
}

.footer-nav {
    align-items: flex-start;
    display: flex;
    gap: 30px;
    position: relative;
    width: 100%;
    max-width: calc(100% - 450px);
    flex-wrap: wrap;
}

.footer-nav-item {
    align-items: flex-start;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.footer-link {
    color: var(--black);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-m);
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    text-decoration: none;
    align-self: stretch;
    position: relative;
}

.footer-link:hover {
    color: var(--chambray);
}

.footer-heading {
    color: var(--black);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-xl);
    font-weight: 700;
    letter-spacing: 0;
    line-height: normal;
    align-self: stretch;
    margin-top: -1.00px;
}

.nav {
    align-items: flex-start;
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
    position: relative;
}

.copyright {
    align-items: center;
    border-color: var(--alto);
    border-top-style: solid;
    border-top-width: 1px;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    justify-content: center;
    padding: 30px 0px;
    position: relative;
    width: 100%;
}

.copyright-text {
    color: var(--black);
    font-family: var(--font-family-noto_sans);
    font-size: var(--font-size-m);
    font-weight: 400;
    letter-spacing: 0;
    line-height: normal;
    margin-top: -1.00px;
    position: relative;
    width: fit-content;
}

/* Common Layout Classes */
.desktop-1 {
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Responsive Styles for Header and Footer */
@media (max-width: 1200px) {
    .footer {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav {
        width: 100%;
        max-width: 100%;
    }

    .footer_info-item {
        max-width: 100%;
        min-width: auto;
    }
}

@media (max-width: 1024px) {
    .header {
        width: 100%;
        padding: 0 !important;
        display: block;
        position: relative;
        height: 80px;
    }

    .header .logo {
        padding-right: 90px;
        width: 100%;
        height: 80px;
        line-height: 80px;
        box-sizing: border-box;
    }

    .header .logo img {
        max-width: 100%;
        height: auto;
    }

    .main-nav {
        gap: 30px;
    }

    .footer {
        flex-direction: column;
        gap: 30px;
        height: auto;
    }

    .footer-nav {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .footer_info {
        align-items: center;
    }

    .footer_info-item {
        width: 100%;
        max-width: 300px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px;
    }

    .header_logo-1 {
        width: calc(100% - 90px);
        height: 80px;
    }
}

/* PAGE TOP ボタン */
.page-top-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--chambray);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    z-index: 9999;
    font-family: var(--font-family-noto_sans);
    line-height: 1;
}

.page-top-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top-button:hover {
    background-color: #2a4068;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-top-button:active {
    transform: translateY(-1px);
}

.page-top-icon {
    font-size: 24px;
    line-height: 1;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .page-top-button {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .page-top-icon {
        font-size: 20px;
    }
}