/* ============================================================
   samplecase.css  |  大阪陳列株式会社 サンプルケースページ専用CSS
   responsive & SEO-enhanced  |  背景: bgound_way_bk2.gif 固定
   ============================================================ */

/* ---------- リセット & ベース ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #100308;
  background-repeat: repeat;
  color: #ffffff;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
  line-height: 1.7;
  min-width: 320px;
}

/* ====== タイル背景 ====== */
#tile-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  pointer-events: none;
  background: #100308;
}
@media screen and (max-width: 768px) {
  #tile-bg {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
}
#tile-bg .tile-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: brightness(0.60) saturate(0.78);
  background: #100308;
}

/* ====== 暗幕オーバーレイ ====== */
#tile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(50,5,20,.70) 0%, rgba(35,3,12,.62) 50%, rgba(45,4,18,.68) 100%);
  pointer-events: none;
}

/* ====== ガラス反射・斜め線オーバーレイ ====== */
#glass-lines {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
#glass-lines svg {
  width: 100%;
  height: 100%;
}


a {
  color: #ffff00;
  text-decoration: underline;
}
a:hover {
  color: #ffe066;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

/* ---------- レイアウト共通 ---------- */
.page-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ---------- サイトヘッダー（h1） ---------- */
.site-header {
  position: relative;
  z-index: 3;
  background: rgba(0,0,0,0.55);
  text-align: center;
  padding: 10px 12px;
}
.site-header h1 {
  font-size: clamp(0.8rem, 2.5vw, 1.05rem);
  font-weight: bold;
  color: #ffffff;
  line-height: 1.4;
}
.site-header h1 a {
  color: #ffffff;
  text-decoration: none;
}
.site-header h1 a:hover {
  text-decoration: underline;
}

/* ---------- ヒーローエリア ---------- */
.hero {
  text-align: center;
  padding: 20px 0 10px;
}
.hero-intro {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 6px;
}
.hero-title {
  font-size: clamp(1.8rem, 8vw, 3rem);
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: clamp(0.9rem, 3vw, 1.15rem);
  color: #ffffff;
  margin-bottom: 6px;
}
.hero-note {
  font-size: 0.8rem;
  color: #ffffff;
}
.hero-note a {
  color: #ffff00;
}

.hero-image {
  margin: 16px auto;
  display: block;
  max-width: 100%;
  width: min(600px, 100%);
}
.hero-image-caption {
  font-size: 0.8rem;
  color: #ffffff;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 12px;
}

/* ---------- いいね！ ---------- */
.sns-block {
  text-align: center;
  margin: 10px 0;
  font-size: 0.78rem;
  color: #ffffff;
}

/* ---------- ショールーム ---------- */
.showroom-section {
  text-align: center;
  margin: 20px 0;
}
.showroom-label {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: bold;
  color: #ffffff;
  margin-top: 8px;
}

/* ---------- 区切り線 ---------- */
.section-hr {
  border: none;
  border-top: 2px solid #ffffff;
  margin: 16px auto;
  max-width: 700px;
}
.section-hr-thick {
  border: none;
  border-top: 10px solid #888;
  margin: 12px auto;
  max-width: 700px;
}
.section-hr-mid {
  border: none;
  border-top: 10px solid #888;
  margin: 16px auto;
  max-width: 650px;
}

/* ---------- TOPリンク ---------- */
.top-link {
  text-align: center;
  margin: 10px 0;
  font-size: 0.85rem;
}

/* ---------- Instagramブロック ---------- */
.instagram-block {
  background: rgba(0,0,0,0.35);
  border-left: 3px solid #c13584;
  padding: 10px 14px;
  margin: 20px auto 10px;
  max-width: 700px;
  border-radius: 4px;
}
.instagram-block .insta-icon {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.instagram-block .insta-text {
  font-size: 0.8rem;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.7;
}
.instagram-block .insta-link {
  font-weight: bold;
  font-size: 0.85rem;
}
.instagram-block .insta-link a {
  color: #f7a8c4;
  text-decoration: underline;
}
.instagram-block .insta-link a:hover {
  color: #ffffff;
}
.instagram-block .insta-update {
  font-size: 0.78rem;
  color: #dddddd;
}

/* ---------- Instagramウィジェット枠 ---------- */
.insta-widget-wrap {
  margin-top: 14px;
  width: 100%;
  max-width: 700px;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  min-height: 300px;
}
.insta-widget-wrap iframe {
  width: 100%;
  min-height: 610px;
  border: 0;
  display: block;
}
@media (max-width: 640px) {
  .insta-widget-wrap iframe {
    min-height: 690px;
  }
}

/* ---------- お問い合わせ・電話ボタン ---------- */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0;
}
.cta-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
  min-width: 160px;
}
.cta-btn:hover { opacity: 0.85; text-decoration: none; }
.cta-btn--contact {
  background: #e8a000;
  color: #000000;
}
.cta-btn--tel {
  background: #2a7a2a;
  color: #ffffff;
}

