#visual {
    position: relative;
    z-index: 1;
    /*
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    padding: 0 15px;
    background: url(../images/index/visual-1.jpg) center center /cover no-repeat;
    background-attachment: fixed;
    */
}
/* マスク */
#visual .visual-bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 0 15px;
  clip-path: inset(0);
}
/* fixed 背景 */
#visual .visual-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url(../images/index/visual-1.jpg) center / cover no-repeat;
  z-index: -1;
}
/* iosのみ */
@supports (-webkit-touch-callout: none) {
  .visual-bg::before {
    position: absolute;
    height: 100svh;
  }
}

#visual:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    max-width: 972px;
    width: 50%;
    aspect-ratio: 972 / 964;
    background: url(../images/index/bg-shape-2.png) center center /contain no-repeat;
    transform: translateY(50%);
}

@media (max-width:768px) {
    #visual:after {
        content: '';
        right: 0;
        bottom: -2%;
        width: 45%;
    }
}

#visual .inner {
    max-width: 1360px;
    width: 100%;
    /*overflow: hidden;*/
    overflow: visible;
}
#visual .logo {
    display: flex;
    color: #fff;

    position: relative;
}
#visual .logo .col {
    width: 31.89%;
}
#visual .logo .text {
    width: 68.11%;
    font-size: 3.2rem;
    padding-left: 3%;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;

    transition: opacity 0.5s ease;
    opacity: 0;
}
#visual .logo .text.active {
    opacity: 1;
}
#visual .logo .text .line-1 {
    /*font-size: 5em;*/
    font-size: 3.3em;
    font-family: 'Poppins',sans-serif;
    line-height: 1;
}
#visual .logo .text .line-2 {
    line-height: 1;
    font-size: 0.9em;
}
#visual .logo .text i {
    display: inline-block;
    opacity: 0;
    transform: translateX(100%);
    transition: .2s;
}
#visual .logo.inview-active .text i {
    opacity: 1;
    transform: translate(0);
}
@media (max-width:1500px) {
    #visual .logo .text {
        font-size: 2vw;
    }
}
@media (max-width:640px) {
    #visual .logo .text {
        font-size: 2.9vw;
    }
    #visual .logo .text .line-1 {
        /*font-size: 4em;*/
        font-size: 2.8em;
    }
    #visual .logo .text .line-2 {
        font-size: 0.8em;
    }
}
#visual .logo .text i:nth-child(1) {
    transition-delay: .07s;
}
#visual .logo .text i:nth-child(2) {
    transition-delay: .14s;
}
#visual .logo .text i:nth-child(3) {
    transition-delay: .21s;
}
#visual .logo .text i:nth-child(4) {
    transition-delay: .28s;
}
#visual .logo .text i:nth-child(5) {
    transition-delay: .35s;
}
#visual .logo .text i:nth-child(6) {
    transition-delay: .42s;
}
#visual .logo .text i:nth-child(7) {
    transition-delay: .49s;
}
#visual .logo .text i:nth-child(8) {
    transition-delay: .56s;
}
#visual .logo .text i:nth-child(9) {
    transition-delay: .63s;
}
#visual .logo .text i:nth-child(10) {
    transition-delay: .70s;
}
#visual .logo .text i:nth-child(11) {
    transition-delay: .77s;
}
#visual .logo .text i:nth-child(12) {
    transition-delay: .84s;
}
#visual .logo .text i:nth-child(13) {
    transition-delay: .91s;
}
#visual .logo .text i:nth-child(14) {
    transition-delay: .98s;
}


