/* ==========================================
   和呑処 三葉 - Corporate Site
   版画風・和紙テクスチャ・アースカラー
   ========================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 和紙・版画カラーパレット */
  --cream: #F5F0E6;
  --cream-dark: #EDE6D6;
  --navy: #2B3A52;
  --navy-light: #3D5068;
  --indigo: #34517E;
  --terracotta: #B85C38;
  --green: #3A7D5C;
  --pink: #C87E8A;
  --brown: #8B7355;
  --text: #2E2E2E;
  --text-light: #5A5A5A;
  --text-muted: #8A8578;
  --border: #D5CEBF;
  --white: #FDFBF7;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Noto Sans JP', 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* --- 和紙テクスチャ（CSS生成） --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image:
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Container --- */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   ヘッダー
   ========================================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--cream);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(43, 58, 82, 0.08);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.2s;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.2s;
}

.header-nav a:hover {
  color: var(--navy);
}

.header-nav a:hover::after {
  width: 100%;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0;
  width: 100%;
  background: rgba(245, 240, 230, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu a {
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ==========================================
   ヒーロー - 和紙×版画風の魚
   ========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* 和紙っぽいクリーム背景 */
  background: var(--cream);
}

/* 和紙テクスチャノイズ */
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* 魚コンテナ */
.hero-fish {
  position: absolute;
  top: 30px; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 各魚の配置・色・サイズ */
.fish {
  position: absolute;
  opacity: 0.55;
}

/* 魚1: 右上 - アジ風（紺） */
.fish-1 {
  top: 6%;
  right: 8%;
  width: 160px;
  color: var(--navy);
  transform: scaleX(-1);
}

/* 魚2: 左中やや上 - 丸い魚（テラコッタ） */
.fish-2 {
  top: 20%;
  left: 3%;
  width: 140px;
  color: var(--terracotta);
  transform: rotate(-5deg);
}

/* 魚3: 右下 - 細長い魚（グリーン） */
.fish-3 {
  bottom: 12%;
  right: 5%;
  width: 180px;
  color: var(--green);
  transform: scaleX(-1) rotate(3deg);
}

/* 魚4: 左上 - ぽってり魚（ピンク） */
.fish-4 {
  top: 5%;
  left: 15%;
  width: 120px;
  color: var(--pink);
  transform: rotate(8deg);
}

/* 魚5: 中央右 - うろこ模様（ブラウン） */
.fish-5 {
  top: 55%;
  right: 12%;
  width: 150px;
  color: var(--brown);
  transform: rotate(-3deg);
}

/* 魚6: 左下 - 小さい魚（インディゴ） */
.fish-6 {
  bottom: 18%;
  left: 8%;
  width: 110px;
  color: var(--indigo);
  transform: scaleX(-1) rotate(-5deg);
}

/* 魚7: 右上寄り中段 - 太い魚（紺ダーク） */
.fish-7 {
  top: 35%;
  right: 2%;
  width: 140px;
  color: #1E2D40;
  opacity: 0.4;
  transform: rotate(5deg);
}

/* 魚8: 下中央左 - 小さめ（テラコッタ薄） */
.fish-8 {
  bottom: 5%;
  left: 25%;
  width: 100px;
  color: var(--terracotta);
  opacity: 0.35;
  transform: rotate(-8deg) scaleX(-1);
}

/* テキスト・ロゴ */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 40px;
}

.hero-logo-wrap {
  margin: 0 0 28px;
  line-height: 1;
}

.hero-logo-img {
  width: clamp(220px, 35vw, 380px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-sub {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 2;
  color: var(--text-light);
}

/* ==========================================
   セクション共通
   ========================================== */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--cream-dark);
}

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

.section-en {
  display: block;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-header h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.12em;
}

/* 見出し下の装飾線 */
.section-header h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--terracotta);
  margin: 16px auto 0;
}

/* ==========================================
   想い (Concept)
   ========================================== */
.concept-section {
  position: relative;
  overflow: hidden;
}

.concept-fish {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.concept-section .container {
  position: relative;
  z-index: 1;
}

.cfish {
  position: absolute;
  opacity: 0.3;
}

.cfish-1 {
  top: 8%;
  right: 5%;
  width: 120px;
  color: var(--terracotta);
  transform: scaleX(-1);
}

.cfish-2 {
  top: 40%;
  left: 3%;
  width: 100px;
  color: var(--indigo);
  transform: rotate(-5deg);
}

.cfish-3 {
  bottom: 15%;
  right: 8%;
  width: 130px;
  color: var(--green);
  transform: scaleX(-1) rotate(3deg);
}

.cfish-4 {
  bottom: 5%;
  left: 10%;
  width: 90px;
  color: var(--pink);
  opacity: 0.25;
  transform: rotate(-8deg);
}
.concept-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.concept-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.08em;
  line-height: 2;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 32px;
}

