@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
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,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,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;font-weight:normal;
}

body {
	line-height:1;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
	display:block;
}

ul {
	list-style:none;
}

blockquote,q {
	quotes:none;
}

blockquote:before,blockquote:after,q:before,q:after {
	content:none;
}

a {
	margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;
}

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 #ccc;margin:1em 0;padding:0;
}

input,select {
	vertical-align:middle;
}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size:16px;
	color:#333;
	font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG角ｺﾞｼｯｸM-PRO", "HGKakuGothicMPRO", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height:1.6;
	background-image:url(../images/cow_back.png);
	background-repeat:no-repeat;
	background-position:right bottom;
	background-color:rgba(255,255,255,0.9);
	background-blend-mode:lighten;
	background-attachment: fixed;
	
}

.inner {
	position:relative;
	width:940px;
	max-width:100%;
	margin:0 auto;
	padding:0 10px;
	box-sizing:border-box;
}

header {
	box-sizing:border-box;
	position:relative;
	width:100%;
	background:#fff;
}


#contents {
	overflow:hidden;
	width:940px;
	max-width:100%;
	margin:auto auto;
	padding:0 10px;
	box-sizing:border-box;
}

#main {
	box-sizing:border-box;
	overflow:hidden;
	margin-left: 0px;
	margin-right: 0px;
	margin-top:0px
}

#sub {
	box-sizing:border-box;
	overflow:hidden;
	float:right;
	width:28%;
}

footer {
	box-sizing:border-box;
	width:100%;
	margin:0 auto;
}

a {
	color:#333;
	text-decoration:underline;
}
a:hover {
	color:#333;
	text-decoration:none;
}

hr {
	width:100%;
	border:none;
	border-bottom:1px solid #00a33e;
	border-image:linear-gradient(to right, #00a33e 0%, #f29300 100%);
	border-image-slice: 1;

}

h1 {
	letter-spacing:3px;
	font-size:36px;
	font-weight:bold;
	text-align:center;
	color:#00a33e;
}

h2 {
	padding:10px 0;
	height:80px;
	font-size:32px;
	letter-spacing:5px;
	background-image:url(../images/cow_icon.png);
	background-repeat:no-repeat;
	color:#00a33e;
	text-align:center;
	line-height: 80px;
	font-weight:bold;
	border-bottom:3px solid #00a33e;
	border-image:linear-gradient(to right, #00a33e 0%, #f29300 100%);
	border-image-slice: 1;
}

h3 {
	margin:10px auto;
	padding:2px 5px;
	color:#dd2525;
	font-size:42px;
	letter-spacing:5px;
	font-weight:bold;
	text-align:center;
}

h4 {
	margin-bottom:0.25em;
	font-size:18px;
	font-weight:bold;
	color:#00a33e;
	border-bottom:1px solid #00a33e;
	border-image-slice: 1;}

h5 {
	position:relative;
	margin-bottom:0.25em;
	padding-left:10px;
	color:#104ccc;
	font-size:14px;
	font-weight:bold;
}
h5:before {
	content:"";
	margin-top:-7px;
	position:absolute;
	top:50%;
	left:0;
	width:5px;
	height:14px;
	background:#0a1cbb;
}

h6 {
	margin-bottom:0.25em;
	color:#382400;
	font-size:14px;
	font-weight:bold;
}

.sp-break {
	display:none;
}

p {
	margin:0 0 1em 0;
}

img {
	vertical-align:bottom;
}

em {
	font-weight:bold;
}

strong {
	font-weight:bold;
	color:#ff0000;
}

pre {
	margin:1em 0;
	padding:1em;
}

blockquote {
	margin-bottom:1em;
	padding:1em;
	border:1px dotted #ddd;
	border-left:5px solid #ddd;
}

ul,ol,dl {
	margin:0 0 1em 0;
}
ul li {
	list-style:square;
}
ol li {
	list-style:decimal;
}
li {
	margin-left:2em;
}

dt {
	margin-bottom:0.5em;
	border-bottom:1px dotted #ddd;
}
dt:before {
	content:"\0025a0";
}
dd {
	margin-bottom:1em;
}

table {
	width:100%;
	margin-bottom:1em;
	border-collapse:collapse;
	border:1px solid #ddd;
	background:#fff;
}
th {
	padding:10px;
	text-align:center;
	vertical-align:middle;
	border:3px solid #fff;
	background:#faf7ed;
	font-size:32px;
	letter-spacing:2px;
}
td {
	padding:10px;
	text-align:left;
	border:1px solid #ddd;
	width:82%;
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
	padding:30px 10px 10px 10px;
	border-bottom:1px solid #00a33e;
}

.head_content a img {
	width:135px;
}

.summary {
	position:absolute;
	top:10px;
	right:25px;
	margin:0;
	padding-top: 10px;
}

/*================================================
 *  コンテンツ
 ================================================*/
.b-red {
	color:#f11;
	font-weight:bold;
}

.col_2 {
	display: flex;
	justify-content: center;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}

.col_2 > .col_left{
	width:36%;
	margin:1% 0%;
}

.col_2 > .col_right{
	width:60%;
	margin:1% 0 1% 2%;;
	padding:0 0 0 2%; ;
}

.col_2 > div {
	width:48%;
}

.col_2 > a {
	width:38%;
}

#cow_number {
	width:46%;
	margin:5px auto;
	padding:10px;
	background-color:#faf7edcc;
}

.back_cream {
	background-color:#faf7edcc;
	padding:10px 0;
}

.section-10 {
	margin:10px 0 0 0 ;
}

.section-15 {
	margin:15px 0 0 0 ;
}

.section-20 {
	margin:20px 0 0 0 ;
}

.section-30 {
	margin:30px 0 0 0 ;
}

.button {
	display:block;
	height:60px;
	background-color:#f29300;
	color:#fff;
	text-align:center;
	text-decoration:none;
	letter-spacing:2px;
	padding:20px 5px;
	margin:5px 26px;
	border-radius:5px;
	transition-duration: 0.3s;
	transition-timing-function: ease;
	transition-delay: 0s;
	box-shadow: 4px 4px 1px #555;
}

.button:hover {
	background-color:#ffad2f;
	transition-duration: 0.3s;
	transition-timing-function: ease;
	transition-delay: 0s;
	box-shadow: 1px 1px 1px #999;
}

.button div {
	text-align:center;
	color:#fff;
	font-size:22px;
	font-weight:bold;
	line-height:32px;
}

.button div span {
	font-weight:bold;
	font-size:75%;
}

.button2 {
	display:block;
	background-color:#c7c7c7;
	color:#111;
	text-align:center;
	text-decoration:none;
	letter-spacing:2px;
	padding:10px;
	border-radius:5px;
	margin:4% 10px;
	font-size:80%;
	transition-duration: 0.3s;
	transition-timing-function: ease;
	transition-delay: 0s;
	box-shadow: 1px 1px 1px #555;
}

.button2:hover {
	background-color:#b3b3b3;
	color:#111;
	transition-duration: 0.3s;
	transition-timing-function: ease;
	transition-delay: 0s;
	box-shadow: 1px 1px 1px #555;
}

.button2 div {
	display:block;
}

.search_input {
	padding:10px;
	line-height:1;
	font-size:16px;
}

.submit_button {
	padding:7px;
	line-height: 1;
	font-size:16px;
	width:84px;
	letter-spacing:3px;
	text-align:center;
}

#traceability {
	width:665px;
	max-width:100%;
	margin:0 auto;
	padding:0 10px;
	box-sizing:border-box;
}

