/* tecoサロン ランディング（静的版） */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: #080605;
  color: #2a2118;
  font-family: 'M PLUS 1', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img { display: block; }

/* 背景レイヤー（PC左右余白に見える） */
.bg-layer {
  position: fixed; inset: 0; z-index: -2;
  background: linear-gradient(180deg, #080605 0%, #0e0a08 48%, #160f0b 76%, #241811 100%);
}
.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 42% at 50% 0%, rgba(226,178,158,0.15), transparent 60%);
}

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 30; }
.header-bar {
  max-width: 520px; margin: 0 auto; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #fffdf8; padding: 0 16px;
  border-left: 1px solid #e2cea3; border-right: 1px solid #e2cea3; border-bottom: 1px solid #e2cea3;
  box-shadow: 0 2px 8px -4px rgba(176,138,58,0.25);
}
.header-logo { height: 36px; width: auto; }

/* 中央カラム */
.main {
  position: relative; z-index: 1;
  max-width: 520px; margin: 0 auto; min-height: 100vh;
  background: #fff; padding: 0 16px 112px;
  border-left: 1px solid #e2cea3; border-right: 1px solid #e2cea3;
  box-shadow: 0 0 60px -10px rgba(0,0,0,0.5);
}

.banner-wrap { padding-top: 16px; }
.banner {
  width: 100%; max-width: 560px; height: auto; margin: 0 auto;
  border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* セクション見出し */
.catalog { margin-top: 20px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.section-head h2 {
  margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.15em; color: #c08a3a;
}
.section-head .line { height: 1px; flex: 1; }
.section-head .line.l { background: linear-gradient(to right, transparent, #e2b878); }
.section-head .line.r { background: linear-gradient(to left, transparent, #e2b878); }

/* アイコングリッド */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.tile-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 100%; padding: 0; background: none; border: none; cursor: pointer; font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.tile {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 16%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid transparent;
  background-image:
    linear-gradient(to bottom right, #ffffff, #fdf6ea),
    linear-gradient(135deg, #f2a85e 0%, #fbe2a8 45%, #f6c97a 70%, #e89a4f 100%);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 6px 16px -6px rgba(216,138,61,0.35);
  transition: box-shadow .3s, transform .15s, filter .3s;
}
.tile-btn:hover .tile { box-shadow: 0 10px 28px -8px rgba(216,138,61,0.5); filter: brightness(1.03) saturate(1.1); }
.tile-btn:active .tile { transform: scale(0.95); }
.tile > img { width: 100%; height: 100%; object-fit: cover; }
.tile-dim { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.tile-soon {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 0;
  background: rgba(255,255,255,0.8); text-align: center;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: #2a2118;
}
.tile-meta { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.15; width: 100%; }
.tile-label { font-size: 15px; font-weight: 700; color: #2a2118; }
.tile-sub {
  font-size: 11px; color: #8a7a64; text-align: center; line-height: 1.3;
  white-space: pre-line; min-height: 2.4em;
}

/* フッター */

/* 最下部メニュー */
.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding-bottom: env(safe-area-inset-bottom); }
.bottomnav-bar {
  max-width: 520px; margin: 0 auto; display: flex; align-items: stretch; justify-content: space-around;
  background: #fffdf8; padding: 6px 8px;
  border-left: 1px solid #e2cea3; border-right: 1px solid #e2cea3; border-top: 1px solid #e2cea3;
  box-shadow: 0 -2px 8px -4px rgba(176,138,58,0.25);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0;
  background: none; border: none; cursor: pointer; text-decoration: none; color: #8a7a64; font: inherit;
  transition: color .2s;
}
.nav-item + .nav-item { border-left: 1px solid #e2cea3; }
.nav-item:hover { color: #c08a3a; }
.nav-item.active { color: #c08a3a; }
.nav-item svg { width: 24px; height: 24px; }
.nav-item img { width: 24px; height: 24px; object-fit: contain; }
.nav-label { font-size: 11px; font-weight: 500; }
.nav-item.active .nav-label { font-weight: 700; }

/* PC左右レール（1280px以上） */
.rail { display: none; }
@media (min-width: 1280px) {
  .rail {
    display: flex; position: fixed; top: 0; height: 100vh;
    width: calc((100vw - 520px) / 2); flex-direction: column;
    align-items: center; justify-content: center; padding: 0 24px; z-index: 0;
  }
  .rail-left { left: 0; }
  .rail-right { right: 0; }
  .rail-logo { width: 260px; max-width: 100%; height: auto; }
  .rail-qr {
    width: 180px; max-width: 100%; background: #fff; padding: 12px; border-radius: 16px;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6);
  }
  .rail-qr img { width: 100%; height: auto; }
}

/* ダイアログ */
.overlay {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0,0,0,0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.overlay[hidden] { display: none; }
.dialog {
  position: relative; width: 100%; max-width: 440px;
  background: #fffaf2; color: #2a2118; border: 1px solid #ecd9b8; border-radius: 16px; padding: 24px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
  animation: dialog-in .2s ease;
}
.dialog.sm { max-width: 400px; text-align: center; }
@keyframes dialog-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.dialog-close {
  position: absolute; right: 16px; top: 16px; padding: 0; background: none; border: none; cursor: pointer;
  color: #9a8b78; opacity: 0.7; transition: opacity .2s;
}
.dialog-close:hover { opacity: 1; }
.dialog-close svg { width: 16px; height: 16px; }
.dialog-head-center { text-align: center; }
/* ポップアップ上部に出すアイコン画像（タイルと同じ金枠トーン・枠線は少し細め） */
.dialog-icon {
  position: relative; display: block; width: 84px; height: 84px; margin: 0 auto 12px;
  border-radius: 16%; overflow: hidden;
  border: 2px solid transparent;
  background-image:
    linear-gradient(to bottom right, #ffffff, #fdf6ea),
    linear-gradient(135deg, #f2a85e 0%, #fbe2a8 45%, #f6c97a 70%, #e89a4f 100%);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 6px 16px -6px rgba(216,138,61,0.35);
}
.dialog-icon img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  display: inline-flex; align-items: center; margin-bottom: 8px;
  border: 1px solid #e2b878; border-radius: 999px; padding: 4px 12px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #c08a3a;
}
.dialog h3 { margin: 0 0 6px; color: #c08a3a; font-size: 18px; font-weight: 700; }
.dialog-desc { margin: 0; font-size: 11px; color: #8a7a64; line-height: 1.7; white-space: pre-line; }
.teaser-text { margin: 0; font-size: 14px; color: #6f6353; line-height: 1.7; white-space: pre-line; }

.store-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.store {
  display: flex; align-items: center; justify-content: space-between; text-decoration: none;
  border: 3px solid transparent; border-radius: 12px; padding: 14px 16px;
  background-image:
    linear-gradient(to right, #ffffff, #fffaf2),
    linear-gradient(135deg, #f2a85e 0%, #fbe2a8 45%, #f6c97a 70%, #e89a4f 100%);
  background-origin: border-box; background-clip: padding-box, border-box;
  transition: filter .2s;
}
.store:hover { filter: brightness(1.02); }
.store-name { display: block; font-size: 14px; font-weight: 700; color: #2a2118; }
.store-area { display: block; font-size: 11px; color: #8a7a64; }
.store svg { width: 16px; height: 16px; color: #d98a3d; flex-shrink: 0; }
