﻿@media (max-width: 767px) {
    .top #wrap {
        overflow: hidden
    }
}

.top .owl-nav {
    display: none
}

@media (min-width: 768px) {
    .top .c-banner {
        margin-bottom: 130px;
    }
}

@media (max-width: 767px) {
    .top .c-banner {
        margin-bottom: 52px
    }
}

@media (max-width: 767px) {
    .top .top-mainvisual {
        padding-bottom: 138px
    }

    .top .top-mainvisual .c-view__ico {
        right: 2px;
        top: calc(50% - 1px)
    }

    .top .top-mainvisual .c-view__ico i::before {
        height: 12px;
        right: 5px
    }

    .top .top-mainvisual .c-view__ico i::after {
        width: 12px
    }
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual {
        height: 82.5vh
    }
}

@media only screen and (min-width: 1750px) {
    .top .top-mainvisual .mainvisual {
        height: 86vh
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-mainvisual .mainvisual {
        height: auto
    }
}

@media (max-width: 767px) {
    .top .top-mainvisual .mainvisual {
        overflow: inherit
    }
}

.top .top-mainvisual .mainvisual__block img {
    width: 100%;
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__block {
        margin: 0 auto 4vw auto;
        width: calc(100% - 50px);
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .top .top-mainvisual .mainvisual__label::after {
        width: calc(100vw - 110px);
        background: #bbc8ce
    }
}

@media (max-width: 767px) {
    .top .top-mainvisual .mainvisual__news {
        bottom: -80px
    }
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__inner {
        width: 100%;
        max-width: 100%;
        position: absolute;
        top: 38%;
        left: 4.2vw;
        transform: translateY(-50%);
        padding: 0;
    }

    .top .top-mainvisual .mainvisual__inner::after {
        left: 49%;
        height: 4.688vw
    }
}

@media only screen and (min-width: 1780px) {
    .top .top-mainvisual .mainvisual__inner {
    }
}

@media (max-width: 767px) {
    .top .top-mainvisual .mainvisual__inner {
        padding: 41px 15px 52px;
    }

    .top .top-mainvisual .mainvisual__inner::after {
        left: 34%
    }
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__img {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -ms-justify-content: space-between;
        justify-content: space-between;
        -webkit-align-items: flex-start;
        -moz-align-items: flex-start;
        -ms-align-items: flex-start;
        align-items: flex-start;
        max-width: calc(100% - 34.813vw);
        padding: 0 4vw 0 0;
        height: 76vh
    }
}

@media only screen and (min-width: 1750px) {
    .top .top-mainvisual .mainvisual__img {
        height: 80vh
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-mainvisual .mainvisual__img {
        height: auto
    }
}

@media (max-width: 767px) {
    .top .top-mainvisual .mainvisual__img {
        height: 259px;
        max-width: calc(100% - 24px);
        margin: 21px -3px 0 auto
    }

    .top .top-mainvisual .mainvisual__img .owl-stage {
        display: flex
    }

    .top .top-mainvisual .mainvisual__img .owl-nav,
    .top .top-mainvisual .mainvisual__img .owl-dots {
        display: none
    }

    .top .top-mainvisual .mainvisual__img div {
        width: 100%;
        height: 100%
    }

    .top .top-mainvisual .mainvisual__img div img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }
}

.top .top-mainvisual .mainvisual__img div {
    overflow: hidden
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__img div {
        border-radius: 0.781vw;
        height: 100%
    }
}

@media (max-width: 767px) {
    .top .top-mainvisual .mainvisual__img div {
        border-radius: 0.781vw 0 0 0.781vw
    }
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__img div img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__img div.img_first {
        margin-right: 1.03vw;
        width: 38.282vw
    }
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__img div.img_second {
        width: 21.875vw
    }
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__ttl {
        font-size: 60px;
        font-size: 6rem;
        line-height: 1.33333;
        letter-spacing: .2em;
        font-weight: 700;
        font-size: 3.288vw;
        color: #C01431;
        text-shadow: 2px 3px 4px #fff;
    }
}

@media only screen and (min-width: 1800px) {
    .top .top-mainvisual .mainvisual__ttl {
        font-size: 3.8vw
    }
}

@media (max-width: 767px) {
    .top .top-mainvisual .mainvisual__ttl {
        font-size: 36px;
        font-size: 3.6rem;
        line-height: 1.3;
        letter-spacing: .2em
    }
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__en {
        font-size: 48px;
        font-size: 4.8rem;
        line-height: 1.25;
        letter-spacing: 1px;
        font-weight: 600;
        margin-top: 14px;
        font-size: 2.2vw;
        text-shadow: 2px 3px 4px #fff;
        color: #c01431;
    }
}

@media only screen and (min-width: 1800px) {
    .top .top-mainvisual .mainvisual__en {
        font-size: 2.8vw
    }
}

@media (max-width: 767px) {
    .top .top-mainvisual .mainvisual__en {
        letter-spacing: 0.06em
    }
}

.top .top-mainvisual .mainvisual__recruit {
    top: 34%;
    right: -1px
}

@media (min-width: 768px) {
    .top .top-mainvisual .mainvisual__recruit {
        top: 50%;
        transform: translateY(-50%)
    }
}

.top .top-mainvisual .mainvisual::after {
    display: none;
}

.top .top-service {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start
}

@media (min-width: 768px) {
    .top .top-service {
        margin: 98px auto 89px;
        margin-top: 7.656vw
    }

    .top .top-service.isBox .top-service__info {
        position: -webkit-sticky;
        position: -moz-sticky;
        position: -o-sticky;
        position: -ms-sticky;
        position: sticky;
        top: 150px;
        left: 0
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-service {
        margin-top: 98px
    }
}

@media (max-width: 767px) {
    .top .top-service {
        width: 100%
    }
}

.top .top-service__txt {
    font-size: 2.8rem;
    line-height: 1.6;
    font-weight: 500;
    margin: 30px 0 0
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-service__txt {
        font-size: 26px;
        font-size: 2.6rem
    }
}

@media (max-width: 767px) {
    .top .top-service__txt {
        font-size: 22px;
        font-size: 2.2rem;
        line-height: 1.63636;
        margin-top: 14px
    }
}

@media only screen and (max-width: 374px) {
    .top .top-service__txt {
        font-size: 18px;
        font-size: 1.8rem
    }
}

.top .top-service__img {
    margin: 40px 0 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start;
    position: relative
}

.top .top-service__img:before {
    display: block;
    content: " ";
    width: 100%;
    padding-top: 64%
}

.top .top-service__img>.content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0
}

@media (max-width: 767px) {
    .top .top-service__img {
        height: 200px;
        overflow: hidden;
        margin-top: 30px;
        position: relative
    }

    .top .top-service__img:before {
        display: block;
        content: " ";
        width: 100%;
        padding-top: 61.53846%
    }

    .top .top-service__img>.content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }
}

.top .top-service__info {
    transition: all 0.3s
}

@media (min-width: 768px) {
    .top .top-service__info {
        width: 48.843%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-service__info {
        width: 50%
    }
}

@media (max-width: 767px) {
    .top .top-service__info {
        width: 100%
    }
}

@media (min-width: 768px) {
    .top .top-service__cont {
        width: calc(100% - 48.843%);
        padding: 21px 0 0 80px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-service__cont {
        width: 50%;
        padding-left: 5%
    }
}

.top .top-service__list {
    margin: 0
}

@media (max-width: 767px) {
    .top .top-service__list {
        padding: 39px 0 0
    }
}

.top .top-service__inner {
    color: inherit;
    display: block
}

.top .top-service__tit {
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start
}

@media (min-width: 768px) {
    .top .top-service__tit {
        overflow: hidden;
        padding-right: 40px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1300px) {
    .top .top-service__tit {
        align-items: center
    }
}

.top .top-service__bg {
    display: inline-block;
    margin-right: 20px
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-service__bg {
        position: relative;
        top: 0
    }
}

@media (max-width: 767px) {
    .top .top-service__bg {
        margin-right: 16px
    }
}

.top .top-service__tt {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 24px;
    font-size: 2.4rem;
    line-height: 1.5;
    letter-spacing: .05em;
    font-weight: 700
}

.top .top-service__tt::before {
    content: attr(data-text);
    left: 0;
    position: absolute;
    top: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.26, 0.17, 1)
}

@media (min-width: 1360px) {
    .top .top-service__tt {
        top: 7px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .top .top-service__tt {
        padding-right: 0;
        top: -2px;
        font-size: 19px;
        font-size: 1.9rem
    }
}

@media (max-width: 767px) {
    .top .top-service__tt {
        font-size: 18px;
        font-size: 1.8rem;
        line-height: 1.55556
    }
}

.top .top-service__sp {
    transform: translateY(100%);
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.26, 0.17, 1)
}

.top .top-service__sub {
    margin: 23px 0 0 0;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 2;
    letter-spacing: .05em;
    font-weight: 500
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .top .top-service__sub br {
        display: none
    }
}

@media (max-width: 767px) {
    .top .top-service__sub {
        margin-top: 15px;
        line-height: 1.6
    }
}

.top .top-service__tag {
    margin-top: 15px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start
}

@media (min-width: 768px) {
    .top .top-service__tag li {
        margin: 0 6px 7px 0
    }
}

@media (max-width: 767px) {
    .top .top-service__tag li {
        margin: 0 4px 3px 0
    }
}

@media (max-width: 767px) {
    .top .top-service__tag {
        margin-top: 10px
    }
}

.top .top-service__span {
    display: inline-block;
    color: #fff;
    border-radius: 4px;
    padding: 3px 12px 0;
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 1.76923;
    font-weight: 700;
    background: #C01431
}

@media (max-width: 767px) {
    .top .top-service__span {
        background: linear-gradient(45deg, #58acea 0%, #1ead97 100%)
    }
}

@-moz-document url-prefix() {
    .top .top-service__span {
        padding-top: 1px
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .top .top-service__span {
        padding: 3px 12px
    }
}

@media (max-width: 767px) {
    .top .top-service__span {
        font-size: 12px;
        font-size: 1.2rem;
        padding: 1px 10px
    }
}

.top .top-service__item {
    padding: 41px 20px 32px 20px;
    border-bottom: 1px solid #bbc8ce;
    background: url(../image/ico_arrow_circle.svg) no-repeat;
    background-size: 30px 30px;
    background-position: top 50px right 20px;
    display: block;
    color: #1f2224
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-service__item {
        background-size: 29px
    }
}

.top .top-service__item:first-child {
    border-top: 1px solid #bbc8ce
}

@media (min-width: 768px) {
    .top .top-service__item:nth-child(2) {
        background-position: top 54px right 20px;
        padding-top: 28px
    }
}

@media (min-width: 768px) and (hover: hover),
screen and (min-width: 768px) and (-ms-high-contrast: active),
(min-width: 768px) and (-ms-high-contrast: none) {
    .top .top-service__item:nth-child(2):hover {
        background-position: top 54px right 20px
    }
}

@media only screen and (min-width: 768px) and (min-width: 768px) and (max-width: 1024px) {
    .top .top-service__item:nth-child(2) .top-service__tt {
        top: 5px
    }
}

@media (min-width: 768px) {
    .top .top-service__item:nth-child(2) .top-service__bg {
        position: relative
    }
}

@media (min-width: 768px) and (min-width: 1366px) {
    .top .top-service__item:nth-child(2) .top-service__bg {
        top: 12px
    }
}

@media only screen and (min-width: 768px) and (min-width: 1025px) and (max-width: 1365px) {
    .top .top-service__item:nth-child(2) .top-service__bg {
        top: -5px
    }
}

@media only screen and (min-width: 768px) and (min-width: 768px) and (max-width: 1024px) {
    .top .top-service__item:nth-child(2) .top-service__bg {
        top: 4px
    }
}

@media (hover: hover),
screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .top .top-service__item:hover {
        opacity: 1;
        background: url(../image/ico_arrow_circle_hv.svg) no-repeat;
        background-size: 30px 30px;
        background-position: top 50px right 20px
    }

    .top .top-service__item:hover .top-service__tt::before {
        animation: borderTransform1 0.8s cubic-bezier(0.22, 0.61, 0.36, 1)
    }

    .top .top-service__item:hover .top-service__sp {
        opacity: 1;
        animation: borderTransform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1)
    }
}

@keyframes borderTransform {
    0% {
        transform: translateY(100%)
    }

    100% {
        transform: translateY(0%)
    }
}

@keyframes borderTransform1 {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(-120%)
    }
}

@media (max-width: 767px) {
    .top .top-service__item {
        background-position: top 38px right 0;
        padding: 25px 0
    }

    .top .top-service__item:nth-child(1) .top-service__bg img {
        width: 41px;
        margin-top: 7px
    }

    .top .top-service__item:nth-child(1) .top-service__tag {
        padding-right: 28px
    }

    .top .top-service__item:nth-child(2) .top-service__bg img {
        width: 40px;
        margin-top: 7px
    }

    .top .top-service__item:nth-child(3) .top-service__bg img {
        width: 38px;
        margin-top: 7px
    }

    .top .top-service__item:nth-child(4) {
        padding: 34px 0 26px;
        background-position: top 32px right 0
    }

    .top .top-service__item:nth-child(4) .top-service__bg img {
        width: 41px;
        margin-top: -5px
    }

    .top .top-service__item:nth-child(4) .top-service__sub {
        margin-top: 21px
    }
}

.top .top-flow__txt {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 2;
    letter-spacing: .05em
}

@media (min-width: 768px) {
    .top .top-flow__txt {
        max-width: calc(100% - 200px)
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-flow__txt {
        max-width: calc(100% - 120px);
        padding: 0
    }
}

@media (max-width: 767px) {
    .top .top-flow__txt {
        line-height: 1.86667;
        margin: 37px 0 23px
    }
}

@media (min-width: 768px) {
    .top .top-flow__flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: calc(100% - 100px);
        width: 100%;
        margin: 66px auto 0;
        padding: 0 8px 0 11px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-flow__flex {
        max-width: 100%;
        padding: 0;
        margin-top: 30px
    }
}

.top .top-flow__flex .c-view {
    white-space: nowrap
}

@media (min-width: 768px) {
    .top .top-flow__flex .c-view {
        max-width: 102px;
        width: 100%;
        position: relative;
        top: -5px
    }
}

@media (max-width: 767px) {
    .top .top-flow__flex .c-view {
        text-align: center;
        margin: 0 auto;
        display: block;
        max-width: 105px;
        font-size: 18px;
        font-size: 1.8rem
    }
}

.top .top-case {
    margin: 82px auto 0;
    position: relative
}

@media (min-width: 768px) {
    .top .top-case {
        overflow: hidden;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        min-height: 568px
    }
}

@media only screen and (min-width: 1300px) {
    .top .top-case {
        min-height: 610px
    }
}

@media (max-width: 767px) {
    .top .top-case {
        margin-top: 53px;
        overflow: hidden
    }

    .top .top-case .c-title__en {
        line-height: 1
    }

    .top .top-case .c-title__jp {
        position: relative;
        top: 5px
    }
}

.top .top-case__inner {
    background: #C01431;
    padding: 3.75vw 0 3.047vw 6.25vw
}

@media (max-width: 767px) {
    .top .top-case__inner {
        background: linear-gradient(45deg, #58acea 0%, #1ead97 100%)
    }
}

@media (min-width: 768px) {
    .top .top-case__inner {
        border-radius: 0px 10px 10px 0px;
        position: absolute;
        top: 0;
        left: 0;
        min-height: 543px;
        width: 43.438vw
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-case__inner {
        padding: 2.8vw 0 3.2vw 1.5vw
    }
}

@media (max-width: 767px) {
    .top .top-case__inner {
        position: relative;
        padding: 52px 25px 123px
    }
}

@media (min-width: 768px) {
    .top .top-case__list {
        max-width: 23.438vw;
        margin: 39px 0 22px
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1280px) {
    .top .top-case__list {
        max-width: 24vw
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-case__list {
        max-width: 31vw;
        margin: 15px 0 10px
    }
}

@media (max-width: 767px) {
    .top .top-case__list {
        margin: 28px 0 0
    }
}

.top .top-case__list .tab.is-active span {
    color: #C01431
}

.top .top-case__list .tab.is-active span::before {
    background: url(../image/ico_arrow_next.svg) no-repeat;
    background-position: top 0 right
}

.top .top-case__list .tab.is-active span::after {
    height: 100%
}

@media (hover: hover),
screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .top .top-case__list .tab:hover {
        opacity: 1;
        box-shadow: 4px 4px 20px rgba(192, 20, 49, .2)
    }

    .top .top-case__list .tab:hover span {
        border-radius: 10px;
        color: #C01431
    }

    .top .top-case__list .tab:hover span::after {
        height: 100%
    }

    .top .top-case__list .tab:hover span::before {
        background: url(../image/ico_arrow_next.svg) no-repeat;
        background-position: top 0 right
    }
}

.top .top-case__list a {
    opacity: 1
}

.top .top-case__list button,
.top .top-case__list span {
    opacity: 1;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0em;
    font-weight: 700;
    display: block;
    color: #fff;
    position: relative;
    outline: none;
    border: none;
    background: transparent
}

.top .top-case__list button.link--active,
.top .top-case__list span.link--active {
    color: #C01431
}

.top .top-case__list button.link--active::before,
.top .top-case__list span.link--active::before {
    background: url(../image/ico_arrow_next.svg) no-repeat;
    background-position: top 0 right
}

.top .top-case__list button.link--active::after,
.top .top-case__list span.link--active::after {
    height: 100%
}

@media (min-width: 768px) {

    .top .top-case__list button,
    .top .top-case__list span {
        border-radius: 10px;
        margin: 0 0 15px
    }
}

@media (max-width: 767px) {

    .top .top-case__list button,
    .top .top-case__list span {
        margin-bottom: 7px
    }
}

.top .top-case__list button::after,
.top .top-case__list span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transition: all 0.3s;
    border-radius: 10px
}

@media (max-width: 767px) {

    .top .top-case__list button::after,
    .top .top-case__list span::after {
        border-radius: 10px
    }
}

.top .top-case__list button::before,
.top .top-case__list span::before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    top: 13px;
    z-index: 2;
    right: 10px;
    background: url(../image/ico_arrow_next_white.svg) no-repeat;
    background-position: top 0 right;
    transition: all 0.3s
}

@media (max-width: 767px) {

    .top .top-case__list button::before,
    .top .top-case__list span::before {
        top: 19px;
        right: 13px
    }
}

.top .top-case__list button i,
.top .top-case__list span i {
    font-style: normal;
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2
}

@media (min-width: 768px) {

    .top .top-case__list button i,
    .top .top-case__list span i {
        padding: 10px 28px 10px 10px
    }
}

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

    .top .top-case__list button,
    .top .top-case__list span {
        font-size: 14px;
        font-size: 1.4rem
    }
}

@media (max-width: 767px) {

    .top .top-case__list button,
    .top .top-case__list span {
        padding: 15px 28px 15px 16px;
        background-position: top 15px right 14px
    }
}

.top .top-case__slider {
    position: relative;
    z-index: 2;
    overflow: hidden
}

@media (min-width: 768px) {
    .top .top-case__slider {
        overflow: visible;
        padding: 90px 0 53px
    }
}

@media (max-width: 767px) {
    .top .top-case__slider {
        margin: -91px 0 0;
        padding-bottom: 97px
    }
}

.top .top-case__index {
    width: 100%
}

@media (min-width: 768px) {
    .top .top-case__index {
        width: 66vw;
        overflow: hidden;
        margin: 0 0 0 auto
    }
}

@media (max-width: 767px) {
    .top .top-case__index {
        position: relative
    }

    .top .top-case__index::before {
        content: "";
        position: absolute;
        top: 0;
        left: -24px;
        width: 40px;
        height: 300px;
        overflow: hidden;
        background: #fff;
        box-shadow: 4px 4px 20px #C0143133;
        border-radius: 10px
    }

    .top .top-case__index::after {
        content: "";
        position: absolute;
        top: 0;
        right: -24px;
        width: 40px;
        height: 300px;
        overflow: hidden;
        background: #fff;
        box-shadow: 4px 4px 20px #C0143133;
        border-radius: 10px
    }
}

.top .top-case__slick {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start
}

@media (min-width: 768px) {
    .top .top-case__slick {
        position: static;
        padding-bottom: 30px
    }
}

.top .top-case__item:last-child {
    margin-right: 0
}

@media (min-width: 768px) {
    .top .top-case__item {
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        box-shadow: 4px 4px 20px rgba(192, 20, 49, .2);
        width: 440px !important;
        height: 343px;
        margin-right: 28px
    }
}

@media (max-width: 767px) {
    .top .top-case__item {
        margin: 0 0 0 !important;
        height: 325px
    }

    .top .top-case__item .swiper-slide-container {
        height: 100%;
        margin: 0 10px;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        box-shadow: 4px 4px 20px rgba(192, 20, 49, .2)
    }
}

.top .top-case__item a {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit
}

@media (min-width: 768px) {
    .top .top-case__item a {
        padding: 33px 39px 33px 39px
    }
}

@media (max-width: 767px) {
    .top .top-case__item a {
        padding: 23px 29px
    }
}

.top .top-case__tit {
    color: #C01431;
    position: relative;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 2;
    letter-spacing: .05em;
    font-weight: 700
}

@media (max-width: 767px) {
    .top .top-case__tit {
        font-size: 12px;
        font-size: 1.2rem;
        line-height: 2.5
    }
}

.top .top-case__tit span {
    position: relative;
    background: #fff;
    z-index: 2;
    padding: 0 10px 0 0
}

.top .top-case__tit::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 0;
    width: 100%;
    height: 1px;
    background: #C01431
}

.top .top-case__heading {
    overflow: hidden;
    width: 100%;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 24px;
    font-size: 2.4rem;
    line-height: 1.58333;
    letter-spacing: .05em;
    font-weight: 700
}

@media (min-width: 768px) {
    .top .top-case__heading {
        margin: 10px 0 0;
        height: 77px
    }
}

@media (max-width: 767px) {
    .top .top-case__heading {
        font-size: 20px;
        font-size: 2rem;
        line-height: 1.5;
        height: 58px
    }
}

.top .top-case__txt {
    margin: 10px 0 0;
    overflow: hidden;
    width: 100%;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.73333;
    letter-spacing: .05em;
    font-weight: 500
}

@media (max-width: 767px) {
    .top .top-case__txt {
        font-size: 14px;
        font-size: 1.4rem;
        line-height: 1.71429;
        margin-top: 13px;
        overflow: hidden;
        width: 100%;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: normal
    }
}

@media (min-width: 768px) {
    .top .top-case__label {
        margin: 17px 0 12px;
        overflow: hidden;
        width: 100%;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: normal
    }
}

@media (max-width: 767px) {
    .top .top-case__label {
        margin: 8px 0 2px
    }
}

@media (max-width: 767px) {
    .top .top-case__label span {
        display: block
    }
}

.top .top-case__label span.bg {
    color: #fff;
    height: 30px;
    padding: 6px 12px 5px;
    border-radius: 4px;
    margin-right: 10px;
    background: #C01431;
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 2.30769;
    font-weight: 700
}

@media (max-width: 767px) {
    .top .top-case__label span.bg {
        background: linear-gradient(45deg, #58acea 0%, #1ead97 100%)
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-case__label span.bg {
        line-height: 1;
        padding-bottom: 6px
    }
}

@media (max-width: 767px) {
    .top .top-case__label span.bg {
        height: 24px;
        line-height: 1.5;
        display: inline-block;
        padding: 4px 11px;
        font-size: 12px;
        font-size: 1.2rem
    }
}

.top .top-case__label span.df {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.73333;
    letter-spacing: .05em;
    font-weight: 700
}

@media (max-width: 767px) {
    .top .top-case__label span.df {
        font-size: 13px;
        font-size: 1.3rem;
        line-height: 2;
        margin: 6px 0 0
    }
}

@media (min-width: 768px) {
    .top .top-case__tag {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: flex-start;
        -moz-justify-content: flex-start;
        -ms-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-align-items: flex-start;
        -moz-align-items: flex-start;
        -ms-align-items: flex-start;
        align-items: flex-start
    }
}

@media (max-width: 767px) {
    .top .top-case__tag {
        line-height: 1.2
    }
}

.top .top-case__tag span {
    color: #8b9ea8;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.71429;
    font-weight: 700
}

@media (min-width: 768px) {
    .top .top-case__tag span {
        margin-right: 14px
    }
}

@media (max-width: 767px) {
    .top .top-case__tag span {
        margin: 0 9px 0 0;
        font-size: 12px;
        font-size: 1.2rem;
        line-height: 1.2
    }
}

.top .top-case .owl-carousel .owl-stage {
    display: flex;
    transition: all 0.3s ease 0s !important
}

.top .top-case .owl-carousel .owl-dots {
    position: absolute;
    bottom: 40px;
    right: 26px
}

@media (max-width: 767px) {
    .top .top-case .owl-carousel .owl-dots {
        bottom: 45px;
        left: 26px;
        right: auto
    }
}

.top .top-case .owl-carousel .owl-dots .owl-dot {
    outline: none;
    border: none;
    padding: 0;
    margin: 0 5px;
    width: 10px;
    height: 10px;
    background: #bbc8ce;
    border-radius: 50%
}

.top .top-case .owl-carousel .owl-dots .owl-dot.active {
    background: linear-gradient(#58acea 0%, #1ead97 100%)
}

@media (min-width: 768px) {
    .top .top-case .owl-carousel .owl-item {
        width: 440px !important;
        height: auto;
        max-height: 370px;
        margin-right: 28px
    }

    .top .top-case .owl-carousel .owl-item .item {
        height: 100% !important
    }
}

@media (max-width: 767px) {
    .top .top-case .owl-carousel .owl-item {
        max-width: 320px;
        margin: 0 auto;
        width: auto !important
    }

    .top .top-case .owl-carousel .owl-item .item {
        margin: 0 10px 30px;
        max-height: 330px;
        height: 100% !important
    }
}

.top .top-case .c-view {
    margin: 0 28px 0 auto;
    display: block;
    text-align: right;
    width: 103px;
    z-index: 9
}

@media (min-width: 768px) {
    .top .top-case .c-view {
        position: absolute;
        bottom: 40px;
        right: 0
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-case .c-view {
        margin-top: 30px
    }
}

@media (max-width: 767px) {
    .top .top-case .c-view {
        position: absolute;
        bottom: -286px;
        right: 18px;
        font-size: 18px;
        font-size: 1.8rem;
        z-index: 9
    }

    .top .top-case .c-view .c-view__ico i::after,
    .top .top-case .c-view .c-view__ico i::before {
        background: #C01431
    }

    .top .top-case .c-view span {
        color: #C01431;
        right: -5px
    }
}

@media (min-width: 768px) {
    .top .top-case .c-heading {
        display: inline-flex;
        align-items: flex-start
    }

    .top .top-case .c-heading__txt i {
        overflow: hidden;
        width: 100%;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: normal
    }

    .top .top-case .c-heading__line {
        width: 75px;
        margin-top: 12px
    }
}

.top .top-case .swiper__controls,
.top .top-case .swiper-pagination {
    position: relative;
    z-index: 12;
    width: 100%
}

@media (min-width: 768px) {

    .top .top-case .swiper__controls,
    .top .top-case .swiper-pagination {
        text-align: right;
        top: -1px;
        padding: 0 24px
    }
}

@media (max-width: 767px) {

    .top .top-case .swiper__controls,
    .top .top-case .swiper-pagination {
        text-align: left;
        top: 28px;
        padding: 0 15px
    }
}

.top .top-case .swiper__controls .swiper-pagination-bullet,
.top .top-case .swiper-pagination .swiper-pagination-bullet {
    background: #bbc8ce;
    display: inline-block;
    opacity: 1
}

.top .top-case .swiper__controls .swiper-pagination-bullet.swiper-pagination-bullet-active,
.top .top-case .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #C01431
}

@media (max-width: 767px) {

    .top .top-case .swiper__controls .swiper-pagination-bullet.swiper-pagination-bullet-active,
    .top .top-case .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
        background: linear-gradient(45deg, #58acea 0%, #1ead97 100%)
    }
}

@media (min-width: 768px) {

    .top .top-case .swiper__controls .swiper-pagination-bullet,
    .top .top-case .swiper-pagination .swiper-pagination-bullet {
        margin: 0 6px;
        width: 10px;
        height: 10px
    }
}

@media (max-width: 767px) {

    .top .top-case .swiper__controls .swiper-pagination-bullet,
    .top .top-case .swiper-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px
    }

    .top .top-case .swiper__controls .swiper-pagination-bullet:first-child,
    .top .top-case .swiper-pagination .swiper-pagination-bullet:first-child {
        margin-left: 0
    }
}

.top .top-case .slick-dots {
    bottom: 0;
    z-index: 9999999;
    bottom: -23px;
    text-align: left
}

@media (min-width: 768px) {
    .top .top-case .slick-dots {
        right: 25px;
        bottom: 60px;
        width: 100%;
        text-align: right
    }
}

@media (max-width: 767px) {
    .top .top-case .slick-dots {
        left: 34px
    }
}

.top .top-case .slick-dots button {
    display: none
}

.top .top-case .slick-dots li {
    margin: 0 4px;
    width: 8px;
    height: 8px;
    background: #bbc8ce;
    border-radius: 50%
}

.top .top-case .slick-dots li.slick-active {
    background: linear-gradient(#58acea 0%, #1ead97 100%)
}

@media (min-width: 768px) {
    .top .top-case .slick-list {
        overflow: visible
    }
}

@media (max-width: 767px) {
    .top .top-case .slick-list {
        padding-bottom: 10px
    }
}

@media (max-width: 767px) {
    .top .top-case .swiper-container {
        overflow: visible;
        width: 86%;
        margin-left: auto;
        margin-right: auto
    }
}

@media (min-width: 768px) {
    .top .top-company {
        margin: 86px auto 150px;
        padding: 0 30px;
        max-width: calc(1120px + 10%)
    }
}

@media only screen and (min-width: 768px) and (max-width: 1280px) {
    .top .top-company {
        max-width: 1180px;
        padding: 0 30px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-company {
        overflow: hidden;
        padding: 0 30px
    }
}

@media (max-width: 767px) {
    .top .top-company {
        margin: 0 auto 0
    }
}

@media (min-width: 768px) {
    .top .top-company__img {
        position: relative;
        max-width: calc(900px + 5vw);
        margin: 0;
    }

    .top .top-company__img:before {
        display: block;
        content: " ";
        width: 100%;
        padding-top: 9.11111%
    }

    .top .top-company__img>.content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }

    .top .top-company__img span {
        background-size: contain
    }
}

@media only screen and (min-width: 768px) and (max-width: 1280px) {
    .top .top-company__img {
        margin-right: -34px;
        max-width: 910px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .top .top-company__img {
        right: 0;
        max-width: 700px;
        margin-right: 0
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-company__img {
        max-width: 600px
    }
}

@media (max-width: 767px) {
    .top .top-company__img {
        max-width: 282px;
        margin: 0 0 32px;
        position: relative
    }

    .top .top-company__img:before {
        display: block;
        content: " ";
        width: 100%;
        padding-top: 31.20567%
    }

    .top .top-company__img>.content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }
}

@media (min-width: 768px) {
    .top .top-company__inner {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: flex-start;
        -moz-justify-content: flex-start;
        -ms-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-align-items: flex-start;
        -moz-align-items: flex-start;
        -ms-align-items: flex-start;
        align-items: flex-start;
        padding: 64px 0 0
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-company__inner {
        align-items: center
    }
}

.top .top-company__main {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start
}

@media (min-width: 768px) {
    .top .top-company__main {
        max-width: 55.3577%;
        width: 100%
    }
}

@media (max-width: 767px) {
    .top .top-company__main {
        margin-bottom: 34px;
        width: 100%
    }
}

.top .top-company__main .img_thumb {
    max-width: 300px;
    text-align: right
}

@media (min-width: 768px) {
    .top .top-company__main .img_thumb {
        max-width: 49%;
        position: relative
    }

    .top .top-company__main .img_thumb:before {
        display: block;
        content: " ";
        width: 100%;
        padding-top: 166.66667%
    }

    .top .top-company__main .img_thumb>.content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-company__main .img_thumb {
        height: 100%
    }
}

@media (max-width: 767px) {
    .top .top-company__main .img_thumb {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        max-width: 50%
    }

    .top .top-company__main .img_thumb:before {
        display: block;
        content: " ";
        width: 100%;
        padding-top: 151.89873%
    }

    .top .top-company__main .img_thumb>.content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }
}

@media (min-width: 768px) {
    .top .top-company__main .img_thumb:first-child {
        margin-right: 20px
    }
}

@media (max-width: 767px) {
    .top .top-company__main .img_thumb:first-child {
        margin-right: 10px
    }
}

@media (min-width: 768px) {
    .top .top-company__content {
        max-width: calc(100% - 55.3577%);
        width: 100%;
        padding: 2% 0 0 7.2%;
    }
}

@media (min-width: 1360px) {
    .top .top-company__content {
        display: flex;
        padding-top: 0
    }
}

@media only screen and (min-width: 768px) and (max-width: 1100px) {
    .top .top-company__content {
        padding-left: 5%;
        padding-top: 0
    }
}

.top .top-company__ttl {
    font-size: 3.4rem;
    line-height: 1.55556;
    font-weight: 600;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-company__ttl {
        font-size: 30px;
        font-size: 3rem;
        line-height: 1.66667;
        white-space: nowrap
    }
}

@media (max-width: 767px) {
    .top .top-company__ttl {
        font-size: 2.5rem;
        line-height: 1.61538
    }
}

.top .top-company__txt {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 2;
    letter-spacing: .05em;
    font-weight: 500
}

@media (min-width: 768px) {
    .top .top-company__txt {
        margin-top: 30px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1250px) {
    .top .top-company__txt {
        margin-top: 35px
    }
}

@media only screen and (min-width: 900px) and (max-width: 1024px) {
    .top .top-company__txt {
        margin-top: 35px
    }
}

@media only screen and (min-width: 768px) and (max-width: 900px) {
    .top .top-company__txt {
        margin-top: 20px
    }
}

@media (max-width: 767px) {
    .top .top-company__txt {
        margin-top: 21px;
        font-size: 15px;
        font-size: 1.5rem;
        line-height: 1.86667
    }
}

@media (min-width: 768px) {
    .top .top-company .c-btn {
        margin-top: 52px
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
    .top .top-company .c-btn {
        margin-top: 30px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-company .c-btn {
        margin-top: 30px;
        min-width: auto
    }
}

@media only screen and (min-width: 768px) and (max-width: 900px) {
    .top .top-company .c-btn {
        margin-top: 15px
    }
}

@media (max-width: 767px) {
    .top .top-company .c-btn {
        margin: 32px 0 0;
        padding-top: 18px
    }
}

@media (max-width: 767px) {
    .top .top-entry {
        margin: 59px auto 0
    }
}

.top .top-entry__recruit {
    position: relative;
    height: 520px;
}

@media (min-width: 768px) {
    .top .top-entry__recruit {
        height: 496px;
    }
}

.top .top-entry__recruit .img_thumb span {
    background-position: top center
}

@media only screen and (min-width: 768px) and (max-width: 1020px) {
    .top .top-entry__recruit {
        height: 450px
    }
}

@media (device-width: 1024px) and (device-height: 1366px),
(device-height: 1024px) and (device-width: 1366px),
(device-width: 834px) and (device-height: 1194px),
(device-height: 834px) and (device-width: 1194px) {
    .top .top-entry__recruit {
        height: 450px
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .top .top-entry__recruit {
        height: 450px
    }
}

.top .top-entry__recruit .c-title {
    position: absolute;
    z-index: 2
}

@media (min-width: 768px) {
    .top .top-entry__recruit .c-title {
        top: 33px;
        left: 57px
    }
}

@media (max-width: 767px) {
    .top .top-entry__recruit .c-title {
        top: 43px;
        left: 25px
    }
}

@media (min-width: 768px) {
    .top .top-entry__recruit .c-view {
        position: absolute;
        top: 44px;
        right: 55px;
        z-index: 2
    }
}

@media (max-width: 767px) {
    .top .top-entry__recruit .c-view {
        position: absolute;
        bottom: 0;
        right: 56px;
        z-index: 2
    }
}

@media (min-width: 768px) {
    .top .top-entry__join {
        position: relative;
        max-width: 495px;
        left: -8px
    }

    .top .top-entry__join:before {
        display: block;
        content: " ";
        width: 100%;
        padding-top: 21.53209%
    }

    .top .top-entry__join>.content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }

    .top .top-entry__join span {
        background-size: contain;
        opacity: 0.7
    }
}

@media (max-width: 767px) {
    .top .top-entry__join {
        max-width: 207px;
        margin: 52px 26px 0 auto;
        position: relative
    }

    .top .top-entry__join:before {
        display: block;
        content: " ";
        width: 100%;
        padding-top: 21.25604%
    }

    .top .top-entry__join>.content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }

    .top .top-entry__join span {
        background-size: contain
    }
}

.top .top-entry__inner {
    max-width: 1114px;
    width: 100%;
    margin: 0 auto
}

@media (min-width: 768px) {
    .top .top-entry__inner {
        position: absolute;
        top: 57px;
        left: 0;
        right: 0;
        max-width: calc(100% - 200px)
    }
}

@media only screen and (min-width: 768px) and (max-width: 1280px) {
    .top .top-entry__inner {
        max-width: 1114px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-entry__inner {
        top: 30px;
        padding: 0 20px
    }
}

@media (max-width: 767px) {
    .top .top-entry__inner {
        position: absolute;
        top: 0;
    }
}

.top .top-entry__img {
    max-width: 100vw;
    position: relative
}

@media (min-width: 768px) {
    .top .top-entry__img {
        height: 100%;
        position: relative
    }

    .top .top-entry__img>.content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }
}

@media (max-width: 767px) {
    .top .top-entry__img {
        max-height: 700px;
        height: 100%;
        position: relative
    }

    .top .top-entry__img>.content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }
}

.top .top-entry .c-banner {
    position: relative;
    z-index: 1;
    margin-bottom: 0
}

@media (min-width: 768px) {
    .top .top-entry .c-banner {
        margin-top: -131px
    }
}

@media (hover: hover),
screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .top .top-entry .c-banner:hover .c-banner__txt::after {
        right: -100px;
        top: 50%
    }

    .top .top-entry .c-banner:hover .c-banner__box::before {
        opacity: 0;
        left: 40px
    }

    .top .top-entry .c-banner:hover .c-banner__box::after {
        left: 20px
    }
}

@media only screen and (min-width: 1100px) and (max-width: 1250px) {
    .top .top-entry .c-banner {
        margin-top: -80px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1099px) {
    .top .top-entry .c-banner {
        margin-top: -50px
    }
}

@media (max-width: 767px) {
    .top .top-entry .c-banner {
        margin-top: -129px;
        overflow: visible
    }
}

@media only screen and (max-width: 325px) {
    .top .top-entry .c-banner {
        margin-top: -50px
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-entry .c-banner__inner {
        left: 24%
    }
}

@media (min-width: 768px) {

    .top .top-entry .c-banner__box:after,
    .top .top-entry .c-banner__box::before {
        background: url(../image/entry_top.svg) no-repeat;
        left: 50px;
        top: 15px;
        background-size: 363px 138px
    }

    .top .top-entry .c-banner__box::before {
        background-position: center left
    }

    .top .top-entry .c-banner__box::after {
        top: 15px;
        background-position: center left
    }

    .top .top-entry .c-banner__box::before {
        opacity: 0.2
    }
}

@media (max-width: 767px) {
    .top .top-entry .c-banner__box::before {
        background: url(../image/entry_top_sp.svg) no-repeat;
        background-size: 212px 158px;
        background-position: top 0 right -64px;
        left: auto;
        right: 0;
        top: 7px
    }
}

.top .top-entry .c-banner__txt::after {
    transition: all 0.3s
}

.top .top-entry .c-nav .top-entry__txt {
    color: #fff;
    font-size: 2rem;
    line-height: 2;
}

@media (min-width: 768px) {
    .top .top-entry .c-nav {
        position: absolute;
        width: 100%;
        top: 100px;
        left: 0;
        right: 0;
        z-index: 2;
        margin: 44px auto
    }

    .top .top-entry .c-nav ul {
        max-width: calc(100% - 112px)
    }

    .top .top-entry .c-nav ul li {
        max-width: calc(100% / 4 - 15px)
    }
}

@media only screen and (min-width: 768px) and (min-width: 768px) and (max-width: 1024px) {
    .top .top-entry .c-nav ul li {
        height: 150px
    }
}

@media (min-width: 768px) {
    .top .top-entry .c-nav ul li a {
        height: 100%;
        min-height: 100%;
        background: #fff
    }

    .top .top-entry .c-nav ul li a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(60deg, #58acea 0%, #1ead97 100%);
        transition: all 0.3s;
        opacity: 0
    }

    .top .top-entry .c-nav ul li a span {
        position: relative;
        z-index: 2
    }
}

@media (min-width: 768px) and (hover: hover),
screen and (min-width: 768px) and (-ms-high-contrast: active),
(min-width: 768px) and (-ms-high-contrast: none) {
    .top .top-entry .c-nav ul li:hover a::before {
        opacity: 1
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-entry .c-nav {
        margin-top: 30px
    }
}

@media (max-width: 767px) {
    .top .top-entry .c-nav {
        position: absolute;
        top: 135px;
        left: 0;
        right: 0;
        z-index: 2;
        max-width: calc(100% - 50px);
        width: 100%;
        margin: 0 auto
    }
}

@media (max-width: 767px) {
    .top .top-entry .c-view {
        position: absolute;
        top: -61px;
        right: 24px;
        margin: 0;
        z-index: 9;
        width: 102px
    }
}

@media only screen and (max-width: 767px) and (max-width: 325px) {
    .top .top-entry .c-view {
        top: -40px
    }
}

@media (max-width: 767px) {

    .top .top-entry .c-view--white::after,
    .top .top-entry .c-view--white::before {
        background: #fff
    }

    .top .top-entry .c-view--white::after {
        right: -3px
    }

    .top .top-entry .c-view--white::before {
        right: 4px
    }

    .top .top-entry .c-view--white span {
        color: #fff
    }
}

.top .footer__list {}

.top .footer__txt {
    display: block
}

@media (min-width: 768px) {
    .top .footer__col {}
}

@media (max-width: 767px) {
    .top .footer__col {
        padding-bottom: 0;
        padding-bottom: 37px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .top .top-strength .c-banner::after {
        max-width: calc(100% - 20px)
    }

    .top .top-strength .c-banner__link {
        max-width: calc(100% - 20px)
    }

    .top .top-strength .c-banner:hover::after {
        max-width: 100%
    }

    .top .top-strength .c-banner:hover .c-banner__box::after {
        background-size: 80%
    }

    .top .top-strength .c-banner:hover .c-banner__link {
        max-width: calc(100% - 20px)
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .top .top-strength .c-banner::after {
        max-width: calc(100% - 80px) !important
    }

    .top .top-strength .c-banner__link {
        max-width: calc(100% - 80px)
    }

    .top .top-strength .c-banner:hover .c-banner__box::after {
        background-size: 889px 131px
    }

    .top .top-strength .c-banner:hover .c-banner__link {
        max-width: calc(100% - 80px)
    }
}

@media (max-width: 767px) {
    .top .top-strength {
        margin: 71px auto 53px
    }

    .top .top-strength .c-banner__txt::after {
        bottom: 10px
    }

    .top .top-strength .c-banner__box::after,
    .top .top-strength .c-banner__box::before {
        top: -1px
    }

    .top .top-strength .c-banner:hover .c-banner__inner {
        opacity: 1
    }

    .top .top-strength .c-banner:hover .c-banner__txt::after {
        left: 106px;
        width: 42px;
        bottom: 10px;
        top: auto
    }

    .top .top-strength .c-banner:hover .c-banner__box::before {
        opacity: 1;
        left: 0;
        background: url(../image/strength_top_sp.svg) no-repeat;
        background-position: top 6px right 14px
    }

    .top .top-strength .c-banner:hover .c-banner__box::after {
        opacity: 0
    }
}

@media (max-width: 767px) {
    .top .top-entry .c-banner:hover .c-banner__inner {
        opacity: 1
    }

    .top .top-entry .c-banner:hover .c-banner__txt::after {
        left: 106px;
        width: 42px;
        bottom: 11px;
        top: auto
    }

    .top .top-entry .c-banner:hover .c-banner__box::before {
        opacity: 1;
        left: 0;
        background: url(../image/entry_top_sp.svg) no-repeat;
        background-size: 212px 158px;
        background-position: top 0 right -64px;
        left: auto;
        right: 0;
        top: 7px
    }

    .top .top-entry .c-banner:hover .c-banner__box::after {
        opacity: 0
    }
}

.top .top-mainvisual .mainvisual__ttl span {
    font-size: 4.925vw;
}


/*calendar*/
.top-calculate .top-calculate__con {
    display: inline-flex;
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: relative;
    margin-bottom: 8%;
}

.top-calculate .top-calculate__con>div {
    width: 44.64%;
    border: 1px solid #D7D7D7;
}

.top-calculate .top-calculate__con::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    left: 50%;
    background-image: url('../image/line.png');
}

.top-calculate .exchange-title,
.top-calculate .calendar-title {
    text-align: center;
    background: #C01431;
    line-height: 60px;
    color: #FFF;
    font-weight: 400;
    margin: 0 0 5px 0;
    font-size: 2.8rem;
}

.top-calculate form,
.top-calculate .exchange-sub {
    margin: 2px 0;
}

.top-calculate .exchange-sub,
.exchange-sub2 {
    font-size: 12px;

}

.top-calculate .exchange-sub2 input {
    margin: 5px 0 0 0
}

.top-calculate .bold {
    font-weight: bold;
}

.top-calculate input#cny,
.top-calculate input#jpy,
.top-calculate input#res {
    width: 55%;
    border: 1px solid #767676;
    line-height: 36px;
    box-sizing: border-box;
}

.top-calculate input[type="button"] {
    border: 1px solid #C01431;
    font-size: 1.8rem;
    background-color: #F5F5F5;
    line-height: 36px;
    width: 100px;
}

.top-calculate form#rate_form {
    padding: 0 5px 5px;
    text-align: center;
    font-size: 2rem;
    line-height: 2;
}

.top-calculate form#rate_form p {
    margin: 20px 0;
}

.top-calculate form#rate_form p span.res {
    display: inline-block;
    width: 118px;
    text-align: left;
}

.top-calculate div.cal_wrapper table {
    width: 92%;
    box-sizing: border-box;
    margin: 0 auto 15px auto;
}

.top-calculate div.cal_wrapper table.cal tr th p {
    padding: 5px;
    margin: 0px;
    color: #000000;
    font-size: 20px;
    font-weight: 500;
}

.top-calculate div.cal_wrapper table.cal tr th div.cal_ui {
    display: inline-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 8px;
}

.top-calculate div.cal_wrapper table.cal tr th div.cal_ui input {
    border: solid 1px #000;
    background-color: #FFF;
    font-size: 16px;
    margin: 0px 1px;
    padding: 1px 5px;
    border-radius: 3px;
    height: 26px;
    line-height: 24px;
    width: 83px;
    color: #000000;
}

.top-calculate div.cal_wrapper table.cal tr td {
    /* border-top: solid 1px #EEE; */
    padding: 2px 0;
}

.top-calculate div.cal_wrapper table.cal tr td {
    font-size: 12px;
    text-align: center;
}

.top-calculate div.cal_wrapper table.cal tr:not(:first-child) {
    background-color: #FAFAFA;
}

.top-calculate div.cal_wrapper table.cal tr.headline td {
    padding: 5px 0px;
    color: #000;
}

.top-calculate div.cal_wrapper table.cal tr.headline {
    background-color: #FAFAFA;
}

.top-calculate div.cal_wrapper table.cal tr td div {
    position: relative;
    padding: 7px;
    font-size: 12px;
    text-align: center;
    /* background-color: #FFF; */
    color: #000;
}

.top-calculate div.cal_wrapper table.cal tr td div span {
    display: none;
    position: absolute;
    top: 20px;
    left: 0px;
    width: 180px;
    border: solid 1px #EEE;
    background-color: #FFF;
    text-align: left;
    padding: 5px;
    z-index: 10;
    color: #000;
    font-weight: normal;
    line-height: 1.5em;
    box-shadow: 1px 1px 3px #666;
}

.top-calculate div.cal_wrapper table.cal tr td div.Sat {
    /* color: #00F; */
}

.top-calculate div.cal_wrapper table.cal tr td div.Sun {
    /* color: #F00; */
    font-weight: bolder;
}

.top-calculate div.cal_wrapper table.cal tr td div.Today {
    /* font-weight: bolder; */
}

.top-calculate div.cal_wrapper table.cal tr td div.Deli {
    background-color: #EFE;
}

.top-calculate div.cal_wrapper table.cal tr td div.Holyday {
    font-weight: bolder;
    color: #000;
    background-color: #FFE5BD;
}

.top-calculate div.cal_wrapper table.cal tr td div.Birthday {
    font-weight: bolder;
    background-color: #EEF;
    color: #090;
    border-radius: 3px;
}

.top-calculate div.cal_wrapper table.cal tr td div.backward {
    color: #CCC;
    font-weight: normal;
    /* background-color: #FFF; */
    border-radius: 3px;
}

.top-calculate div.cal_wrapper table.cal tr td div.pointer {
    cursor: pointer;
}

.top-calculate div.cal_wrapper table.cal tr td div.pointer:hover {
    background-color: #EEE;
}

.top-calculate div.cal_wrapper table.cal tr #td_0_2021_2_21_td div.Sun {
    background-color: #FFF !important;
    color: #555555 !important;
    font-weight: normal !important;
}

.top-contact__con {
    background-color: #F7F7F7;
    border-radius: 20px;
    padding: 6%;
    margin: 10% 0 0 0;
}

.top-contact__con .c-title {
    display: block;
    text-align: center;
}

.top-contact__con .c-title p {
    color: #3F5061;
    font-size: 14px;
    margin-top: 20px;
}

.top-contact__con .form-block__fields .row {
    display: block;
}

.top-contact__con .c-btn--basic {
    background-color: #c01431;
    border-radius: 0;
    max-width: 400px;
    min-height: 40px;
    padding: 14px 0;
}

.top-contact__con .c-btn--basic span {
    color: #fff;
    padding-left: 0;
    display: block;
    width: 100%;
    text-align: center;
}

.top-contact__con .c-btn__span::before {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

@media (max-width: 767px) {
    .top .top-mainvisual .mainvisual__block {
        height: 380px;
    }

    .top .top-mainvisual .mainvisual__block img {
        height: 100%;
        object-fit: cover;
    }

    .top .top-mainvisual .mainvisual__inner {
        position: absolute;
        background-color: transparent;
        width: 100%;
    }

    .top .top-mainvisual .mainvisual__ttl {
        color: #C01431;
        font-size: 2.5rem;
        text-shadow: 3px 3px 4px #fff;
    }

    .top .top-mainvisual .mainvisual__en {
        color: #C01431;
        text-shadow: 3px 3px 4px #fff;
        line-height: 1.5;
        margin-top: 10px;
    }

    .top .top-mainvisual .mainvisual__ttl span {
        font-size: 3.2rem;
    }

    .top .top-service__tit {
        align-items: center;
        -webkit-align-items: center;
    }

    .top-calculate .top-calculate__con,
    .top-calculate .top-calculate__con>div {
        display: block;
        width: 100%;
        margin: 50px 0;
    }

    .top-calculate .top-calculate__con::before {
        width: 100%;
        height: 1px;
        top: calc(50% - 30px);
        left: 0;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        background-image:url('../image/line1.png');

    }

    .top .top-entry .c-nav .top-entry__txt {
        font-size: 1.6rem;
    }

    .form-block__fields .row .row-label strong {
        font-size: 1.6rem;
    }

    .top-contact {
        margin-bottom: 50px;
    }

    .top-contact__con .c-btn--basic,
    .top-calculate form#rate_form,
    .top-calculate div.cal_wrapper table.cal tr th p,
    .top-calculate div.cal_wrapper table.cal tr th div.cal_ui input {
        font-size: 1.6rem;
    }

    .top-calculate .exchange-title, .top-calculate .calendar-title {
        font-size: 2rem;
        line-height: 50px;
    }

    .top-calculate form#rate_form p {
        margin: 10px 0;
    }
}