/* スマートフォン用CSS */
@media screen and (max-width: 895px) {
/* 英語：Nirmala UI（ノーマル） */
@font-face {
	font-family: 'Nirmala UI';
	src: url(../font/Nirmala.ttf);
}
/* 英語：Nirmala UI（太字） */
@font-face {
	font-family: 'Nirmala UI B';
	src: url(../font/NirmalaB.ttf);
}
/* 日本語：UD デジタル 教科書体 NP-R */
@font-face {
	font-family: 'UD Digi Kyokasho NP-R';
	src: url(../font/UD Digi Kyokasho NP-R.ttc);
}

body{
	width:device-width;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	font-family:"Nirmala UI B", "UD Digi Kyokasho NP-R", "Meiryo", "メイリオ";
	/*font-family:"Nirmala UI", "UD Digi Kyokasho NP-R", "Meiryo", "メイリオ";*/
	background:#ffffff;
	color:#222222;
	font-size:11pt;
	line-height:130%;
}
ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: yourDefinition;
}
ol li {
	padding-left: 30px;
	text-indent: -30px;
}
ol li:before {
	counter-increment: yourDefinition;
	content: counter(yourDefinition);
	display: inline-block;
	margin-right: 5px;
	margin-left: 5px;
	width: 20px;
	height: 20px;
	text-align: center;
	color: white;
	font-weight: bold;
	font-family: helvetica;
	text-indent: 0;
	background: #0054A7;
	border-radius: 100%;
}
/*
ul li {
	margin: 0px 10px 20px 20px;
	padding:0px;
	font-size:15px;
	line-height: 150%;
	color: #333333;
	text-align: left;
}
*/
li A         { color:#0066FF; text-decoration:underline;}
li A:link    { color:#0066FF; text-decoration:underline;}
li A:visited { color:#0066FF; text-decoration:underline;}
li A:hover   { color:#ff3300; text-decoration:underline;}

#all {
	width:device-width;
	text-align:left;
	margin:0px;
	padding:0px;
}
/*-------------------------------
スマホサイトの右余白調整
-------------------------------*/
#wrap2 {
	width:100%;
	overflow:hidden;
}
/*-------------------------------
back白
-------------------------------*/
.fff{
	background-color: #fff;
	margin: 0px;
	padding: 10px 0px 40px 0px;
}
/*-------------------------------
backグレー
-------------------------------*/
.eee{
	background-color: #eee;
	margin: 0px;
	padding: 10px 0px 40px 0px;
}
/*-------------------------------
back白の透過
-------------------------------*/
.tfff{
	background-color:rgba(255,255,255,0.2);
	margin: 0px;
	padding: 10px 0px 40px 0px;
}
/*-------------------------------
backオリジナルカラーの透過
-------------------------------*/
.toka{
	background-color:rgba(110,185,44,0.3);
	margin: 0px;
	padding: 10px 0px 40px 0px;
}
/*-------------------------------
画面配置幅
-------------------------------*/
.frame1200 {
	width: 100%;	  /*全体の幅を指定する*/ 
	margin: 0 auto;    /*マージンの指定をする、ブラウザ対策*/
	text-align: center;   /*全体を真ん中揃えにする。*/
}


/*--------------------------
メニュー
--------------------------*/
#headder {
	/*margin-top: -8px;*/
	margin-right: auto;
	margin-left: auto;
	position: fixed;
	z-index: 999;
	background-color: #FFF;
	width: 100%;
	height: 75px;
	border-bottom:solid 1px #999;
}
#headder .logo {
	float: left;
	margin-left: 5px;
	padding-top: 20px;
}

#headder .mail {
	display: block;
	float: right;
	margin-top: 20px;
	margin-right: 5px;
	margin-bottom: 0px;
}

#headder .tel {
	display: block;
	float: right;
	margin-top: 20px;
	margin-right: 5px;
	margin-bottom: 0px;
}

#headder .right-menu {
	display: block;
	float: right;
	width: 70px;
	margin-top: 10px;
	margin-right: -10px;
	margin-bottom: 0px;
}


