@charset "UTF-8";

/*-MV調整-*/
@media screen and (max-width: 900px) {
    #mv {
        width: 100%;
    }
}
#top_about + section{
  position: relative;
 }
#top_about + section::after{
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 0.8);
 }
/*サービス*/
/*1つ目*/
#top_service + .composite_box01 .inner_item:nth-of-type(1):nth-last-of-type(4) .heading.block_header_4 .h{
  color: #d1b9a9;
}
#top_service+ .composite_box01 .inner_item:nth-of-type(1):nth-last-of-type(4) .inner_item_txt:before{
  background: #f5efe8;
}
/*2つ目*/
#top_service + .composite_box01.block_images_24 .inner_item:nth-of-type(2n) .heading.block_header_4 .h{
  color: #afafaf;
}
#top_service+ .composite_box01.block_images_24 .inner_item:nth-of-type(2n) .inner_item_txt:before{
  background: #efefed;
}
/*3つ目*/
#top_service + .composite_box01 .inner_item:nth-of-type(3):nth-last-of-type(2) .heading.block_header_4 .h{
  color: #c0d3d3;
}
#top_service+ .composite_box01 .inner_item:nth-of-type(3):nth-last-of-type(2) .inner_item_txt:before{
  background: #f2f8f8;
}
/*4つ目*/
#top_service + .composite_box01.block_images_24 .inner_item:last-child .heading.block_header_4 .h{
  color: #dbb6bd;
}
#top_service+ .composite_box01.block_images_24 .inner_item:last-child .inner_item_txt:before{
  background: #efe7e9;
}


/*-------------CASES調整-------------*/
#top_cases + .widget_gallery01 .slick-arrow,
#top_cases + .widget_gallery01 .slick-next {
    background: var(--i_txt_color);
}
#top_cases + .widget_gallery01 .slick-arrow:before {
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

/*イベント*/
#top_event + .block_news_1 ul{
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: auto auto;
}
#top_event + .block_news_1 ul li:nth-child(1){
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    border: none;
}
#top_event + .block_news_1.add_design5 .content_wrapper li:nth-child(1) a{
    padding-top: 300px;
    padding-left: 0;
    padding-top: min(210px, 17vw);
    padding-left: 5%;
    padding-right: 5%;
}
#top_event + .block_news_1 ul li:nth-child(1) a span{
    top: 15px;
    left: 5%;
    width: 90%;
    padding-bottom: 0;
    aspect-ratio: 205 / 124;
    height: auto;
}
#top_event + .block_news_1 ul li:nth-child(2){
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
#top_event + .block_news_1 ul li:nth-child(3){
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
#top_event + .block_news_1 ul li:nth-child(4){
    grid-column: 2 / 3;
    grid-row: 3 / 3;
}
@media screen and (max-width: 800px){
  #top_event + .block_news_1 ul{
    grid-template-rows: auto auto auto auto auto;
    grid-template-columns: auto;
  }
  #top_event + .block_news_1.add_design5 .content_wrapper li:nth-child(1) a{
    padding-top: 60vw;
  }
  #top_event + .block_news_1 ul li:nth-child(1){
    grid-column: 1;
    grid-row: 1 / 2;
    border-bottom: 1px solid var(--i_border_color);
  }
  #top_event + .block_news_1 ul li:nth-child(2){
    grid-column: 1;
    grid-row: 2 / 3;
  }
  #top_event + .block_news_1 ul li:nth-child(3){
    grid-column: 1;
    grid-row: 3 / 4;
  }
  #top_event + .block_news_1 ul li:nth-child(4){
    grid-column: 1;
    grid-row: 4 / 5;
  }
}

@media screen and (max-width: 450px){
  #top_event + .block_news_1.add_design5 .content_wrapper li a{
    padding-right: 10px;
  }
}