:root {
  --easing: cubic-bezier(0.2, 1, 0.2, 1);
  --transition: 0.8s var(--easing);
  --color-theme: #f5695f;
}

[class*="swiper"]:focus {
  outline: none;
}

/* セクション背景&テキストカラー */
#top-about,
.swiper-horizontal > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal,
.swiper-scrollbar-drag,
#mainContent,
section#category-wrap {
  background-color: var(--white);
}

#top-category,
#top-news {
  background-color: var(--black);
}

#top-category .title,
#top-category-swiper .swiper-slide p,
#top-category-swiper .swiper-button-next,
#top-category-swiper .swiper-button-prev,
#top-news .title,
#top-news .top-news-info {
  color: var(--white);
}

#mainContent .title,
#top-shoplist,
body#shopTopPage .item a,
li.breadcrumb__child a,
li.breadcrumb__child span,
h2.category_title,
li.breadcrumb__child:after {
  color: var(--black);
}

body#shopTopPage .item .preOrder {
  border: 1px solid var(--black);
  color: var(--black);
}
.top-news-moreButton a {
  background: var(--white);
  color: var(--black);
}
div#moreItems .btn a {
  background: var(--black);
  color: var(--white);
}
li.breadcrumb__child a {
  border-bottom: 1px solid var(--black);
}
.category_child_wrap li > * {
  color: var(--white);
  background: var(--black);
}
@media only screen and (max-width: 1024px) {
  .top-news-content .top-news-title {
    border-bottom: 1px solid var(--white);
  }
}
/* セクション背景ここまで */

.loading {
  display: flex;
  height: 100svh;
  aspect-ratio: 4 / 5;
  width: 100%;
  justify-content: center;
  text-align: center;
  align-items: center;
  background-color: var(--white);
  font-weight: bold;
  font-size: 1.4rem;
}

/* .loading img {
	width: 5rem;
	margin-bottom: 1.5rem;
	animation: rotate 4s linear infinite;
}
@keyframes rotate {
0% {
	transform: rotate(0deg);
}
100% {
	transform: rotate(360deg);
}
} */

.swiper-horizontal > .swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
  height: 1rem !important;
}

.slide-media {
  position: relative;
  overflow: hidden;
}
.slide-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.mv01 .swiper-fade .swiper-slide {
  -webkit-transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, transform !important;
  transition-property: opacity, transform, -webkit-transform !important;
  pointer-events: none;
}
.mv01 .swiper-fade .swiper-slide-active {
  pointer-events: auto;
}
.mv01 .swiper-pagination {
  position: absolute;
  z-index: 1;
  top: 0 !important;
  bottom: 0 !important;
  left: 6rem !important;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  margin: auto;
}
.mv01 .swiper-pagination-bullet {
  display: block;
  width: 3px;
  height: 4rem;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  background-color: rgb(255 255 255);
  border-radius: unset;
  opacity: 0.6;
  margin-top: 0.8rem !important;
}
.mv01 .swiper-pagination-bullet:not(:first-child) {
  margin-top: 0.8rem;
}
.mv01 .swiper-pagination-bullet-active {
  background-color: var(--color-theme);
  opacity: 1;
}
.mv01 .slide-media {
  height: auto;
  aspect-ratio: 5 / 4;
}
.mv01 .slide-media img {
  -webkit-transition: 7s 1s ease-out;
  transition: 7s 1s ease-out;
}
.mv01 .slide-title {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  color: #fff;
  display: flex;
  z-index: 9999;
  position: absolute;
  top: 0;
  right: 0rem;
  bottom: 10rem;
  left: 0;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
}
.mv01 .swiper-slide[class*="-active"] .slide-media img {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  /* -webkit-transform: scale(1.05);
  transform: scale(1.05); */
}
.mv01 .swiper-slide[class*="-active"] .slide-title {
  -webkit-animation: mv01-fadeIn 2s 0.5s var(--easing) both;
  animation: mv01-fadeIn 2s 0.5s var(--easing) both;
}

/* 暫定対応 2024/12/26 */
.mv01 .slide-title {
  display: none !important;
}

