@import "base.css";
@import "navigation.css";


/* top.css */

/* top header */
.head_pc {
}
.head_pc .homeBtn {
    float:left;
    margin:0;
    padding:0;
    line-height:32px;
}
.head_pc p.description {
    float:right;
    margin:0;
    padding:0;
    line-height:32px;
    font-size:0.8em;
    color:#666666;
}
.head_pc .homeBtn a {
    display:inline-block;
    background:url("../images/hd_icon_home.png") no-repeat left center;
    padding-left:20px;
    transition:ease-out 0.4s;
}
.head_pc .homeBtn a:hover {
    text-decoration:none;
    opacity:0.5;
}


/* logo */
#contents h1 {
    padding:25px 0 30px;
}




/* top navigation */
#nav_top {
    width:1000px;
    margin:0 auto 120px;
    padding-bottom:15px;
    border-bottom:1px solid #ccc;
}

#nav_top a {
    line-height:2.0;
    transition:ease-out 0.4s;
}
#nav_top a:hover {
    text-decoration:none;
    opacity:0.5;
}

#nav_top ul.main {
    float:left;
    width:calc(66% - 1px);
    border-right:1px solid #ccc;
}
#nav_top ul.main li {
    display:inline-block;
    width:32%;
    font-weight:bold;
}
#nav_top ul.main li:nth-child(n+2) {
    text-align:center;
}

#nav_top ul.sub {
    float:right;
    width:34%;
    text-align:right;
}
#nav_top ul.sub li {
    display:inline-block;
    width:48%;
    font-size:0.9em;
    text-align:center;
}
#nav_top ul.sub li.company {
    text-align:center;
}
#nav_top ul.sub li.company a {
    display:inline-block;
    background:url("../images/icon_company.png") no-repeat left center;
    padding-left:28px;
}
#nav_top ul.sub li.contact a {
    display:inline-block;
    background:url("../images/icon_contact.png") no-repeat left center;
    padding-left:28px;
}


/* h2 */
#contents h2 {
    margin-bottom:40px;
    text-align:center;
    font-size:1.8em;
    font-weight:bold;
}
#contents h2.en {
    font-size:2.0em;
    font-weight:normal;
    letter-spacing:0.1rem;
}
/* Instagram */
#contents h2.ig {
    background:url("../images/icon_ig.png") no-repeat center bottom;
    padding-bottom:60px;
}


/* news */
.news {
    width:100%;
    margin-bottom:110px;
    padding-top:2.0em;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
}
.news dl {
    width:640px;
    margin:0 auto;
    padding-bottom:1.0em;
}
.news dl dt {
    float:left;
    width:8em;
    margin-bottom:1em;
}
.news dl dd {
    margin:0 0 1em 8em;
}


/* works */
.worksArea {
    width:1000px;
    margin:0 auto 120px;
}
.worksBlock {
    position:relative;
    float:left;
    width:32%;
    margin-right:2.0%;
}
.worksBlock:nth-child(3n) {
    margin-right:0;
}
.worksBlock img {
    display:block;
    max-width:100%;
    height:auto;
}

.worksBlock .img {
    position:relative;
    width:100%;
    margin-bottom:1.0em;
}
.worksBlock .img a {
    display:block;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:10;
}

.worksBlock .img span {
    display:inline-block;
    background:url("../images/arrow_gray_s.png") no-repeat left center;
    margin-bottom:1.0em;
    padding-left:12px;
    font-size:1.2em;
}
.worksBlock .img img,
.worksBlock .img span {
    transition:ease-out 0.4s;
}

.worksBlock .img:hover img {
    opacity:0.7;
    cursor:pointer;
}
.worksBlock .img:hover span {
    opacity:0.5;
    cursor:pointer;
}


/* Instagram */
ul.ig {
    width:850px;
    margin:0 auto;
    padding-bottom:120px;
    font-size:0;
}
ul.ig li {
    position:relative;
    display:inline-block;
    width:24.625%;
    max-width:210px;
    margin-right:0.5%;
    margin-bottom:0.5%;
    font-size:12px;
}
ul.ig li:nth-child(4n) {
    margin-right:0;
}

ul.ig li::before{
    display:block;
    content:"";
    padding-top:100%;
}
ul.ig li a {
    display:block;
    overflow:hidden;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
ul.ig li img {
    position:absolute;
    bottom:0;
    width:100%;
    height:auto;
    line-height:0;
}



/* Nakacon x Inos images */
.nxi_img {
    max-width:998px;
    margin:0 auto 15px;
    border:1px solid #ccc;
}
.nxi_img_2clm {
    max-width:1000px;
    margin:0 auto 135px;
}
.nxi_img_left {
    float:left;
    width:calc(49.2% - 2px);
    margin-right:1.6%;
    border:1px solid #ccc;
}
.nxi_img_right {
    float:right;
    width:calc(49.2% - 2px);
    border:1px solid #ccc;
}
#wrapper .nxi_img img,
#wrapper .nxi_img_2clm img {
    width:100%;
    height:auto;
}

