/* ============================================
   活きの魚政 ホームページ
   デザイン方針: 根津松本に寄せた暗色・明朝の世界観
   ベースは黒に近い濃紺(ブルー基調の要望と両立)
   書体は明朝体に全統一
   ============================================ */

:root {
  --sumi: #0b1119;          /* ベース: 黒に近い濃紺 */
  --sumi-2: #0f1722;        /* セクション交互用 */
  --sumi-3: #151f2d;        /* カード面 */
  --fg: #e9ecef;            /* 基本文字色 */
  --fg-soft: #a8b2bc;       /* 補助文字色 */
  --line: rgba(233, 236, 239, 0.16);
  --line-soft: rgba(233, 236, 239, 0.09);
  --accent: #c65145;        /* 鯛の赤(控えめに) */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
}

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

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

body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  line-height: 2.0;
  letter-spacing: 0.08em;
  color: var(--fg);
  background: var(--sumi);
  font-feature-settings: "palt" 1, "kern" 1;
  line-break: strict;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--fg); }

::selection { background: rgba(198, 81, 69, 0.35); }

/* ---------- 共通 ---------- */

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 720px; }

.section { padding: 128px 0; }
.section:nth-of-type(even) { background: var(--sumi-2); }

.section-head { margin-bottom: 64px; }

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 18px;
}

.section-title {
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.5;
  letter-spacing: 0.16em;
  color: var(--fg);
}

.section-desc {
  max-width: 640px;
  color: var(--fg-soft);
  margin: -32px 0 56px;
}

.note {
  font-size: 12px;
  color: var(--fg-soft);
  margin-top: 24px;
  letter-spacing: 0.06em;
}

/* 罫線ボタン(根津松本風の静かなリンク) */
.btn-line {
  display: inline-block;
  min-height: 48px;
  padding: 13px 40px;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--line);
  background: transparent;
  transition: background 0.35s, border-color 0.35s;
}
.btn-line:hover {
  background: rgba(233, 236, 239, 0.08);
  border-color: rgba(233, 236, 239, 0.4);
}

.tel-link {
  display: inline-block;
  padding: 9px 0;
  color: var(--fg);
  font-size: 19px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(rgba(11, 17, 25, 0.85), rgba(11, 17, 25, 0));
  transition: background 0.4s;
}
.site-header.scrolled {
  background: rgba(11, 17, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo {
  width: 42px; height: 42px;
  border-radius: 50%;
}
.brand-name {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.22em;
  color: var(--fg);
}

.global-nav { display: flex; gap: 2px; }
.global-nav a {
  display: inline-block;
  padding: 12px 13px;
  min-width: 44px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--fg);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.25s;
}
.global-nav a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 1px;
  background: var(--fg);
  transition: transform 0.3s;
}

/* ---------- ヒーロー(全画面スライダー) ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 42%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2s ease;
}
.hero-slide.is-active {
  opacity: 1;
  animation: heroZoom 9s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.0); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(11, 17, 25, 0.35), rgba(11, 17, 25, 0.15) 30%,
      rgba(11, 17, 25, 0.15) 62%, rgba(11, 17, 25, 0.75));
}

.hero-mark {
  position: absolute;
  left: 50%; bottom: 96px;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-mark img {
  width: 108px;
  border-radius: 50%;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}

.hero-dots {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
}
.hero-dots button {
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.hero-dots button::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(233, 236, 239, 0.4);
  transition: background 0.3s, transform 0.3s;
}
.hero-dots button.is-active::before {
  background: var(--fg);
  transform: scale(1.2);
}

/* ---------- ステートメント ---------- */

.statement {
  padding: 152px 0;
  text-align: center;
}

.statement-catch {
  font-weight: 500;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.8;
  letter-spacing: 0.22em;
  margin-bottom: 48px;
}

.statement-text {
  max-width: 620px;
  margin: 0 auto;
  color: var(--fg-soft);
  line-height: 2.4;
  letter-spacing: 0.1em;
}

/* ---------- こだわり ---------- */

.craft-list {
  display: flex;
  flex-direction: column;
}

.craft-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--line-soft);
}
.craft-item:last-child { border-bottom: 1px solid var(--line-soft); }

.craft-num {
  font-size: 26px;
  font-weight: 500;
  color: var(--fg-soft);
  line-height: 1.4;
}

.craft-item h3 {
  font-weight: 500;
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.craft-item p {
  max-width: 640px;
  font-size: 14px;
  color: var(--fg-soft);
}

/* ---------- 名物 ---------- */

.product-feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}

.product-feature-img { overflow: hidden; }
.product-feature-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.product-feature-img:hover img { transform: scale(1.03); }

.product-feature-text h3 {
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.2em;
  line-height: 1.6;
  margin-bottom: 20px;
}
.product-feature-text p {
  font-size: 14px;
  color: var(--fg-soft);
  margin-bottom: 36px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 88px;
}
.gallery figure { overflow: hidden; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.gallery figure:hover img { transform: scale(1.04); }

.specialty-list { list-style: none; }
.specialty-list li {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
}
.specialty-list li:last-child { border-bottom: 1px solid var(--line-soft); }

.specialty-name h3 {
  display: inline;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.14em;
  margin-right: 16px;
}
.specialty-price {
  display: inline;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.specialty-desc {
  font-size: 13.5px;
  color: var(--fg-soft);
}

/* 花金セール */
.hanakin {
  margin-top: 88px;
  padding: 72px 40px;
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
}
.hanakin-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  border: 1px solid rgba(198, 81, 69, 0.5);
  padding: 4px 18px;
  margin-bottom: 24px;
}
.hanakin h3 {
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: 0.3em;
  line-height: 1.5;
  margin-bottom: 18px;
}
.hanakin p {
  font-size: 14px;
  color: var(--fg-soft);
}

/* ---------- ご注文 ---------- */

.order-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-soft);
}

