@charset "utf-8";

/************************************************************
	トップページ (front-page.php)
*************************************************************/
/* メインビジュアル
------------------------------------------------------------*/
/* レスポンシブ対応スライダー（owl-carousel） */
#mainSlide {
	width: 100%;
	margin: 0 auto 8rem;
	text-align: center;
}
	@media only screen and (max-width: 767px){
		#mainSlide {
			margin: 0 auto 5rem;
		}
	}

.owl-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* 静止画 */
#mainImage,
#subImage {
	width: 100%;
	text-align: center;
}
#mainImage {
	margin: 0 auto;
}
#subImage {
	margin: 0 auto 7rem;
}
#mainImage.shop {
	margin: 0 auto 5rem;
	width: 1000px;
}
#subImage.shop {
	width: 1000px;
}
#mainImage > img {
	width: 100%;
}
#mainImage.shop img ,
#subImage.shop img {
	display: block;
	max-width: 100%;
	height: auto;
	width: auto; /* for IE8 */
}
	@media only screen and (max-width: 999px){
		#mainImage,
		#subImage,
		#mainImage.shop,
		#subImage.shop {
			width: 100%;
			margin: 0 auto 5rem auto;
		}
	}
	@media only screen and (max-width: 767px){
		#mainImage, #subImage, #mainImage.shop, #subImage.shop {
			margin: 0 auto 1rem;
			width: 100%;
		}
	}

/************************************************************
	更新情報（テキストだけ）
*************************************************************/
ul.info {
}
	ul.info li {
		border-bottom: 1px dotted #999;
		margin-bottom: 7px;
		padding-bottom: 7px;
	}
	ul.info li:last-of-type {
		border-bottom: none !important;
	}
	ul.info li dl {
	}
		ul.info li dl dt {
			float: left;
			width: 25%;
		}
			ul.info li dl dt time {
			}
		ul.info li dl dd {
			float: right;
			width: 75%;
		}
			ul.info li dl dd span {
				display: block;
			}
			ul.info li dl dd span:nth-of-type(2) {
				color: #666;
			}
			ul.info li dl dd h2 {
				line-height: 1.4;
			}

	@media only screen and (max-width: 767px){
		ul.info li dl dt {
			float: none;
			width: 100%;
		}
		ul.info li dl dd {
			float: none;
			width: 100%;
		}
			ul.info li dl dd span {
			}
	}


/************************************************************
	更新情報（サムネイル）
*************************************************************/
ul.thumbnail {
}
	ul.thumbnail li {
		border-bottom: 1px dotted #999;
		margin-bottom: 7px;
		padding-bottom: 7px;
	}
	ul.thumbnail li:last-of-type {
		border-bottom: none !important;
	}
	ul.thumbnail li dl {
	}
		ul.thumbnail li dl dt {
			float: left;
			width: 25%;
		}
			ul.thumbnail li dl dt img {
				max-width: 100%;
				height: auto;
				width: auto; /* for IE8 */
			}
		ul.thumbnail li dl dd {
			float: right;
			width: 70%;
		}
			ul.thumbnail li dl dd time,
			ul.thumbnail li dl dd span {
				display: block;
			}
			ul.thumbnail li dl dd span:nth-of-type(2) {
				color: #666;
			}
			ul.thumbnail li dl dd span img {
				max-width: 60px;
				height: auto;
				width: 100%;
				width: auto; /* for IE8 */
			}
			ul.thumbnail li dl dd h2 {
				line-height: 1.4;
			}

	@media only screen and (max-width: 767px){
			ul.thumbnail li dl dd span img {
				max-width: 40px;
			}
	}


