@charset "UTF-8";

/*
Theme Name:TreeDigitalStudio VFX
Theme URI:
Description:WordPressテーマ「BASIC+TreeDigitalStudio VFX」
Author:DBJP
Author URI:https://designbridge-jp.com
Version:1.0
*/

/*  OTHER PAGE COMMON ----------------------------------------------------------------- */
/* HEADER */
.title-page-header{
	display: table;
	width: 100%;
	background-position: bottom center;
    height: 60vh;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%);
    background-size: cover;
}

.title-page-header.spotlight-header-copy-enabled {
    position: relative;
}

.title-page-header.spotlight-header-copy-enabled::after{
    content: attr(data-img-copy);
    position: absolute;
    width: fit-content;
    height: 50px;
    bottom: 6vw;
    right: 1vw;
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
    transform: skewX(-4.65deg) rotate(-4.65deg);
    pointer-events: none;
}

.page-title-wrapper{
    display: table-cell;
    vertical-align: middle;
	text-align: left;
    color: #fff;
	padding-left: 7vw;
	transform: skewX(-4.65deg) rotate(-4.65deg);
}

.page-title{
	font-size: 1.2rem;
    font-weight: bold;
    line-height: 2;
}

.page-subtitle{
	font-size: 1.2rem;
	line-height: 1;
    font-weight: bold;
}

.page-title-wrapper .page-subtitle{
	font-size: 3vw;
	line-height: 1;
    font-weight: bold;
}

.page-subtitle2{
	text-align: left;
    font-weight: bold;
	line-height: 1.3;
    margin-bottom: 10px;
}

/* CONTENTS */
.page-contentents-wrapper{
	width: 100%;
    max-width: 1080px;
    margin: 5vw auto 7vw;
	overflow: hidden;
}

.title-seo{
	transform: skewX(-4deg) rotate(-4deg);
    font-size: 0.5em;
    text-align: right;
    z-index: 100;
    position: relative;
	padding-right: 10px;
	color: #777;
	margin-top: -25px;
	display: none;
}

#function-cta{
	background-image: url(img/img-function-cta.jpg);
    color: #fff;
    background-size: cover;
    background-position: center center;
    padding: 50px 0;
}

#function-cta2{
    background-image: url(img/img-function-cta2.jpg);
    color: #fff;
    background-size: cover;
    background-position: center center;
    padding: 50px 0;
}

#function-cta3{
	background-color: #333;
    color: #fff;
    padding: 50px 0;
	text-align: center;
}

#function-menu{
	background-color: #333333;
	color: #c79f62;
	margin: 0 auto;
}

#function-menu .col5_contents{
	position: relative;
	color: #999;
	padding: 20px 0;
}

#function-menu .col5_contents::after{ 
	content: '';
    position: absolute;
    border-right: 2px solid #999;
    transform: rotate(25deg);
    height: 111%;
    top: -7px;
    left: 100%;
}

#function-menu .col5_contents.last-contents::after{ 
	content: '';
    position: absolute;
    border-right: none;
}

#function-menu .col5_contents a{
    font-size: 1rem;
    font-weight: bold;
	line-height: 1;
}

.page-innersubtitle{
    width: 100%;
    max-width: 1080px;
    text-align: left;
    transform: skewX(-4deg) rotate(-4deg);
    font-size: 2.2vw;
    font-weight: bold;
    margin-top: -20px;
	display: none;
}
.page-innertitle-image{
    width: 33%;
    margin: 0 0 0 auto;
    height: auto;
}

.page-innermaintitle{
    width: 100%;
    max-width: 1080px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
	line-height: 1.5;
	margin-bottom: 30px;
}

.page-innertitle{
	font-size: 1.8rem;
	line-height: 1.2;
	position: relative;
	font-weight: bold;
	text-align: left;
	margin: 60px 2% 20px;
	padding-bottom: 15px;
}

.page-innertitle2{
	font-size: 2rem;
	line-height: 1.2;
	position: relative;
	font-weight: bold;
	text-align: right;
	margin: 60px 2% 20px;
	padding-bottom: 15px;
}

.page-innertitle span, .page-innertitle2 span {
	font-size: 0.8em;
	margin-right: 10px;
	color: #707070;
}

.txt-align-r-c{
	text-align: right;
}

.txt-align-r-l{
	text-align: left;
}

.em-contents{
	position: relative;
}

