/* 住宅図鑑のページごとの見た目。色・文字・ヘッダー・フッター・ボタンは shell.css */
/* トップ：表紙 */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 18px;
  padding: 12px var(--pad) 44px; position: relative;
}
.hero-photo { grid-column: 1; grid-row: 1; position: relative; }
.hero-frame { position: relative; aspect-ratio: 4 / 5; background: var(--photo); overflow: hidden; }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-frame img.prev { opacity: 1; z-index: 1; }
.hero-frame img.on { opacity: 1; z-index: 2; animation: wipe 1.2s var(--io) both, drift 7s linear both; }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-frame a { position: absolute; inset: 0; z-index: 3; }
.hero-cap { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
@media (min-width: 800px) { .hero-cap { flex-direction: row; align-items: flex-end; gap: 14px; } }
.hero-cap .num { font-size: 44px; font-style: italic; line-height: 1; overflow: hidden; padding-right: 6px; }
.hero-cap .num span, .hero-cap p span { display: block; }
.hero-cap p { white-space: nowrap; padding-bottom: 6px; }
.hero-cap p { font-size: 11.5px; letter-spacing: .14em; line-height: 1.6; color: var(--mid); overflow: hidden; }
.hero-cap p b { display: block; font-family: var(--mincho); font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: .12em; }
.hero-cap .swap { animation: swap .7s var(--out) both; }
@keyframes swap { from { transform: translateY(105%); } }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 4; background: rgba(255, 255, 255, .35); }
.hero-bar i { display: block; height: 100%; background: var(--shu); transform-origin: left; transform: scaleX(0); }
.hero-bar i.run { animation: bar var(--t, 5s) linear both; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-title {
  grid-column: 2; grid-row: 1; writing-mode: vertical-rl; font-size: min(6.6vw, 3.5vh, 30px); font-weight: 500;
  letter-spacing: .2em; line-height: 1.75; white-space: nowrap; margin-top: 4px;
}
.hero-title .col { display: block; }
.hero-title .col:nth-child(2) { padding-top: 1.6em; }
.hero-title .col:nth-child(3) { padding-top: 3.2em; }
.hero-title em { font-style: normal; color: var(--shu); }
.hero-side { grid-column: 1 / -1; display: grid; gap: 24px; }
.hero-lead { color: var(--mid); max-width: 30em; font-size: 14px; line-height: 2.1; }
.shuzo { font-family: var(--mincho); font-size: 15px; letter-spacing: .14em; line-height: 2; border-top: 1px solid var(--ink); padding-top: 14px; max-width: 30em; }
.shuzo b { font-weight: 700; font-size: 1.5em; color: var(--shu); margin: 0 .15em; }
.shuzo span { display: block; font-size: 11.5px; letter-spacing: .2em; color: var(--faint); }
.hero-empty .hero-photo { display: none; }
@media (min-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) min(38vw, 60vh) auto; gap: 0 5vw; align-items: end;
    min-height: calc(100svh - var(--hd)); padding: 2vh var(--pad) 7vh;
  }
  .hero-photo { grid-column: 2; align-self: center; }
  .hero-title { grid-column: 3; align-self: start; font-size: min(4.2vw, 5.6vh, 64px); margin-top: 3vh; }
  .hero-side { grid-column: 1; grid-row: 1; align-self: end; gap: 40px; padding-bottom: 64px; }
  .hero-lead { font-size: 15px; }
  .hero-cap .num { font-size: 64px; }
}
.cue { display: none; }
@media (min-width: 800px) {
  .cue { display: block; position: absolute; left: var(--pad); bottom: 0; width: 1px; height: 56px; background: var(--rule); overflow: hidden; }
  .cue::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: cue 2.4s var(--io) infinite; }
}
@keyframes cue { 0% { transform: translateY(-100%); } 50% { transform: none; } 100% { transform: translateY(100%); } }

/* 流れる帯 */
.belt { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; padding: 13px 0; white-space: nowrap; display: flex; }
.belt div { flex: none; display: flex; animation: belt 60s linear infinite; }
.belt span { font-family: var(--mincho); font-size: 15px; letter-spacing: .22em; padding-left: 22px; }
.belt span::after { content: "／"; margin-left: 22px; color: var(--shu); }
.belt:hover div { animation-play-state: paused; }
@keyframes belt { to { transform: translateX(-100%); } }

/* 一覧 */
.idx { padding: 72px var(--pad) 0; }
@media (min-width: 800px) { .idx { padding-top: 120px; } }
.idx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.idx-head h2 { font-size: clamp(30px, 6vw, 58px); letter-spacing: .2em; line-height: 1.2; }
.idx-head h2 small { display: block; font-family: var(--num); font-style: italic; font-size: 14px; letter-spacing: .06em; color: var(--shu); margin: 0 0 8px; }
.idx-count { font-family: var(--num); font-size: clamp(44px, 9vw, 96px); line-height: .9; white-space: nowrap; }
.idx-count small { font-family: var(--mincho); font-size: 14px; letter-spacing: .1em; margin-left: 6px; color: var(--ink); }
.idx-rule { height: 1px; background: var(--ink); margin-top: 22px; }

