/* 変数設定 */
:root {
    --color-main: #2F70A9;
    --color-main02: #283F95;
    --color-main03: #5998CF;
    --color-main04: #185E9B;
    --color-main05: #285F8F;
    --color-sub: #E8630A;
    --color-sub02: #D83333;
    --color-yellow: #FFD501;
    --color-lgreen: #8BBF30;
    /* --color-main-hover: ; */
    --color-wh: #FFFFFF;
    --color-bk: #000000;
    --color-bk02: #353535;
    --color-dark: #A0A6A6;
    --color-dark02: #4C5050;
    --color-bg: #EEFBFB;
    --color-bg02: #F2F3F7;
    --color-bg03: #F4FBFF;
    --color-bg04: #F8FCFF;
    --color-hover: #ECEEF6;
    --color-hover02: #F5F9FD;
    --color-border: #6A7ECB;
    --color-border02: #D9D9D9;
    --color-feature-yellow: #FFF2B0;
    --leading-trim: calc((1rem - 1lh) / 2);
}
body {
    position: relative;
    &::after {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        display: block;
        width: 100vw;
        min-height: 500px;
        z-index: -1;
        background: url(../images/bg-page.png), top center / cover no-repeat;
    }
}
.mgb-res8060 {
    margin-bottom: 5rem;
    @media (768px > width) {
        margin-bottom: 3.75rem;
    }
}
.img-sp-full {
    @media (768px > width) {
        width: 100vw;
        margin: 0 calc(50% - 50vw);
    }
}
.c-logo {
    text-align: center;
    & .c-logo__text {
        color: var(--color-main);
        @media (768px > width) {
            font-size: 1.125rem;
        }
    }
    .custom-logo-link {
        text-align: center;
        img {
            max-width: 210px;
            vertical-align: middle;
            @media (768px > width) {
                max-width: 130px;
            }
        }
    }
}
.breadcrumb {
    text-align: right;
    width: 100%;
    @media (768px > width) {
        margin-top: 1.625rem;
    }
    #breadcrumbs {
        display: flex;
        justify-content: right;
        align-items: center;
        @media (768px > width) {
            justify-content: left;
        }
    }
    a, span {
        font-size: .875rem;
        color: var(--color-dark03);
        @media (768px > width) {
            font-size: .75rem;
        }
    }
    .breadcrumb_last {
        color: var(--color-main);
    }
}
.l-pageHeader {
    position: relative;
    padding: 10rem 0 5.9375rem;
    @media (768px > width) {
        padding: 6.125rem 0 3.125rem;
    }
    & .l-pageHeader__title {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--color-main);
        @media (768px > width) {
            font-size: 1.5rem;
        }
        &::after {
            content: attr(data-en);
            display: block;
            font-size: 1rem;
            font-weight: 400;
            color: var(--color-dark);
        }
    }
}
.error-404 {
    text-align: center;
    padding-bottom: 5rem;
    & .c-button {
        margin: 2rem auto;
    }
}

