/*
Theme Name: tokiograph
Author: sonoichi inc.
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline
}

html {
  scroll-behavior: smooth
}

body {
  line-height: 1;
	font-size: 0.9375rem;
    line-height: 1.6;
}




a {
  text-decoration-skip-ink: auto
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none
}

button {
  outline: 0
}

ol, ul {
  list-style: none
}

blockquote, q {
  quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none
}

q {
  display: inline;
  font-style: italic
}

q:before {
  content: '"';
  font-style: normal
}

q:after {
  content: '"';
  font-style: normal
}

textarea, input[type="text"], input[type="button"], input[type="submit"], input[type="reset"], input[type="search"], input[type="password"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0
}

input[type="search"] {
  -webkit-appearance: textfield
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

th, td {
  padding: 2px
}

big {
  font-size: 120%
}

small, sup, sub {
  font-size: 80%
}

sup {
  vertical-align: super
}

sub {
  vertical-align: sub
}

dd {
  margin-left: 20px
}

kbd, tt {
  font-family: courier;
  font-size: 12px
}

ins {
  text-decoration: underline
}

del, strike, s {
  text-decoration: line-through
}

dt {
  font-weight: bold
}

address, cite, var {
  font-style: italic
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent
}

/* ヒラギノ角ゴ Pro W3 */
@font-face {
    font-family: "ヒラギノ角ゴ Pro W3";
    font-feature-settings: "jp90";
    src: local("HiraKakuProN-W3");
}

@font-face {
    font-family: "Hiragino Kaku Gothic Pro W3";
    font-feature-settings: "jp90";
    src: local("HiraKakuProN-W3");
}

/* ヒラギノ角ゴ ProN W3 */
@font-face {
    font-family: "ヒラギノ角ゴ ProN W3";
    src: local("HiraKakuProN-W3");
}

@font-face {
    font-family: "Hiragino Kaku Gothic ProN W3";
    src: local("HiraKakuProN-W3");
}

/* Osaka */
@font-face {
    font-family: "Osaka";
    font-feature-settings: "jp90";
    src: local("HiraKakuProN-W3");
}

/* メイリオ */
@font-face {
    font-family: "メイリオ";
    src: local("HiraKakuProN-W3");
}

@font-face {
    font-family: "Meiryo";
    src: local("HiraKakuProN-W3");
}

/* html */
html, body {
    font-family: "Lucida Grande", sans-serif;
}


.sticky {}

.bypostauthor {}

.wp-caption {}

.wp-caption-text {}

.gallery-caption {}

.alignright {}

.alignleft {}

.aligncenter {}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute!important;
  width: 1px;
  word-wrap: normal!important;
  word-break: normal
}

.screen-reader-text:focus {
  background-color: #f7f7f7;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip: auto!important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #007acc;
  display: block;
  font-size: 14px;
  font-size: .875rem;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000
}

.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline
}

.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto
}

.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active) {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap
}


@media screen and (min-width: 769px) {
.pc_none {display:none!important;}
.tab_only {display:none!important;}
.sp_only {display:none!important;}
}

@media screen and (min-width: 641px) and (max-width: 768px) {
.pc_only {display:none!important;}
.sp_only {display:none!important;}
.tab_none {display:none!important;}
}

@media screen and (max-width: 640px) {
.pc_only {display:none!important;}
.tab_only {display:none!important;}
.sp_none {display:none!important;}
}

@font-face {
  font-family: 'avenir';
  src: url('/wp-content/font/AvenirLTStd-Book.otf') format('opentype');
}

.favenir {
  font-family: 'avenir', sans-serif;
}

.fzen {
font-family: 'Zen Old Mincho', serif;
}


.btn_m {
	    border: 1px solid #000;
    padding: 5px;
    width: 200px;
    display: block;
    text-align: center;
    margin: auto;
    font-size: 0.9em;
    text-decoration: none;
	background:#fff;
	color: #000;
	transition: all .4s;
}

.btn_m:hover {
	background:#000;
	color:#fff;
}

/* header */

header {
padding: 20px 0;
    min-height: 90px;
}

header .header_logo {
    width: 290px;
    margin: auto;
    display: block;
}

header .header_menu {
	    display: block;
    margin: auto;
}

header .header_menu a {
 text-decoration:none;
	color:#000;
}

header .header_menu ul{
    display: flex;
    justify-content: center;
    margin: 5px 0;	
}

header .header_menu li {
    margin: 0 17px;
    font-size: 15px;
	position:relative;
}

header .current-menu-item:after {
    content: '';
    background: #cc0000;
    width: calc(100% + 10px);
    height: 2px;
    display: block;
    position: absolute;
    top: 12px;
    z-index: -1;
    left: -5px;
}


/* side nav */

