﻿/*

Editor	: C.I.
Version	: 1.0
Since	: 2019-12-25

	[Index]
	header, content, footer

*/
/* reset
--------------------------------------------- */
header a,
header a:link,
header a:visited{text-decoration:none;}
footer a,
footer a:link,
footer a:visited{text-decoration:none;}

header h1,
header h2,
header h1 + h2,
header h3,
header h2 + h3,
header h4,
header h3 + h4,
header h5,
header h6,
header p,
header ul,
header dl,
header table,
header ol,
header figure,
footer h1,
footer h2,
footer h1 + h2,
footer h3,
footer h2 + h3,
footer h4,
footer h3 + h4,
footer h5,
footer h6,
footer p,
footer ul,
footer dl,
footer table,
footer ol,
footer figure,
#breadcrumb ul{
margin-top:0;
}

/* inWrapper
--------------------------------------------- */
/* wrapper */
#wrapper{
background-color:#000;
}
/* wrapper */
#inHeader,
#inFooter,
#inContent,
.inCon,
.inContactBnr,
#indexttlWrap,
#inTtlWrap{
width:80%;
margin:0 auto !important;
}
#ttlWrap #breadcrumb ul{width:auto;}
.inCon,
#inHeader{position:relative}
#inContent{padding-top:40px;padding-bottom:60px;}
@media only screen and (max-width: 767px){
}
#inHeader,
#inFooter,
#inContent,
.inCon,
.inContactBnr,
#indexttlWrap,
#inTtlWrap{
max-width:1400px;
}
@media only screen and (max-width: 1100px){
    /* wrapper */
    #inHeader,
    #inFooter,
    #inContent,
    .inCon,
    .inContactBnr,
    #indexttlWrap,
    #inTtlWrap{
    width:94%;
    margin:0 auto;
    }
    #ttlWrap #breadcrumb ul{width:auto;}
}
@media only screen and (max-width: 767px){
    /* wrapper */
    #inHeader,
    #inFooter,
    #inContent,
    .inCon,
    .inContactBnr,
    #indexttlWrap,
    #inTtlWrap{
    width:90%;
    margin:0 auto;
    }
    #ttlWrap #breadcrumb ul{width:auto;}
}
/* header
--------------------------------------------- */
#wrapper{
background:url("/asset/img_cmn/big_arrow.png") 0 0 no-repeat #000;
background-size:auto 100vh;
}
#headWrap{
position:relative;
overflow:hidden;
}
.works #headWrap,
.category-works #headWrap{
height:70vh;
}
@media only screen and (max-width: 1332px){
    .works #headWrap,
    .category-works #headWrap{
    height:50vh;
    }
}
@media only screen and (max-width: 960px){
    .works #headWrap,
    .category-works #headWrap{
    height:40vh;
    }
}
@media only screen and (max-width: 910px){
    .works #headWrap,
    .category-works #headWrap{
    height:50vh
    }
}
ul.ttlBg li figure,
ul.ttlBg{margin-top:0;}

.ttlBg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:0;
margin-top:0;
}
ul.ttlBg li{
position:absolute;
background-color:#000;
width:100%;
}
ul.ttlBg li:first-child{
z-index:2;
}
ul.ttlBg li:last-child{
z-index:0;
}
.ttlBg img{
    filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
}

@media only screen and (max-width: 1030px){
    .ttlBg img{
    height:auto;
    width:100%;
    }
}
@media only screen and (max-width: 898px){
    .ttlBg img{
    height:100%;
    width:auto;
    }
}
/* header TOP */
header .logo{
float:left;
width:8%;
line-height:1.1;
padding-bottom:0.5em;
position:relative;
z-index:2;
}
header .logo a,
header .logo a:link,
header .logo a:hover,
header .logo a:visited{color:#2A684C;}
/*header nav #hdSubNav ul,
header nav #hdSubNav ul li,
header nav p{
display:inline-block;
}

header nav #hdSubNav li{
margin-right:10px;
padding:3px 0 2px 1em;
background-size:auto 100%;
background-position:0 50%;
background-repeat: no-repeat;
}
header nav #hdSubNav p{
line-height: 1.1;
margin-left:1em;
font-size: 110%;
}
header nav #hdSubNav p.navSubTel{
color:#2A684C;
padding-left:1em;
margin-left:1em;
border-left:1px solid #707070;
}
header nav #hdSubNav p.navSubContact a{
display: inline-block;
color:#fff;
background-color:#2A684C;
padding:8px 10px;
}
header nav #hdSubNav p.navSubContact a,
header nav #hdSubNav p.navSubContact a:visited,
header nav #hdSubNav p.navSubContact a:hover{color:#fff;}*/
/*header nav #hdSubNav li.navSub01{
background-image:url(/asset/img_cmn/icon_faq.svg);
}
header nav #hdSubNav li.navSub02{
padding-left:35px;
background-image:url(/asset/img_cmn/icon_news.svg);
}*/
#inHeader{
padding-top:1em;
}

