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

body {
    font-size: 1em;
    line-height: 1.4;
	font-family: Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	background: #FFF url(../images/bg_body.gif) repeat-x;
}

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

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

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
	padding: 3px 8px;
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/* ==========================================================================
   bace styles
   ========================================================================== */

#wrapper{
	position: relative;
	width:100%;
	margin:0 auto;
	padding: 0;
}

#layout {
    max-width: 900px;
    margin:0 auto;
    padding-top: 0px;
}

#header {
    width : 900px;
    height: auto;
    margin-top: 0px;
    padding-top: 0px;
	position:relative;
}

#contents{
	width : 900px;
	height: auto;
	margin: 0;
}

#footer {
    clear : both;
	width:100%;
	min-width:960px;
	text-align:center;
    padding: 10px;
    margin-top: 30px;
    margin-left: 0px;
    margin-right: 0px;
	position: relative;
	overflow:hidden;
    background-color: #2ca6e0;
}

/* ==========================================================================
   header styles
   ========================================================================== */

#header h1{ margin:0;}

#header .toptxt{
	width:900px;
	height:111px;
	margin:0 auto;
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
    background:url(../images/syousyu_for.gif) no-repeat;
}
#header img{ margin:0;}


/*==========================================================================
   font styles
   ========================================================================== */

.pink{ color:#D85166; font-weight:bold; }

/* ==========================================================================
   page styles
   ========================================================================== */

#contents a img{
	margin: 0 auto;
	display:block;
}

a:hover img{
    opacity:0.7;
    -moz-opacity:0.7;
    filter:alpha(opacity = 70);
}

#contents h2{
	width: 900px;
	height:100px;
	margin:0;
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
	background:url(../images/tit_01.gif) no-repeat;
}
#contents ul{
	width:100%;
	height: auto;
	margin:0 !important;
	list-style:none;
}
#contents li, #contents h3.tit01, #contents h3.tit02, #contents h3.tit03{
	margin:0;
	width:900px;
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;	
}
#contents li.list01, #contents li.list02, #contents li.list03{
	margin: 0 !important;
	list-style:none;
}
#contents li.list01{
	height:170px;
	background:url(../images/list01.gif) no-repeat;
}
#contents li.list02{
	height:136px;
	background:url(../images/list02.gif) no-repeat;
}
#contents li.list03{
	height:150px;
	background:url(../images/list03.gif) no-repeat;
}

#contents h3.tit01{
	height:202px;
	background:url(../images/tit02.gif) no-repeat;
}
#contents h3.tit02{
	height:164px;
	background:url(../images/tit03.gif) no-repeat;
}
#contents h3.tit03{
	height:119px;
	background:url(../images/tit04.gif) no-repeat;
}

#contents dl{
	width:850px;
	height: auto;
	display:block;
	margin:0 auto;
	padding-top:20px;
	background-color:#ffffd3;
}
#contents dt{
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;	
}
#contents dt.dt01{
	width:820px;
	height:150px;
	margin: 0 0 0 15px;
	background:url(../images/riyu01.gif) no-repeat;
}
#contents dt.dt02{
	width:850px;
	height:250px;
	margin:0;
	background:url(../images/riyu02.gif) no-repeat;
}
#contents dt.dt03{
	width:850px;
	height:240px;
	background:url(../images/riyu03.gif) no-repeat;
}
#contents dd{
	width:100%;
	margin: 0;
	padding: 0;
	display:block;
	font-weight: normal;
	text-align:left;
}
#contents .dd03{
	width:770px;
	margin:0 0 14px 15px;
	padding: 25px;
	display:block;
	font-weight: normal;
	text-align:left;
}
#contents .dd03:after{
  content: "."; 
  display: block; 
  height: 0; 
  font-size:0;	
  clear: both; 
  visibility:hidden;
}

#contents .dd03 div{
	width:28.941176470588236%;
	margin: 0 50px 0 0;
	display:block;
	float: left;
}
#contents .dd03 div.last{
	margin: 0;
}
#contents .dd03 p{
	margin: 10px 0 0 0;
	line-height: 33px;
	display:block;
	font-weight:bold;
	background:url(../images/note.gif);
}
.yajirushi{
	width: 100%;
	margin: -25px 0 0 0;
	text-align:center;
	display:block;
}


.help{
	width:888px;
	height:637px;
	display:block;
	margin: 15px 0 50px 0;
	padding:0;
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
	background:url(../images/syousyubao-img2.gif) no-repeat;	
}
.about{
	width:747px;
	height:255px;
	display:block;
	margin: 0 auto;
	padding:0;
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
	background:url(../images/syousyubao-img.jpg) no-repeat;	
}

.mgb{ display:block; margin-top: 30px;}

.top20{ margin-top:20px !important;}
.bottom20{ margin-bottom:20px;}

.btn{
	width:740px;
	text-align:center;
	margin: 0 auto;
	display:block;
}
.btn a{ margin-right:10px; display:block; float: left;}
.btn img.last{ margin: 0;}

/*----------------------------------------------------
　foam
 --------------------------------------------------*/

.form-box{
	width:763px;
	height: auto;
	display:block;
	margin:0 auto;
	padding-bottom:15px;
}
.tb3 {
	width:763px;
	font-size: 15px !important;
	margin-top:20px;
	padding-top:20px;
}

.tb3 th{
	padding:15px 0 5px 0;
	font-size:9pt;
	text-align: left;
	font-weight: bold;
	vertical-align:middle;
	background: url(../images/icon02.gif) 0 5px no-repeat;
}
.tb3 td{
	padding:10px 7px;
	font-size:9pt;
	background-color: #EEE;
}

.tb3 span{
	color: #F00;
}

.con{
	color: #000 !important;
	font-weight:300 !important;
}

#mail_preview{
	padding:10px 20px;
	display:block;
	margin: 15px auto;
}

input, textarea{
	padding:5px !important;
}
textarea#comment{
	 width:700px !important;
	 height:150px !important;
}

.kakunin{ color:#FF0066;}

.ce{
	text-align:center;
}
.privacy{
	width:733px;
	height: 200px;
	display:block;
	overflow: auto;
	margin:0 auto;
	padding:15px;
	border: 1px #CCCCCC solid;
}

.contact{
	width:763px;
	height: auto;
	display:block;
	margin:20px auto;
	font-size:13px;
}

#header #error_message{
	margin:15px auto;
	padding:20px;
	background:#FFF;
}

/* ==========================================================================
   footer styles
   ========================================================================== */

.copyright{ font-size: 10px; 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) {

}
/*===============================================
 画面の横幅が769px以上
===============================================*/
@media screen and (min-width: 769px){
img{
max-width: 100%;
height: auto;
width /***/:auto;　
}
#wrapper{
width:100%;
}
}
/*===============================================
 画面の横幅が768pxまで
===============================================*/
@media screen and (max-width: 768px){
img{
max-width: 100%;
height: auto;
width /***/:auto;　
}
#wrapper,#layout{
width:100% !important;
}
#layout{
	padding:0 40px;
}
}
/*===============================================
 画面の横幅が640pxまで
===============================================*/
@media screen and (max-width:640px){
img{
max-width: 100%;
height: auto;
width /***/:auto;　
}
#wrapper,#layout{
width:100% !important;
}
#footer{
width:100% !important;
}
#layout{
	padding:0 40px;
}
}
/* ==========================================================================
   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;
    }
}