/**
 * Dynamic Product List - Stylesheet
 * Version: 3.3
 * - PC: 1200px幅、5列
 * - SP: 最大幅、2列
 * - モーダル対応
 * - フォントサイズはCSS変数で統一
 */

/* ========== CSS変数 ========== */
:root {
  --ms_blue: #006eb2;
  --ms_blue_light: #1a92dc;
  --ms_blue_dark: #23577d;
  --ms_black: #221815;
  --ms_pink: #d9357b;
  --ms_line: #07c855;
  --ms_red: #c7321f;

  --fs-hero: clamp(32px, 5vw, 56px);
  --fs-xxl: clamp(26px, 4vw, 40px);
  --fs-xl: clamp(22px, 3vw, 32px);
  --fs-lg: clamp(18px, 2.5vw, 24px);
  --fs-ｃ: clamp(16px, 2vw, 18px);
  --fs-base: clamp(15px, 1.5vw, 16px);
  --fs-sm: clamp(13px, 1.2vw, 14px);
  --fs-xs: 12px;
  --fs-xxs: 10px;
}

/* ========== コンテナ ========== */
.dpl-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.dpl-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.info_banner_ {
  display: none;
}

@media (max-width: 768px) {
  .info_banner_ {
    display: block;
  }
}

/* ========== 商品カード ========== */
.dpl-card {
  width: calc(20% - 12px);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  box-sizing: border-box;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

/* SP版: 2列 */
@media (max-width: 768px) {
  .dpl-wrapper {
    padding: 0 10px;
  }

  .dpl-card {
    width: calc(50% - 5px);
    padding: 10px;
  }

  .dpl-container {
    gap: 10px;
  }
}

/* ========== 商品画像 ========== */
.dpl-card-image {
  text-align: center;
  margin-bottom: 10px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dpl-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}

/* ========== カテゴリ（アイコン） ========== */
.dpl-card-category {
  font-size: var(--fs-xxs);
  color: #fff;
  background: #4a90d9;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 5px;
}

.dpl-card-category:empty {
  display: none;
}

/* ========== 商品情報 ========== */
.dpl-card-name {
  font-size: var(--fs-sm);
  font-weight: bold;
  margin: 0 0 5px;
  line-height: 1.4;
  min-height: 3.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
  .dpl-card-name {
    font-size: var(--fs-xs);
  }
}

/* ========== サブタイトル ========== */
.dpl-card-subtitle {
  font-size: var(--fs-xxs);
  color: #666;
  margin: 0 0 8px;
  line-height: 1.3;
  min-height: 1.3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dpl-card-subtitle:empty {
  display: none;
  min-height: 0;
}

/* ========== 一覧：税込価格（税抜と横並び） ========== */
.dpl-card-price {
  color: #c00;
  margin: 0;
  font-size: var(--fs-sm);
}

.dpl-card-price strong {
  font-size: 1.6em;
}

/* ========== 一覧：税抜価格（税込の後ろにインライン表示） ========== */
.dpl-card-price .dpl-card-price-ex {
  color: #333;
  font-size: inherit;
  margin-left: 5px;
}

/* ========== 一覧：通常価格（打ち消し線） ========== */
.dpl-card-price-regular {
  text-decoration: line-through;
  color: #808080;
  font-size: var(--fs-xxs);
  margin: 0 0 10px;
}

/* ========== カードボタン ========== */
.dpl-card-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dpl-btn-detail {
  display: block;
  padding: 10px;
  background: #4a90d9;
  color: #fff;
  text-decoration: none;
  text-align: center;
  border-radius: 5px;
  font-size: var(--fs-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.dpl-btn-detail:hover {
  background: #3a7bc8;
}

.dpl-btn-page {
  display: block;
  padding: 8px;
  background: #fff;
  color: var(--ms_blue);
  border: 1px solid var(--ms_blue);
  text-decoration: none;
  text-align: center;
  border-radius: 5px;
  font-size: var(--fs-xxs);
  transition: all 0.2s;
}

.dpl-btn-page:hover {
  background: var(--ms_blue);
  color: #fff;
}

/* ========== ステータス表示 ========== */
.dpl-loading {
  width: 100%;
  text-align: center;
  padding: 30px;
  color: #666;
  font-size: var(--fs-sm);
}

.dpl-error {
  width: 100%;
  text-align: center;
  padding: 20px;
  color: #c00;
  font-size: var(--fs-sm);
}

/* ========== 無限スクロール ========== */
.dpl-load-more {
  width: 100%;
  text-align: center;
  padding: 20px;
}

.dpl-load-more-btn {
  padding: 15px 50px;
  background: #4a90d9;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.dpl-load-more-btn:hover {
  background: #3a7bc8;
}

.dpl-load-more-btn:disabled {
  background: #999;
  cursor: not-allowed;
}

.dpl-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #ddd;
  border-top-color: #4a90d9;
  border-radius: 50%;
  animation: dpl-spin 0.8s linear infinite;
}

@keyframes dpl-spin {
  to {
    transform: rotate(360deg);
  }
}

.dpl-end-message {
  color: #666;
  font-size: var(--fs-sm);
  padding: 10px;
}

/* ========== 商品件数表示 ========== */
.dpl-count {
  width: 100%;
  padding: 10px 0;
  margin-bottom: 10px;
  font-size: var(--fs-sm);
  color: #666;
  border-bottom: 1px solid #eee;
}

.dpl-count strong {
  color: #333;
  font-size: var(--fs-lg);
}

/* ========================================
   モーダル
======================================== */
.dpl-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.dpl-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.dpl-modal {
  background: #fff;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.dpl-modal-overlay.active .dpl-modal {
  transform: translateY(0);
}

/* モーダルヘッダー */
.dpl-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background: #f9f9f9;
  flex-shrink: 0;
}

.dpl-modal-title {
  font-size: var(--fs-md);
  font-weight: bold;
  margin: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 10px;
}

.dpl-modal-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.dpl-modal-title a:hover {
  color: var(--ms_blue);
  text-decoration: underline;
}

.dpl-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #ddd;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dpl-modal-close:hover {
  background: #ccc;
}

/* モーダルボディ */
.dpl-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}

