/* Tailwind CSS */

/* Utility-first CSS framework for building custom designs */
/* This is a minimal version of Tailwind CSS for the Takematsu theme */

:root {
  --color-primary: #1B365D; /* メインカラー */
  --color-secondary: #C0C0C0; /* シルバー */
  --color-light: #FFFFFF; /* 白 */
  --color-dark: #2E2E2E; /* ダークグレー */
}


@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Flex */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gap-4 {
  gap: 1em;
}

.gap-6 {
  gap: 1.5em;
}

.gap-8 {
  gap: 2em;
}

/* Spacing */
.p-2 {
  padding: 0.5em;
}

.p-4 {
  padding: 1em;
}

.p-6 {
  padding: 1.5em;
}

.p-8 {
  padding: 2em;
}

.px-4 {
  padding-left: 1em;
  padding-right: 1em;
}

.py-2 {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.py-4 {
  padding-top: 1em;
  padding-bottom: 1em;
}

.py-8 {
  padding-top: 2em;
  padding-bottom: 2em;
}

.py-12 {
  padding-top: 3em;
  padding-bottom: 3em;
}

.m-2 {
  margin: 0.5em;
}

.m-4 {
  margin: 1em;
}

.mt-2 {
  margin-top: 0.5em;
}

.mt-4 {
  margin-top: 1em;
}

.mt-8 {
  margin-top: 2em;
}

.mb-2 {
  margin-bottom: 0.5em;
}

.mb-4 {
  margin-bottom: 1em;
}

.mb-6 {
  margin-bottom: 1.5em;
}

.mb-8 {
  margin-bottom: 2em;
}

.mb-12 {
  margin-bottom: 3em;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.-mx-4 {
  margin-left: -1em;
  margin-right: -1em;
}

/* Text */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-sm {
  font-size: 0.875em;
  line-height: 1.25em;
}

.text-base {
  font-size: 1em;
  line-height: 1.5em;
}

.text-lg {
  font-size: 1.125em;
  line-height: 1.75em;
}

.text-xl {
  font-size: 1.25em;
  line-height: 1.75em;
}

.text-2xl {
  font-size: 1.5em;
  line-height: 2em;
}

.text-3xl {
  font-size: 1.875em;
}

.text-4xl {
  font-size: 5em; /* 80px */
  line-height: 1.2em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Colors */
.text-white {
  color: var(--color-light);
}

.text-black {
  color: var(--color-dark);
}

.text-gray-600 {
  color: var(--color-secondary);
}

.text-blue-600 {
  color: var(--color-primary);
}

.bg-white {
  background-color: var(--color-light);
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.bg-gray-200 {
  background-color: #e5e7eb;
}

.bg-blue-50 {
  background-color: #eff6ff;
}

.bg-blue-100 {
  background-color: #dbeafe;
}

.bg-blue-600 {
  background-color: var(--color-primary);
}

.bg-blue-700 {
  background-color: var(--color-primary-dark);
}

/* Borders */
.rounded {
  border-radius: 0.25em;
}

.rounded-lg {
  border-radius: 0.5em;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-gray-200 {
  border-color: var(--color-secondary);
}

/* Shadows */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Responsiveness */
@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:text-3xl {
    font-size: 1.875em;
  }
  
  .md\:text-4xl {
    font-size: 5em; /* 80px */
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
  }
  
  .md\:w-1\/2 {
    width: 50%;
  }
  
  .md\:w-1\/3 {
    width: 33.333333%;
  }
  
  .md\:w-2\/3 {
    width: 66.666667%;
  }
}

@media (min-width: 1024px) {
  .lg\:w-1\/2 {
    width: 50%;
  }
  
  .lg\:w-1\/3 {
    width: 33.333333%;
  }
  
  .lg\:w-2\/3 {
    width: 66.666667%;
  }
  
  .lg\:mt-0 {
    margin-top: 0;
  }
}

/* Width */
.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.w-1\/2 {
  width: 50%;
}

.w-1\/3 {
  width: 33.333333%;
}

.w-2\/3 {
  width: 66.666667%;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

/* Object fit */
.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

/* Display */
.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

/* Transitions */
.transition {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.hover\:bg-blue-700:hover {
  background-color: var(--color-primary-dark);
}

.hover\:text-blue-600:hover {
  color: var(--color-primary);
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Z-index */
.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

/* Others */
.prose {
  max-width: 65ch;
  color: var(--color-dark);
}

.prose img {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.max-w-none {
  max-width: none;
} 