﻿@charset "UTF-8";
/*========================================

		横幅設定

========================================*/
@media screen and (min-width: 1001px) {
}
@media screen and (min-width: 769px) and (max-width: 1000px) {
}
@media screen and (min-width: 769px) {
	.sp{
		display: none;
	}
	.left{
		float: left;
		width: 50%;
		box-sizing: border-box;
	}
	.right{
		float: right;
		width: 50%;
		box-sizing: border-box;
	}
	.content ul.slick-dots{
		bottom: -38px;
	}
}

/*共通設定*/
	.flexbox{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.flexbox.fd_r{
		flex-direction:row-reverse;
	}
	.mv_slide{
		padding-bottom: 55px;
	}
	.content ul.slider {
		padding: 0;
		margin: 0;
	}
	.content ul.slider li{
		background-image: none;
		margin: 0;
		padding: 0;
	}
	.content ul.slick-dots{
		margin: 0 auto;
	}
	.content p.setasumei{
		font-weight: bold;
		box-sizing: border-box;
		padding: 0 23px 60px;
		margin: 0;
	}
	.box27 {
		position: relative;
		margin: 2em 0 4em;
		padding: 1.5em 2em;
		border: solid 3px #ad0000;
	}
	.box27 .box-title {
		position: absolute;
		display: inline-block;
		top: -27px;
		left: -3px;
		padding: 0 9px;
		height: 25px;
		line-height: 25px;
		vertical-align: middle;
		font-size: 18px;
		background: #ad0000;
		color: #ffffff;
		font-weight: bold;
		border-radius: 5px 5px 0 0;
	}
	.box27 p {
		margin: 0; 
		padding-left: 2em;
		text-indent: -2em; 
	}
	.content ul.slider li a,
	.content .zirei .zirei_dl dt a,
	.content .kanren .zirei_dl dt a,
	.content .more,
	.content .link_none{
		background-image: none;
	}
	.content a[href^="http://"],
	.content a[href^="https://"]{
		padding: 2px 20px 2px 0;
	}
	.content .content a[href^="http://1"].link_blank,
	.content a[href^="https://www.maff.go.jp/"].link_blank{
		background: url("/j/shared_new/shared/images/icon_wo2.png") no-repeat;
		background-position: right 40%;
		margin: 0 4px 0 0;
		padding: 2px 20px 2px 0;
	}
	/*.content .new_farmer a[href^="http://"],
	.content .new_farmer a[href^="https://"],
	.content .new_farmer .news a.more{
		background-image: none;
	}
	
	.content .new_farmer .news a[href^="http://"],
	.content .new_farmer .news a[href^="https://"]{
		background-image: url(../img/ico_wo2.png);
		background-repeat: no-repeat;
		background-position: right 40%;
		margin: 0 4px 0 0;
		padding: 0 20px 0 0;
	}
	*/
	.content h2.rl_red {
		border-left: solid 5px #ad0000;
	}
	.content h3.rb_gray {
		border-bottom: solid 3px #a0a0a0;
		margin: 27px 0 22px 0;
		padding: 0 0px 7px 23px;
	}
	.m_box{
		display: flex;
		justify-content: flex-start;
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.zirei_dl{
		width: calc(33.333% - 13.333px);
		margin-right: 20px;
		margin-bottom: 20px;
		border: 1px solid #dcdcdc;
		box-sizing: border-box;
	}
	.zirei_dl img{
		max-width: 100%;
	}
	.action_dl{
		width: calc(33.333% - 13.333px);
		margin-right: 20px;
		margin-bottom: 20px;
		border: 3px solid #dcdcdc;
		box-sizing: border-box;
	}
	.action_dl:nth-of-type(3n),
	.content .new_farmer .zirei_dl:nth-of-type(3n){
		margin-right: 0;
	}/*
	.action_dl.one{
		border: 1px solid #c55a11;
	}
	.action_dl.two{
		border: 1px solid #4f93d1;
	}
	.action_dl.three{
		border: 1px solid #e03459;
	}
	.action_dl.four{
		border: 1px solid #e1a611;
	}
	.action_dl.five{
		border: 1px solid #6d329e;
	}
	.action_dl.six{
		border: 1px solid #548235;
	}*/
	.action_dl dt{
		background-color: #ad0000;
		color: #fff;
		font-size: 1.125em;
		box-sizing: border-box;
		padding: 0 23px;
		line-height: 55px;
	}
	.action_dl.one {
		border: 3px solid #c55a11;
	}
	.action_dl.one dt{
		background:#c55a11;
	}
	.action_dl.two {
		border: 3px solid #4f93d1;
	}
	.action_dl.two dt{
		background:#4f93d1;
	}
	.action_dl.three {
		border: 3px solid #f14d70;
	}
	.action_dl.three dt{
		background:#f14d70;
	}
	.action_dl.four {
		border: 3px solid #dda108;
	}
	.action_dl.four dt{
		background:#dda108;
	}
	.action_dl.five {
		border: 3px solid #884bba;
	}
	.action_dl.five dt{
		background:#884bba;
	}
	.action_dl.six {
		border: 3px solid #4c921c;
	}
	.action_dl.six dt{
		background:#4c921c;
	}
	.action_dl dd{
		box-sizing: border-box;
		padding: 15px 20px 15px 23px;
		position: relative;
		min-height: 400px;
	}
	.action_dl dd img{
		display: block;
		margin: 0 auto 20px;
		max-width: 200px;
	}
	.content .action_dl ul{
		margin: 0;
		padding: 0;
	}
	.content .action_dl p.com{
		margin: 0;
		padding: 0 0 18px 0;
		min-height: 64px;
	}
	.content .action_dl ul li{
		font-size: 0.85em;
		font-weight: bold;
		margin-bottom: 5px;
	}
	.content .action_dl ul li a{
		text-decoration: none;
	}
	.content .action_dl ul li a:hover{
		text-decoration: underline;
	}
	.content a.more{
		display: block;
		position: absolute;
		right: 23px;
		bottom: 15px;
		font-weight: bold;
		text-decoration: underline;
	}
	.content .news a.more{
		position: static;
		text-decoration: underline;
		display: inline;
		font-weight: normal;
	}
	.zirei .zirei_dl,
	.content .new_farmer .zirei_dl{
		min-height: 310px;
	}
	.zirei_dl,
	.content .new_farmer .zirei_dl{
		box-sizing: border-box;
		padding: 15px 23px;
		text-decoration: none;
	}
	.zirei_dl:hover{
		text-decoration: underline;
	}
	.content .zirei_dl p.com{
		padding: 15px 0 0 0;
		margin: 0;
		font-weight: bold;
		font-size: 1.125em;
	}

@media screen and (max-width: 768px) {
	.pc{
		display: none;
	}
	.sp{
		display: block;
	}
	img{
		max-width: 100%;
	}
	img.ph100{
		width: 100%;
		height: auto;
	}
	.flexbox{
		flex-wrap: wrap;
	}
	.content p.setasumei{
		padding: 0 0 30px;
		line-height: 1.8;
	}
	.action_dl{
		width: 100%;
		margin-right: 0px;
		margin-bottom: 20px;
		border: 3px solid #ad0000;
		box-sizing: border-box;
	}
	.zirei_dl{
		width: 100%;
		margin-right: 0px;
		margin-bottom: 20px;
		border: 1px solid #dcdcdc;
		box-sizing: border-box;
	}
	.action_dl dd{
		min-height: auto;
		position: static;
	}
	.content a.more{
		display: block;
		position: static;
		text-align: right;
		padding-top: 10px;
	}
	.content .action_dl p.com{
		min-height: auto;
	}
	.zirei .zirei_dl,
	.content .new_farmer .zirei .zirei_dl{
		min-height: auto;
	}
	.zirei_dl dt,
	.content .new_farmer .zirei_dl dt{
		text-align: center;
	}
	.content .zirei_dl dt a{
			display: block;
		text-align: center;
		margin: 0px;
		padding: 0px;
	}
}