#visual .news {
    max-width: 60%;
    width: 810px;
    min-height: 80px;
    display: flex;
    align-items: stretch;
    color: #fff;
    background: rgba(0,0,0,.5);
    border: 1px solid #c1cbd5;
    border-radius: 40px;
    margin-top: 10%;
}
@media (max-width:1180px) {
    #visual .news {
        margin-top: 5%;
    }
}
@media (max-width:1024px) {
    #visual .visual-bg {
        padding-top: 80px;
    }
}
@media (max-width:880px) {
    #visual .visual-bg {
        aspect-ratio: 4 / 3;
        padding-top: 0;
    }
    #visual .news {
        max-width: 75%;
        min-height: 50px;
    }
}
#visual .news > .title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5em;
    font-size: 2rem;
    font-family: 'Poppins',sans-serif;
    text-align: center;
    border-right: 1px solid #c1cbd5;
}
#visual .news > .content {
    display: flex;
    align-items: center;
    width: calc(100% - 5em);
}
#visual .news .item {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0 1em;
    padding-right: 3em;
}
#visual .news .item:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.5em;
    display: block;
    width: 30px;
    height: 30px;
    background: url(../images/index/icon-arrow.png) center center /contain no-repeat;
}
#visual .news .item .time {
    width: 6.5em;
    font-weight: 700;
}
#visual .news .item .title {
    width: calc(100% - 6.5em);
}
#visual .news .item[href]:hover .title {
    text-decoration: underline;
}
@media (max-width:768px) {
    #visual .visual-bg {
        aspect-ratio: auto;
        height: 100svh;
    }
    #visual .news {
        max-width: calc(100% - 20px) !important;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 12%;
        z-index: 1;
        margin: 0 auto;
    }
    #visual .news .item {
        padding: 5px;
        padding-right: 2.75em;
    }
    #visual .news .item:after {
        right: 1em;
        width: 25px;
        height: 25px;
    }
    #visual .news .item .time,
    #visual .news .item .title {
        width: 100%;
        line-height: 1.6;
    }
}
@media (max-width:640px) {
    #visual .logo img {
        max-width: 100%;
    }
    #visual .news {
        max-width: 100%;
    }
}

#main .service {
    position: relative;
    overflow: hidden;
    padding: 150px 0 240px;
    background: linear-gradient(70deg,#84a7ba 0%, #65809c 100%);
    background-attachment: fixed;
}
@media (max-width:960px) {
    #main .service {
        padding: 100px 0;
    }
}

#main .service:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/index/service-bg.png) center 0 /100% auto repeat-y;
    background-attachment: fixed;
}
#main .service .body {
    position: relative;
    z-index: 1;
}
#main .service .header {
    position: relative;
    z-index: 1;
    margin-bottom: 100px;
}
#main .service .header .title-1 {
    color: #fff;
}
#main .service .header .content {
    width: calc(100% - 270px - 70px);
    color: #fff;
}
#main .service .header .btn {
    width: 270px;
}
#main .service .header .btn .btn-1 {
    color: #fff;
    background-color: transparent;
}
#main .service .list .item ~ .item {
}
#main .service .list .item {
    height: 100vh;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}
#main .service .list .item .photo {
    position: relative;
    width: 51%;
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
}
#main .service .list .item .photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: .2s;
}
#main .service .list .item .photo img[src*="-hover"] {
    opacity: 0;
}
#main .service .list .item .photo:hover img[src*="-hover"] {
    opacity: 1;
}
#main .service .list .item .photo:hover img:not([src*="-hover"]) {
    opacity: 0;
}
#main .service .list .item .content {
    width: 44%;
}
#main .service .list .item .content .num {
    width: 3em;
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1;
    text-align: center;
    color: #fff;
    text-indent: -.2em;
    background: #0031af;
    padding: .25em 0;
    border-radius: 1em;
}
#main .service .list .item .content .title-1 {
    font-size: 2rem;
    color: #fff;
}
#main .service .list .item .content .title-1:before {
    font-size: 2.5em;
    color: inherit;
    line-height: 1.3;
    margin-bottom: .25em;
}
#main .service .list .item .content .btn-1 {
    color: #fff;
    background-color: transparent;
}
@media (max-width:960px) {
    #main .service {
        padding: 100px 0;
    }
    #main .service .header .flex {
        display: block;
    }
    #main .service .header .content {
        width: 100%;
    }
    #main .service .header .btn {
        width: 100%;
        margin-top: 2em;
    }
    #main .service .list .item {
        max-width: 600px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    #main .service .list .item ~ .item {
        margin-top: 100px;
    }
    #main .service .list .item .photo {
        width: 100%;
    }
    #main .service .list .item .content {
        width: 100%;
        margin-top: 2em;
    }
}
@media (max-width:768px) {
    #main .service {
        padding: 50px 0;
    }
    #main .service .list .item ~ .item {
        margin-top: 50px;
    }
    #main .service .list .item .content .title-1 {
        font-size: 1.6rem;
    }
    #main .service .header .btn {
        margin-top: 1.5em;
    }
}

