/*
Theme Name: GlideRide
Theme URI: https://glideride.net
Author: GlideRide
Description: GlideRide カスタムテーマ
Version: 1.0.0
License: Private
Text Domain: glideride
*/

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Bebas+Neue&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --acc: #FEED00;
  --black: #080808;
  --dark: #0a0a0a;
  --dark2: #0d0d0d;
  --gray1: #1a1a1a;
  --gray2: #222;
  --border: #282828;
  --text: #f0ede8;
  --muted: #888;
  --font-marker: 'Permanent Marker', cursive;
  --font-bebas: 'Bebas Neue', sans-serif;
  --font-noto: 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-noto); background: var(--black); color: var(--text); font-size: 14px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* =====================
   SECTION TITLE
   ===================== */
.sec-title {
  font-family: var(--font-marker);
  font-size: 32px;
  color: #fff;
  line-height: 1;
  letter-spacing: .02em;
}

/* =====================
   HEADER
   ===================== */
#site-header {
  background: var(--acc);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
#site-header .logo img { height: 32px; display: block; }
#site-header nav ul { display: flex; gap: 24px; list-style: none; align-items: center; }
#site-header nav ul li a { font-size: 12px; letter-spacing: .06em; color: rgba(0,0,0,.55); transition: color .2s; }
#site-header nav ul li a:hover { color: #000; }
#site-header nav ul li.cta-item a {
  background: #000; color: var(--acc) !important;
  padding: 7px 16px; border-radius: 3px; font-weight: 700; font-size: 12px;
}

/* =====================
   HERO
   ===================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  max-height: 800px;
  background: #060606;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* バナー画像（最初の3秒） */
#hero .hero-banner {
  position: absolute; inset: 0;
  z-index: 1;
}
#hero .hero-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
}
#hero .hero-banner-fallback {
  width: 100%; height: 100%;
  background: #111;
}

/* 動画レイヤー */
#hero .hero-video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
}
#hero .hero-video-wrap video,
#hero .hero-video-wrap iframe {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
}

/* オーバーレイ・装飾 */
#hero .hero-overlay {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-62deg, transparent, transparent 60px, rgba(255,255,255,.01) 60px, rgba(255,255,255,.01) 61px);
  z-index: 2;
  pointer-events: none;
}
#hero .hero-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, transparent, var(--acc) 30%, var(--acc) 70%, transparent);
  z-index: 3;
}

/* テキストエリア */
#hero .hero-bottom {
  position: relative; z-index: 4;
  width: 100%;
  padding: 48px 48px 56px;
  display: flex;
  align-items: flex-end;
  border-top: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, transparent 100%);
}
#hero .hero-eyebrow {
  font-size: 11px; letter-spacing: .2em; color: var(--acc);
  text-transform: uppercase; margin-bottom: 10px;
}
#hero .hero-h1 {
  font-family: var(--font-bebas);
  font-size: clamp(44px, 6vw, 72px);
  line-height: .95;
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: 14px;
}
#hero .hero-h1 span { display: block; color: var(--acc); }
#hero .hero-sub { font-size: 13px; color: var(--muted); line-height: 1.9; max-width: 360px; }

/* =====================
   NEWS
   ===================== */
#news {
  padding: 48px 48px;
  background: var(--dark2);
  border-top: 1px solid var(--border);
}
#news .news-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
#news .more-link { font-size: 12px; color: var(--acc); letter-spacing: .05em; }
#news .more-link:hover { opacity: .8; }
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-date { font-size: 12px; color: var(--muted); min-width: 82px; letter-spacing: .03em; }
.news-cat {
  font-size: 10px; background: rgba(254,237,0,.08); border: 1px solid rgba(254,237,0,.22);
  color: var(--acc); padding: 2px 8px; border-radius: 3px; min-width: 56px; text-align: center; white-space: nowrap;
}
.news-title { font-size: 13px; color: var(--text); flex: 1; line-height: 1.6; }
.news-title a { transition: color .2s; }
.news-title a:hover { color: var(--acc); }

/* =====================
   MOTARD
   ===================== */
#motard {
  display: flex;
  min-height: 320px;
  border-top: 1px solid var(--border);
  background: var(--dark);
  overflow: hidden;
}
#motard .motard-img {
  width: 46%; flex-shrink: 0;
  position: relative; overflow: hidden;
  background: #111;
}
#motard .motard-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
#motard .motard-img:hover img { transform: scale(1.04); }
#motard .motard-body {
  flex: 1; padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 2px solid var(--acc);
}
#motard .motard-eyebrow { font-size: 9px; letter-spacing: .18em; color: var(--acc); text-transform: uppercase; margin-bottom: 10px; }
#motard .motard-h {
  font-family: var(--font-bebas); font-size: 34px; letter-spacing: .06em; line-height: 1.1; color: #fff; margin-bottom: 12px;
}
#motard .motard-h span { color: var(--acc); }
#motard .motard-desc { font-size: 12px; color: var(--muted); line-height: 1.9; margin-bottom: 16px; }
#motard .motard-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
#motard .motard-tag { font-size: 10px; border: 1px solid var(--border); color: var(--muted); padding: 4px 10px; border-radius: 3px; }
#motard .btn-yellow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--acc); color: #000; font-size: 12px; font-weight: 700;
  padding: 10px 20px; border-radius: 3px; width: fit-content; transition: opacity .2s;
}
#motard .btn-yellow:hover { opacity: .85; }

/* =====================
   SERVICES
   ===================== */
#services {
  padding: 48px 48px;
  background: var(--gray1);
  border-top: 1px solid var(--border);
}
#services .services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px;
}
.svc-card {
  background: var(--gray2); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s;
}
.svc-card:hover { border-color: rgba(254,237,0,.3); }
.svc-card .svc-thumb { height: 140px; overflow: hidden; position: relative; }
.svc-card .svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-thumb img { transform: scale(1.05); }
.svc-card .svc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.svc-card .svc-en { font-family: var(--font-bebas); font-size: 20px; letter-spacing: .08em; color: #fff; margin-bottom: 2px; }
.svc-card .svc-ja { font-size: 10px; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.svc-card .svc-desc { font-size: 12px; color: var(--muted); line-height: 1.8; flex: 1; }
.svc-card .svc-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 11px; color: var(--acc); }

/* =====================
   EVENTS & SCHOOL
   ===================== */
#events {
  border-top: 1px solid var(--border);
  background: var(--dark);
}
#events .events-header { padding: 32px 48px 0; }
.event-row {
  display: flex; min-height: 220px;
  border-top: 1px solid var(--border); overflow: hidden;
}
.event-row.reverse { flex-direction: row-reverse; }
.event-row .ev-img {
  width: 44%; flex-shrink: 0;
  position: relative; overflow: hidden; background: #0c0e14;
}
.event-row .ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event-row:hover .ev-img img { transform: scale(1.04); }
.event-row .ev-body {
  flex: 1; padding: 32px 36px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--border);
}
.event-row.reverse .ev-body { border-left: none; border-right: 1px solid var(--border); }
.event-row .ev-cat { font-size: 9px; letter-spacing: .18em; color: var(--acc); text-transform: uppercase; margin-bottom: 8px; }
.event-row .ev-h { font-family: var(--font-bebas); font-size: 24px; letter-spacing: .06em; color: #fff; margin-bottom: 8px; line-height: 1.1; }
.event-row .ev-desc { font-size: 12px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.event-row .ev-btn {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--acc);
  border: 1px solid rgba(254,237,0,.25); padding: 7px 14px; border-radius: 3px; width: fit-content;
  transition: background .2s;
}
.event-row .ev-btn:hover { background: rgba(254,237,0,.08); }

/* =====================
   RACING TEAM
   ===================== */
#racing-team {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
#racing-team .racing-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
  z-index: 0;
}
#racing-team:hover .racing-bg { transform: scale(1); }
#racing-team .racing-bg--fallback {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1008 50%, #0a0a0a 100%);
}
#racing-team .racing-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.62);
  z-index: 1;
}
#racing-team .racing-inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 72px 48px;
  max-width: 700px;
}
#racing-team .racing-eyebrow {
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--acc);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
#racing-team .racing-eyebrow::before,
#racing-team .racing-eyebrow::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--acc);
}
#racing-team .racing-title {
  font-size: 48px;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
