/* ==========================================================================
   魚清水産 CSS - 編集用整理版
   --------------------------------------------------------------------------
   元ファイル: uokiyo(20260911-081102).css
   整理日    : 2026-09-11

   方針:
   - CSS のルール順・セレクタ・プロパティ値は変更しない
   - 1プロパティ1行に整形し、機能ごとにセクション見出しを追加
   - e-shops 周辺は後段の上書きが表示に影響するため、統合せず順序を維持
   - 見た目を変更したい場合は、該当セクションを検索して編集する
   ========================================================================== */

/* ========================================================================== */
/* 01. 色・デザイン変数 */
/* ========================================================================== */

:root {
  --uokiyo-navy: #173148;
  --uokiyo-navy-deep: #102535;
  --uokiyo-sea: #315f73;
  --uokiyo-gold: #b99552;
  --uokiyo-gold-light: #d7bd84;
  --uokiyo-ivory: #f7f5ef;
  --uokiyo-soft: #f4f7f8;
  --uokiyo-line: #dfe5e8;
  --uokiyo-text: #26343d;
  --uokiyo-muted: #687783;
  --uokiyo-price: #9b2335;
}

/* ========================================================================== */
/* 02. 全体設定・文字 */
/* ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP",sans-serif;
  color: var(--uokiyo-text);
  line-height: 1.75;
}

.serif {
  font-family: "Shippori Mincho",serif;
}

/* ========================================================================== */
/* 03. ヘッダー・ナビゲーション */
/* ========================================================================== */

.utility-bar a:hover,.site-header nav a:hover {
  color: var(--uokiyo-gold);
}

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-main {
  font-size: clamp(1.05rem,2vw,1.55rem);
  font-weight: 700;
  color: var(--uokiyo-navy);
  letter-spacing: .04em;
}

.brand-sub {
  font-size: .68rem;
  color: var(--uokiyo-muted);
  margin-top: .18rem;
}

.site-header nav a {
  color: #4d5b65;
  transition: .2s;
}

.site-header nav a.active {
  color: var(--uokiyo-gold);
  border-bottom: 2px solid var(--uokiyo-gold);
  padding-bottom: .25rem;
}

.menu-button {
  border: 1px solid var(--uokiyo-line);
  border-radius: 999px;
  padding: .45rem .8rem;
  font-size: .78rem;
  color: var(--uokiyo-navy);
  background: #fff;
}

.mobile-menu {
  background: #fff;
  border-top: 1px solid var(--uokiyo-line);
  box-shadow: 0 12px 25px rgba(17,40,55,.08);
}

.mobile-menu a {
  display: block;
  padding: .8rem 1rem;
  border-bottom: 1px solid #eef2f3;
  color: #46545e;
}

/* ========================================================================== */
/* 04. メインビジュアル（ヒーロー） */
/* ========================================================================== */

.hero-uokiyo {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("img/n_topback.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem 1.25rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,rgba(9,27,40,.86),rgba(19,48,67,.68) 48%,rgba(12,31,43,.46));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-kicker,.eyebrow {
  display: block;
  color: var(--uokiyo-gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #ead6a5;
  font-size: .92rem;
  margin-bottom: 1rem;
}

.hero-uokiyo h1 {
  font-size: clamp(2.4rem,6vw,4.4rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .05em;
  text-shadow: 0 3px 18px rgba(0,0,0,.22);
}

.hero-lead {
  max-width: 690px;
  margin: 1.5rem auto 0;
  font-size: clamp(.95rem,2vw,1.08rem);
  color: rgba(255,255,255,.9);
}

.hero-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ========================================================================== */
/* 05. ボタン */
/* ========================================================================== */

.btn-primary,.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: .8rem 1.5rem;
  border-radius: 3px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .05em;
  transition: .2s;
}

.btn-primary {
  background: var(--uokiyo-gold);
  color: #fff;
}

.btn-primary:hover {
  background: #a48243;
}

.btn-outline-light {
  border: 1px solid rgba(255,255,255,.72);
  color: #fff;
  background: rgba(255,255,255,.06);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--uokiyo-navy);
}

.btn-large {
  padding: 1rem 2.1rem;
}

/* ========================================================================== */
/* 06. 共通セクション・ストーリー・特徴 */
/* ========================================================================== */

.section-block {
  padding: 5.8rem 0;
}

.soft-bg {
  background: var(--uokiyo-soft);
}

.section-heading {
  margin-bottom: 2.2rem;
}

.section-heading.centered {
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem,3vw,2.6rem);
  line-height: 1.45;
  font-weight: 700;
  color: var(--uokiyo-navy);
  margin: .4rem 0 .8rem;
}

