@charset "utf-8";


/* common
-------------------------------------------------------*/
#wrapper {
	overflow: hidden;
}
.sp {
	display: none;
}
.area {
	padding: 200px 20px 0;
	box-sizing: border-box;
}
.inner {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	box-sizing: border-box;
}
.ttl01 {
	margin: 0 auto 100px;
	line-height: 1;
    font-size: 180%;
    max-width: 900px;
    border-bottom: 1px solid #ebebeb;
    padding: 0 0 30px;
    position: relative;
}
.ttl01::after {
    content: "";
    display: block;
    line-height: 0;
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 5%;
    border-bottom: 1px solid #14497c;
}
#works .ttl01::after {
    border-bottom: 1px solid #ed6663;
}
#contact .ttl01::after {
    border-bottom: 1px solid #ffa372;
}
.ttl02 {
    font-size: 120%;
    margin: 0 auto 40px;
    text-align: center;
    color: #ed6663;
    width: 130px;
    height: 40px;
    border: 1px solid #ed6663;
    display: flex;
    justify-content: center;
    align-items: center;
}
.color01 {
    color: #0f4c81;
}
.color02 {
    color: #ed6663;
}
.color03 {
    color: #ffa372;
}
@media screen and (max-width:768px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
	.area {
		padding: 70px 20px;
	}
	.inner {
		max-width: 100%;
	}
	.ttl01 {
		margin: 0 0 40px;
		font-size: 160%;
	}
    .ttl01::after {
        width: 20%;
    }
    .ttl02 {
        font-size: 110%;
        margin: 0 auto 30px;
        width: 120px;
        height: 35px;
    }
}


/* fade-in
-------------------------------------------------------*/
.scroll-up {
    opacity: 0;
    transform: translateY(30px)/*スクロールアップする距離*/;
    transition: all 2s/*処理にかかる時間*/;
}
.scroll-up.done, .scroll-fade.done {
    opacity : 1;
    transform : translate(0, 0);
}
.load-up {
    opacity: 0;
    transform: translateY(30px)/*スクロールアップする距離*/;
    transition: all 2s/*処理にかかる時間*/;
}
.load-up.done, .load-fade.done {
    opacity : 1;
    transform : translate(0, 0);
}


/* header
-------------------------------------------------------*/
#header {
	box-sizing: border-box;
    padding: 20px;
    /*border-bottom: 1px solid #0f4c81;*/
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 999;
}
#header .inner {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
}
#header .logo img {
    max-width: 26px;
}
#header #nav_pc {
}
#header #nav_pc ul {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;
    font-size: 110%;
}
#header #nav_pc ul li {
    margin: 0 0 0 50px;
}
#header #nav_pc ul li a {
    display: inline-block;
    padding-bottom: 4px;
    position: relative;
}
#header #nav_pc ul li a::after {
    background-color: #0f4c81;
    bottom: 0;
    content: '';
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    transition: .5s all;
    width: 0;
}
#header #nav_pc ul li.works a::after {
    background-color: #ed6663;
}
#header #nav_pc ul li.contact a::after {
    background-color: #ffa372;
}
#header #nav_pc ul li a:hover {
    opacity: 1;
    color: #0f4c81;
}
#header #nav_pc ul li.works a:hover {
    color: #ed6663;
}
#header #nav_pc ul li.contact a:hover {
    color: #ffa372;
}
#header #nav_pc ul li a:hover::after {
    width: 100%;
}
@media screen and (max-width:768px) {
    #header {
        padding: 10px;
        position: inherit;
    }
    #header .logo img {
        max-width: 25px;
    }
}

