/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: small;
    line-height: 1.4;
	font-family: ProximaNova-Semibold, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	overflow:scroll;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* common */
* {
	margin: 0; padding: 0;
}
a:focus {
	 outline:none;
}
body {
	width: 100%; height: 100%;
	min-width: 400px;
	min-height: 300px;
	overflow:auto;
}
body {
	color: #000;
	font-family: Verdana,Arial,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
	font-size: 14px;
	font-weight: normal;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0;
	padding: 0;
}

#header {
	left: 0;
	margin: 0;
	top: 0;
	background-color: #96b8ba;
	width: 900px; height: 120px;
	margin-left:auto;
	margin-right:auto
	position: fixed;
	_position: absolute;
	width: 100%;
	z-index: 999;
	left: 0;
	padding: 0;
	position: fixed;
	_position: absolute;
	top: 0;
	width: 100%;
	z-index: 999;
}
#my_header {
	width: 900px; height: 120px;
	margin-left:auto;
	margin-right:auto

}

div#my_header img {
	position: relative;
	top: 30px;
	left: -12px;
}
div#my_header span {
	position: relative;
	top: 40px;
	left: 25px;
}


div#index_header {
	width: 900px; height: 120px;
	margin-left:auto;
	margin-right:auto
}	
div#index_header img {
	position: relative;
	top: 20px;
	left: -380px;
}
	


div#nav {
	padding: 0;
	margin: 0;
	position: relative;
	top: 55px;
	left: -15px;
	font-size: large;
}
div#nav a {
	padding: 0px 5px; 
}
div#nav a:link {
	color: #666;
	text-decoration: none;
}

div#nav img {
	padding: 0;
	margin: 0;	
}
div#twitter_logo {
	float: right;
}
div#twitter_logo img {
	width: 50px;
	height: 50px;
	left: 5px;
}


#index_body {
	height: 820px;
	background-color: #96b8ba;
	margin-top: 0px;
	_overflow: auto;
	padding: 0;
}


#index_body img {
	display:block;
	margin:auto;
}	


#main_body {
	background-color: #96b8ba;
	margin-top: 110px;
	_overflow: auto;
	padding: 0;
}

#body_bg {
	background-color: #96b8ba;
	height: 800px;
}
#my_body {
	width: 900px; 
	margin-left:auto;
	margin-right:auto;
	padding:10px;
	background-image: url(../img/sozai/str01.gif);
	

}
div#content_f {
	margin: 0 auto;
	overflow: hidden;
	width: 900px;
	height: 500px;
}
.caption {
	font-weight: 600;
	font-size: large;
}

.nigaoe_ico {
	float: left;
	margin: 12px;
	text-align: center;
}

#footer {
	width: 100%; height: 30px;
	background-color: #96b8ba;
	bottom: 0;
	width: 900px;
	color: #fff;
	margin-left:auto;
	margin-right:auto;	
	position: fixed;
	width: 100%;
	z-index: 10;
}

#my_footer {
	width: 900px;
	color: #fff;
	margin-left:auto;
	margin-right:auto;	
}
#my_footer span {
	position: relative;
	top: 5px;
	font-size: 10px;
}

/*///////////////////////////////////////////////////////////////////////////////////////////////*/


/* general */

#nav {
	position: absolute; top: 120px;
	font-weight: bold;
}
div#nav a,
div#nav a:link,
div#nav a:visited {
	color: #000;
}

#nav span {
	margin: 0;
	padding: 0;
	border-left: solid 1px #000000;
	border-right: solid 1px #000000;
}

#slogan {
	position: fixed;
	font-size: larger;
	font-weight: bolder;
	text-align: center;
	height: 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */



.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
  お問い合わせフォームのCSS
   ========================================================================== */
/* 本文 */
body {
	font-size: 85%;
	background: #fff;
	color: #000;
	font-family: Verdana,"MS PGothic","Osaka",Arial,sans-serif;
}

/* テーブル */
table.form {
	border: 1px solid #7777bb;
	border-collapse: collapse;
	margin-top: 1em;
}
table.form th, table.form td {
	text-align: left;
	border: 1px solid #7777bb;
	padding: 8px;
	font-weight: normal;
}
table.form th {
	white-space: nowrap;
	background: #cccce6;
}
table.form td {
	background: #f0f0f0;
}

/* タイトル装飾 */
strong.ttl {
	text-align: left;
	border-left: solid 4px #cc0000;
	display: block;
	padding: 2px 5px;
	margin-top: 2em;
}

/* メッセージ */
p.msg {
	color: #dd0000;
	margin: 2em;
}
span.msg {
	color: #dd0000;
}

/* 戻りボタン */
form.back {
	margin-top: 2em;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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;
    }
}
</style>


