@charset "utf-8";
/*
Template:toyonaga
Theme Name:toyonaga-child
Theme URI:https://toyonaga.co.jp/nwp
Description:toyonaga
Author:tmwks
Author URI:https://tmwks.jp/
Version:1.12.3
Text Domain:tcd-genesis
*/

.megamenu_post_carousel {
    height: 250px;
}
/*
.megamenu_a .post_list .item {
    height: 160px;
}*/
.megamenu_a .post_list .date {
	display:none;
}

.blog_carousel .date {
	display:none;
}


/*2025 0729 add*/
body.header_type2 #header {
	background:#fff;
}

body.header_type2 #global_menu > ul > li > a {
	color:#000;
}

.ftop-conintextbox0201,
.ftop-conintextbox0202 {
	display:flex;
}

.ftop-conintextbox0201a,
.ftop-conintextbox0201b,
.ftop-conintextbox0202a,
.ftop-conintextbox0202b {
	width:50%;
	padding:10px 50px;
}
.ftop-contextbox02 img {
	height:344px !important;
	width:auto;
}
.ftop-box02 p {
	text-align:center;
}

.ftop-box02 h2 {
	margin-bottom:30px;
	padding-bottom:50px;
}

.ftop-box02 h4 {
	text-align:center;
	background:#0085b2;
	padding:15px 20px;
	width:515px;

	
}

.ftop-box02 h4:hover {
	background:#005875;
}
.ftop-box02 a {
	border-bottom:none;
	color:#fff !important;
}
.ftop-box02 a:hover {
	text-decoration:none;
}
.ftop-conintextbox0201a p,
.ftop-conintextbox0201b p {
	padding:20px 10px;
}
.ftop-contextbox02  img {
	margin-bottom:0 !important;
}
.ftop-conintextboxttl0201a,
.ftop-conintextboxttl0201b,
.ftop-conintextboxttl0202a,
.ftop-conintextboxttl0202b,
.ftop-conintextboxtext0201a,
.ftop-conintextboxtext0201b,
.ftop-conintextboxtext0202a,
.ftop-conintextboxtext0202b {
	padding-bottom:30px;
	display:flex;
	justify-content:center;
}

@media only screen and (max-width: 767px)  {
	.ftop-conintextbox0201,
	.ftop-conintextbox0202 {
		display:block;
	}
	
	.ftop-conintextbox0201a,
	.ftop-conintextbox0201b,
	.ftop-conintextbox0202a,
	.ftop-conintextbox0202b {
		width:auto;
	}
	.ftop-box02 p {
		text-align:left;
	}
	
	.ftop-contextbox02 img {
		height:auto !important;
	}
	.ftop-conintextboxttl0201a,
.ftop-conintextboxttl0201b,
.ftop-conintextboxttl0202a,
.ftop-conintextboxttl0202b,
.ftop-conintextboxtext0201a,
.ftop-conintextboxtext0201b,
.ftop-conintextboxtext0202a,
	.ftop-conintextboxtext0202b{
		margin-left:0;
		margin-right:0;
	}
	
	.ftop-conintextbox0201a,
.ftop-conintextbox0201b,
.ftop-conintextbox0202a,
	.ftop-conintextbox0202b {
		padding:10px;
	}
}

.ftop-conbox02 img {
	border:solid 1px #000;
}

.ftop-box{
	width:auto;
	height:600px;
	background-image:url(https://toyonaga.co.jp/nwp/wp-content/uploads/con-img001.jpg);
	background-repeat:no-repeat;
	background-size:cover;
		display:flex;
	justify-content:center;
	align-items:center;
}

.ftop-conttlbox{

	padding:15px 20px;

}

.news_carousel.swiper-wrapper,
.news_carousel .item{
	display:block;
}

.news_carousel .item {
	width:auto;
	height:110px;
	text-align:center;
	padding:20px 20px;
}

#cb_content_2 .design_header.cb_design_header.inview.animate{
	text-align:center;
}
#cb_content_2 .design_header {
	justify-content:center;
	margin-bottom:10px; !important;
}
#index_news_list_wrap {
	height:70px;
}
#cb_content_2 .cb_news_list {
	padding-bottom;10px !important;
}

.ftop-conttlbox h2{
	text-shadow:2px 2px 2px #000;
	font-size:34px;
}


/* add tmwks2025 0916*/

.add-companyinconbox01,
.add-companyinconbox02 {
	display:flex;
}
.add-companyinconbox01,
.add-companyinconbox02 {
	padding-top:30px;
	padding-bottom:30px;
}
.add-companyinconbox0101,
.add-companyinconbox0102,
.add-companyinconbox0103,
.add-companyinconbox0201,
.add-companyinconbox0202,
.add-companyinconbox0203{
		width:33.3%;
	padding:20px 15px;
}

