@charset "utf-8";

/* ------------------------------------------------------- */
/* PC・タブレット・スマホ共通設定                          */
/* ------------------------------------------------------- */

/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table.table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

/* 全体の設定
---------------------------------------------------------------------------*/
body {
	color:#555;
	font-size:small;
	font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	line-height:1.5;
	-webkit-text-size-adjust: none;

	overflow-y: scroll;		/* スクロールバー常時表示 TBASE */
}


/* リンク設定
------------------------------------------------------------*/
a{
	/*TBASEcolor: #d1ad93;*/
	color: #c8317a;
	text-decoration:none;
}
a:hover{ color:#ad8a71; }
a:active, a:focus { outline:0; }


/* 全体
------------------------------------------------------------*/
#wrapper {
	margin:0 auto;
	padding:0 1%;
	width:98%;
	position:relative;
	background:#fff;
}

.inner{
	margin:0 auto;
	width:100%;
}


/*************
/* ヘッダー
*************/
#header{
	height:110px;
}

#header h1{
	padding:5px 0 10px;
	font-size:12px;
	font-weight:normal;
}

/*************
/* ロゴ
*************/
.logo{
	float:left;
}

.logo span{display:block;}

/*************
/* 電話番号
*************/
.info{
	float:right;
	text-align:right;
}

.info .open{font-size:11px;}


/*************
/* ロゴ+電話番号
*************/
/*
.logo,.info .tel {
	margin-top: 6px;
	font-size: 20px;
	font-weight: bold;
}
*/
.logo {
	margin-top: 6px;
	font-size: 20px;
	font-weight: bold;
}
.info .tel {
	margin-top: 20px;
	font-size: 16px;
	font-weight: bold;
}

/*
.logo span,.info span{
	font-size:.6em;
	font-weight:normal;
}
*/
.logo span {
	font-size:.6em;
	font-weight:normal;
}
.info span{
	font-size:.8em;
	font-weight:normal;
}



/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
	margin:10px auto;
	padding:0;
	position:relative;
	line-height:0;
	/*border-top:2px solid #ebebeb;*/
	border-bottom:2px solid #ebebeb;
	text-align:center;
}

#mainBanner img{
	max-width:100%;
	height:auto;
}

.slogan{
	position:absolute;
	max-width:100%;
	height:auto;
	bottom:20px;
	left:0;
	padding:5px 10px;
	line-height:1.4;
	text-align:left;
}

.slogan h2{
	padding-bottom:5px;
	font-size:16px;
}

#subpage #mainBanner{margin-top:0;}


/**************************
/* サブ画像（サブページ）
**************************/
#subBanner{
	margin:10px auto;
	padding:0;
	position:relative;
	line-height:0;
	/*border-top:2px solid #ebebeb;*/
	border-bottom:2px solid #ebebeb;
	text-align:center;
}

#subBanner img{
	max-width:100%;
	height:auto;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
	padding-bottom:20px;
	overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
	float:left;
}

.box{
	padding:10px;
	text-align:center;
}

.box img{
	max-width:100%;
	height:auto;
}

.box h3{padding:10px 0 5px;}

.box h3, .box p{text-align:left; }

.box p.readmore{
	padding:10px 5px 5px;
	text-align:right;
}

.box p.readmore a{
	padding:3px 7px;
	border-radius:3px;
	color:#fff;
	background:#d1ad93;
}

