/* ManiMani Works — C案（作品目録）のCSS下書き。デザイン案から書き出したもの。
   実装時にクラス名やテンプレートに合わせて整理してよい。 */
@font-face{font-family:"Jost";font-weight:300;font-display:swap;src:url("/fonts/jost-latin-300-normal.woff2") format("woff2")}
@font-face{font-family:"Jost";font-weight:400;font-display:swap;src:url("/fonts/jost-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Jost";font-weight:500;font-display:swap;src:url("/fonts/jost-latin-500-normal.woff2") format("woff2")}
body{margin:0}
.site{width:100%;min-height:100vh;display:flex;flex-direction:column;background:#FFFFFF;color:#1B2130;font-family:system-ui,-apple-system,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI",YuGothic,Meiryo,sans-serif;font-size:16px;line-height:28px}
.site *{box-sizing:border-box}
.site main{flex:1 0 auto}
.site h1,.site h2,.site h3,.site p,.site ul{margin:0}
.en{font-family:"Jost","Hiragino Sans",system-ui,sans-serif}
a{color:#1F3B68}a:hover{color:#4B70A8}
.wrap{max-width:1080px;margin:0 auto;padding:0 16px}
.muted{color:#566072}
.small{font-size:14px;line-height:22px}
.cap{font-size:12px;line-height:18px}
.icon{display:block;flex:none;aspect-ratio:1/1;border-radius:22.5%;background:#D3D9E2}
.badge{display:inline-block;padding:0 8px;border-radius:6px;background:#E6ECF5;color:#1B2130;font-size:12px;line-height:22px;white-space:nowrap}
.shots{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
.shot{flex:none;scroll-snap-align:start;border-radius:12px;background:#D3D9E2;display:flex;align-items:center;justify-content:center;color:#1B2130;font-size:12px;line-height:18px}
.shot.p{width:180px;height:390px}.shot.l{width:300px;height:225px}
.btn-store{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:12px;background:#1F3B68;color:#FFFFFF;text-decoration:none;font-weight:700;font-size:16px;line-height:24px}
.btn-store:hover{background:#12213D;color:#FFFFFF}
.textlink{font-weight:700;text-decoration:none}
.textlink:hover{text-decoration:underline}
.prose{max-width:40em}
.prose h2{font-size:20px;line-height:30px;font-weight:700;margin:48px 0 12px}
.prose p{font-size:16px;line-height:30px}
.prose ul{padding-left:1.4em;margin-top:8px}
.prose li{line-height:30px}
.prose li+li{margin-top:4px}
.lang{display:inline-flex;border:1px solid #D9DFE8;border-radius:999px;padding:2px;gap:2px}
.lang a,.lang span{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;font-size:13px;text-decoration:none}
.lang span{background:#1F3B68;color:#FFFFFF}
.lang a{color:#1B2130}
.nav{display:flex;gap:4px}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;text-decoration:none;font-size:15px}
.foot a{color:#FFFFFF}
.foot a:hover{color:#C9D6EC}
@media (min-width:768px){
.wrap{padding:0 32px}
.shot.p{width:240px;height:520px}.shot.l{width:480px;height:360px}
}

.shell{display:flex;flex-direction:column;flex:1 0 auto}
.side{background:#12213D;color:#FFFFFF;padding:24px 16px 28px}
.side .nav{margin-top:20px;flex-wrap:wrap}
.side .nav a{color:#FFFFFF;padding:0 12px 0 0}
.side .nav a:hover{color:#C9D6EC}
.side .lead{font-size:15px;line-height:26px;margin-top:20px;color:#E9EDF4;max-width:22em}
.side .contact{display:none}
.content{flex:1;padding:0 16px 56px}
.kicker{font-size:12px;line-height:16px;letter-spacing:.16em;color:#566072;text-transform:uppercase}
.sec{padding:40px 0 0}
.sec h2{font-size:18px;line-height:28px;font-weight:700;margin:6px 0 16px}
.entry{display:grid;grid-template-columns:44px 64px minmax(0,1fr);gap:14px;align-items:center;padding:16px 0;border-top:1px solid #D9DFE8;text-decoration:none;color:#1B2130}
.entry:hover{background:#F4F6FA;color:#1B2130}
.no{font-size:28px;line-height:32px;font-weight:300;color:#1F3B68}
.entry>p{grid-column:3}
.entry h3{font-size:16px;line-height:24px;font-weight:700}
.yr{font-size:40px;line-height:44px;font-weight:300;color:#1F3B68;padding:32px 0 8px}
.mini{display:grid;grid-template-columns:28px 40px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #D9DFE8;text-decoration:none;color:#1B2130;font-size:15px}
.mini .no{font-size:18px;line-height:24px}
.bignum{font-size:56px;line-height:56px;font-weight:300;color:#1F3B68}
.app-hero{display:flex;flex-direction:column;gap:16px;padding:32px 0 32px}
.app-hero h1{font-size:26px;line-height:36px;font-weight:700}
.dl{display:grid;grid-template-columns:96px minmax(0,1fr);row-gap:8px;padding:16px 0;border-top:1px solid #D9DFE8;border-bottom:1px solid #D9DFE8;margin:28px 0}
.foot{border-top:1px solid #D9DFE8;padding:24px 16px 32px;color:#566072}
.foot a{color:#1F3B68}.foot a:hover{color:#4B70A8}
.foot ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:4px 20px}
@media (min-width:768px){
.shell{flex-direction:row}
.side{width:320px;flex:none;padding:48px 40px}
.side .nav{flex-direction:column;gap:0;margin-top:40px}
.side .contact{display:block;margin-top:40px;font-size:14px;line-height:22px;color:#E9EDF4}
.content{padding:0 56px 80px}
.sec{padding:72px 0 0}
.entry{grid-template-columns:72px 80px minmax(0,1fr) 140px;gap:20px;padding:20px 0}
.entry>p{grid-column:auto}
.no{font-size:40px;line-height:44px}
.entry-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
.bignum{font-size:96px;line-height:96px}
.app-hero{flex-direction:row;align-items:flex-end;gap:32px;padding:72px 0 40px}
.app-hero h1{font-size:30px;line-height:42px}
.yr{font-size:56px;line-height:60px;padding:48px 0 12px}
.foot{padding:28px 56px 36px 376px}
}

/* ---- ここから下は、テンプレートに合わせて足したもの（下書きにない部品）。
   色・文字の大きさ・余白の値は作業指示書 11章のものを使う。 ---- */
.logo{display:inline-block}
.logo img{display:block;height:20px;width:auto}
.side .lead-wide-only{display:none}
.entry-ended .icon{opacity:.5}
.entry-ended .no{color:#566072}
.entry-ended:hover{background:none}
.doc h1{font-size:26px;line-height:36px;font-weight:700;margin:6px 0 8px}
.doc .lang{margin-bottom:24px}
.prose{margin-top:24px}
.prose>*+*{margin-top:16px}
.prose h1{font-size:20px;line-height:30px;font-weight:700}
.prose h3{font-size:16px;line-height:24px;font-weight:700;margin:32px 0 8px}
.prose ol{padding-left:1.6em;margin:8px 0 0}
.prose hr{border:0;border-top:1px solid #D9DFE8;margin:32px 0}
.prose code{font-size:14px;background:#F4F6FA;padding:2px 6px;border-radius:6px}
.prose a{overflow-wrap:anywhere}
a:focus-visible{outline:2px solid #4B70A8;outline-offset:2px}
@media (min-width:768px){
.logo img{height:64px}
.side .lead-wide-only{display:block}
.doc h1{font-size:30px;line-height:42px}
}

/* ---- フェーズ3で足したもの（目録と個別ページ） ---- */
.page-title{font-size:26px;line-height:36px;font-weight:700;margin:6px 0 8px}
.entry .icon{width:64px}
.entry-ended:hover{background:#F4F6FA}
.jam .small{margin-bottom:16px}
.jam-row .icon{width:40px;object-fit:cover}
.jam-title{flex:1;min-width:0}
.jam-row{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 0;border-top:1px solid #D9DFE8;text-decoration:none;color:#1B2130;font-size:15px;line-height:24px}
.jam-row:hover{background:#F4F6FA;color:#1B2130}
.more{padding-top:20px;border-top:1px solid #D9DFE8}
.back{padding-top:24px}
.app-icon .icon{width:96px}
.store{display:inline-block}
.store img{display:block;height:48px;width:auto}
.dl dd{margin:0}
.banner{display:block;width:100%;max-width:480px;height:auto;border-radius:12px}
/* 画像は高さをそろえ、幅は元の比率に任せる（端末ごとに縦横比が違うため） */
img.shot.p,img.shot.l{width:auto;max-width:none}
.desc{max-width:34em;margin-top:28px}
@media (min-width:768px){
.page-title{font-size:30px;line-height:42px}
/* 本文の列を柱の残り幅に収める（下書きの .site main{flex:1 0 auto} は縮まないため） */
.site main.content{flex:1 1 0;min-width:0}
.app-hero{flex-wrap:wrap;row-gap:16px}
.app-hero>div{flex:1 1 240px}
.back{padding-top:40px}
.app-hero{padding-top:32px}
}

/* ---- フェーズ4で足したもの ---- */
/* 右の列（本文＋フッター）。フッターを列の中に入れたので、下書きの左376pxの余白は使わない */
.col{display:flex;flex-direction:column;flex:1 0 auto}
.icon{height:auto}
@media (min-width:768px){
.col{flex:1 1 0;min-width:0}
.site .col main.content{flex:1 0 auto}
.foot{padding:28px 56px 36px}
}
/* 文章の段落の間隔。下書きの .site p{margin:0} の方が強く、段落が詰まっていたので指定を強める */
.site .prose>*+*{margin-top:16px}
.site .prose>h2{margin-top:48px}
.site .prose>h3{margin-top:32px}
.site .prose>hr{margin-top:32px}
.site .prose>h2+*,.site .prose>h3+*{margin-top:0}
/* タブレットの縦（768〜1023px）は、柱を引くと本文が約370pxしかなく、目録の4列が入らない。
   この幅だけ、スマホと同じ3列に戻す（切り替えは1か所という方針の、やむを得ない例外） */
@media (min-width:768px) and (max-width:1023px){
.entry{grid-template-columns:44px 64px minmax(0,1fr);gap:14px;padding:16px 0}
.entry>p{grid-column:3}
.no{font-size:28px;line-height:32px}
.content{padding:0 32px 56px}
.foot{padding:24px 32px 32px}
}
/* トップの About。先頭の節の .prose の上余白は見出しの下余白と重なるので消す */
#about .prose{margin-top:0}
#about{scroll-margin-top:16px}
