@charset "UTF-8";

/*
Theme Name: toinoki
Description: toinoki template
version: 1.0
Author: M.Sasaki
*/



/*幅と高さの計算を簡略化*/
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

:root {
    --main-color: rgba(15,15,15,1.00);
    --sub-color: rgba(202,202,202,1.00);
    --link-color: rgba(70,70,70,1.00);
}



/* /// All /// */

body {
    margin: 0;
    color: var(--main-color);
    font-family: univers-next-pro, yu-gothic-pr6n, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    line-height: 1.8;
    letter-spacing: 0em;
    text-align: justify;
}
body {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    grid-template-rows: 60px auto auto;
    grid-gap: 20px;
}
img {
    max-width: 100%;
    height: auto;
}
a:hover, a:active, a:focus {
    color: var(--link-color);
}
a:link , a:visited{
    color: var(--link-color);
}
a {
    text-decoration: none;
}
h1 {
    font-size: 1.7em;
    font-weight: 500;
    padding-top: 5px;
    line-height: 1;
}
h2  {
    font-weight: 200;
    margin: 0;
    font-size: 1.5em;
}
h3 {
    font-weight: 200;
    margin: 0;
    font-size: 1.4em;
    padding-top: 0px;
    color: rgb(202,202,202);
    line-height: 10px;
    padding-bottom: 15px;
}
h4  {
    font-size: 1em;
    line-height: 1;
    font-weight: 200;
}

.aside {
    padding-top: 50px;
    font-size: 0.9em;
    line-height: 1.7;
}
.name {
    font-weight: 300;
    font-size: 1.1em;
    line-height: 2;
}
.title {
    font-size: 1.3em;
    line-height: 1.3;
    vertical-align: 5px;
    margin-bottom: 10px;
}
.type {
    font-size: 0.9em;
}
.client {
    font-size: 0.9em;
}
.comment {
    margin: 0px 0 30px 0;
    line-height: 1.5;
}
.info,.link,.event-info {
    font-size: 0.9em;
    letter-spacing: 0.05em;
    text-align: left;
}
.info,.event-info {
    line-height: 1.5;
}
.link  {
    line-height: 1;
}
span.spacing {
    word-spacing: 1em;
    letter-spacing: 0.025em;
    text-align: left;
}
span.english-L {
    font-weight: 200;
    letter-spacing: 0.2px;
}
.topwide {
    padding-top: 10px;
}
.topwide-bottomnarrow {
    padding: 20px 0 0 0;
}
.bottomwide {
    padding-bottom: 10px;
}
.bottomnarrow {
    padding-bottom: 0;
}
.img-circle {
    clip-path: circle(40%);
    margin: 0;
    width: 200px;
    position: relative;
    left: -80px;
    top: -50px;
}
img.backarrow {
    width: auto;
    height: 35px;
    margin: 15px 0px 0px 1px;
}
.nopagefound {
    grid-column: 2 / 8;
    grid-row: 1 / 2;
    padding: 50px 0 500px 0;
}
.nopagefound-ttl {
    font-size: 1.5em;
}
.cat-label__extra {
	line-height: 1.5;
    font-size: 0.9em;
    display: inline-block;
    padding: 3px 10px;
    border: solid 1px rgba(70,70,70,1.00);
    border-radius: 7px;
    margin: 10px 0 0 0;
}
.table-contact {
    table-layout: fixed;
    border: none;
    margin: 20px 0 0 0;
    text-align: left;
}
.table-contact th {
    width: 100px;
    font-weight: inherit;
    padding-left: 50px;
}
.tablecontact td {
    padding: 0;
}
.contact-note {
    margin: 0 0 50px 50px;
}

/*== Page top */

#page-top img {
    width: 40px;
    height: auto;
}
#page-top {
    position: fixed;
    right: 40px; 
    bottom: 50px;
    z-index: 999;
    opacity: 0;
    transform: translateY(150px);
}
#page-top.UpMove {
    animation: UpAnime 0.6s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(150px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#page-top.DownMove {
     animation: DownAnime 0.6s forwards;           
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(150px);
    }
}



/* /// header /// */

header {
    grid-column: 1 / 12;
    grid-row: 1 / 2;
}
.logo-style {
    margin: 0px;
    left: 40px;
    top: 20px;
    display: block;
    z-index: 999;
    position: absolute;
}
#navlinks  {
    margin: 0;
    word-spacing: 1em;
    letter-spacing: 0.025em;
    padding-left: 130px;
    position: absolute;
    top: 0px;
}
#navlinks ul li {
    display: inline;
    font-size: 1.1em;
}



/* /// top /// */

.pc img {
    display: block;
}
.sp img {
    display: none;
}



/* /// main /// */

