/* ============================================================
   PIKOO — 着物リメイクブランド 公式サイト
   和 × ラグジュアリー / モバイルファースト v2
   ============================================================ */

:root {
  --bg: #0C0A07;
  --bg-soft: #14110C;
  --gold: #C9A64F;
  --gold-light: #EAD48F;
  --gold-dark: #B98F3B;
  --ivory: #F5F0E6;
  --ink: #1A1712;
  --text-on-dark: #E8E2D5;
  --text-muted: #A79E8C;
  --serif-en: "Bodoni Moda", serif;
  --serif-ja: "Noto Serif JP", serif;
  --radius: 6px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-on-dark);
  font-family: var(--serif-ja);
  font-size: 16px;
  line-height: 2.0;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* LINE固定ボタン分 */
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(12, 10, 7, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 166, 79, 0.18);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo img { width: 32px; height: 32px; }

.header-logo .wordmark {
  font-family: var(--serif-en);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  color: var(--gold);
}

/* ハンバーガー */
.nav-toggle {
  width: 48px; height: 48px;
  background: none; border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  z-index: 102;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--gold);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 7, 0.97);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 101;
}
.site-nav.open { opacity: 1; visibility: visible; }

.site-nav a {
  font-size: 1.1rem;
  padding: 14px 28px;
  letter-spacing: 0.28em;
  color: var(--text-on-dark);
  transition: color 0.3s;
}
.site-nav a:hover, .site-nav a.current { color: var(--gold); }
.site-nav a .en {
  display: block;
  font-family: var(--serif-en);
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-align: center;
  margin-top: 2px;
}

.site-nav .nav-line-btn { margin-top: 28px; }

/* ---------- LINE固定ボタン（モバイル） ---------- */
.line-fixed-btn {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  padding-bottom: var(--safe-bottom);
  background: linear-gradient(135deg, #EAD48F, #B98F3B);
  color: #1A1712;
  font-family: var(--serif-ja);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.line-fixed-btn svg { width: 22px; height: 22px; }

/* ---------- 共通パーツ ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.section { padding: 64px 0; }

/* 菱形＋細線の飾り罫 */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px auto 0;
}
.ornament::before, .ornament::after {
  content: "";
  display: block;
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.ornament .diamond {
  width: 8px; height: 8px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  transform: rotate(45deg);
  flex-shrink: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title .en {
  font-family: var(--serif-en);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
}
.section-title .ja {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 36px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: var(--serif-ja);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  transition: background 0.35s, color 0.35s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--ink);
}
.btn:active { transform: scale(0.97); }

.btn-line {
  background: linear-gradient(135deg, #EAD48F, #B98F3B);
  color: #1A1712;
  border: none;
  font-weight: 600;
}
.btn-line:hover { filter: brightness(1.08); }
.btn-line svg { width: 20px; height: 20px; }

/* ---------- LINE CTA バンド ---------- */
.cta-band {
  background: var(--bg-soft);
  border-top: 1px solid rgba(201, 166, 79, 0.2);
  border-bottom: 1px solid rgba(201, 166, 79, 0.2);
  text-align: center;
  padding: 56px 20px;
  position: relative;
  overflow: hidden;
}
.cta-band .crest-bg {
  position: absolute;
  right: -60px; bottom: -70px;
  width: 220px;
  opacity: 0.06;
  pointer-events: none;
}
.cta-band h2 {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.cta-band p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 2;
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 56px 20px 100px; /* 下にLINE固定ボタン分 */
  text-align: center;
  border-top: 1px solid rgba(201, 166, 79, 0.15);
}
.site-footer .footer-crest { width: 64px; margin: 0 auto 8px; }
.site-footer .footer-wordmark {
  font-family: var(--serif-en);
  font-size: 1.2rem;
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-bottom: 28px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-bottom: 28px;
}
.footer-nav a {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  padding: 8px 4px;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold); }
.copyright {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: #6B6252;
  margin-top: 22px;
}

/* ---------- フェードイン ---------- */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   トップページ
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 100px 20px 80px;
  overflow: hidden;
}
/* 旧ヒーロー要素（互換性のため残す） */
.hero-crest { width: 110px; margin-bottom: 24px; }
.hero-wordmark {
  font-family: var(--serif-en);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
/* 新ロゴブロック（縦組みSVG） */
.hero-logo-block {
  margin-bottom: 20px;
}
.hero-logo-vertical {
  width: 180px;
  height: auto;
}
.hero-catch {
  font-size: 1.05rem;
  letter-spacing: 0.26em;
  line-height: 2.4;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.hero .scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif-en);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}
.hero .scroll-hint::after {
  content: "";
  display: block;
  width: 1px; height: 30px;
  background: linear-gradient(180deg, var(--gold), transparent);
  margin: 6px auto 0;
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ヒーロー作品写真 — フルブリード */
.hero-visual {
  width: calc(100% + 40px);
  margin: 0 -20px;
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 60svh;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,10,7,0.1) 50%, rgba(12,10,7,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* コンセプト */
.concept { text-align: center; }
.concept p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 2.4;
}
.concept .concept-lead {
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  margin-bottom: 22px;
  line-height: 2.2;
}

/* ギャラリー抜粋 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-grid a {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-grid a:active img { transform: scale(1.03); }
.gallery-grid .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(12,10,7,0.88));
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ivory);
  border-radius: 0 0 var(--radius) var(--radius);
}
.more-link { text-align: center; margin-top: 36px; }

/* オーダー簡易ステップ（カード型） */
.steps-mini {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.step-mini {
  border: 1px solid rgba(201, 166, 79, 0.25);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-soft);
}
.step-mini .num {
  font-family: var(--serif-en);
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1.2;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
}
.step-mini h3 {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}
.step-mini p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.9; }

/* ============================================================
   作品一覧
   ============================================================ */
.page-head {
  padding: 120px 20px 32px;
  text-align: center;
}
.page-head .en {
  font-family: var(--serif-en);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gold);
  display: block;
}
.page-head .ja {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-top: 8px;
}
.page-head .note {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 0.85rem;
  color: var(--text-on-dark);
  line-height: 2.1;
}