.yellow_square > li {
	color:#f29300;
}

.yellow_square > li > span {
	color:#000;
}


/*================================================
 *  フッター
 ================================================*/
footer {
	clear:both;
}

.copyright {
	clear:both;
	padding:20px 0;
	font-size:11px;
	text-align:center;
	color:#666;
	background:#fff;
	border-top:1px solid #00a33e;
}


/*================================================
 *  タブレット向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width:979px) {
	.inner {
		width:100%;
	}

	#contents {
		box-sizing:border-box;
		width:100%;
		padding:3px 0px;
	}

	footer {
		width:100%;
	}
	
	th {
		width:22%;
	}
	
	td {
		width:78%;
	}
}

/*================================================
 *  スマートフォン向けデザイン
 ================================================*/

@media screen and (max-width: 900px) {
	
	h1 {
		font-size: 24px;
	}

	h2 {
		font-size: 24px;
	}
	
}

@media screen and (max-width:767px) {

	header {
		z-index:2;
		box-sizing:border-box;
		position:fixed;
		width:100%;
	}

	#main {
		float:none;
		width:100%;
		margin-top:100px;
	}

	.head_content a img{
		padding-left:5px;
	}

	.summary {
		right:5px;
		font-size: 18px;
	}

	h1 {
		font-size: 18px;
		letter-spacing: 1px;
	}

	h2 {
		font-size: 18px;
	}
	h3 {
		font-size: 22px;
	}

	th {
		font-size: 20px;
		padding: 8px 5px;
		background: #faf7ed;
	}

	table {
		background: #fff;
	}

	.col_2 > .col_left,
	.col_2 > .col_right {
		width: 100%;
		margin: 1% 0;
		padding: 0;
	}

	.col_2 > .col_left img {
		max-width: 280px;
		margin: 0 auto;
		display: block;
	}

	#cow_number {
		width: 100%;
		padding: 10px 5px;
		box-sizing: border-box;
	}

	.button {
		margin: 5px 5px;
		height: auto;
		padding: 15px 5px;
		box-sizing: border-box;
	}

	.button div {
		font-size: 16px;
		line-height: 1.4;
	}

	.yellow_square {
		padding: 0 5px;
	}

	.yellow_square > li {
		margin-left: 1.2em;
	}

	.search_input {
		width: 60%;
		min-width: 150px;
	}

	.submit_button {
		width: 30%;
		min-width: 70px;
		padding: 10px 5px;
	}

	.sp-break {
		display:inline;
	}
}

@media screen and (max-width: 510px) {

	.summary {
		font-size: 14px;
		top: 15px;
	}

	h1 {
		font-size: 14px;
		letter-spacing: 0px;
	}

	h2 {
		font-size: 14px;
		background-size: 30px;
		background-position: left center;
		height: auto;
		line-height: 1.4;
		padding: 10px 5px 10px 38px;
		letter-spacing: 0px;
	}

}