#main .initiative {
  position: relative;
  padding: 140px 0;
  clip-path: inset(0);
}

/* 背景 */
#main .initiative::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url(../images/index/initiative-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  z-index: -1;
}

/* iOSのみ */
@supports (-webkit-touch-callout: none) {
  #main .initiative::after {
    position: absolute;
    inset: 0;
    background-position: center bottom;
  }
}


#main .initiative:before {
    content: '';
    position: absolute;
    top: -10%;
    left: 0;
    display: block;
    max-width: 100%;
    width: 1600px;
    height: 1489px;
    background: url(../images/index/initiative-shape.png) center center /contain no-repeat;
}
#main .initiative .header {
    position: relative;
    z-index: 1;
    color: #fff;
}
#main .initiative .header .title-1 {
    color: inherit;
}
#main .initiative .header .content {
    width: calc(100% - 270px - 70px);
}
#main .initiative .header .btn {
    width: 270px;
}
#main .initiative .header .btn .btn-1 {
    color: #fff;
    background-color: transparent;
}
#main .initiative .contents {
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: 1600px;
    min-height: 560px;
    margin: 50px auto 0;
}
#main .initiative .contents .photo {
    position: absolute;
    max-width: 50%;
}
#main .initiative .contents .content {
    width: 50%;
    margin-left: auto;
}
#main .initiative .contents .content .list {
    max-width: calc(100% - 30px);
    width: 650px;
}
#main .initiative .contents .content .list .item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em 0;
    border-top: 1px solid #c1cbd5;
    border-bottom: 1px solid #c1cbd5;
    margin-top: -1px;
}
#main .initiative .contents .content .list .item:nth-child(1) {
    margin-left: -30%;
}
#main .initiative .contents .content .list .item:nth-child(2) {
    margin-left: -15%;
}
#main .initiative .contents .content .list .item .icon {
    width: 100px;
}
#main .initiative .contents .content .list .item .text {
    position: relative;
    width: calc(100% - 100px);
}
#main .initiative .contents .content .list .item .text .title-1 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0;
}
#main .initiative .contents .content .list .item .text .title-1 span {
    font-size: 1.875em;
    color: #fff;
}
#main .initiative .contents .content .list .item .text .arrow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    transition: .2s;
}
#main .initiative .contents .content .list .item:hover .text .arrow {
    right: -5px;
}
@media (max-width:1280px) {
    #main .initiative .contents .photo {
        display: none;
    }
    #main .initiative .contents .content {
        width: 100%;
    }
    #main .initiative .contents .content .list {
        margin: 0 auto;
        transform: translateX(20%);
    }
}
@media (max-width:960px) {
    #main .initiative {
        padding: 100px 0;
    }
    #main .initiative .contents .content .list {
        transform: none;
    }
    #main .initiative .contents .content .list .item {
        margin-left: 0 !important;
    }
    #main .initiative .header .content {
        width: 100%;
    }
    #main .initiative .header .btn {
        width: 100%;
        margin-top: 1.5em;
    }
}
@media (max-width:768px) {
    #main .initiative {
        padding: 50px 0;
    }
}
@media (max-width:600px) {
    #main .initiative .contents .content .list .item .icon {
        width: 60px;
    }
    #main .initiative .contents .content .list .item .text {
        width: calc(100% - 60px);
    }
    #main .initiative .contents .content .list .item .text .title-1 span {
        font-size: 1.5em;
    }
    #main .initiative .contents .content .list .item .text .arrow img {
        width: 40px;
    }
}
@media (max-width:540px) {
    #main .initiative .contents .content .list .item .text .title-1 span {
        font-size: 1.25em;
    }
    #main .initiative .contents .content .list .item .text .arrow img {
        width: 35px;
    }
}

