/*------------------------------------------------
　スカヘルネット テンプレート
　2020/04/24 作成
  copyright sukaherunet
------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');
* {
	box-sizing: border-box;
}
body	{
	margin: 0;
	padding: 0;
	font: 16px "Noto Serif JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #333;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}
h1,h2,h3,h4,h5,
div,p,dl,dt,dd,
ul,ol,li,
figure,form	{
	margin: 0;
	padding: 0;
	font-size: 1em;
}
ul	{
	list-style-type: none;
}
img	{
	width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}
a	{
	color: #06f;
	transition: 0.5s;
}
a:hover	{
	color: #f60;
	text-decoration: none;
}
iframe {
	width: 100%;
}

/* section --------------------*/
section	{
	margin-bottom: 50px;
}
section[id],
article[id]	{
	margin-top: -30px;
	padding-top: 30px;
}

/* wrapper / container
------------------------------------------------------------------------------*/
#wrapper {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
	overflow: hidden;
}

/* pagetop --------------------*/
.pagetop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 5px;
	font-size: 0.7em;
	line-height: 1;
}
.pagetop a {
	display: flex;
	width: 50px;
	height: 40px;
	text-align: center;
	text-decoration: none;
	position: relative;
	align-items: center;
	justify-content: center;
	padding-top: 18px;
	color: #999;
	font-weight: bold;
}
.pagetop a::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 20px;
	height: 20px;
	border: 6px solid;
	border-color: #bbb #bbb transparent transparent;
	transform: rotate(-45deg);
	transition: 0.5s;
}
.pagetop a:hover {
	color: #666;
}
.pagetop a:hover::after {
	border-color: #666 #666 transparent transparent;
}

/* drawer menu --------------------*/
.drawer--top .drawer-hamburger {
	display: none;
}
.drawer--top .drawer-hamburger,
.drawer--top.drawer-open .drawer-hamburger {
	left: 0;
	z-index: 20;
	padding-top: 16px;
}
.drawer--top.drawer-open .drawer-hamburger-icon {
	transform: rotate(360deg);
}
.drawer--top.drawer-open .drawer-hamburger-icon::before {
	transform: translateY(0) rotate(-45deg);
}
.drawer--top.drawer-open .drawer-hamburger-icon::after {
	transform: translateY(0) rotate(45deg);
}
.drawer--top .drawer-nav {
	top: 20px;
	height: 0;
}
.drawer--top.drawer-open .drawer-nav {
	z-index: 15;
	top: 55px;
	height: 100vh;
	animation: drawer-fade-in 1.5s;
	background: rgba(255,255,255,0.9);
}
.drawer--top .drawer-nav .drawer-menu {
	display: flex;
	flex-wrap: wrap;
	max-width: 600px;
	width: 90%;
	margin: 20px auto;
	font-family: 'Noto Serif JP', serif;
}
.drawer--top .drawer-nav .drawer-menu .drawer-menu-item {
	width: calc(100% / 2);
	text-align: center;
}
.drawer--top .drawer-nav .drawer-menu .drawer-menu-item a {
	color: #333;
	text-decoration: none;
	font-weight: bold;
}
.drawer--top .drawer-nav .drawer-menu .drawer-menu-item:hover,
.drawer--top .drawer-nav .drawer-menu .drawer-menu-item a:hover {
	color: #910;
	text-decoration: none;
}
@keyframes drawer-fade-in	{
	0%	{ opacity: 0; }
	100%	{ opacity: 1; }
}
.drawer--top.drawer-open .drawer-overlay {
	z-index: 10;
}

/* header
------------------------------------------------------------------------------*/
header {
	max-width: 1200px;
	width: 100%;
	margin: auto;
	font-family: 'Noto Serif JP', serif;
}
/* head box -----------*/
header .head-box {
	display: flex;
	justify-content: space-between;
/*	align-items: center;*/
	padding: 20px 0;
}