.l-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.l-inner--content {
    box-sizing: border-box;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0;
}
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.18);
    & .l-header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 90px;
        padding-left: calc(50/1400 * 100vw);
        @media (768px > width) {
            height: 70px;
        }
        .main-navigation {
            display: flex;
            align-items: center;
            justify-content: right;
            height: 100%;
            @media (960px > width) {
                flex-direction: row-reverse;
            }
            #menu-item-26 {
                a {
                    text-align: center;
                    width: 170px;
                    padding: .75rem 0;
                    border-radius: 1.875rem;
                    border: 1px solid var(--color-wh);
                    background: transparent;
                    color: var(--color-wh);
                    @media (960px > width) {
                        color: var(--color-dark02);
                    }
                }
            }
            & .l-header__contactButton {
                text-align: center;
                align-content: center;
                width: 100px;
                font-size: .875rem;
                color: var(--color-wh);
                background: var(--color-sub);
                @media (768px > width) {
                    width: 70px;
                    font-size: .6375rem;
                }
                img {
                    display: block;
                    width: 30px;
                    margin: 0 auto .5rem;
                }
                &:hover {
                    opacity: .75;
                }
            }
            & .l-header__contactMenu {
                position: relative;
                display: none;
                text-align: center;
                align-content: center;
                width: 100px;
                height: 100%;
                padding: 0;
                font-size: .875rem;
                border: none;
                border-radius: 0;
                color: var(--color-wh);
                background: linear-gradient(to right, var(--color-main03), var(--color-main04));
                @media (960px > width) {
                    display: block;
                }
                @media (768px > width) {
                    width: 70px;
                    font-size: .6375rem;
                }
                span {
                    /* position: absolute; */
                    display: block;
                    width: 23px;
                    height: 1px;
                    margin: 11px auto 0;
                    background: var(--color-wh);
                    &:first-of-type {
                        margin: 0 auto;
                    }
                }
                p {
                    margin: .625rem auto 0;
                    @media (768px > width) {
                        font-size: .7125rem;
                    }
                }
                img {
                    display: block;
                    word-break: 30px;
                    margin: 0 auto .5rem;
                }
            }
            & .l-headerColumn {
                padding-right: 2.375rem;
                display: flex;
                flex-direction: column;
                justify-content: end;
                @media (960px > width) {
                    display: none;
                }
                .gtranslate_wrapper  {
                    display: flex;
                    justify-content: right;
                    gap: 1rem;
                    margin-bottom: .5rem;
                    & .glink {
                        position: relative;
                        font-size: .75rem;
                        font-weight: 500;
                        color: var(--color-wh);
                        img {
                            display: none;
                        }
                        &:first-of-type {
                            &::after {
                                position: absolute;
                                content: "";
                                top: 50%;
                                right: -.5rem;
                                transform: translateY(-50%);
                                width: 1px;
                                height: 100%;
                                background: var(--color-wh);
                            }
                        }
                    }
                }

                #menu-item-178 {
                    position: relative;
                    a {
                        padding: 0 1.25rem 0 2.5rem;
                        font-size: 1.25rem;
                        font-weight: 700;
                        color: var(--color-main);
                        &:hover {
                            opacity: .8;
                            color: var(--color-main);
                        }
                    }
                    &::before {
                        position: absolute;
                        content: "";
                        top: 51%;
                        left: 11%;
                        transform: translateY(-50%);
                        width: 14px;
                        height: 14px;
                        background: url('../images/icon-tel-navy.png'), top center / contain no-repeat;
                    }
                }
                & .sp-menu {
                    display: none;
                }
            }
            &.toggled {
                & .l-header__contactMenu {
                    p {
                        margin: 1rem auto 0;
                    }
                    span {
                        width:32px;
                        &:first-of-type {
                            transform: rotate(45deg) translate(3px, 3px);
                        }
                        &:nth-of-type(2) {
                            display: none;
                        }
                        &:last-of-type {
                            transform: rotate(-45deg) translate(5px, -5px);
                        }
                    }
                }
                & .l-headerColumn {
                    position: fixed;
                    content: "";
                    top: 70px;
                    display: block;
                    width: 100%;
                    height: 100vh;
                    padding: 1.5rem 1.5rem 6rem;
                    background: var(--color-wh);
                    overflow-y: scroll;
                    & .sp-menu {
                        display: none;
                        & .c-cta__link {
                            margin-top: 2.5rem;
                            & .c-cta__button.tel {
                                background: var(--color-sub);
                                /* border: 2px solid var(--color-sub); */
                            }
                        }
                        & #menu-header-sp {
                            li {
                                padding: .875rem 0 1rem;
                                border-bottom: 1px solid var(--color-border);
                                a {
                                    position: relative;
                                    font-size: .9375rem;
                                    font-weight: 600;
                                    color: var(--color-main);
                                }
                                &.menu-item-has-children {
                                    position: relative;
                                }
                            }
                            & .sub-menu {
                                background: var(--color-wh);
                                @media (960px > width) {
                                    position: static;
                                    max-height: 0;
                                    overflow: hidden;
                                    transition: max-height 0.3s ease-out;
                                    list-style: none;
                                    box-shadow: none;
                                }
                            }
                            & .open {
                                & .sub-menu {
                                    margin-top: 1rem;
                                    float: none;
                                    transform: translateX(0);
                                    li {
                                        position: relative;
                                        margin: 3px 0;
                                        padding: 0;
                                        border-radius: .75rem;
                                        border-bottom: none;
                                        background: #f5f5f5;
                                        a {
                                            width: 100%;
                                            padding: .75rem 0 1rem 1rem;
                                            color: var(--color-main);
                                        }
                                    }
                                }
                            }
                        }

                    }
                    & .menu-header-top-container,
                    & .menu-header-bottom-container {
                        display: none;
                    }
                }
            }
        }
    }
    & .l-header__logo {
        width: 400px;
        @media (10240px > width) {
            width: 320px;
        }
        @media (1024px > width) {
            width: 236px;
        }
        & .c-logo__textEn {
            @media (1024px > width) {
                font-size: .625rem;
            }
            @media (768px > width) {
                font-size: .5rem;
            }
        }
        & .c-logo__text {
            font-size: 1.375rem;
            @media (1280px > width) {
                font-size: 1.125rem;
            }
            @media (768px > width) {
                font-size: .8125rem;
            }
        }
    }
    &.is-scrolled {
        background: var(--color-wh);
        box-shadow: 0 4px 4px #00000040;
        & .logo-white {
            display: none;
        }
        & .logo-color {
            display: block !important;
        }
        & .main-navigation {
            a {
                font-weight: 700;
                color: var(--color-main);
                text-shadow: none;
                @media (768px > width) {
                    padding: .875rem 0;
                    border-bottom: 1px solid #DEE3E3;
                }
            }
        }
        & .l-header__inner {
            #menu-item-26 {
                @media (768px > width) {
                    text-align: center;
                    margin-top: 3.375rem;
                }
                a {
                    text-align: center;
                    width: 170px;
                    padding: .75rem 0;
                    border-radius: 1.875rem;
                    border: none;
                    background: var(--color-main);
                    color: var(--color-wh);
                    @media (768px > width) {
                        display: inline-block;
                        text-align: left;
                        width: 294px;
                        padding: 1.125rem 2rem;
                    }
                    &::after {
                        @media (768px > width) {
                            position: absolute;
                            content: "";
                            top: 50%;
                            right: 2.375rem;
                            transform: translateY(-50%);
                            width: 9px;
                            height: 9px;
                            border-radius: 50%;
                            background: var(--color-wh);
                        }
                    }
                }
            }
        }
        & .l-header__inner {
            & .l-headerColumn {
                & .gtranslate_wrapper {
                    & .glink {
                        color: var(--color-bk);
                        &:first-of-type {
                            &::after {
                                background: var(--color-bk);
                            }
                        }
                    }
                }
            }
        }

    }
}
.l-footLink {
    & .l-footLink__list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        @media (768px > width) {
            grid-template-columns: 1fr;
        }
        & .l-footLink__item {
            text-align: center;
            & .l-footLink__link {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 1.125rem;
                font-weight: 600;
                color: var(--color-wh);
                @media (1024px > width) {
                    font-size: 1rem;
                }
                @media (768px > width) {
                    position: relative;
                    justify-content: flex-start;
                }
                &::before {
                    position: absolute;
                    content: "";
                    top: 50%;
                    right: 2.5rem;
                    transform: translateY(-50%) rotate(40deg);
                    display: block;
                    width: 2px;
                    height: 10px;
                    background: var(--colo-wh);
                    z-index: 999;
                }
                &::after {
                    position: absolute;
                    content: "";
                    top: 50%;
                    right: 2.375rem;
                    transform: translateY(-50%) rotate(-40deg);
                    display: block;
                    width: 2px;
                    height: 10px;
                    background: var(--colo-wh);
                    z-index: 999;
                }

                img {
                    width: 100%;
                    @media (768px > width) {
                        margin-left: 0;
                    }
                }
                p {
                    position: absolute;
                    content: "";
                    margin: auto;
                    width: 100%;
                    font-size: 1.375rem;
                    font-weight: 600;
                    color: var(--colo-wh);
                    @media (768px > width) {
                        display: block;
                        margin: 0 auto;
                        font-size: 1rem;
                    }
                }
                &:hover {
                    background: var(--color-hover);
                    > span {
                        span {
                            &::before {
                                right: 2.5rem;
                                width: 28px;
                                background: var(--color-main);
                            }
                        }
                    }
                }
            }
        }
    }
}
/* フッター */
.l-footer {
    position: relative;
    z-index: 9999;
    background: #fff;
    & .l-footer__inner {
        padding-top: 3.25rem;
        padding-bottom: 2.25rem;
        @media (960px > width) {
            padding-top: 3.25rem;
            padding-bottom: 0;
        }
        & .l-footer__logo {
            margin-bottom: 2.5rem;
            @media (768px > width) {
                text-align: center;
                margin-bottom: 2.25rem;
            }
        }
        & .l-footer__list {
            margin-top: 2.625rem;
            @media (768px > width) {
                width: 100%;
                min-width: auto;
                margin-top: 1.25rem;
            }
            & .menu {
                display: flex;
                justify-content: center;
                gap: 2.5rem;
                @media (768px > width) {
                    flex-direction: column;
                    align-items: center;
                    gap: .625rem;
                }
                li {
                    position: relative;
                    text-align: center;
                    cursor: pointer;
                    @media (768px > width) {
                        width: calc(50% - 15px);
                    }
                    &:hover {
                        a {
                            color: var(--color-sub);
                        }
                    }
                    a {
                        font-size: .9375rem;
                        color: var(--color-bk);
                        transition: .3s ease;
                        @media (768px > width) {
                            font-size: .8125rem;
                        }

                    }
                }
            }
            
        }
    }
    & .l-footer__copy {
        padding: 1rem 0;
        @media (768px > width) {
            padding: 1.25rem 0 1rem;
        }
        p {
            text-align: center;
            font-size: .75rem;
            color: var(--color-dark);
            @media (768px > width) {
                font-size: .625rem;
            }
        }
    }
}
.c-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: .25rem;
    @media (1024px > width) {
        font-size: 1.875rem;
    }
    @media (768px > width) {
        font-size: 1.5rem;
    }
}
.c-title--en {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-main);
    @media (768px > width) {
        font-size: .875rem;
    }
}
.c-button {
    position: relative;
    display: block;
    width: 280px;
    padding: 1.125rem 2rem;
    border-radius: 5.625rem;
    font-size: .9375rem;
    font-weight: 500;
    border: 1px solid var(--color-main);
    color: var(--color-wh);
    background: linear-gradient(to right, var(--color-main), var(--color-main05));
    box-shadow: 0 4px 7px #7979796E;
    /* transition: .3s ease; */
    &::after {
        position: absolute;
        content: "";
        top: 50%;
        right: 2.375rem;
        transform: translateY(-50%);
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--color-wh);
    }
    &:hover {
        &::after {
            transform: translate(9px ,-50%);
            transition: .3s ease;
        }
    }
}
.c-button--wh {
    position: relative;
    display: block;
    width: 230px;
    padding: .8125rem 2rem;
    border-radius: 5.625rem;
    font-size: .9375rem;
    font-weight: 400;
    border: 1px solid var(--color-main);
    color: var(--color-main);
    background: var(--color-wh);
    transition: .3s ease;
    &::after {
        position: absolute;
        content: "";
        top: 50%;
        right: 1.875rem;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--color-main);
    }
    &:hover {
        color: var(--color-wh);
        background: var(--color-main);
        &::after {
            transform: translate(9px ,-50%);
            background: var(--color-wh);
        }
    }
}
.c-pagination {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
    margin-top: 6.25rem;
    @media (768px > width) {
        margin-top: 3.125rem;
    }
    span {
        display: block;
        align-content: center;
        width: 34px;
        height: 34px;
        border-radius: .25rem;
        font-size: 1.25rem;
        &.current {
            background: var(--color-main);
            color: var(--color-wh);
        }
    }
}

.c-caption {
    text-align: left;
    padding-top: .875rem;
    font-size: .75rem;
    font-weight: 500;
}
.u-color--wh {
    color: var(--color-wh);
}
/* utility */
.u-fw-400 {
    font-weight: 400;
}
.u-mx-auto {
    margin: 0 auto;
}
.u-text--center {
    text-align: center;
}
.u-text-spLeft {
    text-align: center;
    @media (768px > width) {
        text-align: left;
    }
}
.u-text-spCenter {
    @media (768px > width) {
        margin: 0 auto;
    }
}
.u-text-spCenter {
    text-align: left;
    @media (768px > width) {
        text-align: center;
    }
}
.u-pc--hidden {
    display: none!important;
    @media (768px > width) {
        display: block!important;
    }
}
.u-sp--hidden {
    display: block!important;
    @media (768px > width) {
        display: none!important;
    }
}
.center-left {
    text-align: center;
    @media (768px > width) {
        text-align: left;
    }
}