@charset "UTF-8";

:root {
	font-size: 16px;
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Segoe UI", Verdana, Meiryo, sans-serif;
	color: #505050;
	-webkit-text-size-adjust: 100%;
	line-break: strict;
	line-height: 1.8;
	min-width: 320px;
}
a {
	color: #505050;
}

_::-webkit-full-page-media,
_:future,
:root {
	font-family: "Helvetica", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Yu Gothic, "游ゴシック", "メイリオ", Meiryo, sans-serif;
}

.mincho {
	font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "Times New Roman", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-weight: bold;
}

.bold {
	font-weight: bold;
}

body {
	min-width: 320px;
	-webkit-text-size-adjust: 100%;
}

/***** header *****/
@media all {
	.site-header {
		position: fixed;
		top: 0;
		left: 0;
		background-color: rgba(255, 255, 255, .9);
		width: 100%;
		z-index: 1000;
	}

	.site-header-logo {
		position: absolute;
		top: 15px;
		left: 25px;
		width: 57px;
		height: 35px;
	}

	.site-header-logo a {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: space-between;
		width: 100%;
		height: 100%;
	}

	.site-header-logo a {
		color: #012939;
		transition: .3s opacity;
	}

	.site-header-logo a:hover {
		opacity: .8;
	}

	.site-header-nav {
		position: absolute;
	}
	.main-nav a {
		padding-top: 4px;
		width: 100%;
		transition: .3s;
	}
}

/* sp */
@media only screen and (max-width: 599px) {
	.site-header-logo {left: 20px;}
}
/* tab & sp */
@media only screen and (max-width: 1279px) {
	body.nav-active {
		overflow: hidden;
	}

	.nav-active .site-header {
		opacity: 1;
	}

	.site-header {
		min-width: 400px;
		height: 70px;
		background: none;
		font-size: 16px;
		transition: background .3s;
	}
	.nav-active .site-header {
		background-color: #FFF9E4;
	}

	.site-header-logo {
		z-index: 10;
	}
	.site-header-nav {
		position: fixed;
		top: 0;
		right: -125vw;
		right: min(-125vw, -500px);
		left: auto !important;
		padding-bottom: 42px;
		height: auto;
		max-height: 100vh;
		width: 100%;
		background-color: #FFF9E4;
		box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
		z-index: 1;
		transition: .5s right;
		overflow: auto;
	}

	.main-nav {
		margin-top: 84px;
		line-height: 1.6;
	}

	.main-nav-item {
		display: flex;
		align-items: center;
		margin: 0 20px;
		padding-left: 8px;
		border-bottom: 1px solid #F2EFE3;
		min-height: 48px;
	}
	.main-nav-item a {
		font-weight: bold;
	}

	.nav-active .site-header-nav {
		right: 0;
	}

	.menu-trigger,
	.menu-trigger span {
		display: inline-block;
		transition: all .4s;
		box-sizing: border-box;
	}

	.menu-trigger {
		position: fixed;
		z-index: 10002;
		top: 23px;
		right: 20px;
		width: 30px;
		height: 26px;
		visibility: visible;
		opacity: 1;
		transition: .5s;
		cursor: pointer;
	}

	.nav-active .menu-trigger::before {
		opacity: 0;
	}

	.menu-trigger span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		background-color: #505050;
		border-radius: 2px;
		box-shadow: 0 0 2px #fff;
	}

	.menu-trigger span:nth-of-type(1) {
		top: 0px;
	}

	.menu-trigger span:nth-of-type(2) {
		top: 11px;
	}

	.menu-trigger span:nth-of-type(3) {
		bottom: 1px;
	}

	.nav-active .menu-trigger span {
		width: calc(100% + 10px);
	}
	.nav-active .menu-trigger span:nth-of-type(1) {
		transform: translateY(12px) rotate(-215deg);
	}

	.nav-active .menu-trigger span:nth-of-type(2) {
		opacity: 0;
	}

	.nav-active .menu-trigger span:nth-of-type(3) {
		transform: translateY(-11px) rotate(215deg);
	}

	.nav-active .menu-trigger {
		visibility: visible !important;
		opacity: 1 !important;
	}

	.menu-trigger.hidden {
		visibility: hidden;
		opacity: 0;
		transition: .5s;
	}

	.menu-bg,
	.bg-trigger {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		visibility: hidden;
	}

	.menu-bg {
		background: rgba(0, 0, 0, .5);
		opacity: 0;
		transition: .5s;
	}

	.nav-active .menu-bg {
		opacity: 1;
		visibility: visible;
	}

	.bg-trigger {
		cursor: pointer;
	}

	.nav-active .bg-trigger {
		visibility: visible;
	}
	/* .site-main {
		overflow: hidden; これをつけるとstickyが効かなくなる
	} */
}