.section-heading>p {
  color: var(--uokiyo-muted);
}

.story-grid,.processing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.story-copy p,.processing-grid p {
  margin-top: 1rem;
  color: #56656f;
}

.story-image img,.processing-grid figure img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(15,39,53,.13);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--uokiyo-line);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 5px 16px rgba(14,39,54,.04);
}

.feature-number {
  font-family: "Shippori Mincho",serif;
  color: var(--uokiyo-gold);
  font-size: 2rem;
}

.feature-card h3 {
  font-family: "Shippori Mincho",serif;
  font-size: 1.25rem;
  color: var(--uokiyo-navy);
  font-weight: 700;
  margin: .8rem 0;
}

.feature-card p {
  font-size: .92rem;
  color: #64727b;
}

/* ========================================================================== */
/* 07. 商品ラインアップカード */
/* ========================================================================== */

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.4rem;
}

.lineup-card {
  overflow: hidden;
  border: 1px solid var(--uokiyo-line);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(14,39,54,.07);
}

.lineup-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #fafafa;
}

.card-body {
  padding: 1.5rem;
}

.card-kicker {
  color: var(--uokiyo-gold);
  font-size: .72rem;
  font-weight: 700;
}

.card-body h3 {
  font-size: 1.25rem;
  color: var(--uokiyo-navy);
  font-weight: 700;
  margin: .4rem 0 .8rem;
}

.card-body p {
  font-size: .9rem;
  color: #65737c;
}

.center-action {
  text-align: center;
  margin-top: 2.5rem;
}

/* ========================================================================== */
/* 08. 加工・ギフト */
/* ========================================================================== */

.processing-section {
  background: linear-gradient(180deg,#fafaf8,#f2f5f5);
}

.gift-section {
  padding-top: 0;
  background: #fff;
}

.gift-panel {
  background: linear-gradient(110deg,var(--uokiyo-navy-deep),#21465a);
  color: #fff;
  padding: 3.2rem;
  border-radius: 7px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(12,39,54,.14);
}

.gift-panel .eyebrow {
  color: var(--uokiyo-gold-light);
}

.gift-panel h2 {
  font-size: clamp(1.6rem,3vw,2.3rem);
  font-weight: 700;
  margin: .55rem 0 1rem;
}

.gift-panel p {
  color: rgba(255,255,255,.8);
  max-width: 700px;
  margin: 0 auto;
}

.gift-panel a {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .7rem 1.5rem;
  border: 1px solid var(--uokiyo-gold-light);
  color: var(--uokiyo-gold-light);
  font-weight: 700;
  border-radius: 3px;
}

/* ========================================================================== */
/* 09. 生産者・店舗紹介 */
/* ========================================================================== */

.producer-section {
  background: linear-gradient(180deg,#fbfaf7 0%,#f3f1eb 100%);
  border-top: 1px solid #ece7dc;
}

.producer-card {
  display: grid;
  grid-template-columns: minmax(300px,42%) 1fr;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  background: linear-gradient(135deg,var(--uokiyo-navy-deep),#18394c);
  border: 1px solid rgba(185,149,82,.55);
  border-top: 3px solid var(--uokiyo-gold);
  border-radius: 10px;
  box-shadow: 0 22px 55px rgba(10,31,44,.16);
}

.producer-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #0d2230;
}

.producer-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(6,22,31,.05) 48%,rgba(12,37,53,.58) 100%);
  pointer-events: none;
}

.producer-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 85% center;
  filter: saturate(.9) contrast(1.04);
}

