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

body{
	width:device-width;
	margin:0px;
	padding:0px;
	font-family: "游明朝","Yu Mincho","YuMincho","Hiragino Mincho Pro", sans-serif;
	background:#ffffff;
	color:#222222;
	font-size:11pt;
	line-height:130%;
	overflow-x: hidden;/*横スライダしないように*/
}
ol {
	margin: 10px;
	padding: 0;
	list-style: none;
	counter-reset: yourDefinition;
	font-size:15px;
}
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: #0abab5;
	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;
	margin:0px;
	padding:0px;
	font-family: "游明朝","Yu Mincho","YuMincho","Hiragino Mincho Pro", sans-serif;
}
/*-------------------------------
backグレー
-------------------------------*/
.ccc{
	background-color: #DEDFDF;
	margin: 0px 0px 5px 0px;
	padding: 0px 0px 0px 0px;
	/*text-align: center;   全体を真ん中揃えにする。*/
}
/*-------------------------------
backブルーー
-------------------------------*/
.bu{
	background: #E5ECF0;
	margin: 0px 0px 5px 0px;
	padding: 0px 0px 0px 0px;
	/*text-align: center;   全体を真ん中揃えにする。*/
}

#content {
	width:device-width;
	margin: 0px;
	padding: 20px 0px 0px 0px;
}
#content h1 {
	font-weight: bold !important;
	margin: 0px 0px 5px 0px;
	padding: 150px 0px 0px 0px;
	height: 200px;
	color: #FFF;
	font-size:25px;
	text-align: center;
}
#content h2 {
	margin: 50px 10px 10px 10px;
	padding: 0px;
	font-weight: bold;
	font-size:28px;
	line-height: 170%;
	color: #000;
	text-align: left;
}

#content h3 {
	margin: 15px 0px 0px 0px;
	padding:5px;
	font-size:23px;
	line-height: 140%;
	color: #B70006;
	text-align: left;
}
#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: 0px 0px 10px 0px;
	padding:5px;
	font-weight: bold;
	font-size:20px;
	color: #000;
	line-height: 140%;
	text-align: left;
}
#content h5 {
	margin: 0px 0px 0px 5px;
	padding: 0px 0px 0px 5px;
	font-size:16px;
	color: #000;
	line-height: 240%;
	text-align: left;
}

#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: #ff3300; TEXT-DECORATION: none;}

#content h6 {
	margin: 5px;
	padding: 5px 5px 50px 5px;
	font-size:16px;
	color: #000;
	line-height: 200%;
	text-align: left;
}

#content h6 A         { color: #EC97A4; TEXT-DECORATION: none;}
#content h6 A:link    { color: #EC97A4; TEXT-DECORATION: none;}
#content h6 A:visited { color: #EC97A4; TEXT-DECORATION: none;}
#content h6 A:hover   { color: #0abab5; TEXT-DECORATION: none;}

#content h6 img {
	width: 20px;
	margin: 0px;
	padding: 2px;
}
.blocktext {
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

.blocktext2 {
	margin-left: auto;
	margin-right: auto;
	width: 90%;
}
#content p {
	margin: 0px 20px 30px 20px;
	padding:0px;
	font-size:15px;
	line-height: 180%;
	color: #000;
	text-align: left;
}

#content p A         { color:#3A7CA5; text-decoration:none;}
#content p A:link    { color:#3A7CA5; text-decoration:none;}
#content p A:visited { color:#3A7CA5; text-decoration:none;}
#content p A:hover   { color:#ff3300; text-decoration:none;}

/*--------------------------
テーブルレイアウト
--------------------------*/
#content table.type01 {
	margin: 0px;
	width:100%;
	font-size:15px;
	color: #000;
}

#content table.type01 th {
	display:block;
	padding: 20px;
	vertical-align: top;
}
#content table.type01 td {
	display: list-item;
	padding: 20px;
	vertical-align: top;
}

#content table.type02 {
	margin: 0px;
	width:100%;
	font-size:15px;
	color: #000;
}

#content table.type02 th {
	display:block;
	padding: 0px;
	vertical-align: top;
}
#content table.type02 td {
	display: list-item;
	padding: 0px;
	vertical-align: top;
}

/*---------------------------------
画像にマウスを載せると色が薄くなる
---------------------------------*/
a:hover img {
	 opacity: 0.5;
	 filter: alpha(opacity=50);
	 -moz-opacity: 0.5;
}

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

/*---------------------------------
画像の大きさ調整
---------------------------------*/
.gazo1{
	width: 80%; /*bodyの幅に対する割合 */
	max-width: 300px;
}

.gazo2{
	width: 90%; /*bodyの幅に対する割合 */
	max-width: 180px;
	text-align:center;
}


/*--------------------------
画像(PC右)と文章の記述
--------------------------*/
.rwdbox{
	margin: 0px;
}
/*6:4*/
.left6top{
	margin:0px;
	padding: 30px 0px 0px 0px;
	width:100%;
	text-align:left;
	line-height: 180%;
	font-size:15px;
}
.right4bottom{
	width: 100%;
	margin:0px;
	padding: 0px;
	text-align: center;
}
/*6:4*/
.left4top{
	margin:0px;
	padding: 20px 0px 0px 0px;
	width:100%;
	text-align:left;
}
.right6bottom{
	width: 100%;
	margin:0px;
	padding: 0px 20px 20px 20px;
	text-align:left;
	line-height: 180%;
	font-size:15px;
}