.em-contents::after {
    content: '';
    position: absolute;
    border-top: 2px solid #fff;
    width: 100px;
    top: 42%;
    left: 9.5em;
}

.page-bg-title{
	font-size: 3rem;
	letter-spacing: 2rem;
	margin: 0 auto;
	border-top: 2px solid #999;
	border-bottom: 2px solid #999;
}

/* 吹き出し */
.balloon2 {
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 20px 25px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #555;
    font-size: 16px;
    background: #FFF;
    border: solid 3px #555;
    box-sizing: border-box;
}

.balloon2:before {
  content: "";
  position: absolute;
  bottom: -23.6px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #FFF;
  z-index: 2;
}

.balloon2:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #555;
  z-index: 1;
}

.balloon2 p {
  margin: 0;
  padding: 0;
}

/* BUTTON */
.btn-normal{
	position: relative;
    display: block;
    border-top: dashed 2px;
    border-bottom: dashed 2px;
    text-align: center;
    width: 300px;
    margin: 20px auto;
    padding: 10px;
	transition: all 0.3s;
}

.btn-normal::before, .btn-normal::after{
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    border-right: dashed 2px;
    position: absolute;
    top: 0;
}
.btn-normal::before {
    left: 0;
}

.btn-normal::after {
    right: 0;
}

.btn-normal:hover{
	background-color: #000;
	color: #fff;
}

.btn-normal2{
	position: relative;
    display: block;
    border-top: dashed 2px #fff;
    border-bottom: dashed 2px #fff;
    text-align: center;
    width: 300px;
    margin: 20px auto;
    padding: 10px;
	transition: all 0.3s;
}

.btn-normal2::before, .btn-normal2::after{
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    position: absolute;
    top: 0;
}
.btn-normal2::before {
    left: 0;
    border-right: dashed 2px #fff;
}

.btn-normal2::after {
    right: 0;
    border-left: dashed 2px #fff;
}

.btn-normal2:hover{
	background-color: #fff;
	color: #000;
	border-top: dashed 2px #000;
    border-bottom: dashed 2px #000;
}
.btn-normal2:hover::before, .btn-normal2:hover::after{
	content: '';
}

.btn-normal2:hover::before{
    border-right: dashed 2px #000;
}

.btn-normal2:hover::after{
    border-left: dashed 2px #000;
}

.page-contentents-wrapper .col2_contents3{
	display: table;
}

.page-contentents-wrapper .col2_contents3 .point-contentswrapper{
	display: table-cell;
	vertical-align: middle;
}

.page-contentents-wrapper .col2_contents{
	display: table;
}

.page-contentents-wrapper .col2_contents .point-contentswrapper{
	display: table-cell;
	vertical-align: middle;
}

/*  PR MOVIE ----------------------------------------------------------------- */
#pr01 .page-contentents-wrapper{
	margin-top: 0;
}

.page-innertitle.pr, .page-innertitle2.pr{
	position: relative;
}


.page-innertitle.pr::before{
	content: '';
	position: absolute;
	width: 3rem;
	bottom: 0;
	left: 0;
	border-bottom: 7px solid #C8A063;
}

.page-innertitle2.pr::before{
	content: '';
	position: absolute;
	width: 3rem;
	bottom: 0;
	right: 0;
	border-bottom: 7px solid #C8A063;
}

/*  SHOOTING STUDIO ----------------------------------------------------------------- */

#shooting00 .page-contentents-wrapper{
	margin-top: 0;
}

#shooting01 .page-contentents-wrapper{
	margin-top: 0;
}
.page-innertitle.shootingstudio, .page-innertitle2.shootingstudio{
	position: relative;
}


.page-innertitle.shootingstudio::before{
	content: '';
	position: absolute;
	width: 3rem;
	bottom: 0;
	left: 0;
	border-bottom: 7px solid #008A3F;
}

.page-innertitle2.shootingstudio::before{
	content: '';
	position: absolute;
	width: 3rem;
	bottom: 0;
	right: 0;
	border-bottom: 7px solid #008A3F;
}

/*  CAMERA TRACKING ----------------------------------------------------------------- */
#cameratracking01 .page-contentents-wrapper{
	margin-top: 0;
}

.page-innertitle.cameratracking, .page-innertitle2.shootingstudio{
	position: relative;
}


.page-innertitle.cameratracking::before{
	content: '';
	position: absolute;
	width: 3rem;
	bottom: 0;
	left: 0;
	border-bottom: 7px solid #E60012;
}

