@charset "utf-8";

/* トップスライダー */
.container {
	padding-top: 0;
}

.main-visual {
	position: relative;
	overflow: hidden;
	height: calc(100vw * 867 / 1280 + 130px);
	padding-top: 130px;
	z-index: -1;
}

.main-visual::before {
	content: "";
	background-image: url(../images/top_mv_bg.webp);
	background-position: center bottom;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	animation  : anime-mv 4s;
	animation-timing-function: ease-out;
	z-index: -1;
}

@keyframes anime-mv {
   0% { opacity: 1; transform: scale(1.2); }
 100% { opacity: 1; transform: scale(1.0); }
}

.swiper {
	width: 100%;
	height: 100%;
}

.swiper-wrapper {
	transition-timing-function: linear;	/* 一定速度でスライド */
	height: auto;
	padding-top: 10px;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	display: flex;
	justify-content: center;
	align-items: center;

	border-radius: calc(100vw * 56 / 1280);
	box-shadow: 0px 4px 10px 0px #00000040;
	
	width: calc(100% * 850 / 1280);
/*
	max-width: 850px;
	max-width: calc(850 / 1280 * 100%);
*/
	aspect-ratio: 850 / 567;
	overflow: hidden;
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.swiper-slide-active img,
.swiper-slide-duplicate-active img,
.swiper-slide-prev img {
	animation: anime-zoom 6s linear 0s normal both;
}

@keyframes anime-zoom {
  0% { transform: scale(1); }
100% { transform: scale(1.1); }
}

/* トップスライド */
.top-slide-area {
	display: flex;
	justify-content: center;
}
.top-slide-wrap {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	gap: 3vw;
}
.top-slide {
	position: relative;
	width: 60vw;
/*
	max-width: 850px;
*/
	height: auto;
	aspect-ratio: 1920 / 1278;
	overflow: hidden;
	border-radius: calc(100vw * 56 / 1280);
	box-shadow: 0px 4px 10px 0px #00000040;
}
.top-slide > figure {
	position: absolute;
}
.top-slide > figure > img {
	animation-duration: 16s;
	animation-iteration-count: infinite;
	animation-name: slideAnime;
	animation-timing-function: ease;
	display: block;
	object-fit: cover;
	opacity: 0;
	width: 100%;
}
.top-slide.top-slide-01 > figure > img,
.top-slide.top-slide-03 > figure > img {
	animation-name: slideAnime2;
}

.top-slide > figure:nth-of-type(1) img { animation-delay: 0s; }
.top-slide > figure:nth-of-type(2) img { animation-delay: 4s; }
.top-slide > figure:nth-of-type(3) img { animation-delay: 8s; }
.top-slide > figure:nth-of-type(4) img { animation-delay: 12s; }

@keyframes slideAnime {
  0% { opacity: 0; }
  12.5% { opacity: 1; }
  25.0% { opacity: 1; }
  37.5% { opacity: 0; }
  100% {
    opacity: 0;
    /*transform: translateX(-10%);*/
    transform: scale(120%);
  }
}

@keyframes slideAnime2 {
  0% { opacity: 0; }
  12.5% { opacity: 1; }
  25.0% { opacity: 1; }
  37.5% { opacity: 0; }
  100% { opacity: 0; }
}

.top-slide-txt {
	position: absolute;
	aspect-ratio: 1920 / 1278;
	width: 100%;
}

.top-slide-txt > img {
	position: absolute;
	animation-duration: 16s;
	animation-iteration-count: infinite;
	animation-name: slideAnimeTxt;
	animation-timing-function: ease;
	display: block;
	object-fit: cover;
	opacity: 0;
	width: 100%;
}

.top-slide-txt > img:nth-of-type(1) { animation-delay: 0s; }
.top-slide-txt > img:nth-of-type(2) { animation-delay: 4s; }
.top-slide-txt > img:nth-of-type(3) { animation-delay: 8s; }
.top-slide-txt > img:nth-of-type(4) { animation-delay: 12s; }

@keyframes slideAnimeTxt {
	0% { opacity: 0; }
	6.3% { opacity: 0; }
	12.5% { opacity: 1; }
	25.0% { opacity: 1; }
	31.3% { opacity: 0; }
	100% { opacity: 0; }
}

/* 動画 */
.topMoviePtrn {
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
/*
	height: calc(60vh + 120px);
	max-height: calc(800px + 120px);
*/
	height: 100vh;
	max-height: none;
/*★
	background-color: #ffffff;
	animation: playerFadeIn 3s ease 2.5s 1 normal both;
*/
}

.topMoviePtrn::after {
	content: "";
	display: block;
	width: 100px;
	height: 100px;
/*
	background-image: url(../images/bg_text_frame.svg);
*/
	background-size: contain;
	transform: translate(0,44px);
}

@keyframes playerFadeIn {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.topMovieFrame {
	width: 100%;
	height: 100vh;
/*
	height: 60vh;
	max-height: 800px;
*/
}

.topMovieText {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

/* ▼仮対応▼ */
.topMovieFrame {
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
}

.topMovieInr {
	margin-top: -8vw !important;
}
.topMovieText {
	display: none;
}
/* ▲仮対応▲ */

/*
++XX++
    ++XX++
        ++XX++
            ++XX++
++              ++XX
012345678901234567890
0/20= 0.0% 表示フェード開始
2/20=10.0% 表示フェード終了
4/20=20.0% 非表示フェード開始
6/20=30.0% 非表示フェード終了
*/
.topMovieText li {
	position: absolute;
	/*animation-iteration-count: infinite;*/
	animation-iteration-count: 1;
	animation-fill-mode: forwards;	/* 最後のコマで停止 */
	animation-duration: 10s;
}
/* IE11のみ｜flex対応 */
_:-ms-lang(x)::-ms-backdrop, .topMovieText li {
	margin: -222px 0 0 -250px;
}
.topMovieText li:nth-of-type(1){
animation-name:slider;
animation-delay:5s;
opacity:0;
}
/*
.topMovieText li:nth-of-type(2){
animation-name:slider;
animation-delay:6s;
opacity:0;
}
.topMovieText li:nth-of-type(3){
animation-name:slider;
animation-delay:10s;
opacity:0;
}
.topMovieText li:nth-of-type(4){
animation-name:slider;
animation-delay:14s;
opacity:0;
}
.topMovieText li:nth-of-type(5){
animation-name:slider;
animation-delay:18s;
opacity:0;
}
*/
@keyframes slider{
0%{
opacity:0;
transform: translate(0, 50px);
/*transform: scale(0.9, 0.9);*/
z-index: 2;
}
20.0%{
opacity:1;
transform: translate(0, 0);
/*transform: scale(1.0, 1.0);*/
}
100%{
opacity:1;
transform: translate(0, 0);
/*transform: scale(1.0, 1.0);*/
}
}

.topMovieText li img {
	max-width: 550px;
	width: 100%;
}

/* タイトル */
main h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 3.0rem;
}

main h2::before {
	content: "";
	display: block;
	width: 20px;
	height: auto;
	aspect-ratio: 141 / 544;
	margin-right: 20px;
	margin-left: 20px;
	background-image: url(../images/title_bg_leaf_l.svg);
	background-position: center center;
	background-size: contain;
}

main h2::after {
	content: "";
	display: block;
	width: 20px;
	height: auto;
	aspect-ratio: 141 / 544;
	margin-right: 20px;
	margin-left: 20px;
	background-image: url(../images/title_bg_leaf_r.svg);
	background-position: center center;
	background-size: contain;
}

/* ボタン「くわしく見る」 */
.wp-block-buttons.btn-detail {
	width: min(100%,240px);
}

.wp-block-buttons.btn-detail .wp-block-button {
	width: 100%;
}

.wp-block-buttons.btn-detail .wp-block-button a.wp-block-button__link {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.0rem 2.2rem 1.0rem 2.6rem;
	background-color: #FFFFFF;
	border: 1px solid var(--cp-color-r);
	border-radius: 99em;
	line-height: var(--ft-lh-s);
	font-size: var(--ft-size-s);
	color: var(--cp-color-r);
}

.wp-block-buttons.btn-detail .wp-block-button a.wp-block-button__link::after {
	content: "";
	width: 26px;
	height: 26px;
	margin-left: 1.0rem;
	background: url("../images/icon_arw_br.svg") 50% 50% no-repeat;
	background-size: contain;
	flex-shrink: 0;
}

/* 商品情報 */
.lineup-area {
	position: relative;
	background-image: url(../images/top_safety_bg.webp),linear-gradient(0deg,rgba(245, 243, 236, 1) 0%, rgba(245, 243, 236, 1) 85%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 0) 100%);
	background-position: center top,center bottom;
	background-size: 100% auto,auto auto;
	margin-top: -10vw;
	padding-top: 10vw;
	padding-bottom: 10vw;
}

.lineup-area::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	display: block;
	width: max(140px, calc(100vw / 1280 * 220));
	aspect-ratio: 220 / 130;
	background-image: url(../images/top_lineup_icon.webp);
	background-size: contain;
	transform: translate(-50%,-50%);
}

