@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Sawarabi+Gothic&family=Shippori+Mincho&display=swap');
@media(max-width:767px) {
    .hide-for-small {
        display: none !important;
    }
}

@media(min-width:768px) {
    .show-for-small {
        display: none !important;
    }
}

html {
    font-size: 62.5%;
    overflow-y: scroll;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    -webkit-text-size-adjust: none;
    color: #4d4d4d;
    font-weight: 400;
    font-style: normal;
    overflow: hidden;
}

a {
    transition: all 0.5s;
}

a:not(.btn):hover {
    opacity: 0.6;
}

#go-top {
    position: fixed;
    bottom: -120px;
    right: 15px;
    opacity: 0;
    transition: all .3s;
    z-index: 99;
    border-radius: 50%;
    right: 16;
    box-shadow: 0 0 5px 0 rgba(75, 142, 178, 0.75);
}

#go-top.show {
    opacity: 1;
    bottom: 15px;
}

#go-top a {
    display: flex;
    flex-direction: column;
    width: 48px;
    height: 48px;
    overflow: hidden;
}

#go-top a:hover {
    opacity: 0.7;
}

#go-top a img {
    margin: 0 auto;
}


/*FONT*/

.ff-serif {
    font-family: "Noto Serif JP", serif;
}

.ff-mincho {
    font-family: "Shippori Mincho", serif;
}

.ff-sawa {
    font-family: "Sawarabi Gothic", sans-serif;
}


/*ANIMATION*/

.anim {
    opacity: 0;
}

.anim.blur {
    opacity: 1;
}

.anim.blur.is-animated,
.add-animation .anim.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(10px);
        transform: scale(1.02);
    }
    to {
        filter: blur(0);
        transform: scale(1);
    }
}

.anim.fade {
    opacity: 0;
}

.anim.fade.is-animated {
    opacity: 1;
    animation-name: fade;
    animation-duration: 2s;
}

.anim.slideinBottom.is-animated {
    opacity: 1;
    animation-name: slideinBottom;
    animation-duration: 0.5s;
}

@keyframes slideinBottom {
    0% {
        transform: translateY(100px);
    }
    100% {
        transform: translateY(0);
    }
}

.anim.faderight.is-animated {
    opacity: 1;
    animation-name: faderight;
    animation-duration: 2s;
}

.anim.fade.is-animated {
    opacity: 1;
    animation-name: fade;
    animation-duration: 2s;
}

.anim.fadeleft.is-animated {
    opacity: 1;
    animation-name: fadeleft;
    animation-duration: 2s;
}

.anim.fadeup.is-animated {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    opacity: 1;
}

.anim.fadeup-2.is-animated {
    opacity: 1;
    animation-name: fadeup-2;
    animation-duration: 0.5s;
}

.home .anim.fadedown.is-animated {
    opacity: 1;
    animation-name: fadedown;
    animation-duration: 0.5s;
}

