/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Andante Shoe Repair — style.css v3
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */


/* ─── Scrollbar: hidden globally ─── */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
/* works-railだけ薄く残す（視認用）→ 非表示に統一 */
.works-rail { scrollbar-width: none; }
.works-rail::-webkit-scrollbar { display: none; }

:root {
  --ink:    #191815;
  --muted:  #6d6861;
  --hair:   #d7d3cc;
  --soft:   #f6f5f3;
  --soft2:  #efefed;
  --max:    1120px;
  --wide:   1280px;
  /* ベースマージン：コンテンツ左端をそろえる基準値 */
  --base-l: max(80px, calc((100vw - var(--max)) / 2));
  --serif:  "Yu Mincho","YuMincho","游明朝","Hiragino Mincho ProN","Noto Serif CJK JP",serif;
  --sans:   "Yu Gothic","YuGothic","游ゴシック","Hiragino Kaku Gothic ProN","Noto Sans CJK JP",sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.92;
  letter-spacing: .035em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1.1em; }
h1,h2,h3,h4 { font-weight: 400; margin: 0; color: var(--ink); }
h1 { font-size: 30px; letter-spacing: .09em; line-height: 1.65; }
h2 { font-size: 24px; letter-spacing: .10em; line-height: 1.55; }
h3 { font-size: 17px; letter-spacing: .08em; line-height: 1.70; }

/* ─── Layout utilities ─── */
.section         { padding: 104px 0; }
.section.compact { padding: 74px 0; }
.container {
  width: min(var(--max), calc(100vw - 160px));
  margin: 0 auto;
}
.container-narrow {
  width: min(760px, calc(100vw - 160px));
  margin: 0 auto;
}
.kicker {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.jp-small {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-left: 12px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 36px;
}
.section-heading .en { font-size: 24px; letter-spacing: .08em; }
.section-heading .jp {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .12em;
}

/* ─── Button ─── */
.button-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 38px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .12em;
  margin-top: 16px;
  background: #fff;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.button-line:hover { background: var(--ink); color: #fff; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ─── Header Logo ─── */
.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo-symbol {
  height: 100px;
  width: auto;
  display: block;
  margin-right: 12px;
}
.header-logo-tagline {
  width: 160px;   /* widthベース：「Andante / shoe repair」がしっかり読める */
  height: auto;
  display: block;
  opacity: .90;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: none;
  backdrop-filter: blur(6px);
  overflow: visible;
}
.header-inner {
  width: calc(100vw - 40px);
  margin: 0 0 0 0;
  padding-right: 40px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}


/* ナビ：游明朝・やや大きく・字間広め */
.global-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .18em;
}
.global-nav a { opacity: 1; color: var(--ink); transition: opacity .15s; }
.global-nav a:hover { opacity: .65; }