/* head ttl（umai） ------------*/
header .head-box .head-ttl {
	line-height: 1;
	max-width: 300px;
	margin-left: 10px;
}
header .head-box .head-ttl .logo img[src$=".svg"] {
	width: 100%;
	height: auto;
}
header .head-box .head-ttl span {
	display: block;
	margin-left: 15px;
}

/* head news ------------*/
header .head-box .head-news {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	margin-right: 10px;
}
header .head-box .head-news .news-ttl {
	margin-right: 25px;
	white-space: nowrap;
	font-size: 0.85em;
}
header .head-box .head-news .headline iframe {
	border: 0;
/*	width: 330px;*/
	width: 400px;
}

/* trader box（einou） ------------*/
header .head-trader-box {
	position: fixed;
	height: 100vh;
	max-width: 250px;
	width: 22%;
	z-index: 1;
}
header .head-trader-box .logo-trader {
	width: 100%;
	position: absolute;
	top: 250px;
	text-align: center;
}
header .head-trader-box .logo-trader img[src$=".svg"] {
	max-width: 130px;
	width: 90%;
	height: auto;
}
header .head-trader-box.top {
	opacity: 1;
	animation: toplogo-fade-in 0.2s;
}
@keyframes toplogo-fade-in	{
	0%	{ display: none;	opacity: 0; }
	1%	{ display: none;	opacity: 0; }
	100%	{ display: block;	opacity: 1; }
}
header .head-trader-box.top .logo-trader {
	top: 230px;
}

/* main image
------------------------------------------------------------------------------*/
.main-image	{
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	text-align: center;
	padding: 0;
	line-height: 0;
	border: 0;
	z-index: 2;
}
.main-image.flexslider ul	{
	margin: 0;
	padding: 0;
}
.main-image.flexslider ul li	{
	width: 100%;
	text-align: center;
	line-height: 0;
}
.main-image.flexslider ul li img	{
	width: 100%;
	height: auto;
}
.main-image.flexslider .flex-control-nav {
	bottom: 10px;
	z-index: 3;
}
.main-image.flexslider .flex-control-nav li a {
	background: #bdbdbd;
	width: 16px;
	height: 16px;
	opacity: 0.4;
}
.main-image.flexslider .flex-control-nav li a:hover {
	background: #bdbdbd;
	opacity: 0.8;
}
.main-image.flexslider .flex-control-nav .flex-active {
	background: #bdbdbd;
	opacity: 0.9;
}
.main-image.flexslider {
	border-radius: 0;
	opacity: 1;
	animation: topimg-fade-in 1.5s;
}
@keyframes topimg-fade-in	{
	0%	{ display: none;	opacity: 0; }
	1%	{ display: block;	opacity: 0; }
	100%	{ display: block;	opacity: 1; }
}

/* contents
------------------------------------------------------------------------------*/
.contents	{
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	width: 98%;
	margin: auto;
	flex: 1 1 auto;
	position: relative;
}
h2	{
	text-align: center;
	margin-bottom: 15px;
	font-size: 1.8em;
	font-family: 'Noto Serif JP', serif;
	color: #ff3232;
}
.com	{
	padding: 10px;
}
.com p+p	{
	margin-top: 20px;
}

/* main
------------------------------------------------------------------------------*/
.main	{
	flex: 1;
	padding: 10px 10px 40px;
	margin-left: 25%;
}
/* menu --------------------*/
.main-nav {
	width: 100%;
	margin: 10px auto 50px;
	font-size: 0.95em;
	line-height: 1;
}
.main-nav ul	{
	display: flex;
	justify-content: space-around;
}
.main-nav ul li a	{
	color: #000;
	font-weight: bold;
	text-decoration: none;
}
.main-nav ul li a:hover	{
	color: #525821;
}