/* sp */
@media only screen and (max-width: 599px) {}

/* tab & pc */
@media print,
(min-width: 600px) {
	.spOnly {
		display: none;
	}
}

/* tab */
@media screen and (min-width: 600px) and (max-width: 1279px) {
	/* .main-nav-item a {
		margin: 0 auto;
		width: 300px;
	} */
}

/* pc */
@media print,
(min-width: 1280px) {

	.menu-bg,
	.bg-trigger {
		display: none;
	}

	.site-header,
	.site-main,
	.site-footer {
		width: 100%;
		min-width: 1000px;
	}

	.site-header {
		height: 64px;
	}

	.site-header-nav {
		top: 0;
		right: 30px;
		width: calc(100% - 160px);
		max-width: 1100px;
		height: 100%;
	}

	.main-nav {
		display: flex;
		justify-content: space-between;
		height: 100%;
	}

	.main-nav-item {
		display: flex;
		justify-content: center;
		align-items: center;
		line-height: 1.2;
	}

	.main-nav-item > a {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		align-content: center;
		width: 100%;
		height: 100%;
		font-size: 15px;
		font-weight: bold;
		/* border-bottom: 2px solid transparent; */
		transition: .3s;
	}

	.main-nav-item > a:hover {
		border-bottom-color: #505050;
	}

}

/***** breadcrumbs *****/
@media all {
	.breadcrumbs {
		position: absolute;
		display: flex;
		color: #505050;
	}

	.breadcrumbs a {
		color: #707070;
	}

	.breadcrumbs-item+.breadcrumbs-item::before {
		content: ' > ';
		display: inline-block;
		padding: 0 3px;
		/* margin: 0 1em 0 .75em;
		height: .5em;
		width: .5em;
		border-left: 1px solid #707070;
		border-bottom: 1px solid #707070;
		transform: rotate(-135deg); */
	}
}