.page-innertitle2.cameratracking::before{
	content: '';
	position: absolute;
	width: 3rem;
	bottom: 0;
	right: 0;
	border-bottom: 7px solid #E60012;
}

#cameratracking03 .col2_wrapper {
    margin: 30px auto;
	display: flex;
}

#cameratracking03 .col2_contents{
	width: 50%;
    margin: 0 auto;
}

/*  COLOR MANAGEMENT ----------------------------------------------------------------- */
#colormanagement01 .page-contentents-wrapper{
	margin-top: 0;
}
.page-innertitle.colormanagement, .page-innertitle2.colormanagement{
	position: relative;
}


.page-innertitle.colormanagement::before{
	content: '';
	position: absolute;
	width: 3rem;
	bottom: 0;
	left: 0;
	border-bottom: 7px solid #2B50B4;
}

.page-innertitle2.colormanagement::before{
	content: '';
	position: absolute;
	width: 3rem;
	bottom: 0;
	right: 0;
	border-bottom: 7px solid #2B50B4;
}
/*  NEWS WORKS----------------------------------------------------------------- */
#news01.news-wrapper{
	width: 95%;
	margin: 0 auto;
}

#works01.works-wrapper{
	width: 95%;
	margin: 0 auto;
}

#works01.spotlight-archive-list{
	margin: 100px auto;
}

#works01.works-wrapper figure{
	width: 45%;
	margin: 0 2.5% !important;
}

.thumnail-area .cat_area{
	font-size: 0.8em;
	transform: skewX(-4.25deg) rotate(-4.25deg);
    text-align: right;
    border-bottom: 1px solid;
    width: 30%;
    margin-right: 10px;
    margin-left: auto;
    padding-top: 10px;
	line-height: 1.3;
}

.category-area{
    width: 90%;
    position: relative;
    transform: skewX(-4deg) rotate(-4deg);
    margin: 30px auto 100px;
}

.category-area-wrapper{
	width: 100%;
    position: relative;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.category-area-wrapper a{
	position: relative;
    margin: 0 10px;
}

.category-area-wrapper li{
    position: relative;
}

.category-area-wrapper li:hover{
	color: #c79f62;
	font-weight: bold;
	font-size: 120%;
}

.category-area-wrapper li.all-cat::before{
	content: '|';
	position: absolute;
	font-size: 70%;
	top: 5px;

}

.category-area-wrapper li::after{
	content: '|';
	position: absolute;
	font-size: 70%;
	top: 5px;
}
.post-contentents-wrapper{
	margin: 80px auto;
	padding-bottom: 100px;
	text-align: left;
}

.cattime-wrapper {
    font-weight: normal;
    display: block;
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
    padding: 0;
    text-align: left;
    /* transform: skewX(-4deg) rotate(-4deg);*/
    position: relative;

}


.pagenation{
	width: 100%;
	position: relative;
}

.pagenation nav{
    width: 100%;
    position: relative;
    display: block;
    float: none;
    background-color: transparent;
    height: auto;
    padding: 10px 0 100px;
    transform: skewX(-4deg) rotate(-4deg);
    margin: 0 auto 0 3%;
    text-align: left;
}

.pagenation nav .page-numbers{
	padding: 0 10px;
	position: relative;
}

.pagenation nav .page-numbers::after{
	content: '|';
	position: absolute;
    letter-spacing: 0;
	font-size: 70%;
    left: 30px;
    top: 0;
}

.pagenation nav .page-numbers.current{
	color: #c79f62;
	font-weight: bold;
	font-size: 120%;
}

.pagenation nav .page-numbers.prev::after{
        left: 7rem;
}

.pagenation nav .page-numbers.next::after{
	content: '';

}
/*  CONTACT ----------------------------------------------------------------- */
.form-contents{
	text-align: left;
    max-width: 500px;
    margin: 0 auto 120px;
    font-size: 1.4rem;
    font-weight: bold;
}

.form-wrapper{
	width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

.form-wrapper label.form-title{
	width: 100%;
    display: block;
    text-align: left;
    margin: 20px auto 5px;
    font-weight: bold;
}

.required-item {
    border: solid 1px;
    color: #ff0000;
    letter-spacing: calc(200 / 1000 * 1em);
    font-size: 0.8em;
    margin-left: 10px;
    padding: 3px;
}

[type=email], [type=tel], [type=text], option, select, textarea {
	padding: 0.9rem 2.3rem;
    border: 1px solid;
    width: 100%;
    font-size: 1.5rem;
}

.mwform-tel-field input[type="text"], .mwform-zip-field input[type="text"] { 
    display: inline-block;
    width: 31% !important;
}

.mwform-checkbox-field{
	display: block;
	text-align: left;
}

.mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0 !important;
}


.btn-back {
    position: relative;
    display: block;
    border: none;
    border: dashed 2px;
    text-align: center;
    width: 300px;
    margin: 50px auto 20px;
    padding: 10px;
    transform: skewX(-4deg) rotate(-4deg);
	background-color: #eaeaea;
    height: 60px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
	transition: all 0.3s;
}

.btn-back:hover{
	background-color: #000;
	color: #fff;
}

.btn-contact {
    position: relative;
    display: block;
    border: none;
    border: dashed 2px;
    text-align: center;
    width: 300px;
    margin: 50px auto;
    padding: 10px;
	background-color: #FFF700;
    height: 60px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
	transition: all 0.3s;
}

.btn-contact:hover{
	background-color: #000;
	color: #fff;
}

.mw_wp_form_confirm .btn-contact {
    margin: 0 auto 20px;
}

/*  2024.0725追記 ----------------------------------------------------------------- */
input.btn-contact, input.btn-back{
 color: #000!important;
}

/* iOSのデフォルトスタイルをリセット */
.form-select select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	 background: #fff;
    color: #000;
    border: 1px solid #000;
}
@media (max-width: 757px) {
[type=email], [type=tel], [type=text], option, select, textarea{
	font-size: 18px;
}
}

