@charset "UTF-8";

/*======================================================================
  Reset CSS for HTML5
======================================================================*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, t, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, main, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
article,aside,canvas,details,figcaption,figure,
header,footer,main,menu,nav,section,summary {
    display: block;
}
ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
img {
    line-height: 1;
}

/*change colours to suit your needs*/
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}


/*======================================================================
  basic
======================================================================*/
html, body{
    box-sizing: border-box;
    height: 100%;
}
body {
    background-color: #fff;
    line-height: 1.5;
    font-family: Verdana, "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 14px;
    color: #333333;
    -webkit-font-smoothing: antialiased;
}

h2, h2 a, h2 span { font-weight: bold; font-size: 20px; color: #333333;}
h3, h3 a, h4, h4 a, h4 span, h5, h5 a, h5 span { font-weight: bold; color: #333333;}

p { line-height: 1.8;}

a { text-decoration: none; color: #333333}
a:hover { text-decoration: underline;}

/* mouseover - opacity */
 a:hover,
 a img:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	opacity: 0.7;
}


/*======================================================================
  format
======================================================================*/
/* block class */
.contents {
	width: 960px;
    margin: 0 auto;
}
.main { width: 710px; margin-bottom: 60px;}
.side { width: 220px; margin-bottom: 60px;}

.boxWrap {
	width: 960px;
    margin: 0 auto;
}
.textshadow {
	text-shadow: 0 0 5px #333;
	filter: glow(color=#333333,strength=5px);
}
.boxshadow {
	border: 1px solid #333;
	box-shadow: 0px 1px 5px #333 inset;
	filter: progid:DXImageTransform.Microsoft.Shadow(color=#333, Direction=145, Strength=3);
}

/* breadcrumb */
.breadcrumb {
	width: 960px;
	margin: 0 auto;
}

.breadcrumb ul li {
	padding-right: 5px;
	display: inline-block;
}

.breadcrumb ul li a span {
	font-weight: bold;
}

/* clearFix */
.contents:after,
.clearfix:after { content: ""; clear: both; display: block;}

/* float */
.fl { float: left;}
.fr { float: right;}


/*======================================================================
  header
======================================================================*/
header {
	margin-bottom: 30px;
	min-width: 960px;
}

.mainvisual {
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
}
.mainvisual > img {
	width: 100%;
	min-width: 1340px;
	height: auto;
	position: absolute;
	top: -50%;
	right: -50%;
	bottom: -50%;
	left: -50%;
	margin: auto;
	z-index: -1;
}
.mainvisual > div > div {
	float: right;
	width: 440px;
	box-sizing: border-box;
	background: #007dd5;
	border-bottom-left-radius: 5px; 
	border-bottom-right-radius: 5px; 
	-webkit-border-bottom-left-radius: 5px; 
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	padding: 30px 20px 5px;
	margin-bottom: 262px;
}
.mainvisual div div p {
	margin-bottom: 30px;
}

.mainvisual ul li {
	float: right;
	clear: right;
	width: 190px;
	margin-bottom: 10px;
}

.mainvisual ul li:nth-child(odd) {
	float: left;
	clear: left;
}

.mainvisual ul li a {
	color: #fff;
	font-weight: bold;
}

#sp-gnav {
    display: none;
}

.h1box {
	background: #fff;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity: 0.8;
}

.h1box h1 {
	width: 960px;
	margin: 0 auto;
	padding: 3px 0;
}
	

/*======================================================================
  side
======================================================================*/
.side div {
	background: #007dd5;
	padding: 20px 10px 15px;
	margin-bottom: 20px;
	border-radius: 5px;
}

.side div p {
	font-size: 20px;
	text-align: center;
	font-family: "Hiragino Kaku Gothic Pro";
	font-weight: bold;
	line-height: 1.0;
	margin-bottom: 15px;
	color: #fff;
}

.side div ul li {
	margin-top: 10px;
}

.side div ul li a {
	color: #fff;
	font-weight: bold;
}

/*======================================================================
  recommend
======================================================================*/
#recommend {
	padding: 10px 20px;
	background: #f2f2f2;
	box-sizing: border-box;
}

#recommend h4 {
	font-size: 24px;
	font-family: "Hiragino Kaku Gothic Pro";
	text-align: center;
}

#recommend > ul > li {
	margin-top: 10px;
}

