/* 基本設定 */
:root {
    --logo-blue: #10b6fe;
    --logo-gray: #7f7f7f;
    --dark-blue: #003366;
    --accent-yellow: #e6b422;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.bg-light { background: #f8f9fa; }
.bg-dark { background: var(--dark-blue); padding: 80px 0; }
.text-white { color: #fff; }
.text-light { color: #ddd; }

/* ヘッダー */
header {
    background: #fff;
    border-bottom: 3px solid var(--logo-blue);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 18px;
    color: var(--dark-blue);
    line-height: 1.2;
}

.logo-text span {
    font-size: 9px;
    color: var(--logo-gray);
    letter-spacing: 1px;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li { margin-left: 20px; }

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover { color: var(--logo-blue); }

.btn-contact {
    background: var(--logo-blue);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
}

/* メインビジュアル（横幅自動縮小・レスポンシブ対応） */
.hero {
    width: 100%;
    min-height: 400px;
    height: auto;
    aspect-ratio: 16 / 9;
    background: linear-gradient(rgba(0,51,102,0.2), rgba(0,51,102,0.4)), url('thankstec1.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-yellow);
    padding: 5px 15px;
    font-weight: bold;
    font-size: 13px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
}

.btn-main {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 40px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.4s;
}

.btn-main:hover { background: #fff; color: var(--dark-blue); }

/* セクションタイトル */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.section-sub-title {
    text-align: center;
    margin-bottom: 40px;
    color: #888;
}

/* 事業内容 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 36px;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

/* 強み */
.strength-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.strength-content { flex: 1; }
.strength-item h4 { color: var(--accent-yellow); margin-bottom: 5px; }
.strength-image-box { flex: 1; border-radius: 8px; overflow: hidden; }

/* 会社概要テーブル */
.company-table { max-width: 800px; margin: 0 auto; }
table { width: 100%; border-top: 2px solid var(--dark-blue); border-collapse: collapse; }
th, td { padding: 20px; border-bottom: 1px solid #ddd; }
th { width: 30%; background: #f4f7f9; color: var(--dark-blue); text-align: left; }

/* お問い合わせ */
.contact-wrapper { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-phone-box {
    background: #f0f7ff;
    padding: 35px;
    border-radius: 10px;
    border: 2px solid var(--logo-blue);
    margin-bottom: 30px;
}
.phone-number {
    font-size: 40px;
    font-weight: 900;
    color: #333;
    text-decoration: none;
}
.btn-email {
    display: inline-block;
    background: var(--logo-blue);
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
}

/* フッター */
footer { background: #001a33; color: #fff; padding: 40px 0; text-align: center; }
.copyright { margin-top: 20px; font-size: 12px; opacity: 0.6; }

/* スマホ対応 */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 10px; }
    nav ul li { margin: 0 10px; }
    .hero { aspect-ratio: auto; height: 50vh; background-size: cover; }
    /* 画像に文字が入っている場合、HTMLの重なりを防ぐ */
    .hero-content h2, .hero-content p, .hero-badge { display: none; }
    .strength-flex { flex-direction: column; }
    .phone-number { font-size: 28px; }
}