.producer-location {
  position: absolute;
  z-index: 1;
  left: 1.2rem;
  bottom: 1.1rem;
  padding: .42rem .72rem;
  border: 1px solid rgba(215,189,132,.72);
  background: rgba(10,31,43,.72);
  color: #f0ddb0;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  backdrop-filter: blur(4px);
}

.producer-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.7rem 3rem;
  color: #fff;
}

.producer-copy .eyebrow {
  color: var(--uokiyo-gold-light);
}

.producer-card h2 {
  font-size: clamp(1.9rem,3vw,2.5rem);
  line-height: 1.4;
  color: #fff;
  font-weight: 700;
  letter-spacing: .035em;
  margin: .5rem 0 .65rem;
}

.producer-rule {
  width: 56px;
  height: 1px;
  background: var(--uokiyo-gold);
  margin: .25rem 0 1.25rem;
}

.producer-lead {
  max-width: 520px;
  color: rgba(255,255,255,.8);
  font-size: .92rem;
  line-height: 1.9;
  margin: 0 0 1.4rem;
}

.producer-details {
  display: grid;
  gap: .78rem;
  margin: 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255,255,255,.14);
}

.producer-details>div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: start;
}

.producer-details dt {
  color: var(--uokiyo-gold-light);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.producer-details dt i {
  width: 1.1rem;
  margin-right: .3rem;
  text-align: center;
}

.producer-details dd {
  color: rgba(255,255,255,.9);
  font-size: .84rem;
  line-height: 1.65;
  margin: 0;
}

.producer-details dd span {
  color: rgba(255,255,255,.62);
  font-size: .76rem;
}

/* ========================================================================== */
/* 10. お買い物ガイド・フッター */
/* ========================================================================== */

.shopping-guide {
  padding: 5rem 0;
  background: var(--uokiyo-ivory);
  border-top: 1px solid #eee9dd;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}

.guide-grid>div {
  background: #fff;
  border: 1px solid #e6e2d8;
  padding: 1.5rem;
}

.guide-grid h3 {
  font-family: "Shippori Mincho",serif;
  font-weight: 700;
  color: var(--uokiyo-navy);
  font-size: 1.1rem;
  margin-bottom: .4rem;
}

.guide-grid p {
  font-size: .88rem;
  color: #69747a;
}

.guide-grid a {
  color: var(--uokiyo-sea);
  text-decoration: underline;
}

.site-footer {
  background: #162b38;
  color: rgba(255,255,255,.73);
}

.footer-brand {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: .5rem;
}

.site-footer p {
  font-size: .82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.3rem;
  align-content: flex-start;
}

.site-footer nav a {
  font-size: .82rem;
  color: rgba(255,255,255,.8);
}

.site-footer nav a:hover {
  color: var(--uokiyo-gold-light);
}

/* product list */

/* ========================================================================== */
/* 11. 商品一覧・商品ページ */
/* ========================================================================== */

.product-hero {
  max-width: 1180px;
  margin: 2.5rem auto 0;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
}

.product-hero-image {
  min-height: 390px;
}

.product-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px 0 0 6px;
}

.product-hero-copy {
  background: var(--uokiyo-navy-deep);
  color: #fff;
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 6px 6px 0;
}

.product-hero-copy .eyebrow {
  color: var(--uokiyo-gold-light);
}

.product-hero-copy h1 {
  font-size: clamp(2rem,4vw,3.3rem);
  font-weight: 700;
  line-height: 1.45;
  margin: .5rem 0 1rem;
}

.product-hero-copy p {
  color: rgba(255,255,255,.82);
}

.category-nav {
  position: sticky;
  top: 100px;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: .45rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,.94);
  padding: 1rem;
  border-bottom: 1px solid var(--uokiyo-line);
  backdrop-filter: blur(8px);
}

