/* =========================================================
   M FARM — Design tokens
   色・フォントはここ（:root）を変えると全ページに反映されます
   ========================================================= */
:root {
  --white: #ffffff;        /* 写真の上の文字など */
  --ivory: #ede6dc;        /* ベージュ（基本の背景） */
  --paper: #f4efe8;        /* 明るいベージュ（白の代わりに使う面） */
  --greige: #e2d8cc;       /* グレージュ（フッターなど一段濃い面） */
  --charcoal: #57534e;     /* ロゴの色（やわらかいチャコール） */
  --nude: #cdbdb2;         /* ヌーディーなピンクベージュ（アクセント面） */
  --nude-deep: #a8968a;    /* 濃いめのヌード（細い線・小さな文字） */
  --rose: #c9a99c;         /* ほんのりローズ */
  --ink: #242423;          /* やわらかい墨色（文字） */
  --ink-70: rgba(36, 36, 35, .7);
  --ink-40: rgba(36, 36, 35, .4);
  --line: rgba(36, 36, 35, .14);

  --mincho: "Zen Old Mincho", "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --latin: "Lato", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5.5vw, 88px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--mincho);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .08em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1, "lnum" 1;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--nude); color: var(--white); }

/* 写真のトーンを全体で揃える（くすみ・柔らかさ） */
.ph { position: relative; overflow: hidden; background: var(--greige); }
.ph img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.78) sepia(.08) brightness(1.03) contrast(.96);
}

.latin { font-family: var(--latin); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 300; letter-spacing: .02em; }

/* =========================================================
   Opening
   ========================================================= */
.opening {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ivory);
  display: grid; place-items: center;
  pointer-events: none;
  animation: openingSafety 0s 9s forwards; /* 万一JSが動かなくても7秒で消える */
}
@keyframes openingSafety { to { visibility: hidden; } }
.opening__inner { display: flex; flex-direction: column; align-items: center; gap: 34px; color: var(--charcoal); }
.opening__mark { width: clamp(130px, 15vw, 200px); aspect-ratio: 108.14 / 106.68; }
.opening__mark svg, [data-draw-logo] svg { width: 100%; height: 100%; display: block; overflow: visible; }
.opening__text {
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: .5em; padding-left: .5em;
  margin: 0;
  opacity: 0; filter: blur(8px); transform: translateY(8px);
  transition: opacity 1.4s var(--ease), filter 1.4s var(--ease), transform 1.4s var(--ease);
}
.opening__text.is-in { opacity: 1; filter: none; transform: none; }
.opening { transition: opacity 2s cubic-bezier(.4, 0, .2, 1); }
.opening.is-out { opacity: 0; }
.opening__inner { transition: opacity 1.2s ease, filter 1.2s ease, transform 1.6s var(--ease); }
.opening__inner.is-out { opacity: 0; filter: blur(6px); transform: scale(.97); }
.opening__bar {
  position: absolute; left: 50%; bottom: 14vh;
  width: 120px; height: 1px; margin-left: -60px;
  background: var(--line); overflow: hidden;
}
.opening__bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--nude-deep);
  transform: scaleX(0); transform-origin: left;
  animation: bar 2.2s var(--ease) forwards;
}
@keyframes bar { to { transform: scaleX(1); } }
html.no-opening .opening { display: none; }

/* ページ切り替え：ベージュの幕が静かに満ち、シンボルマークが浮かぶ */
html { background: var(--ivory); }
html.arriving body { opacity: 0; }
html.arriving body { animation: arriveSafety 0s 2.5s forwards; } /* 万一JSが動かなくても表示する */
@keyframes arriveSafety { to { opacity: 1; } }
.curtain {
  position: fixed; inset: 0; z-index: 250;
  background: var(--ivory);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1);
}
.curtain.is-on { opacity: 1; pointer-events: auto; transition-duration: .85s; }
.curtain__mark {
  width: 46px; aspect-ratio: 108.14 / 106.68;
  background: var(--charcoal);
  -webkit-mask: url(logo/logo-mark.svg?v=b2) center / contain no-repeat; mask: url(logo/logo-mark.svg?v=b2) center / contain no-repeat;
  opacity: 0; transform: scale(.94); filter: blur(4px);
  transition: opacity .9s ease, transform 1.4s var(--ease), filter .9s ease;
}
.curtain.is-on .curtain__mark { opacity: .85; transform: none; filter: none; transition-delay: .2s; }
body.is-leaving main { transform: translateY(-14px); filter: blur(3px); transition: transform 1s var(--ease), filter 1s ease; }