#g-nav{
    position:fixed;
    z-index: 999;
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;
	background:#000;
	transition: all 0.6s;
}
#g-nav.panelactive{
    right: 0;
}
#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav .sp-menu {
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
	color:#fff;
}

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

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

.openbtn{
    position: absolute;
    z-index: 9999;
    top: 20px;
    right: 25px;
    cursor: pointer;
    width: 34px;
    height: 34px;
}

.active {
    position: fixed;
}

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
  }

.openbtn span:nth-of-type(1) {
    width: 34px;
    height: 34px;
    border-radius: 50px;
    border: 3px solid #000;
}

.openbtn span:nth-of-type(2) {
    background-color: #000;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    top: 7px;
    right: 7px;
}

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

.openbtn.active span:nth-of-type(2) {
    width: 34px;
    height: 34px;
    border-radius: 50px;
    background: #cc0000;
    border: 2px solid #680303;
	top:0;
	right:0;
}

#g-nav .nav_bl {
    position: absolute;
    width: 70px;
    height: 70px;
    bottom: 20px;
    left: 20px;
    filter: invert(1);
}

#g-nav .nav_br {
    position: absolute;
    width: 70px;
    height: 70px;
    bottom: 20px;
    right: 20px;
    filter: invert(1);
}

#g-nav .nav_ul {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 90px;
    left: 20px;
    filter: invert(1);
}

#g-nav .nav_ur {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 90px;
    right: 20px;
    filter: invert(1);
}

#g-nav .nav_focus {
	    width: 150px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 0;
    opacity: 0.3;
}

#g-nav .nav_sns {
    filter: invert(1);
    margin: 20px 0 0 0;
}

#g-nav .nav_sns a {
    width: 20px;
    margin: 0 10px;
	display:inline-block;
}


#container {
	height: calc(100vh - 230px);
    width: calc(100vw - 200px);
    margin: 0 auto;
    padding: 0;
    max-width: 1400px;
	position:relative;
}


#container .side_name {
    width: 35px;
    position: absolute;
    left: -50px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: inline-table;
}

#container .side_sns {
    width: 35px;
    position: absolute;
    right: -50px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: inline-table;
}

#container .side_sns img {
margin: 15px 0;
}

#container .frame {
    width: 157px;
    position: absolute;
    z-index: 0;
}

#container .ur {
    top: -4px;
    right: -4px;
}

#container .bl {
    bottom: -4px;
    left: -4px;
}

#container .ul {
    top: -4px;
    left: -4px;
}

#container .br {
    bottom: -4px;
    right: -4px;
}

#content {
    overflow-x: hidden;
    height: calc(100vh - 230px);
    position: relative;
    z-index: 10;
}


footer {
    height: 90px;
    padding: 20px 0;
}

footer .footer_logo {
    width: 320px;
    margin: 0 auto;
    display: block;
}

footer #copyright {
    text-align: center;
    font-size: 0.8em;
    margin: 5px 0 0 0;
}


/* about */
.content_sub .about_copy {
    max-width: 500px;
    margin: 50px auto 0 auto;
    display: block;
    padding: 0 25px;
	width:94%;
}

.content_sub .about_h4 {
	font-size:1.4em;
	text-align:center;
}

.content_sub .about_p {
    margin: 45px auto 35px auto;
    line-height: 2em;
    font-size: 1.05em;
    display: table;
    text-align: center;
}

.content_sub .about_tokioka {
    max-width: 300px;
    display: block;
    margin: 40px auto 0px auto;
    width: 75%;
}
.content_sub .about_table {
    width: 90%;
    margin: 20px auto;
    max-width: 600px;
}

.content_sub .about_table tr {

}

.content_sub .about_table td {
padding: 10px;
    border-bottom: 1px dashed #d8d8d8;
    line-height: 2em;
    font-size: 0.85em;
}

.content_sub .about_table th {
    padding: 10px;
    border-bottom: 1px dashed #d8d8d8;
    width: 100px;
    font-size: 0.85em;
}

/* privacy */