.box p.readmore a:hover{background:#ad8a71;}


/*************
メイン コンテンツ
*************/
section.content article{
	padding: 5px 0;
	margin-bottom: 10px;
	/* TBASE border:1px solid #ebebeb;*/
	overflow:hidden;
}

* html section.content article{height:1%;}

section.content p{margin-bottom:5px;}

h3.heading{
/*
	font-weight: bold;
	padding: 10px 0;
	margin-bottom:5px;
	border-top:3px double #ebebeb;
	border-bottom:3px double #ebebeb;
*/
	font-weight: bold;
	padding: 10px 10px;
	background: #c8317a;
	color: #fff;
	font-size: 14px;
	margin-bottom: 15px;
}

h3.headingsub{
	font-weight: bold;
	padding: 10px 0;
	margin-bottom:5px;
	border-top:3px double #ebebeb;
	border-bottom:3px double #ebebeb;
/*
	font-weight: bold;
	padding: 10px 10px;
	background: #c8317a;
	color: #fff;
	font-size: 14px;
*/
}

h3.heading2{
	font-weight: bold;
	padding: 0 4px;
	line-height: 36px;
	color: #333;
	background: #f1f1f1;
	margin-bottom: 10px;
	border-left: 5px solid #3f4360;
}

section.content img{
	max-width:90%;
	height:auto;
}

.alignleft{
	float:left;
	clear:left;
	margin:3px 10px 10px 0;
}

.alignright{
	float:right;
	clear:right;
	margin:3px 0 10px 10px;
}

#gallery .grid{background:transparent;}

#gallery .grid img,.border{box-shadow:0 0 3px #ccc;}


/*************
テーブル
*************/
table.table{
	border-collapse:collapse;
/*TBASE	margin:5px auto 15px auto;*/
}

table.table td{
	border-collapse:collapse;
/*	background-color:#F9F9F9;*/
	text-align:left;
	padding:8px;
	border:1px solid #D6D6D6;
	line-height:20px;
}

table.table th{
	background-color:#F5F5F5;
	text-align:left;
	padding:8px;
	white-space:nowrap;
	color: #151515;
	border-top:1px solid #D4D4D4;
	border-right:1px solid #D4D4D4;
	border-bottom:1px solid #D4D4D4;
	border-left:1px solid #D4D4D4;
	font-size:13px;
	font-weight:normal;
	letter-spacing:1px;
	background-repeat:repeat-x;
	background-position:top;
}


/*************
/* サイドバー
*************/
#sidebar ul{padding:10px;}

#sidebar li{
	margin-bottom:10px;
	padding-bottom:10px;
	list-style:none;
	border-bottom:1px dashed #ebebeb;
}

#sidebar li:last-child{
	border:0;
	margin-bottom:0px;
}

#sidebar li a{
	display:block;
}

#sidebar ul.list li{
	clear:both;
	margin-bottom:5px;
	padding:5px 0;
	overflow:hidden;
	border:0;
}

ul.list li{height:1%;}

ul.list li img{
	float:left;
	margin-right:10px;
}

ul.list li{
	font-size:12px;
	line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
	clear:both;
}

#footer .inner{
	border-top: 2px solid #ebebeb;
	border-bottom: 2px solid #ebebeb;
	overflow: hidden;
}

* html #footer .inner{height:1%;}

#footer .grid{
	margin:0;
}

#footer #info .logo, #footer #info .info{float:none;}

#footer #info .info{
	clear:both;
	text-align:left;
}

#footer .logo{font-size:18px;}

#footer .info .tel,#footer .info .tel span,#footer #info .open{
	font-size:12px;
}

ul.footnav{
	float:right;
	width:630px;
	padding:10px 0;
}

ul.footnav li{
	float:left;
	margin-bottom:10px;
	padding:0 7px 0 8px;
	border-right:1px solid #ebebeb;
}

address{
	clear:both;
	padding:20px 0;
	text-align:center;
	font-style:normal;
	font-size:12px;
	color:#555;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
	padding-left: 0px;
	/*margin-bottom: 15px;*/
	/*overflow: auto;	/*高さ指定を超えるとiframe風にスクロールが出る設定。全部表示させたいならこの行と下のheightの行を削除。*/
	/*height: 240px;	/*ボックスの高さ*/
}
/*日付設定*/
#new dt {
	font-weight: bold;	/*太字にする設定。標準がいいならこの行削除。*/
/*	float: left;*/
/*	width: 8em;*/
	width: 50em;
}
/*記事設定*/
#new dd {
	/*padding-left: 8em;		左側余白 */
	padding-bottom: 10px;
}
#new a {
	color: #c8317a;
}
#newinfo {
}

#newinfo .newicon {
	margin-left: 30px;
	vertical-align: middle;
}

#new h2 {
	clear: both;
	position: relative;		/* 相対位置 */
	margin-bottom: 15px;
	font-size: 1.2em;
	color: #7b6459;			/* 文字色 */
	border-bottom: solid 1px #7b6459;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new_top dl {
	padding-left: 0px;
	/*margin-bottom: 15px;*/
	/*overflow: auto;	/*高さ指定を超えるとiframe風にスクロールが出る設定。全部表示させたいならこの行と下のheightの行を削除。*/
	/*height: 240px;	/*ボックスの高さ*/
}
/*日付設定*/
#new_top dt {
	font-weight: bold;	/*太字にする設定。標準がいいならこの行削除。*/
