@charset "utf-8";



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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table.table {border-collapse: separate;border-spacing: 0;}
table2.table2 {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}





/* -------------アニメテキスト------------ */










/* -------------アニメテキスト------------ */








/* -------------動画埋め込みテスト------------ */


/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width:480px) {
    .pc { display: none !important; }
    .sp { display: block !important; }

}


/* -------------動画埋め込みテスト ここまで------------ */
/* wrap */


/* video */



/* video */


/* text */

.heading {
  position: absolute;
  bottom: 5px;
  left: 15px;
  color: #FFF;
}

h2 {
  font-family: メイリオ, sans-serif;
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;

  text-align: center;
  color: #fff;
}





/* ------------ 重なりテスト -------------- */



/*3つともabsoluteに*/
.ppc, .ssp, .atama {
  position: absolute;
}

.ppc {
  z-index: 1;
  left: 0px;
  top: 0px;
}

.ssp {
  z-index: 2;
  left: 0px;
  top:-13px;
}

.atama {
  z-index: 3;
  left:0;
  top:350;
}


.hukidashi {
  z-index: 4;
   left:330px;
   top:380px;
}





/* ------------ 吹き出しテスト -------------- */



/***
.arrow_box{
    position:relative;
    width:250px;
    height:80px;
    background:#FFFFFF;
    padding:10px;
    text-align:center;
    border:2px solid #8FE2FF;
    color:#000000;
    font-size:16px;
    font-weight:bold;
    border-radius:50px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
}
.arrow_box:after,.arrow_box:before{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    top:100%;
    left:40%;
}
.arrow_box:after{
    border-color: rgba(255, 255, 255, 0);
    border-top-width:42px;
    border-bottom-width:42px;
    border-left-width:14px;
    border-right-width:14px;
    margin-left: -14px;
    border-top-color:#FFFFFF;
}
.arrow_box:before{
    border-color: rgba(143, 226, 255, 0);
    border-top-width:48px;
    border-bottom-width:48px;
    border-left-width:16px;
    border-right-width:16px;
    margin-left: -16px;
    margin-top: 2px;
    border-top-color:#8FE2FF;
}
**/


/* ------------ 吹き出しテスト ここまで------------ */



/* -------------トップテキスト配置------------ */


/* -------------トップテキスト配置ここまで---------- */
 





/* -----重なりテストここまで------------- */


body {
color:#333;
font-size:small;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic","M PLUS 1p","Rounded M+",Sans-Serif;
line-height:1.5;
background:#f1f1f1;
-webkit-text-size-adjust: none;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#4196ff;text-decoration:none;}
a:hover{color:#0084ff;}
a:active, a:focus {outline:0;}


/* 全体
------------------------------------------------------------*/



#wrapper{
margin:0 auto;
padding:0 1%;
width:98%;
position:relative;
background:#fff;
}

.inner{
margin:0 auto;
width:100%;
}



/*************
/* ヘッダー
*************/
#header{
height:110px;
}

#header h1{
padding:5px 0 10px 10px;
font-size:12px;
font-weight:normal;
}

/*************
/* ロゴ
*************/
.logo{
float:left;
}

.logo p{float:left;}

.logo img{
width:auto;
float:left;
padding:0 5px 0 10px;
}

.logo span{display:block;}



/*******************************************
/* みちのくロゴ  女性の力の認証マーク
*****************************************/
.logo2{
float:left;
}

.logo2 p{float:left;}

.logo2 img{
width:auto;
float:left;
padding:0 5px 0px;
}

.logo2 span{display:block;}




/*************
/* 電話番号
*************/
.info{
float:right;
padding-right:20px;
text-align:right;
}

.info .open{font-size:1.1em;}


/*************
/* ロゴ+電話番号
*************/
.logo,.info .tel{
color:#4196ff;
font-size:24px;
font-weight:bold;
}

