/* ==========================================
   巡白茶寮 — WABI-SABI スタイル
   モダン侘び寂び — 不完全の美、間（ま）の設計
   Mobile-first responsive design
   ========================================== */

/* --- Custom Properties --- */
:root {
  /* Background / Surface */
  --washi-white: #FAFAF7;
  --kinari-panel: #F5F3EE;
  --kiri-gray: #EDEBE6;

  /* Brand / Accent */
  --sumi: #2C2C2C;
  --fukami-green: #3C5A3E;
  --kin: #B8A88A;

  /* Text hierarchy */
  --text-primary: #2C2C2C;
  --text-body: #666660;
  --text-meta: #9B9B93;
  --text-border: #D4D2CC;

  /* State */
  --success: #4A7C59;
  --error: #C4544A;
  --warning: #C4963A;
  --info: #5B7B8A;

  /* Spacing - line-height基準（1行≒1.9rem）の倍数で設計 */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 4rem;     /* 64px */
  --space-3xl: 5rem;     /* 80px */

  /* Section spacing — 行間(1.9rem)の4倍 = 7.5rem。余韻の間（ま） */
  --section-standard: 7.5rem;
  --section-breathing: 9rem;
  --section-deep: 11rem;

  /* Typography */
  --font-serif: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-english: "Cormorant Garamond", serif;

  /* Line-height — 3段階に整理 */
  --lh-compact: 1.6;   /* 見出し・ラベル */
  --lh-normal: 1.9;    /* 本文通常 */
  --lh-relaxed: 2.4;   /* ゆったり散文・リード */

  /* Transition — 侘び寂びの速度。急がない */
  --transition-state: 300ms ease-out;
  --transition-menu: 400ms ease-out;
  --transition-fade: 500ms ease-out;
  --transition-fv: 1800ms ease-in-out;

  /* Layout */
  --container-max: 1080px;
  --container-narrow: 800px;
  --header-height: 72px;

}

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

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

body {
  font-family: var(--font-serif);
  color: var(--text-primary);
  background: var(--washi-white);
  line-height: var(--lh-normal);
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 64px;
  overflow-wrap: break-word;
  word-break: auto-phrase; /* Chrome: 日本語の文節区切りで折り返し */
}

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

a:hover {
  color: var(--text-primary);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: var(--lh-compact);
  color: var(--text-primary);
}

h1 { font-size: 1.375rem; }
h2 { font-size: 1.125rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.125rem; margin-bottom: 1rem; }

.section-title {
  text-align: center;
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-english);
  font-size: 0.8125rem;
  color: var(--text-meta);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections — 侘び寂びの間。余白はmargin-bottomで統一。
   padding=コンテナ内側、margin=セクション間の外側余白 */
section {
  margin-bottom: var(--section-standard);
}

/* 写真の後、間を残す広い余白 */
section.section--breathing {
  margin-bottom: var(--section-breathing);
}

/* 大きな転換の前後 */
section.section--deep {
  margin-bottom: var(--section-deep);
}

/* 区切りは余白で表現。線は使わない — 余韻を大切に */
section.section--bordered {
  margin-bottom: var(--section-standard);
}

/* --- Image Placeholder --- */
.img-placeholder {
  background: var(--kiri-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-meta);
  font-size: 0.8125rem;
  line-height: 1.5;
  border: 2px dashed var(--text-border);
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 2px solid var(--text-border);
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0.3;
}

.img-placeholder span {
  position: relative;
  z-index: 1;
  padding: 12px;
  max-width: 80%;
}

/* 実画像用 */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--kiri-gray);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  border: none;
}

.header__logo:hover {
  opacity: 0.8;
}

/* PC nav — モバイルでは非表示 */
.header__nav {
  display: none;
  gap: 28px;
  list-style: none;
}

.header__nav a {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--text-body);
  border: none;
  padding: 4px 0;
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--text-primary);
  transform: scaleX(0);
  transition: transform var(--transition-state);
}

.header__nav a:hover {
  color: var(--text-primary);
  opacity: 1;
}

.header__nav a:hover::after {
  transform: scaleX(1);
}

/* Hamburger (SP) — モバイルで表示 */
.header__hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.header__hamburger span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text-primary);
  position: absolute;
  left: 6px;
  transition: 0.3s;
}

.header__hamburger span:nth-child(1) { top: 10px; }
.header__hamburger span:nth-child(2) { top: 16px; }
.header__hamburger span:nth-child(3) { top: 22px; }

/* ハンバーガー → ✕ 変化 */
.header__hamburger.is-open span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}
.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.is-open span:nth-child(3) {
  top: 16px;
  transform: rotate(-45deg);
}

