@charset "UTF-8";
/*
Theme Name: DaitohKigyo
Version: 1.0
*/


.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}

@media only screen and (min-width:1px) and (max-width: 560px) {

.alignleft,
img.alignleft {
	display: inline;
	float: none;
	margin:10px auto;
}
.alignright,
img.alignright {
	display: inline;
	float: none;
	margin:10px auto;
}


}


#s-form {
  position: relative;
  height: 42px;
  width:210px;
}
 
#s-box {
  height: 38px;
  padding: 0 10px;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #cccccc;
  color:#333;
  font-weight:300;
  width:210px;
  border-radius:5px;
}
 
#s-btn {
  background: #666666;
  border: none;
  color: #fff;
  width: 55px;
  height: 38px;
  font-size:1.1rem;
  letter-spacing:0.05em;
  position: absolute;
  top: 0;
 right: 0px;
  cursor: pointer;
  font-weight:200;
  border-radius:0 5px 5px 0;
}




.news_detail h3,.blog_detail h3{
	margin: 5% auto;
	line-height: 2.0em;
}
.news_detail h4,.blog_detail h4{
	margin: 0 auto 5%;
    display: flex;
    align-items: center;
	justify-content: center;
}
.news_detail h4:before ,.blog_detail h4:before,
.news_detail h4:after ,.blog_detail h4:after {
    content: "";
    height: 1px;
	width: 80px;
    background-color: #666;
}
.news_detail h4:before ,.blog_detail h4:before {
    margin-right: 2rem;
}
.news_detail h4:after ,.blog_detail h4:after {
    margin-left:0.5rem;
}

@media only screen and (min-width:1px) and (max-width: 768px) {

.news_detail h4:before ,.blog_detail h4:before,
.news_detail h4:after ,.blog_detail h4:after {
    content: "";
    height: 1px;
	width: 60px;
    background-color: #666;
}
.news_detail h4:before ,.blog_detail h4:before {
    margin-right: 1.0rem;
}
.news_detail h4:after ,.blog_detail h4:after {
    margin-left: 0rem;
}
}
@media only screen and (min-width:1px) and (max-width: 480px) {

.news_detail h4:before ,.blog_detail h4:before,
.news_detail h4:after ,.blog_detail h4:after {
    content: "";
    height: 1px;
	width: 30px;
    background-color: #666;
}
.news_detail h4:before ,.blog_detail h4:before {
    margin-right: 0.8rem;
}
.news_detail h4:after ,.blog_detail h4:after {
    margin-left: 0rem;
}
}


/*blogcard*/
@media only screen and (min-width: 600px)
{
	.blog-card {
	background: #ffffff;
		border:1px solid #ddd;
		word-wrap:break-word;
		max-width:100%;
		margin: 5px;
		padding:10px;
	}
	.blog-card:hover {
		background: #fee;
	}
	.blog-card a {
		text-decoration: none;
	}
	.blog-card-thumbnail {
		float:left;
		padding:10px;
	}
	.blog-card-thumbnail img {
		display: block;
		padding: 0;
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		-o-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;
	}
	.blog-card-title {
		display: block;
	}
	.blog-card-content {
		line-height:120%;
	}
	.blog-card-title {
		padding:10px 10px 3px 0;
		font-size:120%;
		font-weight: bold;
		line-height: 1.5em;
	}
	.blog-card-excerpt {
		color:#333;
		font-size:small;
		margin:10px 20px;
		line-height: 1.5em;
	}
	.blog-card .clear {
		clear: both;
	}
}
@media only screen and (max-width: 600px)
{
	.blog-card {
		background:#fff;
		border:1px solid #ddd;
		word-wrap:break-word;
		max-width:100%;
		margin: 5px;
		padding:10px;
	}
	.blog-card:hover {
		background: #fee;
	}
	.blog-card a {
		text-decoration: none;
	}
	.blog-card-thumbnail {
		float:left;
		padding:10px;
	}
	.blog-card-thumbnail img {
		display: block;
		padding: 0;
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		-o-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;
	}
	.blog-card-title {
		display: block;
	}
	.blog-card-content {
		line-height:110%;
	}
	.blog-card-title {
		padding:10px 10px 3px 0;
		font-size:120%;
		font-weight: bold;
		line-height: 1.5em;
	}
	.blog-card-excerpt {
		color:#333;
		font-size:small;
		margin:5px 10px;
		overflow: hidden;
		height: 3.0em;
		line-height: 1.5;
	}
	.blog-card .clear {
		clear: both;
	}
}