/* =========================================================
   Cursor (PCのみ)
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .5s var(--ease);
  display: grid; place-items: center;
  mix-blend-mode: multiply;
}
.cursor span { font-family: var(--latin); font-size: 10px; letter-spacing: .2em; color: var(--white); opacity: 0; transition: opacity .3s; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: var(--nude); }
.cursor.is-view { width: 90px; height: 90px; margin: -45px 0 0 -45px; background: rgba(36, 36, 35, .78); mix-blend-mode: normal; }
.cursor.is-view span { opacity: 1; }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--gutter);
  color: var(--ink);
  transition: transform .8s var(--ease), color .6s, background .6s, padding .6s var(--ease);
}
.header--onphoto { color: var(--white); }
.header.is-scrolled { color: var(--ink); background: rgba(237, 230, 220, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 16px; padding-bottom: 16px; }
.header.is-hidden { transform: translateY(-100%); }

/* ロゴ（assets/logo の公式データを、文字色で塗って表示） */
.mask-logo, .logo__symbol, .logo__word, .hero__logo, .footer__word {
  display: block; background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
}
.logo__symbol, .footer__symbol { --src: url(logo/logo-mark.svg?v=b2); }
.logo__word, .hero__logo, .footer__word { --src: url(logo/logo-wordmark.svg?v=b2); }
.logo { display: flex; align-items: center; gap: 12px; line-height: 1; color: var(--charcoal); }
.header--onphoto:not(.is-scrolled) .logo { color: var(--white); }
body.menu-open .header .logo { color: var(--charcoal); }
.logo__symbol { width: 40px; aspect-ratio: 108.14 / 106.68; }
.logo__text { display: flex; flex-direction: column; gap: 7px; }
.logo__word { width: 86px; aspect-ratio: 302.84 / 78.44; }
.logo__sub { font-size: 9px; letter-spacing: .32em; opacity: .8; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav { display: flex; gap: clamp(20px, 2.8vw, 44px); align-items: center; }
.nav a { position: relative; font-family: var(--latin); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: currentColor; opacity: 0; transform: translateY(4px);
  transition: opacity .5s, transform .5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { opacity: 1; transform: none; }
.nav .nav__cta { border: 1px solid currentColor; border-radius: 99px; padding: 8px 22px; transition: background .5s, color .5s, border-color .5s; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.menu-btn { display: none; background: none; border: 0; color: inherit; cursor: pointer; width: 44px; height: 44px; padding: 0; position: relative; z-index: 2; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
body.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(20deg); }
body.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-20deg); }

/* スマホメニュー用の部品（PCでは使わない） */
.nav__no, .nav__jp, .nav__meta { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  /* スマホメニュー：左揃えのリスト。番号・英字・日本語を細い線で区切り、下から順にふわっと現れる */
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0;
    padding: 132px var(--gutter) 36px; overflow-y: auto;
    background: var(--ivory); color: var(--ink);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .9s var(--ease-io);
  }
  .nav > a:not(.nav__cta) {
    display: grid; grid-template-columns: 38px 1fr auto; align-items: baseline;
    padding: 20px 0; border-bottom: 1px solid var(--line);
    font-family: var(--display); font-size: 24px; letter-spacing: .08em; text-transform: none;
  }
  .nav > a:first-child { border-top: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav__no { display: block; font-family: var(--latin); font-size: 10px; letter-spacing: .2em; color: var(--nude); }
  .nav__jp { display: block; font-family: var(--mincho); font-size: 11px; letter-spacing: .2em; color: var(--ink-40); }
  .nav > a[aria-current="page"] .nav__en { font-style: italic; color: var(--nude); }
  .nav .nav__cta {
    display: flex; justify-content: center; margin-top: 36px; padding: 17px 0;
    font-family: var(--latin); font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  }
  .nav__meta { display: block; margin-top: auto; padding-top: 44px; font-size: 10.5px; line-height: 2; letter-spacing: .1em; color: var(--ink-40); }
  .nav__meta a { font-family: var(--latin); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); padding: 0; display: inline-block; margin-bottom: 14px; }
  .nav__meta a::after { display: none; }
  .nav__meta p { margin: 0; }
  .nav > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
  body.menu-open .nav > * { opacity: 1; transform: none; }
  body.menu-open .nav > :nth-child(1) { transition-delay: .35s; }
  body.menu-open .nav > :nth-child(2) { transition-delay: .42s; }
  body.menu-open .nav > :nth-child(3) { transition-delay: .49s; }
  body.menu-open .nav > :nth-child(4) { transition-delay: .56s; }
  body.menu-open .nav > :nth-child(5) { transition-delay: .66s; }
  body.menu-open .nav > :nth-child(6) { transition-delay: .76s; }
  body.menu-open .nav { clip-path: inset(0 0 0 0); }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { color: var(--ink); }
  /* スクロール後のヘッダーのすりガラス効果があると、メニューがヘッダーの高さに閉じ込められるので、開いている間は外す */
  body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; background: transparent; }
  .header .logo { position: relative; z-index: 2; }
}

/* =========================================================
   Hero (Top)
   ========================================================= */
/* FVは画面に固定。次の章（すすき）が下からせり上がり、紙を重ねるようにFVを覆っていく */
.fv-stack { position: relative; }
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 560px; overflow: hidden; color: var(--white); background: #2f2a26; }
.fv-stack .message { position: relative; z-index: 1; background: var(--ivory); box-shadow: 0 -30px 60px rgba(38,32,28,.18); }
.hero__media { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
/* 動画：重ねておき、表示中のものだけゆっくり浮かび上がる（クロスフェード） */
.hero__clip {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  /* 色味は動画ファイル側で調整済み */
  transition: opacity 2.4s cubic-bezier(.4, 0, .2, 1), transform 9s linear;
}
.hero__clip.is-active { opacity: 1; transform: scale(1); }
/* 白抜き文字が読めるよう、下と左をほんのり暗く */
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(38,32,28,.6), rgba(38,32,28,0) 55%), linear-gradient(90deg, rgba(38,32,28,.3), rgba(38,32,28,0) 55%), linear-gradient(270deg, rgba(38,32,28,.22), rgba(38,32,28,0) 35%), rgba(38,32,28,.1); }

.hero__wordmark {
  position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(28px, 5vh, 56px);
  margin: 0; width: clamp(180px, 24vw, 400px);
}
.hero__logo { width: 100%; aspect-ratio: 302.84 / 78.44; opacity: 0; transform: translateY(40px); filter: blur(10px); }
body.is-ready .hero__logo { opacity: .45; transform: none; filter: none; transition: opacity 1.8s var(--ease) .2s, transform 1.8s var(--ease) .2s, filter 1.8s var(--ease) .2s; }

.hero__lead, .hero__copy { text-shadow: 0 0 24px rgba(38,32,28,.35); }
.hero__lead { position: absolute; left: var(--gutter); top: 130px; max-width: 320px; font-family: var(--latin); font-size: 10px; letter-spacing: .14em; line-height: 1.9; opacity: 0; }
/* 右側の縦の柱：キャッチ（上）とSCROLL（下端）を同じ中心線に */
.hero__rail {
  position: absolute; z-index: 2;
  right: var(--gutter); top: clamp(150px, 24vh, 240px); bottom: 0;
  width: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 40px;
}
.hero__copy {
  writing-mode: vertical-rl; margin: 0;
  font-size: clamp(16px, 1.5vw, 21px); letter-spacing: .5em; line-height: 1.6;
  opacity: 0;
}
body.is-ready .hero__lead, body.is-ready .hero__copy { opacity: 1; transition: opacity 2s var(--ease) 1.1s; }

/* SCROLL：縦書きの文字と、下へ流れ落ちる細い線 */
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 0; } /* 縦線はFVの下端にぴったり */
.hero__scroll span { writing-mode: vertical-rl; font-size: 9px; letter-spacing: .3em; opacity: .85; }
.hero__scroll i { display: block; width: 1px; height: clamp(32px, 4.5vh, 48px); background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: drip 2.6s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }

/* フィルムの粒子：動画の上にうっすら重ねて、圧縮の粗さをなじませる */
.hero__grain {
  position: absolute; inset: -50%; z-index: 1; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-4%, 3%); } 33% { transform: translate(3%, -5%); }
  50% { transform: translate(-6%, -2%); } 67% { transform: translate(5%, 4%); } 83% { transform: translate(-2%, 6%); } 100% { transform: translate(0, 0); }
}

