/* =============================================
   リセット・基本設定
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* =============================================
   コンテナ
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   ヘッダー
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 2px;
    font-family: 'Noto Sans JP', sans-serif;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    color: #333;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* =============================================
   ヒーローセクション
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    animation: wave 15s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 900px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   ボタン
   ============================================= */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
    font-weight: 700;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-large {
    padding: 20px 50px;
    font-size: 18px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #1a1a1a;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}

.btn-submit:hover {
    background-color: #1d4ed8;
}

/* =============================================
   セクション共通
   ============================================= */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #2563eb;
    margin-bottom: 15px;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* =============================================
   ABOUTセクション
   ============================================= */
.about {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d4af37" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d4af37" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d4af37" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23d4af37" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
    color: #475569;
}

.about-text strong {
    color: #2563eb;
    font-weight: 700;
}

/* =============================================
   サービスコンセプト
   ============================================= */
.service-concept {
    background-color: white;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.concept-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.concept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.concept-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 50%;
    color: #1a1a1a;
    font-size: 36px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.concept-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.concept-card p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

/* =============================================
   3つのエンジン
   ============================================= */
.engines {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.engines .section-label {
    color: white;
}

.engines .section-title {
    color: white;
}

.engines .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.engines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.engine-card {
    position: relative;
    background-color: white;
    border-radius: 20px;
    padding: 50px 35px;
    color: #333;
    transition: all 0.3s ease;
    overflow: hidden;
}

.engine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 100%);
}

.engine-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.engine-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(102, 126, 234, 0.1);
}

.engine-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 15px;
    color: #1a1a1a;
    font-size: 32px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.engine-title {
    font-size: 26px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 10px;
}

.engine-title span {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #64748b;
    margin-top: 5px;
}

.engine-purpose {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.engine-description {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 25px;
}

.engine-target {
    background-color: #fef3c7;
    padding: 20px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #92400e;
}

.engine-target strong {
    color: #78350f;
}

/* =============================================
   契約モデル
   ============================================= */
.contract-model {
    background-color: #f8fafc;
}

.contract-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.contract-card {
    background-color: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contract-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contract-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.contract-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 25px;
}

.contract-list {
    list-style: none;
}

.contract-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
}

.contract-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 900;
    font-size: 20px;
}

.contract-list strong {
    color: #1e293b;
}

/* =============================================
   提供価値
   ============================================= */
.value-proposition {
    background-color: white;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.value-card {
    position: relative;
    padding: 50px 40px;
    background-color: #f8fafc;
    border-radius: 20px;
    border-left: 5px solid #2563eb;
    transition: all 0.3s ease;
}

.value-card:hover {
    background-color: #f1f5f9;
    transform: translateX(5px);
}

.value-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.08);
}

.value-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    position: relative;
}

.value-card p {
    font-size: 16px;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 15px;
}

.value-card strong {
    color: #2563eb;
    font-weight: 700;
}

/* =============================================
   ユースケースセクション
   ============================================= */
.use-cases {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.use-cases .section-label {
    color: #2563eb;
}

.use-cases .section-title {
    color: #1e293b;
}

.use-cases .section-subtitle {
    color: #64748b;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.use-case-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.use-case-header {
    text-align: center;
    margin-bottom: 30px;
}

.use-case-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.use-case-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.use-case-metrics {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.metric-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.metric-row.highlight {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #1a1a1a;
    padding: 12px 15px;
    border-radius: 10px;
    font-weight: 600;
}

.metric-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.metric-value {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.metric-row.highlight .metric-label,
.metric-row.highlight .metric-value {
    color: #1a1a1a;
}

.use-case-calculation {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.use-case-calculation p {
    margin: 5px 0;
    font-size: 14px;
    color: #065f46;
}

.use-case-calculation strong {
    color: #047857;
}

.use-case-description {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

/* =============================================
   CTAセクション
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-section .btn {
    background-color: white;
    color: #1e3a8a;
}

.cta-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* =============================================
   コンタクト
   ============================================= */
.contact {
    background-color: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: #2563eb;
    width: 30px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
}

.contact-form {
    background-color: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* =============================================
   フッター
   ============================================= */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   認定・実績セクション
   ============================================= */
.credentials {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.credentials .section-label {
    color: #2563eb;
}

.credentials .section-title {
    color: white;
}

.credentials .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.credential-card {
    text-align: center;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.credential-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.credential-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 50%;
    color: #1a1a1a;
    font-size: 36px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.credential-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.credential-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .engines-grid,
    .contract-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .concept-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .btn-large {
        padding: 16px 35px;
        font-size: 16px;
    }

    .contact-form {
        padding: 30px 25px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 16px;
    }
}

/* =============================================
   アニメーション
   ============================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

/* スクロールアニメーション用 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}