.filters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; margin-top: 4px; }
@media (min-width: 800px) { .filters { grid-template-columns: repeat(4, 1fr); gap: 0 32px; } }
.sel { display: block; border-bottom: 1px solid var(--rule); padding: 14px 0 2px; font-size: 10.5px; letter-spacing: .24em; color: var(--faint); transition: border-color .3s; }
.sel:hover, .sel:focus-within { border-color: var(--ink); }
.sel select {
  display: block; width: 100%; appearance: none; -webkit-appearance: none; border: 0; border-radius: 0; background: transparent;
  font: inherit; font-family: var(--mincho); font-size: 16px; letter-spacing: .1em; color: var(--ink); padding: 2px 22px 10px 0; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23131313'%3E%3Cpath d='m.5.5 4.5 4.5L9.5.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px top 10px;
}
.sel select:focus { outline: none; }
.chips { display: flex; gap: 4px 22px; overflow-x: auto; padding: 20px var(--pad) 6px; margin: 0 calc(var(--pad) * -1); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 800px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip { flex: none; background: none; border: 0; padding: 4px 0; font-size: 13px; letter-spacing: .08em; color: var(--mid); cursor: pointer; position: relative; transition: color .3s; }
.chip::before { content: "#"; color: var(--faint); margin-right: 2px; transition: color .3s; }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px; background: var(--shu); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--out); }
.chip:hover { color: var(--ink); }
.chip.on { color: var(--shu); }
.chip.on::before { color: var(--shu); }
.chip.on::after { transform: scaleX(1); transform-origin: left; }
.reset { background: none; border: 0; padding: 0; margin-top: 10px; font-size: 12px; letter-spacing: .1em; color: var(--mid); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.grid { display: grid; grid-template-columns: 1fr; gap: 64px 0; padding: 48px 0 0; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 72px 6vw; } .card[data-p2="1"] { margin-top: 96px; } }
@media (min-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 96px 4.5vw; }
  .card[data-p2="1"] { margin-top: 0; }
  .card[data-p3="1"] { margin-top: 120px; }
  .card[data-p3="2"] { margin-top: 48px; }
}
.card { display: block; text-decoration: none; position: relative; }
.card.pop { animation: pop .8s var(--out) both; animation-delay: var(--d, 0s); }
@keyframes pop { from { opacity: 0; transform: translateY(26px); } }
.card-fig { display: grid; grid-template-columns: minmax(0, 1fr) 26px; align-items: start; }
/* 枠は表紙の向きに合わせる。縦は4:5、横は4:3、ほぼ正方形は1:1 */
.card-ph { aspect-ratio: 4 / 5; background: var(--photo); overflow: hidden; }
.card-ph[data-shape="yoko"] { aspect-ratio: 4 / 3; }
.card-ph[data-shape="sq"] { aspect-ratio: 1; }
.card-ph img { width: 100%; height: 100%; object-fit: cover; }
.card-ph .zoom { width: 100%; height: 100%; transition: transform 1.4s var(--out); }
.card:hover .card-ph .zoom { transform: scale(1.06); }
.card-area { writing-mode: vertical-rl; font-size: 11px; letter-spacing: .34em; color: var(--mid); padding-top: 2px; justify-self: end; white-space: nowrap; }
.card-area i { font-style: normal; color: var(--faint); margin-top: 1em; display: inline-block; }
.card-num { display: block; font-family: var(--num); font-style: italic; font-size: 76px; line-height: 1; margin: -.52em 0 0 -4px; color: #fff; mix-blend-mode: difference; position: relative; pointer-events: none; transition: transform .8s var(--out); }
.card:hover .card-num { transform: translateX(8px); }
.card h3 { font-size: 21px; display: inline; background: linear-gradient(var(--shu), var(--shu)) no-repeat 0 100% / 0 1px; transition: background-size .6s var(--out); padding-bottom: 3px; }
.card:hover h3 { background-size: 100% 1px; }
.card-name { margin-top: 12px; }
.card-spec { font-size: 12px; letter-spacing: .14em; color: var(--mid); margin-top: 8px; }
.card-text { font-size: 13.5px; color: var(--mid); margin-top: 10px; line-height: 1.95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-tags { font-size: 11.5px; letter-spacing: .08em; color: var(--faint); margin-top: 10px; }
.empty { text-align: center; color: var(--faint); padding: 72px 16px; font-family: var(--mincho); letter-spacing: .14em; }

/* 使い方 */
.how { padding: 120px var(--pad) 0; display: grid; gap: 40px; }
@media (min-width: 900px) { .how { grid-template-columns: auto 1fr; gap: 8vw; padding-top: 180px; } }
.how h2 { writing-mode: vertical-rl; font-size: clamp(24px, 3vw, 38px); letter-spacing: .26em; line-height: 1.9; white-space: nowrap; height: max-content; }
.how h2 em { font-style: normal; color: var(--shu); }
.how ol { list-style: none; border-top: 1px solid var(--ink); }
.how li { display: grid; grid-template-columns: 76px 1fr; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--rule); position: relative; }
@media (min-width: 900px) { .how li { grid-template-columns: 140px 220px 1fr; padding: 34px 0; } }
.how li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--out); }
.how li:hover::after { transform: scaleX(1); }
.how li i { font-family: var(--num); font-style: italic; font-size: 44px; line-height: 1; }
.how li b { font-family: var(--mincho); font-size: 19px; font-weight: 500; letter-spacing: .14em; }
.how li span { grid-column: 2; font-size: 13.5px; color: var(--mid); }
@media (min-width: 900px) { .how li span { grid-column: 3; } }
.note { font-size: 12.5px; line-height: 1.9; color: var(--mid); border-left: 2px solid var(--shu); padding: 2px 0 2px 14px; margin-top: 26px; }