/*	float: left;*/
}
/*記事設定*/
#new_top dd {
	/*padding-left: 8em;		左側余白 */
	padding-bottom: 10px;
}
#newinfo {
}

#new_top a {
	/*color: #555555;*/
}

#newinfo .newicon {
	margin-left: 30px;
	vertical-align: middle;
}

#new_top h2 {
	clear: both;
	position: relative;		/* 相対位置 */
	margin-bottom: 15px;
	font-size: 1.2em;
	color: #7b6459;			/* 文字色 */
	border-bottom: solid 1px #7b6459;
}


/* よくある質問 TBASE
---------------------------------------------------------------------------*/
/* --- 全体枠 --- */
#faq {
	background-color: #FFFFFF;
	margin-bottom: 5px;
	padding: 0px;
	font-family: "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	line-height: 180%;
}

/* --- 見出しエリア --- */
#faq .heading {
	width: 100%;			/* 見出しエリアの幅 */
	margin-bottom: 1em;
	padding: 4px 0;			/* 見出しエリアのパディング（上下、左右） */
	border-bottom: 1px #c0c0c0 solid; /* 見出しエリアの下境界線 */
	/*color: #c8317a;*/
	color: #555;
}

/* --- 見出し --- */
#faq .heading h3 {
	margin: 0;
	padding: 3px 3px 0 5px;			/* 見出しのパディング（上右下左） */
/*	border-left: 5px #73b5e4 solid; /* 見出しの左境界線 */
	font-size: 110%;				/* 見出しの文字サイズ */
	line-height: 100%;
	background: #fff;
	font-weight: bold;
}

#faq ul {
	display: block;
	list-style-type: upper-latin;
	margin-bottom: 10px;
	-webkit-margin-before: 1em;
	-webkit-margin-after: 1em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 0px;
}

#faq li {
	list-style-type: none;
	display: list-item;
	text-align: -webkit-match-parent;
	margin-left: 0px;
	color: #0000ff;
	font-weight: bold;
}

#faq li span {
	color: #000;
	font-weight: normal;
}

/* リスト汎用 TBASE
---------------------------------------------------------------------------*/
/* --- 全体枠 --- */
#listCommon {
	background-color: #FFFFFF;
	margin-bottom: 5px;
	padding: 0px;
	font-family: "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	line-height: 180%;
}

/* --- 見出しエリア --- */
#listCommon .heading {
	width: 100%;
}

/* --- 見出し --- */
#listCommon .heading h3 {
	margin: 0;
	padding: 0px 3px 0 0px;			/* 見出しのパディング（上右下左） */
	font-size: 100%;				/* 見出しの文字サイズ */
	line-height: 90%;
	background: #fff;
	font-weight: bold;
}

#listCommon ul {
	display: block;
	list-style-type: upper-latin;
	margin: 0;
	-webkit-margin-before: 0.8em;
	-webkit-margin-after: 1em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 0px;
}

#listCommon li {
	list-style-type: none;
	display: list-item;
	text-align: -webkit-match-parent;
	margin-left: 20px;
	/*color: #0000ff;*/
	font-weight: bold;
}

#listCommon li span {
	/*color: #c8317a;*/
	font-weight: normal;
}

/* 利用規約
---------------------------------------------------------------------------*/
/* --- 見出しエリア --- */
#term .heading {
	width: 100%; /* 見出しエリアの幅 */
	margin-bottom: 1em;
	padding: 4px 0; /* 見出しエリアのパディング（上下、左右） */
	border-bottom: 1px #c0c0c0 solid; /* 見出しエリアの下境界線 */
}

/* --- 見出し --- */
#term .heading h3 {
	margin: 0;
	padding: 3px 3px 0 5px; /* 見出しのパディング（上右下左） */
	border-left: 5px #73b5e4 solid; /* 見出しの左境界線 */
	font-size: 110%; /* 見出しの文字サイズ */
	line-height: 100%;
	background: #fff;
}

#term {
	background-color: #FFFFFF;
	margin-bottom: 5px;
	padding: 10px;
	font-family: "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	line-height: 200%;
}

#term ul {
	display: block;
	list-style-type: decimal;
	-webkit-margin-before: 1em;
	-webkit-margin-after: 1em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 10px;
}

