@media(max-width:500px){
  .article__body {
    width: 55vw;
}
.sub-image {
    padding-top: 0;
}
	.SP__only {
	display: block;
	}
  .news__body {
    display: block;
  }
  .card__right{
    display: block;
    padding: 10px;
    overflow: auto;
  }
  .card__right .card__body {
    width: 100%;
    /* padding-right: 6.5vw; */
    padding-right: 0;
  }
  .trusted {
    padding-top: 30px;
  }
  .trusted .card__title {
    padding-top: 4vw;
    font-family: 'Alata';
    font-size: 30px;
    line-height: 1.11;
    letter-spacing: .1em;
  }
  .media__img-wrapper {
    width: calc(100%);
  }
  .kaisyudo-solution .media__body {
    width: calc(100%);
  }
  .media__title {
    padding-top: 76px;
  }
   .card__subtitle {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.3em;
    padding: 26px 0 26px 0;
  }
  .card__text {
    font-size: 12px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.8px;
  }

  .articles {
    padding-top: 43px;
    padding-bottom: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .article {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .contact__detail {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .footer {

    height: auto;
    flex-direction: column;
  }
  .footer__img-text {
    display: none;
  }
  .footer-right__menu-item {
    text-align: center;
  }
  .footer__img {
    width: 41vw;
    height: 7.554vw;
  }
  .recruit {
    height: 150px;
  }
  .interview {
    height: 150px;
  }
  .about {
    height: 150px;
  }
  .card__left .card__subtitle {
    padding: 14px 0;
  }
  .PC__only {
    display: none;
  }
  .header-left__logo {
    width: 41vw;
    height: 7.554vw;
  }
  .header-left__logo-text {
    display: none;
  }
  .card__left .card__text {
    color: #fff;
  }
  .contact {
    padding: 0 10px 41px 10px;
  }
  .information {
    padding-top: 50px;
  }
  .recruit-media .media__body {
	top: auto;
    right: auto;
	height: auto;
    padding: 5% 4% 13%;
  }
  .recruit-media .media__title {
    font-family: Alata;
    font-size: 50px;
    padding-top: 4vw;
    text-align: left;
  }
  .works-media {
    padding: 45px 10px;
    gap: 4.111vw;
  }
  .works-media__img-wrapper {
    width: 100%;
    height: auto;
  }
  .welfare-top__list {
    width: 50%;
  }
  .education-card__img-wrapper {
    width: 100%;
    height: 321px;
  }
  .vacation-media__img-wrapper {
    width: 100%;
    height: 321px;
  }
  .vacation-media__lists {
    display: flex;
    width: 100%;
  }
  .graph-content:nth-child(1) {
    top: 92.7px;
    left: 31.4px;
  }
  .graph-content:nth-child(2) {
    top: 55.5px;
    left: 133px;
  }
  .graph-content:nth-child(3) {
    top: 140px;
    left: 127.1px;
  }
  .card__bottom .card__body {
    padding: 10px;
  }
  .cooperation__office {
    background-color: rgba(0, 0, 0, .4);
    background-blend-mode: color;
  }
  .cooperation__school {
    background-color: rgba(0, 0, 0, .4);
    background-blend-mode: color;
  }
  .cooperation__security {
    background-color: rgba(0, 0, 0, .4);
    background-blend-mode: color;
  }
  .cooperation__construction {
    background-color: rgba(0, 0, 0, .4);
    background-blend-mode: color;
  }
  .cooperation__signage {
    background-color: rgba(0, 0, 0, .4);
    background-blend-mode: color;
  }
  .cooperation__maintenance {
    background-color: rgba(0, 0, 0, .4);
    background-blend-mode: color;
  }
  .company-detail .table_box {
    padding: 0;
    position: static;
    bottom: -65px;
    box-sizing: border-box;
    width: 100%;
    transform: none;
  }
  .company-detail__img-wrapper {
    width: 95.555vw;
    padding-bottom: 0px
  }
  .welfare-top__lists,
  .vacation-media__lists {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .education-card__img {
    object-fit: cover;
  }
  .bottom-hero__title {
    padding: 41px 0 0 5px;
  }
  .bottom-hero__subtitle {
    padding: 8px 0 0 5px;
  }
  .education-card__body {
    padding: 15px;
  }
  .cooperation__images {
    flex-direction: column;
  }
  .bottom-menu {
    text-align: center;
    padding: 34px 10px;
  }
  .bottom-menu__body {
    height: 75px;
  }
  .bottom-menu__title {
    font-size: 15px;
    padding-bottom: 7px;
  }
  .bottom-menu__subtitle {
    font-size: 12px;
    font-weight: normal;
  }
  .history-list table tr::before {
    content: '';
    display: block;
    width: 18vw;
    height: 30px;
    position: absolute;
    border-radius: 20px;
    background: #ff0000;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 3px;
  }
  .history-list table td:first-child {
    width: 20%;
  }
	
	.company-detail table,
	.company-detail tbody,
	.company-detail tr,
	.company-detail th,
	.company-detail td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	
	.company-detail table td:first-child {
		padding-top: 5%;
		padding-bottom: 0;
	}
	.company-detail table td:first-child:before {
		top: 15px;
		left: 22px;
	}
	.company-detail table td {
		padding-top: 0;
		padding-bottom: 5%;
	}
	
  .history-list .table_box {
    width: 100vw;
  }
  .works-medias {
    overflow: hidden;
  }
  .recruit-hero {

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .hero-body {
    position: static;
    transform: none;
    color: #fff;
  }
  .recruit-hero .hero-body__title {
    font-size: 12.2vw;
    color: #fff;
  }
  .recruit-hero .hero-body__text {
    font-size: 12px;
    padding-top: 8px;
    color: #fff;
  }
  .schedule-model {
    width: 80%;
    height: auto;
  }
	.height_tall .schedule-model {
    height: auto;
	}
  .recruit-about__img-wrapper {
    flex-direction: column;
  }
  .hobby-blocks {
    gap: 20px;
	  
	  display: flex;
    flex-wrap: wrap;
	  width: 300px;
    margin: 0 auto;
	   -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
  }
  .vacations__body {
    gap: 26px;
    flex-direction: column;
  }
  .rest-bg {
    height: 1331px;
  }
  .company-top__title {
    font-size: 30px;
  }
  .hero .hero-body {
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translate(0,-50%);
  }
  .hero .hero-body__title {
	font-family: Alata;
	font-size: 30px;
}
.hero .hero-body__text {
	font-size: 13px;
	padding-top: 10px;
}
  .td-map iframe {
    width: 100%;
    height: 150px;
  }
  .history {
    padding-top: 105px;
  }
  .google-maps {
    padding-top: 60px;
  }
  .google-maps__left {
    width: 100%;
  }
  .google-maps__right {
    width: 100%;
  }
  .google-maps__text {
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    padding: 1.3vw 0 0.333vw 16px;
  }
  .about-top {
    padding: 117px 10px 60px 10px;
  }
  .before {
    width: 90.554vw;
    height: auto;
    margin-bottom: 23px;
    padding: 3.222vw 1.6660000000000004vw 4vw 5.11vw;
  }
  .before::after {
    position: absolute;
    top: auto;
    bottom: -6.7222vw;
    right: 50%;
  }
  .after {
    width: 90.554vw;
  }
  .activity {
    padding: 0 10px;
  }
  .activity__menu-item {
    font-size: 12px;
    width: 100%;
    /* height: 33px; */
    border-radius: 30px;
    padding-left: 7.776vw;
  }
  .activity__menu {
    gap: 16px;
  }
  .activity__menu-top {
    gap: 16px;
  }
  .activity__menu-bottom {
    gap: 16px;
  }
  .equal {
    width: 17px;
    height: 9px;
    padding: 0 15px;
  }
  .numerator {
    padding-bottom: 20px;
    padding-right: 11px;
  }
  .denominator {
    padding-top: 20px;
        padding-left: 22px;
  }
  .before-top__title {
    font-size: 12px;
    padding-left: 3.444vw;
  }
  .before-productive__title {
    font-size: 12px;
  }
  .before-productive__letter {
    font-size: 22px;
  }
	
  .mathematical {
	  text-align: center;
  }
  .before-productive {
    width: auto;
    height: auto;
	  width: 16vw;
  }
  .before-left__title {
    font-size: 12px;
  }
  .before-left__menu-item {
    font-size: 12px;
  }
  .before-right__title {
    font-size: 12px;
  }
  .before-right__menu-item {
    font-size: 12px;
  }
  .before-right__menu-item::before {
    left: -1.666vw;
    width: 12px;
    height: 12px;
  }
  .before-left__menu-item {
    font-size: 12px;
  }
  .before-left__menu-item::before {
    left: -1.666vw;
    width: 12px;
    height: 12px;
  }
  .before-bottom {
    gap: 11.222vw;
  }

  .after-productive {
    width: auto;
    height: auto;
	  width: 16vw;
  }
  .after-productive__title {
    font-size: 12px;
  }
  .after-productive__letter {
    font-size: 22px;
  }
  .after-top__title {
    font-size: 12px;
    padding-left: 3.444vw;
  }
  .after-bottom__item-name {
    font-size: 12px;
  }
  .forn {
    top: 8.888vw;
    right: -0.446vw;
  }
  .chat {
    bottom: -38.554vw;
    right: -13.8vw;
  }
  .recharge {
    bottom: -50vw;
    right: -7.44vw
  }
  .about-card__text {
    font-size: 12px;
  }
  .news__body::after {
    display: none;
  }




	.history-list table tr::before {
		background: none;
	}
	.history-list table td:first-child {
		color: red;
		font-weight: bold;
		    width: 22%;
	}

	.vacation-left {
		display: flex;
		width: 190px;
	}








}
