/* Base Styles */
body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px; /* 横スクロール用 */
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Hide scrollbar utility */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Text Effects */
.text-outline {
    -webkit-text-stroke: 1px #CEE734;
    color: transparent;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(206, 231, 52, 0.3), 0 0 40px rgba(206, 231, 52, 0.2); }
    50% { box-shadow: 0 0 30px rgba(206, 231, 52, 0.5), 0 0 60px rgba(206, 231, 52, 0.3); }
}
.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Floating Button Animation */
.floating-btn {
    box-shadow: 0 4px 20px rgba(206, 231, 52, 0.4); /* 黄色のシャドウに変更 */
    transition: all 0.3s ease;
}
.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(206, 231, 52, 0.6);
}

/* Hero Section H1 Line Spacing */
.hero-title {
    line-height: 1.2;
}

/* ============================================
   COMPONENT CLASSES
   ============================================ */

/* Header Component */
.header {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo-icon {
    background-color: black;
    color: white;
    padding: 0.5rem;
    border-radius: 0.125rem;
    transition: transform 0.3s ease;
}

.header-logo:hover .header-logo-icon {
    transform: scale(1.1);
}

.header-nav {
    display: none;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.header-nav-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
    transition: color 0.3s ease;
}

.header-nav-link:hover {
    color: #CEE734;
}

.header-nav-link.active {
    color: #CEE734;
}

/* Section Heading Component */
.section-heading {
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-heading-title {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #111827;
}

@media (min-width: 768px) {
    .section-heading-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-heading-title {
        font-size: 3.75rem;
    }
}

.section-heading-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: #6b7280;
    display: none;
}

@media (min-width: 768px) {
    .section-heading-label {
        display: block;
    }
}

/* Button Components */
.btn {
    display: inline-block;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: #CEE734;
    color: black;
    padding: 1rem 2rem;
    border-radius: 0;
}

.btn-primary:hover {
    background-color: #aacc28;
}

.btn-primary-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary-icon i {
    transition: transform 0.3s ease;
}

.btn-primary-icon:hover i {
    transform: translate(4px, 4px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #111827;
    padding: 1rem 2rem;
    border-radius: 0;
}

.btn-secondary:hover {
    background-color: black;
    color: white;
}

.btn-secondary-light {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0;
}

.btn-secondary-light:hover {
    background-color: white;
    color: black;
}

.btn-floating {
    background-color: #CEE734;
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(206, 231, 52, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .btn-floating {
        font-size: 1rem;
    }
}

.btn-floating:hover {
    background-color: #aacc28;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(206, 231, 52, 0.6);
}

.btn-icon {
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    transition: all 0.3s ease;
    background-color: transparent;
    cursor: pointer;
}

.btn-icon:hover {
    background-color: black;
    color: white;
}

.btn-icon-circle {
    background-color: #CEE734;
    color: black;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon-circle:hover {
    background-color: #aacc28;
    transform: scale(1.05);
}

.btn-icon-circle:active {
    transform: scale(0.95);
}

/* Card Components */
.card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-case {
    cursor: pointer;
}

.card-case-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    background-color: white;
}

.card-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
}

.card-case:hover .card-case-image img {
    transform: scale(1.05);
}

.card-case-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: black;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 0.05em;
}

.card-case-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #CEE734;
    margin-bottom: 0.75rem;
    display: block;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card-case-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.25;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .card-case-title {
        font-size: 1.875rem;
    }
}

.card-case:hover .card-case-title {
    color: #CEE734;
}

.card-case-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.625;
}

.card-feature {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 0.75rem;
    background-color: white;
    position: relative;
    aspect-ratio: 4 / 3;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
}

.card-feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-feature:hover .card-feature-image {
    transform: scale(1.05);
}

.card-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.card-feature-number {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.card-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-feature-description {
    color: #6b7280;
    line-height: 1.625;
    font-size: 0.875rem;
}

.card-service {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.card-service:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-service-header {
    background-color: #0f172a;
    color: white;
    padding: 1rem;
    text-align: center;
}

.card-service-number {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #CEE734;
    color: black;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.card-service-title {
    font-weight: 700;
}

.card-service-body {
    padding: 1.5rem;
    flex: 1;
}

.card-service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.card-service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.card-service-item-icon {
    width: 1rem;
    height: 1rem;
    color: #CEE734;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Form Components */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-label-light {
    color: #111827;
}

.form-input {
    width: 100%;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    color: #0f172a;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #CEE734;
    box-shadow: 0 0 0 1px #CEE734;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-textarea {
    width: 100%;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    color: #0f172a;
    height: 8rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #CEE734;
    box-shadow: 0 0 0 1px #CEE734;
}

.form-textarea::placeholder {
    color: #9ca3af;
}

.form-submit {
    background-color: #CEE734;
    color: black;
    padding: 1rem 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-submit:hover {
    background-color: white;
    color: black;
}

/* Badge & Tag Components */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 0.05em;
}

.badge-case {
    background-color: black;
    color: white;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #CEE734;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Roboto Mono', monospace;
}

.badge-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.625rem;
    color: #9ca3af;
}

.badge-status-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: #10b981;
    border-radius: 9999px;
}

/* Tab Navigation Component */
.tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2rem;
    background-color: #e5e7eb;
    color: #9ca3af;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
}

@media (min-width: 768px) {
    .tab-btn {
        flex: none;
    }
}

.tab-btn:hover {
    background-color: white;
    color: black;
}

.tab-btn[aria-selected="true"] {
    background-color: white;
    color: black;
    border-bottom-color: #CEE734;
}

/* List Component */
.list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #4b5563;
}

.list-item-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #CEE734;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Container Component */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Section Component */
.section {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.section-gray {
    background-color: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

.section-gray-dark {
    background-color: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.section-dark {
    background-color: black;
    color: white;
}

/* Typography Components */
.heading-1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .heading-1 {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .heading-1 {
        font-size: 5rem;
    }
}

.heading-2 {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .heading-2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .heading-2 {
        font-size: 3.75rem;
    }
}

.heading-3 {
    font-size: 1.875rem;
    font-weight: 700;
}

.heading-4 {
    font-size: 1.25rem;
    font-weight: 700;
}

.text-large {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.625;
}

.text-base {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.625;
}

.text-small {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.625;
}

.text-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #CEE734;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.text-mono {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: #6b7280;
}
