:root {
  --color-primary: #003d82;
  --color-primary-light: #0056b3;
  --color-primary-dark: #002855;
  --color-accent: #ff6b35;
  --color-accent-light: #ff8c5a;
  --color-accent-dark: #e55a2b;
  --color-text: #333;
  --color-text-muted: #666;
  --color-bg: #f8f8f8;
  --color-white: #fff;
  --color-error: #ef4444;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-2xl: 80px;
  --spacing-3xl: 100px;

  --radius: 20px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

body.loading-active {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #001f3f 0%, #003d82 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading.loaded {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-logo {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 3px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-logo img {
  height: 35px;
  width: auto;
  display: block;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  animation: fadeInOut 1.5s ease-in-out infinite;
}

header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 90%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: var(--shadow);
  z-index: 1000;
}

nav {
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
}

.logo img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  padding: 8px 15px;
  margin: 0 5px;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -10px;
  right: -10px;
  bottom: -8px;
  background: rgba(0, 61, 130, 0.08);
  border-radius: 12px;
  transform: scale(0);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu a:hover::before {
  transform: scale(1);
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -2;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 10;
  position: relative;
  padding: 0 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 4px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: letterReveal 1.2s ease-out forwards;
  animation-play-state: paused;
}

.hero.loaded h1 span {
  animation-play-state: running;
}

.hero h1 span:nth-child(1) {
  animation-delay: 0.1s;
}
.hero h1 span:nth-child(2) {
  animation-delay: 0.2s;
}
.hero h1 span:nth-child(3) {
  animation-delay: 0.3s;
}
.hero h1 span:nth-child(4) {
  animation-delay: 0.4s;
}
.hero h1 span:nth-child(5) {
  animation-delay: 0.5s;
}
.hero h1 span:nth-child(6) {
  animation-delay: 0.6s;
}
.hero h1 span:nth-child(7) {
  animation-delay: 0.7s;
}
.hero h1 span:nth-child(8) {
  animation-delay: 0.8s;
}
.hero h1 span:nth-child(9) {
  animation-delay: 0.9s;
}
.hero h1 span:nth-child(10) {
  animation-delay: 1s;
}
.hero h1 span:nth-child(11) {
  animation-delay: 1.1s;
}

.hero p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 2px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: subtitleReveal 1s ease-out 1.8s forwards;
  animation-play-state: paused;
}

.hero.loaded p {
  animation-play-state: running;
}

section {
  width: 100%;
  padding: var(--spacing-2xl) 0;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  color: var(--color-primary);
  position: relative;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  letter-spacing: 0.3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.section-subtitle {
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--color-accent);
  text-transform: uppercase;
  order: -1;
}

.section-number {
  font-size: 80px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 100;
  color: rgba(0, 61, 130, 0.1);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.philosophy {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: white;
  overflow: hidden;
}

.purple-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.purple-bg-left,
.purple-bg-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: rgba(7, 48, 95, 1);
}

.purple-bg-left {
  left: 0;
  transform-origin: right center;
}

.purple-bg-right {
  right: 0;
  transform-origin: left center;
}

.philosophy.animate .purple-bg-left {
  animation: slideLeftCut 2s ease-out 0.6s forwards;
}

.philosophy.animate .purple-bg-right {
  animation: slideRightCut 2s ease-out 0.6s forwards;
}

.scissors-cut {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background: rgba(255, 255, 255, 0.8);
  transition: height 1.2s ease-out;
  z-index: 11;
}

.philosophy.animate .scissors-cut {
  height: 100%;
}

.philosophy-content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  position: relative;
  z-index: 5;
}

.philosophy-text {
  padding: var(--spacing-3xl) var(--spacing-2xl);
  max-width: 700px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-50px);
}

.philosophy.animate .philosophy-text {
  animation: slideInLeft 1s ease 1.5s forwards;
}

