@keyframes pathmove {
    0% {
        height: 0;
        top: 80px;
        opacity: 0;
    }

    30% {
        height: 60px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 170px;
        opacity: 0;
    }
}

@keyframes pathmoveSP {
    0% {
        height: 0;
        top: 2em;
        opacity: 0;
    }

    30% {
        height: 60px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 18vh;
        opacity: 0;
    }
}

@keyframes zoomUp {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.midashi h2 {
    text-align: center;
    padding: 0.4em!important;
    color: #494949;
    background: #ecf8ff;
    box-shadow: 5px -5px #4c9ac0;
    max-width: 90%;
        margin-left: auto!important;
    margin-right: auto!important;
}

/* ----------------
MV
---------------- */
.swiper-slide-active .mv--img_wrap-img,
.swiper-slide-duplicate-active .mv--img_wrap-img,
.swiper-slide-prev .mv--img_wrap-img {
    animation: zoomUp 7s linear 0s normal both;
}

.mv--img_wrap-img:after {
    content: "";
    background-color: var(--color-accent);
    opacity: 0.5;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.mv--img_wrap {
    overflow: hidden;
    position: relative;
    width: 75%;
    margin-left: auto;
}

.swiper-slide {
    background: linear-gradient(0deg, rgba(255, 219, 0, 1) 65%, rgba(255, 255, 255, 1) 65%);
}

.swiper-slide img {
    object-fit: cover;
    object-position: center;
    aspect-ratio: 12 / 7;
    height: calc(100vh - 17rem);
    width: 100%;
}

.swiper-pagination {
    text-align: right;
    bottom: 0;
    padding-right: 8rem;
}

.swiper-pagination-bullet {
    background-color: #E5E5E5;
    border-radius: 0;
    height: 0.6rem;
    width: 8rem;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-main);
}

section.top_mv {
    padding: 0 !important;
    height: calc(100vh - 14rem);
    position: relative;
}

section.top_mv:before {
    content: "";
    background-color: var(--color-main);
    width: calc(100% - 43rem);
    height: 91rem;
    position: absolute;
    top: 30vh;
    left: 0;
    z-index: -1;
}

.top_mv .mv--ttl {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.top_mv h1>span {
    display: block;
    background-color: #fff;
    letter-spacing: 0.25em;
    width: fit-content;
    position: relative;
}

.top_mv h1 span.mv--ttl_01 {
    font-size: 4.5rem;
    padding: 3rem 9rem 3rem 20rem;
    width: 78.5rem;
    height: 16rem;
    display: flex;
    align-items: center;
}

.top_mv h1 span.mv--ttl_01:before {
    content: "";
    position: absolute;
    top: -3.5rem;
    left: 10rem;
    width: 24.2rem;
    height: 10.6rem;
}

.swiper-slide.first h1 span.mv--ttl_01:before {
    background: url(/wp-content/themes/xeory_base_child/img/top/txt_sdgs.svg) no-repeat 0 0 / contain;
}

.swiper-slide.second h1 span.mv--ttl_01 {
    display: block;
    line-height: 1.2;
}
.swiper-slide.second h1 span.mv--ttl_01:before {
    background: url(/wp-content/themes/xeory_base_child/img/top/txt_dicecoat.svg) no-repeat 0 0 / contain;
}

.swiper-slide.three h1 span.mv--ttl_01:before {
    background: url(/wp-content/themes/xeory_base_child/img/top/txt_daiichi.svg) no-repeat 0 0 / contain;
}

.top_mv h1 span.mv--ttl_02 {
    font-size: 2rem;
    margin-top: 4.5rem;
    padding: 4rem 7rem 4rem 17rem;
    line-height: 2;
    display: flex;
    align-items: center;
    width: 94rem;
    height: 16rem;
}

.top_mv .cross {
    display: inline-block;
    margin: 0 1rem;
    width: 8rem;
    height: 8rem;
    position: relative;
}

.top_mv .cross:before {
    content: "";
    background-color: var(--color-text);
    height: 0.1rem;
    width: 8.1rem;
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
}

.top_mv .cross:after {
    content: "";
    background-color: var(--color-text);
    height: 0.1rem;
    width: 8.1rem;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
}

.top_mv .txt_s {
    font-size: 2rem;
}

.top_mv .mv--slider-inner {
    position: relative;
    padding-bottom: 4rem;
}

.top_mv .scroll {
    font-family: var(--font-en);
    font-size: 1.4rem;
    letter-spacing: 0.25em;
    padding-bottom: 11rem;
    position: absolute;
    bottom: 0;
    left: 2rem;
    z-index: 2;
}

.top_mv .scroll:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 80px;
    background: #333;
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}

@media (min-width:768px) {
    .pc_none {
       display:none;
    }
.top_vision .flex-txt {
    padding-right: calc(50% - 80rem);
    width: calc(62rem + 50% - 75rem);
}
.post-content h2.ttl--paint {
    padding-top: 6rem!important;
}
.top_strength .strength--item h3 picture img {
    float: right;
    margin: -70px 65px 0 0;
}
.vision--txt {
   font-size: 16px;
    line-height: 41px;
}
.btn--more {
    margin-top: 2rem!important;
}
    .top_mv .scroll {
        text-orientation: mixed;
        writing-mode: vertical-rl;
    }
}

@media (max-width:767px) {
.top_mv .mv--ttl {
    top: 57%!important;
}
.top_vision {
    margin-top: -1rem!important;
}
  .top_vision {
    padding: 7rem 0 5rem !important;
}
    section.top_mv {
        height: 95vh;
    }

    section.top_mv:before {
        width: calc(100% - 9rem);
        height: 68vh;
        top: 69vh;
        z-index: 0;
    }

    .top_mv h1 span.mv--ttl_01 {
        font-size: 2.2rem;
        padding: 2rem;
        width: 30rem;
        height: 8rem;
    }

    .top_mv h1 span.mv--ttl_01:before {
        width: 12rem;
        height: 6rem;
        left: 1rem;
        top: -2.5rem;
    }

    .top_mv h1 span.mv--ttl_02 {
        font-size: 1.2rem;
        margin-top: 2rem;
        margin-right: 2rem;
        padding: 2rem 3rem 2rem 2rem;
        width: 26rem;
        height: 14rem;
    }

    .top_mv .txt_s {
        font-size: 1rem;
    }

    .mv--img_wrap {
        width: calc(100% - 9rem);
    }

    .swiper-slide img {
        height: 70vh;
    }

    .top_mv .cross {
        margin: 0 0.5rem;
        width: 4rem;
        height: 4rem;
    }

    .top_mv .cross:before {
        width: 4.1rem;
    }

    .top_mv .cross:after {
        width: 4.1rem;
    }

    .swiper-pagination {
        padding-right: 1rem;
    }

    .top_mv .mv--slider-inner {
        padding-bottom: 0;
    }

    .swiper-pagination-bullet {
        width: 4rem;
        height: 0.3rem;
    }

    .top_mv .scroll {
        padding-bottom: 19vh;
        left: 50%;
        transform: translateX(-50%);
    }

    .top_mv .scroll:after {
        animation: pathmoveSP 1.4s ease-in-out infinite;
    }
}

/* ----------------
私たちについて
---------------- */
.top_vision {
    background-color: #fff;
    margin-left: 8.5rem;
    padding: 9rem 0 10rem;
    margin-top: 3rem;
}

.top_vision .flex {
    margin-left: -6.5rem;
}

.top_vision h2 {
    color: var(--color-main);
    font-size: 7.4rem;
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.25em;
    text-align: left !important;
    position: relative;
    margin: 7rem 0 8rem 4rem !important;
}

.top_vision h2:before {
    content: "";
    background: url(/wp-content/themes/xeory_base_child/img/top/fream_home.svg) no-repeat 0 0 / contain;
    position: absolute;
    left: -6.4rem;
    bottom: 1.4rem;
    width: 17rem;
    height: 19rem;
}

.top_vision h2 .ja {
    color: var(--color-text);
    font-size: 2rem;
    font-family: var(--font-ja);
    font-weight: 700;
    display: block;
    letter-spacing: 0.2em;
}

.top_vision .flex-img {
    width: calc(50% - 8rem);
}

.top_vision .flex-img img {
    width: 100%;
    height: 45rem;
    object-fit: cover;
    object-position: center;
}

@media (max-width:767px) {
    .sma_none {
       display:none;
    }
    .top_vision {
        margin-left: 2rem;
        position: relative;
    }
    .top_vision:before {
        content: "";
        background-color: var(--color-bg-gray);
        position: absolute;
        top: 0;
        bottom: 0;
        left: -2rem;
        right: 0;
        z-index: -1;
    }

    .top_vision h2 {
        font-size: 3rem;
        text-align: center !important;
        margin: 0 0 3rem 0 !important;
    }

    .top_vision h2 .ja {
        font-size: 1.6rem;
    }

    .top_vision h2:before {
        left: 50%;
        bottom: 1rem;
        transform: translateX(-125%);
        width: 8.5rem;
        height: 9.5rem;
    }

    .top_vision .flex {
        margin-left: 0;
    }

    .top_vision .flex-img {
        width: auto;
        margin-left: -4rem;
    }

    .top_vision .flex-img img {
        width: auto;
        height: auto;
        min-height: 19.2rem;
        aspect-ratio: 172 / 93;
    }

    .top_vision .flex-txt {
        padding-right: 0;
        width: 100%;
    }

    .top_vision .vision--txt {
    margin-top: 4rem;
    margin-left: 30px;
    max-width: 310px;
}

    .vision--txt p {
        margin-top: 1.5rem !important;
    }
}

/* ----------------
当社の強み
---------------- */
.top_strength {
    counter-reset: number 0;
}

.top_strength .strength--item {
    background-color: #fff;
    padding: 4rem 6rem;
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.top_strength .strength--item+.strength--item {
    margin-top: 4rem;
}

.top_strength .strength--item .strength--item-img {
    max-width: 30%;
    flex-shrink: 0;
}

.top_strength .strength--item .strength--item-txt {
    width: 100%;
    margin-left: 5rem;
}

.top_strength .strength--item h3 {
    font-size: 24px;
    margin: 4.8rem 0 4rem;
    padding-left: 5.5rem;
    letter-spacing: 0.2em;
    position: relative;
    z-index: 0;
}

.top_strength .strength--item h3:before {
counter-increment: number 1;
    content: counter(number, decimal-leading-zero);
    color: var(--color-bg-gray);
    font-family: var(--font-en);
    font-weight: 900;
    font-size: 10.5rem;
    position: absolute;
    bottom: -2.5rem;
    left: -1rem;
    line-height: 1;
    z-index: -1;
}

.top_strength .strength--item p {
    font-size: 16px;
}

.top_strength .strength--item:nth-of-type(2) .strength--item-txt {
    order: -1;
    margin-right: 5rem;
    margin-left: 0;
}

@media (max-width:767px) {
    .top_strength .strength--item {
        padding: 2.5rem 2rem 4rem;
        flex-direction: column;
    }

    .top_strength .strength--item+.strength--item {
        margin-top: 2rem;
    }

    .top_strength .strength--item .strength--item-img {
        max-width: 80%;
        order: 1;
        margin-top: 3rem;
    }

    .top_strength .strength--item .strength--item-txt {
        width: 100%;
        margin-left: 0;
    }

    .top_strength .strength--item:nth-of-type(2) .strength--item-txt {
        margin-right: 0;
    }

    .top_strength .strength--item h3 {
        font-size: 1.8rem;
        margin: 0 0 3rem;
        padding: 5rem 0 0;
        text-align: center;
    }

    .top_strength .strength--item h3 picture {
        display: block;
    }
    
    .top_strength .strength--item h3 picture img {
        margin-top: 1rem;
    }

    .top_strength .strength--item h3:before {
        font-size: 4.5rem;
        bottom: inherit;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .top_strength .strength--item p {
        font-size: 1.3rem;
         line-height: 27px;
    }
}

/* ----------------
事業内容
---------------- */
.top_service a {
    background-color: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: 0.25em;
    width: calc(33.33% - 0.06rem);
    position: relative;
    overflow: hidden;
    height: 30rem;
    z-index: 0;
}

.top_service a:before {
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .3s;
    z-index: -1;
}

.top_service a:first-child:before {
    background-image: url(/wp-content/themes/xeory_base_child/img/top/img_service_01.jpg);
}

.top_service a:nth-child(2):before {
    background-image: url(/wp-content/themes/xeory_base_child/img/top/img_service_02.jpg);
}

.top_service a:nth-child(3):before {
    background-image: url(/wp-content/themes/xeory_base_child/img/top/img_service_02.jpg);
}

.top_service a:nth-child(5):before {
    background-image: url(/wp-content/themes/xeory_base_child/img/top/img_service_03.jpg);
}

.top_service a:hover:before {
    transform: scale(1.1);
}

@media (max-width:767px) {
    .top_service a {
        width: 100%;
        height: 11rem;
        font-size: 1.6rem;
    }

    .top_service a+* {
        margin-top: 0.1rem;
    }
}

/* ----------------
スタッフブログ
---------------- */
.top_blog .blog--lst-card {
    width: calc(25% - 1.5rem);
}

.top_blog .blog--lst-card .img {
    overflow: hidden;
}

.top_blog .blog--lst-card a:hover {
    opacity: 0.7;
}

.top_blog .blog--lst-card a:hover img {
    transform: scale(1.1);
}

.top_blog .blog--lst-card h3 {
    color: initial;
    font-size: 1.5rem;
    margin-top: 2rem;
}

.top_blog .day {
    background: url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21"%3E%3Cg transform="translate(-5 -5)"%3E%3Cpath d="M9.5-1A10.5,10.5,0,1,1-1,9.5,10.512,10.512,0,0,1,9.5-1Zm0,19A8.5,8.5,0,1,0,1,9.5,8.51,8.51,0,0,0,9.5,18Z" transform="translate(6 6)" fill="%23b9b999"%2F%3E%3Cpath d="M26.074,23.112a1,1,0,0,1-.707-.293l-2.074-2.074A1,1,0,0,1,23,20.038V15.77a1,1,0,1,1,2,0v3.854L26.781,21.4a1,1,0,0,1-.707,1.707Z" transform="translate(-8.666 -4.704)" fill="%23b9b999"%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E') no-repeat center left / 2rem;
    color: var(--color-text-gray);
    font-size: 1.4rem;
    margin-top: 1rem;
    padding-left: 2.5rem;
}

@media (max-width:767px) {
    .top_blog .blog--lst-card {
        width: 100%;
    }

    .top_blog .blog--lst-card a {
        border-top: 0.1rem solid var(--color-text-gray);
        display: flex;
        justify-content: space-between;
        padding: 2rem 0;
    }

    .top_blog .blog--lst-card:last-of-type a {
        border-bottom: 0.1rem solid var(--color-text-gray);
    }

    .top_blog .blog--lst-card .img {
        width: 13rem;
        max-width: 40%;
    }

    .top_blog .blog--lst-card .txt {
        width: calc(60% - 2rem);
    }

    .top_blog .blog--lst-card h3 {
        font-size: inherit;
        margin-top: 0;
    }

    .top_blog .day {
        background-size: 1.2rem;
        font-size: 1.2rem;
        padding-left: 1.5rem;
    }
}

/* ----------------
SDGs
---------------- */
.post-content .top_sdgs h2 {
    background: url(/wp-content/themes/xeory_base_child/img/top/ico_sdgs.svg) no-repeat center top;
    font-size: 3.2rem;
    letter-spacing: 0.15em;
    padding-top: 9rem;
    margin-bottom: 5rem !important;
}

.top_sdgs .sdgs--txt {
    font-size: 1.8rem;
    margin-top: 6rem;
    line-height: 2.8;
}

@media(max-width: 767px) {
    .post-content .top_sdgs h2 {
        background-size: 3rem;
        font-size: 1.8rem;
        padding-top: 4.5rem;
        margin-bottom: 4rem !important;
    }

    .top_sdgs .sdgs--txt {
        font-size: 1.2rem;
        margin-top: 3rem;
    }
}
          
.heading-017 {
      color: #364e96;/*文字色*/
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #364e96;/*上線*/
  border-bottom: solid 3px #364e96;/*下線*/
}

.heading-018 {
      position: relative;
    overflow: hidden;
    padding: 1.5rem 2rem 1.5rem 130px!important;
    border-top: 3px solid #4089ad;
    width: 715px;
    margin: 0 auto!important;
    font-size: 26px!important;
    margin-top: 55px!important;
}

.heading-018:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #4089ad;
}

.heading-018 span {
  font-size: 40px;
  font-size: 4rem;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: #fff;
}

.heading-019 {
    position: relative;
    padding: 1.8rem 2rem!important;
    color: #fff;
    border-radius: 10px;
    background: #094;
    width: 90%!important;
    margin: 0 auto!important;
    font-size: 21px!important;
}
.heading-019:after {
  position: absolute;
  bottom: -9px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #094 transparent transparent transparent;
}

.post-footer {
  display: none;
}

.post-author {
  display: none;
}

.breadcrumb li:nth-child(2) {
    display: none;
}
