@media (min-width: 761px) { main { margin-top: 16px; } .map { height: 460px; } } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", sans-serif; background: #fff; color: #222; line-height: 1.5; } .site-header { height: 50px; background: #ddd; display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 14px; } main { width: min(100% - 24px, 760px); margin: 8px auto 12px; } .search-input { width: 100%; min-height: 58px; padding: 12px 14px; border: 1px solid #ccc; font-size: 14px; background: #fff; } .category { margin-top: 8px; padding: 4px 8px; background: #ddd; text-align: center; font-size: 14px; } .category-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding: 8px 0; font-size: 13px; } .category-options label { display: inline-flex; align-items: center; gap: 4px; } .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 2px; } button { border: 0; cursor: pointer; font: inherit; } .action-button { min-height: 68px; padding: 10px; background: #ddd; font-size: 13px; } .map { position: relative; margin-top: 12px; min-height: 280px; height: 42vh; max-height: 480px; background: linear-gradient(28deg, transparent 48%, #c8c8c8 49%, #c8c8c8 51%, transparent 52%), linear-gradient(-18deg, transparent 47%, #cfcfcf 48%, #cfcfcf 50%, transparent 51%), #e8e8e8; overflow: hidden; display: flex; align-items: center; justify-content: center; } .map-label { font-size: 14px; color: #444; text-align: center; } .pin { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: #222; transform: rotate(-45deg); cursor: pointer; } .pin::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #fff; top: 5px; left: 5px; } .results { margin-top: 12px; background: #ddd; padding: 18px 12px; } .results-title { text-align: center; font-size: 14px; margin-bottom: 12px; } .result-list { display: grid; gap: 8px; } .result-card { background: #fff; padding: 12px; border: 1px solid #ccc; cursor: pointer; } .result-card strong { display: block; font-size: 14px; margin-bottom: 4px; } .result-card span { font-size: 12px; color: #555; } .no-result { background: #fff; padding: 16px; text-align: center; font-size: 13px; } .site-footer { background: #ddd; min-height: 60px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; text-align: center; font-size: 12px; padding: 8px 4px; } .site-footer .footer-title { grid-column: 1 / -1; font-size: 14px; margin-bottom: 2px; } #map { width: 100%; height: 400px; } /* ピンクリック時のモーダル */ .marker-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1000; } .marker-modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 30px; min-width: 250px; border-radius: 8px; } .modal-close { position: absolute; top: 5px; right: 5px; border: none; background: none; font-size: 24px; cursor: pointer; } #modalName { margin: 0; } a, a:hover, a:visited, a:active { color: inherit; text-decoration: none; }