.add-companybox h4 {
	background:#0085b2;
	text-align:center;
	padding:15px 10px;
}
.add-companybox h4  > a {
	color:#fff;
}
.add-companybox h4  > a:hover {
	text-decoration: none;
} 
.add-companybox h4:hover{
	background:#015b79;
}
.add-companybox p{
	text-align:center;
	padding-top:15px;
}

.add-companyconbox img {
	margin-bottom:0 !important;
}
.add-companyinconimgbox0103 img {
	height:272px ;
	width:auto;
}
@media only screen and (max-width: 767px) {
	.add-companyinconbox01,
	.add-companyinconbox02 {
		display:block;
	}
	.add-companyinconbox0101,
.add-companyinconbox0102,
.add-companyinconbox0103,
.add-companyinconbox0201,
.add-companyinconbox0202,
.add-companyinconbox0203  {
		width:auto;
	}
}


.product-coninbox01,
.product-coninbox02,
.product-coninbox03{
	display:flex;
}

.product-conintextbox01,
.product-coninimgbox01,
.product-coninimgbox0201,
.product-coninimgbox0301,
.product-conintextbox02,
.product-conintextbox03,
.product-conintextbox0201,
.product-coninimgbox02{
	width:50%;
	padding:15px 10px;
}
.product-box h3 {
	background:#0085b2;
	text-align:center;
	font-weight:600;
	padding:15px;
	margin-bottom:30px !important;
	color:#fff;
}

.product-box h4 {
	border-left:5px solid #0085b2;
	padding:5px 10px;
	margin-bottom:25px !important;
}
.product-box ul {
	list-style:disc;
}
@media only screen and (max-width: 767px) {
	.product-coninbox01,
	.product-coninbox02,
	.product-coninbox03{
		flex-direction:column;
	}
	.product-conintextbox01,
	.product-coninimgbox01,
	.product-coninimgbox0201,
	.product-coninimgbox0301,
	.product-conintextbox02,
	.product-conintextbox03,
	.product-conintextbox0201,
.product-coninimgbox02{
		width:auto;
	}
	.product-coninimgbox01,
	.product-coninimgbox0201,
	.product-coninimgbox0301,
	.product-coninimgbox02{
		order:-1;
	}
	.product-conintextbox01,
	.product-conintextbox02,
	.product-conintextbox03,
	.product-conintextbox0201{
		order:1;
	}
}

/* フォーム
------------------------------------------------------------*/
input[type="text"], input[type="tel"], input[type="email"], textarea{
vertical-align:middle;
width:100%;
line-height:35px;
height:35px;
padding:5px;
margin-bottom: 5px;
border:1px solid #d4d4d7;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
font-size:100%;
color:#555;
background:#fcfcfc;
box-sizing: border-box;
}
textarea{
height:auto;
line-height:1.5;
}
select {
padding: 8px 5px;
}
input[type="submit"],input[type="reset"],input[type="button"]{
padding:8px 15px;
border: none !important;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
line-height:1.5;
font-size:120%;
color:#fff;
height:48px;
	margin:30px auto 0;
	background-color:#242424; 
	cursor:pointer;
	text-align:center; 
	text-decoration:none;
	line-height:1.5;
	outline:none;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.wpcf7 input.wpcf7-back,
.wpcf7 input.wpcf7-confirm { 
	position:relative;
	width:225px;
}
.wpcf7 form,.wpcf7 {
	margin: 0 !important;
	background: none !important;
	border: 0 !important;
}
.wpcf7 p {
	font-size: inherit !important;
}
*:first-child+html input[type="submit"]{padding:3px;}
span.yubin,
form input[type="submit"], input[type="reset"], input[type="button"] {
  margin: 0 auto;
  padding: 10px 20px;
  background: #242424;
  border: 0;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  line-height: 1.5;
  font-size: 120%;
  color: #fff;
  cursor: pointer;
}
span.yubin,
span.yubin:hover { font-size: 80%;padding: 7px 10px; }
form input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, span.yubin:hover {
  background: #666;
}
#searchform input[type="submit"] {
    line-height: 1;
    padding: 6px;
    vertical-align: top;
}
.submit-button{
  text-align:center;
}
/* 確認画面用CSS */
/*枠線消す*/
form .wpcf7c-conf {
  background-color: transparent !important;
  border: none !important;
}
.wpcf7-form table p {
  padding-bottom: 5px;
}
textarea.wpcf7-form-control {
  max-height: 100px;
}
.wpcf7 .wpcf7-submit {
	background-color: #666;
}
.wpcf7 .wpcf7-submit:hover {
	background-color: #242424;	
}


/*確認画面でradioが見え難い*/
input[type="hidden"] + span {
  font-weight: bold;
}
/*確認画面セレクトボックスヤジルシ消す*/
select.wpcf7c-conf {
   -webkit-appearance: none;
   -moz-appearance:    none;
   -ms-appearance:    none;
   appearance:         none;
   /*Firefox用*/
    text-indent: .01px; 
    text-overflow: "";
}
select.wpcf7c-conf::-ms-expand {
  display: none;
}
.wpcf7-form table p {
    padding-bottom: 0;
}
.zip input[type="text"],
.s_size input[type="text"] {
  width: 20%;
}
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"]{
  width: 100%;
}
span.required {
    display: inline-block;
    padding: 4px 6px;
    border-radius: 6px;
    color: red;
    font-size: 90%;
    line-height: 1.2;
    text-align: center;
    margin: 0 4px;
}