.concept-lead::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M3 15 C6 8, 14 6, 20 12 C22 14, 24 15, 26 13 L28 11 L26 15 L28 19 L26 17 C24 15, 22 16, 20 18 C14 24, 6 22, 3 15Z' fill='%232B3A52'/%3E%3Ccircle cx='8' cy='14' r='1' fill='%23F5F0E6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.concept-content p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 2.1;
  margin-bottom: 20px;
}

.concept-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   こだわり (Features)
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 版画風の小さなアクセント */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--indigo), var(--green));
}

.feature-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* ==========================================
   店舗情報 (Info)
   ========================================== */
.info-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.info-left {
  padding: 32px;
}

.info-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.info-name span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
  margin-bottom: 24px;
}

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

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

.info-table tr:last-child {
  border-bottom: none;
}

.info-table th,
.info-table td {
  padding: 14px 0;
  font-size: 0.88rem;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 100px;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  padding-right: 16px;
}

.info-table td {
  color: var(--text-light);
}

.info-table a {
  color: var(--terracotta);
  transition: opacity 0.2s;
}

.info-table a:hover {
  opacity: 0.7;
}

/* ボタンエリア */
.info-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45);
  color: #fff;
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-ig:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-ig svg {
  stroke: #fff;
}

/* 地図エリア */
.info-right {
  height: 100%;
  min-height: 400px;
}

.info-map {
  height: 100%;
  min-height: 400px;
}

.info-map iframe {
  display: block;
}

/* ==========================================
   会社概要 (Company)
   ========================================== */
.company-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

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

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th,
.company-table td {
  padding: 18px 24px;
  font-size: 0.88rem;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 130px;
  font-weight: 500;
  color: var(--navy);
  background: rgba(43, 58, 82, 0.03);
  white-space: nowrap;
}

.company-table td {
  color: var(--text-light);
}

.company-table a {
  color: var(--terracotta);
  transition: opacity 0.2s;
}

.company-table a:hover {
  opacity: 0.7;
}

.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}

.btn-tel:hover {
  background: var(--navy-light);
}

.btn-tel svg {
  stroke: var(--cream);
}

/* ==========================================
   フッター
   ========================================== */
.footer {
  background: var(--navy);
  color: var(--cream);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.1);
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-leaf {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

.footer-brand p {
  font-size: 0.7rem;
  font-weight: 300;
  opacity: 0.5;
  letter-spacing: 0.1em;
}

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

.footer-nav a {
  font-size: 0.78rem;
  opacity: 0.6;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

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

.footer-ig {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-ig:hover {
  opacity: 1;
}

.footer-ig svg {
  stroke: var(--cream);
}

.footer-copy {
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.35;
  letter-spacing: 0.05em;
}

/* ==========================================
   レスポンシブ
   ========================================== */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-logo-img {
    height: 36px;
  }

  .hero {
    height: 100vh;
    min-height: 400px;
  }

  .hero-logo-img {
    width: clamp(180px, 55vw, 260px);
  }

  .hero-sub {
    font-size: 0.8rem;
  }

  .fish { opacity: 0.35; }
  .fish-1 { width: 100px; }
  .fish-2 { width: 90px; }
  .fish-3 { width: 110px; }
  .fish-4 { width: 80px; }
  .fish-5 { width: 95px; }
  .fish-6 { width: 70px; }
  .fish-7 { width: 90px; }
  .fish-8 { width: 65px; }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  /* こだわり */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  /* 店舗情報 */
  .info-compact {
    grid-template-columns: 1fr;
  }

  .info-left {
    padding: 24px 20px;
  }

  .info-right {
    min-height: 280px;
  }

  .info-map {
    min-height: 280px;
  }

  .info-table th {
    width: 80px;
    font-size: 0.82rem;
  }

  .info-table td {
    font-size: 0.82rem;
  }

  /* 会社概要 */
  .company-table th,
  .company-table td {
    padding: 14px 16px;
    font-size: 0.82rem;
  }

  .company-table th {
    width: 100px;
  }


  /* フッター */
  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    height: 65vh;
    min-height: 360px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .concept-lead {
    font-size: 1.1rem;
  }

  .hours-time {
    font-size: 1.3rem;
  }

  .info-main {
    padding: 24px 16px;
  }
}
