@charset "UTF-8";

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --primary-color: #1E3A8A; /* ディープネイビー：信頼、専門性 */
    --accent-color: #EA580C; /* ダークオレンジ：行動、エネルギー */
    --accent-hover: #C2410C;
    --text-main: #334155; /* スレート：読みやすい黒 */
    --text-light: #64748B;
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --container-width: 1080px;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.sp-only {
    display: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #FFFFFF;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
    border-radius: 8px;
}

.btn-shadow {
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo a {
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
}

.logo-company {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.logo-service {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-cta-mobile {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 160px 0 100px;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 40px;
    line-height: 1.8;
}

.micro-copy {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* ==========================================================================
   Page Headers (Subpages)
   ========================================================================== */
.page-header {
    padding: 160px 0 60px;
    background-color: var(--bg-light);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.page-desc {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-main);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-label .required {
    color: #E11D48;
    font-size: 0.8rem;
    margin-left: 8px;
    background: rgba(225, 29, 72, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.form-label .optional {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-left: 8px;
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: normal;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-main);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.privacy-consent {
    margin: 40px 0 32px;
    text-align: center;
    padding: 24px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.privacy-consent label {
    font-weight: 700;
    cursor: pointer;
}

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

/* ==========================================================================
   Privacy Policy Text Area
   ========================================================================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin: 32px 0 16px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 8px;
}

.legal-content p, .legal-content ul {
    margin-bottom: 16px;
    color: var(--text-main);
}

.legal-content ul {
    padding-left: 24px;
    list-style-type: disc;
}

/* ==========================================================================
   Grid & Cards (Use Cases & Services)
   ========================================================================== */
.check-list-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-main);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.check-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.check-list li:last-child {
    margin-bottom: 0;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #FFFFFF;
    background-color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    position: relative;
}

.card-number {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    opacity: 0.5;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.note {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Services */
.service-card {
    background: var(--bg-main);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.service-step {
    display: inline-block;
    background: var(--primary-color);
    color: #FFF;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 16px;
    align-self: flex-start;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.service-title small {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
}

.service-desc {
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-price {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
}

.service-price strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.table-responsive {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-main);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-radius: 12px;
    overflow: hidden;
}

.compare-table th, .compare-table td {
    padding: 20px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.compare-table th {
    background: var(--bg-light);
    font-weight: 700;
}

.compare-table .highlight {
    background-color: rgba(30, 58, 138, 0.03);
    color: var(--primary-color);
    font-weight: 700;
}

/* ==========================================================================
   Profile & FAQ
   ========================================================================== */
.profile-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-main);
    padding: 40px;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.profile-name {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.profile-name span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: normal;
    margin-left: 12px;
}

.profile-text p {
    margin-bottom: 16px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-main);
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    list-style: none; /* Hide default triangle */
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
}

details[open] .faq-question::after {
    content: "-";
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================================================
   CTA & Philosophy & Footer
   ========================================================================== */
.cta-section {
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 100px 0;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cta-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.philosophy {
    padding: 100px 0;
}

.philosophy-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.philosophy-text p {
    margin-bottom: 24px;
    color: var(--text-light);
}

.footer {
    background-color: #0F172A; /* より深いネイビー */
    color: #F8FAFC;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.footer-links a {
    color: #CBD5E1;
    display: block;
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-ai-statement {
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    margin-bottom: 24px;
    color: #94A3B8;
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    color: #64748B;
}

/* ==========================================================================
   Media Queries (Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .sp-only {
        display: block;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    /* Header & Nav */
    .header-cta {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #FFFFFF;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 24px;
    }

    .nav-cta-mobile {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Grids & Forms */
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .check-list-wrapper, .profile-box, .form-container {
        padding: 24px;
    }

    .radio-group, .checkbox-group {
        flex-direction: column;
        gap: 12px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}