/* SP Menu Overlay */
.sp-menu {
  display: flex;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 250, 247, 0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity var(--transition-menu);
}

.sp-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.sp-menu a {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  border: none;
}

.sp-menu__divider {
  width: 40px;
  height: 1px;
  background: var(--text-border);
}

/* --- Footer --- */
.footer {
  background: var(--kinari-panel);
  padding: 3.75rem 0;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.footer__concept {
  font-size: 0.8125rem;
  color: var(--text-meta);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin-bottom: 32px;
}

.footer__nav a {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--text-body);
  border: none;
}

.footer__nav a:hover {
  color: var(--text-primary);
}

.footer__info {
  font-size: 0.75rem;
  color: var(--text-meta);
  line-height: 2;
  margin-bottom: 24px;
}

.footer__sns {
  margin-bottom: 24px;
}

.footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--text-border);
  color: var(--text-body);
  font-size: 0.75rem;
  transition: var(--transition-state);
}

.footer__sns a:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.footer__copyright {
  font-size: 0.6875rem;
  color: var(--text-meta);
}

/* --- SP Fixed Bar --- モバイルで表示 */
.sp-fixed-bar {
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--washi-white);
  border-top: 1px solid var(--text-border);
  padding: 0.75rem 1.25rem;
}

.sp-fixed-bar__inner {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: var(--container-max);
}

.sp-fixed-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--text-body);
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 600ms ease-out, color 600ms ease-out;
}

.sp-fixed-bar__btn:hover {
  background: var(--text-body);
  color: var(--washi-white);
}

.sp-fixed-bar__btn--primary {
  border-color: var(--text-body);
  background: transparent;
  color: var(--text-body);
}

.sp-fixed-bar__btn--primary:hover {
  background: var(--text-body);
  color: var(--washi-white);
}

/* --- Hero / FV --- */
.hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--sumi);
  margin-bottom: var(--section-standard);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero__bg .img-placeholder,
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FVスライドショー — 侘び寂びのクロスフェード */
.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity var(--transition-fv);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide .img-placeholder,
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* 非均一オーバーレイ — 端にかけてやや暗く、中央は写真が呼吸する */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.18) 60%,
    rgba(0, 0, 0, 0.12) 100%
  );
  z-index: 1;
}

/* テキスト — モバイルでは中央配置 */
.hero__content {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  opacity: 0;
  transition: opacity 1200ms ease-out;
}

.hero__content.is-revealed {
  opacity: 1;
}

.hero__copy {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  line-height: 2.5;
  display: inline-block;
  color: var(--washi-white);
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.hero__logo-mark {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  margin-top: 24px;
  color: rgba(250, 250, 247, 0.6);
}

/* スクロール示唆 — 線が上から引かれ、上から消えるアニメーション */
.hero__scroll-line {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: transparent;
  z-index: 2;
  opacity: 0;
  transition: opacity 1000ms ease-out;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 1px;
  background: rgba(250, 250, 247, 0.6);
  animation: scroll-line 2.4s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { top: 0; height: 0; }
  30%  { top: 0; height: 100%; }
  60%  { top: 0; height: 100%; }
  100% { top: 100%; height: 0; }
}

.hero__scroll-line.is-revealed {
  opacity: 1;
}

/* --- ブランド概要 — FV直後 */
.brand-intro {
  margin-bottom: var(--section-standard);
}

.brand-intro__text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: var(--lh-relaxed);
  letter-spacing: 0.08em;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.brand-intro__link {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--text-meta);
  border-bottom: 1px solid var(--text-border);
  padding-bottom: 2px;
  margin-top: 48px;
  transition: var(--transition-state);
}

.brand-intro__link:hover {
  color: var(--text-body);
  border-bottom-color: var(--text-body);
}

/* Page Hero (下層ページ) */
.page-hero {
  padding-top: var(--header-height);
  position: relative;
  margin-bottom: var(--section-standard);
}

.page-hero .img-placeholder,
.page-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.page-hero__title {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  background: rgba(250, 250, 247, 0.85);
  padding: 8px 20px;
  white-space: nowrap;
}

/* 下層ページ：写真帯なし（Access, Contact, News） */
.page-hero--simple {
  padding-top: calc(var(--header-height) + 48px);
  text-align: center;
  padding-bottom: 32px;
}

.page-hero--simple .page-hero__title {
  position: static;
  transform: none;
  background: none;
  display: inline-block;
}

/* --- Section Patterns --- */