.category-nav a {
  border: 1px solid var(--uokiyo-gold);
  color: var(--uokiyo-navy);
  padding: .48rem 1rem;
  border-radius: 999px;
  font-size: .78rem;
}

.category-nav a:hover {
  background: var(--uokiyo-gold);
  color: #fff;
}

.enjoy-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.taste-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: .8rem;
}

.taste-grid>div {
  border-top: 2px solid var(--uokiyo-gold);
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 4px 16px rgba(14,39,54,.04);
}

.taste-grid h3 {
  font-family: "Shippori Mincho",serif;
  color: var(--uokiyo-navy);
  font-weight: 700;
  margin-bottom: .4rem;
}

.taste-grid p {
  font-size: .82rem;
  color: #69767f;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.2rem;
}

.product-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--uokiyo-line);
  border-radius: 7px;
  box-shadow: 0 7px 22px rgba(15,42,58,.06);
}

.product-photo {
  background: #f8f8f6;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-photo img {
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
}

.product-body {
  padding: 1.3rem;
  min-width: 0;
}

.product-type {
  color: var(--uokiyo-gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.product-body h3 {
  color: var(--uokiyo-navy);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.55;
  margin: .25rem 0;
}

.people {
  font-weight: 700;
  font-size: .9rem;
  color: #455661;
}

.badge {
  display: inline-block;
  background: #f2e8d1;
  color: #7d632d;
  border: 1px solid #dfcc9f;
  border-radius: 999px;
  padding: .16rem .55rem;
  font-size: .68rem;
  font-weight: 700;
  margin: .4rem 0;
}

.product-meta {
  display: grid;
  gap: .25rem;
  margin: .8rem 0;
}

.product-meta>div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: .6rem;
  font-size: .78rem;
}

.product-meta dt {
  color: #83909a;
}

.product-meta dd {
  color: #52616a;
}

.source-price {
  font-size: .75rem;
  color: #6b777e;
  margin: .8rem 0 .55rem;
}

.source-price strong {
  color: var(--uokiyo-price);
  font-size: 1.15rem;
  margin: 0 .2rem;
}

/* ========================================================================== */
/* 12. カート・e-shops 基本設定 */
/* ========================================================================== */

.cart-system-container {
  border-top: 1px solid #edf0f1;
  padding-top: .8rem;
  margin-top: .3rem;
}

.live-price-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--uokiyo-gold);
  letter-spacing: .08em;
  margin-bottom: .35rem;
}

.eshop-live-price {
  color: var(--uokiyo-price) !important;
  font-size: 1.34rem !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
}

.live-price-note {
  font-size: .69rem;
  color: #78858d;
  margin-top: .35rem;
}

.cart-system-container form {
  margin: 0 !important;
}

.cart-system-container select,.cart-system-container input[type="text"] {
  min-height: 40px !important;
  border: 1px solid #ccd5da !important;
  border-radius: 4px !important;
  padding: .35rem .55rem !important;
  background: #fff !important;
  max-width: 100% !important;
}

.cart-system-container input[type="submit"],
.cart-system-container input[type="button"],
.cart-system-container button {
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--uokiyo-navy) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: .55rem 1rem !important;
  cursor: pointer !important;
}

.cart-system-container input[type="submit"]:hover,
.cart-system-container input[type="button"]:hover,
.cart-system-container button:hover {
  background: var(--uokiyo-sea) !important;
}

/* ========================================================================== */
/* 13. オプション商品カード */
/* ========================================================================== */

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.option-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.3rem;
  background: #fff;
  border: 1px solid var(--uokiyo-line);
  padding: 1.2rem;
  border-radius: 7px;
}

.option-card.no-photo {
  grid-template-columns: 1fr;
}

.option-card img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.option-card h3 {
  font-size: 1.12rem;
  color: var(--uokiyo-navy);
  font-weight: 700;
  margin: .4rem 0;
}

.option-card p {
  font-size: .84rem;
  color: #617078;
}

.option-card .source-price {
  font-size: .75rem;
}