#term li {
	list-style-type: decimal;
	display: list-item;
	margin-left: 15px;
	text-align: -webkit-match-parent;
}

/* テーブル（汎用）
---------------------------------------------------------------------------*/
table.ta_common{
	border-collapse:collapse;
	width: 100%;
}

table.ta_common td{
	border-collapse:collapse;
	text-align:left;
	padding:8px;
	border:1px solid #D6D6D6;
	line-height:20px;
}

table.ta_common th{
	width: 25%;
	background-color:#F5F5F5;
	text-align:left;
	padding:6px;
	white-space:nowrap;
	color: #151515;
	border-top:1px solid #D4D4D4;
	border-bottom:1px solid #D4D4D4;
	border-left:1px solid #D4D4D4;
	border-right:1px solid #D4D4D4;
	font-size:12px;
	font-weight:normal;
	letter-spacing:1px;
	background-repeat:repeat-x;
	background-position:top;
}

/* テーブル（各種申請書ダウンロードページ）
---------------------------------------------------------------------------*/
table.ta_form {
	border-collapse:collapse;
	width: 100%;
}

table.ta_form td{
	border-collapse:collapse;
	text-align:left;
	padding:8px;
	border:1px solid #D6D6D6;
	line-height:20px;
}

table.ta_form th{
	width: 25%;
	background-color:#F5F5F5;
	text-align:left;
	padding:6px;
	white-space:nowrap;
	color: #151515;
	border-top:1px solid #D4D4D4;
	border-bottom:1px solid #D4D4D4;
	border-left:1px solid #D4D4D4;
	border-right:1px solid #D4D4D4;
	font-size:12px;
	font-weight:normal;
	letter-spacing:1px;
	background-repeat:repeat-x;
	background-position:top;
}
table.ta_form td.col1 {
	width: 40%;
}
table.ta_form td.col2 {
	width: 40%;
}

/* テーブル（ZCC血統書ページ）
---------------------------------------------------------------------------*/
table.ta_studbook {
	border-collapse:collapse;
	width: 100%;
}

table.ta_studbook td{
	border-collapse:collapse;
	text-align:left;
	padding:8px;
	border:1px solid #D6D6D6;
	line-height:20px;
}

table.ta_studbook th{
	width: 28%;
	background-color:#F5F5F5;
	text-align:left;
	padding:6px;
	white-space:nowrap;
	color: #151515;
	border-top:1px solid #D4D4D4;
	border-bottom:1px solid #D4D4D4;
	border-left:1px solid #D4D4D4;
	border-right:1px solid #D4D4D4;
	font-size:12px;
	font-weight:normal;
	letter-spacing:1px;
	background-repeat:repeat-x;
	background-position:top;
}

/* テーブル（キャットショー）
---------------------------------------------------------------------------*/
table.ta_catshow {
	border-collapse:collapse;
	width: 100%;
}

table.ta_catshow td{
	border-collapse:collapse;
	text-align:left;
	padding:8px;
	border:1px solid #D6D6D6;
	line-height:20px;
}

table.ta_catshow th{
	background-color:#F5F5F5;
	text-align:left;
	padding:6px;
	white-space:nowrap;
	color: #151515;
	border-top:1px solid #D4D4D4;
	border-bottom:1px solid #D4D4D4;
	border-left:1px solid #D4D4D4;
	border-right:1px solid #D4D4D4;
	font-size:12px;
	font-weight:normal;
	letter-spacing:1px;
	background-repeat:repeat-x;
	background-position:top;
}
table.ta_catshow th.col1{
	width: 25%;
}

/* テーブル（キャットマイスター）
---------------------------------------------------------------------------*/
table.ta_catmeister {
	border-collapse:collapse;
	table-layout: fixed;
	width: 100%;
}

table.ta_catmeister td{
	border-collapse:collapse;
	text-align:left;
	padding:8px;
	border:1px solid #D6D6D6;
	line-height:20px;
	word-wrap:break-word;
}

table.ta_catmeister th{
	background-color:#F5F5F5;
	text-align:left;
	padding:6px;
	white-space:nowrap;
	color: #151515;
	border-top:1px solid #D4D4D4;
	border-bottom:1px solid #D4D4D4;
	border-left:1px solid #D4D4D4;
	border-right:1px solid #D4D4D4;
	font-size:12px;
	font-weight:normal;
	letter-spacing:1px;
	background-repeat:repeat-x;
	background-position:top;
}
table.ta_catmeister th.col1{
	width: 25%;
}

