@charset "utf-8";

/*スライディング画像*/
.bl_slide_wrap{
  position: relative;
  z-index: 10;

}

.bl_slide_wrap .slider {
  opacity: 0;
  position: relative;
  z-index: 10;
  animation: FV_slider .6s 0.2s ease-out both;
}
@keyframes FV_slider{
  0% { opacity: 0;}
  100%{opacity: 1;}
}

@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1); /* 拡大率 */
  }
}
.add-animation {
  animation: fadezoom 7s 0s forwards;
}

/* .bl_slide_wrap .slider {
  background-color: rgba(0,0,0,.3);
  background-blend-mode: darken;
} */

.bl_slide_wrap .sl_image img {
  width: 100%;
  object-fit: cover;
  height: calc(100svh - 60px); 
}

/* 100svhが効かなかったら */
@supports not (height: 100svh) {
  .bl_slide_wrap .sl_image img {
    height: calc(100vh - 60px); 
  }
}

/* xs */
@media not screen and (min-width:520px) {
  .bl_slide_wrap .sl_image img {
    min-height: 450px;
  }
}

/* md */
@media screen and (min-width:520px) and (max-width:959.9999px) {
  .bl_slide_wrap .sl_image img {
    height: calc(100vh - 60px);
    min-height: 600px;
  }
}

/* lg */
@media screen and (min-width:960px) {
  /* PC FV表示の時ヘッダーを下部に入れる */
  .bl_slide_wrap .sl_image img {
    height: 100vh;
    min-height: 800px;
  }
}


/* テキストとアイコンのinner */
.bl_slide_wrap_inner {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 1330px;
  margin: auto;
}

.bl_slide_wrap ._catchArea {
  position: absolute;
  width: max-content;
  height: 100%;
  max-height: 500px;
  inset: 0;
  margin: auto;
  z-index: 19;
  background: linear-gradient( rgba(255,255,255,.9) 40%, rgba(255,255,255,0) 100%);
  font-weight: bolder;
  color: #222;
  padding: 40px 20px;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  letter-spacing: .2em;
}

.bl_slide_wrap ._titleArea ._sub {
  font-size: 24px;
}
.bl_slide_wrap ._titleArea ._sub._bottom {
  text-align: right;
  font-size: 28px;
}

.bl_slide_wrap ._catch {
  margin-top: .5em;
  font-weight: 500;
  line-height: 1.3;
  font-size: 28px;
} 

/* .bl_slide_wrap ._titleArea ._txt {
  position: absolute;
  inset: 0;
  margin: auto;

} */


/* xs */
@media not screen and (min-width:520px) {
  .bl_slide_wrap ._catchArea {
    max-height: 400px;
    padding: 30px 15px;
  }
  .bl_slide_wrap ._catch {
    font-size: 24px;
  } 

}


/* -----------------------------------------------------------
こだわり
----------------------------------------------------------- */

.ly_points {
  padding: 100px 15px;
}

/* md */
@media not screen and (min-width:960px) {
  .ly_points {
    padding: 60px 15px;
  }
}

.bl_point_item_wrap {
  position: relative;
}

.bl_point_item {
  position: relative;
  z-index: 20;
  max-width: 1200px;
  margin: 50px auto 100px;
  display: flex;
}

.bl_point_item._rev {
  flex-direction: row-reverse;
}

.bl_point_item ._thumb {
  width: 50%;
  align-self: flex-start;
}

.bl_point_item ._thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bl_point_item ._body {
  flex: 1;
  padding: 2em 4%;
  background: #fff;
}

.bl_point_item._rev ._body {
  padding: 2em 4%;
}

.bl_point_item + .bl_background {
  position: absolute;
  z-index: 10;
  background: #eee;
  width: calc(50% - 30px);
  height: auto;
  left: -15px;
  top: 50px;
  bottom: -50px;
}

.bl_point_item._rev + .bl_background {
  left: auto;
  right: -15px;
}

.bl_point_item ._ttl {
  font-feature-settings: "palt";
  letter-spacing: 0.2em;
  padding-left: 0.2em;
  font-size: 32px;
  margin-bottom: 1.2em;
}

.bl_point_item p {
  line-height: 2;
  margin-bottom: 1.5em;
}
/*スマホ*/

/* md */
@media not screen and (min-width:960px) {
  .bl_point_item, .bl_point_item._rev {
    max-width: 80%;
    margin: 60px auto;
    flex-direction: column;
  }
  .bl_point_item ._thumb {
    width: 100%;
    margin-bottom: 0;
  }
  .bl_point_item ._body {
    padding: 2em 2em;
  }
  .bl_point_item+.bl_background {
    width: calc(100% + 30px); 
    top: -30px;
    bottom: -30px;
  }
  .bl_point_item._rev+.bl_background {
    left: auto;
  }

  .bl_point_item ._ttl {
    text-align: center;
    font-size: 24px;
  }
}

/* xs */
@media not screen and (min-width:520px) {
  .bl_point_item, .bl_point_item._rev {
    max-width: none;
  }
  .bl_point_item ._body {
    padding: 15px;
  }
}

/* -----------------------------------------------------------
アニメーション
----------------------------------------------------------- */

.bl_point_item + .bl_background {
  width: 0.01%;
  opacity: 0;
}
/*PC*/

/* lg */
@media screen and (min-width:960px) {
  .is_active .bl_point_item + .bl_background {
    animation: bl_background_pc 2s 0s cubic-bezier(0.5, 0, 0, 1) both;
  }
  @keyframes bl_background_pc {
    100% {
      width: calc(50% - 30px);
      opacity: 1;
    }
  }
}

