@charset "utf-8";

/* scroll */
.mouse{
  width: 42px;
  height: 88px;
  position: absolute;
  bottom: 20px;
  right: 13px;
  z-index: 15;
}
.mouse:after{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
.mouse:after{
  background-color: #fff;
  width: 3px;
  height: 3px;
  border-radius: 100%;
  animation: trackBallSlide 7s linear infinite;
}
.scroll_text{
  font-size: 10px;
  color:#fff;
  letter-spacing: .2em;
  transform: rotate(-90deg);
  position: absolute;
  z-index: 15;
  bottom: 130px;
  right: 8px;
  animation: colorText 7s ease-out infinite, nudgeText 7s ease-out infinite;
}
@media screen and (min-width:768px) {
  .mouse{
    width: 52px;
    right: 35px;
  }
  .mouse:after{
  width: 5px;
  height: 5px;
  }
  .scroll_text{
    font-size: 12px;
    right: 30px;
  }
}

/* Animations */

@keyframes colorText{
  21% {
    opacity: 0.2;
  }
  30% {
    opacity: 1;
  }
  51% {
    opacity: 0.2;
  }
  60% {
    opacity: 1;
  }
  81% {
    opacity: 0.2;
  }
  90% {
    opacity: 1;
  }
} 

@keyframes trackBallSlide{
  0%{
    opacity: 1;
    transform: scale(1) translateY(-30px);
  }
  6%{
    opacity: 1;
    transform: scale(0.9) translateY(1px);
  }
  14%{
    opacity: 0;
    transform: scale(0.5) translateY(50px);
  }
  15%, 19%{
    opacity: 0;
    transform: scale(0.5) translateY(-30px);
  }
  28%, 29.99%{
    opacity: 1;
    transform: scale(1) translateY(-30px);
  }
  30%{
    opacity: 1;
    transform: scale(1) translateY(-30px);
  }
  36%{
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }
  44%{
    opacity: 0;
    transform: scale(0.5) translateY(50px);
  }
  45%, 49%{
    opacity: 0;
    transform: scale(0.5) translateY(-30px);
  }
  58%, 59.99%{
    opacity: 1;
    transform: scale(1) translateY(-30px);
  }
  60%{
    opacity: 1;
    transform: scale(0.9) translateY(-30px);
  }
  66%{
    opacity: 1;
    transform: scale(0.9) translateY(5px);
  }
  74%{
    opacity: 0;
    transform: scale(0.5) translateY(50px);
  }
  75%, 79%{
    opacity: 0;
    transform: scale(0.5) translateY(-30px);
  }
  88%, 100%{
    opacity: 1;
    transform: scale(1) translateY(-30px);
  }
}
@keyframes nudgeText {
  0%{
    transform: translateY(0) rotate(-90deg);
  }
  20%{
    transform: translateY(3px) rotate(-90deg);
  }
  30%{
    transform: translateY(0) rotate(-90deg);
  }
  50%{
    transform: translateY(3px) rotate(-90deg);
  }
  60%{
    transform: translateY(0) rotate(-90deg);
  }
  80%{
    transform: translateY(3px) rotate(-90deg);
  }
  90%{
    transform: translateY(0) rotate(-90deg);
  }
}

/* FV */
.sec_fv{
  position: relative;
}
.first-view {
  position: fixed;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100 - 108px );
  margin: 0;
  margin-top: 108px;
  padding: 0;
  overflow: hidden;
  z-index: -2;
}
.first-view li {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}
.sec_fv figure{
  position: relative;
  width:100%;
  height: 100%;
}
.fv-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s linear;
  transform: scale(1);
}
.fv-image.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1.05);
}
.sec_fv,.fv-image{
  height: calc(var(--vh, 1vh) * 100);
}
.fv-ttl{
  position:fixed;
  text-align: center;
  top:60%;
  left:50%;
  z-index: -1;
  color:#fff;
  font-size:2.2vw;
  width: 100%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width:768px){
  .first-view {
    margin-top: 50px;
    height: calc(var(--vh, 1vh) * 100 - 50px );
  }
  .fv-ttl{
    top:calc(var(--vh, 1vh) * 49);
    left:0;
    transform: translate(0,0);
    font-size: 6vw;
  }
}


