/* ============================================================
   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, font, 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 {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
    background:#fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: none; }

/* ============================================================
   HTML5 semantic elements
   ============================================================ */

article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary {
    display: block;
}

/* ============================================================
   Base
   ============================================================ */

* {
    font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
}

body {
    background-color: #fff;
    background-image: none;
    position: relative;
}

#wrapper {
    width: 100%;
    position: absolute;
    z-index: 30;
}

#video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 100%;
    z-index: 10;
}

#bg_alpha {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.1;
    z-index: 20;
}
#bg_alpha hr {
    display: none;
}

#main_header_wrap {
    position: relative;
}

p, div {
    line-height: 1.8em;
    font-size: 16px;
    text-align: justify;
    color: #000;
}

/* ============================================================
   Main layout (desktop)
   ============================================================ */

#main {
    width: 1100px;
    margin: 0px auto;
    min-height: 3200px;
    background-image: url("../images/white70.png");
    position: relative;
}

#top_gamen {
    width: 100%;
}

.page_box {
    width: 840px;
    height: 175px;
    margin-left: 130px;
    padding-top: 100px;
    clear: both;
}
#content {
    padding-bottom: 50px;
}
.content_text p {
    width: 810px;
    height: 70px;
    margin-left: 145px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7em;
}
img {
    display: block;
}
.subcontent {
    margin-top: 180px;
    margin-left: 130px;
    clear: both;
}

.subcontent_text {
    margin-top: 60px;
    margin-left: 145px;
    font-size: 16px;
}
.subcontent img {
}
.subcontent_img_1 {
    margin-top: 80px;
    margin-left: 230px;
}
.subcontent_img_2 {
    margin-top: 80px;
    margin-left: 176px;
}
menu {
    height: 170px;
    margin-left: 210px;
    margin-top: 60px;
}
menu li {
    float: left;
    margin-left: 40px;
    height: 170px;
    list-style-type: none;
}
menu li a {
    display: block;
}
menu li a:hover {
    cursor: pointer;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

menu li.first_1 {
    margin-left: 0px;
}
ul {
    width: 680px;
    height: 45px;
    margin-left: 210px;
    margin-bottom: 195px;
}
ul.aa li {
    float: left;
    margin-left: 40px;
    font-size: 10pt;
    width: 140px;
    text-align: center;
}
ul li.first_2 {
    margin-left: 0px;
}

menu li span {
    width: 100%;
    text-align: center;
    display: inline-block;
    font-size: 10pt;
}

.zaimu1 {
    padding-top: 105px;
    padding-bottom: 135px;
}
.zaimu2 {
    padding-top: 60px;
    padding-bottom: 210px;
}

table {
    border-spacing: 2px;
    border-collapse: separate;
    padding-left: 130px;
}
.zaimu1 tr {
    height: 90px;
}
.zaimu2 tr {
    height: 90px;
}

th.title {
    background-image: url("../images/black20.png");
    width: 292px;
    text-align: center;
    vertical-align: middle;
    line-height: 1.3em;
    font-weight: lighter;
    color: #000;
}
td.setumei {
    background-image: url("../images/black10.png");
    width: 466px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 11pt;
    line-height: 1.5em;
    vertical-align: middle;
    color: #000;
}

table.zaimu1 th.title span,
table.zaimu2 th.title span {
    display: block;
}

.message {
    width: 590px;
    height: 480px;
    margin-left: 145px;
    margin-top: 80px;
    margin-bottom: 145px;
    float: left;
}
.photo {
    width: 180px;
    height: 480px;
    margin-left: 40px;
    margin-top: 80px;
    margin-bottom: 145px;
    float: left;
}
.message p {
    font-size: 12pt;
    line-height: 1.8em;
}
.profile.first {
    width: 810px;
    height: 33px;
    padding-top: 10px;
    margin-top: 80px;
    margin-left: 145px;
}
.profile {
    width: 810px;
    height: 33px;
    padding-top: 10px;
    margin-left: 145px;
    clear: both;
}

.naiyou {
    width: 155px;
    height: 43px;
    border-bottom: 1px solid #000;
    float: left;
}
.naiyou p {
    margin-left: 30px;
}
.profile_data {
    width: 655px;
    height: 43px;
    border-bottom: 1px solid #000;
    float: left;
}
.gravel_first {
    width: 810px;
    height: 49px;
    margin-top: 60px;
    margin-left: 145px;
}
.gravel {
    width: 810px;
    height: 49px;
    margin-top: 6px;
    margin-left: 145px;
}
.gravel_last {
    width: 810px;
    height: 49px;
    margin-top: 6px;
    margin-left: 145px;
    margin-bottom: 210px;
}
.type {
    width: 244px;
    height: 43px;
    border: 3px solid #58b530;
    float: left;
    background-color: #58b530;
}
.type p {
    margin-left: 110px;
    padding-top: 8px;
    color: #fff;
}
.type_data {
    width: 560px;
    height: 45px;
    float: left;
}
.type_data p {
    margin-left: 40px;
    padding-top: 8px;
}
.logo_img {
    width: 250px;
    height: 250px;
    margin-left: 145px;
    margin-top: 60px;
    margin-bottom: 145px;
    float: left;
}
.logo_text {
    width: 520px;
    height: 250px;
    margin-top: 60px;
    margin-left: 40px;
    margin-bottom: 145px;
    float: left;
}

.corporate {
    margin-top: 60px;
    margin-bottom: 50px;
}
.corporate tr {
    height: 70px;
}
.corporate th {
    vertical-align: middle;
    width: 250px;
    background-image: url("../images/black20.png");
    padding-left: 30px;
    font-weight: normal;
    font-size: 13px;
    color: #000;
}
.corporate td {
    vertical-align: middle;
    width: 508px;
    background-image: url("../images/black10.png");
    font-size: 13px;
    padding-left: 50px;
}
.jigyo th {
    height: 240px;
}
.torihiki th {
    height: 600px;
}
#footer {
    margin: 0px auto;
    width: 1100px;
    height: 50px;
    background-image: url("../images/white70.png");
    clear: both;
}
#footer p {
    text-align: center;
    color: #58b530;
    letter-spacing: 3px;
}
#page-top {
    position: fixed;
    bottom: 0px;
    margin-left: 1000px;
    z-index: 100;
    cursor: pointer;
}
#page-top a {
    text-decoration: none;
    font-size: 80%;
    line-height: 80%;
    width: 60px;
    height: 60px;
    text-align: center;
    display: block;
}
#page-top a:hover {
    cursor: pointer;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