.logo span,.info span{
color:#333;
font-size:.6em;
font-weight:normal;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/



/**************************
/* フェードインテキスト
**************************/


.scroll{


  margin     : auto;
  width      : 97%;
  font-size  : 250%;
  line-height: 8em;
  text-align : center;
  color      : #fff;
  overflow   : hidden;

}

.scroll span{
  display     : inline-block;
  padding-left: 100%;
  white-space : nowrap;
  line-height : 1em;
  overflow   : hidden;
  animation   : scrollAnime 12s linear infinite;
}


 /*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) { animation-delay: 0s }
.slide img:nth-of-type(2) { animation-delay: 3s }


@keyframes scrollAnime{
    0% { transform: translateX(0)}
  100% { transform: translateX(-100%)}
}


/**************************
/* フェードインテキストここまで
**************************/




/**************************
/* フェードインスライド
**************************/

 /*=== 画像の表示エリア ================================= */

 
 /*=== 画像の設定 ======================================= */
.slide img {

 
  opacity    : 0;

  animation  : slideAnime 12s ease infinite;
}
 
 /*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) { animation-delay: 0s }
.slide img:nth-of-type(2) { animation-delay: 3s }
.slide img:nth-of-type(3) { animation-delay: 6s }
.slide img:nth-of-type(4) { animation-delay: 9s }
 
 /*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
   0% { opacity: 0 }
   3% { opacity: 1 }
  30% { opacity: 1 }
  33% { opacity: 0 }
 100% { opacity: 0 }

}


.moji01 {
  z-index: 60;
  position: absolute;
}
.moji02 {
  z-index: 50;
  position: absolute;
}
.ami {
  z-index: 40;
  position: absolute;
}
.a {
  z-index: 30;
  position: absolute;	

}
.b {
  z-index: 20;
  position: absolute;

}
.c {
  z-index: 10;
  position: absolute;

}

.d {
  z-index: 1;
  position: absolute;

}



/**************************
/* フェードインスライドここまで
**************************/


#main_banner{
margin:17px auto;
padding:0;
width:100%;
position:relative;
line-height:0;
}

#main_banner img{
max-width:100%;
height:auto;
border:4px solid #ebebeb;
}


.moji{
font-size:20px;
}




.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
left:10px;
padding:5px 10px;
line-height:1.4;
color:#fff;
background-color: rgba(0,0,0,0.4);
}

.slogan h2{
padding-bottom:5px;
font-size:20px;
}


.moji01{

max-width:100%;
height:auto;
bottom:-225px;
padding:5px
}








/**************************
/* マスコンバット
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
float:left;
border-radius:5px;
background:#fff;
}

.box{
margin:0 5px;
padding:10px;
border:1px solid #ebebeb; 
}

.box img{
max-width:200%;
height:auto;
border:4px solid #ebebeb;
}

.box h3{padding:10px 0 5px;}

.box h3, .box p{text-align:left;}

.box p.readmore{
padding:10px 5px 5px;
text-align:right;
}



/**************************
/* 施工事例
**************************/
.box0{
margin:0 20px;
padding:10px;
border:1px solid #ebebeb; 
}

.box0 img{
max-width:200%;
height:auto;
border:4px solid #ebebeb;
}

.box0 h3{padding:10px 0 5px;}

.box0 h3, .box p{text-align:left;}

.box0 p.readmore{
padding:10px 5px 5px;
text-align:right;
}



.box2{
margin:0 5px;
padding:10px;
border:1px solid #ebebeb; 
}


.box2 img{
height:auto;
border:4px solid #ebebeb;
}

.box2 h3{padding:10px 0 5px;}

.box2 h3, .box p{text-align:left;}

.box2 p.readmore{
padding:10px 5px 5px;
text-align:right;
}

.box2{
margin:0 50px;
padding:10px 40px;
border:6px solid #ebebeb; 
}

