/* LP-specific CSS - Extracted Tailwind utilities for optimal performance */
/* This file contains only the styles needed for LP pages */

/* Reset and base styles (Tailwind Preflight) */
*, *::before, *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb; /* gray-200 */
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Heading and paragraph resets */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

h1, h2, h3, h4, h5, h6, hr, p, pre {
  margin: 0;
}

/* List resets */
ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Block element resets */
blockquote, dl, dd, figure {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

/* Media resets */
img, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* Interactive element resets */
a {
  color: inherit;
  text-decoration: inherit;
}

button {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

/* Table resets */
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

/* Hidden attribute */
[hidden] {
  display: none;
}

/* Visibility utilities */
.invisible { visibility: hidden; }

/* Layout utilities */
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-12 { height: 3rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }

/* Spacing utilities */
.gap-2 { gap: 0.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.p-4 { padding: 1rem; }

/* Typography utilities */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-\[9px\] { font-size: 9px; }
.text-\[13px\] { font-size: 13px; }

/* Color utilities */
.bg-white { background-color: #ffffff; }
.bg-gray-700 { background-color: #374151; }
.bg-\[\#B91C1C\] { background-color: #B91C1C; }
.text-white { color: #ffffff; }
.text-gray-800 { color: #1F2937; }
.text-gray-900 { color: #111827; }

/* Border utilities */
.border { border-width: 1px; border-style: solid; }
.border-gray-300 { border-color: #D1D5DB; }
.rounded-lg { border-radius: 0.5rem; }

/* Shadow utilities */
.shadow-\[0_1px_8px_0_rgba\(0\,0\,0\,0\.1\)\,0_2px_4px_0_rgba\(0\,0\,0\,0\.15\)\] {
  box-shadow: 0 1px 8px 0 rgba(0,0,0,0.1), 0 2px 4px 0 rgba(0,0,0,0.15);
}

/* Transition utilities */
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Hover states */
.hover\:bg-gray-50:hover { background-color: #F9FAFB; }
.hover\:text-gray-300:hover { color: #D1D5DB; }

/* Responsive styles - md breakpoint (768px) */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:h-16 { height: 4rem; }
  .md\:max-w-2xl { max-width: 42rem; }
  .md\:w-4\/5 { width: 80%; }
  .md\:space-y-0 > * + * { margin-top: 0; }
  .md\:space-x-4 > * + * { margin-left: 1rem; }
  .md\:space-y-4 > * + * { margin-top: 1rem; }
  .md\:px-0 { padding-left: 0; padding-right: 0; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-0 { padding-top: 0; padding-bottom: 0; }
  .md\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .md\:p-5 { padding: 1.25rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:mb-6 { margin-bottom: 1.5rem; }
}

/* Responsive styles - lg breakpoint (1024px) */
@media (min-width: 1024px) {
  .lg\:w-3\/4 { width: 75%; }
}

/* Modal utilities */
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-50 { z-index: 50; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.rounded-2xl { border-radius: 1rem; }
.max-w-\[351px\] { max-width: 351px; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.border-gray-900 { border-color: #111827; }
.border-2 { border-width: 2px; border-style: solid; }
.border-\[\#B91C1C\] { border-color: #B91C1C; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

/* Footer mobile styles */
@media (max-width: 430px) {
  footer nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  footer nav a {
    font-size: 13px;
  }
}
