@charset "UTF-8";

/**
 * 基本レイアウト用のスタイルシート(スマートフォン).
 */

/* 表示制御用クラス */
.pc {
	display:none;
}

.tb {
	display:none;
}

.sp {
	display:block;
}

.tree {
	display:none;
}

/* サブメニュー設定画面等入力幅設定 */
.inputbox {
	text-align: center;
	width: 100%;
}

/* 基本フォントサイズ */
html,body {
	font-size: 100%;
	overflow-x: hidden;
	height: auto;	/* must be specified for iOS Safari */
}

input,select,textarea {
	font-size:11pt;
}

/* ヘッダ周りのスタイル */
/* ヘッダ部の高さ指定 */
/*
#headerDiv td {
}*/

/* メニューボタン指定 */
#showMenuButton {
	width: 32px;
	height: 32px;
    background: url(./image/nav-icon.png) left top no-repeat;
    float: right;
}

#headerDiv table {
	height: 120px;
}

#headerDiv table tbody tr {
	display: block;
}

#headerDiv table tbody tr th,
#headerDiv table tbody tr td
{
	display: block;
	width: 100%;
	margin: 1px;
}

/* システム名ブロックサイズ指定 */
#headerDiv td.systemName {
	white-space: nowrap;
}

#headerDiv #systemName {
	position:relative;
	top: -8px;
	display: inline-block;
}

/* ページ名ブロック */
#headerDiv #pageName {
	display: block;
}


/* ユーザ情報 */
#headerDiv #loginInfo {
	display: block;
	width: 100%;
	padding-top: 28px;
}

#bodyTable #leftbarTd {
	width: 100%;
}

/* 左サイドバー(携帯の場合はプルダウンメニュー) */
#menuDiv,
#leftbarDiv {
	top: 122px;
	left: 10px;
	width: 100%;
}

#bodyTable #mainTd {
	width: 100%;
}

/* メインDIV */
body #mainDiv {
	width: 100%;
	padding: 4px 0;
}

/* 横スクロール用DIV */
.hScrollDiv {
	width: 100%;
	-webkit-overflow-scrolling: touch;
}

/* レスポンシブテーブルの制御設定 */
table.responsive {
	border-top: 1px solid #ccc !important;
}
table.responsive thead tr,
table.responsive tbody tr,
table.responsive tfoot tr {
	display: flex;
	flex-direction: column;
	height: auto;
}
table.responsive thead tr th,
table.responsive tbody tr th,
table.responsive tbody tr td,
table.responsive tfoot tr td
{
	display: table-cell;
	vertical-align: middle;
	width: inherit;
	margin: 0;
	border-top: 0;
	border-left: 0;
}
table.responsive tbody tr th {
	padding-top: 12px;
}
table .fixedColumn {
	position: -webkit-sticky;
	position: sticky;
	left: -2px;
	z-index: 2;
	background: #fff;
}

/* リスト型テーブル */
table.list tbody tr th,
table.list tbody tr td
{
	display: table-cell;
	vertical-align: middle;
	width: auto;
	margin: 1px;
}
table.list tbody tr th {
	padding-top: 12px;
}

#bodyTable {
	width: 100%;
}

#bodyTable>tbody>tr>th,
#bodyTable>tbody>tr>td
{
	display: inline-block;
	vertical-align: middle;
	width: 100%;
	margin: 0;
	padding: 0;
}

table.imagelist > tbody > tr {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: auto;
	margin: 0px;
}
table.imagelist > tbody > tr:nth-child(2),
table.imagelist > tbody > tr:nth-child(3) {
	border-top: 0;
}

/* 入力フィールドの高さ */
input[type="text"], input[type="email"], input[type="search"], input[type="password"], input[type="file"] {
    width: 100%;
    height: 37px;
    padding: 0.5em;
    box-sizing: border-box;
}

textarea {
	width: calc(100% - 4px);
	height: calc(100% - 4px);
}

select {
    height: 35px;
	width: 100%;
}


/* フィールド値を表示するspanに適したスタイル */
.fieldSpan {
	display:table-cell;
	height: 20px;
	vertical-align: middle;
}


#mainDiv table.responsive th,
#mainDiv table.responsive td {
/*	min-height: 40px;*/
}

/* ページャ関連のスタイル */
p.scrollGuide {
	display: block;
	font-size: 0.8em;
}


/* 編集可能テーブル(追加削除ボタンカラムのスタイル) */
.editableTable .buttonColumn {
	width: 34px;
}

.editableTable [id$='addButton'],
.editableTable [id$='deleteButton'] {
	width: 32px;
}


/* 検索結果フォームのページ制御関連のスタイル */
#queryResultForm #linesPerPage,
#queryResultForm #pageNo {
	width: 64px;
}

#queryResultForm #topPageButton,
#queryResultForm #prevPageButton,
#queryResultForm #nextPageButton,
#queryResultForm #bottomPageButton {
	width: 48px;
}


section.contents {
    width: 100%;
    margin: auto;
    padding: 0px;
    top: 3.6em;
    margin-bottom: 6.6em;
    background-color: #f4f4f4;
}

.fieldLabel {
	width: 100%;
	margin: 1px;
}

/* リフォームパーツ(場所・部位)編集 */
table.rehomepartsmeditableTable {
	border: 0;
}
table.rehomepartsmeditableTable tr {
	display: flex;
	flex-flow: column wrap;
	height: auto;
	border-bottom: 1px solid #ccc;
}
table.rehomepartsmeditableTable tr td {
	border: 0;
	text-align: center;
	width: 92% !important;
}

/* 記事編集 */
.modifyTime #createOn:after {
	content: "\A";
	white-space: pre;
}

.buttonInTable {
    padding: 0.6em 0.5em;
}

/* 画像アップロード */
div.upload {
	font-size: 0.9em !important;
}

/* ポータルジャンル設定 */
table.portalgenresettingmeditableTable td {
	width: inherit !important;
}
table.portalgenresettingmeditableTable td:first-child,
table.portalgenresettingmeditableTable td:last-child {
	text-align: center !important;
}
table.portalgenresettingmeditableTable td:first-child input {
	width: 50px;
}

/* キーワード設定 */
table.keywordSetting div.cont input,
table.rehomeKeyword div.cont input {
	width: 100% !important;
	display: block;
}
table.keywordSetting div.cont hr,
table.rehomeKeyword div.cont hr {
	display: block !important;
}

/* 記事詳細 */
#entryViewForm table th {
	width: auto;
}
