@charset "utf-8";

/* --------------------------------------------


ユニット紹介


---------------------------------------------- */

.unit_item {
 margin: 80px auto 128px;
}
.unit_item:nth-of-type(3) {
 margin: 80px auto 64px;
}

.unit_item_inner {
 position: relative;
}

.unit_image {
 position: absolute;
 right: -50px;
 top: -50px;
 width: 320px;
 z-index: 1;
}

.unit_ttl.flex {
 position: relative;
 justify-content: flex-start;
 align-items: center;
 padding: 0 0 32px;
 line-height: 1.45;
 border-bottom: 2px solid #dcdcdc;
}

.unit_ttl>span {
 display: block;
 margin: 0 0.25em 0 -0.05em;
 font-size: 9.6rem;
 line-height: 0.8;
}

.unit_ttl em {
 font-size: 3.8rem;
 font-weight: 600;
 color: #00321e;
}

.unit_ttl em span {
 margin-left: 0.5em;
 font-size: 1.4rem;
}

.unit_ttl::after {
 content: "";
 display: block;
 position: absolute;
 left: 0;
 bottom: -2px;
 width: 40%;
 height: 3px;
}

.unit_mission {
 margin: 24px 64px;
}

.unit_mission span {
 line-height: 2.2;
 font-size: 2.8rem;
}

.unit_mission em {
 font-size: 2.2rem;
 font-weight: 600;
}

.unit_detail {
 margin: 32px 64px 48px;
}

.unit_detail li {
 margin: 10px 0;
 padding-left: 1.2em;
 text-indent: -1.2em;
 text-align: justify;
}

.unit_detail li::before {
 content: "";
 display: inline-block;
 width: 16px;
 height: 16px;
 margin: -0.2em 0.5em 0 0;
 vertical-align: middle;
 border-radius: 50%;
}

.unit_ttl>span,
.unit_ttl em span,
.unit_mission span {
 background: #299b1f;
 background: linear-gradient(60deg, #299b1f 13%, #69cd57 88%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}

.unit_ttl::after,
.unit_detail li::before {
 background: #299b1f;
 background: linear-gradient(60deg, #299b1f 13%, #69cd57 88%);
}

.unit_item:nth-of-type(even) .unit_ttl>span,
.unit_item:nth-of-type(even) .unit_ttl em span,
.unit_item:nth-of-type(even) .unit_mission span {
 background: #005b3e;
 background: linear-gradient(60deg, #005b3e 13%, #008c3c 88%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}

.unit_item:nth-of-type(even) .unit_ttl::after,
.unit_item:nth-of-type(even) .unit_detail li::before {
 background: #005b3e;
 background: linear-gradient(60deg, #005b3e 13%, #008c3c 88%);
}



@media only screen and (max-width:640px) {

 .unit_item {}

 .unit_item_inner {}

 .unit_image {
  right: -20px;
  top: -70px;
  width: 200px;
 }

 .unit_ttl.flex {
  padding: 0 0 24px;
  z-index: 1;
 }

 .unit_ttl>span {
  width: 100%;
  font-size: 6.4rem;
 }

 .unit_ttl em {
  width: 100%;
  font-size: 3.1rem;
 }

 .unit_ttl em span {}

 .unit_ttl::after {}

 .unit_mission {
  margin: 24px;
 }

 .unit_mission span {}

 .unit_mission em {}

 .unit_detail {
  margin: 48px 24px 64px;
 }

 .unit_detail li {}

 .unit_detail li::before {}

}




/* --------------------------------------------

スライダー

---------------------------------------------- */
.unit_photos {
 width: 106%;
 margin: 0 -3%;
}

.unit_photos_item {
 padding: 32px 8px;
}

.unit_photos_item a {
 transition: 0.5s;
}

.unit_photos_item a:hover {
 opacity: 0.5;
}

.slide-arrow {
 position: absolute;
 top: 0;
 bottom: 0;
 width: 48px;
 height: 48px;
 margin: auto;
 background-size: auto;
 border: none;
 border-radius: 50%;
 z-index: 1;
 cursor: pointer;
 transition: 0.3s;
 box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

.slide-arrow:hover {
 opacity: 0.7;
 box-shadow: 0 0 0px rgba(0, 0, 0, 0);
}

.prev-arrow {
 background-image: url(../_image/common/icon-arrow-g2.svg);
 left: 64px;
}

.next-arrow {
 background-image: url(../_image/common/icon-arrow-g.svg);
 right: 64px;
}


@media only screen and (max-width:640px) {
 .unit_photos {}

 .slide-arrow {}

 .prev-arrow {
  left: 32px;
 }

 .next-arrow {
  right: 32px;
 }


}




/* --------------------------------------------

写真モーダル表示

---------------------------------------------- */

.unit_photos_modal * {
 /* background-color: rgba(255, 255, 5, 0.2); */
}

.unit_photos_modal {
 display: none;
 align-content: center;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100vh;
 background-color: rgba(255, 255, 255, 0.95);
 cursor: pointer;
 z-index: 9999;
}

.unit_photos_modal_bigimg {
 display: flex;
 align-items: center;
 align-content: center;
 justify-content: center;
 width: 90vw;
 height: 60vh;
 max-width: calc(900px * 1);
 max-height: calc(560px * 1);
 margin: 128px auto 0;
 overflow: hidden;
}

.unit_photos_modal_bigimg img {
 width: 100%;
 height: 100%;
 object-fit: contain;
}

.unit_photos_modal_close,
.unit_photos_modal_close * {
 /* background-color: rgba(255, 0, 0, 0.2); */
}

.unit_photos_modal_close {
 display: flex;
 align-content: flex-end;
 width: 90vw;
 margin: 0 auto;
 padding: 16px 0;
 text-align: center;
 cursor: pointer;
}

.unit_photos_modal_close a {
 display: block;
 width: 6em;
 margin: auto auto 0;
 font-size: 2rem;
 text-decoration: none;
 border-bottom: 2px solid #313131;
 transition: 0.3s;
}

.unit_photos_modal_close a span {
 display: block;
 text-align: center;
}

.unit_photos_modal_close a:hover {
 opacity: 0.6;
}


@media only screen and (max-width:640px) {

 .unit_photos_modal_bigimg {
  height: 60vw;
 }

 .unit_photos_modal_close a {}
}