﻿html,body{
	width: 100%;
	min-width: 480px;
	height: auto;
	margin: 0px;
	padding: 0px;
	text-align:justify;
	background: #f8f8f8;
}
html{
	overflow-y: scroll;
	scroll-behavior: smooth;
}
body {
	color: #0A0A0A;
	font-family: 'Noto Serif JP', serif;
	font-display: swap;
	font-size: 62.5%;
	font-weight: normal;
	line-height:1;
	letter-spacing: 0.1em;
	animation-name: fade;
	animation-duration: 0.5s; 
	animation-fill-mode: forwards; 
	-webkit-appearance: none;
	-webkit-text-size-adjust: none;
	word-wrap: break-word;
}
@keyframes fade {
0% {
	opacity: 0;
	color: #000;
}
90% {
	opacity: 1;
	color: #000;
}
100% {
	opacity: 1;
	color: #000;
} 
}
a {
	color: #0A0A0A;
	text-decoration: none;
	-webkit-touch-callout:none;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}
a:link {
	color: #0A0A0A;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	text-decoration: none;
}
a:visited {
	color: #0A0A0A;
}
a:hover {
	color: #0A0A0A;
	text-decoration: underline #3c3c3c;
	background-size: 100% 30%;
	background-position: bottom;
	-webkit-transition: 0.1s;
	-moz-transition: 0.1s;
	-o-transition: 0.1s;
}
a:active {
	color:#0A0A0A;
}
div{
	display: inline-block;
	margin: 0px;
	padding: 0px;
}
img{
	display: block;
	border: 0px;
	margin: 0px;
	padding: 0px;
}
p, h1, h2, h3, h4, h5, h6, ul, li {
	margin: 0px;
	padding: 0px;
}
.x {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}
.fade{
  opacity : 0;
  transition: opacity 3s;
}
.fade.view{
  opacity: 1;
}

h1 {
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: 4.8em;
	line-height: 48px;
	letter-spacing: 0.15em;
	color: #5e6770;
	padding: 55px 0 0 0;
	position: absolute;
	top: 0px;
	right: 0px;
	opacity: 0.5;
}
#head {
	width: 48px;
	height: 48px;
	padding: 0;
	position: absolute;
	top: 0px;
	right: 0px;
}
header {
	z-index: 1;
	width: 48px;
	height: 100%;
	position: fixed;
	top: 11px;
	right: 8px;
	background: url(img/YA-logo.png) no-repeat center top / 48px 48px;
	animation-name: fade1;
	animation-duration: 3s; 
	animation-fill-mode: forwards;
}
@keyframes fade1 {
0% {
	opacity: 0;
	color:#000;
}
50% {
	opacity: 0;
	color:#000;
}
90% {
	opacity: 1;
	color:#000;
}
100% {
	opacity: 1;
	color:#000;
} 
}

#main {
	position: relative;
	top: 0px;
	right: 0;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}

#main1 img, #main2 img, #main3 img, #main4 img, #main5 img {
	position: absolute;
	top: 0;
	right: 0px;
	width: 100%;
	max-width: 1080px;
	height: auto;
	margin: 0px;
	padding: 0px;
}
#main1 img {
	position: relative;
}
#main1 {
  animation: main1 23s infinite;
  -webkit-animation: main1 23s infinite;
}
@-webkit-keyframes main1 {
  0%, 16% {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
  }
  20%, 96% {
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
  }
  100% {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
  }
}
#main2 {
  animation: main2 23s infinite;
  -webkit-animation: main2 23s infinite;
}
@-webkit-keyframes main2 {
  0%, 17% {
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
  }
  20%, 36% {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
  }
  40%, 100% {
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
  }
}
#main3 {
  animation: main3 23s infinite;
  -webkit-animation: main3 23s infinite;
}
@-webkit-keyframes main3 {
  0%, 37% {
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
  }
  40%, 56% {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
  }
  60%, 100% {
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
  }
}
#main4 {
  animation: main4 23s infinite;
  -webkit-animation: main4 23s infinite;
}
@-webkit-keyframes main4 {
  0%, 57% {
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
  }
  60%, 76% {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
  }
  80%, 100% {
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
  }
}
#main5 {
  animation: main5 23s infinite;
  -webkit-animation: main5 23s infinite;
}
@-webkit-keyframes main5 {
  0%, 77% {
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
  }
  80%, 96% {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
  }
 100% {
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
  }
}

