/* Site footer. Font inherits the original theme's Meiryo, sans-serif stack. */
footer.piano-footer{clear:both;margin-top:30px;padding:0;background:#173f44;color:#fffaf0;border-top:0;font-family:inherit;line-height:1.8;word-break:normal;overflow-wrap:anywhere}
.piano-footer *,.piano-footer *::before,.piano-footer *::after{box-sizing:border-box}
.piano-footer a{color:inherit;text-decoration:none}
.piano-footer a:hover{color:#f1cf75;text-decoration:underline;text-underline-offset:4px;opacity:1}
.piano-footer a:focus-visible{outline:2px solid #f1cf75;outline-offset:4px}
.piano-footer .piano-footer__inner{width:100%;max-width:1120px;margin:0 auto;padding:32px 28px 22px}
.piano-footer .piano-footer__intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:26px;border-bottom:1px solid #48666a}
.piano-footer .piano-footer__name{margin:0 0 6px;font-size:21px;font-weight:bold;line-height:1.5}
.piano-footer .piano-footer__description{margin:0;font-size:13px;color:#d1e1dd}
.piano-footer .piano-footer__quick-links{display:flex;flex-wrap:wrap;gap:8px 24px;flex-shrink:0;font-size:14px}
.piano-footer .piano-footer__quick-links a{display:inline-block;padding:8px 0;border-bottom:1px solid #78948e}
.piano-footer .piano-footer__directory{padding:26px 0}
.piano-footer .piano-footer__heading{margin:0 0 18px;padding:0;background:none;border:0;font-size:16px;font-weight:bold;line-height:1.6;letter-spacing:normal;text-indent:0}
.piano-footer .piano-footer__regions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}
.piano-footer .piano-footer__region-title{margin:0 0 8px;padding:0;background:none;border:0;font-size:14px;font-weight:bold;line-height:1.6}
.piano-footer .piano-footer__region-title a{display:inline-block;padding:4px 0}
.piano-footer .piano-footer__prefectures{list-style:none;margin:0;padding:0;font-size:13px}
.piano-footer .piano-footer__prefectures a{display:inline-block;padding:4px 0}
.piano-footer .piano-footer__support{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #48666a;font-size:13px}
.piano-footer .piano-footer__support p{margin:0;font-weight:bold}
.piano-footer .piano-footer__support a{text-decoration:underline;text-underline-offset:4px}
.piano-footer .piano-footer__bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid #48666a;font-size:12px;color:#d1e1dd}
.piano-footer .piano-footer__site-links{display:flex;flex-wrap:wrap;gap:4px 24px;list-style:none;margin:0;padding:0}
.piano-footer .piano-footer__site-links a{display:inline-block;padding:6px 0}
.piano-footer .piano-footer__copyright{margin:0}
.piano-footer .pagetop{position:static;display:block!important;margin:0;padding:16px 0 0;text-align:right}
.piano-footer .pagetop a{display:inline-block;width:auto;height:auto;padding:6px 0;background:transparent;border-radius:0;font-size:12px;line-height:1.8;color:#d1e1dd}
@media(max-width:900px){.piano-footer .piano-footer__intro{align-items:flex-start;flex-direction:column;gap:12px}.piano-footer .piano-footer__regions{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 32px}}
@media(max-width:620px){.piano-footer .piano-footer__inner{padding:28px 20px 20px}.piano-footer .piano-footer__name{font-size:19px}.piano-footer .piano-footer__regions{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.piano-footer .piano-footer__prefectures{display:flex;flex-wrap:wrap;gap:0 16px;font-size:14px}.piano-footer .piano-footer__region-title{font-size:15px}.piano-footer .piano-footer__prefectures a{padding:9px 0}.piano-footer .piano-footer__support,.piano-footer .piano-footer__bottom{align-items:flex-start;flex-direction:column;gap:8px}.piano-footer .piano-footer__support a{display:inline-block;padding:6px 0}.piano-footer .piano-footer__site-links{font-size:13px;gap:4px 20px}}
@media(max-width:360px){.piano-footer .piano-footer__regions{grid-template-columns:1fr}.piano-footer .piano-footer__quick-links{flex-shrink:1}}
@media(pointer:coarse){.piano-footer .piano-footer__prefectures a,.piano-footer .piano-footer__region-title a,.piano-footer .piano-footer__quick-links a,.piano-footer .piano-footer__site-links a{min-height:44px;display:inline-flex;align-items:center}}

/* A music park above the practical directory. Artwork never covers the links. */
.piano-park{background:#fffaf0;color:#244e50;overflow:hidden;padding-bottom:32px;border-bottom:6px solid #e4bd53}
.piano-park__scene{position:relative;max-width:1440px;margin:0 auto}
.piano-park__scene>svg{display:block;width:100%;height:auto}
.piano-footer .piano-park__logo{position:absolute;left:50%;top:18%;transform:translateX(-50%);width:25%;max-width:360px;display:block;mix-blend-mode:multiply}
.piano-park__logo img{display:block;width:100%;height:auto}
.piano-park__play{width:min(100% - 40px,740px);margin:20px auto 0;text-align:center}
.piano-footer .piano-park__hint{margin:0 0 15px;font-size:15px;font-weight:bold}
.piano-park__keyboard{height:114px;position:relative;display:flex;gap:0;border:7px solid #244e50;border-top-width:12px;border-radius:4px 4px 8px 8px;background:#244e50;box-shadow:0 7px 0 #c3af8f}
.piano-park__key{appearance:none;margin:0;min-width:0;padding:0;cursor:pointer;touch-action:manipulation;font:inherit;transition:background-color .12s,transform .12s;border-radius:0 0 4px 4px}
.piano-park__key--white{flex:1;height:100%;border:1px solid #798d87;border-top:0;border-bottom:5px solid #d7d7cb;background:#fffef8}
.piano-park__key--black{position:absolute;top:0;left:calc(var(--key-position)*100%/14 - 2.15%);width:4.3%;height:61%;z-index:1;border:1px solid #15353a;border-bottom:5px solid #0d262a;background:#31575b;box-shadow:1px 3px 2px #244e5055}
.piano-park__key--white.is-pressed,.piano-park__key--white:active{background:#f1cf75;transform:translateY(3px)}
.piano-park__key--black.is-pressed,.piano-park__key--black:active{background:#ce806b;transform:translateY(2px)}
.piano-park__key:focus-visible{outline:3px solid #c9694e;outline-offset:2px;z-index:2}
.piano-park__key:disabled{cursor:default}
.piano-footer .piano-park__sound-note{margin:16px 0 0;font-size:12px;color:#536b65}
.piano-park__wheel{animation:piano-park-turn 72s linear infinite;animation-play-state:running}
.piano-park__gondola{animation:piano-park-turn-back 72s linear infinite;animation-play-state:running;transform-origin:0 0}
.piano-park__floating{animation:piano-park-float 5s ease-in-out infinite;animation-play-state:running}
@keyframes piano-park-turn{to{transform:rotate(360deg)}}
@keyframes piano-park-turn-back{to{transform:rotate(-360deg)}}
@keyframes piano-park-float{50%{transform:translateY(-9px)}}
@media(hover:hover){.piano-park__key--white:hover{background:#f8e5b3}.piano-park__key--black:hover{background:#507b75}}
@media(max-width:620px){.piano-park{padding-bottom:26px}.piano-park__scene{display:flex;flex-direction:column-reverse}.piano-footer .piano-park__logo{position:relative;left:auto;top:auto;transform:none;width:270px;max-width:78%;margin:28px auto 0}.piano-park__scene>svg{margin-top:-5px}.piano-park__play{margin-top:10px;width:calc(100% - 32px)}.piano-park__keyboard{height:88px;border-width:5px;border-top-width:9px}.piano-footer .piano-park__hint{font-size:14px;margin-bottom:12px}}

/* Follow the next note. The marker and text also identify it without colour. */
.piano-park__key--white{position:relative}
.piano-park__key--white.is-next{background:#f5d68d;box-shadow:inset 0 0 0 2px #b77a24}
.piano-park__key--black.is-next{background:#b96f59;box-shadow:inset 0 0 0 2px #f7d98b}
.piano-park__key.is-next::after{content:"";position:absolute;left:50%;bottom:16%;width:9px;height:9px;border-radius:50%;background:#244e50;transform:translateX(-50%);box-shadow:0 0 0 4px #fffaf080;pointer-events:none}
.piano-park__key--black.is-next::after{background:#fffaf0;box-shadow:0 0 0 3px #fffaf033}
.piano-park__music-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 12px;margin-top:12px}
.piano-park__music-controls[hidden],.piano-park__music-button[hidden]{display:none}
.piano-park__music-button{appearance:none;font:inherit;font-size:12px;line-height:1.6;color:#244e50;background:#fffaf0;border:1px solid #78948e;border-radius:20px;padding:8px 16px;cursor:pointer;min-height:38px}
.piano-park__music-button:hover{background:#f8e5b3}
.piano-park__music-button:focus-visible{outline:3px solid #c9694e;outline-offset:3px}
.piano-footer .piano-park__sound-note{min-height:24px;font-size:13px}
.piano-park.is-song-complete .piano-park__sound-note{color:#244e50;font-weight:bold}
@media(pointer:coarse){.piano-park__music-button{min-height:44px}}
