/* =====================================================
   CSS RESET & BASE
   ===================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  color: #21324B;
  background: #f8f7fa;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  color: #21324B;
  margin-top: 0;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.3rem; margin-bottom: 16px; letter-spacing: 0.04em; }
h2 { font-size: 1.6rem; margin-bottom: 16px; letter-spacing: 0.04em; }
h3 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: 0.03em; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol, blockquote {
  margin-top: 0;
  margin-bottom: 1.2em;
}
a {
  color: #BA9900;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #947600;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
ul, ol { padding-left: 22px; }
button, .cta-btn {
  font-family: inherit;
  outline: none;
  border: none;
  cursor: pointer;
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

/* =====================================================
   CREATIVE ARTISTIC COLOR PALETTE ROOT
   ===================================================== */
:root {
  --primary: #21324B;
  --secondary: #E0E3EA;
  --accent: #BA9900;
  --accent-dark: #947600;
  --bg-light: #faf8f3;
  --bg-art: #f2e4ff;
  --creative-blue: #5D7FFF;
  --creative-pink: #F87CA4;
  --creative-mint: #4AE8B7;
  --creative-orange: #ffae56;
  --shadow: 0 4px 16px 0 #b68ee02e;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 #c6cde82a;
  position: relative;
  z-index: 60;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img {
  height: 44px;
  max-width: 160px;
  transition: transform 0.18s;
}
.logo:hover img {
  transform: scale(1.07) rotate(-2deg);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #21324B;
  letter-spacing: 0.04em;
  padding: 4px 7px;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cta-btn {
  margin-left: 16px;
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--creative-pink), var(--creative-blue), var(--accent));
  background-size: 200% 100%;
  background-position: left top;
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: background-position 0.3s cubic-bezier(.47,1.64,.41,.8), transform 0.14s;
  border: none;
  display: inline-block;
  letter-spacing: 0.08em;
}
.cta-btn:hover, .cta-btn:focus {
  background-position: right top;
  transform: scale(1.05) rotate(-1deg);
  color: #fff;
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 1.7rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.2s;
  z-index: 1001;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--accent);
  transform: scale(1.10) rotate(-10deg);
}

/* Mobile menu - initially hidden */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.54,1.41,.22,.91);
  box-shadow: -4px 0 32px #0001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  margin-left: auto;
  display: flex;
  transition: background 0.18s, transform 0.18s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: var(--accent-dark);
  transform: scale(1.10) rotate(10deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--primary);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 11px 0 9px 0;
  border-radius: 6px;
  transition: background 0.16s, color 0.18s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--creative-blue);
  color: #fff;
}

/* HIDE desktop nav on mobile, SHOW toggle */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =====================================================
   SECTIONS & SPACING
   ===================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-light);
  border-radius: 24px;
  box-shadow: 0 2px 16px #c6cde842;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
main > section {
  margin-bottom: 64px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* Card containers & layouts - Flexbox Only! */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 32px 24px;
  min-width: 260px;
  max-width: 370px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 24px var(--creative-mint);
  transform: translateY(-6px) scale(1.03) rotate(-0.5deg);
  z-index: 5;
}
/* Content grid for features/services */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Text and image hybrid sections */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
}

/* Feature item pattern (icon + text vertical) */
.feature-item {
  background: var(--secondary);
  border-radius: 18px;
  padding: 26px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  box-shadow: 0 2px 10px #b68ee022;
  margin-bottom: 20px;
  transition: background 0.18s, box-shadow 0.14s, transform 0.13s;
}
.feature-item img {
  height: 42px;
  width: 42px;
}
.feature-item:hover,
.feature-item:focus-within {
  background: var(--creative-mint);
  box-shadow: 0 8px 24px var(--creative-pink);
  transform: scale(1.03) rotate(-1deg);
}

/* Service Boxes (index) */
.service-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-box {
  background: var(--bg-art);
  flex: 1 1 260px;
  padding: 30px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 16px #F87CA420;
  min-width: 240px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: background 0.17s, box-shadow 0.16s, transform 0.14s;
}
.service-box:hover {
  background: var(--creative-blue);
  color: #fff;
  box-shadow: 0 8px 24px #5D7FFF33;
  transform: scale(1.04) rotate(1deg);
}
.service-box h3 { color: inherit; }