.lineup-area h2 + p {
	margin: 0 0 var(--space-s);
	text-align: center;
}

.wp-block-columns.lineup-box {
	width: min(100%,700px);
	margin: 0 auto;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 8.0rem 5%;
}

.wp-block-columns.lineup-box .wp-block-column {
	flex-basis: auto !important;
	flex-grow: 0 !important;
	width: min(47.5%,300px);
}

.wp-block-columns.lineup-box .wp-block-column h3 {
	margin-bottom: 2.0rem;
	text-align: center;
}

.wp-block-columns.lineup-box .wp-block-column h3::after {
	content: "";
	display: block;
	width: 25px;
	height: 3px;
	margin: 2.0rem auto 0;
	background-color: var(--cp-color-g);
}

.wp-block-columns.lineup-box .wp-block-column h3 + p {
	margin-bottom: 2.0rem;
	line-height: 2.0;
	font-size: var(--ft-size-s);
}

/*
.wp-block-columns.lineup-box .wp-block-column .wp-block-image img {
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	aspect-ratio:1;
	object-fit: contain;
	border-radius: 50%;
}
*/

.lineup-box .wp-block-buttons.btn-detail {
	margin: 3.8rem auto 0;
}

/* ご当地精米 */
.local-area {
	padding: var(--space-l) 0;
	background: url("../images/top_gotouchi_bg.webp") 50% 50% no-repeat;
	background-size: cover;	
}

