@charset "UTF-8";
/* 商品のご紹介：年度切替＋画像切替＋オプション一覧（1カラム） */

.goods2 { margin: 3.75em auto 0; max-width: 760px; padding: 0 24px; }

/* 年度タブ */
.goods2__tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
.goods2__tab {
  min-width: 150px; padding: 13px 18px; cursor: pointer;
  background: transparent; border: 1px solid #c9bfae; border-radius: 2px;
  font-family: inherit; font-size: .9375em; letter-spacing: .08em; color: #3c3229;
  transition: background .25s, color .25s, border-color .25s;
}
.goods2__tab:hover { border-color: #d67400; color: #d67400; }
.goods2__tab.is-active { background: #d67400; border-color: #d67400; color: #fff; }

/* 年度パネル */
.goods2__panel { display: none; }
.goods2__panel.is-active { display: block; }

/* 画像（縦長）：メイン画像の右にサムネイルを並べる */
.goods2__visual { margin: 0 auto 40px; }
.goods2__gallery { display: flex; gap: 12px; align-items: flex-start; justify-content: center; }
.goods2__main { position: relative; flex: 0 1 360px; aspect-ratio: 3 / 4; background: #f4f1ea; overflow: hidden; }
.goods2__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.goods2__main img.is-active { opacity: 1; }
.goods2__caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 26px 14px 12px; margin: 0;
  background: linear-gradient(180deg, rgba(40,32,24,0), rgba(40,32,24,.62));
  color: #fff; font-size: .8125em; line-height: 1.6; letter-spacing: .04em;
}
.goods2__thumbs { display: flex; flex-direction: column; flex-wrap: wrap; align-content: flex-start; gap: 8px; max-height: 480px; }
.goods2__thumb {
  width: 68px; padding: 0; cursor: pointer; background: #fff; border: 1px solid #ddd4c3; border-radius: 2px;
  transition: border-color .25s;
}
.goods2__thumb.is-active { border-color: #d67400; }
.goods2__thumb img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* 商品一覧 */
.goods2__listTitle { font-size: .8125em; letter-spacing: .14em; color: #857a6b; margin-bottom: 14px; }
.goods2__item { padding: 22px 0; border-top: 1px solid #e3dccd; }
.goods2__item:last-child { border-bottom: 1px solid #e3dccd; }
.goods2__itemName { font-size: 1.0625em; font-weight: 600; line-height: 1.6; }
.goods2__itemTxt { margin-top: 6px; font-size: .8125em; line-height: 1.9; color: #6b6358; }
.goods2__itemBuy { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.goods2__itemPrice { font-size: 1.125em; font-weight: 600; margin-right: auto; }
.goods2__itemPrice .tax { font-size: .625em; margin-left: 4px; color: #6b6358; }
.goods2__qty { display: flex; align-items: center; gap: 6px; font-size: .8125em; color: #6b6358; }
.goods2__qty select { font: inherit; padding: 8px 10px; border: 1px solid #ddd4c3; border-radius: 2px; background: #fff; }
.goods2__submit {
  min-width: 132px; height: 44px; padding: 0 18px; cursor: pointer;
  background: #d67400; color: #fff; border: 0; border-radius: 2px;
  font-family: inherit; font-size: .875em; letter-spacing: .08em;
  transition: opacity .25s;
}
.goods2__submit:hover { opacity: .85; }
.goods2__submit:disabled { background: #c3bcb1; cursor: default; }
.goods2__note { margin-top: 18px; font-size: .75em; line-height: 2; color: #6b6358; }
.goods2__link { color: #d67400; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
  .goods2 { padding: 0 20px; }
  .goods2__gallery { gap: 8px; }
  .goods2__main { flex: 0 1 220px; }
  .goods2__thumbs { max-height: 293px; }
  .goods2__thumb { width: 48px; }
  .goods2__itemPrice { margin-right: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .goods2__main img { transition: none; }
}
