/* 和酒BAR Emmi — メインスタイル */

:root {
  --bg:        #f5f1e8;
  --bg-washi:  #ede9de;
  --bg-dark:   #141210;
  --bg-dark-2: #1c1815;
  --ink:       #1c1510;
  --ink-sub:   #7a6d5f;
  --ink-lt:    #e6dfd5;
  --ink-lt-sub:rgba(230,220,205,0.82);
  --gold:      #8b6418;
  --gold-lt:   #c9a24a;
  --seki:      #3d6255;
  --accent:    #7a2e2e;
  --line:      rgba(139,100,24,0.2);
  --line-dk:   rgba(184,146,74,0.2);
  --washi-img: url('https://images.unsplash.com/photo-1737276731694-7ade527b972f?w=1400&q=55');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", Georgia, serif;
  background: var(--bg-dark);
  color: var(--ink-lt);
  line-height: 1.9;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ========== 和紙テクスチャ ========== */
.washi-section {
  position: relative;
  background: var(--bg-washi) !important;
}
.washi-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--washi-img);
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}
.washi-section > * {
  position: relative;
  z-index: 1;
}
.washi-section .section-head .label { color: var(--gold); opacity: 0.75; }
.washi-section .section-head h2 { color: var(--ink); }
.washi-section .section-aside { color: var(--gold); opacity: 0.3; }
.washi-section .wa-line { background: var(--gold); opacity: 0.5; }
.washi-section .about-text h3 { color: var(--ink); }
.washi-section .about-text p { color: var(--ink-sub); }
.washi-section .about-text .more { color: var(--gold); border-color: var(--line); }
.washi-section .access-info dt { color: var(--gold); opacity: 0.75; }
.washi-section .access-info dd { color: var(--ink-sub); }
.washi-section .access-info dd a { color: var(--gold); opacity: 0.85; }
.washi-section .access-map { background: var(--bg-washi); border-color: var(--line); color: var(--ink-sub); }

/* ========== 写真背景セクション ========== */
.photo-section {
  position: relative;
  background: var(--bg-dark) !important;
}
.photo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--photo-section-img, var(--washi-img));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.photo-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,18,16,0.55) 0%,
    rgba(20,18,16,0.35) 50%,
    rgba(20,18,16,0.55) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.photo-section > * {
  position: relative;
  z-index: 1;
}

/* ========== ヘッダー ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20,18,16,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dk);
}

.logo {
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--ink-lt);
  font-weight: 400;
}
.logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.5em;
  color: var(--gold-lt);
  margin-top: 3px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.gnav {
  display: flex;
  gap: 40px;
  font-size: 13px;
  letter-spacing: 0.15em;
}
.gnav a { color: var(--ink-lt-sub); transition: color 0.3s; }
.gnav a:hover { color: var(--gold-lt); }

.tel-btn {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--bg-dark);
  background: var(--gold-lt);
  border: 1px solid var(--gold-lt);
  padding: 7px 18px;
  transition: all 0.3s;
}
.tel-btn:hover { background: var(--bg-dark); color: var(--gold-lt); border-color: var(--gold-lt); }

/* ========== ヒーロー ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,18,16,0.45) 0%,
    rgba(20,18,16,0.0) 60%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: var(--ink-lt);
}

.hero-catch {
  writing-mode: horizontal-tb;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--ink-lt);
}
.hero-catch em {
  font-style: normal;
  color: var(--gold-lt);
}

.hero-sub-catch {
  writing-mode: horizontal-tb;
  font-size: 17px;
  letter-spacing: 0.25em;
  line-height: 1.9;
  color: var(--ink-lt-sub);
  border-left: 1px solid rgba(184,146,74,0.4);
  padding-left: 20px;
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", Georgia, serif;
}

/* ========== ボタン ========== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: 13px;
  letter-spacing: 0.2em;
  border: 1px solid;
  transition: all 0.3s;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: #a37820; border-color: #a37820; }
.btn-ghost {
  background: transparent;
  color: var(--gold-lt);
  border-color: var(--line-dk);
}
.btn-ghost:hover { border-color: var(--gold-lt); }

/* ========== セクション共通 ========== */
.section {
  padding: 160px 80px;
  position: relative;
  background: var(--bg-dark-2);
}

.section-head { margin-bottom: 96px; text-align: center; }
.section-head .label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.6em;
  color: var(--gold-lt);
  opacity: 0.75;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--ink-lt);
}

.section-aside {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.6em;
  color: var(--gold-lt);
  opacity: 0.3;
  text-transform: uppercase;
}

/* ========== 飾り罫 ========== */
.wa-line {
  width: 40px;
  height: 1px;
  background: var(--gold-lt);
  opacity: 0.45;
  display: block;
  margin-bottom: 32px;
}