#headder ul {
	float: right;
	padding-top: 20px;
}
#headder ul a{
	background-repeat: no-repeat;
	background-position: 10px 3px;
	text-decoration: none;
	display: block;
	font-size: 12px;
	line-height: normal;
	padding: 5px;
	width: 130px;
	border-radius: 5px;        /* CSS3草案 */
	-webkit-border-radius: 5px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 5px;   /* Firefox用 */
	border: 1px solid #999;
	text-align: center;
}
#headder ul a:hover {
	background-color: #000;
}
#headder ul li {
	float: left;
	margin-left: 20px;
}
/*--------------------------
コンテンツ
--------------------------*/
#content {
	width:device-width;
	margin: 0px;
	padding: 26px 0px 0px 0px;
	background: none;
}
#content::before {
	content:"";
	display:block;
	position:fixed;
	top:0;
	left:0;
	z-index:-1;
	width:100%;
	height:100vh;
	background-position: center center;
	background:url("../image/top/back2.jpg")center/cover no-repeat; /*fixedをトル！*/
	-webkit-background-size:cover;/*Android4*/
}
/*--------------------------
メイン画像
--------------------------*/
#maine2 {
	width:100%;
	margin: 0px;
	padding: 0px;
	text-align: center;
}
#maine2 img {
	object-fit: contain;
	width: 98%;
	margin: 0px;
	padding: 80px 0px 30px 0px;
}
#content h1 {
	font-weight: bold !important;
	margin: 0px 0px 5px 0px;
	padding: 30px 0px 0px 0px;
	height: 50px;
	color: #FFF;
	font-size:25px;
	text-align: center;
}

#content h2 {
	margin: 30px 0px 10px 0px;
	padding: 10px 0px 10px 20px;
	font-size:20px;
	line-height: 170%;
	color: #0054A7;
	border-top: 1px dashed #0054A7;
	border-bottom: 1px dashed #0054A7;
	text-align: left;
	background-color: #ffffff;
}

#content h3 {
	margin: 5px 0px 0px 0px;
	padding: 10px;
	font-size:18px;
	line-height: 120%;
	color: #fff;
	text-align: left;
	background-color: #0054A7;
}
#content h3 A         { color: #fff; TEXT-DECORATION: none;}
#content h3 A:link    { color: #fff; TEXT-DECORATION: none;}
#content h3 A:visited { color: #fff; TEXT-DECORATION: none;}
#content h3 A:hover   { color: #ff3300; TEXT-DECORATION: none;}

#content h4 {
	margin: 5px 5px 20px 5px;
	padding: 20px 10px 0px 10px;
	font-size:17px;
	color: #555;
	font-weight:bold;
	line-height: 120%;
	text-align: left;
	border-bottom: 2px solid #999;
}
#content h4:first-letter {
	font-size: 1.5em;
}
#content h5 {
	margin: 10px 0px;
	padding: 5px 10px;
	font-size:16px;
	color: #fff;
	line-height: 120%;
	text-align: left;
	font-weight: bold;
	/*border: 1px solid #0054A7;
	border-radius: 4px;*/
	background: #0054A7;
}

#content h5 A         { color: #fff; TEXT-DECORATION: none;}
#content h5 A:link    { color: #fff; TEXT-DECORATION: none;}
#content h5 A:visited { color: #fff; TEXT-DECORATION: none;}
#content h5 A:hover   { color: #FFB973; TEXT-DECORATION: none;}

#content h6 {
	margin: 5px;
	padding: 10px 10px 15px 10px;
	font-size:15px;
	color: #0054A7;
	line-height: 120%;
	text-align: left;
	font-weight: bold;
	border: 1px solid #0054A7;
	/*border-radius: 4px;*/
	background: #fff;
}

#content h6 A         { color: #0054A7; TEXT-DECORATION: none;}
#content h6 A:link    { color: #0054A7; TEXT-DECORATION: none;}
#content h6 A:visited { color: #0054A7; TEXT-DECORATION: none;}
#content h6 A:hover   { color: #FFB973; TEXT-DECORATION: none;}

#content p {
	margin: 0px 10px 30px 20px;
	padding:0px;
	font-size:15px;
	line-height: 150%;
	color: #333333;
	text-align: left;
}
#content p A         { color:#0066FF; text-decoration:underline;}
#content p A:link    { color:#0066FF; text-decoration:underline;}
#content p A:visited { color:#0066FF; text-decoration:underline;}
#content p A:hover   { color:#ff3300; text-decoration:underline;}
/*--------------------------
会社概要
--------------------------*/
#content table.type01 {
	margin: 20px 15px 0px 15px;
	width:93%;
	border-collapse: separate;
	border-spacing: 0;
	text-align: left;
	line-height: 1.5;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	font-size:14px;
}