/* Testimonial cards (index) */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 20px #e0e3ea4a;
  max-width: 370px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 0;
  transition: box-shadow 0.18s, transform 0.18s;
  border-left: 7px solid var(--creative-pink);
}
.testimonial-card blockquote {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.13rem;
  color: #21324B;
  margin: 0 0 8px 0;
  font-weight: 500;
  line-height: 1.7;
}
.testimonial-meta {
  color: #777888;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  align-self: flex-end;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 28px var(--creative-blue);
  transform: translateY(-4px) scale(1.03) rotate(0.7deg);
  border-left: 7px solid var(--creative-orange);
}

/* Cards and List Patterns for Cars page */
.car-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.car-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
  min-width: 220px;
  flex: 1 1 246px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.14s, background 0.15s;
  border-top: 7px solid var(--accent);
}
.car-card h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
  color: var(--creative-blue);
}
.car-card:hover,
.car-card:focus-within {
  background: var(--bg-art);
  box-shadow: 0 8px 24px var(--creative-blue);
  transform: scale(1.03) rotate(-1deg);
}
.car-card ul li {
  color: inherit;
}

.features-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
  justify-content: flex-start;
}
.feature-point {
  background: var(--secondary);
  border-radius: 18px;
  padding: 26px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
  box-shadow: 0 2px 10px #977be022;
  margin-bottom: 20px;
  transition: background 0.17s, box-shadow 0.15s, transform 0.14s;
}
.feature-point img {
  height: 40px;
  width: 40px;
}
.feature-point:hover {
  background: var(--creative-mint);
  box-shadow: 0 8px 20px var(--accent);
  transform: scale(1.03);
}

/* Step-by-step section (how-to-use.html) */
.step-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 14px;
  justify-content: flex-start;
}
.step-item {
  background: var(--bg-art);
  border-radius: 18px;
  padding: 24px 18px 23px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 200px;
  max-width: 300px;
  box-shadow: 0 2px 10px #94760024;
  margin-bottom: 20px;
  transition: background 0.19s, box-shadow 0.13s, transform 0.11s;
}
.step-item img {
  height: 37px;
  width: 37px;
}
.step-item:hover { background: var(--creative-orange); color: #fff; transform: scale(1.03); }
.step-item:hover h3 { color: #fff; }

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 14px;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #d9bad124;
  padding: 20px 20px 15px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.12s;
  border-left: 6px solid var(--creative-mint);
}
.faq-item:hover { box-shadow: 0 7px 18px var(--creative-pink); transform: translateY(-2px) rotate(-1.5deg); border-left: 6px solid var(--accent); }

/* Benefit List (services.html) */
.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.benefit-list li {
  background: var(--secondary);
  border-radius: 15px;
  padding: 24px 18px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 180px;
  box-shadow: 0 2px 10px #6476d022;
  margin-bottom: 20px;
  transition: background 0.12s, box-shadow 0.12s, transform 0.14s;
}
.benefit-list li img {
  height: 38px;
}
.benefit-list li:hover {
  background: var(--creative-blue);
  color: #fff;
  box-shadow: 0 7px 18px var(--creative-blue);
  transform: scale(1.03);
}
.benefit-list li h3 { color: inherit; }

/* Contact info blocks (contact) */
.contact-info-section { margin-top: 2em; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; }
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.11rem;
  background: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px #c6cde82f;
  transition: box-shadow 0.16s, background 0.13s, transform 0.13s;
}
.contact-info-list li img { width: 32px; height: 32px; }
.contact-info-list li:hover { box-shadow: 0 7px 18px var(--creative-mint); background: var(--secondary); transform: scale(1.02); }

/* Team / List patterns */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
}

/* Policy section and confirmation message */
.policy-section {
  background: var(--secondary);
  padding: 22px 18px 18px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 14px #b68ee018;
  margin-bottom: 20px;
}
.confirmation-message {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 44px 22px;
  background: var(--bg-art);
  border-radius: 18px;
  box-shadow: 0 2px 14px #F87CA422;
}

/* =====================================================
   TABLES (pricing.html)
   ===================================================== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #b68ee022;
  margin-bottom: 32px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  font-size: 1.06rem;
  text-align: left;
  padding: 18px 12px;
}
.pricing-table thead th {
  background: var(--creative-orange);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
}
.pricing-table tbody tr:nth-child(odd) {
  background: var(--bg-art);
}
.pricing-table tbody tr:nth-child(even) {
  background: #FAFCFF;
}
.pricing-table td {
  border-bottom: 1.5px dashed #e0e3ea;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* List of features, notes etc. */
