/* CSS Document */
@keyframes opa{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
@keyframes extend{
  0%{
    -webkit-clip-path: inset(100% 0 0 0);
    clip-path: inset(100% 0 0 0);
  }
  100%{
    -webkit-clip-path: inset(0);
  clip-path: inset(0);
  color: #fff;
  }
}
div.white_title.wcvisible > h2{
  animation: opa 1s ease 0.3s forwards;
}
div.white_title.wcvisible > span::after{
  animation: extend 1s ease 0.3s forwards;
}
div.company_wrap div.company_block > article.wcvisible{
  animation: opa 1s ease 0.5s forwards;
}
/*ページタイトル*/
section.page_title{
  background-color: #fff;
  margin-top: calc(var(--headerHeight) * -1);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--headerHeight);
  box-sizing: border-box;
}
body[wc-view-code="sp"] section.page_title{
  height: 55vw;
}
body[wc-view-type="tb"] section.page_title{
  height: 35vw;
}
body[wc-view-type="tb-l"] section.page_title{
  height: 30vw;
}
body[wc-view-type="pc"] section.page_title{
  height: 350px;
}
section.page_title figure{
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
section.page_title figure::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background-color: rgba(0,72,147,0.5);
}
section.page_title figure picture{
  width: 100%;
  height: 100%;
  display: block;
}
section.page_title figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.page_title div.white_title{
  position: relative;
  z-index: 4;
  margin-bottom: 0;
}
/*タイトル*/
div.title,
div.white_title{
  display: flex;
  flex-direction: column-reverse;
  text-align: center;
  margin-bottom: 2rem;
}
body[wc-view-code="sp"] div.title{
  margin-bottom: 1.5rem;
}
div.title > h2{
  font-size: 1.5rem;
  color: #333;
  opacity: 0;
  transition: opacity 1.2s ease 0.6s; 
}
div.title.wcvisible > h2{
  opacity: 1;
  font-size: 1.5rem;
}
div.white_title > h2{
  font-size: 1.5rem;
  color: #fff;
  opacity: 0; 
}
div.title > span,
div.white_title > span{
  font-family: "Teko";
  font-weight: 300;
  font-size: 4rem;
  line-height: 1em;
  position: relative;
  z-index: 1;
}
div.title > span{
  color: rgba(0,72,147,0.4);
}
div.white_title > span{
  color: rgba(255,255,255,0.4);
}
div.title > span::after{
  position: absolute;
  z-index: 2;
  -webkit-clip-path: inset(100% 0 0 0);
  clip-path: inset(100% 0 0 0);
  transition: -webkit- all 1.2s ease 0.6s;
  transition: all 1.2s ease 0.6s;
  display: block;
  top: 0;
  line-height: 1em;
  left: 50%;
  transform: translateX(-50%);
}
div.title.wcvisible > span::after{
  webkit-clip-path: inset(0);
  clip-path: inset(0);
  color: #004893;
  top: 0;
  left: 50%;
}
body[wc-view-code="sp"] div.title > span{
  font-size: 4rem;
}
div.white_title > span{
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 1;
}
div.white_title > span::after{
  left: 50%;
  position: absolute;
  z-index: 2;
  display: block;
  top: 0;
  line-height: 1em;
  transform: translateX(-50%);
}
section.page_title div.white_title span::after{
  content: "Company";
}
/*透明*/
span.opa{
  width: 0;
  height: 0;
  display: block;
  opacity: 0;
}
/*改行*/
body[wc-view-type="tb-l"] br.sp_tb,
body[wc-view-type="pc"] br.sp_tb{
  display: none;
}
/*コンテンツ*/
div.company_wrap{
  background-color: #fff;
  padding: var(--headerHeight) 0;
}
div.company_wrap div.company_block{
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
}
body:not([wc-view-type="pc"]) div.company_wrap div.company_block{
  box-sizing: border-box;
  width: 100vw;
}
body[wc-view-code="sp"] div.company_wrap div.company_block{
  flex-direction: column;
  padding: 0 2rem;
}
body[wc-view-type="tb"] div.company_wrap div.company_block{
  padding: 0 3rem;
}
body[wc-view-type="tb-l"] div.company_wrap div.company_block{
  padding: 0 4rem;
}
body[wc-view-type="pc"] div.company_wrap div.company_block{
  width: 1100px;
}
div.company_wrap div.company_block > article{
  display: flex;
  flex-direction: column-reverse;
  position: relative;
  z-index: 1;
  opacity: 0;
}
body[wc-view-code="sp"] div.company_wrap div.company_block > article{
  width: 100%;
  margin-bottom: 2rem;
}
body[wc-view-code="sp"] div.company_wrap div.company_block > article:last-of-type{
  margin-bottom: 0;
}
body[wc-view-type="tb"] div.company_wrap div.company_block > article{
  width: calc((100% / 2) - 1.5rem);
}
body[wc-view-type="tb"] div.company_wrap div.company_block > article:nth-of-type(odd){
  margin: 0 1.5rem 3rem 0;
}
body[wc-view-type="tb"] div.company_wrap div.company_block > article:nth-of-type(even){
  margin: 0 0 3rem 1.5rem;
}
body[wc-view-type="tb-l"] div.company_wrap div.company_block > article{
  width: calc((100% / 2) - 2rem);
}
body[wc-view-type="tb-l"] div.company_wrap div.company_block > article:nth-of-type(odd){
  margin: 0 2rem 4rem 0;
}
body[wc-view-type="tb-l"] div.company_wrap div.company_block > article:nth-of-type(even){
  margin: 0 0 4rem 2rem;
}
body[wc-view-type="pc"] div.company_wrap div.company_block > article{
  width:calc((1100px / 2) - 2rem);
  margin: 0 1rem 2rem 1rem;
}
body[wc-view-type="tb-l"] div.company_wrap div.company_block > article:nth-last-child(-n + 2),
body[wc-view-type="pc"] div.company_wrap div.company_block > article:nth-last-child(-n + 2){
  margin-bottom: 0;
}
div.company_wrap div.company_block > article a{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: block;
}
div.company_wrap div.company_block > article div.c_text{
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}
div.company_wrap div.company_block > article div.c_text > h2{
  font-size: 1.2rem;
  color: #004893;
  margin-bottom: 0.5rem;
}
div.company_wrap div.company_block > article div.c_text > p{
  font-size: 0.97rem;
  font-weight: 300;
  color: #333;
  position: relative;
  z-index: 1;
  padding-right: 1rem;
}
div.company_wrap div.company_block > article div.c_text > p::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
  width: 1rem;
  height: 1rem;
  background-color: #333;
  -webkit-mask-image: var(--wciconsrc);
  mask-image: var(--wciconsrc);
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: var(--headerBtnSize);
  mask-size: var(--headerBtnSize);
}
div.company_wrap div.company_block > article div.c_img{
  position: relative;
  z-index: 1;
  height: 250px;
}
body[wc-view-code="sp"] div.company_wrap div.company_block > article div.c_img{
  height: 55vw;
}
body[wc-view-type="tb"] div.company_wrap div.company_block > article div.c_img{
  height: 200px;
}
div.company_wrap div.company_block > article div.c_img::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 3;
  background: -moz-linear-gradient(to bottom, rgba(0,72,147,0) 0%,rgba(0,72,147,0.4) 45%,rgba(0, 72, 147,0.5) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(to bottom, rgba(0,72,147,0) 0%,rgba(0,72,147,0.4) 45%,rgba(0, 72, 147,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(0,72,147,0) 0%,rgba(0,72,147,0.4) 45%,rgba(0, 72, 147,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
div.company_wrap div.company_block > article div.c_img figure{
  height: 250px;
}
body[wc-view-code="sp"] div.company_wrap div.company_block > article div.c_img figure{
  height: 55vw;
}
body[wc-view-type="tb"] div.company_wrap div.company_block > article div.c_img figure{
  height: 200px;
}
div.company_wrap div.company_block > article div.c_img figure picture{
  width: 100%;
  height: 100%;
  display: block;
}
div.company_wrap div.company_block > article div.c_img figure picture img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
div.company_wrap div.company_block > article div.c_img > span{
  position: absolute;
  bottom: 0.5rem;
  left: 1rem;
  color: #fff;
  z-index: 3;
  font-size: 3rem;
  font-family: "Teko";
  line-height: 1em;
}
body[wc-view-code="sp"] div.company_wrap div.company_block > article div.c_img > span,
body[wc-view-type="tb"] div.company_wrap div.company_block > article div.c_img > span{
  font-size: 2.5rem;
}