/* breadcrumbs - sp & tab */
@media screen and (max-width: 979px) {
	.breadcrumbs-item {
		flex-shrink: 0;
	}
	.breadcrumbs-item.current {
		flex-shrink: 1;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}
/* breadcrumbs - sp */
@media screen and (max-width: 599px) {
	.breadcrumbs {
		left: 20px;
		bottom: 10px;
		font-size: 10px;
		max-width: calc(100% - 40px);
	}
}

/* breadcrumbs - tab & pc */
@media print,
(min-width: 600px) {
	.breadcrumbs {
		left: 25px;
		bottom: 10px;
		font-size: 14px;
	}
}

/* breadcrumbs - pc */
@media print,
(min-width: 980px) {
	.breadcrumbs {
    left: calc(50% - 450px);
    bottom: 10px;
	}
}

/***** footer *****/
@media all {
	.site-footer {
		background-color: #28a028;
		text-align: center;
		color: #fff;
	}
	.footer-ttl {
		font-size: 20px;
		font-weight: bold;
	}
	.footer-txt {
		font-size: 14px;
	}
	.footer-txt span {display: inline-block;}
	.footer-contact {
		font-size: 13px;
	}
	.footer-tel {
		font-size: 28px;
		line-height: 1.6;
	}
	.footer-tel small {
		font-size: 14px;
	}
	.copyright {
		display: block;
		font-size: 10px;
	}

	.footer-links {
		display: flex;
		margin: 0 auto;
	}
	.footer-link {
		display: flex;
		justify-content: center;
		align-items: center;
		background: #fff;
		border-radius: 20px;
		width: 100%;
		max-width: 290px;
		height: 90px;
	}
	.footer-link img {
		width: 100%;
		max-width: 254px;
		transition: opacity .3s;
	}
	.footer-link:hover img {opacity: .7;}
}


/* footer - tab & sp */
@media only screen and (max-width: 979px) {
	.footer-links {
		flex-direction: column;
		margin-top: 38px;
		width: 90.625vw!important;
		max-width: 290px;
	}
	.footer-link {padding: 0 10px;}
	.footer-link + .footer-link {
		margin-top: 18px;
	}
}

/* footer - sp */
@media only screen and (max-width: 599px) {
	.site-footer {
		margin-top: 100px;
		padding: 30px 0 20px;
	}
	.footer-ttl {
		margin-top: 16px;
	}
	.footer-txt {
		margin-top: 20px;
	}
	.footer-contact {
		margin-top: 18px;
	}
	.footer-tel {
		margin-bottom: 10px;
	}
	.copyright {margin-top: 20px;}
	.footer-link img {
		min-height: auto!important;
	}
}

/* footer - tab & pc */
@media print,
(min-width: 600px) {
	.site-footer {
		margin-top: 100px;
		padding: 40px 25px 20px;
	}
	.footer-ttl {
		margin-top: 20px;
	}
	.footer-txt {
		margin-top: 20px;
		line-height: 2;
	}
	.footer-contact {
		margin-top: 24px;
	}
	.copyright {
		margin-top: 30px;
	}
	.footer-link img {min-height: 30px!important;}
	.footer-link .mosfoods {height: 30px;}
	@media (min-width: 700px) {
		.footer-links {
			justify-content: space-between;
			margin-top: 50px;
			width: 610px;
		}
	}
}

/* footer - tab */
@media screen and (min-width: 600px) and (max-width: 979px) {}

/* footer - pc */
@media print,
(min-width: 980px) {
	.footer-logo {width: 70px;}
	.footer-ttl {font-size: 24px;}
	.footer-txt {font-size: 16px;}
	.footer-tel {font-size: 30px;}
	.footer-tel small {font-size: 16px;}
	.copyright {font-size: 12px;}

}



.to-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: rgba(255, 255, 255, .9);
	width: 36px;
	height: 36px;
	border: 2px solid #bababa;
	border-radius: 50%;
	overflow: hidden;
	display: none;
	transition: .3s transform;
	z-index: 1;
}

/* .to-top:hover {
  transform: scale(1.1);
} */
.to-top a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	transform: rotate(180deg);
	transition: .3s;
}

.to-top:hover a {
	transform: rotate(180deg) translateY(4px);
}

@media only screen and (max-width: 599px) {
	.to-top a img {
		width: 18px;
	}
}

@media (min-width: 600px) {
	.to-top {
		width: 40px;
		height: 40px;
		right: auto;
		left: calc(100% - 60px);
	}
}

@media print {
	body {
		width: 100%;
	}

	.site-header {
		position: absolute;
		min-height: 80px
	}

	.site-header-logo {
		margin-top: 0;
		padding-top: 10px
	}

	.site-header-nav {
		position: absolute;
		bottom: 0;
		right: 0;
	}

	.main-nav-item.inquiry a {
		top: -70px;
	}

	.to-top {
		display: none;
	}

	.site-main {
		margin-top: 80px;
	}
}

/* floater */
@media print {
	.floater {display: none;}
}
@media not print {
	.floater {
		position: absolute;
		display: block;
		width: 100%;
		overflow: hidden;
		pointer-events: none;
	}
}