/* ----- MAIN ----- */
.padding {
  padding: 120px 0;
}
@media screen and (max-width:768px) {
  .padding {
    padding: 80px 0;
  }  
}
/* TOPICS */ 
.topics_simple_list {
  margin-bottom :30px;
}
.topics_simple_item {
  margin-bottom: 0.3em;
  transition: opacity 0.3s ease-in-out;
}
.topics_simple_item:hover {
  opacity: .5;
}
.topics_simple_item a{
  color:#6a3906;
  font-size: 15px;
}
.topics_date {
  width: 96px;
  display: inline-block;
}
.topics_category {
  width: 90px;
  display: inline-block;
  font-size: 10px;
  background-color: #dcd3c7;
  text-align: center;
  line-height: 18px;
  border-radius: 3px;
  vertical-align: text-bottom;
}
.topics_title {
  line-height: 1.6em;
}
@media screen and (max-width:768px){
  .topics_simple_item {
    margin-bottom: 0.6em;
  }
  .topics_simple_item a {
    line-height: 1em;
  }
  .topics_date{
    font-size: 11px;
    width: 72px;
  }
  .topics_title {
    display: block;
    font-size: 13px;
  } 
}
/* ABOUT */ 
.sec_about .bg_attachment{
  background-image: url(../images/bg_01.webp);
}
.sec_about_wrap {
  display: flex;
  align-items: center;
  gap:80px;
}
.sec_about_wrap figure {
  width:48%;
}
.sec_about_wrap figure img {
  width:100%;
  object-fit: contain;
}
.sec_about_wrap .text {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 2em;
}
@media screen and (max-width:768px) {
  .sec_about_wrap {
    display:block;
    padding: 80px 12px;
  }
  .sec_about_wrap figure {
    margin: 0 auto 100px;
  }
}

@media screen and (max-width:768px) {
  .readmore {
    text-align: center;
  }  
}
.higanyama {
  background-color: rgba(254, 239, 216, 0.5);
  text-align: center;
}
.higanyama_list {
  display: flex;
  justify-content: space-between;
  padding:30px 0 60px;
  gap:30px;
}
.higanyama_item {
  width:33%;
}
.higanyama_item figure {
  width:100%;
  height:200px;
}
.higanyama_pic {
  width:100%;
  height:100%;
  object-fit: cover;
}
.higanyama_item .ttl_h3 {
  margin: 16px 0 12px;
  font-size: 19px;
}
.higanyama_item p {
  text-align: justify;
  font-kerning: normal;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  font-size: 14px;
}
@media screen and (max-width:768px) {
  .higanyama_list {
    display:block;
    padding:30px 0 0;
  }
  .higanyama_item {
    width:100%;
    margin-bottom: 50px;
  }
  .higanyama_item figure {
    height:60vw;
  }
}

/* PRODUCT */ 
.sec_product {
  background-color: #fff;
}
.lead_p {
  font-size:14px;
}

.swiper_product {
  width: 620px;
  overflow: visible;
  padding-top: 16px;
  margin: 0 auto;
}

.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.swiper_product .swiper-slide {
  flex-shrink: 0;      /* 幅を縮めない */
  box-sizing: border-box;
  text-align: center;
}
.swiper_product .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.5;       /* アクティブなスライド以外を薄くする */
  pointer-events: none;
}

.product_item {
  width: 580px;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
}
.product_item:hover {
  transform: translateY(-16px);
}
.product_item figure {
  width: 100%;
  height: 360px;
}
.product_item h4 {
  font-size: 20px;
  margin-top: 10px;
}
.product_item p {
  font-size:14px;
}

@media screen and (max-width:768px) {
  .product_item:hover {
    transform: translateY(0);
  } 
}

