/* =============================================
   Cafe ohana - メインスタイル
============================================= */

:root {
  --cream: #f5e2d8;
  --warm-white: #faf0eb;
  --beige: #ecd0c3;
  --beige-dark: #ddb9a8;
  --brown-light: #c48870;
  --brown: #a06040;
  --brown-dark: #b85c35;
  --green-soft: #8aab8a;
  --green-light: #e8f0e8;
  --text-dark: #3d2416;
  --text-mid: #7a4e38;
  --text-light: #b08070;
  --accent: #d06840;
  --accent-light: #f2ddd4;

  --font-jp: 'Noto Serif JP', serif;
  --font-en: 'Cormorant Garamond', serif;

  --radius: 12px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(60, 47, 36, 0.10);
  --shadow-hover: 0 8px 32px rgba(60, 47, 36, 0.16);
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-jp);
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* =============================================
   ヘッダー・ナビゲーション
============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(60, 47, 36, 0.08);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #fff;
  transition: opacity var(--transition);
}

.header.scrolled .nav-logo {
  color: var(--text-dark);
}

.nav-logo em {
  font-style: italic;
  color: var(--accent);
}

.nav-logo:hover { opacity: 0.7; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.header.scrolled .nav-links a {
  color: var(--text-mid);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover { color: #fff; }
.header.scrolled .nav-links a:hover { color: var(--text-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: var(--transition);
}

.header.scrolled .nav-hamburger span {
  background: var(--text-dark);
}

/* =============================================
   ヒーローセクション
============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.5) contrast(0.95) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 12, 0.45);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 24px;
}

.hero-sub {
  font-size: 13px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  font-weight: 300;
}

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
  display: block;
}

.hero-catch {
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.2em;
  line-height: 2.2;
  margin-bottom: 56px;
}

.btn-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 0.2em;
  transition: color var(--transition);
  animation: bounce 2s ease-in-out infinite;
}

.btn-scroll:hover { color: rgba(255,255,255,1); }

.btn-scroll svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =============================================
   セクション共通スタイル
============================================= */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* =============================================
   コンセプトセクション
============================================= */
.concept {
  background: var(--warm-white);
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.concept-text .concept-lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 400;
}

.concept-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 300;
}

.concept-text strong {
  color: var(--accent);
  font-weight: 500;
}

.concept-message {
  margin-top: 8px;
  padding: 16px 20px;
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px !important;
  color: var(--text-mid) !important;
}

.concept-sign {
  text-align: right;
  font-style: italic;
  color: var(--text-light) !important;
  font-size: 15px !important;
  margin-top: 8px !important;
}

.concept-images {
  position: relative;
  height: 420px;
}

.concept-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.concept-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.concept-img--main {
  width: 75%;
  height: 75%;
  top: 0;
  right: 0;
}

.concept-img--sub {
  width: 55%;
  height: 55%;
  bottom: 0;
  left: 0;
  box-shadow: var(--shadow-hover);
}

/* バリューカード */
.concept-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-photo {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.value-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(1.05) saturate(1.3);
}

.value-card:hover .value-photo img {
  transform: scale(1.05);
}

.value-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 246, 240, 0.25);
}

.value-card h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 18px 20px 8px;
  color: var(--text-dark);
}

.value-card p {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
  padding: 0 20px 20px;
}

/* =============================================
   メニューセクション
============================================= */
.menu {
  background: var(--cream);
}

.menu-hours {
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  font-weight: 300;
  margin-top: 8px;
  font-family: var(--font-en);
}

/* 3カラムレイアウト: ドリンク | 写真 | フード */
.menu-layout {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}

.menu-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.menu-section-header h3 {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--text-dark);
  white-space: nowrap;
}

.menu-section-line {
  flex: 1;
  height: 1px;
  background: var(--beige-dark);
}

.menu-list {
  list-style: none;
  margin-bottom: 20px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--beige);
}

.menu-item:first-child {
  border-top: 1px solid var(--beige);
}

.menu-name {
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 300;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-temp {
  font-size: 12px;
  color: var(--text-light);
}

.menu-price-tag {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 400;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.menu-item--seasonal .menu-name {
  flex-direction: column;
}

.menu-seasonal-note {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
}

.menu-note-special {
  font-size: 13px;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 10px 0;
}

.menu-takeout {
  margin-top: 28px;
  text-align: center;
  padding: 12px 0;
  border-top: 1px solid var(--beige-dark);
  border-bottom: 1px solid var(--beige-dark);
}

.menu-takeout span {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--text-mid);
}

/* 中央の写真カラム */
.menu-photo-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 100px;
}