@media (max-width: 760px) {
  .hero__rail { top: 120px; width: 36px; }
  .hero__lead { display: none; }
}

/* =========================================================
   FV → Message へのつなぎ：スクロールするとFVの映像が全体で均一に薄くなり、ベージュに溶けていく
   （動きは main.js。グラデーションは使わない）
   ========================================================= */

/* =========================================================
   Message (sticky photo + blur, like a skincare brand site)
   ========================================================= */
.message { position: relative; }
.message__bg { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.message__bg img { transform: scale(1.08); }
.message__veil { position: absolute; inset: 0; background: rgba(237, 230, 220, .1); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }
.message__body {
  position: relative; z-index: 2;
  margin-top: -100svh;
  padding: 50svh var(--gutter) 40svh;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  color: var(--ink);
}
.message__label { position: sticky; top: 50svh; align-self: start; }
.message__poem { padding-top: 70svh; }
@media (max-width: 760px) { .message__poem { padding-top: 30svh; } }
.message__poem p { margin: 0 0 1.8em; font-size: clamp(16px, 1.45vw, 20px); line-height: 2.3; letter-spacing: .16em; }
@media (max-width: 760px) {
  .message__body { grid-template-columns: 1fr; padding-top: 40svh; }
  .message__label { position: static; }
}

/* =========================================================
   Section basics
   ========================================================= */
.section { position: relative; padding: clamp(110px, 14vw, 200px) var(--gutter); }
.section--white { background: var(--paper); }
.section--greige { background: var(--greige); }
.section--nude { background: var(--nude); color: var(--ink); }

.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 30px; color: var(--nude-deep); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--nude .eyebrow { color: var(--ink-70); }

.title-en { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(54px, 8.5vw, 132px); line-height: .95; letter-spacing: .01em; }
.title-en em { font-style: italic; color: var(--nude-deep); }
.section--nude .title-en em { color: var(--white); }
.title-jp { margin: 22px 0 0; font-size: clamp(18px, 1.8vw, 26px); font-weight: 400; letter-spacing: .2em; line-height: 1.8; }
.body-text { max-width: 30em; color: var(--ink-70); }
.body-text p { margin: 0 0 1.5em; }
.section--nude .body-text { color: var(--ink-70); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 140px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ボタン */
.more {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: 26px;
  font-family: var(--latin); font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
}
.more i { position: relative; width: 56px; height: 1px; background: currentColor; overflow: hidden; transition: width .7s var(--ease); }
.more i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.more:hover i, .more.is-hover i { width: 86px; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 20px 46px; border-radius: 99px;
  background: var(--ink); color: var(--white);
  font-family: var(--latin); font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
}
.pill::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nude-deep); transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform .7s var(--ease), border-radius .7s var(--ease); }
.pill:hover::before, .pill.is-hover::before { transform: none; border-radius: 0; }

/* =========================================================
   Reveal animations
   ========================================================= */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-blur { opacity: 0; filter: blur(12px); transition: opacity 1.8s var(--ease), filter 1.8s var(--ease); }
.rv-blur.is-in { opacity: 1; filter: none; }
.d1 { transition-delay: .12s !important; } .d2 { transition-delay: .24s !important; } .d3 { transition-delay: .36s !important; } .d4 { transition-delay: .48s !important; }

/* 写真が幕を上げるように現れる */
/* ※幕（clip-path）は中の写真にかける。枠自体にかけると「画面に入った」判定が効かず空白のままになるため */
.rv-img { background: transparent; }
.rv-img img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.8s var(--ease-io), transform 2.4s var(--ease); }
.rv-img.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
/* 影のついた写真枠は、写真が現れるのに合わせて影も出す（写真より先に空の枠が見えないように） */
/* 影は写真が出きってから付ける（先に影だけ出ると空の枠が見えるため）。.d2などの遅延指定より優先 */
.rv-img.rv-img { transition: box-shadow 1.2s var(--ease) 1.7s !important; }
.rv-img:not(.is-in) { box-shadow: none !important; }

/* 文字が一行ずつ下から */
/* 下に伸びる文字（p・y・g など）が切れないよう、枠の下に余白を持たせる */
.lines .ln { display: block; overflow: hidden; padding: .04em 0 .22em; margin-bottom: -.22em; }
.lines .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.4s var(--ease); }
.lines.is-in .ln > span { transform: none; }
.lines.is-in .ln:nth-child(2) > span { transition-delay: .1s; }
.lines.is-in .ln:nth-child(3) > span { transition-delay: .2s; }
.lines.is-in .ln:nth-child(4) > span { transition-delay: .3s; }

/* =========================================================
   About (top) — photo collage
   ========================================================= */
.collage { position: relative; min-height: 640px; }
.collage .ph:nth-child(1) { width: 62%; aspect-ratio: 3 / 4; margin-left: auto; }
.collage .ph:nth-child(2) { position: absolute; left: 0; bottom: -60px; width: 44%; aspect-ratio: 4 / 5; border: 10px solid var(--ivory); }
@media (max-width: 900px) { .collage { min-height: 0; margin-bottom: 60px; } }

/* =========================================================
   Business — horizontal gallery
   ========================================================= */
.biz { overflow: hidden; background: var(--paper); }
.biz__head { padding: clamp(110px, 14vh, 150px) var(--gutter) clamp(30px, 4vh, 50px); display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.biz__track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter) clamp(110px, 12vw, 180px); width: max-content; }
.card { position: relative; width: calc(var(--card-h) * .74); flex-shrink: 0; display: block; }
.biz { --card-h: clamp(300px, 52vh, 600px); }
.card .ph { height: var(--card-h); }
.card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,36,35,.05), rgba(36,36,35,.28)); transition: opacity .8s; }
.card:hover .ph::after, .card.is-hover .ph::after { opacity: .5; }
.card .ph img { transition: transform 1.6s var(--ease), filter 1.2s var(--ease); }
/* 横に流れるときに写真を左右へ少しずらすので、写真をカードより一回り大きくして端の下地が見えないように */
.biz .card .ph img { width: 120%; max-width: none; margin-left: -10%; }
.card:hover .ph img, .card.is-hover .ph img { transform: scale(1.06); filter: saturate(.9) sepia(.04) brightness(1.06); }
.card__name {
  position: absolute; left: 0; right: 0; top: calc(var(--card-h) / 2); transform: translateY(-50%); z-index: 1;
  text-align: center; color: var(--white);
  font-family: var(--display); font-weight: 300; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.1;
  letter-spacing: .08em; text-shadow: 0 0 40px rgba(36,36,35,.25);
  pointer-events: none;
}
.card__name small { display: block; margin-top: 12px; font-family: var(--latin); font-size: 10px; letter-spacing: .32em; }
.card__no { position: absolute; left: 18px; top: 14px; color: var(--white); font-family: var(--display); font-size: 16px; letter-spacing: .1em; z-index: 1; }
.card__jp { margin: 18px 0 0; font-size: 14px; letter-spacing: .2em; display: flex; justify-content: space-between; align-items: center; }
.card__jp::after { content: ""; width: 22px; height: 1px; background: var(--ink-40); transition: width .6s var(--ease), background .6s; }
.card:hover .card__jp::after, .card.is-hover .card__jp::after { width: 44px; background: var(--ink); }

.biz__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(60px, 6vw, 90px); height: 1px; background: var(--line); }
.biz__progress i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

@media (max-width: 900px) {
  /* スマホもPCと同じく、縦スクロールで横に流れる（カード一式が1画面に収まる高さに） */
  .biz { --card-h: min(92vw, 50svh); }
  .biz__head { padding-top: 90px; padding-bottom: 24px; }
  .biz__track { padding-bottom: 90px; }
  .card { width: min(68vw, calc(var(--card-h) * .75)); }
  .biz__progress { bottom: 50px; }
}

/* =========================================================
   Beauty — sticky split
   ========================================================= */
.sticky-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); }
.sticky-split__media { position: sticky; top: 0; height: 100svh; }
.sticky-split__media .ph { height: 100%; }
.sticky-split__body { padding: clamp(110px, 14vw, 200px) var(--gutter); }
/* ---------- 店舗カード（美容事業） ---------- */
.shops-block { padding: clamp(90px, 11vw, 160px) var(--gutter); background: var(--paper); scroll-margin-top: 40px; }
.shops-block__head { max-width: 760px; margin-bottom: clamp(50px, 6vw, 80px); }
.shop-area { margin-top: clamp(50px, 6vw, 80px); }
.shop-area__title { margin: 0 0 34px; font-weight: 400; }
/* 1行目：英字のエリア名と細い線／2行目：日本語のエリア名・店舗数（点の前後に余白） */
.shop-area__en { display: flex; align-items: center; gap: 22px; font-family: var(--latin); font-size: 13px; letter-spacing: .34em; color: var(--nude-deep); }
.shop-area__en::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.shop-area__jp { display: block; margin-top: 14px; font-size: clamp(20px, 2vw, 26px); letter-spacing: .14em; color: var(--ink); }
.shop-area__jp i { font-style: normal; margin: 0 .7em; color: var(--nude-deep); }
.shop-area__jp em { font-style: normal; font-family: var(--display); font-weight: 300; letter-spacing: .08em; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) clamp(20px, 2.4vw, 36px); }
.shop-card .ph { aspect-ratio: 4 / 3; }
.shop-card .ph img { transition: transform 1.4s var(--ease); }
.shop-card:hover .ph img, .shop-card.is-hover .ph img { transform: scale(1.05); }
.shop-card__type { display: block; margin: 20px 0 6px; font-family: var(--latin); font-size: 10px; letter-spacing: .26em; color: var(--nude-deep); text-transform: uppercase; }
.shop-card__name { margin: 0; font-weight: 400; font-size: 17px; letter-spacing: .12em; line-height: 1.7; }
.shop-card__kind { display: block; font-size: 13px; letter-spacing: .16em; color: var(--ink-70); }
.shop-card__shop { display: block; }
.shop-card__en { display: block; font-family: var(--display); font-size: 15px; letter-spacing: .06em; color: var(--ink-70); margin-top: 2px; }
.shop-card__info { margin: 14px 0 0; font-size: 12px; line-height: 2; color: var(--ink-70); letter-spacing: .06em; }
.shop-card__info a { border-bottom: 1px solid var(--line); }
.shop-card__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.shop-card__links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--latin); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 99px; border: 1px solid var(--ink-40);
  transition: background .5s, color .5s, border-color .5s;
}
.shop-card__links a.is-reserve { background: var(--ink); color: var(--white); border-color: var(--ink); }
.shop-card__links a:hover { background: var(--nude-deep); border-color: var(--nude-deep); color: var(--white); }
@media (max-width: 1000px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shop-grid { grid-template-columns: 1fr; } }

.shops { list-style: none; margin: 50px 0 0; padding: 0; border-top: 1px solid var(--line); }
.shops li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 15px; letter-spacing: .14em; }
.shops li span { color: var(--nude-deep); }
@media (max-width: 900px) {
  .sticky-split { grid-template-columns: 1fr; }
  .sticky-split__media { position: relative; height: 70svh; }
}

/* =========================================================
   Values
   ========================================================= */
.values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid rgba(36,36,35,.18); }
.value { padding: 46px 36px 10px 0; }
.value + .value { padding-left: 36px; border-left: 1px solid rgba(36,36,35,.18); }
.value__no { font-family: var(--display); font-weight: 300; font-size: 64px; line-height: 1; color: var(--white); }
.value h3 { margin: 26px 0 14px; font-weight: 400; font-size: 22px; letter-spacing: .24em; }
.value p { margin: 0; font-size: 14px; line-height: 2.1; color: var(--ink-70); }
.section:not(.section--nude) .values { border-color: var(--line); }
.section:not(.section--nude) .value + .value { border-color: var(--line); }
.section:not(.section--nude) .value__no { color: var(--nude-deep); }
@media (max-width: 900px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 36px 0; border-left: 0; border-bottom: 1px solid rgba(36,36,35,.18); }
}

/* =========================================================
   News
   ========================================================= */
