* { box-sizing: border-box; }
:root { color: #23291f; background: #f8edd9; font-family: Georgia, 'Times New Roman', serif; scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(ellipse at 30% 20%, #fff9ed, transparent 60%), #f5e7d0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible { outline: 3px solid #a64322; outline-offset: 4px; }
[hidden] { display: none !important; }
.site-header { height: 76px; padding: 0 4%; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #cec3a9; position: relative; z-index: 10; background: #f9efde; }
.brand { display: flex; align-items: center; white-space: nowrap; }
.brand strong { font-size: 42px; letter-spacing: -2px; }
.brand span { padding-left: 12px; margin-left: 14px; border-left: 1px solid #a9b4a4; font-size: 14px; }
.site-header nav { display: flex; gap: 35px; font-size: 16px; font-weight: bold; }
.header-tools, .languages { display: flex; align-items: center; gap: 9px; }
.languages { border: 1px solid #a3b0a1; border-radius: 24px; padding: 6px 12px; font-size: 14px; }
.languages a[aria-current] { font-weight: bold; color: #175b51; }
.menu { display: none; border: 0; background: none; font-size: 27px; }
.hero { position: relative; height: calc(100svh - 76px); min-height: 660px; isolation: isolate; }
.hero-label { position: absolute; z-index: 5; top: 10px; left: 50%; transform: translateX(-50%); padding: 13px 27px 15px; border-radius: 14px; background: #fff8e9f5; box-shadow: 0 5px 20px #644b2312; text-align: center; white-space: nowrap; }
h1 { font-size: 32px; margin: 0 0 12px; letter-spacing: -.035em; }
.hero-actions, .maker-actions { display: flex; justify-content: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 23px; min-height: 44px; border: 1px solid #b8a578; border-radius: 28px; background: #fff2d4; box-shadow: inset 0 0 0 2px #fffc,0 3px 3px #71461b20; font-size: 17px; font-weight: bold; }
.button.primary { color: #fff9e9; border-color: #376d61; background: #175c53; box-shadow: inset 0 0 0 2px #ffffff20,0 3px 3px #71461b20; }
.motion-toggle { position: absolute; z-index: 8; top: 12px; right: 20px; width: 36px; height: 36px; border: 1px solid #b8a578; border-radius: 50%; background: #fff8e8; font: bold 15px Arial,sans-serif; }
.app-card { display: block; position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border: 2px solid #fff7e9; border-radius: 13px; background: #15584f; box-shadow: 0 5px 12px #293b3435; }
.poster, .card-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-video { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.app-card::after { content: ''; position: absolute; z-index: 2; inset: 30% 0 0; background: linear-gradient(transparent, #091f1bba 42%, #081a17f2); pointer-events: none; }
.card-copy { position: absolute; z-index: 3; bottom: 10px; left: 10px; right: 10px; color: #fff9ed; }
h3 { font-size: 24px; line-height: 1.1; margin: 0 0 4px; }
.tagline { font: 13px/1.4 Arial,sans-serif; margin: 3px 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.category { display: inline-block; padding: 3px 9px; border-radius: 14px; color: #183d31; background: #d9e2bf; font: 12px/1.1 Arial,sans-serif; }
.maker-line { display: flex; align-items: center; gap: 5px; margin-top: 7px; font: 11px/1 Arial,sans-serif; white-space: nowrap; }
.maker-line img { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; border: 1px solid #fff8; object-fit: cover; }
.maker-line span { min-width: 0; }
.city-stage { position: absolute; inset: 0; z-index: 3; }
.city-item { position: absolute; width: var(--card-width); left: var(--x); top: var(--y); transform: translate3d(calc(var(--travel-x,0px) + var(--depth-x,0px)),var(--travel-y,0px),0) rotate(var(--rotation,var(--tilt))) scale(var(--gather-scale,1)); transform-origin: top left; }
.city-item .app-card { animation: card-float 7s ease-in-out infinite alternate; }
.city-item:nth-child(3n) .app-card { animation-delay: -3s; }
.city-item:nth-child(2n) .app-card { animation-delay: -5s; }
.city-item:nth-child(1),.city-item:nth-child(5),.city-item:nth-child(7) { animation: deliver 1.3s ease-out both; }
.city-item:nth-child(5) { animation-delay: .1s; }
.city-item:nth-child(7) { animation-delay: .2s; }
.city-item .card-copy { left: 8px; right: 8px; bottom: 8px; }
.city-item h3 { font-size: 20px; }
.city-item .tagline { font-size: 11px; }
.city-item .category { font-size: 10px; padding: 2px 7px; }
.city-item .maker-line { font-size: 9px; gap: 4px; }
.card-helper { position: absolute; z-index: 6; right: -13px; bottom: -10px; display: flex; align-items: center; pointer-events: none; }
.card-helper img { width: 24px; height: 32px; object-fit: contain; animation: helper-step 1.2s ease-in-out infinite alternate; }
.card-helper i { display: block; width: 12px; height: 14px; border-left: 2px solid #754126; background: #d9a936; clip-path: polygon(0 0,100% 0,70% 50%,100% 90%,0 90%); transform-origin: left center; animation: flag-wave 1s ease-in-out infinite alternate; }
.wall-stage { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; height: 100%; overflow: hidden; padding: 0 14px; }
.wall-column { min-width: 0; height: 100%; overflow: hidden; }
.wall-track { will-change: transform; animation: wall-flow 45s linear infinite; }
.wall-column:nth-child(even) .wall-track { animation-direction: reverse; animation-duration: 52s; }
.wall-column:nth-child(3n) .wall-track { animation-duration: 60s; }
.wall-mobile-extra { display: none; }
.wall-original,.wall-copy { display: grid; gap: 14px; padding-bottom: 14px; }
.wall-column:hover .wall-track,.wall-column:focus-within .wall-track,.wall-column.touching .wall-track { animation-play-state: paused; }


.wall-stage h3 { font-size: 21px; }
.wall-stage .maker-line { font-size: 10px; }
.hero-makers .hero-label { top: 0; padding: 8px 24px 10px; box-shadow: none; background: transparent; }
.maker-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px 30px; max-width: 1040px; height: 100%; padding: 106px 30px 13px; margin: auto; }
.maker-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 0; }
.maker-profile { position: relative; display: flex; align-items: center; flex-direction: column; gap: 2px; }
.maker-profile > img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #fff8; box-shadow: 0 3px 10px #684e2220; }
.maker-profile strong { font-size: 17px; }
.maker-profile > span { font: 10px Arial,sans-serif; color: #456758; }
.maker-profile .card-helper { bottom: 20px; right: -28px; }
.maker-tile .app-card { width: 108px; flex-shrink: 0; }
.maker-tile .card-copy { left: 5px; right: 5px; bottom: 5px; }
.maker-tile h3 { font-size: 15px; }
.maker-tile .tagline { font-size: 9px; }
.maker-tile .category { font-size: 9px; padding: 2px 5px; }
.maker-tile .maker-line { font-size: 8px; gap: 3px; margin-top: 4px; }
.content { position: relative; max-width: 1180px; margin: auto; padding: 20px 40px 40px; }
h2 { margin: 28px 0 24px; font-size: 43px; line-height: 1.1; letter-spacing: -.035em; }
h2::after { content: ''; display: block; width: 105px; height: 4px; background: #d9a333; margin-top: 8px; transform: rotate(-2deg); }
.spotlight-track { display: flex; gap: 24px; }
.spotlight-app { position: relative; flex: 1; min-width: 0; height: 280px; border-radius: 16px; overflow: hidden; background: #164f48; }
.spotlight-app .poster { position: absolute; inset: 0; }
.spotlight-app::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,#0a2a25e8); }
.spotlight-app strong,.spotlight-app > span { position: absolute; z-index: 1; left: 24px; bottom: 38px; color: #fff6df; font-size: 32px; }
.spotlight-app > span { bottom: 18px; font: 13px Arial,sans-serif; }
.spotlight-controls { display: none; }
.categories { display: flex; gap: 14px; padding: 28px 0 4px; overflow-x: auto; scrollbar-width: thin; }
.tag { flex: 1 0 auto; padding: 10px 20px; border: 1px solid #fff9; border-radius: 22px; background: #c4d9b5; box-shadow: 0 3px 4px #81623825; font-size: 17px; font-weight: bold; white-space: nowrap; }
.tag-1 { background: #d9c5e8; }.tag-2 { background: #bcdcef; }.tag-3 { background: #f1ce9b; }.tag-4 { background: #ecc2c9; }
.tag[aria-pressed='true'] { outline: 2px solid #235e59; outline-offset: -3px; }
.apps-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.makers { padding-top: 18px; }
.maker-steps { display: flex; gap: 35px; list-style: none; padding: 0; margin: 0 0 28px; }
.maker-steps li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.maker-steps img { width: 100%; height: 120px; object-fit: contain; mix-blend-mode: multiply; }
.maker-steps strong { font-size: 22px; }
.maker-steps li:not(:last-child)::after { content: '→'; position: absolute; right: -34px; top: 43%; font-size: 34px; }
footer { padding: 28px 15px; background: #155b53; color: #fff4de; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; }
footer a,footer button { padding: 0 24px; border: 0; border-right: 1px solid #fff7; background: transparent; font-size: 15px; }
footer a:last-child { border: 0; }
.hero-switcher { position: fixed; z-index: 30; bottom: 12px; right: 12px; display: flex; gap: 2px; padding: 4px; border: 1px solid #8ea996; border-radius: 20px; background: #fff9edf5; box-shadow: 0 3px 10px #143a2c20; font: 12px Arial,sans-serif; }
.hero-switcher a { padding: 7px 10px; border-radius: 16px; }
.hero-switcher a[aria-current] { color: #fff8e7; background: #175c53; }
@keyframes card-float { from { translate: 0 -3px; } to { translate: 0 3px; } }
@keyframes deliver { from { translate: -140px 25px; } to { translate: 0 0; } }
@keyframes helper-step { from { transform: translateY(2px) rotate(-5deg); } to { transform: translateY(-1px) rotate(5deg); } }
@keyframes flag-wave { from { transform: rotate(-8deg); } to { transform: rotate(9deg); } }
@keyframes wall-flow { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after, .hero.outside *, .wall-column.touching * { animation-play-state: paused !important; }
.city-gathering .city-item { pointer-events: none; }
.city-gathering .city-item .app-card { animation-play-state: paused; }
.city-item-0 { --x: 1%; --y: 20%; --card-width: 160px; --tilt: -5deg; }
.city-item-1 { --x: 18%; --y: 18%; --card-width: 145px; --tilt: 3deg; }
.city-item-2 { --x: 35%; --y: 21%; --card-width: 150px; --tilt: -3deg; }
.city-item-3 { --x: 52%; --y: 19%; --card-width: 160px; --tilt: 5deg; }
.city-item-4 { --x: 69%; --y: 18%; --card-width: 145px; --tilt: -4deg; }
.city-item-5 { --x: 85%; --y: 21%; --card-width: 150px; --tilt: 4deg; }
.city-item-6 { --x: 2%; --y: 60%; --card-width: 145px; --tilt: 4deg; }
.city-item-7 { --x: 18%; --y: 59%; --card-width: 160px; --tilt: -4deg; }
.city-item-8 { --x: 35%; --y: 61%; --card-width: 145px; --tilt: 3deg; }
.city-item-9 { --x: 52%; --y: 60%; --card-width: 150px; --tilt: -5deg; }
.city-item-10 { --x: 69%; --y: 59%; --card-width: 160px; --tilt: 4deg; }
.city-item-11 { --x: 85%; --y: 61%; --card-width: 145px; --tilt: -3deg; }
@media (max-width:900px) and (min-width:601px) {
  .site-header nav { gap: 18px; font-size: 13px; }.brand span { font-size: 12px; }.brand strong { font-size: 36px; }
  .city-item { width: 12vw; }.city-item .maker-line { font-size: 7px; gap: 2px; }.city-item .card-copy { left: 4px; right: 4px; }.city-item h3 { font-size: 16px; }
}
@media (max-width:600px) {
  .site-header { height: 64px; padding: 0 14px; gap: 7px; }.brand strong { font-size: 34px; }.brand span { font-size: 10px; padding-left: 7px; margin-left: 7px; }.languages { font-size: 12px; gap: 5px; padding: 5px 8px; }.header-tools { gap: 8px; }.menu { display: block; padding: 0; }
  .site-header nav { display: none; position: absolute; top: 60px; right: 14px; flex-direction: column; gap: 20px; padding: 22px; background: #fff8e8; border-radius: 12px; box-shadow: 0 5px 15px #0003; }.site-header nav.open { display: flex; }
  .hero { height: calc(100svh - 64px); min-height: 750px; }.hero-label { top: 9px; padding: 10px 12px 12px; max-width: calc(100% - 34px); }.hero-label h1 { font-size: 24px; margin-bottom: 10px; }.hero-actions { gap: 7px; }.button { font-size: 14px; min-height: 40px; padding: 10px 14px; }.motion-toggle { width: 29px; height: 29px; top: 110px; right: 10px; font-size: 12px; }
  .city-item { width: var(--mobile-width); left: var(--mobile-x); top: var(--mobile-y); }.city-item:nth-child(n+8) { display: none; }
  .city-item .card-copy { left: 4px; right: 4px; bottom: 5px; }.city-item h3 { font-size: 14px; margin-bottom: 2px; }.city-item .tagline { font-size: 9px; margin: 2px 0 3px; }.city-item .category { font-size: 8px; padding: 2px 5px; }.city-item .maker-line { font-size: 8px; gap: 2px; margin-top: 4px; letter-spacing: -.15px; }.city-item .app-card { border-width: 1px; border-radius: 10px; }.card-helper { right: -6px; bottom: -8px; }.card-helper img { width: 19px; height: 26px; }.card-helper i { width: 8px; height: 11px; }
  .wall-stage { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; padding: 0 7px; }.wall-column:nth-child(n+4) { display: none; }.wall-original,.wall-copy { gap: 9px; padding-bottom: 9px; }.wall-stage .card-copy { left: 5px; right: 5px; bottom: 5px; }.wall-stage h3 { font-size: 15px; }.wall-stage .tagline { font-size: 9px; }.wall-stage .category { font-size: 8px; padding: 2px 5px; }.wall-stage .maker-line { font-size: 8px; gap: 2px; letter-spacing: -.2px; }
  .hero-makers { height: auto; min-height: 0; padding: 115px 18px 20px; }.hero-makers .hero-label { top: 8px; }.maker-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 18px; padding: 0; }.maker-profile > img { width: 56px; height: 56px; }.maker-profile strong { font-size: 17px; }.maker-profile > span { font-size: 11px; }.maker-tile .app-card { width: 140px; }.maker-tile h3 { font-size: 17px; }.maker-tile .maker-line { font-size: 9px; }.maker-tile .tagline { font-size: 10px; }
  .content { padding: 10px 20px 28px; }h2 { font-size: 33px; margin: 25px 0 21px; }.spotlight-track { gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }.spotlight-app { flex: 0 0 86%; height: 240px; scroll-snap-align: start; }.spotlight-app strong { left: 16px; font-size: 28px; }.spotlight-app > span { left: 16px; }.spotlight-controls { display: flex; justify-content: space-between; margin-top: 9px; }.spotlight-controls button { border: 1px solid #bfac81; border-radius: 50%; background: #fff6df; width: 30px; height: 30px; font-size: 24px; line-height: 20px; }
  .categories { gap: 8px; padding-top: 20px; padding-bottom: 7px; }.tag { padding: 9px 17px; font-size: 14px; }.apps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 14px; }.card-copy { left: 8px; right: 8px; bottom: 8px; }h3 { font-size: 22px; }.tagline { font-size: 11px; }.category { font-size: 10px; }.maker-line { font-size: 9px; gap: 4px; }
  .maker-steps { flex-direction: column; gap: 24px; }.maker-steps li { flex-direction: row; text-align: left; gap: 12px; }.maker-steps img { width: 39%; height: 94px; }.maker-steps strong { font-size: 19px; }.maker-steps li:not(:last-child)::after { content: '↓'; right: 37%; top: auto; bottom: -26px; font-size: 28px; }.maker-actions { gap: 10px; }.maker-actions .button { font-size: 15px; padding: 12px 15px; }
  footer { padding: 25px 8px 60px; }footer a,footer button { padding: 0 8px; font-size: 11px; }.hero-switcher { bottom: 9px; right: 9px; font-size: 11px; }.hero-switcher a { padding: 6px 9px; }
}
.city-item-0 { --mobile-x: 3%; --mobile-y: 17%; --mobile-width: 120px; }
.city-item-1 { --mobile-x: 36%; --mobile-y: 18%; --mobile-width: 108px; }
.city-item-2 { --mobile-x: 68%; --mobile-y: 17%; --mobile-width: 96px; }
.city-item-3 { --mobile-x: 7%; --mobile-y: 45%; --mobile-width: 108px; }
.city-item-4 { --mobile-x: 35%; --mobile-y: 46%; --mobile-width: 120px; }
.city-item-5 { --mobile-x: 68%; --mobile-y: 45%; --mobile-width: 96px; }
.city-item-6 { --mobile-x: 15%; --mobile-y: 72%; --mobile-width: 120px; }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }*,*::before,*::after { animation: none !important; transition: none !important; }
  .hero-city { height: auto; padding: 125px 25px 20px; }.city-stage { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }.city-item { position: relative; left: auto; top: auto; width: auto; transform: none !important; }.card-helper { display: none; }
  .wall-track { transform: none; }.wall-copy { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width:600px) { .city-stage { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.hero-city { padding-left: 20px; padding-right: 20px; } }

.hero-switcher { bottom: 5px; padding: 3px; font-size: 11px; line-height: 12px; }.hero-switcher a { padding: 4px 8px; }

/* The sign spans exactly the middle two tracks; their clipping frames start below it. */
.hero-wall { --sign-clearance: 220px; }
.hero-wall .wall-stage { align-items: start; }
.hero-wall .wall-column:nth-child(3), .hero-wall .wall-column:nth-child(4) { margin-top: var(--sign-clearance); height: calc(100% - var(--sign-clearance)); }
.hero-wall .wall-sign { top: 22px; width: calc((100% - 98px) / 3 + 14px); height: 150px; max-width: none; padding: 25px 12px 20px; white-space: normal; border: 2px solid #a18a55; border-radius: 9px; background: #fff5de; box-shadow: inset 0 0 0 4px #e7d6af, 0 8px 13px #644b2322; }
.wall-sign h1 { font-size: 28px; margin-bottom: 15px; white-space: nowrap; }
.wall-sign .hero-actions { gap: 8px; }
.wall-sign .button { padding: 11px 14px; font-size: 15px; }
.wall-sign::before, .wall-sign::after { content: ''; position: absolute; top: -25px; width: 3px; height: 25px; background: repeating-linear-gradient(30deg,#b38b43 0 3px,#72552f 3px 5px); box-shadow: 1px 0 1px #3f301c55; }
.wall-sign::before { left: 26px; }.wall-sign::after { right: 26px; }
.sign-support { position: absolute; bottom: -38px; width: 56px; height: 60px; pointer-events: none; }
.sign-support-left { left: 16px; }.sign-support-right { right: 16px; }
.sign-support .card-helper { inset: 0; display: flex; align-items: end; justify-content: center; }
.sign-support .card-helper img { width: 44px; height: 56px; }
.sign-support .card-helper i { width: 12px; height: 20px; margin-bottom: 22px; }
@media (max-width:900px) and (min-width:601px) {
  .wall-sign h1 { font-size: 23px; white-space: normal; }.wall-sign .hero-actions { flex-direction: column; gap: 5px; }.wall-sign .button { font-size: 12px; padding: 5px 6px; min-height: 30px; }.hero-wall .wall-sign { padding-top: 12px; height: 165px; }
}
@media (max-width:600px) {
  .hero-wall { --sign-clearance: 204px; }
  .hero-wall .wall-stage { padding-top: var(--sign-clearance); }
  .hero-wall .wall-column:nth-child(3), .hero-wall .wall-column:nth-child(4) { height: 100%; margin-top: 0; }
  .hero-wall .wall-sign { top: 12px; left: 7px; transform: none; width: calc(100% - 14px); height: 144px; padding: 22px 12px 18px; }
  .wall-sign h1 { font-size: 24px; margin-bottom: 17px; }
  .wall-sign .hero-actions { gap: 7px; }.wall-sign .button { padding: 11px 14px; font-size: 14px; }
  .sign-support { bottom: -32px; width: 48px; height: 51px; }.sign-support .card-helper img { width: 36px; height: 46px; }.sign-support-left { left: 21px; }.sign-support-right { right: 21px; }
  .hero-wall .motion-toggle { top: 161px; right: 8px; }
}

@media (max-width:600px) { .wall-mobile-extra { display: grid; gap: 9px; } .brand strong { font-size: 24px; letter-spacing: -1px; } .brand span { font-size: 10px; } }

.hero-description { font: 14px/1.3 Arial,sans-serif; white-space: normal; margin: 0 auto 10px; max-width: 370px; }
.content > section > p, .category-heading, .maker-steps p, .about p { font: 16px/1.5 Arial,sans-serif; }
.category-heading { margin: 28px 0 0; }.categories { padding-top: 10px; }
.maker-steps p { margin: 8px 0; }.final-call { text-align: center; margin: 25px auto; max-width: 650px; font: 16px/1.5 Arial,sans-serif; }.final-call p:first-child { font: bold 26px Georgia,serif; }
.hero-wall { --sign-clearance: 250px; }.hero-wall .wall-sign { height: 180px; padding-top: 16px; }.wall-sign h1 { margin-bottom: 8px; }
@media (max-width:600px) { .hero-wall { --sign-clearance: 240px; }.hero-wall .wall-sign { height: 180px; padding-top: 16px; }.wall-sign h1 { margin-bottom: 8px; }.wall-sign .hero-description { font-size: 13px; max-width: 310px; margin-bottom: 8px; }.hero-wall .motion-toggle { top: 196px; }.maker-steps li div { flex: 1; } }

.sample-badge { display: inline-block; padding: 3px 7px; border-radius: 4px; background: #fff5de; color: #243b36; font: bold 11px/1.2 Arial,sans-serif; }
.app-card > .sample-badge, .spotlight-app > .sample-badge { position: absolute; z-index: 3; top: 8px; left: 8px; bottom: auto; font-size: 11px; color: #243b36; }

.legal { max-width: 760px; margin: 0 auto; padding: 45px 25px 70px; line-height: 1.7; }
.legal h1 { font-size: 42px; }
.legal h2 { font-size: 23px; margin: 30px 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal a { text-decoration: underline; }

/* 日本語は文節で改行し、行末の孤立を避ける（2026-11-16） */
:lang(ja) { word-break: auto-phrase; line-break: strict; }
:lang(ja) :is(h1, h2, h3, .hero-description) { text-wrap: balance; }
:lang(ja) p, :lang(ja) li { text-wrap: pretty; }

@media (max-width: 375px) {
  .site-header:has(~ main.detail) .brand { flex-direction: column; align-items: flex-start; }
  .site-header:has(~ main.detail) .brand span { margin: 0; padding: 0; border: 0; }
}

/* New arrivals' link and the /apps/ list (2026-11-21). The list reuses .tag, .button and .apps-grid. */
.see-all { margin: 28px 0 0; text-align: center; }
.app-list h1 { margin: 28px 0 0; font-size: 43px; line-height: 1.1; }
.app-list h1::after { content: ''; display: block; width: 105px; height: 4px; background: #d9a333; margin-top: 8px; transform: rotate(-2deg); }
a.tag { text-align: center; }
.tag-all { background: #fff2d4; }
.tag[aria-current] { outline: 2px solid #235e59; outline-offset: -3px; }
.list-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 24px; }
.list-search { display: flex; gap: 8px; flex: 1 1 320px; max-width: 520px; }
.list-search input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 16px; border: 1px solid #b8a578; border-radius: 28px; background: #fffaf0; color: inherit; font: 16px Arial,sans-serif; }
.list-search input:focus-visible { outline: 3px solid #a64322; outline-offset: 2px; }
.list-sort { display: flex; gap: 4px; padding: 4px; border: 1px solid #a3b0a1; border-radius: 24px; font: bold 14px Arial,sans-serif; }
.list-sort a { padding: 7px 14px; border-radius: 18px; }
.list-sort a[aria-current] { color: #fff8e7; background: #175c53; }
.list-empty { font: 16px/1.5 Arial,sans-serif; }
.list-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 32px 0 8px; }
.list-pages a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid #b8a578; border-radius: 22px; background: #fff2d4; font: bold 16px Arial,sans-serif; }
.list-pages a[aria-current] { color: #fff9e9; border-color: #376d61; background: #175c53; }
@media (max-width:600px) {
  .app-list h1 { font-size: 33px; margin-top: 25px; }
  .list-tools { margin: 14px 0 18px; }.list-search { flex-basis: 100%; max-width: none; }.list-search .button { padding: 10px 16px; }
  .see-all { margin-top: 22px; }
}
