@charset "utf-8";
/*
 * 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: 1em;
    line-height: 1.4;
	background-image:url(../img/bg.jpg);
	background-repeat:repeat-x;
	background-color:#F5F2EB;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a:hover img/*.link_img*/{
opacity:0.70;
filter: alpha(opacity=70);
}

p{
	margin:0 0 0.5em 0;
}

.center{
	text-align:center;
}

.right{
	text-align:right;
}

.f_left{
	float:left;
	padding:0 15px 10px 0;
	display:inline;
}

.clear{
	clear:both;
}

.link_pdf{
	padding-left:22px;
	background:url(../img/icon_pdf.gif) no-repeat;
	background-position:left 4px;
}

.mb0{margin-bottom:0!important;}
.mb1{margin-bottom:1em!important;}
.mb2{margin-bottom:2em!important;}

.mt2{margin-top:2em!important;}

.pt1{padding-top:1em!important;}
.pb1{padding-bottom:1em!important;}
.pb2{padding-bottom:2em!important;}

.w5em{width:5em;}
.w6em{width:6em;}


/* ヘッダー
------------------------------------------- */
.body_contents{
	background:url(../img/bg_head_contents.jpg) no-repeat;
	background-position:center top;
}

#header{
	width:1000px;
	margin:0 auto 0.5em auto;
	background:url(../img/bg_head.jpg);
}

#header_contents{
	width:1000px;
	margin:0 auto 1.5em auto;
}

#header h1{
	margin:0;
	padding:0;
}

#header ul{
	float:right;
	list-style:none;
	margin:50px 0px 10px 0;
	padding:0;
}

#header ul li{
	float:right;
	display:inline;
}

#header ul li:first-child{
	padding-right:10px;
}

#header ul li a img{
	margin:22px 10px 0 5px;
}


#header_contents h1{
	float:left;
	margin:0.6em 0 0 0;
}
 
#header_contents ul{
	float:right;
	list-style:none;
	margin:1em 0px 10px 0;
	padding:0;
}

#header_contents ul li:first-child{
	padding-right:10px;
}

#header_contents ul li a img{
	margin:22px 10px 0 5px;
}


/* コンテンツ
------------------------------------------- */
#content{
	width:1020px;
	margin:0 auto;
}

#main{
	float:left;
	width:720px;
	padding-top:10px;
	margin-left:20px;
	margin-bottom:2em;
}

#main ul.ul_full li,
#main ul.ul_half li{
	float:left;
	padding-bottom:1.2em;
}

#main ul.ul_full li,
#main ul.ul_half li{
	margin-right:20px;
}

#main .box_access{
	margin-right:20px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #492C29), color-stop(0.00, #322321));
	background: -webkit-linear-gradient(top, #322321 0%, #492C29 100%);
	background: -moz-linear-gradient(top, #322321 0%, #492C29 100%);
	background: -o-linear-gradient(top, #322321 0%, #492C29 100%);
	background: -ms-linear-gradient(top, #322321 0%, #492C29 100%);
	background: linear-gradient(top, #322321 0%, #492C29 100%);
}

#main .box_access h2{
	float:left;
	width:50px;
	margin:0;
	padding:10px;
	text-align:center;
}

#main .box_access .box_access_inner{
	float:right;
	width:650px;
	padding:10px;
	background:#DEDCD5;
}

#main .btn_googlemap{
	text-align:right;
	padding-right:0.6em;
}


/* 中ページ
------------------------------------------- */
.friendship{
	font-family:"ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif!important;
}

#main ul.ul_ph{
	width:710px;
	margin-left:0;
}

#main ul.ul_ph li{
	float:left;
	width:18%;
	margin:0 2% 1.2em 0;
}

#main ul.ul_ph li img{
	max-width: 100%;
	height: auto;
	box-shadow: 2px 2px 4px #999; /*CSS3*/
	-moz-box-shadow: 2px 2px 4px #999; /* Firefox用*/
	-webkit-box-shadow: 2px 2px 4px #999; /* Google Chrome, Safari用*/
}

#main ul.ul_ph .mt2_control{
	margin-top:2em;
}

#main ul.ul_ph p{
	border-left:3px solid #342422;
	margin-bottom:0.5em;
	padding-left:8px;
	font-size:1em!important;
}

#main ul.ul_ph li p{
	font-size:1em!important;
}

#main p{
	margin:0 20px 1.5em 0;
}

#main .h2_ttl{
	margin:0 20px 1em 0;
	padding:0;
}

#main .h2_ttl img{
	box-shadow: 2px 2px 4px #999; /*CSS3*/
	-moz-box-shadow: 2px 2px 4px #999; /* Firefox用*/
	-webkit-box-shadow: 2px 2px 4px #999; /* Google Chrome, Safari用*/
}

#main .h2_line{
	margin:0 20px 1em 0;
	padding-bottom:1.2em;
	background:url(../img/bg_ttl.png) no-repeat;
	background-position:bottom center;
	font-size:1.4em;
}

#main .table_history{
	margin:0 20px 1em 0;
	padding:0;
	border-collapse:collapse;
	background:url(../img/bg_history.png) no-repeat;
	background-position:bottom right;
	background-size:contain;
}

#main .table_history th{
	width:6.5em;
	padding:0.5em;
	border:1px solid #342422;
	border-right:3px double #342422;
	vertical-align:top;
	text-align:left;
	color:#342422;
}

#main .table_history td{
	padding:0.5em;
	border:1px solid #342422;
	vertical-align:top;
}

.aisatu{
	font-size:1.2em;
}

#main .kakomi01{
	margin:0 20px 1em 0;
	padding:1em;
	/*border:1px solid #342422;*/
	background:#DEDCD5;
}



/* ナビ
------------------------------------------- */
#navi{
	float:right;
	width:260px;
	min-height:450px;
	margin-right:10px;
	padding:30px;
	background:url(../img/bg_navi.png) no-repeat;
	background-position:top center;
}

#navi ul li{
	padding:0;
	border-bottom:1px dotted #333;
}

#navi ul li a{
	padding:10px 10px 10px 15px;
	background:url(../img/icon_navi.png) no-repeat;
	background-position:0 15px;
	color:#342422;
	display:block;
	text-decoration:none;
}

#navi ul li a:hover{
	text-decoration:underline;
}


/* フッター
------------------------------------------- */
#footer{
	min-height:3em;
	background:#181818;
	color:#FFF;
}

#footer_inner{
	width:960px;
	margin:0 auto;
}

#footer p{
	padding-top:1em;
	font-size:0.8em;
}

#footer img{
	float:right;
}











/* ==========================================================================
   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: 100%;
}

/*
 * 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }
}