.mv01 .slide-title .kv_viewmore {
  display: block;
  max-width: 24rem;
  padding: 1rem 5rem;
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  box-shadow: 0 0 0 1px currentColor;
  border-radius: 9999px;
  color: var(--white);
  text-align: center;
}

.mv01 .slide-title .kv_viewmore:hover {
  color: var(--black);
  background-color: #fff;
  box-shadow: 0 0 0 1px var(--black);
}

@-webkit-keyframes mv01-fadeIn {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
    -webkit-filter: blur(300px);
    filter: blur(300px);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes mv01-fadeIn {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
    -webkit-filter: blur(300px);
    filter: blur(300px);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-filter: blur(0);
    filter: blur(0);
  }
}
/* ABOUT */
#top-about .title {
  text-align: center;
  display: block;
}

.top-about-wrapper {
  text-align: center;
  margin: 5rem 0 0;
}

.top-about-wrapper img {
  width: 70rem;
  padding: 5rem 0;
  animation: 20s linear infinite rotation3;
}

@keyframes rotation3 {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.top-about-wrapper h3 {
  font-size: 3rem;
}

.top-about-wrapper p {
  font-size: 2.2rem;
  line-height: 4.4rem;
}

/* CATEGORY */
#top-category-swiper .swiper-slide p {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 1.8rem;
  line-height: 2.4rem;
}

#top-category-swiper .swiper-wrapper {
  margin: 5rem 0rem;
}

#top-category-swiper img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* 商品一覧 */
.top-item_wrapper {
  margin: 5rem 0 0 0;
  justify-content: flex-start;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
  grid-gap: 5rem;
  max-width: 100%;
}

body#shopTopPage .item .preOrder {
  font-size: 1.4rem;
  margin: 2rem 0 0;
  padding: 1rem;
  font-size: 1.2rem;
  width: -webkit-fill-available;
  text-align: center;
}

/* TOPお知らせ */
#top-blog {
  display: flex;
  gap: 3%;
  justify-content: space-between;
}

.top-news-wrapper {
  margin: 5rem 0 0 0;
}

#top-blog .top-news-content {
  width: 25%;
}

.top-news-content .top-news-title,
.top-news-content .top-news-date {
  margin: 1rem 0;
  font-size: 1.4rem;
}

.top-news-moreButton {
  text-align: center;
  margin: 10rem 0 0;
}

.top-news-moreButton a {
  width: 24rem;
  padding: 2rem 3rem;
  border-radius: 2rem;
  display: inline-block;
  position: relative;
  font-size: 1.4rem;
}

/* SHOPLIST */
#top-shoplist .title {
  display: block;
  text-align: center;
}

.top-shoplist-wrapper {
  margin: 5rem 0 0;
}

.top-shoplist-attention {
  text-align: center;
  font-size: 1.6rem;
}

.top-shoplist-contents {
  margin: 5rem 0 0;
}

.top-shoplist-choise {
  margin: 3rem auto 6rem;
  text-align: center;
  gap: 3rem;
  display: flex;
  justify-content: center;
}

.top-shoplist-choise button {
  border-radius: 10rem;
  background-color: var(--black);
  border: 1px solid var(--black);
  color: var(--white);
  cursor: pointer;
  outline: none;
  appearance: none;
  padding: 2rem 0;
  width: 40rem;
  font-size: 1.6rem;
  font-family: var(--main-font);
}

.top-shoplist-content .content {
  display: none;
}

.top-shoplist-content .content p {
  display: flex;
  flex-direction: column;
  border-bottom: solid 1px #c2c2c2;
  margin-bottom: 10px;
}

.top-shoplist-content .content p span:last-child {
  font-size: 1.6rem;
  font-weight: bold;
  padding: 1rem 0;
  line-height: 1.2;
}

.top-shoplist-content .content p span:first-child {
  padding: 0.5rem 0 0;
  font-size: 1.8rem;
  line-height: 1;
}

.top-shoplist-content {
  width: 60rem;
  margin: auto;
}
.top-shoplist-choise button.shop-active {
  background-color: var(--white);
  color: var(--black);
}
.shoplist_categories a {
  border-radius: 3rem;
  border: 1px solid var(--black);
  background-color: var(--white);
  color: var(--black);
  cursor: pointer;
  outline: none;
  appearance: none;
  padding: 2rem 0;
  width: 31%;
  font-size: 1.6rem;
}

