/* ===== CSS Variables ===== */
:root {
  --primary: #C8102E;       /* MKレッド */
  --primary-dark: #9e0d24;
  --primary-light: #f5e6e9;
  --accent: #1a1a2e;        /* ネイビー */
  --gold: #b89c5f;          /* 京都の金 */
  --bg: #fafaf8;
  --white: #ffffff;
  --gray-100: #f5f5f0;
  --gray-200: #e8e8e2;
  --gray-400: #9e9e90;
  --gray-700: #444440;
  --text: #1a1a1a;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 4px;
  --transition: 0.25s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ===== Header ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
/* ロゴ */
.header-logo .logo-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text-wrap { line-height: 1.1; }
.logo-text-en {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}
.logo-text-ja {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-serif);
}
.header-nav { display: flex; align-items: center; gap: 0; }
.header-nav a {
  padding: 0 14px;
  height: 72px;
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  border-right: 1px solid var(--gray-200);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.header-nav a:first-child { border-left: 1px solid var(--gray-200); }
.header-nav a:hover { color: var(--primary); background: var(--primary-light); }
.btn-reserve-header {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0 22px !important;
  border-radius: 2px;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.5px;
  border: none !important;
  margin-left: 16px;
  transition: background var(--transition) !important;
}
.btn-reserve-header:hover { background: var(--primary-dark) !important; color: #fff !important; }

/* Hamburger (SP) */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--accent); transition: 0.3s; }
#sp-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  z-index: 99;
  flex-direction: column;
  padding: 32px 24px;
  gap: 0;
  overflow-y: auto;
}
#sp-menu.open { display: flex; }
#sp-menu a {
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
  color: var(--accent);
}
.btn-reserve-sp {
  margin-top: 24px;
  background: var(--primary);
  color: #fff !important;
  text-align: center;
  padding: 16px !important;
  border-radius: 4px;
  font-size: 18px !important;
  font-weight: 700 !important;
  border: none !important;
}

/* ===== Hero / MV ===== */
#hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: var(--accent);
  overflow: hidden;
  display: flex;
  align-items: center;
}
/* ▼ ここの画像を差し替える ▼ */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26,26,46,0.62) 30%, rgba(200,16,46,0.28) 100%),
    url('images/hero_main.png') center/cover no-repeat;
}

/* 京紋様 */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(
    45deg,
    #fff 0, #fff 1px,
    transparent 0, transparent 50%
  );
  background-size: 20px 20px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  padding: 6px 14px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 44px);
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(200,16,46,0.4);
  transition: background var(--transition), transform var(--transition);
}
.hero-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }
.hero-cta-arrow { font-size: 20px; }

/* ===== Section Base ===== */
section { padding: 72px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .en-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
}
.section-header p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gray-400);
}
.divider {
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
}

/* ===== Cars Section ===== */
#price { background: var(--white); }
.car-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.car-card {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow var(--transition), transform var(--transition);
}
.car-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* ▼ 車両画像エリア ▼ */
.car-images {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--gray-200);
}
.car-images .img-slot {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.car-images .img-slot img {
  width: 100%; height: 100%; object-fit: cover;
}
/* 画像なしの場合のplaceholder */
.car-images .img-slot .img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 11px;
  gap: 6px;
  padding: 4px;
  text-align: center;
}
.car-images .img-slot .img-placeholder .icon {
  font-size: 22px;
}
.car-main-img {
  grid-column: span 2;
  grid-row: span 2;
}
.car-body { padding: 24px; }
.car-type-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.car-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.car-specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 13px; }
.car-specs dt { color: var(--gray-400); font-weight: 500; }
.car-specs dd { color: var(--text); font-weight: 500; }
.car-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}

/* 車種注記 */
.car-section-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}

/* Options */
#options { background: var(--gray-100); }
.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.option-card {
  background: var(--white);
  border-radius: 6px;
  padding: 32px;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.option-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--primary);
}
.option-icon { font-size: 32px; margin-bottom: 14px; }
.option-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.option-desc { font-size: 13.5px; color: var(--gray-700); line-height: 1.8; margin-bottom: 16px; }
.option-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}

/* Child seat table */
.child-table-wrap { overflow-x: auto; margin-top: 16px; }
.child-table { font-size: 13px; border: 1px solid var(--gray-200); border-radius: 4px; overflow: hidden; }
.child-table th {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 500;
  white-space: nowrap;
}
.child-table td { padding: 10px 14px; border-top: 1px solid var(--gray-200); }
.child-table tr:nth-child(even) td { background: var(--gray-100); }
.option-notes { margin-top: 12px; font-size: 12px; color: var(--gray-400); }
.option-notes li { padding-left: 1em; text-indent: -1em; }
.option-notes li::before { content: '※'; margin-right: 4px; }
.option-full-width { grid-column: 1 / -1; }

/* ===== Access Section ===== */
/* ===== Access / Shop Cards ===== */
#access { background: var(--white); }

.shop-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.shop-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.shop-card:hover {
  box-shadow: var(--shadow-lg);
}

/* カードヘッダー */
.shop-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  background: var(--accent);
  color: #fff;
}
.shop-number {
  font-size: 36px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-serif);
  line-height: 1;
  letter-spacing: -2px;
  flex-shrink: 0;
  width: 52px;
}
.shop-card-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.shop-card-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

/* カードボディ：左：情報 / 右：地図 */
.shop-card-body {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 320px;
}

/* 情報エリア */
.shop-info {
  padding: 28px 32px;
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
}

.shop-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  flex: 1;
}
.shop-dl dt {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  padding: 10px 16px 10px 0;
  border-bottom: 1px dashed var(--gray-200);
  white-space: nowrap;
}
.shop-dl dt:last-of-type { border-bottom: none; }
.shop-dl dd {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-200);
  line-height: 1.7;
}
.shop-dl dd:last-of-type { border-bottom: none; }
.shop-dl dd a { color: var(--primary); font-weight: 700; font-size: 15px; }
.shop-dl dd a:hover { text-decoration: underline; }
.dl-icon { font-size: 14px; }

.btn-contact-sm {
  display: inline-block;
  margin-top: 20px;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition);
  align-self: flex-start;
}
.btn-contact-sm:hover { background: #2e2e4a; }

/* 地図エリア */
.shop-map {
  position: relative;
  min-height: 320px;
}
.shop-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== Rental Layout ===== */
.rental-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.rental-steps { counter-reset: step; }
.rental-step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--gray-200);
}
.rental-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-num {
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  flex-shrink: 0;
}
.step-body h4 { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.step-body p { font-size: 14px; color: var(--gray-700); line-height: 1.8; }
.rental-image {
  background: var(--gray-100);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.rental-image img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
}
.rental-image .img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--gray-400); gap: 12px; font-size: 13px; text-align: center; padding: 24px;
}
.rental-image .img-placeholder .icon { font-size: 40px; }

/* Payment methods */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.payment-badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
}

/* ===== Info Banners ===== */
#info-banners {
  background: var(--gray-100);
  padding: 64px 24px;
}

.info-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.info-banner-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  cursor: pointer;
  box-shadow: 0 3px 16px rgba(0,0,0,0.10);
  position: relative;
  overflow: hidden;
}
.info-banner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.info-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}
.info-banner-card:hover::before {
  background: rgba(255,255,255,0.08);
}

/* 赤バリアント（重要事項） */
.info-banner-card--red {
  background: linear-gradient(135deg, var(--primary) 0%, #a00820 100%);
  color: #fff;
  grid-column: 1 / -1;  /* 1枚目は全幅 */
}
/* ネイビーバリアント */
.info-banner-card--navy {
  background: linear-gradient(135deg, var(--accent) 0%, #2a2a4e 100%);
  color: #fff;
}

.info-banner-icon {
  font-size: 34px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.info-banner-body {
  flex: 1;
}
.info-banner-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 4px;
}
.info-banner-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}
.info-banner-arrow {
  font-size: 22px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.info-banner-card:hover .info-banner-arrow {
  transform: translateX(5px);
  color: rgba(255,255,255,1);
}



/* ===== EV Banner ===== */
.ev-banner-link {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(34, 139, 34, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 860px;
  margin: 0 auto;
}
.ev-banner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34, 139, 34, 0.35);
}
.ev-banner-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 32px;
  background: linear-gradient(135deg, #1a6b1a 0%, #2d9e2d 50%, #1a8c4a 100%);
  position: relative;
  overflow: hidden;
}
.ev-banner-inner::before {
  content: '⚡';
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
  opacity: 0.07;
  pointer-events: none;
}
.ev-banner-logo {
  flex-shrink: 0;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gogoev-svg {
  width: 90px;
  height: 36px;
}
.ev-banner-text {
  flex: 1;
}
.ev-banner-title {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.3px;
}
.ev-banner-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-top: 5px;
  letter-spacing: 0.3px;
}
.ev-banner-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 24px;
  padding: 8px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}
.ev-banner-link:hover .ev-banner-arrow {
  background: rgba(255,255,255,0.25);
}

@media (max-width: 600px) {
  .ev-banner-inner { padding: 18px 20px; gap: 16px; }
  .ev-banner-inner::before { display: none; }
  .ev-banner-arrow span { display: none; }
  .ev-banner-arrow { padding: 8px 12px; }
}

/* ===== News Section ===== */
#news { background: var(--white); }