/*  FOOTER ----------------------------------------------------------------- */
#page_section7{
	font-size: 0.9rem;
    position: relative;
    background-color: #000;
    color: #fff;
    width: 100%;
    margin: 0;
    overflow: hidden;
    text-align: center;
    padding: 4vw 0 3vw;
}

#page_section7 ul{
	margin: 10px auto 0;
    margin-right: 20px;
}

#page_section7 ul li {
    text-align: left;
    font-size: 1rem;
    line-height: 2em;
    letter-spacing: 0.2em;
}

/*  タブレット対応 ----------------------------------------------------------------- */
@media (max-width: 1080px) {
.page-contentents-wrapper{
	padding: 0 5%;
}

#ourteam-00 .page-innertitle-image {
	width: 33%;
}

.page-innertitle-image {
    width: 80%;
}

}

/*  スマホ対応 ----------------------------------------------------------------- */
@media (max-width: 757px) {
/*  OTHER PAGE COMMON ----------------------------------------------------------------- */
/* HEADER */
.page-title-wrapper {
    padding-left: 4vw;
}

.title-page-header.spotlight-header-copy-enabled::after{
    font-size: 0.9rem;
    bottom: 3vw;
    right: 2vw;
}

.page-title {
    font-size: 1rem;
}
	
.page-subtitle {
    font-size: 1rem;
    line-height: 1;
}

.page-title-wrapper .page-subtitle {
    font-size: 6.5vw;
    line-height: 1;
}

.page-subtitle2{
    line-height: 1.2;
    margin-bottom: 15px;
	text-align: center;
}
	

/* CONTENTS */	
.page-contentents-wrapper{
	width: 100%;
	padding: 0 5%;
}
	
.page-innersubtitle {
    font-size: 5vw;
	margin-top: 10px;
    line-height: 1.3;
}

#ourteam-00 .page-innertitle-image, .page-innertitle-image {
    width: 80%;
    margin: 20px 0 0 auto;
    height: auto;
}

.page-innermaintitle {
    width: 100%;
    margin: 20px auto 30px;
	line-height: 1.3;
}

.page-innertitle, .page-innertitle2{
	font-size: 1.375rem;
	margin-top: 20px;
}
	
.page-innertitle span, .page-innertitle2 span{
	display: block;
	margin: 0 0 10px;
}
	
.page-innertitle, .page-innertitle2{
	text-align: center;
}
.txt-align-r-c{
	text-align: center;
}
	
.txt-align-r-l{
	text-align: left;
}

.em-contents::after {
    width: 50px;
}
	
.page-bg-title {
    font-size: 1.8rem;
    letter-spacing: 0.2rem;	
}

.page-contentents-wrapper .col2_contents3{
	display: block;
}

.page-contentents-wrapper .col2_contents3 .point-contentswrapper{
	display: block;
}
	
