@charset "UTF-8";
/*
 * unique.scss
 * include:
 * "header" "footer" "container"
 *
 * ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
 * "common"
 * ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
 */
body {
  background-color: #fff;
  font-family: Meiryo, メイリオ, Arial, Verdana, "Helvetica Neue", Helvetica, sans-serif;
  color: #333;
  font-size: 18px;
}
a{
  color: #333;
  text-decoration: none;
}
header{
  border-bottom: 1px solid #ddd;
  padding: 1rem 3rem;
  font-size: 17px;
}
.navbar-toggler{
  border: 2px solid #666;
}

.navbar-toggler i{font-size: 25px;font-weight: bold;}
.navbar-toggler .on{display: none;}
.navbar-toggler.collapsed .off{display: none;}
.navbar-toggler.collapsed .on{display: block;}


h2,h3,h4,h5,h6{
  font-weight: bold;
}
h3{
  font-size: 1.3rem;
}

.brd-title{
  border-left: 5px solid #333;
  padding-left: 10px;
}

a.nav-link{
  color: #333;
}

a:hover,
a.nav-link:hover{
  color: #1f9978;
}

.main-section {
  padding: 0 0 0px;
}
.section-content {
  padding: 40px 10px;
}
.thumbnail-grid img {
  width: 100%;
  height: auto;
}
.logo img{
  width: 230px;
}

.bg-1{
  background-image: url('../img/top/bg-1.png');
  background-repeat: no-repeat;
  background-position: center bottom; /* 中央に配置 */
/*  background-size: cover;            /* 要素にフィットさせて拡大縮小 */*/
}
.bg-2{
  background-image: url('../img/top/bg-2.jpg');
  background-repeat: no-repeat;
  background-position: center; /* 中央に配置 */
  background-size: cover;            /* 要素にフィットさせて拡大縮小 */
}
.bg-logo{
  background-image: url('../img/bg-logo.png');
  background-repeat: repeat-x;
  background-position: left center; /* 中央に配置 */
  background-size: 15%;            /* 要素にフィットさせて拡大縮小 */
}
.obi-row{
  padding: 3.5rem 2rem;
}
.bg-gray{
  background: #f6f6f6;
}
.bg-gray.deep{
  background: #111;
}
.bg-gray.deep2{
  background: #ddd;
}
.bg-orange{
  background: #f6f5ed;
}
.bg-mint{
  background: #93dcc8 !important;
}

.circle-icon{
  display: flex;
  justify-content:center;
  align-items: center;
  width: 76px;
  height: 76px;
  background: url('../img/bg-circle.png') no-repeat center center / cover;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0) translateX(0px); /* 標準サイズで左寄りに待機 */
  transition: transform 10s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.swiper-slide-active img {
  transform: scale(1.1) translateX(0);
}

footer{
  /*background: #93dcc8;*/
  background: #e8d8c0;
}

.btn-lg.more{
  padding-top: 30px;
  padding-bottom: 30px;
}

.about-product{
  min-height: 81px;
}

/* ---------------------------------------------
 * Bootstrap Secondary ボタン（茶色カスタム）
 * --------------------------------------------- */

/* 1. アウトラインボタン (.btn-outline-secondary) */
.btn-outline-secondary {
  color: #6b4226;
  border-color: #6b4226;
}

/* ホバー・クリック（アクティブ）時 */
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active,
.show > .btn-outline-secondary.dropdown-toggle {
  color: #fff;
  background-color: #6b4226;
  border-color: #6b4226;
}

/* フォーカス時の外枠（フォーカスリング） */
.btn-outline-secondary:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(107, 66, 38, 0.3);
}


/* 2. 塗りつぶしボタン (.btn-secondary) も茶色にしたい場合 */
.btn-secondary {
  color: #fff;
  background-color: #6b4226;
  border-color: #6b4226;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
  color: #fff;
  background-color: #4a2e1a; /* 少し濃い茶色 */
  border-color: #4a2e1a;
}