.works-tabs {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  padding: 8px 20px 28px;
  scrollbar-width: none;
}
.works-tabs::-webkit-scrollbar { display: none; }
.works-tabs button {
  background: none;
  border: 1px solid rgba(201, 166, 79, 0.4);
  border-radius: 100px;
  color: var(--text-muted);
  font-family: var(--serif-ja);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.works-tabs button.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--ink);
  border-color: transparent;
  font-weight: 500;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 12px;
}
.work-card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease;
}
.work-card:active { transform: scale(0.97); }
.work-card .ph {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.work-card .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.work-card:active .ph img { transform: scale(1.03); }
.work-card .badge {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  background: rgba(12, 10, 7, 0.8);
  border: 1px solid rgba(201, 166, 79, 0.5);
  border-radius: 3px;
  color: var(--gold-light);
}
.work-card .multi {
  position: absolute;
  bottom: 8px; right: 8px;
  font-size: 0.6rem;
  padding: 3px 8px;
  background: rgba(12,10,7,0.78);
  border-radius: 3px;
  color: var(--ivory);
  letter-spacing: 0.1em;
}
.work-card h3 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 10px;
  padding: 0 2px;
  line-height: 1.6;
}
.work-card .fabric {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 3px;
  padding: 0 2px;
}

.one-of-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  padding: 36px 20px 10px;
}