/* ========================================================================== */
/* 14. 基本レスポンシブ設定 */
/* ========================================================================== */

@media (max-width:1023px) {
  .story-grid,.processing-grid {
    gap: 2.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .taste-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-nav {
    top: 94px;
  }
}

@media (max-width:767px) {
  .hero-uokiyo {
    min-height: 520px;
    padding-top: 4rem;
  }

  .hero-uokiyo h1 {
    font-size: 2.35rem;
  }

  .section-block {
    padding: 4.2rem 0;
  }

  .story-grid,.processing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-grid .story-image {
    order: -1;
  }

  .lineup-grid,.guide-grid {
    grid-template-columns: 1fr;
  }

  .producer-card {
    grid-template-columns: 1fr;
  }

  .producer-visual {
    min-height: 230px;
  }

  .producer-visual::after {
    background: linear-gradient(0deg,rgba(7,25,35,.38),rgba(7,25,35,0) 58%);
  }

  .producer-card img {
    min-height: 230px;
    max-height: 300px;
  }

  .producer-copy {
    padding: 2rem 1.5rem 2.2rem;
  }

  .producer-card h2 {
    font-size: 1.75rem;
  }

  .producer-title-break {
    display: none;
  }

  .producer-details>div {
    grid-template-columns: 1fr;
    gap: .15rem;
  }

  .producer-location {
    left: 1rem;
    bottom: 1rem;
  }

  .product-hero {
    grid-template-columns: 1fr;
    margin-top: 1.2rem;
  }

  .product-hero-image {
    min-height: 0;
  }

  .product-hero-image img {
    border-radius: 6px 6px 0 0;
  }

  .product-hero-copy {
    padding: 2rem 1.4rem;
    border-radius: 0 0 6px 6px;
  }

  .category-nav {
    position: static;
  }

  .taste-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-photo {
    padding: .75rem;
  }

  .product-photo img {
    max-height: none;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-card {
    grid-template-columns: 1fr;
  }

  .option-card img {
    max-height: none;
  }

  .gift-panel {
    padding: 2.2rem 1.25rem;
  }

  .site-footer nav {
    margin-top: .5rem;
  }
}

/* 2026-09-11: 魚清水産 販売ページの商品写真集約・購入2列レイアウト */

/* ========================================================================== */
/* 15. 魚清水産 商品紹介・購入レイアウト */
/* ========================================================================== */

.text-gold {
  color: var(--uokiyo-gold-light) !important;
}

.set-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.set-showcase-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--uokiyo-line);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(14,39,54,.06);
}

.set-showcase-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 1.25rem;
  background: #fafaf8;
  border-bottom: 1px solid var(--uokiyo-line);
}

.set-showcase-photo img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  max-height: 330px;
  object-fit: contain;
}

.set-showcase-copy {
  padding: 1.45rem 1.5rem 1.6rem;
}

.set-showcase-copy .product-type {
  display: block;
  margin-bottom: .25rem;
}

.set-showcase-copy .badge+.product-type {
  margin-top: .65rem;
}

.set-showcase-copy h3 {
  color: var(--uokiyo-navy);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.5;
  margin: .25rem 0 .65rem;
}

.set-showcase-copy p {
  font-size: .88rem;
  line-height: 1.85;
  color: #617078;
}

.purchase-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}

.purchase-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--uokiyo-line);
  border-radius: 7px;
  padding: 1.3rem 1.35rem;
  box-shadow: 0 5px 18px rgba(15,42,58,.05);
}

.purchase-card-head {
  min-height: 94px;
}

.purchase-card h3 {
  color: var(--uokiyo-navy);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.55;
  margin: .25rem 0;
}

.purchase-card .product-meta {
  margin: .65rem 0;
}

.purchase-card .source-price {
  margin-top: auto;
  padding-top: .4rem;
}

.purchase-card .cart-system-container {
  margin-top: .25rem;
}

