:root {
  --bg:      #f5efe6;
  --bg-alt:  #ede5d6;
  --bg-dark: #2c2622;
  --text:    #3a342e;
  --mute:    #6e6760;
  --accent:  #8a6a3b;
  --line:    #d8cdb8;
  --serif:   'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', '游明朝', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }

/* Fade-in on scroll */
.fi {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fi.on { opacity: 1; transform: none; }
.fi-d1 { transition-delay: 0.12s; }
.fi-d2 { transition-delay: 0.24s; }

/* Eyebrow + heading */
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 14px;
}
.h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.lead {
  font-size: 15px;
  color: var(--mute);
  line-height: 2.1;
  margin-bottom: 20px;
}

/* ─── HERO ─────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
.hero-text {
  padding: 88px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}
.hero-catch {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}
.hero-body {
  font-size: 15px;
  color: var(--mute);
  margin-bottom: 44px;
  line-height: 2.1;
}
.hero-image { position: relative; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  padding: 20px 32px;
  background: rgba(255,255,255,0.45);
  max-width: 380px;
  text-decoration: none;
  transition: background 0.2s;
}
.cta:hover { background: rgba(255,255,255,0.75); }
.cta-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 20px;
}
.cta-label {
  font-size: 13px;
  color: var(--mute);
  margin-bottom: 5px;
  line-height: 1.7;
  display: block;
}
.cta-tel {
  font-size: 24px;
  letter-spacing: 0.1em;
  display: block;
}

.cta-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero-text .cta-group {
  align-self: center;
  align-items: center;
}
.cta-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255,255,255,0.5);
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s;
}
.cta-email:hover { background: rgba(255,255,255,0.85); }
.cta-email .icon { color: var(--accent); font-size: 16px; flex-shrink: 0; }

/* ─── ABOUT ─────────────────────────────────── */
.about { background: var(--bg); }
.about-text { max-width: 640px; margin-bottom: 40px; }
.about-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 56px;
}
.about-photos .p { overflow: hidden; }
.about-photos img { width: 100%; height: auto; display: block; }

/* About icons → 画像4枚フルレイアウト */
.about-fabric {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fabric-item {}
.fabric-img {
  overflow: hidden;
  margin-bottom: 16px;
}
.fabric-img img {
  width: 100%; height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.fabric-item:hover .fabric-img img { transform: scale(1.04); }
.fabric-caption {
  text-align: center;
  padding: 0 4px;
}
.fabric-num {
  display: block;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.25em;
  margin-bottom: 6px;
}
.fabric-label {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* ─── CRAFT ─────────────────────────────────── */
.craft { background: var(--bg-alt); }
.craft-text { max-width: 840px; margin-bottom: 32px; }
.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 22px;
  background: rgba(138,106,59,0.11);
  border: 1px solid rgba(138,106,59,0.32);
  border-left: 4px solid var(--accent);
  border-radius: 0 4px 4px 0;
}
.notice-box .icon {
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.65;
}
.notice-box p {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.85;
  letter-spacing: 0.02em;
}
/* ヒーロー内：中央揃え・最大幅 */
.notice-box--hero {
  align-self: center;
  max-width: 370px;
  width: 100%;
  margin-top: 16px;
}
/* お問い合わせカード内 */
.notice-box--card {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 14px;
}
.craft-media {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}
.craft-media .main {
  grid-row: 1 / 3;
  overflow: hidden;
}
/* 左大判のみ余白を埋めるため軽くクロップ（約2%）*/
@media (min-width: 561px) {
  .craft-media .main img { width: 100%; height: 100%; object-fit: cover; display: block; }
}
.craft-media .sub { overflow: hidden; }
.craft-media .sub img { width: 100%; height: auto; display: block; }

/* ─── ARTISAN ────────────────────────────────── */
.artisan { background: var(--bg); }
.artisan-text { max-width: 680px; }
.artisan-quote {
  font-size: 15px;
  color: var(--mute);
  line-height: 2.3;
  margin-bottom: 24px;
  padding-left: 22px;
  border-left: 2px solid var(--line);
}
.artisan-name {
  font-size: 14px;
  color: var(--mute);
  text-align: right;
  letter-spacing: 0.1em;
}

/* ─── WORKS (GALLERY replacement) ───────────── */
.works { background: var(--bg-alt); }
.works-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.works-head { max-width: 480px; }
.works-image { overflow: hidden; }
.works-image img { width: 100%; height: auto; display: block; }
.works-strip-wrap { width: 100%; overflow: hidden; }
.works-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 max(24px, calc((100vw - 1100px) / 2));
  scrollbar-width: none;
}
.works-strip::-webkit-scrollbar { display: none; }
.works-strip img {
  flex-shrink: 0;
  width: 340px;
  height: 255px;
  object-fit: cover;
  display: block;
  scroll-snap-align: start;
  border-radius: 2px;
}
.works-note {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.05em;
  margin-top: 18px;
}
@media (max-width: 960px) {
  .works-strip img { width: 260px; height: 195px; }
}
@media (max-width: 560px) {
  .works-strip img { width: 200px; height: 150px; }
}

/* ─── GALLERY ────────────────────────────────── */
.gallery { background: var(--bg-alt); }
.gallery-head { margin-bottom: 40px; }
.gal-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.gal-grid2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gal-grid  .p { overflow: hidden; cursor: pointer; position: relative; }
.gal-grid2 .p { overflow: hidden; cursor: pointer; position: relative; }
.gallery img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.gallery .p:hover img { transform: scale(1.04); }
/* 虫めがねアイコン（常時表示・ホバーで強調） */
.gallery .p::before {
  content: '';
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background:
    rgba(255,255,255,0.8)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238a6a3b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cline x1='12.5' y1='12.5' x2='17' y2='17'/%3E%3C/svg%3E")
    center / 15px no-repeat;
  border-radius: 4px;
  z-index: 2;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.22s;
}
.gallery .p:hover::before { opacity: 1; }
.gallery .p::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.3s;
  pointer-events: none;
  z-index: 1;
}
.gallery .p:hover::after { background: rgba(0,0,0,0.08); }