/* nav
-------------------------------------------------------*/
@media screen and (max-width:768px) {
    #btn_nav {
        position: fixed;
        top: 15px;
        right: 10px;
        z-index: 999;
        cursor: pointer;
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        height: 18px;
    }
    #btn_nav span {
        display: inline-block;
        background: #333;
        width: 25px;
        height: 2px;
        transition: .5s;
        position: relative;
    }
    #btn_nav.active span {
        background: #fff;
        transform: translateY(8px) rotate(225deg);
    }
    #btn_nav.active span:nth-child(2) {
        transform: scaleX(0);
    }
    #btn_nav.active span:last-child {
        transform: translateY(-8px) rotate(-225deg);
    }
    #nav_sp nav,
    #nav_sp nav::after {
        position: fixed;
        top: 0;
        height: 100%;
        width: 100%;
        overflow: hidden;
    }
    #nav_sp nav {
        display: flex;
        flex-flow: column;
        justify-content: center;
        overflow: auto;
        text-align: center;
        background: rgba(0,0,0,0.6);
        right: -100%;
        z-index: 998;
        transition: .5s;
    }
    #nav_sp nav::after {
        content: "";
        background: rgba(0,0,0,0.9);
        left: -100%;
        z-index: -1;
        transition: .7s;
    }
    #nav_sp nav.active {
        right: 0;
    }
    #nav_sp nav.active::after {
        left: 0;
    }
    #nav_sp ul li:first-child {
        border-top: 1px solid #999;
    }
    #nav_sp ul li {
        border-bottom: 1px solid #999;
    }
    #nav_sp ul li a {
        display: block;
        color: #fff;
        padding: 10px;
    }
    #nav_sp span.color01 {
        background: #0f4c81;
    }
    #nav_sp span.color02 {
        background: #ed6663;
    }
    #nav_sp span.color03 {
        background: #ffa372;
    }

}

/* visual
-------------------------------------------------------*/
#visual {
    position: relative;
    height: 100vh;
}
#visual .inner {
	max-width: 1400px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#visual .main_logo {
    text-align: center;
    margin: 0 auto 20%;
    max-width: 130px;
}
#visual h2 {
    font-size: 170%;
    font-weight: 500;
    text-align: center;
}
#visual video {
    width: 140px;
}
@media screen and (max-width:768px) {
    #visual .sp_box {
        margin: -200px auto 0;
    }
    #visual .main_logo {
        text-align: center;
        max-width: 70px;
    }
    #visual h2 {
        font-size: 130%;
        font-weight: 500;
        text-align: center;
    }
}


/* svg
-------------------------------------------------------*/
.cls-1,.cls-5{
    fill:#e06460;
}
.cls-2,.cls-4{
    fill:#0b497c;
}
.cls-3,.cls-6{
    fill:#f39e71;
}
.cls-4,.cls-5,.cls-6{
    fill-rule:evenodd;
}
.cls-1,.cls-5 {
        fill: #e06460;
        stroke: #e06460;
        stroke-width: 2px;
        animation: svg01 7s ease-in;
      }
      @keyframes svg01 {
        0% {
          fill: transparent;
          stroke-dasharray: 800px;
          stroke-dashoffset: 800px;
        }
        20%{
          stroke-dashoffset: 0;
        }
        30%{
          fill: transparent;
        }
        35%{
          fill: #e06460;
        }
      }
.cls-2,.cls-4 {
        fill: #0b497c;
        stroke: #0b497c;
        stroke-width: 2px;
        animation: svg02 7s ease-in;
      }
      @keyframes svg02 {
        0% {
          fill: transparent;
          stroke-dasharray: 800px;
          stroke-dashoffset: 800px;
        }
        20%{
          stroke-dashoffset: 0;
        }
        30%{
          fill: transparent;
        }
        35%{
          fill: #0b497c;
        }
      }
.cls-3,.cls-6 {
        fill: #f39e71;
        stroke: #f39e71;
        stroke-width: 2px;
        animation: svg03 7s ease-in;
      }
      @keyframes svg03 {
        0% {
          fill: transparent;
          stroke-dasharray: 800px;
          stroke-dashoffset: 800px;
        }
        20%{
          stroke-dashoffset: 0;
        }
        30%{
          fill: transparent;
        }
        35%{
          fill: #f39e71;
        }
      }

/* scroll
-------------------------------------------------------*/
.scroll_box {
    text-align: center;
    right: 50%;
    bottom: 100px;
    transform: translate(50%,50%);
    position: absolute;
}
.scroll_box .txt {
    font-size: 70%;
    line-height: 1;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    color: #0f4c81;
}
.scroll_box .arrow {
    animation: 3s arrowPc cubic-bezier(0.52, 0.08, 0.18, 1) infinite;
}
.scroll_box .arrow img {
    max-width: 18px;
}
@keyframes arrowPc {
  0% {
    transform: translate3d(0, 0px, 0);
  }
  50% {
    transform: translate3d(0, 8px, 0);
  }
  100% {
    transform: translate3d(0, 0px, 0);
  }
}
@media screen and (max-width:768px) {
    .scroll_box {
        bottom: 150px;
    }
}

