@charset "utf-8";
/*
Template:sarayama
Theme Name:sarayama-child
Theme URI:https://ss19.aiosl.jp/sarayama/
Description:sarayama
Author:https://tmwks.jp/
Author URI:https://tcd-theme.com/
Version:1.12.1
Text Domain:tcd-issue
*/

.cb_free_space .post_content {
	width: auto!important;
}


@media screen and (max-width: 959px) {
    .blog_list .item.swiper-slide {
        width: 100% !important; 
        max-width: 100vw !important;
    }


    .blog_list .image_wrap {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        aspect-ratio: 460 / 264;
        height: auto !important;
    }
}

.headline {
	font-size:30px!important;
}

.cb_banner .content .desc {
	text-align: center!important;
    display: inline-block!important;
}

.p--recruit_wrap {
	margin-top: 80px;
	display: flex;
	justify-content: center;
	gap: 20px;
	align-items: center;
}

@media screen and (max-width: 800px) {
    .p--recruit_wrap {
    justify-content: center;
    flex-direction: column;
    }
}


.p--recruit_content img {
	max-width: 350px;
}

@media screen and (max-width: 768px) {
    .p--recruit_content img {
    max-width: 270px;
    }
}

#header_slider_notice .content .inner {
	min-height: 90px!important;
    min-width: 140px!important;
}

.p--recruit_bg {
    background-image: linear-gradient(rgba(0.5, 0.5, 0.5, 0.5), rgba(0.5, 0.5, 0.5, 0.5)), 
                      url("https://ss19.aiosl.jp/sarayama/wp-content/uploads/AdobeStock_244655373-1-scaled.jpeg") !important; 
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px;
}

@media screen and (max-width: 800px) {
    .p--recruit_bg {
    padding: 20px;
    }
}


#cb_content_4.cb_free_space,
#cb_content_4.cb_free_space .post_content {
    padding: 0 !important;
    max-width: 100% !important;
}

@media screen and (max-width: 1160px) {
    #cb_content_4.cb_free_space .post_content {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.p--recruit_title {
	color: #fff;
}

.p-company-section {
    padding: 60px 0;
    background-color: #fff;
}

.p-company-container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.p-company-info {
	flex: 1!important;
    display: flex!important;
    flex-direction: column!important;
    justify-content: center!important;
    align-items: center !important;
    min-height: 400px!important;     
}

.p-company-text {
	font-weight: 700;
}

.p-company-map {
    flex: 1; 
}

.p-company-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.p-company-button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #333;
    color: #fff !important;
    text-decoration: none;
    margin-top: 20px;
}

@media screen and (max-width: 800px) {
    .p-company-container {
        flex-direction: column;
        gap: 20px;
    }
    .p-company-info, .p-company-map {
        width: 100%;
    }
}

.p-company-section {
	background-color: #d9ebff;
}

.p-recruit-design_button {
	width: 300px;
    height: 70px;
    border-radius: 70px;
    line-height: 1.5;
    padding: 0 1.5em;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-size: 16px;
    z-index: 1;
    color: #00559b !important;
    border: 1px solid var(#fff);
    background: #fff;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.p-recruit-design_button_wrap {
	text-align: center; 
    width: 100%;
	margin-top: 30px;
}

/* 会社案内 */
@media (max-width: 768px) {
	.page-id-38 #page_contents .post_content {
		width: 100% !important;
	}
}

    @media screen and (max-width: 1000px) {
	.page-id-38 #page_contents .post_content {
          margin: 0!important;
        }
    }

    @media screen and (max-width: 1000px) {
	.p-company__wrap {
          margin: 0 20px!important;
        }
    }

    @media screen and (max-width: 1000px) {
	.page-id-38 .post_content .s_table {
          margin: 0 auto!important;
        }
    }

@media (max-width: 768px) {
  .p-company__table th:nth-child(1),
  .p-company__table td:nth-child(1) {
    white-space: normal; 
    min-width: unset;   
    width: 100% !important;
    box-sizing: border-box;
  }

  .p-company__table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    word-break: break-word; 
  }
}