.order-card {
  padding: 40px 28px;
  border-right: 1px solid var(--line-soft);
  color: var(--fg);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.order-card:last-child { border-right: none; }
.order-card h3 {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.order-card p {
  font-size: 13px;
  color: var(--fg-soft);
}
.order-card.recommend {
  background: var(--sumi-3);
  transition: background 0.35s;
}
.order-card.recommend:hover { background: #1b2738; }
.order-tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent);
  border: 1px solid rgba(198, 81, 69, 0.5);
  padding: 3px 14px;
}
.order-link {
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.16em;
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
  padding-bottom: 4px;
}

/* ---------- アプリ・会員 ---------- */

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-soft);
}

.member-card {
  padding: 44px 34px;
  border-right: 1px solid var(--line-soft);
}
.member-card:last-child { border-right: none; }
.member-card h3 {
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.16em;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.dash-list { list-style: none; margin-bottom: 24px; }
.dash-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--fg-soft);
  margin-bottom: 12px;
}
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 10px; height: 1px;
  background: var(--accent);
}

.store-search {
  font-size: 13.5px;
  margin-bottom: 22px;
}
.store-search strong { font-weight: 600; }

.qr-placeholder {
  width: 116px; height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--line);
  font-size: 11px;
  color: var(--fg-soft);
  line-height: 1.7;
}

.discount-cond {
  font-size: 12.5px;
  color: var(--fg-soft);
  margin-bottom: 18px;
}
.discount-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.discount-rows dt {
  font-size: 13.5px;
  line-height: 1.7;
}
.discount-rows dd {
  font-size: 30px;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
}
.discount-rows dd span { font-size: 13px; letter-spacing: 0.1em; }

/* ---------- お知らせ ---------- */

.news-list { list-style: none; }
.news-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 26px 4px;
  border-top: 1px solid var(--line-soft);
}
.news-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.news-list time {
  font-size: 13px;
  color: var(--fg-soft);
  letter-spacing: 0.12em;
}
.news-list p { font-size: 14px; }

/* ---------- 店舗案内 ---------- */

.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.shop-name {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.24em;
  margin-bottom: 32px;
}

.shop-list > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.shop-list > div:last-of-type { border-bottom: 1px solid var(--line-soft); }
.shop-list dt {
  font-size: 13px;
  color: var(--fg-soft);
  letter-spacing: 0.18em;
  padding-top: 2px;
}
.shop-list dd { font-size: 14px; }
.dd-note {
  display: block;
  font-size: 12px;
  color: var(--fg-soft);
  margin-top: 6px;
}

.shop-info .btn-line { margin-top: 36px; }

.shop-map {
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.shop-map iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
}

/* ---------- フッター ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 88px 0 48px;
  text-align: center;
}
.footer-logo {
  width: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
}
.footer-name {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.footer-address {
  font-size: 12.5px;
  color: var(--fg-soft);
  margin-bottom: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin-bottom: 48px;
}
.footer-nav a {
  display: inline-block;
  min-width: 44px;
  color: var(--fg-soft);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-decoration: none;
  padding: 12px 2px;
  transition: color 0.25s;
}
.footer-nav a:hover { color: var(--fg); }
.copyright {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(168, 178, 188, 0.55);
}

.sp-only { display: none; }
.pc-sep { display: inline; }

/* ドロワー展開中は背景スクロールを止める */
body.nav-open { overflow: hidden; }

/* 視差効果を減らす設定のユーザーにはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide,
  .hero-slide.is-active {
    animation: none;
    transform: none;
    transition: opacity 0.4s ease;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .product-feature-img img,
  .gallery img { transition: none; }
}

/* ---------- スクロール表示 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .statement { padding: 112px 0; }

  .global-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(78vw, 340px);
    background: rgba(11, 17, 25, 0.98);
    flex-direction: column;
    justify-content: center;
    padding: 40px 44px;
    gap: 6px;
    transform: translateX(105%);
    transition: transform 0.4s ease;
    z-index: 99;
    border-left: 1px solid var(--line-soft);
  }
  .global-nav.open { transform: translateX(0); }
  .global-nav a {
    font-size: 15px;
    padding: 14px 0;
    letter-spacing: 0.2em;
    text-align: left;
    min-width: 0;
  }

  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.open span:first-child { transform: translateY(4.5px) rotate(20deg); }
  .nav-toggle.open span:last-child { transform: translateY(-4.5px) rotate(-20deg); }

  .craft-item { grid-template-columns: 56px 1fr; }

  .product-feature { grid-template-columns: 1fr; gap: 32px; }

  .order-grid { grid-template-columns: 1fr 1fr; }
  .order-card { border-bottom: 1px solid var(--line-soft); }
  .order-card:nth-child(even) { border-right: none; }
  .order-card:nth-last-child(-n+2) { border-bottom: none; }

  .member-grid { grid-template-columns: 1fr; }
  .member-card {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .member-card:last-child { border-bottom: none; }

  .specialty-list li { grid-template-columns: 1fr; gap: 8px; }

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

@media (max-width: 560px) {
  body { font-size: 14px; }

  .hero { min-height: 480px; }
  .hero-mark { bottom: 84px; }
  .hero-mark img { width: 88px; }

  .gallery { grid-template-columns: 1fr; }

  .order-grid { grid-template-columns: 1fr; }
  .order-card { border-right: none; }
  .order-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .order-card:last-child { border-bottom: none; }

  .news-list li { grid-template-columns: 1fr; gap: 4px; }

  .hanakin { padding: 56px 24px; }

  .btn-line { width: 100%; text-align: center; }

  .sp-only { display: inline; }
  .pc-sep { display: none; }
}