/* footer
-------------------------------------------------------*/
#footer {
	text-align: center;
    border-top: 1px solid #0f4c81;
}
#footer.area {
    padding: 50px 20px 40px;
}
#footer .logo {
    margin: 0 0 30px;
}
#footer .logo img {
    max-width: 32px;
}
#footer .copy {
	font-size: 75%;
}
@media screen and (max-width:768px) {
    #footer.area {
        padding: 40px 20px 30px;
    }
    #footer .logo img {
        max-width: 25px;
    }
}


/* about
-------------------------------------------------------*/
#about {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    position: relative;
}
#about .inner {
}
#about .inner .wrap {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: center;
}
#about .inner .img {
    margin: 0 10% 0 0;
}
#about .inner .img img {
    max-width: 150px;
}
#about .box .name {
    margin: 0 0 5px;
    font-size: 130%;
}
#about .box .rubi {
    font-size: 70%;
    margin: 0 0 30px;
}
#about .box .txt {
    font-size: 90%;
}
@media screen and (max-width:768px) {
    #about .inner .wrap {
        flex-flow: column;
        align-items: center;
    }
    #about .inner .img {
        margin: 0 0 30px;
        text-align: center;
    }
    #about .inner .img img {
        max-width: 120px;
    }
    #about .box .name {
        font-size: 120%;
    }
    #about .box .txt {
        font-size: 80%;
    }
}


/* works
-------------------------------------------------------*/
#works .ttl01 {
    margin: 0 auto 50px;
}
#works .youtube {
    margin: 0 0 20px;
    position: relative;
}
#works .noimage {
    margin: 0 0 20px;
}
#works .youtube::after {
    position: absolute;
    display: block;
    content: "";
    background: url("../img/play.png")no-repeat center/50px 50px;
    width: 50px;
    height: 50px;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
}
#works ul.slider {
    margin: 0 30px;
}
#works ul.slider:not(:last-child) {
    margin: 0 30px 150px;
}
#works ul.slider li {
    width: 30%;
    margin: 0 20px;
}
#works ul.slider li .txt_box .ttl {
    margin: 0 0 10px;
}
#works ul.slider li .txt_box .ttl span {
    color: #fff;
    background: #939393;
    font-size: 70%;
    font-weight: 400;
    padding: 0 10px;
    margin: 0 0 0 10px;
}
#works ul.slider li .txt_box .director {
    margin: 0 0 10px;
    font-size: 80%;
}
#works ul.slider li .txt_box .comment {
    font-size: 80%;
}
#works .youtube {
    position: relative;
    overflow: hidden;
}
#works .no {
    position: absolute;
    top: 50%;
    right: 50%;
    display: block;
    font-size: 120%;
    transform: translate(50%,-50%);
    color: #9b9b9b;
}
#works .cont {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
}
#works .cont .box {
    width: 48%;
    box-sizing: border-box;
}
#works .cont .box:nth-child(-n+3) {
    margin: 0 0 30px;
}
#works .sub_ttl {
    color: #ed6663;
    font-size: 120%;
    margin: 0 0 20px;
    border-bottom: 1px solid #ed6663;
    padding: 0 0 10px;
}
#works .txt_list:not(:last-child) {
    margin: 0 0 30px;
}
#works .txt_list li:not(:last-child) {
    margin: 0 0 20px;
}
#works .txt_list .ttl {
    margin: 0 0 5px;
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: flex-start;
}
#works .txt_list .comment {
    font-size: 80%;
    margin: 5px 0 0;
    padding: 0 0 0 15px;
}
#works .txt_list .director {
    font-size: 80%;
        padding: 0 0 0 15px;
}
@media screen and (max-width:768px) {
    #works .ttl01 {
        margin: 0 auto 40px;
    }
    #works .youtube {
        margin: 0 0 10px;
    }
    #works .youtube iframe {
        height: 100%;
    }
    #works ul.slider {
        margin: 0;
    }
    #works ul.slider:not(:last-child) {
        margin: 0 0 100px;
    }
    #works ul.slider li {
        width: 100%;
        margin: 0;
        padding: 0 20px;
    }
    #works ul.slider li .txt_box .ttl {
        font-size: 100%;
    }
    #works ul.slider li .txt_box .director {
        font-size: 80%;
    }
    #works ul.slider li .txt_box .comment {
        font-size: 80%;
    }
    #works .youtube {
        position: relative;
    }
    #works .no {
        position: absolute;
        top: 50%;
        right: 50%;
        display: block;
        font-size: 120%;
        transform: translate(50%,-50%);
        color: #9b9b9b;
    }
    #works .cont {
        flex-flow: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    #works .cont .box {
        width: 100%;
        margin: 0 0 30px;
        padding: 0 10px;
    }
}




