/* ベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@800&display=swap');

body {
    font-family: 'Helvetica', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ボタンのスタイル */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 400;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-primary {
    background-color: #283566;
    color: white;
    border: 1px solid #283566;
    line-height: 1.2;
}

.btn-primary:hover {
    background-color: #1a2348;
    border-color: #1a2348;
}

.btn-outline {
    background-color: white;
    color: #283566;
    border: 1px solid #283566;
}

.btn-outline:hover {
    background-color: #f5f5f5;
}

/* 背景カラー設定 */
.light-bg {
    background-color: #F3F4F6;
}

.dark-bg {
    background-color: #000000;
    color: white;
}

/* ヘッダー */
.header {
   position: fixed;
    top: 20;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0 auto;
    background-color: white;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    max-width: 1200px;
    padding: 10px 0px;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 40px);
}

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

.logo h1 a {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 38px;
    color: #000000;
    text-transform: none; /* 大文字変換を無効化 */
    letter-spacing: -1px; /* 文字間隔を少し詰める */
    text-decoration: none;
    line-height: 1;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.main-nav ul li a:hover {
    color: #283566;
}

.header-buttons {
    display: flex;
}

.header-buttons .btn {
    margin-left: 10px;
    font-size: 13px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    white-space: nowrap;
    text-align: center;
    padding: 0 10px;
}

/* ハンバーガーメニュー用スタイル */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    margin-left: auto;
}

/* メニューが開いた時のスタイル */
.main-nav.active {
    display: block;
}

/* ヒーローセクション */
.hero {
    padding: 180px 0 60px 0;
    text-align: center;
    background-color: white;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #000;
    font-weight: 400;
    text-align: center;
}

.hero p {
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons .btn {
    font-size: 14px;
    padding: 10px 12px;
    width: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

/* AIイメージセクション */

.ai-image-section {
    padding: 0;
}

.full-width-image {
    width: 100%;
    object-fit: cover;
    height: auto;
    border-radius: 5px;
}

.img-with-margin {
    margin-bottom: 60px;
}

/* ミッションセクション */
.mission-section {
    padding: 60px 0;
}

.mission-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #000;
    font-weight: 700;
}

.mission-section > .container > p {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.5;
}

.mission-columns {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.mission-column {
    flex: 1;
}

.mission-column h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 700;
}

.mission-column p {
    font-size: 14px;
    line-height: 1.5;
}

/* AI法務アシスタントセクション */
.legal-assistant-section {
    padding: 60px 0;
    background-color: #000;
    color: white;
}

/*.legal-assistant-section　.section-columns {
    display: flex;
    align-items: center;
    gap: 0;
}

.legal-assistant-section .section-content {
    flex: 0 0 50%; 
    padding: 20px;
}

.legal-assistant-section .section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5;
}*/

.section-columns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-columns.reverse {
    flex-direction: row-reverse;
}

.section-content {
    flex: 1;
}

.section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 1;
    display: flex;
    justify-content: center;
}

.section-img {
    border-radius: 5px;
    max-width: 100%;
    height: auto;
}

.section-content h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-content p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.stat-container {
    margin-top: 30px;
}

.stat {
    margin-bottom: 20px;
}

.stat h3 {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: 700;
}

.stat p {
    font-size: 14px;
    margin-bottom: 0;
}

/* 財務セクション */
.finance-section {
    padding: 60px 0;
    background-color: #fff;
}

.benefit-list {
    margin-top: 30px;
}

.benefit {
    margin-bottom: 15px;
}

.benefit h4 {
    display: inline;
    font-size: 16px;
    font-weight: 700;
}

.benefit p {
    display: inline;
    font-size: 14px;
}

/* ウェブデザインセクション */
.web-design-section {
    padding: 60px 0;
    background-color: #262626;
}

/* CTAセクション */
.cta-section {
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
    font-weight: 700;
}

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

.cta-btn {
    padding: 10px 25px;
    font-size: 15px;
    min-width: 150px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* フッター */
.footer {
    padding: 40px 0;
    background-color: #F3F4F6;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 30px;
}

.footer-links ul li {
    margin: 0 20px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-links ul li a:hover {
    color: #283566;
}

.footer-info {
    text-align: center;
    color: #000;
    border-top: 1px solid #000;
    padding-top: 30px;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-legal {
    margin-top: 10px;
}

.footer-legal a {
    color: #000;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {

    /* ハンバーガーメニューを表示 */
    .menu-toggle {
        display: block;
    }
    
    /* ナビゲーションメニューを非表示にする */
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        border: 1px solid #D9D9D9;
        border-radius: 0 0 5px 5px;
        z-index: 1000;
    }
    
    /* ヘッダーコンテナを横並びに保つ */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
    }
    
    /* ヘッダーボタンを非表示に */
    .header-buttons {
        display: none;
    }

    .section-columns {
        flex-direction: column;
    }
    
    .section-columns.reverse {
        flex-direction: column;
    }
    
    .mission-columns {
        flex-direction: column;
    }

    .header {
        width: calc(100% - 30px); /* タブレット用に少し余白を調整 */
    }
}

@media (max-width: 768px) {

    .header {
        width: calc(100% - 20px); /* スマホ用にさらに余白を調整 */
    }

    /* ロゴとハンバーガーメニューを横並びに保つ */
    .header-container {
        flex-direction: row;
        text-align: left;
        padding: 0 15px;
    }
    /* ナビゲーションスタイル調整 */
    .main-nav ul {
        margin: 10px 0;
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        padding: 10px 0;
        display: block;
        width: 100%;
    }
    
    .header-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .header-buttons .btn {
        margin: 5px 0;
    }

    .logo h1 a {
        font-size: 28px;
        white-space: nowrap;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p, .mission-section p, .section-content p {
        font-size: 14px;
    }
    
    .mission-column h3, .section-content h2 {
        font-size: 18px;
    }
    
    .cta-section h2 {
        font-size: 20px;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 250px;
        font-size: 14px;
    }
    
    .footer-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links ul li {
        margin: 10px 0;
    }
    
    .footer-legal {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-legal a {
        margin: 5px 0;
    }
}