@charset "UTF-8";

.underline {
  text-decoration: underline;
}
.news-modal .modal-background {
  background: rgba(32, 32, 32, 0.5);
  backdrop-filter: none;
}

/* .news-modal .modal-background {
  background: transparent;
  backdrop-filter: none;
}

body.modal-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: #D9D9D9;
  mix-blend-mode: multiply;
} */

@supports not (mix-blend-mode: multiply) {
  body.modal-open::before {
    opacity: 0.6;
  }
}

#header-common {
  /* overflow-x: clip はSafariで縦方向も切り取られメニューが消えるため、
     左右のみクリップし下方向はメニュー分はみ出せるようにする */
  clip-path: inset(0 0 -100vh 0);
}

#article-list .article-item {
  position: relative;
}
#article-list .article-item.new::after {
  content: "";
  background: url(/store/kombuyamagobei/images/ico-new.svg) no-repeat;
  width: 75px;
  height: 75px;
  top: -20px;
  left: -20px;
  position: absolute;
}
/* Swiper解除時（600px以下）のスタイル */
@media (max-width: 600px) {
  #article-list .article-swiper {
    overflow: visible;
  }
  
  #article-list .swiper-wrapper {
    display: block;
    transform: none !important;
  }
  
  #article-list .swiper-slide {
    width: 100% !important;
    margin-right: 0;
  }
  
  #article-list .article-item {
    margin-bottom: 35px;
  }
  
  #article-list .swiper-pagination,
  #article-list .swiper-button-prev,
  #article-list .swiper-button-next {
    display: none;
  }
}

/* ナビゲーションボタンを外側に配置 */
@media (min-width: 601px) {
  #article-list {
    max-width: 1186px;
  }
  #article-list .article-swiper {
    margin-left: -20px;
    padding-left: 20px;
    margin-top: -20px;
    padding-top: 20px;
  }
  #article-list .article-item a dl {
    display: block;
    gap: 0;
  }
  #article-list .article-item a img {
    width: auto;
  }
  #article-list .article-item {
    margin-bottom: 0;
  }
  #article-list .article-item a h4 {
    font-size: 1.6rem;
  }
  #article-list .swiper-container-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  #article-list .article-swiper {
    flex: 1;
    overflow: hidden;
  }
  
  /* スライドの高さを揃える */
  #article-list .swiper-wrapper {
    align-items: stretch;
  }
  
  #article-list .swiper-slide {
    height: auto;
    display: flex;
  }
  
  #article-list .article-item {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  #article-list .article-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  #article-list .article-item a dl {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  #article-list .swiper-button-prev,
  #article-list .swiper-button-next {
    position: static;
    width: 44px;
    height: 44px;
    margin: 0;
    margin-top: 0;
    flex-shrink: 0;
    align-self: center;
  }
  
  #article-list .swiper-button-prev {
    order: -1;
  }
  
  #article-list .swiper-button-next {
    order: 1;
  }
  
  /* ボタンのスタイル調整 */
  #article-list .swiper-button-prev:after,
  #article-list .swiper-button-next:after {
    font-size: 24px;
    color: #414141;
  }
}

#news {
  background: #FBFFF7;
  padding: 40px 6.41vw;
  margin-bottom: 90px;
}

#news h2 {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

#news .news-list {
  max-width: 700px;
  margin: 0 auto;
}

#news .news-item {
  width: 100%;
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 30px;
  align-items: baseline;
  text-align: left;
  border-bottom: 1px solid #8f918d;
  padding: 12px 0;
}

#news .news-date {
  font-size: 1.3rem;
  line-height: 1;
  color: #777;
}

#news .news-title {
  font-size: 1.6rem;
  line-height: 1.55;
}
#news .news-title br {
  display: none;
}
@media (max-width: 600px) {
  #news {
    margin-bottom: 150px;
  }

  #news .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #news .news-date {
    font-size: 1.4rem;
    color: #666;
  }

  #news .news-title {
    font-size: 1.6rem;
    line-height: 1.44;
  }

  #news .news-title br.sp-br {
    display: block;
  }
}

.news-modal .modal-content {
  width: min(460px, calc(100% - 32px));
  max-height: min(86vh, 720px);
  border-radius: 4px;
}

.news-modal .modal-body {
  background: none;
  max-height: calc(min(86vh, 720px) - 80px);
  padding: 0;
}

.news-modal .modal-text {
  max-width: max-content;
  margin: 0 auto;
  padding: 40px 40px 20px;
  line-height: 1.85;
}

.news-modal .news-modal-date {
  font-size: 1.3rem;
  line-height: 1;
  color: #777;
  margin-bottom: 10px;
}

.news-modal .news-modal-title {
  font-size: 1.8rem;
  line-height: 1.85;
  margin-bottom: 10px;
}

.news-modal .modal-text p:last-child {
  margin-bottom: 0;
}

.news-modal .news-modal-close {
  width: auto;
  height: auto;
  margin: 0 auto 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.news-modal .news-modal-close-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.news-modal .news-modal-close-label {
  font-size: 1.6rem;
  line-height: 1;
}

@media (max-width: 600px) {
  .news-modal .modal-content {
    width: calc(100% - 24px);
    max-height: 84vh;
  }

  .news-modal .modal-body {
    max-height: calc(84vh - 66px);
  }

  .news-modal .modal-text {
    padding: 20px;
  }

}
@media (min-width: 992px) {
    #top .swiper-slide img {
        height: initial;
    }
}
@media (min-width: 992px) and (orientation: landscape) {
  #top .swiper-slide img {
    height: 80vh;
  }
}
@media (min-width: 768px) and (orientation: portrait) {
  #top .slideshow-area {
    clip-path: ellipse(72% 100% at 50% 100%);
  }
  @media (min-width: 992px) {
    #top .slideshow-area {
      clip-path: ellipse(100% 90% at 0% 50%);
    }
  }
}