/* ライトボックス */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 4, 0.96);
  z-index: 200;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 94vw;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox .lb-title {
  margin-top: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--ivory);
  text-align: center;
}
.lightbox .lb-fabric { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }
.lightbox .lb-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 48px; height: 48px;
  background: rgba(12,10,7,0.6);
  border: 1px solid rgba(201,166,79,0.3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  font-family: var(--serif-en);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 64px;
  background: rgba(12,10,7,0.5);
  border: none;
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
  font-family: var(--serif-en);
  -webkit-tap-highlight-color: transparent;
}
.lightbox .lb-prev { left: 6px; }
.lightbox .lb-next { right: 6px; }
.lightbox .lb-count {
  margin-top: 10px;
  font-family: var(--serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* ============================================================
   オーダーページ
   ============================================================ */
.order-steps {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}
.order-step {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(201, 166, 79, 0.16);
}
.order-step:last-child { border-bottom: none; }
.order-step .num {
  font-family: var(--serif-en);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1.2;
  min-width: 50px;
  text-align: center;
  flex-shrink: 0;
}
.order-step .num small {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}
.order-step h3 {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.order-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 2.0; }

.price-table-wrap { max-width: 720px; margin: 0 auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(201, 166, 79, 0.18);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: left;
}
.price-table td:last-child {
  text-align: right;
  font-family: var(--serif-en);
  font-size: 1rem;
  color: var(--gold-light);
  white-space: nowrap;
}
.price-note {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 2.1;
}

.bring-own {
  max-width: 720px;
  margin: 40px auto 0;
  border: 1px solid rgba(201, 166, 79, 0.3);
  border-radius: var(--radius);
  padding: 28px 22px;
  background: var(--bg-soft);
  text-align: center;
}
.bring-own h3 {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.bring-own p { font-size: 0.84rem; color: var(--text-muted); line-height: 2.0; }

/* ============================================================
   ブランドについて
   ============================================================ */
.about-block {
  max-width: 680px;
  margin: 0 auto;
}
.about-block h2 {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  margin-bottom: 8px;
}
.about-block .en-sub {
  display: block;
  text-align: center;
  font-family: var(--serif-en);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 26px;
}
.about-block p {
  font-size: 0.9rem;
  line-height: 2.4;
  margin-bottom: 20px;
}
.about-crest {
  width: 130px;
  margin: 10px auto 30px;
}
.about-photo {
  margin: 30px -20px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-photo img { width: 100%; }

.kodawari-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.kodawari {
  border: 1px solid rgba(201, 166, 79, 0.22);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 24px 20px;
}
.kodawari h3 {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.kodawari p { font-size: 0.82rem; color: var(--text-muted); line-height: 2.0; margin: 0; }

/* ============================================================
   会社概要 / 特商法
   ============================================================ */
.info-table-wrap { max-width: 720px; margin: 0 auto; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  padding: 16px 10px;
  border-bottom: 1px solid rgba(201, 166, 79, 0.16);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  vertical-align: top;
  text-align: left;
  line-height: 1.9;
}
.info-table th {
  width: 32%;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
.placeholder { color: #7A7160; font-size: 0.76rem; }

/* ============================================================
   レスポンシブ（タブレット以上）
   ============================================================ */
@media (min-width: 768px) {
  body {
    font-size: 16px;
    padding-bottom: 0;
  }

  .line-fixed-btn { display: none; }

  .site-header { padding: 16px 40px; }
  .header-logo img { width: 38px; height: 38px; }

  .hero { padding: 120px 40px 80px; }
  .hero-logo-vertical { width: 240px; }
  .hero-wordmark { font-size: 3.2rem; }
  .hero-catch { font-size: 1.25rem; }
  .hero-visual {
    width: min(50vw, 480px);
    margin: 0 auto;
    aspect-ratio: auto;
    max-height: 55svh;
    border-radius: var(--radius);
  }
  .hero-visual::before { border-radius: var(--radius); }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .works-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 20px; }

  .steps-mini { grid-template-columns: repeat(3, 1fr); }
  .step-mini { flex-direction: column; text-align: center; padding: 28px 20px; }

  .section { padding: 88px 0; }

  .site-footer { padding-bottom: 48px; }

  .about-photo { margin: 36px auto; border-radius: var(--radius); }
}

@media (min-width: 1080px) {
  .works-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { gap: 22px; }
}