/* ---------------------------------------------
 * 出品画像枠のスタイル（縦横写真対応）
 * --------------------------------------------- */
.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* カード内の表示比率を統一 */
  overflow: hidden;
  background-color: #f1f3f5;
  cursor: pointer;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦長・横長問わず枠いっぱいにトリミング表示 */
  transition: transform 0.3s ease;
}

/* ホバー時の演出（虫眼鏡アイコン） */
.product-img-wrapper:hover img {
  transform: scale(1.05);
}

.product-img-wrapper .zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product-img-wrapper:hover .zoom-overlay {
  opacity: 1;
}

/* モーダル表示時：画像全体を切らずに画面内に収める設定 */
#imagePreviewModal .modal-body img {
  max-height: 80vh; /* 画面高さの80%以内に収める */
  max-width: 100%;
  object-fit: contain; /* 縦写真でも全体がしっかり見える */
  margin: 0 auto;
}

/* ==========================================
   オイリーマート 出品リストカード調整 .list-buy
========================================== */

/* 1. カード本体：境界線を上品にし、浮きすぎない設定に */
.row .card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important; /* 通常時は控えめ */
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease;
}

/* ホバー時：自然にふわっと浮き上がる */
/*.row .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: #cbd5e1 !important;
}
*/
/* 2. 出展者名ヘッダー */
.card-header {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #334155;
  padding: 10px 14px;
}

/* 3. 画像エリア：サイズ・アスペクト比の統一 */
.product-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* 画像の比率を4:3で固定 */
  overflow: hidden;
  background-color: #e2e8f0;
  cursor: pointer;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* はみ出し防止・トリミング */
  transition: transform 0.3s ease;
}

/* 画像ホバー時のズーム */
.product-img-wrapper:hover img {
  transform: scale(1.05);
}

/* 虫眼鏡オーバーレイ */
.zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product-img-wrapper:hover .zoom-overlay {
  opacity: 1;
}

/* 4. 出品内容テキスト（高さ統一のための行数制御） */
.list-buy .about-product {
  font-size: 0.975rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
  
  /* 長文の場合に4行で「...」と省略表示し、カードの高さを整える */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 5.6em; /* 短いテキスト時も一定の高さを確保 */
}

/* 5. エリア表示（フッター領域） */
.list-buy .wrap-list-category {
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
}

.list-buy .bg-gray {
  background-color: #f1f5f9;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

.list-buy .bg-gray a {
  color: #0f172a;
  text-decoration: none;
}

.list-buy .bg-gray a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------
 * ページネーション（茶色カスタム）
 * --------------------------------------------- */
/* 通常のリンク */
.pagination .page-link {
  color: #6b4226;               /* テキスト・矢印の色 */
  background-color: #fff;
  border-color: #dee2e6;
}

/* ホバー時（マウスをのせたとき） */
.pagination .page-link:hover {
  color: #4a2e1a;
  background-color: #f7f1eb;    /* ほんのり温かみのある薄茶の背景 */
  border-color: #d1c2b5;
}

/* 現在のページ（active） */
.pagination .page-item.active .page-link {
  color: #fff;                  /* 白文字 */
  background-color: #6b4226;    /* メインの茶色 */
  border-color: #6b4226;
}

/* クリック時・フォーカス時の青い光枠を茶系に変更 */
.pagination .page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(107, 66, 38, 0.25);
}

/* 無効化ボタン（disabled） */
.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
}

/* ---------------------------------------------
 * 商品説明テキストの省略・「続きを読む」設定
 * --------------------------------------------- */
.about-product {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  
  /* PC・大型モニター：...値行で丸める */
  -webkit-line-clamp: 6;
}

/* タブレット (576px〜991px)：...値行で丸める */
@media (max-width: 991px) {
  .about-product {
    -webkit-line-clamp: 6;
  }
}