@media (max-width:767px) {
  .set-showcase-grid,.purchase-grid {
    grid-template-columns: 1fr;
  }

  .set-showcase-photo {
    min-height: 0;
  }

  .set-showcase-photo img {
    max-height: none;
  }

  .purchase-card-head {
    min-height: 0;
  }
}

/* Option section: same visual-to-purchase flow as the regular sets */

/* ========================================================================== */
/* 16. オプション商品紹介 */
/* ========================================================================== */

.option-showcase-card {
  display: grid;
  grid-template-columns: minmax(280px,.82fr) minmax(0,1.18fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--uokiyo-line);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(14,39,54,.06);
  margin-bottom: 2rem;
}

.option-showcase-card .set-showcase-photo {
  border-bottom: 0;
  border-right: 1px solid var(--uokiyo-line);
}

.option-description {
  font-size: .84rem;
  line-height: 1.8;
  color: #617078;
  margin: .45rem 0 .35rem;
}

.option-note {
  font-size: .72rem;
  color: #78858d;
  margin: .35rem 0;
}

@media (max-width:767px) {
  .option-showcase-card {
    grid-template-columns: 1fr;
  }

  .option-showcase-card .set-showcase-photo {
    border-right: 0;
    border-bottom: 1px solid var(--uokiyo-line);
  }
}

/* e-shops live price suffix */

/* ========================================================================== */
/* 17. e-shops 動的価格表示 */
/* ========================================================================== */

.eshop-live-price-suffix {
  display: inline-block;
  margin-left: .35rem;
  color: #6d7a82;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
  vertical-align: baseline;
}

@media (max-width:480px) {
  .eshop-live-price-suffix {
    font-size: .72rem;
    margin-left: .25rem;
  }
}

/* Option product photos above each purchase cart */

/* ========================================================================== */
/* 18. オプション商品写真 */
/* ========================================================================== */

.option-purchase-card {
  padding: 0;
  overflow: hidden;
}

.option-card-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 1.2rem;
  background: #fafaf8;
  border-bottom: 1px solid var(--uokiyo-line);
}

.option-card-photo img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.option-purchase-card .purchase-card-head,
.option-purchase-card>.option-description,
.option-purchase-card>.product-meta,
.option-purchase-card>.option-note,
.option-purchase-card>.source-price,
.option-purchase-card>.cart-system-container {
  margin-left: 1.35rem;
  margin-right: 1.35rem;
}

.option-purchase-card .purchase-card-head {
  margin-top: 1.2rem;
}

.option-purchase-card>.cart-system-container {
  margin-bottom: 1.35rem;
}

@media (max-width:767px) {
  .option-card-photo {
    min-height: 0;
  }

  .option-card-photo img {
    max-height: none;
  }
}

/* 2026-09-11: e-shops 数量選択＋かごボタン横並び */

/* ========================================================================== */
/* 19. e-shops カート操作（旧指定・互換用） */
/* ========================================================================== */

