/* ===== 色や雰囲気はここで変えられます ===== */
:root {
  --accent: #8fd3ee;        /* 水色（メイン） */
  --accent-deep: #2b8ab3;   /* 濃い水色（文字・ボタン） */
  --accent-pale: #eef8fc;   /* うすい水色（背景） */
  --ink: #2f3a40;
  --ink-soft: #6b7a82;
  --line: #d9ebf2;
  --bg: #fcfeff;
  --radius: 10px;
  --font-italic: "Cormorant Garamond", serif;
  --font-serif: "Shippori Mincho", serif;
  --font-sans: "Zen Kaku Gothic New", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ----- SNSボタン（線のアイコン） ----- */
.sns-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--accent-deep); color: var(--accent-deep);
  text-decoration: none; background: rgba(255,255,255,.6);
  transition: background .25s, color .25s;
}
.sns-btn:hover { background: var(--accent-deep); color: #fff; }
.sns-btn svg { width: 15px; height: 15px; }
.sns-text { font-family: system-ui, sans-serif; font-weight: 700; font-size: .6rem; letter-spacing: 0; }

/* ===================================================
   Home 1画面目：画面いっぱいの作品
   =================================================== */
:root { --p: 0; }   /* スクロール量（js/home.js が 0〜1 で書き換えます） */
.is-home { background: #d8eff9; }

.kv-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.kv-imgs {
  position: absolute; inset: 0;
  /* スクロール量 --p（0〜1）に合わせて、ぼかし・拡大 */
  filter: blur(calc(var(--p) * 22px)) saturate(calc(1 - var(--p) * .3));
  transform: scale(calc(1.02 + var(--p) * .1));
}
/* レイヤー：--d（奥行き）が大きいほど、マウス・スクロールで大きく動く */
:root { --mx: 0; --my: 0; }
.kv-layer {
  position: absolute; inset: -48px;   /* 動いても端が見えないよう少し大きめ */
  transform: translate(
    calc(var(--mx) * var(--d) * -9px),
    calc(var(--my) * var(--d) * -6px + var(--p) * var(--d) * -70px)
  );
  will-change: transform;
}
.kv-layer img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.kv-layer.is-float img { animation: floaty 7s ease-in-out infinite alternate; }
@keyframes floaty {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(6px, -14px) rotate(.6deg); }
  100% { transform: translate(-4px, -22px) rotate(-.4deg); }
}
.kv-imgs { animation: kvIn 1.6s ease both; }
@keyframes kvIn { from { opacity: 0; } to { opacity: 1; } }
/* ----- 太陽の光のフレア ----- */
.kv-flare {                    /* いちばん上のレイヤー。クリックはその下に通ります */
  position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden;
  mix-blend-mode: screen;
  filter: blur(calc(var(--fb, 0) * 1px));   /* ぼかし */
  opacity: calc(var(--fs) * (1 - var(--p) * 1.2));
  animation: flareIn 2.4s ease .6s both;
}
@keyframes flareIn { from { opacity: 0; } }
.kv-flare > span { position: absolute; left: calc(var(--fx) * 1%); top: calc(var(--fy) * 1%); }

/* 太陽本体：小さく強い白い光と、まわりのやわらかなにじみ */
.flare-sun {
  width: 60vmin; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle,
    #fff 0%, #fff 4%, rgba(255,255,255,.85) 8%, rgba(235,248,255,.45) 18%,
    rgba(200,230,255,.18) 35%, transparent 62%);
  animation: sunPulse 5s ease-in-out infinite;
}
@keyframes sunPulse { 50% { opacity: .85; scale: 1.05; } }

/* 光の筋：長さのちがう細い線が放射状にのびる（js で本数・長さを作ります） */
.flare-rays { width: 0; height: 0; animation: raysTwinkle 4s ease-in-out infinite; }
@keyframes raysTwinkle { 50% { opacity: .65; } }
.flare-ray {
  position: absolute; left: 0; top: 0; height: 1px; width: var(--len);
  transform-origin: 0 50%; rotate: var(--ang);
  background: linear-gradient(90deg, rgba(255,255,255,var(--o)) 0%, rgba(255,255,255,calc(var(--o) * .5)) 40%, transparent 100%);
}

/* 太陽を貫く長い光の線（光の輪が並ぶ向きにのびる） */
.flare-streak {
  width: 260vmax; height: 2px; translate: -50% -50%; rotate: var(--fa);
  background: linear-gradient(90deg, transparent 8%, rgba(255,255,255,.45) 32%, #fff 50%, rgba(255,255,255,.45) 68%, transparent 92%);
}

/* 光の輪・玉（ゴースト）：太陽から画面の中心を通って反対側へ並ぶ */
.kv-flare > .flare-ghost {
  left: calc((var(--fx) + (100 - 2 * var(--fx)) * var(--t)) * 1%);
  top:  calc((var(--fy) + (100 - 2 * var(--fy)) * var(--t)) * 1%);
  width: var(--s); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  transform: translate(calc(var(--mx) * (var(--t) - .3) * 50px), calc(var(--my) * (var(--t) - .3) * 34px));
}
/* 小さく明るい玉 */
.flare-ghost.is-dot  { background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,255,255,.6) 35%, rgba(255,255,255,.15) 60%, transparent 72%); }
/* 大きくやわらかい光の円 */
.flare-ghost.is-disc { background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,.28) 62%, rgba(255,255,255,.38) 68%, transparent 71%); }
/* 虹色のふちの輪 */
.flare-ghost.is-rainbow {
  background: radial-gradient(circle, transparent 58%,
    rgba(110,170,255,.45) 62%, rgba(140,255,220,.5) 64.5%, rgba(255,255,255,.7) 66.5%,
    rgba(255,235,140,.5) 68.5%, rgba(255,140,190,.65) 70.5%, rgba(255,140,190,.2) 72.5%, transparent 74%);
}
/* うすく大きな光の輪 */
.flare-ghost.is-halo { background: radial-gradient(circle, transparent 64%, rgba(255,255,255,.1) 68%, rgba(255,255,255,.16) 70%, transparent 74%); }

.kv-veil {                     /* 水色のベール。スクロールすると濃くなる */
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #f7fcff 0%, #e2f4fc 50%, #cfeaf7 100%);
  opacity: calc(var(--p) * .82);
}

.kv-head, .kv, .pickup, .is-home .site-footer { position: relative; z-index: 1; }

