@charset "utf-8";

main {
	position: relative
}

main::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 460px;
    background: #ECEEF0;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    z-index: -1;
    top: auto;
}

.c_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.link_btn a::before {
    top: unset;
    bottom: 37px;
}

.link_btn a::after {
    top: unset;
    bottom: 37px;
}

.link_btn a span::before {
    bottom: 8px;
}

.link_btn a:hover .c_txt strong {
	color: #0077C0;
}

.c_item {
    display: block;
    position: relative;
    overflow: hidden;
    width: calc((100% - 80px) / 3);
    padding: 0 !important;
    margin: 0 0 40px 0;
    background: none !important;
    text-decoration: none;
}

/* 1段目：横長（全幅） */
.parent_list--company > .c_item--wide{
  width: 100%!important;
}

/* ---------- 1段目（横長）の画像＆キャプション ---------- */
.c_item--wide .c_thumb--wide{
  position: relative;
  overflow: hidden;
  max-height: 300px;
}

.c_item--wide .c_img--wide{
  width: 100%;
  height: clamp(260px, 28vw, 420px);
  object-fit: cover;
  display: block;
}

.c_thumb.c_thumb--wide img{ 
  	min-height: 280px;
}

.c_item--wide .c_cap{
  position: absolute;
  left: clamp(20px, 3vw, 60px);
  bottom: clamp(20px, 3vw, 30px);
  background: rgba(255,255,255,.8);
  padding: 18px 22px;
  min-width: 270px;
}

.c_cap__company{
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.c_cap__role{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
}

.c_cap__name{
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ---------- SP：1カラム ---------- */
@media (max-width: 767px){
	main::before {
		width: 200px;
		height: 307px;
	}
  .parent_list--company{
    gap: 22px;
  }

  .parent_list--company > .c_item--grid{
    width: 100%;
  }

  .c_item--wide .c_cap{
    max-width: 92%;
	min-width: 200px;
    left: 16px;
    bottom: 16px;
  }
	
  .c_cap__company{
    font-size: 14px;
  }

  .c_cap__role{
    margin: 0 0 3px;
    font-size: 14px;
  }

  .c_cap__name{
    font-size: 18px;
  }
}

.c_img {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.c_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all .3s ease;
}

h3.c_text_h:before{
	border-left: none;
	height: 0;
}

.c_txt {
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 30px 23px 0px;
}

.c_txt strong {
	display: inline-block;
    position: relative;
    color: #333;
    font-size: 1.8rem;
	font-weight: bold;
    letter-spacing: 0;
    line-height: 2.7rem;
    text-decoration: none !important;
    padding: 1px 0 12px 5px;
	transition: all .3s ease;
}

/* target="_blank"の場合 */
.c_item[target="_blank"] strong {
    display: inline-block;
    padding-right: 36px;
    background: url(../images/popup_white.svg) no-repeat top 27px right /20px 15px;
}

.c_item[target="_blank"] strong::after {
    content: none;
}

/* hover */
.c_item:hover img {
    transform: scale(1.05);
}

a:hover .works_title::after {
    background-image: url(../images/arrow_r_hover.svg);
}

.column_title::before {
    background-image: url(../images/arrow_r_hover.svg);
    opacity: 0;
}

.column_title::after {
    background-image: url(../imagesn/arrow_r.svg);
}

/* フッター上のグレーの三角形 */
.footer {
	position: relative;
}
/*
.footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 460px;
    background: #ECEEF0;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    z-index: -1;
}*/

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


    .c_box {
        margin-bottom: -50px;
    }
	
	.link_btn a::before {
    bottom: 14px;
}

	.link_btn a::after {
    bottom: 14px;
}

    .c_item {
        width: 100%;
        margin: 0 0 30px 0;
    }

    .c_item:nth-child(2n) {
        margin-right: 0;
    }

    .c_img {
        padding-top: 0;
    }

    .c_img img {
        position: static;
        aspect-ratio: 67/48;
    }

    .c_txt {
        padding: 0px;
    }

    .c_txt strong {
        font-size: 1.6rem;
    }

    .c_txt strong::before {
        font-size: 1.2rem;
        margin-bottom: 1px;
    }

    .c_txt strong::after {
        bottom: 4px;
    }

    .c_img {
        margin-bottom: 8px;
        height: 160px;
    }

    /* target="_blank"の場合 */
    .c_item[target="_blank"] strong {
        padding-right: 32px;
        background-position: top 10px right 0;
    }
	
	.footer::before {
        top: -200px;
        width: 85%;
        height: 60%;
    }


}