/* 「普通のページ」（INFO・制作実績・JOURNAL）の見た目。INFO と同じ、白くて読みやすい調子。
   ページの中身は site/render.js がつくる。 */
:root {
  --ink: #27303b; --sub: #667383; --line: #dbe3ea;
  --blue: #5f86ad; --blue-pale: #eaf1f7; --bg: #f8fafc;
  --panel: rgba(255, 255, 255, .8);
  --shadow: 0 10px 30px rgba(70, 95, 125, .09);
  --en: "futura-pt", "Jost", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "dnp-shuei-gothic-kin-std", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 15px; line-height: 1.9; overflow-wrap: anywhere;
  background-image:
    radial-gradient(70% 42% at 92% 0%, rgba(190, 214, 236, .5), rgba(190, 214, 236, 0) 70%),
    radial-gradient(60% 36% at 0% 30%, rgba(226, 236, 244, .7), rgba(226, 236, 244, 0) 70%);
  background-repeat: no-repeat; background-attachment: fixed;
}
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
[lang="en"] { font-family: var(--en); }
.tbd { color: #a3acb6; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- ヘッダー・フッター ---------- */
.p-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 10px;
  background: rgba(248, 250, 252, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.p-top { display: flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; }
.p-top-bld { display: grid; grid-template-columns: 7px 7px; gap: 3px; }
.p-top-bld i { width: 7px; height: 9px; background: var(--ink); }
.p-top-t { font-weight: 700; font-size: 12px; letter-spacing: .2em; }
.p-nav { display: flex; gap: 2px; }
.p-nav a {
  display: flex; align-items: center; min-height: 40px; padding: 0 10px;
  font-weight: 700; font-size: 11.5px; letter-spacing: .16em; text-decoration: none; border-radius: 20px;
}
.p-nav a[aria-current] { color: #fff; background: var(--blue); }

.p-main { min-height: 70vh; }
.p-wrap { width: min(100% - 40px, 720px); margin: 0 auto; }

/* ---------- 世界のページとの行き来：「くもりガラス」（動きは pages.js と src/lib/shift.js） ---------- */
/* 左上の「〇〇 にもどる」：世界のページから来た人には、建物のアイコンのかわりに、来た世界の色の小さな丸い窓を出す。
   ふちは付けず、色がやわらかくにじんだ見た目にする（黒いふちは使わない、いずみP） */
.p-win { display: none; }
html[data-world] .p-top-bld { display: none; }
html[data-world] .p-win {
  display: block; flex: none; width: 26px; height: 26px; border-radius: 9px;
  box-shadow: 0 2px 8px rgba(40, 55, 80, .18), inset 0 0 0 1px rgba(255, 255, 255, .5);
  transition: transform .3s cubic-bezier(.3, 1.5, .5, 1);
}
html[data-world="emo"] .p-win { background: radial-gradient(circle at 30% 70%, rgba(255, 184, 102, .95), rgba(255, 184, 102, 0) 40%), radial-gradient(circle at 72% 30%, rgba(201, 168, 255, .85), rgba(201, 168, 255, 0) 42%), #1d2747; }
html[data-world="pixel"] .p-win { background: radial-gradient(circle at 65% 65%, rgba(61, 255, 139, .7), rgba(61, 255, 139, 0) 50%), #0a1a12; }
html[data-world="pop"] .p-win { background: radial-gradient(circle at 70% 70%, rgba(232, 71, 43, .9), rgba(232, 71, 43, 0) 42%), #ffd447; }
html[data-world] .p-top { gap: 9px; }
.p-top-t, .p-nav a { white-space: nowrap; }
@media (max-width: 400px) { html[data-world] .p-nav a { padding: 0 7px; letter-spacing: .12em; } }
@media (hover: hover) { html[data-world] .p-top:hover .p-win { transform: scale(1.1); } }

/* やってきたとき：白いかすみの中から、ぼんやり → くっきり浮かび上がる */
/* backwards：動き終わったら何も残さない（INFOの目次など、中の固定の部品が、上の段の下にもぐらないように） */
.fdq-arrive .p-head, .fdq-arrive .p-main, .fdq-arrive .p-foot { animation: p-arrive .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.fdq-arrive .p-head { animation-name: p-arrive-soft; }
.fdq-arrive .p-main { animation-delay: .08s; }
.fdq-arrive .p-foot { animation-delay: .2s; }
@keyframes p-arrive { from { opacity: 0; filter: blur(10px); transform: translateY(10px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes p-arrive-soft { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }

/* 世界へもどるとき：ページが白くかすんでいく（そのあと、世界のページでかすみが晴れる） */
.fdq-leave .p-head, .fdq-leave .p-main, .fdq-leave .p-foot { opacity: 0; filter: blur(10px); transition: opacity .4s ease, filter .4s ease; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .fdq-arrive .p-head, .fdq-arrive .p-main, .fdq-arrive .p-foot { animation: none; }
  .fdq-leave .p-head, .fdq-leave .p-main, .fdq-leave .p-foot { filter: none; transition: opacity .15s; }
}

/* 中身が短いページでも、フッターが画面のいちばん下に来るように */
body { min-height: 100svh; display: flex; flex-direction: column; }
.p-main { flex: 1 0 auto; }
.p-foot { flex-shrink: 0; }

/* フッター：左にロゴと運営、右にグループ分けしたサイトマップ（スマホでは上下に並ぶ） */
.p-foot { margin-top: 96px; padding: 48px 24px calc(env(safe-area-inset-bottom, 0px) + 44px); background: #fff; border-top: 1px solid var(--line); }
.p-foot-in { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column-reverse; gap: 40px; }
.p-foot-logo { font-family: var(--en); font-weight: 700; font-size: 18px; letter-spacing: .06em; color: var(--ink); text-decoration: none; }
.p-foot-op { margin-top: 10px; }
/* ページが見つかりません（/404.html） */
.nf { padding-bottom: 80px; }
.nf-text { margin-top: 28px; }
.nf-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* SNSのアイコン（Instagram・note）。まだアドレスがないものは押せない */
.p-sns { display: flex; gap: 6px; margin: 12px 0 4px -9px; }
.p-sns a, .p-sns span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.p-sns span { color: #9aa7b4; }
@media (hover: hover) { .p-sns a:hover { background: var(--blue-pale); color: var(--blue); } }
.p-foot-op, .p-foot-copy { font-size: 12px; color: var(--sub); }
.p-foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.p-foot-h { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.4; padding: 2px 0; }
.p-foot-h b { font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .16em; }
.p-foot-h span { font-size: 11px; color: var(--sub); margin-top: 2px; }
.p-foot-g ul { margin-top: 10px; padding-left: 12px; border-left: 1px solid var(--line); }
.p-foot-g li a { display: block; padding: 5px 0; font-size: 13px; color: var(--sub); text-decoration: none; }
.p-foot-h:hover b, .p-foot-g li a:hover { color: var(--blue); }
@media (min-width: 900px) {
  .p-foot { padding-top: 64px; }
  .p-foot-in { flex-direction: row; justify-content: space-between; gap: 48px; }
  .p-foot-nav { grid-template-columns: repeat(5, auto); gap: 22px 40px; }
  /* 中にページのあるグループ（WORKS・SERVICES・GUIDE・ABOUT）は縦に長く、
     JOURNAL・CONTACT・PRIVACY POLICY・TOP は、右の列に縦に重ねる */
  .p-foot-g:nth-child(-n+4) { grid-row: 1 / span 4; }
  .p-foot-g:nth-child(n+5) { grid-column: 5; }
  .p-foot-g:nth-child(5) { grid-row: 1; } .p-foot-g:nth-child(6) { grid-row: 2; }
  .p-foot-g:nth-child(7) { grid-row: 3; } .p-foot-g:nth-child(8) { grid-row: 4; }
}
@media (min-width: 900px) and (max-width: 1099px) { .p-foot-nav { gap: 22px 26px; } .p-foot-in { gap: 32px; } }

/* ---------- できること（/services/） ---------- */
.s-text { line-height: 2; }
.s-rel { margin: 34px 0 16px; font-size: 13px; font-weight: 600; color: var(--sub); display: flex; align-items: center; gap: 12px; }
.s-rel::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* 実績ページ：この実績が「できること」のどれにあたるか */
.w-svc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 16px; font-size: 13px; }
.w-svc span { color: var(--sub); margin-right: 4px; }
.w-svc a { padding: 2px 14px; border-radius: 18px; background: var(--blue-pale); color: var(--blue); text-decoration: none; font-weight: 600; }
.w-svc a::after { content: ""; display: inline-block; margin-left: 8px; vertical-align: 1px; border: 4px solid transparent; border-left: 6px solid currentColor; border-right: 0; }   /* 三角（いずみPの指定） */

/* ---------- お問い合わせ（/contact/） ---------- */
.c-page { text-align: left; margin-top: 30px; }
.c-page .p-contact-box { text-align: center; }
.c-form, .c-done { margin-top: 20px; padding: 26px 20px 30px; }
.c-form { text-align: left; }
.c-row { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.c-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0; font-weight: 600; font-size: 14.5px; }
.c-tag { font-size: 10.5px; font-weight: 600; line-height: 1; padding: 4px 8px; border-radius: 10px; color: var(--sub); background: #eef2f6; }
.c-tag.is-req { color: #fff; background: var(--blue); }
.c-input {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);   /* 16px 未満だと、iPhone で入力時に画面が拡大される */
  background: #fff; border: 1px solid #cdd7e1; border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.c-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(95, 134, 173, .16); }
.c-area { min-height: 180px; resize: vertical; line-height: 1.8; }
.c-input::placeholder { color: #a3acb6; }
.c-row.is-err .c-input { border-color: #d0605a; }
.c-err { font-size: 12.5px; color: #c4524c; margin-top: 6px; min-height: 0; }
.c-err:empty { display: none; }
/* ご相談の種類：押すと色がつく札 */
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chip { position: relative; }
.c-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.c-form .c-chip span {   /* .c-form を付けて、お問い合わせの箱の「.p-contact span（inline-block）」より強くする（文字が上にずれていた） */
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 22px; line-height: 1.3;
  font-size: 13.5px; background: #fff; border: 1px solid #cdd7e1; color: var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.c-chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.c-chip input:checked + span::before { content: "✓"; margin-right: 6px; }
.c-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
/* ご予算の目安・ご希望の公開・納品時期：丸を押して1つ選ぶ（縦に並べる。押せる幅は行いっぱい） */
.c-radios { display: flex; flex-direction: column; }
.c-radio { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 15px; line-height: 1.4; }
.c-radio input {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%;
  border: 1.5px solid #c3cfda; background: #fff; display: grid; place-items: center; cursor: pointer; transition: border-color .2s;
}
.c-radio input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.c-radio input:checked { border-color: var(--blue); }
.c-radio input:checked::after { transform: scale(1); }
.c-radio input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.c-note { margin-top: 8px; font-size: 12.5px; color: var(--sub); }
.c-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-agree-row { margin-top: 30px; text-align: center; }
.c-agree { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.c-agree input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }
.c-agree a { color: var(--blue); }
.c-send-err { text-align: center; }
.c-send { width: 100%; border: 0; font: inherit; font-size: 15px; cursor: pointer; margin-top: 6px; }
.c-send:disabled { opacity: .6; cursor: default; }
/* 送信しました：丸の中に、チェックが描かれていく */
.c-done { text-align: center; outline: none; }
.c-done > p { color: var(--sub); }
.c-done-mark { position: relative; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue-pale); }
.c-done-mark::after {
  content: ""; position: absolute; left: 22px; top: 16px; width: 14px; height: 26px;
  border: solid var(--blue); border-width: 0 4px 4px 0; transform: rotate(45deg); transform-origin: 50% 50%;
  animation: c-check .6s cubic-bezier(.3, 1.6, .5, 1) .15s both;
}
@keyframes c-check { from { opacity: 0; transform: rotate(45deg) scale(.2); } }

/* ---------- プライバシーポリシー（/privacy/） ---------- */
.pv-lead { margin-top: 34px; }
.pv-sec { margin-top: 40px; }
.pv-h { font-size: 17px; font-weight: 600; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.pv-sec p + p { margin-top: 8px; }
.pv-list { margin-top: 8px; }
.pv-list li { position: relative; padding-left: 1.2em; }
.pv-list li::before { content: "・"; position: absolute; left: 0; color: var(--blue); }
.pv-owner > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.pv-owner dt { color: var(--sub); font-size: 13.5px; }
.pv-date { margin-top: 36px; text-align: right; font-size: 13px; color: var(--sub); }

/* ---------- 共通の部品 ---------- */
.p-hero { padding: 56px 0 8px; }
.p-hero-en { font-family: var(--en); font-weight: 400; font-size: clamp(54px, 17vw, 120px); line-height: 1; letter-spacing: .04em; }
.p-lead { margin-top: 20px; color: var(--sub); }
.p-toc { margin-top: 30px; border-top: 1px solid var(--line); }
.p-toc a { display: flex; align-items: baseline; gap: 12px; min-height: 54px; padding: 14px 4px; text-decoration: none; border-bottom: 1px solid var(--line); }
.p-toc a::after { content: "↓"; margin-left: auto; color: var(--blue); font-size: 13px; }
.p-toc-no { font-size: 12px; color: var(--blue); letter-spacing: .1em; }
.p-toc-ja { font-weight: 600; }
.p-toc-en { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--sub); }

.p-sec { padding-top: 84px; }
.p-en { font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--blue); }
.p-h2 { font-size: 26px; line-height: 1.5; font-weight: 600; margin: 4px 0 26px; }
.p-cat { margin-top: 48px; }
.p-cat:first-of-type { margin-top: 0; }
.p-cat-en { font-family: var(--en); font-weight: 700; font-size: 11px; letter-spacing: .2em; color: var(--blue); }
.p-h3 { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.p-h4 { font-size: 16px; font-weight: 600; margin: 34px 0 12px; }
.p-h4 span { margin-left: 10px; font-size: 12px; font-weight: 400; color: var(--sub); }
.p-panel { background: var(--panel); border: 1px solid #fff; border-radius: 18px; box-shadow: var(--shadow); }
.p-box { padding: 20px; margin-top: 12px; }
.p-box > p + p { margin-top: 6px; }
.p-box-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.p-sub { font-size: 12px; font-weight: 400; color: var(--sub); }
.p-num { font-family: var(--en); font-weight: 700; font-size: 20px; }
.p-yen { font-size: 12px; margin-left: 2px; }
.p-ask { display: inline-block; font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--blue); border: 1px solid var(--blue); border-radius: 14px; padding: 2px 12px; }
.p-tax { text-align: right; font-size: 12px; color: var(--sub); margin-top: 10px; }
.p-note { font-size: 12.5px; color: var(--sub); margin-top: 10px; }
.p-no { font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .16em; color: var(--blue); }
.p-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 28px; max-width: 360px; margin: 14px auto 0;
  font-size: 14.5px; text-decoration: none; text-align: center;
  color: var(--blue); background: rgba(255, 255, 255, .85); border: 1px solid var(--blue);
}
.p-btn.is-fill { color: #fff; background: var(--blue); }

.p-rows > div { padding: 12px 0; border-top: 1px solid var(--line); }
.p-rows > div:first-child { border-top: 0; padding-top: 0; }
.p-rows dt { font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.p-rows dd { color: var(--sub); font-size: 14px; }

/* ---------- INFO ---------- */
.p-say { padding: 20px; }
.p-say p + p { margin-top: 10px; }
.p-qa-list { display: grid; gap: 12px; margin-top: 14px; }
.p-qa { padding: 18px 20px; }
.p-qa dt { font-weight: 600; display: flex; gap: 10px; line-height: 1.7; }
.p-q { flex: none; font-family: var(--en); font-weight: 700; color: var(--blue); }
.p-qa dd { margin-top: 8px; padding-left: 24px; font-size: 14.5px; }
.p-qa dd p + p { margin-top: 6px; }
.p-qa .is-strong { font-weight: 600; }

.p-plans { display: grid; gap: 14px; }
.p-plan { padding: 22px 20px; position: relative; }
.p-plan.is-pick { border-color: var(--blue); }
.p-badge { display: inline-block; font-size: 11px; color: #fff; background: var(--blue); border-radius: 12px; padding: 1px 12px; margin-bottom: 8px; }
.p-plan-name { font-family: var(--en); font-weight: 700; font-size: 20px; letter-spacing: .12em; }
.p-plan-copy { font-size: 14px; color: var(--sub); margin-top: 4px; }
.p-plan-price { margin-top: 10px; }
.p-plan-price .p-num { font-size: 30px; }
.p-spec { margin-top: 12px; border-top: 1px solid var(--line); }
.p-spec > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.p-spec b { font-family: var(--en); font-size: 17px; margin-right: 2px; }
.p-for { margin-top: 12px; font-size: 14px; }
.p-for span { display: block; font-size: 11.5px; color: var(--blue); }
.p-gr-kind { font-size: 15px; font-weight: 600; margin-top: 18px; }
.p-gr-kind:first-child { margin-top: 0; }
.p-gr-kind span { margin-left: 10px; font-size: 12px; font-weight: 400; color: var(--sub); }
.p-prices > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.p-prices dd { flex: none; }
.p-promise { margin-top: 56px; padding: 30px 20px; border-radius: 18px; background: var(--blue-pale); }
.p-promise-list { display: grid; gap: 22px; margin-top: 6px; }
.p-promise-list h4 { font-size: 16px; font-weight: 600; margin: 2px 0 6px; }
.p-promise-list p { font-size: 14.5px; }
.p-steps { border-left: 2px solid var(--line); margin-left: 6px; }
.p-step { position: relative; padding: 0 0 30px 22px; }
.p-step::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid var(--bg); }
.p-step h3 { font-size: 17px; font-weight: 600; margin: 2px 0 6px; }
.p-step > p { font-size: 14.5px; }
.p-you { margin-top: 10px; font-size: 13.5px !important; padding: 8px 14px; border-radius: 12px; background: var(--blue-pale); }
.p-you span { display: block; font-size: 11px; color: var(--blue); }
.p-gate { margin: 0 0 30px -8px; padding: 10px 16px; border-radius: 22px; background: var(--ink); color: #fff; font-size: 13px; text-align: center; }

.p-contact { text-align: center; }
.p-contact-box { padding: 36px 20px; margin-top: 12px; }
.p-contact-title { font-size: 24px; line-height: 1.6; font-weight: 600; margin-bottom: 16px; }
.p-contact span { display: inline-block; }
.p-contact-box > p { color: var(--sub); }
.p-contact-box .p-btn { margin-top: 22px; }
.p-contact-box .p-btn + .p-btn { margin-top: 10px; }
.p-slot { padding: 22px 20px; margin-top: 14px; font-size: 14px; }
.p-slot-now { margin-top: 12px; }
.p-slot-open { color: var(--blue); font-size: 13px; }
.p-company > div { display: grid; grid-template-columns: 5.4em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.p-company > div:first-child { border-top: 0; padding-top: 0; }
.p-company dt { color: var(--sub); }
.p-role { display: block; font-size: 11px; letter-spacing: .1em; color: var(--blue); }
.p-company-link { margin-top: 14px; font-size: 13.5px; }
.p-company-link a { color: var(--blue); }

/* ---------- 制作実績：一覧とカード ---------- */
.p-cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
.p-card { display: block; text-decoration: none; }
.p-card-ph { display: block; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: #e2d9cf; box-shadow: var(--shadow); }
.p-card-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.p-card:hover .p-card-ph img, .p-card:active .p-card-ph img { transform: scale(1.04); }
.p-card-kind { display: block; margin-top: 12px; font-size: 11.5px; color: var(--blue); letter-spacing: .08em; }
.p-card-name { display: block; font-size: 18px; font-weight: 600; line-height: 1.5; }
.p-card-copy { display: block; font-size: 13.5px; color: var(--sub); }

/* ---------- 制作実績：くわしいページ ---------- */
.w-read { padding-top: 8px; }
.w-intro { padding: 44px 0 8px; }
.w-kicker { display: flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .2em; color: var(--blue); }
.w-kicker a { font-weight: 700; text-decoration: none; }
.w-title, .j-h1 { font-size: clamp(30px, 9vw, 46px); line-height: 1.35; font-weight: 600; margin-top: 12px; }
.w-en { font-size: 11px; letter-spacing: .24em; color: var(--sub); margin-top: 6px; }
.w-copy-text { display: none; margin-top: 16px; font-size: 17px; font-weight: 600; }
.w-made { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.w-made li { font-size: 13px; padding: 2px 14px; border: 1px solid var(--ink); border-radius: 18px; }
.w-tags { margin-top: 18px; font-size: 13.5px; color: var(--sub); display: flex; flex-wrap: wrap; gap: 2px 14px; }
.w-tags li span { color: var(--blue); margin-right: 2px; font-family: var(--en); font-weight: 700; }

.w-ch { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); }
.w-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: inherit; font-weight: 400; }
.w-no { font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--blue); line-height: 1; }
.w-say { position: relative; font-size: 13px; font-weight: 600; line-height: 1.6; color: #fff; background: var(--blue); border-radius: 18px; padding: 3px 16px; }
.w-say::after { content: ""; position: absolute; left: 22px; bottom: -6px; border: 6px solid transparent; border-top-color: var(--blue); border-bottom: 0; }
.w-ch-title { font-size: 23px; line-height: 1.6; font-weight: 600; margin: 24px 0 18px; }
.w-text p + p { margin-top: 14px; }
p.w-text { margin-top: 22px; }
.w-gallery { display: grid; gap: 22px; margin-top: 26px; }
.w-gallery img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); }
.w-gallery figcaption { font-size: 12.5px; color: var(--sub); margin-top: 8px; }
.w-todo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; aspect-ratio: 16 / 9; border: 1px dashed #a9b7c5; border-radius: 12px; color: var(--sub); font-size: 13px; }
.w-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 2px 14px 2px 12px; border-radius: 18px; background: var(--blue-pale); color: var(--blue); font-size: 13px; font-weight: 600; }
.w-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: w-blink 1.6s ease-in-out infinite; }
@keyframes w-blink { 50% { opacity: .25; } }
.w-on-title { font-size: 19px; font-weight: 600; margin-top: 10px; }
.w-main { margin: 30px auto 0; width: min(100% - 24px, 960px); }
.w-main img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
/* Webサイトの実績：どんなサイトか（ひとこと）、動いている様子の動画、公開中のサイトへ */
.w-about { margin-top: 14px; font-size: 14px; color: var(--sub); }
.w-video { margin: 18px auto 0; width: min(100% - 24px, 960px); }
.w-video video { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 16 / 9); background: #e6ecf2; }
.w-site { margin-top: 26px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* ほかの制作実績：上の実績とは別のあつかい。色のちがう帯の上に、小さめのカードを並べる（スマホは横にすべらせる） */
.w-more { margin-top: 88px; padding: 52px 0 56px; background: linear-gradient(180deg, #e9f0f6, #f1f5f9 70%, rgba(241, 245, 249, 0)); }
.w-more-in { width: min(100% - 40px, 960px); margin: 0 auto; }
.w-more-en { font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .26em; color: var(--blue); }
.w-more-h { margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: .04em; }
.w-more-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; margin: 22px -20px 0; padding: 4px 20px 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.w-more-list::-webkit-scrollbar { display: none; }
.w-more-list .p-card { scroll-snap-align: start; }
.w-more-list .p-card-ph { border-radius: 12px; }
.w-more-list .p-card-name { font-size: 15px; }
.w-more-list .p-card-copy { font-size: 12.5px; }
.w-more-list .p-card-kind.p-chip { margin-top: 10px; font-size: 11px; }
.w-more .w-all { margin-top: 18px; }
@media (min-width: 720px) { .w-more-list { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; gap: 24px; margin: 26px 0 0; padding: 0; overflow: visible; } }
.w-all { margin-top: 30px; }
.w-contact { width: min(100% - 40px, 720px); margin: 72px auto 0; }

/* ブランディング実績の冒頭：大きなコピー（1行ずつ、ふわっと現れる）→ 写真 */
.w-hero { width: min(100% - 40px, 760px); margin: 0 auto; padding: 52px 0 0; }
.w-hero-no { font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--blue); }
.w-hero-copy { margin-top: 14px; font-size: clamp(26px, 7.6vw, 44px); line-height: 1.6; font-weight: 600; }
.w-hero-copy span { display: block; animation: w-rise .9s cubic-bezier(.2, .7, .3, 1) both; }
.w-hero-copy span:nth-child(2) { animation-delay: .25s; }
.w-hero-ph { margin-top: 30px; animation: w-rise 1s cubic-bezier(.2, .7, .3, 1) .5s both; }
.w-hero-ph img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
@keyframes w-rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .w-hero-copy span, .w-hero-ph { animation: none; } }

/* ---------- 記事の途中にはさむ「試作のサンプル」（以前のサイトの試作。記事に {{cards}} {{q}} と書く） ---------- */
.j-demo { margin: 2.4em 0; padding: 26px 18px 18px; background: #f3efe7; border-radius: 16px; }
.j-demo figcaption { margin-top: 16px; font-size: 12.5px; line-height: 1.7; color: var(--sub); text-align: center; }
/* 裏返るカード：紙のカード。表は生成り、裏はダスティブルー */
.j-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 520px; margin: 0 auto; }
.j-card {
  position: relative; aspect-ratio: 5 / 4; padding: 0; border: 0; background: none; font: inherit; color: inherit;
  perspective: 900px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.j-card:nth-child(2) { transform: rotate(1.5deg); }
.j-card:nth-child(3) { transform: rotate(-1.2deg); }
.j-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 8px; }
.j-card-in {
  position: absolute; inset: 0; display: block; transform-style: preserve-3d;
  transform: rotateY(var(--ry, 0deg));
  transition: transform 1.4s cubic-bezier(.4, .08, .12, 1);   /* ふんわり：ゆっくり動きだし、長く減速して止まる */
}
.j-face {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 14px; border-radius: 6px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #fbf9f4; color: #303237;
  box-shadow: inset 0 0 0 .5px rgba(48, 50, 55, .08), 0 1px 2px rgba(30, 30, 35, .08), 0 8px 18px -10px rgba(30, 30, 35, .22);
}
.j-face::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(90, 113, 132, .26); border-radius: 3px; pointer-events: none; }
.j-face.is-back { transform: rotateY(180deg); background: #687f91; color: #fff; }
.j-face.is-back::before { border-color: rgba(255, 255, 255, .34); }
.j-no { position: absolute; top: 10px; left: 11px; font-family: "chauncy-pro", var(--en); font-size: 14px; line-height: 1; color: #687f91; }
.j-face.is-back .j-no { color: rgba(255, 255, 255, .85); }
.j-no.is-end { top: auto; left: auto; bottom: 10px; right: 11px; transform: rotate(180deg); }
.j-word { font-size: clamp(14px, 4.2vw, 18px); font-weight: 600; line-height: 1.5; letter-spacing: .04em; }
/* キャラクターのQ：ふんわり浮かんで、ときどき頬がピンクに。押すと、ぴょんと跳ねて照れる */
.j-q-btn { display: block; width: min(52%, 220px); margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.j-q-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 12px; }
.j-q-body { position: relative; display: block; aspect-ratio: 560 / 512; animation: j-q-float 4.8s ease-in-out infinite; }
.j-q-body img { display: block; width: 100%; height: 100%; }
.j-q-blush { position: absolute; inset: 0; pointer-events: none; opacity: 0; animation: j-q-blush 7s ease-in-out 1.5s infinite; transition: opacity .5s ease; }
.j-q-blush::before, .j-q-blush::after {
  content: ""; position: absolute; top: 28%; width: 19%; height: 12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(205, 30, 75, .85), rgba(215, 45, 85, .55) 55%, rgba(225, 60, 95, 0));
  filter: blur(2px);
}
.j-q-blush::before { left: 25%; }
.j-q-blush::after { left: 54%; }
.j-q-btn.is-shy .j-q-blush { animation: none; opacity: 1; }
.j-q-btn.is-shy .j-q-body { animation: j-q-hop .7s cubic-bezier(.3, .7, .4, 1); }
@keyframes j-q-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes j-q-blush { 0%, 50%, 100% { opacity: 0; } 58%, 86% { opacity: 1; } }
@keyframes j-q-hop { 0% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(0) scale(1.08, .9); } 50% { transform: translateY(-26px) scale(.95, 1.06); } 82% { transform: translateY(0) scale(1.05, .94); } 100% { transform: translateY(0) scale(1, 1); } }
@media (prefers-reduced-motion: reduce) {
  .j-card-in { transition-duration: .3s; }
  .j-q-body, .j-q-btn.is-shy .j-q-body { animation: none; }
  .j-q-blush { animation: none; }
}
@media (min-width: 720px) { .j-demo { padding: 34px 28px 22px; } }

/* ---------- JOURNAL ---------- */
/* 見出しは、言葉の途中で折り返さない（「好／奇心」のような切れ方を防ぐ。対応していないブラウザでは、ふつうに折り返す） */
.j-h1, .j-title, .w-title, .j-body h2, .j-body h3 { word-break: auto-phrase; }
.j-list { display: grid; gap: 14px; margin-top: 34px; }
.j-item { display: block; padding: 20px; text-decoration: none; }
.j-item time, .j-head time { font-size: 12px; letter-spacing: .12em; color: var(--blue); font-weight: 700; }
.j-title { display: block; font-size: 18px; font-weight: 600; line-height: 1.6; margin-top: 2px; }
.j-desc { display: block; font-size: 13.5px; color: var(--sub); margin-top: 6px; }
.j-none { color: var(--sub); }
.j-head { padding: 44px 0 26px; border-bottom: 1px solid var(--line); }
.j-head time { display: block; margin-top: 14px; }
.j-body { padding-top: 30px; font-size: 16px; line-height: 2.05; }
.j-body p + p { margin-top: 1.5em; }
.j-body h2 { font-size: 22px; line-height: 1.6; font-weight: 600; margin: 2.4em 0 .8em; padding-left: 14px; border-left: 4px solid var(--blue); }
.j-body h3 { font-size: 18px; font-weight: 600; margin: 2em 0 .6em; }
.j-body ul { margin: 1.2em 0; }
.j-body li { position: relative; padding-left: 1.2em; }
.j-body li::before { content: ""; position: absolute; left: .2em; top: .9em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.j-body a { color: var(--blue); }
.j-body img { border-radius: 12px; margin: 1.6em 0; }
.j-post .w-all { margin-top: 56px; }

@media (min-width: 760px) {
  .p-cards { grid-template-columns: 1fr 1fr; gap: 28px; }
  .p-plans { grid-template-columns: repeat(3, 1fr); }
  .p-nav a { padding: 0 16px; }
  .w-gallery { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   2026-11-18 いずみPの依頼：「できること」の4つで、実績とサービスをそろえる
   ========================================================================== */
/* サービスごとの色（実績のカードの枠、一覧の見出し、できることのページで共通）。青系統でまとめる（いずみP） */
[data-svc="01"] { --c: #2a8a9c; --ct: #e6f3f5; }   /* グラフィックデザイン（青緑） */
[data-svc="02"] { --c: #3d7bbd; --ct: #e9f1fa; }   /* Webサイト制作 */
[data-svc="03"] { --c: #33507f; --ct: #e9edf5; }   /* ブランディング（紺） */
[data-svc="04"] { --c: #7360c4; --ct: #f0edfb; }   /* 各種クリエイティブ制作 */

/* 色付きの枠（実績のカードの上など） */
.p-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 11px 0 9px;
  border: 1.5px solid var(--c); border-radius: 8px; background: var(--ct); color: var(--c);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.9; white-space: nowrap;
}
.p-chip::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.p-card-kind.p-chip { display: inline-flex; margin: 14px 0 4px; }

/* 一覧（/works/）：上に分類の枠を並べ、押すとその分類へ。分類ごとに色の線で区切る */
.w-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.w-filter a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.w-filter .p-chip { font-size: 12.5px; padding: 3px 12px 3px 10px; }
.w-group { margin-top: 56px; padding-top: 18px; border-top: 3px solid var(--c); scroll-margin-top: 72px; }
.w-group-h { display: flex; align-items: baseline; gap: 10px; font-size: 21px; font-weight: 700; line-height: 1.5; }
.w-group-no { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--c); }
.w-group-n { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--sub); }
.w-group .p-cards { margin-top: 22px; }
.w-group-svc { margin-top: 20px; font-size: 13px; }
.w-group-svc a { display: inline-flex; align-items: center; min-height: 40px; gap: 8px; color: var(--c); font-weight: 600; text-decoration: none; }
.w-group-svc a::after { content: ""; border: 4px solid transparent; border-left: 6px solid currentColor; border-right: 0; }

/* くわしいページの上：WORKS ／ 分類（色付きの枠。押すと一覧のその分類へ） */
.w-kicker-svc {
  padding: 0 10px; border: 1.5px solid var(--c); border-radius: 8px; background: var(--ct); color: var(--c);
  font-size: 12px; letter-spacing: .08em; line-height: 1.9;
}

/* 吹き出し（制作のポイントなど）と、すぐ下の文章のあいだをあける */
.w-head + .w-text { margin-top: 26px; }

/* くわしいページ：上の段の下に「一覧へもどる」をいつも出しておく（読んでいる途中でももどれるように） */
.p-head { flex-wrap: wrap; row-gap: 0; }
.p-back {
  flex-basis: 100%; display: flex; align-items: center; gap: 9px; margin: 8px -16px -10px; padding: 7px 18px 8px;
  border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--blue); text-decoration: none;
}
.p-back-arw { border: 4.5px solid transparent; border-right: 6.5px solid currentColor; border-left: 0; }
html:has(.p-back) { scroll-padding-top: 112px; }
@media (hover: hover) { .p-back:hover { background: var(--blue-pale); } }

/* できること（/services/）：箱やカードにはしない（「AIっぽい」のでNG、いずみP 2026-11-18）。
   細い線で区切り、線の左はしだけサービスの色。番号は線の上に小さく、見出しは大きく */
.s-item { position: relative; margin-top: 72px; padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.s-item::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 2px; background: var(--c); }
.p-hero + .s-item { margin-top: 56px; }
.s-h { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.s-no { font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .24em; line-height: 1; color: var(--c); }
.s-no::after { content: " / SERVICE"; color: var(--sub); font-weight: 500; letter-spacing: .2em; }
.s-name { font-size: 25px; font-weight: 600; line-height: 1.5; letter-spacing: .04em; }
.s-text p + p { margin-top: 14px; }
/* 主な制作物：箱にせず、左に細い線を引いた小さな一覧 */
.s-main { margin-top: 26px; padding: 2px 0 2px 16px; border-left: 2px solid var(--c); }
.s-main-h { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--c); }
.s-main-list { display: flex; flex-wrap: wrap; margin-top: 4px; font-size: 14px; line-height: 1.9; }
.s-main-list li:not(:last-child)::after { content: "／"; margin: 0 .35em; color: #b3bfcb; }
.s-item .s-rel { margin-top: 34px; }
.p-toc li[data-svc] .p-toc-no { color: var(--c); font-weight: 700; }
@media (min-width: 720px) { .s-item { margin-top: 96px; padding-top: 34px; } .s-name { font-size: 30px; } }

/* 実績の動画：ブラウザの窓の形（全体にうっすら細いふち）。上の段にアドレス、下の段に再生ボタン・進み具合のバー・時間（2026-11-18） */
.w-video { margin-top: 26px; }
.w-video-win { overflow: hidden; border: 1px solid #d3dce5; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.w-video-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid #e6ecf1; }
.w-video-bar i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #dce3ea; }
.w-video-url {
  flex: 0 1 260px; min-width: 0; margin-left: 8px; padding: 0 10px; border-radius: 10px; background: var(--bg);
  font-size: 10.5px; letter-spacing: .06em; line-height: 18px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w-video-in { position: relative; cursor: pointer; background: #e6ecf2; }
/* 止めているときは、まんなかに再生の印 */
.w-video-in::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(255, 255, 255, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z' fill='%235f86ad'/%3E%3C/svg%3E") 56% 50% / 28px no-repeat;
  box-shadow: 0 6px 20px rgba(40, 55, 80, .18); opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; pointer-events: none;
}
.w-video.is-paused .w-video-in::after { opacity: 1; transform: none; }
/* 下の段：▶／❚❚・バー（押すとその位置へ）・時間 */
.w-video-ctrl { display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px 0 4px; border-top: 1px solid #e6ecf1; }
.w-video-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--blue); cursor: pointer; border-radius: 50%; }
.w-video-ico { width: 10px; height: 12px; border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; }
.w-video.is-paused .w-video-ico { width: 0; height: 0; border: 7px solid transparent; border-left: 11px solid currentColor; border-right: 0; margin-left: 4px; }
.w-video-track { position: relative; flex: 1; height: 40px; cursor: pointer; --p: 0; }
.w-video-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: #e3e9ef; }
.w-video-fill { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--blue); transform: scaleX(var(--p)); transform-origin: left; }
.w-video-knob { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 1px 4px rgba(40, 55, 80, .2); }
.w-video-time { flex: none; min-width: 74px; text-align: right; font-size: 11px; letter-spacing: .06em; color: var(--sub); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .w-video-btn:hover { background: var(--blue-pale); } }

/* 動画の下の説明は出さない（2026-11-19）。動画のすぐ下があきすぎないように */
.w-video + .w-sub { margin-top: 22px; }

/* 制作のポイントなど：太字の見出し（lead）と、番号つきの項目（2026-11-19） */
.w-text .w-lead { font-size: 18px; font-weight: 600; line-height: 1.75; letter-spacing: .02em; margin-bottom: 18px; }
.w-text .w-lead + p { margin-top: 0; }
.w-pts { margin-top: 30px; display: grid; gap: 26px; }
.w-pts li { padding-left: 16px; border-left: 2px solid var(--blue-pale); }
.w-pt-h { display: flex; flex-direction: column; gap: 4px; font-size: 16px; font-weight: 600; line-height: 1.6; margin-bottom: 8px; }
.w-pt-no { font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .2em; line-height: 1; color: var(--blue); }
@media (min-width: 720px) { .w-text .w-lead { font-size: 20px; } }

/* ほかにも担当したこと（PREX の Webサイトなど）：色付きの枠＋ひとこと。下に動画 */
.w-also .w-main { margin-top: 26px; }

/* クライアント名（ある実績だけ） */
.w-client { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 16px; font-size: 14px; }
.w-client-k { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--sub); }

/* 自主的な取り組み：小さな札（サービスの色の枠とは別の、色のない札） */
.w-self { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 14px; color: var(--sub); }
.w-self-tag, .p-card-self {
  display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid #8f9daa; border-radius: 999px; background: #fff;
  color: var(--ink); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; line-height: 1.9; white-space: nowrap;
}
.p-card-self { margin-left: 6px; font-size: 11px; }

/* 印刷物のルーペ（パソコンだけ。動きは pages.js）：丸いレンズが、マウスについてくる。
   写真の右上に、小さな虫めがねの印（ルーペで見られる合図）。レンズを出しているあいだは消える */
.has-loupe { position: relative; }
.has-loupe img { cursor: none; }
.has-loupe::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f86ad' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='5.5'/%3E%3Cpath d='M14.6 14.6 19 19M10.5 8.3v4.4M8.3 10.5h4.4'/%3E%3C/svg%3E") 50% / 18px no-repeat;
  box-shadow: 0 3px 10px rgba(40, 55, 80, .16); pointer-events: none; transition: opacity .2s;
}
.has-loupe.is-loupe::after { opacity: 0; }
.w-loupe {
  position: absolute; left: 0; top: 0; z-index: 2; width: 220px; height: 220px; border-radius: 50%;
  background-color: #fff; background-repeat: no-repeat;
  border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(95, 134, 173, .35), 0 14px 34px rgba(40, 55, 80, .28);
  pointer-events: none; opacity: 0; transform: scale(.6); transition: opacity .18s, transform .22s cubic-bezier(.3, 1.4, .5, 1);
}
.is-loupe .w-loupe { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .w-loupe { transition: opacity .1s; transform: none; } }

/* 写真が何枚かある実績（オモテ・ウラなど）：大きな写真の下に並べる */
.w-sub { width: min(100% - 24px, 960px); margin: 22px auto 0; gap: 18px; }
@media (min-width: 720px) { .w-sub { grid-template-columns: 1fr 1fr; } }