#racing-team .racing-lead {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 16px;
  letter-spacing: .04em;
}
#racing-team .racing-body {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 2;
  margin-bottom: 28px;
}
#racing-team .racing-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--acc);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 3px;
  letter-spacing: .06em;
  transition: opacity .2s;
}
#racing-team .racing-btn:hover { opacity: .85; }

/* =====================
   SHOP INFO
   ===================== */
#shop-info {
  background: var(--dark);
  padding: 64px 48px;
  border-top: 1px solid var(--border);
}
#shop-info .shop-inner {
  display: flex; gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 24px;
}
#shop-info .shop-map {
  width: 46%; flex-shrink: 0;
  min-height: 280px;
  position: relative; overflow: hidden;
  border-radius: 4px;
}
#shop-info .shop-map iframe {
  width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(1) brightness(.6);
}
#shop-info .shop-map-link {
  position: absolute; bottom: 12px; right: 12px;
  font-size: 10px; color: var(--acc); background: rgba(0,0,0,.7);
  border: 1px solid rgba(254,237,0,.25); padding: 5px 10px; border-radius: 3px;
  display: flex; align-items: center; gap: 4px;
}
#shop-info .shop-body {
  flex: 1; padding: 0 0 0 40px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 2px solid var(--acc);
}
#shop-info .shop-eyebrow { font-size: 9px; letter-spacing: .18em; color: var(--acc); text-transform: uppercase; margin-bottom: 12px; }
.shop-row { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid #222; align-items: flex-start; }
.shop-row:first-child { border-top: 1px solid #222; }
.shop-row-key { font-size: 10px; color: #555; min-width: 76px; padding-top: 2px; }
.shop-row-val { font-size: 12px; color: #ccc; line-height: 1.8; }
.shop-tel { font-family: var(--font-bebas); font-size: 26px; letter-spacing: .06em; color: #fff; }

/* =====================
   FOOTER
   ===================== */
#site-footer {
  border-top: 1px solid var(--border);
  background: #000;
  padding: 20px 48px;
  display: flex; justify-content: space-between; align-items: center;
}
#site-footer .footer-logo img { height: 22px; opacity: .4; }
#site-footer .footer-copy { font-size: 11px; color: var(--muted); }

/* =====================
   RESPONSIVE（タブレット以下）
   ===================== */
@media (max-width: 768px) {
  #site-header { padding: 0 16px; }
  #site-header nav { display: none; }
  #hero .hero-bottom { padding: 32px 20px 40px; flex-direction: column; gap: 24px; align-items: flex-start; }
  #news, #services, #events .events-header, #shop-info { padding-left: 20px; padding-right: 20px; }
  #motard { flex-direction: column; }
  #motard .motard-img { width: 100%; height: 220px; }
  #motard .motard-body { padding: 32px 20px; border-left: none; border-top: 2px solid var(--acc); }
  #services .services-grid { grid-template-columns: 1fr; }
  .event-row, .event-row.reverse { flex-direction: column; }
  .event-row .ev-img { width: 100%; height: 180px; }
  .event-row .ev-body, .event-row.reverse .ev-body { border: none; border-top: 1px solid var(--border); padding: 24px 20px; }
  #shop-info .shop-inner { flex-direction: column; gap: 24px; }
  #shop-info .shop-map { width: 100%; height: 220px; }
  #shop-info .shop-body { padding: 0; border-left: none; border-top: 2px solid var(--acc); padding-top: 24px; }
  #site-footer { flex-direction: column; gap: 10px; padding: 20px; }
}