.philosophy-text .subtitle {
  color: #888;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.philosophy-text h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 35px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.philosophy-text h2 .line1,
.philosophy-text h2 .line2 {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.philosophy.animate .philosophy-text h2 .line1 {
  animation: slideUpFade 1s ease-out 1.7s forwards;
}

.philosophy.animate .philosophy-text h2 .line2 {
  animation: slideUpFade 1s ease-out 2s forwards;
}

.philosophy-text p {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0;
}

.philosophy.animate .philosophy-text p {
  animation: fadeIn 1s ease 2.3s forwards;
}

.philosophy-image {
  position: relative;
  height: 700px;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  overflow: hidden;
}

.philosophy.animate .philosophy-image {
  animation: slideInRight 1.2s ease 1.8s forwards;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.read-more {
  display: inline-flex;
  align-items: center;
  padding: 15px 40px;
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 61, 130, 0.2);
  position: relative;
  overflow: hidden;
  opacity: 0;
  z-index: 20;
}

.philosophy.animate .read-more {
  animation: fadeIn 1s ease 2.5s forwards;
}

.read-more:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

#business {
  background: white;
}

.business-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.business-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  opacity: 0;
}

.business-item:nth-child(even) {
  background: var(--color-bg);
}

.business-item:nth-child(even) .business-image {
  order: 2;
}

.business-item:nth-child(even) .business-text {
  order: 1;
}

.business-item.fade-left {
  animation: slideInLeft 0.8s ease forwards;
}

.business-item.fade-right {
  animation: slideInRight 0.8s ease forwards;
}

.business-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0.4, 0, 1);
}

.business-image:hover img {
  transform: scale(1.05);
}

.business-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-2xl);
}

.business-text h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 30px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.business-text h3::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -20px;
  right: -20px;
  bottom: -10px;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 53, 0.05) 50%, rgba(255, 107, 53, 0.1) 100%);
  border-left: 4px solid var(--color-accent);
  transform: skewX(-5deg);
  z-index: -1;
  transition: var(--transition);
}

.business-item:hover .business-text h3::before {
  transform: skewX(-5deg) translateX(10px);
  background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 53, 0.1) 50%, rgba(255, 107, 53, 0.15) 100%);
}

.business-text p {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

#group {
  background: linear-gradient(135deg, #031d3b 0%, #4c77aa 100%);
  padding: var(--spacing-3xl) 0;
}

#group .section-title {
  color: white;
}

#group .section-subtitle {
  color: var(--color-accent);
  opacity: 0.9;
}

#group .section-number {
  color: rgba(255, 255, 255, 0.1);
}

.group-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-top: 50px;
}

.group-category {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.group-category.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.group-category:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.group-image {
  width: 100%;
  height: 200px;
  background: url('imgs/AdobeStock_267766120.jpg') center/cover;
  position: relative;
  overflow: hidden;
}

.group-category:nth-child(1) .group-image {
  background: url('imgs/kanri.jpg') center/cover;
}

.group-category:nth-child(2) .group-image {
  background: url('imgs/chintai.jpg') center/cover;
}

.group-category:nth-child(3) .group-image {
  background: url('imgs/kensetsu.jpg') center/cover;
}

.group-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.group-content {
  padding: 30px;
}

.group-category h3 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--color-accent);
  position: relative;
}

.group-category h3::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--color-accent-light);
}

.group-category ul {
  list-style: none;
}

.group-category li {
  padding: 12px 0 12px 20px;
  color: #555;
  transition: var(--transition);
  font-size: 0.95rem;
  position: relative;
}

.group-category li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  transition: var(--transition);
}

.group-category li:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.group-category li:hover::before {
  transform: translateX(3px);
}

#company {
  background: white;
}

.company-info {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px);
}

.company-info.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.company-info tr {
  border-bottom: 1px solid #eee;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.company-info tr:last-child {
  border-bottom: none;
}

.company-info th {
  background: var(--color-bg);
  padding: 25px 40px;
  text-align: left;
  font-weight: normal;
  color: var(--color-text-muted);
  width: 35%;
  font-size: 1rem;
}