/* ハンバーガー（モバイル） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero { padding: 40px 0 108px; }

.hero-image-wrap {
  position: relative;
  margin-left: var(--base-l);
  width: calc(100vw - var(--base-l) - 40px);
  max-width: 1160px;
  height: 590px;
  overflow: hidden;
  background: var(--soft);
}
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.13);
  z-index: 1;
  pointer-events: none;
}
/* スライドショー：スライド群 */
.hero-slides {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img,
.hero-image-wrap img.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.76) contrast(.93) brightness(.94);
}
/* ロゴオーバーレイ：z-index 3で写真の上に固定 */
.hero-logo-overlay {
  position: absolute;
  z-index: 100;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(240px, 24vw);
  opacity: .55;
  pointer-events: none;
}
/* スライドショードット */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .3s;
  border: none; padding: 0;
}
.hero-dot.is-active { background: #fff; }

/* コンセプト文：左端をベースマージンに揃える */
.hero-statement {
  margin: 72px 0 0 var(--base-l);
  width: min(500px, calc(100vw - var(--base-l) - 40px));
}
.hero-statement .lead {
  font-size: 21px;
  letter-spacing: .12em;
  margin: 0 0 32px;
  line-height: 1.85;
  font-weight: 400;
}
.hero-statement p { margin: 0 0 18px; font-size: 14px; line-height: 1.95; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WORKS rail
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.works-section { padding: 20px 0 80px; overflow: hidden; scroll-margin-top: 120px; }
.works-title-wrap {
  width: min(var(--max), calc(100vw - 160px));
  margin: 0 auto 30px;
}
/* 自動スクロール用クリップコンテナ */
.works-rail-outer {
  width: 100vw;
  overflow: hidden;
  cursor: grab;
  /* paddingLeftのオフセット分だけ左から開始 */
}

.works-rail {
  padding-left: calc(var(--base-l) + 0px);
  padding-right: 0;
  /* 2セット分の幅：アニメーションでループ */
  width: max-content;
  display: flex;
  gap: 24px;
  overflow: visible;
  padding-bottom: 28px;
  /* 自動スクロール */
  animation: works-slide 52s linear infinite;
  will-change: transform;
}
.works-section:hover .works-rail { animation-play-state: paused; }
.works-rail-outer.is-dragging { cursor: grabbing; user-select: none; }
@keyframes works-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* スクロールバー非表示 */
.works-rail::-webkit-scrollbar { display: none; }
.works-rail::-webkit-scrollbar { height: 2px; }
.works-rail::-webkit-scrollbar-track { background: transparent; }
.works-rail::-webkit-scrollbar-thumb { background: var(--hair); }

.work-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
}
.work-card.wide { flex-basis: 420px; }

.work-thumb {
  height: 245px;
  background: var(--soft);
  overflow: hidden;
  border: 1px solid rgba(25,24,21,.10);
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) contrast(.95);
  transition: transform .5s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.03); }

/* テキストエリア */
.work-card-body { padding-top: 14px; }

/* カテゴリ：枠付き小ラベル（本文下） */
.work-cat-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--muted);
  border: 1px solid var(--hair);
  padding: 2px 8px;
  margin-top: 0;
  text-transform: uppercase;
}
.works-all-link-wrap {
  width: min(var(--max), calc(100vw - 160px));
  margin: 22px auto 0;
  text-align: right;
}
.works-all-link {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
  border-bottom: 1px solid var(--hair);
  padding-bottom: 2px;
  display: inline-block;
  transition: color .15s, border-color .15s;
}
.works-all-link:hover { color: var(--ink); border-color: var(--ink); }

.work-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
  letter-spacing: .06em;
}
.work-card-excerpt {
  font-size: 13px;
  color: #4a4742;
  line-height: 1.78;
  /* 2行で切る */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.work-more {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 8px;
  width: fit-content;
}
.work-card:hover .work-more { color: var(--ink); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   QUALITY
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.quality {
  padding: 96px 0;
}
.quality-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 68px;
  align-items: start;
}
.quality-media {
  margin-top: 10px;
  height: 420px;
  overflow: hidden;
  background: var(--soft);
}
.quality-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(.93) brightness(.92);
}
.quality-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}
.quality-item { padding-top: 18px; }
.quality-item h3 { font-size: 17px; margin-bottom: 18px; }
.quality-item p { margin: 0; color: #37332d; font-size: 13.5px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MENU
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* セクション背景：白 */
.menu-section { background: #f4f4f4; padding: 108px 0; }

/* コンテンツ部分：左端を他のコンテンツと揃える、背景はセクション全体がグレー */
.menu-panel {
  width: min(var(--max), calc(100vw - 160px));
  margin: 0 auto;
  background: transparent;
  padding: 0;
}
/* menu tax note */
.menu-tax-note {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}
.menu-cols-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
  margin-top: 0;
  align-items: start;
}
/* カテゴリ見出し（Shoe repair / Other）の区切り */
.menu-col-title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 0;
}

/* 紳士靴・婦人靴などのグループ — 上にラインだけ、各行間はライン不要 */
.menu-group { margin-bottom: 32px; }
.menu-group:last-child { margin-bottom: 0; }