/* Two column: モバイルは1カラム */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.two-col--reverse {
  grid-template-columns: 1fr;
}

.two-col .img-placeholder,
.two-col img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 喫茶セクション: 写真は4:3で統一 */
.two-col--portrait .img-placeholder,
.two-col--portrait img {
  aspect-ratio: 4 / 3;
}

/* 不均等サブ写真グリッド — モバイルは1カラム */
.sub-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.sub-photos .img-placeholder,
.sub-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Three column cards — モバイルは1カラム */
.three-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  overflow: hidden;
}

/* Photo gallery */
.photo-gallery {
  display: grid;
  gap: 16px;
}

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

.photo-gallery--rhythm .photo-gallery__sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.photo-gallery .img-placeholder,
.photo-gallery img {
  width: 100%;
  object-fit: cover;
}

.photo-gallery--rhythm > .img-placeholder,
.photo-gallery--rhythm > img {
  aspect-ratio: 16 / 9;
}

.photo-gallery__sub .img-placeholder,
.photo-gallery__sub img {
  aspect-ratio: 4 / 3;
}

/* Full-width photo break (Aboutの全幅写真ブレイク) */
.fullwidth-photo {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

.fullwidth-photo .img-placeholder,
.fullwidth-photo img {
  width: 100%;
  height: 40vh;
  min-height: 200px;
  object-fit: cover;
}

/* --- Menu (喫茶ページ) --- */
.menu-section {
  margin-bottom: 48px;
}

.menu-section__title {
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--text-border);
  margin-bottom: 24px;
  color: var(--text-primary);
}

/* メニューアイテム — モバイルは1カラム */
.menu-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
  align-items: center;
}

.menu-item .img-placeholder,
.menu-item img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.menu-item__info h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.menu-item__info p {
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: var(--lh-normal);
}

.menu-item__price {
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

/* 喫茶ページ内の不安解消テキスト */
.reassurance {
  font-size: 0.8125rem;
  color: var(--text-meta);
  text-align: center;
  padding: var(--space-lg) 0;
  letter-spacing: 0.05em;
}

/* --- Product card --- */
.product-card {
  text-align: center;
  padding-bottom: 1.9rem; /* 1行分の間（ま）= line-height × 1rem */
}

.product-card .img-placeholder,
.product-card img {
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 16px;
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.product-card__desc {
  font-size: 0.8125rem;
  color: var(--text-body);
  margin-bottom: 8px;
}

.product-card__price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

/* Gift set — モバイルは1カラム */
.gift-set {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.gift-set .img-placeholder,
.gift-set img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.gift-set__usage {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-meta);
  border: 1px solid var(--text-border);
  padding: 2px 12px;
  margin-bottom: 8px;
}

/* --- Event (催し) --- */
.event-card {
  border: 1px solid var(--text-border);
  padding: 32px;
  margin-bottom: 24px;
}

.event-card.fade-in.is-visible {
  transition: opacity var(--transition-fade), transform var(--transition-fade), background-color 600ms ease-out;
}

.event-card:hover {
  background: rgba(44, 44, 44, 0.03);
}

.event-card__date {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  color: var(--text-meta);
  margin-bottom: 8px;
}

.event-card__title {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.event-card__meta {
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  color: var(--text-body);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.event-card__desc {
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: var(--lh-normal);
}

/* Flow steps — モバイルは縦配置 */
/* Flow steps — モバイルは縦配置 */
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem; /* 矢印(1rem) + 上下余白(0.5rem×2) */
  margin: 40px 0;
}

.flow-step {
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  text-align: center;
  position: relative;
}

.flow-step__number {
  width: 40px;
  height: 40px;
  border: 1px solid var(--text-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-english);
  font-size: 0.875rem;
  color: var(--text-meta);
  margin-bottom: 12px;
}

.flow-step__title {
  font-size: 0.875rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.flow-step__desc {
  font-size: 0.75rem;
  color: var(--text-meta);
}

.flow-step + .flow-step::before {
  content: '↓';
  position: absolute;
  left: 50%;
  top: -1.5rem; /* gap(2rem)の中央 */
  transform: translateX(-50%);
  color: var(--text-border);
  font-size: 0.875rem;
}

/* --- News (お知らせ) --- */

/* トップページ: 水平リスト型 */
.news-list--horizontal {
  list-style: none;
}

.news-list__item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--kiri-gray);
}

.news-list__item:first-child {
  border-top: 1px solid var(--kiri-gray);
}

.news-list__item.fade-in.is-visible {
  transition: opacity var(--transition-fade), transform var(--transition-fade), background-color 600ms ease-out, padding 600ms ease-out;
}

.news-list__item:hover {
  background-color: rgba(44, 44, 44, 0.03);
  padding-left: 8px;
  padding-right: 8px;
}

.news-list__date {
  font-family: var(--font-english);
  font-size: 0.8125rem;
  color: var(--text-meta);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.news-list__category {
  font-family: var(--font-serif);
  font-size: 0.625rem;
  color: var(--text-meta);
  border: 1px solid var(--text-border);
  padding: 2px 0;
  flex-shrink: 0;
  letter-spacing: 0.03em;
  white-space: nowrap;
  width: 80px;
  text-align: center;
  display: inline-block;
}

.news-list__title {
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: var(--lh-compact);
  width: 100%;
}

/* お知らせ一覧ページ: カード型 — モバイルは1カラム */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.news-card {
  border: 1px solid var(--kiri-gray);
  transition: var(--transition-state);
}

.news-card:hover {
  border-color: var(--text-border);
}

.news-card .img-placeholder,
.news-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 16px;
}

.news-card__date {
  font-family: var(--font-english);
  font-size: 0.75rem;
  color: var(--text-meta);
  margin-bottom: 4px;
}

.news-card__category {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.6875rem;
  color: var(--text-meta);
  border: 1px solid var(--text-border);
  padding: 2px 0;
  margin-bottom: 8px;
  width: 80px;
  text-align: center;
  white-space: nowrap;
}

.news-card__title {
  font-size: 0.875rem;
  line-height: var(--lh-compact);
  color: var(--text-primary);
}

/* --- Access --- */
.access-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.access-info .img-placeholder,
.access-info img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.access-info dl {
  font-size: 0.875rem;
}

.access-info dt {
  font-family: var(--font-serif);
  color: var(--text-meta);
  font-size: 0.8125rem;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.access-info dd {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-primary);
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--kiri-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-meta);
  font-size: 0.875rem;
  border: 2px dashed var(--text-border);
  margin-top: 40px;
}

/* --- Order info (商品ページ ご注文について) --- */
.order-info {
  max-width: 640px;
  margin: 0 auto;
}

.order-info__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--kiri-gray);
}

