@charset "utf-8";

/* :::::: first-view :::::: */
.first-view {
    width: 100%;
    height: 100vh;
    color: #fff;
    font-weight: bold;
    overflow: hidden;
    position: relative;
}

.first-view .video-wrapper {
    width: 100%;
    height: 100%;
    background-color: #333;
    position: relative;
    overflow: hidden;
}

.first-view .video-wrapper #first-view-video {
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.first-view .video-wrapper #first-view-video.no-video {
    display: none;
}

.first-view .cd-logo-wrapper {
    width: 280px;
    position: absolute;
    top: 20px;
    left: 20px;
}

.first-view p {
    margin-bottom: 0;
}

.first-veiw-txt {
    width: 280px;
    height: 290px;
    border: 4px solid #fff;
    position: absolute;
    left: 30px;
    bottom: 30px;
}

.first-veiw-txt .txt-inr-top,
.first-veiw-txt .txt-inr-btm-l,
.first-veiw-txt .txt-inr-btm-r {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    flex-flow: column;
    -webkit-box-pack:justify;
    -ms-flex-pack:justify;
    justify-content:space-between;
}

.first-veiw-txt .txt-inr-top {
    width: 100%;
    height: 55%;
    border-bottom: 2px solid #fff;
    float: left;
    font-size: 2.5em;
    padding: 30px 10px;
}

.first-veiw-txt .txt-inr-top p {
    line-height: 1.2;
}

/* 矢印 */
.first-veiw-txt img {
    width: 65px;
    position: absolute;
    bottom: 45px;
    left: 110px;
}

.first-veiw-txt .txt-inr-btm-l {
    width: 50%;
    height: 45%;
    border-right: 1px solid #fff;
    float: left;
    padding: 10px;
}