.form-contextbox {
	padding-bottom:30px;
}
table.border th {
	width:35%;
	text-align:left;
	font-weight:600;
}
table.border td {
	width:65%;
}
input[name="your-zip"] {
width:50%;
margin-bottom:20px;}

.form-contblbtnbox {
	text-align:center;
	padding-top:30px;
}

.recruit-conttlbox h3 {
	background:#199AD6;
	color:#fff;
	padding:10px;
	border-radius:10px
}
.recruit-contblttlbox h4 {
	color:#199AD6;
	border-bottom:#199AD6 solid 3px;
	padding-bottom:5px;
	font-size:25px;
	padding-top:25px;
}
.recruit-contblbox {
padding-top:30px;}
a.q_custom_button1 {
background-color:#242424;
	width:350px !important;
	border:none;

}
a.q_custom_button1:hover {
	border-color:#666 !important;
	border-color:#666 !important;
}

.p-list-inbox {
	display:flex;
	flex-wrap:wrap;
}
.p-list-inbox01,
.p-list-inbox02,
.p-list-inbox03,
.p-list-inbox04 {
	width:calc(100% / 2 - 10px);
	padding:10px 20px;
}

.p-list-box h4 {
	background:#0085b2;
	text-align:center;
	padding:10px 15px;
}
.p-list-box h4:hover {
	background:#035e7d;
}
.p-list-box h4 a {
	color:#fff;
}
.p-list-inbox img {
	height:350px !important;
}
@media only screen and (max-width: 767px)   {
	table.border,
	table.recruit-tbl{
		
	}
	table.border th,
	table.border td,
	table.recruit-tbl th,
	table.recruit-tbl td{
		display:block;
		text-align:center;
		width:auto;
	}
	.p-list-inbox {
		display:block;
	}
	.p-list-inbox01,
	.p-list-inbox02,
	.p-list-inbox03, 
	.p-list-inbox04 {
		width:auto;
	}
	.p-list-inbox img {
		height:auto !important;
		margin-bottom:0 !important;
	}
}

.p-list-conbox h4 a:hover {
	text-decoration: none;
	color:#fff;
}
.bbottom-conbox {
	display:flex;
}
.bbottom-coninbox01,
.bbottom-coninbox02 {
	width:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	height:250px;
}

.bbottom-coninbox01 {
	content:"";
	background-image:url(https://toyonaga.co.jp/nwp/wp-content/uploads/con-img006.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	
}

.bbottom-coninbox02{
	content:"";
	background-image:url(https://toyonaga.co.jp/nwp/wp-content/uploads/con-img005.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
.bbottom-coninbox01 h2:hover,
.bbottom-coninbox02 h2:hover {
	color:#fff;
	text-shadow:2px 2px 1px #000;
}
.bbottom-coninbox01 a:hover,
.bbottom-coninbox02 a:hover {
	color:#fff;
	text-decoration: none;
}
.decoding,
.p-list-inbox01 img,
.p-list-inbox02 img,
.p-list-inbox03 img,
.p-list-inbox04 img{
	margin-bottom:0 !important;
	margin-right:0 !important;
}
.p-list-inbox h4 {
	display:flex;
align-content;
	justify-content:center;
	width:100%;
}
.p-list-inbox img {
	margin-left: 0 !important;
}
.p-list-inttlbox01,
.p-list-inttlbox02,
.p-list-inttlbox03,
.p-list-inttlbox04{
	display:flex;
	align-content:center;
	justify-content:center;
}
.p-list-box img {
	border:1px solid #000;
}

#body.page-id-253 h1.large_headline,
#body.page-id-247 h1.large_headline,
#body.page-id-243 h1.large_headline,
#body.page-id-251 h1.large_headline{
	display:none;
}
#body.page-id-251 #page_header .design_header,
#body.page-id-253 #page_header .design_header,
#body.page-id-247 #page_header .design_header,
#body.page-id-243 #page_header .design_header{
	margin:-10px auto 10px !important;
}

@media only screen and (max-width: 767px)  {
	.bbottom-conbox  {
		display:block;
	}
	.bbottom-coninbox01,
	.bbottom-coninbox02  {
		width:auto;
	}
}
.product-box img {
	border:1px solid #000;
}

.product-coninimgbox00301 {
	width:50%;
}
.product-coninimgbox00301 img {
	width:519px;
	height:auto;
}

@media only screen and (max-width: 767px) {
	.product-coninimgbox00301 {
		width:auto;
	}
	.product-coninimgbox00301 img {
		width:auto;
	}
}