/******************************************************************************/
/* style.css for iPhone */
/******************************************************************************/
html {
	height:100%;
	overflow-y:scroll;
	-webkit-text-size-adjust: none;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
}
form {
  margin: 0;
}

/* Headline */
h1,h2,h3,h4,h5,h6 {
  font-size: 1em;
}

/* Decoration */
ul, ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
em {
  font-weight: bold;
  font-style: normal;
  color: #FF0000;
}

p {
  margin: 10px 0;
  clear:both;
}

/* Layout */
body {
	font-family: HiraKakuProN-W3,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','Helvetica Neue',sans-serif;
  font-size: 0.8em;
	max-width:480px;
	color: #333;
  background: #fff url(images/toolbar.png) repeat-x ;
	-webkit-text-size-adjust: none;
}
#outerwrapper {
	position:relative;
	height:auto!important;
	min-height:100%;
}
#Container {
  margin: 0px auto;
  text-align: left;
}

body>#outerwrapper {
	height:auto;
}

#grid-content {
	width:70%;
	margin:0 auto;
}

/* Header */
#Header {
  width: 100%;
	height:43px;
	border:1px solid transparent;
}
#Header div#Logo,#Sitename,#breadcrumb, #theme_breadcrumbs ,#menu_m,#iPhoneMenu {
	display:none;
}

/* Breadcrumb */
#breadcrumbs {
	position:absolute;
  top:0px;
  width: 100%;
  height:43px;
	overflow:hidden;
	line-height:43px;
	text-align:left;
	color:#fff;
	font-weight:bold;
	padding:0px;
	background: transparent;
	text-shadow: 1px 1px 1px #000;
}
#breadcrumbs ul {
  width: 80%;
	margin-left:1%;
	color:#fff;
	font-weight:bold;
	overflow:hidden;
}
#breadcrumbs ul li {
	float:left;
  height:43px;
	line-height:43px;
	text-decoration:none;
	text-shadow: -1px -1px 1px #111;
  list-style: none;
}
#breadcrumbs ul li a:link , #breadcrumbs ul li a:visited{
	float:left;
	color:#fff;
	font-size:1.2;
	display:block;
	text-decoration:none;
	text-shadow: -1px -1px 1px #111;
}


/* タイトルの設定 */
.BlockTitle_a {
	width:100%;
	margin:5px 0px;
	padding:3px 5px;
	line-height:1.2;
	color:#fff;
	background:#ea5532;
}
.BlockTitle_b {
	width:100%;
	margin:5px 0px;
	padding:3px 5px;
	line-height:1.2;
	color:#fff;
	background:#f39800;
}
.BlockTitle_c {
	width:100%;
	margin:5px 0px;
	padding:3px 5px;
	line-height:1.2;
	color:#fff;
	background:#2cb4ad;
}
.BlockTitle_d {
	width:100%;
	margin:5px 0px;
	padding:3px 5px;
	line-height:1.2;
	color:#fff;
	background:#5a4498;
}
.BlockTitle_e {
	width:100%;
	margin:5px 0px;
	padding:3px 5px;
	line-height:1.2;
	color:#fff;
	background:#0073a8;
}

#Container div,
#Container div div,
#Container div div div,
#Container div div div div,
#Container div div div div div,
#Container div div div div div div,
#Container div div div div div div div,
#Container div div div div div div div div,
#Container div div div div div div div div div,
#Container div div div div div div div div div div {
	width: 97%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}

/* コンテンツ内画像横幅を自動縮小 */
#Container div img ,
#Container div div img ,
#Container div div div img ,
#Container div div div div img ,
#Container div div div div div img ,
#Container div div div div div div img ,
#Container div div div div div div div img ,
#Container div div div div div div div div img ,
#Container div div div div div div div div div img ,
#Container div div div div div div div div div div img {
	max-width: 96% !important;
  height: auto;
  width: auto\9; /* ie8 */
}

}

div.large,
div.large div,
div.large div div ,
div.large div div div,
div.large div div div div,
div.large div div div div div {
	width: 97%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}

div.large .d3downloads_single_frame_description {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}
div.large .d3downloads_single_frame_description .xoopsCode{
	width: 80%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}
div.large .d3downloads_single_frame_description .xoopsCode {
	width: 80%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}

.d3downloads_md5_line {
	width: 80%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}

div.large .itemHead {
	width: 70%;
	margin: 0 auto;
	padding:5px 0;
}
div.large .boxdate_base {
	width: 80%;
	margin: 0 auto;
	padding:5px 0;
}
div.large .itemText {
	width: 80%;
	margin: 0 auto;
	padding:5px 0;
}
div.large .webphoto_description {
	width: 70%;
	margin: 0 auto;
	padding:5px 0;
	border:1px solid #ccc;
}
div.large .webphoto_list_image {
	width: 50%;
	margin: 0 auto;
	padding:5px 0;
}

