/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: #f4f7f9;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px; /* ロゴを大きく */
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li { margin-left: 25px; }
nav ul li a { text-decoration: none; color: #002b5b; font-weight: bold; }

/* ヒーロー画像 */
.hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-text h2 { font-size: 3rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

/* 会社沿革：背景にロゴを投影する設定 */
.history-section {
    position: relative;
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden; /* ロゴがはみ出さないように */ }

/* ここが「投影」の仕掛けです */
.history-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; /* ロゴの投影サイズ */
    height: 600px;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08; /* ここで薄さを調整（0.1なら10%の濃さ） */
    z-index: 0;
}

.history-section .container {
    position: relative;
    z-index: 1; /* 文字をロゴより前に出す */
}

.section-title { text-align: center; margin-bottom: 50px; } .section-title h2 { font-size: 2rem; padding-bottom: 15px; position: relative; } .section-title h2::after { content: ''; width: 50px; height: 3px; background: #002b5b; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .card, .card-work { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

.history-timeline { max-width: 700px; margin: 0 auto; } .history-item { display: flex; margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 15px; } .history-item .year { width: 100px; font-weight: bold; color: #002b5b; }

.history-item.highlight {
    background-color: rgba(255, 249, 230, 0.8); /* 背景を少し透過させてロゴを見せる */
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #002b5b;
}

.access-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; } .access-card { background: #fff; padding: 20px; border-left: 5px solid #002b5b; } .contact-box { text-align: center; padding: 60px; background: #002b5b; color: #fff; margin-top: 40px; border-radius: 8px; } .btn-large { display: inline-block; background: #fff; color: #002b5b; padding: 15px 40px; text-decoration: none; font-size: 1.8rem; font-weight: bold; border-radius: 50px; margin-top: 20px; } .btn-small { background: #002b5b; color: #fff !important; padding: 8px 20px; border-radius: 5px; }

footer { text-align: center; padding: 40px 0; background: #333; color: #fff; }
