/* =========================
   GLOBAL
========================= */

:root{

    --bg:#080808;
    --card:#111111;
    --card2:#181818;

    --border:#222222;

    --text:#ffffff;
    --sub:#aaaaaa;

    /* バイク感を抑え、車・バイク共通の疾走感を出すレーシングブルーに変更 */
    --accent:#0066ff; 
    --accent-hover:#0052cc;

    --radius:18px;

    --shadow:
    0 10px 30px rgba(0,0,0,.35);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--text);

    font-family:
    "Segoe UI",
    "Hiragino Sans",
    sans-serif;

    line-height:1.7;
}
/* =========================
   Google マップボタン
========================= */
.gmap-section {
    margin: 1rem 0;
}
.gmap-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--accent);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity .15s;
}
.gmap-btn:hover { opacity: .8; }


/* =========================
   LAYOUT
========================= */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.page{
    padding:40px 0 80px;
}

/* =========================
   HEADER
========================= */

.header{

    position:sticky;
    top:0;

    z-index:999;

    background:
    rgba(8,8,8,.95);

    backdrop-filter:blur(10px);

    border-bottom:
    1px solid var(--border);
}

.header-inner{

    max-width:1200px;

    margin:auto;

    padding:15px 20px;

    display:flex;

    align-items:center;

    justify-content:space-between;
}

.logo a{

    text-decoration:none;

    color:#fff;

    font-size:1.4rem;

    font-weight:800;

    letter-spacing:1px;
}

.nav{

    display:flex;
    gap:25px;
}

.nav a{

    text-decoration:none;

    color:#ddd;

    transition:.3s;
}

.nav a:hover{
    color:var(--accent);
}

/* =========================
   BUTTON
========================= */

.btn{

    display:inline-block;

    text-decoration:none;

    border:none;

    cursor:pointer;

    border-radius:10px;

    padding:12px 24px;

    font-weight:700;

    transition:.3s;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{

    background:var(--accent);

    color:#fff;
}

.btn-secondary{

    border:1px solid #444;

    color:#fff;

    background:none;
}

.btn-secondary:hover{
    background:#151515;
}

/* =========================
   CARD
========================= */

.card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:25px;

    box-shadow:var(--shadow);
}

.card-title{

    font-size:1.2rem;

    font-weight:700;

    margin-bottom:15px;
}

/* =========================
   FORM
========================= */

.form-group{
    margin-bottom:20px;
}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-size:.95rem;

    color:#ddd;
}

.form-control{

    width:100%;

    padding:14px;

    background:#151515;

    border:1px solid #333;

    border-radius:10px;

    color:#fff;
}

.form-control:focus{

    outline:none;

    border-color:var(--accent);
}

/* =========================
   AUTH
========================= */

.auth-wrap{

    min-height:80vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px 20px;
}

.auth-card{

    width:100%;
    max-width:500px;

    background:var(--card);

    border:1px solid var(--border);

    border-radius:20px;

    padding:40px;
}

.auth-card h1{

    text-align:center;

    margin-bottom:30px;
}

/* =========================
   ALERT
========================= */

.alert{

    padding:15px;

    border-radius:10px;

    margin-bottom:20px;
}

.alert-success{

    background:
    rgba(0,200,120,.15);

    border:
    1px solid rgba(0,200,120,.3);
}

.alert-error{

    background:
    rgba(255,60,60,.15);

    border:
    1px solid rgba(255,60,60,.3);
}

/* =========================
   SECTION
========================= */

.section{

    margin-bottom:60px;
}

.section-title{

    font-size:2rem;

    margin-bottom:25px;
}

/* =========================
   GRID
========================= */

.grid-2{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:25px;
}

.grid-3{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:25px;
}

.grid-4{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;
}

/* =========================
   FOOTER
========================= */

.footer{

    margin-top:80px;

    padding:30px;

    text-align:center;

    color:#666;

    border-top:
    1px solid var(--border);
}

/* =========================
   MOBILE NAV
========================= */

.mobile-nav{

    display:none;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

.nav{
    display:none;
}

.header-inner .btn{
    font-size:.72rem;
    padding:8px 12px;
    white-space:nowrap;
}

.grid-2,
.grid-3,
.grid-4{
    grid-template-columns:1fr;
}

.auth-card{
    padding:25px;
}

.mobile-nav{

    position:fixed;

    left:0;
    right:0;
    bottom:0;

    height:65px;

    background:#111;

    border-top:
    1px solid #222;

    display:flex;

    justify-content:space-around;

    align-items:center;

    z-index:999;
}

.mobile-nav a{

    color:#fff;

    text-decoration:none;

    font-size:1.3rem;
}

body{
    padding-bottom:70px;
}

}