
/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh; 
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-image: url('../img/main2.jpg');
    background-size: cover;
    background-position: center 65%;
}

.hero-content {
    position: absolute;
    top: 60%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
    width: 80%; 
    max-width: 600px;
    letter-spacing: 4px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .hero-bg {
        background-image: url('../img/sp.jpg');
        background-size: cover;
        background-position: center 20%;
    }

    .hero-content {
        left: 5%;
        top: 77%;
        width: 90%;
    }

    /* .hero { height: 80vh; } */ 
}

/* --- Message Section --- */
.message-section { background: var(--white); }
.text-link {
    color: var(--primary-color);
    font-weight: bold;
    border-bottom: 1px solid var(--primary-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.news-list li {
    border-bottom: 1px solid #ddd;
    padding: 0;
}

.news-list .news-link {
    display: flex;
    align-items: center;
    padding: 20px 0;
    width: 100%;
    color: inherit;
    text-decoration: none;
    gap: 20px;
    transition: background-color 0.2s;
}


.news-list .news-link:hover {
    background-color: rgba(0,0,0,0.02);
    opacity: 1;
}

.news-list .date {
    font-weight: bold;
    padding-left:30px;
    width: 130px; 
    flex-shrink: 0; 
}

.news-list .tag {
    background: transparent;
    border: 1px solid var(--text-color);
    color: #2b2b2b;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 15px;
    text-align: center;
    width: 130px; 
    flex-shrink: 0;
    box-sizing: border-box;
}

.news-list .title {
    flex: 1;
    min-width: 0;
    display: block;
}

.news-list .date,
.news-list .tag,
.news-list .title {
    transition: all 0.3s ease;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .news-list .news-link {
        flex-wrap: wrap; 
        gap: 10px;
    }
    .news-list .title {
        white-space: normal;
        flex: 0 0 100%;
        margin-top: 5px;
    }
    .news-list .date, .news-list .tag {
        width: auto;
    }


    .news-list .date {
        padding-left:0px;
    }

}

/* --- Company / Service --- */
.card-large {
    margin-bottom: 40px;
}
.card-img {
    height: 300px;
    width: 100%;
    margin-bottom: 20px;
}
.card-img{
    width:100%;
    height: 50%;
}
.card-img img{
    width: 100%;
}
.card-body p {
    margin-bottom: 20px;
}

/* --- Owned Media --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.media-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.media-img { height: 150px; }
.media-info { padding: 20px; display: flex; justify-content: space-between; align-items: center; }

/* --- Recruit --- */
.recruit-section { background-color: #002D5A; color: var(--white); }
.recruit-content { display: flex; }
.recruit-text { flex: 1; padding: 80px 10%; }
.recruit-text h2 .subtitle { color: #ccc; }
.recruit-text .catch { font-size: 1.5rem; margin-bottom: 20px; font-weight: bold; }
.recruit-img { flex: 1; min-height: 400px; background-color: #555; }