#recommendc ul li h5 {
	margin-bottom: 5px;
}

#recommend ul li h5 a {
	font-size: 16px;
}

#recommend > ul > li > a {
	display: block;
	width: 670px;
	height: 100px;
	overflow: hidden;
	position: relative;
	margin-bottom: 5px;
}

#recommend > ul > li > a img {
	position: absolute;
	top: -285px;
}

#recommend ul li a time {
	position: absolute;
	background: #fff;
	right: 5px;
	top: 5px;
	padding: 3px 5px;
	border-radius: 5px;
}

#recommend ul li p {
	float: left;
	width: 460px;
}

#recommend ul li ul {
	float: right;
	width: 200px;
}

#recommend ul li ul li {
	margin-bottom: 5px;
}

#recommend ul li ul li a {
	display: inline-block;
	color: #fff;
	background: #007dd5;
	border-radius: 5px;
	padding: 0 3px;
}


/*======================================================================
  footer
======================================================================*/
footer {
	min-width: 960px;
}

footer div p {
	text-align: right;
	margin-bottom: 10px;
}

footer div + div {
	background: #007dd5;
}

footer div small {
	display: block;
	color: #fff;
	width: 960px;
	margin: 0 auto;
	text-align: center;
	padding: 10px 0;
}


/*======================================================================
  index
======================================================================*/
.index h2 {
	color: #007dd5;
	font-size: 24px;
	text-align: center;
	margin-bottom: 5px;
}

.index > p {
	margin-bottom: 30px;
}

.index div {
	border: 10px solid #007dd5;
}

.index div > p {
	padding: 5px 10px;
}

.index div > p span {
	padding-right: 5px;
}

.index div p time {
	padding-right: 5px;
}

.index div > p a {
	font-weight: bold;
	font-size: 16px;
}

.index ul li {
	float: right;
	clear: right;
	width: 340px;
	height: 410px;
	padding: 15px 18px;
	box-sizing: border-box;
	border-top: 10px solid #007dd5;
}

.index ul li:nth-child(odd) {
	float: left;
	clear: left;
	width: 350px;
	border-right: 10px solid #007dd5;
}

.index ul li h3 a {
	font-size: 16px;
	color: #5ebfff;
}

.index ul li p span {
	display: block;
}

.index ul li p span a {
	text-decoration: underline;
}

.index ul li p span a:hover {
	text-decoration: none;
}


/*======================================================================
  category
======================================================================*/
.category > span {
	display: block;
	overflow: hidden;
	position: relative;
	width: 710px;
	height: 155px;
}

.category > span img {
	position: absolute;
	top: -278px;
}

.category h2 {
	background: #007dd5;
	color: #fff;
	font-size: 24px;
	padding: 10px 20px;
	text-align: center;
	margin-bottom: 10px;
}

.category > p {
	margin-bottom: 40px;
}

.category ul li {
	margin-top: 20px;
	padding: 20px;
	background: #007dd5;
	border-radius: 5px;
}

.category ul li > a {
	display: block;
	float: right;
	overflow: hidden;
	position: relative;
	width: 195px;
	height: 160px;
}

.category ul li > a img {
	position: absolute;
	top: -17px;
}

.category ul li div {
	float: left;
	width: 470px;
}
.category ul li div > span {
	display: block;
	margin-bottom: 10px;
	color: #fff;
}
.category ul li h3 a {
	color: #fff;
	font-size: 16px;
}

.category ul li p {
	color: #fff;
}

.category ul li p span {
	display: block;
	margin-top: 20px;
	text-align: right;
}

.category ul li p span a {
	background: #fff;
	padding: 5px;
	border-radius: 5px;
	color: #007dd5;
	font-weight: bold;
}



/*======================================================================
  detail
======================================================================*/
.detailtitle {
	position: relative;
	overflow: hidden;
	height: 300px;
}

