@media screen and (max-width: 640px) {
/*-- このコメント行の下に、スマートフォン用のCSSを記述 --*/
body {
width: 100%;
margin: 0px;
font-size: 1em;
text-align: center;
}
img {
max-width: 100%;
height: auto;
width /***/:auto;
}

}

@media screen and (min-width: 641px) {

p.photo_c{
	text-align:center;
}
#deck_link img{
	margin-top: 10px;
	margin-right: 10px;
	margin-left: 10px;
}


p.subtitle{
	font-size:2em;
	text-align:center;
	color:#dc2864;
}

div#headline_msg{
	text-align: center;
	margin-bottom: 20px;
}
/*
table{
	text-align:center;
	margin-top:20px;
	margin-bottom:10px;
	width:570px;
	height:110px;
	border:none;
	border-collapse:collapse
}

th{
	background-color:#896954;
	color:#e4dccc;
	border:solid 1px #000000
}

td{
	width:250px;
	text-align:center;
	border:solid 1px #000000;
	background-color:#e4dccc;
}

*/

span.anketo{
	color:#e4021a;
}

h2{
	text-align:center;
}


h4{
	text-align:center;
	margin-bottom:0;
}

div.block3{
	width:650px;
	background-repeat:no-repeat;
	padding:15px;
	font-size: 0.9em;
	line-height:1.3em;
	margin-top: 15px;
	margin-right: 0;
	margin-bottom: 30px;
	margin-left: 0;

}

div.block4{
	width:550px;
	background-image:url("../images/note.png");
	background-repeat:no-repeat;
	margin: 15px 0 50px 0;
	padding: 15px 0px 5px 20px;
	font-size: 0.9em;
	line-height:1.3em;

}

div#block5{
	width:550px;
	background-image:url("../images/note.png");
	background-repeat:no-repeat;
	margin:15px 0 50px 0;
	padding: 15px 0px 5px 30px;
	font-size: 0.9em;
	line-height:1.3em;
}


ul.example {
margin-left: -30px;
float: left;
width: 100%;
text-align: center;
list-style : none;
}

ul.example li {
	float: left;
	width: auto;
	margin-right: 3px;
	padding: 7px;
	border: 1px #ffb366 solid;
	background-color: #fffdee;
	text-align: center;
	list-style : none;
}

div.list{
   float : left;
   width : 375px;
   height : 190px;
}

div.msg{

 border-style:solid;
 border-width:1px;
 border-color:#C0C0ff;
 margin-top:5px;
 margin-bottom:5px;
 margin-left: 10px;
 padding: 5px;
 background-color :#ffffff;
 -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 border-radius: 5px;
 background-position: left top;
 background-repeat: no-repeat;
 background-size:cover;
 width: auto;
 height: 140px; 

}

div.msg img{  
  margin-right : 5px;
  float:left;
  text-align:left;
}
  
div.range{   
    text-align:left;
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -pre-wrap;     /* Opera 4-6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    white-space: pre-wrap;      /* CSS3 */
    word-wrap: break-word;      /* IE 5.5+ */
    line-height:1.6em;
    font-size:0.9em;
}

div.det_msg{
  text-align:center;
 border-style:solid;
 border-width:1px;
 border-color:#C0C0ff;
 margin-top:5px;
 margin-bottom:5px;
 margin-left: 10px;
 padding: 5px;
 background-color :#454545;
 -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 border-radius: 5px;
 background-position: left top;
 background-repeat: no-repeat;
 background-size:cover;
 width: auto;
 height: auto;

}

#sns_group ul{
   float:left;
   width : 100%;
   list-style : none;
  
}

#sns_group ul li{
    display : table-cell;
    text-align : center;
    margin-left : 20px;
}

#sns_up{
	display : table-cell;
	position : relative;
	top : -20px;
}

.pre{

    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -pre-wrap;     /* Opera 4-6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    white-space: pre-wrap;      /* CSS3 */
    word-wrap: break-word;      /* IE 5.5+ */

/*--------------------------------------------------------
  プルダウンメニュー設定
--------------------------------------------------------*/
ul.ddmenu {
   margin: 0px;               /* メニューバー外側の余白(ゼロ) */
   padding: 0px 0px 0px 15px; /* メニューバー内側の余白(左に15px) */
   background-color: #cc0000; /* バーの背景色(濃い赤色) */
}

/* -------------------------- */
/* ▼メインメニュー項目の装飾 */
/* -------------------------- */
ul.ddmenu li {
   width: 125px;           /* メニュー項目の横幅(125px) */
   display: inline-block;  /* ★1:横並びに配置する */
   list-style-type: none;  /* ★2:リストの先頭記号を消す */
   position: relative;     /* ★3:サブメニュー表示の基準位置にする */
}
ul.ddmenu a {
   background-color: #e6e6fa; /* メニュー項目の背景色(濃い赤色) */
   color: black;              /* メニュー項目の文字色(白色) */
   line-height: 40px;         /* メニュー項目のリンクの高さ(40px) */
   text-align: center;        /* メインメニューの文字列の配置(中央寄せ) */
   text-decoration: none;     /* メニュー項目の装飾(下線を消す) */
   font-weight: bold;         /* 太字にする */
   display: block;            /* ★4:項目内全域をリンク可能にする */
}
ul.ddmenu a:hover {
   background-color: #ffdddd; /* メニュー項目にマウスが載ったときの背景色(淡いピンク) */
   color: #dd0000;            /* メニュー項目にマウスが載ったときの文字色(濃い赤色) */
}

/* ▼サブメニューは、とりあえず非表示にしておく */
ul.ddmenu ul {
   display: none;         /* ★5:非表示にする */
   margin: 0px;         /* ★2:サブメニュー外側の余白(ゼロ) */
   padding: 0px;        /* ★3:サブメニュー内側の余白(ゼロ) */
   position: absolute;  /* ★4:絶対配置にする */
}

/* ---------------------------------- */
/* ▼サブメニューがある場合に開く処理 */   /* ※サブメニューが1階層しか存在しない場合の記述 */
/* ---------------------------------- */
ul.ddmenu li:hover ul {
   display: block;      /* ★5:マウスポインタが載っている項目の内部にあるリストを表示する */
}

ul.ddmenu ul li {   /* ※A */
   width: 135px;               /* サブメニュー1項目の横幅(135px) */
   border-top: 1px solid pink; /* 項目上側の枠線(ピンク色で1pxの実線) */
}
ul.ddmenu ul li a {   /* ※B */
   line-height: 35px;   /* サブメニュー1項目の高さ(35px) */
   text-align: left;    /* 文字列の配置(左寄せ) */
   padding-left: 5px;   /* 文字列前方の余白(5px) */
   font-weight: normal; /* 太字にはしない */
}
ul.ddmenu ul li a:hover {   /* ※C */
   background-color: #ffff80; /* サブメニュー項目にマウスが載ったときの背景色(淡い黄色) */
   color: #005500;            /* サブメニュー項目にマウスが載ったときの文字色(濃い緑色) */

}

}