@charset "utf-8";
@import url(cmn.css);
@import url(base.css);

/* ==========================================================================
	CONTENTS
	========================================================================== */

/*COMPANY*/

.company dl {
	display: flex;
	padding: 20px;
}
.company dl:nth-child(odd) {
	background-color: #eee;
}
.company dl dt {
	width: 130px;
}
.company dl dd {
	flex: 1;
}

/*HISTORY*/

.history dl {
	display: flex;
	margin-bottom: 40px;
}
.history dl dt {
	width: 110px;
	font-size: 90%;
	font-weight: bold;
	padding-top: 20px;
}
.history dl dd {
	flex: 1;
	border-left: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	padding: 20px;
}

/*BUSINESS*/

.img-txt01 .txt {
  float: left;
  width: 55%;
}
.img-txt01 .img {
  float: right;
  width: 40%;
}

/*WORKS*/

.works li {
  margin-bottom: 50px;
}
.works li img {
  display: block;
  margin-bottom: 15px;
}
.works .box {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}
.works .box:before {
  content:"";
  display: block;
  padding-top: 66.6666%; /* 高さを幅の75%に固定 */
}
.works .box .inner {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.works .box .inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  font-family: 'object-fit: cover;';
}

/*RECRUIT*/

.table-cmn01 th {
  width: 200px;
  text-align: center;
  background-color: #d1eef9;
  border: solid 1px #ccc;
  padding: 15px;
}
.table-cmn01 td {
  border: solid 1px #ccc;
  padding: 15px;
}

/*CONTACT*/

.contact-form .inner {
	width: 90%;
	background-color: #fff;
	border-radius: 5px;
	margin: 0 auto 50px auto;
}

.contact-form .inner dl {
  display: flex;
  border-bottom: solid 1px #ccc;
  padding-bottom: 25px;
  margin-bottom: 25px;
}
.contact-form .inner dt {
	width: 250px;
}
.contact-form .inner dd {
  flex: 1;
}
.contact-form .inner dd .contact-list {
  display: inline-block;
}
.contact-form .inner dd .contact-list:first-child {
  margin-right: 10px;
}

.hissu {
  display: inline-block;
	color: #fff;
	font-size: 70%;
	line-height: 100%;
	text-align: center;
	background-color: #d40000;
	border-radius: 3px;
	padding: 2px 5px;
	margin-left: 7px;
}
.err {
  color: #e00202;
}

.input01 input {
	background-color: #f2f2f2;
	border: solid 1px #f2f2f2;
	border-radius: 3px;
	padding: 20px;
	width: 100%;
}
.input02 input {
	background-color: #f2f2f2;
	border: solid 1px #f2f2f2;
	border-radius: 3px;
	padding: 20px;
	width: 50%;
}
.input03 input {
	background-color: #f2f2f2;
	border: solid 1px #f2f2f2;
	border-radius: 3px;
	padding: 20px;
}
textarea {
	width: 100%;
	background-color: #f2f2f2;
	border: solid 1px #f2f2f2;
	border-radius: 3px;
	padding: 20px;
}
.radio {
  line-height: 3rem;
}
select {
  width: 50%;
  border: solid 1px #ccc;
  padding: 10px;
}

/*bt*/

.form-bt-wrapper {
  text-align: center;
}
.form-bt {
	width: 500px;
  display: inline-block;
  text-align: center;
	margin: 0 auto;
}
.form-bt li {
  display: inline-block;
  width: 220px;
  margin: 0 10px;
}
.form-bt li input {
  display: block;
	width: 100%;
}
.bt-submit input {
	color: #fff;
	background-color: #e96b26;
	border: solid 1px #e96b26;
  border-radius: 80px;
	padding: 15px 0;
	cursor: pointer;
	-webkit-transition: 0.4s ease-in-out;  
		 -moz-transition: 0.4s ease-in-out;  
			 -o-transition: 0.4s ease-in-out;  
					transition: 0.4s ease-in-out;  
}
.bt-submit input:hover {
	background-color: #ee9768;
	border: solid 1px #ee9768;
}
.bt-reset input {
	color: #fff;
	background-color: #959595;
	border: solid 1px #959595;
  border-radius: 80px;
	padding: 15px 0;
	cursor: pointer;
	-webkit-transition: 0.4s ease-in-out;  
		 -moz-transition: 0.4s ease-in-out;  
			 -o-transition: 0.4s ease-in-out;  
					transition: 0.4s ease-in-out;  
}
.bt-reset input:hover {
	background-color: #bdbdbd;
	border: solid 1px #bdbdbd;
}

.form-bt02 {
	width: 40%;
	margin: 0 auto;
}
.form-bt02 li input {
	width: 100%;
}

.thanks {
	margin-bottom: 50px;
}
.back-top {
	color: #223f9e;
	font-weight: bold;
	text-decoration: underline;
	text-align: center;
}
.back-top a {
	color: #223f9e;
}


/* 各ベンダープレフィックスが取れた標準版 */
:placeholder-shown {
	color: #cecece;
}
/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder {
	color: #cecece;
}
/* Firefox 18- */
:-moz-placeholder {
	color: #cecece; opacity: 1;
}
/* Firefox 19+ */
::-moz-placeholder {
	color: #cecece; opacity: 1;
}
/* IE 10+ */
:-ms-input-placeholder {
	color: #cecece;
}

/*チェックボックス*/

.checkbox01-input{
  display: none;
}
.mwform-checkbox-field-text{
  padding-left: 25px;
  position:relative;
}
.mwform-checkbox-field-text::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
	background-color: #fff;
  border: 2px solid #d9d9d9;
  border-radius: 4px;
}
.checkbox01-input:checked + .mwform-checkbox-field-text{
  color: #3bbe9e;
}
.checkbox01-input:checked + .mwform-checkbox-field-text::after{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #3bbe9e;
  border-right: 3px solid #3bbe9e;
}