#yama1, #yama2,  #yama3,  #yama4,  #yama5,  #yama6,  #yama7,  #yama8,  #yama9,  #yama10,  #yama11 {
	width : 100%;
	height: 350px;
	text-align: center;
}
#yama4,  #yama5,  #yama6,  #yama7,  #yama8,  #yama9 {
	margin: 32px 0 16px 0;
}
#yama1 {
	background: #000000 url(img/yamaguchi1.jpg) no-repeat center center / cover;
}
#yama2 {
	background: #000000 url(img/yamaguchi2.jpg) no-repeat center center / cover;
}
#yama3 {
	background: #000000 url(img/yamaguchi3.jpg) no-repeat center center / cover;
}
#yama4 {
	background: #000000 url(img/yamaguchi4.jpg) no-repeat center center / cover;
}
#yama5 {
	background: #000000 url(img/yamaguchi5.jpg) no-repeat center center / cover;
}
#yama6 {
	background: #000000 url(img/yamaguchi6.jpg) no-repeat center center / cover;
}
#yama7 {
	background: #000000 url(img/yamaguchi7.jpg) no-repeat center center / cover;
}
#yama8 {
	background: #000000 url(img/yamaguchi8.jpg) no-repeat center center / cover;
}
#yama9 {
	background: #000000 url(img/yamaguchi9.jpg) no-repeat center center / cover;
}
#yama10 {
	background: #000000 url(img/yamaguchi10.jpg) no-repeat center center / cover;
}
#yama11 {
	background: #000000 url(img/yamaguchi11.jpg) no-repeat center center / cover;
}

.contents {
	width: 100%;
	height: auto;
	min-height: -webkit-calc(100vh - 398px);
	margin: 0;
	animation: color 3s;
	-webkit-animation: color 3s;
}
.contents a {
	text-decoration: underline #3c3c3c;
}
.contents a:hover {
	text-decoration: none;
}
.flow, .flow1, .flow2 {
	width: 100%;
	height: auto;
}
.flow1 img {
	width: 380px;
	height: 380px;
	margin: 0 0 0 -190px;
	padding: 0 0 0 50%;
}
.flow2 p {
	text-align: center;
	margin: 0 -0.12em 0 0.12em;
	font-size: 4.8em;
	line-height: auto;
	letter-spacing: 0.3em;
}

