/* Font Families */
@font-face {
  font-family: 'MochiyPopOne-Regular';
  src: url('/assets/fonts/MochiyPopOne-Regular.ttf') format('truetype');
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

a {
  text-decoration: none;
  padding: 0.5rem 0.75rem;
}

/* Base styles */
/* Base styles */
:root {
  --primary: #ffb65d;
  /*#FFC278 old primary*/
  --primary-dark: #ffffff;
  --light-primary: #FFE5C2;
  --light-orange: #FFF8F2;
  --white-600: #ffffff; 
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #1F2937;
  line-height: 1.5;
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-auto {
  margin-top: auto;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pl-10 {
  padding-left: 2.5rem;
}

.pr-4 {
  padding-right: 1rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.text-white {
  color: white;
}

.text-primary {
  color: var(--primary);
}

.text-white-600 {
  color: var(--white-600);
}

.text-gray-500 {
  color: #6B7280;
}


.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-700 {
  color: var(--gray-700);
}

.text-gray-800 {
  color: var(--gray-800);
}

.text-red-500 {
  color: #EF4444;
}

.bg-white {
  background-color: white;
}

.bg-primary {
  background-color: var(--primary);
}

.bg-light-orange {
  background-color: var(--light-orange);
}

.bg-light-primary {
  background-color: var(--light-primary);
}

.bg-gray-200 {
  background-color: #E5E7EB;
}

.bg-white-80 {
  background-color: rgba(255, 255, 255, 0.8);
}

.bg-black-30 {
  background-color: rgba(0, 0, 0, 0.3);
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-black-30 {
  --tw-gradient-from: rgba(0, 0, 0, 0.3);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.from-primary {
  --tw-gradient-from: var(--primary);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 194, 120, 0));
}

.to-transparent {
  --tw-gradient-to: transparent;
}

.to-primary-dark {
  --tw-gradient-to: var(--primary-dark);
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-2 {
  border-width: 2px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-b-2 {
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.border-primary {
  border-color: var(--primary);
}

.border-gray-200 {
  border-color: #E5E7EB;
}

.border-white-30 {
  border-color: rgba(255, 255, 255, 0.3);
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.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);
}

.w-full {
  width: 100%;
}

.w-1-2 {
  width: 50%;
}

.w-3-4 {
  width: 75%;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.w-24 {
  width: 6rem;
}

.w-32 {
  width: 8rem;
}

.h-1 {
  height: 0.25rem;
}

.h-3 {
  height: 0.75rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.h-32 {
  height: 8rem;
}

.h-48 {
  height: 12rem;
}

.h-500 {
  height: 500px;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.h-calc-100-minus-4rem {
  height: calc(100% - 4rem);
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-1-2 {
  top: 50%;
}

.left-3 {
  left: 0.75rem;
}

.bottom-6 {
  bottom: 1.5rem;
}

.right-6 {
  right: 1.5rem;
}

.-bottom-6 {
  bottom: -1.5rem;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.transform {
  transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.-translate-y-1-2 {
  transform: translateY(-50%);
}

.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;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

.overflow-hidden {
  overflow: hidden;
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.fill-primary {
  fill: var(--primary);
}

.hidden {
  display: none;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

/* Mobile menu styles */
.mobile-menu-btn {
  cursor: pointer;
}

.mobile-menu.show {
  display: block;
}

/* Hover states */
.hover\:bg-primary:hover {
  background-color: var(--primary);
}

.hover\:bg-primary-dark:hover {
  background-color: var(--primary-dark);
}

.hover\:text-primary:hover {
  color: var(--gray-600);
}

.hover\:text-primary-dark:hover {
  color: var(--primary-dark);
}

.hover\:text-white:hover {
  color: white;
}

.hover\:underline:hover {
  text-decoration: underline;
}

.hover\:opacity-80:hover {
  opacity: 0.8;
}

.hover\:shadow-md:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Focus states */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.focus\:ring-primary:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

/* Form styles */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  appearance: none;
  background-color: white;
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

/* Media Queries */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:h-600 {
    height: 600px;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .md\:col-span-1 {
    grid-column: span 1 / span 1;
  }
  
  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
  }
  
  .md\:p-8 {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .lg\:order-1 {
    order: 1;
  }
  
  .lg\:order-2 {
    order: 2;
  }
}

/* Create a placeholder SVG for development */
img[src="placeholder.svg"] {
  background-color: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

img[src="placeholder.svg"]::after {
  content: "Placeholder Image";
  position: absolute;
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* Additional styles needed for the Apply page */

/* Rounded checkbox styling */
.rounded {
  border-radius: 0.25rem;
}

/* Additional text sizes */
.text-2xl {
  font-size: 1.5rem;
}

/* Additional spacing */
.space-y-8 > * + * {
  margin-top: 2rem;
}

/* Additional width utilities */
.max-w-4xl {
  max-width: 56rem;
}

/* Form input styling for date inputs */
input[type="date"] {
  appearance: none;
  background-color: white;
}

/* Checkbox group styling */
input[type="checkbox"].rounded {
  border-radius: 0.25rem;
}

/* Additional padding */
.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Additional margin */
.mt-1 {
  margin-top: 0.25rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

/* Navbar Container */
    nav {
      background: rgba(0, 0, 0, 0);
      position: relative;
      z-index: 1000;
    }

    .navbar {
      max-width: 1200px;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
    }

    /* .logo a {
      color: #ffffff;
      font-size: 1.5rem;
      font-weight: bold;
      text-decoration: none;
    } */

    .menu {
      display: flex;
      gap: .5rem;
      align-items: center;
    }

    .menu a {
      color: #f0f0f0;
      text-decoration: none;
      padding: 0.5rem 0.75rem;
      transition: background 0.3s ease, color 0.3s ease;
      border-radius: 4px;
      font-size: 1rem;
    }

    .menu a:hover {
      background-color: #292943;
      color: #ffffff;
    }

/* Dropdown */
    .dropdown {
      position: relative;
    }

    .dropdown > a::after {
      content: " ▾";
      font-size: 0.8rem;
    }

    .dropdown-content {
      position: absolute;
      top: 120%;
      left: 0;
      background-color: var(--primary);
      min-width: 180px;
      display: flex;
      flex-direction: column;
      padding: 0.5rem 0;
      border-radius: 6px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
      transition: all 0.3s ease;
    }

    .dropdown:hover .dropdown-content {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .dropdown-content a {
      color: var(--white-600);
      padding: 0.6rem 1rem;
      text-decoration: none;
      font-size: 0.95rem;
    }

    .dropdown-content a:hover {
      background-color: var(--light-primary);
      color: var(--gray-600);
    }

        /* Responsive */
    @media (max-width: 768px) {
      .navbar {
        flex-direction: column;
        align-items: flex-start;
      }

      .menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding-top: rem;
      }

      .menu a {
        width: 100%;
      }

      .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        background: #2c2c3e;
      }

      .dropdown:hover .dropdown-content {
        position: relative;
        opacity: 1;
        pointer-events: auto;
        transform: none;
      }
    }