@charset "UTF-8";

/*****************************
    topスライド
*****************************/
.topslider {
  height: 95vh;
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* .topslider::after{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  background: rgb(0 0 0 / 13%);
} */
.topslider .slideitem {
  height: 95vh;
  width: 100%;
}
.catchcopy{
  position: absolute;
  display: inline-block;
  color: #fff;
  top: 76%;
  right: 6%;
  transform: translateY(-50%) translateX(-8%);
  margin: 0;
  padding: 10px 0;
  z-index: 1;
}
.catchcopy h2{
  font-size: 40px;
  background: #E89BBE;
  padding: 6px 20px;
  display: inline-block;
}
.catchcopy p{
  font-size: 40px;
  background: #E89BBE;
  margin-top: 10px;
  padding: 6px 20px;
}

@media only screen and (max-width: 1180px) {
  .catchcopy {
    position: absolute;
    display: inline-block;
    top: 82%;
    right: 0;
    transform: translateY(-50%) translateX(-5%);
    margin: 0;
    padding: 10px 0;
    z-index: 1;
  }
}
@media screen and (max-width: 1024px) {
}

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

@media screen and (max-width: 767px) {
  .topslider,
  .topslider .slideitem{
    width: 500px;
    height: 100%;
    aspect-ratio: 1/1;
  }
  .catchcopy {
    position: absolute;
    display: inline-block;
    top: 84%;
    right: 5%;
    transform: translateY(-50%) translateX(-1%);
    margin: 0;
    padding: 10px 0;
    z-index: 1;
  }
  .catchcopy h2 {
    font-size: 26px;
    line-height: 1.2;
  }
  .catchcopy p {
    font-size: 26px;
    line-height: 1.2;
  }
}

/*****************************
  TOP TITLE
*****************************/
.title-type01 {
  text-align: center;
  margin: 0 auto 20px;
}
.title-type01 .ttl-main {
  letter-spacing: 1px;
  font-size: 28px;
  line-height: 1.4;
  position: relative;
}
@media screen and (max-width: 767px) {
  .title-type01 .ttl-main {
    font-size: 22px;
  }
}

.title-type01 .ttl-main:before {
  content: "";
  width: 365px;
  height: 2px;
  background: #E89BBE;
  position: absolute;
  left: 50%;
  bottom: -15%;
  transform: translateY(-50%) translateX(-50%);
}
@media screen and (max-width: 767px) {
  .title-type01 .ttl-main:before {
    width: 50px;
    bottom: -25%;
  }
}

.title-type01 .ttl-sub {
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 10px;
  font-weight: bold;
  color: #868485;
}

/*****************************
  topsec2
*****************************/
.topsec2{
  margin: 30px 0;
  padding: 30px 0;
}
.greetingtxt{
  text-align: center;
  line-height: 1.8;
}
@media only screen and (max-width: 767px) {
  .greetingtxt{
    text-align: left;
  }
}

/*****************************
  top service
*****************************/
.topservice{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}
.topservice li{
  width: calc(100% / 4);
  position: relative;
}
.topservice li a::after{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  background: rgb(0 0 0 / 40%);
}
.topservice li a h3{
  color: #fff;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 100%;
  z-index: 1;
}
.topservice li a:hover{
  opacity: 1;
  transition: opacity .2s ease;
}
.topservice li a:hover::after{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  background: none;
}
@media only screen and (max-width: 1024px) {
  .topservice li a h3{
    font-size: 18px;
  }
}
@media only screen and (max-width: 820px) {
  .topservice li {
    width: calc(100% / 2);
  }
}
@media only screen and (max-width: 767px) {
  .topservice li {
    width: 100%;
    height: 200px;
  }
  .topservice li img{
    height: 200px;
    width: 100%;
  }
}

/*****************************
  topsec3
*****************************/
.topsec3{
  padding: 60px 0;
  background: #FAF7F7;
}
.top_r_flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 30px;
}
.top_r_fbox{
  background: #fff;
  padding: 20px;
  display: inline-block;
  height: 250px;
  width: calc(100% / 3 - 10px);
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.toprttl{
  position: relative;
}
.toprttl p{
  position: absolute;
  top: -20px;
  left: -20px;
  background: #E89BBE;
  color: #fff;
  padding: 3px 10px;
}
.toprttl span{
  font-size: 24px;
  margin-left: 5px;
}
.top_r_fbox h3{
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 20px;
}
@media only screen and (max-width: 1024px) {
  .top_r_fbox{
    height: 280px;
  }
}
@media only screen and (max-width: 820px) {
  .top_r_fbox {
    background: #fff;
    width: calc(100% / 2 - 10px);
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 767px) {
  .top_r_fbox {
    background: #fff;
    height: 280px;
    width: 100%;
  }
}

/******************************
  VOICE
******************************/
.voicebox{
  padding: 0 20px;
}
.voiceflex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 30px;
}
.voicefbox1{
  width: 10%;
}
.voicefbox2{
  width: 86%;
}

/* 吹き出し右向き */
.speechBubble {
  position: relative;
  display: inline-block;
  margin-right: 16px;
  padding: 16px;
  border: 1px solid #282828;
  border-radius: 12px;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
}
.speechBubble::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #282828;
  translate: 100% -50%;
}
.speechBubble::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  border-style: solid;
  border-width: 6.9px 0 6.9px 13.8px;
  border-color: transparent transparent transparent #ffffff;
  translate: 100% -50%;
}