.shoplist_categories {
  margin: 6rem auto;
  text-align: center;
  gap: 2rem 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

div#moreItems {
  margin: 10rem 0 0;
}

div#moreItems .btn {
  text-align: center;
}

div#moreItems .btn a {
  width: 24rem;
  padding: 2rem 3rem;
  border-radius: 2rem;
  display: inline-block;
  position: relative;
  font-size: 1.4rem;
}

/* ポップアップ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 50;
}
.modal-window-campaign {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 960px;
  width: 90%;
  height: auto;
  background-color: var(--white);
  border-radius: 5px;
  z-index: 51;
}
.modal-window-campaign-content {
  display: flex;
  align-items: center;
}

.modal-window-campaign-content .img {
  width: 55%;
}
.modal-window-campaign-content .item {
  width: 45%;
  margin: auto;
  text-align: center;
}
.modal-window-campaign-content .item .attention {
  width: 80%;
  margin: auto;
  font-size: 1.6rem;
}
.modal-window-campaign-content .item .attention span {
  display: block;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}
.modal-window-campaign-content .item .button {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 3rem auto;
  align-items: center;
}

.modal-window-campaign-content .item .button a {
  background: var(--black);
  color: #fff !important;
  margin-bottom: 2rem;
  width: 24rem;
  padding: 1.5rem 1rem;
  border-radius: 2rem;
  display: inline-block;
  position: relative;
  font-size: 1.4rem;
}

.modal-window-campaign-content .item .button button {
  background: var(--black);
  color: #fff !important;
  width: 26rem;
  padding: 1rem 0rem;
  border-radius: 2rem;
  display: inline-block;
  position: relative;
  font-size: 1.4rem;
  cursor: pointer;
  padding-inline: unset;
}

/* ランキング機能 */
.ranking_wrapper {
  margin-bottom: 5rem;
}

.ranking_contents {
  margin: 5rem 0 0;
}

.ranking_item_img {
  position: relative;
}

.ranking_item_img_overlay {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 6rem;
  height: 6rem;
  text-align: center;
  background: var(--white);
}