/* テーブル（お問い合わせフォーム）
---------------------------------------------------------------------------*/
.ta_contact {
	width: 100%;
	margin-bottom: 15px;
}
.ta_contact, .ta_contact td, .ta_contact th {
	border: 1px solid #eee;		/*テーブルの枠線の幅、線種、色*/
	padding: 4px;				/*ボックス内の余白*/
	font-size: 12px;
	word-break: break-all;
}
/* テーブル１行目に入った見出し部分 */
.ta_contact th.tamidashi {
	width: 200px;
	text-align: left;			/*左よせ*/
	background: #e2e2e3;		/*背景色*/
	color: #000;
	font-weight: normal;
	font-size: 12px;
}
/*左側ボックス*/
.ta_contact th {
	width: 140px;				/*幅*/
	text-align: center;			/*センタリング*/
}

/* テーブル（汎用）
---------------------------------------------------------------------------*/
table.ta_law{
	border-collapse:collapse;
	width: 100%;
}

table.ta_law td{
	border-collapse:collapse;
	text-align:left;
	padding:8px;
	border:1px solid #D6D6D6;
	line-height:20px;
}

table.ta_law th{
	width: 25%;
	background-color:#F5F5F5;
	text-align:left;
	padding:6px;
	white-space:nowrap;
	color: #151515;
	border-top:1px solid #D4D4D4;
	border-bottom:1px solid #D4D4D4;
	border-left:1px solid #D4D4D4;
	border-right:1px solid #D4D4D4;
	font-size:12px;
	font-weight:normal;
	letter-spacing:1px;
	background-repeat:repeat-x;
	background-position:top;
	vertical-align: middle;
}

/* 「必須」マーク
---------------------------------------------------------------------------*/
.required {
}

.required:after {
	padding: 0px 4px;
    color: #FFF;
	position: relative;
	float: right;
    content: " 必須 ";
	background: #FF0000;
	font-size: 11px;
}

/*スマートフォン専用メニュー*/
.spMenu1 {
  display:none;
}

/* 入力エラーメッセージ
---------------------------------------------------------------------------*/
.error_msg {
	padding: 2px;
	font-size: 12px;
	font-weight: bold;
	color: red;
}

.tel-number a {
	color:#555;
	text-decoration:none;
}

/* ZCCについて代表写真
---------------------------------------------------------------------------*/
.box {
	width: 100%;
}
.box-inner {
	float: right;
	width: 50%;
}

.box-img {
	width: 20%;
	display: inline-block;
	vertical-align: middle;
}

.box-text {
	display: inline-block;
	vertical-align: middle;
	text-align: right;
}

/* 下部のバナー
---------------------------------------------------------------------------*/
#banner {
	clear: both;
	margin: 4px auto;
	width: 970px;
	text-align: center;
}

.free_Box {
	line-height: 55px;
	text-align: center;
}

.free_Box img {
	vertical-align: middle;
}


/* PC用
------------------------------------------------------------*/
/* 画面サイズが960pxからはここを読み込む */

@media only screen and (min-width: 960px){
	#wrapper,#header,.inner{
	width:960px;
	padding:0;
	margin:0 auto;
	}
	
	#wrapper{padding-bottom:20px;}
	
  nav#mainNav{
	clear:both;
	overflow:hidden;
	position:relative;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	_float:left;
	font-size:13px;
	width:160px;
	padding:20px 0;
  border-top:2px solid #ebebeb;
	border-bottom:2px solid #ebebeb;
	}
	
	nav#mainNav ul li.last a{width:159px;}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#bababa;
	font-size:10px;
	}

	nav div.panel{
	display:block !important;
	float:left;
	}

	a#menu{display:none;}

	nav#mainNav li.active a,nav#mainNav li a:hover{
	/*border-color:#d1ad93;*/
	border-color:#b33e5c;
	}
	
	#main{
	float:right;
	width:680px;
	padding:15px 0 0 0;
	}
	
	#sidebar{
	float:left;
	width:250px;
	padding:15px 0 0 0;
	overflow:hidden;
	}
	
	#sidebar article{
	padding:7px;
	margin-bottom:20px;
	border:1px solid #ebebeb;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:990px;
	margin:0 0 0 -30px;
	}
	
	#gallery article{padding:10px 0 10px 10px;}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-left:30px;
	}
	
	#subpage .grid{width:auto;}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}
	
	#footer .inner{
	width:940px;
	padding:10px;
	}
}


