/* ========================================
   オーアーク株式会社 コーポレートサイト
   日本式ビジネスサイトスタイル
======================================== */

/* リセット & ベース */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

a {
    color: #1a5490;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2d7dd2;
    text-decoration: underline;
}

/* コンテナ */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    background: #1a5490;
    color: #fff;
    padding: 15px 0;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.logo-en {
    font-size: 12px;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

.header-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item .label {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.contact-item .value {
    font-size: 14px;
}

/* ========================================
   ナビゲーション
======================================== */
.nav {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.nav-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.nav-list li {
    border-right: 1px solid #ddd;
}

.nav-list li:first-child {
    border-left: 1px solid #ddd;
}

.nav-list a {
    display: block;
    padding: 12px 25px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.nav-list a:hover {
    background: #e8e8e8;
    text-decoration: none;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.85) 0%, rgba(45, 125, 210, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-catch {
    font-size: 14px;
    letter-spacing: 0.2em;
    opacity: 0.9;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-desc {
    font-size: 15px;
    line-height: 2;
    opacity: 0.95;
}

/* ========================================
   セクション共通
======================================== */
.section {
    padding: 60px 0;
}

.section-gray {
    background: #f8f9fa;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a5490;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1a5490;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #2d7dd2;
}

/* ========================================
   事業内容
======================================== */
.business-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.business-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 25px;
    transition: box-shadow 0.3s ease;
}

.business-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.business-item h3 {
    font-size: 18px;
    color: #1a5490;
    margin-bottom: 12px;
    padding-left: 15px;
    border-left: 4px solid #1a5490;
}

.business-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* ========================================
   開発実績
======================================== */
.works-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.works-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.works-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.works-category {
    display: inline-block;
    background: #1a5490;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 15px;
    margin-bottom: 12px;
}

.works-item h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.works-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.works-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.works-tech span {
    background: #f0f4f8;
    color: #1a5490;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid #d0dae4;
}

/* ========================================
   自社プロダクト
======================================== */
.product-card {
    background: #fff;
    border: 2px solid #1a5490;
    border-radius: 8px;
    padding: 35px;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.product-name {
    font-size: 26px;
    color: #1a5490;
}

.product-badge {
    background: #1a5490;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

.product-catch {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.product-features {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.product-features h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    font-size: 14px;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px dotted #ddd;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a5490;
    font-weight: bold;
}

.product-cta {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1a5490;
    color: #fff;
}

.btn-primary:hover {
    background: #2d7dd2;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26,84,144,0.3);
}

/* ========================================
   会社概要テーブル
======================================== */
.company-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.company-table th,
.company-table td {
    padding: 18px 20px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    background: #f5f7fa;
    font-weight: bold;
    width: 150px;
    color: #333;
    font-size: 14px;
}

.company-table td {
    font-size: 14px;
    line-height: 1.8;
}

/* ========================================
   お問い合わせ
======================================== */
.contact-info {
    text-align: center;
}

.contact-lead {
    font-size: 16px;
    margin-bottom: 30px;
    color: #555;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-method {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.contact-method h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.contact-value {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-value a {
    color: #1a5490;
}

.contact-note {
    font-size: 12px;
    color: #888;
}

/* ========================================
   フッター
======================================== */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 20px 30px;
    text-align: center;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.footer-address {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

.copyright {
    font-size: 12px;
    opacity: 0.6;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-contact {
        justify-content: center;
    }

    .nav-list {
        justify-content: center;
    }

    .nav-list li {
        border: none;
        border-bottom: 1px solid #ddd;
    }

    .nav-list li:first-child {
        border-left: none;
    }

    .nav-list a {
        padding: 10px 15px;
        font-size: 13px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .company-table th {
        width: 100px;
        font-size: 13px;
    }

    .company-table td {
        font-size: 13px;
    }

    .product-card {
        padding: 25px 20px;
    }

    .product-name {
        font-size: 22px;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .contact-item .value {
        font-size: 13px;
    }

    .hero-title {
        font-size: 20px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .company-table td {
        padding-top: 5px;
        padding-bottom: 15px;
    }
}
