/*
Theme Name:QUALIA child
Theme URI:https://tcd-theme.com/tcd114
Description:WordPressテーマ「QUALIA」の子テーマ
Template:qualia_tcd114
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/

/*---------------------------------------------
                共通css
-----------------------------------------------*/
.pcnone {
	display: none;
}
@media screen and (max-width: 767px) {
	.pcnone {
		display: inline-block;
	}
	.spnone {
		display: none;
	}
}
#user_custom .u-h2_title {
	position: relative;
	padding-left: 20px;
	line-height: 50px;
	text-align: left;
	font-size: clamp(22px, 2.5vw, 28px);
}
#user_custom .u-h2_title::before {
	content: '';
	position: absolute;
	margin: auto;
	width: 5px;
	height: 100%;
	left: 0;
	background: linear-gradient(180deg, #9F8C7D 0%, #E2E6E4 100%);
}
#user_custom .u-h3_title {
	position: relative;
	margin: 10px 0 0 0;
	padding-bottom: 40px;
	width: fit-content;
}
#user_custom .u-h3_title::before {
	content: '';
	position: absolute;
	margin: auto;
	width: 100%;
	height: 5px;
	left: 0;
	bottom: 0;
	background: linear-gradient(90deg, #9F8C7D 0%, #E2E6E4 100%);
}
#user_custom .u-more_btn a {
	margin: 0 auto;
	padding: 10px 0;
	width: 50%;
	min-width: 260px;
	display: block;
	border: 1px solid #222;
	text-align: center;
	color: #222;
	font-size: 18px;
	background: none;
	transition: .8s;
	border-radius: 50px;
}
#user_custom .u-more_btn a:hover {
	border: 1px solid #AFA999;
	text-align: center;
	color: #fff;
	font-size: 18px;
	background: #9F8C7D;
	text-decoration: none;
	transition: .4s;
}
#user_custom2 .s_table tr:first-of-type td {
	color: #fff;
	background: #9F8C7D;
}
.scroll_text {
	margin-bottom: 0!important;
	font-size: 14px;
}
@media screen and (max-width: 767px) {
	#user_custom .s_table {
		word-break: break-all;
		white-space: normal;
	}
	#user_custom2,
	#user_custom2 .s_table {
		overflow-x: scroll;
	}
	#user_custom2 .s_table tr td {
		min-width: 150px!important;
		display: table-cell;
	}
}

.question{
	font-weight:bold;
	font-size:1.2em;
	color:#9F8C7D;
}

.required {
  border: solid 1px;
  border-radius: 15px;
  margin-left: 1em;
  font-size: 0.8em;
  padding: 5px;
  position: relative;
  top: -3px;
  background-color: #b55154;
  color: #FFFFFF;
}

.submitbtn{
	background-color: #9F8C7D !important;
	border-radius:50px!important;
}

.submitbtn:hover {
  background-color: #7F6E60 !important;
}

.privacy-policy{
	color:#a5a5a5;
	background-color: #f7f7f7;
}

.wpcf7{
	border-radius: 25px;
}

.wpcf7 textarea {
	height: 150px;
	border-radius:15px;
}

.wpcf7 input{
	border-radius:15px;
}


/*---------------------------------------------
                製造事例ページ
-----------------------------------------------*/
#case {
	border: none;
}
#case .tag_lists {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	text-align: center;
}
#case .tag_lists li {
	margin-right: 20px;
	margin-bottom: 20px;
	max-width: 180px;
	width: 100%;
	display: block;
	line-height: 34px;
	font-size: 14px;
	color: #AFA999;
	border: 1px solid #AFA999;
	transition: 0.6s;
}
#case .tag_lists li:last-of-type {
	margin-right: 0;
}
#case .tag_lists li:hover {
	background: #AFA999;
	color: #fff;
	transition: 0.4s;
}
#case .tag_lists li a {
	display: block;
}
@media screen and (max-width: 767px) {
	#case .tag_lists {
		/*justify-content: space-around;*/
	}
	#case .tag_lists li {
		margin: 0 15px 15px 0;
		padding: 0 8px;
		max-width: fit-content;
		width: 100%;
		display: block;
		line-height: 34px;
		font-size: 14px;
		color: #AFA999;
		border: 1px solid #AFA999;
		transition: 0.6s;
	}
}

/* 製造事例ページスライダー画像 */
#case .main-img {
	height: auto;
	width: 100%;
	aspect-ratio:930/640;
	border: 1px solid #ddd;
}
#case .main-img img {
	height: auto;
	width: 100%;
}
#case .sub-img {
	display: flex;
}
#case .sub-img li {
	pointer-events: auto;
	width: calc(100% / 4);
	height: 145px;
	border: 1px solid #ddd;
}
#case .sub-img li.current {
	border: 2px solid #9F8C7D;
	transition: border .4s;
}
#case .sub-img img {
	cursor: pointer;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.wp-singular #user_custom table tr th {
	min-width: 180px;
	color: #fff;
	font-weight: bold;
	background: #9F8C7D;
}
@media screen and (max-width: 767px) {
	#case .s_table {
		white-space: normal;
	}
	#case table tr th,
	#case table tr td,
	.wp-singular tr th,
	.wp-singular tr td {
		min-width: 100%;
		width: 100%;
		display: block;
	}
}


/*---------------------------------------------
     ディスプレイ事業（店舗什器製造）ページ
-----------------------------------------------*/