header nav #Gnav li a{position:relative;padding-top:1em;}


/* following */
/*header.FixHd{
position: fixed;
width:100%;
background-color:#fff;
z-index: 50;
border-bottom:solid 1px #707070;
}
header.FixHd .logo,
header.FixHd #hdSubNav{display:none;}
header.FixHd #inHeader{padding-top:0;}*/



/* #Gnav
--------------------------------------------- */
header nav #Gnav{margin:3em 0;}

header nav{
animation: SlideIn 0.6s alternate;
opacity: 0.8;
display: table;
}
header nav #inNav{
display:table-cell;
vertical-align: middle;
padding:0 2em;
}

/* CSSアニメーションの設定 */
@keyframes SlideIn {
  0% {
    opacity: 0;/*初期状態では透明に*/
    transform: translateX(64px);
  }
  100% {
    opacity: 0.8;
    transform: translateX(0);
  }
}
header nav #Gnav ul li span{
margin-left:1em;
}
header nav #Gnav ul li.current a{
color:#C10034;
}
header nav #Gnav ul li.current a span{
opacity: 1;
}

/* clear */
#inHeader:after,
header nav #Gnav ul:after{
content:'';
visibility: hidden;
display: block;
height:0;
line-height:1;
clear:both;
}
header .GnavMenu,
header #SpGnav{display:none;}

/* open menu */
.GnavMenu + label{
dispaly:block;
width:3em;
height:3em;
cursor: pointer;
}
.GnavMenu + label{
    background: url(/asset/img_cmn/menu.svg) transparent no-repeat 0 0;
    background-size:100% auto;
}


header nav{
position:fixed;
top:0;
right:0;
bottom:0;
background-color:#000;
z-index:100;
filter:alpha(opacity=80);
-moz-opacity: 0.8;
opacity: 0.8;
height:100vh;
width:50%;
}
    
@media only screen and (max-width: 767px){
    header nav{
    width:96%;
    }
    header .logo,
    header nav #hdSubNav{
    float:none;
    }
    header .logo{
    width:20%;
    font-size:1em;
    line-height: 1;
    margin-top:0.5em;
    }
    header.FixHd #inHeader{min-height: 3em;}
    header.FixHd .logo,
    header.FixHd #hdSubNav{display:block;}
    header nav #inNav{padding:0 1.5em;}
}

header nav {display:none;}
.GnavMenu:checked + label + nav{display:table;}
.GnavMenu:checked + label{background-image:none;}
.GnavMenu:checked + label:before{
    content:"×";
    display:block;
    font-size:4em;
    line-height: 1.1;
}
header{position:relative;}
header #SpGnav{
display:block;
/*position:fixed;*/
position:absolute;
top:15px;
right:15px;
z-index:101;
font-size:10px;
}
header #SpGnav span{
display:block;
overflow: hidden;
text-indent:-500px;
}
header nav #Gnav li span{opacity: 0;margin-right:1em;}
#Gnav li a:hover span{
margin-right:1em;
}
header nav #Gnav li a:hover span{
animation: fadeIn 1s ease 0s 1 alternate;
opacity: 1;
}
@keyframes fadeIn { /*animetion-nameで設定した値を書く*/
0% {opacity: 0} /*アニメーション開始時は不透明度0%*/
100% {opacity: 1} /*アニメーション終了時は不透明度100%*/
}

.FixHd #inHeader{position:fixed;left:50%;width:40%;z-index:100;}
.FixHd #inHeader .logo{display:none;}
@media only screen and (max-width: 767px){
    .GnavMenu + label{
    width:25px;
    height:4em;
    }
    .FixHd #inHeader{width:49%;}
    header #SpGnav{right:0;}
    .FixHd #SpGnav{right:13px;}
}

/* contents
--------------------------------------------- */
#breadcrumb{background-color:#2A684C;}

#breadcrumb li{
display:inline-block;
margin-left:8px;
}
#breadcrumb li:first-child{
margin-left:0;
}
#breadcrumb li:before{
content:'>';
margin-right:5px;
}
#breadcrumb li:first-child:before{
content:'';
margin-left:0;
}
#breadcrumb{
padding-top:5px;
padding-bottom:7px;
border-top:solid 1px #ccc;
border-bottom:solid 1px #ccc;
}

#ttlWrap #breadcrumb{border:none;}

@media only screen and (max-width: 767px){
    #breadcrumb li:last-child{
    display:none;
    }
    #breadcrumb li:after{
    content:none;
    margin-left:0;
    }
    #breadcrumb li:before,
    #breadcrumb li:first-child:before{
    content:'<';
    margin-right:5px;
    }
}

/* wrap */
#sideNav{float:left;width:20%;}
#mainContent{float:right;width:76%;}
#mainWrap:after{
content:'';
visibility: hidden;
display: block;
height:0;
line-height:1;
clear:both;
}
@media only screen and (max-width: 767px){
    #sideNav,
    #mainContent{float:none;width:auto;}
    #sideNav{
    margin-top:2em;
    padding-top:2em;
    border-top:solid 1px #707070;
    }
}

/* #sideNav */
#sideNav li{
margin-bottom:15px;
}
#sideNav ul{
margin-left:1em;
}

/* pageTop */
#inContent{position:relative;}
#pageTop{
position:fixed;
left:50%;
bottom:3em;
width:40%;
height:1px;
}
@media only screen and (max-width: 767px){
    #pageTop{
        width:45%;
    }
}
#pageTop.FPosi{
position:absolute;
width:2.5em;
height:2.5em;
left:auto;
right:0;
}
@media only screen and (max-width: 767px){
    #pageTop.FPosi{
        bottom:1em;
    }
}
#pageTop a{
float:right;
display:block;
width:2.5em;
height:2.5em;
text-indent:-500px;
overflow:hidden;
background:url(/asset/img_cmn/icon_pagetop.svg) no-repeat 0 0;
background-size:99% auto;
}

/* lnav */
.lnav li{width:48%;float:left;border-top:dotted 1px #C55E0F;border-bottom:dotted 1px #C55E0F;}
.lnav li a{display:block;padding:10px 0;text-align:center;}
.lnav li a:after{
content:" ";
display:inline-block;
margin-left:6px;
margin-bottom:-2px;
width:1em;
height:1em;
background:url(/asset/img_cmn/icon_arrow.svg) no-repeat 0 50% transparent;
background-size: auto 100%;
}
.lnav li.current a:after{
content:"";
background:none;
}
.lnav li{margin-left:4%;}
.lnav li:first-child{margin-left:0;}

.lnav ul:after{
content:'';
visibility: hidden;
display: block;
height:0;
line-height:1;
clear:both;
}


/* footer
--------------------------------------------- */
/*footer*/
footer a, footer a:link,footer a:hover, footer a:visited{color:#000;}
footer{
padding:30px 0 10px 0;
color:#000;
}
#inFooter nav .fSitemap{
margin-top:2em;
}
.fSitemap li span{
margin-left:1em;
font-size:80%;
opacity: 0;
}
.fSitemap li a:hover span{
animation: fadeIn 1s ease 0s 1 alternate;
opacity: 1;
}
@keyframes fadeIn { /*animetion-nameで設定した値を書く*/
  0% {opacity: 0} /*アニメーション開始時は不透明度0%*/
  100% {opacity: 1} /*アニメーション終了時は不透明度100%*/
}

footer .companyName{
margin-top:2em;
}

/* .footRight */
#inFooter nav{
width:50%;
float:left;
}
.footRight{
width:40%;
float:right;
}

#inFooter nav ul:after{
content:'';
visibility: hidden;
display: block;
height:0;
line-height:1;
clear:both;
}

#inFooter .fsns img{
width:auto;
}
#inFooter .fsns dt,
#inFooter .fsns dd{display:inline-block;}
#inFooter .fsns dt{margin-right:1em;}
#inFooter .fsns dd img{margin-right:0.5em;}
#inFooter p.flogo{
width:20%;
}
.footRight{
text-align:right;
}

footer #Copyright{text-align:left;clear:both;padding-top:2em;}
footer #Copyright b{font-weight:normal;}
@media only screen and (max-width: 767px){
#inFooter nav,
    .footRight{
    width:auto;
    float:none;
    }
        .footRight{
margin-top:4em;
    text-align: left;
    }
}