/* 載せる誘い */
.invite { margin: 120px var(--pad) 0; background: var(--ink); color: var(--paper); padding: 56px 28px; position: relative; overflow: hidden; display: grid; gap: 28px; }
@media (min-width: 900px) { .invite { margin-top: 180px; padding: 96px 7vw; grid-template-columns: 1fr auto; align-items: end; } }
.invite h2 { font-size: clamp(28px, 5vw, 56px); letter-spacing: .16em; line-height: 1.6; }
.invite p { font-size: 13.5px; color: #a9a79f; margin-top: 14px; }
.invite .ring { position: absolute; right: -36px; top: -36px; width: 170px; height: 170px; color: var(--shu); animation: spin 40s linear infinite; }
.invite .ring text { font-family: var(--mincho); font-size: 11px; letter-spacing: .32em; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 文章のページ（お問い合わせ・運営について） */
.doc { max-width: 980px; margin: 0 auto; padding: 56px var(--pad) 0; display: grid; gap: 36px; }
@media (min-width: 860px) { .doc { grid-template-columns: auto minmax(0, 1fr); gap: 7vw; padding-top: 88px; } }
.doc > h1 { writing-mode: vertical-rl; font-size: clamp(30px, 5vw, 46px); letter-spacing: .3em; line-height: 1.3; white-space: nowrap; height: max-content; }
.doc > h1 small { display: block; font-family: var(--gothic); font-size: 11px; font-weight: 400; letter-spacing: .3em; color: var(--shu); margin: 0 0 0 .8em; }
@media (max-width: 859px) { .doc > h1 { justify-self: end; } }
.doc-lead { font-family: var(--mincho); font-size: clamp(17px, 2.2vw, 21px); line-height: 2.1; letter-spacing: .1em; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.doc-lead em { font-style: normal; color: var(--shu); }
.doc section { padding: 30px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; }
@media (min-width: 860px) { .doc section { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; } }
.doc section h2 { font-size: 17px; letter-spacing: .16em; line-height: 1.7; }
.doc section h2 i { display: block; font-family: var(--num); font-size: 26px; color: var(--shu); line-height: 1.2; letter-spacing: 0; }
.doc section p, .doc section li { font-size: 14px; line-height: 2.05; color: var(--mid); }
.doc section p + p { margin-top: 10px; }
.doc section ul { list-style: none; display: grid; gap: 6px; }
.doc section li { padding-left: 1.2em; position: relative; }
.doc section li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--ink); }
.doc section b { color: var(--ink); font-weight: 600; }
.steps { list-style: none; counter-reset: st; border-top: 1px solid var(--ink); margin: 18px 0 18px; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 52px 1fr; gap: 0 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(st, decimal-leading-zero); grid-row: 1 / 3; font-family: var(--num); font-style: italic; font-size: 26px; line-height: 1.2; color: var(--shu); }
.steps li b { font-family: var(--mincho); font-weight: 500; font-size: 15.5px; letter-spacing: .1em; color: var(--ink); }
.steps li span { font-size: 13.5px; line-height: 1.9; color: var(--mid); }
.doc section .steps li { padding-left: 0; }
.doc section .steps li::before { content: counter(st, decimal-leading-zero); position: static; width: auto; height: auto; background: none; top: auto; }
.flow { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.flow div { display: grid; grid-template-columns: 9.6em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.9; }
.flow dt { font-family: var(--mincho); letter-spacing: .08em; white-space: nowrap; }
.flow dd { margin: 0; color: var(--mid); }
.flow dd b { color: var(--shu); font-weight: 600; }
.doc .reach { display: grid; gap: 10px; margin-top: 6px; }
@media (min-width: 560px) { .doc .reach { grid-template-columns: 1fr 1fr; } }
.doc .meta { font-size: 11.5px; color: var(--faint); letter-spacing: .1em; padding-top: 22px; }

/* 詳細 */
.d-head { padding: 52px var(--pad) 0; display: grid; gap: 4px; position: relative; }
.crumb { font-size: 11px; letter-spacing: .18em; color: var(--faint); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--shu); }
.d-num { font-family: var(--num); font-style: italic; font-size: clamp(92px, 24vw, 260px); line-height: .9; margin: 16px 0 0 -.04em; overflow: hidden; padding-right: .1em; }
.d-num small { font-family: var(--num); font-size: .2em; font-style: normal; letter-spacing: .08em; margin: 0 .2em 0 0; color: var(--shu); position: relative; top: -2.6em; }
.d-num span { display: inline-block; }
.js .d-num span { animation: rise 1.2s var(--out) both; }
@keyframes rise { from { transform: translateY(100%); } }
.d-head h1 { font-size: clamp(26px, 5.4vw, 52px); letter-spacing: .14em; margin-top: 14px; }
.d-sub { font-size: 12.5px; letter-spacing: .2em; color: var(--mid); margin-top: 8px; }
@media (min-width: 900px) {
  .d-head { grid-template-columns: auto 1fr; column-gap: 5vw; align-items: end; }
  .crumb { grid-column: 1 / -1; }
  .d-title { padding-bottom: 1.6vw; }
}

.film { margin-top: 36px; position: relative; }
.film-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 0 var(--pad); scroll-padding: 0 var(--pad); cursor: grab; }
.film-track::-webkit-scrollbar { display: none; }
.film-track.drag { cursor: grabbing; scroll-snap-type: none; }
.film-track figure { flex: none; height: min(66vw, 62vh); background: var(--photo); overflow: hidden; scroll-snap-align: start; }
.film-track img { height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.film-foot { display: flex; align-items: center; gap: 18px; padding: 16px var(--pad) 0; }
.film-foot .num { font-size: 15px; letter-spacing: .1em; white-space: nowrap; }
.film-line { flex: 1; height: 1px; background: var(--rule); position: relative; }
.film-line i { position: absolute; left: 0; top: -.5px; height: 2px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .2s linear; }
.film-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: none; cursor: pointer; display: none; place-items: center; transition: background .3s, color .3s, opacity .3s; }
.film-btn svg { width: 14px; height: 14px; }
.film-btn:hover { background: var(--ink); color: var(--paper); }
.film-btn:disabled { opacity: .25; pointer-events: none; }
@media (hover: hover) and (min-width: 800px) { .film-btn { display: grid; } }

