@charset "utf-8";

/*
Theme Name: RIM CORPORATION
Author: office BOYA
Author URI: http://www.officeboya.jp/
Description: リムコーポレーション用オリジナルカスタムテーマ
Version: 0.1
*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
	vertical-align: baseline;
	text-decoration:none;
	font-weight:normal;
	line-height: 1.8em;
	list-style-type:none;
}
body {
	font-family:Futura, 'Century Gothic', meiryo, 'メイリオ', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kakugothic Pro', 'ＭＳ Ｐゴシック', sans-serif;
	color:#fff;
	background-color:#223;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
	vertical-align:top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	zoom:1;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

span, a {font-size:100%;}

a {color:#fff; zoom:1;}
a:hover, a:hover img, p.submit input:hover {filter: alpha(opacity=70); opacity:0.7; -moz-opacity:0.7;}
p {margin:1em 0; font-size:100%;}
div {font-size:100%;}
strong, b {font-weight:bold;}

.alignright {text-align:right;}
.alignleft {text-align:left;}
.aligncenter {text-align:center;}
img.alignright {float:right; margin-left:15px; margin-bottom:15px;}
img.alignleft {float:left; margin-right:15px; margin-bottom:15px;}
img.aligncenter {display:block; margin:0 auto;}
div.alignright {float:right; margin-left:15px; margin-bottom:15px;}
div.alignleft {float:left; margin-right:15px; margin-bottom:15px;}
div.aligncenter {margin:0 auto;}
.red {color:#f00;}

#page {width:100%; margin:0 auto; background-image:url(images/bg-body.png);}
#header {width:100%; padding:10px 0 0; min-width:1000px; background:#223;}
#header-inner {width:1000px; min-width:1000px; margin:0 auto; position:relative;}
#main {width:1000px; margin:0 auto; zoom:100%;}
#main:after {clear:both; content:""; height:0; display:block;}
#content {padding:20px; border:1px solid #444; background:#223; margin-bottom:20px; min-height:600px;}
#contents {width:680px; float:left;}
#sidebar {width:300px; float:right;}
#footer {width:100%; text-align:center; border-top:1px solid #444; padding:10px 0; color:#999; min-width:1000px;}

#header h1 {display:block; width:245px; height:100px; margin:0 auto;}
#header h1 a {display:block; width:100%; height:100%; margin:0; padding:0; text-indent:-9999px; background-image:url(images/logo-header-trans.png);}

#menu-util {position:absolute; top:0; right:0; text-align:right;}
#menu-util li {display:inline; font-size:0;}
#menu-util li a {font-size:12px; margin-left:20px;}
#menu-util li:first-child a {margin:0;}
#menu-util li a:before {content:"▶ "; color:#ad233d;}

#header h2 {text-align:center; letter-spacing:0.3em; color:#eee; border-top:1px solid #444; border-bottom:1px solid #444; margin-top:5px; line-height:30px;}
#show_menu {display:none;}
div.menu-global-container {width:1000px; margin:20px auto 20px; background:#ccc url(images/bg-menu-global.png) no-repeat left top;}
div.menu-global-container ul.menu {zoom:100%;}
div.menu-global-container ul.menu:after {clear:both; content:""; height:0; display:block;}
div.menu-global-container ul.menu li {display:inline; font-size:0;}
/*div.menu-global-container ul.menu li a {display:inline-block; float:left; padding:0; text-align:center; font-weight:bold; font-size:14px; line-height:30px; height:30px; color:#000; border-left:1px solid #eee; border-right:1px solid #777; width:248px; border-top:1px solid #fff; border-bottom:1px solid #223;}
div.menu-global-container ul.menu li a:hover {background:#ad233d url() no-repeat left top; color:#fff; filter: alpha(opacity=100); opacity:1; -moz-opacity:1; border-left:1px solid #777; border-right:1px solid #eee; width:248px; border-top:1px solid #223; border-bottom:1px solid #fff;}*/