.blandinfo{
	width:55%;
	padding:10px 20px;
}
.blandinfo p{
	margin-bottom:10px;
}

.blandinfo table{
	width:100%;
	margin:10px auto;
}
.blandinfo table th,
.blandinfo table td{
	padding:3px 5px !important;
}
.blandinfo a{
	display:block;
	margin: 0 auto;
	text-align: center;
	padding: 5px 10px;
	line-height: 1.8em;
	color: #fff;
	background: #4e4e4e;
	width:90%;
	max-width:400px;
}
.blandinfo a:hover {
	opacity: 0.7;
	text-decoration: none;
}
.blandmap{
	width:45%;
	border:1px solid #dfdfdf;
	height: 0;
overflow: hidden;
padding-bottom: 45%;
position: relative;
	margin:20px 0;
}
.blandmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}

@media only screen and (max-width: 600px)
{
.blandinfo{
	width:100%;
	padding:10px 20px;
}
.blandmap{
	width:96%;
	margin:0 auto;
	}
}



/** 募集要項 **/
#employment-policy {
  padding-top: 2em;
}
#employment-policy dl {
  display: flex;
  justify-content: space-between;
  margin: 20px auto;
}

#employment-policy dt,
#employment-policy dd {
  padding: 1.5em;
  box-sizing: border-box;
}
#employment-policy dt {
  width: 30%;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ccc;
}
#employment-policy dd {
  width: calc( 70% - 6px ); 
  border-bottom: 1px solid #ccc;
}
.contact-form-application {
  text-align: center;
  margin-bottom: 3em;
}
.contact-form-application p {
  font-size: 2.5em;
}
.contact-form-application a {
  display: inline-block;
  padding: 0.8em;
  line-height:160%;
  border-bottom: 3px solid rgba(255,255,255,0);
  background: #eed;
}
.contact-form-application a:hover {
  border-bottom: 3px solid #0250bb;
}

.contact-form {
  margin-bottom: 3em;
}
.contact-form input {
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding: 0 0.5em;
  font-size: 16px;
  transition: border-bottom 0.1s
}
.contact-form input:focus {
  outline: none;
  border-bottom: 2px solid #0250bb;
}
.contact-form input[type="number"] {
  width: 10em;
}
.contact-form input[type="radio"] {
  border-radius: 50%;
}
.contact-form input[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
	width: 95%;
	padding: 2rem;
	margin: auto;
	background: #eee;
	border: 1px solid #333;
	border-radius: 5px;
}
.contact-form textarea {
  border: 1px solid #ccc;
  width: 100%;
  padding: 0 0.5em;
  font-size: 16px;
}
.contact-form .req {
  display: inline;
  font-size: 60%;
  color: #fff;
  background: #f33;
  padding: 4px;
  margin-right: 0.5em;
  vertical-align: middle;
}
.contact-form .mwform-radio-field-text {
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  #employment-policy dl {
    margin: 0 auto;
    display: block;
  }
  #employment-policy dt,
  #employment-policy dd {
    border: none;
    width: 100%;
  }
  #employment-policy dt {
    border-bottom: 1px solid #e6e6e6;
    background: #f6f6f6;
  }
}
.wp-block-image figcaption {
	text-align: center;
}

.navigation.pagination{
	display:block !important;
}