@charset "utf-8";
/*==================================================
	スマホのみに適用
==================================================*/
@media only screen and (max-width: 640px){
	body { font-size: 85%; }
	.dsp_hp, .dsp_hpt { display: none; }

	/* タイトル */
	#header {
		padding: 20px 0;
	}
	#header h1.title img {
		width: 90px;
	}
	/* コンテナ */
	.page_title {
		padding-top: 105px;
	}
	#wrap, #footer {
		min-width: 320px;
	}
	#container h3.sub {
		font-size: 40px;
		margin-bottom: 30px;
	}
	#container h3.sub span {
		font-size: 18px;
	}
	#page_title.sub {
		height: 200px;
		padding-top: 80px;
	}
	/* フッター */
	#footer .bg {
		height: auto;
		padding: 20px 0;
	}
	#footer ul {
		display: block;
		text-align: left;
	}
	#footer ul li+li {
		margin-top: 6px;
	}
	#footer ul li a span,
	#footer ul li a span::after {
		display: inline-block;
	}
	#footer ul li a span::after {
		width: 10px;
		margin: 0 10px;
		vertical-align: middle;
	}
	/* 枠のマージン・パディング */
	.mb { margin-bottom: 40px; }
	.pt { padding-top: 40px; }
	.pb { padding-bottom: 40px; }
	/*--------------------------------------------------
		トップページ
	--------------------------------------------------*/
	/* お知らせ */
	#top_info h2 {
		margin-bottom: 6px;
	}
	#top_info .ttl {
		margin-bottom: 10px;
	}
	#top_info dt {
		width: 40%;
	}
	#top_info dt img {
		height: 27vw;
	}
	#top_info dd {
		width: 60%;
		padding: 15px;
		padding-right: 0;
	}
	/* コンテンツ */
	#top_contents dl {
		width: 50%;
	}
	#top_contents dd {
		font-size: 120%;
	}
	#top_contents .photo {
		width: 45%;
	}
	#aboutus {
		width: calc(215px / 1.8);
	}
	#breeding-menu {
		width: calc(235px / 1.8);
	}
	#forsale {
		width: calc(272px / 1.8);
	}
	#recruit-menu {
		width: calc(200px / 1.8);
	}
	#history-menu {
		width: calc(232px / 1.8);
	}
	/**/
	#top-mv {
		padding-top: 40px;
		padding-bottom: 100px;
	}
	/*--------------------------------------------------
		生産馬名簿
	--------------------------------------------------*/
	#breeding h3 {
		font-size: 18px;
		padding: 5px 5px 5px 10px;
	}
	#breeding .scroll {
		overflow: auto;
		white-space: nowrap;
	}
	#breeding .scroll::-webkit-scrollbar {
		height: 5px;
	}
	#breeding .scroll::-webkit-scrollbar-track {
		background: #F1F1F1;
	}
	#breeding .scroll::-webkit-scrollbar-thumb {
		background: #BCBCBC;
	}
	#breeding table {
		font-size: 13px;
	}
	#breeding table tr th, #breeding table tr td {
		padding: 3px;
	}
	/*--------------------------------------------------
		売馬情報
	--------------------------------------------------*/
	#sale .selection_sale .box .img {
		width: 100%;
	}
	#sale .selection_sale .box .img ul {
		margin-top: 1%;
	}
	#sale .selection_sale .box .img ul li {
		width: 32%;
	}
	#sale .selection_sale .box .info h4 span {
		margin-right: 15px;
		font-size: 35px;
	}
	@media only screen and (max-width: 320px){
		#sale .selection_sale .box .info h4 {
			font-size: 16px;
		}
		#sale .selection_sale .box .info h4 span {
			font-size: 30px;
		}
	}
	#sale .selection_sale .box .info table {
		margin-bottom: 15px;
	}
	#sale .selection_sale .box .info table tr th {
		width: 80px;
	}
	#sale .selection_sale .box .info .link {
		padding: 10px;
		line-height: 1.6;
	}
	#sale .select_sale .box .sec dl dt {
		font-size: 16px;
	}
	/*--------------------------------------------------
		求人情報
	--------------------------------------------------*/
	#recruit .line span {
		line-height: 2;
		padding-bottom: 5px;
	}
	#recruit .detail table tr th, #recruit .detail table tr td {
		display: block;
	}
	#recruit .detail table tr th {
		padding-bottom: 5px;
	}
	#recruit .detail table tr td {
		padding-top: 0;
	}
	
/*------------------------------------------------*/
}