.artwork {
	width : -webkit-calc(100% / 2 - 24px);
	width : calc(100% / 2 - 24px);
	height: auto;
	margin: 0 0 16px 16px;
	float: left;
	background-color: #fff;
	box-shadow:
	1px 1px 2px 1px rgba(0,0,0,0.2);
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s;
}
.artwork:hover {
	box-shadow:
	1px 6px 8px 1px rgba(0,0,0,0.16),
	1px 2px 3px 2px rgba(0,0,0,0.2);
}
.artwork img {
	width: 100%;
	height: auto;
}
.image img {
	width : -webkit-calc(100% - 12px);
	width : calc(100% - 12px);
	height: auto;
	margin: 6px;
}
.artwork p {
	font-size: 1.6em;
	line-height:1.3;
	margin: 3px 0 3px 8px;
}
.works {
	width : -webkit-calc(100% - 32px);
	width : calc(100% - 32px);
	height: auto;
	margin: 0 0 16px 16px;
	float: left;
	background-color: #fff;
	box-shadow:
	1px 1px 2px 1px rgba(0,0,0,0.2);
}
.works img {
	width: 100%;
	height: auto;
}
.works p {
	font-size: 1.8em;
	line-height:1.3;
	margin: 5px 0 5px 11px;
}
.text {
	font-size: 1.6em;
	line-height:1.6;
	margin: 24px 32px 64px 32px;
}
#YACreative {
	width : -webkit-calc(100% - 0.9em);
	width : calc(100% - 0.9em);
	height: 45vh;
	margin: 10vh 0 0 0;
	text-align:center;
}
.ytext {
	color: #afafaf;
	font-weight: 700;
	font-size: 2.4em;
	line-height: 3.2em;
	letter-spacing: 0em;
	font-family: 'Roboto', sans-serif;
}
.atext {
	font-weight: 700;
	font-size: 3.2em;
	letter-spacing: 0em;
	margin: 0 0 0 0.9em;
	text-align:center;
}
.arrow {
	animation:2s ease-in 1s infinite normal forwards running expansion;
 	animation-name: arrow;
	font-weight: 700;
	font-size: 2.4em;
	color: #8e8e8e;
	letter-spacing: 0em;
	margin: 0 0 0 0;
	padding: 48px 0 0 0;
	opacity: 0;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	cursor: default;
}
@keyframes arrow {
 0% {

	opacity: 0;
  }
 10% {

	opacity: 0;
  }
 20% {

	opacity: 1;
  }
 80% {
	margin: 48px 0 0 0;
	opacity: 1;
  }
 90% {
	margin: 48px 0 0 0;
	opacity: 0;
  }
 100%  {
	margin: 48px 0 0 0;
	opacity: 0;
  }
}

#YAVision {
	width : 100%;
	height: auto;
	margin: 48px 0 48px 0;
	text-align:center;
}
.btext {
	width : 100%;
	font-weight: 700;
	font-size: 3.2em;
	line-height:1.6;
	letter-spacing: 0em;
	margin: 0;
	text-align:center;
}
iframe{
	position: static;
}
#if {
	position: relative;
	top: 63px;
	left: 0;
	width : 100%;
	height: 63px;
	background: #f8f8f8;
}
iframe {
	width : 99%;
	height: 480px;
}
footer {
	width : 100%;
	height: 350px;
	background: linear-gradient(-45deg, #2b5ba9 0%, #00a0e8 100%);
}

.bg-img{
	position: relative;
	top: 55px;
	left: center;
	background: url(img/YAlogo.png) no-repeat center top / 265px 240px;
	width: 100%;
	height: 240px;
	margin: 0;
}
th,td {
	font-weight: normal;
	border: solid #c8ccce;
	border-width: 1px 0 1px 0;
	padding: 10px; 
}
 
table {
	width : 100%;
	font-size: 1.3em;
	border-collapse:  collapse;
}
th {
	width: auto;
	height: auto;
}
.table {
	width : 100%;
	margin: 0;
	padding: 48px 0 0 0px;
}
.products, .products img, .product {
	width: 100%;
	height: auto;
}
.product img {
	width : -webkit-calc(100% - 12px);
	width : calc(100% - 12px);
	height: auto;
	margin: 6px;
}

#nav {
	z-index: 1;
	position: relative;
	top: 124px;
	left: 0;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0;
}
#nav p {
	width : -webkit-calc(100% - 72px);
	width : calc(100% - 72px);
	font-size: 18px;
	line-height: 24px;
	position: relative;
	bottom:  13px;
	left: 37px;
}
#navlogo {
	width: 24px;
	height: 24px;
	position: relative;
	top: 12px;
	left: 12px;
	background: url(img/YA-logo.png) no-repeat center top / 24px 24px;
}

