:root {
    --brand: #c9a961;
    --brand-2: #b8860b;
    --accent: #daa520;
    --gold-light: #e5c07a;
    --bg: #000000;
    --bg-subtle: #1a1a1a;
    --bg-card: #0f0f0f;
    --text: #ffffff;
    --muted: #aaaaaa;
    --radius: 16px;
    --section-padding: clamp(48px, 7vw, 96px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", system-ui, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    padding-bottom: 90px; /* 固定CTAボタンのスペース */
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@font-face {
    font-family: 'Switzer';
    src: local('Switzer'), 
         local('Switzer Placeholder'),
         url('fonts/Switzer-Regular.woff2') format('woff2'),
         url('fonts/Switzer-Regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

.logo {
    font-family: 'Switzer', 'Switzer Placeholder', sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 36px;
    color: rgb(255, 255, 255);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--brand);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg);
    z-index: 999;
    padding: 5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu a {
    font-size: 1.2rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

/* Hero */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: var(--section-padding) 2rem;
    background-image: url('/assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* 背景画像のフォールバック用（画像がない場合のグラデーション） */
@supports not (background-image: url('/assets/hero.jpg')) {
    .hero {
        background: linear-gradient(135deg, var(--bg) 0%, var(--bg-subtle) 100%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2rem;
}


.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand);
    color: var(--bg);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.4);
    text-shadow: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
}

.btn-secondary:hover {
    background-color: var(--brand);
    color: var(--bg);
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3);
}

/* Section */
section {
    padding: var(--section-padding) 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text);
}

section .subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Features */
.features {
    background-color: var(--bg-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-color: var(--brand);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--bg);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Results */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-color: var(--brand);
}

.result-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.result-content {
    padding: 1.5rem;
}

.result-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.result-card .industry {
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.metrics {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand);
    display: block;
}

.metric-label {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Pricing */
.pricing {
    background-color: var(--bg-subtle);
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.comparison-table th {
    background-color: var(--brand);
    color: var(--bg);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check {
    color: #22c55e;
    font-weight: 600;
}

.cross {
    color: #ef4444;
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* Flow */
.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
}

.flow-step::after {
    content: '→';
    position: absolute;
    right: -1rem;
    top: 30px;
    font-size: 2rem;
    color: var(--brand);
}

.flow-step:last-child::after {
    display: none;
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--bg);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3);
}

.flow-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.flow-step p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    background-color: var(--bg-subtle);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}

.faq-question:hover {
    background-color: var(--bg-subtle);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--brand);
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted);
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group label .required {
    color: #ef4444;
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: var(--bg-subtle);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 10px rgba(201, 169, 97, 0.3);
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.active {
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.contact-info {
    background: var(--bg-subtle);
    padding: 2rem;
    border-radius: var(--radius);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.5rem;
}

.phone-hours {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 2px solid var(--brand);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.modal-content p {
    color: var(--muted);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--bg-subtle);
    color: var(--text);
    padding: 3rem 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-container p {
    margin-bottom: 0.5rem;
    color: var(--muted);
}

.footer-container a {
    color: var(--muted);
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-container a:hover {
    color: var(--brand);
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.fixed-cta-button {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    text-align: center;
    text-decoration: none;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(201, 169, 97, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(201, 169, 97, 0.6);
    }
}

@media (max-width: 768px) {
    .fixed-cta {
        padding: 0.75rem;
    }
    
    .fixed-cta-button {
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: 500px;
        padding: clamp(32px, 5vw, 64px) 1rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .flow-steps {
        flex-direction: column;
    }
    
    .flow-step::after {
        content: '↓';
        right: auto;
        bottom: -1rem;
        top: auto;
    }
    
    .flow-step:last-child::after {
        display: none;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem;
    }
    
    section {
        padding: clamp(32px, 5vw, 64px) 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}