.obi{
  font-size: 22px;
  font-weight: bold;
  margin:0 100px;
  padding: -3rem -3rem;
  -webkit-transform: skew(-15deg);
  transform: skew(-15deg);
  color: #fff;
  background-image: -webkit-gradient(linear, left top, right top, from(#209cff), to(#68e0cf));
  background-image: -webkit-linear-gradient(left, #209cff 0%, #68e0cf 100%);
  background-image: linear-gradient(to right, #209cff 0%, #68e0cf 100%);
}


/**************************
/* 社員の声
**************************/

.box1{
margin:0 20px;
padding:10px;
border:1px solid #ebebeb; 
}

.box1 img{
max-width:200%;
height:auto;
border:4px solid #ebebeb;
}

.box1 h3{padding:10px 0 5px;}

.box1 h3, .box p{text-align:left;}

.box1 p.readmore{
padding:10px 5px 5px;
text-align:right;
}



/*************メインのコンテンツ*************/
section.content article{
padding:20px;
margin-bottom:20px;
border:1px solid #ebebeb;
overflow:hidden;
}

* html section.content article{height:1%;}

section.content p{margin-bottom:5px;}


h3.ber{
font-weight:normal;
padding:0 10px;
line-height:36px;
color:#fff;
background:url(image/ber.png) repeat-x 0 0;
}


section.content img{
max-width:90%;
height:auto;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 0;
}

.alignright{
float:right;
clear:right;
margin:3px 0 10px 10px;
}

#gallery .grid img,.border{border:4px solid #ebebeb;}



/*************
テーブル
*************/
table.table{
border-collapse:collapse;
margin:5px auto 15px auto;
}

table.table td{
border-collapse:collapse;
background-color:#F9F9F9;
text-align:left;
padding:8px;
border:1px solid #D6D6D6;
line-height:20px;
}

table.table th{
background-color:#F5F5F5;
text-align:right;
padding:8px;
white-space:nowrap;
color: #151515;
border-top:1px solid #D4D4D4;
border-right:4px solid #D4D4D4;
border-bottom:1px solid #D4D4D4;
border-left:1px solid #D4D4D4;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}




/*************
/* サイドバー
*************/
#sidebar ul{padding-top:10px;}

#sidebar li{
margin-bottom:10px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #ebebeb;
}

#sidebar li:last-child{
border:0;
margin-bottom:0px;
}

#sidebar li a{display:block;}

ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
}

ul.list li{height:1%;}

ul.list li img{
float:left;
margin-right:10px;
}

ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
clear:both;
overflow:hidden;
padding:10px 10px 20px 10px;
background:#e8e8e8;
}

* html #footer{height:1%;}

#footer .grid{
padding:10px 0 5px;
margin:0;
background:transparent;
}

#footer #info .logo, #footer #info .info{float:none;}

#footer #info .info{
clear:both;
padding:10px 0 0 15px;
text-align:left;
}

#footer .logo{font-size:18px;}

#footer .info .tel,#footer .info .tel span,#footer #info .open{font-size:12px;}

ul.footnav{
float:left;
width:480px;
padding:10px 0;
}

ul.footnav li{
float:left;
margin-bottom:10px;
padding:0 7px 0 8px;
border-right:1px solid #b6b6b6;
}

#footer a{color:#333;}

#footer a:hover{color:#888;}

address{
clear:both;
padding:5px;
text-align:center;
font-style:normal;
font-size:12px;
color:#fff;
background:#333;
}


/* PC用
-------------------------------------------------------------------------------------*/
@media only screen and (min-width: 960px){

.moji01{
max-width:96%;
height:auto;
bottom:-225px;
padding:5px
}

.hukidashi {
     opacity: 0;
     animation-delay: 5.0s;
     animation-name: fadein;
     animation-duration: 2s;
     animation-iteration-count: infinite;
     position: relative;
     display: inline-block;
     width: 250px; 
     text-align: center;
     padding: 25px;
     font-size:17px;
     font-weight:bold;
     border-radius:50px;
     -webkit-border-radius:50px;
     -moz-border-radius:50px;
     background-color: #FFF;
     border: #8FE2FF solid 2px;
}



.hukidashi:before {
     content: '';
     position: absolute;

     display: block;
     z-index: 1;
     border-style: solid;
     border-color: #FFF transparent;
     border-width: 25px 25px 0 0;
     bottom: -20px;
     left: 50%;
     margin-left: -10px;
}

.hukidashi:after {
     content: '';
     position: absolute;
     display: block;
     z-index: 0;
     border-style: solid;
     border-color: #8FE2FF transparent;
     border-width: 25px 25px 0 0;
     bottom: -25px;
     left: 50%;
     margin-left: -12px;
}




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

}