/* contact
-------------------------------------------------------*/
#contact .inner {
	max-width: 700px;
}
#contact.area {
    padding: 200px 20px;
}
/* table_temp start */
#contact .table_temp {
	width: 100%;
}
#contact.contact_after .inner {
	padding: 0;
}
#contact tr {
	display: table;
	width: 100%;
	table-layout: fixed;
}
#contact tr>* {
	display: table-cell;
	vertical-align: middle;
	padding: 20px 10px;
	box-sizing: border-box;
	line-height: 1;
}
#contact tr th {
	width: 200px;
	text-align: left;
}
#contact tr th b {
	display: block;
	position: relative;
	font-weight: normal;
}
#contact tr.hissu th b::after,
#contact tr.nini th b::after {
	color: #fff;
	font-weight: 400;
	font-size: 70%;
	width: 34px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
    border-radius: 5px;
}
#contact tr.hissu th b::after {
	content: "必須";
	border: 1px solid #E06460;
    color: #E06460;
}
#contact tr.nini th b::after {
	content: "任意";
	border: 1px solid #bfbfbf;
    color: #bfbfbf;
}
#contact.contact_after tr {
	border-bottom: 1px solid #ccc;
}
#contact.contact_after tr:first-child {
	border-top: 1px solid #ccc;
	margin: 30px 0 0;
}
#contact.contact_after tr th {
	color: #aaa;
}
#contact.contact_after tr td {
	font-weight: 500;
}
.txt_form .red,
.error_messe b {
	color: #f00;
	font-weight: normal;
}
.error_messe {
	margin: 20px 0 0;
	text-align: center;
	line-height: 1.3;
}
.error_messe>* {
	display: inline-block;
}
#contact input[type="text"],
#contact select,
#contact textarea {
	width: 100%;
    border-radius: 5px;
}
#contact input[type="text"],
#contact select {
	height: 40px;
}
#contact textarea {
	min-height: 150px;
	resize: vertical;
}
#contact .radio_area label,
#contact .check_area label {
	display: inline-block;
	margin: 5px 5px 5px 0;
	line-height: 1.3;
}
#contact .txt_form {
	text-align: center;
	line-height: 1.3;
}
#contact .txt_form span {
	display: block;
}
::placeholder {
	color: #ccc;
}
#contact .form_btn {
	display: flex;
	flex-flow: row-reverse nowrap;
	align-items: center;
	justify-content: space-evenly;
}
#contact .form_btn01,
#contact .form_btn02 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80%;
	max-width: 260px;
	height: 50px;
	border-radius: 5px;
	padding: 10px;
	margin: 30px auto 0;
	box-sizing: border-box;
	font-size: 120%;
	color: #E06460;
	line-height: 1;
    text-align: center;
    border: 1px solid #E06460;
}
#contact .form_btn01 {
	background: #fff;
}
#contact .form_btn01:hover {
    background: #E06460;
    opacity: 1;
    color: #fff;
    transition: .3s;
}
#contact .form_btn02 {
	background: #ffa372;
}
#contact .form_btn02 {
	background: #fff;
    color: #ffa372;
    border: 1px solid #ffa372;
}
#contact .form_btn02:hover {
    background: #ffa372;
    opacity: 1;
    color: #fff;
    transition: .3s;
}
#contact .mb20 {
    margin: 0 0 20px;
}
/* table_temp end */
@media screen and (max-width:768px) {
    #contact.area {
        padding: 70px 20px;
    }	
    /* table_temp start */
	#contact.contact_after tr:first-child {
		margin: 20px 0 0;
	}
	#contact tr>* {
		display: block;
		padding: 15px 0;
		line-height: 1.3;
	}
	#contact tr th {
		width: 100%;
		font-size: 100%;
	}
	#contact tr td {
		padding-top: 0;
	}
	#contact tr.hissu th b::after,
	#contact tr.nini th b::after {
		top: 0!important;
		right: 0!important;
		bottom: 0!important;
	}
	#contact .radio_area label,
	#contact .check_area label {
		display: flex;
		align-items: center;
	}
	#contact .form_btn {
		flex-flow: column;
	}
	#contact .form_btn01,
	#contact .form_btn02 {
		margin: 20px 0 0;
		font-size: 100%;
		height: 50px;
	}
	/* table_temp end */
}