/* FUNshion corporate site — 見本 */
:root {
  --ink: #181818;
  --sub: #6f6a63;
  --faint: #a9a49c;
  --line: #e7e4df;
  --bg: #ffffff;
  --fun: #A66A74; /* JS がページを開くたびに 4 色から選ぶ（ニュアンスカラー。原色と深い緑は使わない） */
  --w: 1120px;
  --en: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--en), var(--ja); font-weight: 300;
  font-size: 15px; line-height: 1.9; letter-spacing: .02em;
}
html[lang="ja"] body { font-family: var(--ja); letter-spacing: .06em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* 言語の切り替え：両方の文を持ち、選んだほうだけ見せる */
html[lang="ja"] [lang="en"]:not(html), html[lang="ja"] [lang="es"]:not(html),
html[lang="en"] [lang="ja"]:not(html), html[lang="en"] [lang="es"]:not(html),
html[lang="es"] [lang="ja"]:not(html), html[lang="es"] [lang="en"]:not(html) { display: none !important; }
.en { font-family: var(--en); }

/* ロゴ */
.logo { display: block; width: 100%; height: auto; }
.logo .fun { stroke: var(--fun); transition: stroke .6s ease; }
.logo .shion { stroke: var(--ink); }

/* ヘッダー */
.hd {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px clamp(16px, 4vw, 48px);
  font-family: var(--en); font-size: 13px; letter-spacing: .12em;
}
.hd .mark { width: 112px; visibility: hidden; }
.hd.solid .mark { visibility: visible; }
.hd nav { display: flex; gap: clamp(16px, 3vw, 36px); align-items: center; }
.hd nav a:hover { color: var(--fun); }
.lang { display: flex; gap: 6px; color: var(--faint); }
.lang button {
  font: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0;
  color: var(--faint); cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--ink); }

/* 冒頭 */
.hero {
  min-height: 88vh; min-height: 88svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 16px 64px; text-align: center;
}
.hero .logo-btn { background: none; border: 0; padding: 0; cursor: pointer; width: min(560px, 78vw); }
.hero .tag {
  margin-top: 36px; font-family: var(--en); font-size: 13px; letter-spacing: .32em; color: var(--sub);
}
.hero .tag b { font-weight: 400; color: var(--fun); transition: color .6s ease; }
.hero .place { margin-top: 10px; font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--faint); }

/* 共通の段 */
.sec {
  max-width: var(--w); margin: 0 auto;
  padding: clamp(72px, 12vw, 140px) clamp(16px, 4vw, 48px) 0;
  display: grid; grid-template-columns: 220px 1fr; gap: 24px 48px;
}
.sec > h2 {
  margin: 0; font-family: var(--en); font-weight: 400; font-size: 13px; letter-spacing: .24em; color: var(--sub);
}
html[lang="ja"] .sec > h2 { font-family: var(--ja); letter-spacing: .2em; }
.sec > .body { min-width: 0; }

.statement { margin: 0; font-size: clamp(22px, 3vw, 32px); line-height: 1.75; font-weight: 300; letter-spacing: .04em; }
html[lang="ja"] .statement { font-size: clamp(20px, 2.6vw, 28px); line-height: 2; letter-spacing: .12em; }
.lead { margin: 32px 0 0; color: var(--sub); max-width: 34em; }
.name-note { margin-top: 28px; font-size: 13px; color: var(--sub); }
.name-note .fun-word { color: var(--fun); font-family: var(--en); font-weight: 400; letter-spacing: .08em; transition: color .6s ease; }

/* 事業 */
.biz { list-style: none; margin: 0; padding: 0; }
.biz li { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px 24px; padding: 32px 0; border-top: 1px solid var(--line); align-items: baseline; }
.biz li:last-child { border-bottom: 1px solid var(--line); }
.biz .no { font-family: var(--en); font-size: 13px; color: var(--fun); letter-spacing: .1em; transition: color .6s ease; }
.biz h3 { margin: 0; font-size: 18px; font-weight: 400; letter-spacing: .08em; }
.biz p { margin: 8px 0 0; color: var(--sub); font-size: 14px; }
.biz .people { margin-top: 12px; font-size: 12px; color: var(--faint); letter-spacing: .1em; }
.biz .go { font-family: var(--en); font-size: 12px; letter-spacing: .16em; color: var(--sub); white-space: nowrap; }
.biz a.go:hover { color: var(--fun); }
.biz .soon { color: var(--faint); }

/* これまでの仕事 */
.work + .work { margin-top: 96px; }
.work .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work .pics .wide { grid-column: 1 / -1; }
.work .pics img { width: 100%; height: auto; background: #f5f4f2; }
.work h3 { margin: 32px 0 0; font-size: 18px; font-weight: 400; letter-spacing: .08em; }
.work h3 .en { font-size: 13px; letter-spacing: .2em; color: var(--sub); margin-left: 12px; }
.credit { display: grid; grid-template-columns: max-content 1fr; gap: 2px 24px; margin: 16px 0 0; font-size: 13px; }
.credit dt { color: var(--faint); }
.credit dd { margin: 0; }
.works-note { margin: 0 0 48px; font-size: 13px; color: var(--sub); }

/* 会社概要 */
.co { display: grid; grid-template-columns: 140px 1fr; margin: 0; }
.co dt, .co dd { padding: 16px 0; border-top: 1px solid var(--line); margin: 0; }
.co dt { color: var(--sub); font-size: 13px; }
.co dt:last-of-type, .co dd:last-of-type { border-bottom: 1px solid var(--line); }

/* お問い合わせ */
.btn {
  display: inline-block; margin-top: 28px; padding: 14px 40px;
  border: 1px solid var(--ink); font-size: 13px; letter-spacing: .2em;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--fun); border-color: var(--fun); color: #fff; }

/* フッター */
.ft {
  max-width: var(--w); margin: clamp(96px, 14vw, 160px) auto 0;
  padding: 40px clamp(16px, 4vw, 48px) 48px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--en); font-size: 11px; letter-spacing: .16em; color: var(--faint);
}
.ft .mark { width: 96px; }
.ft nav { display: flex; gap: 24px; }