.local-area > * {
	width: min(calc(100% - 60px),900px);
	margin: 0 auto;
}

main .local-area h2 {
	display: block;
	margin-bottom: 2.6rem;
}

main .local-area h2::before,
main .local-area h2::after {
	content: none;
}

.local-area .wp-block-columns {
	justify-content: space-between !important;
}

.local-area .wp-block-columns .wp-block-column {
	flex-basis: auto !important;
	flex-grow: 0 !important;
}

.local-area .wp-block-columns .wp-block-column:nth-of-type(1) {
	max-width: 304px;
	background: url("../images/top_gotouchi_bg_map.webp") 100% 50% no-repeat;
	background-size: contain;	
}

.local-area .wp-block-buttons.btn-detail {
	margin: var(--space-s) 0 0;
}

.local-area .wp-block-columns .wp-block-column:nth-of-type(2) {
	max-width: 522px;
	display: flex;
	gap: 3.3rem;
}

/* お知らせ */
.info-area {
	padding-top: var(--space-l);
	padding-bottom: 20vw;
	background: #fff url("../images/bg_body.webp") repeat;
}

main .info-area h2 {
	justify-content: space-between;
	width: min(100%,360px);
	margin: 0 auto var(--space-s);
}

.info-area .wp-block-buttons {
	margin: 5.0rem auto 0;
}

.info-list {
	display: flex;
	flex-flow: row wrap;
	gap: 6rem 2.5rem;
}

.info-list > * {
	width: calc((100% - 5rem)/ 3);
	border: 1px solid #ED1C2B;
	border-radius: 1.6rem;
	overflow: hidden;
	background-color: #ffffff;
}

.info-list > p {
	width: auto;
	border: none;
	border-radius: 0;
	overflow: visible;
}

.info-list .item-img {
	border-bottom: 1px solid #ED1C2B;
}