.order-info__item:first-child {
  border-top: 1px solid var(--kiri-gray);
}

.order-info__item dt {
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.order-info__item dd {
  font-size: 0.875rem;
  color: #555550;
  line-height: 2;
}

/* --- Contact form --- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  color: var(--text-body);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  border: 1px solid var(--text-border);
  background: var(--kinari-panel);
  color: var(--text-primary);
  transition: border-color var(--transition-state);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sumi);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

.form-group .optional {
  font-size: 0.6875rem;
  color: var(--text-meta);
  margin-left: 8px;
}

/* --- Buttons --- モバイルではフルワイド */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 14px 48px;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--text-body);
  background: transparent;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition-state);
}

.btn:hover {
  background: var(--text-body);
  color: var(--washi-white);
}

.btn--primary {
  border-color: var(--text-body);
  background: transparent;
  color: var(--text-body);
}

.btn--primary:hover {
  background: var(--text-body);
  color: var(--washi-white);
}

.btn--center {
  display: flex;
  margin: 0 auto;
}

/* CTA link — 静かに誘う */
.cta-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--text-body);
  border-bottom: 1px solid var(--text-border);
  padding-bottom: 2px;
  width: fit-content;
  margin-top: 48px;
  transition: var(--transition-state);
}

.text-center .cta-link {
  margin-left: auto;
  margin-right: auto;
}

/* 等幅2枚写真グリッド */
.photo-grid-half {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.photo-grid-half img,
.photo-grid-half .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cta-link:hover {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

/* --- About page: concept blocks --- */
.concept-block {
  margin-bottom: 48px;
}

.two-col .concept-block {
  margin-bottom: 0;
}

.concept-block__title {
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.concept-block__text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 2;
}

/* --- Feature points (催し特徴) --- モバイルは1カラム */
.feature-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
  margin: 40px 0;
}

.feature-point__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--text-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 0.75rem;
  color: var(--text-meta);
}