/* モーダルフッター */
.dpl-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  background: #f9f9f9;
  flex-shrink: 0;
}

/* ========== モーダル内コンテンツ ========== */
.dpl-modal-content {
  display: flex;
  gap: 30px;
}

@media (max-width: 768px) {
  .dpl-modal-content {
    flex-direction: column;
    gap: 20px;
  }
}

/* 画像エリア */
.dpl-modal-images {
  flex: 0 0 45%;
}

@media (max-width: 768px) {
  .dpl-modal-images {
    flex: none;
  }
}

.dpl-modal-main-image {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.dpl-modal-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.dpl-modal-thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dpl-modal-thumb {
  width: 60px;
  height: 60px;
  border: 2px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  background: #fff;
}

.dpl-modal-thumb:hover,
.dpl-modal-thumb.active {
  border-color: #4a90d9;
}

.dpl-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 詳細エリア */
.dpl-modal-details {
  flex: 1;
  text-align: left;
}

/* モーダル：カテゴリ（アイコン） */
.dpl-modal-category {
  font-size: var(--fs-xs);
  color: #fff;
  background: #4a90d9;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  margin: 0 0 10px;
}

.dpl-modal-name {
  font-size: var(--fs-lg);
  font-weight: bold;
  margin: 0 0 8px;
  line-height: 1.4;
  text-align: left;
}

/* モーダル：サブタイトル */
.dpl-modal-subtitle {
  font-size: var(--fs-sm);
  color: #666;
  margin: 0 0 12px;
  line-height: 1.4;
}

/* モーダル：商品コード */
.dpl-modal-code {
  font-size: var(--fs-xxs);
  color: #999;
  margin: 0 0 10px;
}

/* モーダル：価格エリア */
.dpl-modal-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 20px;
}

/* モーダル：税込価格（税抜と横並び） */
.dpl-modal-price {
  color: #c00;
  margin: 0;
  font-size: var(--fs-base);
}