/************************************************************
	共通項目
*************************************************************/
section {
    margin: 0 auto 12rem;
    position: relative;
}
section p {
	text-align:center;
}
section.itemlist {
    width: 1000px;
}
section.itemlist > ul {
	width:1000px;
	margin:0 auto;
	font-size:0;
	text-align:left;
}
section.itemlist > ul li {
	display: inline-block;
	margin: 0 0 2rem;
    text-align: center;
    width: 310px;
	vertical-align:top;
}
section.itemlist > ul li:nth-of-type(3n+2) {
	margin:0 3.5rem 2rem;
}
section.itemlist > ul li a {
    color: #333;
    display: block;
    height: 100%;
    width: 100%;
}
section.itemlist > ul li p {
    margin-bottom: 3rem;
    padding: 0 0.5rem;
    text-align: left;
}
section.itemlist > ul li img {
    display: block;
	margin: 0 auto 1rem;
    width: auto;
}
section.itemlist > ul li div {
    background-attachment: scroll;
    background-color: rgba(0, 0, 0, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 74.2%;
    transition: all 0.2s ease-out 0s;
    width: 100%;
	margin: 0 auto 1rem;
}
	@media only screen and (max-width: 999px) {
		section {
			margin: 0 auto 5rem;
			position: relative;
		}
		section.itemlist {
			width: 100%;
		}
		section.itemlist > ul {
			width: 100%;
		}
		section.itemlist > ul li {
			margin: 0 0 2rem;
			width: 33%;
		}
		section.itemlist > ul li:nth-of-type(3n+2) {
			margin: 0 0 2rem;
		}
		section.itemlist > ul li img {
			width: 100%;
		}
		section.itemlist > ul li h3 {
			font-size: 1.3rem;
		}
	}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
	}

	@media only screen and (max-width: 767px){
		section.itemlist > ul li {
			display: block;
			float: none;
			margin: 0 auto 5rem !important;
			width: 90%;
		}
		section.itemlist > ul li img {
			margin: 0 auto 2rem;
			max-width: 310px;
		}
	}
/************************************************************
	トップ
*************************************************************/
.home > section#news > ul li h3 {
	font-family: "游ゴシック","Yu Gothic","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Arial,Helvetica,sans-serif;
    letter-spacing: inherit;
}
.home > section#message {
	width:100%
}
.home > section#message > img  {
	width:100%;
	max-width:1400px;
	margin:0 auto;
}
.home > section#shop-access h3  {
	font-size: 1.4rem;
}

	@media only screen and (max-width: 999px) {
	}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
	}

	@media only screen and (max-width: 767px){
	}

/************************************************************
	固定ページ共通
*************************************************************/
.page {
    min-height: 576px;
}
.page > section > article {
    margin: 0 auto;
	width:960px
}
#wrapper > img {
	width:100%;
}

	@media only screen and (max-width: 999px) {
		.page > section > article {
			width: 100%;
		}
	}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
		.page {
			width: 100%;
		}
	}
	@media only screen and (max-width: 767px){
	}


