/******************************/
/* SLIDER */
/******************************/

.main_kv{
  margin: 30px 0 80px;
}
 h1.top-right {
  top: -1px;
  right: -15px;
  background: rgba(255, 255, 255,0.8);
  border-radius: 0 23px 0 23px;
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation:upright;
  -webkit-text-orientation:upright;
  overflow-y: hidden;
  padding: 30px;
  font-size: 20px;
  font-weight: normal;
  text-align: left;
  color: #000000;
}
.main_kv p{
  font-size: 26px;
  text-align: center;
  margin-bottom: 20px;
}
.main_kv  span{
  display: block;
  color: #D44102;
  font-size: 26px;
  font-weight: bold;
}
.main_kv .icon{
  position: absolute;
  left: 60px;
  bottom: -80px;
}
.slider div {
  width: 100%;
  height: 600px;
  border-radius: 20px;
}
#slider > div {
  display: none;
}
.bx-viewport #slider > div {
  display: block;
}
.bx-wrapper {
  z-index: 0;
}
.bx-wrapper img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}
.bx-wrapper .bx-viewport {
  box-shadow: none !important;
  border: 0 !important;
  left: 0 !important;
}
@media screen and (max-width: 1140px) {
.top-right{
right: 0;
}
}
@media screen and (max-width: 750px) {
.main_kv{
  margin: 50px 0 80px;
}
.main_kv p{
  font-size: 20px;
}
.main_kv .icon{
  left: 0;
} 
.bx-wrapper img {
  height: 100%;
}
.slider div {
  width: 100%;
  height: 320px;
}
.main_kv span {
  font-size: 20px;
}
h1.top-right {
  top: -45px;
  border-radius: 0 23px 0 0;
  padding: 15px 25px;
  font-size: 16px;
  writing-mode: horizontal-tb;
}
}

/******************************/
/* インフォメーション */
/******************************/

.info a {
  text-decoration: underline;
}
.info .icon{
  position: absolute;
  right: 0;
  margin-top: -30px;
}
.ellipsis {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-line-informaiton {
  padding: 1rem 3rem;
  border-radius: 25px;
  background: #fff;
}
@media screen and (max-width: 750px) {
  .p-line-informaiton {
    display: block;
    width: auto;
  }
}
@media screen and (max-width: 750px) {
  .p-line-informaiton {
    font-size: 12px;
  }
}
.p-line-informaiton__ttl {
  position: relative;
  font-size: 14px;
  line-height: 2;
  font-weight: bold;
  background: #ffb0cd;
  display: block;
  width: 160px;
  color: #fff;
  text-align: center;
  border-radius: 100vh;
}
@media screen and (max-width: 750px) {
.info .icon{
  margin-top: -15px;
}
.p-line-informaiton {  
  padding: 0.3rem 2rem 1rem;  
}
.p-line-informaiton__ttl {
  width: 100%;
}
}

/******************************/
/* ピックアップアイテム */
/******************************/

.p-recommend .u-contents{
  padding-bottom: 0;
}
@media screen and (max-width: 1140px) {
.p-recommend .c-ttl-main{
  width: 100%;
}
}
@media screen and (max-width: 750px) {
.p-recommend .c-ttl-main img {
  height: auto;
  width: 100%;
}
.p-recommend .u-contents{
  padding-top: 100px;
}
}

/******************************/
/* 売れ筋ランキング */
/******************************/
.ranking .u-contents{
  margin-top: 125px;
  padding-top: 0;
}
#box_sellers {
  width: 100%;
}
#main #box_sellers ul{
  display: flex;
  flex-wrap: wrap;
  counter-reset: rank;
}
#main #box_sellers ul li{
  position: relative;
  width: 33%;
  padding: 2rem 0.5rem 0.7rem;
}
.ranking .c-ttl-main img {
  width: 380px;
}
@media screen and (max-width: 750px) {
.ranking .c-ttl-main img {
  width: 100%;
  height: auto;
  margin-bottom: -50px;
}
}
@media (max-width: 750px) {
#main #box_sellers ul li{
  width: 100%;
  padding: 1rem 0.5rem 0.7rem;
}
}

/******************************/
/* カテゴリー */
/******************************/

