/* ===================================
   会社概要ページ - スタイルシート
   =================================== */

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.company-page {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
}

/* ===================================
   ページタイトルエリア
   =================================== */
.page-title-area {
    margin-bottom: 80px;
}

.page-title-en {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 8px;
}

.page-title-ja {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

/* ===================================
   お知らせセクション（もっと見る機能付き）
=================================== */

/* 非表示クラス */
.news-card.hidden {
    display: none;
}

/* お知らせセクション */
.news-section {
    padding: 80px 0;
}


/* 記事カードを横並びに */
.news-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    flex: 0 1 calc(33.333% - 27px); /* 3列 */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.3s, transform 0.3s;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.news-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
}

/* SP版: 縦並び */
@media (max-width: 768px) {
    .news-cards {
        flex-direction: column;
    }
    
    .news-card {
        flex: 1 1 100%;
    }
}

/* もっと見るボタンコンテナ */
.load-more-container {
    text-align: right;
    margin-top: 40px;
    padding-right: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* もっと見るボタン */
.load-more-button {
    background-color: #152147;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-button:hover {
    background-color: #0f1833;
}

.load-more-button:active {
    transform: scale(0.98);
}

.load-more-button .arrow {
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.load-more-button:hover .arrow {
    transform: translateY(3px);
}

/* ボタンを非表示にするクラス */
.load-more-button.hidden {
    display: none !important;
}

/* SP版の調整 */
@media (max-width: 768px) {
    .load-more-container {
        text-align: center;
        padding-right: 0;
        margin-top: 30px;
    }
    
    .load-more-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}


/* ===================================
   レスポンシブデザイン - タブレット
   =================================== */
@media screen and (max-width: 768px) {
    .company-page {
        width: 90%;
        padding: 40px 0;
    }

    .page-title-area {
        margin-bottom: 60px;
    }

    .page-title-ja {
        font-size: 28px;
    }
}