/* スマートフォン用CSS */
@media screen and (max-width: 640px) {

body{
	width:device-width;
	margin:0px;
	padding:0px;
	font-family:"Gothic Medium BBB", "Arial", "Meiryo", "メイリオ", "ＭＳ Ｐゴシック", "Osaka";
	background:#ffffff;
	color:#222222;
	font-size:11pt;
	line-height:130%;
	overflow-x: hidden;/*横スライダしないように*/
}

#all {
	width:device-width;
	text-align:left;
	margin:0px;
	padding:0px;
}
.eee{
	background-color: #E1F3FF;
	margin: 30px 0px;
	padding: 10px 0px 40px 0px;
}
.frame1200 {
	width: 100%;	  /*全体の幅を指定する*/ 
	margin: 0 auto;    /*マージンの指定をする、ブラウザ対策*/
	text-align: center;   /*全体を真ん中揃えにする。*/
}
#comments{
	margin: 0px 0px 5px 0px;
	padding:  0px;
	height: 5px;
	color: #fff;
	font-size:10px;
	background-color:  #0E318A;
}
#content {
	width:device-width;
	margin: 0px;
	padding: 0px 0px 65px 0px;
}

#content h1 {
	margin: 30px 0px 15px 0px;
	padding: .5em .75em;
	background: #fff;
	border-top: 1px dashed #2A5A30;
	border-bottom: 1px dashed #2A5A30;
	box-shadow: 0 7px 10px -5px rgba(0, 0, 0, .1) inset;
	font-size:25px;
}	
#content h1::after {
	position: absolute;
	top: 0;
	right: 0;
	content: '';
	width: 0;
	border-width: 0 16px 16px 0;
	border-style: solid;
	border-color: #fff #fff #ddd #ddd;
	box-shadow: -1px 1px 2px rgba(0, 0, 0, .1);
}
#content h2 {
	font-family:"A1 Mincho";
	margin: 50px 0px 0px 0px;
	padding:0px;
	font-size:23px;
	line-height: 120%;
	color: #0E318A;
	text-align: center;
}

#content h3 {
	font-family:"A1 Mincho";
	margin: 5px 0px 20px 0px;
	padding: 10px;
	font-size:20px;
	line-height: 120%;
	color: #fff;
	text-align: center;
	background-color: #0E318A;
}
#content h4 {
	font-family:"A1 Mincho";
	margin: 0px 0px 20px 0px;
	padding: 20px 10px 0px 10px;
	font-size:16px;
	color: #555;
	line-height: 120%;
	text-align: left;
	border-bottom: 1px solid #ccc;
}
#content h4:first-letter {
	font-size: 1.5em;
}
#content h5{
	margin: 20px 5px 5px 5px;
	padding: 5px;
	font-size:16px;
	color: #858585;
	line-height: 120%;
	text-align: left;
	border: 1px solid #ccc;
	border-radius: 4px;
	background:#ffffff;
}
}
#content h5 A         { color:#0066FF; text-decoration: none;}
#content h5 A:link    { color:#0066FF; text-decoration: none;}
#content h5 A:visited { color:#0066FF; text-decoration: none;}
#content h5 A:hover   { color:#ff3300; text-decoration: none;}


#content p {
	width:device-width;
	margin: 0px;
	margin: 5px 10px 0px 10px;
	padding:0px 10px 0px 10px;
	font-size:15px;
	line-height: 160%;
	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;}

/*--------------------------
news
--------------------------*/
#box2 {
	margin: 0px 10px 0px 10px;
	padding: 0px 0px 0px 0px;
	border: 1px solid #fff;
	width: 95%;
	height: 250px; 
	overflow: auto;
	background-color:#fff;
}

#box2 p {
	font-size: 15px; 
	margin: 5px 15px 10px 15px; 
	padding: 0px 0px 0px 0px;
	line-height: 145%;
	color: #333333;
	letter-spacing:1px;
}

#box2 p A         { color: #0066FF; TEXT-DECORATION: underline}
#bo2x p A:link    { color: #0066FF; TEXT-DECORATION: underline}
#box2 p A:visited { color: #0066FF; TEXT-DECORATION: underline}
#box2 p A:hover   { color: #ff3300; TEXT-DECORATION: none}

/*--------------------------
テーブルレイアウト
--------------------------*/
#content table.type01 {
	margin: 20px 0px 0px 0px;
	width:100%;
	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: list-item;
	padding: 3px;
	vertical-align: top;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
/*---------------------------------
画像にマウスを載せると色が薄くなる
---------------------------------*/
a:hover img {
	 opacity: 0.5;
	 filter: alpha(opacity=50);
	 -moz-opacity: 0.5;
}
/*---------------------------------
サイト内リンクの位置調整
---------------------------------*/
.anchor {
	padding-top: 86px;
	margin-top: -86px;
}
/*---------------------------------
フッター TOP
---------------------------------*/
#footer_top {
	clear: both;
	margin: 20px 0px 0px 0px;
	padding: 0px;
}
#foot_top {
 display:none;
}
/*---------------------------------
フッター 
---------------------------------*/
#foot {
 display:none;
}

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

#footer_menu {
	width: 100%;
	height:60px;
	position: fixed;
	bottom: 0;
	background-color: #ECECFB;
}

/*--------------------------------
topへボタン
---------------------------------*/
#topbutton {
	/* ▼表示位置を画面の右下に固定 */
	position: fixed; /* ←表示場所を固定 */
	bottom: 70px;   /* ←下端からの距離 */
	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; /* ←下線あり */
}

img{
	max-width: 100%;
	height: auto;
}
/*--------------------------------
google map調整
---------------------------------*/
.ggmap {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*--------------------------
商品画像調整
--------------------------*/
.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);
}

/*--------------------------
youtube
--------------------------*/
#youtube iframe{
  width: 100%;
}
/*--------------------------------
3個のBOXのCSS
--------------------------------*/
.box{
	width: 90%;
	margin:20px;
	padding: 0px 0px 20px 0px;
	background-color: #F4F4F4;
	text-align: center;
}
.box UL {
	LIST-STYLE-TYPE: square; 
	margin: 0px 0px 10px 30px;
	padding: 0px;
	letter-spacing:1pt;
}

.box li {
	margin: 10px;
	font-size:15px;
	color:#333333;
	padding: 0px;
	line-height:200%;
	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;}
.box img{
	width: 95%;
	padding:5px;
}
/*--------------------------------
非表示
--------------------------------*/
#pc {
	display:none;
}
#logo {
	display:none;
}
}