﻿@-webkit-keyframes sizeScale {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(100%, -100%, 0);
        transform: translate3d(100%, -100%, 0);
    }

    75% {
        -webkit-transform: translate3d(0%, 0%, 0);
        transform: translate3d(0%, 0%, 0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translate3d(-100%, 100%, 0);
        transform: translate3d(-100%, 100%, 0);
        opacity: 0;
    }
}

@keyframes sizeScale {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(100%, -100%, 0);
        transform: translate3d(100%, -100%, 0);
    }

    75% {
        -webkit-transform: translate3d(0%, 0%, 0);
        transform: translate3d(0%, 0%, 0);
        opacity: 1;
    }

    100% {
        -webkit-transform: translate3d(-100%, 100%, 0);
        transform: translate3d(-100%, 100%, 0);
        opacity: 0;
    }
}

/*
カラム制御：デフォルトで1～5カラムまで対応
PC用floatによるカラム制御

html：col_1～5まで対応
例）3列で折り返し
<ul class="col_3">
  <li></li>
  <li></li>
  <li></li>
</ul>

scss：mixinでカラム設定を自動処理化

.col_3 {
  @include colmg(30);
}

数値設定はアイテム間余白（デフォルトは20）;
※縦、横ともに外側への約は発生しない

*/
@media screen and (max-width: 460px) {
    .company_sec .mod_sec_box .mod_title_box .mod_page_title_sub img {
        width: 2.45rem;
        height: auto;
    }
}

.companywrap {
    background-color: #191b22;
    padding-top: .2rem;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 460px) {
    .companywrap {
        padding-top: .3rem;
    }
}

.companywrap .contentwrap {
    position: relative;
}

@media print,
screen and (min-width: 461px) {
    .companywrap .contentwrap {
        padding: 0 50px;
        max-width: 1100px;
        margin: auto;
        padding-bottom: 0.8rem;
    }
}

@media screen and (max-width: 460px) {
    .companywrap .contentwrap {
        padding-bottom: .3rem;
    }
}

.companywrap .contentsbox {
    margin: 0.5rem auto 0;
    width: 8rem;
}

@media screen and (max-width: 460px) {
    .companywrap .contentsbox {
        margin: 0.1rem auto 0;
        width: 100%;
        padding: 0 .3rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
}

.companywrap .contentsbox .contents {
    font-size: 0.16rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: .2rem;
}

@media screen and (max-width: 460px) {
    .companywrap .contentsbox .contents {
        display: block;
        margin-bottom: .4rem;
    }
}

.companywrap .contentsbox .contents dt,
.companywrap .contentsbox .contents td:nth-child(1) {
    padding: .14rem .2rem;
    width: 2.2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

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

    .companywrap .contentsbox .contents dt,
    .companywrap .contentsbox .contents td:nth-child(1) {
        width: 100%;
        padding: .0 0;
        margin-bottom: .06rem;
        display: block;
    }
}

.companywrap .contentsbox .contents dd,
.companywrap .contentsbox .contents td:nth-child(2) {
    background-color: #25272d;
    padding: .14rem .2rem;
    width: 5.8rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #a2a2a2;
}

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

    .companywrap .contentsbox .contents dd,
    .companywrap .contentsbox .contents td:nth-child(2) {
        width: 100%;
        padding: .10rem .14rem;
        font-size: 0.14rem;
        display: block;
    }
}

.companywrap:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0.5rem;
    width: 13.86rem;
    height: 6.86rem;
    background-size: cover;
}

@media screen and (max-width: 460px) {
    .companywrap:before {
        width: 3.23rem;
        height: .55rem;
    }
}

.companywrap:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 132px 84px;
    border-color: transparent transparent #ad1c21 transparent;
}

@media screen and (max-width: 460px) {
    .companywrap:after {
        border-width: 0 0 66px 42.5px;
    }
}