@charset "UTF-8";

/*スマホの時の画面サイズ*/
@media screen and (max-width: 660px){
body {

		margin: 0 auto;
		background-position-y:-70% !important;
	 }
	img{
	height: auto;
	max-width: 370px;
}
}



@media screen and (max-width: 660px){
.design{
	max-width:370px !important;
	list-style: none;
	
	}
}

.design{
	  width: 33% !important;
		float: left;
}

.example {
  max-width: 100%;
	}


/* スマホの時メニューバー無くす*/
@media screen and (max-width: 660px){
#pcmenu a{color: white;
	font-size: px;
	pointer-events: none;}
}


/**/
body{
	max-width:800px;
	margin: 0 auto;
	background-image:url("images/back.png");
	background-position:center;
	background-position-y:-20%;
	background-repeat: no-repeat;
	background-size:200%;

}

p{
	font-size: 8px;
	text-align: center;
}

h2 {
	padding-left: 20px;
	margin-bottom: 0px;
	padding-top: 20px;
	font-family: 'Sen', sans-serif;
}

h5{
	margin-top:5px;
	padding-left: 30px;
	font-family: 'Sawarabi Gothic', sans-serif;
}
h6{
	font-family: 'Sen', sans-serif;
	text-align: center;
}

h6 a{
	display: block;
	width: 300px;
	padding-left: 100px;
	padding-right: 100px;
	border: solid #9D9D9D 1px;
}

li{
	font-family: 'Sen', sans-serif;
	margin-top: 10px;
	margin-bottom: 20px;
	font-size: 20px;
	list-style: none;
	clear: left;
}

a .menu{
	text-decoration: none;
	border-bottom-style:none;
}

a{
	color: #000;
	text-decoration: none;
	border-bottom-style:double;
}

a:hover {
	color: rgba(0,0,0,0.1);
}


/*会社名表示*/
.com{
	display: inline;
	font-size: 8px;
	color:#79554A;
	text-align:center;
	font-family: 'Sawarabi Gothic', sans-serif;
}

.com a:hover{
	color: rgba(0,0,0,0.1);
}

.tytle{
	font-size:15px;
	font-family: 'Sawarabi Gothic', sans-serif;
	background-color: #E3E3E3;
	padding-left: 10px;
	margin-right:10px;
}


img{
	height: auto;
	max-width: 100%;
}

/* ▼キャプション付き画像全体を囲むボックスの装飾 */
figure {
	
    display: block;   /* インラインブロック化 */
    margin: 0px 5px 5px 0px; /* 外側に余白を追加(※右に3px・下に7px) */
}
/* ▼画像に対する装飾 */
figure img {
	
    display: block;          /* 余計な余白が出ないようにする */
}


/*pcの時のメニューバー*/
#pcmenu ul li {
	display: inline;
	margin-left: 20px;
}
#pcmenu{
	margin-bottom: 30px;
}



#works{
	display: flex;
  flex-direction: row;
}

/*worksページのみだし*/
#works a{
	display: inline;
	font-size: 15px;
}
#works ul li{
	margin:0px;
	margin-bottom: -8px;
}


/*works/design*/
/*.design{
  display: flex;
  jflex-direction: row;
  ustify-content: space-evenly;	
}*/



/*.design > *{

  text-align: left;
}

.example {
  position: relative;
  }*/

/*.example p {
  position: absolute;
  bottom: 15px;
  left: 0;
  margin: 0; 
  color: gray;
  background: rgba(255,255,255,0.6);
  font-size: 10px;
  line-height: 1;
  padding: 5px 10px;
  } */



/*works/video*/
.video{
  margin-left: 30px;
  margin-right: 30px;
  flex-direction: row;
  justify-content: space-evenly; 
}

iframe{
	width:100%;
}


/*スマホの時のworks/photo*/
.grid{
	margin:5px;
	float: left;
	list-style: none;
}

/*@media screen and (max-width: 460px){
	.grid{
	float: left;
	list-style: none;
}
.grid img{
	width:87px;
}
	#photo{
	max-width: 370px;
	margin-right: 100px;
	}
}


/*pcの時のworks/photo*/
/*@media screen and (min-width: 460px){
	.grid{
	margin:5px;
	float: left;
	list-style: none;
}
.grid img{
	width:230px;
}
	#photo{
	width: 800px;
		margin-bottom:200px;
	}
}
*/

/* bager menu */
#header #navi {
  transition: all .6s;
  overflow-y: auto;
  padding-top: 40px;
  width: 150px;
  height: 100vh;
  z-index: 200;
  top: 0;
  right: -320px;
  background-color: #fff;
  position: fixed;
}

#header .nav_btn {
  width: 44px;
  height: 44px;
  z-index: 300;
  top: 7px;
  right: 7px;
  cursor: pointer;
  position: absolute;
}

.hamburger_line {
  transition: all .6s;
  width: 34px;
  height: 2px;
  left: 5px;
  background-color: #000;
  position: absolute;
}

.hamburger_line1 { top: 10px; }
.hamburger_line2 { top: 21px; }
.hamburger_line3 { top: 32px; }

.nav_bg {
  opacity: 0;
  transition: all .6s;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  top: 0;
  left: 0;
  visibility: hidden;
  background-color: #000;
  cursor: pointer;
  position: fixed;
}

/* 表示された時用のCSS */
.nav_open #header #navi { right: 0; }

.nav_open .nav_bg {
  opacity: .8;
  visibility: visible;
}

.nav_open .hamburger_line1 {
  transform: rotate(45deg);
  top: 20px;
}

.nav_open .hamburger_line2 {
  width: 0;
  left: 50%;
}

.nav_open .hamburger_line3 {
  transform: rotate(-45deg);
  top: 20px;
}