.d-body { display: grid; gap: 64px; padding: 64px var(--pad) 0; }
@media (min-width: 960px) { .d-body { grid-template-columns: minmax(0, 1fr) 380px; gap: 8vw; padding-top: 110px; align-items: start; } }
.d-tags { font-size: 12.5px; letter-spacing: .1em; color: var(--mid); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.d-tags span::before { content: "#"; color: var(--shu); margin-right: 2px; }
.voice { margin-top: 48px; }
.voice h2 { font-family: var(--gothic); font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--faint); display: flex; align-items: center; gap: 14px; }
.voice h2::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.quote { font-family: var(--mincho); font-size: clamp(19px, 2.3vw, 27px); line-height: 2.1; letter-spacing: .1em; margin-top: 26px; }
.quote.tate { writing-mode: vertical-rl; text-orientation: upright; height: 13em; max-width: 100%; overflow-x: auto; line-height: 2.2; letter-spacing: .16em; margin-left: auto; scrollbar-width: thin; }
.voice .body { margin-top: 20px; color: var(--mid); line-height: 2.2; max-width: 36em; }
.ie-aka {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 16px; margin-top: 28px; padding: 18px 0 14px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); text-decoration: none; position: relative;
}
.ie-aka::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--shu); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--out); }
.ie-aka:hover::after { transform: scaleX(1); }
.ie-aka-t { grid-column: 1; font-size: 11px; letter-spacing: .3em; color: var(--faint); }
.ie-aka-h { grid-column: 1; font-family: var(--num); font-style: italic; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; letter-spacing: .02em; overflow-wrap: anywhere; transition: color .3s; }
.ie-aka .arr { grid-column: 2; grid-row: 1 / 3; font-size: 18px; transition: transform .5s var(--out); }
.ie-aka:hover .ie-aka-h { color: var(--shu); }
.ie-aka:hover .arr { transform: translateX(6px); }
.card-ig { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--rule); color: var(--shu); }
.ig-input { display: flex; align-items: baseline; gap: 4px; border-bottom: 1px solid var(--rule); margin-top: 6px; transition: border-color .3s; }
.ig-input:focus-within { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.ig-input i { font-style: normal; font-family: var(--num); font-size: 18px; color: var(--faint); }
.ig-input input { flex: 1; min-width: 0; font: inherit; font-size: 16px; font-weight: 400; letter-spacing: .04em; color: var(--ink); background: transparent; border: 0; padding: 10px 0; }
.ig-input input:focus { outline: none; }
.field .hint { display: block; font-weight: 400; letter-spacing: .04em; margin-top: 8px; }
.by { margin-top: 44px; font-size: 12px; letter-spacing: .14em; color: var(--faint); text-align: right; }

.side { display: grid; gap: 44px; }
@media (min-width: 960px) { .side { position: sticky; top: calc(var(--hd) + 24px); } }
.spec { border-top: 1px solid var(--ink); }
.spec div { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-size: 11px; letter-spacing: .24em; color: var(--faint); white-space: nowrap; }
.spec div::before { content: ""; order: 2; flex: 1; border-bottom: 1px dotted var(--faint); transform: translateY(-4px); opacity: .6; }
.spec dd { order: 3; font-family: var(--mincho); font-size: 16px; letter-spacing: .1em; text-align: right; }
.cta { background: var(--ink); color: var(--paper); padding: 34px 26px 28px; position: relative; }
.cta h2 { font-size: 22px; letter-spacing: .16em; line-height: 1.7; }
.cta h2 em { font-style: normal; color: var(--shu); }
.cta > p { font-size: 13px; color: #b3b1a9; margin-top: 14px; line-height: 2; }
.msg { display: flex; align-items: center; gap: 12px; margin-top: 22px; border: 1px solid #45443f; padding: 12px 12px 12px 16px; font-size: 13px; line-height: 1.7; }
.msg span { flex: 1; }
.msg button { flex: none; background: none; border: 1px solid #77756d; color: var(--paper); font-size: 11px; letter-spacing: .14em; padding: 5px 12px; cursor: pointer; transition: all .3s; }
.msg button:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
/* 比べる候補 */
.pick-box { margin-top: 20px; padding-top: 18px; border-top: 1px solid #33322e; }
.pick-toggle {
  display: flex; align-items: center; gap: 10px; width: 100%; cursor: pointer; text-align: left;
  font-family: var(--mincho); font-size: 14.5px; letter-spacing: .12em; color: var(--paper);
  background: none; border: 1px dashed #77756d; padding: 12px 14px; transition: border-color .3s, background .3s;
}
.pick-toggle:hover { border-color: var(--paper); }
.pick-mark { width: 16px; height: 16px; flex: none; border: 1px solid currentColor; position: relative; transition: background .3s; }
.pick-mark::before, .pick-mark::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 1px; background: currentColor; }
.pick-mark::after { transform: rotate(90deg); }
.pick-toggle.on { border-style: solid; border-color: var(--shu); background: rgba(210, 67, 42, .12); }
.pick-toggle.on .pick-mark { background: var(--shu); border-color: var(--shu); }
.pick-toggle.on .pick-mark::before { left: 3px; right: auto; width: 4px; top: 8px; transform: rotate(45deg); background: #fff; }
.pick-toggle.on .pick-mark::after { left: 5px; right: auto; width: 8px; top: 7px; transform: rotate(-50deg); background: #fff; }
.cta .pick-note { font-size: 12px; color: #a9a79f; margin-top: 10px; line-height: 1.8; }
.cta .pick-with { font-size: 12.5px; color: var(--paper); margin-top: 8px; }
.cta .pick-with a { color: var(--paper); text-underline-offset: 3px; }

/* 一覧などに出る、候補の入れ物 */
.tray { position: fixed; right: var(--pad); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 26; }
.tray[hidden] { display: none !important; }
.tray-btn {
  display: flex; align-items: baseline; gap: 6px; cursor: pointer; border: 0;
  background: var(--shu); color: #fff; padding: 11px 18px; font-family: var(--mincho); font-size: 13.5px; letter-spacing: .14em;
  box-shadow: 0 6px 20px rgba(19, 19, 19, .18); animation: rise .6s var(--out) both;
}
.tray-btn .num { font-family: var(--num); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: 0; }
.tray-btn small { font-size: 11px; color: #fff; margin: 0; }
.tray-panel { position: absolute; right: 0; bottom: calc(100% + 10px); width: min(380px, calc(100vw - 2 * var(--pad))); max-height: min(560px, calc(100vh - 140px)); overflow: auto; box-shadow: 0 12px 40px rgba(19, 19, 19, .3); animation: rise .45s var(--out) both; }
.tray-head { display: flex; align-items: center; justify-content: space-between; }
.tray-head h2 { font-size: 19px; letter-spacing: .16em; }
.tray-close { background: none; border: 0; color: #a9a79f; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 6px; }
.tray-close:hover { color: var(--paper); }
.cta .tray-lead { font-size: 12.5px; color: #b3b1a9; margin-top: 8px; line-height: 1.9; }
.tray-list { list-style: none; margin-top: 14px; border-top: 1px solid #33322e; }
.tray-list li { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #33322e; }
.tray-list a { flex: 1; display: grid; grid-template-columns: 52px 1fr; padding: 10px 0; text-decoration: none; color: var(--paper); }
.tray-list a .num { grid-row: 1 / 3; font-family: var(--num); font-style: italic; font-size: 22px; line-height: 1.2; color: var(--shu); }
.tray-list a b { font-family: var(--mincho); font-weight: 500; font-size: 14.5px; letter-spacing: .1em; }
.tray-list a small { font-size: 11.5px; color: #8d8b84; margin: 0; }
.tray-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.tray-list button { background: none; border: 1px solid #45443f; color: #b3b1a9; font-size: 11px; letter-spacing: .1em; padding: 4px 10px; cursor: pointer; }
.tray-list button:hover { border-color: var(--paper); color: var(--paper); }
@media (max-width: 959px) { body:has(.tray:not([hidden])) .ft { padding-bottom: calc(90px + env(safe-area-inset-bottom)); } }
.cta .btn { margin-top: 12px; }
.cta .btn.main { background: linear-gradient(var(--paper), var(--paper)) no-repeat 0 0 / 0% 100%, var(--shu); color: #fff; }
.cta .btn.main:hover { color: var(--ink); }
.cta .btn.line { box-shadow: inset 0 0 0 1px #77756d; color: var(--paper); background-image: linear-gradient(var(--paper), var(--paper)); }
.cta .btn.line:hover { color: var(--ink); }
.cta .cta-note { font-size: 11.5px; color: #8d8b84; margin-top: 16px; }
.cta .note { color: #c9c7bf; margin-top: 20px; }
.cta-pr { margin-top: 18px; text-align: right; font-size: 10px; letter-spacing: .1em; line-height: 1; }
.cta-pr a { color: #6f6d66; text-decoration: none; }
.cta-pr a:hover { color: #a9a79f; }

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: stretch;
  background: var(--ink); color: var(--paper); transform: translateY(105%); transition: transform .6s var(--out);
  padding-bottom: env(safe-area-inset-bottom);
}
.bar.show { transform: none; }
.bar p { padding: 10px 18px; font-size: 10px; letter-spacing: .2em; color: #a9a79f; line-height: 1.4; display: grid; align-content: center; }
.bar p b { font-family: var(--num); font-style: italic; font-weight: 400; font-size: 22px; color: var(--paper); letter-spacing: 0; }
.bar a { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; min-height: 60px; background: var(--shu); color: #fff; text-decoration: none; font-family: var(--mincho); letter-spacing: .2em; font-size: 15px; }
@media (min-width: 960px) { .bar { display: none; } }
@media (max-width: 959px) { body:has(.bar) .ft { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 40; transform: translate(-50%, 14px); opacity: 0; pointer-events: none; background: var(--shu); color: #fff; font-size: 12.5px; letter-spacing: .14em; padding: 9px 20px; white-space: nowrap; transition: opacity .4s var(--out), transform .4s var(--out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 投稿フォーム */
.prog { position: sticky; top: var(--hd); z-index: 20; height: 2px; background: var(--rule); }
.prog i { display: block; height: 100%; background: var(--shu); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .7s var(--out); }
.form-wrap { max-width: 720px; margin: 0 auto; padding: 44px var(--pad) 0; }
@media (min-width: 800px) { .form-wrap { padding: 72px 20px 0; } }
.form-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.form-head h1 { writing-mode: vertical-rl; font-size: clamp(30px, 6vw, 46px); letter-spacing: .3em; line-height: 1.3; white-space: nowrap; grid-column: 2; grid-row: 1 / 3; }
.lead { color: var(--mid); font-size: 14px; line-height: 2.1; align-self: end; }
.assure { list-style: none; font-size: 12px; letter-spacing: .12em; color: var(--ink); display: grid; gap: 2px; align-self: start; }
.assure li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--shu); margin-right: 10px; transform: translateY(-1px); }
fieldset { border: 0; border-top: 1px solid var(--ink); padding: 26px 0 8px; margin: 56px 0 0; min-width: 0; position: relative; }
legend { float: left; width: 100%; padding: 0; margin-bottom: 6px; font-family: var(--mincho); font-size: 21px; font-weight: 500; letter-spacing: .16em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
legend + * { clear: both; }
.step { font-family: var(--num); font-style: italic; font-size: 40px; line-height: 1; color: var(--shu); min-width: 44px; letter-spacing: 0; }
small { font-family: var(--gothic); font-size: 11.5px; font-weight: 400; color: var(--faint); letter-spacing: .06em; }
.field { display: block; margin-top: 26px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; color: var(--mid); }
.field small { margin-left: 8px; letter-spacing: .06em; }
.field > input, .field > select, .field > textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; font-weight: 400; letter-spacing: .04em; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 10px 0; transition: border-color .3s, box-shadow .3s;
}
.field > textarea { border: 1px solid var(--rule); padding: 12px 14px; margin-top: 10px; resize: vertical; min-height: 104px; line-height: 1.9; background: var(--white); }
.field > select { appearance: none; -webkit-appearance: none; padding-right: 24px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23131313'%3E%3Cpath d='m.5.5 4.5 4.5L9.5.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.field > input:focus, .field > select:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field > textarea:focus { outline: none; border-color: var(--ink); }
input[type="password"] { font: inherit; font-size: 16px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0; width: 100%; border-radius: 0; }
::placeholder { color: #b9b7af; }
.counter { display: block; text-align: right; font-family: var(--num); font-size: 12px; font-weight: 400; letter-spacing: .04em; color: var(--faint); margin-top: 4px; }
.picks { display: grid; gap: 8px; margin-top: 12px; }
.picks.two { grid-template-columns: repeat(2, 1fr); }
.picks.three { grid-template-columns: repeat(3, 1fr); }
.picks.wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span {
  display: block; text-align: center; font-size: 14px; font-weight: 400; letter-spacing: .06em; color: var(--ink); white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--rule); padding: 13px 12px;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 50% 100% / 100% 0%;
  transition: background-size .45s var(--io), color .3s, box-shadow .3s;
}
.picks.wrap .pick span { padding: 8px 14px; font-size: 13px; }
.pick:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.pick input:checked + span { background-size: 100% 100%; color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.pick.big span { padding: 26px 12px 22px; font-family: var(--mincho); font-size: 19px; letter-spacing: .2em; }
.pick.big span small { display: block; font-size: 11px; margin-top: 4px; letter-spacing: .1em; transition: color .3s; }
.pick input:checked + span small { color: #a9a79f; }
.pick input:focus-visible + span { outline: 2px solid var(--shu); outline-offset: 3px; }
.photo-add { display: block; position: relative; cursor: pointer; margin-top: 14px; }
.photo-add input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.photo-add span {
  display: grid; justify-items: center; gap: 6px; text-align: center; font-family: var(--mincho); font-size: 17px; letter-spacing: .2em;
  border: 1px dashed var(--ink); padding: 34px 12px; transition: background .4s, color .4s;
}
.photo-add span svg { width: 30px; height: 30px; transition: transform .6s var(--out); }
.photo-add span em.formats { font-size: 10.5px; letter-spacing: .14em; color: var(--faint); }
.photo-add span em { font-family: var(--gothic); font-style: normal; font-size: 11.5px; color: var(--mid); letter-spacing: .1em; transition: color .4s; }
.photo-add:hover span { background: var(--ink); color: var(--paper); }
.photo-add:hover span em { color: #a9a79f; }
.photo-add:hover span svg { transform: translateY(-4px); }
.photo-add input:focus-visible + span { outline: 2px solid var(--shu); outline-offset: 3px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 12px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--photo); animation: thumb .7s var(--io) both; }
@keyframes thumb { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; right: 0; top: 0; width: 28px; height: 28px; border: 0; background: var(--ink); color: var(--paper); font-size: 15px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.thumb button:hover { background: var(--shu); }
.thumb span { position: absolute; left: 0; bottom: 0; background: var(--shu); color: #fff; font-size: 10.5px; letter-spacing: .14em; padding: 1px 9px; }
.hint { font-size: 11.5px; color: var(--faint); margin-top: 12px; line-height: 1.9; }
.known { border-left: 2px solid var(--shu); padding: 4px 0 4px 14px; font-size: 13.5px; margin-top: 16px; }
.consent { display: flex; gap: 14px; align-items: flex-start; margin: 56px 0 22px; padding-top: 26px; border-top: 1px solid var(--ink); font-size: 13px; color: var(--mid); cursor: pointer; line-height: 1.9; }
.consent a { color: var(--ink); text-underline-offset: 3px; margin: 0 .15em; }
.consent #consent-text { display: block; color: var(--ink); margin-bottom: 4px; }
.consent input { width: 22px; height: 22px; flex: none; margin: 2px 0 0; accent-color: var(--ink); }
.cf-turnstile { margin: 0 0 14px; }
.cf-turnstile:empty { display: none; }
.error { border-left: 2px solid var(--shu); color: var(--shu); padding: 4px 0 4px 14px; font-size: 13.5px; margin-bottom: 18px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { padding: 40px 0 0; text-align: center; }
.seal { width: 132px; height: 132px; margin: 0 auto 30px; border-radius: 50%; border: 3px solid var(--shu); color: var(--shu); display: grid; place-items: center; font-family: var(--mincho); font-weight: 700; font-size: 30px; letter-spacing: .1em; line-height: 1.25; position: relative; animation: seal .7s cubic-bezier(.3, 1.6, .5, 1) .15s both; }
.seal::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid var(--shu); }
@keyframes seal { from { opacity: 0; transform: scale(2.2) rotate(-28deg); } to { opacity: 1; transform: rotate(-9deg); } }
.done h2 { font-size: 26px; letter-spacing: .2em; }
.done > p { font-size: 14px; color: var(--mid); margin-top: 12px; }
.done b { font-family: var(--num); font-style: italic; font-weight: 400; font-size: 24px; color: var(--ink); }
#rep-link-box { text-align: left; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--ink); }
#rep-link-box h3 { font-size: 18px; }
#rep-link-box p { font-size: 13px; color: var(--mid); margin: 8px 0 14px; }
#rep-link-box input { display: block; width: 100%; font: inherit; font-size: 12.5px; border: 1px solid var(--rule); background: var(--white); padding: 12px 14px; margin-bottom: 10px; border-radius: 0; }
.done .done-links { display: flex; justify-content: center; gap: 28px; margin-top: 36px; font-size: 13px; letter-spacing: .12em; }

.merit { margin-top: 16px; padding: 18px 18px 16px; background: var(--white); border-left: 2px solid var(--shu); animation: thumb .6s var(--io) both; }
.merit-title { font-family: var(--mincho); font-size: 16px; letter-spacing: .14em; }
.merit ul { list-style: none; margin-top: 10px; display: grid; gap: 10px; }
.merit li { font-size: 13px; line-height: 1.9; color: var(--mid); padding-left: 1.2em; position: relative; }
.merit li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--shu); }
.merit li b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }

/* 承認画面 */
.admin { max-width: 900px; margin: 0 auto; padding: 32px var(--pad) 60px; }
.admin h1 { font-size: 28px; margin-bottom: 16px; }
.admin h2 { font-size: 18px; margin: 40px 0 14px; padding-top: 14px; border-top: 1px solid var(--ink); display: flex; align-items: baseline; gap: 8px; }
.admin h2 span { font-family: var(--num); font-size: 16px; color: var(--shu); }
.order-box { border: 1px solid var(--ink); background: var(--white); padding: 0 18px; margin: 8px 0 8px; }
.order-box summary { cursor: pointer; padding: 14px 0; font-family: var(--mincho); font-size: 16px; letter-spacing: .1em; }
.order-box[open] summary { border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
.order-help { font-size: 12.5px; color: var(--mid); line-height: 1.9; }
.order-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 24px; margin-top: 12px; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--rule); font-size: 13.5px; }
.order-row select { font: inherit; font-size: 13px; border: 1px solid var(--rule); background: var(--paper); padding: 4px 6px; }
.order-row.on span { color: var(--shu); font-weight: 600; }
.order-box .acts { align-items: center; padding-bottom: 16px; }
.order-msg { font-size: 12.5px; color: var(--mid); }
.key-row { display: flex; gap: 16px; max-width: 460px; align-items: end; }
.key-row .btn { width: auto; padding: 12px 22px; }
.item { background: var(--white); border: 1px solid var(--rule); padding: 18px; margin-bottom: 14px; }
.item-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 12px; }
.item-head b { font-family: var(--mincho); font-size: 18px; font-weight: 500; letter-spacing: .08em; }
.item-head > span:not(.badge) { font-size: 12.5px; color: var(--mid); }
.badge { font-size: 11px; letter-spacing: .1em; padding: 1px 9px; border: 1px solid var(--rule); color: var(--mid); }
.badge.new { border-color: var(--shu); color: var(--shu); }
.item-photos { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; }
.item-photos figure { flex: none; position: relative; }
.item-photos img { height: 150px; width: auto; max-width: none; }
.item-photos .is-cover { outline: 2px solid var(--shu); outline-offset: -2px; }
.item-photos .is-cover img { cursor: crosshair; }
.item-photos .focus-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid #fff; background: var(--shu); box-shadow: 0 0 0 1px rgba(0,0,0,.3); pointer-events: none; }
.item-photos .shape-tag { position: absolute; left: 0; top: 0; background: rgba(19,19,19,.7); color: #fff; font-size: 10.5px; padding: 1px 7px; }
.cover-edit { display: grid; gap: 8px; margin: 4px 0 14px; padding: 12px 14px; background: var(--paper); }
.cover-help { font-size: 12.5px !important; color: var(--mid); margin: 0 !important; }
.cover-frames { display: flex; gap: 12px; align-items: flex-end; }
.cover-frame { margin: 0; height: 120px; overflow: hidden; position: relative; background: var(--photo); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-frame figcaption { position: absolute; left: 0; bottom: 0; background: rgba(19,19,19,.7); color: #fff; font-size: 10.5px; padding: 1px 7px; }
.cover-edit .btn { justify-self: start; width: auto; padding: 8px 16px; font-size: 12.5px; }
.item-photos .to-blur { left: auto; right: 0; top: auto; bottom: 0; }

/* ぼかしの編集画面 */
.blur-ov { position: fixed; inset: 0; z-index: 100; background: #131313; color: var(--paper); display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 18px var(--pad) calc(18px + env(safe-area-inset-bottom)); }
.blur-head b { font-family: var(--mincho); font-weight: 500; font-size: 17px; letter-spacing: .12em; }
.blur-head p { font-size: 12.5px; color: #b3b1a9; margin-top: 4px; }
.blur-stage { min-height: 0; overflow: hidden; display: grid; place-items: center; }
.blur-canvas { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); touch-action: none; cursor: crosshair; background: #2b2b2b; }
.blur-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.blur-tools .btn { width: auto; padding: 11px 18px; font-size: 13.5px; }
.blur-tools .btn.sub { color: var(--paper); box-shadow: inset 0 0 0 1px #77756d; background-image: linear-gradient(var(--paper), var(--paper)); }
.blur-tools .btn.sub:hover { color: var(--ink); }
@media (max-width: 560px) {
  .blur-tools { display: grid; grid-template-columns: repeat(3, 1fr); }
  .blur-count { grid-column: 1 / -1; }
  .blur-tools .btn { padding: 11px 6px; justify-content: center; letter-spacing: .04em; font-size: 12.5px; }
}
.blur-count { margin-right: auto; font-size: 12.5px; color: #b3b1a9; letter-spacing: .1em; }
.item-photos .cover-tag { position: absolute; left: 0; bottom: 0; background: var(--shu); color: #fff; font-size: 10.5px; letter-spacing: .14em; padding: 1px 9px; }
.item-photos .to-cover { left: 0; right: auto; top: auto; bottom: 0; }
.item-photos button { position: absolute; right: 0; top: 0; font-size: 11px; border: 0; background: var(--ink); color: var(--paper); padding: 3px 10px; cursor: pointer; }
.item p { margin: 0 0 6px; font-size: 14px; white-space: pre-wrap; }
.private { background: var(--paper); padding: 10px 14px; margin: 10px 0; }
.private p { font-size: 13px; color: var(--mid); }
.editor { border-top: 1px solid var(--ink); margin-top: 14px; padding-top: 4px; }
.editor .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
@media (min-width: 720px) { .editor .row { grid-template-columns: repeat(3, 1fr); } }
.editor .field { margin-top: 18px; }
.editor .picks.wrap { margin-top: 10px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acts .btn { width: auto; padding: 10px 18px; font-size: 13px; gap: 10px; }

/* ───────── トップ：家づくりの、ほかの道具 ───────── */
.more { padding: 120px var(--pad) 0; }
@media (min-width: 900px) { .more { padding-top: 180px; } }
.more-title { font-size: clamp(24px, 4.4vw, 40px); letter-spacing: .16em; line-height: 1.4; }
.more-title small { display: block; font-family: var(--num); font-style: italic; font-size: 14px; letter-spacing: .06em; color: var(--shu); margin: 0 0 6px; }
.more-grid { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 900px) { .more-grid { grid-template-columns: 5fr 7fr; gap: 28px; } }
.more-card { display: block; border-top: 1px solid var(--ink); padding: 26px 0 8px; text-decoration: none; position: relative; }
.more-kind { font-size: 11px; letter-spacing: .3em; color: var(--shu); }
.more-card h3 { font-size: clamp(20px, 2.6vw, 26px); letter-spacing: .1em; line-height: 1.7; margin-top: 10px; }
.more-card > p:not(.more-kind) { font-size: 13.5px; color: var(--mid); margin-top: 12px; max-width: 30em; }
.more-go { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; font-family: var(--mincho); font-size: 15px; letter-spacing: .16em; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.more-go .arr { font-style: normal; transition: transform .5s var(--out); }
.more-card:hover .more-go .arr, .more-go:hover .arr { transform: translateX(6px); }
.more-shindan { background: var(--ink); color: var(--paper); border: 0; padding: 30px 26px 30px; overflow: hidden; }
.more-shindan .more-kind { color: #e8a08f; }
.more-shindan > p:not(.more-kind) { color: #b3b1a9; }
.more-shindan .more-go { border-color: var(--paper); }
.more-radar { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.more-radar::before, .more-radar::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.more-radar::after { inset: 15%; }
.more-radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(210,67,42,.5), rgba(210,67,42,0) 22%, transparent); animation: spin 4s linear infinite; }
.more-vlist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.more-vlist .vtitle { font-size: 13px; }
.more-vision { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 28px; align-items: center; margin-top: 40px; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); text-decoration: none; }
.more-kanji { display: flex; gap: 10px; }
.more-kanji b { font-family: var(--mincho); font-weight: 700; font-size: clamp(34px, 6vw, 56px); line-height: 1; }
.more-kanji b:nth-child(3) { color: var(--shu); }
.more-vtext { font-family: var(--mincho); font-size: clamp(15px, 2vw, 19px); letter-spacing: .12em; line-height: 1.9; }
.more-vtext small { display: block; font-family: var(--gothic); font-size: 11px; letter-spacing: .3em; color: var(--faint); margin: 0; }
.more-vision .arr { font-style: normal; font-size: 20px; transition: transform .5s var(--out); }
.more-vision:hover .arr { transform: translateX(6px); }
@media (max-width: 559px) { .more-vision { grid-template-columns: 1fr auto; } .more-kanji { grid-column: 1 / -1; } }

/* ───────── 動画 ───────── */
.vcard { display: block; text-decoration: none; }
.vthumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--photo); margin: 0; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.vcard:hover .vthumb img { transform: scale(1.05); }
.vplay { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%; background: rgba(19,19,19,.72); transition: background .3s, transform .5s var(--out); }
.vplay::after { content: ""; position: absolute; left: 21px; top: 17px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.vcard:hover .vplay { background: var(--shu); transform: scale(1.08); }
.vdate { font-family: var(--num); font-style: italic; font-size: 13px; color: var(--faint); margin-top: 10px; }
.vtitle { font-size: 15px; font-weight: 500; letter-spacing: .06em; line-height: 1.75; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vcard.is-short .vthumb { aspect-ratio: 9 / 16; }
.vcard.is-short .vthumb img { object-fit: cover; }
.vpage { padding: 56px var(--pad) 0; }
@media (min-width: 900px) { .vpage { padding-top: 88px; } }
.vhead { display: grid; gap: 28px; }
@media (min-width: 860px) { .vhead { grid-template-columns: auto minmax(0, 1fr); gap: 7vw; align-items: end; } }
.vhead h1 { writing-mode: vertical-rl; font-size: clamp(30px, 5vw, 46px); letter-spacing: .3em; line-height: 1.3; white-space: nowrap; height: max-content; }
.vhead h1 small { display: block; font-family: var(--gothic); font-size: 11px; font-weight: 400; letter-spacing: .3em; color: var(--shu); margin: 0 0 0 .8em; }
@media (max-width: 859px) { .vhead h1 { justify-self: end; } }
.vchannel { margin-top: 18px; }
.vchannel a { font-family: var(--mincho); letter-spacing: .14em; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.vgroup { margin-top: 80px; }
.vgroup-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; border-top: 1px solid var(--ink); padding-top: 16px; }
.vgroup-head h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: .16em; }
.vgroup-head p { font-size: 13px; color: var(--mid); }
.vgrid { display: grid; grid-template-columns: 1fr; gap: 36px 28px; margin-top: 28px; }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }
.vgrid.shorts { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .vgrid.shorts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .vgrid.shorts { grid-template-columns: repeat(5, 1fr); } }
.vmore { margin-top: 56px; font-size: 13px; color: var(--mid); }
.player { position: fixed; inset: 0; z-index: 90; background: rgba(19,19,19,.94); display: grid; place-items: center; padding: 56px var(--pad); }
.player-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; }
.player-frame.is-short { width: auto; height: min(84vh, 760px); aspect-ratio: 9 / 16; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-close { position: absolute; right: var(--pad); top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #77756d; background: none; color: var(--paper); font-size: 20px; cursor: pointer; }
.player-close:hover { background: var(--paper); color: var(--ink); }

/* ───────── 千葉レーダーについて ───────── */
.pf { max-width: 1080px; margin: 0 auto; padding: 56px var(--pad) 0; }
@media (min-width: 900px) { .pf { padding-top: 88px; } }
.pf-head { display: grid; gap: 22px; }
.pf-head h1 { font-size: clamp(32px, 6vw, 64px); letter-spacing: .16em; line-height: 1.3; }
.pf-head h1 small { display: block; font-family: var(--num); font-style: italic; font-size: 15px; font-weight: 400; letter-spacing: .06em; color: var(--shu); margin: 0 0 10px; }
.pf-lead { font-family: var(--mincho); font-size: clamp(19px, 2.6vw, 26px); letter-spacing: .1em; line-height: 2; }
.pf-sec { margin-top: 72px; display: grid; gap: 14px; border-top: 1px solid var(--ink); padding-top: 22px; }
@media (min-width: 860px) { .pf-sec { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; } }
.pf-sec h2, .pf-vision h2 { font-size: 18px; letter-spacing: .16em; line-height: 1.6; }
.pf-sec h2 i, .pf-vision h2 i { display: block; font-family: var(--num); font-size: 26px; color: var(--shu); line-height: 1.2; letter-spacing: 0; }
.pf-body p { font-size: 14.5px; line-height: 2.1; color: var(--mid); }
.pf-body p + p { margin-top: 14px; }
.pf-body a { color: var(--ink); text-underline-offset: 3px; }
.pf-vision { margin: 88px calc(var(--pad) * -1) 0; padding: 72px var(--pad) 80px; background: var(--ink); color: var(--paper); }
@media (min-width: 1160px) { .pf-vision { margin-left: calc((1080px - 100vw) / 2); margin-right: calc((1080px - 100vw) / 2); padding-left: calc((100vw - 1080px) / 2 + var(--pad)); padding-right: calc((100vw - 1080px) / 2 + var(--pad)); } }
.pf-vision-lead { font-family: var(--mincho); font-size: clamp(19px, 2.8vw, 30px); letter-spacing: .12em; line-height: 2.1; margin-top: 26px; }
.pf-vision-lead em { font-style: normal; color: #e8a08f; }
.pf-three { list-style: none; display: grid; gap: 0; margin-top: 48px; border-top: 1px solid #45443f; }
@media (min-width: 900px) { .pf-three { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 4vw; } }
.pf-three li { padding: 28px 0; border-bottom: 1px solid #45443f; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; }
@media (min-width: 900px) { .pf-three li { display: block; border-bottom: 0; border-top: 1px solid var(--paper); padding-top: 26px; } }
.pf-kanji { grid-row: 1 / 3; font-family: var(--mincho); font-weight: 700; font-size: clamp(56px, 9vw, 104px); line-height: 1; color: var(--paper); }
.pf-three li:nth-child(3) .pf-kanji { color: var(--shu); }
.pf-three h3 { font-size: 17px; letter-spacing: .12em; line-height: 1.7; }
@media (min-width: 900px) { .pf-three h3 { margin-top: 22px; } }
.pf-three p { grid-column: 2; font-size: 13.5px; line-height: 2.05; color: #b3b1a9; margin-top: 8px; }
.pf-links { list-style: none; border-top: 1px solid var(--rule); }
.pf-links a { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.pf-links b { font-family: var(--mincho); font-weight: 500; font-size: 16px; letter-spacing: .1em; }
.pf-links span { grid-row: 2; font-size: 12.5px; color: var(--mid); }
.pf-links .arr { grid-row: 1 / 3; align-self: center; font-style: normal; transition: transform .5s var(--out); }
.pf-links a:hover .arr { transform: translateX(6px); }
.pf-links a:hover b { color: var(--shu); }
.pf-quote { font-family: var(--mincho); font-size: clamp(18px, 2.4vw, 23px) !important; letter-spacing: .1em; line-height: 2 !important; color: var(--ink) !important; margin-bottom: 18px; }
.pf-free { list-style: none; margin: 22px 0 6px; border-top: 1px solid var(--ink); }
.pf-free li { padding: 16px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
@media (min-width: 700px) { .pf-free li { grid-template-columns: 250px 1fr; gap: 20px; } .pf-free b { white-space: nowrap; } }
.pf-free b { font-family: var(--mincho); font-weight: 500; font-size: 16px; letter-spacing: .1em; }
.pf-free b::before { content: "無料"; display: inline-block; font-family: var(--gothic); font-size: 10px; letter-spacing: .14em; color: var(--shu); border: 1px solid var(--shu); padding: 0 6px; margin-right: 10px; vertical-align: 3px; }
.pf-free span { font-size: 13.5px; line-height: 2; color: var(--mid); }
.pf-note { font-size: 12.5px !important; color: var(--faint) !important; margin-top: 16px !important; }
.pf-story { max-width: 46em; margin-top: 30px; }
.pf-story p { font-size: 14.5px; line-height: 2.2; color: #c9c7bf; }
.pf-story p + p { margin-top: 16px; }
.pf-story em { font-style: normal; color: var(--paper); border-bottom: 1px solid var(--shu); }
.pf-vision-end { font-family: var(--mincho); font-size: clamp(16px, 2vw, 20px); letter-spacing: .12em; line-height: 2.1; margin-top: 44px; padding-top: 28px; border-top: 1px solid #45443f; }


/* ───── 紹介の記録（管理画面） ───── */
.refs { margin: 12px 0 4px; padding: 14px 16px; border-left: 2px solid var(--shu); background: var(--paper); }
.refs-head { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.refs-head b { font-family: var(--mincho); font-weight: 500; letter-spacing: .1em; }
.refs-head span { font-size: 12.5px; color: var(--mid); }
.ref-row { display: grid; grid-template-columns: 52px 150px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--rule); }
.ref-row select, .ref-row input { font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid var(--rule); background: var(--white); border-radius: 0; min-width: 0; }
.ref-row select.stage-contract { border-color: var(--shu); color: var(--shu); }
.ref-row select.stage-drop { color: var(--faint); }
.ref-day { font-family: var(--num); font-size: 15px; }
.ref-del { font-size: 12px; color: var(--faint); background: none; border: 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 600px) { .ref-row { grid-template-columns: 52px minmax(0, 1fr) auto; } .ref-row input { grid-column: 1 / -1; grid-row: 2; } }

/* ───── 紹介の記録（投稿者だけのページ） ───── */
.mine > div { display: grid; gap: 28px; }
.mine-house { display: grid; gap: 10px; }
.mine-house img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.mine-house a { justify-self: end; font-size: 13px; letter-spacing: .1em; color: var(--ink); }
.mine-count { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.mine-count div { padding: 22px 8px 18px; text-align: center; display: grid; gap: 6px; }
.mine-count div + div { border-left: 1px solid var(--rule); }
.mine-count dt { font-size: 11.5px; letter-spacing: .14em; color: var(--mid); }
.mine-count dd { font-family: var(--mincho); font-size: 13px; }
.mine-count b { font-family: var(--num); font-style: italic; font-weight: 400; font-size: clamp(40px, 8vw, 60px); line-height: 1; margin-right: 4px; }
.mine-count div:last-child b { color: var(--shu); }
.doc section .mine-list { list-style: none; display: grid; gap: 0; }
.doc section .mine-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.doc section .mine-list li::before { display: none; }
.mine-list span { font-size: 13px; color: var(--mid); min-width: 9em; }
.mine-list b { font-family: var(--mincho); font-weight: 500; letter-spacing: .1em; }
.mine-list b.stage-contract { color: var(--shu); }
.mine-list b.stage-drop { color: var(--faint); font-weight: 400; }
.mine-list small { font-size: 12px; color: var(--faint); }

/* ───── 写真の使い方（投稿フォーム） ───── */
.sns-rules { margin-top: 16px; padding: 16px 18px; background: var(--white); border: 1px solid var(--rule); }
.sns-rules-t { font-family: var(--mincho); font-size: 14.5px; letter-spacing: .12em; }
.sns-rules ul { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.sns-rules li { font-size: 12.5px; line-height: 1.9; color: var(--mid); padding-left: 1.2em; position: relative; }
.sns-rules li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--ink); }
.sns-rules li#sns-rep-note { color: var(--ink); }
.sns-rules li#sns-rep-note::before { background: var(--shu); }
.badge.sns { border-color: var(--ink); color: var(--ink); }
/* 担当の方のこと（家のページ） */
.voice.memory .body { border-left: 2px solid var(--shu); padding-left: 18px; }
.sns-picks .pick.big span { white-space: normal; font-size: 17px; letter-spacing: .12em; }
@media (max-width: 560px) { .picks.sns-picks { grid-template-columns: 1fr; } }
/* 送ったあとの訂正の案内 */
.fix-note { margin-top: 18px; font-size: 12.5px; line-height: 1.95; color: var(--mid); padding-left: 14px; border-left: 2px solid var(--rule); }
.done-fix { font-size: 13px; line-height: 1.95; color: var(--mid); }