/* gallery --------------------*/
.gallery {
	display: flex;
	flex-wrap: wrap;
	width: 98%;
}
.gallery .gallerybox {
	width: calc(100% / 4);
	margin-bottom: 10px;
	padding: 10px;
}
.gallery .gallerybox figure {
	width: 100%;
	text-align: center;
}
.gallery .gallerybox figure img {
	width: 100%;
	height: auto;
}
.gallery .gallerybox figure+p {
	margin-top: 6px;
}
.gallery .gallerybox p {
	font-size: 0.9em;
}
.gallery.column5 .gallerybox {
	width: calc(100% / 5 - 1px);
	margin-right: 1px;
}
.gallery.column3 .gallerybox {
	width: calc(100% / 3 - 1px);
	margin-right: 1px;
}
.gallery.column2 .gallerybox {
	width: calc(100% / 2);
}

/* top page --------------------*/
.main.top	{
	display: block;
	opacity: 1;
	animation: top-fade-in 1.5s;
}
@keyframes top-fade-in	{
	0%	{ display: none;	opacity: 0; }
	1%	{ display: block;	opacity: 0; }
	100%	{ display: block;	opacity: 1; }
}
/* top comment */
.top .main-com {
	margin: 40px auto;
	font-size: 1.6em;
	font-family: 'Noto Serif JP', serif;
	color: #666600;
	text-align: center;
}
.top .main-com p {
	display: inline-block;
	text-align: left;
	letter-spacing: 0.3em;
	padding-left: 30px;
}
.top .main-com p span {
	display: flex;
	align-items: center;
	line-height: 1.4;
}
.top .main-com p span b {
	font-size: 1.4em;
}

/* top news */
.top .top-news {
	display: flex;
	justify-content: center;
	margin: auto;
	font-size: 0.9em;
	font-family: 'Noto Serif JP', serif;
	width: 100%;
	max-width: 700px;
}
.top .top-news .top-news-ttl {
	margin-right: 40px;
	font-weight: bold;
	width: 60px;
}
.top .top-news .top-headline {
	width: calc(100% - 100px);
}
.top .top-news .top-headline iframe {
	border: 0;
}

/* 地域営農の想い込み --------------------*/
.omoi .rinen {
	text-align: center;
	margin: auto;
}
.omoi .rinen .ttl {
	margin-bottom: 15px;
	font-size: 1.4em;
	font-weight: bold;
}
.omoi .rinen .com {
	font-size: 1.2em;
	padding: 0;
	line-height: 2;
}

/* footer
------------------------------------------------------------------------------*/
footer	{
	width: 100%;
	margin: auto;
	opacity: 1;
	animation: foot-fade-in 1.5s;
}
@keyframes foot-fade-in {
	0%	{ display: none;	opacity: 0; }
	1%	{ display: block;	opacity: 0; }
	100%	{ display: block;	opacity: 1; }
}
footer .copy	{
	width: 100%;
	margin: 0 auto;
	padding: 2px;
	text-align: center;
	font-size: 0.8em;
}


/* タブレット版
------------------------------------------------------------------------------*/
@media screen and (max-width:800px) {
	body {
/*		background: rgba(250,125,0,0.4);*/
		font-size: 15px;
	}

	/* header ----------------------*/
	/* head ttl（umai）*/
	header .head-box .head-ttl {
		line-height: 1;
		max-width: 180px;
		margin-left: 10px;
	}
	header .head-box .head-ttl .logo img[src$=".svg"] {
		width: 100%;
		height: auto;
	}
	/* head news */
	header .head-box .head-news {
		font-size: 0.85em;
		margin-left: 20px;
	}
	header .head-box .head-news .headline iframe {
		width: 330px;
	}
	/* trader box（einou） */
	header .head-trader-box {
		position: fixed;
		height: 100vh;
		max-width: 160px;
		width: 22%;
	}
	header .head-trader-box .logo-trader {
		width: 100%;
		position: absolute;
		top: 180px;
		text-align: center;
	}
	header .head-trader-box .logo-trader img[src$=".svg"] {
		max-width: 130px;
		width: 90%;
		height: auto;
	}

	/* main image ----------------------*/
	.main-image.flexslider .flex-control-nav li a {
		width: 12px;
		height: 12px;
	}

	/* contents
	------------------------------------------------------------*/
	h2	{
		font-size: 1.6em;
	}

	/* main
	------------------------------------------------------------------------------*/
	.main	{ margin-left: 20%; }
	/*---------- menu ----------*/
	.main-nav ul {
		flex-wrap: wrap;
		justify-content: center;
	}
	.main-nav ul li {
		width: calc(100% / 3);
		padding: 10px;
		text-align: center;
	}
	/*---------- gallery ----------*/
	.gallery .gallerybox		{ width: calc(100% / 3 - 1px); }
	.gallery.column5 .gallerybox	{ width: calc(100% / 3 - 1px); }
	.gallery.column3 .gallerybox	{ width: calc(100% / 3 - 1px); }
	.gallery.column2 .gallerybox	{ width: calc(100% / 2); }



	/* top comment */
	.top .main-com	{
		font-size: 1.3em;
	}
	.top .main-com	p {
		padding-left: 0;
	}

}

