@charset "UTF-8";

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

		margin: 0 auto;
	 }
	img{
	height: auto;
	max-width: 370px;
}
	.activities{
		width:100% !important;
	margin:0 auto;
margin-bottom:20%;
}

}



@media screen and (max-width: 660px){
.design{

	list-style: none;
	
	}
	.design3{

	list-style: none;
	
	}
}

@media screen and (max-width: 660px){
	.caption{
	width:75% !important;
	float:right;
	margin-top:0px;
	margin-left:25% !important;
	margin-bottom:5%;
	background-color: #AFCAC5;
			font-size:85% !important;
	padding-right:1%;
	margin-right:0%;
}
	.activities p{
	font-size:70% !important;
	text-align: left;
	line-height:10%;
		color:#79554A;
}
	.activities .under{
	font-size:75% !important;
	text-align: left;
}
	
	p{

	font-family: 'Sawarabi Gothic', 'Sen', sans-serif;
	text-align: center;
	margin-bottom:10px;
}



}

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

.design3{
	  width: 33% !important;
		float: left;
	margin-top:-5px;
}

.photo{
	  width: 33% !important;
		float: left;
}
.example {
  max-width: 100%;
	margin:0px;
	padding:0px;
	}

.date{
	font-size:20%;
	color:#5E5E5E;
	background-color:#A8C6BC;
	padding-left:5%;
	margin-left:-5%;
	
}

.activities{
		width:90%;
	margin:0 auto;
margin-bottom:20%;
}

.activities p{
	font-size:90% ;
	text-align: left;
	line-height:170%;
		color:#79554A;
}

.activities .under{
	font-size:95% ;
	text-align: left;
}

.caption{
	width:50%;
	float:right;
	margin-top:0px;
	margin-left:50%;
	margin-bottom:5%;
	background-color:#D3E2DD;
			font-size:90%;
	padding:2%;
	margin-right:0%;
}
.caption p{
	margin-top:3px;
	margin-bottom:3px;
	padding-left:10px;
	line-height:160%;
	text-align:left;
	color:#5E5E5E;
}

.youtube img{
	width:15%;
	padding-bottom:2%;
	padding-top:2%;
	padding-left:5%;
	padding-right:5%;
	border-radius:10px;
/*	border:solid 1px rgba(0,0,0,0.3);
	*/
}

.youtube img:hover{
	background-color:rgba(0,0,0,0.1);
}

.insta img{
	width:20%;
	border-bottom-style:none;
	padding:5px;
	border-radius:10px;
}
.insta img:hover{
	background-color:rgba(0,0,0,0.1);
}


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


/**/
body{
	max-width:800px;
	margin: 0 auto;
}



p{
font-size:8%;
	font-family: 'Sawarabi Gothic', 'Sen', sans-serif;
	text-align: center;
	margin-bottom:10px;
}

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;
	clear:right;
}



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: block;
	font-size: 8px;
	color:#79554A;
	text-align:center;
	font-family: 'Sawarabi Gothic', sans-serif;
}

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

.under {
  text-decoration: underline;

	color:#79554A;
	text-align:center;
	font-family: 'Sawarabi Gothic', sans-serif;
}

.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 2px 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{
	width:90%;
	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;
}