.detailtitle:after {
	content: "";
	display: block;
	width: 710px;
	height: 300px;
	position: absolute;
	top: 0;
	left: 0;
	background: #000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
	filter: alpha(opacity=40);
	opacity: 0.4;
}

.detailtitle img {
	position: absolute;
	top: -203px;
}

.detailtitle h2 {
	position: absolute;
	bottom: 10px;
	text-align: center;
	width: 710px;
	color: #fff;
	padding: 0 20px;
	box-sizing: border-box;
	z-index: 3;
}

.detailbox {
	margin-bottom: 20px;
}

.detailbox h3 {
	margin: 30px 0 10px;
	padding: 10px;
	background: #007dd5;
	color: #fff;
	border-radius: 5px;
	font-size: 18px;
}

.detailbox blockquote {
	margin: 10px 0;
	background: #c3e6fe;
	border-top: 5px solid #007dd5;
	padding: 25px 30px;
	position: relative;
}

.detailbox blockquote:after {
	content: '”';
	font-family: sans-serif;
	position: absolute;
	top: -50px;
	left: 10px;
	font-size: 200px;
	color: #fff;
}

.detailbox blockquote p {
	position: relative;
	z-index: 2;
}

.detailbox a {
	display: block;
	color: #5ebfff;
	font-weight: bold;
}

.detailbox p a img {
	vertical-align: bottom;
}

.detail time {
	border-bottom: 2px solid #007dd5;
	padding-bottom: 3px;
}


#wpcf7-f39-o1 {
	margin: 40px 0;
}
/* お問い合わせエラー画面の編集 */
.screen-reader-response {
    display: none;
}
.wpcf7-not-valid-tip {
    color: #dc3232;
}
.wpcf7 form.invalid .wpcf7-response-output {
    border: 2px solid #007dd5;
	color: #dc3232;
    padding: 10px;
    margin-top: 10px;
}
.wpcf7 form.sent .wpcf7-response-output {
    border: 2px solid #007dd5;
    padding: 10px;
    margin-top: 10px;
}

/* お問い合わせ項目の修正 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea{
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
	border: 1px solid #ccc;
}
.wpcf7 p{
	margin-bottom: 15px;
}
.wpcf7 input[type="submit"]{
	background: #007dd5;
	border-radius: 5px;
	color: #fff;
	padding: 8px 16px;
	padding-right: 4px;
	letter-spacing: 12px;
	border: 0;
}
.wpcf7 input[type="submit"]:hover{
	opacity: .5;
}


/* タブレット */
@media screen and (max-width: 959px) {
	* {
		box-sizing: border-box;
	}
	.contents,
	.boxWrap,
	#recommend > ul > li > a,
	.category > span,
	.detailtitle:after,
	.detailtitle h2{
		width: 100%;
	}
	
	header,
	footer{
		min-width: inherit;
	}
	
	.side{
		width:25%;
	}
	.side div p {
		word-break: break-all;
	}
	
	.main {
		width:72%;
	}
	
	#content {
		width: 94%;
	}
	
	header .boxWrap {
		width: 94%;
	}
	.mainvisual > img {
		width: auto;
		min-width: inherit;
		height: 100%;
	}
	.mainvisual > div > div {
		width: 65%;
		max-width: 440px;
		margin-bottom: 15%;
	}
	.mainvisual div div p img {
		width: 100%;
		max-width: 386px;
		height: auto;
	}
	.mainvisual ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.mainvisual ul li {
		width: 48%;
		word-break: break-all;
	}
	.h1box h1,
	.breadcrumb {
		width: 94%;
	}
	.breadcrumb ul li {
		display: inline;
		word-break: break-all;
	}
	
	.index ul li {
		width: 100%;
		height: auto;
		float: none;
	}
	.index ul li:nth-child(2n+1) {
		width: 100%;
		float: none;
		border-right: none;
	}
	
	.category ul li > a {
		width: 50%;
		max-width: 195px;
		margin: 0 0 5px 8px;
	}
	.category ul li > a img {
		top: -50%;
		right: -50%;
		bottom: -50%;
		left: -50%;
		margin: auto;
	}	
	.category ul li div{
		float: none;
		width: 100%;
	}
	.category ul li div h3 {
		margin-bottom: 10px;
	}
	
	.detailtitle {
		height: 200px;
	}
	.detailtitle img {
		width: 100%;
		height: auto;
		top: -50%;
		right: -50%;
		bottom: -50%;
		left: -50%;
		margin: auto;
	}
	.detailbox img{
		width: 100%;
		height:auto;
	}
	
	#recommend > ul > li:first-child {
		margin-bottom: 30px;
	}
	#recommend > ul > li > a {
		margin: 10px auto;
	}
	#recommend ul li p {
		width: 100%;
		margin-bottom: 10px;
	}
	#recommend ul li ul {
		width: auto;
	}
	#recommend ul li ul li {
		padding: 8px;
		background: #007dd5;
		border-radius: 5px;
	}
	#recommend ul li ul li a {
		padding: 0;
		border-radius: initial;
	}
	
	footer{
		width: 100%;
	}
	footer .boxWrap {
		width: 94%;
	}
	footer div small {
		width: 94%;
	}
	
	
}