.news-list { list-style: none; margin: 60px 0 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 140px 120px 1fr 40px; gap: 24px; align-items: center; padding: 30px 0; position: relative; }
.news-list a::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--paper); opacity: 0; transition: opacity .6s var(--ease); z-index: -1; }
.news-list a:hover::before, .news-list a.is-hover::before { opacity: 1; }
.news-list { position: relative; z-index: 0; }
.news-date { font-family: var(--display); font-size: 17px; letter-spacing: .12em; color: var(--ink-70); }
.news-cat { justify-self: start; font-family: var(--latin); font-size: 10px; letter-spacing: .2em; padding: 4px 14px; border-radius: 99px; background: var(--greige); line-height: 1.6; }
.news-title { font-size: 15px; line-height: 1.9; }
.news-arrow { justify-self: end; width: 22px; height: 1px; background: var(--ink-40); transition: width .6s var(--ease), background .6s; }
.news-list a:hover .news-arrow, .news-list a.is-hover .news-arrow { width: 40px; background: var(--ink); }
@media (max-width: 760px) {
  .news-list a { grid-template-columns: auto 1fr; gap: 6px 16px; }
  .news-title { grid-column: 1 / -1; }
  .news-arrow { display: none; }
}

/* =========================================================
   Recruit banner (full photo)
   ========================================================= */
/* 採用バナー：写真は右側に置いてスタッフの顔に文字がかからないように。文字は左の落ち着いた面に */
.recruit { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: var(--white); display: grid; align-items: center; background: #3a332e; }
/* 写真は横長の枠に丸ごと収める（スタッフ3人が切れず、文字とも重ならない） */
.recruit__media { position: absolute; top: 50%; right: 0; width: 60%; aspect-ratio: 16 / 9; transform: translateY(-50%); }
.recruit__media .ph { height: 100%; background: transparent; }
.recruit::after { display: none; }
.recruit__body { position: relative; z-index: 2; padding: 0 var(--gutter); max-width: 46%; }
.recruit__body .title-en { font-size: clamp(64px, 9vw, 150px); }
@media (max-width: 900px) {
  .recruit { height: auto; min-height: 0; display: block; padding: 0 0 70px; }
  .recruit__media { position: relative; top: auto; width: 100%; transform: none; margin-bottom: 40px; }
  .recruit__body { max-width: none; }
}
.recruit__body .title-en em { color: var(--white); opacity: .8; }

/* =========================================================
   Page hero (sub pages)
   ========================================================= */
.page-hero { position: relative; padding: clamp(170px, 22vw, 260px) var(--gutter) 0; }
.page-hero__inner { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.page-hero .title-en { font-size: clamp(64px, 12vw, 190px); }
.page-hero__visual { margin-top: clamp(50px, 6vw, 90px); height: clamp(300px, 62vh, 680px); }
.page-hero__visual img { transform: scale(1.12); }
.crumb { font-family: var(--latin); font-size: 10px; letter-spacing: .24em; color: var(--ink-70); }

/* =========================================================
   Profile table
   ========================================================= */
.profile { width: 100%; border-collapse: collapse; }
.profile th, .profile td { text-align: left; vertical-align: top; padding: 26px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.profile th { width: 170px; font-size: 13px; letter-spacing: .24em; color: var(--nude-deep); }
.profile tr:first-child > * { border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .profile th, .profile td { display: block; width: 100%; }
  .profile th { padding-bottom: 0; border-bottom: 0; }
  .profile tr:first-child td { border-top: 0; }
}

/* =========================================================
   Business detail
   ========================================================= */
.biz-index { display: flex; flex-wrap: wrap; gap: 10px; }
.biz-index a { font-family: var(--latin); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; border: 1px solid var(--line); padding: 9px 20px; border-radius: 99px; transition: background .5s, color .5s, border-color .5s; }
.biz-index a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding: clamp(80px, 10vw, 150px) var(--gutter); scroll-margin-top: 40px; }
.detail:nth-child(even) { background: var(--paper); }
.detail:nth-child(even) .detail__media { order: 2; }
/* 写真2枚：大きい写真に、もう1枚がずらして重なる（どちらも枠の内側に収める＝はみ出して切れない） */
.detail__media { position: relative; padding: 0 16% 18% 0; }
.detail__media .ph { aspect-ratio: 4 / 5; }
.detail__media .ph + .ph {
  position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 5;
  box-shadow: 0 24px 60px rgba(38, 32, 28, .18);
}
.detail:nth-child(even) .detail__media { padding: 0 0 18% 16%; }
.detail:nth-child(even) .detail__media .ph + .ph { right: auto; left: 0; }
.detail__no { font-family: var(--display); font-size: 18px; letter-spacing: .14em; color: var(--nude-deep); }
.detail__en { margin: 10px 0 0; font-family: var(--display); font-weight: 300; font-size: clamp(40px, 4.6vw, 70px); line-height: 1.05; }
.detail__jp { margin: 14px 0 30px; font-size: 18px; letter-spacing: .24em; font-weight: 400; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.tags li { font-size: 12px; letter-spacing: .1em; padding: 6px 16px; border: 1px solid var(--line); border-radius: 99px; line-height: 1.8; }
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .detail:nth-child(even) .detail__media { order: 0; }
  .detail__media { padding: 0 12% 16% 0 !important; }
  .detail__media .ph + .ph { left: auto !important; right: 0 !important; }
}

/* =========================================================
   Recruit page
   ========================================================= */
.req { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 60px; }
.req__box { background: var(--paper); padding: clamp(34px, 4vw, 60px); }
.req__box h3 { font-weight: 400; letter-spacing: .24em; font-size: 22px; margin: 0 0 26px; }
.req__box dl { margin: 0; display: grid; grid-template-columns: 7em 1fr; gap: 14px 20px; font-size: 14px; }
.req__box dt { color: var(--nude-deep); }
.req__box dd { margin: 0; }
@media (max-width: 900px) { .req { grid-template-columns: 1fr; } }

/* =========================================================
   Contact
   ========================================================= */
.form { display: grid; gap: 34px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.field label { display: block; font-size: 13px; letter-spacing: .2em; margin-bottom: 6px; }
.field label b { font-family: var(--latin); font-weight: 400; font-size: 9px; letter-spacing: .2em; color: var(--white); background: var(--nude); padding: 2px 8px; border-radius: 99px; margin-left: 10px; vertical-align: 2px; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; font: inherit; color: inherit; border-radius: 0; transition: border-color .5s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.form .pill { border: 0; cursor: pointer; justify-self: start; }
.policy { font-size: 13px; line-height: 2.1; color: var(--ink-70); }
.policy h4 { font-weight: 400; color: var(--ink); letter-spacing: .14em; margin: 2em 0 .4em; }
.policy p { margin: 0; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--greige); padding: clamp(90px, 10vw, 140px) var(--gutter) 34px; overflow: hidden; }
.footer__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: clamp(80px, 9vw, 130px); }
.footer__cta a { position: relative; padding: clamp(40px, 5vw, 70px); background: var(--paper); overflow: hidden; isolation: isolate; }
.footer__cta a::before { content: ""; position: absolute; inset: 0; background: var(--nude); z-index: -1; clip-path: circle(0px at var(--cx, 100%) var(--cy, 100%)); transition: clip-path .9s var(--ease-io); }
.footer__cta a.no-tr::before { transition: none; }
.footer__cta a.is-on::before { clip-path: circle(var(--cr, 150%) at var(--cx, 100%) var(--cy, 100%)); }
.footer__cta a { transition: color .6s var(--ease-io); }
.footer__cta a.is-on { color: var(--white); }
.footer__cta .display { display: block; font-size: clamp(44px, 5vw, 76px); line-height: 1; }
.footer__cta small { display: block; margin-top: 16px; font-size: 13px; letter-spacing: .2em; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; font-size: 13px; color: var(--ink-70); }
.footer__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 50px; }
.footer__nav a { font-family: var(--latin); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.footer__nav a:hover { color: var(--nude-deep); }
/* フッターのロゴ：マークと文字の高さをそろえ、うっすら控えめに */
.footer__logo {
  --word-w: clamp(220px, 34vw, 560px);
  display: flex; align-items: center; gap: calc(var(--word-w) * .07);
  margin: clamp(60px, 8vw, 120px) 0 0; color: var(--white); opacity: .7;
}
.footer__symbol { flex: none; width: calc(var(--word-w) / 3.86 * 1.3); aspect-ratio: 108.14 / 106.68; }
.footer__word { flex: none; width: var(--word-w); aspect-ratio: 302.84 / 78.44; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--latin); font-size: 10px; letter-spacing: .2em; color: var(--ink-70); }
@media (max-width: 760px) {
  .footer__cta, .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .rv-blur, .rv-img, .rv-img img, .lines .ln > span, .hero__logo { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .opening { display: none; }
}

/* =========================================================
   事業の詳しいページ（business-○○.html）
   ========================================================= */
.bd-hero .title-en { font-size: clamp(56px, 10vw, 160px); line-height: .95; }
.bd-hero__meta { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.bd-hero__no { font-family: var(--display); font-size: 18px; letter-spacing: .14em; color: var(--nude-deep); }
.bd-hero__jp { margin: 0; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .24em; font-weight: 400; }
.bd-hero .page-hero__visual { height: clamp(320px, 70vh, 760px); }

/* 紹介：大きな一文＋本文＋写真2枚の重なり */
.bd-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.bd-intro__lead { margin: 0 0 34px; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.9; letter-spacing: .12em; font-weight: 400; }
@media (max-width: 900px) { .bd-intro { grid-template-columns: 1fr; } }

/* サービス：左右交互の大きな行 */
.svc-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(50px, 6vw, 90px); }
.svc-count { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--nude); display: inline-flex; align-items: center; gap: 14px; padding-bottom: .6em; }
.svc-count::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.svc-row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center;
  padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:nth-child(even) .ph { order: 2; }
.svc-row .ph { aspect-ratio: 16 / 10; }
.svc-row__no { font-family: var(--display); font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--nude-deep); font-weight: 300; }
.svc-row__title { margin: 18px 0 18px; font-size: clamp(20px, 2vw, 28px); letter-spacing: .16em; font-weight: 400; line-height: 1.7; }
.svc-row__text { margin: 0; color: var(--ink-70); max-width: 30em; }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .ph { order: 0; }
}