.content_sub .privacy {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.content_sub .privacy p {
    line-height: 1.8em;
    font-size: 1em;
}

.content_sub .privacy .about_h2 {
    font-size: 1.4em;
    margin: 50px 0 15px 0;
}


/* contact us */

.content_sub .contact {
max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.content_sub .contact dl {

}

.content_sub .contact dt {
    font-weight: normal;
    font-size: 0.9em;
}

.content_sub .contact dd {
    padding: 0 0 30px 0;
}

.content_sub .contact p {
    font-size: 0.9em;
    line-height: 2em;
}

.content_sub .contact small {
    font-size: 0.9em;
	color:#cc0000;
}

.content_sub .contact input[type="text"],.content_sub .contact input[type="email"], .content_sub .contact input[type="tel"],.content_sub .contact textarea,select {
    padding: 20px;
    width: 100%;
    border: none;
    background: #f5f5f5;
}

.content_sub .contact input[type="submit"] {
    width: 20%;
    margin: 40px 20px;
    padding: 15px 0;
    border: 1px solid #000;
    background: #fff;
    text-align: center;
	transition:all .4s;
    cursor: pointer;
	color:#000;
}

.content_sub .contact input[type="submit"]:hover {
    background: #000;
	color:#fff;
}

.content_sub .contact input[type="button"] {
    width: 20%;
    margin: 40px 20px;
    padding: 15px 0;
    border: 1px solid #000;
    background: #fff;
    text-align: center;
	transition:all .4s;
    cursor: pointer;
	color:#000;
}

.content_sub .contact input[type="button"]:hover {
    background: #000;
	color:#fff;
}

select {
  -webkit-appearance: none;
  appearance: none;
}

.content_sub .thanks {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50vh;
    flex-flow: column;
}

.content_sub .thanks h4 {
	font-size:1.5em;
}

.content_sub .thanks h5 {
	font-size:1.1em;
}

.content_sub .thanks a {
	text-decoration:none;
	color:#999;

}

.main_slide {
    position: absolute;
    top: 0;
    height: calc(100vh - 230px);
    z-index: 0;
    width: 100%;
}

.main_slide .main_copy {
    position: absolute;
    z-index: 10;
    max-width: 450px;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    width: 80%;
}

.main_slide .main_focus {
    position: absolute;
    z-index: 9;
    max-width: 150px;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    width: 80%;
}

.main_slide #timer {
    position: absolute;
    z-index: 10;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    bottom: 10px;
    font-size: 35px;
    left: 50%;
    font-weight: 500;
    text-shadow: 0 0 15px rgb(255 255 255 / 65%);
}


.main_slide .main_title {
    position: absolute;
    z-index: 10;
    max-width: 270px;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    width: 60%;
}

/* works */

.main_slide .work_main {
    position: absolute;
    top: 0;
    height: calc(100vh - 230px);
    width: 100vw;
    object-fit: cover;
}

.work_fade {
    -webkit-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 2.5s;
    animation-delay: 2.5s;
    -webkit-animation-name: fdin01;
    animation-name: fdin01;
    visibility: visible !important;
	overflow: hidden;
  }
  @keyframes fdin01 {
    0% {
      opacity: 1;
    }
    98% {
      opacity: 0;
    }
    99% {
      opacity: 0;
    z-index: 1;
	  }	
	  100% {
      opacity: 0;
    z-index: -10;
    }	  
}

.work_title {
    -webkit-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
    -webkit-animation-name: fdin02;
    animation-name: fdin02;
    visibility: visible !important;
  }
  @keyframes fdin02 {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }	  
}

#content .works_nav_below .nav-links a {
	color: #000;
}

.works_content_nav .wp-post-image {
	display: none;
}

.works_content_nav .entry-content {
	padding-inline: 4%;
	max-width: 59vw;
}

.works_content_nav iframe {
	height: auto;
	max-width: 100%;
	aspect-ratio: 16/9;
}

.works_content_nav p {
    padding: 15px 0;
    line-height: 30px;
}

.works_single_entry .post-navigation {
max-width: 800px;
	margin-inline: auto;
}

#content .works_nav_below .nav-previous {
	text-align: left;
}

#content .works_nav_below .nav-next {
	text-align: right;
}

.works_single_entry .works_contents .post {
	margin-inline: auto;
}

.works_single_entry .sort-btns {
display: flex;
justify-content: center;
margin-block: 20px;
flex-wrap: wrap;
}

.works_single_entry .sort-btns button {
display: block;
border: none;
background: none;
padding-inline: 17px;
}

.works_single_entry .sort-btns a {
text-decoration: none;
color: #000;
font-family: avenir, sans-serif;
}

.works_single_entry .active {
position: relative;
}

.works_single_entry .active::after {
	content: '';
	background: #1e9dd5;
	width: 63%;
	height: 2px;
	display: block;
	position: absolute;
	top: 12px;
	z-index: -1;
	left: 50%;
   transform: translate(-50%);
}

.works_single_entry .works_contents .works_content_nav img {
	max-width: 100%;
}

.works_contents .post {
	padding: 0;
	margin: 0;
}

.works_single_entry .entry-footer {
	display: none;
}

.works_single_entry .sort-btns .backToTop {
fotn-size: 15px;
}

.works_contents .wpsp-load-more {
	max-width: 1000px;
	width:90%;
	padding-inline: 30px;
	margin: 30px auto;
    position: relative;
    padding-bottom: 30px;
}

