/* 劇団一覧　company */
.company_wrap {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    width: 80%;
    margin: 0px auto;
}

/* 劇団一覧ヘッダー */
.companyHeader {
    margin: -16px auto 0px;
    display: block;
}
.companyHeader img {
    margin: 0px auto;
    display: block;
    text-align: center;
}
.companyHeader h3 {
    margin: 16px auto;
    display: block;
    font-size: 40px;
    color: #300304;
    text-align: center;
}
/* 劇団カード */
.company_card {
    width: 200px;
    margin: 12px;
    background-color: #FFFFFF;
    padding-bottom: 16px;
    position: relative;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 16px 16px 0px;
}
.company_card:hover {
    box-shadow: 0 8px 28px 0px rgba(0, 0, 0, 0.25);
}

.company_card img {
    width: 100%;
    margin: 0px 0px 8px;
    object-fit: contain;
 }

/* 劇団名 */
.company_card_title h1 {
    font-size: 14px;
    line-height: 150%;
    /* padding-bottom: 16px; */
    margin-bottom: 46px;
    letter-spacing:0;
}

/* 劇団カード：作品数 */
.works_circle {
    color: #fff;
    background-color: #848484;
    padding: 0;
    margin-left: 4px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
    position: absolute;
    bottom: 0px;
    font-size: 12px;
    content: attr(title);
}

/* プロフィール表示用 */
.profile_icon {
   width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 10px 0 10px;
    border-color: #FAE000 transparent transparent transparent;
    position: absolute;
    bottom:0px;
    left: 60%;
}
.caption_profile {
    cursor: url('../img/company/company_cursor.png'), text;
}

.no_profile {
    cursor: default!important;
}

.company_card_style {
  position: absolute;
    bottom: 16px;
    width: 100%;
    right:36px;
}

/* プロフィール */
.profile {
    display: none;
    width: 270px;
    position: absolute;
    top: 40px;
    left: 0px;
    padding: 16px;
    background: #FAE000;
    color: #300304;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 8px 20px 0px rgba(0, 0, 0, 0.25);
}

.profile:after {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    content: " ";
}

.caption_profile:hover + p.profile {
    display: block;
    font-size: 12px;
}

@media (max-width: 768px) {
    /* 劇団一覧　company */
  .company_wrap {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    width: 100%;
    margin: 0px auto;
}
  .company_card {
    width: 48%;
    max-width:180px;
    margin: 8px 1%;
    background-color: #FFFFFF;
    position: relative;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 16px 16px 0px;
}
.company_card:hover {
    box-shadow: 0 8px 28px 0px rgba(0, 0, 0, 0.25);
}

.company_card img {
    width: 100%;
    margin: 0px 0px 0px;
    object-fit: contain;

}

    .company_card_title {
        font-size: 11px;
        word-wrap: break-word;
    }
	/* プロフィール */
.profile {
    display: none;
    width: 190px;
    position: absolute;
    top: 40px;
    left:7vw;
    padding: 16px;
    background: #FAE000;
    color: #300304;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 8px 20px 0px rgba(0, 0, 0, 0.25);
	font-size: 10px;
	letter-spacing: 0px;
}
	/* プロフィール表示用 */
.profile_icon {
   width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 10px 0 10px;
    border-color: #FAE000 transparent transparent transparent;
    position: absolute;
    bottom:0px;
    left: 50%;
}
}