.swiper-button-prev, .swiper-button-next {
  display: grid;
  place-content: center;
  width: 4.5rem;
  height: 4.5rem;
  cursor: pointer;
  -webkit-transition: ease-in-out 0.3s;
  transition: ease-in-out 0.3s;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 60px;
  margin: auto;
}
.swiper-button-prev {
  right: calc(100% - 1.6rem);
}
.swiper-button-next {
  left: calc(100% - 1.6rem);
}
.swiper-button-prev::before, .swiper-button-next::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  border-radius: 50%;
  background-color: rgba(233, 231, 223, 0.8);
  -webkit-box-shadow: var(--box-shadow-dark);
  box-shadow: var(--box-shadow-dark);
  box-sizing: border-box;
}
.swiper-button-prev::after, .swiper-button-next::after {
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  border: solid #fff;
  border-width: 2px 2px 0 0;
  box-sizing: border-box;
  border-color: #fff;
}
.swiper-button-prev::after {
  margin-left: 0.4rem;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.swiper-button-next::after {
  margin-right: 0.4rem;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.sec_product .readmore {
  text-align: center;
  margin: 70px auto 0;
}

@media screen and (max-width:768px) {
  .swiper_product {
    width:100%;
  }
  .product_item {
    width:96vw;
  }
  .product_item figure {
    height: 60vw;
  }
  .swiper-button-prev, .swiper-button-next {
    width: 3.5rem;
    height: 3.5rem;
  }
  .swiper-button-prev {
    right: calc(100% - 4rem);
  }
  .swiper-button-next {
    left: calc(100% - 4rem);
  }

}

/* ふるさと納税 */

.sec_furusato {
  background-color: #e9e7df;
}
.furusato_list {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  margin: 30px auto;
}
.furusato_bnr {
  width: 30%;
  padding: 1.5%;
  text-align: center;
  transition: opacity 0.3s ease-in-out;
}
.furusato_bnr:hover {
  opacity:.5;
}
.furusato_bnr a figure img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}
@media screen and (max-width:768px) {
 .furusato_bnr {
    width: 47%;
  } 
}
@media screen and (max-width:500px) {
 .furusato_bnr {
    width: 100%;
    padding: 8px 24px;
  } 
}

/* 生産者紹介 */ 

.sec_farmer .bg_attachment{
  background-image: url(../images/bg_01.webp);
}
.farmer_wrap {
  display:flex;
}
.farmer_list_img {
  width:250px;
}
.farmer_item_img img{
  width:100%;
  height:auto;
}
.farmer_item_img {
  margin-bottom:20px;
}
.farmer_text {
  width:calc(100% - 250px);
  padding:30px;
}
.farmer_text h3 {
  font-size: 18px;
  margin-bottom: 20px;
}
.farmer_text h3 span {
  display: block;
  font-size: 13px;
  line-height: 1.2em;
}
.readmore-box {
  font-size:14px;
}
.intro-text, .more-text {
  margin-bottom:30px;
}
.more-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.readmore-box.open .more-text {
  max-height: 1500px; /* 適当な大きめの値 */
}
.reference-list p {
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 0.8em;
  line-height: 1.4;
}
.sec_farmer .readmore a::before {
  content:"+";
  margin-right: 0.3em;
}
.sec_farmer .readmore-box.open .readmore a::before {
  content: "×";
}
.sec_farmer .readmore a::after {
  content:none;
}

@media screen and (max-width:768px) {
  .farmer_wrap {
    display:block;
  }
  .farmer_list_img {
    display: flex;
    width: 100%;
  }
  .farmer_item_img {
    width: 50%;
    height: 300px;
  }
  .farmer_item_img img {
    object-fit:cover;
    height: 100%;
  }
  .farmer_text{
    width: 100%;
    padding: 0;
  }
}

/* BLOG */ 

.sec_topics {
  background-color: #e9e7df;
}
.sec_topics .readmore{
  margin-left: auto;
} 
@media screen and (max-width:768px) {
  .list_topics {
    display:block;
  }
  .item_topics {
    width:100%;
    margin-bottom: 40px;
  }
  .item_topics figure {
    height: 60vw;
  }
  .sec_topics .readmore {
    margin:auto;
  }
}