/* ---------- アクセスマップリンク ---------- */
.access-block {
  text-align: center;
  margin: 10px 0 18px;
  font-size: 0.82rem;
  color: #ffffff;
}
.access-block a {
  color: #ffff00;
}
.access-block .reservation-note {
  display: block;
  color: #ffcccc;
  margin-top: 4px;
  font-size: 0.78rem;
}

/* ---------- セクション見出し ---------- */
.section-heading {
  text-align: center;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: bold;
  color: #ffffff;
  margin: 22px 0 10px;
}
.section-category {
  font-size: clamp(0.9rem, 3vw, 1.05rem);
  color: #ffb6c1;
  font-weight: bold;
  margin: 18px 0 8px;
}

/* ---------- サンプルケース説明ブロック ---------- */
.samplecase-desc-block {
  font-size: 0.85rem;
  color: #ffffff;
  padding: 14px 16px;
  margin: 10px auto;
  max-width: 700px;
  line-height: 1.8;
}
.samplecase-desc-block p {
  margin-bottom: 0.9em;
}
.samplecase-desc-block strong {
  font-weight: bold;
}
.samplecase-desc-block .highlight {
  color: #ffb6c1;
}

/* ---------- フォトグリッド（サンプルケース） ---------- */
.photo-grid-wrapper {
  border: 3px solid #ffffff;
  padding: 6px;
  margin: 10px auto;
  width: 100%;
}
.photo-grid-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
@media (max-width: 640px) {
  .photo-grid-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 400px) {
  .photo-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
.photo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 2px;
  text-align: center;
  min-height: 130px;
  justify-content: flex-start;
}
.photo-item a {
  display: block;
}
.photo-item img {
  width: 100%;
  max-width: 100px;
  height: auto;
  border: 0;
}
.photo-item .photo-label {
  font-size: 0.7rem;
  color: #ffffff;
  margin-top: 3px;
}

/* ---------- 本文テキストブロック ---------- */
.text-block {
  max-width: 700px;
  margin: 0 auto;
  padding: 10px 0;
  font-size: 0.82rem;
  color: #ffffff;
}
.text-block p {
  margin-bottom: 0.8em;
}
.text-block strong {
  font-weight: bold;
}
.text-block .highlight {
  color: #ffb6c1;
}
.text-block .highlight-bold {
  color: #ffb6c1;
  font-weight: bold;
}
.text-block ul.indent-list {
  list-style: none;
  padding-left: 1em;
  margin: 0.5em 0;
}
.text-block ul.indent-list li {
  margin-bottom: 0.5em;
}

/* ---------- フッター ---------- */
.site-footer {
  text-align: center;
  padding: 16px 12px;
  border-top: 3px solid #888;
  margin-top: 20px;
  font-size: 0.78rem;
  color: #ffffff;
}
.site-footer a {
  color: #ffffff;
}

/* ---------- スペーサー ---------- */
.spacer { margin: 16px 0; }
.spacer-sm { margin: 8px 0; }

/* ---------- 特価お問い合わせ注記 ---------- */
.bargain-note {
  font-size: 0.8rem;
  color: #ffffff;
  margin: 10px 0;
}

/* ---------- Copyright ---------- */
.copyright {
  font-size: 0.78rem;
  color: #ffffff;
}
.copyright a { color: #ffffff; }

/* ====== 固定ボタン（ページトップ／お問い合わせ） ====== */
#pagetop {
  position: fixed; bottom: 20px; right: 20px;
  background: #335588; color: #fff;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  transition: background .2s; z-index: 900;
}
#pagetop:hover { background: #5599cc; text-decoration: none; color: #fff; }

#fixed-contact {
  position: fixed; bottom: 20px; left: 20px; z-index: 900;
}
#fixed-contact a {
  display: flex; align-items: center; gap: 5px;
  background: #cc3366; color: #fff;
  padding: 8px 12px; border-radius: 50px;
  font-size: 12px; font-weight: bold; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  transition: background .2s; color: #fff !important;
}
#fixed-contact a:hover { background: #ff6699; }


/* ---------- パンくずリスト ---------- */
.breadcrumb-nav {
  position: relative;
  z-index: 3; max-width: 760px; margin: 0 auto; padding: 6px 12px; font-size: 0.78rem; background: rgba(0,0,0,0.3); }
.breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0; padding: 0; color: #fff; }
.breadcrumb-list li + li::before { content: "　›　"; color: #aaa; }
.breadcrumb-list a { color: #ffff00; text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }

/* ---------- Lightbox（sale_showcase_collectioncase.htm と同構造） ---------- */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.75);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lb-overlay.open { display: flex; }
.lb-frame {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lb-frame img {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,.8);
}
#lb-caption {
  color: #ccc;
  font-size: 0.72rem;
  line-height: 1.4;
  margin-top: 6px;
  text-align: center;
  max-width: 90vw;
  max-height: 44px;
  overflow: hidden;
}
.lb-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 28px;
  height: 28px;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  color: #0a0c10;
  background: #e8c96a;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  z-index: 9001;
}
.lb-close:hover { background: #fff; }
.photo-item a { cursor: zoom-in; }