/* Footer */
#Footer {
  width: 100%;
  min-height:120px;
  height:auto;
	margin-bottom:20px;
	clear:both;
  background: #ccc url(images/tabback.png) repeat-x ;
}

#Footer p {
    margin: 0;
    padding: 0;
    text-align:center;
}

/* footer menu */
#user_menu_block {
	position:relative;
	height:auto;
  margin: 0 auto;
	text-align:left;
	padding: 5px;
}
#user_menu_block ul li {
	display:block;
	width:98%;
	margin: 0 auto;
	height:20px;
	padding: 5px;
	border-bottom:1px solid #ddd;
	background:url(images/chevron_circle.png) no-repeat right center;
}
#user_menu_block ul li a {
	display:block;
	width:98%;
	height:20px;
	line-height:20px;
}

#menu_button {
	display:block;
	position:absolute;
	top:2px;
	right:1%;
	height:36px;
	width:50px;
	line-height:36px;
	border:1px solid #ccc;
	text-align:center;
		-webkit-border-radius: 10px; 
    -webkit-box-shadow: 1px 1px 1px #111;
    -moz-box-shadow: 1px 1px 1px #111;
    box-shadow: inset 0 1px 1px #111;
}
#menu_button a {
	display:block;
	height:36px;
	width:50px;
	line-height:36px;
	color:#fff;
	font-weight:bold;
	text-decoration:none;
	text-shadow: -1px -1px 1px #111;
}
#goback {
	height:36px;
	width:50px;
	margin:0 auto;
	text-align:center;
	line-height:36px;
	background:transparent;
		-webkit-border-radius: 10px; 
    -webkit-box-shadow: 0 0 5px #888;
    -moz-box-shadow: 0 0 5px #888;
    box-shadow: 2px 2px 2px #000;
}

#goback a {
	font-size:20px;
	font-weight:bold;
  color:#fff;
	text-decoration:none;
	text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #;
}

#iPhoneMenu {
	position:absolute;
	top:44px;
	left:0px;
	margin-top:1px;
	width: 100%;
	height:100%;
	background:rgba(0, 0, 0, .6);
}
* html #iPhoneMenu {
	background:#ccc;
}
#iPhoneMenu ul {
	border-top:1px solid #ccc;
}

#iPhoneMenu ul li {
	display:block;
	width:90%;
	margin:3px auto;
	height:36px;
	padding-left:14px;
	border-bottom:1px solid #ccc;
	background:#fff;
		-webkit-border-radius: 10px; 
    -webkit-box-shadow: 0 0 5px #888;
    -moz-box-shadow: 0 0 5px #888;
    box-shadow: 2px 2px 2px #000;
}
#iPhoneMenu ul li a {
	display:block;
	width:98%;
	height:36px;
	line-height:36px;
	font-size:16px;
	font-weight:bold;
	text-decoration:none;
	background:#fff url(images/chevron_circle.png) no-repeat right center;
}
#iPhoneMenu ul li a:link , #iPhoneMenu ul li a:visited {
	color:blue;
}

#grid-content div.large .d3downloads_single_frame_description {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
#grid-content div.large .d3downloads_single_frame_description .xoopsCode{
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}
#grid-content div.large .d3downloads_single_frame_description .xoopsCode {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}

#grid-content div.large div .webphoto_description {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}

#grid-content div.large .itemHead {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
#grid-content div.large .boxdate_base {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
#grid-content div.large .itemText {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
#grid-content div.large .webphoto_description {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	border:1px solid #ccc;
}
#grid-content div.large .webphoto_list_image {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}

body.bulletin #grid-content div.large {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
body.bulletin #grid-content div.large .item .itemBody {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	line-height: 1.5;
	background:#dcdcdc;
}
body.bulletin #grid-content div.large .item .itemBody p.itemText {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	line-height: 1.5;
}

body.liaise #grid-content div.large {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
body.d3forum #grid-content div.large {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}

div.large .d3downloads_single_frame_description {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
div.large .d3downloads_single_frame_description .xoopsCode{
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}
div.large .d3downloads_single_frame_description .xoopsCode {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	word-break: break-all;
}

div.large div .webphoto_description {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}

div.large .itemHead {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
div.large .boxdate_base {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
div.large .itemText {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
div.large .webphoto_description {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	border:1px solid #ccc;
}
div.large .webphoto_list_image {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}

body.bulletin div.large {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
body.bulletin div.large .item .itemBody {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	line-height: 1.5;
	background:#dcdcdc;
}
body.bulletin div.large .item .itemBody p.itemText {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
	line-height: 1.5;
}

body.liaise div.large {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
body.d3forum div.large {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}

.d3pipes_block_sync {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
.BlockContent {
	width: 96%;
	margin: 0 auto;
	padding:5px 0;
}
