﻿/*!
Theme Name: wordpress
Theme URI: 
Description: 
Version: 1.7
Author: website7
Author URI: 
License: 
License URI:
Tags: website7
Text Domain:website7
*/

/* -------------------------

 http://meyerweb.com/eric/tools/css/reset/

	 v2.0 | 20110126

	 License: none (public domain)

---------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 reset
---------------------------- */

article, aside, details,
figcaption, figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* clearfix
---------------------------- */

.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
 
.clearfix:before {
　　content: "";
	display: block;
	clear: both;
}
 
.clearfix {
	display: block;
}

/* mobile media
---------------------------- */

img, object, embed, video, iframe {
	max-width: 100%;
}
img, video, embed, object {
	height: auto;
}
embed, object {
	height: 100%;
}
img {
	vertical-align: middle;
	-ms-interpolation-mode: bicubic;
}

/* webkit browsers reset margin
---------------------------- */

button, input, select, textarea {
	margin: 0;
	max-width: 97%;
}

textarea {
	overflow: auto;
	vertical-align: top;
	resize: vertical;
}


/* normalize buttons in IE 
---------------------------- */

button {
	width: auto;
	overflow: visible;
}


/* -------------------------
*	grid
---------------------------- */

.container:after, .row:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.grid_three {
	margin-left: 3%;
	float: left;
	min-height: 1px;
	width: 31%;
}

.grid_second {
	margin-left: 3%;
	float: left;
	min-height: 1px;
	width: 65%;
}

.grid_three:first-child,
.grid_second:first-child{
	margin-left: 0;
}


/* 769px～959px
---------------------------- */

@media only screen and (min-width: 769px) and (max-width: 959px) {
	.grid_second {
		width: 460px;
		margin-right:10px;
	}
}

@media only screen and (max-width: 768px) {
	.row .half, .row .grid_three, .row .quarter, .row .fifth, .row .sixth, .row .grid_second,
	.row .twofifth, .row .threefifth, .row .fourfifth, .row .fivesixth, .row .threequarter {
		margin-left: 0;
		width: 100%;
	}

	.block-two, .block-three {
		margin-left: 0;
		margin-bottom: 1.5em;
	}

	.block-two > li, .block-three li {
		float: none;
		margin: 0;
		width: 100%;
	}

	.pc_w1600, .pc_w1200, .pc_w1000{
		margin:0 auto;
		max-width: 95%;
		overflow-x: hidden;
	}
}