.info-list .item-img img {
	aspect-ratio: 250 / 167;
	object-fit: cover;
	width: 100%;
}

.info-list .item-head {
	display: flex;
	flex-flow: row wrap;
	gap: 0.6em;
	padding: 1.6rem 2.0rem 1.2rem;
	font-size: 1.4rem;
	color: #ED1C2B;
}

.info-list .item-head .item-cat li {
	padding: 1px 8px 2px 8px;
	border-radius: 4px;
	background-color: #ED1C2B;
	font-size: 1.3rem;
	color: #ffffff;
}

.info-list .item-txt {
	padding: 0 2.0rem 2.8rem;
	line-height: 1.5;
}

/* 安全と安心の取り組み */
.safety-area {
	position: relative;
	background-image: url(../images/top_safety_bg_w.webp),linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 0) 100%);
	background-position: center top;
	background-size: 100% auto;
	margin-top: -7.5vw;
	padding-top: 7.5vw;
	padding-bottom: 10vw;
}

.safety-area::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	display: block;
	width: max(100px, calc(100vw / 1280 * 150));
	aspect-ratio: 260 / 215;
	background-image: url(../images/top_safety_icon.webp);
	background-size: contain;
	transform: translate(-50%,-50%);
}

.safety-area p.lead-box {
	text-align: center;
}

.safety-area .wp-block-columns {
	width: min(calc(100% - 40px),800px);
	margin: var(--space-s) auto 0;
	background-color: #FFFFFF;
	border: 1px solid var(--cp-color-r);
	border-radius: 16px;
	overflow: hidden;
	gap: 0;
}

.safety-area .wp-block-columns .wp-block-column {
	flex-basis: auto !important;
	flex-grow: 0 !important;
	width: 50%;
}

.safety-area .wp-block-columns .wp-block-column:nth-of-type(2) {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
}

.safety-area .wp-block-columns h3 {
	margin-bottom: 1.2rem;
	color: var(--cp-color-r);
}

.safety-area .wp-block-columns p {
	width: min(100%,245px);
	margin-bottom: 3.0rem;
}

.safety-area .wp-block-buttons,
.info-area .wp-block-buttons {
	width: min(100%,240px);
}

.safety-area .wp-block-buttons .wp-block-button,
.info-area .wp-block-buttons .wp-block-button {
	width: 100%;
}

.safety-area .wp-block-buttons .wp-block-button a.wp-block-button__link,
.info-area .wp-block-buttons .wp-block-button a.wp-block-button__link {
	padding: 1.0rem 2.0rem;
	background-color: var(--cp-color-r);
	line-height: var(--ft-lh-m);
	font-size: var(--ft-size-m);
}

/* Instagram */
.instagram-area {
	padding-top: var(--space-xl);
	padding-bottom: var(--space-m);
	background-image: url("../images/top_insta_bg2.webp"),url("../images/top_insta_bg.webp");
	background-position: 50% 0,50% 0;
	background-size: auto auto,auto auto;
	background-repeat: no-repeat,atuo;
}

main .instagram-area h2 {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 5.0rem;
}

main .instagram-area h2::before {
	content: "";
	display: block;
	width: 35px;
	height: 35px;
	margin-left: 0;
	margin-right: 15px;
	background: url(../images/icon_sns_ig.svg) 50% 50% no-repeat;
	background-size: contain;
	flex-shrink: 0;
}

main .instagram-area h2::after {
	content: none;
}

.insta-list {
	display: flex;
	flex-flow: row wrap;
	margin-bottom: 5.0rem;
	gap: 2.0rem;
}

.insta-list > a {
	width: calc((100% - 4.0rem) / 3);
	overflow: hidden;
	aspect-ratio: 1;
}

.insta-list a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1;
	transition: transform .6s ease;
}

.insta-list a:hover img {
	transform: scale(1.1);
}

.instagram-area .wp-block-button.btn-blank {
	width: min(100%,240px);	
}

.instagram-area .wp-block-button.btn-blank a.wp-block-button__link {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 1.0rem 2.0rem;
	background-color: var(--cp-color-r);
	border-radius: 99em;
	line-height: var(--ft-lh-m);
	font-size: var(--ft-size-m);
	color: #FFFFFF;
}

