@charset "utf-8";

:root {
  --paper: #fff1b7;
  --red: #b81525;
  --ink: #2c211a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
}

img { display: block; max-width: 100%; }

.autumn-fair {
  position: relative;
  width: min(100%, 1200px);
  margin-inline: auto;
  overflow: hidden;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  background: var(--paper);
}

.leaves { position: absolute; top: 0; z-index: 1; pointer-events: none; }
.leaves--left { left: 0; width: 23%; }
.leaves--right { right: 0; width: 37%; }

.fair-header {
  position: relative;
  z-index: 2;
  width: 70%;
  margin: 0 auto;
  padding: 44px 0 8px;
      background: transparent;
}

.fair-header h1 { margin: 0; }

.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, .9fr);
  align-items: center;
  gap: 18px;
  margin: 0 6%;
  padding: 30px 0 42px;
  border-bottom: 2px solid rgb(94 62 25 / 42%);
}

.product--kuri { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }

.product__visual img { width: 100%; }

.product__detail {
  position: relative;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 700;
  line-height: 1.65;
}

.badge { width: 88px; margin: 0 0 18px auto; }
.price { white-space: nowrap; }
.price strong { font-size: 1.45em; }
.price small { font-size: .8em; }

.gokoku-section {
  position: relative;
  margin: 0 6%;
  padding: 18px 0 44px;
  border-bottom: 2px solid rgb(94 62 25 / 42%);
}

.gokoku-heading { position: relative; z-index: 3; width: 52%; margin: 0 auto 16px; }
.gokoku-heading img { width: 100%; }
.gokoku-offers {
  position: relative;
  height: clamp(520px, 45vw, 540px);
}
.gokoku-main {
  position: static;
}
.gokoku-main__art {
  position: absolute;
  inset: 0 32% 0 0;
}
.gokoku-main__rice { position: absolute; top: -6%; left: -2%; width: 49%; }
.gokoku-main__can { position: absolute; top: 2%; left: 39%; width: 40%; }
.gokoku-main__cookies { position: absolute; top: 48%; left: 66%; width: 35%; }
.gokoku-main__mobile { display: none; }
.gokoku-main__detail {
  position: absolute;
  z-index: 2;
  bottom: 3%;
  left: 18%;
  width: 30%;
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 700;
  line-height: 1.55;
}
.gokoku-main__detail .badge { margin: 0 auto 10px 0; }
.gokoku-main__detail p { margin: 8px 0; }
.comparison-set {
  position: absolute;
  top: auto;
  bottom: 3%;
  right: 0;
  width: 32%;
  font-weight: 700;
}
.comparison-set__image { width: 100%; margin: 0 auto 8px; }
.comparison-set__copy { width: 88%; margin-left: auto; }

.comparison-set__badge {
  display: table;
  margin: -2px 0 4px auto;
  padding: 4px 12px;
  color: #fff;
  background: #d51724;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.2;
}

.comparison-set h3 {
  margin: 2px 0;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.25;
}

