:root {
    --primary-color: #FF8C42;
    /* Warm Orange */
    --primary-dark: #E67E22;
    --secondary-color: #2C3E50;
    /* Trust Navy */
    --secondary-light: #34495E;
    --accent-color: #F39C12;
    --text-color: #333333;
    --light-bg: #F9F9F9;
    --white: #FFFFFF;
    --header-height: 80px;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    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.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: var(--white);
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 4px;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
    background-color: rgba(255, 140, 66, 0.1);
}

/* Mobile Menu (Simple implementation) */
@media (max-width: 768px) {
    nav ul {
        display: none;
        /* In a real app, adding a hamburger menu would be better */
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-color: var(--secondary-color);
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: var(--shadow);
}

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

/* Sections */
section {
    padding: 60px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--primary-color);
    font-weight: bold;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 200px;
    background-color: #ddd;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    flex-grow: 1;
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* News List */
.news-list li {
    background: var(--white);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.news-date {
    color: #888;
    font-size: 0.9rem;
    min-width: 80px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Placeholder for images */
.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    color: #999;
    font-size: 1.2rem;
}

/* Company Profile (About Page) */
.company-profile-box {
    background-color: #FAF4EB;
    /* 薄いベージュ */
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    /* 控えめなシャドウで浮かせる */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}

.company-info-list {
    display: flex;
    flex-direction: column;
}

.company-info-row {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.15);
    /* セカンダリーカラーを薄く */
}

.company-info-row:last-child {
    border-bottom: none;
}

.company-info-row dt {
    width: 200px;
    flex-shrink: 0;
    font-weight: bold;
    color: var(--secondary-color);
    padding-right: 20px;
}

.company-info-row dd {
    flex-grow: 1;
    color: #444;
}

@media (max-width: 768px) {
    .company-profile-box {
        padding: 25px;
    }

    .company-info-row {
        flex-direction: column;
    }

    .company-info-row dt {
        width: 100%;
        margin-bottom: 8px;
        padding-right: 0;
        color: var(--primary-color);
        /* モバイルでは視認性を高めるためアクセントに */
    }
}