#service_single .service_single a {
	text-decoration: none;
}
#service_single .service_single .c-category > a {
	color: #fff;
}
#service_single .service_single .p-post-cards-item__link {
	color: #000;
}
#service_single .column {
	margin: 50px 0 0 0 ;
	padding: 50px;
	border: 4px solid #9F8C7D;
	border-radius: 50px;
	background: #f7f7f7;
}
#service_single .column h2 {
	padding: 0;
	text-align: center;
	color: #9F8C7D;
	line-height: 1.6;
}
#service_single .column h2::before {
	display: none;
}

@media screen and (max-width: 767px) {
#service_single .column {
	margin: 31px 0 0 0 ;
	padding: 20px;
	border: 4px solid #9F8C7D;
	border-radius: 50px;
	background: #f7f7f7;
}
}

/*---------------------------------------------
                採用ページ
-----------------------------------------------*/

.p-author-intro {
	position: relative;
	/*padding: 100px 0 0 0;*/
	margin-top: 40px;
	margin-bottom: 100px;
	padding: 50px 50px;
	font-size: 16px;
	line-height: 2.0;
	border: 4px solid #9F8C7D;
	border-radius: 50px;
	background: #f7f7f7;
}
.p-author-intro__title {
	margin: 0 auto;
	width: fit-content;
	text-align: center;
	font-size: 30px;
	line-height: 2.0;
	color: #9F8C7D;
	border-bottom: 2px solid #9F8C7D;
}
/*#case04 .p-author-intro__title {
	margin-bottom: 60px;
	text-align: center;
	font-size: 30px;
	color: #9F8C7D;
}*/
.p-author-intro__text {
	
	overflow: hidden;
}

@media screen and (max-width: 767px) {
	.p-author-intro__text {
		/*margin-bottom: 60px;*/
		font-size: 16px;
		line-height: 2.0;
		overflow: hidden;
	}
	.p-author-intro {
	position: relative;
	/*padding: 100px 0 0 0;*/
	margin-bottom: 100px;
	padding: 50px 20px;
	font-size: 16px;
	line-height: 2.0;
	border: 4px solid #9F8C7D;
	border-radius: 50px;
	background: #f7f7f7;
	}
}
.president_img {
	margin: 0 auto 30px;
}
.president_img img {
	border-radius: 25px;
	display: block;
	margin-top: 30px;
}

.u-h2_title {
	position: relative;
	padding-left: 40px;
	line-height: 50px;
	text-align: center;
	font-size: clamp(22px, 2.5vw, 28px);
}
/*#case04 .u-h2_title::before {
	content: '';
	position: absolute;
	margin: auto;
	width: 30px;
	height: 30px;
	top: 50%;
	left: 0;
	transform: translateY(-50%)rotate(45deg);
	background: url("img/titleitem01.svg")top left no-repeat;
	background-size: contain;
}*/

.p-author-intro__text > p {
	margin-bottom: 30px;
	text-align: left;
}
.p-author-intro__text .intro_text_footer {
	float: right;
}
.p-author-intro__text .company_name {
}
.p-author-intro__text .president_name {
}


.p-author-list__item {
	margin-bottom: 20px;
	border-radius: 20px;
}

.p-author-single_banner:hover{
	opacity: 0.5;
	transition: 0.3s;
}

/* バナー全体：中央寄せ */
.p-author_banner {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}


/*---------------------------------------------
                会社概要ページ
-----------------------------------------------*/
#about #user_custom .abouth2{
	position: relative;
    padding: 0.5rem 0 1rem;
    margin-bottom: 2.1rem;
    font-weight: bold;
    font-size: 26px;
    text-align: center;
    color: #353535;
}

#about #user_custom .abouth2::before{
    position: absolute;
    border-bottom: 5px solid #9f8c7d;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    content: '';
}
	
#about #user_custom table tr th {
	width: 310px;
	height: 70px;
	text-align: left;
	font-weight: bold;
	color: #fff;
	background: #9F8C7D;
}
#about #user_custom .custom_tabl tr th {
	width: 310px;
	height: 70px;
	text-align: left;
	font-weight: bold;
	color: #fff;
	background: #9F8C7D;
}
#about #user_custom .custom_tabl tr td {
	height: 70px;
}
#about #user_custom .custom_tabl tr td > div {
	padding: 15px 15px;
	background: #f7f7f7;
	border-radius: 15px;
}
#about #user_custom .google_map iframe {
	width: 100%;
	height: auto;
	aspect-ratio:16/9;
}
@media screen and (max-width: 767px) {
	#about #user_custom table tr th {
		width: 100%;
		height: auto;
		vertical-align: middle;
		font-weight: bold;
		color: #fff;
		background: #9F8C7D;
	}
	
	#about #user_custom .custom_tabl {
		height: auto;
		vertical-align: middle;
		white-space: normal;
	}
	#about #user_custom .custom_tabl tr th,
	#about #user_custom .custom_tabl tr td {
		width: 100%;
		height: auto;
		display: block;
	}
	#about #user_custom .custom_tabl tr th {
		height: auto;
		font-weight: bold;
		color: #fff;
		background: #9F8C7D;
	}
	#about #user_custom .custom_tabl tr td {
		word-break: break-all;
	}
	#about #user_custom .custom_tabl tr td > div {
		padding: 15px 15px;
		background: #f7f7f7;
		border-radius: 15px;
	}
	#about #user_custom .google_map iframe {
		width: 100%;
		height: auto;
		aspect-ratio:8/5;
	}
}