.page-contentents-wrapper .col2_contents{
	display: block;
	margin: 0 auto 30px;
}

.page-contentents-wrapper .col2_contents .point-contentswrapper{
	display: block-cell;
}

/*  PR MOVIE ----------------------------------------------------------------- */
#shooting{
	margin: 0 auto 60px;		
}
	
.page-innertitle.pr::before{
	left:  calc( 50% - 1.5rem);
}

.page-innertitle2.pr::before{
	left:  calc( 50% - 1.5rem);
}

/*  SHOOTING STUDIO ----------------------------------------------------------------- */
#shooting{
	margin: 0 auto 60px;		
}
	
.page-innertitle.shootingstudio::before{
	left:  calc( 50% - 1.5rem);
}

.page-innertitle2.shootingstudio::before{
	left:  calc( 50% - 1.5rem);
}

/*  CAMERA TRACKING ----------------------------------------------------------------- */
#shooting{
	margin: 0 auto 60px;		
}
	
.page-innertitle.cameratracking::before{
	left:  calc( 50% - 1.5rem);
}

.page-innertitle2.cameratracking::before{
	left:  calc( 50% - 1.5rem);
}
	
/*  COLOR MANAGEMENT ----------------------------------------------------------------- */
#shooting{
	margin: 0 auto 60px;		
}
	
.page-innertitle.colormanagement::before{
	left:  calc( 50% - 1.5rem);
}

.page-innertitle2.colormanagement::before{
	left:  calc( 50% - 1.5rem);
}
	
/*  NEWS  ----------------------------------------------------------------- */
.category-area-wrapper{
	justify-content: center;
}

.category-area{ 
	margin: 30px 5%;
}

.cattime-wrapper .page-subtitle2{ 
	text-align: left;
}

.post-contentents-wrapper {
    margin: 50px auto;
    position: relative;
    display: block;
}
	
/*  WORKS  ----------------------------------------------------------------- */
#works01.spotlight-archive-list {
    margin: 50px auto;
}

#works01.works-wrapper figure {
    clip-path: polygon(0 calc(0% + 5vw), 100% 0, 100% calc(100% - 5vw), 0 100%);
    padding: 0 0 7.5vw;
	width: 100%;
}

/*  CONTACT ----------------------------------------------------------------- */
.form-contents{
	margin: 30px auto 120px;
    font-size: 4vw;
}

[type=email], [type=tel], [type=text], option, select, textarea {
    padding: 0.9rem;
}

.mwform-tel-field input[type="text"], .mwform-zip-field input[type="text"] {
    display: inline-block;
	width: 30% !important;
	padding: 8px;
}
	
/*  FOOTER ----------------------------------------------------------------- */
#function-menu .col5_contents{
	width: 50%;
    padding: 10px 0;
	border-bottom: 2px solid;
}
#function-menu .col5_contents::after{
    top: -5px;
}

#function-menu .col5_contents.second-contents::after{
	border-right: none;
}

#function-menu .col5_contents.last-contents{
	width: 100%;
}

#page_section7{
	padding: 20vw 0;		
}
	
#page_section7 ul {
    margin: 10px auto 0;
}

#page_section7 ul li {
    font-size: 0.9rem;
    text-align: center;
}
	
}

/*  記事本文の埋め込み ----------------------------------------------------------- */
/* 本文に貼られた YouTube は width="560" height="315" の固定値で出力されるため、
   スマホ幅では親を超えて .cp_container の overflow:hidden で右側が切れる。 */
.post-contentents-wrapper iframe[src*="youtube.com"],
.post-contentents-wrapper iframe[src*="youtu.be"],
.post-contentents-wrapper iframe[src*="player.vimeo.com"] {
	display: block;
	width: 100%;
	max-width: 720px;
	height: auto;
	margin: 1.5rem auto;
	border: 0;
	aspect-ratio: 16 / 9;
}

/* div.youtube で囲んである場合はこちらを優先する。
   本文内の <style> は WordPress が <br> を挤んでCSSを壊すので頼らない。 */
.post-contentents-wrapper .youtube {
	position: relative;
	width: 100%;
	max-width: 720px;
	margin: 1.5rem auto;
	aspect-ratio: 16 / 9;
	background: #111;
}

.post-contentents-wrapper .youtube > p {
	margin: 0;
}

.post-contentents-wrapper .youtube iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	aspect-ratio: auto;
}