/************************************************************
	会社概要
*************************************************************/
/* 共通部分 */
.company > section {
    width: 1000px;
}
.company > section dl {
    border-bottom: 1px solid #CCC;
}
.company > section > div dl dt,
.company > section > div dl dd {
	line-height:7rem;
	box-sizing:border-box;
	border-top:1px solid #CCC;
}
.shop-detail > section > div dl dt:last-of-type
.shop-detail > section > div dl dd:last-of-type {
	border-bottom:none;
}
.company > section > div:nth-of-type(1) {
	float:left;
	width:48%;
}
.company > section > div dl dt {
	float:left;
	width:25%;
	clear: right;
	padding:0 2rem ;
}
.company > section > div dl dd {
	float:right;
	width:75%;
	clear: right;
}
.company > section > div dl dd > span {
	display: table-cell;
	height: 7rem;
	line-height: 1.4;
	vertical-align: middle;
	word-break: break-all;
}
.company > section > div dl dd > span.address {
	padding: 1rem 0;
}
.company > section > div dl dd > span i {
	font-size: 4rem;
	margin-right: 2rem;
}

	/* 会社情報 */
	.company > section#info > div:nth-of-type(2) {
		float:right;
		width:50%;
	}

	/* 京はやしやのこれまでのあゆみ */
	.company > section#history {
		font-size:1.4rem;
	}
	.company > section#history a {
		text-decoration: underline;
		color:#7CA529;
	}
	.company > section#history > div:nth-of-type(2) {
		float:right;
		width:50%;
	}
	.company > section#history > div dl dt {
		width: 38%;
		font-weight:bold;
	}
	.company > section#history > div dl dd {
		width: 62%;
	}

	@media only screen and (max-width: 999px) {
		.company > section {
			width: 95%;
		}
		.company > section#info > div:nth-of-type(2) > img {
			display: block;
			margin: 2rem auto 0;
			max-width: 300px;
			width: 100%;
		}
		.company > section#info > div:nth-of-type(1) ,
		.company > section#info > div:nth-of-type(2) ,
		.company > section#history > div:nth-of-type(1) ,
		.company > section#history > div:nth-of-type(2) {
			float: none;
			width: 100%;
		}
		.company > section#history > div:nth-of-type(1) dl {
			border-bottom:none;
		}
	}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
	}
	@media only screen and (max-width: 767px){
		.company > section {
			background: #fafafa none repeat scroll 0 0;
			border: 1px solid #ddd;
			box-sizing: border-box;
			padding: 1rem;
			width: 95%;
		}
		.company > section > div  dl {
			border-bottom: none;
		}
		.company > section > div dl dt {
			background: #333 none repeat scroll 0 0;
			border: medium none;
			border-radius: 0.5rem;
			color: #fff;
			display: inline-block;
			float: none;
			font-size: 12px;
			height: auto;
			line-height: 1;
			margin-bottom: 1rem;
			padding: 0.5rem;
			width: auto;
		}
		.company > section > div dl dd {
			border: medium none;
			float: none;
			height: auto;
			line-height: 1.4;
			margin-bottom: 2rem;
			width: 100%;
		}
		.company > section > div dl dd > span {
			display: inline;
			height:auto;
		}
		.company > section#info > div:nth-of-type(2) > img {
			margin: 2rem auto 1rem;
		}
		.company > section#history > div dl dt {
			display: inline-block;
			font-weight: normal;
			width: auto;
		}
		.company > section#history > div dl dd {
			width: auto;
		}
	}
/************************************************************
	京はやしやについて
*************************************************************/
/* 共通部分 */
.about > section {
    width: 1000px;
}
.about > section > div {
	margin:0 auto 3rem;
}
.about > section > div > p {
	margin-bottom:1rem;
}
.about > section > div > p ,
.about > section > div > img {
	text-align:left;
    width: 480px;
}
.about > section:nth-of-type(1) > div > p ,
.about > section:nth-of-type(2) > div > img {
	float:left;
}
.about > section:nth-of-type(1) > div > img ,
.about > section:nth-of-type(2) > div > p {
	float:right;
}
	@media only screen and (max-width: 999px) {
		.about > section {
			width: 95%;
		}
		.about > section > div {
			max-width: 480px;
			width: auto;
		}
		.about > section:nth-of-type(1) > div > p ,
		.about > section:nth-of-type(1) > div > img ,
		.about > section:nth-of-type(2) > div > p ,
		.about > section:nth-of-type(2) > div > img {
			float:none;
		}
		.about > section > div > img {
			width: 100%;
			max-width: 480px;
		}
	}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
	}
	@media only screen and (max-width: 767px){
		.about > section {
			background: #F7F7F2 none repeat scroll 0 0;
			/* border: 1px solid #ddd; */
			box-sizing: border-box;
			padding: 3rem;
			width: 90%;
		}
		.about > section > div > p,
		.about > section > div > img {
			width: 100%;
		}
	}