.menu-group + .menu-group {
  padding-top: 0;
}

.menu-group h3 {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .08em;
  margin: 0 0 12px;
  font-weight: 400;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.65;
  font-family: var(--sans); /* 品目はゴシック */
}
.menu-list .price {
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12px;
  color: #4a4742;
  flex-shrink: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SERVICE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.service-section { padding: 104px 0; }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.service-col {
  padding-top: 0;
}
.service-col h3 {
  margin-bottom: 22px;
  font-size: 15px;
  letter-spacing: .06em;
  font-family: var(--sans);
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}
.flow-list { counter-reset: item; list-style: none; margin: 0; padding: 0; }
.flow-list li {
  position: relative;
  padding: 0 0 22px 42px;
  border-bottom: 1px solid rgba(25,24,21,.09);
  margin-bottom: 20px;
}
.flow-list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .08em;
  color: #9a948c;
}
.flow-list b {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .07em;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}
.flow-list p { margin: 0; font-size: 13px; color: #4a4742; line-height: 1.75; }
.flow-list li.first-step .button-line { margin-top: 12px; min-width: 140px; height: 36px; font-size: 10px; }

/* ─── MEMBER SERVICE ─── */
.member-box {
  margin-top: 76px;
  padding-top: 0;
  display: block;
}
.member-box-text {}
.member-box-text .kicker { margin-bottom: 6px; font-family: var(--sans); }
.member-box h3 {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: .10em;
  font-family: var(--serif);
  font-weight: 400;
}
.member-box p {
  margin: 0;
  color: #4a4742;
  font-size: 13px;
  line-height: 1.9;
  font-family: var(--serif);
  padding-left: 0;
}
.member-box-img { display: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NEWS / Instagram
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.news-section { background: #fff; padding: 108px 0; }
.news-inner {
  width: min(var(--max), calc(100vw - 160px));
  margin: 0 auto;
}
.news-note {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 36px;
}
/* プラグイン差込み先 */
.insta-feed-wrap { margin-top: 0; }

/* プレースホルダー（プラグイン未設定時） */
.insta-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  max-width: 600px;
}
.insta-placeholder-cell {
  aspect-ratio: 1/1;
  background: var(--soft);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ACCESS + CONTACT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.access-contact {
  background: #fff;
  padding: 108px 0 88px;
}
.access-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 72px;
  margin-bottom: 68px;
  border-bottom: 1px solid var(--hair);
}
.info-table {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.75;
  margin-top: 26px;
}
.info-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  margin: 5px 0;
}
.info-row .label { color: var(--muted); }
.map-embed {
  width: 100%;
  height: 300px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: saturate(.7) contrast(.95);
}

/* フォームブロック：左端をベースマージンに揃える */
.contact-block { width: min(700px, 100%); }
.contact-copy { margin: 20px 0 26px; font-size: 13.5px; line-height: 1.9; }

/* CF7 override */


/* static preview form */
.form-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 13px;
}
.form-input {
  height: 34px;
  background: var(--soft);
  border: 1px solid rgba(25,24,21,.10);
}
.form-textarea {
  height: 140px;
  background: var(--soft);
  border: 1px solid rgba(25,24,21,.10);
}
.form-file {
  height: 34px;
  background: var(--soft);
  border: 1px solid rgba(25,24,21,.10);
}
.form-note { font-family: var(--sans); font-size: 11px; color: var(--muted); margin-top: 4px; }
.form-submit {
  height: 34px;
  min-width: 80px;
  border: 1px solid var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .10em;
  cursor: pointer;
  margin-top: 14px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-footer {
  padding: 62px 0 52px;
}
.footer-inner {
  width: min(var(--max), calc(100vw - 160px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-logo { width: 130px; opacity: .82; }
.copyright { font-family: var(--sans); font-size: 11px; color: var(--muted); letter-spacing: .06em; }


/* ─── Footer Logo ─── */
.footer-logo-img {
  height: 80px;
  width: auto;
  opacity: .82;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WORKS ARCHIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-main { padding: 82px 0 120px; }
.page-layout {
  width: min(var(--max), calc(100vw - 160px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 72px;
  align-items: start;
}
.category-nav {
  position: sticky;
  top: 108px;
  border-top: 1px solid var(--hair);
  padding-top: 22px;
}
.category-nav h2 { font-size: 12px; font-family: var(--sans); letter-spacing: .16em; margin-bottom: 18px; color: var(--muted); }
.category-nav ul { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: 12px; line-height: 2.4; }
.category-nav ul li a { color: var(--muted); }
.category-nav ul li a:hover,
.category-nav ul li.current a { color: var(--ink); }
.archive-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 52px; }
.archive-card a { display: block; }
.archive-card img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  background: var(--soft);
  filter: saturate(.74) contrast(.95);
  border: 1px solid rgba(25,24,21,.08);
  transition: filter .3s;
}
.archive-card:hover img { filter: saturate(.85) contrast(.97); }
.archive-card h3 { font-size: 15px; margin: 14px 0 6px; }
.archive-card .excerpt {
  font-size: 13px;
  color: #4a4742;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 8px;
}
.archive-card .cat-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .13em;
  color: var(--muted);
  border: 1px solid var(--hair);
  padding: 2px 8px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WORKS SINGLE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.single-main { padding: 82px 0 120px; }
.single-head { width: calc(100vw - var(--base-l) - 40px); max-width: 1040px; margin: 0 0 52px var(--base-l); }
.single-head .cat-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--muted);
  border: 1px solid var(--hair);
  padding: 2px 8px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.single-hero {
  width: calc(100vw - var(--base-l) - 40px);
  max-width: 1160px;
  height: 600px;
  margin: 0 0 68px var(--base-l);
  overflow: hidden;
  background: var(--soft);
}
.single-hero img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.74) contrast(.95); }
.single-content { width: calc(100vw - var(--base-l) - 40px); max-width: 1040px; margin: 0 0 0 var(--base-l); display: grid; grid-template-columns: 210px 1fr; gap: 64px; }
.single-summary { border-top: 1px solid var(--hair); padding-top: 22px; font-family: var(--sans); font-size: 12px; color: #514d47; line-height: 1.95; }
.single-body { border-top: 1px solid var(--hair); padding-top: 22px; }
.single-body p { margin: 0 0 20px; }
.single-gallery { width: calc(100vw - var(--base-l) - 40px); max-width: 1160px; margin: 76px 0 0 var(--base-l); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.single-gallery img { height: 320px; object-fit: cover; width: 100%; filter: saturate(.74) contrast(.95); }
.back-link { display: inline-block; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; color: var(--muted); margin-top: 52px; margin-left: var(--base-l); border-bottom: 1px solid var(--hair); padding-bottom: 2px; transition: color .15s, border-color .15s; }
.back-link:hover { color: var(--ink); border-color: var(--ink); }

/* pagination */
.pagination { margin-top: 56px; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; color: var(--muted); display: flex; gap: 16px; align-items: center; }
.pagination a { color: var(--muted); }
.pagination a:hover { color: var(--ink); }
.pagination .current { color: var(--ink); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */@media (max-width: 860px) {
  :root { --base-l: 24px; }
  * { scrollbar-width: none; }
  *::-webkit-scrollbar { display: none; }

  .header-inner {
    width: 100vw;
    height: 68px;
    padding: 0 16px;
    position: relative;
    justify-content: center;
  }
  .header-logo-wrap {
    position: absolute;
    left: 16px;
    transform: none;
  }
  .header-logo-symbol { height: 50px; }
  .header-logo-tagline { display: none; }
  .nav-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  .global-nav { display: none; }
  .global-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.98);
    padding: 48px 32px;
    gap: 32px;
    font-size: 15px;
    letter-spacing: .16em;
    z-index: 999;
    overflow-y: auto;
    align-items: flex-start;
    font-family: "Yu Mincho","YuMincho","游明朝","Hiragino Mincho ProN",serif;
  }
  .global-nav.is-open a {
    display: block;
    opacity: 1;
    color: var(--ink);
    font-size: 15px;
    letter-spacing: .18em;
  }
  .nav-toggle { display: flex; }

  .section { padding: 68px 0; }
  .container, .container-narrow { width: calc(100vw - 48px); }

  .hero-image-wrap { width: 100vw; height: 90vw; min-height: 300px; max-height: 600px; margin-left: 0; border-radius: 0; max-width: none; }
  .hero-image-wrap img, .hero-slide img { object-position: center center; object-fit: cover; width: 100%; height: 100%; }
  .hero-logo-overlay { width: 130px; max-width: 130px; }
  .hero { padding-top: 0; }
  .hero-statement { margin: 44px 24px 0; width: calc(100vw - 48px); }
  .hero-statement .lead { font-size: 17px; }

  .works-rail { padding-left: 24px; }
  .work-card { flex-basis: 80vw; }
  .works-title-wrap { width: calc(100vw - 48px); }
  .works-all-link-wrap { width: calc(100vw - 48px); text-align: right; padding-right: 0; }
  .work-card { flex-basis: 76vw; }

  .quality-grid,
  .quality-content,
  .menu-cols-header,
  .menu-cols,
  .service-grid,
  .access-block,
  .member-box,
  .page-layout,
  .archive-grid,
  .single-content,
  .single-gallery { grid-template-columns: 1fr; gap: 32px; }

  .news-inner { width: calc(100vw - 48px); }
  .menu-panel { width: calc(100vw - var(--base-l) - 24px); padding: 36px 0; margin-left: var(--base-l); }
  .footer-inner { width: calc(100vw - 48px); }
  .contact-block { width: 100%; }
  .category-nav { position: static; }
  .single-hero { height: 260px; width: calc(100vw - 24px); margin-left: 12px; }
  .single-head, .single-content, .single-gallery { width: calc(100vw - 48px); margin-left: 24px; }
  .back-link { margin-left: 24px; }
  .page-main, .single-main { padding-top: 56px; }
  .insta-placeholder { max-width: 100%; }
  .work-card h3 { font-size: 13px; }
  .work-card-excerpt { font-size: 12px; }
  /* MENUモバイル：順番・スペース・価格列 */

  /* menu-panelをflexコンテナにして全子要素をorderで並べ替え */
  .menu-panel {
    display: flex;
    flex-direction: column;
  }
  .menu-panel > .section-heading  { order: 0; }
  .menu-cols-header                { order: 1; display: contents; }
  .menu-cols                       { order: 2; display: contents; }
  .menu-tax-note                   { order: 9; margin-top: 24px; }

  /* display:contentsで子要素を直接menu-panelのflexアイテムに昇格 */
  /* Shoe repair見出し → 紳士靴 → 婦人靴 → Other見出し → その他 → 靴磨き */
  .menu-cols-header .menu-col-title:nth-child(1) { order: 1; margin-bottom: 12px; } /* Shoe repair */
  .menu-cols .menu-group:nth-child(1)            { order: 2; } /* 紳士靴 */
  .menu-cols .menu-group:nth-child(3)            { order: 3; } /* 婦人靴 */
  .menu-cols-header .menu-col-title:nth-child(2) { order: 4; margin-top: 36px; margin-bottom: 12px; } /* Other */
  .menu-cols .menu-group:nth-child(2)            { order: 5; } /* その他の修理 */
  .menu-cols .menu-group:nth-child(4)            { order: 6; } /* 靴磨き */

  /* 価格列のスペース：メニュー名と価格の間を広げる */
  .menu-list li {
    justify-content: space-between;
    gap: 24px;
  }
  /* 靴磨きの価格列を他と揃える（text-align:right） */
  .menu-list .price {
    text-align: right;
    min-width: 80px;
  }
  .work-more { font-size: 9px; }
  .work-cat-tag { font-size: 8px; }

  .contact-block .wpcf7 input[size],
  .contact-block .wpcf7 .wpcf7-form-control-wrap input[type="text"],
  .contact-block .wpcf7 .wpcf7-form-control-wrap input[type="tel"],
  .contact-block .wpcf7 .wpcf7-form-control-wrap input[type="email"],
  .contact-block .wpcf7 .wpcf7-form-control-wrap textarea,
  .contact-block .wpcf7 textarea[cols],
  .contact-block .wpcf7 .wpcf7-form-control-wrap input[type="file"] {
    max-width: 100%;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SCROLL FADE-IN
   @mediaの外に配置（重要）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.delay-1 { transition-delay: .10s; }
.fade-in.delay-2 { transition-delay: .22s; }
.fade-in.delay-3 { transition-delay: .34s; }
.fade-in.delay-4 { transition-delay: .46s; }
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT FORM 7
   @mediaの外・.contact-blockで詳細度を確保
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact-block .wpcf7 br { display: none; }

.contact-block .wpcf7 label {
  display: block;
  font-family: "Yu Gothic","YuGothic","游ゴシック","Hiragino Kaku Gothic ProN",sans-serif;
  font-size: 13px;
  color: #191815;
  margin: 0 0 20px;
  line-height: 1.5;
}

.contact-block .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
  width: 100%;
}

/* type属性 + size属性の両方でターゲット */
.contact-block .wpcf7 input[type="text"],
.contact-block .wpcf7 input[type="tel"],
.contact-block .wpcf7 input[type="email"],
.contact-block .wpcf7 input[size] {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 38px;
  background: #f6f5f3;
  border: 1px solid rgba(25,24,21,.18);
  padding: 0 12px;
  font-family: "Yu Gothic","YuGothic","游ゴシック","Hiragino Kaku Gothic ProN",sans-serif;
  font-size: 13px;
  color: #191815;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.contact-block .wpcf7 textarea,
.contact-block .wpcf7 textarea[cols] {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 160px;
  background: #f6f5f3;
  border: 1px solid rgba(25,24,21,.18);
  padding: 10px 12px;
  font-family: "Yu Gothic","YuGothic","游ゴシック","Hiragino Kaku Gothic ProN",sans-serif;
  font-size: 13px;
  color: #191815;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  resize: vertical;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.contact-block .wpcf7 input[type="file"] {
  display: block;
  width: 100%;
  max-width: 560px;
  background: #f6f5f3;
  border: 1px solid rgba(25,24,21,.18);
  padding: 8px 10px;
  font-size: 12px;
  color: #6d6861;
  box-sizing: border-box;
}

.contact-block .wpcf7 input[type="submit"] {
  display: inline-block;
  width: auto;
  height: 38px;
  min-width: 100px;
  padding: 0 32px;
  margin-top: 14px;
  border: 1px solid #191815;
  background: #fff;
  color: #191815;
  font-family: "Yu Gothic","YuGothic","游ゴシック","Hiragino Kaku Gothic ProN",sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  transition: background .2s, color .2s;
}
.contact-block .wpcf7 input[type="submit"]:hover {
  background: #191815;
  color: #fff;
}

.contact-block .wpcf7 .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #999;
  display: block;
  margin-top: 4px;
}
.contact-block .wpcf7 .wpcf7-response-output {
  font-size: 12px;
  border: none !important;
  padding: 14px 0 0 !important;
  margin: 0 !important;
  color: #6d6861;
  box-shadow: none !important;
}

/* フォーム上部のエラーサマリーを非表示 */
.contact-block .wpcf7 .screen-reader-response {
  display: none !important;
}

/* CF7 hidden-fields-container を非表示 */
.contact-block .wpcf7 .hidden-fields-container {
  display: none !important;
}