/* サービス：写真付きカード（項目が多い事業用） */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 60px) clamp(20px, 2.4vw, 36px); }
.svc-card .ph { aspect-ratio: 4 / 3; }
.svc-card .ph--blank { display: grid; place-items: center; background: var(--greige); }
.svc-card .ph--blank span { font-family: var(--display); font-style: italic; font-size: 34px; color: var(--nude-deep); }
.svc-card__no { display: block; margin-top: 18px; font-family: var(--display); font-size: 15px; letter-spacing: .14em; color: var(--nude-deep); }
.svc-card__title { margin: 6px 0 10px; font-size: 19px; letter-spacing: .16em; font-weight: 400; }
.svc-card__text { margin: 0; font-size: 13px; line-height: 2; color: var(--ink-70); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* 特別な欄（海外輸出・制作実績など） */
.bd-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.bd-band .ph { aspect-ratio: 16 / 11; }
.bd-band__list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(36,36,35,.2); }
.bd-band__list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(36,36,35,.2); letter-spacing: .14em; }
.bd-band__note { margin-top: 14px; font-size: 12px; color: var(--ink-70); }
@media (max-width: 900px) { .bd-band { grid-template-columns: 1fr; } }

/* ほかの事業へ */
.others { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 50px; }
.other { position: relative; display: block; color: var(--white); }
.other .ph { aspect-ratio: 3 / 4; }
.other .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,36,35,0) 40%, rgba(36,36,35,.55)); }
.other .ph img { transition: transform 1.4s var(--ease); }
.other:hover .ph img, .other.is-hover .ph img { transform: scale(1.06); }
.other__label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; line-height: 1.5; }
.other__label b { display: block; font-family: var(--display); font-weight: 300; font-size: 22px; letter-spacing: .04em; }
.other__label small { font-size: 11px; letter-spacing: .14em; }
@media (max-width: 1000px) { .others { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* お問い合わせへの案内 */
.bd-cta { text-align: center; }
.bd-cta .title-jp { margin: 0 auto 36px; }

/* =========================================================
   お知らせ（写真付きカード・記事ページ）
   ========================================================= */
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) clamp(20px, 2.4vw, 36px); margin-top: 60px; }
.news-card { display: block; }
.news-card .ph { aspect-ratio: 4 / 3; background: var(--paper); }
.news-card .ph img { filter: none; transition: transform 1.4s var(--ease); }
.news-card:hover .ph img, .news-card.is-hover .ph img { transform: scale(1.05); }
.news-card__meta { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.news-card__title { margin: 10px 0 0; font-size: 15px; font-weight: 400; line-height: 1.9; letter-spacing: .08em; transition: color .4s; }
.news-card:hover .news-card__title, .news-card.is-hover .news-card__title { color: var(--nude-deep); }
@media (max-width: 1000px) { .news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-cards { grid-template-columns: 1fr; } }

.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.news-filter button {
  font: inherit; font-size: 12px; letter-spacing: .14em; cursor: pointer;
  padding: 8px 20px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  transition: background .4s, color .4s, border-color .4s;
}
.news-filter button.is-active, .news-filter button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.post { max-width: 860px; margin: 0 auto; }
.post__meta { display: flex; align-items: center; gap: 18px; }
.post__title { margin: 22px 0 0; font-weight: 400; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.7; letter-spacing: .1em; }
.post__hero { margin-top: clamp(40px, 5vw, 60px); background: var(--paper); }
.post__hero img { width: 100%; height: auto; display: block; }
.post__body { margin-top: clamp(40px, 5vw, 60px); font-size: 15px; line-height: 2.2; color: var(--ink-70); }
.post__body p { margin: 0 0 .6em; }
.post__body h3 { margin: 2.2em 0 .6em; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; letter-spacing: .2em; color: var(--ink); }
.post__body a { color: var(--ink); border-bottom: 1px solid var(--nude-deep); word-break: break-all; }
.post__gallery { display: grid; gap: 20px; margin-top: 40px; }
.post__gallery img { width: 100%; height: auto; display: block; }
.post__nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: clamp(70px, 8vw, 110px); padding-top: 36px; border-top: 1px solid var(--line); font-size: 13px; }
.post__nav a { line-height: 1.8; }
.post__nav small { display: block; font-family: var(--latin); font-size: 10px; letter-spacing: .24em; color: var(--nude-deep); }
.post__nav .is-next { text-align: right; }
@media (max-width: 640px) { .post__nav { grid-template-columns: 1fr; } .post__nav .is-next { text-align: left; } }