#wrapper .nxi_img img.sp,
#wrapper .nxi_img_2clm img.sp {
    display:none;
}


/* link to sub page */
ul.link_sub {
    width:1000px;
    margin-left:auto;
    margin-right:auto;
    text-align:right;
}
ul.link_sub li {
    display:inline-block;
    margin-left:1.5em;
}
ul.link_sub li a {
    display:inline-block;
    background:url("../images/arrow_gray_s.png") no-repeat left center;
    padding-left:10px;
}




/* - 1020px */
/*-----------------------------------------------------------*/
@media only screen and (max-width: 1020px) {



}
/* - 1020px end */



/* - 1000px */
/*-----------------------------------------------------------*/
@media only screen and (max-width: 1000px) {



/* top navigation */
#nav_top {
    width:90%;
    padding-bottom:15px;
    text-align:center;
}
#nav_top ul.main {
    width:calc(60% - 1px);
}
#nav_top ul.main li {
    width:100%;
    text-align:left;
}
#nav_top ul.main li:nth-child(n+2) {
    text-align:center;
}

#nav_top ul.sub {
    width:40%;
}

#nav_top ul.main {
    float:none;
    width:90%;
    margin:0 auto 2em;
    padding-bottom:1.5em;
    border-right:none;
    border-bottom:1px solid #ccc;
    text-align:center;
}
#nav_top ul.main li {
    padding-bottom:1.0em;
    text-align:center;
}

#nav_top ul.sub {
    float:none;
    width:80%;
    margin:0 auto 1em;
    text-align:center;
}


/* news */
.news {
}
.news dl {
    width:90%;
}


/* works */
.worksArea {
    width:96%;
}
.worksBlock p {
    line-height:1.6;
    font-size:0.9em;
}


/* Instagram */
ul.ig {
    width:80%;
}
ul.ig li {
    width:24.25%;
    margin-right:1.0%;
    margin-bottom:1.0%;
}


/* Nakacon x Inos images */
.nxi_img {
    width:96%;
    margin:0 auto 1.5%;
}
.nxi_img_2clm {
    width:96%;
}


/* link to sub page */
ul.link_sub {
    width:96%;
}



}
/* - 1000px end */





/* - 667px */
/*-----------------------------------------------------------*/
@media only screen and (max-width: 667px) {

/* top header */
.head_sp {display:block;}


#contents h1,
#nav_top {
    display:none;
}


/* h2 */
#contents h2 {
    margin-bottom:25px;
    font-size:1.6em;
}
#contents h2.en {
    font-size:1.7em;
    letter-spacing:0;
}

#contents p {
    width:90%;
    margin-left:auto;
    margin-right:auto;
}

/* news */
.news {
    margin-bottom:80px;
}
.news dl dt {
    width:7em;
}
.news dl dd {
    margin:0 0 1em 7em;
}


/* works */
.worksArea {
    margin:0 auto 80px;
}
.worksBlock {
    float:none;
    width:90%;
    margin:0 auto 1em;
    clear:both;
}
.worksBlock:nth-child(3n) {
    margin:0 auto 1em;
}
.worksBlock .photo {
    float:left;
    width:48%;
    margin-right:4%;
    margin-bottom:1.0em;
}
.worksBlock .txt {
    float:left;
    width:48%;
}
#contents .worksBlock p {
    width:100%;
}


/* Instagram */
ul.ig {
    width:90%;
    padding-bottom:80px;
}


/* Nakacon x Inos images */
#wrapper .nxi_img img.sp,
#wrapper .nxi_img_2clm img.sp {
    display:block;
}
#wrapper .nxi_img img.pc,
#wrapper .nxi_img_2clm img.pc {
    display:none;
}

.nxi_img {
    width:100%;
    margin:0;
    border-top:1px solid #ccc;
    border-right:none;
    border-left:none;
    border-bottom:none;
}
.nxi_img_2clm {
    width:100%;
    margin:0 auto 80px;
}
.nxi_img_left {
    float:none;
    width:100%;
    margin:0;
    border-top:1px solid #ccc;
    border-right:none;
    border-left:none;
    border-bottom:none;
}
.nxi_img_right {
    float:none;
    width:100%;
    margin:0;
    border-top:1px solid #ccc;
    border-right:none;
    border-left:none;
    border-bottom:1px solid #ccc;
}







}
/* - 667px end */





/* - 480px */
/*-----------------------------------------------------------*/
@media only screen and (max-width: 480px) {






}
/* - 480px end */



