/* works */
#gallery_slider {
  width: 100%;
  margin: 0 auto 20px;
}
.slide-item img {
  width: auto !important;
  max-height: 50vh;
}
#thumbnail-list {
  margin: 0 auto 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.thumbnail-item {
  margin-bottom: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  cursor: pointer;
  text-align: center;
  width: 15.8%;
  margin-right: 1%;
}
.thumbnail-item:nth-child(6n) {
  margin-right: 0;
}
.thumbnail-item:after {
  content: '';
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-transition: .3s opacity linear;
  transition: .3s opacity linear;
}
.thumbnail-item.thumbnail-current:after {
  opacity: 0;
}
.thumbnail-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    margin: 0 0 10px;
}
@media only screen and (max-width: 990px) {
.thumbnail-item img {
      height: 90px;
      object-fit: cover;
  }
}
@media only screen and (max-width: 767px) {
  #gallery_slider {
    margin: 0 auto 50px;
  }
}

#gallery_slider {
  opacity: 0;
  -webkit-transition: opacity .3s linear;
  transition: opacity .3s linear;
}
#gallery_slider.slick-initialized {
  opacity: 1;
}
#gallery_slider li.slide-item span {
  text-align: center;
  display: block;
  margin: 10px 0;
}
@media only screen and (max-width: 767px) {
  .slide-item img {
    max-height: 100%;
  }
  .thumbnail-item {
    width: 32.3%;
    margin-right: 1%;
  }
  .thumbnail-item:nth-child(3n) {
    margin-right: 0;
  }
}

.flexBox {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.flexBox.vertical {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.flexBox.reversal {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

.flexBox.flexBetween {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.flexBox.blocks_2 > * {
  width: calc((100% - 2%) / 2);
  margin-left: 0;
  margin-right: 2%;
  margin-bottom: 2%;
}
.flexBox.blocks_2 > *:nth-child(2n) {
  margin-right: 0;
}

.flexBox.blocks_3 > * {
  width: calc((100% - 4%) / 3);
  margin-right: 2%;
}
.flexBox.blocks_3 > *:nth-child(3n) {
  margin-right: 0;
}

.flexBox.blocks_4 > * {
  width: calc((100% - 6%) / 4);
  margin-right: 2%;
}
.flexBox.blocks_4 > *:nth-child(4n) {
  margin-right: 0;
}

.flexBox.blocks_5 > * {
  width: calc((100% - 8%) / 5);
  margin-right: 2%;
}
.flexBox.blocks_5 > *:nth-child(5n) {
  margin-right: 0;
}

.flexBox.blocks_6 > * {
  width: calc((100% - 10%) / 6);
  margin-right: 2%;
}
.flexBox.blocks_6 > *:nth-child(6n) {
  margin-right: 0;
}

.flexBox.blocks_7 > * {
  width: calc((100% - 12%) / 7);
  margin-right: 2%;
}
.flexBox.blocks_7 > *:nth-child(7n) {
  margin-right: 0;
}

.flexBox.blocks_8 > * {
  width: calc((100% - 14%) / 8);
  margin-right: 2%;
}
.flexBox.blocks_8 > *:nth-child(8n) {
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .flexBox:not(.sp_2) > * {
    width: 100%;
    display: block;
  }
  .flexBox:not(.sp_2) > *:not(ul) {
    margin: 5px auto;
  }

  .flexBox.sp_2 > * {
    width: calc(100% / 2);
  }
}


/* 
==========================================================================
	PC 1025px -
	========================================================================== */

@media screen and (min-width: 1025px){


}


/* ==========================================================================
	TABLET - 1024px
	========================================================================== */

@media screen and (max-width:1024px){


/*CONTACT*/

.contact-form .inner {
	width: 100%;
	margin: 0 auto 30px auto;
}

.contact-form .inner dl {
  display: block;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.contact-form .inner dt {
	width: 100%;
  margin-bottom: 5px;
}
.contact-form input {
  font-size: 16px;
}
.input02 input {
	width: 70%;
}

/*bt*/

.form-bt {
	width: 100%;
}
.form-bt li {
  width: 40%;
  margin: 0 10px;
}

/*WORKS*/

#thumbnail-list {
	display: none;
}

}

/* ==========================================================================
	SP - 640px
	========================================================================== */

@media screen and (max-width: 640px) {

/*COMPANY*/

.company dl {
	display: block;
	padding: 15px;
}
.company dl dt {
	width: 100%;
	margin-bottom: 10px;
}

/*HISTORY*/

.history dl {
	display: block;
	margin-bottom: 20px;
}
.history dl dt {
	width: 100%;
	padding-top: 0;
	margin-bottom: 10px;
}
.history dl dd {
	padding: 15px;
}

/*BUSINESS*/

.img-txt01 .txt {
  float: none;
  width: 100%;
  margin-bottom: 20px;
}
.img-txt01 .img {
  float: none;
  width: 100%;
}

/*WORKS*/

.works ul {
  width: 105%;
}
.works li {
  width: 45%;
  margin: 0 5% 5% 0;
}
.works li img {
  margin-bottom: 10px;
}

/*RECRUIT*/

.table-cmn01 {
  border-bottom: solid 1px #ccc;
}
.table-cmn01 th {
  display: block;
  width: 100%;
  border-bottom: none;
  padding: 12px;
}
.table-cmn01 td {
  display: block;
  width: 100%;
  border-bottom: none;
  padding: 12px;
}


}