.dpl-modal-price strong {
  font-size: 1.6em;
}

/* モーダル：税抜価格（税込の後ろにインライン表示） */
.dpl-modal-price .dpl-modal-price-ex {
  color: #333;
  font-size: inherit;
  margin-left: 8px;
}

/* モーダル：通常価格（打ち消し線） */
.dpl-modal-price-regular {
  text-decoration: line-through;
  color: #808080;
  font-size: var(--fs-xs);
  margin: 0;
}

.dpl-modal-specs {
  margin-bottom: 20px;
}

.dpl-modal-specs table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.dpl-modal-specs th,
.dpl-modal-specs td {
  padding: 8px 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.dpl-modal-specs th {
  background: #f5f5f5;
  width: 35%;
  white-space: nowrap;
}

.dpl-modal-description {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.dpl-modal-description h4 {
  font-size: var(--fs-sm);
  margin: 0 0 10px;
  color: #333;
}

.dpl-modal-description-text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: #666;
}

.dpl-modal-description-text img {
  max-width: 100%;
  height: auto;
}

/* ========== モーダル内タブ ========== */
.dpl-modal-tabs {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.dpl-modal-tab-buttons {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.dpl-modal-tab-btn {
  padding: 10px 20px;
  background: #f5f5f5;
  border: none;
  border-radius: 5px 5px 0 0;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: -2px;
}

.dpl-modal-tab-btn:hover {
  background: #e5e5e5;
}

.dpl-modal-tab-btn.active {
  background: #4a90d9;
  color: #fff;
  border-bottom: 2px solid #4a90d9;
}

/* ========== 商品詳細（タブなしの直接表示） ========== */
.dpl-modal-detail-title {
  font-size: var(--fs-md);
  font-weight: bold;
  margin: 0 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4a90d9;
}

.dpl-modal-detail-content {
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.dpl-modal-detail-content img {
  max-width: 100%;
  height: auto;
}

.dpl-modal-detail-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  margin: 10px 0;
}

.dpl-modal-detail-content th,
.dpl-modal-detail-content td {
  padding: 8px 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.dpl-modal-detail-content th {
  background: #f5f5f5;
  white-space: nowrap;
}

.dpl-modal-tab-contents {
  min-height: 100px;
}

.dpl-modal-tab-content {
  display: none;
}

.dpl-modal-tab-content.active {
  display: block;
}

.dpl-modal-tab-content img {
  max-width: 100%;
  height: auto;
}

.dpl-modal-tab-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  margin: 10px 0;
}

.dpl-modal-tab-content th,
.dpl-modal-tab-content td {
  padding: 8px 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.dpl-modal-tab-content th {
  background: #f5f5f5;
  white-space: nowrap;
}

/* ========== モーダル内度数選択フォーム ========== */
.dpl-modal-form {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.dpl-modal-form-title {
  font-size: var(--fs-md);
  font-weight: bold;
  margin: 0 0 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #4a90d9;
}

/* PC版(table)とSP版(div)両対応 - 共通の幅制御 */
.dpl-modal-form .goods_select_order_,
.dpl-modal-form .gods_select_order_ {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* フォーム自体をflexにして右目・左目テーブルを横並び */
#dpl-modal-cart-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
}

#dpl-modal-cart-form>table.right_eye_,
#dpl-modal-cart-form>table.left_eye_ {
  flex: 1 1 calc(50% - 8px);
  min-width: 200px;
  max-width: calc(50% - 8px);
  background: #f9f9f9;
  border-radius: 5px;
  overflow: hidden;
}

/* おすすめ欄は幅100%で下に配置 */
#dpl-modal-cart-form>.dpl-modal-together {
  width: 100%;
  flex-basis: 100%;
}

/* SP版：div構造 */
.dpl-modal-form .goods_select_order_ {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* PC版：table構造を横並び */
.dpl-modal-form .gods_select_order_ {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.dpl-modal-form .gods_select_order_>table {
  flex: 1;
  min-width: 200px;
  max-width: calc(50% - 8px);
}

.dpl-modal-form .gods_select_order_>table:only-child {
  max-width: 100%;
}

.dpl-modal-form table.gods_select_order_ {
  display: table;
  width: 100%;
}

.dpl-modal-form table.gods_select_order_>tbody {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.dpl-modal-form table.gods_select_order_>tbody>tr {
  flex: 1;
  min-width: 200px;
  display: block;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
}

.dpl-modal-form table.gods_select_order_>tbody>tr>td {
  display: block;
  padding: 0;
}

.dpl-modal-form .right_eye_,
.dpl-modal-form .left_eye_,
.dpl-modal-form .order_lense_ {
  flex: 1;
  min-width: 140px;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
  box-sizing: border-box;
}

.dpl-modal-form .eye_ {
  font-weight: bold;
  margin-bottom: 8px;
  padding: 5px 10px;
  background: #4a90d9;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  font-size: var(--fs-sm);
}

.dpl-modal-form .eye_ span {
  margin-left: 5px;
  font-size: var(--fs-xs);
}

.dpl-modal-form select {
  width: 100%;
  padding: 4px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: var(--fs-sm);
  background: #fff;
  box-sizing: border-box;
}

.dpl-modal-form select:focus {
  border-color: #4a90d9;
  outline: none;
}

.dpl-modal-form [id^="dispc_"] {
  margin-top: 5px;
}

.dpl-modal-form [id^="dispc_"]>div:first-child {
  font-size: var(--fs-xs);
  color: #666;
  margin-bottom: 3px;
}

/* PC版テーブルスタイル */
.dpl-modal-form table.formdetail_ {
  border-collapse: collapse;
}

.dpl-modal-form table.formdetail_ th,
.dpl-modal-form table.formdetail_ td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: var(--fs-sm);
}

.dpl-modal-form table.formdetail_ th.eye_ {
  background: #4a90d9;
  color: #fff;
}

.dpl-modal-form table.formdetail_ .order_class_ td {
  background: #f9f9f9;
}

.dpl-modal-form table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.dpl-modal-form th,
.dpl-modal-form td {
  padding: 8px 10px;
  border: 1px solid #ddd;
  font-size: var(--fs-sm);
}

.dpl-modal-form th {
  background: #f5f5f5;
  text-align: left;
  white-space: nowrap;
}

.dpl-modal-form th.eye_ {
  background: #4a90d9;
  color: #fff;
  text-align: center;
}

/* モーダルカートボタン */
.dpl-modal-cart-btn {
  width: 100%;
  padding: 15px;
  background: var(--ms_red);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: var(--fs-lg);
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.dpl-modal-cart-btn:hover {
  background: var(--ms_red);
  opacity: 0.9;
}

.dpl-modal-cart-btn:disabled {
  background: #999;
  cursor: not-allowed;
  opacity: 1;
}

.dpl-modal-cart-btn.done {
  background: #28a745;
}

/* ローディング */
.dpl-modal-loading {
  text-align: center;
  padding: 50px;
  color: #666;
  font-size: var(--fs-sm);
}

/* 注意書き */
.dpl-modal-caution {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 4px;
  font-size: var(--fs-xs);
  color: #856404;
}

/* ========== カート追加完了ポップアップ ========== */
.dpl-cart-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--ms_blue);
  color: #fff;
  padding: 30px 50px;
  border-radius: 10px;
  font-size: var(--fs-lg);
  font-weight: bold;
  text-align: center;
  z-index: 100001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.dpl-cart-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.dpl-cart-popup-icon {
  font-size: 48px;
  margin-bottom: 10px;
  display: block;
}

/* ========== SP用フォームスタイル ========== */
@media (max-width: 768px) {

  /* モーダルボディのoverflow制御 */
  .dpl-modal-body {
    overflow-x: hidden;
  }

  #dpl-modal-cart-form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  #dpl-modal-cart-form>table.right_eye_,
  #dpl-modal-cart-form>table.left_eye_ {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  /* SP版：goods_select_order_のはみ出し防止 */
  .dpl-modal-form .goods_select_order_,
  .dpl-modal-form .gods_select_order_ {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .dpl-modal-form .gods_select_order_>table {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .dpl-modal-form table.gods_select_order_>tbody {
    flex-direction: column;
  }

  .dpl-modal-form table.gods_select_order_>tbody>tr {
    min-width: 0;
    width: 100%;
  }

  /* SP版：右目・左目エリアのはみ出し防止 */
  .dpl-modal-form .right_eye_,
  .dpl-modal-form .left_eye_,
  .dpl-modal-form .order_lense_ {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .dpl-modal-form select {
    font-size: var(--fs-md);
    max-width: 100%;
  }

  .dpl-modal-tabs {
    margin-top: 15px;
    padding-top: 15px;
  }

  .dpl-modal-tab-buttons {
    flex-wrap: wrap;
  }

  .dpl-modal-tab-btn {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
    font-size: var(--fs-sm);
  }
}

/* ========== モーダル追加コンテンツ ========== */
.dpl-modal-extra {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* オプションメニュー */
.dpl-modal-option-menu {
  margin-bottom: 15px;
}

.dpl-modal-option-menu .option_menu_ {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dpl-modal-option-menu .option_menu_ li {
  width: 49%;
  display: flex;
  color: #222222;
  font-size: var(--fs-sm);
  line-height: 1.15;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 3px;
  height: 44px;
}

.dpl-modal-option-menu .option_menu_ li a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* オプションリスト */
.dpl-modal-option-list .option_list_ {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  font-size: var(--fs-sm);
  text-align: left;
}

.dpl-modal-option-list .option_list_ li {
  margin-bottom: 8px;
  text-align: left;
}

.dpl-modal-option-list .option_list_ a {
  color: #4a90d9;
  text-decoration: none;
}

.dpl-modal-option-list .option_list_ a:hover {
  text-decoration: underline;
}

/* こちらもおすすめ */
.dpl-modal-together .togetherlist_ {
  margin: 15px 0;
}

.dpl-modal-together .common_headline2_ {
  font-size: var(--fs-md);
  font-weight: bold;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4a90d9;
}

.dpl-modal-together .StyleA_Frame_ {
  margin-bottom: 10px;
}

.dpl-modal-together .StyleA_Item_ {
  width: 100%;
  border: 1px solid #eee;
  font-size: var(--fs-xs);
}

.dpl-modal-together .StyleA_Item_ td {
  padding: 10px;
  vertical-align: top;
}

.dpl-modal-together .StyleA_Item_ .img_ {
  width: 80px;
}

.dpl-modal-together .StyleA_Item_ .img_ img {
  width: 100%;
  height: auto;
}

.dpl-modal-together .StyleA_Item_ .name_ a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.dpl-modal-together .StyleA_Item_ .name_ a:hover {
  color: #4a90d9;
}

.dpl-modal-together .StyleA_Item_ .comment_ {
  font-size: var(--fs-xxs);
  color: #666;
  margin: 5px 0;
}

.dpl-modal-together .StyleA_Item_ .price_ {
  color: #c00;
  font-weight: bold;
}

.dpl-modal-together .StyleA_Item_ .checkbox_ {
  margin-top: 8px;
}

.dpl-modal-together .StyleA_Item_ .checkbox_ label {
  font-size: var(--fs-xs);
  cursor: pointer;
}

/* 追加コメント3 */
.dpl-modal-together+.dpl-modal-comment3,
.dpl-modal-comment3 {
  margin-top: 15px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 5px;
  font-size: var(--fs-sm);
}

#page_heder {
  margin: 0 auto 20px;
  width: 100%;
  max-width: 1200px;
}

.comment {
  margin: 0 auto 20px;
  width: 85%;
  max-width: 1160px;
  border: 1px solid #ccc;
  padding: 16px;
  font-size: 12px;
  background: #f7f1f1;
}

#dynamic-product-list {
  margin: 0 auto 60px;
}

/* aタグの場合 */
a.dpl-modal-cart-btn {
  width: auto;
  color: #fff;
  text-decoration: none;
}

a.dpl-modal-cart-btn:hover {
  color: #fff;
  text-decoration: none;
}

a.dpl-modal-cart-btn:visited {
  color: #fff;
}