@charset "UTF-8";
/* =========================================================
   ワインハウス新美  共通スタイル
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --c-wine: #660000;
  --c-wine-deep: #3d0606;
  --c-mark: #6a3b3c;
  --c-ink: #221e1f;
  --c-text: #5a4729;
  --c-brown: #6b5634;
  --c-brown-light: #aa8d63;
  --c-gold: #fede58;
  --c-band: #d7be40;
  --c-sage: #91a898;
  --c-beige: #e1d1bb;
  --c-cream: #faf6ef;
  --c-line: #e4dbcc;
  --c-red: #c4241a;
  --c-white: #fff;

  --ff-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --ff-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ff-en: "Cormorant Garamond", "Times New Roman", serif;

  --container: 1080px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text);
  background: #3a2414 url("../index_img/bg2.png") repeat center top;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }

a { color: var(--c-brown); text-underline-offset: .2em; }
a:hover { color: var(--c-wine); }
:focus-visible { outline: 2px solid var(--c-band); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- Page frame ---------- */
.site {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--c-white);
  box-shadow: var(--shadow);
}

.container {
  padding-inline: var(--gutter);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--c-wine);
  color: var(--c-gold);
  font-family: var(--ff-mincho);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: center;
  padding: 6px var(--gutter);
}
@media (max-width: 599px) {
  .topbar { font-size: 11px; letter-spacing: 0; }
  .topbar__pc { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: blur(6px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--c-brown);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--c-brown); }

.brand__mark { flex-shrink: 0; text-align: center; }
.brand__mark svg { width: 34px; height: auto; margin: 0 auto; }
.brand__mark span {
  display: block;
  margin-top: 3px;
  font-family: var(--ff-en);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
  color: var(--c-ink);
}

.brand__name {
  display: block;
  font-family: var(--ff-mincho);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.3;
  color: var(--c-wine);
}
.brand__lead {
  display: block;
  margin-top: 4px;
  font-family: var(--ff-mincho);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .06em;
}

/* Global navigation */
.gnav { margin-left: auto; }

.gnav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.gnav__list a {
  display: block;
  padding: 2px 14px;
  font-family: var(--ff-en);
  font-size: 18px;
  font-style: italic;
  line-height: 1.4;
  color: var(--c-brown);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.gnav__list li + li a { border-left: 1px dotted var(--c-brown-light); }
.gnav__list a:hover,
.gnav__list a[aria-current="page"] { color: var(--c-wine); }
.gnav__list small { display: none; }

.gnav__tel {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
  padding-right: 14px;
  color: var(--c-brown);
  text-decoration: none;
}
.gnav__tel small { font-size: 11px; }
.gnav__tel span {
  font-family: var(--ff-en);
  font-size: 24px;
  font-style: italic;
  letter-spacing: .04em;
  line-height: 1;
}

/* Menu button (mobile) */
.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background: var(--c-wine);
  transition: transform .25s, background-color .25s;
}
.nav-toggle__bar { top: 23px; }
.nav-toggle__bar::before,
.nav-toggle__bar::after { content: ""; left: 0; }
.nav-toggle__bar::before { transform: translateY(-8px); }
.nav-toggle__bar::after { transform: translateY(8px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .brand__lead { display: none; }
  .brand__name { font-size: 19px; }
  .brand__mark svg { width: 28px; }

  .nav-toggle { display: block; }

  .gnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--c-cream);
    border-bottom: 3px solid var(--c-wine);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .gnav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .gnav__list { display: block; padding: 8px var(--gutter); }
  .gnav__list li + li a { border-left: 0; border-top: 1px solid var(--c-line); }
  .gnav__list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 21px;
  }
  .gnav__list small {
    display: inline;
    font-family: var(--ff-base);
    font-size: 12px;
    font-style: normal;
    color: var(--c-brown-light);
  }

  .gnav__tel {
    justify-content: center;
    margin: 0 var(--gutter) 20px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--c-wine);
    color: var(--c-white);
  }
  .gnav__tel:hover { color: var(--c-gold); }
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  aspect-ratio: 833 / 300;
  overflow: hidden;
  background: #120a06;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide:first-child { opacity: 1; }
.hero.is-ready .hero__slide:first-child:not(.is-active) { opacity: 0; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }

.hero__dots {
  position: absolute;
  right: 16px;
  bottom: 12px;
  display: flex;
  gap: 4px;
}
.hero__dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hero__dots button::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: background-color .3s;
}
.hero__dots button[aria-current="true"]::before { background: var(--c-gold); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding-block: 12px;
  font-size: 12px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 4px;
  color: var(--c-brown-light);
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Page title band ---------- */
.page-title {
  padding: 10px var(--gutter);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 4px),
    var(--c-band);
  color: var(--c-white);
}
.page-title h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  font-weight: normal;
}
.page-title__en {
  font-family: var(--ff-en);
  font-size: clamp(26px, 4vw, 32px);
  font-style: italic;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.page-title__ja {
  font-size: 13px;
  letter-spacing: .1em;
}

/* ---------- Layout ---------- */
.main-wrap {
  padding-block: 32px 64px;
}

.layout {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; }
  .layout--wide-aside { grid-template-columns: minmax(0, 1fr) 300px; }
}

.stack > * + * { margin-top: 48px; }

/* ---------- Section title ---------- */
.sec-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-bottom: 20px;
  padding: 2px 12px;
  border-left: 4px solid var(--c-sage);
  background: linear-gradient(to right, var(--c-beige), rgba(225, 209, 187, 0) 70%);
  font-weight: normal;
  line-height: 1.5;
}
.sec-title__en {
  font-family: var(--ff-en);
  font-size: 21px;
  font-style: italic;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-brown);
}
.sec-title__ja { font-size: 12px; color: var(--c-brown-light); }

/* ---------- Typography in content ---------- */
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--ff-mincho);
  font-size: clamp(19px, 2.6vw, 22px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--c-brown);
}
.prose h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--c-brown);
}
.prose strong { color: var(--c-brown); }
.prose .note { color: var(--c-red); }

.lead {
  font-family: var(--ff-mincho);
  font-size: 16px;
  line-height: 2;
}

.article + .article {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--c-brown-light);
}

.label-new {
  margin-left: .5em;
  font-size: 12px;
  font-weight: bold;
  color: #f3345f;
}

/* Floated figures collapse to block on small screens */
.figure-right { float: right; width: 38%; margin: 4px 0 12px 16px; }
.figure-left { margin-bottom: 1em; }
@media (min-width: 600px) {
  .figure-right { width: min(40%, 250px); margin: 0 0 16px 24px; }
  .figure-left { float: left; width: min(42%, 250px); margin: 4px 24px 12px 0; }
}
.clearfix::after { content: ""; display: table; clear: both; }

/* ---------- Notice box ---------- */
.notice {
  padding: 16px 20px;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-wine);
  background: var(--c-cream);
  font-size: 14px;
  line-height: 1.8;
}
.notice + .notice { margin-top: 12px; }
.notice__title {
  display: block;
  margin-bottom: 2px;
  font-weight: bold;
  color: var(--c-wine);
}

/* ---------- Image banners ---------- */
.banner {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  transition: opacity .25s, transform .25s;
}
.banner:hover { opacity: .88; }
.banner img { width: 100%; }
.banner + .banner { margin-top: 16px; }

/* ---------- Banner cards (Flowine / 輸入食材 / Blog) ---------- */
.bnr-list {
  display: grid;
  gap: 20px;
}
.bnr-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text);
  text-decoration: none;
}
.bnr-card:hover { color: var(--c-wine); }
.bnr-card img {
  width: 100%;
  border: 1px solid var(--c-line);
  transition: opacity .25s;
}
.bnr-card:hover img { opacity: .85; }

@media (min-width: 600px) {
  .bnr-list--grid { grid-template-columns: repeat(3, 1fr); }
  .bnr-list--grid .bnr-card { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .aside .bnr-card { grid-template-columns: 1fr; }
}

/* ---------- Shop info ---------- */
.shop-info {
  display: grid;
  gap: 32px;
}
@media (min-width: 680px) {
  .shop-info { grid-template-columns: 1fr minmax(0, 320px); }
}

.shop-name {
  font-family: var(--ff-mincho);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-brown);
}
.shop-catch { margin-top: 4px; font-size: 13px; }

.info-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
}
.info-list dt {
  font-weight: bold;
  color: var(--c-brown);
}
.info-list a[href^="tel:"] { text-decoration: none; }

.calendar {
  margin-top: 24px;
}
.calendar__title {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: bold;
  color: var(--c-brown);
}

/* ---------- 営業カレンダー（js/calendar.js） ---------- */
.biz-cal {
  --cal-text: #6f6b64;
  --cal-line: #d6d6d6;
  --cal-head: #f0f8ff;
  --cal-sun: #ff0000;
  --cal-sat: #0000ff;
  position: relative;
  max-width: 320px;
  min-height: 220px;
  color: var(--cal-text);
  font-size: 13px;
  line-height: 1.4;
}
.biz-cal__nav {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.biz-cal__nav button {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--c-brown);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
  pointer-events: auto;
}
.biz-cal__nav button:hover { color: var(--c-wine); }
.biz-cal__nav button:disabled { opacity: .3; text-decoration: none; cursor: default; }

