/* 凸凹プリントのトップ（作り直し案）：プリントメーカーを柱にして、段階ごとの入口を並べる（2026-10-15） */
.hp-home{max-width:1180px;margin:0 auto;padding:0 20px 56px}
.hp-kicker{margin:0 0 10px;font-size:14px;font-weight:700;color:var(--site-green)}
.hp-section-lead{margin:6px 0 0;color:var(--site-muted);font-size:14.5px}

/* 名前のこと */
.hp-name{max-width:760px;margin:6px auto 30px;padding:22px 26px;border-radius:18px;background:#fff;border:1px solid var(--site-border);text-align:center}
.hp-name-label{margin:0;font-size:13px;font-weight:700;color:var(--site-green)}
.hp-name-text{margin:10px 0 0;font-size:15px;line-height:1.9;color:var(--site-ink)}
.hp-name-catch{margin:12px 0 0;font-family:"Zen Maru Gothic","BIZ UDPGothic",sans-serif;font-size:20px;font-weight:700;color:var(--site-ink)}
@media(max-width:600px){.hp-name{padding:18px 16px;text-align:left}.hp-name-catch{text-align:center}}
.hp-makers{padding-top:44px}
.hp-pillar{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px 34px;align-items:center;margin-top:22px;padding:26px 28px;background:#fff;border:1px solid var(--site-border);border-radius:20px}
.hp-pillar h3{margin:0;font-size:22px;color:var(--site-ink)}
.hp-one{margin:10px 0 0;font-family:"Zen Maru Gothic","BIZ UDPGothic",sans-serif;font-size:24px;font-weight:700;line-height:1.5;color:var(--site-green)}
.hp-sentence{margin:10px 0 0;font-size:15px;line-height:1.8;color:var(--site-ink)}
.hp-worries{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.hp-worries li{padding:6px 12px;border-radius:12px 12px 12px 3px;background:var(--site-surface);font-size:13.5px;font-weight:700;color:var(--site-ink)}
.hp-home a.hp-open{color:#fff}
.hp-open{display:inline-flex;align-items:center;min-height:44px;margin-top:18px;padding:0 18px;border-radius:999px;background:var(--site-green);font-weight:700;text-decoration:none;white-space:nowrap}
.hp-open:hover{background:var(--site-hover)}
/* 動く見本：スライダー＋プリント */
.hp-demo{padding:14px 16px 16px;border-radius:16px;background:var(--site-surface)}
.hp-demo-bar{display:flex;flex-direction:column;gap:2px}
.hp-demo-label{font-size:12px;font-weight:700;color:#51667e}
.hp-demo-name{font-size:16px;color:#1f6e40;min-height:1.5em}
.hp-demo-track{position:relative;height:30px;margin:6px 12px 0}
.hp-demo-line{position:absolute;left:0;right:0;top:50%;height:6px;margin-top:-3px;border-radius:99px;background:#dfe5dc}
.hp-demo-dot{position:absolute;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;padding:0;border:2px solid #fff;border-radius:50%;background:#b9c6bd;cursor:pointer}
.hp-demo-dot[aria-pressed="true"]{background:#2E9D5B}
.hp-demo-knob{position:absolute;top:50%;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;background:#2E9D5B;box-shadow:0 0 0 4px rgba(46,157,91,.2);pointer-events:none;transition:left .55s ease}
.hp-demo-groups{position:relative;height:34px;margin:2px 12px 0;font-size:11.5px;font-weight:700;color:#6b7785}
.hp-demo-groups span{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}
.hp-demo-groups span.lower{top:15px}
.hp-demo-paper{position:relative;display:flex;align-items:center;justify-content:center;height:300px;margin-top:6px;text-decoration:none}
.hp-demo-paper img{max-width:100%;max-height:100%;background:#fff;box-shadow:0 6px 18px rgba(60,48,30,.14)}
.hp-demo-paper.is-in img{animation:hp-in .45s ease}
@keyframes hp-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.hp-demo-go{position:absolute;right:6px;bottom:6px;padding:5px 12px;border-radius:99px;background:rgba(36,50,70,.88);color:#fff;font-size:12.5px;font-weight:700}
@media(prefers-reduced-motion:reduce){.hp-demo-knob{transition:none}.hp-demo-paper.is-in img{animation:none}}

/* イラストの動く見本 */
.hp-ill-demo{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,.95fr);gap:12px;align-items:center;padding:16px;border-radius:16px;background:var(--site-surface)}
.hp-ill-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.hp-home a.hp-ill{color:var(--site-ink)}
.hp-ill{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px 4px;border:2px solid transparent;border-radius:12px;background:#fff;color:var(--site-ink);text-decoration:none;font-size:11.5px;transition:border-color .2s,transform .2s}
.hp-ill img{width:100%;aspect-ratio:1;object-fit:contain}
.hp-ill.is-picked{border-color:#2E9D5B;transform:scale(1.06)}
.hp-ill-arrow{font-size:22px;font-weight:700;color:#2E9D5B}
.hp-ill-paper{aspect-ratio:210/297;padding:8% 7%;box-sizing:border-box;background:#fff;box-shadow:0 6px 18px rgba(60,48,30,.14);overflow:hidden}
.hp-ill-title{margin:0 0 8%;text-align:center;font-size:12px;font-weight:700;color:#33404f}
.hp-ill-rows{display:flex;flex-direction:column;gap:9%}
.hp-ill-row{display:flex;align-items:center;gap:6%}
.hp-ill-row img{width:26%;aspect-ratio:1;object-fit:contain}
.hp-ill-word{display:flex}
.hp-ill-word span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #aab4bc;margin-left:-1px;font-family:"UD Digi Kyokasho N-R","UD デジタル 教科書体 N-R","BIZ UDGothic",sans-serif;font-size:19px;color:#c3c9cf}
.hp-ill-row.is-new{animation:hp-in .5s ease}
.hp-tag-trial{background:#FFF3DC;color:#8a5a00}
@media(prefers-reduced-motion:reduce){.hp-ill-row.is-new{animation:none}.hp-ill{transition:none}}
@media(max-width:600px){.hp-ill-demo{grid-template-columns:1fr}.hp-ill-arrow{transform:rotate(90deg);justify-self:center}.hp-ill-paper{width:70%;justify-self:center}.hp-ill-word span{width:20px;height:20px;font-size:14px}}

.hp-others{margin-top:44px}
.hp-other-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.hp-other{display:flex;flex-direction:column;gap:4px;color:var(--site-ink);text-decoration:none}
.hp-thumb{display:flex;align-items:center;justify-content:center;height:190px;padding:6px;box-sizing:border-box;background:var(--site-surface);border:1px solid var(--site-border);border-radius:12px;overflow:hidden;transition:border-color .15s,transform .15s}
.hp-thumb img{max-width:100%;max-height:100%;object-fit:contain;background:#fff;box-shadow:0 2px 6px rgba(60,48,30,.12)}
.hp-other:hover .hp-thumb{border-color:var(--site-green);transform:translateY(-2px)}
.hp-other-name{margin-top:4px;font-size:14px;font-weight:700}
.hp-other-note{font-size:12.5px;color:var(--site-muted)}

.hp-login{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;margin:44px 0 10px;padding:20px 24px;border-radius:18px;background:var(--site-surface)}
.hp-login h2{margin:0;font-size:18px}
.hp-login p{margin:6px 0 0;font-size:14px;line-height:1.7;color:var(--site-muted);max-width:40em}
.hp-home .home-find{margin-top:40px}
.hp-illustrations{margin:28px 0 0;text-align:right;font-size:14px}

@media(max-width:860px){
  .hp-pillar{grid-template-columns:1fr;padding:20px}
  .hp-demo-paper{height:260px}
      }
@media(max-width:600px){
  .hp-home{padding:0 16px 40px}
  .hp-pillar{padding:18px 16px}
  .hp-other-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* やりたいことから探す（トップだけ）：プリントの見た目で選べるよう、見本を大きく、名前は下に大きく */
.hp-home .home-actions-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hp-home .home-action{flex-direction:column-reverse;align-items:stretch;justify-content:flex-start;gap:10px;min-height:0;padding:12px 12px 14px}
.hp-home .home-action-art{width:auto;height:230px;padding:10px;box-sizing:border-box;border-radius:12px;background:var(--site-surface)}
.hp-home .home-action-art img{width:auto;height:100%;max-width:100%;object-fit:contain}
.hp-home .home-action-name{font-size:18px;text-align:center}
@media(max-width:860px){.hp-home .home-actions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.hp-home .home-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hp-home .home-action{padding:8px 8px 10px}.hp-home .home-action-art{height:180px;padding:8px}.hp-home .home-action-name{font-size:15px}}
/* 棚（横にスライド）：新しいプリント・好きなテーマから。右はしで次のカードを半分見せて、スライドできるとわかるように */
.hp-shelf{margin-top:34px}
.hp-shelf-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.hp-shelf-head h2{margin:0;font-size:22px;color:var(--site-ink)}
.hp-shelf-head a{font-size:14px;font-weight:700;white-space:nowrap}
.hp-shelf-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.hp-shelf-tabs button{min-height:38px;padding:0 16px;border:1px solid var(--site-border);border-radius:999px;background:#fff;font:inherit;font-size:14px;color:var(--site-ink);cursor:pointer}
.hp-shelf-tabs button[aria-pressed="true"]{background:var(--site-green);border-color:var(--site-green);color:#fff;font-weight:700}
.hp-shelf-row{display:flex;gap:14px;margin:12px 0 0;padding:4px 0 12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}
.hp-shelf-card{flex:0 0 172px;display:flex;flex-direction:column;gap:8px;scroll-snap-align:start;color:var(--site-ink);text-decoration:none}
.hp-home a.hp-shelf-card{color:var(--site-ink)}
.hp-shelf-card[hidden]{display:none}
.hp-shelf-art{display:flex;align-items:center;justify-content:center;height:230px;padding:10px;box-sizing:border-box;border:1px solid var(--site-border);border-radius:14px;background:var(--site-surface);transition:border-color .15s,transform .15s}
.hp-shelf-art img{max-width:100%;max-height:100%;object-fit:contain;background:#fff;box-shadow:0 3px 10px rgba(60,48,30,.14)}
.hp-shelf-card:hover .hp-shelf-art{border-color:var(--site-green);transform:translateY(-2px)}
.hp-shelf-name{font-size:14px;font-weight:700;line-height:1.45}
.hp-shelf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(172px,1fr));gap:18px 14px;margin-top:16px}
.hp-shelf-grid .hp-shelf-card{flex:none}
.hp-prints-page{padding-top:20px}
.hp-prints-page h1{margin:6px 0 0;font-size:28px}
@media(max-width:600px){.hp-shelf-row{margin:12px -16px 0;padding:4px 16px 12px;gap:10px}.hp-shelf-card{flex-basis:41%}.hp-shelf-art{height:190px}.hp-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* やりたいことから：大きなカードを1列の棚に（よく使う順） */
.hp-find{margin-top:10px}
.hp-action-row .home-action{flex:0 0 190px;scroll-snap-align:start}
@media(max-width:600px){.hp-action-row .home-action{flex-basis:41%}}
/* 絵からえらんで、プリントに：絵の一覧から選んでプリントになるまでの動画 */
.hp-ill-video{display:block;padding:10px;border-radius:16px;background:var(--site-surface)}
.hp-ill-video video{display:block;width:100%;height:auto;aspect-ratio:960/600;border-radius:10px;background:#fff;box-shadow:0 6px 18px rgba(60,48,30,.14)}
/* 4つのプリントメーカーの入口（2026-10-15） */
.hp-tracks{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 28px}
@media (max-width:760px){.hp-tracks{grid-template-columns:repeat(2,minmax(0,1fr))}}