.kv-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; gap: 24px;
  padding: 20px clamp(16px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(rgba(10, 40, 60, .35), transparent);
}
.kv-logo {
  text-decoration: none; font-family: var(--font-serif); font-weight: 700;
  font-size: 1.3rem; letter-spacing: .12em; display: flex; align-items: baseline; gap: .6em;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.kv-logo small { font-family: var(--font-italic); font-style: italic; font-weight: 500; font-size: .9rem; }
.kv-nav { display: flex; gap: 24px; margin-left: auto; }
.kv-nav a {
  text-decoration: none; font-family: var(--font-italic); font-style: italic;
  font-size: 1.1rem; letter-spacing: .08em; text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.kv-nav a:hover { opacity: .75; }
.kv-sns { display: flex; gap: 8px; }
.kv-sns .sns-btn { width: 32px; height: 32px; border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }
.kv-sns .sns-btn:hover { background: #fff; color: var(--accent-deep); }

.kv {
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  padding: 90px clamp(24px, 8vw, 140px) 110px;
  color: #fff;
  /* スクロールすると、ふわっと上に消えていく */
  opacity: calc(1 - var(--p) * 1.6);
  transform: translateY(calc(var(--p) * -40px));
}
.kv::before {                  /* 左側だけ少し暗くして、白い文字を読みやすく */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 48, 72, .30), rgba(12, 48, 72, 0) 55%);
}

/* 絵の左側：縦書きの名前とキャッチコピー */
.home-text {
  display: flex; flex-direction: column; align-items: center;
  text-shadow: 0 2px 14px rgba(0, 30, 50, .4);
  animation: titleIn 1.8s .5s ease both;
}
@keyframes titleIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.home-of {
  margin: 0 0 18px;
  font-family: var(--font-italic); font-style: italic; font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: .08em;
}
.home-vertical {
  writing-mode: vertical-rl;
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.home-name {
  margin: 0;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(4.4rem, 9vw, 7.5rem); line-height: 1; letter-spacing: .18em;
  /* 文字のグラデーション：白 → 淡い水色 → 薄いラベンダー（色はここで変更） */
  background: linear-gradient(170deg,
    #ffffff 0%, #e4f7ff 30%, #b9e3f6 55%, #e6dcff 80%, #ffffff 100%);
  background-size: 100% 220%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(0, 40, 70, .28));
  opacity: .94;
  animation: shimmer 9s ease-in-out infinite alternate;  /* 光がゆっくり移ろう */
}
@keyframes shimmer { from { background-position: 50% 0%; } to { background-position: 50% 100%; } }

/* 透 と 花 の間に、横向きの Touca */
.home-name {
  writing-mode: horizontal-tb;       /* 透・花を上から下へ1文字ずつ積む */
  display: flex; flex-direction: column; align-items: center;
}
.home-char { display: block; line-height: 1; }
.home-roman {
  display: block;
  writing-mode: horizontal-tb;
  margin: 1.1em 0 1em;               /* 透・花との間隔（大きくすると間が広がる） */
  text-align: center;
  font-family: var(--font-italic); font-style: italic; font-weight: 500;
  font-size: clamp(.95rem, 1.6vw, 1.25rem); letter-spacing: .3em; line-height: 1;
  padding-left: .3em;                /* 字間ぶんのズレを補正 */
  -webkit-text-fill-color: #fff; color: #fff;
  opacity: .9;
}

/* 床に映る反射 */
.home-name { position: relative; }
.home-name::after {
  content: attr(data-text);
  position: absolute; left: 50%; margin-left: -.5em; width: 1em;
  top: calc(100% + .06em);           /* 床との距離 */
  writing-mode: vertical-rl; letter-spacing: .18em; line-height: 1;
  background: linear-gradient(170deg, #ffffff 0%, #e4f7ff 30%, #b9e3f6 55%, #e6dcff 80%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transform: scaleY(-1);
  transform-origin: center top;
  translate: 0 100%;
  opacity: .55;                 /* 反射の濃さ（0〜1） */
  filter: blur(1.2px);
  /* 文字に近いところだけ見えて、離れるほど消えていく */
  -webkit-mask-image: linear-gradient(to bottom, transparent 35%, #000 100%);
          mask-image: linear-gradient(to bottom, transparent 35%, #000 100%);
  animation: ripple 6s ease-in-out infinite alternate;  /* 水面のようにかすかに揺れる */
  pointer-events: none;
}
@keyframes ripple {
  0%   { transform: scaleY(-1) skewX(0deg); }
  50%  { transform: scaleY(-1.03) skewX(1.2deg); }
  100% { transform: scaleY(-.98) skewX(-1deg); }
}
.home-name::before {             /* 床の光のライン */
  content: "";
  position: absolute; top: calc(100% + .1em); left: -40%; width: 180%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  pointer-events: none;
}
.home-catch {
  margin: 4.4em 0 0;
  font-family: var(--font-serif); font-size: .95rem; letter-spacing: .3em;
  border-right: 1px solid rgba(255, 255, 255, .7); padding-right: 16px;
}
.home-catch rt {                /* 「物語」のルビ（ファンタジー） */
  font-family: var(--font-serif); font-size: .58em; letter-spacing: .1em;
  opacity: .85; ruby-align: center;
}

.kv-scroll {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; font-family: var(--font-italic); font-style: italic; font-size: .95rem; letter-spacing: .15em;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.kv-scroll::after {
  content: ""; width: 1px; height: 56px; background: #fff;
  transform-origin: top; animation: scrollLine 2.2s 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 3画面目：ピックアップ
   =================================================== */
.pickup {
  padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 48px);
  background: linear-gradient(rgba(252, 254, 255, 0), rgba(252, 254, 255, .9) 18%);
}
.pickup-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px);
}
.pickup-item {
  display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius);
  background: var(--accent-pale);
  box-shadow: 0 16px 40px -18px rgba(43, 138, 179, .45);
}
.pickup-item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s; }
.pickup-item:hover img { transform: scale(1.04); }
.more {
  display: table; margin: 48px auto 0;
  text-decoration: none; font-family: var(--font-italic); font-style: italic;
  font-size: 1.25rem; letter-spacing: .08em; color: var(--accent-deep);
  padding: .5em 1.8em; border: 1px solid var(--accent-deep); border-radius: 999px;
  transition: background .25s, color .25s;
}
.more span { font-style: normal; margin-left: .3em; }
.more:hover { background: var(--accent-deep); color: #fff; }

/* ふわっと浮かび上がる */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.is-home .site-footer { background: rgba(216, 239, 249, .95); }

/* ===================================================
   Gallery など：細いトップバー
   =================================================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(252, 254, 255, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-logo {
  text-decoration: none; font-family: var(--font-serif); font-weight: 700;
  font-size: 1.4rem; letter-spacing: .12em; color: var(--ink);
  display: flex; align-items: baseline; gap: .6em;
}
.topbar-logo small {
  font-family: var(--font-italic); font-style: italic; font-weight: 500;
  font-size: .95rem; letter-spacing: .1em; color: var(--accent-deep);
}
.topbar-nav { display: flex; gap: clamp(16px, 3vw, 32px); margin-left: auto; }
.topbar-nav a {
  text-decoration: none; font-family: var(--font-italic); font-style: italic;
  font-size: 1.1rem; letter-spacing: .08em; color: var(--ink-soft);
}
.topbar-nav a:hover, .topbar-nav a.is-current { color: var(--accent-deep); }
.topbar-sns { display: flex; gap: 8px; }
.topbar-sns .sns-btn { width: 32px; height: 32px; }

/* ----- セクション共通 ----- */
.section { padding: clamp(48px, 8vw, 88px) clamp(16px, 4vw, 48px); max-width: 1280px; margin: 0 auto; width: 100%; }
.section-title {
  text-align: center; margin: 0 0 40px;
  font-size: .85rem; font-weight: 500; color: var(--ink-soft); letter-spacing: .2em;
}
.section-title span {
  display: block; font-family: var(--font-italic); font-style: italic; font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.2rem); color: var(--accent-deep); letter-spacing: .06em; line-height: 1.3;
}

/* ----- ギャラリー ----- */
.filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filter {
  font: inherit; font-size: .85rem; cursor: pointer;
  padding: .45em 1.4em; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  transition: all .2s;
}
.filter:hover { border-color: var(--accent); color: var(--ink); }
.filter.is-active { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

.gallery { columns: 3 300px; column-gap: 16px; }
.gallery-item {
  position: relative;
  display: block; width: 100%; padding: 0; margin: 0 0 16px;
  border: 0; background: var(--accent-pale); cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden;
  break-inside: avoid;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s, transform .5s, box-shadow .3s;
}
.gallery-item.is-loaded { opacity: 1; transform: none; }
.gallery-item img { width: 100%; height: auto; transition: transform .5s; }
.gallery-item:hover { box-shadow: 0 10px 30px rgba(43, 138, 179, .2); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.tag {
  position: absolute; left: 10px; bottom: 10px;
  font-size: .7rem; letter-spacing: .08em; line-height: 1;
  padding: .45em .8em; border-radius: 999px;
  background: rgba(255,255,255,.9); color: var(--accent-deep);
}
.empty { text-align: center; color: var(--ink-soft); }
.note { text-align: center; font-size: .75rem; color: var(--ink-soft); margin-top: 32px; }

/* ----- フッター ----- */
.site-footer { text-align: center; padding: 18px 16px; background: var(--accent-pale); color: var(--ink-soft); font-size: .9rem; }

/* ----- 拡大表示 ----- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 28, 36, .92);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 92vw; max-height: 82vh; object-fit: contain; }
.lb-figure figcaption { color: #fff; margin-top: 12px; text-align: center; font-size: .9rem; }
.lb-figure figcaption span { display: block; font-size: .78rem; opacity: .7; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2.6rem; line-height: 1; padding: 12px 16px; opacity: .75; 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%; }

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

/* ----- Profile ----- */
/* 夏の水面のような、光がゆらぐ水色の背景 */
.is-profile { background:
  radial-gradient(ellipse 60% 40% at 18% 20%, rgba(143, 211, 238, .35), transparent 70%),
  radial-gradient(ellipse 50% 45% at 85% 75%, rgba(200, 190, 255, .22), transparent 70%),
  linear-gradient(180deg, #f2fbff 0%, #fcfeff 60%, #eef8fc 100%); }
.prof-section { max-width: 1040px; }
.prof {
  display: grid; grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: clamp(24px, 4vw, 48px);
}

/* アイコン：水の輪が広がる、ふわっと浮かぶ円 */
.prof-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.prof-visual::before, .prof-visual::after {
  content: ""; position: absolute; inset: 4%; border-radius: 50%;
  border: 1px solid rgba(43, 138, 179, .35);
  animation: prof-ring 5s ease-out infinite;
}
.prof-visual::after { animation-delay: 2.5s; }
@keyframes prof-ring {
  0%   { transform: scale(.86); opacity: 0; }
  25%  { opacity: .9; }
  100% { transform: scale(1.12); opacity: 0; }
}
.prof-icon {
  position: relative; width: 82%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .85);
  box-shadow: 0 18px 50px rgba(43, 138, 179, .22), 0 0 0 1px rgba(143, 211, 238, .5);
  animation: prof-bob 7s ease-in-out infinite;
}
.prof-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes prof-bob { 50% { transform: translateY(-10px); } }

/* 右側：すりガラスのカード */
.prof-card {
  position: relative; padding: clamp(28px, 4vw, 48px);
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px;
  box-shadow: 0 20px 60px rgba(43, 138, 179, .12);
}
.prof-name {
  margin: 0; font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: .2em; line-height: 1.2;
  background: linear-gradient(120deg, #2b8ab3 0%, #6cc3e6 45%, #9d93dc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prof-reading { margin: .3em 0 0; display: flex; align-items: baseline; gap: 1em; color: var(--ink-soft); letter-spacing: .2em; font-size: .9rem; }
.prof-reading i { font-family: var(--font-italic); font-style: italic; font-size: 1.25rem; letter-spacing: .12em; color: var(--accent-deep); }
.prof-role {
  display: inline-block; margin: 1.2em 0 0; padding: .25em 1em;
  font-family: var(--font-italic); font-style: italic; font-size: 1rem; letter-spacing: .12em;
  color: #fff; background: linear-gradient(90deg, var(--accent-deep), #6cc3e6); border-radius: 999px;
}
.prof-intro { margin: 1.6em 0 0; line-height: 2.1; color: var(--ink); }
.prof-links { margin-top: 2em; padding-top: 1.6em; border-top: 1px solid var(--line); display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.prof-sns { display: flex; gap: 10px; }
.prof-mail {
  margin-left: auto; text-decoration: none; font-family: var(--font-italic); font-style: italic;
  font-size: 1.1rem; letter-spacing: .1em; color: var(--accent-deep);
  padding: .35em 1.6em; border: 1px solid var(--accent-deep); border-radius: 999px; transition: .3s;
}
.prof-mail:hover { background: var(--accent-deep); color: #fff; }

/* 読み込み時に下からふわっと */
.rise { animation: rise 1.2s ease both; }
.rise--2 { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

.prof-icon img { pointer-events: none; -webkit-touch-callout: none; user-select: none; -webkit-user-drag: none; }

@media (max-width: 820px) {
  .prof { grid-template-columns: 1fr; }
  .prof-visual { width: min(260px, 70vw); margin: 0 auto; }
}
@media (max-width: 600px) {
  .prof-mail { margin-left: 0; }
}

/* ----- 動きを減らす設定の人向け ----- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .kv-flare, .kv-flare > span,
  .kv-layer.is-float img, .kv-imgs, .home-text, .home-name, .home-name::after { animation: none; }
  .kv-scroll::after { animation: none; }
  .prof-visual::before, .prof-visual::after, .prof-icon, .rise { animation: none; }
}

/* ----- タブレット・スマホ ----- */
@media (max-width: 820px) {
  .home-of { margin-bottom: 10px; font-size: 1.1rem; }
  .home-name { font-size: 3.4rem; }
  .home-catch { margin-top: 2em; font-size: .8rem; letter-spacing: .2em; }
  .pickup-grid { grid-template-columns: repeat(2, 1fr); }
  .kv { padding: 100px 20px 120px; }
  .kv::before { background: linear-gradient(90deg, rgba(12, 48, 72, .32), rgba(12, 48, 72, .05) 80%); }
  .kv-head { flex-wrap: wrap; gap: 8px 16px; padding: 14px 16px; }
  .kv-nav { gap: 16px; }
  .kv-nav a { font-size: 1rem; }
}
@media (max-width: 600px) {
  .topbar { height: auto; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px; }
  .topbar-nav { order: 3; width: 100%; margin-left: 0; justify-content: center; }
  .topbar-sns { margin-left: auto; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; border-radius: 6px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; translate: none; }
}