/************************************************************
	店舗一覧
*************************************************************/

	@media only screen and (max-width: 999px) {
	}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
	}
	@media only screen and (max-width: 767px){
		.shop-list > section.itemlist > ul li {
			background: #F7F7F2 none repeat scroll 0 0;
			display: block;
			float: none;
			height: 60px;
			margin: 0 auto 2rem !important;
			width: 90%;
		}
		.shop-list > section.itemlist > ul li img {
			clear: left;
			float: left;
			height: 60px;
			margin: 0 1rem 0 0;
			max-width: none;
			width: auto;
		}
		.shop-list > section.itemlist > ul li h3 {
			float: left;
			font-size: 1.4rem;
			letter-spacing: inherit;
			line-height: 60px;
			margin-bottom: 0;
		}
	}
/************************************************************
	店舗詳細
*************************************************************/
/* 共通部分 */
.shop-detail {
	font-size:1.4rem;
}
.shop-detail .note {
	color:#C00;
}
.shop-detail .underline {
    border-bottom: 1px solid #c00;
    display: inline;
}
.shop-detail a {
	color: #3366cc;
}
.shop-detail a:hover {
	text-decoration:underline;
}
.shop-detail > #mainImage + p {
	text-align:center;
	margin-bottom:5rem;
}
.shop-detail > section#shopNews ,
.shop-detail > section#access ,
.shop-detail > section#recommend ,
.shop-detail > section#menu {
	width:1000px;
}
.shop-detail > section:last-of-type {
	margin-bottom:10rem;
}
.shop-detail > section#shopNews dl {
}
.shop-detail > section#shopNews dl:last-of-type{
    border-bottom: 1px solid #CCC;
}
.shop-detail > section#access dl {
    border-bottom: 1px solid #CCC;
}
.shop-detail > section#shopNews dl dt,
.shop-detail > section#shopNews dl dd,
.shop-detail > section#access > div:nth-of-type(1) dl dt,
.shop-detail > section#access > div:nth-of-type(1) dl dd {
	line-height: 1.8;
	box-sizing:border-box;
	border-top:1px solid #CCC;
}
.shop-detail > section#shopNews dl dt:last-of-type,
.shop-detail > section#shopNews dl dd:last-of-type,
.shop-detail > section#access > div:nth-of-type(1) dl dt:last-of-type
.shop-detail > section#access > div:nth-of-type(1) dl dd:last-of-type {
	border-bottom:none;
}

	/* 新着情報 */
	.shop-detail > section#shopNews dl dt {
		padding:3rem 7rem;
		float:left;
		width:25%;
		clear: right;
	}
	.shop-detail > section#shopNews dl dd {
		padding:3rem 0;
		float:right;
		width:75%;
	}
	.shop-detail > section#shopNews dl dd > h3 {
		text-align: left;
	}
	.shop-detail > section#shopNews dl dd > p {
		line-height: 1.8;
		margin-bottom: 2rem;
		text-align: left;
	}
	
	/* アクセス */
	.shop-detail > section#access > div:nth-of-type(1) {
		float:left;
		width:48%;
	}
	.shop-detail > section#access > div:nth-of-type(1) dl dt {
		float:left;
		width:25%;
		clear: right;
		padding: 2rem 2.5rem;
	}
	.shop-detail > section#access > div:nth-of-type(1) dl dd {
		float:right;
		width:75%;
		clear: right;
	}
	.shop-detail > section#shopNews dl dd > span,
	.shop-detail > section#access > div:nth-of-type(1) dl dd > span {
		display: table-cell;
		height: 7rem;
		line-height: 1.4;
		vertical-align: middle;
		word-break: break-all;
	}
	.shop-detail > section#access > div:nth-of-type(1) dl dd > span i {
		font-size: 4rem;
		margin-right: 2rem;
	}
	.shop-detail > section#access > div:nth-of-type(2) {
		float:right;
		width:50%;
	}
	
	/* 季節のおすすめ */
	.shop-detail > section#recommend > div:nth-of-type(1) {
		float:left;
		width:48%;
	}
	.shop-detail > section#recommend > div:nth-of-type(1) p,
	.shop-detail > section#recommend > div:nth-of-type(1) h3 {
		margin: 2rem 0;
		text-align: left;
	}
	.shop-detail > section#recommend > div:nth-of-type(1) h3 > span {
		font-weight:normal;
		font-size:1.4rem;
		display:block;
	}
	.shop-detail > section#recommend > div:nth-of-type(2) {
		float:right;
		width:50%;
	}
	.shop-detail > section#recommend > div:nth-of-type(2) h3 {
		text-align: left;
		margin-bottom:1rem;
	}
	.shop-detail > section#recommend > div:nth-of-type(2) p {
		text-align: left;
	}
	
	/* MENU一部紹介 */
	.shop-detail > section#menu > div  {
	}
	.shop-detail > section#menu > div > figure {
		display: inline-block;
		margin:0 0.75rem 3rem;
		width: 235px;
	}
	.shop-detail > section#menu > div > figure > figcaption {
		text-align:center;
	}
	.shop-detail > section#menu > div > figure:nth-of-type(4n) {
		margin-right:0;
	}
	.shop-detail > section#menu > div > figure:nth-of-type(4n-3) {
		margin-left:0;
	}

	@media only screen and (max-width: 999px) {
		.shop-detail > #mainImage + p {
			width: 95%;
			text-align:left;
			margin:0 auto 5rem;
		}
		.shop-detail > section#shopNews ,
		.shop-detail > section#access ,
		.shop-detail > section#recommend ,
		.shop-detail > section#menu {
			width: 95%;
		}
		.shop-detail > section#shopNews dl dt {
			padding: 3rem 4rem;
		}
		.shop-detail > section#access > div:nth-of-type(1) dl dt {
			padding: 2rem 1rem;
		}
	}
	@media only screen and (min-width: 900px) and (max-width: 999px) {
		.shop-detail > section#menu > div > figure {
			margin: 0 1%;
			width: 22.55%;
		}
		.shop-detail > section#menu > div > figure:nth-of-type(4n) ,
		.shop-detail > section#menu > div > figure:nth-of-type(4n-3) {
			margin: 0 1%;
		}
		.shop-detail > section#menu > div > figure > img {
			width: 100%;
		}
	}
	@media only screen and (min-width: 768px) and (max-width: 899px) {
		.shop-detail > section#menu > div > figure {
			margin: 0 1%;
			width: 30%;
		}
		.shop-detail > section#menu > div > figure:nth-of-type(4n) ,
		.shop-detail > section#menu > div > figure:nth-of-type(4n-3) {
			margin: 0 1%;
		}
		.shop-detail > section#menu > div > figure > img {
			width: 100%;
		}
	}
	@media only screen and (max-width: 767px){
		.shop-detail > section#shopNews ,
		.shop-detail > section#access ,
		.shop-detail > section#recommend ,
		.shop-detail > section#menu {
			background: #F7F7F2 none repeat scroll 0 0;
			/* border: 1px solid #ddd; */
			box-sizing: border-box;
			padding: 2rem;
			width: 95%;
		}
		.shop-detail > section#shopNews dl ,
		.shop-detail > section#access dl {
			border-bottom: none;
		}
		.shop-detail > section#shopNews dl dt ,
		.shop-detail > section#access > div:nth-of-type(1) dl dt {
			background: #333 none repeat scroll 0 0;
			border: medium none;
			border-radius: 0.5rem;
			color: #fff;
			display: inline-block;
			float: none;
			font-size: 12px;
			height: auto;
			line-height: 1;
			margin-bottom: 1rem;
			padding: 0.5rem;
			width: auto;
		}
		.shop-detail > section#shopNews dl dd ,
		.shop-detail > section#access > div:nth-of-type(1) dl dd {
			border: medium none;
			float: none;
			height: auto;
			line-height: 1.4;
			margin-bottom: 2rem;
			width: 100%;
		}
		.shop-detail > section#shopNews dl dd > span,
		.shop-detail > section#access > div:nth-of-type(1) dl dd > span {
			display: inline;
			height:auto;
		}
		.shop-detail > section#shopNews dl dt:last-of-type,
		.shop-detail > section#shopNews dl dd:last-of-type,
		.shop-detail > section#access > div:nth-of-type(1) dl dt:last-of-type
		.shop-detail > section#access > div:nth-of-type(1) dl dd:last-of-type {
			border: medium none;
		}

		.shop-detail > section#access > div:nth-of-type(1) ,
		.shop-detail > section#access > div:nth-of-type(2) {
			float: none;
			width: 100%;
		}
		.shop-detail > section#access > div:nth-of-type(1) > img ,
		.shop-detail > section#access > div:nth-of-type(2) > img {
			width: 100%;
		}
		.shop-detail > section#access > div:nth-of-type(2).google-maps {
			padding-bottom: 79%;
		}

		/* MONTHLY RECOMMEND */
		.shop-detail > section#recommend > div:nth-of-type(1) ,
		.shop-detail > section#recommend > div:nth-of-type(2) {
			float: none;
			width: 100%;
			margin-bottom:2rem;
		}
		.shop-detail > section#recommend > div img {
			width: 100%;
			max-width: 300px;
			display:block;
			margin:0 auto;
		}

		/* MENU */
		.shop-detail > section#menu > div > figure {
			display: block;
			margin: 0 auto 2rem;
		}
		.shop-detail > section#menu > div > figure img {
			width:100%;
			max-width:235px;
		}
		.shop-detail > section#menu > div > figure:nth-of-type(4n) ,
		.shop-detail > section#menu > div > figure:nth-of-type(4n-3) {
			margin: 0 auto;
		}
	}

