@charset "UTF-8";
/* =========================================================
   MINORI MART – QUALITY（商品へのこだわり）
   ========================================================= */

/* 3 pillars */
.q-pillars { padding-block: clamp(48px, 5vw, 72px); }
.q-pillars__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.q-pillars__list li { position: relative; padding: 34px 30px 30px; background: #fff; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.q-pillars__list li::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--c-red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.q-pillars__num { position: absolute; right: 18px; top: 4px; font-family: var(--f-en); font-size: 76px; line-height: 1; color: transparent; -webkit-text-stroke: 1px #ead9cd; transition: -webkit-text-stroke-color .4s; }
.q-pillars__icon { width: 60px; height: 60px; border-radius: 50%; background: #f8e0e1; color: var(--pg-wine); display: grid; place-items: center; transition: transform .7s var(--ease), background .4s, color .4s; }
.q-pillars__icon svg { width: 34px; height: 34px; }
.q-pillars__en { margin-top: 18px; font-family: var(--f-en); font-size: 12px; letter-spacing: .26em; color: var(--pg-wine); }
.q-pillars__list h3 { font-family: var(--f-mincho); font-weight: 800; font-size: 22px; letter-spacing: .06em; color: var(--pg-ink); margin: 4px 0 8px; }
.q-pillars__list p:last-child { font-size: 13.5px; line-height: 1.9; }
@media (hover: hover) {
  .q-pillars__list li:hover { transform: translateY(-6px); box-shadow: 0 22px 36px -22px rgba(61,37,24,.4); }
  .q-pillars__list li:hover::after { transform: scaleX(1); }
  .q-pillars__list li:hover .q-pillars__icon { transform: rotate(360deg); background: var(--pg-wine); color: #fff; }
  .q-pillars__list li:hover .q-pillars__num { -webkit-text-stroke-color: var(--c-red); }
}

/* flow */
.q-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.q-flow li { position: relative; padding: 28px 22px 26px; border: 1px solid var(--pg-rule); background: #fff; transition: border-color .4s, transform .5s var(--ease); }
.q-flow li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; z-index: 2; width: 14px; height: 14px; margin-top: -7px; background: var(--pg-wine); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.q-flow__time { display: inline-block; font-family: var(--f-en); font-size: 13px; letter-spacing: .14em; color: #fff; background: var(--pg-wine); padding: 4px 12px; }
.q-flow__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 18px 0 14px; border-radius: 50%; background: var(--pg-cream); color: var(--pg-wine); transition: transform .6s var(--ease), background .4s, color .4s; }
.q-flow__icon svg { width: 36px; height: 36px; }
.q-flow h3 { font-size: 17px; font-weight: 900; letter-spacing: .06em; color: var(--pg-ink); margin-bottom: 6px; }
.q-flow p { font-size: 13px; line-height: 1.85; }
@media (hover: hover) {
  .q-flow li:hover { border-color: var(--pg-wine); transform: translateY(-6px); }
  .q-flow li:hover .q-flow__icon { background: var(--pg-wine); color: #fff; transform: rotate(-12deg) scale(1.06); }
}
.q-counts .pg-count { background: var(--pg-cream); }

/* categories */
.q-cats { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.q-cat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.q-cat--rev .q-cat__img { order: 2; }
.q-cat__img { margin: 0; aspect-ratio: 4/3.4; }
.q-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.q-cat__img.is-inview img { transition: transform 1.2s var(--ease); }
.q-cat:hover .q-cat__img img { transform: scale(1.05); }
.q-cat__en { display: flex; align-items: center; gap: 12px; font-family: var(--f-en); font-size: 13px; letter-spacing: .28em; color: var(--pg-wine); }
.q-cat__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--pg-wine); color: #fff; display: grid; place-items: center; transition: transform .6s var(--ease); }
.q-cat__icon svg { width: 30px; height: 30px; }
.q-cat:hover .q-cat__icon { transform: rotate(-15deg) scale(1.08); }
.q-cat h3 { margin-top: 14px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; letter-spacing: .1em; color: var(--pg-ink); }
.q-cat__lead { margin: 10px 0 16px; font-family: var(--f-mincho); font-weight: 800; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.7; color: var(--pg-wine); }
.q-cat__body > p:not([class]) { font-size: 14px; line-height: 2.05; }
.q-cat__points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.q-cat__points li { position: relative; padding: 7px 16px 7px 30px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 700; transition: background .3s, color .3s; }
.q-cat__points li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--c-red); }
.q-cat__points li:hover { background: var(--pg-wine); color: #fff; }
.q-cat__points li:hover::before { background: #fff; }
.q-cat__voice { position: relative; margin-top: 22px; padding: 18px 20px 16px 52px; background: #fff; border-left: 3px solid var(--pg-wine); }
.q-cat__voice::before { content: "“"; position: absolute; left: 14px; top: 2px; font-family: var(--f-mincho); font-size: 52px; line-height: 1; color: var(--c-red); }
.q-cat__voice p { font-size: 13.5px; line-height: 1.9; font-weight: 500; }
.q-cat__voice cite { display: block; margin-top: 6px; font-style: normal; font-size: 11.5px; color: var(--c-gray); }

/* PB */
.q-pb__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.q-pb__catch { margin: 18px 0 16px; font-size: clamp(22px, 2.2vw, 30px); }
.q-pb__text > p:not([class]) { font-size: 14px; line-height: 2.05; }
.q-pb__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.q-pb__stats li { padding: 16px 14px; border: 1px solid var(--pg-rule); text-align: center; transition: border-color .4s, background .4s; }
.q-pb__stats b { font-family: var(--f-en); font-size: clamp(30px, 3vw, 42px); font-weight: 500; color: var(--pg-wine); line-height: 1.1; }
.q-pb__stats small { font-size: 12px; font-weight: 700; margin-left: 3px; color: var(--pg-wine); }
.q-pb__stats span { display: block; font-size: 11px; color: var(--c-gray); margin-top: 4px; }
.q-pb__stats li:hover { border-color: var(--pg-wine); background: #fff8f6; }
.q-pb__img { margin: 0; aspect-ratio: 5/4; }
.q-pb__img img { width: 100%; height: 100%; object-fit: cover; }
.q-pb__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.q-pb__items li { position: relative; padding: 30px 22px 24px; background: var(--pg-cream); text-align: center; transition: transform .5s var(--ease), background .4s, box-shadow .5s var(--ease); }
.q-pb__icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 14px; border-radius: 50%; background: #fff; color: var(--pg-wine); transition: transform .7s var(--ease); }
.q-pb__icon svg { width: 42px; height: 42px; }
.q-pb__items h3 { font-size: 16px; font-weight: 900; letter-spacing: .06em; color: var(--pg-ink); margin-bottom: 6px; }
.q-pb__items p { font-size: 12.5px; line-height: 1.85; }
.q-pb__badge { position: absolute; left: 12px; top: 12px; padding: 3px 10px; font-size: 11px; font-weight: 700; color: #fff; background: var(--c-red); border-radius: 999px; }
.q-pb__badge--new { background: var(--c-blue); font-family: var(--f-en); letter-spacing: .16em; }
@media (hover: hover) {
  .q-pb__items li:hover { transform: translateY(-8px); background: #fff; box-shadow: 0 22px 36px -22px rgba(61,37,24,.4); }
  .q-pb__items li:hover .q-pb__icon { transform: rotateY(360deg); }
}

/* safety */
.q-check { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; padding: 28px 32px; border: 1px solid rgba(255,255,255,.25); }
.q-check__title { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .08em; }
.q-check__title svg { width: 32px; height: 32px; color: #ffd2d4; }
.q-check ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.q-check li { border-left: 1px solid rgba(255,255,255,.25); padding-left: 20px; }
.q-check b { font-family: var(--f-en); font-size: 38px; font-weight: 500; line-height: 1.1; }
.q-check small { font-size: 12px; font-weight: 700; margin-left: 4px; }
.q-check span { display: block; font-size: 12px; color: #c9d5e6; }

/* responsive */
@media (max-width: 1024px) {
  .q-flow { grid-template-columns: repeat(2, 1fr); }
  .q-flow li:nth-child(2)::after { display: none; }
  .q-pb__items { grid-template-columns: repeat(2, 1fr); }
  .q-check { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .q-pillars__list { grid-template-columns: 1fr; }
  .q-flow { grid-template-columns: 1fr; gap: 18px; }
  .q-flow li:not(:last-child)::after { display: block; right: auto; left: 50%; top: auto; bottom: -16px; margin: 0 0 0 -7px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
  .q-flow li:nth-child(2)::after { display: block; }
  .q-cat, .q-pb__top { grid-template-columns: 1fr; gap: 24px; }
  .q-cat--rev .q-cat__img { order: 0; }
  .q-pb__stats { gap: 6px; }
  .q-pb__stats li { padding: 12px 6px; }
  .q-pb__items { gap: 8px; }
  .q-pb__items li { padding: 26px 12px 18px; }
  .q-pb__icon { width: 60px; height: 60px; }
  .q-check { padding: 22px 18px; }
  .q-check ul { grid-template-columns: 1fr; }
  .q-check li { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding: 12px 0 0; }
}
