/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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

/* 全体設定　/////////////////////////////////////////////////////////////////////////////////////////// */
html{
  font-size:62.5%;
}


body{
	font-size:14px; font-size:1.4rem;
	font-family:'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','Arial','メイリオ','Helvetica Neue','Meiryo','ＭＳ Ｐゴシック';
	color:#231815;
	line-height:1.8;
	letter-spacing:0.2px;
	-webkit-text-size-adjust:none;
}

h1,p{
	margin:0px;	padding:0px;
}

ul, li, dl, dt, dd {
	list-style:none; margin:0px; padding:0px;
}


div, table, ul, li, nav, section, header,
dl, dt, dd, p, img, h1, h2, h3, h4, h5, h6, strong, span {
	box-sizing:border-box;
}

ul, li,
dl, dt, dd, p, img, h1, h2, h3, h4, h5, h6, strong, span {
	margin:0px; padding:0px;
}


 /*a:hover img, a:hover p, a:hover span , a:hover span*/
a:hover, a li:hover, a img:hover, a div:hover, a h1:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
  -ms-filter: "alpha(opacity=80)";

   -webkit-transition: 0.2s ease-in-out;  
       -moz-transition: 0.2s ease-in-out;  
         -o-transition: 0.2s ease-in-out;  
            transition: 0.2s ease-in-out; 
}




.bgshadow {
	background-color:#F2F2F2;
	background-image:url(../img/bgline_top.png), url(../img/bgline_btm.png);
	background-position:center top, center bottom; /* 余剰(無視される) */
	background-repeat:no-repeat, no-repeat;
	padding:35px 0px 25px 0px;
}

.bdline {
	box-sizing: border-box;
	border:5px solid #FFFFFF;
	box-shadow: 0 0 2px rgba(0,0,0,0.15);
}


a {
  transition: color 0.3s ease 0s;
  text-decoration:none;
  color:#fff;
}



#toggle{ 
 display: none;
}


/* 共通設定　/////////////////////////////////////////////////////////////////////////////////////////// */

.fixed {
    width:100%; top:0; left:0;
    position:fixed;
    z-index:1000;
	box-sizing:border-box;
	border-bottom:1px solid #D8D8D8;
}



/* ページ内コンテンツ共通 */
/* header　/////////////////////////////////////////////////////////////////////////////////////////// */

header {
	width:100%;
	
	
	/*background:url(../img/header_bg_top.png) repeat-x, url(../img/bg_ptn_w.png) repeat;*/
}











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

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

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

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