#footer ul.menu li {display:inline;}
#footer ul.menu li a {padding:0 10px; display:inline-block; color:#999; font-size:12px;}
#footer h5 {width:150px; height:60px; margin:10px auto;}
#footer h5 a {display:block; width:100%; height:100%; margin:0; padding:0; text-indent:-9999px; background-image:url(images/logo-footer-trans.png);}
#footer p {font-size:12px;}

#content img {max-width:100%;}
#content h2 {color:#002c7d; font-size:24px; line-height:30px; font-weight:bold; border:1px solid #002c7d; margin-bottom:20px; padding:10px 15px;}
#content h2:after {content:""; display:block; height:0; clear:both; width:100%;}

#content h3.entry-title {color:#fff; margin-bottom:10px; letter-spacing:0.1em; background:#5fb9c2; zoom:1 !important;}

#content h4 {font-weight:bold;}

#content article {margin-bottom:30px; zoom:100%;}
#content article:after {clear:both; display:block; height:0; content:"";}

.wp-pagenavi {text-align:center; margin:30px 0; vertical-align:bottom;}
.wp-pagenavi a, .wp-pagenavi span {zoom:1;}


#content ol {margin:0.5em 0; padding:0 0 0 2.3em;}
#content ol li {list-style:decimal outside; margin-bottom:0.5em;}
#content ul {margin:0.5em 0; padding:0 0 0 1.7em;}
#content ul li {list-style:disc outside; margin-bottom:0.5em;}


#sidebar h3 {line-height:24px; height:24px; padding:0; text-indent:10px; background:#ad233d; letter-spacing:0.2em;}
#sidebar > ul > li > div {background:#223; padding:20px; border:1px solid #444; border-top:0;}
#sidebar h4 {border-bottom:1px solid #444; letter-spacing:0.2em;}
#sidebar > ul > li > div ul {margin-bottom:10px;}
#sidebar > ul > li > div ul:last-child {margin-bottom:0;}

.screen-reader-text {display:none;}

li.widget {margin-bottom:20px;}