section {
	max-width: 180px;
	width: 40%;
	margin: 0 auto;
}
a.btn1 {
	display: flex;
	width: 100%;
	height: 48px;
	box-sizing: border-box;
	position: relative;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
}
a.btn1 span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 50px;
	box-sizing: border-box;
	color: #3f3f3f;
	font-size: 1.5em;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	background: linear-gradient(-45deg, #fff 0%, #f7f7f7 100%);
	box-shadow: 0px 5px 12px #A5A5A5, -6px -6px 12px #fff;
	border-radius: 50px;
	position: absolute;
	top: -3px;
	left: 0;
	transition-duration: 0.2s;
	-webkit-transition: 0.2s;
	-moz-transition: 0.2s;
	-o-transition: 0.2s;
}
a.btn1:hover span {
	left: 0;
	top: 0;
	box-shadow: 0 0 4px #CAD4E2, -2px -2px 4px #fff;
	background: linear-gradient(-10deg, #fff 0%, #fff 45%, #f7f7f7 100%);
	-webkit-transition: 0.1s;
	-moz-transition: 0.1s;
	-o-transition: 0.1s;
}

.accordion {
	margin: 48px 0 0 0;
	width: 100%;
}
.toggle {
	display: none;
}
.option {
	width: 80%;
	position: relative;
	margin: 16px  10%  0  10%;
}
.title,
.content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
}
.title {
	border: solid 1px #ccc;
	padding: 1em;
	display: block;
	font-size: 1.6em;
	background: #fefefe;
}
.title::after,
.title::before {
	content: "";
	position: absolute;
	right: 1.25em;
	top: 1.25em;
	width: 2px;
	height: 0.75em;
	background-color: #999;
	transition: all 0.3s;
}
.title::after {
	transform: rotate(90deg);
}
.content {
	max-height: 0;
	overflow: hidden;
}
.content table {
	width: 80%;
	margin: -1px 0 16px 10%;
	padding: 0;
	font-size: 1.6em;
	line-height: 1.5;
}
.content table th, .content table td {
	width: 100%;
}
.toggle:checked + .title + .content {
	max-height: 10000px;
	transition: all 0.8s;
}
.toggle:checked + .title::before {
	transform: rotate(90deg) !important;
}

.sans {
	font-family: 'Roboto', sans-serif;
}

@media screen and (min-width : 768px) {

  h2 {
	font-size: 2.4em;
	line-height: 1.3;
	letter-spacing: 0.05em;
  }
  .contents {
	width: 100%;
	height: auto;
	min-height: -webkit-calc(100vh - 446px);
	margin: 0;
	padding: 0;
  }
  .flow {
	border-radius: 16% 8px 8px 16%;
	background: linear-gradient(-45deg, #fff 0%, #f7f7f7 100%);
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
  }
  .flow1, .flow2 {
	width: auto;
	height: calc(100vw / 5);
  }
  .flow1 {
	float: left;
  }
  .flow1 img {
	width: auto;
	height: calc(100vw / 5);
	margin: 0;
	padding: 0;
  }
  .flow2 {
	width:  calc(100% - 100vw / 5);
  }
  .flow2 p {
	text-align: center;
	margin: 0 ;
	font-size: 4.8em;
	line-height: calc(100vw / 5);
  }
  .artwork {
	width : -webkit-calc(100% / 2 - 48px);
	width : calc(100% / 2 - 48px);
	height: auto;
	margin: 0 0 32px 32px;
	float: left;
  }
  .image img {
	width : -webkit-calc(100% - 64px);
	width : calc(100% - 64px);
	height: auto;
	margin: 0 32px 32px 32px;
  }
  #caption {
	width : -webkit-calc(70% - 128px);
	width : calc(70% - 128px);
	margin: 6px 0 128px 64px;
  }
  .client {
	font-size: 1.3em;
	line-height:1.5;
	margin: 6px 0 0 0;
  }
  #YACreative {
	height: 320px;
	margin: 0px;
  }
  .text {
	font-size: 1.8em;
	line-height:1.6;
	margin: 96px 96px 96px 96px;
  }
  .ytext {
	font-size: 3.2em;
	line-height: 0;
	margin: 48px 0 32px 0;
  }
  .atext {
	height: auto;
	font-size: 4.8em;
	line-height:1.5em;
  }
  .btext {
	width : 100%;
	height: 100px;
	font-size: 4.8em;
	line-height:1.5em;
  }
  .story {
	font-size: 1.5em;
	line-height:1.6;
	margin: 24px 32px 24px 24px;
  }
  .profile {
	width : 48%;
	height: auto;
	float: left;
  }
  .profile img {
	width : -webkit-calc(100% - 84px);
	width : calc(100% - 84px);
	height: auto;
	margin: 0px 24px 32px 60px;
	float: left;
  }

}
@media screen and (min-width : 900px) {

  .n {
	display: none;
	z-index: -1;
	width: 0px;
	height: 0px;
	margin: 0px;
	padding: 0px;
	border: 0px;
	box-shadow: 0px;
  }
  .works {
	width : -webkit-calc(100% / 2 - 24px);
	width : calc(100% / 2 - 24px);
	height: auto;
	margin: 0 0 16px 16px;
	float: left;
	background-color: #fff;
	box-shadow:
	1px 1px 2px 1px rgba(0,0,0,0.2);
  }
  th,td {
	padding: 15px; 
  }
   table {
	width: 100%;
	font-size: 1.5em;
	margin: 0;
	padding: 0;
  }
  .table {
	width : 600px;
	margin: 0 0 0 -300px;
	padding: 96px 0 0 50%;
  }
  iframe {
	width : 99.5%;
  }
  #nav {
	width: 600px;
	height: 48px;
	margin: 0 0 0 -312px;
	padding: 0 0 12px 50%;
  }
  .option {
	width: 500px;
	margin: 16px  0  0  -250px;
	padding: 0 0 0 50%;
  }
}

