/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.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: #000000;
	line-height: 1.8;
/*	font-family: Verdana, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
	font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serifVerdana, "メイリオ", Meiryo, ;
	font-size: 20px;
	background: #FFF;
	margin: 0;
	padding: 0;
	width: 100%;
}
body{
	background: #fff;
	margin: 0;
	padding: 0;
	width: 100%;
}
@media screen and (min-width: 1000px),print{
	body{
		min-width: 100%;
	}
}
body *{
	box-sizing: border-box;
	font-size: 16px;
}
section{
}
h1,
h2,
h3,
h4,
h5,
h6{
	margin: 0;
	padding: 0;
	font-size: 100%;
	font-weight: normal;
}
p{
	margin: 0;
	padding: 0 0 .5em;
	background-color: none;/* android対策 */
}
img{
	margin: 0;
	padding: 0;
	width: 100%;
}
ol{
	margin: 0;
	padding: 0 0 0 1em;
}
ul{
	margin: 0;
	padding: 0 0 1em;
}
ul li{
	list-style: none;
}
dl{
	margin: 0;
	padding: 0 0 1em;
	background-color: none;/* android対策 */
}
dt{
	margin: 0;
	padding: 0;
}
dd{
	margin: 0;
	padding: 0;
}
table,
th,
td{
	margin: 0;
	padding: 0;
	border: 1px solid #BBA;
}
table{
	width: 100%;
	border: 4px solid #BBA;
}
a{/* 未訪問のリンク */
	color: #2F8FFF;
	text-decoration: none;
}
a:visited{/* 訪問済みのリンク */
	color: #52b;
	text-decoration: none;
}
a:hover,/* マウスポインタを合わせた状態 */
a:focus{/* フォーカスしている場合に適用 */
	color: #00F;
	text-decoration: none;
}
a:active{/* マウスのボタンを押された状態 */
	color: #52b;
	text-decoration: none;
}

/*
 * 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{
	background: #ccc;
	margin: 0.2em 0;
	padding: 0.2em 0;
	color: #000;
}

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

















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

/*
 * Hide visually and from screen readers:
 */
.hidden{
	display: none !important;
}

/*
 * 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;
	padding: 0;
	overflow: hidden;
	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 `cf` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after{
	content: " "; /* 1 */
	display: table; /* 2 */
}
.cf:after{
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 640px){
	/* Style adjustments for viewports that meet the condition */
}
@media print,
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 120dpi){
		/* Style adjustments for high resolution devices */
}
@media print{
	html{
		background: #DDD;
	}
	body{
		width: 1400px;
		transform: scale(0.9);
		-moz-transform: scale(0.9);
		-webkit-transform: scale(0.9);
		transform-origin: 0% 0%;
	}
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"]{
	border-radius: 0;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
	cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration{
	display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus{
	outline-offset: -2px;
}