/************************************************************
	採用情報
*************************************************************/
.recruit #requirements > p {
	line-height: 1.6;
	text-align:center;
	margin:0 0 3rem;
}
	.recruit #requirements > p > span {
		background: #ffffee none repeat scroll 0 0;
		border: 1px dotted #990000;
		color: #990000;
		display: block;
		font-size: 1.6rem;
		font-weight: bold;
		margin-bottom: 2rem;
		padding: 1rem;
	}
.recruit #requirements > ul {
    text-align: center;
}
	.recruit #requirements > ul > li {
		background: #e3eed9 none repeat scroll 0 0;
		border-radius: 0.5rem;
		box-sizing: border-box;
		display: inline-block;
		margin: 0 3%;
		padding: 1rem;
		width: 26%;
		position:relative;
	}
	.recruit #requirements > ul > li.faml:after {
		content:"\f054";
		color: #e3eed9;
		font-size: 3rem;
		margin-top: -1rem;
		right: -38px;
		top: 50%;
		position: absolute;
	}
		.recruit #requirements > ul > li > span {
			background: #fff none repeat scroll 0 0;
			border-radius: 1.5rem;
			display: block;
			height: 3rem;
			line-height: 3rem;
			margin: 0 auto 1rem;
			width: 80%;
		}
	.recruit #requirements{
		width:800px;
	}
	.recruit #requirements > div {
		margin-bottom:2rem;
	}
	.recruit #requirements dl {
		background: #E3EED9 none repeat scroll 0 0;
		border-top: 1px solid #CCC;
		border-left: 1px solid #CCC;
		border-right: 1px solid #CCC;
		box-sizing: border-box;
		line-height:1.4;
	}
	.recruit #requirements dl:last-of-type {
		border-bottom: 1px solid #CCC;
	}
		.recruit #requirements dl dt {
			background: #E3EED9 none repeat scroll 0 0;
			box-sizing: border-box;
			clear: both;
			float: left;
			font-size: 1.4rem;
			padding: 1rem;
			width: 40%;
		}
		.recruit #requirements dl dd {
			background: #FFF none repeat scroll 0 0;
			border-left: 1px solid #ccc;
			box-sizing: border-box;
			float: left;
			font-size: 1.4rem;
			padding: 1rem;
			width: 60%;
		}
			.recruit #requirements dl dd div  {
				background-color:#F7F7F2;
				padding:1rem;
				box-sizing: border-box;
				margin:1rem;
				line-height: 1.8;
			}
				.recruit #requirements dl dd div span {
					font-size: 1.6rem;
					display:block;
					margin-left: 0.5em;
					text-align:left;
					font-weight:bold;
				}


	@media only screen and (max-width: 959px){
		.recruit #requirements{
			width:95%;
		}
			.recruit #requirements dl,
			.recruit #requirements dl:last-of-type {
				border:none;
		}
			.recruit #requirements dl dt {
				float: none;
				width: 100%;
				margin-bottom: 0.5em;
				padding: 0.5em;
				box-sizing: border-box;
			}
				.recruit #requirements dl dt.must:after {
					margin-right: 0.25em;
					float: left;
				}
			.recruit #requirements dl dd {
				border-left: none;
				float: none;
				width: 100%;
			}
		.recruit #requirements > ul > li {
			margin: 0 0 4rem;
		}
			.recruit #requirements > ul > li.faml::after {
				bottom: -30px;
				color: #e3eed9;
				content:"\f078";
				left: 50%;
				margin-left: -1.5rem;
				right: auto;
				top: auto;
			}
	}