.first-veiw-txt .txt-inr-btm-r {
    width: 50%;
    height: 45%;
    border-left: 1px solid #fff;
    float: left;
    font-size: 1.4em;
    padding: 10px;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.first-veiw-txt .txt-inr-btm-r > p {
    padding-left: .5em;
}

/* スクロール促すアイコン */
.first-view .scroll-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    padding-top: 80px;
    position: absolute;
    right: 0;
    bottom: -15px;
    left: 0;
}
.first-view .scroll-icon span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}
.first-view .scroll-icon span:nth-of-type(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
.first-view .scroll-icon span:nth-of-type(2) {
    top: 16px;
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}
.first-view .scroll-icon span:nth-of-type(3) {
    top: 32px;
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
}
@-webkit-keyframes sdb {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes sdb {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/* :::::: news :::::: */
.news {
    padding: 35px;
    text-align: center;
}

.news .title-txt {
    width: 500px;
    height: 75px;
    background-image: url(../img/news.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto 50px;
}

.news > table {
    max-width: 800px;
    border-collapse: separate;
    border-spacing: 0 6px;
    margin: 0px auto 0;
    text-align: left;
}

.news > table th {
    width: 120px;
    font-weight: normal;
    vertical-align: top;
}

.news > table td {
    vertical-align: top;
}

.news > table td > a {
    color: #333;
    cursor: pointer;
}
.news > table td > a:hover {
    text-decoration: none;
}
.news > table td > a:visited {
    color: inherit;
}


/* :::::: works :::::: */
.works {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    position: relative;
}
.works::before {
    content: "";
    width: 100%;
    height: 150%;
    background-color: #333;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50%;
    margin: auto;
    transition-duration: .5s;
    transition-delay: 300ms;
    transform: scale(0);
    z-index: -1;
}
.works.scrollin::before {
    border-radius: 0;
    transform: scale(1);
}

.works .sub-title-txt {
    text-align: center;
}

.works .title-txt {
    width: 500px;
    height: 75px;
    background-image: url(../img/works.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto 50px;
}


/* 概要 */
.works-discription > * {
    width: calc(100% / 3 - 40px);
    min-height: 500px;
    background-color: #fff;
    border-radius: 5px;
    float: left;
    padding: 30px;
}
.works-discription .works-discription-01 {
    margin: 0 15px 0 30px;
}

.works-discription .works-discription-01 > div {
    background-image: url(../img/icon-01.webp);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 300px;
    padding-top: 245px;
}

.works-discription .works-discription-02 {
    margin: 0 14px;
}

.works-discription .works-discription-02 > div {
    background-image: url(../img/icon-02.webp);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 300px;
    padding-top: 245px;
}

.works-discription .works-discription-03 {
    margin: 0 30px 0 15px;
}

.works-discription .works-discription-03 > div {
    background-image: url(../img/icon-03.webp);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 300px;
    padding-top: 245px;
}

.works-discription > * > .title-txt {
    color: #333;
    font-size: 1.8em;
}

.works-discription .sub-title-txt {
    font-size: 1.5em;
    margin: 0 0 35px 0;
}

.works-discription .sub-txt {
    font-size: .95em;
    margin-bottom: 0;
}

/* 説明文 */
.works .about {
    width: 100%;
    margin-top: 50px;
}

.works .about-vfx,
.works .about-3dcg {
    width: 100%;
    height: 320px;
    background-size: cover;
    float: left;
    overflow: hidden;
    position: relative;
}

.works .about-vfx {
    background-image: url(../img/img_vfx.webp);
    background-position: left center;
    background-repeat: no-repeat;
}

.works .about-vfx .sub-title-txt {
    text-align: right;
}

.works .about-txt-bg {
    width: 100%;
    height: 100%;
    position: relative;
}

.works .about-vfx .inr-bg-l {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 360px 360px;
    border-color: transparent transparent rgba(0, 0, 0, .6) transparent;
    position: absolute;
    top: 0;
    right: 300px;
}

.works .about-vfx .inr-bg-r {
    display: block;
    width: 300px;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    position: absolute;
    top: 0;
    right: 0;
}

.works .about-vfx .discription {
    width: 290px;
    color: #fff;
    position: absolute;
    top: 60px;
    right: 50px;
}

.works .about-3dcg {
    background-image: url(../img/img_3dcg.webp);
    background-position: center center;
    background-repeat: no-repeat;
}

.works .about-3dcg .inr-bg-l {
    display: block;
    width: 300px;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    position: absolute;
    top: 0;
    left: 0;
}

.works .about-3dcg .inr-bg-r {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 360px 0 0 360px;
    border-color: transparent transparent transparent rgba(0, 0, 0, .6);
    position: absolute;
    top: 0;
    left: 300px;
}

.works .about-3dcg .sub-title-txt {
    text-align: left;
}

.works .about-3dcg .discription {
    width: 290px;
    color: #fff;
    position: absolute;
    top: 85px;
    left: 60px;
}


/* :::::: gallery :::::: */
.gallery .sub-title-txt {
    height: 320px;
    color: #fff;
    font-size: 2.5em;
    line-height: 320px;
}

.gallery .gallery-wrap {
    width: 100%;
    overflow:auto; 
    -webkit-overflow-scrolling:touch;
    padding-top: 56.25%;
    position: relative;
}

.gallery iframe {
    display:block;
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
}

.gallery svg {
    width: 32px;
    height: 32px;
    margin-top: -4px;
}

.gallery .gallery-sub-txt {
    color: #fff;
    font-feature-settings: 'palt';
    font-size: .8em;
    line-height: 1.2;
    padding: 0 15px;
    text-align: right;
}

.gallery .gallery-wrap.tmp {
    margin-bottom: 60px;
    padding: 0 30px;
}

.gallery .sub-title-txt.tmp {
    height: 180px;
    line-height: 180px;
}

.gallery .gallery-wrap.tmp a {
    color: #fff;
}
.gallery .gallery-wrap.tmp a:hover {
    text-decoration: none;
}

.gallery .thum-link {
    display: block;
    width: calc(100% / 4 - 9px);
    float: left;
}
.gallery .thum-link + .thum-link {
    margin-left: 12px;
}

.gallery .thum-link img {
    width: 100%;
}

.gallery .gallery-sub-txt.tmp a {
    color: #fff;
}


/* :::::: compay profile :::::: */
.campany-profile {
    padding: 35px;
}

.campany-profile .title-txt {
    width: 500px;
    height: 75px;
    background-image: url(../img/companyprofile.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto 50px;
}

.campany-profile .profile-area {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.campany-profile table {
    width: 100%;
}

.campany-profile tr,
.campany-profile th,
.campany-profile td {
    margin: 0;
    vertical-align: top;
}

.campany-profile p {
    margin: 0;
}

.campany-profile .table-border-wrapper {
    width: 100%;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
}

.campany-profile .table-tr > * {
    float: left;
}

.campany-profile .table-th {
    width: 28%;
    font-weight: normal;
    padding: 37px 0;
    position: relative;
}

.campany-profile .table-td {
    width: 72%;
    padding: 37px 0;
    position: relative;
}

.campany-profile .table-th.sub,
.campany-profile .table-td.sub {
    padding-top: 0;
}

.campany-profile .table-title-border {
    height: 1px;
    background-color: #333;
}

.campany-profile .table-contents-border {
    height: 1px;
    background-color: #999;
}

/* 事業内容テーブル */
.campany-profile .inner-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.campany-profile .inner-table th {
    min-width: 110px;
    font-weight: normal;
}

.campany-profile .inner-table th > span {
    display: inline-block;
    min-width: 2.5em;
    text-align: right;
}


/* :::::: contact form :::::: */
.contact-form-wrapper {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8000;
}
.contact-form-wrapper::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* close button */
.contact-form-wrapper .contact-close-button-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
}

.contact-form-wrapper .contact-close-button {
	display: inline-block;
        width: 40px;
        height: 40px;
	position: relative;
	cursor: pointer;
}
.contact-form-wrapper .contact-close-button span::before,
.contact-form-wrapper .contact-close-button span::after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 84%;
	height: 16%;
	margin: -8% 0 0 -42%;
	background: #a9a9a9;
}
.contact-form-wrapper .contact-close-button span::before {
	transform: rotate(-45deg);
}
.contact-form-wrapper .contact-close-button span::after {
	transform: rotate(45deg);
}

/* contact area */
.contact-form-wrapper .contactform-bg {
    width: 60%;
    height: 85%;
    background-color: #fff;
    border-radius: 3px;
    margin: auto;
    padding: 30px 30px 0 30px;
    overflow: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.contact-form-wrapper .contact-form {
    width: 100%;
}

.contact-form-wrapper .table-th {
    width: 280px;
    font-weight: normal;
    padding: 15px 50px;
    position: relative;
    vertical-align: top;
}

.contact-form-wrapper .table-th p {
    margin-bottom: 0;
    padding-left: 2em;
    position: relative;
}
.contact-form-wrapper .table-th .require::before {
    content: "";
    width: 1em;
    height: 1em;
    background-color: #cd5c5c;
    border-radius: 50%;
    position: absolute;
    top: 0;
    bottom: 3px;
    left: 0;
    margin: auto;
}
.contact-form-wrapper .table-th .no-require::before {
    content: "";
    width: 1em;
    height: 1em;
    background-color: #c0c0c0;
    border-radius: 50%;
    position: absolute;
    top: 0;
    bottom: 3px;
    left: 0;
    margin: auto;
}

.contact-form-wrapper .table-th p span {
    font-size: .85em;
}

.contact-form-wrapper .table-td {
    min-width: 300px;
    padding: 15px 50px;
    position: relative;
    vertical-align: top;
}

.contact-form-wrapper .table-td input {
    width: 100%;
    padding: 0 5px;
}

.contact-form-wrapper .table-td textarea {
    width: 100%;
    height: 7em;
    padding: 0 5px;
}

.contact-form-wrapper .table-border-wrapper {
    width: 100%;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
}

.contact-form-wrapper .table-title-border {
    height: 1px;
    background-color: #333;
}

.contact-form-wrapper .table-contents-border {
    height: 1px;
    background-color: #999;
}

.contact-form-wrapper .contactform-bg .button {
    margin-bottom: 30px;
    text-align: center;
}

/* 送信ボタン */
.contact-form-wrapper .contactform-bg .button input {
    padding: 5px 40px;
}

/* :::::: ***************** :::::: */
/* :::::: smart phone style :::::: */
/* :::::: ***************** :::::: */
@media screen and (max-width: 1050px) {
    /* first view */
    .first-view .cd-logo-wrapper {
        width: 60%;
        height: 65px;
        margin: auto;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }
    
    .first-veiw-txt {
        display: none;
    }
    
    .first-view .scroll-icon {
        bottom: 120px;
    }
    
    /* news */
    .news {
        padding: 30px 15px;
    }
    
    .news .title-txt {
        width: 100%;
    }

    .news > table th,
    .news > table td {
        font-size: .9em;
        line-height: 1.2;
    }

    .news > table th {
        width: 110px;
    }

    .news > table tr + tr th {
        padding-top: 12px;
    }

    .news > table tr + tr td {
        padding-top: 12px;
    }
    
    /* works */
    .works .title-txt {
        width: 100%;
    }
    
    .works-discription {
        padding: 0 15px;
    }
    
    .works-discription > * {
        width: 100%;
        min-height: 0;
        float: none;
    }
    
    .works-discription .works-discription-01 {
        margin: 0;
    }
    .works-discription .works-discription-02,
    .works-discription .works-discription-03 {
        margin: 20px 0 0;
    }
    

    /* gallery */
    .gallery .sub-title-txt {
        width: 100%;
        font-size: 2em;
    }
    
    .gallery .gallery-sub-txt {
        margin-bottom: 0;
        text-align: left;
    }

    .gallery .gallery-wrap.tmp {
        padding: 0 15px;
    }

    .gallery .thum-link {
        width: 100%;
        float: none;
    }
    .gallery .thum-link + .thum-link {
        margin: 30px 0 0 0;
    }
    
    
    /* company profile */
    .campany-profile {
        margin-bottom: 70px;
    }

    .campany-profile .title-txt {
        width: 100%;
    }
    
    .campany-profile .table-th {
        display: block;
        width: 100%;
        font-size: .8em;
        font-weight: bold;
        float: none;
        padding: 20px 0 1px;
    }

    .campany-profile .table-th .table-title-border {
        background-color: #999;
    }
    
    .campany-profile .table-td {
        display: block;
        width: 100%;
        float: none;
        padding: 10px 0 20px;
    }

    .campany-profile .table-td.sub {
        padding-top: 10px;
    }

    .campany-profile .table-td .table-border-wrapper {
        display: none;
    }
    
    .campany-profile .table-dl:last-child .table-td {
        display: none;
    }

    .campany-profile .inner-table th {
        min-width: 100px;
    }

    .campany-profile .inner-table th,
    .campany-profile .inner-table td {
        font-size: .9em;
        line-height: 1.2;
    }
    .campany-profile .inner-table tr + tr th,
    .campany-profile .inner-table tr + tr td {
        padding-top: 10px;
    }
    
    
    /* お問い合わせ */
    .contact-form-wrapper .title-txt {
        width: 100%;
        font-size: 2em;
    }
    
    .contact-form-wrapper .contactform-bg {
        width: 100%;
        height: 100%;
    }
    
    .contact-form-wrapper .table-th {
        display: block;
        width: 100%;
        float: none;
        padding: 25px 0 0;
    }

    .contact-form-wrapper .table-th p {
        line-height: 1;
        padding-left: 1.3em;
    }
    
    .contact-form-wrapper .table-td {
        display: block;
        width: 100%;
        float: none;
        padding: 5px 0 25px;
    }

    .contact-form-wrapper .table-th .table-title-border {
        background-color: #dcdcdc;
    }
    
    .contact-form-wrapper .table-td .table-border-wrapper {
        display: none;
    }
    
    .contact-form-wrapper .table-dl:last-child .table-td {
        display: none;
    }
    
}