.plan-features, .notes-list {
  margin-top: 18px;
  margin-bottom: 18px;
  padding-left: 22px;
  font-size: 1.05rem;
  color: #21324B;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--primary);
  color: #fff;
  width: 100%;
  margin-top: 80px;
  padding: 32px 0 24px 0;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #E0E3EA;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 6px;
  padding: 5px 8px;
  transition: background 0.13s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: #fff;
}
.footer-info {
  font-size: 0.95rem;
  color: #cdd4e6;
}
.footer-info a {
  color: #F87CA4;
  transition: color 0.17s;
}
.footer-info a:hover {
  color: #ffae56;
}
footer address {
  font-style: normal;
  color: #b5bbcc;
  margin-top: 10px;
}

/* =====================================================
   COOKIE CONSENT BANNER & MODAL
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  color: #21324B;
  box-shadow: 0 -1px 30px #b68ee038;
  padding: 16px 14px;
  gap: 14px;
  animation: cookieBannerFadeIn 0.7s cubic-bezier(.18,1.4,.25,1.12);
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  margin-top: 3px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  background: var(--creative-blue);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px #4ae8b733;
  transition: background 0.18s, box-shadow 0.15s, transform 0.13s;
}
.cookie-btn.accept {
  background: var(--creative-mint);
  color: #21324B;
}
.cookie-btn.reject {
  background: var(--creative-pink);
}
.cookie-btn.settings {
  background: var(--accent);
}
.cookie-btn:hover {
  background: var(--creative-orange);
  color: #21324B;
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 7px 17px #ffae5633;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,50,75,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.32s cubic-bezier(.22,1.22,.36,0.99);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 42px #BA990033;
  min-width: 288px;
  max-width: 95vw;
  padding: 38px 26px 23px 26px;
  color: #21324B;
  animation: cookieModalPop 0.31s cubic-bezier(.22,1.22,.36,0.99);
}
@keyframes cookieModalPop {
  from { opacity: 0; transform: scale(0.91); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  font-size: 1.2rem; margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category .toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--creative-mint);
  margin-right: 7px;
}
.cookie-modal .cookie-category label {
  font-weight: 700;
}
.cookie-modal .cookie-actions {
  margin-top: 26px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 8.5px 16px;
  font-size: 1rem;
}
.cookie-modal .cookie-category.essential label {
  color: var(--accent);
  cursor: not-allowed;
}

/* Modal close button */
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 38px; height: 38px;
  font-size: 1.35rem;
  border-radius: 50%;
  transition: background 0.14s, transform 0.14s;
}
.cookie-modal-close:hover { background: var(--creative-blue); transform: scale(1.13); }

/* =====================================================
   ANIMATIONS for MICROS & INTERACTIONS
   ===================================================== */
h1, h2, h3 {
  transition: color 0.17s, transform 0.14s;
}
h1:hover, h2:hover, h3:hover {
  color: var(--creative-pink);
  transform: translateY(-2px) scale(1.01);
}
::-webkit-input-placeholder { color: #b5bbcc; }
::-moz-placeholder { color: #b5bbcc; }
:-ms-input-placeholder { color: #b5bbcc; }
::placeholder { color: #b5bbcc; }

/* =========================================================
   RESPONSIVE STYLES (mobile first)
   ========================================================= */
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 980px) {
  .feature-grid, .service-boxes, .testimonial-list, .car-list, .features-overview, .benefit-list, .step-grid {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 769px) {
  h1 {font-size: 1.36rem;}
  h2 {font-size: 1.15rem;}
  .footer-nav { gap: 14px; }
  .card, .car-card, .service-box, .feature-point, .feature-item, .step-item, .benefit-list li, .testimonial-card {
    min-width: 0;
    max-width: 98vw;
    width: 100%;
    flex: 1 1 100%;
  }
  .policy-section, .confirmation-message {
    padding: 14px 7px;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 8px; }
  .main-nav { font-size: 0.96rem; } 
}

/* Burger + Main nav responsive triggers */
@media (max-width: 768px) {
  .main-nav, .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
  .footer-nav { flex-direction: column; gap: 10px; }
}

/* -- END OF CSS -- */