#main .company {
    position: relative;
    /*padding: 220px 0 500px;*/
    padding: 220px 0 450px;
    /*background: url(../images/index/company-bg.png) center center /contain no-repeat;*/
}
#main .company .body {
    position: relative;
    z-index: 1;
    width: 1080px;
}
#main .company .header {
    position: relative;
    /*z-index: 1;*/
    text-align: right;
    font-size: 20rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: #000;

    z-index: 5;
}
#main .company .photo{
    z-index: 4;
}
#main .company .content{
    z-index: 3;
}
#main .company .bg{
    position: absolute;
    width: 85%;
    top: 40%;
    right: 0;
    z-index: 1;
}

@media (max-width:768px) {
    #main .company .bg{
        width: 100%;
        top: 20%;
    }
}

#main .company .header > i {
    display: inline-block;
    opacity: 0;
    transform: translateY(10%);
    transition: .4s;
}
#main .company .header.inview-active > i {
    opacity: 1;
    transform: translateY(0);
}
#main .company .header > i:nth-child(1) {
    transition-delay: .1s;
}
#main .company .header > i:nth-child(2) {
    transition-delay: .2s;
}
#main .company .header > i:nth-child(3) {
    transition-delay: .3s;
}
#main .company .header > i:nth-child(4) {
    transition-delay: .4s;
}
#main .company .header > i:nth-child(5) {
    transition-delay: .5s;
}
#main .company .header > i:nth-child(6) {
    transition-delay: .6s;
}
#main .company .header > i:nth-child(7) {
    transition-delay: .7s;
}
  
#main .company > .body > .photo {
    position: absolute;
    top: 50px;
    left: -180px;
}
@media (max-width:1280px) {
    #main .company > .body > .photo {
        max-width: 49%;
        left: -15px;
    }
}
@media (max-width:1200px) {
    #main .company {
        padding: 100px 0 150px;
    }
    #main .company .header {
        font-size: 15vw;
        padding-right: .2em;
    }
}
@media (max-width:768px) {
    #main .company {
        padding: 50px 0;
    }
    #main .company .header {
        font-size: 10vw;
        text-align: left;
        padding-right: .2em;
    }
    #main .company .photo {
        display: none;
    }
    #main .company .content {
        width: 100% !important;
    }
}
#main .company > .body > .content {
    position: relative;
    width: 50%;
    margin-left: auto;
}
#main .company > .body > .content p {
    text-shadow: 0 0 2px rgba(255,255,255,1);
}
#main .company > .body > .content .btn-1 {
    background-color: transparent;
    margin-left: auto;
}
#main .company > .body > .content .title {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1em;
}

#main .page-footer-nav {
    margin-top: -10%;
    position: relative;
    z-index: 2;
}
@media (max-width:1200px) {
    #main .page-footer-nav {
        margin-top: 0;
    }
}

