* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #333;
}

a {
    text-decoration: none;
    color: black;
}

img {
    vertical-align: top;
}

ul {
    list-style: none;
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.header_wrp {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0);
    transition: 1s;
}

header.header_bg {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 10px #888888;
}

header img {
    height: 50px;
}

nav ul{
    display: flex;
    align-items: center;
}

nav ul li {
    padding: 0 20px;
    position: relative;
}

nav ul li a {
    font-size: 20px;
    display: block;
}

nav ul li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background:#000;
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
}

nav ul li:hover::after {
    transform: scale(1, 1);
}

.sp_menu {
    display: none;
}

.mv {
    width: 100%;
    height: 100dvh;
    background: linear-gradient(140deg, rgba(14, 244, 255, 0.8), rgba(116, 52, 212, 0.8) 60%);
    background-size: 200% 200%;
    animation: bgcolor 10s linear infinite;
    overflow: hidden;
    position: relative;
}

@keyframes bgcolor {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.recruit_logo {
    position: absolute;
    top: 40%;
}

.recruit_logo img{
    animation: textanime 200s linear infinite;
}

.recruit_logo_sp {
    display: none;
}

@keyframes textanime {
    0% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.mv p {
    font-size: 5rem;
    color: rgb(255, 255, 255, 0.8);
    text-align: right;
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-weight: bold;
}

.contact_button {
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 80%);
    position: fixed;
    top: 150px;
    right: -61px;
    background-color: #fff600;
    width: 60px;
    height: 250px;
    z-index: 10;
    transition: 0.3s;
}

.contact_button p {
    width: 80%;
    height: 100%;
    writing-mode: vertical-rl;
    text-align: center;
    font-size: 24px;
    line-height: 36px;
}

.contact_button.putOut{
    right: -1px;
}

section {
    margin-top: 150px;
}

.prologue {
    text-align: center;
    width: 80%;
    margin: 150px auto 0;
}

.prologue h2 {
    display: block;
    width: fit-content;
    font-size: 30px;
    font-weight: bold;
    position: relative;
    margin: 0 auto;

}

.prologue h2::after {
    content: url(img/kasokuline-img.png);
    position: absolute;
    top: 0;
    left: 20%;
    z-index: -1;
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: left top;/*左上基点*/
    opacity: 0;
}

.prologue h2.show::after {
    transform: scale(1, 1);
    opacity: 1;
}

.prologue p {
    line-height: 2;
    margin-top: 90px;
    font-size: 24px;
    font-weight: bold;
}

.message {
    position: relative;
}

.message h2 {
    padding-left: 5%;
    font-size: 60px;
    position: absolute;
    top: -45px;
    left: 0;
    z-index: 5;
    text-shadow: #fff 1px 0 10px;
}

.message_box {
    display: flex;
    position: relative;
}

.message_img {
    width: 55%;
    height: 552px;

}

.message_img img {
    width: 100%;
    height: 552px;
    object-fit: cover;
    object-position: 100% 100%;
}

.message_bg {
    width: 60%;
    height: 550px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
    background: linear-gradient(140deg, rgba(116, 52, 212),rgb(124, 177, 233) 60%);
    position: absolute;
    right: 0;
    z-index: 2;
    padding: 100px 0 0 80px;
}

.message_text {
    color: white;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    line-height: 50px;
    padding: 0 0 60px;
}


.message_text:nth-child(4){
    text-align: right;
    padding-right: 30px;
}

@keyframes showText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.message_text.show span{
    animation: showText 3s forwards;
}

.slide-in {
	overflow: hidden;
    display: inline-block;
    position: relative;
    left: 50%;
}

.slide-in_inner {
	display: inline-block;
    font-size: 50px;
    font-weight: bold;
    position: relative;
    line-height: 1;
    margin-bottom: 220px;
    text-align: center;
}

.leftAnime {
    opacity: 0;
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
	    transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
	transform: translateX(-50%);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}


.slide-in_inner::before {
    content: attr(data-id)"";
    font-size: 24px;
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    font-weight: normal;
}

.works_circle {
    width: 50%;
    height: auto;
    margin: -100px auto 0;
}

.works_circle img {
    width: 100%;
    height: auto;
}

.personal{
    background-image: url(img/personal_bg.png);
    background-size: 102% 102%;
    padding-bottom: 60px;
}

.personal_area {
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.personal_box {
    width: 390px;
    background-color: #fff;
    position: relative;
}

.personal_box:nth-child(1)::before{
    content: "1";
    position: absolute;
    top: -40px;
    left: 10px;
    font-size: 60px;
    font-weight: bold;
    -webkit-text-stroke: 2px #fff;
}

.personal_box:nth-child(2)::before{
    content: "2";
    position: absolute;
    top: -40px;
    left: 10px;
    font-size: 60px;
    font-weight: bold;
    -webkit-text-stroke: 2px #fff;
}

.personal_box:nth-child(3)::before{
    content: "3";
    position: absolute;
    top: -40px;
    left: 10px;
    font-size: 60px;
    font-weight: bold;
    -webkit-text-stroke: 2px #fff;
}

.personal_img {
    width: 230px;
    height: 230px;
    background-color: #fff;
    margin: 30px auto 20px;
}

.personal_title {
    max-width: 350px;
    height: 50px;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    background-color: #fbff20;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    line-height: 50px;
}

.personal_text {
    padding: 50px 60px 50px;
}

.fadeInTarget {
    opacity: 0;
    transform: translateY(50px);
}

.fadeInTarget.fadein {
    opacity: 1;
    transform: translateY(0px);
    transition: 1s;
}

.merit {
    margin-bottom: 170px;
}

.merit h2 {
    margin-bottom: 150px;
}

.merit_area {
    width: 90%;
    margin: 0 auto;
    display: grid;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    row-gap: 30px;
}

.merit_circle {
    width: 235px;
    height: 235px;
    border-radius: 50%;
    box-shadow: 2px 2px 10px #000;
    background-color: #379acd;
    margin: 0 auto;
}

.merit_circle:nth-child(even){
    background-color: #1b27c4;
}

.merit_circle p {
    width: 235px;
    height: 235px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 24px;
}

.recruit h2 {
    margin-bottom: 90px;
}

.marker {
    display: block;
    width: fit-content;
    margin-bottom: 115px;
    position: relative;
    font-size: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 120px;
}

.marker:first-of-type{
    margin-top: 0;
}

.marker::before {
    content: "";
    width: 100%;
    height: 30px;
    background-color: #fff952;
    z-index: -1;
    position: absolute;
    bottom: -7px;
}

.recruit_area {
    display: grid;
    gap: 45px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.recruit_box {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border: 1px solid #7db2e9;
    position: relative;
}

.recruit_img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
}

.recruit_img img {
    width: 100%;
    height: auto;
}

.recruit_text h3 {
    background-image: url(img/recruit_img1.png);
    line-height: 130px;
    color: #fff;
    padding-top: 20px;
}

.recruit_box:nth-of-type(3) .recruit_text h3 {
    background-image: url(img/recruit_img2.png);
}

.recruit_box:nth-of-type(5) .recruit_text h3 {
    background-image: url(img/recruit_img3.png);
}

.recruit_text p {
    text-align: center;
    height: 150px;
    color: #333333;
    padding: 10% 20px 0;
}

.recruittext_sp {
    display: none;
}

.next {
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
    border-left: 60px solid #52c4ff;
    border-right: 0;
    margin: 0 auto;
}

.workstyle_area {
    display: flex;
    justify-content: space-evenly;
    overflow: hidden;
    padding: 10px 0 15px;
}

.workstyle_box {
    width: 50%;
}

.workstyle_text {
    background-color: #fff;
    border: 1px solid #000;
    margin-bottom: 50px;
    position: relative;
    height: 100px;
    filter: drop-shadow(15px 15px #8353d7);
    transition: 1s;
    transform: translateX(calc(-50vw - 50%));
}

.workstyle_text.show {
    transform: translateX(0);
}

.workstyle_text2 {
    background-color: #fff;
    border: 1px solid #000;
    margin-bottom: 50px;
    position: relative;
    height: 100px;
    filter: drop-shadow(15px 15px #7db2e9);
    transition: 1s;
    transform: translateX(calc(50vw + 50%));
}

.workstyle_text2.show {
    transform: translateX(0);
}

.workstyle_text:last-child{
    margin-bottom: 0;
}

.workstyle_text h3,.workstyle_text2 h3 {
    position: absolute;
    top: -15px;
    left: 5px;
    background-color: #fff;
}

.workstyle_text p,.workstyle_text2 p{
    font-size: 20px;
    text-align: center;
    line-height: 100px;
    
}

.workstyle_img {
    max-width: 100%;
    height: auto;
}

.workstyle_img img {
    width: 100%;
    height: auto;
}

.entry_button {
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    background: linear-gradient(90deg,rgb(120, 248, 255), rgb(168, 134, 219) 60%);
    width: 90%;
    height: 100px;
    margin: 180px auto;
}

.entry_button p {
    font-size: 48px;
    color: #fff;
    text-align: center;
    line-height: 100px;
    font-weight: bold;
}

.button_shadow {
    filter: drop-shadow(3px 3px 7px rgb(0, 0, 0,0.5));
}

.qa {
    margin-bottom: 120px;
}

.qa h2 {
    margin-bottom: 110px;
    padding: 0 50px;
}

.qa_box {
    width: 80%;
    margin: 0 auto;
}

.qa_one {
    margin-bottom: 20px;
}

.qa_one a, .qa_one ul.qa_open {
    padding: 25px 0 25px 30px;
}

.qa_one a {
    display: block;
    background-color: #f2f2f2;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    border-left: 10px solid #7434d4;
}

.qa_one a span {
    border-top: 5px solid #919191;
    border-left: 5px solid #919191;
    width: 18px;
    height: 18px;
    transform: rotate(45deg);
    position: absolute;
    top: 45%;
    right: 30px;
    transition: .5s;
    transform-origin:center center;
}

.qa_one a.qa_open span {
    transform: rotate(225deg);
    top: 40%;
}

.qa_one ul {
    opacity: 0;
    transform: translateY(-20%);
    transition: .5s;
    padding-left: 30px;
}

.qa_one ul.qa_open {
    display: block;
    font-size: initial;
    transform: translateY(0);
    opacity: 1;
}



.company {
    background-color: #f2f2f2;
    padding-top: 60px;
    
}

.company h2 {
    margin-bottom: 150px;
}

.company_area {
    width: 85%;
    margin: 0 auto;
    background-image: url(img/company_img.png);
    background-repeat: no-repeat;
    background-position: right , 50%;
    padding-bottom: 150px;
}

.company_area table {
    width: 50%;
}

.company_area th, .company_area td {
    padding: 15px 0;
}

.company_area th {
    font-weight: normal;
    text-align-last: justify;
    width: 30%;
    padding-right: 30px;
    vertical-align: top;
}

.company_area td {
    width: 70%;
}

footer {
    background-color: #7434d4;
    padding-bottom: 30px;
}

.footermenu_pc {
    display: flex;
    justify-content: center;
}

.footermenu_pc li {
    padding: 40px 40px 0 0;
}

.footermenu_pc li:last-child{
    padding-right: 0;
}

.footermenu_pc a {
    color: #fff;
}

.footermenu_sp {
    display: none;
}

small {
    text-align: center;
    padding-top: 50px;
    color: #fff;
    display: block;
}

.entry_link_sp {
    display: none;
}

@media (max-width: 1000px) {

    .mv p{
        font-size: 3rem;
    }
    
    nav {
        width: 50%;
        height: 100vh;
        position: fixed;
        right: -100%;
        top: 0;
        background-color: rgba(123, 56, 225, 0.8);
        padding-top: 70px;
        transition: .5s;
    }

    nav.active {
        right: 0;
    }

    nav ul{
        display: block;
        text-align: center;
        
    }

    nav ul li {
        padding: 15px 0;
       transition: .5s;
    }

    nav ul li a {
        color: #fff;
        font-size: 24px;
    }

    nav ul li::after {
        background: #fff;
        bottom: 5px;
    }

    nav ul li:last-child::after {
        display: none;
     }

    .entry_link_sp {
        display: block;
        padding: 0;
    }

    .entry_link_sp .entry_button {
        margin: 10px auto;
        height: 70px;
    }

    .entry_link_sp .entry_button p {
        line-height: 40px;
        padding: 15px 0;
        font-size: 24px;
    }

    .entry_link_sp .entry_button p br {
        display: none;
    }

    .sp_menu {
        display: block;
        width: 50px;
        height: 50px;
        position: relative;
    }

    .sp_menu span {
        width: 30px;
        height: 2px;
        background-color: #345391;
        position: absolute;
        left: 10px;
        transition: .5s;
    }

    .sp_menu span:nth-child(1) {
        top: 13px;
    }

    .sp_menu span:nth-child(2) {
        top: 24px;
    }

    .sp_menu span:nth-child(3) {
        top: 36px;
    }

    .sp_menu.active span {
        background-color: #fff;
    }

    .sp_menu.active span:nth-child(1) {
        top: 25px;
        transform: rotate(45deg);
    }

    .sp_menu.active span:nth-child(2) {
        top: 24px;
        transform: translateX(500%);
        opacity: 0;
    }

    .sp_menu.active span:nth-child(3) {
        top: 25px;
        transform: rotate(-45deg);
    }

    .message_bg {
        padding: 30px 0 0 100px;
    }

    .message_text {
        font-size: 16px;
        line-height: 40px;
        text-align: left;
    }
    
    .personal_img {
        width: 200px;
        height: 200px;
    }

    .personal_title {
        font-size: 16px;
    }

    .personal_text {
        padding: 50px 20px;
    }

    .merit_circle {
        width: 150px;
        height: 150px;
    }

    .merit_circle p {
        width: 150px;
        height: 150px;
        font-size: 20px;
    }

    .merit_area {
        width: 100%;
    }

    .recruit_area {
        gap: 10px;
    }

    .recruit_box {
        width: 200px;
        height: 300px;
    }

    .company_area {
        background-size: 50%;
        background-position: right 75%;
    }
}

@media (max-width: 600px) {

    .mv {
        width: 100%;
        height: 100dvh;
    }

    .recruit_logo {
        display: none;
    }

    .recruit_logo_sp {
        display: inline;
        position: absolute;
        transform: rotate(45deg);
        bottom: -1050px;
        left: -680px;
    }

    .recruit_logo_sp img{
        animation: textanime 200s linear infinite;
    }

    .mv p {
        font-size: 2rem;
        right: auto;
        left: 10px;
        bottom: 100px;
    }

    section {
        margin-top: 80px;
    }

    .prologue {
        width: 100%;
        margin: 40px auto 50px;
    }

    .prologue h2 {
        font-size: 26px;
        text-align: center;
    }

    .prologue p {
        font-size: 16px;
        font-weight: normal;
        margin-top: 40px;
    }
    
    .message_img {
        width: 100%;
    }
    
    .message_img img {
        width: 100%;
        object-fit: cover;
        object-position: 50% 100%;
    }
    
    .message_bg {
        width: 100%;
        clip-path: none;
        padding: 70px 20px 0;
        text-align: center;
        background: linear-gradient(140deg, rgba(116, 52, 212,0.7),rgb(124, 177, 233,0.7) 60%);
    }

    .message_text {
        text-align: center;
    }

    .fadeInTarget span {
        white-space: nowrap;
        text-align: center;
        display: block;
    }

    .works_circle {
        width: 90%;
        margin-top: -30px;
    }

    .slide-in_inner {
        margin-bottom: 70px;
        font-size: 30px;
    }

    .slide-in_inner::before {
        font-size: 16px;
        bottom: -20px;
    }

    .personal{
        background-image: url(img/personal_bg_sp.png);
        background-size: 100% 100%;
    }

    .personal_area {
        flex-direction: column;
        align-items: center;
    }

    .personal_box {
        width: 350px;
    }

    .merit h2 {
        padding: 0;
    }

    .merit_area {
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        row-gap: 30px;
    }

    .merit_circle {
        width: 150px;
        height: 150px;
    }

    .merit_circle p{
        width: 150px;
        height: 150px;
        font-size: 16px;
    }

    .marker {
        font-size: 18px;
    }

    .marker::before {
        height: 15px;
        bottom: -3px;
    }

    .recruittext_pc:nth-child(2) {
        margin-bottom: 0;
        margin-top: 70px;
    }

    .recruittext_pc {
        display: none;
    }

    .recruittext_sp {
        display: block;
        margin-top: 20px;
        margin-bottom: 0;
        line-height: 1rem;
    }

    .recruittext_sp.marker::before {
        bottom: -10px;
    }

    .recruit_area {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 50px;
        place-items: center;
    }

    .recruit_box {
        width: 300px;
        height: 210px;
        margin-top: 30px;
    }

    .recruit_box:first-child {
        margin-top: 0;
    }

    .recruit_text h3 {
        line-height: 1;
        height: 110px;
        padding-top: 70px; 
    }

    .recruit_text p {
        padding-top: 5%;
    }

    .next {
        width: 0;
        height: 0;
        border-style: solid;
        border-right: 50px solid transparent;
        border-left: 50px solid transparent;
        border-top: 60px solid #52c4ff;
        border-bottom: 0;
      }

    .workstyle_text {
        filter: drop-shadow(5px 15px #8353d7);
    }
    
    .workstyle_text2 {
        filter: drop-shadow(5px 15px #7db2e9);
    }

    .workstyle_area {
        margin: 40px 5% 70px;
        flex-direction: column;
        align-items: end;
    }

    .workstyle_area:nth-of-type(3) {
        align-items: start;
        flex-direction: column-reverse;
    }

    .workstyle_box {
        width: 90%;
        margin: 0 auto;
    }

    .workstyle_text p, .workstyle_text2 p {
        font-size: 16px;
    }

    .workstyle_img {
        width: 50%;
        margin-top: 50px;
    }

    .workstyle_area:nth-of-type(3) .workstyle_img {
        margin-top: 0;
    }

    .workstyle_text::before {
        content: "";
        position: absolute;
        bottom: -23px;
        right: 20%;
        margin-left: -15px;
        border: 12px solid transparent;
        border-top: 13px solid #FFF;
        z-index: 2;
    }

    .workstyle_text::after {
        content: "";
        position: absolute;
        bottom: -25px;
        right: 20%;
        margin-left: -17px;
        border: 12px solid transparent;
        border-top: 12px solid #000;
        z-index: 1;
    }

    .workstyle_text2::before {
        content: "";
        position: absolute;
        bottom: -23px;
        left: 20%;
        margin-left: -15px;
        border: 12px solid transparent;
        border-top: 13px solid #FFF;
        z-index: 2;
    }

    .workstyle_text2::after {
        content: "";
        position: absolute;
        bottom: -25px;
        left: 20.5%;
        margin-left: -17px;
        border: 12px solid transparent;
        border-top: 12px solid #000;
        z-index: 1;
    }
    
    .entry_button p{
        font-size: 20px;
    }

    .company_area table {
        width: 100%;
    }

    .qa {
        margin-top: 70px;
    }

    .qa_one a, .qa_one ul.qa_open {
        font-size: initial;
        padding: 25px 10px 25px 10px;
    }

    .qa_one a {
        padding-right: 60px;
    }

    .qa_one ul {
        padding-left: 10px;
    }

    .entry_button {
        margin: 50px auto;
    }

    .company_area {
        background-image: none;
    }

    .company h2 {
        margin-bottom: 70px;
    }

    .company_area th {
        padding-right: 10px;
    }

    .contact_button {
        clip-path: none;
        top: auto;
        bottom: -60px;
        left: 0;
        width: 250px;
        height: 60px;
        border-radius: 0% 30px 0% 0%;
    }
    
    .contact_button p {
        width: 80%;
        height: 100%;
        margin: 0 auto;
        writing-mode: initial;
        text-align: center;
        font-size: 24px;
        line-height: 60px;
    }
    
    .contact_button.putOut{
        bottom: -1px;
    }

    footer {
        padding-top: 15px;
    }

    .footermenu_pc {
        display: none;
    }

    .footermenu_sp {
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
    }

    .footermenu_sp div {
        width: calc(100% / 3);
    }

    .footermenu_sp li {
        text-align: center;
        padding: 15px 0;
    }

    .footermenu_sp a {
        font-size: 14px;
        color: #fff;
    }

    .entry_link_sp .entry_button p {
        line-height: 1;
        padding: 15px 0;
        font-size: 18px;
    }

    .entry_link_sp .entry_button p br {
        display: inline;
    }
}