main {
    display: grid;
    grid-column: 1 / 12;
    grid-row: 2 / 3;
    grid-template-columns: subgrid;
    grid-template-rows: auto auto auto auto;
    grid-gap: 0px;
}
.article {
    grid-column: 2 / 8;
    grid-row: 1 / 2;
    display: grid;
}
.imgbox {
    grid-column: 1 / 12;
    grid-row: 1 / 2;    
    padding: 0px;
    word-break: break-all;
}
.imgbox img {
    width: 100%;
    height: auto;
}
.txtbox {
    grid-column: 1 / 12;
    grid-row: 2 / 3;    
    padding: 10px 0 0 30px;
}
.topcontents-L {
    grid-column: 2 / 5;
    grid-row: 2 / 3;
    padding-top: 20px;
}
.topcontents-R {
    grid-column: 6 / 8;
    grid-row: 2 / 3;
    padding-top: 20px;
}
.worklistttl {
    grid-column: 2 / 11;
    grid-row: 1 / 2;
    display: grid;
    padding: 20px 0px 10px 0px;
}
.worklistttl2 {
    grid-column: 2 / 11;
    grid-row: 3 / 4;
    display: grid;
    padding: 30px 0px 10px 0px;
}
.worklist {
    grid-column: 2 / 11;
    grid-row: 2 / 3;
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr 1fr;
}
.worklist2 {
    grid-column: 2 / 11;
    grid-row: 4 / 5;
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr 1fr;
}
.worklistitem {
    margin: 0;
}
.worklistitem ul {
    padding: 0;
    list-style: none;
}
.worklist img {
    display: block;
    width: 100%;
    height: auto;
}
.worklist2 img {
    display: block;
    width: 100%;
    height: auto;
}


/*== slide show */

.project-main {
    grid-column: 2 / 8;
    grid-row: 1 / 2;
}
.project-thumbnail {
    grid-column: 2 / 8;
    grid-row: 2 / 3;
    display: grid;
    grid-template-columns: 1fr;
    padding-right: 50px;
}
.project-text {
    grid-column: 8 / 11;
    grid-row: 1 / 4;
    display: grid;
    grid-template-columns: 1fr;
}
.project-img {
    margin-top: 30px;
    margin-bottom: 80px;
    margin-left: auto;
    margin-right: 50px;
}
.project-img li {
    list-style: none;
}
.project-img img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
.about  {
    margin: 0;
    padding: 30px 0px 0px 0px;
}



/*== slick arrow */

.slick-next {
    position: absolute;
    z-index: 3;
    bottom: -40px;
    cursor: pointer;
    outline: none;
    border-top: 2px solid rgb(180,180,180);
    border-right: 2px solid rgb(180,180,180);
    height: 15px;
    width: 15px;
    right: 0;
    transform: rotate(45deg);
}


/*== work-thumbnails*/

.project-thumbnail__img {
    opacity: 0.4;
    width: 80px;
    padding-left: 5px;
}
.project-thumbnail__img.slick-current {
    opacity: 1;
}

/*thumbnails 2*/
.thumbnails-2 {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}
.thumbnails-2 li {
    cursor: pointer;
    outline: none;
    list-style: none;
    background: white;
}
.thumbnails-2 .slick-track {
    transform: unset !important;
}

/*thumbnails 3*/
.thumbnails-3 {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}
.thumbnails-3 li {
    cursor: pointer;
    outline: none;
    list-style: none;
    background: white;
}
.thumbnails-3 .slick-track {
    transform: unset !important;
}

/*thumbnails 4*/
.thumbnails-4 {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}
.thumbnails-4 li {
    cursor: pointer;
    outline: none;
    list-style: none;
    background: white;
}
.thumbnails-4 .slick-track {
    transform: unset !important;
}

/*thumbnails 5*/
.thumbnails-5 {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}
.thumbnails-5 li {
    cursor: pointer;
    outline: none;
    list-style: none;
    background: white;
}
.thumbnails-5 .slick-track {
    transform: unset !important;
}

/*thumbnails 6*/
.thumbnails-6 {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}
.thumbnails-6 li {
    cursor: pointer;
    outline: none;
    list-style: none;
    background: white;
}
.thumbnails-6 .slick-track {
    transform: unset !important;
}

/*thumbnails 7*/
.thumbnails-7 {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}
.thumbnails-7 li {
    cursor: pointer;
    outline: none;
    list-style: none;
    background: white;
}
.thumbnails-7 .slick-track {
    transform: unset !important;
}


/*== Button */

.btnline {
    position: relative;
    color: rgbrgb(202,202,202);
    padding: 0px 1px 1px 1px;
    text-decoration: none;
    outline: none;
}
.btnline::before, .btnline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgb(202,202,202);
    width: 0px;
    height: 2px;
    transition:all 0.3s ease-in-out;
}

.btnline:hover::before, .btnline:hover::after {
    width: 100%
}


/* /// footer /// */

footer {
    grid-column: 1 / 12;
    grid-row: 3 / 4;
    font-size: 0.75em;
    font-weight: 200;
    text-align: right;
    color: var(--link-color);
    padding: 0px 40px 10px 0px;
}




