@charset "UTF-8";
/*main.css*/

#wrapper{width:930px; margin:0 auto;}

/* ------------------------------------------------------------------------
	header
------------------------------------------------------------------------ */
#header{height:52px; background:url(../img/bg_link_space.gif) repeat-x; margin:0 auto;}
#header .logoSqex{float:left; width:116px; padding:21px 0 0 20px;}
#header .logoYahoo{float:right; width:169px; padding:8px 22px 0 0;}

/* ------------------------------------------------------------------------
	body
------------------------------------------------------------------------ */
html{background:url(../img/main/bg_repeat.gif) #000 center top repeat-y;}
body{background:url(../img/main/bg.jpg) center top no-repeat; min-width:938px;}

#contents{width:100%; overflow:hidden; position:relative; padding-bottom:90px;}

/* ------------------------------------------------------------------------
	btnTop
------------------------------------------------------------------------ */
#contents #btnTop {width:508px; height:52px; position:absolute; bottom:20px; left:213px;}
#contents #btnTop a{background-image:url(../img/btn_link.png);}

/* ------------------------------------------------------------------------
	footer
------------------------------------------------------------------------ */
#footer {width:930px; background:url(../img/bg_footer.gif); border-top:2px solid #999; margin:0 auto; padding:20px 0 20px; text-align:center;}
#footer #copyright p{font-size:12px; line-height:1.6; color:#fff;}
#footer #copyright p a{color:#ff6400; text-decoration:underline;}
#footer #copyright p a:hover{color:#ff3300;}

/* ------------------------------------------------------------------------
	contents
------------------------------------------------------------------------ */
p{ font-size:14px; line-height:1.6;}

.ttl-txt{font-size:18px; line-height:1.6; text-align:left; }
.ttl-txt-name{font-size:18px; line-height:1.6; text-align:left; color:#b40000;}

.ttl-img{padding-top:25px; text-align:center;}

.inner-box{ width:870px; margin:0 auto; padding-top:30px;}
.inner-box.in-box{ width:830px;}

.bg-castle-box{min-height:420px; background:url(../img/main/bg_castle.png) center top no-repeat;}

/* frame-box */
.frame-box{ width:870px; margin:30px auto 0; background:url(../img/main/boxed_bg.gif) center top;}
.frame-box-tp,
.frame-box-bt,
.frame-box-in{ background-image:url(../img/main/boxed_frame.gif);}
.frame-box-tp,
.frame-box-bt{height:9px; background-repeat:no-repeat;}
.frame-box-tp{background-position:left top;}
.frame-box-bt{background-position:left bottom;}
.frame-box-in{background-position:right top; background-repeat:repeat-y; position:relative;}

.frame-inner {width:830px; margin:0 auto;}

/* fm-entry  */
#fm-entry .frame-box-in{padding-bottom:140px;}
.frame-img-a{position:absolute; bottom:-6px; right:12px;}

/*fm-rtm*/
#fm-rtm .frame-box-in{ padding-bottom:10px;}
.frame-img-b{ padding-left:230px;}
.frame-box-bg-wave{ background:url(../img/main/bg_wave.png) 465px bottom no-repeat;}

/*scroll-box*/
.scroll-box{padding-top:30px;}
.scroll-box.first-box{ padding-top:0;}