.instagram-area .wp-block-button.btn-blank a.wp-block-button__link::after {
	content: "";
	width: 14px;
	height: 14px;
	margin-left: 2.4rem;
	background: url("../images/icon_blank_w.svg") 50% 50% no-repeat;
	background-size: contain;	
}

.instagram-area p.insta-msg {
	margin-top: 3.0rem;
	text-align: center;
}

.instagram-area p.insta-msg strong {
	display: inline-block;
	text-align: left;
	font-weight: 500;
	font-size: 1.2rem;
}

/* メディア掲載 */
.media-area {
	padding-top: var(--space-xl);
	padding-bottom: var(--space-m);
	background-color: #fff;
}

/* 遠州米穀について */
.about-area .wp-block-columns {
	gap: 0;
	background: #fff url("../images/bg_body.webp") repeat;
}

.about-area .wp-block-columns .wp-block-column {
	flex-basis: auto !important;
	flex-grow: 0 !important;
	width: 50%;
}

.about-area .wp-block-columns .wp-block-column:nth-of-type(1) img {
  width: 100%;
  height: 100%;
	object-fit: cover;
  aspect-ratio: 640 / 427;
}

.about-area .wp-block-columns .wp-block-column:nth-of-type(2) {
	padding: 3.0rem;
}

.about-area .wp-block-columns .wp-block-column:nth-of-type(2) h3 strong {
	font-weight: 700;
	font-size: var(--ft-size-xl30);
}

.about-area .wp-block-columns .wp-block-column:nth-of-type(2) h3 + p {
	width: min(100%,440px);
	margin: 3.0rem auto;
}

.about-area .wp-block-button {
	width: min(100%,240px);	
}

.about-area .wp-block-button a.wp-block-button__link {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 1.0rem 2.0rem;
	background-color: var(--cp-color-g);
	border-radius: 99em;
	line-height: var(--ft-lh-m);
	font-size: var(--ft-size-m);
	color: #FFFFFF;
}

/* ================================================ */
@media (max-width: 1000px) {
}

/* ================================================ */
@media (max-width: 840px) {

.safety-area p.lead-box {
	width: calc(100% - 60px);
	margin-left: auto;
	margin-right: auto;
}

.safety-area .wp-block-columns {
	width: min(calc(100% - 60px),var(--width-mb));
	margin-left: auto;
	margin-right: auto;
}

.safety-area .wp-block-columns .wp-block-column {
	width: 100%;
}

.safety-area .wp-block-columns .wp-block-column:nth-of-type(2) {
	padding: 3.6rem 1.4rem;
}

/* 商品情報 */
.wp-block-columns.lineup-box {
	width: min(100%,580px);
}

/* ご当地精米 */
.local-area .wp-block-columns {
	flex-direction: column;
	align-items: center !important;
	justify-content: center !important;
	gap: 3.6rem;
}

/* Instagram */
.insta-list {
	width: min(100%,var(--width-mb));
	margin-left: auto;
	margin-right: auto;
}

.insta-list > a {
	width: calc((100% - 2.0rem) / 2);
}

/* 遠州米穀について */
.about-area .wp-block-columns .wp-block-column {
	width: 100%;
}

.about-area .wp-block-columns .wp-block-column:nth-of-type(2) {
	padding-bottom: var(--space-s);
}

/* お知らせ */
.info-list {
	gap: 4rem 2.5rem;
}

.info-list > * {
	width: calc((100% - 2.5rem)/ 2);
}

}

/* ================================================ */
@media (max-width: 480px) {
	#player img {
		height: 100%;
	}

.wp-block-columns.lineup-box {
	flex-direction: column;
	align-items: center !important;
}

.wp-block-columns.lineup-box .wp-block-column {
	width: min(100%,300px);
}

.local-area > * {
	width: min(calc(100% - 40px),900px);
	margin: 0 auto;
}

.local-area .wp-block-columns .wp-block-column:nth-of-type(2) {
	gap: 2.0rem;
}

/* お知らせ */
.info-list {
	width: min(100%,300px);
	margin-left: auto;
	margin-right: auto;
}

.info-list > * {
	width: 100%;
}

}