body.single-news div#content,
body.post-type-archive-news div#content {
    width: 840px;
    box-sizing: border-box;
    margin: 0px auto;
    min-height: 1500px;
}
div#post-0 h1.entry-title,
div.archive h1 {
    padding-top: 200px;
    padding-left: 100px;
    font-size: 30pt;
}

body.single-news div#content {
    padding-top: 100px;
}
div.single_news_head {
    margin-bottom: 30px;
}
div.single_news_head h1.entry-title {
    font-size: 20px;
}
div.single_news_head h1.entry-title span.news_date {
    font-size: 20px;
    font-weight: normal;
    margin-right: 20px;
}

body.single-news #main #container #content {
    width: 780px;
    padding-left: 100px;
    padding-top: 200px;
    float: left;
    box-sizing: content-box;
    min-height: 1000px;
}
body.single-news #main #primary {
    width: 170px;
    float: right;
    padding-top: 200px;
}
body.single-news #main #primary ul {
    margin: 0px;
    padding: 0px;
    width: auto;
    height: auto;
}
body.single-news #main #primary ul a {
    color: #5aac36;
    text-decoration: none;
}
body.single-news #main #primary ul a.open_year,
body.single-news #main #primary ul a.close_year {
    color: #000;
}
body.post-type-archive #main #container #content h1 {
    text-align: center;
    padding-left: 0px;
}
body.post-type-archive #primary {
    display: none;
}
body.post-type-archive #main {
    min-height: 100px;
}
body.post-type-archive #main #container #content {
    min-height: 800px;
}
.pagination {
    padding-top: 50px;
    text-align: center;
}
.pagination a {
    display: inline-block;
    color: #5aac36;
    text-decoration: none;
    padding: 0px 5px;
}
.pagination a:hover {
    font-weight: bold;
}
.pagination span.current {
    display: inline-block;
    color: #000;
}
.error404 div#post-0 h1.entry-title,
.error404 p,
.error404 a {
    text-align: center;
    padding-left: 0px;
}
.error404 p,
.error404 a {
    padding-top: 20px;
}
.error404 a {
    display: block;
    margin: 0px auto;
}
body.home #primary {
    display: none;
}