/* 吹き出し左向き */
.speechBubble2 {
  position: relative;
  display: inline-block;
  margin-left: 16px;
  padding: 16px;
  border: 1px solid #282828;
  border-radius: 12px;
  background-color: #ffffff;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
}
.speechBubble2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  border-style: solid;
  border-width: 8px 16px 8px 0;
  border-color: transparent #282828 transparent transparent;
  translate: -100% -50%;
}
.speechBubble2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  border-style: solid;
  border-width: 6.9px 13.8px 6.9px 0;
  border-color: transparent #ffffff transparent transparent;
  translate: -100% -50%;
}
@media only screen and (max-width: 767px) {
  .voicebox{
    padding: 0 10px;
  }
  .voicefbox1 {
    width: 23%;
  }
  .voicefbox2 {
    width: 75%;
  }
}

/*****************************
  AREA
*****************************/
.areaflex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.areafbox{
  width: 50%;
  margin-right: 20px;
}
.areafbox2{
  width: 45%;
}
.area1{
  margin-bottom: 20px;
}
@media only screen and (max-width: 820px) {
  .areafbox{
    width: 100%;
    margin-right: 0;
  }
  .areafbox2{
    width: 100%;
  }
}

/*****************************
  TOP BG
*****************************/
.topbg {
  position: relative;
  background: url(../images/top/topbg.webp) center / cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  height: 50vh;
}

/*****************************
  top news
*****************************/
.topsec2{
  margin: 30px 0;
  padding: 30px 0;
}
.news_flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.news_title{
  position: relative;
  text-align: center;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  height: 600px;
}
.news_title h2 {
  font-size: 35px;
  display: inline-block;
  background: #fff;
  padding: 30px 0px;
  letter-spacing: 3px;
}
.news_title h2::first-letter,
.blue{
  color: #E89BBE;
}
.news_title h2:before, .news_title h2:after {
  position: absolute;
  content: '';
  background: #eee;
  height: 13%;
  left: 47%;
  transform: translate(50%, 0%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  z-index: -1;
}
.news_title:after {
  position: absolute;
  content: '';
  background: #212121;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  z-index: -2;
}
.news_title h2:before {
  top: 0;
}
.news_title h2:after {
  bottom: 0;
}
.news_title:after, .news_title h2:before, .news_title h2:after {
  width: 2px;
}

@media only screen and (max-width: 767px) {
  .news_title h2 {
    font-size: 18px;
  }
}

/*****************************
  news
*****************************/
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  width: 80%;
}
.tab-label {
  color: White;
  background: #4F1600;
  margin-right: 5px;
  padding: 3px 12px;
  order: -1;
  display: inline-block;
  width: 200px;
  text-align: center;
}
.tab-content {
  width: 100%;
  margin-top: 30px;
}

li.a_news_listbox {
  margin: 20px 0;
  border-bottom: 1px dashed #E89BBE;
  padding-bottom: 10px;
}
p.time {
  margin-right: 10px;
}

@media only screen and (max-width: 820px){
  .tab-label{
    width: 160px;
  }
}

@media only screen and (max-width: 767px) {
  .tab-wrap{
    width: 85%;
  }
  .a_news_listbox .flexbox1{
    display: block;
  }
  .tab-label{
    margin-bottom: 10px;
    width: 200px;
  }
}

/*****************************
  TOP CASE
*****************************/
.page-slide{
  width:94%;
  margin:2rem auto;
}
.page-slide .worksitems{
  border-radius: 10px;
  overflow: hidden;
}
.page-slide img {
  width:350px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.page-slide .slick-slide {
  transform: scale(0.8);
  transition: all .5s;
  /* opacity: 0.5; */
}
.page-slide .slick-slide.slick-center{
  transform: scale(1);
  opacity: 1;
}
.page-slide .slick-prev,
.page-slide .slick-next{
  height: 40px;
  width: 40px;
  z-index: 5;
}
.page-slide .slick-prev{
  background: url(../images/top/arrow_left.svg) no-repeat center / contain;
  left: 20%;
}
.page-slide .slick-next{
  background: url(../images/top/arrow_right.svg) no-repeat center / contain;
  right: 20%;
}
.page-slide .slick-prev:before,
.page-slide .slick-next:before{
  display: none;
}

@media only screen and (max-width: 1024px) {
  .page-slide .slick-prev{
      left: 10%;
  }
  .page-slide .slick-next{
      right: 10%;
  }
}
@media only screen and (max-width: 820px) {
  .page-slide .slick-prev{
      left: 5%;
  }
  .page-slide .slick-next{
      right: 5%;
  }
}
@media only screen and (max-width: 767px) {
  .txtbox{
      text-align: left;
  }
  .page-slide .slick-prev{
      left: -6%;
  }
  .page-slide .slick-next{
      right: -6%;
  }
}

/*****************************

*****************************/