li.widget li {display:block; padding: 5px 0 5px 0; line-height:1.4em;}
li.widget li a {line-height:1.4em;}
li.widget li a:before {content:'▶ '; color:#ad233d;}

.more-link {display:block; color:#1f60fb;}

#top-visual {width:1000px; margin:0 auto 20px;}

#top-news-list {background:#223; padding:20px; border:1px solid #444; margin-bottom:20px;}
#top-news-list h3 {margin:0 !important;}

#contents > h2:first-child {font-size:18px; line-height:24px; padding:8px 18px; background:#ad233d; letter-spacing:0.3em;}

#contents h3 {font-size:14px; line-height:20px; padding:5px 10px; background:#ad233d; letter-spacing:0.2em; margin-bottom:5px;}

.wpcf7-form {background:#112; padding:20px;}
p.input-text input {font-size:14px; line-height:24px; padding:0px 4px; height:24px; width:80%;}
p.textarea textarea {font-size:14px; line-height:24px; padding:4px; height:300px; width:95%;}
p.submit input {border:0; display:block; text-align:center; font-size:18px; line-height:30px; width:100px; height:30px; margin:0 auto;}

div.item-list {zoom:100%; font-size:12px; padding-bottom:30px;}
div.item-list:after {clear:both; display:block; height:0; content:"";}
div.item-list p {margin:0;}
div.item_thumb {width:170px; float:left;}
div.item_desc {width:460px; float:right;}
div.item_desc h4 {margin:0; font-size:12px;}
div.item_desc h4:before {content:'• ';}
p.price span, p.price a {margin-right:15px;}
p.price span:first-child, p.price a:first-child {background:#356f94; padding:3px;}
p.price span:nth-child(3) {margin-right:0; font-size:14px;}

ul.cat-list {padding:0 !important; margin:0 !important; zoom:100%;}
ul.cat-list:after {clear:both; display:block; content:""; height:30px;}
ul.cat-list li {display:inline; font-size:0; list-style-type:none; padding:0; margin:0;}
ul.cat-list li a {display:block; font-size:12px; width:200px; height:220px; float:left; margin:5px 15px 10px 0; background:#112; text-align:center;}
ul.cat-list li:nth-child(3n) a {margin-right:0;}
ul.cat-list li a img {display:block; margin:25px auto 10px;}

p.update {font-size:12px; text-align:right; color:#777;}
div > p:first-child, div > ul:first-child {margin-top:0 !important;}

#sitemap {padding:0 !important; margin:0 0 30px !important;}
#sitemap li {font-size:0; line-height:0; list-style-type:none;}
#sitemap li a {display:block; font-size:16px; line-height:40px; padding-left:16px; background:#334;}
#sitemap li a:before {content:"▶ "; color:#ad233d;}
#sitemap li:nth-child(2n) a {background:#445;}

a.faxform {display:block; text-align:center; padding:5px; background:#5fb9c2; color:#000; font-weight:bold;}

#news-list {padding:0 !important;}
#news-list li {font-size:0; line-height:0; list-style-type:none !important;}
#news-list li a {display:block; font-size:14px; line-height:20px; padding:5px 5px 5px 10px; background:#334;}
#news-list li a > span {margin-right:20px; color:#ccc; font-size:12px;}
#news-list li:nth-child(2n) a {background:#445;}

#content img {max-width:100%;}


@media screen and (max-width:1000px) {
	#header {padding:0; width:100%; height:auto; min-width:auto;}
	#header-inner, #footer-inner {width:100%; height:auto; text-align:center; min-width:100%;}
	#header, #footer {overflow:visible; min-width:100%;}
	#header h2 {display:none;}
	#menu-util {position:static; text-align:center; margin:0 auto;}
	#show_menu {display:block; background:#444; color:#fff; text-align:center; letter-spacing:0.2em; padding:5px 0; width:680px; margin:0 auto 10px;}
	div.menu-global-container {display:none; width:auto; background:transparent url() no-repeat left top !important;}
	#menu-global {width:680px; text-align:center; font-size:0; line-height:0; margin:0 auto;}
	#menu-global li {background:#fff !important; display:block;}
	#menu-global a {float:none; background:#fff url(images/bg-menu-global.png) no-repeat center center; width:100%; border-left:0 !important; border-right:0 !important;}
	#menu-global a:hover {background:#ad233d url() no-repeat left top; color:#fff !important; filter: alpha(opacity=100); opacity:1; -moz-opacity:1;}
	#main {padding:0 10px 1px; width:auto;}
	#top-visual {width:680px;}
	#contents {float:none; margin:0 auto;}
	#content {float:none; margin:0 auto; min-height:0;}
	#sidebar {float:none; margin:10px auto; width:680px;}
}
@media screen and (max-width:700px) {
	#show_menu {width:100%;}
	#menu-global {width:auto; text-align:center; font-size:0; line-height:0; margin:1px auto;}
	#top-visual {width:100%; float:none;}
	#contents {width:100%;}
	#content img {max-width:100%; height:auto;}
	#sidebar {width:100%;}
	ul.cat-list {text-align:center;}
	ul.cat-list li a {margin-right:15px !important; display:inline-block; float:none;}
	div.item_thumb {width:100%; float:none;}
	div.item_desc {width:100%; float:none;}
}

/* 220106 山本修正・追記 */
div.menu-global-container ul.menu li a {display:inline-block; float:left; padding:0; text-align:center; font-weight:bold; font-size:14px; line-height:30px; height:30px; color:#000; border-left:1px solid #eee; border-right:1px solid #777; width:198px; border-top:1px solid #fff; border-bottom:1px solid #223;}
div.menu-global-container ul.menu li a:hover {background:#ad233d url() no-repeat left top; color:#fff; filter: alpha(opacity=100); opacity:1; -moz-opacity:1; border-left:1px solid #777; border-right:1px solid #eee; width:198px; border-top:1px solid #223; border-bottom:1px solid #fff;}

#page ul.detail_list {
    padding-left: 1em;
    margin-bottom: 2em;
}
#page ul.detail_list>li {
    padding-left: 2em;
    list-style: none;
}
#page ul.detail_list>li::before {
    content: '▶　';
    margin-left: -2em;
    color: #ad233d;
}