.menu-photo-main {
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  box-shadow: var(--shadow);
}

.menu-photo-sub {
  border-radius: var(--radius);
  overflow: hidden;
  height: 160px;
  box-shadow: var(--shadow);
}

.menu-photo-main img,
.menu-photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) saturate(0.85);
}

.menu-photo-coming-soon {
  position: relative;
}

.menu-photo-coming-soon img {
  opacity: 0.4;
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--text-mid);
  pointer-events: none;
}

.order-cake-text {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
}

.menu-tax-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 300;
}

/* =============================================
   ギャラリーセクション
============================================= */
.gallery {
  background: var(--cream);
  padding-bottom: 80px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: repeat(2, 300px);
  gap: 6px;
  margin-bottom: 36px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.88) saturate(0.8);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.75) saturate(0.9);
}

.gallery-item--large {
  grid-column: 1;
  grid-row: 1 / 3;
}

.gallery-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.gallery-item:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

/* テキストオーバーレイ */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(30,20,12,0.45) 0%, transparent 55%);
  opacity: 1;
  transition: opacity var(--transition);
}

.gallery-item--large .gallery-overlay {
  padding: 32px 36px;
}

.gallery-overlay p {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  line-height: 1;
}

.gallery-item--large .gallery-overlay p {
  font-size: 18px;
}

.gallery-note {
  text-align: center;
}

.gallery-note p {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 300;
}

.gallery-note a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

/* =============================================
   アクセスセクション
============================================= */
.access {
  background: var(--warm-white);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.info-block h3 {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--beige);
}

.info-table th,
.info-table td {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 300;
  vertical-align: top;
  line-height: 1.7;
}

.info-table th {
  width: 90px;
  color: var(--text-light);
  font-weight: 400;
  white-space: nowrap;
}

.info-table td { color: var(--text-mid); }
.info-table a { color: var(--accent); }

.sns-links {
  margin-top: 32px;
}

.sns-links p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
  font-weight: 300;
}

.sns-buttons {
  display: flex;
  gap: 12px;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.sns-btn svg {
  width: 18px;
  height: 18px;
}

.sns-btn--instagram {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-light);
}

.sns-btn--instagram:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.sns-btn--line {
  background: var(--green-light);
  color: var(--green-soft);
  border-color: var(--green-light);
}

.sns-btn--line:hover {
  background: var(--green-soft);
  color: #fff;
  border-color: var(--green-soft);
}

.access-map {
  position: sticky;
  top: 100px;
}

.map-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #e8e0d8, #d8d0c8);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 190, 180, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 190, 180, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-inner {
  position: relative;
  text-align: center;
  padding: 24px;
}

.map-inner p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.map-sub {
  font-size: 13px !important;
  font-weight: 300 !important;
  color: var(--text-light) !important;
  margin-bottom: 20px !important;
}

.btn-map {
  display: inline-block;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.btn-map:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
}

/* =============================================
   フッター
============================================= */
.footer {
  background: var(--accent);
  padding: 56px 0 32px;
  color: rgba(255, 255, 255, 0.95);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-logo-text {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.footer-logo-text em {
  font-style: italic;
  color: rgba(255,255,255,0.85);
}

.footer-tagline {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-nav a:hover { opacity: 1; }

.footer-copy {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.4;
  font-weight: 300;
}

/* =============================================
   モバイル
============================================= */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warm-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    font-size: 20px;
    letter-spacing: 0.15em;
    color: var(--text-mid);
  }

  .nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-hamburger.active span:nth-child(2) { opacity: 0; }
  .nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  section { padding: 72px 0; }

  .concept-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .concept-images { height: 300px; }

  .concept-values { grid-template-columns: 1fr; gap: 16px; }

  .menu-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .menu-photo-col {
    position: static;
    flex-direction: row;
    height: 160px;
  }

  .menu-photo-main, .menu-photo-sub {
    height: 160px;
    flex: 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item--large {
    grid-column: span 2;
    grid-row: auto;
    height: 240px;
  }

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item { height: 160px; }

  .access-grid { grid-template-columns: 1fr; }
  .access-map { position: static; }
  .map-placeholder { height: 280px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

/* =============================================
   フェードインアニメーション
============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