/************************************************************
	お問い合わせ
*************************************************************/
section#mailForm > p {
	line-height: 1.6;
	text-align:center;
	margin:0 0 3rem;
}

section#mailForm > p > span {
    background: #ffffee none repeat scroll 0 0;
    border: 1px dotted #990000;
    color: #990000;
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 2rem;
    padding: 1rem;
}
	@media only screen and (max-width: 999px) {
	}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
	}
	@media only screen and (max-width: 767px){
		section#mailForm > h2 {
			font-size: 1.8rem;
			line-height: 1.4;
			text-align: left;
		}
		section#mailForm > p {
			text-align:left;
		}
	}


/************************************************************
	フォーム
*************************************************************/

	/* Default Setting
	------------------------------------------------------------*/
	input[type="text"],
	input[type="email"],
	textarea {
		max-width: 90%;
		padding: 0.25em;
		/*border: 1px solid #D4D4D7;*/
		font-size: 100%;
		vertical-align: middle;
	}
	textarea {
		height: auto;
		line-height: 1.5;
	}
	select {
		max-width: 90%;
	}

	input[type="submit"],
	input[type="button"] {
		background: #7ca529 none repeat scroll 0 0;
		border: 0 none;
		border-radius: 5px;
		box-shadow: 0 4px #5b791e;
		color: #fff;
		font-size: 2rem;
		margin: 0 0.4em;
		padding: 0.5rem 3rem;
	}
	input[type="reset"] {
		margin: 0 0.4em;
		padding: 0.5em 1.5em;
		background: #999;
		border: 0;
		border-radius: 5px;
		box-shadow: 0px 4px #666;
		font-size: 100%;
		color:#fff;
	}
		input[type="submit"]:hover,
		input[type="button"]:hover,
		input[type="reset"]:hover {
			opacity: 0.75;
			-webkit-transition: 0.5s ease-in-out;
			transition: 0.5s ease-in-out;
			cursor:pointer;
		}
	*:first-child+html input[type="submit"]{
		padding:3px;
		}
	
	
	/* iPhone独自スタイル（グラデーション, 角丸）を解除 */
	input[type="submit"], input[type="button"], input[type="reset"] {
		font-family: "游明朝",YuMincho,"ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","メイリオ",Meiryo,Arial,Helvetica,sans-serif;
		-webkit-appearance: none;
	}

	@media only screen and (max-width: 767px){
		/* Datepicker（日付設定）設定 */
		.ui-datepicker {
			width: 70% !important;
		}
	}

	/* Mail Form（Common）
	------------------------------------------------------------*/
	#mailForm {
		width:800px;
	}
	#mailForm dl {
		background: #E3EED9 none repeat scroll 0 0;
		border-top: 1px solid #CCC;
		border-left: 1px solid #CCC;
		border-right: 1px solid #CCC;
		box-sizing: border-box;
		line-height:1.4;
	}
	#mailForm dl:last-of-type {
		border-bottom: 1px solid #CCC;
	}
		#mailForm dl dt {
			background: #E3EED9 none repeat scroll 0 0;
			box-sizing: border-box;
			clear: both;
			float: left;
			font-size: 1.4rem;
			padding: 1rem;
			width: 40%;
		}
			#mailForm dl dt.must:after {
				background: #cc0000 none repeat scroll 0 0;
				color: #ffffff;
				content: "必須";
				float: right;
				font-size: 1.1rem;
				font-weight: bold;
				margin-right: 1.5em;
				padding: 0 0.5em;
				text-align: center;
			}
		#mailForm dl dd {
			background: #FFF none repeat scroll 0 0;
			border-left: 1px solid #ccc;
			box-sizing: border-box;
			float: left;
			font-size: 1.4rem;
			padding: 1rem;
			width: 60%;
		}
			#mailForm dl dd span {
				margin-left: 0.5em;
			}

	/* ボタンエリア（確認, 送信等） */
	#mailForm p.btn {
		margin: 3rem 0;
		text-align: center;
	}

	@media only screen and (max-width: 959px){
		#mailForm {
			width:95%;
		}
			#mailForm dl,
			#mailForm dl:last-of-type {
				border:none;
		}
			#mailForm dl dt {
				float: none;
				width: 100%;
				margin-bottom: 0.5em;
				padding: 0.5em;
				box-sizing: border-box;
			}
				#mailForm dl dt.must:after {
					margin-right: 0.25em;
					float: left;
				}
			#mailForm dl dd {
				border-left: none;
				float: none;
				width: 100%;
			}
	}

	/* MW WP Form
	------------------------------------------------------------*/
	/* 戻るボタン */
	.mw_wp_form_confirm p.btn input[type="submit"]:first-of-type {
		background: #999;
		box-shadow: 0px 4px #666;
	}