/**
.item2 {

  font-style:italic;
  font-family: Roboto, sans-serif;
  font-size: 60px;
  font-weight: bold;
  float: left;
  margin-right: 10px;
  padding: 10px;
  width: 75px;
  height:75px;
  list-style: none;
  text-align: center;
  line-height: 30 px;
  color: #fff;
  opacity: 0;

    -webkit-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  transform: translateX(-200%);	

}


.item {
  text-shadow:1px 1px 0 white;
  font-style:italic;
  font-family: Roboto, sans-serif;
  font-size: 70px;
  font-weight: bold;
  float: left;
  margin-right: 15px;
  padding: 13px;
  width: 40px;
  height:40px;
  list-style: none;
  text-align: center;
  line-height: 0 px;
  color: #00008b;
  opacity: 0;

  -webkit-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  transform: translateX(-200%);

}




.item2:nth-child(1) {
  -webkit-animation: example 0.5s ease 0.5s 1 forwards;
  animation: example 0.2s ease 0.5s 1 forwards;
}


.item:nth-child(2) {
  -webkit-animation: example 0.5s ease 0.5s 1 forwards;
  animation: example 0.2s ease 0.5s 1 forwards;
}


.item:nth-child(3) {
  -webkit-animation: example 0.5s ease 1s 1 forwards;
  animation: example 0.2s ease 0.7s 1 forwards;
}

.item:nth-child(4) {
  -webkit-animation: example 0.5s ease 1.5s 1 forwards;
  animation: example 0.2s ease 0.9s 1 forwards;
}

.item:nth-child(5) {
  -webkit-animation: example 0.5s ease 2s 1 forwards;
  animation: example 0.2s ease 1.1s 1 forwards;
}

.item:nth-child(6) {
  -webkit-animation: example 0.5s ease 2.5s 1 forwards;
  animation: example 0.2s ease 1.3s 1 forwards;
}

.item:nth-child(7) {
  -webkit-animation: example 0.5s ease 3s 1 forwards;
  animation: example 0.2s ease 1.5s 1 forwards;
}

.item:nth-child(8) {
  -webkit-animation: example 0.5s ease 3.5s 1 forwards;
  animation: example 0.2s ease 1.7s 1 forwards;
}

.item:nth-child(9) {
  -webkit-animation: example 0.5s ease 4s 1 forwards;
  animation: example 0.2s ease 1.9s 1 forwards;
}

.item:nth-child(10) {
  -webkit-animation: example 0.5s ease 4.5s 1 forwards;
  animation: example 0.2s ease 2.1s 1 forwards;
}

.item:nth-child(11) {
  -webkit-animation: example 0.5s ease 5s 1 forwards;
  animation: example 0.2s ease 2.3s 1 forwards;
}




@-webkit-keyframes example {
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes example {
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

**/






  nav#mainNav{
	padding:0 14px;
	clear:both;
	overflow:hidden;
	position:relative;
	background:url(image/menu_back.png);
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav li.last{border-right:1px solid #ebebeb;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	float:left;
	font-size:13px;
	width:231px;
	height:40px;
	padding-top:15px;
	color:#333;
	background:url(image/menu_panel.png);
	border-left:1px solid #ebebeb;
	}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#0084ff;
	font-size:10px;
	}

	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{display:none;}

	nav#mainNav li.active a, nav#mainNav li a:hover{
	color:#fff;
	background-position:0 -60px;
	padding-top:15px;
	}
	
	#main_banner{margin-left:15px;}
	#subpage #main_banner{margin:15px auto;}

	#wrapper,.inner{
	width:960px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	#main{
	float:right;
	width:717px;
	padding-right:15px;
	}
	
	#sidebar{
	float:left;
	width:195px;
	padding:15px 0 0 15px;
	overflow:hidden;
	}
	
	#sidebar article{
	padding:7px;
	margin-bottom:20px;
	border:1px solid #ebebeb;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	#gallery article{padding:10px 0 10px 10px;}
	
	/* グリッド */
        
 
        
	.grid{
	float:left;
	width:460px;
	margin-left:20px;
	}
	
	#subpage .grid{width:auto;}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}
}

/*-------------------------------------------------------------------------------------*/

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

.hukidashi {
     opacity: 0;
     animation-delay: 5.0s;
     animation-name: fadein;
     animation-duration: 2s;
     animation-iteration-count: infinite;
     position: relative;
     display: inline-block;
     width: 250px; 
     text-align: center;
     padding: 25px;
     font-size:17px;
     font-weight:bold;
     border-radius:50px;
     -webkit-border-radius:50px;
     -moz-border-radius:50px;
     background-color: #FFF;
     border: #8FE2FF solid 2px;
}



.hukidashi:before {
     content: '';
     position: absolute;

     display: block;
     z-index: 1;
     border-style: solid;
     border-color: #FFF transparent;
     border-width: 25px 25px 0 0;
     bottom: -20px;
     left: 50%;
     margin-left: -10px;
}

