/* ===== 色や雰囲気はここで変えられます ===== */
:root {
  --jade: #3a7069;          /* 翠（メインの深い緑） */
  --jade-deep: #608b8a;     /* くすんだ青緑（ヘッダー・1画面目・フッター） */
  --wall: #5a9095;          /* ホームの大きな絵が読み込まれる前の色 */
  --gold: #b8943f;          /* アンティークゴールド */
  --gold-light: #e2cb8a;
  --paper: #f6f0e2;         /* 古い紙のようなアイボリー */
  --mat: #fbf7ee;           /* カードなどの白っぽい背景 */
  --ink: #2e2a24;           /* 文字（セピアがかった黒） */
  --ink-soft: #6f665a;
  /* 金の額縁のグラデーション */
  --gold-grad: linear-gradient(135deg, #7a5c22 0%, #d9be78 20%, #a3802f 42%, #f2dfa6 60%, #8c6a28 80%, #caa95a 100%);
  --font-en: "Cormorant Garamond", serif;
  --font-title: "Shippori Mincho B1", serif;
  --font-body: "Zen Old Mincho", "Shippori Mincho B1", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 2;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.center { text-align: center; }
.small { font-size: .78rem; color: var(--ink-soft); }
.nowrap { display: inline-block; }   /* このまとまりの途中では改行しない */

/* 古い壁紙のような、うっすらとしたストライプ */
.is-paper {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.7), transparent 60%),
    repeating-linear-gradient(90deg, rgba(47,93,87,.035) 0 2px, transparent 2px 30px),
    var(--paper);
}


/* ----- SNSボタン ----- */
.sns-btn {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid currentColor;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.sns-btn svg { width: 15px; height: 15px; }
.sns-text { font-family: system-ui, sans-serif; font-weight: 700; font-size: .6rem; letter-spacing: 0; }

/* ----- ボタン ----- */
.btn {
  display: inline-block;
  font-family: var(--font-en); font-size: 1.15rem; font-weight: 500; letter-spacing: .12em;
  text-decoration: none; cursor: pointer;
  padding: .6em 2.4em; margin: 8px;
  color: var(--paper); background: var(--jade);
  border: 1px solid var(--jade);
  outline: 1px solid var(--gold); outline-offset: 4px;
  transition: background .3s, color .3s, outline-offset .3s;
}
.btn:hover { background: var(--jade-deep); outline-offset: 2px; }
.btn--light { background: transparent; color: var(--gold-light); border-color: var(--gold-light); outline-color: rgba(226,203,138,.45); }
.btn--light:hover { background: rgba(226,203,138,.12); }
.btn--ghost { background: transparent; color: var(--jade); }
.btn--ghost:hover { background: var(--jade); color: var(--paper); }

/* ----- 見出し ----- */
.title {
  text-align: center; margin: 0 0 44px;
  font-family: var(--font-title); font-size: .85rem; font-weight: 500;
  color: var(--ink-soft); letter-spacing: .3em;
}
.title span {
  display: block;
  font-family: var(--font-en); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.25; letter-spacing: .08em;
  color: var(--jade);
}
.title--light { color: rgba(246,240,226,.75); }
.title--light span { color: var(--paper); }

/* ===================================================
   ヘッダー（全ページ共通）
   =================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 68px; padding: 0 clamp(16px, 4vw, 48px);
  color: var(--paper);
  background: repeating-linear-gradient(90deg, rgba(226,203,138,.07) 0 1px, transparent 1px 14px, rgba(255,255,255,.035) 14px 28px), rgba(96, 139, 138, .95);
  border-bottom: 1px solid rgba(184,148,63,.45);
  transition: background .4s, border-color .4s;
}
.is-home .site-header:not(.is-scrolled):not(.is-open) { background: transparent; border-color: transparent; }
.is-home .logo { display: none; }   /* ホームは絵の上に大きく名前があるので、左上の名前は出さない */
.logo {
  font-family: var(--font-en); font-weight: 600; font-size: 1.9rem; letter-spacing: .14em;
  text-decoration: none; color: var(--gold-light); line-height: 1;
}
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); margin-left: auto; }
.nav > a {
  text-decoration: none; font-family: var(--font-en); font-size: 1.12rem; letter-spacing: .1em;
  position: relative; padding: 4px 0;
}
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-light); transform: scaleX(0); transition: transform .3s;
}
.nav > a:hover::after, .nav > a.is-current::after { transform: scaleX(1); }
.nav > a.is-current { color: var(--gold-light); }
.nav-sns { display: flex; gap: 8px; margin-left: 8px; }
.nav-sns .sns-btn { width: 32px; height: 32px; color: var(--paper); border-color: rgba(246,240,226,.6); }
.nav-sns .sns-btn:hover { background: var(--paper); color: var(--jade-deep); }
.menu-toggle { display: none; }