span.ranking_item_img_rank {
  width: 100%;
  height: 100%;
  font-weight: bold;
  font-size: 2.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.ranking_list {
  display: grid;
  gap: 3rem 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

h2.ranking_item_text_name {
  color: var(--white);
  font-size: 1.8rem;
  margin: 0.8rem 0 1.6rem 0;
}

span.ranking_item_text_price {
  font-size: 1.8rem;
  color: var(--white);
}

@media only screen and (max-width: 1024px) {
  /* ポップ */
  .modal-window-campaign-content {
    flex-direction: column;
  }

  .modal-window-campaign {
    max-width: 100%;
    width: 90%;
  }

  .modal-window-campaign-content .img {
    width: 100%;
  }

  .modal-window-campaign-content .item {
    width: 95%;
  }

  .modal-window-campaign-content .item .attention {
    font-size: 1.2rem;
    width: 85%;
    margin: 2rem auto;
    line-height: unset;
  }

  .modal-window-campaign-content .item .attention span {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  .modal-window-campaign-content .item .button button,
  .modal-window-campaign-content .item .button a {
    font-size: 1.2rem;
  }

  /* KV */

  .loading {
    height: 100%;
  }

  .mv01 .slide-media {
    height: 100%;
    aspect-ratio: 4/5;
  }
  .mv01 .slide-title {
    font-size: 1.6rem;
    line-height: 1.3;
    bottom: 6rem;
    left: 2rem;
    align-items: flex-start;
    text-align: left;
    right: 8rem;
  }

  .mv01 .swiper-pagination-bullet {
    width: 4rem;
    height: 8px;
  }

  .mv01 .swiper-pagination {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    left: 0 !important;
    margin: 0;
    bottom: 1rem !important;
    justify-content: center;
    position: absolute;
    top: unset !important;
  }

  .mv01 .swiper-pagination-bullet:not(:first-child) {
    margin: 0;
  }

  .mv01 .slide-title .kv_viewmore {
    font-size: 1.2rem;
    padding: 1rem 3rem;
  }

  /* ABOUT */
  #top-about {
    margin-top: -0.5rem;
  }

  .top-about-wrapper {
    margin: 2.5rem 0 0;
  }

  .top-about-wrapper h3 {
    font-size: 1.3rem;
  }

  .top-about-wrapper img {
    width: 28rem;
  }

  .top-about-wrapper p {
    font-size: 1rem;
    line-height: 2.4rem;
  }

  /* カテゴリー */
  #top-category-swiper .swiper-wrapper {
    margin: 2.5rem 0rem;
  }
  #top-category-swiper .swiper-slide p {
    font-size: 1.4rem;
  }

  /* 商品一覧 */
  .top-item_wrapper {
    margin: 2.5rem 0 0;
    grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
    grid-gap: 1rem;
  }

  body#shopTopPage .item {
    /* padding: 1rem; */
    margin-bottom: 2rem;
  }

  body#shopTopPage .item a .itemTitle h2 {
    font-size: 1.3rem;
    margin: 0.5rem 0 1rem;
    min-height: 3rem;
    height: auto;
  }

  body#shopTopPage .item .itemDetail .itemPrice {
    font-size: 1.6rem;
  }

  body#shopTopPage .item .preOrder {
    font-size: 1.2rem;
    padding: 1rem;
    margin: 1.5rem 0 0;
    width: -webkit-fill-available;
    text-align: center;
  }

  /* お知らせ */
  .top-news-wrapper {
    margin: 2.5rem 0 0;
  }

  #top-blog {
    display: block;
  }

  #top-blog .top-news-content {
    width: 100%;
    margin-bottom: 3rem;
  }

  .top-news-content a {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .top-news-content a img {
    width: 29%;
  }

  .top-news-info {
    display: block;
    width: 100%;
  }

  .top-news-content .top-news-date {
    text-align: right;
    margin: 3rem 0 0;
  }

  .top-news-content .top-news-title {
    padding-bottom: 0.5rem;
  }

  .top-news-content .top-news-title,
  .top-news-content .top-news-date {
    font-size: 1.2rem;
  }

  .top-news-moreButton {
    margin: 5rem 0 0;
  }

  .top-news-moreButton a {
    width: 20rem;
    padding: 1.5rem;
    font-size: 1.2rem;
  }
  /* 取扱店舗一覧 */
  .top-shoplist-wrapper {
    margin: 2.5rem 0 0;
  }

  p.top-shoplist-attention {
    font-size: 1.1rem;
  }

  .top-shoplist-contents {
    margin: 2.5rem 0 0;
  }

  .top-shoplist-choise {
    margin: 3rem auto 3rem;
    display: block;
  }

  .top-shoplist-choise button {
    width: 100%;
    margin-bottom: 2rem;
    padding: 1rem 0;
    font-size: 1.4rem;
  }
  .top-shoplist-choise button:last-child {
    margin-bottom: 0;
  }

  .top-shoplist-content {
    width: 100%;
  }

  .top-shoplist-content .content p span:first-child {
    font-size: 1.3rem;
  }

  .top-shoplist-content .content p span:last-child {
    font-size: 1.2rem;
  }

  .shoplist_categories {
    margin: 3rem auto;
    gap: 1rem 0.5rem;
  }

  .shoplist_categories a {
    margin-bottom: 1rem;
    padding: 1rem 0;
    font-size: 1.3rem;
  }

  div#moreItems {
    margin: 5rem 0 0;
  }
  div#moreItems .btn a {
    width: 20rem;
    padding: 1.5rem;
    font-size: 1.2rem;
  }

  ul.ranking_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ranking_contents {
    margin: 2.5rem 0 0;
  }
  h2.ranking_item_text_name {
    margin-bottom: 1rem;
    font-size: 1.4rem;
  }
  span.ranking_item_text_price {
    font-size: 1.3rem;
  }
  .ranking_item_img_overlay {
    width: 4rem;
    height: 4rem;
  }
  span.ranking_item_img_rank {
    font-size: 1.4rem;
  }
}