.company-info td {
  padding: 25px 40px;
  color: var(--color-text);
  font-size: 1rem;
}

#access {
  background: white;
  padding: 0;
}

.access-hero {
  width: 100%;
  height: 400px;
  background: url('imgs/access.jpg') center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.access-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.access-hero h2 {
  position: relative;
  color: white;
  font-size: 3rem;
  letter-spacing: 3px;
  z-index: 1;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.access-container {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg);
}

.access-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.access-info-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.access-info {
  background: white;
  padding: 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px);
}

.access-info.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.access-info:nth-child(2) {
  animation-delay: 0.2s;
}

.access-info h3 {
  color: var(--color-primary);
  margin-bottom: 25px;
  font-size: 1.5rem;
  position: relative;
  padding-left: 20px;
}

.access-info h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: var(--color-accent);
}

.access-info p {
  color: var(--color-text-muted);
  line-height: 2;
  font-size: 1rem;
  margin-bottom: 15px;
}

.access-map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.access-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 450px;
  box-shadow: var(--shadow);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.access-map.fade-in {
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.access-map:nth-child(2) {
  animation-delay: 0.6s;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#contact {
  background: #f8fafc;
  padding: var(--spacing-3xl) 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.contact-form-card {
  width: 100%;
  max-width: 1200px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
}

.contact-form-card.fade-in {
  animation: fadeInUp 1s ease forwards;
}

.form-header {
  padding: 50px 60px 30px;
  border-bottom: 1px solid #f1f5f9;
}

.form-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
  font-family: 'Noto Sans JP', sans-serif;
}

.form-subtitle {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 35px;
}

.tabs {
  display: flex;
  gap: 0;
}

.tab {
  flex: 1;
  padding: 15px 25px;
  background: #f8fafc;
  color: #64748b;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border-radius: 8px 8px 0 0;
}

.tab.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 61, 130, 0.25);
}

.form-body {
  padding: 60px;
}

.form-content {
  display: none;
}

.form-content.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.required {
  color: var(--color-error);
  margin-left: 4px;
}

.input-wrapper {
  position: relative;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  transition: var(--transition);
  background: #f9fafb;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1), inset 0 1px 2px rgba(0, 61, 130, 0.05);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 14px;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #6b7280;
}

.textarea-icon {
  top: 18px;
  transform: none;
}

