* { margin: 0; padding: 0; box-sizing: border-box; } :root { --bg: #ffffff; --bg-sub: #f7f8fa; --bg-card: #ffffff; --accent: #1a56db; --accent-dark: #1e40af; --accent-light: #dbeafe; --red: #dc2626; --red-light: #fee2e2; --text: #111827; --text-sub: #4b5563; --text-muted: #9ca3af; --border: #e5e7eb; --border-dark: #d1d5db; --shadow: 0 1px 4px rgba(0,0,0,0.08); --shadow-md: 0 4px 16px rgba(0,0,0,0.1); } body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif; background: var(--bg-sub); color: var(--text); line-height: 1.8; -webkit-font-smoothing: antialiased; min-height: 100vh; } /* ---- Nav ---- */ .nav { background: #1e293b; position: sticky; top: 0; z-index: 100; overflow-x: auto; -webkit-overflow-scrolling: touch; border-bottom: 3px solid var(--accent); } .nav__list { display: flex; list-style: none; max-width: 960px; margin: 0 auto; padding: 0 8px; } .nav__link { display: block; padding: 13px 16px; color: #cbd5e1; text-decoration: none; font-size: 0.8125rem; white-space: nowrap; font-weight: 500; transition: color 0.15s, background 0.15s; } .nav__link:hover { color: #fff; background: rgba(255,255,255,0.08); } .nav__link.is-active { color: #fff; background: rgba(255,255,255,0.12); font-weight: 700; } .nav__auth { margin-left: auto; display: flex; align-items: center; padding-right: 8px; flex-shrink: 0; } .nav__login-btn { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; padding: 5px 14px; border-radius: 6px; font-size: 0.8rem; cursor: pointer; white-space: nowrap; } .nav__login-btn:hover { background: rgba(255,255,255,0.2); } .nav__user { display: flex; align-items: center; gap: 8px; } .nav__admin-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; padding: 5px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; text-decoration: none; white-space: nowrap; } .nav__admin-btn:hover { background: var(--accent-dark); } .nav__logout-btn { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #cbd5e1; padding: 5px 12px; border-radius: 6px; font-size: 0.75rem; cursor: pointer; white-space: nowrap; } .nav__logout-btn:hover { color: #fff; } /* ---- Header ---- */ .header__inner { background: #ffffff; padding: 28px 20px 24px; text-align: center; position: relative; border-bottom: 1px solid #e5e7eb; } .header__title-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; } .header__admin-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); border: 1px solid var(--accent); color: #fff; padding: 5px 14px; border-radius: 20px; font-size: 0.8125rem; font-weight: 700; text-decoration: none; transition: background 0.15s; white-space: nowrap; } .header__admin-btn:hover { background: #1d4ed8; } .header__badge { display: inline-block; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); border: 1px solid var(--accent); border-radius: 100px; padding: 2px 12px; margin-bottom: 10px; } .header__title { font-size: 1.75rem; font-weight: 800; color: #111827; letter-spacing: 0.05em; } .header__sub { font-size: 0.8125rem; color: #6b7280; margin-top: 4px; } /* ---- Page Wrap ---- */ .page-wrap { padding: 20px 12px; } .page-wrap--sub { min-height: 60vh; } .container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; } /* ---- CTA Button ---- */ .cta-btn { display: block; text-align: center; padding: 15px 24px; background: var(--accent); color: #fff; text-decoration: none; font-size: 0.9375rem; font-weight: 700; border-radius: 6px; transition: background 0.15s; border: none; } .cta-btn:hover { background: var(--accent-dark); } /* ---- Section ---- */ .section { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 20px; box-shadow: var(--shadow); } .section--services { padding: 16px; } .section--attention { border-left: 4px solid var(--red); } .section--guide { border-left: 4px solid var(--accent); } .section--hours { border-left: 4px solid #059669; } .section__text { font-size: 0.9375rem; color: var(--text-sub); } /* ---- Section Heading ---- */ .section__heading { font-size: 0.9375rem; font-weight: 700; margin-bottom: 14px; padding: 8px 14px; border-radius: 4px; } .section__heading--warn { background: var(--red-light); color: var(--red); } .section__heading--guide { background: var(--accent-light); color: var(--accent-dark); } .section__heading--hours { background: #d1fae5; color: #065f46; } .section__body { font-size: 0.9375rem; color: var(--text-sub); } /* ---- Services Grid ---- */ .services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; } .service-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px 12px 24px; border-radius: 6px; text-decoration: none; color: var(--text); border: 1px solid var(--border); background: var(--bg-card); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; position: relative; } .service-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(26,86,219,0.1); transform: translateY(-2px); } .service-card__icon { font-size: 2.5rem; line-height: 1; } .service-card__title { font-size: 1.0625rem; font-weight: 700; text-align: center; word-break: keep-all; } .service-card__desc { font-size: 0.8125rem; color: var(--text-muted); text-align: center; word-break: keep-all; } /* ---- Lists ---- */ .attention-list, .guide-list { padding-left: 20px; } .attention-list li, .guide-list li { margin-bottom: 7px; padding-left: 3px; } /* ---- Hours Table ---- */ .hours-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; } .hours-table th, .hours-table td { border: 1px solid var(--border); padding: 9px 6px; text-align: center; } .hours-table thead th { background: #059669; color: #fff; font-weight: 700; } .hours-table tbody th { background: #f0fdf4; font-weight: 700; color: #065f46; white-space: nowrap; } .hours-table tbody td { background: var(--bg); color: var(--text); } /* ---- Sub pages ---- */ .sub-page { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 28px 24px; box-shadow: var(--shadow); } .sub-page__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border); color: var(--text); display: flex; align-items: center; gap: 10px; } .sub-page__title::before { content: ''; display: inline-block; width: 4px; height: 1.4em; background: var(--accent); border-radius: 2px; flex-shrink: 0; } .sub-page__content { font-size: 0.9375rem; line-height: 1.9; color: var(--text-sub); } .sub-page__back { margin-top: 24px; text-align: center; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; } .sub-page__back-link { display: inline-block; padding: 10px 24px; color: var(--accent); background: var(--accent-light); border: 1px solid #bfdbfe; border-radius: 6px; text-decoration: none; font-size: 0.875rem; font-weight: 700; transition: background 0.15s; } .sub-page__back-link:hover { background: #bfdbfe; } /* ---- Game grid (石垢販売) ---- */ .game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 16px 0; } .game-card { display: block; text-decoration: none; position: relative; border-radius: 8px; overflow: hidden; border: 2px solid var(--border); transition: all 0.2s; aspect-ratio: 16/9; background: var(--bg-sub); } .game-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); } .game-card img { width: 100%; height: 100%; object-fit: cover; display: block; } .game-card__label { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 10px 10px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; font-weight: 700; font-size: 0.875rem; } /* ---- Product grid (VM style) ---- */ .vm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; } .vm-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.2s; cursor: pointer; } .vm-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); } .vm-card__top { padding: 16px 16px 12px; border-bottom: 1px solid var(--border); } .vm-card__game { font-size: 0.6875rem; color: var(--accent); font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; } .vm-card__title { font-size: 0.9375rem; font-weight: 700; color: var(--text); line-height: 1.4; } .vm-card__body { padding: 10px 16px; } .vm-card__detail { font-size: 0.8125rem; color: var(--text-sub); padding: 3px 0; display: flex; align-items: center; gap: 6px; } .vm-card__detail::before { content: '・'; color: var(--accent); } .vm-card__foot { padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); background: #fafafa; } .vm-card__price { font-size: 1.25rem; font-weight: 800; color: var(--red); } .vm-card__price small { font-size: 0.75rem; font-weight: 400; color: var(--text-muted); } .vm-card__btn { padding: 7px 20px; border: none; border-radius: 5px; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.8125rem; cursor: pointer; transition: background 0.15s; } .vm-card__btn:hover { background: var(--accent-dark); } .vm-card__btn:disabled { background: var(--text-muted); cursor: not-allowed; } /* VM filters */ .vm-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; } .vm-filter button { padding: 6px 16px; border: 1px solid var(--border); border-radius: 100px; background: var(--bg); color: var(--text-sub); cursor: pointer; font-size: 0.8125rem; transition: all 0.15s; } .vm-filter button:hover { border-color: var(--accent); color: var(--accent); } .vm-filter button.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; } /* States */ .empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted); } .empty-state i { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.3; display: block; } .loading { text-align: center; padding: 48px; color: var(--text-muted); } .loading i { font-size: 1.75rem; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* ---- Modal ---- */ .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; } .modal-overlay--open { display: flex; } .modal { background: #fff; border-radius: 10px; max-width: 460px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 24px; animation: fadeIn 0.2s ease; border: 1px solid var(--border); } @keyframes fadeIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } } .modal h2 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: var(--text); } .modal-body { font-size: 0.875rem; color: var(--text-sub); line-height: 1.7; margin-bottom: 18px; } .modal-body strong { color: var(--text); } .pay-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; } .pay-btn { padding: 16px; border: 2px solid var(--border); border-radius: 8px; background: var(--bg); cursor: pointer; text-align: center; transition: all 0.15s; color: var(--text-sub); } .pay-btn:hover { border-color: var(--accent); color: var(--text); } .pay-btn.selected { border-color: var(--accent); background: var(--accent-light); color: var(--accent-dark); } .pay-btn__icon { font-size: 1.5rem; margin-bottom: 5px; } .pay-btn__label { font-size: 0.8125rem; font-weight: 700; } .kyash-area, .paypay-area { display: none; } .kyash-area--open, .paypay-area--open { display: block; animation: fadeIn 0.2s ease; } .link-box { display: flex; gap: 8px; margin: 10px 0; } .link-box input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.875rem; } .link-box button { padding: 10px 18px; border: none; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; } .link-box button:disabled { opacity: 0.5; } .result-area { display: none; text-align: center; padding: 16px 0; } .result-area--open { display: block; animation: fadeIn 0.3s ease; } .result-area .success-icon { font-size: 2.5rem; color: #16a34a; margin-bottom: 10px; } .creds { margin: 14px auto; padding: 14px 16px; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; font-family: monospace; font-size: 0.875rem; word-break: break-all; color: var(--text); text-align: left; } .copy-btn { padding: 9px 24px; border: none; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; } .back-link { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: 0.875rem; text-decoration: none; margin-bottom: 14px; } .back-link:hover { color: var(--accent); } /* ---- Footer ---- */ .footer { background: #1e293b; border-top: 3px solid var(--accent); } .footer__inner { max-width: 800px; margin: 0 auto; padding: 28px 20px 20px; text-align: center; } .footer__sns { display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; } .footer__sns-link { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; background: rgba(255,255,255,0.1); color: #cbd5e1; text-decoration: none; font-size: 1.125rem; border: 1px solid rgba(255,255,255,0.15); transition: all 0.15s; } .footer__sns-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); } .footer__copy { font-size: 0.75rem; color: #64748b; } /* ---- Admin link (hidden) ---- */ .admin-link { opacity: 0; font-size: 0.6rem; color: transparent; text-decoration: none; display: block; padding: 4px; } .admin-link:hover { opacity: 0.2; color: #fff; } /* ---- Powered ---- */ .powered { text-align: center; padding: 8px; border-top: 1px solid rgba(255,255,255,0.05); } .powered p { font-size: 0.6875rem; color: #475569; letter-spacing: 0.12em; } /* ---- Scrollbar ---- */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: var(--bg-sub); } ::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--accent); } ::selection { background: rgba(26,86,219,0.2); } /* ---- Responsive ---- */ @media (max-width: 600px) { .nav__link { padding: 11px 12px; font-size: 0.75rem; } .header__inner { padding: 20px 16px 18px; } .header__title { font-size: 1.5rem; } .services-grid { gap: 8px; } .service-card { padding: 18px 10px 14px; } .service-card__icon { font-size: 1.75rem; } .service-card__title { font-size: 0.8125rem; } .service-card__desc { font-size: 0.625rem; } .section { padding: 16px 14px; } .hours-table { font-size: 0.75rem; } .hours-table th, .hours-table td { padding: 7px 3px; } .sub-page { padding: 20px 14px; } .game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }