.pc_view {
  display: block;
}
.sp_view {
  display: none;
}
/* 基本のタイトルスタイル */
.ttl {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  position: relative;
}
/* ニュースセクションのスタイリング */
.news-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px 30px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.news-item:last-child {
  border-bottom: none;
}

/* 日付のスタイル */
.news-date {
  display: block;  /* これで改行されます */
  color: #666;
  font-size: 0.9em;
}

/* リンクと通常メッセージ共通のスタイル */
.news-link,
.news-message {
  display: block;  /* これで改行されます */
  color: #262626;
  line-height: 1.6;
}

.news-link {
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-link:hover {
  color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-section {
    padding: 15px 20px;
    margin: 20px 15px;
  }
  
  .news-item {
    padding: 12px 0;
  }
}

#kv {
  position: relative;
  margin: 0 auto -3vw auto;
  padding-top:15px;
}

.kv_txt {
  color: rgb(255, 255, 255);
  position: absolute;
  right: 2vw;
  bottom: 5vw;
  z-index: 1;
  width: 47%;
  line-height: 35px;
}

#sec1 {
  margin-bottom: -2vw;
  margin-top: 5vw;
}

#sec1 img {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

@media (max-width: 1300px) {
  .kv_txt {
    bottom: 2.5vw;
    width: 48%;
  }
}

@media (max-width: 768px) {
  .kv_txt {
    top: 83vw;
    width: 90%;
    line-height: 7vw;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #sec1 img {
    width: 100%;
  }

  .recommend-unit {
    width: 49%;
    padding: 1%;
    margin: 0 auto;
  }
  .seller-unit {
    width: 49%;
    padding: 1%;
    margin: 0 auto;
  }

  .pc_view {
    display: none;
  }
  .sp_view {
    display: block;
  }

  .row .col-lg-2,
  .row .col-lg-2 a {
    font-size: 14px;
  }
}

li.recommend-unit,
li.seller-unit {
  max-width: 320px;
}

body {
  counter-reset: number 0; /* number のカウンタを 0 にセット */
}

li.top_ranking {
  position: relative;
}
li.top_ranking a.top_ranking_a:before {
  counter-increment: number 1;
  content: counter(number) " ";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 11;
  background: #fff;
  padding: 5px 20px 10px 10px;
  border-radius: 0 0 10em;
  font-size: 22px;
  box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.2);
}

#sec2 {
  position: relative;
}

#sec2 div {
  display: flex;
  gap: 2vw;
  font-size: 25px;
  justify-content: center;
}

#sec2 div a {
  background-color: #262626;
  color: #fff;
  width: 300px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
  position: relative;
}

#sec2 div a:hover {
  text-decoration: none;
  opacity: 0.5;
  transition-duration: 0.3s;
}

#sec2 div a::after {
  content: url(https://img21.shop-pro.jp/PA01503/141/etc_base64/YXJyb3c.png?cmsp_timestamp=20230925172837);
  filter: invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%);
  position: absolute;
  right: 15px;
}

@media (max-width: 768px) {
  #sec2 div {
    flex-flow: column;
    margin: 0 auto;
    font-size: 5vw;
  }

  #sec2 div a {
    margin: 0 auto;
    height: 20vw;
    gap: 1vw;
  }

  #sec2 div a:nth-child(1) {
    margin-top: 3vw;
  }
}

/* セクション3の基本スタイル */
/* 通常のボタンスタイル */
#sec3 > div:not(.purpose-grid):not(.button-group) {
  display: flex;
  gap: 1vw;
  font-size: 21px;
  justify-content: center;
}

#sec3 > div:not(.purpose-grid):not(.button-group) a {
  background-color: #262626;
  color: #fff;
  width: 300px;
  height: 90px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  position: relative;
  line-height: 15px;
  padding-bottom: 6px;
  text-decoration: none;
}

#sec3 > div:not(.purpose-grid):not(.button-group) a:hover {
  text-decoration: none;
  opacity: 0.5;
  transition-duration: 0.3s;
}

#sec3 > div:not(.purpose-grid):not(.button-group) a::after {
  content: url(https://img21.shop-pro.jp/PA01503/141/etc_base64/YXJyb3c.png?cmsp_timestamp=20230925172837);
  filter: invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%);
  position: absolute;
  right: 15px;
}

/* ボタングループのスタイル */
#sec3 .button-group {
  display: flex;
  gap: 1vw;
  font-size: 21px;
  justify-content: center;
}

#sec3 .button-group a {
  background-color: #262626;
  color: #fff;
  width: 300px;
  height: 90px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  position: relative;
  line-height: 15px;
  padding-bottom: 6px;
  text-decoration: none;
}

#sec3 .button-group a:hover {
  opacity: 0.5;
  transition-duration: 0.3s;
}

#sec3 .button-group a::after {
  content: url(https://img21.shop-pro.jp/PA01503/141/etc_base64/YXJyb3c.png?cmsp_timestamp=20230925172837);
  filter: invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%);
  position: absolute;
  right: 15px;
}