.hukidashi:after {
     content: '';
     position: absolute;
     display: block;
     z-index: 0;
     border-style: solid;
     border-color: #8FE2FF transparent;
     border-width: 25px 25px 0 0;
     bottom: -25px;
     left: 50%;
     margin-left: -12px;
}




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

}








/**

.item2 {

  font-style:italic;
  font-family: Roboto, sans-serif;
  font-size: 60px;
  font-weight: bold;
  float: left;
  margin-right: 15px;
  padding: 10px;
  width: 90px;
  height:90px;
  list-style: none;
  text-align: center;
  line-height: 30 px;
  color: #fff;
  opacity: 0;

    -webkit-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  transform: translateX(-200%);	

}



.item {

  text-shadow:1px 1px 0 white;
  font-style:italic;
  font-family: Roboto, sans-serif;
  font-size: 50px;
  font-weight: bold;
  float: left;
  margin-right: 15px;
  padding: 13px;
  width: 40px;
  height:40px;
  list-style: none;
  text-align: center;
  line-height: 0 px;
  color: #00008b;
  opacity: 0;

  -webkit-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  transform: translateX(-200%);

}



.item2:nth-child(1) {
  -webkit-animation: example 0.5s ease 0.5s 1 forwards;
  animation: example 0.2s ease 0.5s 1 forwards;
}


.item:nth-child(2) {
  -webkit-animation: example 0.5s ease 0.5s 1 forwards;
  animation: example 0.2s ease 0.5s 1 forwards;
}


.item:nth-child(3) {
  -webkit-animation: example 0.5s ease 1s 1 forwards;
  animation: example 0.2s ease 0.7s 1 forwards;
}

.item:nth-child(4) {
  -webkit-animation: example 0.5s ease 1.5s 1 forwards;
  animation: example 0.2s ease 0.9s 1 forwards;
}

.item:nth-child(5) {
  -webkit-animation: example 0.5s ease 2s 1 forwards;
  animation: example 0.2s ease 1.1s 1 forwards;
}

.item:nth-child(6) {
  -webkit-animation: example 0.5s ease 2.5s 1 forwards;
  animation: example 0.2s ease 1.3s 1 forwards;
}

.item:nth-child(7) {
  -webkit-animation: example 0.5s ease 3s 1 forwards;
  animation: example 0.2s ease 1.5s 1 forwards;
}

.item:nth-child(8) {
  -webkit-animation: example 0.5s ease 3.5s 1 forwards;
  animation: example 0.2s ease 1.7s 1 forwards;
}

.item:nth-child(9) {
  -webkit-animation: example 0.5s ease 4s 1 forwards;
  animation: example 0.2s ease 1.9s 1 forwards;
}

.item:nth-child(10) {
  -webkit-animation: example 0.5s ease 4.5s 1 forwards;
  animation: example 0.2s ease 2.1s 1 forwards;
}

.item:nth-child(11) {
  -webkit-animation: example 0.5s ease 5s 1 forwards;
  animation: example 0.2s ease 2.3s 1 forwards;
}

**/