.works_contents .wpsp-load-more .page-numbers {
	display: none;
}

.works_contents .works_container .all .wpsp-load-more .next {
    display: block;
    color: transparent;
    position: absolute;
    width: 100px;
    right: 0px;
    top: 0;
}

.works_contents .works_container .all .wpsp-load-more .next::after {
	display: block;
   content: 'next slide \02192';
	font-size: 15px;
	text-decoration: none;
	border: none;
	color: #000;
	position: absolute;
	top: 0;
	right: -90px;
	transform: translate(-50%);
   display: block;
	min-width: fit-content;
}

.works_contents .works_container .all .wpsp-load-more .prev {
    display: block;
    color: transparent;
    position: absolute;
    width: 100px;
    left: 0px;
    top: 0;
}

.works_contents .works_container .all .wpsp-load-more .prev::after {
	display: block;
   content: '\02190 prev slide';
	font-size: 15px;
	text-decoration: none;
	border: none;
	color: #000;
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(-50%);
   display: block;
	min-width: fit-content;
}

.works_contents .wp-show-posts .wp-show-posts-entry-title  {
	    margin: 0;
    line-height: 1.15em;
}




/* news */
.contents_news {
padding: 20px;
}

.contents_news #wpsp-2613 {
padding: 20px;
    text-align: center;
    margin: auto;
    max-width: 700px;
} 

.contents_news #wpsp-2613 header {
    min-height: 40px;
    border-bottom: 1px solid #ccc;
}

.contents_news #wpsp-2613 .wp-show-posts-entry-meta {
display: contents;
}

.contents_news #wpsp-2613 .wp-show-posts-entry-title {
    display: inline-block;
}

.contents_news #wpsp-2613 .wp-show-posts-entry-title a {
    color: #000;
}

.contents_news #wpsp-2613 .wp-show-posts-entry-date {
    display: inline-block;
}

.post  {
    padding: 20px;
    width: fit-content;
    margin: auto;
    max-width: 1000px;
}

.post .entry-title {
    font-size: 1.5em;
    text-align: center;
}

.post .entry-meta {
	    font-size: 0.9em;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding: 10px 0 30px 0;
}

.post-navigation {
	    padding: 20px;
}

#content .nav-links {
    grid-template-columns: 1fr 1fr;
    display: grid;
    text-align: center;
}

#content .nav-links a {
	text-decoration:none;
	color:#999;
}

#content .footer .tonewstop {
    text-align: center;
    display: table;
    text-decoration: none;
    color: #999;
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
    margin: auto;
}


/* SMP Layout */
.content_qa {
    padding: 20px 20px 20px 30px;
    max-width: 800px;
    margin: 50px auto;
}

.content_qa p {
    line-height: 1.8em;
    font-size: 1em;
}

.content_qa .q {
	margin-bottom:20px;
}

.content_qa .q:before {
    content: 'Q';
    color: #9c99e0;
    margin-left: -16px;
}

.content_qa .a {
	margin-bottom:40px;	
}

.content_qa .a:before {
    content: 'A';
    color: #e09999;
    margin-left: -16px;
}

/* SMP Layout */

@media screen and (max-width: 640px) {
#container {
	    width: calc(100vw - 50px);
    height: calc(100vh - 180px);
	}
header {
    padding: 15px 0;
    min-height: 70px;
}
	header .header_logo {
		width: 210px;
    margin: 0 auto 0 25px;
    display: block;
    padding-right: 10px;
	}	
	#container .frame {
		width:70px;
	}
	footer .footer_logo {
		width: 260px;
	}
	#g-nav.panelactive #g-nav-list {
padding-top: 70px;
	}
	.nav_logo {
	filter: invert(1);
    width: 210px;
    position: absolute;
    top: 20px;
    left: 20px;
	}
#container .ur {
    top: -2px;
    right: -2px;
}
#container .ul {
    top: -2px;
    left: -2px;
}
#container .br {
    bottom: -2px;
    right: -2px;
}
#container .bl {
    bottom: -2px;
    left: -2px;
}
	.main_slide {
    width: calc(100vw - 50px);
		height: calc(100vh - 180px);
	}
	.video_wrapper {
    width: calc(100vw - 50px);
		height: calc(100vh - 180px);
	}
	#content {
    height: calc(100vh - 180px);
	}

	.main_slide #timer {
    font-size: 27px;
    bottom: 0px;
	}
	header .current-menu-item:after {
		top:21px;
	}
	.main_slide .work_main{
height: calc(100vh - 180px);
	}

.works_contents .works_container .all .wpsp-load-more .prev {
    left: 35px;
    top: -20px;
	}	

.works_contents .works_container .all .wpsp-load-more .next{
    right: 35px;
    top: -20px;
	}	
	
}