/* 撮影事業：小さい写真（定食）は横長なので、比率だけ 4:3 に（位置は他の事業と同じ右下・左下） */
#photo .detail__media .ph + .ph { width: 56%; aspect-ratio: 4 / 3; }

/* =========================================================
   ふるさと納税：参加自治体の地図
   ========================================================= */
.mymap__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: center; max-width: 1240px; margin: 0 auto; }
.mymap__list { display: grid; grid-template-columns: repeat(3, auto); gap: 12px 28px; list-style: none; padding: 0; margin: 34px 0 0; justify-content: start; }
.mymap__list li { font-size: 15px; letter-spacing: .12em; display: flex; align-items: baseline; gap: 10px; }
.mymap__list .latin { font-size: 10px; color: var(--nude-deep); }
.mymap__fig { margin: 0; position: relative; }
.mymap__fig svg { width: 100%; height: auto; overflow: visible; }
.mymap__land { fill: var(--paper); stroke: rgba(168, 150, 138, .45); stroke-width: .6; }
.mymap__pin line { stroke: var(--nude-deep); stroke-width: .6; }
.mymap__pin circle { fill: #ad8a69; }
.mymap__pin text { font-size: 11px; letter-spacing: .14em; fill: var(--ink); font-family: inherit; }
.mymap__pulse { fill: none !important; stroke: #ad8a69; stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: mypulse 2.6s var(--ease) infinite; animation-delay: var(--d); }
@keyframes mypulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.mymap__fig figcaption { position: absolute; right: 0; bottom: 0; font-size: 10px; color: var(--nude-deep); }
@media (max-width: 900px) {
  .mymap__inner { grid-template-columns: 1fr; }
  .mymap__list { grid-template-columns: repeat(2, auto); }
}

/* =========================================================
   食品流通：精肉ラインナップ
   ========================================================= */
.meat { max-width: 1320px; margin: 0 auto; }
.meat__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.meat__head .body-text { margin: 0; max-width: none; }
.meat__band { display: grid; grid-template-columns: 1fr 1.1fr; background: #9c7d61; color: var(--paper); margin-bottom: clamp(50px, 6vw, 80px); overflow: hidden; }
.meat__points { list-style: none; margin: 0; padding: clamp(36px, 5vw, 64px); display: grid; gap: 22px; align-content: center; }
.meat__points li { display: flex; align-items: center; gap: 22px; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: .1em; }
.meat__pt { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--paper); color: #9c7d61; display: grid; place-items: center; font-family: var(--display); font-size: 22px; line-height: 1; padding-top: 4px; }
.meat__pt small { display: block; font-family: var(--latin); font-size: 8px; letter-spacing: .14em; margin-bottom: -10px; }
.meat__img { min-height: 320px; }
.meat__img img { width: 100%; height: 100%; object-fit: cover; }
.meat__table { margin-bottom: 44px; }
.meat__table h3 { font-size: 18px; font-weight: 400; letter-spacing: .2em; margin: 0 0 14px; padding-left: 14px; border-left: 2px solid #9c7d61; }
.meat__scroll { overflow-x: auto; }
.meat__table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13.5px; }
.meat__table th, .meat__table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.meat__table thead th { background: rgba(156, 125, 97, .12); font-size: 12px; letter-spacing: .12em; color: var(--ink-70); }
.meat__table tbody th { white-space: nowrap; }
.meat__table td:nth-child(3), .meat__table td:nth-child(4) { white-space: nowrap; color: var(--ink-70); }
.meat__note { font-size: 13px; color: var(--ink-70); line-height: 2; }
@media (max-width: 900px) {
  .meat__head, .meat__band { grid-template-columns: 1fr; }
  .meat__img { min-height: 240px; }
}

/* 会社概要：事業内容の一覧 */
.profile__divs { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; }
.profile__divs li { display: grid; gap: 4px; }
.profile__divs b { font-weight: 500; letter-spacing: .1em; }
.profile__divs span { font-size: 13px; line-height: 1.9; color: var(--ink-70); }

/* =========================================================
   Works（制作実績）：タイル一覧＋詳細
   ========================================================= */
.works { padding-top: clamp(70px, 8vw, 120px); }
.works__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 70px); }
.works__head .body-text { margin: 0; max-width: 34em; }
.works__filter { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.works__filter button {
  font: inherit; font-family: var(--latin); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-70); background: transparent; border: 1px solid var(--line); border-radius: 99px;
  padding: 9px 18px; cursor: pointer; transition: background .4s, color .4s, border-color .4s;
}
.works__filter button small { margin-left: 8px; font-size: 10px; color: var(--nude-deep); letter-spacing: .05em; }
.works__filter button:hover { border-color: var(--ink-40); }
.works__filter button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.works__filter button.is-on small { color: var(--greige); }

.works__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.work-tile { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) calc(var(--i) * 60ms), transform 1.2s var(--ease) calc(var(--i) * 60ms); }
.work-tile.is-in { opacity: 1; transform: none; }
.work-tile a { display: block; color: inherit; text-decoration: none; }
.work-tile__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--greige); }
.work-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; }
.work-tile__img::after {
  content: "View"; position: absolute; inset: auto 14px 14px auto; font-family: var(--latin); font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--paper); background: rgba(36, 36, 35, .55); padding: 8px 14px; border-radius: 99px; opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .6s var(--ease);
}
.work-tile a:hover .work-tile__img img, .work-tile.is-hover .work-tile__img img { transform: scale(1.05); }
.work-tile a:hover .work-tile__img::after, .work-tile.is-hover .work-tile__img::after { opacity: 1; transform: none; }
/* スマホ（指で操作する端末）では「VIEW」を出さない：画面中央の複数のタイルに同時に出てしまうため */
@media (hover: none) { .work-tile .work-tile__img::after { display: none; } }
.work-tile__cat { margin: 16px 0 6px; font-family: var(--latin); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--nude-deep); }
.work-tile__title { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.7; letter-spacing: .06em; }
@media (max-width: 1100px) { .works__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 12px; }
  .work-tile__title { font-size: 12.5px; }
  .works__filter button { padding: 8px 14px; letter-spacing: .14em; }
}