.help-text {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

.privacy-section {
  margin: 30px 0;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.privacy-checkbox input[type='checkbox'] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.privacy-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

.privacy-link {
  color: var(--color-primary);
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.submit-button:hover {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.submit-button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.footer {
  position: relative;
  background: linear-gradient(135deg, #001f3f 0%, #003d82 100%);
  color: #e2e8f0;
  overflow: hidden;
}

.footer-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 61, 130, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-main {
  position: relative;
  padding: 80px 0 60px;
  z-index: 1;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: #cbd5e0;
  letter-spacing: 1px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  color: #94a3b8;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links li:not(:has(a)) {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

.footer-links a::before,
.footer-links li:not(:has(a))::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.footer-links a:hover,
.footer-links li:not(:has(a)):hover {
  color: #fff;
  padding-left: 10px;
}

.footer-links a:hover::before,
.footer-links li:not(:has(a)):hover::before {
  width: 15px;
  left: -10px;
}

.footer-links-nolink li {
  color: #94a3b8;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

.footer-links-nolink li::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.footer-links-nolink li:hover {
  color: #fff;
  padding-left: 10px;
}

.footer-links-nolink li:hover::before {
  width: 15px;
  left: -10px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-label {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.contact-value {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: var(--color-accent);
}

.contact-time {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.footer-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.footer-cta:hover svg {
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.separator {
  color: #4a5568;
  font-size: 10px;
}

.footer-copyright {
  font-size: 13px;
  color: #64748b;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeftCut {
  0% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
  }
  20% {
    transform: translateX(-10px) translateY(10px) rotate(-0.5deg);
    opacity: 1;
  }
  100% {
    transform: translateX(-120%) translateY(10px) rotate(-2deg);
    opacity: 0;
  }
}

@keyframes slideRightCut {
  0% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
  }
  20% {
    transform: translateX(10px) translateY(10px) rotate(0.5deg);
    opacity: 1;
  }
  100% {
    transform: translateX(120%) translateY(10px) rotate(2deg);
    opacity: 0;
  }
}

@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes subtitleReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

@media (max-width: 1180px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 18px;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu a::before {
    display: none;
  }

  .nav-menu.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    margin-left: -100vw;
  }

  header {
    width: calc(100% - 20px);
    top: 10px;
    max-width: calc(100% - 20px);
  }

  nav {
    padding: 0 20px;
  }
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  header {
    width: calc(100% - 20px);
    top: 10px;
  }

  .philosophy-content,
  .business-item,
  .access-info-wrapper,
  .access-map-wrapper,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .business-item:nth-child(even) .business-image,
  .business-item:nth-child(even) .business-text {
    order: unset;
  }

  .philosophy-text,
  .business-text {
    padding: 40px 30px;
  }

  .group-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .access-hero h2 {
    font-size: 2rem;
  }

  .philosophy-text h2 {
    font-size: 2rem;
  }

  .philosophy-image {
    height: 400px;
  }

  .form-header {
    padding: 30px 20px 20px;
  }

  .form-body {
    padding: 30px 20px;
  }

  #contact {
    padding: 60px 15px;
  }

  .contact-form-card {
    max-width: 100%;
    margin: 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }

  .footer-main {
    padding: 60px 0 40px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .footer-links a::before,
  .footer-links li:not(:has(a))::before {
    display: none;
  }

  .footer-links a:hover,
  .footer-links li:not(:has(a)):hover {
    padding-left: 0;
  }

  .scissors-cut {
    display: none;
  }

  .access-info {
    padding: 30px;
  }

  .access-map {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    width: 90%;
    padding: 80px 30px 30px;
  }

  .nav-menu a {
    font-size: 16px;
  }

  .logo {
    font-size: 28px;
  }

  .logo img {
    height: 24px;
  }

  .loading-logo img {
    height: 28px;
  }

  .footer-logo img {
    height: 26px;
  }
}
.privacy-hero {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #001f3f 0%, #003d82 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 90px;
}

.privacy-hero h1 {
  color: white;
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.privacy-section {
  margin-bottom: 60px;
}

.privacy-section h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-accent);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

.privacy-section h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 30px 0 20px;
  font-weight: 500;
}

.privacy-section p,
.privacy-section li {
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.privacy-section ul,
.privacy-section ol {
  margin-left: 30px;
  margin-bottom: 30px;
}

.privacy-section li {
  margin-bottom: 15px;
}

.update-date {
  text-align: right;
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 60px;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.privacy-table th,
.privacy-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.privacy-table th {
  background: var(--color-bg);
  font-weight: 500;
  width: 30%;
}

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 60px;
}

.back-to-home:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 61, 130, 0.3);
}

@media (max-width: 768px) {
  .privacy-hero {
    margin-top: 70px;
  }

  .privacy-hero h1 {
    font-size: 1.8rem;
  }

  .privacy-container {
    padding: 40px 20px;
  }

  .privacy-table th,
  .privacy-table td {
    display: block;
    width: 100%;
    padding: 15px;
  }

  .privacy-table th {
    background: var(--color-primary);
    color: white;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 1000;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: #10b981;
}

.toast.error {
  background: #ef4444;
}
input[type='datetime-local'] {
  cursor: pointer;
}

input[type='datetime-local']::-webkit-calendar-picker-indicator {
  cursor: pointer;
  position: absolute;
  right: 15px;
  width: 20px;
  height: 20px;
}