/* スマートフォン */
@media screen and (max-width: 480px) {
	.mainvisual {
		margin-bottom: 0;
	}
	.mainvisual > div > div {
		width: 90%;
		margin-bottom: 25%;
	}
	.mainvisual div div p {
		margin-bottom: 0;
	}
	.mainvisual ul {
		display: none; /* PC用のグロナビを非表示にする */
	}
	
	#sp-gnav {
		display: block; /* ハンバーガーメニュー用のグロナビを表示する */
		padding: 20px; /* ハンバーガーの三本線が端っこに寄りすぎているので余白入れる */
		position: relative;
	}
	
	/*チェックボックス等は非表示に*/
	.nav-unshown {
		display:none;
	}
	
	/*アイコンのスペース*/
	#nav-open {
		display: inline-block;
		width: 30px;
		height: 22px;
		vertical-align: middle;
	}
	
	/*ハンバーガーアイコンをCSSだけで表現*/
	#nav-open span, #nav-open span:before, #nav-open span:after {
		position: absolute;
		height: 3px;/*線の太さ*/
		width: 25px;/*長さ*/
		border-radius: 3px;
		background: #007dd5;
		display: block;
		content: '';
		cursor: pointer;
	}
	
	#nav-open span:before {
		bottom: -8px;
	}
	
	#nav-open span:after {
		bottom: -16px;
	}
	
	/*閉じる用の薄黒カバー*/
	#nav-close {
		display: none;/*はじめは隠しておく*/
		position: fixed;
		z-index: 99;
		top: 0;/*全体に広がるように*/
		left: 0;
		width: 100%;
		height: 100%;
		background: black;
		opacity: 0;
		transition: .3s ease-in-out;
	}
	
	/*中身*/
	#nav-content {
		overflow: auto;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;/*最前面に*/
		width: 70%;/*右側に隙間を作る（閉じるカバーを表示）*/
		max-width: 330px;/*最大幅（調整してください）*/
		height: 100%;
		background: #007dd5;/*背景色*/
		transition: .3s ease-in-out;/*滑らかに表示*/
		-webkit-transform: translateX(-105%);
		transform: translateX(-105%);/*左に隠しておく*/
	}
	
	#nav-content li {
		padding: 10px;
	}
	
	#nav-content li a {
		color: #fff;
		font-weight: bold;
	}
	
	/*チェックが入ったらもろもろ表示*/
	#nav-input:checked ~ #nav-close {
		display: block;/*カバーを表示*/
		opacity: .5;
	}
	
	#nav-input:checked ~ #nav-content {
		-webkit-transform: translateX(0%);
		transform: translateX(0%);/*中身を表示（右へスライド）*/
		box-shadow: 6px 0 25px rgba(0,0,0,.15);
	}
	
	.main {
		width: 100%;
		float: none;
		margin-bottom: 90px;
	}
	
	.side {
		width: 100%;
		text-align: center;
		float: none;
		margin-bottom: 90px;
	}
	
	#recommend > ul > li > a img {
		top: -85px;
	}
}