/* ストーリー */
.page-title { padding: 160px clamp(16px, 4vw, 48px) 0; max-width: var(--w); margin: 0 auto; }
.page-title h1 { margin: 0; font-weight: 300; font-size: clamp(28px, 4vw, 40px); letter-spacing: .12em; }
.page-title p { margin: 20px 0 0; color: var(--sub); max-width: 34em; }
.era { max-width: var(--w); margin: 0 auto; padding: clamp(80px, 11vw, 128px) clamp(16px, 4vw, 48px) 0; display: grid; grid-template-columns: 220px 1fr; gap: 24px 48px; }
.era .year { font-family: var(--en); font-size: clamp(32px, 4vw, 48px); font-weight: 300; line-height: 1; color: var(--fun); letter-spacing: .04em; transition: color .6s ease; }
.era .year small { display: block; margin-top: 12px; font-size: 12px; letter-spacing: .2em; color: var(--faint); }
.era h2 { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: .08em; }
.era p { margin: 16px 0 0; color: var(--sub); max-width: 36em; }
.era .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.era .pics.three { grid-template-columns: repeat(3, 1fr); }
.era .pics img { width: 100%; height: auto; }
.quote {
  margin: 32px 0 0; padding: 0; font-size: 15px; line-height: 2.2; letter-spacing: .08em; color: var(--ink);
}
.quote figcaption { margin-top: 12px; font-size: 12px; color: var(--faint); }
.logo-pair { display: flex; gap: 48px; align-items: flex-end; margin-top: 40px; flex-wrap: wrap; }
.logo-pair figure { margin: 0; }
.logo-pair figcaption { margin-top: 10px; font-size: 12px; color: var(--faint); }
.logo-pair .old img { width: 150px; }
.logo-pair .new img { width: 200px; }
.profile { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.profile img { width: 100%; height: auto; }
.profile h3 { margin: 0; font-weight: 400; font-size: 18px; letter-spacing: .1em; }
.profile h3 small { display: block; font-size: 12px; color: var(--faint); letter-spacing: .16em; margin-bottom: 6px; }

/* タブレット・スマホ */
@media (max-width: 860px) {
  .sec, .era { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .hd { padding: 20px 16px; }
  .hd nav { gap: 14px; font-size: 12px; }
  .hd .mark { width: 88px; }
  .biz li { grid-template-columns: 40px 1fr; }
  .biz .go { grid-column: 2; }
  .work .pics, .era .pics, .era .pics.three { grid-template-columns: 1fr; }
  .co { grid-template-columns: 96px 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile img { max-width: 220px; }
  .ft { flex-direction: column; align-items: flex-start; }
}

/* ===== ネオンの一枚（写真の代わり）：ロゴをウォーホルのように色違いで並べ、ネオン管のように灯す ===== */
.about-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.about-text { grid-column: 1; grid-row: 1; min-width: 0; }
.neon {
  grid-column: 2; grid-row: 1; margin: 0;
  aspect-ratio: 4 / 5;
  background: radial-gradient(120% 90% at 50% 40%, #1d1a1f 0%, #0e0d0f 72%);
  display: flex; align-items: center; justify-content: center;
  padding: 10% 9%;
}
.neon-grid {
  width: 100%;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2.2vw, 22px) clamp(12px, 2vw, 20px);
}
.neon-cell {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  opacity: .07; /* 消えている管も、うっすら見える */
}
.neon-cell svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 1px var(--g1)) drop-shadow(0 0 4px var(--g1)) drop-shadow(0 0 11px var(--g2)); }
.neon-cell.lit { opacity: 1; animation: neon-on 1.1s steps(1, end) both; animation-delay: var(--d, 0s); }
.neon-cell.flick { animation: neon-flick .7s steps(1, end); }
@keyframes neon-on {
  0% { opacity: .07; } 12% { opacity: .9; } 18% { opacity: .1; } 30% { opacity: 1; } 38% { opacity: .25; } 46% { opacity: 1; } 100% { opacity: 1; }
}
@keyframes neon-flick {
  0% { opacity: 1; } 15% { opacity: .3; } 25% { opacity: 1; } 40% { opacity: .15; } 55% { opacity: 1; } 100% { opacity: 1; }
}
@media (max-width: 1000px) {
  .about-body { grid-template-columns: 1fr; }
  .about-text, .neon { grid-column: 1; grid-row: auto; }
  .neon { width: 100%; max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .neon-cell.lit, .neon-cell.flick { animation: none; opacity: 1; }
}
/* ネオンの一枚と並ぶときは、宣言文を少し小さく。日本語は行の途中で折り返さない */
.about-text .statement { font-size: clamp(20px, 2.2vw, 28px); }
html[lang="ja"] .about-text .statement { font-size: clamp(17px, 1.75vw, 23px); white-space: nowrap; }
@media (max-width: 380px) { html[lang="ja"] .about-text .statement { white-space: normal; } }
/* 調整：一枚を少し小さく、文を先に。スマホでは管どうしの間をあける */
@media (min-width: 1001px) { .about-body { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); } }
html[lang="ja"] .about-text .statement { font-size: clamp(16px, 1.5vw, 20px); }
.about-text .statement { font-size: clamp(18px, 1.8vw, 24px); }
.neon-grid { column-gap: clamp(18px, 3vw, 24px); }
@media (max-width: 1000px) {
  .about-text { order: 1; }
  .neon { order: 2; max-width: 360px; }
}
/* 宣言文は、ことばの切れ目でだけ折り返す（nowrap はやめる） */
html[lang="ja"] .about-text .statement { white-space: normal; }
.statement .ph { display: inline-block; }

/* ===== 冒頭：これまでの作品を壁に飾るように並べる ===== */
.pop-hero { min-height: 0; padding: 140px clamp(16px, 4vw, 48px) 0; }
.pop-hero .logo-btn { width: min(440px, 72vw); }
.pop-hero .tag { margin-top: 24px; }
.wall {
  width: 100%; max-width: 1240px; margin: clamp(64px, 9vw, 112px) auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(36px, 5vw, 64px) clamp(24px, 3.4vw, 48px);
  text-align: left;
}
.work-piece { margin: 0; flex: 0 0 auto; width: var(--w); }
.work-piece:nth-child(3n+2) { margin-top: clamp(24px, 4vw, 56px); }   /* 高さを少しずつずらして、壁に掛けたように */
.work-piece:nth-child(4n) { margin-top: calc(-1 * clamp(12px, 2vw, 28px)); }
.work-piece img { display: block; width: 100%; height: auto; }
.work-piece figcaption { margin-top: 10px; font-size: 11px; line-height: 1.7; letter-spacing: .1em; color: var(--sub); }
.work-piece figcaption small { font-size: 10px; color: var(--faint); }
.work-piece .neon { aspect-ratio: 4 / 5; padding: 12% 9%; }
.kb-box { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 0 12%; border: 1px solid var(--line); }
@media (max-width: 760px) {
  .wall { justify-content: space-between; gap: 32px 16px; }
  .work-piece { width: calc(50% - 8px) !important; margin-top: 0 !important; }
  .work-piece:nth-child(2), .work-piece:nth-child(4), .work-piece:nth-child(6) { width: 100% !important; }
}
/* スマホ：小さいものは 2 つずつ並べ、横長のものは 1 枚ずつ */
@media (max-width: 760px) {
  .wall { justify-content: center; }
  .work-piece { width: 100% !important; }
  .work-piece:nth-child(1) { order: 1; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(4) { order: 2; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(2) { order: 3; }
  .work-piece:nth-child(3) { order: 4; }
  .work-piece:nth-child(5) { order: 5; }
  .work-piece:nth-child(6) { order: 6; }
  .work-piece:nth-child(7) { order: 7; width: calc(50% - 8px) !important; }
}

/* ===== ホワイトキューブ：ページ全体を展示室に ===== */
:root { --bg: #ECECEA; --line: #D5D4D0; --sub: #5f5d59; --faint: #8f8c86; }
.wc-hero { min-height: 0; padding: 120px 0 0; overflow: hidden; display: block; text-align: left; }
.wc-logo { margin: 0; width: 104vw; margin-left: -2vw; }
.wc-logo .logo-btn { width: 100%; display: block; }
.wc-tag { margin: 18px clamp(16px, 4vw, 48px) 0 auto; text-align: right; font-family: var(--en); font-size: 13px; letter-spacing: .3em; color: var(--sub); }
.wc-tag b { font-weight: 400; color: var(--fun); transition: color .6s ease; }
.wc-hero .wall { padding: 0 clamp(16px, 4vw, 48px); align-items: center; }
.wc-hero .work-piece:nth-child(n) { margin-top: 0; }
/* 美術館の壁の札：作品名、年と種類、ひとこと */
.work-piece figcaption.label { margin-top: 12px; font-size: 11px; line-height: 1.6; letter-spacing: .06em; color: var(--ink); }
.label b { display: block; font-weight: 400; font-size: 12px; }
.label .meta, .label .note { display: block; color: var(--faint); }
.label .note { margin-top: 2px; }
.kb-box { background: #fff; border: 0; }
.hd { font-size: 12px; }
/* ロゴのはみ出しは少しだけ（F の縦線が見えるように） */
.wc-logo { width: 102vw; margin-left: -1vw; }
/* スマホの並び（作品 6 つ）：ロゴとネオンを 2 つ並べ、ほかは 1 枚ずつ */
@media (max-width: 760px) {
  .work-piece:nth-child(n) { order: 0; width: 100% !important; }
  .work-piece:nth-child(1) { order: 1; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(4) { order: 2; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(2) { order: 3; }
  .work-piece:nth-child(3) { order: 4; }
  .work-piece:nth-child(5) { order: 5; }
  .work-piece:nth-child(6) { order: 6; width: calc(50% - 8px) !important; }
}
/* スマホの並び（作品 5 つ）：ロゴとネオンを 2 つ並べ、写真は 1 枚ずつ、KABÉ は半分 */
@media (max-width: 760px) {
  .work-piece:nth-child(n) { order: 0; width: 100% !important; }
  .work-piece:nth-child(1) { order: 1; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(3) { order: 2; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(2) { order: 3; }
  .work-piece:nth-child(4) { order: 4; }
  .work-piece:nth-child(5) { order: 5; width: calc(50% - 8px) !important; }
}
/* 壁もファッションのロゴ：文字の形だけを使い、色は FUN とは別の色（混ざらないように、4 色のうち反対側の色） */
.kabemo {
  width: 100%; aspect-ratio: 817 / 1235; background: var(--kabemo, var(--fun)); transition: background .6s ease;
  -webkit-mask: url("img/kabemo-logo-type.png") center / contain no-repeat;
          mask: url("img/kabemo-logo-type.png") center / contain no-repeat;
}
.logo-pair .old .kabemo { width: 150px; }
/* 代表の写真は横長（切りぬかない）。写真を上に大きく、文はその下に */
.profile { grid-template-columns: 1fr; gap: 28px; }
.profile img { width: 100%; max-width: 720px; height: auto; }
@media (max-width: 600px) { .profile img { max-width: 100%; } }
/* スマホの並び（作品 8 つ）：縦長と小さいものは 2 つずつ、横長は 1 枚ずつ */
@media (max-width: 760px) {
  .work-piece:nth-child(n) { order: 0; width: 100% !important; }
  .work-piece:nth-child(1) { order: 1; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(4) { order: 2; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(2) { order: 3; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(7) { order: 4; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(3) { order: 5; }
  .work-piece:nth-child(5) { order: 6; }
  .work-piece:nth-child(6) { order: 7; }
  .work-piece:nth-child(8) { order: 8; width: calc(50% - 8px) !important; }
}


/* 準備中と Instagram を縦に重ねる */
.biz .go-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (max-width: 860px) { .biz .go-stack { grid-column: 2; flex-direction: row; align-items: baseline; gap: 20px; } }
/* 6 点のとき（スマホ）：壁もファッション＋ネオン、きもの＋KABÉ を 2 つずつ並べる */
@media (max-width: 760px) {
  .work-piece:nth-child(n) { order: 0; width: 100% !important; }
  .work-piece:nth-child(1) { order: 1; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(4) { order: 2; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(2) { order: 3; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(6) { order: 4; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(3) { order: 5; }
  .work-piece:nth-child(5) { order: 6; }
}

/* ===== トップ：写真から始める（2026-11-24 作り直し） ===== */
.home .hd .mark { visibility: visible; }
.ph-hero { min-height: 0; display: block; padding: 96px clamp(16px, 4vw, 48px) 0; text-align: left; }
.ph-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: min(100%, calc((100svh - 160px) * 2)); margin: 0 auto; }
.ph-row img { width: 100%; height: auto; }
.ph-hero .wc-tag { width: min(100%, calc((100svh - 160px) * 2)); margin: 14px auto 0; }
/* フォトセッション */
.session { padding: clamp(96px, 14vw, 180px) clamp(16px, 4vw, 48px) 0; }
.session-hd { max-width: 1000px; margin: 0 auto 32px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; }
.session-hd h2 { margin: 0; font-family: var(--en); font-weight: 300; font-size: clamp(22px, 3vw, 34px); letter-spacing: .14em; }
.session-hd p { margin: 0; font-size: 12px; letter-spacing: .1em; color: var(--sub); }
.diptych { max-width: 1000px; margin: 0 auto clamp(56px, 8vw, 110px); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.diptych figure, .session .single { margin: 0; }
.diptych figcaption { margin-top: 10px; font-family: var(--en); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--sub); }
.session .single { max-width: 497px; margin: 0 auto; }
/* これまでの作品の壁（トップの冒頭から、仕事の前へ移した） */
.wall-sec { padding: clamp(96px, 14vw, 180px) clamp(16px, 4vw, 48px) 0; }
.wall-sec .wall { align-items: center; }
.wall-sec .work-piece:nth-child(n) { margin-top: 0; }
@media (max-width: 760px) {
  .ph-hero { padding-top: 80px; }
  .ph-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; width: auto; margin: 0 calc(-1 * clamp(16px, 4vw, 48px)); padding: 0 16px; scrollbar-width: none; }
  .ph-row::-webkit-scrollbar { display: none; }
  .ph-row img { flex: 0 0 80vw; width: 80vw; scroll-snap-align: center; }
  .ph-row .ph-main { order: -1; }
  .ph-hero .wc-tag { width: auto; }
  .diptych { gap: 4px; }
  /* 作品 5 つ：壁もファッション＋ネオン、壁の本 2 点、KABÉ */
  .work-piece:nth-child(n) { order: 0; width: 100% !important; }
  .work-piece:nth-child(1) { order: 1; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(3) { order: 2; width: calc(50% - 8px) !important; }
  .work-piece:nth-child(2) { order: 3; }
  .work-piece:nth-child(4) { order: 4; }
  .work-piece:nth-child(5) { order: 5; width: calc(50% - 8px) !important; }
}

/* ===== トップ＝フォトセッション「TOKYO, in Kimono」（大きい 1 枚＋全部の小さい写真） ===== */
.ss { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding: 96px clamp(16px, 4vw, 48px) 0; text-align: left; max-width: 1240px; margin: 0 auto; }
.ss-main { margin: 0; }
.ss-next { display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.ss-main img { height: min(calc(100svh - 150px), 760px); width: auto; transition: opacity .35s ease; }
.ss-main img.is-fading { opacity: 0; }
.ss-hd h2 { margin: 0 0 14px; font-family: var(--en); font-weight: 300; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .14em; }
.ss-hd p { margin: 0; font-size: 12px; line-height: 2; letter-spacing: .1em; color: var(--sub); }
.ss-thumbs { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: 420px; }
.ss-thumb { padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .3s; outline-offset: 3px; }
.ss-thumb:hover, .ss-thumb[aria-current="true"] { opacity: 1; }
.ss-thumb[aria-current="true"] { outline: 1px solid var(--fun); }
.ss .wc-tag { margin: 28px 0 0; text-align: left; }
@media (max-width: 760px) {
  .ss { grid-template-columns: 1fr; padding-top: 80px; gap: 24px; }
  .ss-main img { height: auto; width: 100%; }
  .ss-thumbs { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 20px; }
}
/* 横長の写真もまざるので、大きい写真の枠は縦長の大きさで決め、写真はその中に収める（切りぬかない） */
.ss { --ssh: min(calc(100svh - 150px), 760px); }
.ss-main { width: calc(var(--ssh) * 2 / 3); height: var(--ssh); display: flex; align-items: flex-end; }
.ss-next { width: 100%; }
.ss-main img { height: auto; width: auto; max-width: 100%; max-height: var(--ssh); margin: 0 auto; }
.ss-thumbs { align-items: center; }
@media (max-width: 760px) {
  .ss-main { width: 100%; height: auto; }
  .ss-main img { max-height: 100%; }
}

/* 私たちについて：文と、青いきものの写真（切りぬかない） */
.about-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; }
.about-photo figcaption { margin-top: 8px; font-size: 11px; letter-spacing: .08em; color: var(--faint); }
@media (max-width: 1000px) { .about-split { grid-template-columns: 1fr; } }
.about-split .about-text { order: 1; }
.about-split .about-photo { order: 2; }

/* ===== 入口の壁：ロゴ（線が描かれる）＋いまの展示の札 ===== */
.home .hd .mark { visibility: hidden; }
.home .hd.solid .mark { visibility: visible; }
.entry { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; align-items: center; gap: 24px clamp(32px, 6vw, 96px); padding: 110px clamp(16px, 6vw, 96px) 40px; text-align: left; max-width: 1400px; margin: 0 auto; }
.entry-logo { margin: 0; width: min(100%, 720px); }
.entry-logo .logo-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.entry-label { align-self: center; border-left: 1px solid var(--line); padding-left: 24px; }
.entry-now { margin: 0 0 10px; font-family: var(--en); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
html[lang="ja"] .entry-now { font-family: var(--ja); letter-spacing: .16em; }
.entry-title { margin: 0 0 14px; font-family: var(--en); font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .12em; }
.entry-credit { margin: 0; font-size: 12px; line-height: 2; letter-spacing: .08em; color: var(--sub); }
.entry-go { display: inline-block; margin-top: 18px; font-size: 12px; letter-spacing: .14em; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.entry-go:hover { color: var(--fun); border-color: var(--fun); }
.entry-tag { grid-column: 1 / -1; margin: 0; text-align: right; }
/* 線が描かれて現れる（ネオン管が灯るように、静かに一度だけ） */
.logo.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fs-draw .9s cubic-bezier(.6,.05,.3,1) forwards; animation-delay: calc(var(--i) * .16s + .3s); }
.logo.draw .fun { stroke: var(--ink); transition: stroke .9s ease; }
.logo.draw.is-lit .fun { stroke: var(--fun); }
.logo.draw .shion { stroke: var(--ink); }
@keyframes fs-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .logo.draw path { animation: none; stroke-dashoffset: 0; } }
/* フォトセッションは入口の下から */
.ss { padding-top: clamp(48px, 8vw, 96px); }
@media (max-width: 760px) {
  .entry { min-height: 88svh; grid-template-columns: 1fr; grid-template-rows: auto; align-content: center; padding-top: 96px; gap: 40px; }
  .entry-label { padding-left: 16px; }
  .entry-tag { text-align: left; }
  .ss { padding-top: 24px; }
}

/* ===== メニューは上に置かず、左はしに縦に（展示室の壁の小さな案内のように） ===== */
.hd { justify-content: space-between; }
.side { position: fixed; left: clamp(12px, 1.6vw, 24px); top: 50%; transform: translateY(-50%); z-index: 6; display: flex; flex-direction: column; gap: 28px; }
.side a { writing-mode: vertical-rl; font-family: var(--en); font-size: 11px; letter-spacing: .26em; color: var(--sub); transition: color .3s; }
html[lang="ja"] .side a { font-family: var(--ja); letter-spacing: .3em; }
.side a:hover { color: var(--fun); }
@media (max-width: 760px) { .side { display: none; } }

/* ===== 項目ごとのページ（2026-11-25）：トップはロゴと考え方と目次だけ ===== */
.top .entry-main { min-width: 0; }
.top .top-words { margin-top: clamp(40px, 6vw, 72px); max-width: 36em; }
.top .top-words .lead { margin-top: 24px; font-size: 13px; }
.idx { align-self: center; display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--line); padding-left: 28px; }
.idx a { display: block; transition: color .3s; }
.idx a:hover { color: var(--fun); }
.idx-t { font-family: var(--en); font-size: clamp(15px, 1.4vw, 18px); letter-spacing: .14em; }
html[lang="ja"] .idx-t { font-family: var(--ja); letter-spacing: .2em; }
html[lang="ja"] .idx-t[translate="no"], .idx-t [translate="no"] { font-family: var(--en); letter-spacing: .14em; }
.idx-s { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .14em; color: var(--faint); }
.sub-body { max-width: var(--w); margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px) 0; }
.page-title .entry-credit { margin-top: 20px; }
.sub-ss { padding-top: clamp(40px, 6vw, 72px); }
.co-contact { margin-top: clamp(64px, 9vw, 112px); }
.co-contact p { margin: 0; }
.side a[aria-current="page"] { color: var(--fun); }
.ft nav { flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 760px) {
  .top .entry-main { order: 0; }
  .idx { padding-left: 16px; gap: 14px; }
}
.sub-ss { padding-top: 96px; }
.ss-hd h1 { margin: 0 0 16px; font-family: var(--en); font-weight: 300; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .14em; }
@media (max-width: 760px) { .sub-ss { padding-top: 80px; } .sub-ss .ss-side { display: contents; } .sub-ss .ss-hd { order: -1; } .sub-ss .ss-thumbs { margin-top: 0; } }
.era .pics.one { grid-template-columns: 1fr; }
.work-lead { margin: 16px 0 0; color: var(--sub); max-width: 34em; }
a.kb-box { transition: border-color .3s; }
a.kb-box:hover { border-color: var(--fun); }
/* 作品ページの壁（表紙・ネオン・KABÉ の 3 点）：スマホでは表紙を 1 枚、残り 2 つを並べる */
@media (max-width: 760px) {
  .wall-sec .work-piece:nth-child(n) { order: 0; width: calc(50% - 8px) !important; }
  .wall-sec .work-piece:nth-child(1) { width: 100% !important; }
}
.kb-photo { display: block; transition: opacity .3s; }
.kb-photo:hover { opacity: .85; }
/* 作品：写真と説明を 1 つずつ並べる */
.work-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 64px); align-items: start; }
.work-row + .work-row { margin-top: clamp(72px, 10vw, 120px); }
.work-pic { margin: 0; }
.work-pic img { width: 100%; height: auto; }
.work-row:nth-child(2) .work-pic { max-width: 320px; }
.work-text h3 { margin-top: 0; }
@media (max-width: 760px) { .work-row { grid-template-columns: 1fr; } }
.work-text .go { font-family: var(--en); font-size: 12px; letter-spacing: .16em; color: var(--sub); border-bottom: 1px solid var(--line); } .work-text .go:hover { color: var(--fun); }

/* ===== トップのロゴ：ネオンサイン 1 つ（線で描かれたあと、管が灯る） ===== */
.top .entry-logo .logo-btn {
  padding: clamp(28px, 5vw, 64px) clamp(24px, 5vw, 64px);
  background: radial-gradient(120% 110% at 50% 45%, #1d1a1f 0%, #0e0d0f 75%);
}
.top .logo.draw { overflow: visible; }
.top .logo.draw .shion { stroke: #FFE9D2; }
.top .logo.draw .fun { stroke: color-mix(in srgb, var(--fun) 50%, #fff); }
.top .logo.draw.is-lit .fun { stroke: color-mix(in srgb, var(--fun) 50%, #fff); }
.top .logo.draw.is-lit {
  filter: drop-shadow(0 0 1px #fff3e6) drop-shadow(0 0 5px var(--fun)) drop-shadow(0 0 14px var(--fun));
  animation: neon-on 1.1s steps(1, end) both;
}
@media (prefers-reduced-motion: reduce) { .top .logo.draw.is-lit { animation: none; } }
/* FUN だけが色で灯る。shion は消えた管のまま */
.top .logo.draw.is-lit { filter: none; animation: none; }
.top .logo.draw .shion { stroke: #4a444c; }
.top .logo.draw.is-lit .fun {
  filter: drop-shadow(0 0 1px #fff3e6) drop-shadow(0 0 5px var(--fun)) drop-shadow(0 0 14px var(--fun));
  animation: neon-on 1.1s steps(1, end) both;
}
@media (prefers-reduced-motion: reduce) { .top .logo.draw.is-lit .fun { animation: none; } }

/* ===== A 案：昼間のネオン。電気の入っていない管が壁に掛かり、FUN の管だけ色ガラス ===== */
.top .entry-logo .logo-btn { padding: 0; background: none; }
.top .logo.draw, .top .logo.draw.is-lit { filter: drop-shadow(5px 9px 4px rgba(45, 35, 35, .2)); animation: none; }
.top .logo.draw path { stroke-width: 5; }
.top .logo.draw .shion { stroke: #b3aca5; }
.top .logo.draw .fun, .top .logo.draw.is-lit .fun { stroke: color-mix(in srgb, var(--fun) 78%, #fff); filter: none; animation: none; }
.top .logo.draw .hl path { stroke: #fff; stroke-width: 1.3; opacity: .7; }
.top .logo.draw .hl { transform: translate(-.8px, -1px); }

/* ===== 見くらべ用：?logo=b（スポットライト＋いつもの線のロゴ）／?logo=c（スポットライト＋昼間のネオン） ===== */
.logo-b .top, .logo-c .top {
  background: radial-gradient(ellipse 46% 52% at 30% 30%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .35) 45%, rgba(255, 255, 255, 0) 75%);
}
.logo-b .top .logo.draw, .logo-b .top .logo.draw.is-lit { filter: none; }
.logo-b .top .logo.draw path { stroke-width: 4; }
.logo-b .top .logo.draw .shion { stroke: var(--ink); }
.logo-b .top .logo.draw .fun, .logo-b .top .logo.draw.is-lit .fun { stroke: var(--fun); }
.logo-b .top .logo.draw .hl { display: none; }

/* ===== D 案：雑誌の表紙のように。ロゴは題字として横いっぱい、目次は CONTENTS ===== */
.logo-d .top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); grid-template-rows: auto auto auto; gap: 0 clamp(32px, 6vw, 96px); align-content: start; padding-top: 96px; min-height: 0; }
.logo-d .top .entry-main { display: contents; }
.logo-d .top .entry-logo { grid-column: 1 / -1; width: 100%; max-width: none; padding: 0 0 clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--ink); }
.logo-d .top .logo.draw, .logo-d .top .logo.draw.is-lit { filter: none; }
.logo-d .top .logo.draw path { stroke-width: 3.2; }
.logo-d .top .logo.draw .shion { stroke: var(--ink); }
.logo-d .top .logo.draw .fun, .logo-d .top .logo.draw.is-lit .fun { stroke: var(--fun); }
.logo-d .top .logo.draw .hl { display: none; }
.logo-d .top .top-words { grid-column: 1; margin-top: clamp(40px, 6vw, 72px); }
.logo-d .top .idx { grid-column: 2; grid-row: 2; align-self: start; margin-top: clamp(40px, 6vw, 72px); border-left: 0; padding-left: 0; gap: 0; counter-reset: idx; }
.logo-d .top .idx::before { content: "CONTENTS"; display: block; padding-bottom: 12px; font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--sub); border-bottom: 1px solid var(--ink); }
.logo-d .top .idx a { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); counter-increment: idx; }
.logo-d .top .idx a::before { content: counter(idx, decimal-leading-zero); font-family: var(--en); font-size: 11px; letter-spacing: .12em; color: var(--fun); }
.logo-d .top .idx-s { display: none; }
.logo-d .top .entry-tag { grid-column: 1 / -1; grid-row: 3; margin-top: clamp(40px, 6vw, 72px); padding-top: 14px; border-top: 1px solid var(--line); text-align: left; }
@media (max-width: 760px) {
  .logo-d .top { grid-template-columns: 1fr; padding-top: 80px; }
  .logo-d .top .idx { grid-column: 1; grid-row: auto; }
}
/* D 案の手直し（決定）：ロゴの下の線なし、FUN × Fashion なし、考え方の文は横書きのまま */
body.logo-d:not(.logo-d0) .top .entry-logo { border-bottom: 0; padding-bottom: 0; }
body.logo-d:not(.logo-d0) .top .entry-tag { display: none; }
/* スマホ：考え方の文を 1 文 1 行に収める */
@media (max-width: 760px) {
  html[lang="ja"] .top .statement { font-size: min(4.5vw, 18px); letter-spacing: .04em; line-height: 2.1; }
  html[lang="ja"] .top .statement .ph { white-space: nowrap; }
}
/* 言葉の内訳（辞書の項目のように） */
.words { max-width: var(--w); margin: clamp(48px, 7vw, 80px) auto 0; padding: 0 clamp(16px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 5vw, 64px); }
.word { border-top: 1px solid var(--ink); padding-top: 14px; }
.word dt { font-family: var(--en); font-size: 18px; letter-spacing: .08em; }
.word dt .pr { margin-left: 10px; font-size: 12px; letter-spacing: .04em; color: var(--faint); }
.word dd { margin: 8px 0 0; font-size: 13px; line-height: 1.9; color: var(--sub); }
@media (max-width: 760px) { .words { grid-template-columns: 1fr; } }
/* トップの見た目の整え（2026-11-28）：考え方の 2 行はどの画面でも 1 文 1 行、目次の字は控えめに */
.top .top-words { max-width: none; }
.top .statement .ph { white-space: nowrap; }
@media (min-width: 761px) { html[lang="ja"] .top .statement { font-size: clamp(20px, 2vw, 25px); } }
.top .idx-t, html[lang="ja"] .top .idx-t { font-size: 15px; }
@media (max-width: 760px) { .top .idx-t, html[lang="ja"] .top .idx-t { font-size: 14px; } }
/* TOKYO, in Kimono：写真は 9 枚なので、小さい写真は 3 列（3 × 3）に */
.ss-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 330px; }
@media (max-width: 760px) { .ss-thumbs { grid-template-columns: repeat(9, minmax(0, 1fr)); max-width: none; } }
.page-title .notice { margin-top: 12px; font-size: 12px; color: var(--faint); }
/* 送信を受け付けたら、入力欄を隠して「受け付けました」だけを大きく見せる */
.cf.is-sent > *:not(.cf-done) { display: none !important; }
.cf.is-sent .cf-done { white-space: pre-line; margin: 0; padding: 48px 0; font-size: 16px; line-height: 2; color: var(--ink); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cf-send:disabled { opacity: .55; cursor: default; }
.words { grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 760px) { .words { grid-template-columns: 1fr; } }
/* 日本語の文が、意味の途中で切れないように（.nw のかたまりは途中で折り返さない） */
.nw { display: inline-block; }
html[lang="ja"] p { word-break: auto-phrase; }
/* Story『壁の本』の写真：表紙と誌面は横いっぱい、2 枚は並べる */
.kb-pics { grid-template-columns: 1fr 1fr; }
.kb-pics .pic { margin: 0; }
.kb-pics .pic.wide { grid-column: 1 / -1; }
.kb-pics .pic img { width: 100%; height: auto; }
.kb-pics figcaption { margin-top: 8px; font-size: 11px; line-height: 1.8; letter-spacing: .06em; color: var(--faint); }
@media (max-width: 600px) { .kb-pics { grid-template-columns: 1fr; } }
/* 小さい写真を押すと大きい写真が替わる（Story『壁の本』など。横の写真用） */
.gal { margin-top: 32px; }
.gal-main { margin: 0; }
.gal-next { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.gal-img { width: 100%; height: auto; aspect-ratio: 800 / 580; object-fit: contain; transition: opacity .3s ease; }
.gal-img.is-fading { opacity: 0; }
.gal-cap { min-height: 1.8em; margin-top: 8px; font-size: 11px; line-height: 1.8; letter-spacing: .06em; color: var(--faint); }
.gal-thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.gal-thumb { padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .3s; outline-offset: 3px; }
.gal-thumb img { width: 100%; height: auto; display: block; }
.gal-thumb:hover, .gal-thumb[aria-current="true"] { opacity: 1; }
.gal-thumb[aria-current="true"] { outline: 1px solid var(--fun); }
.era-photo { margin: 32px 0 0; max-width: 360px; } /* レタッチ前の写真なので、小さめに */
.era-photo img { width: 100%; height: auto; }
.era-photo figcaption { margin-top: 8px; font-size: 11px; letter-spacing: .06em; color: var(--faint); }
/* KABÉ の段の「壁」の言葉 */
.wall-words p { margin: 0 0 24px; font-size: 15px; line-height: 2.2; letter-spacing: .08em; color: var(--ink); }
/* KABÉ の五つの壁（衣・食・住・美・心） */
.five { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 24px 0 0; font-size: 13px; line-height: 1.9; }
.five dt { color: var(--fun); font-family: var(--en); letter-spacing: .14em; font-size: 11px; padding-top: 3px; transition: color .6s ease; }
html[lang="ja"] .five dt { font-family: var(--ja); font-size: 13px; padding-top: 0; }
.five dd { margin: 0; color: var(--sub); }
/* 五つの行：英語・スペイン語は見出しの幅をそろえ、行の折り返しをきれいに */
.five { column-gap: 24px; }
html[lang="en"] .five dt, html[lang="es"] .five dt { min-width: 4.6em; }
.five dd { text-wrap: pretty; }
.gal-thumb img { aspect-ratio: 800 / 580; object-fit: contain; } /* 写真は切り取らない */
.gal-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 520px; }
.gal-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 600px; } @media (max-width: 600px) { .gal-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gal-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 520px; } @media (max-width: 600px) { .gal-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* クレジット：項目名をはっきり、スマホでは項目名を上に置いて名前を広く */
.credit dt { color: var(--sub); }
@media (max-width: 600px) {
  .credit { grid-template-columns: 1fr; gap: 0; }
  .credit dt { margin-top: 10px; font-size: 11px; }
}
/* 『壁の本』の説明の横に、壁もファッションのロゴを小さく（壁の本と同じ時に作ったロゴ） */
.kb-intro { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 24px 40px; align-items: start; }
.kb-logo { margin: 16px 0 0; }
.kb-logo figcaption { margin-top: 8px; font-size: 10px; line-height: 1.7; color: var(--faint); }
@media (max-width: 600px) { .kb-intro { grid-template-columns: 1fr; } .kb-logo { width: 90px; } }
.logo-pair.kabe-only .new img { width: 160px; }
/* 『壁の本』：壁もファッションのロゴと、寄りの写真を並べる */
.kb-pair { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); margin-top: 32px; }
.kb-pair .kabemo { width: clamp(90px, 12vw, 130px); flex: 0 0 auto; }
.kb-pair img { width: clamp(150px, 22vw, 240px); height: auto; }
/* 『壁の本』：壁もファッションのロゴを、色違いで 3 つ並べる */
.kb-logos { display: flex; gap: clamp(16px, 3vw, 32px); margin-top: 32px; }
.kb-logos .kabemo { width: clamp(70px, 9vw, 104px); }
/* ロゴの列は、上の文・下の本の写真と同じ幅にぴったり合わせる（パソコン 5 つ、スマホ 4 つ） */
.kb-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); width: 100%; }
.kb-logos .kabemo { width: 100%; }
@media (max-width: 600px) {
  .kb-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kb-logos .kabemo:nth-child(5) { display: none; }
}
/* いちばん下：ロゴ、目次に戻る、© だけ */
.ft-contents { font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--sub); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.ft-contents:hover { color: var(--fun); border-color: var(--fun); }
/* 目次の見出しも、言葉ごとに（日本語：目次／英語：CONTENTS／スペイン語：ÍNDICE） */
html[lang="ja"] .logo-d .top .idx::before { content: "目次"; font-family: var(--ja); letter-spacing: .3em; }
html[lang="es"] .logo-d .top .idx::before { content: "ÍNDICE"; }
html[lang="ja"] .ft-contents { font-family: var(--ja); letter-spacing: .3em; }
/* いちばん下の「目次」：少し大きく、前に FUN の色の小さな点 */
.ft-contents { font-size: 13px; display: inline-flex; align-items: center; gap: 10px; border-bottom: 0; color: var(--ink); }
.ft-contents::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fun); transition: background .6s ease, transform .3s; }
.ft-contents:hover::before { transform: scale(1.4); }
/* 会社概要の事業内容：1 行ずつ並べる */
.co-list { list-style: none; margin: 0; padding: 0; }
.co-list li + li { margin-top: 2px; }
/* 会社概要のお問い合わせ：文とボタンを真ん中に */
.co-contact { text-align: center; }
.co-contact .btn { margin-top: 28px; }
/* 会社概要のお問い合わせ：パソコンでは表の中身（右の列）と左をそろえる。スマホは真ん中 */
@media (min-width: 861px) {
  .co-contact { text-align: left; margin-left: 140px; }
}
/* 外のサイトへのリンクは、四角い箱にしない（箱はお問い合わせだけ） */
.text-link { font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: var(--sub); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.text-link:hover { color: var(--fun); border-color: var(--fun); }
/* スマホでは右上（言語の前）に「目次」。パソコンは左のメニューがあるので出さない */
.hd-index { display: none; }
@media (max-width: 760px) {
  .hd-index { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 14px; font-size: 12px; letter-spacing: .14em; color: var(--ink); }
  .hd-index::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fun); }
}
/* パソコンは左の縦のメニューがあるので、いちばん下の「目次」は出さない（スマホだけ） */
@media (min-width: 761px) { .ft-contents { display: none; } }
/* パソコンも、左の縦のメニューはやめて、スマホと同じ右上の「・目次」にする */
.side { display: none !important; }
.hd-index { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 16px; font-size: 12px; letter-spacing: .14em; color: var(--ink); transition: color .3s; }
.hd-index::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fun); transition: background .6s ease, transform .3s; }
.hd-index:hover { color: var(--fun); }
.hd-index:hover::before { transform: scale(1.4); }
html[lang="ja"] .hd-index { font-family: var(--ja); letter-spacing: .2em; }
@media (min-width: 761px) { .ft-contents { display: inline-flex; } }
/* 壁もファッションのロゴ：パソコンは 3 つを真ん中に、まわりに余白。スマホは 4 つを横いっぱい */
@media (min-width: 601px) {
  .kb-logos { grid-template-columns: repeat(4, clamp(80px, 9vw, 112px)); justify-content: center; gap: clamp(32px, 5vw, 64px); }
  .kb-logos .kabemo:nth-child(n+5) { display: none; }
}
/* いちばん下：会社の Instagram */
.ft nav { display: flex; align-items: center; gap: 28px; }
.ft-ig { font-family: var(--en); font-size: 12px; letter-spacing: .16em; color: var(--sub); transition: color .3s; }
.ft-ig:hover { color: var(--fun); }
/* 代表の写真：文章の邪魔をしない大きさに（切り取らず、縮めるだけ） */
.profile img { max-width: 440px; }
@media (max-width: 600px) { .profile img { max-width: 100%; } }
/* 公開前のメディアに添える一言（公開したら HTML から消す） */
.soon { font-size: 11px; letter-spacing: .14em; color: var(--faint); white-space: nowrap; }
.biz .go-stack .soon { margin-top: -4px; }

/* ページの終わりの「次へ」：事業 → ストーリー → 会社概要 と続けて読めるように */
.next { max-width: var(--w); margin: 0 auto; padding: clamp(96px, 12vw, 144px) clamp(16px, 4vw, 48px) 0; display: flex; justify-content: flex-end; }
.next a { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: color .3s; }
.next-k { font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--faint); }
.next-t { font-family: var(--en); font-size: clamp(15px, 1.3vw, 17px); letter-spacing: .14em; }
html[lang="ja"] .next-t { font-family: var(--ja); letter-spacing: .2em; }
.next-ar { display: inline-block; margin-left: .4em; transition: transform .3s; }
.next a:hover { color: var(--fun); }
.next a:hover .next-ar { transform: translateX(4px); }

/* 事業・ストーリー・会社概要の名前は、3言語とも英語（BUSINESS / STORY / COMPANY）。日本語表示でも英字の書体で */
html[lang="ja"] .en-label { font-family: var(--en); letter-spacing: .14em; }
html[lang="ja"] .side a .en-label { letter-spacing: .26em; }

/* 個人情報の取り扱い（privacy.html） */
.policy { max-width: 40em; }
.policy-lead { margin: 0; color: var(--sub); }
.policy h2 { margin: 48px 0 0; font-size: 15px; font-weight: 400; letter-spacing: .08em; }
.policy h2 + p { margin: 12px 0 0; color: var(--sub); }
.policy-date { margin: 64px 0 0; font-size: 12px; color: var(--faint); line-height: 2; }
/* 見つからないページ（404.html） */
.page-title.nf { text-align: center; padding-top: clamp(180px, 28vh, 260px); }
.page-title.nf p { margin-left: auto; margin-right: auto; }
.nf-go { margin-top: 48px !important; }
.nf-go .text-link { border-bottom: 0; font-size: 14px; }
html[lang="ja"] .nf-go .text-link { font-family: var(--ja); }
/* フッターの「個人情報」 */
.ft-privacy { color: var(--faint); }
.ft-privacy:hover { color: var(--fun); }
.cf-note a { border-bottom: 1px solid var(--line); }
.cf-note a:hover { color: var(--fun); }

/* お問い合わせの上の文は真ん中寄せ（下の注意書き・送信ボタンとそろえる。入力欄は左寄せのまま） */
.page-title.is-center { text-align: center; }
.page-title.is-center p { margin-left: auto; margin-right: auto; }

/* ページの終わり：左に PREV（前のページ）、右に NEXT（次のページ）。Business は NEXT だけ、Company は PREV だけ */
.next { justify-content: space-between; gap: 24px; }
.next .next-a { margin-left: auto; }
.next .prev-a { align-items: flex-start; }
.next .prev-a .next-ar { margin-left: 0; margin-right: .4em; }
.next .prev-a:hover .next-ar { transform: translateX(-4px); }