@media screen and (max-width: 800px) {
    .page-id-38 .post_content .s_table {
        white-space: normal !important; 
        overflow-x: visible !important; 
        margin-bottom: 2em;
    }

@media (max-width: 768px) {
    .p-company__table tr {
        margin-bottom: none!important;
		border-top: 1px solid #ddd;
    }
}
	
	@media screen and (max-width: 768px) {
    .p-company__table th,
	.p-company__table td {
        border-left: 1px solid #ddd !important; 
    }
}
	
		@media screen and (max-width: 768px) {
    	.post_content table {
		border-left: none!important;
    }
}
	
	@media screen and (max-width: 800px) {
    .page-id-38 .post_content .s_table table {
        margin-bottom: 40px!important;
    }
}

		@media screen and (max-width: 800px) {
    .p-company-access__wrap {
        margin-bottom: 40px!important;
    }
}

	



.p-wrok__title {
    display: inline-block;        
    border-bottom: 3px solid #0055aa; 
    padding-bottom: 5px;
	text-align: center;
}




/* table全体 */
.post_content th {
	background-color: aliceblue!important;
}
	
	.sp-br {
  display: none!important;
}

@media (max-width: 768px) {
  .sp-br {
    display: block!important;
  }
}
	

/* 事業内容 */

	
	@media screen and (max-width: 800px) {
        .page-id-41 #page_contents .post_content {
            width: 100%!important;
			margin: 0!important;
        }
    }
	

	
	@media screen and (max-width: 800px) {	
		.p-wrok__wrap {
			margin: 0 20px;
		}
	}

	.page-id-41 .s_table {
		margin: 0 auto!important;
	}

/* 採用情報	 */
		@media screen and (max-width: 800px) {	
			.page-id-45 #page_contents .post_content {
			width: 100%!important;
				margin: 0 auto!important;
		}
	}

	@media screen and (max-width: 800px) {	
		.p-recruit__links {
			flex-direction: column;
		}
	}

		@media screen and (max-width: 800px) {	
			.p-recruit__wrap{
			padding: 0 20px!important;
		}
	}

		@media screen and (max-width: 800px) {	
				.p-recruit__title{
			font-size: 24px!important;
		}
	}

			@media screen and (max-width: 800px) {	
					.p-recruit-place__wrap{
			flex-direction: column;
		}
	}
	
	.p-recruit-place__wrap p {
    flex: 0 0 40%;       
    margin: 0;
    width: 40%;
}

				@media screen and (max-width: 800px) {	
					.p-recruit-place__wrap p{
			flex: 1;
    		margin: 0 auto;
    		width: 100%;
		}
	}

	.p-recruit-place__wrap > div:last-child {
    flex: 0 0 calc(60% - 30px); 
    width: calc(60% - 30px);
}

@media screen and (max-width: 800px) {	
		.p-recruit-place__wrap > div:last-child{
		flex: 1;
    	margin: 0 auto;
    	width: 100%;
		}
	}
	
	@media (max-width: 768px) {
  .p-recruit-table,
  .p-recruit-table tbody,
  .p-recruit-table tr,
  .p-recruit-table th,
  .p-recruit-table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    white-space: normal !important;
    overflow: visible !important;
  }
}

		@media (max-width: 768px) {
  .page-id-45 .post_content table {
   border-left: 1px solid #ddd!important;
  }
}

	@media screen and (max-width: 800px) {
    .page-id-45 .s_table {
		margin: 0 auto!important;
		}
	}

		@media screen and (max-width: 800px) {
    .c-btn-entry__wrap {
		margin-top: 20px;
		}
	}

	@media screen and (max-width: 800px) {
    .p-recruit__title {
		text-align: center!important;
		display: block!important;
		}
	}

.carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  width: calc(250% * 2); 
  animation: carousel-scroll 12s linear infinite;
}

.carousel-slide {
  width: calc(100% / 8); 
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

@keyframes carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); 
  }
}

.carousel-track:hover {
  animation-play-state: paused;
}
	
/* 	toiawase */
.wpcf7 {
    background-color: #ffffff !important;
}