@charset "UTF-8";

/* --- 基本設定 --- */
:root {
    --primary-color: #0e1b36; /* 信頼を表すディープネイビー */
    --accent-color: #c5a059;  /* 高品質を表すマットゴールド */
    --text-color: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 共通クラス --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    position: relative;
}

/* タイトル下の装飾線 */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
}

/* --- ヘッダー --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(14, 27, 54, 0.95); /* 透過したネイビー */
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PC・タブレット */
.logo {
    width: 180px; /* PCでのロゴの幅 */
    height: auto;
    display: block;
}

/* 中身のSVGが枠いっぱいに広がるようにする設定 */
.logo svg {
    width: 100%;
    height: auto;
    display: block;
}

/* スマホ */
@media (max-width: 768px) {
    .logo {
        width: 120px; /* スマホでのロゴの幅 */
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    position: relative;
}

/* ナビゲーションのホバーエフェクト（下線アニメーション）追加 */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* --- メインビジュアル (Hero) --- */
.hero {
    height: 100vh;
    /* 背景画像：Unsplashからの参照。必要に応じて変更してください */
    background: linear-gradient(rgba(14, 27, 54, 0.7), rgba(14, 27, 54, 0.7)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 2px;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background-color: #d4b06a;
    transform: translateY(-2px);
}

/* --- Mission / Vision --- */
.mission {
    background-color: var(--bg-white);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.mission-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
}

.mission-text p {
    margin-bottom: 20px;
    text-align: justify;
}

/* --- Services --- */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-top: 3px solid var(--primary-color);
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top-color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
}

/* --- Company --- */
.company {
    background-color: var(--bg-white);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 800px;
    margin: 0 auto;
}

.company-table th, .company-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-table th {
    width: 30%;
    font-weight: bold;
    color: var(--primary-color);
}

/* --- Contact --- */
.contact {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.contact .section-title {
    color: var(--text-light);
}

.contact p {
    margin-bottom: 30px;
}

/* --- Footer --- */
footer {
    background-color: #081020;
    color: #888;
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .mission-grid { grid-template-columns: 1fr; gap: 40px; }
    .nav-menu { display: none; } /* 簡易的に非表示（実際はハンバーガーメニュー推奨） */
    .logo { margin: 0 auto; }
    .header-inner { justify-content: center; }
}