/* ------------------------------------------------------- */
/* max-width:800px tablet Base --------------------------- */
/* スマートフォン */
/* ------------------------------------------------------- */

/* 959pxまでの幅の場合に適応される */
@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	#header{padding:0 10px;}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
	background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	border:1px solid #e4e4e4;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a.menu span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{
	border-top:1px solid #e4e4e4;
	}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a{color:#ad8a71;}

	nav div.panel{float:none;}
	
	#subpage #mainBanner{margin-top:20px;}

	#subpage #subBanner{margin-top:20px;}
	
	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0;}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	
	#gallery .grid{
	float:left;
	width:31%;
	margin:0 0 0 1%;
	}
	
	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}
	
	#footer.logo,#footer .info{
	width:100%;
	float:none;
	}

	/* テーブル（ZCC血統書ページ）
	---------------------------------------------------------------------------*/
	table.ta_studbook th{
		width: 35%;
	}

	/* スマートフォン専用メニュー
	---------------------------------------------------------------------------*/
	.spMenu1 {
		display:block;
		position:fixed;
		bottom:0;
		left:0;
		overflow:hidden;
		background:#c8317a;
		z-index:9998;
		width:100%;
	}
	.spMenu1 ul {
		width:100%;
		display:table;
		table-layout:fixed;
		border-top:1px solid #65ae5c;
		border-bottom:1px solid #65ae5c;
		-moz-box-shadow: 0px 0px 5px #666666;
		-webkit-box-shadow: 0px 0px 5px #666666;
		box-shadow: 0px 0px 5px #666666;
	}
	.spMenu1 ul li {
		display:table-cell;
		background:#c8317a;
	}
	.spMenu1 a {
		text-decoration:none;
		color:#fff;
		padding:5px;
		display:block;
	}
	.spMenu1 a:hover {
		background:#c8317a;
	}
	.spMenu1 ul li span {
		display:block;
		text-align:center;
		font-size:0.65em;
	}
	.spMenu1 ul li span[class*="fa"] {
		font-size:1.7em;
	}

	/*************
	/* 電話番号
	*************/
	.info{
		width: 100%;
	}
	.info .tel {
		text-align: center;
		margin-top: 5px;
		font-size: 16px;
		font-weight: bold;
	}

	/* ZCCについて代表写真
	---------------------------------------------------------------------------*/
	.box {
		width: 100%;
		float: left;
	}
	.box-inner {
		width: 100%;
		text-align: right;
	}

	/* 下部のバナー
	---------------------------------------------------------------------------*/
	#banner {
		width: 100%;
	}

	#banner .free_Box {
		text-align: center;
	}
}


/* ------------------------------------------------------- */
/* max-width:480px tablet Base --------------------------- */
/* スマートフォン */
/* ------------------------------------------------------- */

/* スマートフォン 縦(ポートレート) */
/* 480pxまでの幅の場合に適応される */
@media only screen and (max-width:480px){

	.grid{width:100%;}
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner p{font-size:80%;}
	#subBanner h2,#subBanner p{font-size:80%;}
	#sidebar p{text-align:left;}

	/* お問合せ
	---------------------------------------------------------------------------*/
	/* --- 見出しエリア --- */
	.ta_contact {
		width: 100%;
	}

	.ta_contact .last td:last-child {
		border-bottom: solid 1px #ccc;
		width: 100%;
	}

	.ta_contact th {
		border-bottom: none;
		display: block;
		width: 96%;
	}

	.ta_contact td {
		border-bottom: none;
		display: block;
		width: 96%;
	}

	.ta_contact th.tamidashi {
		width: 96%;
	}

	/* ZCCについて代表写真
	---------------------------------------------------------------------------*/
	.box {
		width: 100%;
		float: left;
	}
	.box-inner {
		width: 100%;
		text-align: right;
	}

	/* 下部のバナー
	---------------------------------------------------------------------------*/
	#banner {
		width: 100%;
	}

	#banner .free_Box {
		text-align: center;
	}

}

