/* ======================================================================
   Seitaro Arai — Lantern Styles (lant- prefix)
   Path: /in/css/lantern.css

   ポイント:
   - テーマトークンを :root に統合
   - レイアウト/コンポーネント/レスポンシブを分離
   - ブレークポイントは max-width: 920px / 768px に統一
   - min-width 媒体クエリは廃止（モバイルファーストで調整)
   - 余白・border・background などはロングハンド化
   ====================================================================== */


/* =========================================================
   1) Tokens / Theme
   - ページ共通トークン（fallback込み)
   ========================================================= */

:root {
  /* カラートークン（fallback付き) */
  --lant-bg:     var(--bg, #ffffff);
  --lant-ink:    var(--ink, #0f172a);
  --lant-muted:  var(--muted, #64748b);
  --lant-brand:  var(--brand, #2563eb);
  --lant-panel:  var(--panel, #f8fafc);
  --lant-line:   var(--line, #e5e7eb);

  /* パネル系 */
  --lant-pill:   #e2e8f0;
  --lant-radius: var(--radius, 16px);

  /* ヒーロー背景画像を外から差し込む想定 */
  --hero-img:    none;
}


/* =========================================================
   2) Base / Reset
   - ベースのタイポグラフィ・色・コンテナ
   ========================================================= */

* {
  box-sizing: border-box;
}

main {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  padding-top: 0;
  padding-right: 0;
  padding-bottom: 20px;
  padding-left: 0;

  background-color: var(--lant-bg);
  color: var(--lant-ink);


a {
  color: var(--lant-brand);
  text-decoration-line: none;
  text-decoration-thickness: auto;
  text-decoration-style: solid;
  text-underline-offset: 0;
}

a:hover {
  text-decoration-line: underline;
  text-decoration-thickness: auto;
  text-decoration-style: solid;
  text-underline-offset: 0.15em;
}


/* =========================================================
   3) Hero
   - 写真ヒーロー＋オーバーレイ
   ========================================================= */

.lant-hero {
  color: var(--lant-ink);
}

/* 写真ヒーローの土台 */
.lant-hero--photo {
  position: relative;

  padding-top: 0;
  padding-right: 0;
  padding-bottom: 32px;
  padding-left: 0;

  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* ヒーロー背景メディア */
.lant-hero__media {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 5;

  min-height: 56vh;
  min-height: 56svh;
  min-height: 56dvh;

  overflow-x: hidden;
  overflow-y: hidden;

  background-color: transparent;
  background-image: var(--hero-img);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12);
}

/* ヒーロー内オーバーレイ（テキストラッパ) */
.lant-hero__overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-end;
}

/* 読みやすさのための暗めグラデーション */
.lant-hero__overlay::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.1) 5%
  );
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* オーバーレイ内のコンテンツ配置 */
.lant-hero__overlay .container {
  position: relative;

  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;

  padding-top: 0;
  padding-right: 0;
  padding-bottom: clamp(20px, 8vh, 60px);
  padding-left: 0;
}

/* ヒーロー見出し */
.lant-hero h1 {
  font-size: clamp(3rem, 3vw + 3rem, 5rem);
  line-height: 1.1;

  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0.1em;
  margin-left: 0;
}

/* ヒーローリード */
.lant-hero p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  opacity: 0.95;
  line-height: 1.35;

  margin-top: 0.25em;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}


/* =========================================================
   4) Intro Section
   - ページ冒頭の説明ブロック
   ========================================================= */

.lant-intro {
  max-width: 1200px;

  margin-top: 0;
  margin-right: auto;
  margin-bottom: 8px;
  margin-left: auto;

  padding-top: 24px;
  padding-right: 16px;
  padding-bottom: 24px;
  padding-left: 16px;
}

/* 12カラムグリッド */
.lant-intro__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 16px;
  row-gap: 16px;
}

/* サイドカード */
.lant-intro__aside {
  grid-column: span 12;
}

/* 本文パネル */
.lant-intro__body {
  grid-column: span 7;

  background-color: var(--lant-panel);
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: var(--lant-radius);
  border-top-right-radius: var(--lant-radius);
  border-bottom-right-radius: var(--lant-radius);
  border-bottom-left-radius: var(--lant-radius);

  padding-top: 20px;
  padding-right: 18px;
  padding-bottom: 20px;
  padding-left: 18px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* タイトル・リード */
.lant-intro__title {
  font-size: clamp(22px, 3.6vw, 28px);

  margin-top: 0;
  margin-right: 0;
  margin-bottom: 10px;
  margin-left: 0;

  color: var(--lant-ink);
}

.lant-intro__kicker {
  font-size: clamp(16px, 2.6vw, 18px);
  letter-spacing: 0.02em;

  margin-top: 18px;
  margin-right: 0;
  margin-bottom: 6px;
  margin-left: 0;

  color: var(--lant-muted);
}

.lant-intro__body p {
  margin-top: 0.6em;
  margin-right: 0;
  margin-bottom: 0.6em;
  margin-left: 0;

  line-height: 1.8;
}

/* サイドカード */
.lant-intro__aside {
  grid-column: span 5;
}

.lant-intro__card {
  background-color: #ffffff;
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 14px;

  padding-top: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 16px;

  box-shadow: 0 4px 16px rgba(2, 6, 23, 0.06);
}

.lant-intro__asideTitle {
  font-size: 18px;
  font-weight: 700;

  margin-top: 0;
  margin-right: 0;
  margin-bottom: 8px;
  margin-left: 0;

  color: var(--lant-ink);
}

.lant-intro__bullets {
  margin-top: 8px;
  margin-right: 0;
  margin-bottom: 12px;
  margin-left: 0;

  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 18px;

  color: var(--lant-muted);
}

.lant-intro__bullets li {
  margin-top: 4px;
  margin-right: 0;
  margin-bottom: 4px;
  margin-left: 0;
}

.lant-intro__cta {
  display: flex;
  flex-wrap: wrap;

  column-gap: 8px;
  row-gap: 8px;
}


/* =========================================================
   5) Meta / Pills
   - メタ情報タグ
   ========================================================= */

.lant-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  column-gap: 12px;
  row-gap: 12px;

  margin-top: 12px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

.lant-pill {
  display: inline-block;

  padding-top: 6px;
  padding-right: 10px;
  padding-bottom: 6px;
  padding-left: 10px;

  background-color: var(--lant-pill);
  color: var(--lant-muted);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;

  font-size: 12px;
}


/* =========================================================
   6) Tabs
   - 粘着タブ＋CSSフィルタ
   ========================================================= */
/* JSが付与するhidden対応（確実に非表示) */
.lant-item[hidden] { display: none !important; }
[class*="size-"][hidden] { display: none !important; } /* フォールバック */

/* JSが付与する .is-active でも強調できるようにしておく（隣接構造に依存しない) */
.lant-tab.is-active {
  background-color: var(--lant-brand);
  color: #fff;
  border-color: var(--lant-brand);
}


.lant-tabs {
  position: sticky;
  top: 0;

  z-index: 3;

  background-color: rgba(255, 255, 255, 0.95);
  background-image: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  backdrop-filter: saturate(120%) blur(10px);
  border-width: 0;
  border-style: none;
  border-color: transparent;
}

.lant-tabs__inner {
  max-width: 1100px;

  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;

  padding-top: 10px;
  padding-right: 24px;
  padding-bottom: 20px;
  padding-left: 24px;

  display: flex;
  flex-wrap: wrap;

  column-gap: 10px;
  row-gap: 10px;
}

.lant-tabs input {
  display: none;
}

/* タブラベル */
.lant-tab {
  display: inline-flex;
  align-items: center;

  column-gap: 8px;
  row-gap: 0;

  padding-top: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  padding-left: 12px;

  background-color: var(--lant-pill);
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;

  font-weight: 600;
  cursor: pointer;
}

/* 選択中タブ */
.lant-tabs input:checked + label {
  background-color: var(--lant-brand);
  color: #ffffff;

  border-top-color: var(--lant-brand);
  border-right-color: var(--lant-brand);
  border-bottom-color: var(--lant-brand);
  border-left-color: var(--lant-brand);
}



/* =========================================================
   7) Grid / Cards
   - 商品カードのグリッドとビジュアル
   ========================================================= */

/* ベースグリッド（12カラム) */
.lant-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);

  column-gap: 16px;
  row-gap: 16px;

  margin-top: 22px;
  margin-right: auto;
  margin-bottom: 22px;
  margin-left: auto;
}

/* PCデフォルト: 3列（3カラム) */
.lant-card {
  grid-column: span 3;

  background-color: var(--lant-panel);
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: var(--lant-radius);
  border-top-right-radius: var(--lant-radius);
  border-bottom-right-radius: var(--lant-radius);
  border-bottom-left-radius: var(--lant-radius);

  overflow-x: hidden;
  overflow-y: hidden;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 単体画像メディア（提灯1枚) */
.lant-card__media {
  position: relative;

  width: 100%;
  max-width: 90%;
  aspect-ratio: 4 / 4;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: 20px;
  margin-right: auto;
  margin-bottom: 10px;
  margin-left: auto;

  background-color: #f8fafc;

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;

  overflow-x: hidden;
  overflow-y: hidden;
}

/* 提灯画像（全体を見せる) */
.lant-card__media img {
  width: auto;
  height: 90%;

  display: block;

  object-fit: contain;
  object-position: center center;

  transition-property: transform;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

/* hoverで軽くズーム */
.lant-card__media:hover img {
  transform: scale(1.05);
}

/* 複数画像用（地蔵尊など4枚構成) */
.lant-card__media--multi {
  display: flex;
  flex-template-columns: repeat(4, 1fr);
  flex-template-rows: repeat(4, 1fr);

  column-gap: 4px;
  row-gap: 4px;

  width: 100%;
  aspect-ratio: 1 / 1;


  background-color: #ffffff;

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;

  overflow-x: hidden;
  overflow-y: hidden;
}

.lant-card__media--multi img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
  object-position: center center;

  background-color: #ffffff;

  transition-property: transform;
  transition-duration: 0.3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.lant-card__media--multi img:hover {
  transform: scale(1.03);
}

/* カードテキスト部分 */
.lant-card__body {
  padding-top: 14px;
  padding-right: 14px;
  padding-bottom: 16px;
  padding-left: 14px;
}

.lant-card__title {
  font-size: 18px;
  font-weight: 700;

  margin-top: 0;
  margin-right: 0;
  margin-bottom: 2px;
  margin-left: 0;
}

.lant-card__meta {
  font-size: 12px;
  color: var(--lant-muted);

  margin-top: 0;
  margin-right: 0;
  margin-bottom: 10px;
  margin-left: 0;
}

/* バッジ・スウォッチ */
.lant-badge {
  display: inline-flex;
  align-items: center;

  column-gap: 6px;
  row-gap: 0;

  padding-top: 6px;
  padding-right: 10px;
  padding-bottom: 6px;
  padding-left: 10px;

  background-color: var(--lant-pill);
  color: var(--lant-muted);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;

  font-size: 12px;

  margin-top: 0;
  margin-right: 8px;
  margin-bottom: 0;
  margin-left: 0;
}

.lant-swatch {
  display: inline-block;

  width: 12px;
  height: 12px;

  background-color: #ffffff;

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: rgba(0, 0, 0, 0.15);
  border-right-color: rgba(0, 0, 0, 0.15);
  border-bottom-color: rgba(0, 0, 0, 0.15);
  border-left-color: rgba(0, 0, 0, 0.15);

  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  border-bottom-left-radius: 999px;
}

/* カード内CTAボタン行 */
.lant-card__cta {
  display: flex;

  column-gap: 8px;
  row-gap: 8px;

  margin-top: 12px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  justify-content: center;   /* 中央寄せ */
  align-items: center;
  gap: 16px;                 /* ボタン間の余白 */
}


/* =========================================================
   8) Spec / Print / SKUs Sections
   - 詳細スペック・印刷範囲・SKU一覧
   ========================================================= */

/* セクション共通 */
.lant-spec,
.lant-print,
.lant-skus {
  max-width: 1200px;

  margin-top: 20px;
  margin-right: auto;
  margin-bottom: 20px;
  margin-left: auto;

  padding-top: 24px;
  padding-right: 16px;
  padding-bottom: 24px;
  padding-left: 16px;
}

.lant-spec__title,
.lant-print__title,
.lant-skus__title {
  font-size: clamp(22px, 3.6vw, 28px);

  margin-top: 0;
  margin-right: 0;
  margin-bottom: 16px;
  margin-left: 0;

  color: var(--lant-ink);
}

/* 説明用図版カード */
.lant-figure {
  margin-top: 12px;
  margin-right: 0;
  margin-bottom: 20px;
  margin-left: 0;

  background-color: #ffffff;
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 14px;

  overflow-x: hidden;
  overflow-y: hidden;

  box-shadow: 0 4px 18px rgba(2, 6, 23, 0.06);
}

.lant-figure img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
  object-position: center center;

  padding-top: 0;
  padding-right: 24px;
  padding-bottom: 0;
  padding-left: 24px;

  background-color: #ffffff;
}

.lant-figure__cap {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  padding-top: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  padding-left: 12px;

  font-size: 12px;
  color: var(--lant-muted);

  border-top-width: 1px;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;

  border-top-style: solid;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;

  border-top-color: var(--lant-line);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;

  background-color: var(--lant-panel);
}

/* 汎用画像ラッパ (比率ユーティリティ付き) */
.lant-imgClamp {
  position: relative;

  width: 100%;
  aspect-ratio: 4 / 3;

  display: grid;
  place-items: center;

  background-color: #ffffff;

  overflow-x: hidden;
  overflow-y: hidden;

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.lant-imgClamp img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center center;
}

/* 比率ユーティリティ */
.ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.ratio-2-3 {
  aspect-ratio: 2 / 3;
}

.ratio-3-2 {
  aspect-ratio: 3 / 2;
}
.ratio-3-1 {
  aspect-ratio: 3 / 1;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.ratio-16-9 {
  aspect-ratio: 16 / 9;
}


/* SPECカードグリッド */
.lant-spec__grid {
  display: grid;
  grid-template-columns: repeat(16, 1fr);

  column-gap: 16px;
  row-gap: 16px;
}

.lant-spec__card {
  grid-column: span 4;

  background-color: var(--lant-panel);
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: var(--lant-radius);
  border-top-right-radius: var(--lant-radius);
  border-bottom-right-radius: var(--lant-radius);
  border-bottom-left-radius: var(--lant-radius);

  padding-top: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 16px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 印刷説明カード */
.lant-print__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);

  column-gap: 16px;
  row-gap: 16px;
}

.lant-print__card {
  grid-column: span 12;

  background-color: var(--lant-panel);
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: var(--lant-radius);
  border-top-right-radius: var(--lant-radius);
  border-bottom-right-radius: var(--lant-radius);
  border-bottom-left-radius: var(--lant-radius);

  padding-top: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 16px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.lant-list {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 18px;

  color: var(--lant-ink);
}

.lant-list li {
  margin-top: 6px;
  margin-right: 0;
  margin-bottom: 6px;
  margin-left: 0;
}

/* 印刷用サムネグリッド（5枚横並び想定) */
.lant-strip {
  max-width: 1200px;

  margin-top: 12px;
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;

  padding-top: 0;
  padding-right: 5px;
  padding-bottom: 0;
  padding-left: 5px;
}

.lant-five {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  column-gap: 12px;
  row-gap: 12px;
}

.lant-thumb {
  grid-column: span 1;

  margin-top: 12px;
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;
}

/* テーブル共通 */
.lant-tablewrap {
  position: relative;

  margin-top: 8px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;

  overflow-x: auto;
  overflow-y: hidden;

  background-color: #ffffff;

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

.lant-table {
  width: 100%;
  min-width: 560px;

  border-collapse: collapse;

  font-size: 14px;
}

.lant-table th,
.lant-table td {
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  padding-top: 10px;
  padding-right: 8px;
  padding-bottom: 10px;
  padding-left: 8px;

  text-align: center;
  vertical-align: middle;

  background-color: #ffffff;
  color: var(--lant-ink);
}

.lant-table thead th {
  position: sticky;
  top: 0;

  background-color: #f1f5f9;
  z-index: 1;
}

.lant-table tbody tr:nth-child(even) td {
  background-color: #f9fafb;
}

/* 印刷範囲テーブル（行見出し左寄せ) */
.lant-table--printarea th[scope="row"] {
  text-align: left;
  white-space: nowrap;
}


/* =========================================================
   9) Buttons
   ========================================================= */

.lant-btn {
  appearance: none;

  display: inline-block;

  padding-top: 10px;
  padding-right: 12px;
  padding-bottom: 10px;
  padding-left: 12px;

  background-color: #ffffff;
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;

  font-weight: 600;

  text-decoration-line: none;
  text-decoration-thickness: auto;
  text-decoration-style: solid;
  text-underline-offset: 0;

  transition-property: background-color, border-color, transform;
  transition-duration: 0.2s, 0.2s, 0.06s;
  transition-timing-function: ease, ease, ease;
  transition-delay: 0s, 0s, 0s;
}

.lant-btn:hover {
  background-color: #f1f5f9;
}

.lant-btn:active {
  transform: translateY(1px);
}

.lant-btn--primary {
  background-color: var(--lant-brand);
  color: #ffffff;

  border-top-color: var(--lant-brand);
  border-right-color: var(--lant-brand);
  border-bottom-color: var(--lant-brand);
  border-left-color: var(--lant-brand);
}

.lant-btn--primary:hover {
  background-color: #1d4ed8;
}

/* 在庫照会ボタン用アイコン */
.lant-btn--stock::before {
  content: "";
  display: inline-block;

  margin-right: 6px;
}


/* =========================================================
   10) CTA Section
   ========================================================= */

.lant-cta {
  max-width: 1200px;

  margin-top: 48px;
  margin-right: auto;
  margin-bottom: 24px; /* 後述の空白削減も兼ねて少し浅く */
  margin-left: auto;
  
  text-align: center;

  padding-top: 18px;
  padding-right: 16px;
  padding-bottom: 18px;
  padding-left: 16px;

  background-color: var(--lant-panel);
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: var(--lant-line);
  border-right-color: var(--lant-line);
  border-bottom-color: var(--lant-line);
  border-left-color: var(--lant-line);

  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;

  box-shadow: 0 3px 14px rgba(2, 6, 23, 0.06);
}

.lant-cta h2 {
  font-size: 20px;

  margin-top: 0.2em;
  margin-right: 0;
  margin-bottom: 0.2em;
  margin-left: 0;
}

.lant-cta p {
  color: var(--lant-muted);

  margin-top: 0.3em;
  margin-right: 0;
  margin-bottom: 12px;
  margin-left: 0;
}


/* =========================================================
   11) Modal
   ========================================================= */

.lant-modal {
  border-top-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;

  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;

  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;

  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;

  background-color: rgba(0, 0, 0, 0.08);
}

.lant-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.35);
}

.lant-modal__card {
  min-width: min(520px, 92vw);

  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;

  padding-top: 18px;
  padding-right: 16px;
  padding-bottom: 18px;
  padding-left: 16px;

  background-color: #ffffff;
  color: #0f172a;

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: #e5e7eb;
  border-right-color: #e5e7eb;
  border-bottom-color: #e5e7eb;
  border-left-color: #e5e7eb;

  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.lant-modal h3 {
  font-size: 18px;

  margin-top: 0;
  margin-right: 0;
  margin-bottom: 8px;
  margin-left: 0;
}

.lant-muted {
  color: #64748b;

  margin-top: 0;
  margin-right: 0;
  margin-bottom: 12px;
  margin-left: 0;
}

.lant-field {
  display: flex;
  flex-direction: column;

  column-gap: 0;
  row-gap: 6px;

  margin-top: 8px;
  margin-right: 0;
  margin-bottom: 14px;
  margin-left: 0;
}

.lant-field input {
  padding-top: 10px;
  padding-right: 12px;
  padding-bottom: 10px;
  padding-left: 12px;

  background-color: #ffffff;
  color: var(--lant-ink);

  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;

  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;

  border-top-color: #d1d5db;
  border-right-color: #d1d5db;
  border-bottom-color: #d1d5db;
  border-left-color: #d1d5db;

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.lant-row {
  display: flex;
  justify-content: flex-end;

  column-gap: 8px;
  row-gap: 8px;
}


/* =========================================================
   12) Responsive
   - ブレークポイントは max-width: 920px / 768px に統一
   ========================================================= */

/* --- ≤ 920px (タブレット相当) --- */
@media (max-width: 920px) {

  /* カード: 2カラム（6 / 12) */
  .lant-card {
    grid-column: span 6;
  }

  /* SPECカード: 2カラム */
  .lant-spec__card {
    grid-column: span 6;
  }

  /* サムネ5枚 → 3カラム */
  .lant-five {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- ≤ 768px (スマホ相当) --- */
@media (max-width: 768px) {

 .lant-intro__body,
 .lant-intro__aside {
   grid-column: span 12;
 }

  .lant-intro__aside {
    margin-top: 16px;
  }

  /* グリッドカード: 1カラム */
  .lant-spec__grid {
  grid-template-columns: repeat(4, 1fr);
  }

  .lant-spec__card {
    grid-column: span 12;
  }

  .lant-spec__card {
    grid-column: span 12;
  }

  /* ヒーロータイポ調整 */
  .lant-hero h1 {
    font-size: clamp(28px, 7.2vw, 40px);
    line-height: 1.15;

    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0.1em;
    margin-left: 15px;
  }

  .lant-hero p {
    line-height: 1.35;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);

    margin-top: 0.25em;
    margin-right: 10px;
    margin-bottom: 0;
    margin-left: 10px;
  }

  /* テーブル文字を少し小さく */
  .lant-table {
    font-size: 13px;
  }

  /* 印刷範囲用テーブルの幅比率（例) */
  .lant-table--printarea colgroup col:nth-child(1) {
    width: 24% !important;
  }

  .lant-table--printarea colgroup col:nth-child(2) {
    width: 18% !important;
  }

  /* 提灯画像比率を縦長寄りに変更 */
  .lant-card__media {
    aspect-ratio: 4 / 5;
  }

  .lant-card__media img {
    height: 85%;
  }

  /* 複数画像を縦方向に並べる */
  .lant-card__media--multi {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    aspect-ratio: auto;
  }

  /* サムネ5枚: 横スクロール */
  .lant-five {
    display: grid;

    overflow-x: auto;
    overflow-y: hidden;

    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;

    padding-top: 0;
    padding-right: 0;
    padding-bottom: 6px;
    padding-left: 0;
  }

  .lant-thumb {
    scroll-snap-align: start;
  }
}