#content table.type01 th {
	display:block;
	padding: 3px;
	vertical-align: top;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	background: #eee;
	font-weight: normal;
}
#content table.type01 td {
	display:block;
	padding: 3px;
	vertical-align: top;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #fff;
}
/*---------------------------------
画像にマウスを載せると色が薄くなる
---------------------------------*/
a:hover img {
	 opacity: 0.5;
	 filter: alpha(opacity=50);
	 -moz-opacity: 0.5;
}
/*--------------------------
画像はみ出し禁止
--------------------------*/
img{
	max-width: 100%;
	height: auto;
	float: none;
}
/*--------------------------
画像(PC右)と文章の記述
--------------------------*/
.rwdbox{
	margin:2px 15px 5px 15px;
}
.lefttop{
	padding:5px;
	width:90%;
}
.rightbottom{
	padding:15px;
	width:90%;
	text-align:left;
	line-height: 180%;
	font-size:15px;
}
.rwdbox img{
	max-width:97%;
}
/*--------------------------
画像(PC左)と文章の記述
--------------------------*/
.rwdbox2{
	margin:2px 15px 5px 15px;
}
.lefttop2{
	padding:5px;
	width:90%;
}
.rightbottom2{
	padding:15px;
	width:90%;
	text-align:left;
	line-height: 180%;
	font-size:15px;
}
.rwdbox2 img{
	max-width:97%;
}
/*---------------------------------
サイト内リンクの位置調整
---------------------------------*/
.anchor {
	padding-top: 86px;
	margin-top: -86px;
}

/*--------------------------------
スマホのフッターメニュー
---------------------------------*/
#footer_menu ul {
	margin: 5px 0px 5px 0px;
	padding: 0px 0px 2px 0px;
}
#footer_menu li {
	display: inline-block;
	font-size: 12px;
	width: 43%;
	text-align: center;
	border-radius: 5px;
	background:#F18900;
	margin: 0px 3px 0px 3px;
	padding: 0px;
}

#footer_menu {
	width: 100%;
	height:62px;
	position: fixed;
	bottom: 0;
	background-color: #ECECFB;
	text-align: center;
}