/* ===================================================
   Home 1画面目：画面いっぱいの絵 ＋ 金の額縁 ＋ 名前
   =================================================== */
:root {
  --p: 0; --mx: 0; --my: 0;
  --frame-gap: clamp(10px, 2vw, 26px);     /* 額縁の下の余白 */
  --frame-w: clamp(10px, 1.4vw, 18px);     /* 額縁の太さ */
  --head-h: 68px;
}
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 520px;
  color: var(--paper);
  background:
    repeating-linear-gradient(90deg, rgba(226,203,138,.07) 0 1px, transparent 1px 14px, rgba(255,255,255,.035) 14px 28px),
    var(--jade-deep);
}

/* 金の額縁（絵のまわり） */
.hero-frame {
  position: absolute;
  top: var(--head-h); left: 0; right: 0; bottom: var(--frame-gap);   /* 横幅は画面ぴったり */
  padding: var(--frame-w);
  background: var(--gold-grad);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.7),
    inset 0 0 0 1px rgba(255,240,200,.65),
    inset 0 0 8px rgba(70,45,10,.6);
  animation: frameIn 1.6s ease both;
}
@keyframes frameIn { from { opacity: 0; } to { opacity: 1; } }
.hero-frame::before {          /* 額縁の彫り線 */
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  border: 1px solid rgba(90, 62, 18, .55);
}
.hero-frame::after {           /* 四隅の丸い飾り */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  --r: calc(var(--frame-w) * .55);
  background:
    radial-gradient(circle, #f6e7b8 0 calc(var(--r) * .45), #8c6a28 calc(var(--r) * .5) var(--r), transparent calc(var(--r) + 1px)) 0 0 / calc(var(--frame-w) * 2) calc(var(--frame-w) * 2) no-repeat,
    radial-gradient(circle, #f6e7b8 0 calc(var(--r) * .45), #8c6a28 calc(var(--r) * .5) var(--r), transparent calc(var(--r) + 1px)) 100% 0 / calc(var(--frame-w) * 2) calc(var(--frame-w) * 2) no-repeat,
    radial-gradient(circle, #f6e7b8 0 calc(var(--r) * .45), #8c6a28 calc(var(--r) * .5) var(--r), transparent calc(var(--r) + 1px)) 0 100% / calc(var(--frame-w) * 2) calc(var(--frame-w) * 2) no-repeat,
    radial-gradient(circle, #f6e7b8 0 calc(var(--r) * .45), #8c6a28 calc(var(--r) * .5) var(--r), transparent calc(var(--r) + 1px)) 100% 100% / calc(var(--frame-w) * 2) calc(var(--frame-w) * 2) no-repeat;
}
.kv-window {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: var(--wall);
  isolation: isolate;
}
.kv-window::after {            /* 額縁の内側の影と、文字を読みやすくする左側の暗がり */
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(90,62,18,.7), inset 0 0 24px rgba(0,0,0,.35);
  background: linear-gradient(90deg, rgba(16,32,30,.4) 0%, rgba(16,32,30,.15) 35%, rgba(16,32,30,0) 60%);
}
/* レイヤー：--d（奥行き）が大きいほど、マウス・スクロールで大きく動く */
.kv-layer {
  position: absolute; inset: -40px;
  transform: translate(
    calc(var(--mx) * var(--d) * -9px),
    calc(var(--my) * var(--d) * -6px + var(--p) * var(--d) * -50px)
  );
  will-change: transform;
}
.kv-layer img { width: 100%; height: 100%; object-fit: cover; }
.kv-layer.is-float img { animation: floaty 8s ease-in-out infinite alternate; }
@keyframes floaty {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(5px, -12px) rotate(.6deg); }
  100% { transform: translate(-4px, -20px) rotate(-.4deg); }
}

/* 絵の上に重ねる名前 */
.hero-text {
  position: absolute; z-index: 6;
  top: var(--head-h); bottom: var(--frame-gap);
  left: calc(var(--frame-gap) + clamp(32px, 9vw, 160px));
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  opacity: calc(1 - var(--p) * 1.4);
  transform: translateY(calc(var(--p) * -40px));
}
.hero-text > * { animation: fadeUp 1.6s .4s ease both; }
@keyframes fadeUp { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
.hero-of {
  margin: 0 0 6px; padding-left: .32em;   /* 字間ぶんのずれを補正 */
  font-family: var(--font-en); font-weight: 500; text-transform: uppercase;
  font-size: clamp(.95rem, 1.5vw, 1.15rem); letter-spacing: .32em;
  color: var(--gold-light); line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero-name {
  margin: 0 0 .05em;
  font-family: var(--font-en); font-weight: 500;
  font-size: clamp(5rem, 12vw, 10rem); line-height: 1;
  letter-spacing: .16em; padding-left: .16em;   /* 文字の間隔（padding は中央をそろえるため同じ数字に） */
  background: var(--gold-grad); background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.55));
  animation: gleam 10s ease-in-out infinite alternate;   /* 金がゆっくり光る */
}
@keyframes gleam { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.scroll {
  position: absolute; z-index: 6; left: 50%; bottom: calc(var(--frame-gap) + var(--frame-w)); translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; font-family: var(--font-en); font-style: italic; font-size: 1rem; letter-spacing: .15em;
  color: var(--paper); text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.scroll::after {
  content: ""; width: 1px; height: 44px; background: var(--paper);
  transform-origin: top; animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================================
   Home 2画面目：Selected Works（作品を並べる欄）
   =================================================== */
.wall-section {
  position: relative;
  padding: clamp(80px, 10vw, 130px) clamp(16px, 5vw, 64px) clamp(80px, 10vw, 120px);
  background: var(--paper);
}
/* 上の緑とアイボリーのさかいめのレース */
.wall-section::before {
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
  background: radial-gradient(circle at 50% 100%, var(--paper) 7px, transparent 7.5px) 0 0 / 16px 10px repeat-x;
}
.wall {
  max-width: 1040px; margin: 0 auto 96px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
/* 真ん中の列だけ少し下げて、上下にずらした並びに（数字を大きくするともっとずれます） */
.wall .pick:nth-child(3n+2) { margin-top: 64px; margin-bottom: -64px; }
/* 作品の画像（額縁なし・シンプルに画像のみ） */
.pick { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: rgba(0,0,0,.08); }
.pick img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .9s ease; }
.pick:hover img { transform: scale(1.04); }
.pick:focus-visible { outline: 2px solid var(--jade); outline-offset: 4px; }

/* プロフィールのアイコンの内側 */
.frame-inner {
  display: block; width: 100%; height: 100%; overflow: hidden;
  background: var(--mat);
  box-shadow: inset 0 0 0 1px rgba(90,62,18,.6);
}
.frame-inner img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ふわっと浮かび上がる */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.is-in { opacity: 1; transform: none; }
/* 左からふわっと入ってくる（プロフィールのアイコン） */
.reveal--left { transform: translateX(-60px); transition-duration: 2.2s; }   /* 秒数を大きくするともっとゆっくり */
.reveal--left.is-in { transform: none; }

/* ===================================================
   Gallery / Profile / Commission 共通
   =================================================== */
.page {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: calc(68px + clamp(48px, 7vw, 88px)) clamp(16px, 4vw, 48px) clamp(64px, 8vw, 100px);
}
.page--narrow { max-width: 880px; }

/* ----- ギャラリー ----- */
.filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.filter {
  font-family: var(--font-en); font-size: 1.05rem; letter-spacing: .08em; cursor: pointer;
  padding: .3em 1.4em;
  border: 1px solid rgba(184,148,63,.7); background: transparent; color: var(--jade);
  transition: all .25s;
}
.filter:hover { background: rgba(184,148,63,.12); }
.filter.is-active { background: var(--jade); border-color: var(--jade); color: var(--paper); }

.gallery { columns: 3 280px; column-gap: 30px; }
/* 額縁なし・シンプルに画像のみ */
.gallery-item {
  position: relative;
  display: block; width: 100%; margin: 0 0 30px; padding: 0;
  border: 0; background: none; cursor: zoom-in;
  break-inside: avoid;
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s, transform .6s;
}
.gallery-item.is-loaded { opacity: 1; transform: none; }
.gallery-item img { width: 100%; height: auto; transition: filter .4s; }
.gallery-item:hover img { filter: brightness(1.04) saturate(1.05); }
.gallery-item:focus-visible { outline: 2px solid var(--jade); outline-offset: 4px; }
.tag {
  position: absolute; right: 10px; bottom: 10px;
  font-family: var(--font-en); font-size: .8rem; letter-spacing: .1em; line-height: 1;
  padding: .4em .8em; background: var(--mat); color: var(--jade);
  border: 1px solid var(--gold);
}
.empty { text-align: center; color: var(--ink-soft); }

/* ----- 拡大表示 ----- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 30, 28, .95);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lb-frame img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.lb-figure figcaption { color: var(--paper); margin-top: 16px; text-align: center; font-size: .9rem; font-family: var(--font-title); }
.lb-figure figcaption span { display: block; font-size: .78rem; opacity: .7; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--gold-light); cursor: pointer;
  font-size: 2.6rem; line-height: 1; padding: 12px 16px; opacity: .8; transition: opacity .2s;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; translate: 0 -50%; }
.lb-next { right: 4px; top: 50%; translate: 0 -50%; }

/* ----- プロフィール ----- */
.profile { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; padding: 14px; border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 24px 34px -16px rgba(40,30,10,.5), inset 0 0 0 1px rgba(255,236,190,.6), inset 0 0 6px rgba(70,45,10,.6);
}
.portrait .frame-inner { border-radius: 50%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.profile-body .profile-name { margin: 0; font-family: var(--font-en); font-weight: 500; font-size: 3rem; line-height: 1.1; letter-spacing: .14em; color: var(--jade); }
.profile-body .profile-role { margin: 8px 0 18px; font-family: var(--font-en); font-weight: 500; text-transform: uppercase; font-size: .95rem; letter-spacing: .32em; color: var(--gold); line-height: 1.2; }
.profile-body p { font-size: .95rem; }
.profile-list { margin: 28px 0; border-top: 1px solid rgba(184,148,63,.5); }
.profile-list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(184,148,63,.5); }
.profile-list dt { font-family: var(--font-en); font-style: italic; font-size: 1.05rem; color: var(--gold); }
.profile-list dd { margin: 0; font-size: .9rem; }
.profile-sns { display: flex; gap: 10px; }
.profile-sns .sns-btn, .footer-sns .sns-btn { color: var(--jade); }
.profile-sns .sns-btn:hover { background: var(--jade); color: var(--paper); border-color: var(--jade); }

/* ----- お仕事のご依頼 ----- */
.letter {
  padding: clamp(32px, 5vw, 52px) clamp(20px, 5vw, 56px);
  margin-bottom: 56px;
  background: var(--mat);
  border: 1px solid var(--gold);
  outline: 1px solid rgba(184,148,63,.5); outline-offset: -10px;
  box-shadow: 0 18px 36px -24px rgba(40,30,10,.5);
}
.letter-lead { text-align: center; font-size: 1rem; margin: 0 0 24px; }
.letter-lead strong { font-family: var(--font-en); font-size: 1.3rem; font-weight: 600; color: var(--jade); letter-spacing: .06em; }
.info { margin-bottom: 48px; }
.info-title {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(184,148,63,.6);
  font-family: var(--font-en); font-weight: 500; font-size: 1.8rem; color: var(--jade); letter-spacing: .06em;
}
.info-title--ja { font-family: var(--font-title); font-size: 1.15rem; letter-spacing: .15em; }
.info-title small { font-family: var(--font-title); font-size: .78rem; letter-spacing: .25em; color: var(--ink-soft); }
.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li { position: relative; padding: 6px 0 6px 1.6em; font-size: .93rem; }
.info-list li.etc::before { content: none; }   /* 「etc.」には ◆ をつけない */
.info-list li.etc { padding-left: 14em; margin-top: -.6em; }   /* 「etc.」の位置（数字を大きくするともっと右へ） */
.info-list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: .6rem; top: 1.15em; }

/* ----- フッター ----- */
.site-footer {
  text-align: center; padding: 40px 16px 32px;
  background: repeating-linear-gradient(90deg, rgba(226,203,138,.07) 0 1px, transparent 1px 14px, rgba(255,255,255,.035) 14px 28px), var(--jade-deep); color: rgba(246,240,226,.85);
  border-top: 3px double rgba(226,203,138,.5);
}
.footer-logo { margin: 0 0 14px; padding-left: .14em; font-family: var(--font-en); font-size: 2rem; font-weight: 500; letter-spacing: .14em; color: var(--gold-light); line-height: 1; }
.footer-sns { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.footer-sns .sns-btn { color: var(--paper); border-color: rgba(246,240,226,.5); }
.footer-sns .sns-btn:hover { background: var(--paper); color: var(--jade-deep); }
.site-footer small { font-size: .75rem; line-height: 1.9; letter-spacing: .06em; }

/* ----- 画像の保存対策 -----
 * 画像そのものをタップ・クリックできなくして、
 * 右クリック保存・長押し保存・ドラッグ保存をしにくくしています */
.gallery-item img,
.lb-frame img,
.kv-layer img,
.pick img,
.frame-inner img {
  pointer-events: none;
  -webkit-touch-callout: none;  /* iPhone の長押しメニュー */
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery, .lightbox, .wall, .kv-window, .portrait { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* ----- 動きを減らす設定の人向け ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal--left { opacity: 1; transform: none; transition: none; }
  .kv-layer.is-float img, .hero-text > *, .hero-name, .hero-frame, .scroll::after { animation: none; }
}

/* ----- タブレット・スマホ ----- */
@media (max-width: 820px) {
  .site-header { height: 60px; }
  .menu-toggle {
    display: grid; align-content: center; gap: 7px;
    margin-left: auto; width: 40px; height: 40px; padding: 8px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 1px; background: var(--gold-light); transition: transform .3s; }
  .is-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .is-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 6px; padding: 18px 0 26px;
    background: repeating-linear-gradient(90deg, rgba(226,203,138,.07) 0 1px, transparent 1px 14px, rgba(255,255,255,.035) 14px 28px), rgba(96, 139, 138, .98);
    border-bottom: 1px solid rgba(184,148,63,.45);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, visibility .3s, transform .3s;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > a { font-size: 1.3rem; }
  .nav-sns { margin: 10px 0 0; }

  :root { --head-h: 60px; }
  /* スマホ：名前は下側に（顔にかからないように） */
  .hero-text { left: var(--frame-gap); right: var(--frame-gap); justify-content: flex-end; padding-bottom: 96px; }
  .kv-window::after { background: linear-gradient(0deg, rgba(16,32,30,.55) 0%, rgba(16,32,30,.22) 30%, rgba(16,32,30,0) 50%); }
  .hero-name { font-size: 4.6rem; }

  .wall { grid-template-columns: repeat(2, 1fr); margin-bottom: 72px; }
  .wall .pick:nth-child(3n+2) { margin-top: 0; margin-bottom: 0; }
  .wall .pick:nth-child(even) { margin-top: 44px; margin-bottom: -44px; }   /* スマホは右の列を下げる */
  .profile { grid-template-columns: 1fr; justify-items: center; }
  .portrait { width: 220px; }
  .profile-body { width: 100%; }
  .profile-name, .profile-role { text-align: center; }
  .profile-body .profile-name { padding-left: .14em; }
  .profile-sns { justify-content: center; }
  .page { padding-top: calc(60px + 44px); }
}
@media (max-width: 600px) {
  .gallery { columns: 2; column-gap: 14px; }
  .gallery-item { margin-bottom: 14px; }
  .tag { right: 6px; bottom: 6px; font-size: .7rem; }
  .wall { gap: 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; translate: none; }
  .btn { padding: .6em 1.8em; }
}

/* お問い合わせ用メールアドレスの表示 */
.mail-address a { font-family: var(--font-en); font-size: 1.3rem; letter-spacing: .06em; color: var(--jade); text-decoration: none; border-bottom: 1px solid var(--gold); }

/* 見積もりフォームのボタンの下の、小さな料金表リンク */
.price-link { margin: 4px 0 0; font-size: .85rem; }
.price-link a { color: var(--jade); text-underline-offset: 4px; text-decoration-color: var(--gold); }
.price-link a:hover { color: var(--ink); }

/* プロフィールの表の Works（行ごとに ◆） */
.works-list { margin: 0; padding: 0; list-style: none; }
.works-list li { position: relative; padding-left: 1.3em; }
.works-list li::before { content: "◆"; position: absolute; left: 0; top: .1em; color: var(--gold); font-size: .6rem; line-height: 2.6; }

/* プロフィールの表の、スタジオ公式サイトへのリンク */
.studio-link { color: var(--jade); text-underline-offset: 4px; text-decoration-color: var(--gold); }
.studio-link:hover { color: var(--ink); }

/* フッターの著作物利用規約リンク */
.site-footer small a { color: var(--gold-light); text-underline-offset: 3px; }
.site-footer small a:hover { color: var(--paper); }

/* ----- 日本語 / 英語の切り替え ----- */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.title-sub { font-style: normal; }
.lang-switch { display: flex; align-items: center; gap: 4px; margin-left: 6px; font-family: var(--font-en); font-size: .95rem; color: rgba(246,240,226,.55); }
.lang-btn {
  font: inherit; letter-spacing: .1em; cursor: pointer;
  background: none; border: 0; padding: 4px 2px; color: rgba(246,240,226,.7);
  transition: color .2s;
}
.lang-btn:hover { color: var(--paper); }
.lang-btn.is-active { color: var(--gold-light); }
@media (max-width: 820px) {
  .lang-switch { margin: 6px 0 0; font-size: 1.1rem; }
}

/* ----- Gallery：絞り込みの説明 ----- */
.filter-desc { text-align: center; margin: -22px auto 36px; max-width: 640px; font-size: .9rem; color: var(--ink-soft); }
.filter-desc a { color: var(--jade); text-underline-offset: 4px; text-decoration-color: var(--gold); }
.filter-desc a:hover { color: var(--ink); }

/* ----- 簡易見積り（estimate.html） ----- */
.est-intro { margin-top: 28px; padding-top: 24px; border-top: 1px dashed rgba(184,148,63,.6); }
.est { scroll-margin-top: 90px; }
.est-progress { height: 2px; background: rgba(184,148,63,.25); margin-bottom: 18px; }
.est-progress span { display: block; height: 100%; background: var(--gold); transition: width .4s; }
.est-step { margin: 0; font-family: var(--font-en); font-size: 1.3rem; color: var(--gold); letter-spacing: .1em; text-align: center; }
.est-step span { font-size: .95rem; color: var(--ink-soft); }
.est-q { margin: 4px 0 22px; text-align: center; font-family: var(--font-title); font-weight: 500; font-size: 1.15rem; letter-spacing: .1em; color: var(--jade); line-height: 1.7; }
.est-opts { display: grid; gap: 10px; }
.est-opts--row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.est-opt {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 12px 16px; background: #fff; border: 1px solid rgba(184,148,63,.6);
  transition: background .2s, border-color .2s;
}
.est-opt:hover { border-color: var(--jade); }
.est-opt.is-on { background: rgba(58,112,105,.08); border-color: var(--jade); }
.est-opt.is-off { opacity: .45; cursor: not-allowed; }
.est-opt input { accent-color: var(--jade); width: 18px; height: 18px; margin: 0; flex: none; }
.est-opt-label { line-height: 1.6; }
.est-opt-label small { display: block; font-size: .78rem; color: var(--ink-soft); }
.est-item { display: flex; gap: 10px; align-items: stretch; }
.est-item .est-opt { flex: 1; }
.est-count, .est-date {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid rgba(184,148,63,.8); padding: 8px 12px; border-radius: 0;
}
.est-count { min-width: 5.5em; }
.est-date { padding: 10px 16px; font-family: var(--font-en); font-size: 1.15rem; letter-spacing: .06em; }
.est-group { border: 0; margin: 0 0 18px; padding: 0; }
.est-group legend { padding: 0; margin-bottom: 8px; font-size: .9rem; color: var(--ink-soft); }
.est-fixed { margin: 0 0 18px; font-size: .9rem; color: var(--ink-soft); }
.est-fixed::first-letter { color: var(--gold); }
.est-hint { margin: 14px 0 0; font-size: .8rem; color: var(--ink-soft); line-height: 1.8; }
.est-hint--top { margin: -12px 0 16px; text-align: center; }
.est-rules { margin: 18px auto 0; padding: 0; list-style: none; font-size: .85rem; max-width: 420px; }
.est-rules li { position: relative; padding-left: 1.4em; }
.est-rules li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: .55rem; top: .2em; line-height: 2.6; }
.est-status { text-align: center; margin: 10px 0 0; font-size: .92rem; }
.est-status.is-ok { color: var(--jade); }
.est-status.is-rush { color: #8c6a28; }
.est-status.is-ng { color: #9b3b30; }
.est-expr-count { margin-top: 18px; }
.est-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.est-nav .btn { cursor: pointer; font-size: 1rem; padding: .55em 2em; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--jade); outline-offset: 4px; }
button.btn { cursor: pointer; }
.est-total-label { margin: 0; text-align: center; font-size: .85rem; color: var(--ink-soft); letter-spacing: .15em; }
.est-total { margin: 0; text-align: center; font-family: var(--font-en); font-weight: 600; font-size: clamp(2.2rem, 7vw, 3rem); color: var(--jade); letter-spacing: .04em; line-height: 1.4; }
.est-total--consult { font-family: var(--font-body); font-size: 1rem; font-weight: 400; }
.est-disclaimer { margin: 6px 0 24px; text-align: center; font-size: .85rem; color: #8c6a28; }
.est-table { width: 100%; max-width: 520px; margin: 0 auto; border-collapse: collapse; font-size: .88rem; }
.est-table th, .est-table td { padding: 8px 4px; border-bottom: 1px dotted rgba(184,148,63,.6); line-height: 1.6; }
.est-table th { text-align: left; font-weight: 400; }
.est-table td { text-align: right; white-space: nowrap; font-family: var(--font-en); font-size: 1rem; }
.est-table .est-sub th, .est-table .est-sub td { border-top: 1px solid var(--gold); }
.est-table .is-minus td { color: var(--jade); }
.est-table .is-consult td { font-family: var(--font-body); font-size: .82rem; color: var(--ink-soft); }
.est-cta { margin-top: 32px; }
.est-link { font: inherit; font-size: .85rem; background: none; border: 0; padding: 4px; color: var(--ink-soft); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.est-link:hover { color: var(--jade); }
@media (max-width: 600px) {
  .est-opt { padding: 10px 12px; }
  .est-nav .btn { padding: .55em 1.4em; }
}
.est-again { display: flex; justify-content: center; gap: 24px; }
/* 日本語の大見出し（簡易見積り） */
html[lang="ja"] .title .title-jp { font-family: var(--font-title); font-size: clamp(1.7rem, 4.5vw, 2.3rem); letter-spacing: .2em; padding-left: .2em; }
.est-nocontact { margin: -10px 0 14px; }