/* スマホ版
------------------------------------------------------------------------------*/
@media screen and (max-width:600px) {
	body {
/*		background: rgba(0,125,250,0.4);*/
		font-size: 14px;
	}

	/* drawer menu */
	.drawer--top .drawer-hamburger {
		display: block;
	}
	/* header ----------------------*/
	header {
		position: fixed;
		background: #fff;
		z-index: 15;
	}
	header .head-box {
		justify-content: center;
		padding: 7px 0 10px;
	}
	header .head-box .head-ttl {
		max-width: 100%;
		margin: auto;
	}
	header .head-box .head-ttl .logo img[src$=".svg"] {
		width: 130px;
		height: auto;
	}
	header .head-box .head-ttl .logo span {
		text-align: center;
		margin: auto;
		font-size: 0.6em;
	}
	header .head-box .head-news {
		display: none;
	}
	/* logo(einou) */
	header .head-trader-box.top {
		display: none;
	}

	/* main image ----------------------*/
	.main-image {
		margin-top: 50px;
		margin-bottom: 0;
	}
	.main-image.flexslider {
/*		height: 290px;*/
	}
	.main-image.flexslider ul li img {
		width: 100%;
		height: auto;
	}

	/* contents
	------------------------------------------------------------*/
	.page .contents {
		margin-top: 70px;
	}
	h2	{
		font-size: 1.3em;
	}

	/* main
	------------------------------------------------------------------------------*/
	.main	{ margin: 5px auto 30px; }

	/*---------- menu ----------*/
	.main-nav	{ display: none; }

	/*---------- gallery ----------*/
	.gallery .gallerybox		{ width: calc(100% / 2); }
	.gallery.column5 .gallerybox	{ width: calc(100% / 2);	margin-right: 0; }
	.gallery.column3 .gallerybox	{ width: calc(100% / 2);	margin-right: 0; }
	.gallery.column2 .gallerybox	{ width: calc(100% / 2); }



	/* top comment */
	.top .main-com	{
		margin: 0 auto 20px;
		font-size: 1.2em;
	}
	.top .main-com	p {
		padding-left: 0;
	}
	/* top news */
	.top .top-news {
		width: 85%;
		margin: auto;
		font-size: 0.9em;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
	.top .top-news .top-news-ttl {
		width: 100%;
		margin: 0 0 10px;
		font-weight: bold;
	}
	.top .top-news .top-headline {
		width: 100%;
	}
}




/* 個別設定
-------------------------------------------------------*/
/* 横幅801px以上のみ非表示 ----------*/
@media screen and (min-width:801px)	{
	.pc-n	{ display: none; }
}
/* 横幅501px以上800px以下のみ非表示 ----------*/
@media screen and (min-width:601px) and (max-width:800px) {
	.t-n 	{ display: none; }
}
/* 横幅50px以下のみ非表示 ----------*/
@media screen and (max-width:600px) {
	.sp-n 	{ display: none; }
}