@-webkit-keyframes example {
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes example {
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}










	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
	background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
  border:1px solid #e4e4e4;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav > a span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	background:url(image/bg.png);
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{
	border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{	color:#0084ff;}

	nav div.panel{float:none;}
	
	#subpage #main_banner{max-width:720px;}
	
	#sidebar article{padding:7px 8px;}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	

	.grid{
	float:left;
	width:49%;
	margin:10px 0 0 1%;
	}

	/**
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	**/

	


	#gallery .grid{
	float:left;
	width:31%;
	margin:0 0 0 1%;
	}
	
	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	
	#footer.logo,#footer .info{
	width:100%;
	float:none;
	}
	
	#footer .logo p{float:none;display:block;}
	#footer .logo img{float:none;padding:0;}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	
/***** アニメタイトル表示位置 ****/
	
	

/**	
	
	.item {
	font-style:italic;
	font-family: Roboto, sans-serif;
  	font-size: 30px;
  	font-weight: bold;
  	color: #fff;

	

	width: 0px;
  	height:0px;
	}

**/
/**** アニメタイトル表示位置 ****/	
	
	
	
	#header{
	height:auto;
	padding-bottom:20px;
	}
	
	#header h1,.logo,.info{text-align:center;}
	
	.logo,.info{
	clear:both;
	width:100%;
	float:none;
	}
	
	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}
	
	.box img{
	max-width:180px;
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}


	.box2 img{
	max-width:180px;
	float:left;
	margin-right:5px;
	}
	
	.box2 h3{padding-top:0;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#gallery .grid{float:left;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){





/* html,bodyタグの設定 */

	.grid{width:100%;}
	.box img{max-width:100px;}
	#main_banner h2,#main_banner p{font-size:80%;}
	

/**
.item2 {
  
  font-style:italic;
  font-family: Roboto, sans-serif;
  font-size: 30px;

  float: left;
  margin-right: 10px;
  padding: -60px;
  width: 1px;
  height:1px;
  list-style: none;
  text-align: center;
  line-height: 60px;
  color: #fff;
  opacity: 0;

  -webkit-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  transform: translateX(-200%);

}



.item {

 

  font-size: 15px;
  font-style: italic;

  float: left;
  margin-right: 10px;
  padding: 0px;
  width: 17px;
  height:17px;
  list-style: none;
  text-align: center;
  line-height: 100px;
  color: #fff;
  opacity: 0;

  -webkit-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  transform: translateX(-200%);


}






.item2:nth-child(1) {
  -webkit-animation: example 0.5s ease 0.5s 1 forwards;
  animation: example 0.2s ease 0.5s 1 forwards;
}


.item2:nth-child(1) {
  -webkit-animation: example 0.5s ease 0.5s 1 forwards;
  animation: example 0.2s ease 0.5s 1 forwards;
}



.item:nth-child(3) {
  -webkit-animation: example 0.5s ease 0.5s 1 forwards;
  animation: example 0.2s ease 0.5s 1 forwards;
}


.item:nth-child(4) {
  -webkit-animation: example 0.5s ease 1s 1 forwards;
  animation: example 0.2s ease 0.7s 1 forwards;
}

.item:nth-child(5) {
  -webkit-animation: example 0.5s ease 1.5s 1 forwards;
  animation: example 0.2s ease 0.9s 1 forwards;
}

.item:nth-child(6) {
  -webkit-animation: example 0.5s ease 2s 1 forwards;
  animation: example 0.2s ease 1.1s 1 forwards;
}

.item:nth-child(7) {
  -webkit-animation: example 0.5s ease 2.5s 1 forwards;
  animation: example 0.2s ease 1.3s 1 forwards;
}

.item:nth-child(8) {
  -webkit-animation: example 0.5s ease 3s 1 forwards;
  animation: example 0.2s ease 1.5s 1 forwards;
}

.item:nth-child(9) {
  -webkit-animation: example 0.5s ease 3.5s 1 forwards;
  animation: example 0.2s ease 1.7s 1 forwards;
}

.item:nth-child(10) {
  -webkit-animation: example 0.5s ease 4s 1 forwards;
  animation: example 0.2s ease 1.9s 1 forwards;
}

.item:nth-child(11) {
  -webkit-animation: example 0.5s ease 4.5s 1 forwards;
  animation: example 0.2s ease 2.1s 1 forwards;
}

.item:nth-child(12) {
  -webkit-animation: example 0.5s ease 5s 1 forwards;
  animation: example 0.2s ease 2.3s 1 forwards;
}

**/

@-webkit-keyframes example {
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes example {
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}



.hukidashi {
     opacity: 0;
     animation-delay: 5s;
     animation-name: fadein;
     animation-duration: 2s;
     animation-iteration-count: infinite;
     position: relative;
     left:120px;
     top:350px;
     display: inline-block;
     width: 220px; 
     text-align: center;
     padding: 20px;
     font-size:12px;
     font-weight:bold;
     border-radius:50px;
     -webkit-border-radius:50px;
     -moz-border-radius:50px;
     background-color: #FFF;
     border: #8FE2FF solid 2px;
}

.hukidashi:before {
     content: '';
     position: absolute;

     display: block;
     z-index: 1;
     border-style: solid;
     border-color: #FFF transparent;
     border-width: 25px 25px 0 0;
     bottom: -20px;
     left: 50%;
     margin-left: -10px;
}

.hukidashi:after {
     content: '';
     position: absolute;
     display: block;
     z-index: 0;
     border-style: solid;
     border-color: #8FE2FF transparent;
     border-width: 25px 25px 0 0;
     bottom: -25px;
     left: 50%;
     margin-left: -12px;
}




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

}





}