/* ========== Emmiの想い ========== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 60px;
  height: 60px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  z-index: 1;
  opacity: 0.55;
}

.about-text h3 {
  font-size: 22px;
  letter-spacing: 0.2em;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 32px;
  color: var(--ink-lt);
}
.about-text p {
  color: var(--ink-lt-sub);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 2;
}
.about-text .more {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold-lt);
  border-bottom: 1px solid var(--line-dk);
  padding-bottom: 6px;
  transition: opacity 0.3s;
}
.about-text .more:hover { opacity: 0.7; }

/* ========== こだわり（和紙背景用上書き） ========== */
.washi-section .quality-item .info {
  background: rgba(237,233,222,0.85);
}
.washi-section .quality-item .info h4 {
  color: var(--gold);
}
.washi-section .quality-item .info p {
  color: var(--ink-sub);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.quality-item { overflow: hidden; }
.quality-item .photo {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.quality-item .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.quality-item:hover .photo img { transform: scale(1.04); }

.quality-item .info {
  padding: 28px 24px;
  background: var(--bg-dark);
}
.quality-item .info h4 {
  font-size: 16px;
  letter-spacing: 0.15em;
  font-weight: 400;
  color: var(--gold-lt);
  margin-bottom: 10px;
}
.quality-item .info p {
  font-size: 14px;
  color: var(--ink-lt-sub);
  line-height: 1.9;
}

/* ========== 和酒セレクション（写真背景） ========== */
.sake-selection-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.sake-selection-copy .label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.6em;
  color: var(--gold-lt);
  opacity: 0.75;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
.sake-selection-copy h2 {
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--ink-lt);
  margin-bottom: 32px;
  line-height: 1.4;
}
.sake-selection-copy p {
  font-size: 15px;
  color: var(--ink-lt-sub);
  line-height: 2.2;
  letter-spacing: 0.1em;
}

.sake-cats {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-dk);
}
.sake-cats li {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dk);
}
.sake-cats .cat-en {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold-lt);
  opacity: 0.7;
  text-transform: uppercase;
}
.sake-cats .cat-ja {
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--ink-lt);
  font-weight: 400;
}
.sake-cats .cat-note {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #fff;
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", Georgia, serif;
}
.sake-cats .cat-num {
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  color: inherit;
}

/* ========== Instagram ========== */
.insta-bg { background: var(--bg-dark) !important; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}
.insta-grid .post {
  aspect-ratio: 1;
  background: var(--bg-dark-2);
  display: block;
  overflow: hidden;
  position: relative;
}
.insta-grid .post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.insta-grid .post img[src=""] {
  /* 写真未設定時のプレースホルダー */
  background: var(--bg-dark-2);
  min-height: 100%;
}
.insta-grid .post:hover img { transform: scale(1.05); }

/* ========== アクセス ========== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.access-info dl {
  display: grid;
  grid-template-columns: 88px 1fr;
  row-gap: 20px;
  column-gap: 24px;
}
.access-info dt {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-lt);
  opacity: 0.75;
  padding-top: 3px;
}
.access-info dd {
  font-size: 16px;
  color: var(--ink-lt-sub);
  line-height: 1.8;
}
.access-info dd a {
  color: var(--gold-lt);
  opacity: 0.85;
}
.access-map {
  aspect-ratio: 4/3;
  background: var(--bg-dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ink-lt-sub);
  letter-spacing: 0.1em;
  border: 1px solid var(--line-dk);
  overflow: hidden;
}
.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ========== 最終CTA ========== */
.final-cta {
  text-align: center;
  padding: 160px 80px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1748062146789-312d468f2448?w=1920&q=65');
  background-size: cover;
  background-position: center 5%;
  background-attachment: fixed;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,18,16,0.65) 0%,
    rgba(20,18,16,0.45) 50%,
    rgba(20,18,16,0.65) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.final-cta > * { position: relative; z-index: 1; }

.final-cta .cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--line-dk);
  padding: 80px 60px;
}
.final-cta .cta-inner::before,
.final-cta .cta-inner::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
}
.final-cta .cta-inner::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold-lt);
  border-left: 2px solid var(--gold-lt);
}
.final-cta .cta-inner::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--gold-lt);
  border-right: 2px solid var(--gold-lt);
}

.final-cta .cta-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.6em;
  color: var(--gold-lt);
  opacity: 0.7;
  text-transform: uppercase;
  display: block;
  margin-bottom: 28px;
}
.final-cta h2 {
  font-size: 26px;
  letter-spacing: 0.3em;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--ink-lt);
}
.final-cta p {
  color: var(--ink-lt-sub);
  margin-bottom: 48px;
  letter-spacing: 0.15em;
  font-size: 15px;
}
.final-cta .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ========== フッター ========== */
.site-footer {
  background: var(--bg-dark);
  padding: 64px 80px 32px;
  border-top: 1px solid var(--line-dk);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .name {
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--gold-lt);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--ink-lt-sub);
  line-height: 1.9;
}
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold-lt);
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.footer-col li {
  font-size: 13px;
  color: var(--ink-lt-sub);
  margin-bottom: 10px;
}
.copyright {
  text-align: center;
  font-size: 11px;
  color: var(--ink-lt-sub);
  opacity: 0.4;
  letter-spacing: 0.2em;
  padding-top: 32px;
  border-top: 1px solid var(--line-dk);
}

/* ========== スマホ固定CTA ========== */
.mobile-cta { display: none; }

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
  .site-header { padding: 14px 20px; }
  .gnav { display: none; }
  .section { padding: 80px 24px; }
  .section-aside { display: none; }
  .hero-content { padding: 0 24px 80px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-catch { font-size: 36px; }
  .about-wrap,
  .access-grid,
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .quality-grid { grid-template-columns: 1fr; }
  .sake-selection-inner { grid-template-columns: 1fr; gap: 48px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .final-cta .cta-group { flex-direction: column; align-items: center; }
  .final-cta .cta-inner { padding: 48px 32px; }
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(20,18,16,0.95);
    border-top: 1px solid var(--gold-lt);
    z-index: 99;
  }
  .mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 14px;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--gold-lt);
  }
  .mobile-cta a + a { border-left: 1px solid var(--line-dk); }
}