/* 詳細（全画面の重ね表示） */
body.modal-open { overflow: hidden; }
.work-modal { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.work-modal.is-open { visibility: visible; pointer-events: auto; }
.work-modal__bg { position: absolute; inset: 0; background: rgba(36, 36, 35, .55); opacity: 0; transition: opacity .6s; }
.work-modal.is-open .work-modal__bg { opacity: 1; }
.work-modal__panel {
  position: absolute; inset: 0 0 0 auto; width: min(1180px, 92vw); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); transform: translateX(100%); transition: transform .9s var(--ease);
}
.work-modal.is-open .work-modal__panel { transform: none; }
.work-modal__close { position: sticky; top: 22px; float: right; margin: 22px 22px -74px 0; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.work-modal__close span { position: absolute; left: 15px; right: 15px; top: 50%; height: 1px; background: var(--ink); transform: rotate(45deg); }
.work-modal__close span + span { transform: rotate(-45deg); }
.work-modal__body { padding: clamp(60px, 7vw, 100px) clamp(24px, 6vw, 90px) 80px; }
.work-detail__main { display: grid; grid-template-columns: minmax(260px, 1fr) 1.9fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.work-detail__head { position: sticky; top: 40px; }
.work-detail__cat { margin: 0 0 18px; font-family: var(--latin); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--nude-deep); }
.work-detail__cat span { margin-left: 12px; font-family: inherit; letter-spacing: .1em; }
.work-detail__title { margin: 0 0 30px; font-size: clamp(20px, 1.9vw, 27px); font-weight: 400; line-height: 1.6; letter-spacing: .08em; }
.work-detail__meta { margin: 0 0 30px; border-top: 1px solid var(--line); }
.work-detail__meta div { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.work-detail__meta dt { width: 64px; font-family: var(--latin); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--nude-deep); padding-top: 3px; }
.work-detail__meta dd { margin: 0; }
.work-detail__intro { margin: 0 0 30px; font-size: 14px; line-height: 2.1; color: var(--ink-70); }
.work-detail__label { margin: 0 0 12px; font-family: var(--display); font-size: 22px; }
.work-detail__label span { margin-left: 12px; font-family: inherit; font-size: 12px; color: var(--nude-deep); letter-spacing: .1em; }
.work-detail__points ol { margin: 0; padding: 0; list-style: none; counter-reset: p; }
.work-detail__points li { counter-increment: p; position: relative; padding: 0 0 14px 34px; font-size: 13.5px; line-height: 1.95; color: var(--ink-70); }
.work-detail__points li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--display); font-size: 15px; color: var(--nude-deep); }
.work-detail__project { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.work-detail__project .work-detail__label span { display: block; margin: 8px 0 0; font-size: 13px; color: var(--ink); letter-spacing: .08em; }
.work-detail__pintro { margin: 0 0 18px; font-size: 12.5px; line-height: 2; color: var(--ink-70); }
.work-detail__related { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px 10px; }
.work-detail__related a { display: block; color: inherit; text-decoration: none; font-size: 11px; line-height: 1.6; letter-spacing: .04em; }
.work-detail__related span { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 6px; background: var(--greige); }
.work-detail__related img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-detail__related a:hover img { transform: scale(1.05); }
.work-detail__gallery { display: grid; gap: 18px; }
.work-detail__gallery figure { margin: 0; background: var(--greige); }
.work-detail__gallery img { display: block; width: 100%; height: auto; }
.work-detail__nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 30px; }
.work-detail__nav a { padding: 28px 0; color: inherit; text-decoration: none; font-size: 13px; letter-spacing: .06em; }
.work-detail__nav a + a { text-align: right; border-left: 1px solid var(--line); }
.work-detail__nav small { display: block; margin-bottom: 6px; font-family: var(--latin); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--nude-deep); }
@media (max-width: 800px) {
  .work-modal__panel { width: 100vw; }
  .work-modal__body { padding-top: 30px; }
  .work-detail__main { grid-template-columns: 1fr; }
  .work-detail__head { position: static; }
  .work-modal__close { top: 14px; margin: 14px 14px -60px 0; width: 46px; height: 46px; }
  .work-modal__close span { left: 13px; right: 13px; }
}
/* 募集要項：ボタンはカードの下端にそろえ、カード幅いっぱいに */
.req__box { display: flex; flex-direction: column; }
.req__box .req__btn { margin-top: auto; width: 100%; justify-content: center; }
.req__box dl { margin-bottom: 40px; }

/* 制作実績の個別ページ（works/〇〇.html） */
.work-page { padding-top: clamp(140px, 15vw, 200px); max-width: 1320px; margin: 0 auto; }
.work-page .crumb { margin: 0 0 40px; }
.work-page__back { margin: 50px 0 0; text-align: center; }

/* スマホ：「その他の事業」カードの英字が枠からはみ出して横スクロールが出るのを防ぐ */
.other { overflow: hidden; }
.other__label { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .other__label { left: 10px; right: 10px; bottom: 10px; }
  .other__label b { font-size: 16px; line-height: 1.2; margin-bottom: 4px; }
  .other__label small { font-size: 10px; letter-spacing: .06em; }
}