/* スマホ (〜575px)：...値行で丸める */
@media (max-width: 575px) {
  .about-product {
    -webkit-line-clamp: 9;
  }
}

/* 全文表示（展開時） */
.about-product.is-expanded {
  display: block;
  -webkit-line-clamp: none;
}

/* 「続きを読む」ボタンの見た目 */
.btn-read-more {
  background: none;
  border: none;
  padding: 0;
  color: #6b4226; /* 茶色カスタム */
  font-weight: bold;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.btn-read-more:hover {
  color: #4a2e1a;
}

/* ---------------------------------------------
 * 検索ボックス・絞り込みエリア
 * --------------------------------------------- */
.search-box-wrapper {
  background-color: #fcfbfa;
  border: 1px solid #ebdcd0;
}

/* 茶色検索ボタン */
.btn-brown {
  background-color: #6b4226;
  border-color: #6b4226;
  color: #fff;
  font-weight: bold;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.btn-brown:hover,
.btn-brown:focus {
  background-color: #4a2e1a;
  border-color: #4a2e1a;
  color: #fff;
}

/* 強調文字色 */
.text-brown {
  color: #6b4226;
}

/* フォームフォーカス時の枠色を茶系に */
.search-box-wrapper .form-control:focus,
.search-box-wrapper .form-select:focus {
  border-color: #6b4226;
  box-shadow: 0 0 0 0.25rem rgba(107, 66, 38, 0.15);
}

/* ---------------------------------------------
 * ベンダーブース一覧 (1カラム専用スタイル)  .list-booth
 * --------------------------------------------- */
.vendor-card {
  transition: box-shadow 0.2s ease;
}

.vendor-card:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08) !important;
}

/* ブース名 */
.vendor-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

/* 小見出し */
.vendor-section-title {
  font-size: 1.05rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  padding-left: 0.6rem;
  border-left: 4px solid #6b4226;
}

/* バッジ風ラベル */
.vendor-badge {
  display: inline-block;
  background-color: #f7f1eb;
  color: #6b4226;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

/* 本文テキスト (改行維持) */
.vendor-body-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  padding: 10px 0 10px;
}

/* 茶色ボタン類 */
.btn-outline-brown {
  color: #6b4226;
  border-color: #6b4226;
  background-color: transparent;
}

.btn-outline-brown:hover,
.btn-outline-brown:focus {
  color: #fff;
  background-color: #6b4226;
  border-color: #6b4226;
}

.border-brown {
  border-color: #6b4226 !important;
}

.text-brown {
  color: #6b4226 !important;
}

.fs-7 {
  font-size: 0.75rem;
}
/* ---------------------------------------------
 * ベンダー画像専用の拡大表示枠スタイル
 * --------------------------------------------- */
.vendor-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* 比率を4:3にして高さを確保 */
  overflow: hidden;
  background-color: #f1f3f5;
  cursor: pointer;
}

.vendor-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比が違ってもきれいに枠いっぱいに表示 */
  transition: transform 0.3s ease;
}

.vendor-img-wrapper:hover img {
  transform: scale(1.04);
}

.vendor-img-wrapper .zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vendor-img-wrapper:hover .zoom-overlay {
  opacity: 1;
}


/* =======================
responsive
========================== */

@media (max-width: 991px) {
  .navbar-collapse {
    padding: 1.5rem 1rem;
    background: #eee;
    margin-top: 2rem;
  }
  .bg-logo{
    background-size: 20%;
  }
}

@media (max-width: 767px) {
  header{
    padding:1.2rem 2rem;
  }
  .bg-logo{
    background-size: 25%;
  }
  .obi-row{
    padding: 3rem 2rem;
  }
}

@media (max-width: 575px) {
  header{
    padding:1.2rem 0.8rem;
  }
  .bg-logo{
    background-size: 30%;
  }
  .obi-row{
    padding: 2.5rem 2rem;
  }
  .about-product {
    font-size: 1rem;
  }
}