.comparison-set__amount { margin: 5px 0; font-size: 14px; }
.comparison-set__price { margin: 6px 0; white-space: nowrap; }
.comparison-set__price span { padding: 4px 7px; color: #fff; background: #e31920; }
.comparison-set__price strong { font-size: 1.45em; }
.comparison-set .order-button { width: 100%; margin-top: 14px; font-size: clamp(15px, 1.45vw, 20px); }

.order-button {
  display: block;
  width: min(100%, 340px);
  margin: 20px auto 0;
  padding: 12px 20px;
  color: #fff;
  background: var(--red);
  border: 2px solid var(--red);
  font-size: clamp(16px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.order-button:hover,
.order-button:focus-visible {
  color: var(--red);
  background: #fff;
  transform: translateY(-2px);
  outline: none;
}

.gift-section {
  margin: 40px 3% 0;
  padding: 34px 4% 48px;
  background: rgb(255 255 255 / 75%);
}

.gift-section picture,
.gift-section picture img { display: block; width: 100%; }

.feature {
  margin: 0 6%;
  padding: 48px 1% 54px;
}

.jyure-picture,
.jyure-visual { display: block; width: 100%; }
.sake-details { display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: end; padding: 22px 2% 0; }
.sake-copy p:not(.feature-label) { font-size: 15px; font-weight: 700; line-height: 1.65; }
.sake-copy .feature-note { color: #0649a3; font-size: 18px; }
.sake-order { display: flex; flex-direction: column; align-items: stretch; justify-self: end; width: min(100%, 340px); gap: 14px; }
.price-list { width: 100%; margin: 0; padding: 0; list-style: none; font-size: 17px; font-weight: 700; line-height: 1.7; text-align: left; white-space: nowrap; }
.price-list b { font-size: 1.45em; }
.price-list__quantity { font-size: 1em; }
.price-list small { font-size: .75em; }
.sake-order .order-button { width: 100%; margin: 0; }
.feature-label span, .popular { display: inline-grid; place-items: center; padding: 15px 18px; color: #fff; background: #d30b22; border-radius: 50%; }

.feature--momiji h2 { width: 55%; margin: 0 0 8px; }
.momiji-layout { display: grid; grid-template-columns: .9fr 1.25fr; gap: 18px; align-items: center; margin-top: -118px; }
.momiji-product { width: 100%; }
.momiji-characters { width: 100%; }
.momiji-copy > p:not(.popular) {  font-size: clamp(17px, 2vw, 24px); font-weight: 700; line-height: 1.7; }
.momiji-copy p span { color: #d30b16; }
.momiji-copy .popular { display: inline-grid; margin: 4px 0; font-size: 20px; font-weight: 700; }
.momiji-price { white-space: nowrap; }
.momiji-price strong { font-size: 1.5em; }
.momiji-price b { font-size: 1.35em; }
.momiji-price small { font-size: .7em; }
.momiji-copy .order-button { margin-right: 0; }

@media (max-width: 900px) {
.momiji-layout {
    margin-top: -9vw;
}
}
@media (max-width: 700px) {
  .fair-header { width: 88%; padding-top: 30px; }
  .leaves--left { width: 28%; }
  .leaves--right { width: 45%; }

  .product,
  .product--kuri {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-inline: 4%;
    padding: 24px 0 34px;
  }

  .product__detail { padding-inline: 6%; font-size: 14px; }
  .badge { width: 68px; margin-top: -16px; }
  .price { white-space: normal; }
  .gokoku-section { margin-inline: 4%; padding: 12px 0 34px; }
  .gokoku-heading { display: none; }
  .gokoku-offers { display: grid; grid-template-columns: 1fr; gap: 32px; height: auto; }
  .gokoku-main { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; }
  .gokoku-main__art { display: none; }
  .gokoku-main__mobile { display: block; width: 100%; }
  .gokoku-main__detail { width: 70%; margin-left: auto; padding: 0 3%; font-size: 14px; }
  .gokoku-main__detail { position: static; }
  .gokoku-main__detail .badge { margin: -2px auto 14px 0; }
  .gokoku-main__detail .badge { width: 68px; margin: -2px auto 14px 0; }
  .gokoku-main__detail .order-button { width: 100%; }
  .comparison-set { position: static; width: 88%; margin: 0 auto; }
  .comparison-set__image { width: 100%; margin-inline: auto; }
  .comparison-set__copy { width: 82%; margin: -6px auto 0; }
  .comparison-set h3 { font-size: 23px; }
  .comparison-set .order-button { width: 100%; }
  .order-button { width: 86%; min-height: 48px; display: grid; place-items: center; }

  .gift-section { margin: 24px 2% 0; padding: 18px 2% 28px; }
  .feature { margin-inline: 4%; padding: 32px 2%; }
  .sake-details, .momiji-layout { grid-template-columns: 1fr; gap: 12px; }
  .sake-details { padding-top: 14px; }
  .price-list { font-size: 15px; text-align: center; }
  .sake-order { justify-self: center; width: 86%; gap: 12px; }
  .sake-order .order-button { width: 100%; margin: 0; }
  .momiji-copy .order-button { margin-right: auto; }
  .feature--momiji h2 { width: 95%; }
  .momiji-layout { gap: 4px; margin-top: 4px; }
  .momiji-product { width: 86%; margin: auto; }
  .momiji-copy > p:not(.popular) { font-size: 16px; }
  .momiji-price { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
/*-----------------------------------------------------
item_sec
------------------------------------------------------*/
.item_sec {
    position: relative;
    width: min(96%, 1200px);
    margin-inline: auto;
    overflow: hidden;
}
.item_list{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 5%; 
	row-gap: 0.5rem;
    margin-top: 1rem;
}

.qty_wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.qty_wrap input[type="text"] {
  width: 35px !important;
  text-align: center;
  border: none !important;
  outline: none;
  font-size: 16px;
  height: 18px;
}

.qty_btn {
  width: 26px;
  height: 26px;
  font-size: 16px;
  background: #f5f5f5;
  color: #333;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.qty_btn:hover {
  background: #ddd;
}
.cartjs_box {
    margin-top: 0px !important;
}
.cartjs_product_img {
    float: none;
    width: 100% !important;
    margin-left: -2%;
    margin-right: 5%;
}
.cartjs_cart_in {
    margin-left: 0% !important;
    width: 100% !important;
    text-align: left !important;
}
.cartjs_product_table {
    width: 100% !important;
    margin: 10px auto 0 !important;
    padding: 5px auto !important;
    float: none !important;
}
.cartjs_sales_price th,
.cartjs_product_num th,
.cartjs_option.cartjs_cart_in th{
    display: none;
}
.cartjs_sales_price td,
.cartjs_product_num td,
.cartjs_option.cartjs_cart_in td{
    width:100% !important;
}
.cartjs_product_name,
.cartjs_sales_price td{
    font-weight: normal !important;
    font-size: 1.0rem !important;
}

.cartjs_cart_in input[type="submit"] {
    width: 100%!important;
    height: 38px!important;
    margin-bottom: 0!important;
    background-color: #b81525!important;
}

@media screen and (max-width: 768px) {


.item_list {
    display: block;
    grid-template-columns: 1fr;
    column-gap: 0%;
    row-gap: 0rem;
}

.cartjs_product_form{
  display:flex !important;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}

/* 左：画像 */
.cartjs_product_img{
  flex:0 0 40%;
  margin:0 !important;
  text-align:center !important;
}

/* 右：画像以外をまとめた塊 */
.cartjs_right_group{
  flex:1 1 50%;
  margin:0 !important;
  text-align:left !important;
}

/* 右側内部の体裁 */
.cartjs_right_group .cartjs_cart_in,
.cartjs_right_group .cartjs_product_table{
  width:auto !important;
  margin:0.5rem 0 0!important;
}
.cartjs_right_group .cartjs_product_table table{
  width:100% !important;
  margin:0 !important;
}

.qty_wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.qty_wrap input[type="text"] {
  width: 35px !important;
  text-align: center;
  border: none !important;
  outline: none;
  font-size: 16px;
  height: 18px;

}

.qty_btn {
  width: 26px;
  height: 26px;
  font-size: 16px;

  background: #f5f5f5;
  color: #333;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.qty_btn:hover {
  background: #ddd;
}
.cartjs_box {
    margin-top: 15px !important;
    padding: 0 !important;
}
.cartjs_sales_price th,
.cartjs_product_num th,
.cartjs_option.cartjs_option1 th{
    display: none;
}
.cartjs_cart_in input[type="submit"] {
    width: 100%!important;
    height: 30px!important;
    background-color: #db7a16!important;

}
.cartjs_cart_in{
    text-align: left!important;
}

.cartjs_product_name,
.cartjs_sales_price td{
    font-weight: normal !important;
    font-size: 1.0rem !important;
}
.cartjs_right_group .cartjs_product_table{
    width: 100%!important;
    padding: 0!important;

}
.cartjs_sales_price td,
.cartjs_product_num td,
.cartjs_option.cartjs_cart_in td{
    padding: 2px 0!important;
}
.item_sec .box{
  padding:0 0 1rem;
  margin-bottom:1rem;
  border-bottom:1px solid #ccc;
}
}