@media screen and (max-width: 1194px) {

.project-main {
    grid-column: 2 / 11;
}
.project-thumbnail {
    grid-column: 2 / 11;
    padding-right: 0;
}
.project-text {
    grid-column: 2 / 8;
    grid-row: 3 / 4;
}
.project-img {
    width: 100%;
    margin: 0px 0px 30px 0px;
}
.about {
    padding: 50px 0px 0px 0px;
}


/*== slick */

.slick-next {
    bottom: 50%;
    right: -4%;
}
}



@media screen and (max-width: 768px) {
    
#navlinks {
    display: none;
}
#navlinks-sp {
    word-spacing: 1em;
}
#navlinks-sp ul li{
    display: block;
}
.logo-style {
    left: 20px;
    width: 95px;
}
    
    
/*== Button */

.openbtn {
	position: fixed;
	top: 7px;
	right: 10px;
	z-index: 9999;
	cursor: pointer;
	width: 50px;
	height: 50px;
}
.openbtn span {
	display: inline-block;
	transition: all.4s;
	position: absolute;
	left: 14px;
	height: 1px;
	border-radius: 2px;
	background: rgb(39,39,39);
	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%;
} 
    

/*== navigation */

#navlinks-sp {
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: white;
    transition: all 0.3s;
}
#navlinks-sp.panelactive {
    opacity: 1;
    z-index: 999;
}
#navlinks-sp.panelactive #navlinks-sp-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#navlinks-sp ul {
    display: none;
    position: absolute;
    z-index: 999;
    top: 25%;
    left: 42%;
    transform: translate(-50%,-50%);
    font-size: 1.3em;
    text-align: center;
    line-height: 2.5em;
}
#navlinks-sp.panelactive ul{
    display: block;
}

    
    
/* /// All /// */

body {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7;
}
body {
    display: grid;
    grid-template-columns: 20px repeat(9, 1fr) 20px;
    grid-template-rows: 100px auto auto;
    grid-gap: 0;
}
.title {
    line-height: 1.3;
}
.client {
    font-size: 1.0em;
}
.comment {
    margin: 10px 0 30px 0;
    line-height: 1.8;
}
.event-info,.link,.info {
    line-height: 1.6;   
}
.event-info,.link {
    font-size: 0.9em;
}
.info  {
    font-size: 0.8em;
}
.link p {
    margin-top: 20px        
}
.img-circle   {
    position: relative;
    left: -20px;
    top: -60px;
}
.aside {
    padding-top: 80px;
}

    

/* /// top /// */

.pc img {
    display: none;
}
.sp img {
    display: block;
}

    
    
/* /// header /// */

header {
    grid-column: 1 / 4;
}

    
    
/* /// main /// */
    
main {
    display: grid;
    grid-column: 1 / 12;
    grid-row: 2 / 3;
    grid-template-columns: subgrid;
    grid-template-rows: auto auto auto auto;
    grid-gap: 0px;
}
.txtbox {
    grid-column: 2 / 11;
    padding: 15px 0 0 0;
}
.article {
    grid-column: 2 / 11;
}
.worklistttl {
    grid-column: 2 / 11;
    grid-row: 1 / 2;
    display: grid;
    padding: 20px 0px 5px 0px;
}
.worklistttl2 {
    grid-column: 2 / 11;
    grid-row: 3 / 4;
    display: grid;
    padding: 40px 0px 5px 0px;
}
.worklist {
    grid-column: 2 / 11;
    grid-row: 2 / 3;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}
.worklist2 {
    grid-column: 2 / 11;
    grid-row: 4 / 5;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}
    

/*== slide show */

.project-text {
    grid-column: 2 / 11;
    grid-row: 3 / 4;
}
.project-img {
    margin: 0px 0px 0px 0px;
}
.project-img img {
    vertical-align: bottom;
    display: block;
    padding: 0px 0px 30px 0px;
}
.about {
    padding: 30px 0px 0px 0px;
}
 
    
/*== thumbnails */

.thumbnails-2 {
    display: none;
}
.thumbnails-3 {
    display: none;
}
.thumbnails-4 {
    display: none;
}
.thumbnails-5 {
    display: none;
}
.thumbnails-6 {
    display: none;
}
.thumbnails-7 {
    display: none;
}

    
/*== slick arrow */
.slick-next {
    border-top: 0px;
    border-right: 0px;
}

    
/*== Page top */

#page-top {
    position: fixed;
    right: 20px; 
    bottom: 20px;
    transform: translateY(100px);
}
    
    

/* /// footer /// */

footer {
    grid-column: 2 / 11;
    padding: 20px 0px 0px 0px;
}
}


@media (min-width: 768px){
#navlinks-sp {
    display: none;
}
#navlinks {
    float: left;
    display: block;
}
}