.link-sp { position: relative; width: 100%; background: #fff; color: var(--color-text); font-family: var(--font-sans); overflow: hidden; overflow: clip; /* clip：スクロール連動のCSSアニメーション（motion.css）がページのスクロールを拾えるよう、スクロール領域にしない */ }
.link-sp p, .link-sp h1, .link-sp h2, .link-sp ul, .link-sp figure { margin: 0; padding: 0; font-weight: 400; }
.link-sp ul { list-style: none; }
.link-sp img { max-width: 100%; height: auto; }
html.is-sp-locked, html.is-sp-locked body { overflow: hidden; }
@media screen and (max-width: 1024px) {
  html { scroll-behavior: smooth; scroll-padding-top: var(--sp-header-h); }
}

/* 中身の最大幅（タブレットで間延びさせない） */
.sp-sec, .sp-info-h2, .sp-info-foot, .sp-space > * { width: 100%; max-width: var(--sp-content-max); margin-left: auto; margin-right: auto; }
.sp-sec { padding-left: var(--sp-gutter); padding-right: var(--sp-gutter); }

/* ---------- 固定ヘッダー（仮）---------- */
.sp-header { position: fixed; z-index: 50; left: 0; top: 0; width: 100%; height: var(--sp-header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 var(--sp-gutter); background: transparent; transition: background-color .3s, box-shadow .3s; }
.sp-header.is-scrolled { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 rgba(26,19,17,.08); }
.sp-header-logo { display: flex; align-items: center; gap: 8px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.sp-header.is-scrolled .sp-header-logo { opacity: 1; visibility: visible; }
.sp-header-logo img:first-child { width: 22px; }
.sp-header-logo img:last-child { width: 62px; }
.is-menu-open .sp-header-logo { opacity: 1; visibility: visible; }
.is-menu-open .sp-header { background: transparent; box-shadow: none; }

.sp-menu-btn { position: relative; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sp-menu-btn span { position: absolute; left: 13px; width: 22px; height: 1.5px; background: var(--color-text); transition: transform .3s, opacity .3s, top .3s; }
.sp-menu-btn span:nth-child(1) { top: 17px; }
.sp-menu-btn span:nth-child(2) { top: 23.5px; }
.sp-menu-btn span:nth-child(3) { top: 30px; }
.is-menu-open .sp-menu-btn span:nth-child(1) { top: 23.5px; transform: rotate(35deg); }
.is-menu-open .sp-menu-btn span:nth-child(2) { opacity: 0; }
.is-menu-open .sp-menu-btn span:nth-child(3) { top: 23.5px; transform: rotate(-35deg); }
.sp-menu-btn:focus-visible { outline: 2px solid var(--color-teal); outline-offset: -4px; }

/* ---------- ドロワー（仮）---------- */
.sp-drawer { position: fixed; z-index: 40; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: var(--sp-header-h) calc(var(--sp-gutter) + 16px) 40px; background: var(--color-bg-info); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto; }
.is-menu-open .sp-drawer { opacity: 1; visibility: visible; }
.sp-drawer-nav { border-left: 2px solid var(--color-text); padding-left: 20px; }
.sp-drawer-nav a { display: flex; align-items: baseline; padding: 10px 0; }
.sp-drawer-nav .en { font-family: var(--font-en); font-weight: 500; font-size: 26px; line-height: 1.3; }
.sp-drawer-nav .ja { font-size: 12px; }
.sp-drawer-nav .ja::before { content: ":"; font-family: var(--font-en); padding: 0 6px 0 8px; }
.sp-drawer-tag { width: 230px; margin-top: 48px; }
.sp-drawer a, .sp-drawer-tag { transform: translateY(10px); transition: transform .45s; }
.is-menu-open .sp-drawer a, .is-menu-open .sp-drawer-tag { transform: none; }

/* ---------- Hero（仮）---------- */
.sp-hero { position: relative; padding-top: 20px; }
.sp-hero-pin { --sp-pin: calc(var(--sp-fv-h, 100vh) * 2.4); }/* 止まる距離ぶんの空き（sticky は親の padding の中までは動かないので、高さのある要素で作る） */
.sp-hero-pin::after { content: ""; display: block; height: var(--sp-pin); }
.sp-hero-pin { --sp-fv-extra: .25; }
.sp-hero-pin > .sp-hero { position: sticky; top: 0; height: calc(100vh * (1 + var(--sp-fv-extra))); height: calc(var(--sp-fv-h, 100lvh) * (1 + var(--sp-fv-extra))); overflow: hidden; }
.sp-hero-brand { position: relative; z-index: 2; display: flex; align-items: flex-start; gap: 14px; padding: 0 var(--sp-gutter); max-width: var(--sp-content-max); margin: 0 auto; }
.sp-hero-mark { width: clamp(56px, 16vw, 96px); }
.sp-hero-txt { padding-top: clamp(14px, 4.4vw, 26px); }
.sp-hero-word { width: clamp(96px, 28vw, 168px); }
.sp-tag1 { margin-top: 10px !important; font-family: var(--font-en); font-weight: 400; font-size: clamp(10px, 2.9vw, 16px); letter-spacing: 0.02em; line-height: 1.5; white-space: nowrap; }
.sp-tag2 { margin-top: 2px !important; font-family: var(--font-en); font-weight: 400; font-size: clamp(9px, 2.4vw, 13px); line-height: 1.5; white-space: nowrap; }
/* 縦書きキャッチ（PCと同じく右上・白地の上） */
.sp-catch { position: absolute; z-index: 3; right: calc(var(--sp-gutter) - 4px); top: calc(var(--sp-header-h) + 6px); writing-mode: vertical-rl; font-family: var(--font-serif); font-weight: 300; font-size: clamp(17px, 4.8vw, 26px); line-height: 1.5; letter-spacing: 0.14em; }
.sp-catch > span { display: block; }
.sp-catch > span + span { padding-top: 1em; } /* 2行目を1字下げ（PCの空行に相当） */
.sp-hero-photo { position: absolute; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.sp-hero-photo img { position: absolute; left: 0; top: 0; width: 100%; height: var(--sp-fv-h, 100lvh); max-width: none; object-fit: cover; object-position: 30% 60%; }
.sp-hero-photo .fv-movie { position: absolute; left: 0; top: 0; width: 100%; height: var(--sp-fv-h, 100lvh); max-width: none; object-fit: cover; object-position: 50% 50%; background: #e9e6e0; }
/* 波形：PCと同じ XD の白い図形「合体 1」を画面いっぱいに伸縮して重ねる（形は motion.js がスクロールに合わせて変える） */
.sp-hero-photo .fv-wave { position: absolute; left: 0; top: 0; width: 100%; height: var(--sp-fv-h, 100lvh); }

/* ---------- 共通見出し ---------- */
.sp-h2 { white-space: nowrap; line-height: 1.2; }
.sp-h2 .en { font-family: var(--font-en); font-weight: 500; font-size: var(--sp-h2-en); }
.sp-h2 .ja { font-family: var(--font-sans); font-weight: 300; font-size: var(--sp-h2-ja); }
.sp-h2 .ja::before { content: ":"; font-family: var(--font-en); padding: 0 6px 0 8px; }
.link-sp .sp-concept { padding-top: 64px; padding-bottom: 64px; }
.sp-concept-title { margin-top: 32px !important; font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 6.2vw, 34px); line-height: 1.4; letter-spacing: .04em; }
.sp-concept-sub { margin-top: 10px !important; font-family: var(--font-serif); font-size: clamp(14px, 4vw, 18px); line-height: 1.8; }
.sp-concept-body { margin-top: 28px; padding-left: 18px; border-left: 1px solid #819798; }
.sp-concept-body p { font-family: var(--font-serif); font-size: var(--sp-body); line-height: 2.1; text-align: justify; font-feature-settings: "palt"; letter-spacing: .04em; }
.sp-concept-body p + p { margin-top: 1.6em; }

/* ---------- Information ---------- */
.sp-info { background: var(--color-bg-info); padding: 48px 0 44px; }
.link-sp .sp-info-h2 { padding: 0 var(--sp-gutter) 24px; }
.sp-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--sp-gutter) 6px; scroll-padding: 0 var(--sp-gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: var(--sp-content-max); margin: 0 auto; }
.sp-cards::-webkit-scrollbar { display: none; }
.sp-card { flex: 0 0 min(82%, 340px); scroll-snap-align: start; display: block; background: #fff; border-radius: 20px; padding: 14px 14px 16px; }
.sp-card-img { display: block; aspect-ratio: 321 / 215; border-radius: 12px; overflow: hidden; }
.sp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sp-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.sp-card-date { font-family: var(--font-serif); font-size: 14px; color: var(--color-teal); }
.sp-card-new { width: 26px; height: 26px; border-radius: 50%; background: var(--color-teal-dot); color: #fff; font-family: var(--font-en); font-size: 7px; line-height: 26px; text-align: center; }
.sp-card-title { display: block; margin-top: 6px; font-family: var(--font-sans); font-weight: 300; font-size: 14px; line-height: 1.8; }
.sp-card-tag { display: block; margin-top: 8px; text-align: right; font-family: var(--font-serif); font-size: 12px; color: var(--color-teal); }
.sp-info-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px !important; padding: 0 var(--sp-gutter); }
.sp-dots { display: flex; gap: 9px; }
.sp-dots li { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #9aa; transition: background-color .3s, border-color .3s; }
.sp-dots li.is-on { background: var(--color-teal-dot); border-color: var(--color-teal-dot); }
.sp-viewall { position: relative; display: block; width: 200px; height: 44px; background: var(--color-teal-deep); color: #fff; font-family: var(--font-en); font-weight: 400; font-size: 17px; line-height: 44px; text-align: center; letter-spacing: 0.02em; }
.sp-viewall::after { content: ""; position: absolute; right: 14px; top: 15px; border-left: 7px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ---------- Experience ---------- */
.sp-exp { padding-top: 60px; padding-bottom: 40px; }
.sp-exp-lead { margin: 28px 0 44px !important; font-size: var(--sp-body); line-height: 2.1; }
.sp-exp-item { margin-bottom: 56px; }
.sp-exp-photos { position: relative; padding-bottom: 26%; }
.sp-exp-img { position: relative; width: 88%; aspect-ratio: 687 / 447; border-radius: 16px; overflow: hidden; }
.sp-exp-img img { width: 100%; height: 100%; object-fit: cover; }
.sp-exp-deco { position: absolute; bottom: 0; width: 46%; aspect-ratio: 383 / 258; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 5px #fff; }
.sp-exp-deco img { width: 100%; height: 100%; object-fit: cover; }
.sp-exp-deco--tall { width: 32%; aspect-ratio: 267 / 380; }
.sp-exp-item--r .sp-exp-img { margin-left: auto; }
.sp-exp-item--r .sp-exp-deco { left: 0; }
.sp-exp-item--l .sp-exp-deco { right: 0; }
.sp-exp-item--l .sp-exp-photos { padding-bottom: 30%; }
.sp-exp-txt { margin-top: 20px; padding-left: 14px; border-left: 5px solid var(--bar); font-size: var(--sp-small); line-height: 1.85; }
.sp-exp-txt strong { display: block; margin-bottom: 4px; font-weight: 700; font-size: 17px; line-height: 1.6; }
.sp-exp-txt span { display: block; padding-left: 10px; text-indent: -10px; }
.sp-exp-txt .dot { width: 5px; height: 5px; margin-right: 5px; text-indent: 0; }

/* ---------- Space ---------- */
.sp-space { background: var(--color-bg-space); padding: 56px 0 64px; }
.sp-space .sp-h2 { padding: 0 var(--sp-gutter); margin-bottom: 28px; }
.link-sp .sp-space-fig { padding: 0 0 0 var(--sp-gutter); }
.sp-space-photo { aspect-ratio: 1068 / 753; overflow: hidden; border-radius: 16px 0 0 16px; }
.sp-space-photo img { width: 100%; height: 100%; object-fit: cover; }
.sp-space-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 14px; padding-right: var(--sp-gutter); font-size: 15px; line-height: 1.7; }
.sp-space-cap .no, .sp-space-list .no { font-family: var(--font-en); font-weight: 500; font-size: 22px; }
.sp-space-cap .tx { flex-basis: 100%; font-size: 13px; white-space: pre-line; }
.sp-space-guide { margin-top: 36px !important; padding: 0 var(--sp-gutter); }
.sp-space-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13px; line-height: 1.5; }
.sp-space-list li { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(26,19,17,.15); }
.sp-space-list .no { font-size: 18px; }
.sp-floor { display: block; width: 100%; max-width: 420px; height: auto; margin: 32px auto 0; overflow: visible; }

/* ---------- About / Footer ---------- */
.sp-about { padding-top: 60px; padding-bottom: 80px; }
.sp-foot-brand { display: flex; align-items: flex-end; gap: clamp(20px, 7vw, 48px); margin-top: 32px; }
.sp-foot-logo { width: clamp(72px, 22vw, 120px); flex: none; }
.sp-foot-tag { width: min(100%, 300px); min-width: 0; padding-bottom: 4px; }
.sp-address { margin-top: 36px; font-style: normal; font-size: 13px; line-height: 2; }
.sp-address a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(26,19,17,.3); }
.sp-foot-nav { margin-top: 36px; padding-left: 16px; border-left: 2px solid var(--color-text); }
.sp-foot-nav a { display: flex; align-items: baseline; padding: 6px 0; }
.sp-foot-nav .en { font-family: var(--font-en); font-weight: 400; font-size: 15px; }
.sp-foot-nav .ja { font-size: 11px; }
.sp-foot-nav .ja::before { content: ":"; font-family: var(--font-en); padding: 0 5px 0 6px; }
.sp-copy { margin-top: 12px !important; font-family: var(--font-en); font-weight: 300; font-size: 10px; }

/* ページトップ */
.sp-pagetop { position: fixed; z-index: 30; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 44px; height: 44px; border-radius: 50%; background: var(--color-teal-deep); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.sp-pagetop::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-top: 1.5px solid #fff; border-left: 1.5px solid #fff; transform: translate(-50%, -25%) rotate(45deg); }
.sp-pagetop.is-show { opacity: .92; visibility: visible; }
.is-menu-open .sp-pagetop { opacity: 0; visibility: hidden; }

/* フェードイン・FVの出現は motion.css に移動 */
.sp-foot-nav a.foot-insta { display: inline-flex; width: 26px; height: 26px; margin-top: 10px; padding: 0; color: var(--color-text); }
.sp-foot-nav a.foot-insta svg { width: 100%; height: 100%; }
.sp-bank { display: block; width: 170px; margin-top: 36px; line-height: 0; }
.sp-bank img { display: block; width: 100%; height: auto; }
