/* --- Base Styles --- */
:root {
    --main-blue: #0047AB;
    --light-blue: #00D4FF;
    --dark-blue: #001e50;
    --text-color: #333;
    --bg-gray: #f8f9fa;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.8;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* --- Header --- */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--main-blue);
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-sm-nav {
    background: var(--main-blue);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
}

/* --- Hero --- */
.hero {
    background: linear-gradient(rgba(0, 71, 171, 0.75), rgba(0, 30, 80, 0.85)), url('images/hero.jpg') no-repeat center/cover;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title span {
    display: block;
    font-size: 0.9rem;
    color: var(--main-blue);
    margin-top: 5px;
}

.section-title.white span { color: var(--light-blue); }

/* --- Grid & Cards --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
}

.card-icon { font-size: 2.5rem; margin-bottom: 15px; }

/* --- Tables & UI --- */
.bg-blue { background: var(--main-blue); color: #fff; }
.bg-gray { background: var(--bg-gray); }

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th, .company-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-table th { width: 30%; color: var(--main-blue); }

/* --- Forms --- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn-main {
    background: var(--light-blue);
    color: #fff;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-main:hover { background: #00b8e6; }

/* --- Responsive Layout --- */
.pc-only { display: block; }
.sp-only { display: none; }

@media (max-width: 768px) {
    .nav-desktop { display: none; } /* 本来はハンバーガーメニューにするが、今回はシンプル化 */
    
    .pc-only { display: none; }
    .sp-only { display: block; }
    
    .container { padding: 50px 20px; }
    
    .hero { height: auto; padding: 100px 0; }
    
    .grid { grid-template-columns: 1fr; }
    
    .company-table th, .company-table td {
        display: block;
        width: 100%;
    }
    .company-table th { padding-bottom: 5px; border: none; }
    
    .contact-form { padding: 20px; }
}

footer {
    background: var(--dark-blue);
    color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
}