/*=============================================================
  showcase_category_business.css
  業種別ショーケースページ
  ・タイル背景 ターコイズブルー被り（showcase.cssと同系）
=============================================================*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,'MS PGothic',sans-serif;
  font-size: 13px; line-height: 1.8; color: #ffffff;
  background-color: #030d10; min-width: 320px; -webkit-text-size-adjust: 100%;
}

/* ====== タイル背景 ====== */
#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: #030d10;
}
@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;
  filter: brightness(0.60) saturate(0.78); background: #030d10;
}
#tile-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg,rgba(0,40,50,.70) 0%,rgba(0,25,35,.62) 50%,rgba(0,30,42,.68) 100%);
}
#glass-lines { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
#glass-lines svg { width: 100%; height: 100%; }

a { color: #ffff00; text-decoration: none; }
a:hover { color: #ffffff; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; border: none; }

.page-wrapper {
  position: relative; z-index: 3;
  max-width: 780px; margin: 0 auto; padding: 0 10px 80px;
}

/* ====== パンくず ====== */
.breadcrumb-nav { background: rgba(0,0,0,0.35); padding: 6px 10px; font-size: 0.78rem; }
.breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; color: #fff; }
.breadcrumb-list li + li::before { content: "　›　"; color: #888; }
.breadcrumb-list a { color: #aaddff; }

/* ====== ヘッダー ====== */
.page-header {
  background: rgba(0,30,42,0.88); border-bottom: 2px solid rgba(0,150,180,0.30);
  padding: 10px 14px;
}
.header-brand { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 6px; }
.header-brand a { color: rgba(255,255,255,0.85); }
h1 { font-size: clamp(1rem,4vw,1.4rem); font-weight: bold; color: #fff; padding: 8px 0 10px; text-align: center; }
.h1-large { font-size: clamp(1.3rem,5vw,1.8rem); display: inline-block; }
.header-note { font-size: 0.80rem; color: rgba(220,240,255,0.80); line-height: 1.7; margin-top: 8px; }
.highlight { color: #ffb6c1; font-weight: bold; }

/* ====== 業種インデックス ====== */
.biz-index, .size-index {
  background: rgba(0,25,35,0.85); border: 1px solid rgba(0,150,180,0.25);
  border-radius: 6px; padding: 14px; margin: 14px 0;
}
.index-title { font-size: clamp(0.9rem,3vw,1.05rem); font-weight: bold; color: #aaddff; margin-bottom: 10px; text-align: center; }
.index-sub { font-size: 0.80rem; color: rgba(200,230,255,0.75); text-align: center; margin-bottom: 8px; }
.index-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 6px;
}
.index-grid a {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 8px 6px; text-align: center;
  font-size: clamp(12px,2.5vw,14px); font-weight: bold;
  color: #fff; text-decoration: none;
  border-radius: 4px; border: 1px solid rgba(0,150,180,0.35);
  background: rgba(0,60,80,0.55); transition: background 0.18s;
}
.index-grid a:hover { background: rgba(0,100,130,0.75); color: #fff; text-decoration: none; }
.index-note { font-size: 0.80rem; color: rgba(200,230,255,0.70); margin-top: 8px; text-align: center; }

@media (max-width: 480px) { .index-grid { grid-template-columns: repeat(2,1fr); } }

/* ====== セクション ====== */
.biz-section, .size-section { padding: 20px 0 10px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(0,150,180,0.30);
}
.section-header h2 {
  font-size: clamp(0.95rem,3.5vw,1.2rem); font-weight: bold; color: #aaddff;
}
.back-link {
  font-size: 0.78rem; color: #ffff00; white-space: nowrap;
  border: 1px solid rgba(255,255,0,0.35); padding: 3px 10px; border-radius: 3px;
}
.back-link:hover { background: rgba(255,255,0,0.15); text-decoration: none; }

/* ====== フォトグリッド ====== */
.photo-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; margin: 10px 0;
}
.photo-item {
  background: rgba(0,25,35,0.60); border: 1px solid rgba(0,120,150,0.20);
  border-radius: 4px; overflow: hidden; text-align: center;
  padding: 4px 3px 6px; transition: border-color 0.2s;
}
.photo-item:hover { border-color: rgba(0,180,220,0.50); }
.photo-item-link { display: block; cursor: zoom-in; }
.photo-item a { display: block; }
.photo-item img {
  width: 100%; height: 90px; object-fit: contain; display: block;
  margin: 0 auto; background: rgba(255,255,255,0.03);
}
.photo-label { font-size: 0.65rem; color: rgba(200,230,255,0.80); margin-top: 3px; }
.inquiry-note {
  font-size: 0.78rem; color: rgba(200,230,255,0.70); margin: 10px 0 4px; line-height: 1.7;
}

@media (max-width: 640px) {
  .photo-grid { grid-template-columns: repeat(3,1fr); }
  .photo-item img { height: 75px; }
}
@media (max-width: 380px) {
  .photo-grid { grid-template-columns: repeat(2,1fr); }
}

/* ====== 区切り線 ====== */
.section-divider { border: none; border-top: 2px solid rgba(0,120,150,0.30); margin: 16px 0; }

/* ====== CTA ====== */
.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: #000; }
.cta-btn--tel { background: #2a7a2a; color: #fff; }

.access-block { text-align: center; margin: 10px 0 18px; font-size: 0.82rem; color: #fff; }
.access-block a { color: #aaddff; }
.reservation-note { display: block; color: #ffcccc; margin-top: 4px; font-size: 0.78rem; }

.site-footer {
  text-align: center; padding: 16px 10px;
  border-top: 1px solid rgba(0,120,150,0.25); margin-top: 20px;
  font-size: 0.78rem; color: rgba(160,200,220,0.60);
}

/* ====== 固定フローティングボタン ====== */
.float-btns {
  position: fixed; bottom: 20px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  padding-left: 12px; gap: 8px; z-index: 1000; pointer-events: none;
}
.float-btns > * { pointer-events: auto; }
.btn-call {
  display: flex; align-items: center; gap: 7px;
  background: #c8251a; color: #fff; font-size: 0.82em; font-weight: bold;
  padding: 9px 14px; border-radius: 30px; text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.6); white-space: nowrap; transition: background 0.2s;
}
.btn-call:hover { background: #e02d20; color: #fff; text-decoration: none; }
.btn-call .icon { font-size: 1.1em; }
.btn-inquiry {
  display: flex; align-items: center; gap: 7px;
  background: #0a4a55; color: #fff; font-size: 0.82em; font-weight: bold;
  padding: 9px 14px; border-radius: 30px; text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.6); white-space: nowrap;
  border: 1px solid #0d6b7a; transition: background 0.2s;
}
.btn-inquiry:hover { background: #0d5e6e; color: #fff; text-decoration: none; }
.btn-inquiry .icon { font-size: 1.1em; }
.btn-access {
  display: flex; align-items: center; gap: 7px;
  background: #0a2a3a; color: #fff; font-size: 0.82em; font-weight: bold;
  padding: 9px 14px; border-radius: 30px; text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.6); white-space: nowrap;
  border: 1px solid #0d4a5c; transition: background 0.2s;
}
.btn-access:hover { background: #0d3a4e; color: #fff; text-decoration: none; }
.btn-access .icon { font-size: 1.1em; }
.btn-totop {
  position: fixed; bottom: 20px; right: 12px;
  width: 46px; height: 46px; background: rgba(0,70,90,0.85);
  border: 1px solid #0d6b7a; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3em; text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5); z-index: 1000; transition: background 0.2s;
}
.btn-totop:hover { background: rgba(0,95,120,0.95); color: #fff; text-decoration: none; }

/* ====== Lightbox ====== */
.lb-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.78); 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: 78vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 8px 40px rgba(0,0,0,.9);
}
#lb-caption {
  color: #cce8ff; font-size: 0.82rem; margin-top: 10px;
  text-align: center; max-width: 90vw; line-height: 1.5;
  background: rgba(0,0,0,0.50); padding: 5px 16px;
  border-radius: 20px; white-space: nowrap; letter-spacing: 0.02em;
}
.lb-close {
  position: absolute; top: -14px; right: -14px;
  width: 28px; height: 28px; font-size: 18px; line-height: 28px; text-align: center;
  color: #030d10; 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; }
.lb-nav {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  z-index: 9010; background: rgba(0,0,0,0.55); border-radius: 30px;
  padding: 8px 20px; white-space: nowrap;
}
.lb-prev, .lb-next {
  background: rgba(255,255,255,0.15); border: 1px solid #888;
  color: #fff; font-size: 18px; width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; line-height: 1; transition: background 0.2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.35); }
#lb-counter { color: #ccc; font-size: 13px; min-width: 60px; text-align: center; }
.lb-key-hint {
  position: fixed; bottom: 6px; left: 50%; transform: translateX(-50%);
  color: #888; font-size: 0.68rem; text-align: center; white-space: nowrap; z-index: 9010;
}

/* ====== レスポンシブ ====== */
@media screen and (max-width: 600px) {
  .float-btns { padding-left: 8px; gap: 6px; bottom: 16px; }
  .btn-call, .btn-inquiry, .btn-access { font-size: 0.75em; padding: 8px 11px; }
  .btn-totop { bottom: 16px; right: 8px; width: 42px; height: 42px; font-size: 1.1em; }
}

/* ====== 高さサブグループ ====== */
.height-subgroup {
  margin: 14px 0;
}
.height-title {
  font-size: clamp(0.82rem, 2.5vw, 0.95rem);
  font-weight: bold;
  color: #88ccaa;
  background: rgba(0, 60, 40, 0.45);
  border-left: 3px solid #44aa77;
  padding: 5px 10px;
  margin-bottom: 8px;
  border-radius: 0 3px 3px 0;
}