#main .recruit {
    position: relative;
    padding: 0;
    background: url(../images/index/recruit-visual.jpg?202509) center 0 /cover no-repeat;
    background-attachment: fixed;
}
#main .recruit .visual {
    min-height: 300vh;
}
#main .recruit .visual {
}
#main .recruit .visual .figure {
    position: sticky;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100svh;
}
#main .recruit .visual .figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#main .recruit .visual .box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    margin-top: 100vh;
}
#main .recruit .visual .box .title-1 {
    margin-bottom: 0;
}
#main .recruit .visual .box .title-1,
#main .recruit .visual .box .title-1 span {
    text-align: center;
    color: #fff;
}
#main .recruit .contents {
    overflow: hidden;
    background: url(../images/index/recruit-bg.png) center 20% /100% auto no-repeat #fff;
}
#main .recruit .contents > div {
    max-width: 100%;
    width: 1250px;
    padding: 110px 15px;
    margin-left: auto;
    margin-right: auto;
}
#main .recruit .contents .header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
#main .recruit .contents .header .col-1 {
    width: calc(100% - 270px);
    padding-right: 2em;
}
#main .recruit .contents .header .btn {
    width: 270px;
}
#main .recruit .contents .header .title-3 {
    font-size: 5rem;
    line-height: 1.33;
    color: #000;
    text-align: left;
    padding-bottom: 0;
    margin-left: 0;
}
#main .recruit .contents .recruit-swiper {
    margin-top: 80px;
}
#main .recruit .contents .recruit-swiper .swiper-slide {
    padding: 0 10px;
}
#main .recruit .contents .recruit-swiper .swiper-slide.n1 {
    margin-top: 5%;
}
#main .recruit .contents .recruit-swiper .swiper-slide.n2 {
    margin-top: -5%;
}
.swiper-wrapper {
    transition-timing-function: linear;
}
@media (max-width:768px) {
    #main .recruit .contents > div {
        padding: 50px 15px;
    }
    #main .recruit .contents .header {
        display: block;
    }
    #main .recruit .contents .header .col-1 {
        width: 100%;
        padding-right: 0;
    }
    #main .recruit .contents .header .col-1 .title-3 {
        font-size: 4rem;
    }
    #main .recruit .contents .header .btn {
        width: 100%;
        margin-top: 1.5em;
    }
}
@media (max-width:540px) {
    #main .recruit .contents .header .col-1 .title-3 {
        font-size: 3rem;
    }
}
@media (max-width:410px) {
    #main .recruit .contents .header .col-1 .title-3 {
        font-size: 2.4rem;
    }
    #main .recruit .contents .recruit-swiper .swiper-slide {
        padding: 0 5px;
    }
}
@media (orientation:portrait) and (max-width:960px) {
    #main .recruit {
        background: none;
    }
    #main .recruit .visual {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        aspect-ratio: 16 / 9;
        background: url(../images/index/recruit-visual.jpg) center center /cover no-repeat;
    }
    #main .recruit .figure {
        display: none;
    }
    #main .recruit .visual .box {
        height: auto;
        margin-top: 0;
    }
}
@media (max-width:768px) {
    #main .recruit .visual {
        aspect-ratio: 4 / 3;
    }
}

@media (min-width:1081px) {
    #header .logo img[src*="logo-1.png"] {
        display: none !important;
    }
}


#main .recruit .list {
    display: flex;
    flex-wrap: wrap;
}
#main .recruit .list .item {
    width: 47.5%;
    display: flex;
    align-items: center;
    padding: 1em 0;
    background: url(../images/common/icon-arrow.png) right 5px center no-repeat;
    border-top: 1px solid #c1cbd5;
    border-bottom: 1px solid #c1cbd5;
    margin-top: -1px;
    margin-left: 5%;
    transition: .2s;
}
@media (max-width:410px) {
    #main .recruit .list .item {
        background-size: 40px auto;
    }
}
#main .recruit .list .item:hover {
    background-position: right 0 center;
}
#main .recruit .list .item:nth-child(2n+1) {
    margin-left: 0;
}
#main .recruit .list .item img {
    width: 100px;
}
#main .recruit .list .item span {
    width: calc(100% - 100px);
    font-size: 1.6rem;
    color: var(--c-blue2);
    padding-left: 1em;
    margin-bottom: 0;
}
#main .recruit .list .item span:before {
    font-size: 1.875em;
    color: #000;
    margin-bottom: 0;
}
@media (max-width:1024px) {
    #main .recruit .list .item {
        width: 100%;
        margin: 0;
        border-top: 0;
    }
    #main .recruit .list .item:nth-child(1) {
        display: none;
    }
    #main .recruit .list .item:nth-child(2) {
        border-top: 1px solid #c1cbd5;
    }
}
@media (max-width:768px) {
    #main .recruit .list .item img {
        width: 70px;
    }
    #main .recruit .list .item span {
        width: calc(100% - 70px);
    }
}
@media (max-width:410px) {
    #main .recruit .list .item img {
        width: 50px;
    }
    #main .recruit .list .item span {
        width: calc(100% - 50px);
    }
    #main .recruit .list .item span:before {
        font-size: 1.6em;
    }
}
