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

.nav-top a {
	background-color: #5aaf94;
}

/* ==========================================================================
	MAIN
	========================================================================== */
	
.mainslider {
  max-width: 1900px;
  position: relative;
  overflow: hidden;
  background-color: #000;
  margin: 0 auto 80px auto;
}
.slider {
	position: relative;
	width: 100%;
	left: 50%;
	margin: 0 auto 0 -50%;
}
.slick-slide img {
	width: 100%;
  opacity: 0.6;
}
.mainslider__text {
  position: absolute;
  bottom: 10%;
  left: 5%;
  color: #fff;
  font-family: var(--font01);
  text-align: left;
}
.mainslider__text h2 {
  font-size: clamp(2rem,3.75vw,3.4rem);
  line-height: 100%;
  margin-bottom: 20px;
}
.mainslider__text h3 {
  font-size: clamp(5rem,12.5vw,11rem);
  line-height: 100%;
}

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

/*TOP*/

.news__inner {
  background-color: var(--color02);
  padding: 40px;
}
.greeting {
  color: #fff;
}
.works {
  color: #fff;
}
.works .tit-cmn02,.works p {
  text-align: center;
}
.works .bt-cmn01 a {
  color: #000;
  background-color: #fff;
}

/*COMPANY*/

.outline tr:nth-child(odd) {
  background-color: var(--color02);
}
.outline__tit {
  width: 150px;
  padding: 20px;
}
.outline__txt {
  padding: 20px;
}

/*BUSINESS*/

.facilities__item {
  text-align: center;
}
.facilities__item img {
  display: block;
  margin-bottom: 10px;
}

/*CONTACT*/

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

.contact th {
	width: 250px;
  padding-bottom: 20px;
}
.contact td {
  padding-bottom: 20px;
}

.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;
}
.error_messe {
  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: #000;
	border: solid 1px #000;
  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: #4f4f4f;
	border: solid 1px #4f4f4f;
}
.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;
}
.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: #858585;
}
.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 #858585;
  border-right: 3px solid #858585;
}

/*INFORMATION*/