@media screen and (min-width : 1024px) {

  h2 {
	font-size: 2.9em;
	line-height:1.3;
	letter-spacing: 0.05em;
  }
  .contents {
	width: 1000px;
	height: auto;
	min-height: -webkit-calc(100vh - 510px);
	margin: 0 0 0 -500px;
	padding: 0 0 0 50%;
  }
  .flow1 {
	width: 180px;
	height: 180px;
  }
  .flow1 img {
	width: 180px;
	height: 180px;
  }
  .flow2 {
	width: 500px;
	height: 180px;
  }
  .flow2 p {
	text-align: center;
	margin: 0;
	font-size: 4.8em;
	line-height: 180px;
  }
  .artwork {
	width : -webkit-calc(100% / 3 - 64px);
	width : calc(100% / 3 - 64px);
	height: auto;
	margin: 0 32px 64px 32px;
	float: left;
  }
  .text {
	font-size: 1.8em;
	line-height:1.6;
	margin: 96px 160px 96px 160px;
  }
  .product img {
	width : -webkit-calc(100% - 48px);
	width : calc(100% - 48px);
	margin: 24px;
  }
  .story {
	font-size: 1.5em;
	line-height:1.6;
	margin: 32px 64px 24px 24px;
  }
  #nav {
	width: 1000px;
	height: 48px;
	margin: 0 0 0 -500px;
	padding: 0 0 24px 50%;
  }

}
@media screen and (min-width : 1150px) {

  header {
	position: fixed;
	top: 41px;
	left: 50%;
	margin: 0 0 0 520px;
  }
}
@media screen and (min-width : 1200px) {

  .contents {
	width: 1000px;
	height: auto;
	min-height: -webkit-calc(100vh - 446px);
	margin: 64px 0 32px -500px;
	padding: 0 0 0 50%;
  }
  .artwork {
	width : -webkit-calc(100% / 3 - 64px);
	width : calc(100% / 3 - 64px);
	height: auto;
	margin: 0 32px 64px 32px;
	float: left;
  }
  .image img {
	width : 936px;
	height: auto;
	margin: 0 32px 32px 32px;
  }

}

@media screen and (max-width : 899px) {
  .no {
	display: none;
	z-index: -1;
	width: 0px;
	height: 0px;
	margin: 0px;
	padding: 0px;
	border: 0px;
	box-shadow: 0px;
  }
}