.cart-system-container form.eshop-controls-row {
  display: flex !important;
  align-items: center !important;
  gap: .65rem !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.cart-system-container form.eshop-controls-row select,
.cart-system-container form.eshop-controls-row input[type="number"],
.cart-system-container form.eshop-controls-row input[type="text"] {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 72px !important;
  margin: 0 !important;
}

.cart-system-container form.eshop-controls-row input[type="submit"],
.cart-system-container form.eshop-controls-row input[type="button"],
.cart-system-container form.eshop-controls-row button {
  flex: 1 1 auto !important;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.cart-system-container form.eshop-controls-row table,
.cart-system-container form.eshop-controls-row tbody,
.cart-system-container form.eshop-controls-row tr {
  margin: 0 !important;
}

@media (max-width:480px) {
  .cart-system-container form.eshop-controls-row {
    gap: .45rem !important;
  }

  .cart-system-container form.eshop-controls-row select,
  .cart-system-container form.eshop-controls-row input[type="number"],
  .cart-system-container form.eshop-controls-row input[type="text"] {
    min-width: 64px !important;
  }
}

/* 2026-09-11: e-shops かご内部を左寄せ */

.cart-system-container {
  text-align: left !important;
}

.cart-system-container form.eshop-controls-row {
  justify-content: flex-start !important;
  text-align: left !important;
}

.cart-system-container form.eshop-controls-row table {
  width: auto !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.cart-system-container form.eshop-controls-row tbody,
.cart-system-container form.eshop-controls-row tr,
.cart-system-container form.eshop-controls-row td,
.cart-system-container form.eshop-controls-row th {
  text-align: left !important;
}

.cart-system-container form.eshop-controls-row center {
  text-align: left !important;
}

.cart-system-container form.eshop-controls-row input[type="submit"],
.cart-system-container form.eshop-controls-row input[type="button"],
.cart-system-container form.eshop-controls-row button {
  text-align: center !important;
}

/* 2026-09-11 v8: 商品共通情報を写真下へ集約 */

/* ========================================================================== */
/* 20. 商品共通情報 */
/* ========================================================================== */

.common-product-info {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--uokiyo-line);
  font-size: .76rem;
  color: #5f6e77;
}

.common-product-info span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.common-product-info span::before {
  content: "•";
  color: var(--uokiyo-gold);
  font-weight: 800;
}

/* 2026-09-11 v8: e-shops 数量＋かごを確実に左寄せ */

/* ========================================================================== */
/* 21. e-shops カート操作（現行上書き） */
/* ========================================================================== */

.cart-system-container,.cart-system-container * {
  box-sizing: border-box;
}

.cart-system-container {
  text-align: left !important;
}

.cart-system-container .eshop-controls-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: .55rem !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: .55rem 0 0 !important;
  text-align: left !important;
}

.cart-system-container .eshop-qty-label {
  flex: 0 0 auto;
  font-size: .78rem;
  color: #617078;
  white-space: nowrap;
}

.cart-system-container .eshop-controls-inline select,
.cart-system-container .eshop-controls-inline input[type="number"],
.cart-system-container .eshop-controls-inline input[type="text"] {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 68px !important;
  margin: 0 !important;
  text-align: left !important;
}

.cart-system-container .eshop-controls-inline input[type="submit"],
.cart-system-container .eshop-controls-inline input[type="button"],
.cart-system-container .eshop-controls-inline button {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 132px !important;
  margin: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.cart-system-container form,
.cart-system-container table,
.cart-system-container tbody,
.cart-system-container tr,
.cart-system-container td,
.cart-system-container th,
.cart-system-container center,
.cart-system-container div {
  text-align: left !important;
  margin-left: 0 !important;
}

.cart-system-container table {
  width: auto !important;
  margin-right: auto !important;
}

@media (max-width:480px) {
  .cart-system-container .eshop-controls-inline {
    gap: .4rem !important;
  }

  .cart-system-container .eshop-controls-inline input[type="submit"],
  .cart-system-container .eshop-controls-inline input[type="button"],
  .cart-system-container .eshop-controls-inline button {
    min-width: 118px !important;
    padding-left: .7rem !important;
    padding-right: .7rem !important;
  }
}

/* 2026-09-11 v9: e-shops生成部分の中央寄せを完全解除 */

/* ========================================================================== */
/* 22. e-shops 自動生成部分（最終上書き） */
/* ========================================================================== */

.cart-system-container,
.cart-system-container form,
.cart-system-container table,
.cart-system-container tbody,
.cart-system-container tr,
.cart-system-container td,
.cart-system-container th,
.cart-system-container center,
.cart-system-container div,
.cart-system-container p {
  text-align: left !important;
}

.cart-system-container form {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.cart-system-container table {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.cart-system-container [align="center"] {
  text-align: left !important;
}

.cart-system-container .eshop-price-row {
  display: block !important;
  width: 100% !important;
  margin: .7rem 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.cart-system-container .eshop-controls-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: .8rem 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.cart-system-container .eshop-controls-inline input[type="submit"],
.cart-system-container .eshop-controls-inline input[type="button"],
.cart-system-container .eshop-controls-inline button {
  text-align: center !important;
}