/*3:7*/
.left3top{
	padding: 0px;
	width:100%;
	text-align:left;
	line-height: 180%;
	font-size:15px;
}
.right7bottom{
	width: 100%;
	margin:0px;
	padding: 0px;
	text-align: center;
}
/*--------------------------------
お知らせ
--------------------------------*/
#box {
	margin: 0px 0px 0px 20px;
	padding: 15px 0px 15px 0px;
	/*border: 1px solid #ccc;*/
	width: 93%;
	height: 180px; 
	overflow: auto;
	background-color:#fff;
	float:left;
}

#content table.type03 {
	font-size:15px;
	color: #000;
	font-family: "游明朝","Yu Mincho","YuMincho","Hiragino Mincho Pro", sans-serif;
}

#content table.type03 th {
	margin: 0px 0px 0px 20px;
	text-align: left;
}
#content table.type03 td {
	margin: 0px 0px 0px 20px;
	text-align: left;
}
#content table.type03 td A         { color:#3A7CA5; text-decoration:none;}
#content table.type03 td A:link    { color:#3A7CA5; text-decoration:none;}
#content table.type03 td A:visited { color:#3A7CA5; text-decoration:none;}
#content table.type03 td A:hover   { color:#ff3300; text-decoration:none;}

/*--------------------------------
2個のBOXのCSS
--------------------------------*/
.box2{
	width: 100%;
	margin:0px;
	padding: 30px 0px 20px 0px;
	font-size: 15px; 
	text-align: center;
}
.box2 img {
	text-align: center;
	width: 100%;
}
/*--------------------------------
フッター
--------------------------------*/
#foot {
	margin: 0px 0px 0px 0px;
	padding:  20px 0px 20px 0px;
	/*height: 100px;*/
	clear: both;
	background-color: #DEDFDF;
	font-family: "Meiryo","MS PGothic","Yu Gothic","Hiragino Kaku Gothic ProN", sans-serif;
}

#foot p {
	font-size: 14px;
	color: #000;
	/*font-weight: bold;*/
	margin: 0px;
	padding: 0px 0px 0px 0px;
	text-align: center;
}

#foot p A:link    { color:#000; text-decoration:none;}
#foot p A:visited { color:#000;text-decoration:none;}
#foot p A:hover   { color:#ff3300; text-decoration:underline; }
/*--------------------------------
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; /* ←下線あり */
}

/*--------------------------------
リンク先の位置指定
--------------------------------*/
a.anchor{
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}
/*--------------------------------
詳しく見る
--------------------------------*/
.more {
	width: 80%;
	padding: 10px;
	margin: 0 auto;
	font-weight: bold;
	font-size:17px;
	text-align: center;
	color: #fff;/*文字色*/
	background:  #0abab5;
	border: solid 3px  #0abab5;/*線*/
	border-radius: 10px;/*角の丸み*/
}
.more A:link    { color:#fff;text-decoration:none;}
.more A:visited { color:#fff;text-decoration:none;}
.more A:hover   { color:#ff9900;text-decoration:none;}

.more2 {
	width: 90%;
	padding: 10px 10px;
	margin: 0 auto;
	font-weight: bold;
	font-size:20px;
	text-align: center;
	color: #fff;/*文字色*/
	background:  #0abab5;
	border: solid 3px  #0abab5;/*線*/
	border-radius: 10px;/*角の丸み*/
}
.more2 A:link    { color:#fff;text-decoration:none;}
.more2 A:visited { color:#fff;text-decoration:none;}
.more2 A:hover   { color:#ff9900;text-decoration:none;}
/*--------------------------
スペースを空ける
--------------------------*/
.space20{
	height: 20px;
}
.space30{
	height: 30px;
}
.space40{
	height: 40px;
}
.space50{
	height: 50px;
}
.space60{
	height: 60px;
}
/*--------------------------------
TOPスライド
--------------------------------*/
* {
  box-sizing: border-box;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* スライドする要素 */
.cosme {
  width: 200px;
  height: 200px;
}
/*.content:nth-child(1) {
  background-color: tomato;
}
.content:nth-child(2) {
  background-color: orange;
}
.content:nth-child(3) {
  background-color: blue;
}
.content:nth-child(4) {
  background-color: green;
}*/
/* スライドレールの枠 */
.wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 240px;
  margin-bottom: 0px;
}
/* content4つをまとめたスライドブロック */
.slideshow {
  display: flex;
  -webkit-animation: loop-slide 20s infinite linear 1s both;
  animation: loop-slide 20s infinite linear 1s both;
}
@-webkit-keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* ホバー時に動きを止める（パターン2・3）*/
.slide-paused:hover .slideshow {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
/* ホバー時の装飾（パターン3） */
.cosme-hover {
  transition: all 0.2s;
  margin-right: 20px;
}
.cosme-hover:hover {
  transform: translateY(-20px);
  border-radius: 0 10%;
  box-shadow: 0 3px 10px 0 #333;
  opacity: 0.8;
  cursor: pointer;
}


/*--------------------------------
非表示
--------------------------------*/
.pc {
	display:none;
}
#logo {
	display:none;
}
}