/* inview */
@media not print {
	.elemRtoL {
		position: relative;
		overflow: hidden;
	}

	.elemRtoL::after {
		content: '';
		position: absolute;
		top: 0;
		right: -20%;
		width: 120%;
		height: 100%;
		background: linear-gradient(to right, #fff 90%, transparent);
		transition: .5s;
	}

	.elemRtoL.animated::after {
		right: 100%;
	}

	.elemImgFadeIn {
		transform: translateY(50px);
		opacity: 0;
		transition: 1s transform, 1s opacity;
	}

	.elemImgFadeIn.animated {
		transform: translateY(0);
		opacity: 1;
	}

	.elemSlideRtoL {
		transform: translateX(50px);
		opacity: 0;
		transition: 1s transform, 1s opacity;
	}

	.elemSlideLtoR {
		transform: translateX(-50px);
		opacity: 0;
		transition: 1s transform, 1s opacity;
	}

	.elemSlideRtoL.animated,
	.elemSlideLtoR.animated {
		transform: translateX(0);
		opacity: 1;
	}

	.elemSlideBtoT {
		transform: translateY(30px);
		opacity: 0;
		transition: transform 1s, opacity 1s ease-in;
	}
	.elemSlideBtoT.animated {
		transform: translateY(0);
		opacity: 1;
	}

	.elemFadeIn {
		opacity: 0;
		filter: blur(1rem);
		transition: 1s opacity, 1s filter;
	}

	.elemFadeIn.animated {
		opacity: 1;
		filter: blur(0);
	}

	.main-copy {
		transition-delay: 1s;
		transition-property: opacity, filter;
	}
	.elemDelay_0 {
		transition-delay: .1s;
	}
	.elemDelay_1 {
		transition-delay: .2s;
	}
	.elemDelay_2 {
		transition-delay: .3s;
	}
	.elemDelay_3 {
		transition-delay: .4s;
	}
	.elemDelay_4 {
		transition-delay: .5s;
	}
	.elemDelay_5 {
		transition-delay: .6s;
	}
}

/* for anchor */
.anchor {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}

@media (max-width: 599px) {
	.anchor {
		top: -80px;
	}

	#plans.anchor,
	#representative.anchor,
	#contact.anchor {
		top: -20px;
	}
}

@media (min-width: 600px) {
	.anchor {
		top: -70px;
	}

	#plans.anchor,
	#contact.anchor {
		top: 11px;
	}
}
@media (min-width: 980px) {
	.floater {min-width: 1000px;}
}

img.lazyload {
	background: center center / 30px 30px no-repeat url(../img/loading.svg);
	min-height: 50px;
}
/* IE対策 */
@media all and (-ms-high-contrast: none) and (min-width: 600px) {}

@media all and (-ms-high-contrast: none) and (min-width: 980px) {}


/* utility */
.text-nowrap {
	white-space: nowrap;
}
.flex-row-reverse {
	flex-direction: row-reverse;
}
.midPcOnly {display: none;}
/* sp */
@media screen and (max-width: 599px) {
	.spNone {display: none!important;}
}
/* sp & tab */
@media screen and (max-width:979px) {
	.pcOnly {display: none!important;}
}
/* tab & pc */
@media screen and (min-width: 600px) {
	.spOnly {display: none!important;}
}
/* pc */
@media print,
(min-width: 980px) {
	.pcNone {display: none!important;}
	.midPcOnly {display: initial!important;}
	.palt {font-feature-settings: "palt";}
}
/* mid pc */
@media screen and (min-width: 980px) and (max-width: 1050px) {
	.midPcNone {display: none;}
}
/* 404 */
.page404 {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
}
.page404 .site-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	margin: 100px 0 80px;
}
.page404 h1 {
	text-align: center;
	font-size: 1.5em;
}

/*** page numbers ***/
@media all {
	ul.page-numbers {
		display: flex;
		justify-content: center;
	}
	li .page-numbers {
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
		align-content: center;
		margin: 0 .25em;
		padding: 0 .5em;
		min-width: 2.5em;
		height: 2.5em;
		transition: .3s;
	}
	li .page-numbers:hover {
		opacity: .8;
	}
	.page-numbers.current {font-weight: bold;}
}

/* page numbers - sp */
@media only screen and (max-width: 599px) {
	ul.page-numbers {
		margin-top: 60px;
		font-size: 14px;
	}
	li .page-numbers {
		min-width: auto;
	}
	@media (max-width: 369px) {
		li .page-numbers {white-space: nowrap;}
		.page-nav.over {
			transform: scale(.8);
		}
	}
}

/* page numbers - tab */
@media screen and (min-width: 600px) and (max-width: 979px) {
	ul.page-numbers {
		margin-top: 40px;
	}
}
/* page numbers - pc */
@media print,
(min-width: 980px) {
	ul.page-numbers {
		margin-top: 100px;
	}
}
