﻿@charset "utf-8";
body {
	color: #fff;
	font-size:16px;
	background-color: #fff !important;
	font-family: "fot-tsukuardgothic-std", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-weight: 400;
font-style: normal;
	line-height: 1.5;
}
img {
	max-width: 100%;
	height: auto;
}

.imgcenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

a {
	color: #fff;
	text-decoration: underline;
	transition: 0.8s;
	-webkit-transition: 0.8s;
}

a:hover {
	opacity: 0.75;
	text-decoration:none;
}

/*-------------------------------------
			PC/SP出し分け
---------------------------------------*/

.pcOnly{display:; !important}
.spOnly{display:none;}
.spOnlyTxt{display:none;}

@media(max-width:768px){
	.pcOnly{display:none;}
	.spOnly{display:block;}
	.spOnlyTxt{display:inline;}
}

/*========= 共通===============*/
.fontB {
	font-family: "fot-tsukuardgothic-std", sans-serif;
font-weight: 700;
font-style: normal;
}
article h3 {
	color: #fff;
	font-weight: 700;
font-style: normal;
	font-size: 32px;
	position: relative;
  display: inline-block;
}
article h3:before {
  content: '';
  position: absolute;
  bottom: -5px;
  display: inline-block;
  width: 45px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 10px;
}
article h4 {
	color: #fff;
	font-weight: 700;
font-style: normal;
	font-size: 17px;
	margin: 0.7em 0 1.5em;
}
article#service, 
article#works, 
article#about, 
article#contact {
	padding: 4rem 0;
}
.wrap {
	width: 94%;
	margin: 0 auto;
}


@media only screen and (min-width: 899px) {
.wrap {
	width: 960px;
}

article h3 {
	font-size: 38px;
}
article#service, 
article#works, 
article#about, 
article#contact {
	padding: 6rem 0;
}
}

/*========= mainV===============*/
article#mainV {
	padding: 6.5rem 2% 0;
}
article#mainV h2 {
	font-size: 16px;
	line-height: 2;
	text-align: center;
	font-weight: 700;
font-style: normal;
	color: #231816;
	margin-bottom: 4rem;
}
article#mainV h1 {
	width: 70%;
	margin: 0 auto;
	margin-bottom: 3rem;
}

@media only screen and (min-width: 899px) {
article#mainV {
	padding: 160px 0 0;
}
article#mainV h2 {
	font-size: 22px;
	margin-bottom: 6rem;
}
article#mainV h1 {
	width: 50%;
	margin: 0 auto;
	margin-bottom: 3rem;
}
}

/*========= navi===============*/
#g-nav.panelactive{
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
    height: 100vh;
}

.circle-bg{
    position: fixed;
	z-index:3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #999;
	transform: scale(0);
	right:-50px;
    top:-50px;
    transition: all .6s;
}

.circle-bg.circleactive{
	transform: scale(50);
}

#g-nav-list{
    display: none;
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block; 
}

#g-nav ul {
	opacity: 0;
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    opacity:1;
}

#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

#g-nav li{
	text-align: center; 
	list-style: none;
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	letter-spacing: 0.1em;
	font-family: "fot-tsukuardgothic-std", sans-serif;
font-weight: 700;
font-style: normal;
}

.openbtn{
	position:fixed;
	top:10px;
	right: 10px;
	z-index: 9999;
	cursor: pointer;
    width: 50px;
    height:50px;
}
		
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
#g-nav.panelactive{
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
    height: 100vh;
}

.circle-bg{
    position: fixed;
	z-index:3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #012c8b;
	transform: scale(0);
	right:-50px;
    top:-50px;
    transition: all .6s;
}

.circle-bg.circleactive{
	transform: scale(50);
}

#g-nav-list{
    display: none;
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
     display: block; 
}

#g-nav ul {
	opacity: 0;
    position: absolute;
    z-index: 999;
    top:40%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    opacity:1;
}

#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

#g-nav li{
	text-align: center; 
	list-style: none;
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	letter-spacing: 0.1em;
	font-size: 24px;
}

.openbtn{
	position:fixed;
	top:10px;
	right: 10px;
	z-index: 9999;
	cursor: pointer;
    width: 50px;
    height:50px;background-color: #d80c18;
	border-radius: 10px;
}
	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

/*========= Service===============*/
article#service {
	background-color: #012c8b;
}

article#service .lead {
	margin-bottom: 3rem;
}

article#service .s-item {
	width: 90%;
	margin: 0 auto;
	text-align: center;
}

article#service .s-item div {
	margin-bottom: 4rem;
}

article#service .s-item img {
	width: 40%;
	margin: 0 auto;
	display: block;
}
article#service .s-item h5 {
	font-size: 24px;
	text-align: center;
	font-weight: bold;
	position: relative;
  line-height: 1.4;
  padding:0.25em 1em;
  display: inline-block;
	margin: 2rem 0;
}
article#service .s-item h5:before, article#service .s-item h5:after { 
  position: absolute;
  top: 0;
  content:'';
  width: 8px;
  height: 100%;
  display: inline-block;
}
article#service .s-item h5:before {
  border-left: solid 2px #fff;
  border-top: solid 2px #fff;
  border-bottom: solid 2px #fff;
  left: 0;
}
article#service .s-item h5:after {
  content: '';
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  border-bottom: solid 2px #fff;
  right: 0;
}

