/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
	font-size: 0.8em;
	line-height: 1.5;
	font-family:"メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	border-top-width: 8px;
	border-top-style: solid;
	border-top-color: #000000;
	margin-top:0px;
	-webkit-text-size-adjust: 100%;
}
a:link { color:#0000ff; text-decoration: none; }
a:visited { color:#0000ff; text-decoration: none; }
a:hover { color:#EF454A; text-decoration: underline; }
a:active { color:#EF454A; text-decoration: underline; }


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border: none;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
.clear {
	clear:both;
}
a img.linkimg{
background:none!important;
}
 
a:hover img.linkimg{
opacity:0.6;
filter:alpha(opacity=60);
-ms-filter: "alpha( opacity=60 )";
background:none!important;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* -----------------------------------------------
レイアウト調整
----------------------------------------------- */

#wrapper {
	width: 970px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 0px;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

.container {
	width: 970px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}
.main1 {
	width:960px;
}
.rightbox{
	float:right;
	width:220px;
}
.rightbox .fb{
	width:220px;
	height: 440px;
	margin-bottom:15px
}
.imgbox{
	margin-bottom:10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #666;
	padding-bottom: 10px;
	width: 220px;
	}
.imgbox2{
	margin-bottom:10px;
	padding-bottom: 10px;
	width: 220px;
	}
.rightbox2{
	float: left;
	width: 440px;
	margin-right: 20px;
}
/* -----------------------------------------------
フッター部分
----------------------------------------------- */

#footer{
	background-color: #231815;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #935024;
	min-width:978px; 
}
#footer .inner{
	font-size:10px;
	text-align: center;
	color: #FFF;
	padding-top: 15px;
	padding-bottom: 15px;
	width: 970px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
.inner a:link { color: #FFF; text-decoration: none; }
.inner a:visited { color: #FFF; text-decoration: none; }
.inner a:hover { color: #FFF; text-decoration: underline; }
.inner a:active { color: #FFF; text-decoration: none; }

.page_top {
	clear: both;
	
	text-align: right;
	padding-bottom: 0px;
	margin: 0px;
}

#footer2{
	font-size: 10px;
	text-align: center;
	padding-bottom: 10px;
	color: #FFF;
	width: 970px;
	margin-right: auto;
	margin-left: auto;
}


/* -----------------------------------------------
ヘッダー・グローバルナビ部分
----------------------------------------------- */

#header {
	position: relative;
	z-index: 1;
	width: 960px;
	margin: 0px;
	padding: 0px;
}
#header .logo {
	float: left;
	width: 202px;
	margin-top: 25px;
	margin-right: 20px;
}
#header .text {
	padding-top: 28px;
	float: left;
}

#header .copy {
	position: absolute;
	top: 20px;
	right: 4px;
}
#navi {
	width: 960px;
	height: 65px;
	float: left;
	background-image: url(../images/common/menu_back.jpg);
	background-repeat: no-repeat;
	margin-top: 25px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 9px;
	padding-right: 0px;
	padding-left: 24px;
}
#navi ul li {
	float: left;
	margin-right: 5px;
	list-style:none;
}
#navi ul {
	margin:0;
	padding:0;
}
#navi li {
  position: relative;
}
#navi li ul {
	display: none;
	position: absolute;
	top: 52px;
	left: 0px;
	padding: 5px;
	width: 124px;
	background: #fff;
	border: solid 1px #ccc;
}
#navi li ul li {
	margin: 0;
	padding: 0;
	width: 124px;
	border: none;
	list-style-type: none;
}
#navi li ul li a {
	display: inline-block;
	width: 118px;
	height: 35px;
	font-size:0.9em;
	color: #000;
	padding-top: 6px;
	padding-left: 6px;
}
#navi li ul li a:hover {
  background: #E40012;
  color: #fff;
}









/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    /*
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s 
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

     * Don't show links for images, or javascript/internal links

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
