@charset "UTF-8";
.p-top__kv{
  margin:0 auto;
}

.p-top__kv_slider {
  opacity:0;
  margin: 0;
  padding: 0;
  height: 648px;
  width: 50%;
}
.slick-initialized {
  opacity:1;
}
@media screen and (max-width: 767.9px) {
  .p-top__kv{
    max-width: 100%;
  }
  .p-top__kv_slider {
    height: auto;
    width:100%;
  }
}
@media screen and (min-width: 1150px) {
  .p-top__kv_slider {
    width:calc( 100% - 575px);
  }
}

.p-top__kv_slider.slick-initialized {
  display: block;
}
.p-top__kv_slide {
  align-items: center;
  display: flex !important;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  height:695px;
}


.p-top__kv_slide-title {
  display: flex;
  align-items: flex-end;
  bottom: 0;
  color: #fff;
  font-size: 1.8rem;
  left: 0;
  margin: 0;
  padding: 24px 10px 10px 10px;
  position: absolute;
  transition-delay: 0.2s;
  width: 100%;
  height: 100%;;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.5));
}

.p-top__kv_slide h2.p-top__kv_slide-title
 {
  font-size: 2.4rem;
}
@media screen and (max-width: 767.9px) {
  .p-top__kv_slide{
    height:auto;
  }
  .p-top__kv_slide-title {
    font-size: 2rem;
    padding: 46px 30px 41px;
    width: 100%;
    height: auto;
  }
  .p-top__kv_slide h2.p-top__kv_slide-title
  {
    font-size: 2rem;
  }
}
.p-top__kv_slide a {
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* 1個目と4個目以外を幅1/3に */
.p-top__kv_slide a:not(:nth-child(1)) .p-top__kv_slide-title{
  font-size: 1.6rem;
}

.p-top__kv_slide a:not(:nth-child(1)) {
  width: 33.33333333%;
  height:28%;
}

/* 必要なら1個目と4個目のスタイルを別途指定 */
.p-top__kv_slide a:nth-child(1){
  width: 100%; /* 例えば全幅にする */
  height:72%;
}
.p-top__kv_slide a:hover .p-top__kv_slide-title {
  text-decoration: underline;
}

@media screen and (max-width: 767.9px) {
  .p-top__kv_slide a {
    width: 100%;
  }
}
.p-top__kv_slide a img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* アスペクト比を維持して親要素をカバー */
  object-position: top;
}
@media screen and (max-width: 767.9px) {
  .p-top__kv_slide a img {
    max-height: 390px;
    width: auto;
  }
}
.p-top__kv_slide a:hover {
  opacity: 1;
}
@media screen and (min-width: 768px) {
  .p-top__kv_slide a:hover {
    /*max-width: 970px;*/
    opacity: 1;
    overflow: hidden;
    /*width: 50%;*/
    z-index: 10;
  }
}
@media screen and (max-width: 767.9px) {
  .p-top__kv_slide a:hover {
    width: 100%;

  }
}
.p-top__kv_slide a:hover img {
  opacity: 1;
}
@media screen and (min-width: 768px) {
  .p-top__kv_slide a:hover .p-top__kv_slide-title {
    /* transition-delay: 0.2s; */
    /* width: 50vw; */
    z-index: 11;
  }
}
.p-top__kv .slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  z-index: 10;
}
@media screen and (max-width: 767.9px) {
  .p-top__kv .slide-arrow {
    display: none !important;
  }
}
.p-top__kv .slide-arrow.prev-arrow {
  left: 15px;
}
.p-top__kv .slide-arrow.next-arrow {
  right: 15px;
}
.p-top__kv .slick-dots {
  align-items: center;
  background-color: #1c1c1c;
  display: flex;
  justify-content: center;
  padding:5px;
  position: static;
}
.p-top__kv .slick-dots li button:before {
  color: #fff;
  content: "○";
  font-size: 12px;
  opacity: 1;
}
.p-top__kv .slick-dots li.slick-active button:before {
  color: #fff;
  content: "●";
  opacity: 1;
}

.p-top__kv_block{
  display: flex;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
}

.p-top__kv_info{
  display: flex;
  width: 50%;
  height:695px;


}

.p-top__kv_topics{
  width: 50%;
  list-style: none;
  padding: 0;
  padding-top: 25px;
  margin:0;
}
.p-top__kv_topics-case{
  min-height:50%;
}

.p-top__kv_topics-icon{
  position: absolute;
  top:-1px;
  left:0;
  padding:5px;
}
.p-top__kv_topics-icon.company-case{
  /*background:#d2d92b;*/
  background: #FFFE36;
}
.p-top__kv_topics-icon.company-case::before {
  content: '';
  position: absolute;
  top: 0;
  right: 1px;
  height:calc(100% + 1px);
  width: 45%; /* 初期値は0 */
  background-color:#FFFE36; /* 三角形の色 */
  clip-path: polygon(0 100%, 50% 0, 0 0); /* 頂点を上下逆に */
  transform: translate(100%,0); /* 自身の幅と高さの半分ずらす */

}

.p-top__kv_topics-icon.satellite-case{
  background:#0faa00;
}

.p-top__kv_topics-icon.satellite-case::before {
  content: '';
  position: absolute;
  top: 0;
  right: 1px;
  height:calc(100% + 1px);
  width: 45%; /* 初期値は0 */
  background-color:#0faa00; /* 三角形の色 */
  clip-path: polygon(0 100%, 50% 0, 0 0); /* 頂点を上下逆に */
  transform: translate(100%,0); /* 自身の幅と高さの半分ずらす */

}

/*ランキング*/
.p-top__kv_rank{
  padding-top: 20px;
  width: 50%;
  border-left: 1px solid #dedede;
}

.p-top__kv_rank-ul{
  list-style: none;
  padding-left: 0;
  height: calc(100% - 1em - 20px);
}

.p-top__kv_rank-list{
  height:20%;
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #dedede;
  padding: 2.5%;
}

.p-top__kv_rank-list .number{
  margin-right: 10px;
  text-align: center;
  border:2px solid  #000;
  display: flex; /* spanのサイズを扱いやすくするためにblock系にする */
  align-items: center;
  justify-content: center;
  aspect-ratio: 1; /* 1:1の比率で正方形に */
  width: 3rem; /* 親要素の幅に応じて自動で調整 */
  height: 3rem; /* 親要素の幅に応じて自動で調整 */
  border-radius: 50%; /* 正方形を正円に */
  line-height: 1;
}

.p-top__kv_rank-list .number.n1{
  background: #cfae5f;
  color: #fff;
  font-weight: bold;
  border:none;
}
.p-top__kv_rank-list .number.n2{
  background: #9b9b9b;
  color: #fff;
  font-weight: bold;
  border:none;
}

.p-top__kv_rank-list .number.n3{
  background: #725820;
  color: #fff;
  font-weight: bold;
  border:none;
}

.p-top__kv_rank-title{
  text-align: center;
  font-weight: bold;
}

.p-top__kv_rank__link{
  font-size: 1.4rem;
}

@media screen and (min-width: 1150px) {
  .p-top__kv_info {
    width:575px;
  }
}

.p-top__kv_topics-case{
  padding:0 10px;
  position: relative;
}


.p-top__ad .inner {
  max-width: 1010px;
  padding-bottom: 16px;
}

.text{
  line-height: 1.5em; /* 行の高さを指定 */
  max-height: calc(1.5em * 3); /* 3行分の高さを指定 */
  overflow: auto; /* 高さを超えたらスクロールバー表示 */
}

/*# sourceMappingURL=top.css.map */