@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700;900&family=Noto+Sans+JP:wght@300;400;500;600;700;900&display=swap");

/*! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com */

*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

::before,
::after {
    --tw-content: '';
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
}

body {
    margin: 0;
    line-height: inherit;
    font-family: "Noto Sans JP", "Noto Sans", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-feature-settings: "pkna";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
}

html,
body {
    overflow-x: hidden;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

html {
    scroll-behavior: smooth;
}

:root {
    --vh: 1vh;
}

/* iOS Safari対応 */
@supports (-webkit-touch-callout: none) {
    html {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }

    body {
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
        transition: min-height 0.2s ease-out;
    }

    .min-h-screen {
        min-height: calc(var(--vh, 1vh) * 100) !important;
    }

    * {
        -webkit-tap-highlight-color: transparent;
    }
}

section[class*='min-h-screen'] {
    transition: min-height 0.2s ease-out;
}

/* アニメーション */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes float-particle {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate(30px, -100px);
        opacity: 0;
    }
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    25% {
        transform: scale(1.5);
        opacity: 0.8;
    }
    50% {
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        transform: scale(1.3);
        opacity: 0.9;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 6s ease-in-out infinite;
}

.animate-float-particle {
    animation: float-particle 10s ease-in-out infinite;
}

.animate-pulse-scale-slow {
    animation: pulse-scale 2.5s ease-in-out infinite;
}

.animation-delay-1000 {
    animation-delay: 1s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* 基本的なユーティリティクラス */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-screen { width: 100vw; }
.min-h-screen { min-height: 100vh; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.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; }
.mb-16 { margin-bottom: 4rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-white { color: rgb(255 255 255); }
.text-gray-100 { color: rgb(243 244 246); }
.text-gray-200 { color: rgb(229 231 235); }
.text-gray-300 { color: rgb(209 213 219); }
.text-gray-500 { color: rgb(107 114 128); }
.text-gray-600 { color: rgb(75 85 99); }
.text-gray-700 { color: rgb(55 65 81); }
.text-gray-900 { color: rgb(17 24 39); }
.text-blue-600 { color: rgb(37 99 235); }
.text-blue-800 { color: rgb(30 64 175); }
.bg-white { background-color: rgb(255 255 255); }
.bg-blue-400 { background-color: rgb(96 165 250); }
.bg-blue-500 { background-color: rgb(59 130 246); }
.bg-blue-600 { background-color: rgb(37 99 235); }
.bg-blue-700 { background-color: rgb(29 78 216); }
.bg-blue-800 { background-color: rgb(30 64 175); }
.bg-black { background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-white { border-color: rgb(255 255 255); }
.border-gray-100 { border-color: rgb(243 244 246); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; 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; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-1000 { transition-duration: 1000ms; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.hover\:bg-white:hover { background-color: rgb(255 255 255); }
.hover\:text-blue-800:hover { color: rgb(30 64 175); }
.hover\:text-blue-900:hover { color: rgb(30 58 138); }
.group:hover .group-hover\:scale-95 { transform: scale(0.95); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:text-blue-800 { color: rgb(30 64 175); }
.group:hover .group-hover\:text-blue-900 { color: rgb(30 58 138); }

/* レスポンシブ */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:h-64 { height: 16rem; }
}

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:hidden { display: none; }
    .md\:flex { display: flex; }
    .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\:gap-8 { gap: 2rem; }
    .md\:gap-12 { gap: 3rem; }
    .md\:gap-16 { gap: 4rem; }
    .md\:gap-20 { gap: 5rem; }
    .md\:px-32 { padding-left: 8rem; padding-right: 8rem; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .md\:pt-20 { padding-top: 5rem; }
    .md\:pt-24 { padding-top: 6rem; }
    .md\:mb-0 { margin-bottom: 0; }
    .md\:mb-12 { margin-bottom: 3rem; }
    .md\:mb-16 { margin-bottom: 4rem; }
    .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:w-80 { width: 20rem; }
    .md\:w-\[300px\] { width: 300px; }
    .md\:max-w-3xl { max-width: 48rem; }
    .md\:max-h-screen { max-height: 100vh; }
    .md\:translate-x-0 { transform: translateX(0); }
    .md\:pr-20 { padding-right: 5rem; }
    .md\:-mr-40 { margin-right: -10rem; }
    .md\:flex-row { flex-direction: row; }
    .md\:items-end { align-items: flex-end; }
    .md\:justify-center { justify-content: center; }
}

@media (min-width: 1024px) {
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:w-2\/5 { width: 40%; }
    .lg\:h-full { height: 100%; }
    .lg\:p-12 { padding: 3rem; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:object-cover { object-fit: cover; }
    .lg\:object-top { object-position: top; }
}

/* その他のユーティリティ */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.overflow-hidden { overflow: hidden; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1)); }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)); }
.drop-shadow-sm { filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05)); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.w-24 { width: 6rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.h-\[280px\] { height: 280px; }
.w-40 { width: 10rem; }
.w-52 { width: 13rem; }
.w-72 { width: 18rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-1 { width: 0.25rem; }
.h-0\.5 { height: 0.125rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.mr-4 { margin-right: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.pl-5 { padding-left: 1.25rem; }
.pr-5 { padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pt-\[30vh\] { padding-top: 30vh; }
.pt-24 { padding-top: 6rem; }
.pb-20 { padding-bottom: 5rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.origin-center { transform-origin: center; }
.scale-x-0 { transform: scaleX(0); }
.scale-x-100 { transform: scaleX(1); }
.scale-90 { transform: scale(0.9); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-110 { transform: scale(1.1); }
.rotate-0 { transform: rotate(0deg); }
.translate-y-10 { transform: translateY(2.5rem); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-x-1\/4 { transform: translateX(25%); }
.top-1\/2 { top: 50%; }
.left-1\/2 { left: 50%; }
.z-\[60\] { z-index: 60; }
.w-\[240px\] { width: 240px; }
.inset-x-0 { left: 0; right: 0; }
.bottom-0 { bottom: 0; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.group { position: relative; }
.group:hover .group-hover\:scale-x-100 { transform: scaleX(1) !important; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.pb-40 { padding-bottom: 10rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.translate-x-8 { transform: translateX(2rem); }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:translate-x-2:hover { transform: translateX(0.5rem); }
.text-gray-100 { color: rgb(243 244 246); }
.hover\:text-white:hover { color: rgb(255 255 255); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3); }
.from-blue-50\/30 { --tw-gradient-from: rgba(239, 246, 255, 0.3); }
.to-purple-50\/20 { --tw-gradient-to: rgba(250, 245, 255, 0.2); }
.from-blue-50 { --tw-gradient-from: #eff6ff; }
.to-indigo-100 { --tw-gradient-to: #e0e7ff; }
.from-blue-500\/10 { --tw-gradient-from: rgba(59, 130, 246, 0.1); }
.to-purple-500\/10 { --tw-gradient-to: rgba(168, 85, 247, 0.1); }
.via-transparent { --tw-gradient-via: transparent; }
.from-blue-500 { --tw-gradient-from: #3b82f6; }
.via-purple-500 { --tw-gradient-via: #a855f7; }
.to-blue-500 { --tw-gradient-to: #3b82f6; }
.blur-xl { filter: blur(24px); }
.-z-10 { z-index: -10; }
.from-black\/50 { --tw-gradient-from: rgba(0, 0, 0, 0.5); }
.via-black\/40 { --tw-gradient-via: rgba(0, 0, 0, 0.4); }
.to-black\/60 { --tw-gradient-to: rgba(0, 0, 0, 0.6); }
.from-black\/40 { --tw-gradient-from: rgba(0, 0, 0, 0.4); }
.via-black\/20 { --tw-gradient-via: rgba(0, 0, 0, 0.2); }
.to-black\/30 { --tw-gradient-to: rgba(0, 0, 0, 0.3); }
.from-blue-600 { --tw-gradient-from: #2563eb; }
.to-blue-800 { --tw-gradient-to: #1e40af; }
.from-blue-500 { --tw-gradient-from: #3b82f6; }
.to-purple-600 { --tw-gradient-to: #9333ea; }
.from-blue-400 { --tw-gradient-from: #60a5fa; }
.to-purple-500 { --tw-gradient-to: #a855f7; }
.opacity-60 { opacity: 0.6; }
.opacity-20 { opacity: 0.2; }
.bg-blue-400\/60 { background-color: rgba(96, 165, 250, 0.6); }
.bg-cyan-400\/60 { background-color: rgba(34, 211, 238, 0.6); }
.bg-blue-300\/60 { background-color: rgba(147, 197, 253, 0.6); }
.top-\[20\%\] { top: 20%; }
.left-\[10\%\] { left: 10%; }
.top-\[60\%\] { top: 60%; }
.right-\[15\%\] { right: 15%; }
.bottom-\[30\%\] { bottom: 30%; }
.left-\[40\%\] { left: 40%; }
.opacity-20 { opacity: 0.2; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.max-h-96 { max-height: 24rem; }
.max-w-xl { max-width: 36rem; }
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(100%); }
.-top-1\/2 { top: -50%; }
.-left-1\/4 { left: -25%; }
.w-\[150\%\] { width: 150%; }
.h-\[200\%\] { height: 200%; }
.from-transparent { --tw-gradient-from: transparent; }
.via-blue-500\/5 { --tw-gradient-via: rgba(59, 130, 246, 0.05); }
.to-transparent { --tw-gradient-to: transparent; }
.rotate-12 { transform: rotate(12deg); }
.-bottom-1\/2 { bottom: -50%; }
.-right-1\/4 { right: -25%; }
.bg-gradient-to-tl { background-image: linear-gradient(to top left, var(--tw-gradient-stops)); }
.via-cyan-500\/5 { --tw-gradient-via: rgba(6, 182, 212, 0.05); }
.-rotate-12 { transform: rotate(-12deg); }
.w-60 { width: 15rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.hover\:bg-blue-50:hover { background-color: rgb(239 246 255); }
.hover\:bg-blue-500:hover { background-color: rgb(59 130 246); }
.hover\:bg-blue-600:hover { background-color: rgb(37 99 235); }
.hover\:bg-blue-700:hover { background-color: rgb(29 78 216); }
.hover\:pl-6:hover { padding-left: 1.5rem; }
.group\/item { position: relative; }
.group\/item:hover .group-hover\/item\:text-blue-800 { color: rgb(30 64 175); }
.top-12 { top: 3rem; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }
.group:hover .group-hover\:visible { visibility: visible; }
.group:hover .group-hover\:invisible { visibility: hidden; }
.translate-y-2 { transform: translateY(0.5rem); }
.group:hover .group-hover\:translate-y-0 { transform: translateY(0); }
.bg-gray-400 { background-color: rgb(156 163 175); }
.bg-gray-500 { background-color: rgb(107 114 128); }
.bg-gray-600 { background-color: rgb(75 85 99); }
.bg-green-500 { background-color: rgb(34 197 94); }
.bg-green-600 { background-color: rgb(22 163 74); }
.bg-green-700 { background-color: rgb(21 128 61); }
.hover\:bg-gray-600:hover { background-color: rgb(75 85 99); }
.hover\:bg-green-600:hover { background-color: rgb(22 163 74); }
.hover\:bg-green-700:hover { background-color: rgb(21 128 61); }
.group:hover .group-hover\:bg-white { background-color: rgb(255 255 255); }
.transition-colors { transition-property: color, background-color, border-color; }
.top-6 { top: 1.5rem; }
.right-6 { right: 1.5rem; }
.min-h-\[3\.5rem\] { min-height: 3.5rem; }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.overflow-x-auto { overflow-x: auto; }
.w-\[150\%\] { width: 150%; }
.max-w-3xl { max-width: 48rem; }
.bg-gray-50 { background-color: rgb(249 250 251); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.from-blue-500 { --tw-gradient-from: #3b82f6; }
.to-blue-700 { --tw-gradient-to: #1d4ed8; }
.from-purple-500 { --tw-gradient-from: #a855f7; }
.from-blue-400 { --tw-gradient-from: #60a5fa; }
.to-cyan-500 { --tw-gradient-to: #06b6d4; }
.from-indigo-500 { --tw-gradient-from: #6366f1; }
.to-indigo-600 { --tw-gradient-to: #4f46e5; }
.text-gray-400 { color: rgb(156 163 175); }
.border-gray-800 { border-color: rgb(31 41 55); }
.pt-8 { padding-top: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* スクロールバーを非表示 */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* スナップスクロール */
.snap-x {
    scroll-snap-type: x mandatory;
}
.snap-mandatory {
    scroll-snap-type: mandatory;
}
.snap-start {
    scroll-snap-align: start;
}

/* フレックスシュリンク */
.flex-shrink-0 {
    flex-shrink: 0;
}

/* 幅設定 */
.w-80 {
    width: 20rem;
}
.w-96 {
    width: 24rem;
}
.w-12 {
    width: 3rem;
}

/* カルーセル関連 */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.text-gray-500 {
    color: rgb(107 114 128);
}
.uppercase {
    text-transform: uppercase;
}
.hover\:bg-blue-700:hover {
    background-color: rgb(29 78 138);
}

/* 背景画像固定 */
.fixed {
    position: fixed;
}

/* ヒーローセクション背景固定 */
.hero-bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('photo1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-bg-fixed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.8) 100%);
}

/* パルスアニメーション */
@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.animate-pulse-scale {
    animation: pulse-scale 1.5s ease-in-out infinite;
}

/* ミッション見出しのレスポンシブ設定 */
#mission-heading {
    font-size: 1.125rem; /* text-lg = 18px（デフォルト/モバイル） */
    line-height: 1.75rem;
}

/* 831px以上でデスクトップサイズ */
@media (min-width: 831px) {
    #mission-heading {
        font-size: 1.875rem; /* text-3xl = 30px */
        line-height: 2.25rem;
    }
}

/* ヒーローセクションのタイトルコンテナを830px以下で広げる */
@media (max-width: 830px) {
    #hero-title {
        max-width: 100% !important;
        font-size: 2rem !important; /* より小さく */
    }
}

/* サービスカードグリッドのレスポンシブ設定 */
@media (max-width: 925px) {
    #services .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 926px) {
    #services .grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Team ページのスタイル */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.text-sky-950 {
    color: rgb(8 47 73);
}

/* モーダルスタイル */
.max-h-\[90vh\] {
    max-height: 90vh;
}

.bg-black\/70 {
    background-color: rgba(0, 0, 0, 0.7);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.md\:w-2\/5 {
    width: 40%;
}

@media (min-width: 768px) {
    .md\:w-2\/5 {
        width: 40%;
    }
    .md\:flex-row {
        flex-direction: row;
    }
    .md\:p-12 {
        padding: 3rem;
    }
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.prose {
    max-width: 65ch;
}

.prose-gray {
    color: rgb(55 65 81);
}

.bg-opacity-30 {
    --tw-bg-opacity: 0.3;
}

.h-48 {
    height: 12rem;
}

.md\:h-64 {
    height: 16rem;
}

@media (min-width: 768px) {
    .md\:h-64 {
        height: 16rem;
    }
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.md\:px-20 {
    padding-left: 5rem;
    padding-right: 5rem;
}

@media (min-width: 768px) {
    .md\:px-20 {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

.p-5 {
    padding: 1.25rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.h-px {
    height: 1px;
}

.from-transparent {
    --tw-gradient-from: transparent;
}

.via-gray-300 {
    --tw-gradient-via: rgb(209 213 219);
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.mx-6 {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.bg-blue-50 {
    background-color: rgb(239 246 255);
}

.text-blue-700 {
    color: rgb(29 78 216);
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    .md\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.pb-12 {
    padding-bottom: 3rem;
}

.md\:pb-16 {
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .md\:pb-16 {
        padding-bottom: 4rem;
    }
}

.md\:p-16 {
    padding: 4rem;
}

@media (min-width: 768px) {
    .md\:p-16 {
        padding: 4rem;
    }
}

/* モーダル追加スタイル */
.h-\[90vh\] {
    height: 90vh;
}

.lg\:h-\[65vh\] {
    height: 65vh;
}

@media (min-width: 1024px) {
    .lg\:h-\[65vh\] {
        height: 65vh;
    }
    .lg\:flex-row {
        flex-direction: row;
    }
    .lg\:w-2\/5 {
        width: 40%;
    }
    .lg\:aspect-\[2\/3\] {
        aspect-ratio: 2 / 3;
    }
    .lg\:mt-12 {
        margin-top: 3rem;
    }
    .lg\:h-\[calc\(65vh-3rem\)\] {
        height: calc(65vh - 3rem);
    }
    .lg\:p-12 {
        padding: 3rem;
    }
    .lg\:overflow-y-auto {
        overflow-y: auto;
    }
    .lg\:overflow-y-visible {
        overflow-y: visible;
    }
}

.max-w-6xl {
    max-width: 72rem;
}

.md\:rounded-3xl {
    border-radius: 1.5rem;
}

@media (min-width: 768px) {
    .md\:rounded-3xl {
        border-radius: 1.5rem;
    }
}

.object-top {
    object-position: top;
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9);
}

.bg-white\/95 {
    background-color: rgba(255, 255, 255, 0.95);
}

.active\:scale-95:active {
    transform: scale(0.95);
}

.mr-4 {
    margin-right: 1rem;
}

.ml-4 {
    margin-left: 1rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-2 {
    padding: 0.5rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.text-gray-700 {
    color: rgb(55 65 81);
}

.bottom-4 {
    bottom: 1rem;
}

.left-1\/2 {
    left: 50%;
}

.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.aspect-\[2\/3\] {
    aspect-ratio: 2 / 3;
}

.max-w-none {
    max-width: none;
}

.mt-2 {
    margin-top: 0.5rem;
}

.-mt-2 {
    margin-top: -0.5rem;
}

.overflow-visible {
    overflow: visible;
}

.md\:w-auto {
    width: auto;
}

@media (min-width: 768px) {
    .md\:w-auto {
        width: auto;
    }
}

.lg\:aspect-auto {
    aspect-ratio: auto;
}

@media (min-width: 1024px) {
    .lg\:aspect-auto {
        aspect-ratio: auto;
    }
    .lg\:h-full {
        height: 100%;
    }
}

.overflow-y-auto {
    overflow-y: auto;
}

.max-w-lg {
    max-width: 32rem;
}

.md\:max-w-none {
    max-width: none;
}

@media (min-width: 768px) {
    .md\:max-w-none {
        max-width: none;
    }
}

.max-h-\[90vh\] {
    max-height: 90vh;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.text-center {
    text-align: center;
}

.justify-center {
    justify-content: center;
}

.md\:w-6 {
    width: 1.5rem;
}

.md\:h-6 {
    height: 1.5rem;
}

@media (min-width: 768px) {
    .md\:w-6 {
        width: 1.5rem;
    }
    .md\:h-6 {
        height: 1.5rem;
    }
    .md\:text-gray-800 {
        color: rgb(31 41 55);
    }
}

.top-3 {
    top: 0.75rem;
}

.right-3 {
    right: 0.75rem;
}

.z-30 {
    z-index: 30;
}

/* Companyページ追加スタイル */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.col-span-1 {
    grid-column: span 1 / span 1;
}

.md\:col-span-2 {
    grid-column: span 2 / span 2;
}

@media (min-width: 768px) {
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.border-neutral-200 {
    border-color: rgb(229 229 229);
}

.bg-neutral-100 {
    background-color: rgb(245 245 245);
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.md\:py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .md\:py-5 {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
}

.border-b {
    border-bottom-width: 1px;
}

.md\:gap-20 {
    gap: 5rem;
}

@media (min-width: 768px) {
    .md\:gap-20 {
        gap: 5rem;
    }
}

.gap-10 {
    gap: 2.5rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.5rem;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.md\:aspect-video {
    aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
    .md\:aspect-video {
        aspect-ratio: 16 / 9;
    }
}

.pt-20 {
    padding-top: 5rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pt-8 {
    padding-top: 2rem;
}

.border-gray-700 {
    border-color: rgb(55 65 81);
}

.pt-6 {
    padding-top: 1.5rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.md\:gap-6 {
    gap: 1.5rem;
}

.md\:gap-8 {
    gap: 2rem;
}

@media (min-width: 768px) {
    .md\:gap-3 {
        gap: 0.75rem;
    }
    .md\:gap-4 {
        gap: 1rem;
    }
    .md\:gap-6 {
        gap: 1.5rem;
    }
    .md\:gap-8 {
        gap: 2rem;
    }
}

.gap-8 {
    gap: 2rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.md\:mb-16 {
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .md\:mb-16 {
        margin-bottom: 4rem;
    }
}

/* Admin Styles */

/* Admin Login Page */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    padding: var(--space-xl);
}

.admin-login-box {
    background: white;
    padding: var(--space-4xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.admin-logo {
    margin-bottom: var(--space-xl);
}

.admin-login-box h1 {
    color: var(--primary-700);
    margin-bottom: var(--space-md);
    font-size: 2rem;
}

.login-subtitle {
    color: var(--gray-600);
    margin-bottom: var(--space-3xl);
    font-size: 1rem;
}

.admin-login-form {
    text-align: left;
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-group label {
    display: block;
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-lg);
    border: 2px solid var(--gray-400);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: white;
    box-shadow: 0 0 0 3px var(--primary-100);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    border: 1px solid #fcc;
}

.admin-login-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-site {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.back-to-site a {
    color: var(--primary-600);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.back-to-site a:hover {
    color: var(--primary-700);
}

/* Admin Upload Page */
.admin-header {
    background: white;
    border-bottom: 2px solid var(--primary-600);
    box-shadow: var(--shadow-md);
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.admin-user {
    color: var(--gray-700);
    font-size: 0.95rem;
}

.admin-user strong {
    color: var(--primary-600);
}

.logout-btn {
    background: var(--gray-200);
    color: var(--gray-700);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.logout-btn:hover {
    background: var(--gray-300);
}

.admin-main {
    padding: var(--space-4xl) 0;
    background: white;
    min-height: calc(100vh - 200px);
}

.admin-page-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.admin-page-header h1 {
    color: var(--primary-700);
    margin-bottom: var(--space-md);
    font-size: 2.5rem;
}

.admin-page-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Upload Section */
.upload-section,
.files-list-section,
.guide-section {
    background: white;
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-3xl);
    border: 1px solid var(--gray-200);
}

.upload-section h2,
.files-list-section h2,
.guide-section h2 {
    color: var(--primary-700);
    margin-bottom: var(--space-2xl);
    font-size: 1.8rem;
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--primary-100);
}

.upload-form {
    max-width: 800px;
}

.form-row {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.file-input-wrapper {
    margin-top: var(--space-sm);
}

.file-input-info {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--gray-600);
}

.file-input-info p {
    margin: var(--space-xs) 0;
}

.form-actions {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.btn-primary,
.btn-secondary {
    padding: var(--space-lg) var(--space-3xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.upload-status {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 500;
}

.upload-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.upload-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.upload-status.loading {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Files Table */
.files-table-wrapper {
    overflow-x: auto;
}

.files-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-lg);
}

.files-table thead {
    background: var(--gray-100);
}

.files-table th,
.files-table td {
    padding: var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.files-table th {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.files-table td {
    color: var(--gray-600);
}

.files-table tbody tr:hover {
    background: white;
}

.no-files {
    text-align: center !important;
    color: var(--gray-400) !important;
    padding: var(--space-3xl) !important;
    font-style: italic;
}

.file-type-badge {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-delete {
    background: #dc3545;
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-delete:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Guide Section */
.guide-content {
    margin-top: var(--space-xl);
}

.guide-step {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-500);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    color: var(--primary-700);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

.guide-note {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--radius-lg);
}

.guide-note h4 {
    color: #856404;
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.guide-note ul {
    list-style: none;
    padding-left: 0;
}

.guide-note li {
    color: #856404;
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.guide-note li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Admin Footer */
.admin-footer {
    background: var(--gray-800);
    color: white;
    text-align: center;
    padding: var(--space-xl) 0;
}

.admin-footer p {
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .admin-nav {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-end;
    }

    .form-row {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .files-table {
        font-size: 0.85rem;
    }

    .files-table th,
    .files-table td {
        padding: var(--space-sm);
    }

    .guide-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}
/* Safari mobile menu button fix */
nav.block.md\:hidden button {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    position: relative;
    z-index: 9999;
}

nav.block.md\:hidden button:active {
    opacity: 0.7;
}

/* AI課題と解決策セクション用 */
.border-l-4 { border-left-width: 4px; }
.border-red-500 { border-color: #ef4444; }
.border-green-500 { border-color: #22c55e; }
.bg-red-100 { background-color: #fee2e2; }
.bg-green-100 { background-color: #dcfce7; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.items-stretch { align-items: stretch; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Services セクション用 */
.bg-red-50 { background-color: #fef2f2; }
.space-y-3 > * + * { margin-top: 0.75rem; }

/* スマホ用グリッド強制1列（768px未満） */
@media (max-width: 767px) {
    .grid.grid-cols-1,
    .grid.md\:grid-cols-2,
    .grid.md\:grid-cols-3,
    .grid.lg\:grid-cols-3,
    .grid.lg\:grid-cols-4 {
        grid-template-columns: 1fr !important;
    }
}

/* タブレット用グリッド（768px以上1024px未満） */
@media (min-width: 768px) and (max-width: 1023px) {
    .grid.md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .grid.md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* PC用グリッド（1024px以上） */
@media (min-width: 1024px) {
    .grid.lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .grid.lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* Newsフィルターボタンのスマホ対応 */
@media (max-width: 767px) {
    .category-filter {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        font-size: 0.65rem !important;
    }
}

/* Company Profile表のスマホ対応 - 左右の余白を完全に削除 */
@media (max-width: 767px) {
    /* Profile セクションの白いテーブルを画面幅いっぱいに */
    .bg-neutral-100 .bg-white.shadow-sm {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
    }

    /* px-2 を上書きしてさらに狭く */
    .bg-neutral-100 .px-2 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}