/* ギャラリーフッター */
.gal-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gal-tap-hint {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gal-tap-hint::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236e6760' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cline x1='12.5' y1='12.5' x2='17' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
  flex-shrink: 0;
}
.gal-note {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.05em;
}

/* ─── GALLERY MODAL ──────────────────────────── */
.gal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.gal-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}
.gal-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,11,9,0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.gal-modal-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}
.gal-modal-top > * { pointer-events: all; }
.gal-modal-counter {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.42);
}
.gal-modal-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gal-modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.5); }
.gal-modal-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 64px 80px 130px;
  width: 100%;
  max-width: 1200px;
  justify-content: center;
}
#gal-modal-img {
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 210px);
  object-fit: contain;
  display: block;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#gal-modal-img.out { opacity: 0; transform: scale(0.96); }
.gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1;
}
.gal-nav:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.45); }
.gal-prev { left: 20px; }
.gal-next { right: 20px; }
.gal-modal-thumbs {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.gal-thumb-track {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.55);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.07);
  max-width: 90vw;
  overflow-x: auto;
}
.gal-thumb {
  flex-shrink: 0;
  width: 64px; height: 36px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 2px;
  opacity: 0.35;
  transition: opacity 0.2s, border-color 0.2s;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { opacity: 0.7; }
.gal-thumb.active { opacity: 1; border-color: rgba(255,255,255,0.78); }

/* ─── INFO ───────────────────────────────────── */
.info { background: var(--bg); }
.card { border: 1px solid var(--line); background: rgba(255,255,255,0.45); padding: 40px 40px; }
.card h3 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

/* 流れ（全幅） */
.info-flow { margin-bottom: 24px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-bottom: 28px; position: relative; }
.flow::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; border-top: 1px dashed var(--line); z-index: 0; }
.fstep { text-align: center; position: relative; z-index: 1; }
.fnum { font-size: 12px; color: var(--accent); letter-spacing: 0.2em; margin-bottom: 10px; }
.ficon { width: 64px; height: 64px; margin: 0 auto 14px; background: #fff; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 22px; }
.flabel { font-size: 14px; line-height: 1.7; color: var(--text); }
.flow-note { font-size: 14px; color: var(--mute); text-align: center; line-height: 2; }

/* 価格＋問い合わせ（2カラム） */
.info-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* 価格 */
.price-note-sm { font-size: 14px; color: var(--mute); text-align: center; line-height: 1.9; margin-bottom: 18px; }
.prow { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.prow:last-of-type { border-bottom: none; }
.prow .n { color: var(--mute); }
.prow .v-big { font-size: 28px; letter-spacing: 0.04em; }
.price-note { font-size: 13px; color: var(--mute); margin-top: 18px; line-height: 1.9; }

/* 問い合わせ */
.contact-note { font-size: 15px; color: var(--mute); text-align: center; line-height: 2; margin-bottom: 28px; }
.contact-tel { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 28px; letter-spacing: 0.08em; margin-bottom: 20px; text-decoration: none; }
.contact-tel .icon { color: var(--accent); }
.contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 12px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s;
}
.contact-email:hover { background: var(--bg); }
.contact-email .icon { color: var(--accent); font-size: 16px; flex-shrink: 0; }
.contact-hours { text-align: center; font-size: 14px; color: var(--mute); line-height: 2.2; }

/* ─── OUTRO ──────────────────────────────────── */
.outro { position: relative; text-align: center; padding: 128px 24px; color: #fff; background: var(--bg-dark); overflow: hidden; }
.outro-bg { position: absolute; inset: 0; opacity: 0.28; z-index: 0; }
.outro-bg img { width: 100%; height: 100%; object-fit: cover; }
.outro-inner { position: relative; z-index: 1; }
.outro p { font-size: 19px; letter-spacing: 0.1em; line-height: 2.6; margin-bottom: 52px; font-weight: 300; }
.outro .cta { margin: 0 auto; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.outro .cta:hover { background: rgba(255,255,255,0.18); }
.outro .cta-icon { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: #fff; }
.outro .cta-label { color: rgba(255,255,255,0.65); }
.outro .cta-tel { color: #fff; }
.outro .cta-group { align-items: center; }
.outro .cta-email { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
.outro .cta-email:hover { background: rgba(255,255,255,0.18); }
.outro .cta-email .icon { color: #fff; }

/* ─── OFFICIAL SITE LINK ────────────────────── */
.official-bar {
  background: var(--bg-dark);
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.official-bar-label {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.official-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 52px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s, border-color 0.25s;
}
.official-bar-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.75);
}
.official-bar-icon {
  font-size: 20px;
  line-height: 1;
  color: rgba(255,255,255,0.6);
}
@media (max-width: 960px) {
  .official-bar { padding-bottom: 88px; }
}
@media (max-width: 560px) {
  .official-bar-btn { padding: 16px 32px; font-size: 16px; }
}

/* ─── FLOAT CTA (mobile) ─────────────────────── */
.float-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  grid-template-columns: 1fr 1fr;
  background: var(--accent);
  z-index: 200;
  font-family: var(--serif);
}
.float-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  color: #fff;
  text-decoration: none;
}
.float-cta-email { border-left: 1px solid rgba(255,255,255,0.25); }
.float-cta-icon { font-size: 19px; line-height: 1; }
.float-cta-label { font-size: 14px; letter-spacing: 0.08em; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 320px; order: -1; }
  .hero-text { padding: 52px 24px; }
  .hero-catch { font-size: 21px; }

  .works-inner { grid-template-columns: 1fr; gap: 40px; }
  .works-image { max-width: 480px; margin: 0 auto; }

  .about-fabric { grid-template-columns: repeat(2, 1fr); }

  .gal-grid,
  .gal-grid2 { grid-template-columns: repeat(2, 1fr); }

  .info-bottom { grid-template-columns: 1fr; gap: 16px; }
  .ficon { width: 48px; height: 48px; font-size: 18px; }
  .flow { gap: 8px; }
  .flabel { font-size: 12px; }

  .section { padding: 64px 0; }
  .h2 { font-size: 26px; }

  .float-cta { display: grid; }
  .outro { padding-bottom: 88px; }
}

@media (max-width: 640px) {
  .gal-modal-stage { padding: 80px 16px 130px; }
  #gal-modal-img {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 240px);
  }
  .gal-nav {
    top: 20px;
    transform: none;
    width: 38px; height: 38px;
    font-size: 22px;
  }
  .gal-prev { left: auto; right: 118px; }
  .gal-next { right: 72px; }
}

@media (max-width: 560px) {
  .about-fabric { grid-template-columns: 1fr; gap: 8px; }
  .gal-grid, .gal-grid2 { gap: 6px; }
  .about-photos { grid-template-columns: 1fr; gap: 4px; }
  .craft-media { grid-template-columns: 1fr; }
  .craft-media .main { grid-row: auto; }

  /* 流れ：1カラム横並びリスト */
  .flow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .flow::before { display: none; }

  .fstep {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--line);
    text-align: left;
  }
  .fstep:last-child { border-bottom: none; }

  .fnum {
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--accent);
    flex-shrink: 0;
    width: 24px;
    margin-bottom: 0;
  }

  .ficon {
    margin: 0;
    width: 52px;
    height: 52px;
    font-size: 20px;
    flex-shrink: 0;
  }

  .flabel {
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
  }
}