div#topics_box ul {
    margin-left: 0px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0px;
}
div#topics_box ul li {
    background-image: url('../images/white60.png');
}
div#topics_box ul li div.left h3 {
    text-align: center;
    font-weight: normal;
    font-size: 12px;
    line-height: 1.8em;
    padding: 5px;
    box-sizing: border-box;
}
div#topics_box ul li div.left {
    width: 75px;
    float: left;
}
div#topics_box ul li div.right {
    padding: 0px 0px 0px 10px;
    width: 410px;
    float: right;
    font-size: 12px;
}
div#topics_box ul li div.right p {
    font-size: 12px;
    line-height: 1.8em;
    padding: 5px;
    padding-right: 15px;
    box-sizing: border-box;
}
div#topics_box ul li div.right p a {
    color: #5aac36;
}
div.clear {
    clear: both;
}

span.link {
    display: block;
}
span.link a {
    color: #5aac36;
    text-decoration: none;
}

hr.clear {
    display: none;
}

div.close_btn {
    display: none;
    width: 0px;
    height: 0px;
}

div#sp_topics_box {
    display: none;
}

#sp_mainmenu {
    display: none;
}

div.menu-toggle {
    display: none;
}

img#logo {
    display: block;
}
img#logo_phone {
    display: none;
}

img#service_image {
    display: block;
}
img#service_image_phone {
    display: none;
}

/* ============================================================
   Top page
   ============================================================ */

#top_gamen .top_box { width: 100%; }
#top_gamen .top_box #title { width: 545px; height: 257px; margin: 0px auto; margin-bottom: 35px; }
#top_gamen .top_box #title h2 { text-indent: -9999px; }
#top_gamen .top_box #title h2 img { width: 545px; height: 257px; }
#top_gamen .top_box #topics_box { width: 510px; margin: 0px auto; margin-bottom: 35px; overflow: hidden; }
#top_gamen .top_box #topics_box .left { width: 87px; float: left; }
#top_gamen .top_box #topics_box .left h3 { text-align: center; font-weight: normal; font-size: 12px; line-height: 1.8em; }
#top_gamen .top_box #topics_box .right { padding: 0px 0px 0px 10px; width: 410px; float: right; }
#top_gamen .top_box #topics_box .right ul.bxslider { height: 28px; width: 420px; margin: 0px; }
#top_gamen .top_box #topics_box .right ul.bxslider li { height: 28px; line-height: 28px; text-align: left; float: left; font-size: 12px; line-height: 28px; }
#top_gamen .top_box #topics_box .right ul.bxslider li a { text-decoration: none; color: #000; }
#top_gamen .top_box #top_main_menu { width: 600px; margin: 0px auto; }
#top_gamen .top_box #top_main_menu ul { width: 600px; height: 50px; margin: 0px; overflow: hidden; }
#top_gamen .top_box #top_main_menu ul li { float: left; }
#top_gamen .top_box #top_main_menu ul li a { display: block; text-indent: -9999px; background-image: url("../images/home.png"); background-repeat: no-repeat; width: 120px; height: 50px; }
#top_gamen .top_box #top_main_menu ul li a:hover { cursor: pointer; filter: alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5; }
#top_gamen .top_box #top_main_menu ul li:nth-child(2) a { background-image: url("../images/news.png"); }
#top_gamen .top_box #top_main_menu ul li:nth-child(3) a { background-image: url("../images/service.png"); }
#top_gamen .top_box #top_main_menu ul li:nth-child(4) a { background-image: url("../images/message.png"); }
#top_gamen .top_box #top_main_menu ul li:nth-child(5) a { background-image: url("../images/aboutus.png"); }

#header.toppage { position: fixed; display: block; }

#header { background-image: url("../images/white100.jpg"); width: 100%; height: 50px; z-index: 100; top: 0px; left: 0px; display: none; }
#header #header_box { width: 960px; margin: 0px auto; }
#header #header_box h2 { float: left; }
#header #header_box #mainmenu { float: left; }
#header #header_box #mainmenu .topmenu { float: left; }
#header #header_box #mainmenu .topmenu a { display: block; }
#header #header_box #mainmenu .topmenu a :hover { cursor: pointer; filter: alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5; }

body.post-type-archive-news div.archive div.type-news {
    margin: 10px auto 20px;
    height: 60px;
    width: 800px;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
}
body.post-type-archive-news div.archive div.type-news.first {
    margin-top: 80px;
}
body.post-type-archive-news div.archive div.type-news div.topicmenu {
    width: 200px;
    height: 60px;
    float: left;
    box-sizing: border-box;
}
body.post-type-archive-news div.archive div.type-news div.topictext {
    padding-left: 20px;
    float: left;
    width: 600px;
    box-sizing: border-box;
}