.anim.zoomin.is-animated {
    animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes faderight {
    from {
        opacity: 0;
        transform: translateX(-150px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes fadedown {
    from {
        opacity: 0;
        transform: translateY(-150px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes fadeup {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeup-2 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0px);
    }
}

@keyframes fadeleft {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.anim.effectfade {
    opacity: 0;
    transform: translate(0, 20px);
    transition: all 1.5s ease;
}

.anim.effectfade.is-animated {
    opacity: 1;
    transform: translate(0, 0);
}


/*HEADER*/


/* .header-wrapper:after {
    content: "";
    height: 713px;
    width: 713px;
    background-image: url(../images/index/bg-header.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    border-radius: 50%;
    top: -202px;
    left: -108px;
    z-index: -5;
} */

.header-main .logo-left .logo {
    margin-right: 0px;
    width: 254px;
    line-height: 1;
    padding: 0;
    position: relative;
}

.header-inner {
    position: static;
    padding-left: 60px;
    padding-right: 45px;
}

#logo .header-logo {
    width: 100%;
}

.header-main .main-menu {
    flex: 1;
    margin-left: 20px;
}

.header-main .main-menu .nav {
    position: static;
    width: fit-content;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 0;
    margin-top: 25px;
}

.header-main .main-menu .nav>li {
    margin: 0;
    position: static;
    transition: .3s;
    padding-bottom: 0px;
    margin-right: 57px;
}

.header-main .main-menu .nav>li.nav-news {
    margin-right: 0;
}

.header-main .main-menu .nav>li.nav-service {
    margin-right: 12px;
}

.header-main .main-menu .nav>li>a {
    font-weight: 500;
    padding: 0;
    color: #fff;
    text-align: center;
    transition: .3s;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    letter-spacing: 0.15em;
}


/* .header-main .main-menu .nav>li>a span {
    margin-top: 10px;
} */

.header-main .main-menu .nav>li>a::after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    /*線になる丸の形状*/
    width: 100%;
    height: 1px;
    background: #ffffff;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);
    /*X方向にスケール拡大*/
}


/* .header-main .main-menu .nav>li>a span {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    padding-top: 5px;
} */

.header-main .main-menu .nav>li:nth-last-child(1) {
    border-right: none;
}

.box-menu-phone {
    position: static;
    padding-top: 20px;
    padding-bottom: 10px;
}

.header-main .main-menu .nav>li>a:hover,
.header-main .main-menu .nav>li.current>a {
    opacity: 1;
}

@media (min-width: 768px) {
    .header-main .main-menu .nav>li.current>a::after,
    .header-main .main-menu .nav>li:hover>a::after {
        opacity: 1;
        width: 100%;
        transform: scale(1, 1);
        /*X方向にスケール拡大*/
    }
}

a.menu-btn {
    width: 55px;
    min-height: 55px;
    position: absolute;
    border: none;
    top: 10px;
    right: 15px;
    z-index: 8999;
    transition: none;
    height: auto;
    box-shadow: none;
    background-color: #fff;
    border-radius: 50%;
}

a.menu-btn span {
    display: block;
    position: absolute;
    height: 1px;
    width: 20px;
    top: 15px;
    background-color: #0f87bc;
    left: 17px;
    transition: all 0.5s;
}

a.menu-btn span:nth-child(2) {
    top: 23px;
    display: none;
}

a.menu-btn span:nth-child(3) {
    top: 24px;
}

a.menu-btn::after {
    content: 'MENU';
    left: calc(50%);
    transform: translateX(-50%);
    top: 30px;
    position: absolute;
    color: #0f87bc;
    width: max-content;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

a.menu-btn.open:after {
    content: "CLOSE";
}

body.menu-open header:before {
    display: none;
}

a.menu-btn.open span {
    display: block;
    position: absolute;
    transform: rotate(45deg);
    top: 20px;
    left: 20px;
    background-image: unset;
}

a.menu-btn.open span:nth-child(2) {
    display: none;
}

a.menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg);
}

@keyframes sdl {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }
    30% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }
    70% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }
    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

.main-menu li.nav-item:hover>a span::after,
.main-menu li.nav-item.current>a span::after {
    left: 50%;
    opacity: 1;
}

.loading-active main {
    opacity: 0;
}

.loading-active header {
    opacity: 0;
}

.loading-active footer {
    opacity: 0;
}

.box-btn-top-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

a.btn.btn-header {
    min-width: 170px;
    height: 40px;
    padding: 0 20px;
    background-color: #fff;
    border-radius: 20px;
    font-weight: 500;
    color: #0071b7;
    width: fit-content;
    gap: 17px;
    padding-left: 20px;
    padding-right: 50px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

a.btn.btn-header::after {
    width: 16px;
    height: 6px;
    mask-image: url(../images/index/icon-right.svg);
    -webkit-mask-image: url(../images/index/icon-right.svg);
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-position: center;
    -webkit-mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-color: #0071b7;
    right: 18px;
}

a.btn.btn-header:hover {
    opacity: 0.6;
}

a.btn.btn-header:nth-child(2) {
    background-color: #ec5a24;
    color: #fff;
    border: 1px solid #EC5A24;
}

a.btn.btn-header:nth-child(2)::after {
    background-color: #fff;
}


/* a.btn.btn-header:nth-child(2):hover {
    background-color: #fff;
    color: #EC5A24;
}
a.btn.btn-header:nth-child(2):hover svg rect,a.btn.btn-header:nth-child(2):hover svg polyline{
    stroke: #EC5A24 !important;
}
a.btn.btn-header:nth-child(2):hover::after{
    background-color: #EC5A24;
} */

.box-top-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.box-top-header>a {
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: #725d06;
    font-family: "Shippori Mincho B1", serif;
    margin-right: 10px;
}

.mega-menu {
    left: 0;
    position: absolute;
    text-align: left;
    width: 100%;
    text-align: center;
    padding-top: 0px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
    visibility: hidden;
    top: 117px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-main .main-menu .nav>li.nav-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    top: 135px;
    z-index: 12;
}

.box-mega-menu {
    display: flex;
}

.mega-menu-left {
    width: 493px;
}

.mega-menu-right {
    flex: 1;
    padding: 35px 50px 50px;
}

.box-flex-mega {
    display: flex;
}

.flex-mega-left {
    width: 342px;
    padding-top: 10px;
}

.flex-mega-right {
    flex: 1;
    padding-left: 50px;
    display: flex;
    flex-wrap: wrap;
}

a.btn.btn-mega {
    font-size: 2.5rem;
    color: #725d06;
    padding: 15px 0;
    border-bottom: 1px solid;
    justify-content: flex-start;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 500;
    letter-spacing: 0.2em;
}

a.btn.btn-mega::after {
    width: 27px;
    height: 24px;
    background-image: url(../images/index/icon-right.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    right: 23px;
}

.box-sub-link-mega {
    width: 50%;
    max-width: 225px;
}

a.sub-link {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #7f5b3d;
    text-align: left;
    display: block;
    padding-left: 25px;
    margin-bottom: 16px;
    position: relative;
}

a.sub-link::after {
    content: "";
    width: 16px;
    height: 5px;
    background-image: url(../images/index/icon-right-mini.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

a.btn.btn-mega:first-child {
    margin-bottom: 60px;
}

.img-mega {
    position: relative;
}

.img-mega p {
    font-size: 3.5rem;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.header-wrapper {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 2;
}

.footer-right {
    display: flex;
    justify-content: center;
}

a.link-footer {
    letter-spacing: 0.2em;
    display: block;
    font-family: "Sawarabi Gothic", serif;
    color: #fff;
    margin-bottom: 15px;
}

.breadcrums {
    position: relative;
    padding-left: 40px;
    padding-top: 170px;
    z-index: 3;
}

.breadcrums ul {
    display: flex;
    justify-content: flex-start;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

.breadcrums ul li>a {
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
}

.breadcrums ul li {
    position: relative;
    margin-bottom: 0;
}

.breadcrums ul li:not(:last-child) {
    margin-right: 20px;
}

.breadcrums ul li span {
    color: #fff;
    letter-spacing: 0.15em;
    font-size: 1.3rem;
}

.breadcrums ul li span br {
    display: none;
}

.breadcrums ul li:not(:nth-last-child(1)):after {
    content: ">";
    position: absolute;
    color: #fff;
    font-size: 1.3rem;
    top: 55%;
    transform: translateY(-50%);
    right: -12px;
}

ul.list-anchor {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
}

ul.list-anchor li {
    width: calc(16.66% - 24px);
}

ul.list-anchor li:last-child,
ul.list-anchor li:nth-child(5n) {
    margin-right: 0;
}

ul.list-anchor li a {
    display: flex;
    align-items: center;
    font-weight: 400;
    min-height: unset;
    font-size: 1.5rem;
    justify-content: flex-start;
    border-bottom: 1px solid #0071b7;
    color: #0071b7;
    position: relative;
    padding: 0 0px 10px 25px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.185;
    letter-spacing: 0.05em;
}

.page-anchor .container {
    max-width: 1130px;
}

ul.list-anchor li a:hover {
    /* color: #CF145A; */
    opacity: 1;
}

ul.list-anchor li a::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #0071b7;
    position: absolute;
    bottom: 14px;
    left: 3px;
    border-radius: 50%;
    transition: .3s;
}

ul.list-anchor li a::before {
    content: "";
    width: 0%;
    height: 3px;
    background-color: #0071b7;
    position: absolute;
    bottom: -1px;
    left: 0;
    transition: .3s;
    transition: .3s;
}

ul.list-anchor li a:hover::before {
    width: 100%;
}

.color-1 {
    color: #0f87bc;
}

.color-2 {
    color: #0d3570;
}

.color-3 {
    color: #274e7c;
}

.color-4 {
    color: #ae7d53;
}

.color-5 {
    color: #873d07;
}

.color-6 {
    color: #0071b7;
}

#recruit-05 {
    z-index: 0;
    position: relative;
}

#recruit-04 {
    z-index: 1;
    position: relative;
}

.main-video video {
    width: auto;
    height: auto;
    min-height: 60.8vw;
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.main-video {
    width: 100%;
    height: 60.8vw;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
}

body.admin-bar .main-video {
    top: 32px;
}

.main-video::after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #007EAA;
    opacity: 0.35;
    content: '';
}

@media(max-width: 767px) {
    .menu-open .menu-pc {
        overflow: auto;
    }
    .main-video video {
        min-height: 625px;
        height: auto;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
    .main-video {
        height: 625px;
    }
}