.biz-cal__title {
  padding: 4px 0 6px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}
.biz-cal__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.biz-cal__table th,
.biz-cal__table td {
  position: relative;
  padding: 4px 0;
  border: 1px solid var(--cal-line);
  text-align: center;
}
.biz-cal__table th {
  background: var(--cal-head);
  font-size: 12px;
  font-weight: normal;
}
.biz-cal .is-sun { color: var(--cal-sun); }
.biz-cal .is-sat { color: var(--cal-sat); }
.biz-cal .is-today { box-shadow: inset 0 0 0 2px var(--c-brown); font-weight: bold; }
.biz-cal__mark {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-wine);
}

.biz-cal__notes {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
}
.biz-cal__notes li::before { content: "● "; color: var(--c-wine); font-size: 10px; }
.biz-cal__month-comment { margin-top: 4px; white-space: pre-line; }

.biz-cal__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin-top: 8px;
  font-size: 12px;
}
.biz-cal__legend li { display: flex; align-items: center; gap: 5px; }
.biz-cal__swatch {
  width: 14px;
  height: 14px;
  border: 1px solid var(--cal-line);
}
.biz-cal__comment {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-line;
}

.map-illust {
  display: block;
  max-width: 320px;
}
.map-illust img { width: 100%; }
.map-illust figcaption {
  margin-top: 6px;
  font-size: 12px;
  text-align: right;
}

.gmap {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-line);
}
.gmap iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 680px) { .gmap { aspect-ratio: 16 / 9; } }

/* ---------- Data table (event) ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  border: 1px solid #ccc;
  vertical-align: top;
  text-align: left;
}
.data-table th {
  width: 22%;
  background: var(--c-cream);
  color: var(--c-brown);
  font-weight: bold;
  white-space: nowrap;
}
.data-table td > p + p { margin-top: .8em; }

@media (max-width: 599px) {
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td { display: block; width: 100%; }
  .data-table tr + tr th { border-top: 0; }
  .data-table td { border-top: 0; }
  .data-table th { padding-block: 8px; }
}

/* ---------- Column (TOC) ---------- */
.toc {
  padding: 20px 24px;
  border-block: 1px solid var(--c-brown-light);
}
.toc__title {
  font-family: var(--ff-en);
  font-size: 18px;
  font-style: italic;
  letter-spacing: .1em;
  color: var(--c-brown);
}
.toc ol { margin-top: 8px; font-size: 14px; }
.toc li + li { margin-top: 4px; }
.toc a { text-decoration: none; }
.toc a::before { content: "›"; margin-right: .5em; color: var(--c-brown-light); }
.toc a:hover { text-decoration: underline; }

.article__no {
  display: block;
  font-family: var(--ff-en);
  font-size: 14px;
  font-style: italic;
  letter-spacing: .1em;
  color: var(--c-brown-light);
}

/* ---------- Instagram / Facebook ---------- */
.fb-wrap { min-height: 200px; }
.fb-wrap .fb-page,
.fb-wrap .fb-page span,
.fb-wrap .fb-page iframe { max-width: 100% !important; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-wine-deep);
  color: #e9dcc8;
  font-size: 13px;
  line-height: 1.8;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--c-gold); }

.site-footer__inner {
  display: grid;
  gap: 28px;
  padding-block: 40px 28px;
}
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: start; }
}

.site-footer__name {
  font-family: var(--ff-mincho);
  font-size: 18px;
  letter-spacing: .14em;
  color: var(--c-gold);
}
.site-footer address { margin-top: 8px; font-style: normal; }

.site-footer__nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 4px 32px;
  font-family: var(--ff-en);
  font-size: 17px;
  font-style: italic;
}

.site-footer__sns {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  font-size: 12px;
}
.site-footer__sns a { border-bottom: 1px solid rgba(233, 220, 200, .4); }

.copyright {
  padding: 14px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--ff-en);
  font-size: 13px;
  letter-spacing: .06em;
  text-align: center;
}

/* ---------- Page top button ---------- */
.pagetop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-wine);
  color: var(--c-white);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; }
.pagetop:hover { color: var(--c-gold); }
.pagetop svg { width: 16px; height: 16px; }

/* ---------- Small helpers ---------- */
.stack-sm > * + * { margin-top: 12px; }
.banners { margin-top: 24px; }
.clearfix + .article { margin-top: 48px; }