.news-list {
  list-style: none;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-item {
  display: grid;
  grid-template-columns: 130px 110px 1fr 28px;
  align-items: center;
  gap: 0 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  transition: background var(--transition);
  outline: none;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover,
.news-item:focus { background: var(--primary-light); }
.news-item:focus-visible { box-shadow: inset 0 0 0 2px var(--primary); }

.news-date {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
  white-space: nowrap;
}
.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-align: center;
}
.news-tag--red  { background: var(--primary); color: #fff; }
.news-tag--navy { background: var(--accent);  color: #fff; }
.news-tag--gold { background: var(--gold);    color: #fff; }

.news-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}
.news-item:hover .news-title,
.news-item:focus .news-title { color: var(--primary); }

.news-arrow {
  font-size: 22px;
  color: var(--gray-400);
  text-align: right;
  transition: transform var(--transition), color var(--transition);
}
.news-arrow--external::after {
  content: ' ↗';
  font-size: 14px;
}
.news-item:hover .news-arrow,
.news-item:focus .news-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* ===== News Modal ===== */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.news-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}
.news-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.news-modal-box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 10px;
  width: 100%;
  max-width: 660px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 16px 60px rgba(0,0,0,0.25);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}
.news-modal.is-open .news-modal-box {
  transform: translateY(0) scale(1);
}
.news-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}
.news-modal-meta { display: flex; align-items: center; gap: 10px; }
.news-modal-date { font-size: 12px; color: var(--gray-400); font-weight: 500; }
.news-modal-tag {
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 2px; letter-spacing: 0.5px;
}
.news-modal-tag--red  { background: var(--primary); color: #fff; }
.news-modal-tag--navy { background: var(--accent);  color: #fff; }
.news-modal-tag--gold { background: var(--gold);    color: #fff; }
.news-modal-close {
  width: 32px; height: 32px;
  background: var(--gray-100);
  border: none; border-radius: 50%;
  font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.news-modal-close:hover { background: var(--primary); color: #fff; }
.news-modal-title {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 600;
  color: var(--accent);
  padding: 20px 24px 12px;
  line-height: 1.5;
}
.news-modal-content { padding: 4px 24px 28px; }

/* Responsive */
@media (max-width: 700px) {
  .news-item {
    grid-template-columns: 1fr 28px;
    grid-template-rows: auto auto auto;
    gap: 4px 8px;
    padding: 14px 16px;
  }
  .news-date  { grid-column: 1; grid-row: 1; font-size: 12px; }
  .news-tag   { grid-column: 1; grid-row: 2; justify-self: start; }
  .news-title { grid-column: 1; grid-row: 3; }
  .news-arrow { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .news-modal { padding: 12px; }
  .news-modal-title { font-size: 15px; padding: 16px 16px 10px; }
  .news-modal-content { padding: 4px 16px 20px; }
  .news-modal-header { padding: 14px 16px 12px; }
}

/* ===== Other Shops Banner ===== */

#other-shops { background: var(--gray-100); padding: 48px 24px; }
.shops-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
/* ▼ 各店舗バナー画像 差し替えエリア ▼ */
.shop-banner {
  aspect-ratio: 3/2;
  background: var(--accent);
  border-radius: 4px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  border: 2px solid transparent;
}
.shop-banner:hover { opacity: 0.88; transform: translateY(-3px); border-color: var(--primary); }
.shop-banner img { width: 100%; height: 100%; object-fit: cover; }
.shop-banner .banner-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; gap: 8px; font-size: 13px; font-weight: 500; text-align: center; padding: 12px;
}
.shop-banner .banner-placeholder .icon { font-size: 26px; }

/* ===== Footer ===== */
#site-footer {
  background: var(--accent);
  color: #fff;
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
/* ▼ フッターバナー 差し替え ▼ */
.footer-banner {
  width: 100%;
  height: 140px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  margin-bottom: 40px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.footer-banner img { width: 100%; height: 100%; object-fit: cover; }
.footer-banner .img-placeholder {
  color: rgba(255,255,255,0.4); font-size: 13px; text-align: center; gap: 6px;
  display: flex; flex-direction: column; align-items: center;
}
.footer-banner .img-placeholder .icon { font-size: 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-info .footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-logo-text { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: #fff; }
.footer-address { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.9; }
.footer-contact a { color: rgba(255,255,255,0.9); }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-nav h4 {
  font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,0.5);
  text-transform: uppercase; margin-bottom: 16px; font-weight: 700;
}
.footer-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
@media (max-width: 600px) {
  .footer-nav ul {
    grid-template-columns: 1fr;
  }
}
.footer-nav ul li a {
  font-size: 13px; color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-nav ul li a::before { content: '›'; color: var(--primary); font-size: 16px; }
.footer-nav ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-mk-logo {
  display: flex; align-items: center; gap: 6px;
}
.footer-mk-logo img { height: 28px; opacity: 0.7; }
.footer-mk-logo .logo-placeholder-sm {
  font-size: 12px; color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px; border-radius: 2px;
}

/* ===== Floating CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 50;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end;
}
.floating-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform var(--transition), box-shadow var(--transition);
  font-family: var(--font-sans);
  border: none;
  white-space: nowrap;
}
.floating-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }
.floating-btn-reserve { background: var(--primary); color: #fff; }
.floating-btn-tel { background: var(--white); color: var(--accent); border: 2px solid var(--gray-200); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .btn-reserve-header { display: none; }
  .hero-title { font-size: 28px; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .car-cards { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  /* shop-card responsive */
  .shop-card-body { grid-template-columns: 1fr; }
  .shop-info { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .shop-map { min-height: 280px; position: relative; }
  .shop-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
  .shop-card-header { padding: 16px 20px; }
  .shop-card-name { font-size: 17px; }
  .shop-info { padding: 20px; }
  .rental-layout { grid-template-columns: 1fr; }
  .rental-image { padding: 12px; }
  .rental-image img { max-height: 260px; }
  .info-banner-grid { grid-template-columns: 1fr; }
  .info-banner-card--red { grid-column: 1; }
  .shops-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  section { padding: 48px 16px; }
  .search-grid { grid-template-columns: 1fr; }
  .car-images { grid-template-columns: repeat(2, 1fr); }
  .car-main-img { grid-column: span 2; }
  .shops-grid { grid-template-columns: 1fr 1fr; }
  .floating-cta { bottom: 16px; right: 16px; }
}