/* 商品カテゴリーグリッド */
#sec3 .purpose-grid {
  display: flex;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

#sec3 .purpose-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  text-decoration: none;
  display: block;
}

#sec3 .purpose-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

#sec3 .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

#sec3 .category-name {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ホバーエフェクト */
#sec3 .purpose-card:hover .purpose-image {
  transform: scale(1.05);
}

/* マージン設定 */
.mt20 {
  margin-top: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  #sec3 {
    padding: 20px 0;
  }

  #sec3 > div:not(.purpose-grid):not(.button-group),
  #sec3 .button-group {
    flex-direction: column;
    gap: 15px;
    margin: 0 auto;
    font-size: 5vw;
  }

  #sec3 > div:not(.purpose-grid):not(.button-group) a,
  #sec3 .button-group a {
    width: 90%;
    height: 20vw;
    margin: 0 auto;
  }

  #sec3 > div:not(.purpose-grid):not(.button-group) a:nth-child(1),
  #sec3 .button-group a:nth-child(1) {
    margin-top: 3vw;
  }

  #sec3 .purpose-grid {
    flex-direction: column;
    gap: 15px;
    margin: 20px auto;
  }

  #sec3 .purpose-card {
    aspect-ratio: 16/9;
  }

  #sec3 .category-name {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  #sec3 .purpose-grid {
    gap: 10px;
    padding: 0 10px;
  }

  #sec3 .category-name {
    font-size: 18px;
  }
}

/* ギャラリーのスタイル*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.gallery-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-text {
  color: white;
  font-size: 16px;
  text-align: center;
  padding: 15px;
  margin: 0;
}

.gallery-link:hover .gallery-overlay {
  opacity: 1;
}

.gallery-link:hover .gallery-image {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery-grid {
    gap: 10px;
    padding: 0 10px;
  }
  
  .gallery-text {
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    gap: 5px;
  }
  
  .gallery-text {
    font-size: 12px;
    padding: 8px;
  }
}

.mt20{
  margin-top: 20px;
}

/* カレンダー全体の中央寄せ */
.side_cal_memo {
  letter-spacing: 0.2em;
  line-height: 1.5;
  font-size: 32px;/* お知らせテキストのサイズ調整 */
  text-align: center;
  margin-top:20px;
  margin-bottom: 15px; 
}
.ayamaribun {
 font-size:14px;
}
/* side_cal内のテーブルを横並びにする */
.side_cal {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* カレンダーテーブル自体の調整 */
.tbl_calendar {
  margin: 0;
  border-collapse: collapse;
  min-width: 320px; /* テーブルの最小幅を設定 */
}

/* キャプション（月表示）のスタイル */
.tbl_calendar caption {
  font-size: 18px;
  font-weight: bold;
  padding: 10px 0;
}

/* セルのサイズと余白の調整 */
.tbl_calendar th,
.tbl_calendar td {
  padding: 12px;
  text-align: center;
  font-size: 16px;
  width: 40px;
  height: 40px;
}

/* 曜日の行のスタイル */
.tbl_calendar th {
  background-color: #f5f5f5;
  font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .side_cal {
    flex-direction: column;
    align-items: center;
      gap: 5px;
    
  }
  .ayamaribun {
    font-size:12px;
  }
  
  .tbl_calendar {
    margin: 10px 0;
    min-width: 280px;
    padding:0,30px;/* モバイル時は少し小さく */
  }
  
  .tbl_calendar th,
  .tbl_calendar td {
    padding: 8px;
    font-size: 14px;
    width: 35px;
    height: 35px;
  }
  .side_cal_memo{
    font-size: 24px;
}
  /*ご紹介のスタイル */
  #sec5 {
  padding: 60px 0;
  background: #fff;
}

#sec5 .ttl {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
}

#sec5 .ttl::after {
  content: '';
  width: 40px;
  height: 2px;
  background: #262626;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.gallery-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-text {
  color: white;
  font-size: 16px;
  text-align: center;
  padding: 15px;
  margin: 0;
  position: relative;
  padding-right: 30px;
}

.gallery-text::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.gallery-link:hover .gallery-overlay {
  opacity: 1;
}

.gallery-link:hover .gallery-image {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  #sec5 {
    padding: 40px 0;
  }

  #sec5 .ttl {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .gallery-grid {
    gap: 15px;
    padding: 0 15px;
  }
  
  .gallery-text {
    font-size: 14px;
    padding: 10px 25px 10px 10px;
  }
  
  .gallery-text::after {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  #sec5 {
    padding: 30px 0;
  }

  .gallery-grid {
    gap: 10px;
    padding: 0 10px;
  }
  
  .gallery-text {
    font-size: 12px;
    padding: 8px 20px 8px 8px;
  }
  
  .gallery-text::after {
    width: 5px;
    height: 5px;
  }
}

  