/* md */
@media not screen and (min-width:960px) {
  .is_active .bl_point_item + .bl_background {
    animation: bl_background_sp 2s 0s cubic-bezier(0.5, 0, 0, 1) both;
  }
  @keyframes bl_background_sp {
    100% {
      width: calc(100% + 30px);
      opacity: 1;
    }
  }
}

.bl_point_item ._thumb {
  opacity: 0;
}

.is_active .bl_point_item ._thumb {
  animation: bl_point_item_image 2s 0.5s cubic-bezier(0.5, 0, 0, 1) both;
}

@keyframes bl_point_item_image {
  100% {
    opacity: 1;
  }
}

.bl_point_item ._body {
  opacity: 0;
}

.is_active .bl_point_item ._body {
  animation: bl_point_item_txt 2s 1.0s cubic-bezier(0.5, 0, 0, 1) both;
}

@keyframes bl_point_item_txt {
  100% {
    opacity: 1;
  }
}


/*----------------------------------------
	ごあいさつ
----------------------------------------*/
.bl_greetingBoxArea {
  background: rgba(255,255,255,.9);
}
.bl_greetingBox {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 30px 4.5%;
  padding: 30px;
}
.bl_greetingBox_thumb {
  position: relative;
  width: 45%;
}
.bl_greetingBox_thumb img {
  display: block;
  width: 100%;

  object-fit: cover;
}
.bl_greetingBox_body {
  flex: 1;
}
.bl_greetingBox_txt {
  line-height: 2;
}



/* md */
@media not screen and (min-width:960px) {
  .bl_greetingBox {
    flex-direction: column;
    padding: 20px;
  }
  .bl_greetingBox_thumb {
    width: 100%;
  }
}
/* xs */
@media not screen and (min-width:520px) {
  .bl_greetingBox {
    padding: 30px 20px;
  }
}

/*----------------------------------------
	事業内容専用
----------------------------------------*/
.bg_service {
  background: #f6f6f6;
}

.ly_service {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  max-width: 1230px;
  padding: 50px 15px;
}

/* serviceWrap 
-------------------------------*/
.bl_serviceWrap {
  margin-left: -15px;
  margin-right: -15px;
  
}

/* lg */
@media screen and (min-width:960px) {
  .ly_service {
    padding: 100px 15px;
  }
  

  .bl_serviceWrap {
    margin-bottom: 100px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
  }
}

/* service
-------------------------------*/

.bl_service_body {
  position: relative;
  z-index: 1;
  margin: -50px 15px 0;
  padding: 30px 20px;
  background: #fff;
  /* border: 1px solid #37952F; */
}
.bl_service_txt {
  margin-top: 25px;
  font-size: 16px;
  line-height: 2;
}
.bl_service_txt p + p {
  margin-top: 1em;
}
.bl_service:not(:first-child) {
  margin-top: 60px;
}

/* lg */
@media screen and (min-width:767px) {
  /*サービス紹介ブロック*/
  .bl_service {
    position: relative;
    padding-top: 70px; 
  }
  .bl_service:not(:first-child) {
    margin-top: 140px;
  }

  /*イメージ写真*/
  /*画像の高さが500px固定・幅は常に50vw、absoluteで配置*/
  .bl_service_image {
    position: absolute;
    top: 0;
    left: 50%; /*右半分を画像とするため、left起点で配置*/
    width: 50vw;
    overflow: hidden;
  }
  .bl_service._rev .bl_service_image {
    left: auto;
    right: 50%; /*左半分を画像とするため、right起点で配置*/
  }
  .bl_service_image img {
    max-width: none;
    width: 100%;
    height: 500px; 
    object-fit: cover;
  }
  /*テキストブロック*/
  .bl_service_body {
    margin: 0;
    padding: 40px;
    width: calc((716/1084)*100%);
    min-height: 340px;
  }
  .bl_service._rev .bl_service_body {
    margin-left: auto; /*テキストブロックを右に寄せる*/
  }
  .bl_service_ttl .sub {
    font-size: 20px;
  }
  .bl_service_ttl .main {
    font-size: 28px;
  }
  .bl_service_txt {
    font-size: 16px;
  }
}

/*----------------------------------------
インフォメーション
----------------------------------------*/
.bl_infoCardList {
  display: flex;
  flex-direction: column;
  gap: 40px 5%;
}

.bl_infoCardList_item {
  text-decoration: none;
  color: inherit;
}

.bl_infoCardList_item_thumb {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  
}

.bl_infoCardList_item_thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .7s, filter .7s;
  filter: sepia(10%);
}

.bl_infoCardList_item:hover .bl_infoCardList_item_thumb img {
  transform: scale(1.075);
  filter: sepia(0%);
}

.bl_infoCardList_item_body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.bl_infoCardList_item_body ._ttl {
  padding: 1.6rem;
  font-size: 20px;
  font-weight: normal;
} 

/* lg */
@media screen and (min-width:960px) {
  .bl_infoCardList {
    flex-direction: row;
  }
  .bl_infoCardList_item {
    width: calc(100% - 4.5%);
  }
  .bl_infoCardList_item_body ._ttl {
   font-size:22px;
  }
}


/* -----------------------------------------------------------
マップ
----------------------------------------------------------- */
.bl_mapTop {
  position: relative;
}
.bl_mapTop iframe {
  width: 100%;
  height: 600px;

}

/* md */
@media not screen and (min-width:960px) {
  .bl_mapTop iframe {
    height: 350px;
  }
}