body {
    font-size: 18px;
}

html, body {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.infobox {
    width: 150px;
    background: #5badef;
    padding: 12px;
    text-align: center;
    
}

.infobox div {
    color: white;
    font-size: 20px;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 28px;
}

.font {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #1e57af;
}

a:hover {
    opacity: 0.7;
}

.menu {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    background: #1e57afcc;
    width: 400px;
    height: 700px;
    padding: 60px 20px 20px 20px;
    z-index: 999;
}

.menu p {
    color: white;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    border-bottom: 1px white solid;
    line-height: 50px;
}

.s-active {
    display: block;
}

/*メイン*/

.nav {
    width: 100vw;
    position: relative;
}



.hero {
    background: url('../images/top/top-bg.jpg') no-repeat center / cover;
    width: 100vw;
    height: 56vw;
    min-height: 667px;
    position: relative;
}

.company-hero {
    background: url('../images/company/hero.jpg') no-repeat top center / cover;
    width: 100vw;
    height: 56vw;
    min-height: 667px;
    position: relative;
}

.staff-hero {
    background: url('../images/staff/hero.jpg') no-repeat top center / cover;
    width: 100vw;
    height: 56vw;
    min-height: 667px;
    position: relative;
}

.staffworks-hero {
    background: url('../images/staffworks/hero.jpg') no-repeat top center / cover;
    width: 100vw;
    height: 56vw;
    min-height: 667px;
    position: relative;
}

.training-hero {
    background: url('../images/training/hero.jpg') no-repeat top center / cover;
    width: 100vw;
    height: 56vw;
    min-height: 667px;
    position: relative;
}

.contact-hero {
    background: url('../images/contact/hero.jpg') no-repeat top center / cover;
    width: 100vw;
    height: 56vw;
    min-height: 667px;
    position: relative;
}

.news {
    font-size: 32px;
}

.tra-slide {
    width: 33%;
}

.tra-dis {
    width: 60%;
}

.privacy-hero {
    background: #5aaced;
    width: 100vw;
}

.hero-inner {
    margin: 0 auto;
    padding: 0 50px;
    max-width: 1000px;
}

.works-ttl {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: white;
    font-size: 80px;
    line-height: 120px;
    padding-top: 100px;
}

.privacy-ttl {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: white;
    font-size: 80px;
    line-height: 120px;
    padding-top: 100px;
}

.privacy-sub-ttl {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #1e57af;
    font-size: 48px;
}

.company-ttl {
    font-size: 42px;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #1e57af;
    line-height: 50px;
    margin-bottom: 50px;
}

.company-ttl2 {
    font-size: 32px;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #1e57af;
}

.logo01 {
    margin-top: 10px; 
    width: 125px;
    height: 60px;
}

.logo02 {
    max-width: 350px;
    display: block;
}

.logo03 {
    max-width: 310px;
    display: block;
}

.inner {
    margin: 0 auto;
    padding: 0 50px;
    max-width: 1000px;
}

.form-inner {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 50px;
}

.must-label {
    display: inline-block;
    color: white;
    background: #6dbb79;
    padding: 10px 15px;
    margin-right: 10px;
    margin-bottom: 30px;
}

.r-label {
    display: inline-block;
    color: white;
    background: #5aaced;
    padding: 10px 20px;
    width: 300px;
    text-align: center;
    margin-bottom: 30px;
}

.r-label2 {
    display: block;
    color: white;
    background: #5aaced;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.ttl {
    font-size: 48px;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #1e57af;
}

.ttp {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #1e57af;
    font-size: 18px;
    text-align: left;
}

.sp-ttp {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #1e57af;
    font-size: 20px;
    line-height: 58px;
    text-align: left;
}

.staff-ttp {
    line-height: 45px;
    font-size: 16px;
    font-weight: 700;
}

.sub-hero {
    background: url('../images/top/poricy.png') no-repeat center / cover;
    width: 100vw;
    height: 56vw;
    position: relative;
}

.company-sub-hero {
    background: url('../images/business-BG.mp4') no-repeat center / cover;
    width: 100vw;
    height: 1125px;
    position: relative;
}

.company-video {
    width: 100vw;
    height: 1125px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.company-video video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}

.company-sub-hero-ttl {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #1e57af;
    font-size: 60px;
    line-height: 90px;
}

.company-sub-hero-ttl2 {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #1e57af;
    font-size: 30px;
    line-height: 58px;
}

.title {
    position: relative;
    top: 40px;
}

.title02 {
    display: none;
    width: 100%;
}

.pass {
    position: relative;
    right: 40px;
}

.map {
    position: relative;
    bottom: 110px;
    left: 100px;
}

.posi01 {
    text-align: left;
    margin-top: 85px;
}

.posi02 {
    text-align: center;
    margin-top: 85px;
}

.poricy-p {
    font-size: 48px;
    font-family: "hiragino-mincho-pron", sans-serif;
    font-weight: 600;
    font-style: normal;
    line-height: 50px;
    color: #5badef;
}

.information {
    background: linear-gradient(to bottom right, #ffffff, #f5fdf8);
}

.c-card {
    width: 283px;
    text-align: center;
}

.c-title {
    font-size: 60px;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #1e57af;
    line-height: 60px;
}

.c-subtitle {
    font-size: 30px;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #1e57af;
}

.staff-card {
    width: 290px;
    padding: 9px;
    margin: 30px 0;
}

.s-name {
    font-size: 24px;
    text-align: center;
    font-weight: 900;
    line-height: 40px;
}

.s-dis {
    font-size: 18px;
    padding: 10px;
    font-weight: 700;
    line-height: 35px;
}

.s-slide-out {
    width: 100%;
    height: 500px;
    position: relative;
    margin-bottom: 30px;
}

.s-slide-out-sp {
    width: 100%;
    height: 500px;
    position: relative;
    margin-bottom: 30px;
    display: none;
}

.s-slide01 {
    position: absolute;
    left: 0;
}

.s-slide02 {
    position: absolute;
    right: 0; 
}

.s-slidesp {
    display: none;
    width: 100%;
}

.dropshadow {
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.c-card-ttl {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #1e57af;
    font-size: 18px;
    background: white;
    width: 90%;
    margin: 0 auto;
    z-index: 100;
    position: relative;
    bottom: 25px;
}

.con-ttl {
    font-size: 48px;
}

.worktrue {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.workrevers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.workrevers-sp {
    display: none
}

.work-b {
    font-size: 30px;
}

.work-n {
    font-size: 18px;
    font-weight: 700;
}

.sub-hero2 {
    background: url('../images/top/jsk-smileshipbg.png') no-repeat center / cover;
    width: 100vw;
    height: 70vw;
    min-height: 1100px;
    position: relative;
}

.ttl2 {
    text-align: center;
    font-size: 32px;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #1e57af;
}

.smiledic {
    width: 590px;
    margin: 0 auto;
    margin-top: 40px;
}

.smile01 {
    position: absolute;
    top: 0;
    left: 0px;
}

.smile02 {
    position: absolute;
    top: 45px;
    right: 0px;
	}
	
.smile03 {
    position: absolute;
    top: 80px;
    left: 0px;
}

.c-swt-out {
    text-align: center;
    position: relative;
    top: 500px;
}

.c-swt-out2 {
    text-align: center;
    margin: 100px 0;
}

.c-swt {
    background: #6dbd79;
    padding: 15px 30px;
    color: white;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
}

.c-swt2 {
    background: #6dbd79;
    padding: 15px 30px;
    color: white;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
}

.c-swt:hover {
    opacity: 0.7;
}

.c-swt2:hover {
    opacity: 0.7;
}

.imgwindow{
    width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.staffinterview-p {
    margin-left: 40px;
    font-size: 28px;
}

.related {
    margin-left: 40px;
}

.related01 {
    font-size: 28px;
}

.related02 {
    font-size: 42px;
    font-weight: 900;
    line-height: 42px;
}

.bunner-space {
    margin: 0 auto;
    margin-top: 100px;
}

.contacts {
    margin: 50px 0;
    color: white;
}

.smileship-p {
    font-size: 32px;
    font-family: 'YuMincho','Yu Mincho',serif;
    color: #1e57af;
    line-height: 60px;
}

.smileship-p2 {
    display: none;
    font-size: 32px;
    font-family: 'YuMincho','Yu Mincho',serif;
    color: #1e57af;
    line-height: 50px;
}

.company-prof {
    margin-top: 100px;
    width: 100%;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    background: #deeffc;
}

.company-prof th {
    background: #deeffc;
    color: #2f51b2;
    padding: 20px;
    border: 1px white solid;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.company-prof th span {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
}

.company-prof td {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    background: #deeffc;
    color: #2f51b2;
    padding: 20px;
    border: 1px white solid;
}

.company-prof2 {
    display: none;
    margin-top: 100px;
    width: 100%;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 900;
    font-style: normal;
    background: #deeffc;
}

.company-prof2 th {
    background: #deeffc;
    color: #2f51b2;
    padding: 20px;
    border: 1px white solid;
    height: 100%;
}

.company-prof2 th span {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
}

.company-prof2 td {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    background: #deeffc;
    color: #2f51b2;
    padding: 20px;
    border: 1px white solid;
}

.sub-footer {
    background: #5badef;
    width: 100vw;
    height: 630px;
    position: relative;
}

.con-swt {
    width: 660px;
    background: white;
    z-index: 99;
    padding: 10px;
    border-radius: 10px;
    margin: 0 auto; 
    text-align: center; 
    position: relative; 
    top: 0;
}

.con-swt-left {
    width: 155px;
    padding: 0 40px;
}

.con-swt-right {
    width: 505px;
    line-height: 120px;
}

.con-swt-small {
    width: 300px;
    height: 60px;
    background: white;
    display: flex;
    padding: 0;
    border-radius: 10px;
    margin: 50px auto;
    color: #5badef;
}

.con-swt:hover {
    opacity: 0.7;
}

.con-swt-small:hover {
    opacity: 0.7;
}

.con-swt-p {
    color: #5badef;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 36px;
}

.con-swt-small-p {
    color: #5badef;
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 58px;
}

.footer {
    background: #1e57af;
    width: 100vw;
}

.fooer-inner {
    width: 650px;
}

.footer-logo {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 42px;
    color: white;
    padding-top: 50px;
    margin-bottom: 50px;
}

.footer-jump {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    margin-top: 50px;
    padding-bottom: 50px;
    width: 650px;
}

.footer-jump p {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    color: white;
}

.footer-jump a {
    font-family: ryo-gothic-plusn, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    color: white;
}

.footcre {
    width: 650px;
    color: white;
    margin: 0 auto;
    padding-bottom: 50px;
}

/*アニメーション*/

.fadeInTrigger {
    opacity: 0;
}

.fadeIn {
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInRightTrigger {
    opacity: 0;
}

.fadeInRight {
    animation-name: fadeRightAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes fadeRightAnime {
    from {
        opacity: 0;
        transform: translateX(500px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInLeftTrigger {
    opacity: 0;
}

.fadeInLeft {
    animation-name: fadeLeftAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes fadeLeftAnime {
    from {
        opacity: 0;
        transform: translateX(-500px);
    }
    to {
        opacity: 1;
        transform: translateX(50px);
    }
}

.fadeInRightUpTrigger {
    opacity: 0;
}

.fadeInRightUp {
    animation-name: fadeRightUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes fadeRightUpAnime {
    from {
        opacity: 0;
        transform: translateX(200px)translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateX(-50px)translateY(80px);
    }
}
	

	

.fadeInLeftUpTrigger {
    opacity: 0;
}

.fadeInLeftUp {
    animation-name: fadeLeftUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes fadeLeftUpAnime {
    from {
        opacity: 0;
        transform: translateX(-200px)translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateX(50px)translateY(30px);
    }
}
	
.fadeInCenterUpTrigger {
    opacity: 0;
}
.fadeInCenterUp {
    animation-name: fadeCenterUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
	}
	
@keyframes fadeCenterUpAnime {
    from {
        opacity: 0;
        transform: translateX(200px)translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateX(20vw)translateY(-130px);
    }
}	
@media(max-width: 480px) {
    .r-label {
        width: 200px;
    }

    .news {
        font-size: 21px;
    }

    .company-hero {
        background: url('../images/company/hero.png') no-repeat -90px top / cover;
    }

    .company-sub-hero {
        background: url('../images/company/details-bg.png') no-repeat center / cover;
        width: 100vw;
        height: 600px;
        position: relative;
    }

    .company-sub-hero-ttl {
        font-size: 40px;
        line-height: 45px;
    }
    
    .company-sub-hero-ttl2 {
        font-size: 21px;
        line-height: 45px;
    }

    .company-ttl {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 50px;
    }
    
    .company-ttl2 {
        font-size: 16px;
    }

    .title {
        display: none;
    }
    
    .title02 {
        display: block;
        width: 80%;
        margin:0  auto;
    }
    
    .pass {
        position: static;
        right: 40px;
        width: 80vw;
        margin: 0 auto;
        margin-top: -30px;
        margin-bottom: 10px;
    }
    
    .map {
        position: static;
        width: 80vw;
        margin: 0 auto;
    }

    .posi01 {
        text-align: center;
        margin-top: 0;
        margin-bottom: 20px;
    }
    
    .posi02 {
        text-align: center;
        margin-top: 30px;
    }

    .c-swt2 {
        padding: 15px 30px;
        color: white;
        font-size: 19px;
    }

    .smileship-p {
        display: none;
    }

    .smileship-p2 {
        display: block;
        font-size: 30px;
    }

    .company-prof {
        display: none;
    }

    .company-prof2 {
        display: block;
    }

    .company-prof2 th span {
        font-size: 14px;
    }
    
    .company-prof2 td {
        font-size: 14px;
    }

    .hero-inner {
        padding: 0 20px;
    }

    .logo01 {
        width: 117px;
        height: 55px;
    }
    
    .logo02 {
        max-width: 176px;
    }
    
    .logo03 {
        max-width: 176px;
    }

    .infobox {
        position: relative;
        right: -20px;
        width: 74px;
        height: 60px;
        padding: 6px;
    }
    
    .infobox div {
			color: white;
		margin-top:15px;
        font-size: 10px;
        line-height: 14px;
    }

    .menu {
        
        right: -20px;
        top: 0;
        width: 375px;
        height: 700px;
        padding: 60px 20px 20px 20px;
        z-index: 999;
    }

    .ttl {
        font-size: 24px;
    }

    .sp-ttp {
        font-size: 18px;
        line-height: 40px;
    }

    .inner {
        padding: 0 20px;
    }

    .poricy-p {
        font-size: 18px;
        line-height: 25px;
    }

    .c-title {
        font-size: 40px;
        line-height: 50px;
    }
    
    .c-subtitle {
        font-size: 21px;
    }

    .staff-card {
        margin: 30px auto;
    }

    .c-card {
        margin: 0 auto;
        width: 100%;
        padding: 30px;
        margin-bottom: 25px;
        box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    }

    .smileship {
        width: 200px;
    }

    .ttl2 {
        font-size: 21px;
    }

    .smiledic {
        width: 100%;
    }

    .smile01 {
        width: 200px;
        left: 0;
    }
    
    .smile02 {
        width: 200px;
        right: 0;
    }
		
	    .smile03 {
        width: 180px;
        right: 0;
    }

    .worktrue {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .workrevers {
        display: none;
    }

    .workrevers-sp {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .work-b {
        font-size: 21px;
    }
    
    .work-n {
        font-size: 18px;
        font-weight: 700;
    }

    .tra-slide {
        width: 100%;
    }
    
    .tra-dis {
        width: 100%;
    }

    .sub-hero2 {
        background: url('../images/top/jsk-smileshipbg.png') no-repeat center / cover;
        min-height: 900px;
    }

    .c-swt-out {
        top: 300px;
    }

    .imgwindow {
        width: 100%;
        padding: 8px;
    }

    .imgwindow img {
        width: 100%;
    }

    .staffinterview-p {
        margin-left: 0;
        font-size: 18px;
    }

    .related {
        margin-left: 0;
    }
    
    .related01 {
        font-size: 18px;
    }
    
    .related02 {
        font-size: 21px;
        line-height: 30px;
    }

    .topbunner {
        width: 200px;
    }

    .ricruit {
        width: 100%;
    }

    .bunner-space {
        text-align: center;
    }

    .con-ttl {
        font-size: 24px;
    }

    .contacts {
        font-size: 14px;
    }

    .con-swt {
        width: 100%;
    }

    .con-swt-left {
        width: 75px;
        padding: 0 15px;
    }

    .con-swt-left img {
        width: 100%;
    }
    
    .con-swt-right {
        width: 250px;
        line-height: 48px;
    }

    .con-swt-p {
        font-size: 18px;
    }

    .s-slide-out {
        display: none;
    }

    .s-slide-out-sp {
        display: block;
        position: static;
        height: auto;
    }

    .s-slide01 {
        position: static;
        width: 100%;
    }
    
    .s-slide02 {
        position: static;
        width: 100%;
    }
    
    .s-slidesp {
        display: block;
    }

    .sub-footer {
        height: 500px;
    }

    .fooer-inner {
        width: 325px;
        padding: 0 10px;
    }

    .footer-logo {
        font-size: 21px;
        margin-bottom: 25px;
    }

    .footer-logo2 {
        width: 160px;
    }

    .footer-jump {
        width: 325px;
    }
    
    .footer-jump p {
        font-size: 12px;
    }

    .footcre {
        width: 325px;
        font-size: 10px;
    }

    .privacy-ttl {
        font-size: 40px;
        line-height: 60px;
    }

    .privacy-sub-ttl {
        font-size: 30px;
        line-height: 45px;
    }

    .footer-jump a {
        font-family: ryo-gothic-plusn, sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 12px;
        color: white;
    }

    .company-video {
        display: none;
		}
}
	
	/* ギャラリー全体の幅設定 */
.gallery {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 10px;
  box-sizing: border-box;
}

/* ギャラリー内の画像スタイル */
.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 8px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: block;
}

/* スマホ向け：最大2列に変更 */
@media screen and (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}