/*--------------------------------
topへボタン
---------------------------------*/
#topbutton {
	/* ▼表示位置を画面の右下に固定 */
	position: fixed; /* ←表示場所を固定 */
	bottom: 0px;   /* ←下端からの距離 */
	right: 5px;    /* ←右端からの距離 */
	width: 50px;     /* ←横幅 */
	height:50px;
	
	/* ▼最初は非表示にしておく */
	display: none;
	
	/* ▼配色・配置・文字の装飾など */
	background-color: #999; /* ←背景色 */
	opacity: 0.75;             /* ←透明度 */
	border-radius: 0px;       /* ←角丸の半径 */
	text-align: center;    /* ←文字の位置 */
	font-size: 80%;       /* ←文字サイズ */
	font-weight: bold;     /* ←文字の太さ */
	margin: 0px;    /* ←外側の余白 */
	padding: 0px;  /* ←内側の余白 */
}
#topbutton a {
	/* ▼リンクの装飾 */
	color: white;          /* ←文字色 */
	text-decoration: none; /* ←下線なし */
}
#topbutton a:hover {
	/* ▼マウスが載ったときの装飾 */
	color: #333333;              /* ←文字色 */
	text-decoration: underline; /* ←下線あり */
}
/*--------------------------
制作事例(product)
--------------------------*/
.product {
	margin: 50px 0px 0px 10px;
	padding: 0px;
	width:95%;
	line-height: 100%;
	display: inline-block; /* インラインブロック化 */
	vertical-align: top;   /* 上端を揃える */}
}
.product A:link    { color:#FF6600; text-decoration:none;}
.product A:visited { color:#FF6600; text-decoration:none;}
.product A:hover   { color:#ff3300; text-decoration:none;}

.product img {
	width: 200px;
	height: 200px;
	object-fit: cover;/*元画像が長方形でも正方形にカットする*/
	margin-right: 3%;
}

.product p{
	margin: 0px;
	padding: 0px;
	font-size:14px;
	color: #333;
	line-height: 100%;
}

.product p A         { color: #333; TEXT-DECORATION: none;}
.product p A:link    { color: #333; TEXT-DECORATION: none;}
.product p A:visited { color: #333; TEXT-DECORATION: none;}
.product p A:hover   { color: #ff3300; TEXT-DECORATION: none;}

/*--------------------------
事業内容(product1)
--------------------------*/
.product1 {
	margin: 50px 0px 0px 10px;
	padding: 0px;
	width:95%;
	height: auto;
	float: left;
	line-height: 150%;
	overflow: hidden;
	position: relative;
}
.product1 .caption {
	padding: 10px;
	font-size: 100%;
	text-align: left;
	color: #fff;
}
.product1 .mask {
	width: 100%;
	height:	100%;
	position: absolute;
	top:0;
	left:0;
	opacity:0;	/* マスクを表示しない */
	background-color: rgba(0,0,0,0.4);
	-webkit-transition: all 0.6s ease;
	transition: all 0.6s ease;
}
.product1:hover .mask {
	opacity: 1;	/* マスクを表示する */
	padding-top: 80px;	/* ホバーで下にずらす */
}
.product1 img {
	object-fit: contain;
	width: 98%;
	margin: 0px;
	padding: 2px;
}
/*--------------------------
グループ紹介(product2)
--------------------------*/
.product2 {
	margin: 50px 0px 0px 10px;
	padding: 0px;
	width:45%;
	line-height: 100%;
	display: inline-block; /* インラインブロック化 */
	vertical-align: top;   /* 上端を揃える */}

.product2 A:link    { color:#FF6600; text-decoration:none;}
.product2 A:visited { color:#FF6600; text-decoration:none;}
.product2 A:hover   { color:#ff3300; text-decoration:none;}

.product2 img {
	object-fit: contain;
	width: 98%;
	margin: 0px;
	padding: 5px;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 3px 3px rgba(0, 0, 0, .2), inset 0 1px 1px rgba(255, 255, 255, .7);
}
.product2 img:hover {
	-ms-filter: "alpha( opacity=85 )";/*for IE8*/
	filter: alpha(opacity=85); /*for IE6〜7*/
	opacity: 0.85;
}
/*--------------------------
商品画像調整
--------------------------*/
.object-fit-img {
  object-fit: contain;
  font-family: 'object-fit: contain;'
}

/*--------------------------
画像を丸く
--------------------------*/
.image-round{
	border-radius: 80%;
}
/*画像に動きをつける*/
.image-round_tilt {
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.image-round_tilt:hover {
	-webkit-transform: rotate(-10deg);
	transform: rotate(-10deg);
}

/*--------------------------
文字を囲むボックスの装飾
--------------------------*/
.box-01 {
    border: 4px solid #2A5A30;
    border-radius: 240px 15px 185px 15px / 15px 200px 15px 185px;
    margin: 20px 10px;
    padding: 20px;
}
/*--------------------------------
3個のBOXのCSS
--------------------------------*/
.box{
	width: 90%;
	margin:20px 10px 20px 10px;
	padding: 5px 0px 0px 0px;
	background-color: #fff;
	text-align: center;
}
.box UL {
	LIST-STYLE-TYPE: square; 
	margin: 0px 0px 10px 30px;
	padding: 0px;
	letter-spacing:1pt;
}

.box li {
	margin: 0px;
	font-size:15px;
	color:#333333;
	padding: 0px 0px 0px 0px;
	line-height:160%;
	letter-spacing:1pt;
	text-align:left;
}

.box li A         { color: #000000; TEXT-DECORATION: none;}
.box li A:visited { color: #000000; TEXT-DECORATION: none;}
.box li A:hover   { color: #ff9900; TEXT-DECORATION: none;}
.usiro{
	margin: 0px;
	padding: 0px;
	background-image: url("../image/top/back2.jpg");
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}
/*--------------------------
検索タグ
--------------------------*/
ul#tagu {
	margin: 20px 10px 0px 10px ;
	padding: 0px 0px 0px 0px;
	list-style-type: none;
}

ul#tag li {
	float:left;
	background: #717171;
	color: #FFFFFF;
	font-size:15px;
	display: block;
	margin:  10px 3px 0px 3px;
	padding: 3px;
	text-align: center;
	border-radius: 5px;       /* ←角丸の半径 */
	/*border: 1px solid #99A07E;*/
}
/*---------------------------------
お問合せの幅調整 
---------------------------------*/
input{
	width:80%;
}
textarea {
	resize: horizontal;
}
/*--------------------------------
フッター
--------------------------------*/
#foot {
	margin: 0px 0px 0px 0px;
	padding:  20px 0px 15px 0px;
	clear: both;
	background-color:  #0054A7;
}

#foot p {
	font-size: 13px;
	color: #ffffff;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	text-align: center;
}

#foot p A:link    { color:#FFFFFF; text-decoration:none;}
#foot p A:visited { color:#FFFFFF;text-decoration:none;}
#foot p A:hover   { color:#ff3300; text-decoration:underline; }

/*---------------------------------
非表示 
---------------------------------*/
#keyword{
	display:none;
}
#headdder {
	display:none;
}
#navi {
	display:none;
}
#foot_top {
	display:none;
}
.telpc {
	display:none;
}
.pc {
	display:none;
}
}