.p-category {
  background: #fff;
}
.p-category ul{
  padding-right: 60px;
  padding-left: 60px;
  display: flex;
}
.p-category .u-contents {
  padding-bottom: 0;
}
.p-category ul li:first-child{
  width: 40%;
}
.p-category ul li:last-child{
  width: 60%;
  padding-left: 60px;
}
.p-category .c-ttl-main{
  display: block;
  margin-top: -90px;
  margin-bottom: -15px;
}
.p-category .c-ttl-main img{
  width: auto;
  height: auto;
}
.p-category .c-ttl-main__ja{
  display: block;
  text-align: right;
  margin-top: -30px;
}
.p-category a, .p-farm a, .p-gallery a {
  display: block;
  position: relative;
  text-shadow: 0 0 2px white;
  z-index: 1;
  margin-bottom: 70px;
  font-size: 30px;
}
.p-category a:before, .p-farm a:before, .p-gallery a:before {
  content: "";
  position: absolute;
  background: #fdd089;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 50%;
  left: -15px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: -1;
}
.p-farm a {
  margin-top: 40px;
}
.p-category a span{
  font-size: 16px;
  padding-right: 15px;
}
.button007{
  position: relative;
}
.button007::before{
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  right: 0;
  height: 1px;
  background-color: #603813;
  transition: 0.3s;
  transition: all .3s;
}
.button007:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 65px;
  height: 1px;
  background-color: #603813;
  transition: 0.3s;
}
.button007:hover::before{
  right:-3%;
}
.button007:hover::after{
  right:-3%;
}
@media screen and (max-width: 900px) {
.p-category a span{
display: block;
}
.button007:after {
  width: 90px;
}
}
@media screen and (max-width: 750px) {
.p-category .c-ttl-main img{
  width: 100%;
  }
.p-category .c-ttl-main{
  margin-top: -130px;
}
.p-category .c-ttl-main__ja{
  margin-top: -50px;
}
.p-category ul{
  display: block;
  padding-right: 30px;
  padding-left: 30px;
}
.p-category ul li:first-child{
  width: 100%;
}
.p-category .u-contents {
  padding-bottom: 60px;
}
.p-category ul li:last-child{
  margin: auto;
  width: 90%;
  padding-left: 0;
}  
.p-category a:before, .p-farm a:before {
  content: "";
  position: absolute;
  background: #fdd089;
  width: 70px;
  height: 70px;
}
.p-category a {
margin-bottom: 10px;
  }
.button007 :before {
  top: calc(60% - 2px);
  }
.p-category  .icon {
  margin-top: 25px;
  display: block;
    margin-left: auto;
  }
}

/******************************/
/* 小坂農園について */
/******************************/

.p-farm .c-ttl-main {
  padding-top: 60px;
  margin-bottom: 35px;
  position: relative;
  display: block;
  text-align: right;
}

.p-farm .c-ttl-main img{
  left: 0;
  position: absolute;
  height: auto;
  width: 300px;
  top: -80px;
  z-index: -99;
}
.p-farm ul {
  display: flex;
  margin-right: auto;
  position: relative;
  padding: 60px 0 0;
}
.p-farm ul li{
  width: 100%;
  text-align: right;
}
.p-farm ul li:last-child{
  width: 70%;
  padding-left: 30px;
}
.p-farm p {
  text-align: left;
}
.p-farm img{
  width: 250x;
}
.more_btn {
  display: inline-block;
}
@media screen and (max-width: 750px) {
.p-farm ul {
  display: block;
  height: auto;
  margin: 0;
}
.p-farm ul li:last-child{
  padding-top: 40px;
  padding-left: 0;
  width: 100%;
}
.p-farm .c-ttl-main {
  margin-bottom: 20px;
  padding-top: 0;
}
.p-farm .c-ttl-main img{
  top: -130px;
  left: 0;
  width: 70%;
}
}

/******************************/
/* gallery */
/******************************/
#gallery {
  display: flex;
}
.p-gallery {
   margin: 0 0 0 auto;
  width: 154px;
}
#gallery .u-img-scale:not(:last-child) {
    margin-right: 5px;
}
  
@media screen and (max-width: 750px) {
 #gallery {
  flex-direction: column;
}
#gallery .u-img-scale:not(:last-child) {
    margin-right: 0;
}
}

/******************************/
/* 姉妹店の紹介 */
/******************************/
.p_s_store h3{
  font-weight: bold;
}
.p_s_store ul{
  display: flex;
  flex-wrap: wrap;
}
.p_s_store ul li{
  width: 23%;
  margin-right: 1%;
  margin-left: 1%;
  background: #fff;
  border: 1px solid #603813;
  border-radius: 15px;
  margin-top: 25px;
}
.p_s_store ul li img{
  border-radius: 15px 15px 0 0;
}
.p_s_store ul li p{
  text-align: center;
  background: #fdd089;
  padding: 13px 0;
  margin: 0;
  font-size: 11px;
  border-radius:  0 0 15px 15px;
}
@media screen and (max-width: 750px) {
.p_s_store ul li{
  width: 48%;
}
.p_s_store ul li p{
  font-size: 14px;
}
}
@media screen and (max-width: 442px) {
.p_s_store ul li p{
  font-size: 10px;
}
}

/*　20231201　お知らせ改行表示 */
.ellipsis {
  padding: 0 0 1rem 0;
  width: 100%;
  white-space: normal;
}

/*20231226 info下注意喚起*/
.top_caution {
  margin: 0 10px;
  padding-top: 5px;
}

.top_caution a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  color: red;
  text-decoration:underline;
  height: 20px;
  margin: 3px 0;
  padding: 15px;
  position: relative;
}

.top_caution a:before {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  top: 45%;
  left: 3px;
  margin-top: -10px;
  background-image: url("https://img07.shop-pro.jp/PA01438/298/etc/exclamation_mark.png");
  background-size: contain;
  background-repeat: no-repeat;
  text-decoration:underline;
}
@media (max-width: 768px) {
.top_caution a {
  font-size: 0.8em;
  margin: 15px 0 ;
}
.top_caution a::before {
  left: -8px;
  vertical-align: top;
}
}