article#service .s-item p {
	font-size: 14px;
	text-align: left;
}
article#service .s-item .subh {
	font-weight: 700;
	margin-bottom: 0.5rem;
	font-size: 16px;
	text-align: left;
}
#writer {
	padding-top: 4.5rem;
}


@media only screen and (min-width: 899px) {
article#service .lead {
	text-align: center;
	margin-bottom: 4rem;
}
article#service .s-item {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
article#service .s-item img {
	width: 135px;
}
article#service .s-item div {
	width: 30%;
}
article#service .s-item p {
    text-align: left;
}
article#service .s-item p.subh {
    text-align: center;
	font-size: 17px;
}
}

/*========= Works===============*/
article#works {
	background-color: #d80c18;
}

@media only screen and (min-width: 899px) {
article#works p {
	text-align: center;
}
#writer {
	padding-top: 4rem;
}
}
/*＝＝＝並び替えボタンのCSS*/
.sort-btn{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding:30px 0;
}
.sort-btn li{
	background:#d80c18;
	border-radius:10px;
	cursor: pointer;
	padding: 10px 15px;
	margin:0 10px;
	border: 2px solid #fff;
	font-weight: 700;
}
.sort-btn li.active{
	background:#fff;
	color: #d80c18;
}

#top .fancybox-caption a {
  text-decoration:underline;
	color: #e99bc1;
}

#writer dl dt {
	padding: 0.25em 0.5em;
  border-left: solid 5px #012c8b;
	font-size: 20px;
  margin-bottom: 0.5rem;
}

#writer dl dd {
	font-size: 16px;
	margin-bottom: 1.2rem;
	padding-bottom: 1.2rem;
	border-bottom: 3px dotted #fff;
	line-height: 1.8;
}

#writer dl dd:last-child {
	border-bottom: none;
}

@media only screen and (max-width: 899px) {
/*.sort-btn{
	justify-content: space-between;
}*/
.sort-btn li{
	width: 38%;
margin: 0 2% 8px;
	padding: 10px;
	text-align:center;
}
}
.grid {
  position: relative;
}
.item {
  display: block;
  position: absolute;
  width: 33%;
  z-index: 1;
}
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.grid img{
	width:100%;
	height:auto;
	vertical-align: bottom;
}
.fancybox-thumbs {
    background: transparent!important;
}

.fancybox-thumbs__list a:before {
    border: 6px solid #FA999B;
}

/*========= about===============*/
article#about {
	background-color: #a660a3;
	height: 100%;
}
article#about .proimg {
	width: 200px;
	margin: 0 auto 15px;
}
article#about .protext {
	width: 94%;
	margin: 0 auto;
}
article#about .protext h4 {
	font-size: 22px;
	margin-bottom: 10px;
	font-weight: 700;
}
article#about .protext p {
	line-height: 1.7;
	font-size: 16px;
}
article#about ul {
	margin-top: 1rem;
	display: flex;
	justify-content: flex-end;
}
article#about ul li {
	margin-left: 1rem;
	flex-shrink: 0;
}
article#about ul li img {
    width: 28px;
    height: 28px;
}

@media only screen and (min-width: 899px) {
article#about {
	padding: 100px 0;
}
article#about .proimg {
	width: 270px;
	margin: 0 auto 15px;
}
article#about .protext {
	width: 600px;
	margin: 0 auto;
}
article#about .proinner {
    display: flex;
}
}

/*========= contact===============*/
article#contact {
	background-color: #ea6096;
}
article#contact p {
	text-align: center;
	line-height: 1.7;
}
article#contact .btn {
	text-align: center;
	margin: 2rem 0 3rem;
}
article#contact .btn a {
	text-decoration: none;
	border: 2px solid #fff;
	padding: 1rem 4rem;
	background-color: #ea6096;
	border-radius: 10px;
	font-size: 18px;
}

@media only screen and (min-width: 899px) {
}

/*========= footer===============*/
footer {
	padding: 15px 0;
	text-align: center;
	font-size: 11px;
	background-color: #231816;
}
@media only screen and (min-width: 899px) {

}

/*========= ローディング===============*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #012c8b;
	z-index: 9999999;
	text-align:center;
	color:#fff;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.4rem;
}

body{
    background:#fff;/*遷移アニメーションと同じ色を指定*/
}

body.appear{
    background:#fff;
}
.splashbg1,
.splashbg2{
    display: none;
}
body.appear .splashbg1,
body.appear .splashbg2{
	display:block;
}

body.appear .splashbg1{
	animation-name:PageAnime;
	animation-duration:1.4s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    bottom:50%;
	left:0;
    transform: scaleY(1);
    background-color: #012c8b;
}

@keyframes PageAnime{
	0% {
		transform-origin:top;
		transform:scaleY(1);
	}

	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}
body.appear .splashbg2{
    animation-name:PageAnime2;
	animation-duration:1.4s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 50%;
	left:0;
    transform: scaleY(1);
    background-color: #012c8b;
}

@keyframes PageAnime2{
	0% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	100% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
}

#container{
	opacity: 0;
}

body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay:0.2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}