.article__tit {
  font-size: clamp(1.6rem,2.25vw,2rem);
  border-bottom: solid 2px var(--color01);
  padding-bottom: 20px;
  margin-bottom: 10px;
}
.article__date {
  font-size: 80%;
  text-align: right;
}
.pager a {
  color: var(--color01);
}
.article .tit-cmn02 {
  margin-bottom: 10px;
}
.anchor {
	background-color: var(--color02);
	padding: 40px 0;
}
.inner-wrap {
  display: block;
  table-layout: fixed;
  width: 100%;
  overflow: hidden;
}
.inner-wrap .blockLine {
  padding: 0;
  clear: both;
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
}
.inner-wrap .blockLine > .block {
  display: inline-block;
  width: 49%;
  padding: 0;
  margin: auto;
  float: left;
  margin-right: 2%;
  margin-bottom: 2%;
  text-align: left;
}
.inner-wrap .blockLine > .block p {
  text-align: left;
}
.inner-wrap .blockLine > .block figure {
  display: block;
  margin: auto;
}
.inner-wrap .blockLine > .block:first-child {
  margin-left: 0 !important;
}
.inner-wrap .blockLine > .block:last-child {
  margin-right: 0 !important;
}
.inner-wrap .blockLine.blocks_2 > .block {
  width: calc((100% - 2%) / 2);
}
.inner-wrap .blockLine.blocks_3 > .block {
  width: calc((100% - 4%) / 3);
}
.inner-wrap .blockLine.blocks_4 > .block {
  width: calc((100% - 6%) / 4);
}
.inner-wrap .blockLine.blocks_5 > .block {
  width: calc((100% - 8%) / 5);
}
.inner-wrap .blockLine.blocks_6 > .block {
  width: calc((100% - 10%) / 6);
}
.inner-wrap .blockLine.blocks_7 > .block {
  width: calc((100% - 12%) / 7);
}
.inner-wrap .blockLine.blocks_8 > .block {
  width: calc((100% - 14%) / 8);
}
.inner-wrap .blockLine.blocks_2 > .block:nth-child(2n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_3 > .block:nth-child(3n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_4 > .block:nth-child(4n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_5 > .block:nth-child(5n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_6 > .block:nth-child(6n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_7 > .block:nth-child(7n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_8 > .block:nth-child(8n) {
  margin-right: 0;
}

.inner-wrap .blockLine.vertical > .block {
  float: none;
  vertical-align: middle;
  position: relative;
}
.inner-wrap .blockLine.reversal > .block {
  float: right;
  position: relative;
}
.inner-wrap .blockLine .block.last + .block {
  margin-left: 0;
  clear: both;
}
.inner-wrap .blockLine.reversal > .block:first-child {
  margin-left: 2% !important;
  margin-right: 0;
}
.inner-wrap .blockLine.reversal > .block:last-child {
  margin-left: 0;
}

.blockLine > .block.wd10 {
  width: 9%;
}

.blockLine > .block.wd15 {
  width: 14%;
}

.blockLine > .block.wd20 {
  width: 19%;
}

.blockLine > .block.wd25 {
  width: 24%;
}

.blockLine > .block.wd30 {
  width: 29%;
}

.blockLine > .block.wd35 {
  width: 34%;
}

.blockLine > .block.wd40 {
  width: 39%;
}

.blockLine > .block.wd45 {
  width: 44%;
}

.blockLine > .block.wd50 {
  width: 49%;
}

.blockLine > .block.wd55 {
  width: 54%;
}

.blockLine > .block.wd60 {
  width: 59%;
}

.blockLine > .block.wd65 {
  width: 64%;
}

.blockLine > .block.wd70 {
  width: 69%;
}

.blockLine > .block.wd75 {
  width: 74%;
}

.blockLine > .block.wd80 {
  width: 79%;
}

.blockLine > .block.wd85 {
  width: 84%;
}

.blockLine > .block.wd90 {
  width: 89%;
}

.blockLine > .block.wd95 {
  width: 94%;
}

.blockLine > .block.wd100 {
  width: 99%;
}

@media (max-width: 767px) {
  .inner-wrap .blockLine:not(.fix) > .block {
    display: block;
    text-align: center;
    margin: 0 auto 15px;
    width: 100%;
    float: none;
  }
  .inner-wrap .blockLine:not(.fix) .wd10, .inner-wrap .blockLine:not(.fix) .wd20, .inner-wrap .blockLine:not(.fix) .wd30, .inner-wrap .blockLine:not(.fix) .wd40, .inner-wrap .blockLine:not(.fix) .wd60, .inner-wrap .blockLine:not(.fix) .wd70, .inner-wrap .blockLine:not(.fix) .wd80, .inner-wrap .blockLine:not(.fix) .wd90, .inner-wrap .blockLine:not(.fix) .wd15, .inner-wrap .blockLine:not(.fix) .wd25, .inner-wrap .blockLine:not(.fix) .wd35, .inner-wrap .blockLine:not(.fix) .wd45, .inner-wrap .blockLine:not(.fix) .wd65, .inner-wrap .blockLine:not(.fix) .wd75, .inner-wrap .blockLine:not(.fix) .wd85, .inner-wrap .blockLine:not(.fix) .wd95 {
    width: 100%;
  }
  .inner-wrap .blockLine:not(.fix).sp_2 > .block {
    display: inline-block;
    width: 49%;
    padding: 0;
    margin: auto;
    float: left;
    margin-top: 2%;
    text-align: left;
  }
  .inner-wrap .blockLine:not(.fix).sp_2 > .block:nth-child(even) {
    margin-left: 2%;
  }
  .inner-wrap .blockLine:not(.fix).sp_2 > .block:nth-child(odd) {
    clear: both;
  }
  .inner-wrap .blockLine.reversal > .block:first-child {
    margin-left: 0 !important;
  }
  }
  
  /*WORKS*/

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

#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){

.greeting {
	position: relative;
  background: url("../images/cmn-images/bg01.jpg") 50% 50% no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}
.works {
	position: relative;
  background: url("../images/cmn-images/bg02.jpg") 50% 50% no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}

}
@media screen and (max-width: 1200px){/*1200以下*/

}


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

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

/*TOP*/

.slider {
	width: 150%;
	margin: 0 auto 0 -75%;
}

.greeting {
  background: url("../images/cmn-images/bg01.jpg") 50% 50% no-repeat;
  padding: 60px 0;
}
.works {
  background: url("../images/cmn-images/bg02.jpg") 50% 50% no-repeat;
  padding: 60px 0;
}

/*CONTACT*/

.contact .inner {
	width: 100%;
}

}

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

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

/*TOP*/

.news__inner {
  padding: 20px;
}
.greeting {
  padding: 40px 0;
}
.works {
  padding: 40px 0;
}

/*COMPANY*/

.outline {
  display: block;
}
.outline__tit {
  width: 100px;
  font-size: 90%;
  padding: 15px;
}
.outline__txt {
  padding: 15px;
}

/*CONTACT*/

.contact .inner {
	margin: 0 auto 30px auto;
}
.contact th {
  display: block;
	width: 100%;
  padding-bottom: 10px;
}
.contact td {
  display: block;
	width: 100%;
  padding-bottom: 20px;
}

.contact input,.contact textarea {
  font-size: 16px;
}
.input02 input {
	width: 70%;
}
.form-bt {
	width: 100%;
}
.form-bt li {
  width: 40%;
  margin: 0 10px;
}

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

.thanks {
	margin-bottom: 30px;
}

/*WORKS*/

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

#thumbnail-list {
	display: none;
}

}