.feature-point__title {
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.feature-point__desc {
  font-size: 0.8125rem;
  color: var(--text-meta);
}

/* --- Page links at bottom --- モバイルは1カラム */
.page-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.page-link {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid var(--kiri-gray);
  text-decoration: none;
  transition: var(--transition-state);
}

.page-link:hover {
  background: var(--kinari-panel);
  border-color: var(--text-border);
}

.page-link__title {
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.page-link__desc {
  font-size: 0.75rem;
  color: var(--text-meta);
}

/* --- Scroll fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-fade), transform var(--transition-fade);
}

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

/* --- Text utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-meta); }
.text-body { color: var(--text-body); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.8125rem; }
.lh-relaxed { line-height: var(--lh-relaxed); }

/* Shared text patterns */
.lead-text {
  font-size: 0.9375rem;
  color: #555550;
  line-height: var(--lh-relaxed);
  font-weight: 400;
}

.info-text {
  font-size: 0.875rem;
  color: #555550;
  line-height: 2.2;
}

.mt-16 { margin-top: 1rem; }
.mt-24 { margin-top: 1.5rem; }
.mt-32 { margin-top: 2rem; }
.mt-48 { margin-top: 3rem; }
.mt-64 { margin-top: 4rem; }
.mb-16 { margin-bottom: 1rem; }
.mb-24 { margin-bottom: 1.5rem; }
.mb-32 { margin-bottom: 2rem; }
.mb-48 { margin-bottom: 3rem; }

.pt-header { padding-top: var(--header-height); }

/* Vertical writing */
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}


/* ==========================================
   Desktop responsive — min-width: 769px
   モバイルファーストの拡張
   ========================================== */
@media (min-width: 769px) {
  :root {
    /* デスクトップ: 行間の5倍 = 9.375rem（150px）*/
    --section-standard: 9.375rem;
    --section-breathing: 11.25rem;
    --section-deep: 13.75rem;
  }

  body { padding-bottom: 0; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }

  .section-title { font-size: 1.375rem; }

  .container,
  .container--narrow {
    padding: 0 24px;
  }

  /* Header: PCナビ表示、ハンバーガー非表示 */
  .header__nav { display: flex; }
  .header__hamburger { display: none; }
  .sp-fixed-bar { display: none; }

  /* Hero */
  .hero { height: 100vh; min-height: 600px; }
  .hero__copy {
    writing-mode: vertical-rl;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    line-height: 2.5;
    display: inline-block;
  }
  .hero__content {
    left: auto;
    right: 15%;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
  .hero__logo-mark { font-size: 1rem; margin-top: 40px; }
  .hero__slide img { object-position: center center; }

  /* Brand intro */
  .brand-intro {
    margin-bottom: var(--section-standard);
  }

  /* Two column layouts */
  .two-col { grid-template-columns: 6fr 4fr; gap: 48px; }
  .two-col--reverse { grid-template-columns: 4fr 6fr; }

  /* Sub photos — 55:45 不均等 */
  .sub-photos { grid-template-columns: 1fr 1fr; }

  /* Three column */
  .three-col { grid-template-columns: repeat(3, 1fr); gap: 32px; }

  /* 等幅2枚写真 */
  .photo-grid-half { grid-template-columns: 1fr 1fr; }

  /* Menu item */
  .menu-item { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* News grid */
  .news-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  /* News list */
  .news-list__item {
    flex-wrap: nowrap;
    gap: 16px;
  }
  .news-list__title { width: auto; }

  /* Access */
  .access-info { grid-template-columns: 1fr 1fr; gap: 48px; }

  /* Gift set — デスクトップで2カラム */
  .gift-set { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Gift set reverse (交互配置) */
  .gift-set--reverse > :first-child { order: 2; }
  .gift-set--reverse > :last-child { order: 1; }

  /* Page hero */
  .page-hero .img-placeholder,
  .page-hero img {
    height: 400px;
  }

  .page-hero__title {
    font-size: 1.5rem;
    padding: 12px 32px;
    bottom: 40px;
  }

  /* Flow steps — 横配置 */
  .flow-steps {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .flow-step + .flow-step::before {
    content: '→';
    left: -18px;
    top: 10px;
    transform: none;
  }

  /* Feature points */
  .feature-points { grid-template-columns: repeat(3, 1fr); gap: 32px; }

  /* Page links */
  .page-links { grid-template-columns: repeat(3, 1fr); }

  /* Photo gallery sub */
  .photo-gallery--rhythm .photo-gallery__sub {
    grid-template-columns: 1fr 1fr;
  }

  /* Full-width photo */
  .fullwidth-photo .img-placeholder,
  .fullwidth-photo img {
    height: 50vh;
    min-height: 300px;
  }

  /* Footer */
  .footer__nav {
    flex-direction: row;
    gap: 16px 24px;
  }

  /* Button — デスクトップではauto幅 */
  .btn {
    width: auto;
    min-height: auto;
  }
}

/* Reduced motion — 侘び寂びのアクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__slide {
    transition: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