/* アーカイブページ(archive.php)
---------------------------------------------------------- */


/* 検索結果ページ(search.php)
---------------------------------------------------------- */
#content.search section {
	padding-top:0;
}


/* エラーページ(404.php)
---------------------------------------------------------- */
#content.not-found section {
	padding-top:0;
}
.not-found p,
.not-found #searchform {
	text-align:center;
}
.not-found input[type="text"] {
    border: 1px solid #d4d4d7;
    display: block;
    font-size: 1.5rem;
    margin: 3rem auto;
    max-width: 100%;
    padding: 0.25rem;
    vertical-align: middle;
}







/*テキストシャドウ {
	text-shadow: 1px 1px 3px #000;
}
*/
/*ボックスシャドウ {
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
*/
/*ボックスシャドウ内側 {
	-moz-box-shadow: inset 1px 1px 3px #000;
	-webkit-box-shadow: inset 1px 1px 3px #000;
	box-shadow: inset 1px 1px 3px #000;
}
*/
/*角丸 {
	border-radius: 10px; 
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px; 
}
*/
/*グラデーション {
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#000000');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#000000')";
	background-image: -moz-linear-gradient(top, #ffffff, #000000);
	background-image: -ms-linear-gradient(top, #ffffff, #000000);
	background-image: -o-linear-gradient(top, #ffffff, #000000);
	background-image: -webkit-gradient(linear, center top, center bottom, from(#ffffff), to(#000000));
	background-image: -webkit-linear-gradient(top, #ffffff, #000000);
	background-image: linear-gradient(top, #ffffff, #000000);
}
*/




